@aws-sdk/client-iam 3.51.0 → 3.54.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/CHANGELOG.md +30 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/IAMServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +280 -6
- package/dist-cjs/models/models_1.js +80 -1
- package/dist-cjs/protocols/Aws_query.js +1225 -4769
- package/dist-es/index.js +1 -0
- package/dist-es/models/IAMServiceException.js +12 -0
- package/dist-es/models/models_0.js +254 -1
- package/dist-es/models/models_1.js +74 -1
- package/dist-es/protocols/Aws_query.js +2995 -5341
- package/dist-types/IAM.d.ts +35 -42
- package/dist-types/IAMClient.d.ts +2 -2
- package/dist-types/commands/ChangePasswordCommand.d.ts +1 -2
- package/dist-types/commands/CreateLoginProfileCommand.d.ts +2 -4
- package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLoginProfileCommand.d.ts +3 -3
- package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +6 -6
- package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +3 -3
- package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +3 -3
- package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +1 -2
- package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +6 -11
- package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +2 -2
- package/dist-types/commands/UploadServerCertificateCommand.d.ts +6 -4
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/IAMServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +219 -140
- package/dist-types/models/models_1.d.ts +60 -29
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/IAMClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/IAMServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +107 -85
- package/dist-types/ts3.4/models/models_1.d.ts +32 -25
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +34 -34
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { IAMServiceException as __BaseException } from "./IAMServiceException";
|
|
2
3
|
import { Role, ServerCertificateMetadata, SigningCertificate, SSHPublicKey, StatusType, Tag } from "./models_0";
|
|
3
4
|
export interface UntagPolicyRequest {
|
|
4
5
|
/**
|
|
@@ -165,8 +166,9 @@ export interface UpdateAccountPasswordPolicyRequest {
|
|
|
165
166
|
RequireLowercaseCharacters?: boolean;
|
|
166
167
|
/**
|
|
167
168
|
* <p> Allows all IAM users in your account to use the Amazon Web Services Management Console to change their own
|
|
168
|
-
* passwords. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/
|
|
169
|
-
* passwords</a> in the
|
|
169
|
+
* passwords. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_passwords_enable-user-change.html">Permitting
|
|
170
|
+
* IAM users to change their own passwords</a> in the
|
|
171
|
+
* <i>IAM User Guide</i>.</p>
|
|
170
172
|
* <p>If you do not specify a value for this parameter, then the operation uses the default
|
|
171
173
|
* value of <code>false</code>. The result is that IAM users in the account do not
|
|
172
174
|
* automatically have permissions to change their own password.</p>
|
|
@@ -187,11 +189,22 @@ export interface UpdateAccountPasswordPolicyRequest {
|
|
|
187
189
|
*/
|
|
188
190
|
PasswordReusePrevention?: number;
|
|
189
191
|
/**
|
|
190
|
-
* <p>Prevents IAM users
|
|
191
|
-
*
|
|
192
|
+
* <p> Prevents IAM users who are accessing the account via the Amazon Web Services Management Console from setting a
|
|
193
|
+
* new console password after their password has expired. The IAM user cannot access the
|
|
194
|
+
* console until an administrator resets the password.</p>
|
|
192
195
|
* <p>If you do not specify a value for this parameter, then the operation uses the default
|
|
193
196
|
* value of <code>false</code>. The result is that IAM users can change their passwords
|
|
194
197
|
* after they expire and continue to sign in as the user.</p>
|
|
198
|
+
* <note>
|
|
199
|
+
* <p> In the Amazon Web Services Management Console, the custom password policy option <b>Allow
|
|
200
|
+
* users to change their own password</b> gives IAM users permissions to
|
|
201
|
+
* <code>iam:ChangePassword</code> for only their user and to the
|
|
202
|
+
* <code>iam:GetAccountPasswordPolicy</code> action. This option does not attach a
|
|
203
|
+
* permissions policy to each user, rather the permissions are applied at the
|
|
204
|
+
* account-level for all users by IAM. IAM users with
|
|
205
|
+
* <code>iam:ChangePassword</code> permission and active access keys can reset
|
|
206
|
+
* their own expired console password using the CLI or API.</p>
|
|
207
|
+
* </note>
|
|
195
208
|
*/
|
|
196
209
|
HardExpiry?: boolean;
|
|
197
210
|
}
|
|
@@ -578,19 +591,25 @@ export declare namespace UpdateUserRequest {
|
|
|
578
591
|
* <p>The request was rejected because the public key certificate and the private key do not
|
|
579
592
|
* match.</p>
|
|
580
593
|
*/
|
|
581
|
-
export
|
|
582
|
-
name: "KeyPairMismatchException";
|
|
583
|
-
$fault: "client";
|
|
584
|
-
|
|
594
|
+
export declare class KeyPairMismatchException extends __BaseException {
|
|
595
|
+
readonly name: "KeyPairMismatchException";
|
|
596
|
+
readonly $fault: "client";
|
|
597
|
+
/**
|
|
598
|
+
* @internal
|
|
599
|
+
*/
|
|
600
|
+
constructor(opts: __ExceptionOptionType<KeyPairMismatchException, __BaseException>);
|
|
585
601
|
}
|
|
586
602
|
/**
|
|
587
603
|
* <p>The request was rejected because the certificate was malformed or expired. The error
|
|
588
604
|
* message describes the specific error.</p>
|
|
589
605
|
*/
|
|
590
|
-
export
|
|
591
|
-
name: "MalformedCertificateException";
|
|
592
|
-
$fault: "client";
|
|
593
|
-
|
|
606
|
+
export declare class MalformedCertificateException extends __BaseException {
|
|
607
|
+
readonly name: "MalformedCertificateException";
|
|
608
|
+
readonly $fault: "client";
|
|
609
|
+
/**
|
|
610
|
+
* @internal
|
|
611
|
+
*/
|
|
612
|
+
constructor(opts: __ExceptionOptionType<MalformedCertificateException, __BaseException>);
|
|
594
613
|
}
|
|
595
614
|
export interface UploadServerCertificateRequest {
|
|
596
615
|
/**
|
|
@@ -721,18 +740,24 @@ export declare namespace UploadServerCertificateResponse {
|
|
|
721
740
|
* <p>The request was rejected because the same certificate is associated with an IAM user in
|
|
722
741
|
* the account.</p>
|
|
723
742
|
*/
|
|
724
|
-
export
|
|
725
|
-
name: "DuplicateCertificateException";
|
|
726
|
-
$fault: "client";
|
|
727
|
-
|
|
743
|
+
export declare class DuplicateCertificateException extends __BaseException {
|
|
744
|
+
readonly name: "DuplicateCertificateException";
|
|
745
|
+
readonly $fault: "client";
|
|
746
|
+
/**
|
|
747
|
+
* @internal
|
|
748
|
+
*/
|
|
749
|
+
constructor(opts: __ExceptionOptionType<DuplicateCertificateException, __BaseException>);
|
|
728
750
|
}
|
|
729
751
|
/**
|
|
730
752
|
* <p>The request was rejected because the certificate is invalid.</p>
|
|
731
753
|
*/
|
|
732
|
-
export
|
|
733
|
-
name: "InvalidCertificateException";
|
|
734
|
-
$fault: "client";
|
|
735
|
-
|
|
754
|
+
export declare class InvalidCertificateException extends __BaseException {
|
|
755
|
+
readonly name: "InvalidCertificateException";
|
|
756
|
+
readonly $fault: "client";
|
|
757
|
+
/**
|
|
758
|
+
* @internal
|
|
759
|
+
*/
|
|
760
|
+
constructor(opts: __ExceptionOptionType<InvalidCertificateException, __BaseException>);
|
|
736
761
|
}
|
|
737
762
|
export interface UploadSigningCertificateRequest {
|
|
738
763
|
/**
|
|
@@ -788,18 +813,24 @@ export declare namespace UploadSigningCertificateResponse {
|
|
|
788
813
|
* <p>The request was rejected because the SSH public key is already associated with the
|
|
789
814
|
* specified IAM user.</p>
|
|
790
815
|
*/
|
|
791
|
-
export
|
|
792
|
-
name: "DuplicateSSHPublicKeyException";
|
|
793
|
-
$fault: "client";
|
|
794
|
-
|
|
816
|
+
export declare class DuplicateSSHPublicKeyException extends __BaseException {
|
|
817
|
+
readonly name: "DuplicateSSHPublicKeyException";
|
|
818
|
+
readonly $fault: "client";
|
|
819
|
+
/**
|
|
820
|
+
* @internal
|
|
821
|
+
*/
|
|
822
|
+
constructor(opts: __ExceptionOptionType<DuplicateSSHPublicKeyException, __BaseException>);
|
|
795
823
|
}
|
|
796
824
|
/**
|
|
797
825
|
* <p>The request was rejected because the public key is malformed or otherwise invalid.</p>
|
|
798
826
|
*/
|
|
799
|
-
export
|
|
800
|
-
name: "InvalidPublicKeyException";
|
|
801
|
-
$fault: "client";
|
|
802
|
-
|
|
827
|
+
export declare class InvalidPublicKeyException extends __BaseException {
|
|
828
|
+
readonly name: "InvalidPublicKeyException";
|
|
829
|
+
readonly $fault: "client";
|
|
830
|
+
/**
|
|
831
|
+
* @internal
|
|
832
|
+
*/
|
|
833
|
+
constructor(opts: __ExceptionOptionType<InvalidPublicKeyException, __BaseException>);
|
|
803
834
|
}
|
|
804
835
|
export interface UploadSSHPublicKeyRequest {
|
|
805
836
|
/**
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: IAMClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: IAMClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: IAMClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AddClientIDToOpenIDConnectProviderCommandInput, AddClientIDToOpenIDConnectProviderCommandOutput } from "./commands/AddClientIDToOpenIDConnectProviderCommand";
|
|
10
10
|
import { AddRoleToInstanceProfileCommandInput, AddRoleToInstanceProfileCommandOutput } from "./commands/AddRoleToInstanceProfileCommand";
|
|
11
11
|
import { AddUserToGroupCommandInput, AddUserToGroupCommandOutput } from "./commands/AddUserToGroupCommand";
|
|
@@ -174,7 +174,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
174
174
|
|
|
175
175
|
urlParser?: __UrlParser;
|
|
176
176
|
|
|
177
|
-
bodyLengthChecker?:
|
|
177
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
178
178
|
|
|
179
179
|
streamCollector?: __StreamCollector;
|
|
180
180
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { IAMServiceException as __BaseException } from "./IAMServiceException";
|
|
2
3
|
export declare enum AccessAdvisorUsageGranularityType {
|
|
3
4
|
ACTION_LEVEL = "ACTION_LEVEL",
|
|
4
5
|
SERVICE_LEVEL = "SERVICE_LEVEL"
|
|
@@ -79,28 +80,32 @@ export declare namespace AddClientIDToOpenIDConnectProviderRequest {
|
|
|
79
80
|
const filterSensitiveLog: (obj: AddClientIDToOpenIDConnectProviderRequest) => any;
|
|
80
81
|
}
|
|
81
82
|
|
|
82
|
-
export
|
|
83
|
-
name: "InvalidInputException";
|
|
84
|
-
$fault: "client";
|
|
85
|
-
|
|
83
|
+
export declare class InvalidInputException extends __BaseException {
|
|
84
|
+
readonly name: "InvalidInputException";
|
|
85
|
+
readonly $fault: "client";
|
|
86
|
+
|
|
87
|
+
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
86
88
|
}
|
|
87
89
|
|
|
88
|
-
export
|
|
89
|
-
name: "LimitExceededException";
|
|
90
|
-
$fault: "client";
|
|
91
|
-
|
|
90
|
+
export declare class LimitExceededException extends __BaseException {
|
|
91
|
+
readonly name: "LimitExceededException";
|
|
92
|
+
readonly $fault: "client";
|
|
93
|
+
|
|
94
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
92
95
|
}
|
|
93
96
|
|
|
94
|
-
export
|
|
95
|
-
name: "NoSuchEntityException";
|
|
96
|
-
$fault: "client";
|
|
97
|
-
|
|
97
|
+
export declare class NoSuchEntityException extends __BaseException {
|
|
98
|
+
readonly name: "NoSuchEntityException";
|
|
99
|
+
readonly $fault: "client";
|
|
100
|
+
|
|
101
|
+
constructor(opts: __ExceptionOptionType<NoSuchEntityException, __BaseException>);
|
|
98
102
|
}
|
|
99
103
|
|
|
100
|
-
export
|
|
101
|
-
name: "ServiceFailureException";
|
|
102
|
-
$fault: "server";
|
|
103
|
-
|
|
104
|
+
export declare class ServiceFailureException extends __BaseException {
|
|
105
|
+
readonly name: "ServiceFailureException";
|
|
106
|
+
readonly $fault: "server";
|
|
107
|
+
|
|
108
|
+
constructor(opts: __ExceptionOptionType<ServiceFailureException, __BaseException>);
|
|
104
109
|
}
|
|
105
110
|
export interface AddRoleToInstanceProfileRequest {
|
|
106
111
|
|
|
@@ -113,16 +118,18 @@ export declare namespace AddRoleToInstanceProfileRequest {
|
|
|
113
118
|
const filterSensitiveLog: (obj: AddRoleToInstanceProfileRequest) => any;
|
|
114
119
|
}
|
|
115
120
|
|
|
116
|
-
export
|
|
117
|
-
name: "EntityAlreadyExistsException";
|
|
118
|
-
$fault: "client";
|
|
119
|
-
|
|
121
|
+
export declare class EntityAlreadyExistsException extends __BaseException {
|
|
122
|
+
readonly name: "EntityAlreadyExistsException";
|
|
123
|
+
readonly $fault: "client";
|
|
124
|
+
|
|
125
|
+
constructor(opts: __ExceptionOptionType<EntityAlreadyExistsException, __BaseException>);
|
|
120
126
|
}
|
|
121
127
|
|
|
122
|
-
export
|
|
123
|
-
name: "UnmodifiableEntityException";
|
|
124
|
-
$fault: "client";
|
|
125
|
-
|
|
128
|
+
export declare class UnmodifiableEntityException extends __BaseException {
|
|
129
|
+
readonly name: "UnmodifiableEntityException";
|
|
130
|
+
readonly $fault: "client";
|
|
131
|
+
|
|
132
|
+
constructor(opts: __ExceptionOptionType<UnmodifiableEntityException, __BaseException>);
|
|
126
133
|
}
|
|
127
134
|
export interface AddUserToGroupRequest {
|
|
128
135
|
|
|
@@ -171,10 +178,11 @@ export declare namespace AttachGroupPolicyRequest {
|
|
|
171
178
|
const filterSensitiveLog: (obj: AttachGroupPolicyRequest) => any;
|
|
172
179
|
}
|
|
173
180
|
|
|
174
|
-
export
|
|
175
|
-
name: "PolicyNotAttachableException";
|
|
176
|
-
$fault: "client";
|
|
177
|
-
|
|
181
|
+
export declare class PolicyNotAttachableException extends __BaseException {
|
|
182
|
+
readonly name: "PolicyNotAttachableException";
|
|
183
|
+
readonly $fault: "client";
|
|
184
|
+
|
|
185
|
+
constructor(opts: __ExceptionOptionType<PolicyNotAttachableException, __BaseException>);
|
|
178
186
|
}
|
|
179
187
|
export interface AttachRolePolicyRequest {
|
|
180
188
|
|
|
@@ -207,22 +215,25 @@ export declare namespace ChangePasswordRequest {
|
|
|
207
215
|
const filterSensitiveLog: (obj: ChangePasswordRequest) => any;
|
|
208
216
|
}
|
|
209
217
|
|
|
210
|
-
export
|
|
211
|
-
name: "EntityTemporarilyUnmodifiableException";
|
|
212
|
-
$fault: "client";
|
|
213
|
-
|
|
218
|
+
export declare class EntityTemporarilyUnmodifiableException extends __BaseException {
|
|
219
|
+
readonly name: "EntityTemporarilyUnmodifiableException";
|
|
220
|
+
readonly $fault: "client";
|
|
221
|
+
|
|
222
|
+
constructor(opts: __ExceptionOptionType<EntityTemporarilyUnmodifiableException, __BaseException>);
|
|
214
223
|
}
|
|
215
224
|
|
|
216
|
-
export
|
|
217
|
-
name: "InvalidUserTypeException";
|
|
218
|
-
$fault: "client";
|
|
219
|
-
|
|
225
|
+
export declare class InvalidUserTypeException extends __BaseException {
|
|
226
|
+
readonly name: "InvalidUserTypeException";
|
|
227
|
+
readonly $fault: "client";
|
|
228
|
+
|
|
229
|
+
constructor(opts: __ExceptionOptionType<InvalidUserTypeException, __BaseException>);
|
|
220
230
|
}
|
|
221
231
|
|
|
222
|
-
export
|
|
223
|
-
name: "PasswordPolicyViolationException";
|
|
224
|
-
$fault: "client";
|
|
225
|
-
|
|
232
|
+
export declare class PasswordPolicyViolationException extends __BaseException {
|
|
233
|
+
readonly name: "PasswordPolicyViolationException";
|
|
234
|
+
readonly $fault: "client";
|
|
235
|
+
|
|
236
|
+
constructor(opts: __ExceptionOptionType<PasswordPolicyViolationException, __BaseException>);
|
|
226
237
|
}
|
|
227
238
|
export interface CreateAccessKeyRequest {
|
|
228
239
|
|
|
@@ -286,10 +297,11 @@ export declare namespace CreateGroupResponse {
|
|
|
286
297
|
const filterSensitiveLog: (obj: CreateGroupResponse) => any;
|
|
287
298
|
}
|
|
288
299
|
|
|
289
|
-
export
|
|
290
|
-
name: "ConcurrentModificationException";
|
|
291
|
-
$fault: "client";
|
|
292
|
-
|
|
300
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
301
|
+
readonly name: "ConcurrentModificationException";
|
|
302
|
+
readonly $fault: "client";
|
|
303
|
+
|
|
304
|
+
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
293
305
|
}
|
|
294
306
|
|
|
295
307
|
export interface Tag {
|
|
@@ -500,10 +512,11 @@ export declare namespace CreatePolicyResponse {
|
|
|
500
512
|
const filterSensitiveLog: (obj: CreatePolicyResponse) => any;
|
|
501
513
|
}
|
|
502
514
|
|
|
503
|
-
export
|
|
504
|
-
name: "MalformedPolicyDocumentException";
|
|
505
|
-
$fault: "client";
|
|
506
|
-
|
|
515
|
+
export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
516
|
+
readonly name: "MalformedPolicyDocumentException";
|
|
517
|
+
readonly $fault: "client";
|
|
518
|
+
|
|
519
|
+
constructor(opts: __ExceptionOptionType<MalformedPolicyDocumentException, __BaseException>);
|
|
507
520
|
}
|
|
508
521
|
export interface CreatePolicyVersionRequest {
|
|
509
522
|
|
|
@@ -653,10 +666,11 @@ export declare namespace CreateServiceSpecificCredentialResponse {
|
|
|
653
666
|
const filterSensitiveLog: (obj: CreateServiceSpecificCredentialResponse) => any;
|
|
654
667
|
}
|
|
655
668
|
|
|
656
|
-
export
|
|
657
|
-
name: "ServiceNotSupportedException";
|
|
658
|
-
$fault: "client";
|
|
659
|
-
|
|
669
|
+
export declare class ServiceNotSupportedException extends __BaseException {
|
|
670
|
+
readonly name: "ServiceNotSupportedException";
|
|
671
|
+
readonly $fault: "client";
|
|
672
|
+
|
|
673
|
+
constructor(opts: __ExceptionOptionType<ServiceNotSupportedException, __BaseException>);
|
|
660
674
|
}
|
|
661
675
|
export interface CreateUserRequest {
|
|
662
676
|
|
|
@@ -773,10 +787,11 @@ export declare namespace DeleteAccountAliasRequest {
|
|
|
773
787
|
const filterSensitiveLog: (obj: DeleteAccountAliasRequest) => any;
|
|
774
788
|
}
|
|
775
789
|
|
|
776
|
-
export
|
|
777
|
-
name: "DeleteConflictException";
|
|
778
|
-
$fault: "client";
|
|
779
|
-
|
|
790
|
+
export declare class DeleteConflictException extends __BaseException {
|
|
791
|
+
readonly name: "DeleteConflictException";
|
|
792
|
+
readonly $fault: "client";
|
|
793
|
+
|
|
794
|
+
constructor(opts: __ExceptionOptionType<DeleteConflictException, __BaseException>);
|
|
780
795
|
}
|
|
781
796
|
export interface DeleteGroupRequest {
|
|
782
797
|
|
|
@@ -1005,10 +1020,11 @@ export declare namespace EnableMFADeviceRequest {
|
|
|
1005
1020
|
const filterSensitiveLog: (obj: EnableMFADeviceRequest) => any;
|
|
1006
1021
|
}
|
|
1007
1022
|
|
|
1008
|
-
export
|
|
1009
|
-
name: "InvalidAuthenticationCodeException";
|
|
1010
|
-
$fault: "client";
|
|
1011
|
-
|
|
1023
|
+
export declare class InvalidAuthenticationCodeException extends __BaseException {
|
|
1024
|
+
readonly name: "InvalidAuthenticationCodeException";
|
|
1025
|
+
readonly $fault: "client";
|
|
1026
|
+
|
|
1027
|
+
constructor(opts: __ExceptionOptionType<InvalidAuthenticationCodeException, __BaseException>);
|
|
1012
1028
|
}
|
|
1013
1029
|
export declare enum ReportStateType {
|
|
1014
1030
|
COMPLETE = "COMPLETE",
|
|
@@ -1045,10 +1061,11 @@ export declare namespace GenerateOrganizationsAccessReportResponse {
|
|
|
1045
1061
|
const filterSensitiveLog: (obj: GenerateOrganizationsAccessReportResponse) => any;
|
|
1046
1062
|
}
|
|
1047
1063
|
|
|
1048
|
-
export
|
|
1049
|
-
name: "ReportGenerationLimitExceededException";
|
|
1050
|
-
$fault: "client";
|
|
1051
|
-
|
|
1064
|
+
export declare class ReportGenerationLimitExceededException extends __BaseException {
|
|
1065
|
+
readonly name: "ReportGenerationLimitExceededException";
|
|
1066
|
+
readonly $fault: "client";
|
|
1067
|
+
|
|
1068
|
+
constructor(opts: __ExceptionOptionType<ReportGenerationLimitExceededException, __BaseException>);
|
|
1052
1069
|
}
|
|
1053
1070
|
export interface GenerateServiceLastAccessedDetailsRequest {
|
|
1054
1071
|
|
|
@@ -1322,22 +1339,25 @@ export declare namespace GetContextKeysForPrincipalPolicyRequest {
|
|
|
1322
1339
|
const filterSensitiveLog: (obj: GetContextKeysForPrincipalPolicyRequest) => any;
|
|
1323
1340
|
}
|
|
1324
1341
|
|
|
1325
|
-
export
|
|
1326
|
-
name: "CredentialReportExpiredException";
|
|
1327
|
-
$fault: "client";
|
|
1328
|
-
|
|
1342
|
+
export declare class CredentialReportExpiredException extends __BaseException {
|
|
1343
|
+
readonly name: "CredentialReportExpiredException";
|
|
1344
|
+
readonly $fault: "client";
|
|
1345
|
+
|
|
1346
|
+
constructor(opts: __ExceptionOptionType<CredentialReportExpiredException, __BaseException>);
|
|
1329
1347
|
}
|
|
1330
1348
|
|
|
1331
|
-
export
|
|
1332
|
-
name: "CredentialReportNotPresentException";
|
|
1333
|
-
$fault: "client";
|
|
1334
|
-
|
|
1349
|
+
export declare class CredentialReportNotPresentException extends __BaseException {
|
|
1350
|
+
readonly name: "CredentialReportNotPresentException";
|
|
1351
|
+
readonly $fault: "client";
|
|
1352
|
+
|
|
1353
|
+
constructor(opts: __ExceptionOptionType<CredentialReportNotPresentException, __BaseException>);
|
|
1335
1354
|
}
|
|
1336
1355
|
|
|
1337
|
-
export
|
|
1338
|
-
name: "CredentialReportNotReadyException";
|
|
1339
|
-
$fault: "client";
|
|
1340
|
-
|
|
1356
|
+
export declare class CredentialReportNotReadyException extends __BaseException {
|
|
1357
|
+
readonly name: "CredentialReportNotReadyException";
|
|
1358
|
+
readonly $fault: "client";
|
|
1359
|
+
|
|
1360
|
+
constructor(opts: __ExceptionOptionType<CredentialReportNotReadyException, __BaseException>);
|
|
1341
1361
|
}
|
|
1342
1362
|
export declare type ReportFormatType = "text/csv";
|
|
1343
1363
|
|
|
@@ -1893,10 +1913,11 @@ export declare namespace GetSSHPublicKeyResponse {
|
|
|
1893
1913
|
const filterSensitiveLog: (obj: GetSSHPublicKeyResponse) => any;
|
|
1894
1914
|
}
|
|
1895
1915
|
|
|
1896
|
-
export
|
|
1897
|
-
name: "UnrecognizedPublicKeyEncodingException";
|
|
1898
|
-
$fault: "client";
|
|
1899
|
-
|
|
1916
|
+
export declare class UnrecognizedPublicKeyEncodingException extends __BaseException {
|
|
1917
|
+
readonly name: "UnrecognizedPublicKeyEncodingException";
|
|
1918
|
+
readonly $fault: "client";
|
|
1919
|
+
|
|
1920
|
+
constructor(opts: __ExceptionOptionType<UnrecognizedPublicKeyEncodingException, __BaseException>);
|
|
1900
1921
|
}
|
|
1901
1922
|
export interface GetUserRequest {
|
|
1902
1923
|
|
|
@@ -3070,10 +3091,11 @@ export declare namespace SetSecurityTokenServicePreferencesRequest {
|
|
|
3070
3091
|
const filterSensitiveLog: (obj: SetSecurityTokenServicePreferencesRequest) => any;
|
|
3071
3092
|
}
|
|
3072
3093
|
|
|
3073
|
-
export
|
|
3074
|
-
name: "PolicyEvaluationException";
|
|
3075
|
-
$fault: "server";
|
|
3076
|
-
|
|
3094
|
+
export declare class PolicyEvaluationException extends __BaseException {
|
|
3095
|
+
readonly name: "PolicyEvaluationException";
|
|
3096
|
+
readonly $fault: "server";
|
|
3097
|
+
|
|
3098
|
+
constructor(opts: __ExceptionOptionType<PolicyEvaluationException, __BaseException>);
|
|
3077
3099
|
}
|
|
3078
3100
|
export declare enum ContextKeyTypeEnum {
|
|
3079
3101
|
BINARY = "binary",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { IAMServiceException as __BaseException } from "./IAMServiceException";
|
|
2
3
|
import { Role, ServerCertificateMetadata, SigningCertificate, SSHPublicKey, StatusType, Tag } from "./models_0";
|
|
3
4
|
export interface UntagPolicyRequest {
|
|
4
5
|
|
|
@@ -246,16 +247,18 @@ export declare namespace UpdateUserRequest {
|
|
|
246
247
|
const filterSensitiveLog: (obj: UpdateUserRequest) => any;
|
|
247
248
|
}
|
|
248
249
|
|
|
249
|
-
export
|
|
250
|
-
name: "KeyPairMismatchException";
|
|
251
|
-
$fault: "client";
|
|
252
|
-
|
|
250
|
+
export declare class KeyPairMismatchException extends __BaseException {
|
|
251
|
+
readonly name: "KeyPairMismatchException";
|
|
252
|
+
readonly $fault: "client";
|
|
253
|
+
|
|
254
|
+
constructor(opts: __ExceptionOptionType<KeyPairMismatchException, __BaseException>);
|
|
253
255
|
}
|
|
254
256
|
|
|
255
|
-
export
|
|
256
|
-
name: "MalformedCertificateException";
|
|
257
|
-
$fault: "client";
|
|
258
|
-
|
|
257
|
+
export declare class MalformedCertificateException extends __BaseException {
|
|
258
|
+
readonly name: "MalformedCertificateException";
|
|
259
|
+
readonly $fault: "client";
|
|
260
|
+
|
|
261
|
+
constructor(opts: __ExceptionOptionType<MalformedCertificateException, __BaseException>);
|
|
259
262
|
}
|
|
260
263
|
export interface UploadServerCertificateRequest {
|
|
261
264
|
|
|
@@ -287,16 +290,18 @@ export declare namespace UploadServerCertificateResponse {
|
|
|
287
290
|
const filterSensitiveLog: (obj: UploadServerCertificateResponse) => any;
|
|
288
291
|
}
|
|
289
292
|
|
|
290
|
-
export
|
|
291
|
-
name: "DuplicateCertificateException";
|
|
292
|
-
$fault: "client";
|
|
293
|
-
|
|
293
|
+
export declare class DuplicateCertificateException extends __BaseException {
|
|
294
|
+
readonly name: "DuplicateCertificateException";
|
|
295
|
+
readonly $fault: "client";
|
|
296
|
+
|
|
297
|
+
constructor(opts: __ExceptionOptionType<DuplicateCertificateException, __BaseException>);
|
|
294
298
|
}
|
|
295
299
|
|
|
296
|
-
export
|
|
297
|
-
name: "InvalidCertificateException";
|
|
298
|
-
$fault: "client";
|
|
299
|
-
|
|
300
|
+
export declare class InvalidCertificateException extends __BaseException {
|
|
301
|
+
readonly name: "InvalidCertificateException";
|
|
302
|
+
readonly $fault: "client";
|
|
303
|
+
|
|
304
|
+
constructor(opts: __ExceptionOptionType<InvalidCertificateException, __BaseException>);
|
|
300
305
|
}
|
|
301
306
|
export interface UploadSigningCertificateRequest {
|
|
302
307
|
|
|
@@ -318,16 +323,18 @@ export declare namespace UploadSigningCertificateResponse {
|
|
|
318
323
|
const filterSensitiveLog: (obj: UploadSigningCertificateResponse) => any;
|
|
319
324
|
}
|
|
320
325
|
|
|
321
|
-
export
|
|
322
|
-
name: "DuplicateSSHPublicKeyException";
|
|
323
|
-
$fault: "client";
|
|
324
|
-
|
|
326
|
+
export declare class DuplicateSSHPublicKeyException extends __BaseException {
|
|
327
|
+
readonly name: "DuplicateSSHPublicKeyException";
|
|
328
|
+
readonly $fault: "client";
|
|
329
|
+
|
|
330
|
+
constructor(opts: __ExceptionOptionType<DuplicateSSHPublicKeyException, __BaseException>);
|
|
325
331
|
}
|
|
326
332
|
|
|
327
|
-
export
|
|
328
|
-
name: "InvalidPublicKeyException";
|
|
329
|
-
$fault: "client";
|
|
330
|
-
|
|
333
|
+
export declare class InvalidPublicKeyException extends __BaseException {
|
|
334
|
+
readonly name: "InvalidPublicKeyException";
|
|
335
|
+
readonly $fault: "client";
|
|
336
|
+
|
|
337
|
+
constructor(opts: __ExceptionOptionType<InvalidPublicKeyException, __BaseException>);
|
|
331
338
|
}
|
|
332
339
|
export interface UploadSSHPublicKeyRequest {
|
|
333
340
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: IAMClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: IAMClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: IAMClientConfig) => {
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|