lib/aws-sdk-secretsmanager/client.rb in aws-sdk-secretsmanager-1.90.0 vs lib/aws-sdk-secretsmanager/client.rb in aws-sdk-secretsmanager-1.91.0
- old
+ new
@@ -440,11 +440,12 @@
# @option params [Integer] :max_results
# The number of results to include in the response.
#
# If there are more results available, in the response, Secrets Manager
# includes `NextToken`. To get the next results, call
- # `BatchGetSecretValue` again with the value from `NextToken`.
+ # `BatchGetSecretValue` again with the value from `NextToken`. To use
+ # this parameter, you must also use the `Filters` parameter.
#
# @option params [String] :next_token
# A token that indicates where the output should continue from, if a
# previous call did not show all results. To get the next results, call
# `BatchGetSecretValue` again with this value.
@@ -1268,23 +1269,20 @@
# generating a password for can support. By default, Secrets Manager
# uses uppercase and lowercase letters, numbers, and the following
# characters in passwords: `` !"#$%&'()*+,-./:;<=>?@[\\]^_`\{|\}~ ``
#
# Secrets Manager generates a CloudTrail log entry when you call this
- # action. Do not include sensitive information in request parameters
- # because it might be logged. For more information, see [Logging Secrets
- # Manager events with CloudTrail][1].
+ # action.
#
# <b>Required permissions: </b> `secretsmanager:GetRandomPassword`. For
- # more information, see [ IAM policy actions for Secrets Manager][2] and
- # [Authentication and access control in Secrets Manager][3].
+ # more information, see [ IAM policy actions for Secrets Manager][1] and
+ # [Authentication and access control in Secrets Manager][2].
#
#
#
- # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html
- # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
- # [3]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
+ # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions
+ # [2]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
#
# @option params [Integer] :password_length
# The length of the password. If you don't include this parameter, the
# default length is 32 characters.
#
@@ -1699,13 +1697,13 @@
# Lists the secrets that are stored by Secrets Manager in the Amazon Web
# Services account, not including secrets that are marked for deletion.
# To see secrets marked for deletion, use the Secrets Manager console.
#
- # ListSecrets is eventually consistent, however it might not reflect
- # changes from the last five minutes. To get the latest information for
- # a specific secret, use DescribeSecret.
+ # All Secrets Manager operations are eventually consistent. ListSecrets
+ # might not reflect changes from the last five minutes. You can get more
+ # recent information for a specific secret by calling DescribeSecret.
#
# To list the versions of a secret, use ListSecretVersionIds.
#
# To retrieve the values for the secrets, call BatchGetSecretValue or
# GetSecretValue.
@@ -1890,10 +1888,29 @@
# @option params [Boolean] :block_public_policy
# Specifies whether to block resource-based policies that allow broad
# access to the secret, for example those that use a wildcard for the
# principal. By default, public policies aren't blocked.
#
+ # Resource policy validation and the BlockPublicPolicy parameter help
+ # protect your resources by preventing public access from being granted
+ # through the resource policies that are directly attached to your
+ # secrets. In addition to using these features, carefully inspect the
+ # following policies to confirm that they do not grant public access:
+ #
+ # * Identity-based policies attached to associated Amazon Web Services
+ # principals (for example, IAM roles)
+ #
+ # * Resource-based policies attached to associated Amazon Web Services
+ # resources (for example, Key Management Service (KMS) keys)
+ #
+ # To review permissions to your secrets, see [Determine who has
+ # permissions to your secrets][1].
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/determine-acccess_examine-iam-policies.html
+ #
# @return [Types::PutResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::PutResourcePolicyResponse#arn #arn} => String
# * {Types::PutResourcePolicyResponse#name #name} => String
#
@@ -3243,10 +3260,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-secretsmanager'
- context[:gem_version] = '1.90.0'
+ context[:gem_version] = '1.91.0'
Seahorse::Client::Request.new(handlers, context)
end
# @api private
# @deprecated