lib/aws-sdk-iam/client.rb in aws-sdk-iam-1.19.0 vs lib/aws-sdk-iam/client.rb in aws-sdk-iam-1.20.0

- old
+ new

@@ -839,21 +839,14 @@ # # @option params [required, String] :group_name # The name of the group to create. Do not include the path in this # value. # - # This parameter allows (through its [regex pattern][1]) a string of - # characters consisting of upper and lowercase alphanumeric characters - # with no spaces. You can also include any of the following characters: - # \_+=,.@-. The group name must be unique within the account. Group - # names are not distinguished by case. For example, you cannot create - # groups named both "ADMINS" and "admins". + # IAM user, group, role, and policy names must be unique within the + # account. Names are not distinguished by case. For example, you cannot + # create resources named both "MyResource" and "myresource". # - # - # - # [1]: http://wikipedia.org/wiki/regex - # # @return [Types::CreateGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::CreateGroupResponse#group #group} => Types::Group # # @@ -1241,19 +1234,14 @@ # [2]: 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. # - # This parameter allows (through its [regex pattern][1]) a string of - # characters consisting of upper and lowercase alphanumeric characters - # with no spaces. You can also include any of the following characters: - # \_+=,.@- + # IAM user, group, role, and policy names must be unique within the + # account. Names are not distinguished by case. For example, you cannot + # create resources named both "MyResource" and "myresource". # - # - # - # [1]: http://wikipedia.org/wiki/regex - # # @option params [String] :path # The path for the policy. # # For more information about paths, see [IAM Identifiers][1] in the *IAM # User Guide*. @@ -1275,10 +1263,15 @@ # # @option params [required, String] :policy_document # The JSON policy document that you want to use as the content for the # new policy. # + # You must provide policies in JSON format in IAM. However, for AWS + # CloudFormation templates formatted in YAML, you can provide the policy + # in JSON or YAML format. AWS CloudFormation always converts a YAML + # policy to JSON format before submitting it to IAM. + # # The [regex pattern][1] used to validate this parameter is a string of # characters consisting of the following: # # * Any printable ASCII character ranging from the space character # (\\u0020) through the end of the ASCII character range @@ -1369,10 +1362,15 @@ # # @option params [required, String] :policy_document # The JSON policy document that you want to use as the content for this # new version of the policy. # + # You must provide policies in JSON format in IAM. However, for AWS + # CloudFormation templates formatted in YAML, you can provide the policy + # in JSON or YAML format. AWS CloudFormation always converts a YAML + # policy to JSON format before submitting it to IAM. + # # The [regex pattern][1] used to validate this parameter is a string of # characters consisting of the following: # # * Any printable ASCII character ranging from the space character # (\\u0020) through the end of the ASCII character range @@ -1460,26 +1458,23 @@ # [2]: http://wikipedia.org/wiki/regex # # @option params [required, String] :role_name # The name of the role to create. # - # This parameter allows (through its [regex pattern][1]) a string of - # characters consisting of upper and lowercase alphanumeric characters - # with no spaces. You can also include any of the following characters: - # \_+=,.@- + # IAM user, group, role, and policy names must be unique within the + # account. Names are not distinguished by case. For example, you cannot + # create resources named both "MyResource" and "myresource". # - # Role names are not distinguished by case. For example, you cannot - # create roles named both "PRODROLE" and "prodrole". - # - # - # - # [1]: http://wikipedia.org/wiki/regex - # # @option params [required, String] :assume_role_policy_document # The trust relationship policy document that grants an entity # permission to assume the role. # + # You must provide policies in JSON format in IAM. However, for AWS + # CloudFormation templates formatted in YAML, you can provide the policy + # in JSON or YAML format. AWS CloudFormation always converts a YAML + # policy to JSON format before submitting it to IAM. + # # The [regex pattern][1] used to validate this parameter is a string of # characters consisting of the following: # # * Any printable ASCII character ranging from the space character # (\\u0020) through the end of the ASCII character range @@ -1873,20 +1868,14 @@ # [2]: http://wikipedia.org/wiki/regex # # @option params [required, String] :user_name # The name of the user to create. # - # This parameter allows (through its [regex pattern][1]) a string of - # characters consisting of upper and lowercase alphanumeric characters - # with no spaces. You can also include any of the following characters: - # \_+=,.@-. User names are not distinguished by case. For example, you - # cannot create users named both "TESTUSER" and "testuser". + # IAM user, group, role, and policy names must be unique within the + # account. Names are not distinguished by case. For example, you cannot + # create resources named both "MyResource" and "myresource". # - # - # - # [1]: http://wikipedia.org/wiki/regex - # # @option params [String] :permissions_boundary # The ARN of the policy that is used to set the permissions boundary for # the user. # # @option params [Array<Types::Tag>] :tags @@ -7925,19 +7914,12 @@ # [3]: https://docs.aws.amazon.com/IAM/latest/UserGuide/IAM_UsingQueryAPI.html # # @option params [required, String] :group_name # The name of the group to associate the policy with. # - # This parameter allows (through its [regex pattern][1]) a string of - # characters consisting of upper and lowercase alphanumeric characters - # with no spaces. You can also include any of the following characters: - # \_+=,.@- + # &amp;regex-name;. # - # - # - # [1]: http://wikipedia.org/wiki/regex - # # @option params [required, String] :policy_name # The name of the policy document. # # This parameter allows (through its [regex pattern][1]) a string of # characters consisting of upper and lowercase alphanumeric characters @@ -7949,10 +7931,15 @@ # [1]: http://wikipedia.org/wiki/regex # # @option params [required, String] :policy_document # The policy document. # + # You must provide policies in JSON format in IAM. However, for AWS + # CloudFormation templates formatted in YAML, you can provide the policy + # in JSON or YAML format. AWS CloudFormation always converts a YAML + # policy to JSON format before submitting it to IAM. + # # The [regex pattern][1] used to validate this parameter is a string of # characters consisting of the following: # # * Any printable ASCII character ranging from the space character # (\\u0020) through the end of the ASCII character range @@ -8099,10 +8086,15 @@ # [1]: http://wikipedia.org/wiki/regex # # @option params [required, String] :policy_document # The policy document. # + # You must provide policies in JSON format in IAM. However, for AWS + # CloudFormation templates formatted in YAML, you can provide the policy + # in JSON or YAML format. AWS CloudFormation always converts a YAML + # policy to JSON format before submitting it to IAM. + # # The [regex pattern][1] used to validate this parameter is a string of # characters consisting of the following: # # * Any printable ASCII character ranging from the space character # (\\u0020) through the end of the ASCII character range @@ -8239,10 +8231,15 @@ # [1]: http://wikipedia.org/wiki/regex # # @option params [required, String] :policy_document # The policy document. # + # You must provide policies in JSON format in IAM. However, for AWS + # CloudFormation templates formatted in YAML, you can provide the policy + # in JSON or YAML format. AWS CloudFormation always converts a YAML + # policy to JSON format before submitting it to IAM. + # # The [regex pattern][1] used to validate this parameter is a string of # characters consisting of the following: # # * Any printable ASCII character ranging from the space character # (\\u0020) through the end of the ASCII character range @@ -9801,10 +9798,15 @@ # [1]: http://wikipedia.org/wiki/regex # # @option params [required, String] :policy_document # The policy that grants an entity permission to assume the role. # + # You must provide policies in JSON format in IAM. However, for AWS + # CloudFormation templates formatted in YAML, you can provide the policy + # in JSON or YAML format. AWS CloudFormation always converts a YAML + # policy to JSON format before submitting it to IAM. + # # The [regex pattern][1] used to validate this parameter is a string of # characters consisting of the following: # # * Any printable ASCII character ranging from the space character # (\\u0020) through the end of the ASCII character range @@ -9898,19 +9900,14 @@ # # @option params [String] :new_group_name # New name for the IAM group. Only include this if changing the group's # name. # - # This parameter allows (through its [regex pattern][1]) a string of - # characters consisting of upper and lowercase alphanumeric characters - # with no spaces. You can also include any of the following characters: - # \_+=,.@- + # IAM user, group, role, and policy names must be unique within the + # account. Names are not distinguished by case. For example, you cannot + # create resources named both "MyResource" and "myresource". # - # - # - # [1]: http://wikipedia.org/wiki/regex - # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # # @example Example: To rename an IAM group # @@ -10544,19 +10541,14 @@ # # @option params [String] :new_user_name # New name for the user. Include this parameter only if you're changing # the user's name. # - # This parameter allows (through its [regex pattern][1]) a string of - # characters consisting of upper and lowercase alphanumeric characters - # with no spaces. You can also include any of the following characters: - # \_+=,.@- + # IAM user, group, role, and policy names must be unique within the + # account. Names are not distinguished by case. For example, you cannot + # create resources named both "MyResource" and "myresource". # - # - # - # [1]: http://wikipedia.org/wiki/regex - # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # # @example Example: To change an IAM user's name # @@ -10966,10 +10958,10 @@ operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-iam' - context[:gem_version] = '1.19.0' + context[:gem_version] = '1.20.0' Seahorse::Client::Request.new(handlers, context) end # Polls an API operation until a resource enters a desired state. #