@aws-sdk/client-iam 3.299.0 → 3.301.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 (159) hide show
  1. package/dist-types/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +4 -0
  2. package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +4 -0
  3. package/dist-types/commands/AddUserToGroupCommand.d.ts +4 -0
  4. package/dist-types/commands/AttachGroupPolicyCommand.d.ts +4 -0
  5. package/dist-types/commands/AttachRolePolicyCommand.d.ts +4 -0
  6. package/dist-types/commands/AttachUserPolicyCommand.d.ts +4 -0
  7. package/dist-types/commands/ChangePasswordCommand.d.ts +4 -0
  8. package/dist-types/commands/CreateAccessKeyCommand.d.ts +3 -0
  9. package/dist-types/commands/CreateAccountAliasCommand.d.ts +3 -0
  10. package/dist-types/commands/CreateGroupCommand.d.ts +4 -0
  11. package/dist-types/commands/CreateInstanceProfileCommand.d.ts +10 -0
  12. package/dist-types/commands/CreateLoginProfileCommand.d.ts +5 -0
  13. package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +15 -0
  14. package/dist-types/commands/CreatePolicyCommand.d.ts +12 -0
  15. package/dist-types/commands/CreatePolicyVersionCommand.d.ts +5 -0
  16. package/dist-types/commands/CreateRoleCommand.d.ts +14 -0
  17. package/dist-types/commands/CreateSAMLProviderCommand.d.ts +10 -0
  18. package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +5 -0
  19. package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +4 -0
  20. package/dist-types/commands/CreateUserCommand.d.ts +11 -0
  21. package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +10 -0
  22. package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +4 -0
  23. package/dist-types/commands/DeleteAccessKeyCommand.d.ts +4 -0
  24. package/dist-types/commands/DeleteAccountAliasCommand.d.ts +3 -0
  25. package/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +1 -0
  26. package/dist-types/commands/DeleteGroupCommand.d.ts +3 -0
  27. package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +4 -0
  28. package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +3 -0
  29. package/dist-types/commands/DeleteLoginProfileCommand.d.ts +3 -0
  30. package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +3 -0
  31. package/dist-types/commands/DeletePolicyCommand.d.ts +3 -0
  32. package/dist-types/commands/DeletePolicyVersionCommand.d.ts +4 -0
  33. package/dist-types/commands/DeleteRoleCommand.d.ts +3 -0
  34. package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +3 -0
  35. package/dist-types/commands/DeleteRolePolicyCommand.d.ts +4 -0
  36. package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +3 -0
  37. package/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +4 -0
  38. package/dist-types/commands/DeleteServerCertificateCommand.d.ts +3 -0
  39. package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +3 -0
  40. package/dist-types/commands/DeleteServiceSpecificCredentialCommand.d.ts +4 -0
  41. package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +4 -0
  42. package/dist-types/commands/DeleteUserCommand.d.ts +3 -0
  43. package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +3 -0
  44. package/dist-types/commands/DeleteUserPolicyCommand.d.ts +4 -0
  45. package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +3 -0
  46. package/dist-types/commands/DetachGroupPolicyCommand.d.ts +4 -0
  47. package/dist-types/commands/DetachRolePolicyCommand.d.ts +4 -0
  48. package/dist-types/commands/DetachUserPolicyCommand.d.ts +4 -0
  49. package/dist-types/commands/EnableMFADeviceCommand.d.ts +6 -0
  50. package/dist-types/commands/GenerateCredentialReportCommand.d.ts +1 -0
  51. package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +4 -0
  52. package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +4 -0
  53. package/dist-types/commands/GetAccessKeyLastUsedCommand.d.ts +3 -0
  54. package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +7 -0
  55. package/dist-types/commands/GetAccountPasswordPolicyCommand.d.ts +1 -0
  56. package/dist-types/commands/GetAccountSummaryCommand.d.ts +1 -0
  57. package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +5 -0
  58. package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +6 -0
  59. package/dist-types/commands/GetCredentialReportCommand.d.ts +1 -0
  60. package/dist-types/commands/GetGroupCommand.d.ts +5 -0
  61. package/dist-types/commands/GetGroupPolicyCommand.d.ts +4 -0
  62. package/dist-types/commands/GetInstanceProfileCommand.d.ts +3 -0
  63. package/dist-types/commands/GetLoginProfileCommand.d.ts +3 -0
  64. package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +3 -0
  65. package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +6 -0
  66. package/dist-types/commands/GetPolicyCommand.d.ts +3 -0
  67. package/dist-types/commands/GetPolicyVersionCommand.d.ts +4 -0
  68. package/dist-types/commands/GetRoleCommand.d.ts +3 -0
  69. package/dist-types/commands/GetRolePolicyCommand.d.ts +4 -0
  70. package/dist-types/commands/GetSAMLProviderCommand.d.ts +3 -0
  71. package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +5 -0
  72. package/dist-types/commands/GetServerCertificateCommand.d.ts +3 -0
  73. package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +5 -0
  74. package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +6 -0
  75. package/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +3 -0
  76. package/dist-types/commands/GetUserCommand.d.ts +3 -0
  77. package/dist-types/commands/GetUserPolicyCommand.d.ts +4 -0
  78. package/dist-types/commands/ListAccessKeysCommand.d.ts +5 -0
  79. package/dist-types/commands/ListAccountAliasesCommand.d.ts +4 -0
  80. package/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +6 -0
  81. package/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +6 -0
  82. package/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +6 -0
  83. package/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +8 -0
  84. package/dist-types/commands/ListGroupPoliciesCommand.d.ts +5 -0
  85. package/dist-types/commands/ListGroupsCommand.d.ts +5 -0
  86. package/dist-types/commands/ListGroupsForUserCommand.d.ts +5 -0
  87. package/dist-types/commands/ListInstanceProfileTagsCommand.d.ts +5 -0
  88. package/dist-types/commands/ListInstanceProfilesCommand.d.ts +5 -0
  89. package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +5 -0
  90. package/dist-types/commands/ListMFADeviceTagsCommand.d.ts +5 -0
  91. package/dist-types/commands/ListMFADevicesCommand.d.ts +5 -0
  92. package/dist-types/commands/ListOpenIDConnectProviderTagsCommand.d.ts +5 -0
  93. package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +1 -0
  94. package/dist-types/commands/ListPoliciesCommand.d.ts +8 -0
  95. package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +7 -0
  96. package/dist-types/commands/ListPolicyTagsCommand.d.ts +5 -0
  97. package/dist-types/commands/ListPolicyVersionsCommand.d.ts +5 -0
  98. package/dist-types/commands/ListRolePoliciesCommand.d.ts +5 -0
  99. package/dist-types/commands/ListRoleTagsCommand.d.ts +5 -0
  100. package/dist-types/commands/ListRolesCommand.d.ts +5 -0
  101. package/dist-types/commands/ListSAMLProviderTagsCommand.d.ts +5 -0
  102. package/dist-types/commands/ListSAMLProvidersCommand.d.ts +1 -0
  103. package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +5 -0
  104. package/dist-types/commands/ListServerCertificateTagsCommand.d.ts +5 -0
  105. package/dist-types/commands/ListServerCertificatesCommand.d.ts +5 -0
  106. package/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +4 -0
  107. package/dist-types/commands/ListSigningCertificatesCommand.d.ts +5 -0
  108. package/dist-types/commands/ListUserPoliciesCommand.d.ts +5 -0
  109. package/dist-types/commands/ListUserTagsCommand.d.ts +5 -0
  110. package/dist-types/commands/ListUsersCommand.d.ts +5 -0
  111. package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +5 -0
  112. package/dist-types/commands/PutGroupPolicyCommand.d.ts +5 -0
  113. package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +4 -0
  114. package/dist-types/commands/PutRolePolicyCommand.d.ts +5 -0
  115. package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +4 -0
  116. package/dist-types/commands/PutUserPolicyCommand.d.ts +5 -0
  117. package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +4 -0
  118. package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +4 -0
  119. package/dist-types/commands/RemoveUserFromGroupCommand.d.ts +4 -0
  120. package/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +4 -0
  121. package/dist-types/commands/ResyncMFADeviceCommand.d.ts +6 -0
  122. package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +4 -0
  123. package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +3 -0
  124. package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +29 -0
  125. package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +30 -0
  126. package/dist-types/commands/TagInstanceProfileCommand.d.ts +9 -0
  127. package/dist-types/commands/TagMFADeviceCommand.d.ts +9 -0
  128. package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +9 -0
  129. package/dist-types/commands/TagPolicyCommand.d.ts +9 -0
  130. package/dist-types/commands/TagRoleCommand.d.ts +9 -0
  131. package/dist-types/commands/TagSAMLProviderCommand.d.ts +9 -0
  132. package/dist-types/commands/TagServerCertificateCommand.d.ts +9 -0
  133. package/dist-types/commands/TagUserCommand.d.ts +9 -0
  134. package/dist-types/commands/UntagInstanceProfileCommand.d.ts +6 -0
  135. package/dist-types/commands/UntagMFADeviceCommand.d.ts +6 -0
  136. package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +6 -0
  137. package/dist-types/commands/UntagPolicyCommand.d.ts +6 -0
  138. package/dist-types/commands/UntagRoleCommand.d.ts +6 -0
  139. package/dist-types/commands/UntagSAMLProviderCommand.d.ts +6 -0
  140. package/dist-types/commands/UntagServerCertificateCommand.d.ts +6 -0
  141. package/dist-types/commands/UntagUserCommand.d.ts +6 -0
  142. package/dist-types/commands/UpdateAccessKeyCommand.d.ts +5 -0
  143. package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +11 -0
  144. package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +4 -0
  145. package/dist-types/commands/UpdateGroupCommand.d.ts +5 -0
  146. package/dist-types/commands/UpdateLoginProfileCommand.d.ts +5 -0
  147. package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +6 -0
  148. package/dist-types/commands/UpdateRoleCommand.d.ts +5 -0
  149. package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +4 -0
  150. package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +4 -0
  151. package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +5 -0
  152. package/dist-types/commands/UpdateServerCertificateCommand.d.ts +5 -0
  153. package/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +5 -0
  154. package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +5 -0
  155. package/dist-types/commands/UpdateUserCommand.d.ts +5 -0
  156. package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +4 -0
  157. package/dist-types/commands/UploadServerCertificateCommand.d.ts +13 -0
  158. package/dist-types/commands/UploadSigningCertificateCommand.d.ts +4 -0
  159. package/package.json +8 -8
