@aws-sdk/client-iam 3.839.0 → 3.844.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/dist-cjs/index.js +41 -1
  2. package/dist-es/models/models_0.js +2 -0
  3. package/dist-es/protocols/Aws_query.js +38 -0
  4. package/dist-types/commands/ChangePasswordCommand.d.ts +5 -4
  5. package/dist-types/commands/CreateAccessKeyCommand.d.ts +1 -1
  6. package/dist-types/commands/CreateLoginProfileCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +1 -1
  8. package/dist-types/commands/CreatePolicyVersionCommand.d.ts +1 -1
  9. package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +10 -8
  10. package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +4 -3
  11. package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +2 -2
  12. package/dist-types/commands/DeleteLoginProfileCommand.d.ts +5 -4
  13. package/dist-types/commands/DeletePolicyCommand.d.ts +5 -7
  14. package/dist-types/commands/DeletePolicyVersionCommand.d.ts +2 -2
  15. package/dist-types/commands/DeleteRoleCommand.d.ts +4 -4
  16. package/dist-types/commands/DeleteRolePolicyCommand.d.ts +2 -2
  17. package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteUserCommand.d.ts +9 -9
  19. package/dist-types/commands/DeleteUserPolicyCommand.d.ts +2 -2
  20. package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +1 -1
  21. package/dist-types/commands/DetachGroupPolicyCommand.d.ts +1 -1
  22. package/dist-types/commands/DetachRolePolicyCommand.d.ts +1 -1
  23. package/dist-types/commands/DetachUserPolicyCommand.d.ts +1 -1
  24. package/dist-types/commands/DisableOrganizationsRootCredentialsManagementCommand.d.ts +1 -1
  25. package/dist-types/commands/DisableOrganizationsRootSessionsCommand.d.ts +1 -1
  26. package/dist-types/commands/EnableOrganizationsRootCredentialsManagementCommand.d.ts +1 -1
  27. package/dist-types/commands/EnableOrganizationsRootSessionsCommand.d.ts +1 -1
  28. package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +5 -5
  29. package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +6 -6
  30. package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +2 -1
  31. package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +4 -4
  32. package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +4 -3
  33. package/dist-types/commands/GetCredentialReportCommand.d.ts +4 -4
  34. package/dist-types/commands/GetGroupPolicyCommand.d.ts +4 -3
  35. package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +4 -5
  36. package/dist-types/commands/GetPolicyCommand.d.ts +4 -4
  37. package/dist-types/commands/GetPolicyVersionCommand.d.ts +5 -3
  38. package/dist-types/commands/GetRoleCommand.d.ts +2 -1
  39. package/dist-types/commands/GetRolePolicyCommand.d.ts +5 -4
  40. package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +1 -1
  41. package/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +2 -2
  42. package/dist-types/commands/GetUserPolicyCommand.d.ts +5 -4
  43. package/dist-types/commands/ListAccessKeysCommand.d.ts +1 -1
  44. package/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +2 -2
  45. package/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +2 -2
  46. package/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +2 -2
  47. package/dist-types/commands/ListGroupPoliciesCommand.d.ts +3 -3
  48. package/dist-types/commands/ListInstanceProfilesCommand.d.ts +2 -1
  49. package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +1 -1
  50. package/dist-types/commands/ListOrganizationsFeaturesCommand.d.ts +1 -1
  51. package/dist-types/commands/ListPoliciesCommand.d.ts +1 -1
  52. package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +1 -1
  53. package/dist-types/commands/ListRolePoliciesCommand.d.ts +3 -3
  54. package/dist-types/commands/ListRolesCommand.d.ts +1 -1
  55. package/dist-types/commands/ListSAMLProvidersCommand.d.ts +1 -1
  56. package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +1 -1
  57. package/dist-types/commands/ListServerCertificatesCommand.d.ts +2 -1
  58. package/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +9 -2
  59. package/dist-types/commands/ListSigningCertificatesCommand.d.ts +1 -1
  60. package/dist-types/commands/ListUserPoliciesCommand.d.ts +3 -3
  61. package/dist-types/commands/ListUsersCommand.d.ts +1 -1
  62. package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +1 -1
  63. package/dist-types/commands/PutGroupPolicyCommand.d.ts +4 -4
  64. package/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +6 -3
  65. package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +1 -1
  66. package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +1 -1
  67. package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +2 -2
  68. package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +3 -4
  69. package/dist-types/commands/UpdateAccessKeyCommand.d.ts +5 -1
  70. package/dist-types/commands/UpdateLoginProfileCommand.d.ts +3 -3
  71. package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +1 -1
  72. package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +5 -1
  73. package/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +1 -1
  74. package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +5 -1
  75. package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +1 -1
  76. package/dist-types/commands/UploadSigningCertificateCommand.d.ts +1 -1
  77. package/dist-types/models/models_0.d.ts +241 -181
  78. package/dist-types/models/models_1.d.ts +20 -23
  79. package/dist-types/ts3.4/models/models_0.d.ts +15 -3
  80. package/package.json +20 -20
