@aws-sdk/client-iam 3.1108.0 → 3.1109.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.
- package/README.md +28 -0
- package/dist-cjs/index.js +285 -27
- package/dist-es/IAM.js +8 -0
- package/dist-es/commands/AcquireRoleCommand.js +4 -0
- package/dist-es/commands/GetAccountPropertiesCommand.js +4 -0
- package/dist-es/commands/GetRoleTemplateVersionCommand.js +4 -0
- package/dist-es/commands/PutAccountPropertiesCommand.js +4 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/enums.js +14 -3
- package/dist-es/models/errors.js +52 -16
- package/dist-es/schemas/schemas_0.js +176 -8
- package/dist-types/IAM.d.ts +29 -0
- package/dist-types/IAMClient.d.ts +6 -2
- package/dist-types/commands/AcquireRoleCommand.d.ts +154 -0
- package/dist-types/commands/CreateInstanceProfileCommand.d.ts +4 -0
- package/dist-types/commands/CreateRoleCommand.d.ts +4 -0
- package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +4 -0
- package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +4 -0
- package/dist-types/commands/GetAccountPropertiesCommand.d.ts +84 -0
- package/dist-types/commands/GetInstanceProfileCommand.d.ts +4 -0
- package/dist-types/commands/GetRoleCommand.d.ts +4 -0
- package/dist-types/commands/GetRoleTemplateVersionCommand.d.ts +135 -0
- package/dist-types/commands/ListInstanceProfilesCommand.d.ts +4 -0
- package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +4 -0
- package/dist-types/commands/ListRolesCommand.d.ts +4 -0
- package/dist-types/commands/PutAccountPropertiesCommand.d.ts +88 -0
- package/dist-types/commands/TagSAMLProviderCommand.d.ts +1 -1
- package/dist-types/commands/TagServerCertificateCommand.d.ts +1 -1
- package/dist-types/commands/TagUserCommand.d.ts +1 -1
- package/dist-types/commands/UntagInstanceProfileCommand.d.ts +1 -1
- package/dist-types/commands/UntagMFADeviceCommand.d.ts +1 -1
- package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -1
- package/dist-types/commands/UntagPolicyCommand.d.ts +1 -1
- package/dist-types/commands/UntagRoleCommand.d.ts +1 -1
- package/dist-types/commands/UntagSAMLProviderCommand.d.ts +1 -1
- package/dist-types/commands/UntagServerCertificateCommand.d.ts +1 -1
- package/dist-types/commands/UntagUserCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAccessKeyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/enums.d.ts +38 -11
- package/dist-types/models/errors.d.ts +58 -18
- package/dist-types/models/models_0.d.ts +508 -511
- package/dist-types/models/models_1.d.ts +358 -0
- package/dist-types/schemas/schemas_0.d.ts +21 -0
- package/dist-types/ts3.4/IAM.d.ts +66 -0
- package/dist-types/ts3.4/IAMClient.d.ts +21 -0
- package/dist-types/ts3.4/commands/AcquireRoleCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetAccountPropertiesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetRoleTemplateVersionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/PutAccountPropertiesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagSAMLProviderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagServerCertificateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagUserCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagInstanceProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagMFADeviceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagRoleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagSAMLProviderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagServerCertificateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagUserCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAccessKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAccountPasswordPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAssumeRolePolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +18 -5
- package/dist-types/ts3.4/models/errors.d.ts +23 -8
- package/dist-types/ts3.4/models/models_0.d.ts +100 -89
- package/dist-types/ts3.4/models/models_1.d.ts +64 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +21 -0
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/re
|
|
|
7
7
|
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
8
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
9
9
|
import type { AcceptDelegationRequestCommandInput, AcceptDelegationRequestCommandOutput } from "./commands/AcceptDelegationRequestCommand";
|
|
10
|
+
import type { AcquireRoleCommandInput, AcquireRoleCommandOutput } from "./commands/AcquireRoleCommand";
|
|
10
11
|
import type { AddClientIDToOpenIDConnectProviderCommandInput, AddClientIDToOpenIDConnectProviderCommandOutput } from "./commands/AddClientIDToOpenIDConnectProviderCommand";
|
|
11
12
|
import type { AddRoleToInstanceProfileCommandInput, AddRoleToInstanceProfileCommandOutput } from "./commands/AddRoleToInstanceProfileCommand";
|
|
12
13
|
import type { AddUserToGroupCommandInput, AddUserToGroupCommandOutput } from "./commands/AddUserToGroupCommand";
|
|
@@ -70,6 +71,7 @@ import type { GenerateServiceLastAccessedDetailsCommandInput, GenerateServiceLas
|
|
|
70
71
|
import type { GetAccessKeyLastUsedCommandInput, GetAccessKeyLastUsedCommandOutput } from "./commands/GetAccessKeyLastUsedCommand";
|
|
71
72
|
import type { GetAccountAuthorizationDetailsCommandInput, GetAccountAuthorizationDetailsCommandOutput } from "./commands/GetAccountAuthorizationDetailsCommand";
|
|
72
73
|
import type { GetAccountPasswordPolicyCommandInput, GetAccountPasswordPolicyCommandOutput } from "./commands/GetAccountPasswordPolicyCommand";
|
|
74
|
+
import type { GetAccountPropertiesCommandInput, GetAccountPropertiesCommandOutput } from "./commands/GetAccountPropertiesCommand";
|
|
73
75
|
import type { GetAccountSummaryCommandInput, GetAccountSummaryCommandOutput } from "./commands/GetAccountSummaryCommand";
|
|
74
76
|
import type { GetContextKeysForCustomPolicyCommandInput, GetContextKeysForCustomPolicyCommandOutput } from "./commands/GetContextKeysForCustomPolicyCommand";
|
|
75
77
|
import type { GetContextKeysForPrincipalPolicyCommandInput, GetContextKeysForPrincipalPolicyCommandOutput } from "./commands/GetContextKeysForPrincipalPolicyCommand";
|
|
@@ -88,6 +90,7 @@ import type { GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/G
|
|
|
88
90
|
import type { GetPolicyVersionCommandInput, GetPolicyVersionCommandOutput } from "./commands/GetPolicyVersionCommand";
|
|
89
91
|
import type { GetRoleCommandInput, GetRoleCommandOutput } from "./commands/GetRoleCommand";
|
|
90
92
|
import type { GetRolePolicyCommandInput, GetRolePolicyCommandOutput } from "./commands/GetRolePolicyCommand";
|
|
93
|
+
import type { GetRoleTemplateVersionCommandInput, GetRoleTemplateVersionCommandOutput } from "./commands/GetRoleTemplateVersionCommand";
|
|
91
94
|
import type { GetSAMLProviderCommandInput, GetSAMLProviderCommandOutput } from "./commands/GetSAMLProviderCommand";
|
|
92
95
|
import type { GetServerCertificateCommandInput, GetServerCertificateCommandOutput } from "./commands/GetServerCertificateCommand";
|
|
93
96
|
import type { GetServiceLastAccessedDetailsCommandInput, GetServiceLastAccessedDetailsCommandOutput } from "./commands/GetServiceLastAccessedDetailsCommand";
|
|
@@ -132,6 +135,7 @@ import type { ListUserPoliciesCommandInput, ListUserPoliciesCommandOutput } from
|
|
|
132
135
|
import type { ListUsersCommandInput, ListUsersCommandOutput } from "./commands/ListUsersCommand";
|
|
133
136
|
import type { ListUserTagsCommandInput, ListUserTagsCommandOutput } from "./commands/ListUserTagsCommand";
|
|
134
137
|
import type { ListVirtualMFADevicesCommandInput, ListVirtualMFADevicesCommandOutput } from "./commands/ListVirtualMFADevicesCommand";
|
|
138
|
+
import type { PutAccountPropertiesCommandInput, PutAccountPropertiesCommandOutput } from "./commands/PutAccountPropertiesCommand";
|
|
135
139
|
import type { PutGroupPolicyCommandInput, PutGroupPolicyCommandOutput } from "./commands/PutGroupPolicyCommand";
|
|
136
140
|
import type { PutRolePermissionsBoundaryCommandInput, PutRolePermissionsBoundaryCommandOutput } from "./commands/PutRolePermissionsBoundaryCommand";
|
|
137
141
|
import type { PutRolePolicyCommandInput, PutRolePolicyCommandOutput } from "./commands/PutRolePolicyCommand";
|
|
@@ -188,11 +192,11 @@ export { __Client };
|
|
|
188
192
|
/**
|
|
189
193
|
* @public
|
|
190
194
|
*/
|
|
191
|
-
export type ServiceInputTypes = AcceptDelegationRequestCommandInput | AddClientIDToOpenIDConnectProviderCommandInput | AddRoleToInstanceProfileCommandInput | AddUserToGroupCommandInput | AssociateDelegationRequestCommandInput | AttachGroupPolicyCommandInput | AttachRolePolicyCommandInput | AttachUserPolicyCommandInput | ChangePasswordCommandInput | CreateAccessKeyCommandInput | CreateAccountAliasCommandInput | CreateDelegationRequestCommandInput | CreateGroupCommandInput | CreateInstanceProfileCommandInput | CreateLoginProfileCommandInput | CreateOpenIDConnectProviderCommandInput | CreatePolicyCommandInput | CreatePolicyVersionCommandInput | CreateRoleCommandInput | CreateSAMLProviderCommandInput | CreateServiceLinkedRoleCommandInput | CreateServiceSpecificCredentialCommandInput | CreateUserCommandInput | CreateVirtualMFADeviceCommandInput | DeactivateMFADeviceCommandInput | DeleteAccessKeyCommandInput | DeleteAccountAliasCommandInput | DeleteAccountPasswordPolicyCommandInput | DeleteGroupCommandInput | DeleteGroupPolicyCommandInput | DeleteInstanceProfileCommandInput | DeleteLoginProfileCommandInput | DeleteOpenIDConnectProviderCommandInput | DeletePolicyCommandInput | DeletePolicyVersionCommandInput | DeleteRoleCommandInput | DeleteRolePermissionsBoundaryCommandInput | DeleteRolePolicyCommandInput | DeleteSAMLProviderCommandInput | DeleteSSHPublicKeyCommandInput | DeleteServerCertificateCommandInput | DeleteServiceLinkedRoleCommandInput | DeleteServiceSpecificCredentialCommandInput | DeleteSigningCertificateCommandInput | DeleteUserCommandInput | DeleteUserPermissionsBoundaryCommandInput | DeleteUserPolicyCommandInput | DeleteVirtualMFADeviceCommandInput | DetachGroupPolicyCommandInput | DetachRolePolicyCommandInput | DetachUserPolicyCommandInput | DisableOrganizationsRootCredentialsManagementCommandInput | DisableOrganizationsRootSessionsCommandInput | DisableOutboundWebIdentityFederationCommandInput | EnableMFADeviceCommandInput | EnableOrganizationsRootCredentialsManagementCommandInput | EnableOrganizationsRootSessionsCommandInput | EnableOutboundWebIdentityFederationCommandInput | GenerateCredentialReportCommandInput | GenerateOrganizationsAccessReportCommandInput | GenerateServiceLastAccessedDetailsCommandInput | GetAccessKeyLastUsedCommandInput | GetAccountAuthorizationDetailsCommandInput | GetAccountPasswordPolicyCommandInput | GetAccountSummaryCommandInput | GetContextKeysForCustomPolicyCommandInput | GetContextKeysForPrincipalPolicyCommandInput | GetCredentialReportCommandInput | GetDelegationRequestCommandInput | GetGroupCommandInput | GetGroupPolicyCommandInput | GetHumanReadableSummaryCommandInput | GetInstanceProfileCommandInput | GetLoginProfileCommandInput | GetMFADeviceCommandInput | GetOpenIDConnectProviderCommandInput | GetOrganizationsAccessReportCommandInput | GetOutboundWebIdentityFederationInfoCommandInput | GetPolicyCommandInput | GetPolicyVersionCommandInput | GetRoleCommandInput | GetRolePolicyCommandInput | GetSAMLProviderCommandInput | GetSSHPublicKeyCommandInput | GetServerCertificateCommandInput | GetServiceLastAccessedDetailsCommandInput | GetServiceLastAccessedDetailsWithEntitiesCommandInput | GetServiceLinkedRoleDeletionStatusCommandInput | GetUserCommandInput | GetUserPolicyCommandInput | ListAccessKeysCommandInput | ListAccountAliasesCommandInput | ListAttachedGroupPoliciesCommandInput | ListAttachedRolePoliciesCommandInput | ListAttachedUserPoliciesCommandInput | ListDelegationRequestsCommandInput | ListEntitiesForPolicyCommandInput | ListGroupPoliciesCommandInput | ListGroupsCommandInput | ListGroupsForUserCommandInput | ListInstanceProfileTagsCommandInput | ListInstanceProfilesCommandInput | ListInstanceProfilesForRoleCommandInput | ListMFADeviceTagsCommandInput | ListMFADevicesCommandInput | ListOpenIDConnectProviderTagsCommandInput | ListOpenIDConnectProvidersCommandInput | ListOrganizationsFeaturesCommandInput | ListPoliciesCommandInput | ListPoliciesGrantingServiceAccessCommandInput | ListPolicyTagsCommandInput | ListPolicyVersionsCommandInput | ListRolePoliciesCommandInput | ListRoleTagsCommandInput | ListRolesCommandInput | ListSAMLProviderTagsCommandInput | ListSAMLProvidersCommandInput | ListSSHPublicKeysCommandInput | ListServerCertificateTagsCommandInput | ListServerCertificatesCommandInput | ListServiceSpecificCredentialsCommandInput | ListSigningCertificatesCommandInput | ListUserPoliciesCommandInput | ListUserTagsCommandInput | ListUsersCommandInput | ListVirtualMFADevicesCommandInput | PutGroupPolicyCommandInput | PutRolePermissionsBoundaryCommandInput | PutRolePolicyCommandInput | PutUserPermissionsBoundaryCommandInput | PutUserPolicyCommandInput | RejectDelegationRequestCommandInput | RemoveClientIDFromOpenIDConnectProviderCommandInput | RemoveRoleFromInstanceProfileCommandInput | RemoveUserFromGroupCommandInput | ResetServiceSpecificCredentialCommandInput | ResyncMFADeviceCommandInput | SendDelegationTokenCommandInput | SetDefaultPolicyVersionCommandInput | SetSecurityTokenServicePreferencesCommandInput | SimulateCustomPolicyCommandInput | SimulatePrincipalPolicyCommandInput | TagInstanceProfileCommandInput | TagMFADeviceCommandInput | TagOpenIDConnectProviderCommandInput | TagPolicyCommandInput | TagRoleCommandInput | TagSAMLProviderCommandInput | TagServerCertificateCommandInput | TagUserCommandInput | UntagInstanceProfileCommandInput | UntagMFADeviceCommandInput | UntagOpenIDConnectProviderCommandInput | UntagPolicyCommandInput | UntagRoleCommandInput | UntagSAMLProviderCommandInput | UntagServerCertificateCommandInput | UntagUserCommandInput | UpdateAccessKeyCommandInput | UpdateAccountPasswordPolicyCommandInput | UpdateAssumeRolePolicyCommandInput | UpdateDelegationRequestCommandInput | UpdateGroupCommandInput | UpdateLoginProfileCommandInput | UpdateOpenIDConnectProviderThumbprintCommandInput | UpdateRoleCommandInput | UpdateRoleDescriptionCommandInput | UpdateSAMLProviderCommandInput | UpdateSSHPublicKeyCommandInput | UpdateServerCertificateCommandInput | UpdateServiceSpecificCredentialCommandInput | UpdateSigningCertificateCommandInput | UpdateUserCommandInput | UploadSSHPublicKeyCommandInput | UploadServerCertificateCommandInput | UploadSigningCertificateCommandInput;
|
|
195
|
+
export type ServiceInputTypes = AcceptDelegationRequestCommandInput | AcquireRoleCommandInput | AddClientIDToOpenIDConnectProviderCommandInput | AddRoleToInstanceProfileCommandInput | AddUserToGroupCommandInput | AssociateDelegationRequestCommandInput | AttachGroupPolicyCommandInput | AttachRolePolicyCommandInput | AttachUserPolicyCommandInput | ChangePasswordCommandInput | CreateAccessKeyCommandInput | CreateAccountAliasCommandInput | CreateDelegationRequestCommandInput | CreateGroupCommandInput | CreateInstanceProfileCommandInput | CreateLoginProfileCommandInput | CreateOpenIDConnectProviderCommandInput | CreatePolicyCommandInput | CreatePolicyVersionCommandInput | CreateRoleCommandInput | CreateSAMLProviderCommandInput | CreateServiceLinkedRoleCommandInput | CreateServiceSpecificCredentialCommandInput | CreateUserCommandInput | CreateVirtualMFADeviceCommandInput | DeactivateMFADeviceCommandInput | DeleteAccessKeyCommandInput | DeleteAccountAliasCommandInput | DeleteAccountPasswordPolicyCommandInput | DeleteGroupCommandInput | DeleteGroupPolicyCommandInput | DeleteInstanceProfileCommandInput | DeleteLoginProfileCommandInput | DeleteOpenIDConnectProviderCommandInput | DeletePolicyCommandInput | DeletePolicyVersionCommandInput | DeleteRoleCommandInput | DeleteRolePermissionsBoundaryCommandInput | DeleteRolePolicyCommandInput | DeleteSAMLProviderCommandInput | DeleteSSHPublicKeyCommandInput | DeleteServerCertificateCommandInput | DeleteServiceLinkedRoleCommandInput | DeleteServiceSpecificCredentialCommandInput | DeleteSigningCertificateCommandInput | DeleteUserCommandInput | DeleteUserPermissionsBoundaryCommandInput | DeleteUserPolicyCommandInput | DeleteVirtualMFADeviceCommandInput | DetachGroupPolicyCommandInput | DetachRolePolicyCommandInput | DetachUserPolicyCommandInput | DisableOrganizationsRootCredentialsManagementCommandInput | DisableOrganizationsRootSessionsCommandInput | DisableOutboundWebIdentityFederationCommandInput | EnableMFADeviceCommandInput | EnableOrganizationsRootCredentialsManagementCommandInput | EnableOrganizationsRootSessionsCommandInput | EnableOutboundWebIdentityFederationCommandInput | GenerateCredentialReportCommandInput | GenerateOrganizationsAccessReportCommandInput | GenerateServiceLastAccessedDetailsCommandInput | GetAccessKeyLastUsedCommandInput | GetAccountAuthorizationDetailsCommandInput | GetAccountPasswordPolicyCommandInput | GetAccountPropertiesCommandInput | GetAccountSummaryCommandInput | GetContextKeysForCustomPolicyCommandInput | GetContextKeysForPrincipalPolicyCommandInput | GetCredentialReportCommandInput | GetDelegationRequestCommandInput | GetGroupCommandInput | GetGroupPolicyCommandInput | GetHumanReadableSummaryCommandInput | GetInstanceProfileCommandInput | GetLoginProfileCommandInput | GetMFADeviceCommandInput | GetOpenIDConnectProviderCommandInput | GetOrganizationsAccessReportCommandInput | GetOutboundWebIdentityFederationInfoCommandInput | GetPolicyCommandInput | GetPolicyVersionCommandInput | GetRoleCommandInput | GetRolePolicyCommandInput | GetRoleTemplateVersionCommandInput | GetSAMLProviderCommandInput | GetSSHPublicKeyCommandInput | GetServerCertificateCommandInput | GetServiceLastAccessedDetailsCommandInput | GetServiceLastAccessedDetailsWithEntitiesCommandInput | GetServiceLinkedRoleDeletionStatusCommandInput | GetUserCommandInput | GetUserPolicyCommandInput | ListAccessKeysCommandInput | ListAccountAliasesCommandInput | ListAttachedGroupPoliciesCommandInput | ListAttachedRolePoliciesCommandInput | ListAttachedUserPoliciesCommandInput | ListDelegationRequestsCommandInput | ListEntitiesForPolicyCommandInput | ListGroupPoliciesCommandInput | ListGroupsCommandInput | ListGroupsForUserCommandInput | ListInstanceProfileTagsCommandInput | ListInstanceProfilesCommandInput | ListInstanceProfilesForRoleCommandInput | ListMFADeviceTagsCommandInput | ListMFADevicesCommandInput | ListOpenIDConnectProviderTagsCommandInput | ListOpenIDConnectProvidersCommandInput | ListOrganizationsFeaturesCommandInput | ListPoliciesCommandInput | ListPoliciesGrantingServiceAccessCommandInput | ListPolicyTagsCommandInput | ListPolicyVersionsCommandInput | ListRolePoliciesCommandInput | ListRoleTagsCommandInput | ListRolesCommandInput | ListSAMLProviderTagsCommandInput | ListSAMLProvidersCommandInput | ListSSHPublicKeysCommandInput | ListServerCertificateTagsCommandInput | ListServerCertificatesCommandInput | ListServiceSpecificCredentialsCommandInput | ListSigningCertificatesCommandInput | ListUserPoliciesCommandInput | ListUserTagsCommandInput | ListUsersCommandInput | ListVirtualMFADevicesCommandInput | PutAccountPropertiesCommandInput | PutGroupPolicyCommandInput | PutRolePermissionsBoundaryCommandInput | PutRolePolicyCommandInput | PutUserPermissionsBoundaryCommandInput | PutUserPolicyCommandInput | RejectDelegationRequestCommandInput | RemoveClientIDFromOpenIDConnectProviderCommandInput | RemoveRoleFromInstanceProfileCommandInput | RemoveUserFromGroupCommandInput | ResetServiceSpecificCredentialCommandInput | ResyncMFADeviceCommandInput | SendDelegationTokenCommandInput | SetDefaultPolicyVersionCommandInput | SetSecurityTokenServicePreferencesCommandInput | SimulateCustomPolicyCommandInput | SimulatePrincipalPolicyCommandInput | TagInstanceProfileCommandInput | TagMFADeviceCommandInput | TagOpenIDConnectProviderCommandInput | TagPolicyCommandInput | TagRoleCommandInput | TagSAMLProviderCommandInput | TagServerCertificateCommandInput | TagUserCommandInput | UntagInstanceProfileCommandInput | UntagMFADeviceCommandInput | UntagOpenIDConnectProviderCommandInput | UntagPolicyCommandInput | UntagRoleCommandInput | UntagSAMLProviderCommandInput | UntagServerCertificateCommandInput | UntagUserCommandInput | UpdateAccessKeyCommandInput | UpdateAccountPasswordPolicyCommandInput | UpdateAssumeRolePolicyCommandInput | UpdateDelegationRequestCommandInput | UpdateGroupCommandInput | UpdateLoginProfileCommandInput | UpdateOpenIDConnectProviderThumbprintCommandInput | UpdateRoleCommandInput | UpdateRoleDescriptionCommandInput | UpdateSAMLProviderCommandInput | UpdateSSHPublicKeyCommandInput | UpdateServerCertificateCommandInput | UpdateServiceSpecificCredentialCommandInput | UpdateSigningCertificateCommandInput | UpdateUserCommandInput | UploadSSHPublicKeyCommandInput | UploadServerCertificateCommandInput | UploadSigningCertificateCommandInput;
|
|
192
196
|
/**
|
|
193
197
|
* @public
|
|
194
198
|
*/
|
|
195
|
-
export type ServiceOutputTypes = AcceptDelegationRequestCommandOutput | AddClientIDToOpenIDConnectProviderCommandOutput | AddRoleToInstanceProfileCommandOutput | AddUserToGroupCommandOutput | AssociateDelegationRequestCommandOutput | AttachGroupPolicyCommandOutput | AttachRolePolicyCommandOutput | AttachUserPolicyCommandOutput | ChangePasswordCommandOutput | CreateAccessKeyCommandOutput | CreateAccountAliasCommandOutput | CreateDelegationRequestCommandOutput | CreateGroupCommandOutput | CreateInstanceProfileCommandOutput | CreateLoginProfileCommandOutput | CreateOpenIDConnectProviderCommandOutput | CreatePolicyCommandOutput | CreatePolicyVersionCommandOutput | CreateRoleCommandOutput | CreateSAMLProviderCommandOutput | CreateServiceLinkedRoleCommandOutput | CreateServiceSpecificCredentialCommandOutput | CreateUserCommandOutput | CreateVirtualMFADeviceCommandOutput | DeactivateMFADeviceCommandOutput | DeleteAccessKeyCommandOutput | DeleteAccountAliasCommandOutput | DeleteAccountPasswordPolicyCommandOutput | DeleteGroupCommandOutput | DeleteGroupPolicyCommandOutput | DeleteInstanceProfileCommandOutput | DeleteLoginProfileCommandOutput | DeleteOpenIDConnectProviderCommandOutput | DeletePolicyCommandOutput | DeletePolicyVersionCommandOutput | DeleteRoleCommandOutput | DeleteRolePermissionsBoundaryCommandOutput | DeleteRolePolicyCommandOutput | DeleteSAMLProviderCommandOutput | DeleteSSHPublicKeyCommandOutput | DeleteServerCertificateCommandOutput | DeleteServiceLinkedRoleCommandOutput | DeleteServiceSpecificCredentialCommandOutput | DeleteSigningCertificateCommandOutput | DeleteUserCommandOutput | DeleteUserPermissionsBoundaryCommandOutput | DeleteUserPolicyCommandOutput | DeleteVirtualMFADeviceCommandOutput | DetachGroupPolicyCommandOutput | DetachRolePolicyCommandOutput | DetachUserPolicyCommandOutput | DisableOrganizationsRootCredentialsManagementCommandOutput | DisableOrganizationsRootSessionsCommandOutput | DisableOutboundWebIdentityFederationCommandOutput | EnableMFADeviceCommandOutput | EnableOrganizationsRootCredentialsManagementCommandOutput | EnableOrganizationsRootSessionsCommandOutput | EnableOutboundWebIdentityFederationCommandOutput | GenerateCredentialReportCommandOutput | GenerateOrganizationsAccessReportCommandOutput | GenerateServiceLastAccessedDetailsCommandOutput | GetAccessKeyLastUsedCommandOutput | GetAccountAuthorizationDetailsCommandOutput | GetAccountPasswordPolicyCommandOutput | GetAccountSummaryCommandOutput | GetContextKeysForCustomPolicyCommandOutput | GetContextKeysForPrincipalPolicyCommandOutput | GetCredentialReportCommandOutput | GetDelegationRequestCommandOutput | GetGroupCommandOutput | GetGroupPolicyCommandOutput | GetHumanReadableSummaryCommandOutput | GetInstanceProfileCommandOutput | GetLoginProfileCommandOutput | GetMFADeviceCommandOutput | GetOpenIDConnectProviderCommandOutput | GetOrganizationsAccessReportCommandOutput | GetOutboundWebIdentityFederationInfoCommandOutput | GetPolicyCommandOutput | GetPolicyVersionCommandOutput | GetRoleCommandOutput | GetRolePolicyCommandOutput | GetSAMLProviderCommandOutput | GetSSHPublicKeyCommandOutput | GetServerCertificateCommandOutput | GetServiceLastAccessedDetailsCommandOutput | GetServiceLastAccessedDetailsWithEntitiesCommandOutput | GetServiceLinkedRoleDeletionStatusCommandOutput | GetUserCommandOutput | GetUserPolicyCommandOutput | ListAccessKeysCommandOutput | ListAccountAliasesCommandOutput | ListAttachedGroupPoliciesCommandOutput | ListAttachedRolePoliciesCommandOutput | ListAttachedUserPoliciesCommandOutput | ListDelegationRequestsCommandOutput | ListEntitiesForPolicyCommandOutput | ListGroupPoliciesCommandOutput | ListGroupsCommandOutput | ListGroupsForUserCommandOutput | ListInstanceProfileTagsCommandOutput | ListInstanceProfilesCommandOutput | ListInstanceProfilesForRoleCommandOutput | ListMFADeviceTagsCommandOutput | ListMFADevicesCommandOutput | ListOpenIDConnectProviderTagsCommandOutput | ListOpenIDConnectProvidersCommandOutput | ListOrganizationsFeaturesCommandOutput | ListPoliciesCommandOutput | ListPoliciesGrantingServiceAccessCommandOutput | ListPolicyTagsCommandOutput | ListPolicyVersionsCommandOutput | ListRolePoliciesCommandOutput | ListRoleTagsCommandOutput | ListRolesCommandOutput | ListSAMLProviderTagsCommandOutput | ListSAMLProvidersCommandOutput | ListSSHPublicKeysCommandOutput | ListServerCertificateTagsCommandOutput | ListServerCertificatesCommandOutput | ListServiceSpecificCredentialsCommandOutput | ListSigningCertificatesCommandOutput | ListUserPoliciesCommandOutput | ListUserTagsCommandOutput | ListUsersCommandOutput | ListVirtualMFADevicesCommandOutput | PutGroupPolicyCommandOutput | PutRolePermissionsBoundaryCommandOutput | PutRolePolicyCommandOutput | PutUserPermissionsBoundaryCommandOutput | PutUserPolicyCommandOutput | RejectDelegationRequestCommandOutput | RemoveClientIDFromOpenIDConnectProviderCommandOutput | RemoveRoleFromInstanceProfileCommandOutput | RemoveUserFromGroupCommandOutput | ResetServiceSpecificCredentialCommandOutput | ResyncMFADeviceCommandOutput | SendDelegationTokenCommandOutput | SetDefaultPolicyVersionCommandOutput | SetSecurityTokenServicePreferencesCommandOutput | SimulateCustomPolicyCommandOutput | SimulatePrincipalPolicyCommandOutput | TagInstanceProfileCommandOutput | TagMFADeviceCommandOutput | TagOpenIDConnectProviderCommandOutput | TagPolicyCommandOutput | TagRoleCommandOutput | TagSAMLProviderCommandOutput | TagServerCertificateCommandOutput | TagUserCommandOutput | UntagInstanceProfileCommandOutput | UntagMFADeviceCommandOutput | UntagOpenIDConnectProviderCommandOutput | UntagPolicyCommandOutput | UntagRoleCommandOutput | UntagSAMLProviderCommandOutput | UntagServerCertificateCommandOutput | UntagUserCommandOutput | UpdateAccessKeyCommandOutput | UpdateAccountPasswordPolicyCommandOutput | UpdateAssumeRolePolicyCommandOutput | UpdateDelegationRequestCommandOutput | UpdateGroupCommandOutput | UpdateLoginProfileCommandOutput | UpdateOpenIDConnectProviderThumbprintCommandOutput | UpdateRoleCommandOutput | UpdateRoleDescriptionCommandOutput | UpdateSAMLProviderCommandOutput | UpdateSSHPublicKeyCommandOutput | UpdateServerCertificateCommandOutput | UpdateServiceSpecificCredentialCommandOutput | UpdateSigningCertificateCommandOutput | UpdateUserCommandOutput | UploadSSHPublicKeyCommandOutput | UploadServerCertificateCommandOutput | UploadSigningCertificateCommandOutput;
|
|
199
|
+
export type ServiceOutputTypes = AcceptDelegationRequestCommandOutput | AcquireRoleCommandOutput | AddClientIDToOpenIDConnectProviderCommandOutput | AddRoleToInstanceProfileCommandOutput | AddUserToGroupCommandOutput | AssociateDelegationRequestCommandOutput | AttachGroupPolicyCommandOutput | AttachRolePolicyCommandOutput | AttachUserPolicyCommandOutput | ChangePasswordCommandOutput | CreateAccessKeyCommandOutput | CreateAccountAliasCommandOutput | CreateDelegationRequestCommandOutput | CreateGroupCommandOutput | CreateInstanceProfileCommandOutput | CreateLoginProfileCommandOutput | CreateOpenIDConnectProviderCommandOutput | CreatePolicyCommandOutput | CreatePolicyVersionCommandOutput | CreateRoleCommandOutput | CreateSAMLProviderCommandOutput | CreateServiceLinkedRoleCommandOutput | CreateServiceSpecificCredentialCommandOutput | CreateUserCommandOutput | CreateVirtualMFADeviceCommandOutput | DeactivateMFADeviceCommandOutput | DeleteAccessKeyCommandOutput | DeleteAccountAliasCommandOutput | DeleteAccountPasswordPolicyCommandOutput | DeleteGroupCommandOutput | DeleteGroupPolicyCommandOutput | DeleteInstanceProfileCommandOutput | DeleteLoginProfileCommandOutput | DeleteOpenIDConnectProviderCommandOutput | DeletePolicyCommandOutput | DeletePolicyVersionCommandOutput | DeleteRoleCommandOutput | DeleteRolePermissionsBoundaryCommandOutput | DeleteRolePolicyCommandOutput | DeleteSAMLProviderCommandOutput | DeleteSSHPublicKeyCommandOutput | DeleteServerCertificateCommandOutput | DeleteServiceLinkedRoleCommandOutput | DeleteServiceSpecificCredentialCommandOutput | DeleteSigningCertificateCommandOutput | DeleteUserCommandOutput | DeleteUserPermissionsBoundaryCommandOutput | DeleteUserPolicyCommandOutput | DeleteVirtualMFADeviceCommandOutput | DetachGroupPolicyCommandOutput | DetachRolePolicyCommandOutput | DetachUserPolicyCommandOutput | DisableOrganizationsRootCredentialsManagementCommandOutput | DisableOrganizationsRootSessionsCommandOutput | DisableOutboundWebIdentityFederationCommandOutput | EnableMFADeviceCommandOutput | EnableOrganizationsRootCredentialsManagementCommandOutput | EnableOrganizationsRootSessionsCommandOutput | EnableOutboundWebIdentityFederationCommandOutput | GenerateCredentialReportCommandOutput | GenerateOrganizationsAccessReportCommandOutput | GenerateServiceLastAccessedDetailsCommandOutput | GetAccessKeyLastUsedCommandOutput | GetAccountAuthorizationDetailsCommandOutput | GetAccountPasswordPolicyCommandOutput | GetAccountPropertiesCommandOutput | GetAccountSummaryCommandOutput | GetContextKeysForCustomPolicyCommandOutput | GetContextKeysForPrincipalPolicyCommandOutput | GetCredentialReportCommandOutput | GetDelegationRequestCommandOutput | GetGroupCommandOutput | GetGroupPolicyCommandOutput | GetHumanReadableSummaryCommandOutput | GetInstanceProfileCommandOutput | GetLoginProfileCommandOutput | GetMFADeviceCommandOutput | GetOpenIDConnectProviderCommandOutput | GetOrganizationsAccessReportCommandOutput | GetOutboundWebIdentityFederationInfoCommandOutput | GetPolicyCommandOutput | GetPolicyVersionCommandOutput | GetRoleCommandOutput | GetRolePolicyCommandOutput | GetRoleTemplateVersionCommandOutput | GetSAMLProviderCommandOutput | GetSSHPublicKeyCommandOutput | GetServerCertificateCommandOutput | GetServiceLastAccessedDetailsCommandOutput | GetServiceLastAccessedDetailsWithEntitiesCommandOutput | GetServiceLinkedRoleDeletionStatusCommandOutput | GetUserCommandOutput | GetUserPolicyCommandOutput | ListAccessKeysCommandOutput | ListAccountAliasesCommandOutput | ListAttachedGroupPoliciesCommandOutput | ListAttachedRolePoliciesCommandOutput | ListAttachedUserPoliciesCommandOutput | ListDelegationRequestsCommandOutput | ListEntitiesForPolicyCommandOutput | ListGroupPoliciesCommandOutput | ListGroupsCommandOutput | ListGroupsForUserCommandOutput | ListInstanceProfileTagsCommandOutput | ListInstanceProfilesCommandOutput | ListInstanceProfilesForRoleCommandOutput | ListMFADeviceTagsCommandOutput | ListMFADevicesCommandOutput | ListOpenIDConnectProviderTagsCommandOutput | ListOpenIDConnectProvidersCommandOutput | ListOrganizationsFeaturesCommandOutput | ListPoliciesCommandOutput | ListPoliciesGrantingServiceAccessCommandOutput | ListPolicyTagsCommandOutput | ListPolicyVersionsCommandOutput | ListRolePoliciesCommandOutput | ListRoleTagsCommandOutput | ListRolesCommandOutput | ListSAMLProviderTagsCommandOutput | ListSAMLProvidersCommandOutput | ListSSHPublicKeysCommandOutput | ListServerCertificateTagsCommandOutput | ListServerCertificatesCommandOutput | ListServiceSpecificCredentialsCommandOutput | ListSigningCertificatesCommandOutput | ListUserPoliciesCommandOutput | ListUserTagsCommandOutput | ListUsersCommandOutput | ListVirtualMFADevicesCommandOutput | PutAccountPropertiesCommandOutput | PutGroupPolicyCommandOutput | PutRolePermissionsBoundaryCommandOutput | PutRolePolicyCommandOutput | PutUserPermissionsBoundaryCommandOutput | PutUserPolicyCommandOutput | RejectDelegationRequestCommandOutput | RemoveClientIDFromOpenIDConnectProviderCommandOutput | RemoveRoleFromInstanceProfileCommandOutput | RemoveUserFromGroupCommandOutput | ResetServiceSpecificCredentialCommandOutput | ResyncMFADeviceCommandOutput | SendDelegationTokenCommandOutput | SetDefaultPolicyVersionCommandOutput | SetSecurityTokenServicePreferencesCommandOutput | SimulateCustomPolicyCommandOutput | SimulatePrincipalPolicyCommandOutput | TagInstanceProfileCommandOutput | TagMFADeviceCommandOutput | TagOpenIDConnectProviderCommandOutput | TagPolicyCommandOutput | TagRoleCommandOutput | TagSAMLProviderCommandOutput | TagServerCertificateCommandOutput | TagUserCommandOutput | UntagInstanceProfileCommandOutput | UntagMFADeviceCommandOutput | UntagOpenIDConnectProviderCommandOutput | UntagPolicyCommandOutput | UntagRoleCommandOutput | UntagSAMLProviderCommandOutput | UntagServerCertificateCommandOutput | UntagUserCommandOutput | UpdateAccessKeyCommandOutput | UpdateAccountPasswordPolicyCommandOutput | UpdateAssumeRolePolicyCommandOutput | UpdateDelegationRequestCommandOutput | UpdateGroupCommandOutput | UpdateLoginProfileCommandOutput | UpdateOpenIDConnectProviderThumbprintCommandOutput | UpdateRoleCommandOutput | UpdateRoleDescriptionCommandOutput | UpdateSAMLProviderCommandOutput | UpdateSSHPublicKeyCommandOutput | UpdateServerCertificateCommandOutput | UpdateServiceSpecificCredentialCommandOutput | UpdateSigningCertificateCommandOutput | UpdateUserCommandOutput | UploadSSHPublicKeyCommandOutput | UploadServerCertificateCommandOutput | UploadSigningCertificateCommandOutput;
|
|
196
200
|
/**
|
|
197
201
|
* @public
|
|
198
202
|
*/
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { AcquireRoleRequest, AcquireRoleResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link AcquireRoleCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface AcquireRoleCommandInput extends AcquireRoleRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link AcquireRoleCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface AcquireRoleCommandOutput extends AcquireRoleResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const AcquireRoleCommand_base: {
|
|
22
|
+
new (input: AcquireRoleCommandInput): import("@smithy/core/client").CommandImpl<AcquireRoleCommandInput, AcquireRoleCommandOutput, import("..").IAMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AcquireRoleCommandInput): import("@smithy/core/client").CommandImpl<AcquireRoleCommandInput, AcquireRoleCommandOutput, import("..").IAMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Creates an IAM role from the specified role template. The new role takes its
|
|
28
|
+
* configuration—including its name, path, trust policy, inline and managed policies,
|
|
29
|
+
* permissions boundary, tags, and maximum session duration—from the role
|
|
30
|
+
* template version that you specify. For more information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html">IAM roles</a> in the
|
|
31
|
+
* <i>IAM User Guide</i>.</p>
|
|
32
|
+
* <p>If the template version defines parameters, use the <code>ReplacementValues</code>
|
|
33
|
+
* parameter to supply the values that the service substitutes into the role during
|
|
34
|
+
* creation.</p>
|
|
35
|
+
* @example
|
|
36
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
+
* ```javascript
|
|
38
|
+
* import { IAMClient, AcquireRoleCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
39
|
+
* // const { IAMClient, AcquireRoleCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
40
|
+
* // import type { IAMClientConfig } from "@aws-sdk/client-iam";
|
|
41
|
+
* const config = {}; // type is IAMClientConfig
|
|
42
|
+
* const client = new IAMClient(config);
|
|
43
|
+
* const input = { // AcquireRoleRequest
|
|
44
|
+
* TemplateArn: "STRING_VALUE", // required
|
|
45
|
+
* TemplateMinorVersion: Number("int"),
|
|
46
|
+
* ReplacementValues: { // mapStringReplacementValueEntry
|
|
47
|
+
* "<keys>": { // ReplacementValueEntry
|
|
48
|
+
* Values: [ // replacementValueListType // required
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* };
|
|
54
|
+
* const command = new AcquireRoleCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* // { // AcquireRoleResponse
|
|
57
|
+
* // Role: { // Role
|
|
58
|
+
* // Path: "STRING_VALUE", // required
|
|
59
|
+
* // RoleName: "STRING_VALUE", // required
|
|
60
|
+
* // RoleId: "STRING_VALUE", // required
|
|
61
|
+
* // Arn: "STRING_VALUE", // required
|
|
62
|
+
* // CreateDate: new Date("TIMESTAMP"), // required
|
|
63
|
+
* // AssumeRolePolicyDocument: "STRING_VALUE",
|
|
64
|
+
* // Description: "STRING_VALUE",
|
|
65
|
+
* // MaxSessionDuration: Number("int"),
|
|
66
|
+
* // PermissionsBoundary: { // AttachedPermissionsBoundary
|
|
67
|
+
* // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
|
|
68
|
+
* // PermissionsBoundaryArn: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // Tags: [ // tagListType
|
|
71
|
+
* // { // Tag
|
|
72
|
+
* // Key: "STRING_VALUE", // required
|
|
73
|
+
* // Value: "STRING_VALUE", // required
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // RoleLastUsed: { // RoleLastUsed
|
|
77
|
+
* // LastUsedDate: new Date("TIMESTAMP"),
|
|
78
|
+
* // Region: "STRING_VALUE",
|
|
79
|
+
* // },
|
|
80
|
+
* // SourceRoleTemplate: { // SourceRoleTemplate
|
|
81
|
+
* // TemplateArn: "STRING_VALUE", // required
|
|
82
|
+
* // TemplateMinorVersion: Number("int"), // required
|
|
83
|
+
* // },
|
|
84
|
+
* // },
|
|
85
|
+
* // };
|
|
86
|
+
*
|
|
87
|
+
* ```
|
|
88
|
+
*
|
|
89
|
+
* @param AcquireRoleCommandInput - {@link AcquireRoleCommandInput}
|
|
90
|
+
* @returns {@link AcquireRoleCommandOutput}
|
|
91
|
+
* @see {@link AcquireRoleCommandInput} for command's `input` shape.
|
|
92
|
+
* @see {@link AcquireRoleCommandOutput} for command's `response` shape.
|
|
93
|
+
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
96
|
+
* <p>The request was rejected because multiple requests to change this object were submitted
|
|
97
|
+
* simultaneously. Wait a few minutes and submit your request again.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link EntityAlreadyExistsException} (client fault)
|
|
100
|
+
* <p>The request was rejected because it attempted to create a resource that already
|
|
101
|
+
* exists.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
104
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
105
|
+
* input parameter.</p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
108
|
+
* <p>The request was rejected because it attempted to create resources beyond the current
|
|
109
|
+
* Amazon Web Services account limits. The error message describes the limit exceeded.</p>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link MalformedPolicyDocumentException} (client fault)
|
|
112
|
+
* <p>The request was rejected because the policy document was malformed. The error message
|
|
113
|
+
* describes the specific error.</p>
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link NameConflictException} (client fault)
|
|
116
|
+
* <p>The request was rejected because the resulting role name conflicts with an existing role
|
|
117
|
+
* in the account.</p>
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
120
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
121
|
+
* error message describes the resource.</p>
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link RoleModifiedException} (client fault)
|
|
124
|
+
* <p>The request was rejected because someone modified the role template while the service was
|
|
125
|
+
* creating the role. Wait a few minutes and try the request again.</p>
|
|
126
|
+
*
|
|
127
|
+
* @throws {@link RoleTemplateDisabledException} (client fault)
|
|
128
|
+
* <p>The request was rejected because the specified role template is disabled. A disabled
|
|
129
|
+
* role template cannot be used to create new roles. Contact your administrator to enable the
|
|
130
|
+
* role template, or use a different role template.</p>
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
133
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
134
|
+
* failure.</p>
|
|
135
|
+
*
|
|
136
|
+
* @throws {@link IAMServiceException}
|
|
137
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
138
|
+
*
|
|
139
|
+
*
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
export declare class AcquireRoleCommand extends AcquireRoleCommand_base {
|
|
143
|
+
/** @internal type navigation helper, not in runtime. */
|
|
144
|
+
protected static __types: {
|
|
145
|
+
api: {
|
|
146
|
+
input: AcquireRoleRequest;
|
|
147
|
+
output: AcquireRoleResponse;
|
|
148
|
+
};
|
|
149
|
+
sdk: {
|
|
150
|
+
input: AcquireRoleCommandInput;
|
|
151
|
+
output: AcquireRoleCommandOutput;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
}
|
|
@@ -80,6 +80,10 @@ declare const CreateInstanceProfileCommand_base: {
|
|
|
80
80
|
* // LastUsedDate: new Date("TIMESTAMP"),
|
|
81
81
|
* // Region: "STRING_VALUE",
|
|
82
82
|
* // },
|
|
83
|
+
* // SourceRoleTemplate: { // SourceRoleTemplate
|
|
84
|
+
* // TemplateArn: "STRING_VALUE", // required
|
|
85
|
+
* // TemplateMinorVersion: Number("int"), // required
|
|
86
|
+
* // },
|
|
83
87
|
* // },
|
|
84
88
|
* // ],
|
|
85
89
|
* // Tags: [
|
|
@@ -77,6 +77,10 @@ declare const CreateRoleCommand_base: {
|
|
|
77
77
|
* // LastUsedDate: new Date("TIMESTAMP"),
|
|
78
78
|
* // Region: "STRING_VALUE",
|
|
79
79
|
* // },
|
|
80
|
+
* // SourceRoleTemplate: { // SourceRoleTemplate
|
|
81
|
+
* // TemplateArn: "STRING_VALUE", // required
|
|
82
|
+
* // TemplateMinorVersion: Number("int"), // required
|
|
83
|
+
* // },
|
|
80
84
|
* // },
|
|
81
85
|
* // };
|
|
82
86
|
*
|
|
@@ -72,6 +72,10 @@ declare const CreateServiceLinkedRoleCommand_base: {
|
|
|
72
72
|
* // LastUsedDate: new Date("TIMESTAMP"),
|
|
73
73
|
* // Region: "STRING_VALUE",
|
|
74
74
|
* // },
|
|
75
|
+
* // SourceRoleTemplate: { // SourceRoleTemplate
|
|
76
|
+
* // TemplateArn: "STRING_VALUE", // required
|
|
77
|
+
* // TemplateMinorVersion: Number("int"), // required
|
|
78
|
+
* // },
|
|
75
79
|
* // },
|
|
76
80
|
* // };
|
|
77
81
|
*
|
|
@@ -151,6 +151,10 @@ declare const GetAccountAuthorizationDetailsCommand_base: {
|
|
|
151
151
|
* // LastUsedDate: new Date("TIMESTAMP"),
|
|
152
152
|
* // Region: "STRING_VALUE",
|
|
153
153
|
* // },
|
|
154
|
+
* // SourceRoleTemplate: { // SourceRoleTemplate
|
|
155
|
+
* // TemplateArn: "STRING_VALUE", // required
|
|
156
|
+
* // TemplateMinorVersion: Number("int"), // required
|
|
157
|
+
* // },
|
|
154
158
|
* // },
|
|
155
159
|
* // ],
|
|
156
160
|
* // Tags: "<tagListType>",
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetAccountPropertiesRequest, GetAccountPropertiesResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetAccountPropertiesCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetAccountPropertiesCommandInput extends GetAccountPropertiesRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetAccountPropertiesCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetAccountPropertiesCommandOutput extends GetAccountPropertiesResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetAccountPropertiesCommand_base: {
|
|
22
|
+
new (input: GetAccountPropertiesCommandInput): import("@smithy/core/client").CommandImpl<GetAccountPropertiesCommandInput, GetAccountPropertiesCommandOutput, import("..").IAMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [GetAccountPropertiesCommandInput]): import("@smithy/core/client").CommandImpl<GetAccountPropertiesCommandInput, GetAccountPropertiesCommandOutput, import("..").IAMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Retrieves the account-level properties for the caller's Amazon Web Services account. Account
|
|
28
|
+
* properties are configuration settings that control account-wide IAM features such as
|
|
29
|
+
* Role Manager.</p>
|
|
30
|
+
* <p>The service returns properties as key-value pairs in
|
|
31
|
+
* <code>Namespace/PropertyName</code> format. Each namespace groups related
|
|
32
|
+
* configuration settings. Use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_PutAccountProperties.html">PutAccountProperties</a> to modify these properties.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { IAMClient, GetAccountPropertiesCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
37
|
+
* // const { IAMClient, GetAccountPropertiesCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
38
|
+
* // import type { IAMClientConfig } from "@aws-sdk/client-iam";
|
|
39
|
+
* const config = {}; // type is IAMClientConfig
|
|
40
|
+
* const client = new IAMClient(config);
|
|
41
|
+
* const input = {};
|
|
42
|
+
* const command = new GetAccountPropertiesCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetAccountPropertiesResponse
|
|
45
|
+
* // Properties: { // accountPropertiesMapType
|
|
46
|
+
* // "<keys>": "STRING_VALUE",
|
|
47
|
+
* // },
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param GetAccountPropertiesCommandInput - {@link GetAccountPropertiesCommandInput}
|
|
53
|
+
* @returns {@link GetAccountPropertiesCommandOutput}
|
|
54
|
+
* @see {@link GetAccountPropertiesCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link GetAccountPropertiesCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
59
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
60
|
+
* input parameter.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
63
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
64
|
+
* failure.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link IAMServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
68
|
+
*
|
|
69
|
+
*
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class GetAccountPropertiesCommand extends GetAccountPropertiesCommand_base {
|
|
73
|
+
/** @internal type navigation helper, not in runtime. */
|
|
74
|
+
protected static __types: {
|
|
75
|
+
api: {
|
|
76
|
+
input: {};
|
|
77
|
+
output: GetAccountPropertiesResponse;
|
|
78
|
+
};
|
|
79
|
+
sdk: {
|
|
80
|
+
input: GetAccountPropertiesCommandInput;
|
|
81
|
+
output: GetAccountPropertiesCommandOutput;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -72,6 +72,10 @@ declare const GetInstanceProfileCommand_base: {
|
|
|
72
72
|
* // LastUsedDate: new Date("TIMESTAMP"),
|
|
73
73
|
* // Region: "STRING_VALUE",
|
|
74
74
|
* // },
|
|
75
|
+
* // SourceRoleTemplate: { // SourceRoleTemplate
|
|
76
|
+
* // TemplateArn: "STRING_VALUE", // required
|
|
77
|
+
* // TemplateMinorVersion: Number("int"), // required
|
|
78
|
+
* // },
|
|
75
79
|
* // },
|
|
76
80
|
* // ],
|
|
77
81
|
* // Tags: [
|
|
@@ -73,6 +73,10 @@ declare const GetRoleCommand_base: {
|
|
|
73
73
|
* // LastUsedDate: new Date("TIMESTAMP"),
|
|
74
74
|
* // Region: "STRING_VALUE",
|
|
75
75
|
* // },
|
|
76
|
+
* // SourceRoleTemplate: { // SourceRoleTemplate
|
|
77
|
+
* // TemplateArn: "STRING_VALUE", // required
|
|
78
|
+
* // TemplateMinorVersion: Number("int"), // required
|
|
79
|
+
* // },
|
|
76
80
|
* // },
|
|
77
81
|
* // };
|
|
78
82
|
*
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetRoleTemplateVersionRequest, GetRoleTemplateVersionResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetRoleTemplateVersionCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetRoleTemplateVersionCommandInput extends GetRoleTemplateVersionRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetRoleTemplateVersionCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetRoleTemplateVersionCommandOutput extends GetRoleTemplateVersionResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetRoleTemplateVersionCommand_base: {
|
|
22
|
+
new (input: GetRoleTemplateVersionCommandInput): import("@smithy/core/client").CommandImpl<GetRoleTemplateVersionCommandInput, GetRoleTemplateVersionCommandOutput, import("..").IAMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetRoleTemplateVersionCommandInput): import("@smithy/core/client").CommandImpl<GetRoleTemplateVersionCommandInput, GetRoleTemplateVersionCommandOutput, import("..").IAMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Retrieves information about a version of the specified role template. Role templates
|
|
28
|
+
* define a reusable configuration—including role name and path patterns, trust
|
|
29
|
+
* policy, inline and managed policies, permissions boundary, tags, and maximum session
|
|
30
|
+
* duration—that you use to create IAM roles with <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_AcquireRole.html">AcquireRole</a>.</p>
|
|
31
|
+
* <p>If you do not specify a minor version, the service returns the template's default
|
|
32
|
+
* minor version.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { IAMClient, GetRoleTemplateVersionCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
37
|
+
* // const { IAMClient, GetRoleTemplateVersionCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
38
|
+
* // import type { IAMClientConfig } from "@aws-sdk/client-iam";
|
|
39
|
+
* const config = {}; // type is IAMClientConfig
|
|
40
|
+
* const client = new IAMClient(config);
|
|
41
|
+
* const input = { // GetRoleTemplateVersionRequest
|
|
42
|
+
* TemplateArn: "STRING_VALUE", // required
|
|
43
|
+
* MinorVersion: Number("int"),
|
|
44
|
+
* };
|
|
45
|
+
* const command = new GetRoleTemplateVersionCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // GetRoleTemplateVersionResponse
|
|
48
|
+
* // RoleTemplateVersion: { // RoleTemplateVersion
|
|
49
|
+
* // TemplateArn: "STRING_VALUE",
|
|
50
|
+
* // TemplateName: "STRING_VALUE",
|
|
51
|
+
* // TemplateVersionId: "STRING_VALUE",
|
|
52
|
+
* // Description: "STRING_VALUE",
|
|
53
|
+
* // MajorVersion: Number("int"),
|
|
54
|
+
* // DefaultMinorVersion: Number("int"),
|
|
55
|
+
* // ManagedByType: "Service",
|
|
56
|
+
* // ManagedByValue: "STRING_VALUE",
|
|
57
|
+
* // Enabled: true || false,
|
|
58
|
+
* // MinorVersion: Number("int"),
|
|
59
|
+
* // RoleNamePattern: "STRING_VALUE",
|
|
60
|
+
* // RolePathPattern: "STRING_VALUE",
|
|
61
|
+
* // RoleDescriptionPattern: "STRING_VALUE",
|
|
62
|
+
* // AssumeRolePolicyDocumentTemplate: "STRING_VALUE",
|
|
63
|
+
* // InlinePolicyTemplates: [ // inlinePolicyTemplateListType
|
|
64
|
+
* // { // InlinePolicy
|
|
65
|
+
* // PolicyName: "STRING_VALUE", // required
|
|
66
|
+
* // PolicyDocument: "STRING_VALUE", // required
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // ManagedPolicyArns: [ // managedPolicyArnListType
|
|
70
|
+
* // "STRING_VALUE",
|
|
71
|
+
* // ],
|
|
72
|
+
* // PermissionBoundaryArn: "STRING_VALUE",
|
|
73
|
+
* // ParametersDefinition: [ // parametersDefinitionListType
|
|
74
|
+
* // { // ParameterDefinition
|
|
75
|
+
* // Name: "STRING_VALUE", // required
|
|
76
|
+
* // Type: "String" || "StringList" || "Number" || "NumberList" || "Arn" || "ArnList", // required
|
|
77
|
+
* // SubType: "STRING_VALUE",
|
|
78
|
+
* // Description: "STRING_VALUE",
|
|
79
|
+
* // IsRequired: true || false,
|
|
80
|
+
* // DefaultValue: "STRING_VALUE",
|
|
81
|
+
* // Immutable: true || false,
|
|
82
|
+
* // },
|
|
83
|
+
* // ],
|
|
84
|
+
* // RoleTagsTemplate: [ // tagTemplateListType
|
|
85
|
+
* // { // TagTemplate
|
|
86
|
+
* // Key: "STRING_VALUE", // required
|
|
87
|
+
* // Value: "STRING_VALUE", // required
|
|
88
|
+
* // },
|
|
89
|
+
* // ],
|
|
90
|
+
* // MaxSessionDuration: Number("int"),
|
|
91
|
+
* // VersionEnabled: true || false,
|
|
92
|
+
* // CreateTimestamp: new Date("TIMESTAMP"),
|
|
93
|
+
* // UpdateTimestamp: new Date("TIMESTAMP"),
|
|
94
|
+
* // },
|
|
95
|
+
* // };
|
|
96
|
+
*
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* @param GetRoleTemplateVersionCommandInput - {@link GetRoleTemplateVersionCommandInput}
|
|
100
|
+
* @returns {@link GetRoleTemplateVersionCommandOutput}
|
|
101
|
+
* @see {@link GetRoleTemplateVersionCommandInput} for command's `input` shape.
|
|
102
|
+
* @see {@link GetRoleTemplateVersionCommandOutput} for command's `response` shape.
|
|
103
|
+
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
106
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
107
|
+
* input parameter.</p>
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
110
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
111
|
+
* error message describes the resource.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
114
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
115
|
+
* failure.</p>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link IAMServiceException}
|
|
118
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
119
|
+
*
|
|
120
|
+
*
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
export declare class GetRoleTemplateVersionCommand extends GetRoleTemplateVersionCommand_base {
|
|
124
|
+
/** @internal type navigation helper, not in runtime. */
|
|
125
|
+
protected static __types: {
|
|
126
|
+
api: {
|
|
127
|
+
input: GetRoleTemplateVersionRequest;
|
|
128
|
+
output: GetRoleTemplateVersionResponse;
|
|
129
|
+
};
|
|
130
|
+
sdk: {
|
|
131
|
+
input: GetRoleTemplateVersionCommandInput;
|
|
132
|
+
output: GetRoleTemplateVersionCommandOutput;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
}
|
|
@@ -82,6 +82,10 @@ declare const ListInstanceProfilesCommand_base: {
|
|
|
82
82
|
* // LastUsedDate: new Date("TIMESTAMP"),
|
|
83
83
|
* // Region: "STRING_VALUE",
|
|
84
84
|
* // },
|
|
85
|
+
* // SourceRoleTemplate: { // SourceRoleTemplate
|
|
86
|
+
* // TemplateArn: "STRING_VALUE", // required
|
|
87
|
+
* // TemplateMinorVersion: Number("int"), // required
|
|
88
|
+
* // },
|
|
85
89
|
* // },
|
|
86
90
|
* // ],
|
|
87
91
|
* // Tags: [
|
|
@@ -77,6 +77,10 @@ declare const ListInstanceProfilesForRoleCommand_base: {
|
|
|
77
77
|
* // LastUsedDate: new Date("TIMESTAMP"),
|
|
78
78
|
* // Region: "STRING_VALUE",
|
|
79
79
|
* // },
|
|
80
|
+
* // SourceRoleTemplate: { // SourceRoleTemplate
|
|
81
|
+
* // TemplateArn: "STRING_VALUE", // required
|
|
82
|
+
* // TemplateMinorVersion: Number("int"), // required
|
|
83
|
+
* // },
|
|
80
84
|
* // },
|
|
81
85
|
* // ],
|
|
82
86
|
* // Tags: [
|
|
@@ -85,6 +85,10 @@ declare const ListRolesCommand_base: {
|
|
|
85
85
|
* // LastUsedDate: new Date("TIMESTAMP"),
|
|
86
86
|
* // Region: "STRING_VALUE",
|
|
87
87
|
* // },
|
|
88
|
+
* // SourceRoleTemplate: { // SourceRoleTemplate
|
|
89
|
+
* // TemplateArn: "STRING_VALUE", // required
|
|
90
|
+
* // TemplateMinorVersion: Number("int"), // required
|
|
91
|
+
* // },
|
|
88
92
|
* // },
|
|
89
93
|
* // ],
|
|
90
94
|
* // IsTruncated: true || false,
|