@@ -29,6 +29,10 @@ export interface AddClientIDToOpenIDConnectProviderCommandOutput extends __Metad
29
29
  * import { IAMClient, AddClientIDToOpenIDConnectProviderCommand } from "@aws-sdk/client-iam"; // ES Modules import
30
30
  * // const { IAMClient, AddClientIDToOpenIDConnectProviderCommand } = require("@aws-sdk/client-iam"); // CommonJS import
31
31
  * const client = new IAMClient(config);
32
+ * const input = { // AddClientIDToOpenIDConnectProviderRequest
33
+ * OpenIDConnectProviderArn: "STRING_VALUE", // required
34
+ * ClientID: "STRING_VALUE", // required
35
+ * };
32
36
  * const command = new AddClientIDToOpenIDConnectProviderCommand(input);
33
37
  * const response = await client.send(command);
34
38
  * ```
@@ -38,6 +38,10 @@ export interface AddRoleToInstanceProfileCommandOutput extends __MetadataBearer
38
38
  * import { IAMClient, AddRoleToInstanceProfileCommand } from "@aws-sdk/client-iam"; // ES Modules import
39
39
  * // const { IAMClient, AddRoleToInstanceProfileCommand } = require("@aws-sdk/client-iam"); // CommonJS import
40
40
  * const client = new IAMClient(config);
41
+ * const input = { // AddRoleToInstanceProfileRequest
42
+ * InstanceProfileName: "STRING_VALUE", // required
43
+ * RoleName: "STRING_VALUE", // required
44
+ * };
41
45
  * const command = new AddRoleToInstanceProfileCommand(input);
42
46
  * const response = await client.send(command);
43
47
  * ```
