lib/aws-sdk-securityhub/client.rb in aws-sdk-securityhub-1.12.0 vs lib/aws-sdk-securityhub/client.rb in aws-sdk-securityhub-1.13.0
- old
+ new
@@ -257,24 +257,24 @@
# Accepts the invitation to be a member account and be monitored by the
# Security Hub master account that the invitation was sent from. When
# the member account accepts the invitation, permission is granted to
# the master account to view findings generated in the member account.
#
- # @option params [String] :master_id
+ # @option params [required, String] :master_id
# The account ID of the Security Hub master account that sent the
# invitation.
#
- # @option params [String] :invitation_id
+ # @option params [required, String] :invitation_id
# The ID of the invitation sent from the Security Hub master account.
#
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
# @example Request syntax with placeholder values
#
# resp = client.accept_invitation({
- # master_id: "NonEmptyString",
- # invitation_id: "NonEmptyString",
+ # master_id: "NonEmptyString", # required
+ # invitation_id: "NonEmptyString", # required
# })
#
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AcceptInvitation AWS API Documentation
#
# @overload accept_invitation(params = {})
@@ -1233,22 +1233,22 @@
req.send_request(options)
end
# Declines invitations to become a member account.
#
- # @option params [Array<String>] :account_ids
+ # @option params [required, Array<String>] :account_ids
# A list of account IDs that specify the accounts that invitations to
# Security Hub are declined from.
#
# @return [Types::DeclineInvitationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::DeclineInvitationsResponse#unprocessed_accounts #unprocessed_accounts} => Array<Types::Result>
#
# @example Request syntax with placeholder values
#
# resp = client.decline_invitations({
- # account_ids: ["NonEmptyString"],
+ # account_ids: ["NonEmptyString"], # required
# })
#
# @example Response structure
#
# resp.unprocessed_accounts #=> Array
@@ -1323,21 +1323,21 @@
end
# Deletes invitations received by the AWS account to become a member
# account.
#
- # @option params [Array<String>] :account_ids
+ # @option params [required, Array<String>] :account_ids
# A list of the account IDs that sent the invitations to delete.
#
# @return [Types::DeleteInvitationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::DeleteInvitationsResponse#unprocessed_accounts #unprocessed_accounts} => Array<Types::Result>
#
# @example Request syntax with placeholder values
#
# resp = client.delete_invitations({
- # account_ids: ["NonEmptyString"],
+ # account_ids: ["NonEmptyString"], # required
# })
#
# @example Response structure
#
# resp.unprocessed_accounts #=> Array
@@ -4288,10 +4288,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-securityhub'
- context[:gem_version] = '1.12.0'
+ context[:gem_version] = '1.13.0'
Seahorse::Client::Request.new(handlers, context)
end
# @api private
# @deprecated