lib/aws-sdk-iam/client.rb in aws-sdk-iam-1.49.0 vs lib/aws-sdk-iam/client.rb in aws-sdk-iam-1.50.0
- old
+ new
@@ -507,16 +507,20 @@
# Attaches the specified managed policy to the specified IAM group.
#
# You use this operation to attach a managed policy to a group. To embed
# an inline policy in a group, use PutGroupPolicy.
#
+ # As a best practice, you can validate your IAM policies. To learn more,
+ # see [Validating IAM policies][1] in the *IAM User Guide*.
+ #
# For more information about policies, see [Managed policies and inline
- # policies][1] in the *IAM User Guide*.
+ # policies][2] in the *IAM User Guide*.
#
#
#
- # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_policy-validator.html
+ # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
#
# @option params [required, String] :group_name
# The name (friendly name, not ARN) of the group to attach the policy
# to.
#
@@ -581,13 +585,17 @@
# Use this operation to attach a *managed* policy to a role. To embed an
# inline policy in a role, use PutRolePolicy. For more information about
# policies, see [Managed policies and inline policies][1] in the *IAM
# User Guide*.
#
+ # As a best practice, you can validate your IAM policies. To learn more,
+ # see [Validating IAM policies][2] in the *IAM User Guide*.
#
#
+ #
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
+ # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_policy-validator.html
#
# @option params [required, String] :role_name
# The name (friendly name, not ARN) of the role to attach the policy to.
#
# This parameter allows (through its [regex pattern][1]) a string of
@@ -640,16 +648,20 @@
# Attaches the specified managed policy to the specified user.
#
# You use this operation to attach a *managed* policy to a user. To
# embed an inline policy in a user, use PutUserPolicy.
#
+ # As a best practice, you can validate your IAM policies. To learn more,
+ # see [Validating IAM policies][1] in the *IAM User Guide*.
+ #
# For more information about policies, see [Managed policies and inline
- # policies][1] in the *IAM User Guide*.
+ # policies][2] in the *IAM User Guide*.
#
#
#
- # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_policy-validator.html
+ # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
#
# @option params [required, String] :user_name
# The name (friendly name, not ARN) of the IAM user to attach the policy
# to.
#
@@ -1365,17 +1377,21 @@
# This operation creates a policy version with a version identifier of
# `v1` and sets v1 as the policy's default version. For more
# information about policy versions, see [Versioning for managed
# policies][1] in the *IAM User Guide*.
#
+ # As a best practice, you can validate your IAM policies. To learn more,
+ # see [Validating IAM policies][2] in the *IAM User Guide*.
+ #
# For more information about managed policies in general, see [Managed
- # policies and inline policies][2] in the *IAM User Guide*.
+ # policies and inline policies][3] in the *IAM User Guide*.
#
#
#
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html
- # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
+ # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_policy-validator.html
+ # [3]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
#
# @option params [required, String] :policy_name
# The friendly name of the policy.
#
# IAM user, group, role, and policy names must be unique within the
@@ -13035,10 +13051,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-iam'
- context[:gem_version] = '1.49.0'
+ context[:gem_version] = '1.50.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#