@@ -26,6 +26,10 @@ export interface AddUserToGroupCommandOutput extends __MetadataBearer {
26
26
  * import { IAMClient, AddUserToGroupCommand } from "@aws-sdk/client-iam"; // ES Modules import
27
27
  * // const { IAMClient, AddUserToGroupCommand } = require("@aws-sdk/client-iam"); // CommonJS import
28
28
  * const client = new IAMClient(config);
29
+ * const input = { // AddUserToGroupRequest
30
+ * GroupName: "STRING_VALUE", // required
31
+ * UserName: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new AddUserToGroupCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -33,6 +33,10 @@ export interface AttachGroupPolicyCommandOutput extends __MetadataBearer {
33
33
  * import { IAMClient, AttachGroupPolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
34
34
  * // const { IAMClient, AttachGroupPolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
35
35
  * const client = new IAMClient(config);
36
+ * const input = { // AttachGroupPolicyRequest
37
+ * GroupName: "STRING_VALUE", // required
38
+ * PolicyArn: "STRING_VALUE", // required
39
+ * };
36
40
  * const command = new AttachGroupPolicyCommand(input);
37
41
  * const response = await client.send(command);
38
42
  * ```
@@ -40,6 +40,10 @@ export interface AttachRolePolicyCommandOutput extends __MetadataBearer {
40
40
  * import { IAMClient, AttachRolePolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
41
41
  * // const { IAMClient, AttachRolePolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
42
42
  * const client = new IAMClient(config);
43
+ * const input = { // AttachRolePolicyRequest
44
+ * RoleName: "STRING_VALUE", // required
45
+ * PolicyArn: "STRING_VALUE", // required
46
+ * };
43
47
  * const command = new AttachRolePolicyCommand(input);
44
48
  * const response = await client.send(command);
45
49
  * ```
@@ -33,6 +33,10 @@ export interface AttachUserPolicyCommandOutput extends __MetadataBearer {
33
33
  * import { IAMClient, AttachUserPolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
34
34
  * // const { IAMClient, AttachUserPolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
35
35
  * const client = new IAMClient(config);
36
+ * const input = { // AttachUserPolicyRequest
37
+ * UserName: "STRING_VALUE", // required
38
+ * PolicyArn: "STRING_VALUE", // required
39
+ * };
36
40
  * const command = new AttachUserPolicyCommand(input);
37
41
  * const response = await client.send(command);
38
42
  * ```
@@ -33,6 +33,10 @@ export interface ChangePasswordCommandOutput extends __MetadataBearer {
33
33
  * import { IAMClient, ChangePasswordCommand } from "@aws-sdk/client-iam"; // ES Modules import
34
34
  * // const { IAMClient, ChangePasswordCommand } = require("@aws-sdk/client-iam"); // CommonJS import
35
35
  * const client = new IAMClient(config);
36
+ * const input = { // ChangePasswordRequest
37
+ * OldPassword: "STRING_VALUE", // required
38
+ * NewPassword: "STRING_VALUE", // required
39
+ * };
36
40
  * const command = new ChangePasswordCommand(input);
37
41
  * const response = await client.send(command);
38
42
  * ```
@@ -39,6 +39,9 @@ export interface CreateAccessKeyCommandOutput extends CreateAccessKeyResponse, _
39
39
  * import { IAMClient, CreateAccessKeyCommand } from "@aws-sdk/client-iam"; // ES Modules import
40
40
  * // const { IAMClient, CreateAccessKeyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
41
41
  * const client = new IAMClient(config);
42
+ * const input = { // CreateAccessKeyRequest
43
+ * UserName: "STRING_VALUE",
44
+ * };
42
45
  * const command = new CreateAccessKeyCommand(input);
43
46
  * const response = await client.send(command);
44
47
  * ```
@@ -29,6 +29,9 @@ export interface CreateAccountAliasCommandOutput extends __MetadataBearer {
29
29
  * import { IAMClient, CreateAccountAliasCommand } from "@aws-sdk/client-iam"; // ES Modules import
30
30
  * // const { IAMClient, CreateAccountAliasCommand } = require("@aws-sdk/client-iam"); // CommonJS import
31
31
  * const client = new IAMClient(config);
32
+ * const input = { // CreateAccountAliasRequest
33
+ * AccountAlias: "STRING_VALUE", // required
34
+ * };
32
35
  * const command = new CreateAccountAliasCommand(input);
33
36
  * const response = await client.send(command);
34
37
  * ```
@@ -28,6 +28,10 @@ export interface CreateGroupCommandOutput extends CreateGroupResponse, __Metadat
28
28
  * import { IAMClient, CreateGroupCommand } from "@aws-sdk/client-iam"; // ES Modules import
29
29
  * // const { IAMClient, CreateGroupCommand } = require("@aws-sdk/client-iam"); // CommonJS import
30
30
  * const client = new IAMClient(config);
31
+ * const input = { // CreateGroupRequest
32
+ * Path: "STRING_VALUE",
33
+ * GroupName: "STRING_VALUE", // required
34
+ * };
31
35
  * const command = new CreateGroupCommand(input);
32
36
  * const response = await client.send(command);
33
37
  * ```
@@ -30,6 +30,16 @@ export interface CreateInstanceProfileCommandOutput extends CreateInstanceProfil
30
30
  * import { IAMClient, CreateInstanceProfileCommand } from "@aws-sdk/client-iam"; // ES Modules import
31
31
  * // const { IAMClient, CreateInstanceProfileCommand } = require("@aws-sdk/client-iam"); // CommonJS import
32
32
  * const client = new IAMClient(config);
33
+ * const input = { // CreateInstanceProfileRequest
34
+ * InstanceProfileName: "STRING_VALUE", // required
35
+ * Path: "STRING_VALUE",
36
+ * Tags: [ // tagListType
37
+ * { // Tag
38
+ * Key: "STRING_VALUE", // required
39
+ * Value: "STRING_VALUE", // required
40
+ * },
41
+ * ],
42
+ * };
33
43
  * const command = new CreateInstanceProfileCommand(input);
34
44
  * const response = await client.send(command);
35
45
  * ```
@@ -31,6 +31,11 @@ export interface CreateLoginProfileCommandOutput extends CreateLoginProfileRespo
31
31
  * import { IAMClient, CreateLoginProfileCommand } from "@aws-sdk/client-iam"; // ES Modules import
32
32
  * // const { IAMClient, CreateLoginProfileCommand } = require("@aws-sdk/client-iam"); // CommonJS import
33
33
  * const client = new IAMClient(config);
34
+ * const input = { // CreateLoginProfileRequest
35
+ * UserName: "STRING_VALUE", // required
36
+ * Password: "STRING_VALUE", // required
37
+ * PasswordResetRequired: true || false,
38
+ * };
34
39
  * const command = new CreateLoginProfileCommand(input);
35
40
  * const response = await client.send(command);
36
41
  * ```
@@ -67,6 +67,21 @@ export interface CreateOpenIDConnectProviderCommandOutput extends CreateOpenIDCo
67
67
  * import { IAMClient, CreateOpenIDConnectProviderCommand } from "@aws-sdk/client-iam"; // ES Modules import
68
68
  * // const { IAMClient, CreateOpenIDConnectProviderCommand } = require("@aws-sdk/client-iam"); // CommonJS import
69
69
  * const client = new IAMClient(config);
70
+ * const input = { // CreateOpenIDConnectProviderRequest
71
+ * Url: "STRING_VALUE", // required
72
+ * ClientIDList: [ // clientIDListType
73
+ * "STRING_VALUE",
74
+ * ],
75
+ * ThumbprintList: [ // thumbprintListType // required
76
+ * "STRING_VALUE",
77
+ * ],
78
+ * Tags: [ // tagListType
79
+ * { // Tag
80
+ * Key: "STRING_VALUE", // required
81
+ * Value: "STRING_VALUE", // required
82
+ * },
83
+ * ],
84
+ * };
70
85
  * const command = new CreateOpenIDConnectProviderCommand(input);
71
86
  * const response = await client.send(command);
72
87
  * ```
@@ -36,6 +36,18 @@ export interface CreatePolicyCommandOutput extends CreatePolicyResponse, __Metad
36
36
  * import { IAMClient, CreatePolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
37
37
  * // const { IAMClient, CreatePolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
38
38
  * const client = new IAMClient(config);
39
+ * const input = { // CreatePolicyRequest
40
+ * PolicyName: "STRING_VALUE", // required
41
+ * Path: "STRING_VALUE",
42
+ * PolicyDocument: "STRING_VALUE", // required
43
+ * Description: "STRING_VALUE",
44
+ * Tags: [ // tagListType
45
+ * { // Tag
46
+ * Key: "STRING_VALUE", // required
47
+ * Value: "STRING_VALUE", // required
48
+ * },
49
+ * ],
50
+ * };
39
51
  * const command = new CreatePolicyCommand(input);
40
52
  * const response = await client.send(command);
41
53
  * ```
@@ -33,6 +33,11 @@ export interface CreatePolicyVersionCommandOutput extends CreatePolicyVersionRes
33
33
  * import { IAMClient, CreatePolicyVersionCommand } from "@aws-sdk/client-iam"; // ES Modules import
34
34
  * // const { IAMClient, CreatePolicyVersionCommand } = require("@aws-sdk/client-iam"); // CommonJS import
35
35
  * const client = new IAMClient(config);
36
+ * const input = { // CreatePolicyVersionRequest
37
+ * PolicyArn: "STRING_VALUE", // required
38
+ * PolicyDocument: "STRING_VALUE", // required
39
+ * SetAsDefault: true || false,
40
+ * };
36
41
  * const command = new CreatePolicyVersionCommand(input);
37
42
  * const response = await client.send(command);
38
43
  * ```
@@ -30,6 +30,20 @@ export interface CreateRoleCommandOutput extends CreateRoleResponse, __MetadataB
30
30
  * import { IAMClient, CreateRoleCommand } from "@aws-sdk/client-iam"; // ES Modules import
31
31
  * // const { IAMClient, CreateRoleCommand } = require("@aws-sdk/client-iam"); // CommonJS import
32
32
  * const client = new IAMClient(config);
33
+ * const input = { // CreateRoleRequest
34
+ * Path: "STRING_VALUE",
35
+ * RoleName: "STRING_VALUE", // required
36
+ * AssumeRolePolicyDocument: "STRING_VALUE", // required
37
+ * Description: "STRING_VALUE",
38
+ * MaxSessionDuration: Number("int"),
39
+ * PermissionsBoundary: "STRING_VALUE",
40
+ * Tags: [ // tagListType
41
+ * { // Tag
42
+ * Key: "STRING_VALUE", // required
43
+ * Value: "STRING_VALUE", // required
44
+ * },
45
+ * ],
46
+ * };
33
47
  * const command = new CreateRoleCommand(input);
34
48
  * const response = await client.send(command);
35
49
  * ```
@@ -43,6 +43,16 @@ export interface CreateSAMLProviderCommandOutput extends CreateSAMLProviderRespo
43
43
  * import { IAMClient, CreateSAMLProviderCommand } from "@aws-sdk/client-iam"; // ES Modules import
44
44
  * // const { IAMClient, CreateSAMLProviderCommand } = require("@aws-sdk/client-iam"); // CommonJS import
45
45
  * const client = new IAMClient(config);
46
+ * const input = { // CreateSAMLProviderRequest
47
+ * SAMLMetadataDocument: "STRING_VALUE", // required
48
+ * Name: "STRING_VALUE", // required
49
+ * Tags: [ // tagListType
50
+ * { // Tag
51
+ * Key: "STRING_VALUE", // required
52
+ * Value: "STRING_VALUE", // required
53
+ * },
54
+ * ],
55
+ * };
46
56
  * const command = new CreateSAMLProviderCommand(input);
47
57
  * const response = await client.send(command);
48
58
  * ```
@@ -34,6 +34,11 @@ export interface CreateServiceLinkedRoleCommandOutput extends CreateServiceLinke
34
34
  * import { IAMClient, CreateServiceLinkedRoleCommand } from "@aws-sdk/client-iam"; // ES Modules import
35
35
  * // const { IAMClient, CreateServiceLinkedRoleCommand } = require("@aws-sdk/client-iam"); // CommonJS import
36
36
  * const client = new IAMClient(config);
37
+ * const input = { // CreateServiceLinkedRoleRequest
38
+ * AWSServiceName: "STRING_VALUE", // required
39
+ * Description: "STRING_VALUE",
40
+ * CustomSuffix: "STRING_VALUE",
41
+ * };
37
42
  * const command = new CreateServiceLinkedRoleCommand(input);
38
43
  * const response = await client.send(command);
39
44
  * ```
@@ -36,6 +36,10 @@ export interface CreateServiceSpecificCredentialCommandOutput extends CreateServ
36
36
  * import { IAMClient, CreateServiceSpecificCredentialCommand } from "@aws-sdk/client-iam"; // ES Modules import
37
37
  * // const { IAMClient, CreateServiceSpecificCredentialCommand } = require("@aws-sdk/client-iam"); // CommonJS import
38
38
  * const client = new IAMClient(config);
39
+ * const input = { // CreateServiceSpecificCredentialRequest
40
+ * UserName: "STRING_VALUE", // required
41
+ * ServiceName: "STRING_VALUE", // required
42
+ * };
39
43
  * const command = new CreateServiceSpecificCredentialCommand(input);
40
44
  * const response = await client.send(command);
41
45
  * ```
@@ -28,6 +28,17 @@ export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataB
28
28
  * import { IAMClient, CreateUserCommand } from "@aws-sdk/client-iam"; // ES Modules import
29
29
  * // const { IAMClient, CreateUserCommand } = require("@aws-sdk/client-iam"); // CommonJS import
30
30
  * const client = new IAMClient(config);
31
+ * const input = { // CreateUserRequest
32
+ * Path: "STRING_VALUE",
33
+ * UserName: "STRING_VALUE", // required
34
+ * PermissionsBoundary: "STRING_VALUE",
35
+ * Tags: [ // tagListType
36
+ * { // Tag
37
+ * Key: "STRING_VALUE", // required
38
+ * Value: "STRING_VALUE", // required
39
+ * },
40
+ * ],
41
+ * };
31
42
  * const command = new CreateUserCommand(input);
32
43
  * const response = await client.send(command);
33
44
  * ```
@@ -38,6 +38,16 @@ export interface CreateVirtualMFADeviceCommandOutput extends CreateVirtualMFADev
38
38
  * import { IAMClient, CreateVirtualMFADeviceCommand } from "@aws-sdk/client-iam"; // ES Modules import
39
39
  * // const { IAMClient, CreateVirtualMFADeviceCommand } = require("@aws-sdk/client-iam"); // CommonJS import
40
40
  * const client = new IAMClient(config);
41
+ * const input = { // CreateVirtualMFADeviceRequest
42
+ * Path: "STRING_VALUE",
43
+ * VirtualMFADeviceName: "STRING_VALUE", // required
44
+ * Tags: [ // tagListType
45
+ * { // Tag
46
+ * Key: "STRING_VALUE", // required
47
+ * Value: "STRING_VALUE", // required
48
+ * },
49
+ * ],
50
+ * };
41
51
  * const command = new CreateVirtualMFADeviceCommand(input);
42
52
  * const response = await client.send(command);
43
53
  * ```
@@ -30,6 +30,10 @@ export interface DeactivateMFADeviceCommandOutput extends __MetadataBearer {
30
30
  * import { IAMClient, DeactivateMFADeviceCommand } from "@aws-sdk/client-iam"; // ES Modules import
31
31
  * // const { IAMClient, DeactivateMFADeviceCommand } = require("@aws-sdk/client-iam"); // CommonJS import
32
32
  * const client = new IAMClient(config);
33
+ * const input = { // DeactivateMFADeviceRequest
34
+ * UserName: "STRING_VALUE", // required
35
+ * SerialNumber: "STRING_VALUE", // required
36
+ * };
33
37
  * const command = new DeactivateMFADeviceCommand(input);
34
38
  * const response = await client.send(command);
35
39
  * ```
@@ -30,6 +30,10 @@ export interface DeleteAccessKeyCommandOutput extends __MetadataBearer {
30
30
  * import { IAMClient, DeleteAccessKeyCommand } from "@aws-sdk/client-iam"; // ES Modules import
31
31
  * // const { IAMClient, DeleteAccessKeyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
32
32
  * const client = new IAMClient(config);
33
+ * const input = { // DeleteAccessKeyRequest
34
+ * UserName: "STRING_VALUE",
35
+ * AccessKeyId: "STRING_VALUE", // required
36
+ * };
33
37
  * const command = new DeleteAccessKeyCommand(input);
34
38
  * const response = await client.send(command);
35
39
  * ```
@@ -28,6 +28,9 @@ export interface DeleteAccountAliasCommandOutput extends __MetadataBearer {
28
28
  * import { IAMClient, DeleteAccountAliasCommand } from "@aws-sdk/client-iam"; // ES Modules import
29
29
  * // const { IAMClient, DeleteAccountAliasCommand } = require("@aws-sdk/client-iam"); // CommonJS import
30
30
  * const client = new IAMClient(config);
31
+ * const input = { // DeleteAccountAliasRequest
32
+ * AccountAlias: "STRING_VALUE", // required
33
+ * };
31
34
  * const command = new DeleteAccountAliasCommand(input);
32
35
  * const response = await client.send(command);
33
36
  * ```
@@ -25,6 +25,7 @@ export interface DeleteAccountPasswordPolicyCommandOutput extends __MetadataBear
25
25
  * import { IAMClient, DeleteAccountPasswordPolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
26
26
  * // const { IAMClient, DeleteAccountPasswordPolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
27
27
  * const client = new IAMClient(config);
28
+ * const input = {};
28
29
  * const command = new DeleteAccountPasswordPolicyCommand(input);
29
30
  * const response = await client.send(command);
30
31
  * ```
@@ -27,6 +27,9 @@ export interface DeleteGroupCommandOutput extends __MetadataBearer {
27
27
  * import { IAMClient, DeleteGroupCommand } from "@aws-sdk/client-iam"; // ES Modules import
28
28
  * // const { IAMClient, DeleteGroupCommand } = require("@aws-sdk/client-iam"); // CommonJS import
29
29
  * const client = new IAMClient(config);
30
+ * const input = { // DeleteGroupRequest
31
+ * GroupName: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DeleteGroupCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -31,6 +31,10 @@ export interface DeleteGroupPolicyCommandOutput extends __MetadataBearer {
31
31
  * import { IAMClient, DeleteGroupPolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
32
32
  * // const { IAMClient, DeleteGroupPolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
33
33
  * const client = new IAMClient(config);
34
+ * const input = { // DeleteGroupPolicyRequest
35
+ * GroupName: "STRING_VALUE", // required
36
+ * PolicyName: "STRING_VALUE", // required
37
+ * };
34
38
  * const command = new DeleteGroupPolicyCommand(input);
35
39
  * const response = await client.send(command);
36
40
  * ```
@@ -35,6 +35,9 @@ export interface DeleteInstanceProfileCommandOutput extends __MetadataBearer {
35
35
  * import { IAMClient, DeleteInstanceProfileCommand } from "@aws-sdk/client-iam"; // ES Modules import
36
36
  * // const { IAMClient, DeleteInstanceProfileCommand } = require("@aws-sdk/client-iam"); // CommonJS import
37
37
  * const client = new IAMClient(config);
38
+ * const input = { // DeleteInstanceProfileRequest
39
+ * InstanceProfileName: "STRING_VALUE", // required
40
+ * };
38
41
  * const command = new DeleteInstanceProfileCommand(input);
39
42
  * const response = await client.send(command);
40
43
  * ```
@@ -38,6 +38,9 @@ export interface DeleteLoginProfileCommandOutput extends __MetadataBearer {
38
38
  * import { IAMClient, DeleteLoginProfileCommand } from "@aws-sdk/client-iam"; // ES Modules import
39
39
  * // const { IAMClient, DeleteLoginProfileCommand } = require("@aws-sdk/client-iam"); // CommonJS import
40
40
  * const client = new IAMClient(config);
41
+ * const input = { // DeleteLoginProfileRequest
42
+ * UserName: "STRING_VALUE", // required
43
+ * };
41
44
  * const command = new DeleteLoginProfileCommand(input);
42
45
  * const response = await client.send(command);
43
46
  * ```
@@ -31,6 +31,9 @@ export interface DeleteOpenIDConnectProviderCommandOutput extends __MetadataBear
31
31
  * import { IAMClient, DeleteOpenIDConnectProviderCommand } from "@aws-sdk/client-iam"; // ES Modules import
32
32
  * // const { IAMClient, DeleteOpenIDConnectProviderCommand } = require("@aws-sdk/client-iam"); // CommonJS import
33
33
  * const client = new IAMClient(config);
34
+ * const input = { // DeleteOpenIDConnectProviderRequest
35
+ * OpenIDConnectProviderArn: "STRING_VALUE", // required
36
+ * };
34
37
  * const command = new DeleteOpenIDConnectProviderCommand(input);
35
38
  * const response = await client.send(command);
36
39
  * ```
@@ -50,6 +50,9 @@ export interface DeletePolicyCommandOutput extends __MetadataBearer {
50
50
  * import { IAMClient, DeletePolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
51
51
  * // const { IAMClient, DeletePolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
52
52
  * const client = new IAMClient(config);
53
+ * const input = { // DeletePolicyRequest
54
+ * PolicyArn: "STRING_VALUE", // required
55
+ * };
53
56
  * const command = new DeletePolicyCommand(input);
54
57
  * const response = await client.send(command);
55
58
  * ```
@@ -31,6 +31,10 @@ export interface DeletePolicyVersionCommandOutput extends __MetadataBearer {
31
31
  * import { IAMClient, DeletePolicyVersionCommand } from "@aws-sdk/client-iam"; // ES Modules import
32
32
  * // const { IAMClient, DeletePolicyVersionCommand } = require("@aws-sdk/client-iam"); // CommonJS import
33
33
  * const client = new IAMClient(config);
34
+ * const input = { // DeletePolicyVersionRequest
35
+ * PolicyArn: "STRING_VALUE", // required
36
+ * VersionId: "STRING_VALUE", // required
37
+ * };
34
38
  * const command = new DeletePolicyVersionCommand(input);
35
39
  * const response = await client.send(command);
36
40
  * ```
@@ -49,6 +49,9 @@ export interface DeleteRoleCommandOutput extends __MetadataBearer {
49
49
  * import { IAMClient, DeleteRoleCommand } from "@aws-sdk/client-iam"; // ES Modules import
50
50
  * // const { IAMClient, DeleteRoleCommand } = require("@aws-sdk/client-iam"); // CommonJS import
51
51
  * const client = new IAMClient(config);
52
+ * const input = { // DeleteRoleRequest
53
+ * RoleName: "STRING_VALUE", // required
54
+ * };
52
55
  * const command = new DeleteRoleCommand(input);
53
56
  * const response = await client.send(command);
54
57
  * ```
@@ -32,6 +32,9 @@ export interface DeleteRolePermissionsBoundaryCommandOutput extends __MetadataBe
32
32
  * import { IAMClient, DeleteRolePermissionsBoundaryCommand } from "@aws-sdk/client-iam"; // ES Modules import
33
33
  * // const { IAMClient, DeleteRolePermissionsBoundaryCommand } = require("@aws-sdk/client-iam"); // CommonJS import
34
34
  * const client = new IAMClient(config);
35
+ * const input = { // DeleteRolePermissionsBoundaryRequest
36
+ * RoleName: "STRING_VALUE", // required
37
+ * };
35
38
  * const command = new DeleteRolePermissionsBoundaryCommand(input);
36
39
  * const response = await client.send(command);
37
40
  * ```
@@ -31,6 +31,10 @@ export interface DeleteRolePolicyCommandOutput extends __MetadataBearer {
31
31
  * import { IAMClient, DeleteRolePolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
32
32
  * // const { IAMClient, DeleteRolePolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
33
33
  * const client = new IAMClient(config);
34
+ * const input = { // DeleteRolePolicyRequest
35
+ * RoleName: "STRING_VALUE", // required
36
+ * PolicyName: "STRING_VALUE", // required
37
+ * };
34
38
  * const command = new DeleteRolePolicyCommand(input);
35
39
  * const response = await client.send(command);
36
40
  * ```
@@ -32,6 +32,9 @@ export interface DeleteSAMLProviderCommandOutput extends __MetadataBearer {
32
32
  * import { IAMClient, DeleteSAMLProviderCommand } from "@aws-sdk/client-iam"; // ES Modules import
33
33
  * // const { IAMClient, DeleteSAMLProviderCommand } = require("@aws-sdk/client-iam"); // CommonJS import
34
34
  * const client = new IAMClient(config);
35
+ * const input = { // DeleteSAMLProviderRequest
36
+ * SAMLProviderArn: "STRING_VALUE", // required
37
+ * };
35
38
  * const command = new DeleteSAMLProviderCommand(input);
36
39
  * const response = await client.send(command);
37
40
  * ```
@@ -30,6 +30,10 @@ export interface DeleteSSHPublicKeyCommandOutput extends __MetadataBearer {
30
30
  * import { IAMClient, DeleteSSHPublicKeyCommand } from "@aws-sdk/client-iam"; // ES Modules import
31
31
  * // const { IAMClient, DeleteSSHPublicKeyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
32
32
  * const client = new IAMClient(config);
33
+ * const input = { // DeleteSSHPublicKeyRequest
34
+ * UserName: "STRING_VALUE", // required
35
+ * SSHPublicKeyId: "STRING_VALUE", // required
36
+ * };
33
37
  * const command = new DeleteSSHPublicKeyCommand(input);
34
38
  * const response = await client.send(command);
35
39
  * ```
@@ -40,6 +40,9 @@ export interface DeleteServerCertificateCommandOutput extends __MetadataBearer {
40
40
  * import { IAMClient, DeleteServerCertificateCommand } from "@aws-sdk/client-iam"; // ES Modules import
41
41
  * // const { IAMClient, DeleteServerCertificateCommand } = require("@aws-sdk/client-iam"); // CommonJS import
42
42
  * const client = new IAMClient(config);
43
+ * const input = { // DeleteServerCertificateRequest
44
+ * ServerCertificateName: "STRING_VALUE", // required
45
+ * };
43
46
  * const command = new DeleteServerCertificateCommand(input);
44
47
  * const response = await client.send(command);
45
48
  * ```
@@ -42,6 +42,9 @@ export interface DeleteServiceLinkedRoleCommandOutput extends DeleteServiceLinke
42
42
  * import { IAMClient, DeleteServiceLinkedRoleCommand } from "@aws-sdk/client-iam"; // ES Modules import
43
43
  * // const { IAMClient, DeleteServiceLinkedRoleCommand } = require("@aws-sdk/client-iam"); // CommonJS import
44
44
  * const client = new IAMClient(config);
45
+ * const input = { // DeleteServiceLinkedRoleRequest
46
+ * RoleName: "STRING_VALUE", // required
47
+ * };
45
48
  * const command = new DeleteServiceLinkedRoleCommand(input);
46
49
  * const response = await client.send(command);
47
50
  * ```
@@ -26,6 +26,10 @@ export interface DeleteServiceSpecificCredentialCommandOutput extends __Metadata
26
26
  * import { IAMClient, DeleteServiceSpecificCredentialCommand } from "@aws-sdk/client-iam"; // ES Modules import
27
27
  * // const { IAMClient, DeleteServiceSpecificCredentialCommand } = require("@aws-sdk/client-iam"); // CommonJS import
28
28
  * const client = new IAMClient(config);
29
+ * const input = { // DeleteServiceSpecificCredentialRequest
30
+ * UserName: "STRING_VALUE",
31
+ * ServiceSpecificCredentialId: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new DeleteServiceSpecificCredentialCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -30,6 +30,10 @@ export interface DeleteSigningCertificateCommandOutput extends __MetadataBearer
30
30
  * import { IAMClient, DeleteSigningCertificateCommand } from "@aws-sdk/client-iam"; // ES Modules import
31
31
  * // const { IAMClient, DeleteSigningCertificateCommand } = require("@aws-sdk/client-iam"); // CommonJS import
32
32
  * const client = new IAMClient(config);
33
+ * const input = { // DeleteSigningCertificateRequest
34
+ * UserName: "STRING_VALUE",
35
+ * CertificateId: "STRING_VALUE", // required
36
+ * };
33
37
  * const command = new DeleteSigningCertificateCommand(input);
34
38
  * const response = await client.send(command);
35
39
  * ```
@@ -58,6 +58,9 @@ export interface DeleteUserCommandOutput extends __MetadataBearer {
58
58
  * import { IAMClient, DeleteUserCommand } from "@aws-sdk/client-iam"; // ES Modules import
59
59
  * // const { IAMClient, DeleteUserCommand } = require("@aws-sdk/client-iam"); // CommonJS import
60
60
  * const client = new IAMClient(config);
61
+ * const input = { // DeleteUserRequest
62
+ * UserName: "STRING_VALUE", // required
63
+ * };
61
64
  * const command = new DeleteUserCommand(input);
62
65
  * const response = await client.send(command);
63
66
  * ```
@@ -31,6 +31,9 @@ export interface DeleteUserPermissionsBoundaryCommandOutput extends __MetadataBe
31
31
  * import { IAMClient, DeleteUserPermissionsBoundaryCommand } from "@aws-sdk/client-iam"; // ES Modules import
32
32
  * // const { IAMClient, DeleteUserPermissionsBoundaryCommand } = require("@aws-sdk/client-iam"); // CommonJS import
33
33
  * const client = new IAMClient(config);
34
+ * const input = { // DeleteUserPermissionsBoundaryRequest
35
+ * UserName: "STRING_VALUE", // required
36
+ * };
34
37
  * const command = new DeleteUserPermissionsBoundaryCommand(input);
35
38
  * const response = await client.send(command);
36
39
  * ```
@@ -31,6 +31,10 @@ export interface DeleteUserPolicyCommandOutput extends __MetadataBearer {
31
31
  * import { IAMClient, DeleteUserPolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
32
32
  * // const { IAMClient, DeleteUserPolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
33
33
  * const client = new IAMClient(config);
34
+ * const input = { // DeleteUserPolicyRequest
35
+ * UserName: "STRING_VALUE", // required
36
+ * PolicyName: "STRING_VALUE", // required
37
+ * };
34
38
  * const command = new DeleteUserPolicyCommand(input);
35
39
  * const response = await client.send(command);
36
40
  * ```
@@ -30,6 +30,9 @@ export interface DeleteVirtualMFADeviceCommandOutput extends __MetadataBearer {
30
30
  * import { IAMClient, DeleteVirtualMFADeviceCommand } from "@aws-sdk/client-iam"; // ES Modules import
31
31
  * // const { IAMClient, DeleteVirtualMFADeviceCommand } = require("@aws-sdk/client-iam"); // CommonJS import
32
32
  * const client = new IAMClient(config);
33
+ * const input = { // DeleteVirtualMFADeviceRequest
34
+ * SerialNumber: "STRING_VALUE", // required
35
+ * };
33
36
  * const command = new DeleteVirtualMFADeviceCommand(input);
34
37
  * const response = await client.send(command);
35
38
  * ```
@@ -30,6 +30,10 @@ export interface DetachGroupPolicyCommandOutput extends __MetadataBearer {
30
30
  * import { IAMClient, DetachGroupPolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
31
31
  * // const { IAMClient, DetachGroupPolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
32
32
  * const client = new IAMClient(config);
33
+ * const input = { // DetachGroupPolicyRequest
34
+ * GroupName: "STRING_VALUE", // required
35
+ * PolicyArn: "STRING_VALUE", // required
36
+ * };
33
37
  * const command = new DetachGroupPolicyCommand(input);
34
38
  * const response = await client.send(command);
35
39
  * ```
@@ -30,6 +30,10 @@ export interface DetachRolePolicyCommandOutput extends __MetadataBearer {
30
30
  * import { IAMClient, DetachRolePolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
31
31
  * // const { IAMClient, DetachRolePolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
32
32
  * const client = new IAMClient(config);
33
+ * const input = { // DetachRolePolicyRequest
34
+ * RoleName: "STRING_VALUE", // required
35
+ * PolicyArn: "STRING_VALUE", // required
36
+ * };
33
37
  * const command = new DetachRolePolicyCommand(input);
34
38
  * const response = await client.send(command);
35
39
  * ```