@@ -66,7 +66,7 @@ declare const DisableOrganizationsRootSessionsCommand_base: {
66
66
  * @throws {@link OrganizationNotInAllFeaturesModeException} (client fault)
67
67
  * <p>The request was rejected because your organization does not have All features enabled. For
68
68
  * more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set">Available feature sets</a> in the <i>Organizations User
69
- * Guide</i>.</p>
69
+ * Guide</i>.</p>
70
70
  *
71
71
  * @throws {@link ServiceAccessNotEnabledException} (client fault)
72
72
  * <p>The request was rejected because trusted access is not enabled for IAM in Organizations. For details, see IAM and Organizations in the <i>Organizations User Guide</i>.</p>
@@ -82,7 +82,7 @@ declare const EnableOrganizationsRootCredentialsManagementCommand_base: {
82
82
  * @throws {@link OrganizationNotInAllFeaturesModeException} (client fault)
83
83
  * <p>The request was rejected because your organization does not have All features enabled. For
84
84
  * more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set">Available feature sets</a> in the <i>Organizations User
85
- * Guide</i>.</p>
85
+ * Guide</i>.</p>
86
86
  *
87
87
  * @throws {@link ServiceAccessNotEnabledException} (client fault)
88
88
  * <p>The request was rejected because trusted access is not enabled for IAM in Organizations. For details, see IAM and Organizations in the <i>Organizations User Guide</i>.</p>
@@ -81,7 +81,7 @@ declare const EnableOrganizationsRootSessionsCommand_base: {
81
81
  * @throws {@link OrganizationNotInAllFeaturesModeException} (client fault)
82
82
  * <p>The request was rejected because your organization does not have All features enabled. For
83
83
  * more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set">Available feature sets</a> in the <i>Organizations User
84
- * Guide</i>.</p>
84
+ * Guide</i>.</p>
85
85
  *
86
86
  * @throws {@link ServiceAccessNotEnabledException} (client fault)
87
87
  * <p>The request was rejected because trusted access is not enabled for IAM in Organizations. For details, see IAM and Organizations in the <i>Organizations User Guide</i>.</p>
@@ -59,14 +59,14 @@ declare const GenerateOrganizationsAccessReportCommand_base: {
59
59
  * CloudTrail</a> in the <i>IAM User Guide</i>.</p>
60
60
  * </important>
61
61
  * <p>This operation returns a <code>JobId</code>. Use this parameter in the <code>
62
- * <a>GetOrganizationsAccessReport</a>
62
+ * <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetOrganizationsAccessReport.html">GetOrganizationsAccessReport</a>
63
63
  * </code> operation to check the status of
64
64
  * the report generation. To check the status of this request, use the <code>JobId</code>
65
65
  * parameter in the <code>
66
- * <a>GetOrganizationsAccessReport</a>
67
- * </code> operation
68
- * and test the <code>JobStatus</code> response parameter. When the job is complete, you
69
- * can retrieve the report.</p>
66
+ * <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetOrganizationsAccessReport.html">GetOrganizationsAccessReport</a>
67
+ * </code> operation and test the
68
+ * <code>JobStatus</code> response parameter. When the job is complete, you can
69
+ * retrieve the report.</p>
70
70
  * <p>To generate a service last accessed data report for entities, specify an entity path
71
71
  * without specifying the optional Organizations policy ID. The type of entity that you specify
72
72
  * determines the data returned in the report.</p>
@@ -51,10 +51,10 @@ declare const GenerateServiceLastAccessedDetailsCommand_base: {
51
51
  * <ul>
52
52
  * <li>
53
53
  * <p>
54
- * <a>GetServiceLastAccessedDetails</a> – Use this operation
55
- * for users, groups, roles, or policies to list every Amazon Web Services service that the
56
- * resource could access using permissions policies. For each service, the response
57
- * includes information about the most recent access attempt.</p>
54
+ * <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLastAccessedDetails.html">GetServiceLastAccessedDetails</a> – Use this operation for
55
+ * users, groups, roles, or policies to list every Amazon Web Services service that the resource
56
+ * could access using permissions policies. For each service, the response includes
57
+ * information about the most recent access attempt.</p>
58
58
  * <p>The <code>JobId</code> returned by
59
59
  * <code>GenerateServiceLastAccessedDetail</code> must be used by the same role
60
60
  * within a session, or by the same user when used to call
@@ -62,7 +62,7 @@ declare const GenerateServiceLastAccessedDetailsCommand_base: {
62
62
  * </li>
63
63
  * <li>
64
64
  * <p>
65
- * <a>GetServiceLastAccessedDetailsWithEntities</a> – Use this
65
+ * <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLastAccessedDetailsWithEntities.html">GetServiceLastAccessedDetailsWithEntities</a> – Use this
66
66
  * operation for groups and policies to list information about the associated
67
67
  * entities (users or roles) that attempted to access a specific Amazon Web Services service.
68
68
  * </p>
@@ -72,7 +72,7 @@ declare const GenerateServiceLastAccessedDetailsCommand_base: {
72
72
  * use the <code>JobId</code> parameter in the same operations and test the
73
73
  * <code>JobStatus</code> response parameter.</p>
74
74
  * <p>For additional information about the permissions policies that allow an identity
75
- * (user, group, or role) to access specific services, use the <a>ListPoliciesGrantingServiceAccess</a> operation.</p>
75
+ * (user, group, or role) to access specific services, use the <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListPoliciesGrantingServiceAccess.html">ListPoliciesGrantingServiceAccess</a> operation.</p>
76
76
  * <note>
77
77
  * <p>Service last accessed data does not use other policy types when determining
78
78
  * whether a resource could access a service. These other policy types include
@@ -36,7 +36,8 @@ declare const GetAccountAuthorizationDetailsCommand_base: {
36
36
  * with <a href="https://tools.ietf.org/html/rfc3986">RFC 3986</a>. You can use a URL
37
37
  * decoding method to convert the policy back to plain JSON text. For example, if you use Java, you
38
38
  * can use the <code>decode</code> method of the <code>java.net.URLDecoder</code> utility class in
39
- * the Java SDK. Other languages and SDKs provide similar functionality.</p>
39
+ * the Java SDK. Other languages and SDKs provide similar functionality, and some SDKs do this decoding
40
+ * automatically.</p>
40
41
  * </note>
41
42
  * <p>You can optionally filter the results using the <code>Filter</code> parameter. You can
42
43
  * paginate the results using the <code>MaxItems</code> and <code>Marker</code>
@@ -29,14 +29,14 @@ declare const GetContextKeysForCustomPolicyCommand_base: {
29
29
  /**
30
30
  * <p>Gets a list of all of the context keys referenced in the input policies. The policies
31
31
  * are supplied as a list of one or more strings. To get the context keys from policies
32
- * associated with an IAM user, group, or role, use <a>GetContextKeysForPrincipalPolicy</a>.</p>
32
+ * associated with an IAM user, group, or role, use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForPrincipalPolicy.html">GetContextKeysForPrincipalPolicy</a>.</p>
33
33
  * <p>Context keys are variables maintained by Amazon Web Services and its services that provide details
34
34
  * about the context of an API query request. Context keys can be evaluated by testing
35
35
  * against a value specified in an IAM policy. Use
36
36
  * <code>GetContextKeysForCustomPolicy</code> to understand what key names and values
37
- * you must supply when you call <a>SimulateCustomPolicy</a>. Note that all
38
- * parameters are shown in unencoded form here for clarity but must be URL encoded to be
39
- * included as a part of a real HTML request.</p>
37
+ * you must supply when you call <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulateCustomPolicy.html">SimulateCustomPolicy</a>. Note that all parameters are shown in unencoded form
38
+ * here for clarity but must be URL encoded to be included as a part of a real HTML
39
+ * request.</p>
40
40
  * @example
41
41
  * Use a bare-bones client and the command you need to make an API call.
42
42
  * ```javascript
@@ -33,14 +33,15 @@ declare const GetContextKeysForPrincipalPolicyCommand_base: {
33
33
  * groups that the user is a member of.</p>
34
34
  * <p>You can optionally include a list of one or more additional policies, specified as
35
35
  * strings. If you want to include <i>only</i> a list of policies by string,
36
- * use <a>GetContextKeysForCustomPolicy</a> instead.</p>
36
+ * use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForCustomPolicy.html">GetContextKeysForCustomPolicy</a> instead.</p>
37
37
  * <p>
38
38
  * <b>Note:</b> This operation discloses information about the
39
39
  * permissions granted to other users. If you do not want users to see other user's
40
- * permissions, then consider allowing them to use <a>GetContextKeysForCustomPolicy</a> instead.</p>
40
+ * permissions, then consider allowing them to use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForCustomPolicy.html">GetContextKeysForCustomPolicy</a> instead.</p>
41
41
  * <p>Context keys are variables maintained by Amazon Web Services and its services that provide details
42
42
  * about the context of an API query request. Context keys can be evaluated by testing
43
- * against a value in an IAM policy. Use <a>GetContextKeysForPrincipalPolicy</a> to understand what key names and values you must supply when you call <a>SimulatePrincipalPolicy</a>.</p>
43
+ * against a value in an IAM policy. Use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForPrincipalPolicy.html">GetContextKeysForPrincipalPolicy</a> to understand what key names and values
44
+ * you must supply when you call <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulatePrincipalPolicy.html">SimulatePrincipalPolicy</a>.</p>
44
45
  * @example
45
46
  * Use a bare-bones client and the command you need to make an API call.
46
47
  * ```javascript
@@ -55,13 +55,13 @@ declare const GetCredentialReportCommand_base: {
55
55
  *
56
56
  * @throws {@link CredentialReportExpiredException} (client fault)
57
57
  * <p>The request was rejected because the most recent credential report has expired. To
58
- * generate a new credential report, use <a>GenerateCredentialReport</a>. For more
59
- * information about credential report expiration, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html">Getting credential reports</a> in the
60
- * <i>IAM User Guide</i>.</p>
58
+ * generate a new credential report, use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GenerateCredentialReport.html">GenerateCredentialReport</a>. For more information about credential report expiration,
59
+ * see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html">Getting
60
+ * credential reports</a> in the <i>IAM User Guide</i>.</p>
61
61
  *
62
62
  * @throws {@link CredentialReportNotPresentException} (client fault)
63
63
  * <p>The request was rejected because the credential report does not exist. To generate a
64
- * credential report, use <a>GenerateCredentialReport</a>.</p>
64
+ * credential report, use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GenerateCredentialReport.html">GenerateCredentialReport</a>.</p>
65
65
  *
66
66
  * @throws {@link CredentialReportNotReadyException} (client fault)
67
67
  * <p>The request was rejected because the credential report is still being generated.</p>
@@ -34,11 +34,12 @@ declare const GetGroupPolicyCommand_base: {
34
34
  * with <a href="https://tools.ietf.org/html/rfc3986">RFC 3986</a>. You can use a URL
35
35
  * decoding method to convert the policy back to plain JSON text. For example, if you use Java, you
36
36
  * can use the <code>decode</code> method of the <code>java.net.URLDecoder</code> utility class in
37
- * the Java SDK. Other languages and SDKs provide similar functionality.</p>
37
+ * the Java SDK. Other languages and SDKs provide similar functionality, and some SDKs do this decoding
38
+ * automatically.</p>
38
39
  * </note>
39
40
  * <p>An IAM group can also have managed policies attached to it. To retrieve a managed
40
- * policy document that is attached to a group, use <a>GetPolicy</a> to
41
- * determine the policy's default version, then use <a>GetPolicyVersion</a> to
41
+ * policy document that is attached to a group, use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicy.html">GetPolicy</a> to determine the
42
+ * policy's default version, then use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicyVersion.html">GetPolicyVersion</a> to
42
43
  * retrieve the policy document.</p>
43
44
  * <p>For more information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
44
45
  * policies</a> in the <i>IAM User Guide</i>.</p>
@@ -29,12 +29,11 @@ declare const GetOrganizationsAccessReportCommand_base: {
29
29
  /**
30
30
  * <p>Retrieves the service last accessed data report for Organizations that was previously
31
31
  * generated using the <code>
32
- * <a>GenerateOrganizationsAccessReport</a>
33
- * </code>
34
- * operation. This operation retrieves the status of your report job and the report
35
- * contents.</p>
32
+ * <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GenerateOrganizationsAccessReport.html">GenerateOrganizationsAccessReport</a>
33
+ * </code> operation. This operation
34
+ * retrieves the status of your report job and the report contents.</p>
36
35
  * <p>Depending on the parameters that you passed when you generated the report, the data
37
- * returned could include different information. For details, see <a>GenerateOrganizationsAccessReport</a>.</p>
36
+ * returned could include different information. For details, see <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GenerateOrganizationsAccessReport.html">GenerateOrganizationsAccessReport</a>.</p>
38
37
  * <p>To call this operation, you must be signed in to the management account in your
39
38
  * organization. SCPs must be enabled for your organization root. You must have permissions
40
39
  * to perform this operation. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html">Refining permissions using
@@ -30,11 +30,11 @@ declare const GetPolicyCommand_base: {
30
30
  * <p>Retrieves information about the specified managed policy, including the policy's
31
31
  * default version and the total number of IAM users, groups, and roles to which the
32
32
  * policy is attached. To retrieve the list of the specific users, groups, and roles that
33
- * the policy is attached to, use <a>ListEntitiesForPolicy</a>. This operation
34
- * returns metadata about the policy. To retrieve the actual policy document for a specific
35
- * version of the policy, use <a>GetPolicyVersion</a>.</p>
33
+ * the policy is attached to, use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListEntitiesForPolicy.html">ListEntitiesForPolicy</a>. This operation returns metadata about the policy. To
34
+ * retrieve the actual policy document for a specific version of the policy, use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicyVersion.html">GetPolicyVersion</a>.</p>
36
35
  * <p>This operation retrieves information about managed policies. To retrieve information
37
- * about an inline policy that is embedded with an IAM user, group, or role, use <a>GetUserPolicy</a>, <a>GetGroupPolicy</a>, or <a>GetRolePolicy</a>.</p>
36
+ * about an inline policy that is embedded with an IAM user, group, or role, use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetUserPolicy.html">GetUserPolicy</a>, <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetGroupPolicy.html">GetGroupPolicy</a>, or
37
+ * <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetRolePolicy.html">GetRolePolicy</a>.</p>
38
38
  * <p>For more information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
39
39
  * policies</a> in the <i>IAM User Guide</i>.</p>
40
40
  * @example
@@ -34,11 +34,13 @@ declare const GetPolicyVersionCommand_base: {
34
34
  * with <a href="https://tools.ietf.org/html/rfc3986">RFC 3986</a>. You can use a URL
35
35
  * decoding method to convert the policy back to plain JSON text. For example, if you use Java, you
36
36
  * can use the <code>decode</code> method of the <code>java.net.URLDecoder</code> utility class in
37
- * the Java SDK. Other languages and SDKs provide similar functionality.</p>
37
+ * the Java SDK. Other languages and SDKs provide similar functionality, and some SDKs do this decoding
38
+ * automatically.</p>
38
39
  * </note>
39
- * <p>To list the available versions for a policy, use <a>ListPolicyVersions</a>.</p>
40
+ * <p>To list the available versions for a policy, use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListPolicyVersions.html">ListPolicyVersions</a>.</p>
40
41
  * <p>This operation retrieves information about managed policies. To retrieve information
41
- * about an inline policy that is embedded in a user, group, or role, use <a>GetUserPolicy</a>, <a>GetGroupPolicy</a>, or <a>GetRolePolicy</a>.</p>
42
+ * about an inline policy that is embedded in a user, group, or role, use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetUserPolicy.html">GetUserPolicy</a>, <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetGroupPolicy.html">GetGroupPolicy</a>, or
43
+ * <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetRolePolicy.html">GetRolePolicy</a>.</p>
42
44
  * <p>For more information about the types of policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
43
45
  * policies</a> in the <i>IAM User Guide</i>.</p>
44
46
  * <p>For more information about managed policy versions, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html">Versioning for managed
@@ -36,7 +36,8 @@ declare const GetRoleCommand_base: {
36
36
  * with <a href="https://tools.ietf.org/html/rfc3986">RFC 3986</a>. You can use a URL
37
37
  * decoding method to convert the policy back to plain JSON text. For example, if you use Java, you
38
38
  * can use the <code>decode</code> method of the <code>java.net.URLDecoder</code> utility class in
39
- * the Java SDK. Other languages and SDKs provide similar functionality.</p>
39
+ * the Java SDK. Other languages and SDKs provide similar functionality, and some SDKs do this decoding
40
+ * automatically.</p>
40
41
  * </note>
41
42
  * @example
42
43
  * Use a bare-bones client and the command you need to make an API call.
@@ -34,12 +34,13 @@ declare const GetRolePolicyCommand_base: {
34
34
  * with <a href="https://tools.ietf.org/html/rfc3986">RFC 3986</a>. You can use a URL
35
35
  * decoding method to convert the policy back to plain JSON text. For example, if you use Java, you
36
36
  * can use the <code>decode</code> method of the <code>java.net.URLDecoder</code> utility class in
37
- * the Java SDK. Other languages and SDKs provide similar functionality.</p>
37
+ * the Java SDK. Other languages and SDKs provide similar functionality, and some SDKs do this decoding
38
+ * automatically.</p>
38
39
  * </note>
39
40
  * <p>An IAM role can also have managed policies attached to it. To retrieve a managed
40
- * policy document that is attached to a role, use <a>GetPolicy</a> to determine
41
- * the policy's default version, then use <a>GetPolicyVersion</a> to retrieve
42
- * the policy document.</p>
41
+ * policy document that is attached to a role, use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicy.html">GetPolicy</a> to determine the
42
+ * policy's default version, then use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicyVersion.html">GetPolicyVersion</a> to
43
+ * retrieve the policy document.</p>
43
44
  * <p>For more information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
44
45
  * policies</a> in the <i>IAM User Guide</i>.</p>
45
46
  * <p> For more information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html">IAM roles</a> in the
@@ -51,7 +51,7 @@ declare const GetSSHPublicKeyCommand_base: {
51
51
  * // SSHPublicKeyId: "STRING_VALUE", // required
52
52
  * // Fingerprint: "STRING_VALUE", // required
53
53
  * // SSHPublicKeyBody: "STRING_VALUE", // required
54
- * // Status: "Active" || "Inactive", // required
54
+ * // Status: "Active" || "Inactive" || "Expired", // required
55
55
  * // UploadDate: new Date("TIMESTAMP"),
56
56
  * // },
57
57
  * // };
@@ -27,8 +27,8 @@ declare const GetServiceLinkedRoleDeletionStatusCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves the status of your service-linked role deletion. After you use <a>DeleteServiceLinkedRole</a> to submit a service-linked role for deletion,
31
- * you can use the <code>DeletionTaskId</code> parameter in
30
+ * <p>Retrieves the status of your service-linked role deletion. After you use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteServiceLinkedRole.html">DeleteServiceLinkedRole</a> to submit a service-linked role for deletion, you
31
+ * can use the <code>DeletionTaskId</code> parameter in
32
32
  * <code>GetServiceLinkedRoleDeletionStatus</code> to check the status of the deletion.
33
33
  * If the deletion fails, this operation returns the reason that it failed, if that
34
34
  * information is returned by the service.</p>
@@ -34,12 +34,13 @@ declare const GetUserPolicyCommand_base: {
34
34
  * with <a href="https://tools.ietf.org/html/rfc3986">RFC 3986</a>. You can use a URL
35
35
  * decoding method to convert the policy back to plain JSON text. For example, if you use Java, you
36
36
  * can use the <code>decode</code> method of the <code>java.net.URLDecoder</code> utility class in
37
- * the Java SDK. Other languages and SDKs provide similar functionality.</p>
37
+ * the Java SDK. Other languages and SDKs provide similar functionality, and some SDKs do this decoding
38
+ * automatically.</p>
38
39
  * </note>
39
40
  * <p>An IAM user can also have managed policies attached to it. To retrieve a managed
40
- * policy document that is attached to a user, use <a>GetPolicy</a> to determine
41
- * the policy's default version. Then use <a>GetPolicyVersion</a> to retrieve
42
- * the policy document.</p>
41
+ * policy document that is attached to a user, use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicy.html">GetPolicy</a> to determine the
42
+ * policy's default version. Then use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicyVersion.html">GetPolicyVersion</a> to
43
+ * retrieve the policy document.</p>
43
44
  * <p>For more information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
44
45
  * policies</a> in the <i>IAM User Guide</i>.</p>
45
46
  * @example
@@ -60,7 +60,7 @@ declare const ListAccessKeysCommand_base: {
60
60
  * // { // AccessKeyMetadata
61
61
  * // UserName: "STRING_VALUE",
62
62
  * // AccessKeyId: "STRING_VALUE",
63
- * // Status: "Active" || "Inactive",
63
+ * // Status: "Active" || "Inactive" || "Expired",
64
64
  * // CreateDate: new Date("TIMESTAMP"),
65
65
  * // },
66
66
  * // ],
@@ -29,8 +29,8 @@ declare const ListAttachedGroupPoliciesCommand_base: {
29
29
  /**
30
30
  * <p>Lists all managed policies that are attached to the specified IAM group.</p>
31
31
  * <p>An IAM group can also have inline policies embedded with it. To list the inline
32
- * policies for a group, use <a>ListGroupPolicies</a>. For information about
33
- * policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
32
+ * policies for a group, use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListGroupPolicies.html">ListGroupPolicies</a>.
33
+ * For information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
34
34
  * policies</a> in the <i>IAM User Guide</i>.</p>
35
35
  * <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
36
36
  * parameters. You can use the <code>PathPrefix</code> parameter to limit the list of
@@ -29,8 +29,8 @@ declare const ListAttachedRolePoliciesCommand_base: {
29
29
  /**
30
30
  * <p>Lists all managed policies that are attached to the specified IAM role.</p>
31
31
  * <p>An IAM role can also have inline policies embedded with it. To list the inline
32
- * policies for a role, use <a>ListRolePolicies</a>. For information about
33
- * policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
32
+ * policies for a role, use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListRolePolicies.html">ListRolePolicies</a>.
33
+ * For information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
34
34
  * policies</a> in the <i>IAM User Guide</i>.</p>
35
35
  * <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
36
36
  * parameters. You can use the <code>PathPrefix</code> parameter to limit the list of
@@ -29,8 +29,8 @@ declare const ListAttachedUserPoliciesCommand_base: {
29
29
  /**
30
30
  * <p>Lists all managed policies that are attached to the specified IAM user.</p>
31
31
  * <p>An IAM user can also have inline policies embedded with it. To list the inline
32
- * policies for a user, use <a>ListUserPolicies</a>. For information about
33
- * policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
32
+ * policies for a user, use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListUserPolicies.html">ListUserPolicies</a>.
33
+ * For information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
34
34
  * policies</a> in the <i>IAM User Guide</i>.</p>
35
35
  * <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
36
36
  * parameters. You can use the <code>PathPrefix</code> parameter to limit the list of
@@ -30,9 +30,9 @@ declare const ListGroupPoliciesCommand_base: {
30
30
  * <p>Lists the names of the inline policies that are embedded in the specified IAM
31
31
  * group.</p>
32
32
  * <p>An IAM group can also have managed policies attached to it. To list the managed
33
- * policies that are attached to a group, use <a>ListAttachedGroupPolicies</a>.
34
- * For more information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
35
- * policies</a> in the <i>IAM User Guide</i>.</p>
33
+ * policies that are attached to a group, use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAttachedGroupPolicies.html">ListAttachedGroupPolicies</a>. For more information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed
34
+ * policies and inline policies</a> in the
35
+ * <i>IAM User Guide</i>.</p>
36
36
  * <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
37
37
  * parameters. If there are no inline policies embedded with the specified group, the
38
38
  * operation returns an empty list.</p>
@@ -33,7 +33,8 @@ declare const ListInstanceProfilesCommand_base: {
33
33
  * instance profiles</a> in the <i>IAM User Guide</i>.</p>
34
34
  * <note>
35
35
  * <p>IAM resource-listing operations return a subset of the available
36
- * attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for an instance profile, see <a>GetInstanceProfile</a>.</p>
36
+ * attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for an instance profile, see
37
+ * <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetInstanceProfile.html">GetInstanceProfile</a>.</p>
37
38
  * </note>
38
39
  * <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
39
40
  * parameters.</p>
@@ -31,7 +31,7 @@ declare const ListOpenIDConnectProvidersCommand_base: {
31
31
  * defined in the Amazon Web Services account.</p>
32
32
  * <note>
33
33
  * <p>IAM resource-listing operations return a subset of the available
34
- * attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for an OIDC provider, see <a>GetOpenIDConnectProvider</a>.</p>
34
+ * attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for an OIDC provider, see <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetOpenIDConnectProvider.html">GetOpenIDConnectProvider</a>.</p>
35
35
  * </note>
36
36
  * @example
37
37
  * Use a bare-bones client and the command you need to make an API call.
@@ -64,7 +64,7 @@ declare const ListOrganizationsFeaturesCommand_base: {
64
64
  * @throws {@link OrganizationNotInAllFeaturesModeException} (client fault)
65
65
  * <p>The request was rejected because your organization does not have All features enabled. For
66
66
  * more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set">Available feature sets</a> in the <i>Organizations User
67
- * Guide</i>.</p>
67
+ * Guide</i>.</p>
68
68
  *
69
69
  * @throws {@link ServiceAccessNotEnabledException} (client fault)
70
70
  * <p>The request was rejected because trusted access is not enabled for IAM in Organizations. For details, see IAM and Organizations in the <i>Organizations User Guide</i>.</p>
@@ -41,7 +41,7 @@ declare const ListPoliciesCommand_base: {
41
41
  * <note>
42
42
  * <p>IAM resource-listing operations return a subset of the available
43
43
  * attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for a customer manged policy, see
44
- * <a>GetPolicy</a>.</p>
44
+ * <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicy.html">GetPolicy</a>.</p>
45
45
  * </note>
46
46
  * @example
47
47
  * Use a bare-bones client and the command you need to make an API call.
@@ -65,7 +65,7 @@ declare const ListPoliciesGrantingServiceAccessCommand_base: {
65
65
  * <i>IAM User Guide</i>.</p>
66
66
  * <p>Policies that are attached to users and roles as permissions boundaries are not
67
67
  * returned. To view which managed policy is currently used to set the permissions boundary
68
- * for a user or role, use the <a>GetUser</a> or <a>GetRole</a>
68
+ * for a user or role, use the <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetUser.html">GetUser</a> or <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetRole.html">GetRole</a>
69
69
  * operations.</p>
70
70
  * @example
71
71
  * Use a bare-bones client and the command you need to make an API call.
@@ -30,9 +30,9 @@ declare const ListRolePoliciesCommand_base: {
30
30
  * <p>Lists the names of the inline policies that are embedded in the specified IAM
31
31
  * role.</p>
32
32
  * <p>An IAM role can also have managed policies attached to it. To list the managed
33
- * policies that are attached to a role, use <a>ListAttachedRolePolicies</a>.
34
- * For more information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
35
- * policies</a> in the <i>IAM User Guide</i>.</p>
33
+ * policies that are attached to a role, use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAttachedRolePolicies.html">ListAttachedRolePolicies</a>. For more information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed
34
+ * policies and inline policies</a> in the
35
+ * <i>IAM User Guide</i>.</p>
36
36
  * <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
37
37
  * parameters. If there are no inline policies embedded with the specified role, the
38
38
  * operation returns an empty list.</p>
@@ -44,7 +44,7 @@ declare const ListRolesCommand_base: {
44
44
  * <p>Tags</p>
45
45
  * </li>
46
46
  * </ul>
47
- * <p>To view all of the information for a role, see <a>GetRole</a>.</p>
47
+ * <p>To view all of the information for a role, see <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetRole.html">GetRole</a>.</p>
48
48
  * </note>
49
49
  * <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
50
50
  * parameters.</p>
@@ -29,7 +29,7 @@ declare const ListSAMLProvidersCommand_base: {
29
29
  /**
30
30
  * <p>Lists the SAML provider resource objects defined in IAM in the account.
31
31
  * IAM resource-listing operations return a subset of the available
32
- * attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for a SAML provider, see <a>GetSAMLProvider</a>.</p>
32
+ * attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for a SAML provider, see <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetSAMLProvider.html">GetSAMLProvider</a>.</p>
33
33
  * <important>
34
34
  * <p> This operation requires <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4</a>.</p>
35
35
  * </important>
@@ -53,7 +53,7 @@ declare const ListSSHPublicKeysCommand_base: {
53
53
  * // { // SSHPublicKeyMetadata
54
54
  * // UserName: "STRING_VALUE", // required
55
55
  * // SSHPublicKeyId: "STRING_VALUE", // required
56
- * // Status: "Active" || "Inactive", // required
56
+ * // Status: "Active" || "Inactive" || "Expired", // required
57
57
  * // UploadDate: new Date("TIMESTAMP"), // required
58
58
  * // },
59
59
  * // ],
@@ -37,7 +37,8 @@ declare const ListServerCertificatesCommand_base: {
37
37
  * you manage with IAM.</p>
38
38
  * <note>
39
39
  * <p>IAM resource-listing operations return a subset of the available
40
- * attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for a servercertificate, see <a>GetServerCertificate</a>.</p>
40
+ * attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for a servercertificate, see
41
+ * <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServerCertificate.html">GetServerCertificate</a>.</p>
41
42
  * </note>
42
43
  * @example
43
44
  * Use a bare-bones client and the command you need to make an API call.
@@ -42,6 +42,9 @@ declare const ListServiceSpecificCredentialsCommand_base: {
42
42
  * const input = { // ListServiceSpecificCredentialsRequest
43
43
  * UserName: "STRING_VALUE",
44
44
  * ServiceName: "STRING_VALUE",
45
+ * AllUsers: true || false,
46
+ * Marker: "STRING_VALUE",
47
+ * MaxItems: Number("int"),
45
48
  * };
46
49
  * const command = new ListServiceSpecificCredentialsCommand(input);
47
50
  * const response = await client.send(command);
@@ -49,13 +52,17 @@ declare const ListServiceSpecificCredentialsCommand_base: {
49
52
  * // ServiceSpecificCredentials: [ // ServiceSpecificCredentialsListType
50
53
  * // { // ServiceSpecificCredentialMetadata
51
54
  * // UserName: "STRING_VALUE", // required
52
- * // Status: "Active" || "Inactive", // required
53
- * // ServiceUserName: "STRING_VALUE", // required
55
+ * // Status: "Active" || "Inactive" || "Expired", // required
56
+ * // ServiceUserName: "STRING_VALUE",
57
+ * // ServiceCredentialAlias: "STRING_VALUE",
54
58
  * // CreateDate: new Date("TIMESTAMP"), // required
59
+ * // ExpirationDate: new Date("TIMESTAMP"),
55
60
  * // ServiceSpecificCredentialId: "STRING_VALUE", // required
56
61
  * // ServiceName: "STRING_VALUE", // required
57
62
  * // },
58
63
  * // ],
64
+ * // Marker: "STRING_VALUE",
65
+ * // IsTruncated: true || false,
59
66
  * // };
60
67
  *
61
68
  * ```
@@ -56,7 +56,7 @@ declare const ListSigningCertificatesCommand_base: {
56
56
  * // UserName: "STRING_VALUE", // required
57
57
  * // CertificateId: "STRING_VALUE", // required
58
58
  * // CertificateBody: "STRING_VALUE", // required
59
- * // Status: "Active" || "Inactive", // required
59
+ * // Status: "Active" || "Inactive" || "Expired", // required
60
60
  * // UploadDate: new Date("TIMESTAMP"),
61
61
  * // },
62
62
  * // ],
@@ -29,9 +29,9 @@ declare const ListUserPoliciesCommand_base: {
29
29
  /**
30
30
  * <p>Lists the names of the inline policies embedded in the specified IAM user.</p>
31
31
  * <p>An IAM user can also have managed policies attached to it. To list the managed
32
- * policies that are attached to a user, use <a>ListAttachedUserPolicies</a>.
33
- * For more information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
34
- * policies</a> in the <i>IAM User Guide</i>.</p>
32
+ * policies that are attached to a user, use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAttachedUserPolicies.html">ListAttachedUserPolicies</a>. For more information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed
33
+ * policies and inline policies</a> in the
34
+ * <i>IAM User Guide</i>.</p>
35
35
  * <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
36
36
  * parameters. If there are no inline policies embedded with the specified user, the
37
37
  * operation returns an empty list.</p>
@@ -41,7 +41,7 @@ declare const ListUsersCommand_base: {
41
41
  * <p>Tags</p>
42
42
  * </li>
43
43
  * </ul>
44
- * <p>To view all of the information for a user, see <a>GetUser</a>.</p>
44
+ * <p>To view all of the information for a user, see <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetUser.html">GetUser</a>.</p>
45
45
  * </note>
46
46
  * <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
47
47
  * parameters.</p>
@@ -33,7 +33,7 @@ declare const ListVirtualMFADevicesCommand_base: {
33
33
  * <code>Any</code>.</p>
34
34
  * <note>
35
35
  * <p>IAM resource-listing operations return a subset of the available
36
- * attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view tag information for a virtual MFA device, see <a>ListMFADeviceTags</a>.</p>
36
+ * attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view tag information for a virtual MFA device, see <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListMFADeviceTags.html">ListMFADeviceTags</a>.</p>
37
37
  * </note>
38
38
  * <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
39
39
  * parameters.</p>
@@ -91,11 +91,11 @@ declare const PutGroupPolicyCommand_base: {
91
91
  *
92
92
  * @example To add a policy to a group
93
93
  * ```javascript
94
- * // The following command adds a policy named AllPerms to the IAM group named Admins.
94
+ * // The following command adds a policy named IAMReadAccess to the IAM group named PowerUsers.
95
95
  * const input = {
96
- * GroupName: "Admins",
97
- * PolicyDocument: `{"Version":"2012-10-17","Statement":{"Effect":"Allow","Action":"*","Resource":"*"}}`,
98
- * PolicyName: "AllPerms"
96
+ * GroupName: "PowerUsers",
97
+ * PolicyDocument: `{"Version":"2012-10-17","Statement":{"Effect":"Allow","Action":["iam:Get*","iam:List*","iam:Generate*"],"Resource":"*"}}`,
98
+ * PolicyName: "IAMReadAccess"
99
99
  * };
100
100
  * const command = new PutGroupPolicyCommand(input);
101
101
  * const response = await client.send(command);