@aws-sdk/client-iam 3.42.0 → 3.47.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 +48 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +6 -132
- package/dist-cjs/models/models_1.js +1 -37
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +0 -84
- package/dist-es/models/models_1.js +0 -24
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/IAMClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -126
- package/dist-types/models/models_1.d.ts +0 -36
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/IAMClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -84
- package/dist-types/ts3.4/models/models_1.d.ts +0 -24
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -46
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { IAMClientConfig } from "./IAMClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: IAMClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: IAMClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { IAMClientConfig } from "./IAMClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: IAMClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: IAMClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
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";
|
|
9
9
|
import { AddClientIDToOpenIDConnectProviderCommandInput, AddClientIDToOpenIDConnectProviderCommandOutput } from "./commands/AddClientIDToOpenIDConnectProviderCommand";
|
|
10
10
|
import { AddRoleToInstanceProfileCommandInput, AddRoleToInstanceProfileCommandOutput } from "./commands/AddRoleToInstanceProfileCommand";
|
|
@@ -209,6 +209,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
209
209
|
regionInfoProvider?: RegionInfoProvider;
|
|
210
210
|
|
|
211
211
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
212
|
+
|
|
213
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
212
214
|
}
|
|
213
215
|
declare type IAMClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
214
216
|
|
|
@@ -84,40 +84,24 @@ export interface InvalidInputException extends __SmithyException, $MetadataBeare
|
|
|
84
84
|
$fault: "client";
|
|
85
85
|
message?: string;
|
|
86
86
|
}
|
|
87
|
-
export declare namespace InvalidInputException {
|
|
88
|
-
|
|
89
|
-
const filterSensitiveLog: (obj: InvalidInputException) => any;
|
|
90
|
-
}
|
|
91
87
|
|
|
92
88
|
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
93
89
|
name: "LimitExceededException";
|
|
94
90
|
$fault: "client";
|
|
95
91
|
message?: string;
|
|
96
92
|
}
|
|
97
|
-
export declare namespace LimitExceededException {
|
|
98
|
-
|
|
99
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
100
|
-
}
|
|
101
93
|
|
|
102
94
|
export interface NoSuchEntityException extends __SmithyException, $MetadataBearer {
|
|
103
95
|
name: "NoSuchEntityException";
|
|
104
96
|
$fault: "client";
|
|
105
97
|
message?: string;
|
|
106
98
|
}
|
|
107
|
-
export declare namespace NoSuchEntityException {
|
|
108
|
-
|
|
109
|
-
const filterSensitiveLog: (obj: NoSuchEntityException) => any;
|
|
110
|
-
}
|
|
111
99
|
|
|
112
100
|
export interface ServiceFailureException extends __SmithyException, $MetadataBearer {
|
|
113
101
|
name: "ServiceFailureException";
|
|
114
102
|
$fault: "server";
|
|
115
103
|
message?: string;
|
|
116
104
|
}
|
|
117
|
-
export declare namespace ServiceFailureException {
|
|
118
|
-
|
|
119
|
-
const filterSensitiveLog: (obj: ServiceFailureException) => any;
|
|
120
|
-
}
|
|
121
105
|
export interface AddRoleToInstanceProfileRequest {
|
|
122
106
|
|
|
123
107
|
InstanceProfileName: string | undefined;
|
|
@@ -134,20 +118,12 @@ export interface EntityAlreadyExistsException extends __SmithyException, $Metada
|
|
|
134
118
|
$fault: "client";
|
|
135
119
|
message?: string;
|
|
136
120
|
}
|
|
137
|
-
export declare namespace EntityAlreadyExistsException {
|
|
138
|
-
|
|
139
|
-
const filterSensitiveLog: (obj: EntityAlreadyExistsException) => any;
|
|
140
|
-
}
|
|
141
121
|
|
|
142
122
|
export interface UnmodifiableEntityException extends __SmithyException, $MetadataBearer {
|
|
143
123
|
name: "UnmodifiableEntityException";
|
|
144
124
|
$fault: "client";
|
|
145
125
|
message?: string;
|
|
146
126
|
}
|
|
147
|
-
export declare namespace UnmodifiableEntityException {
|
|
148
|
-
|
|
149
|
-
const filterSensitiveLog: (obj: UnmodifiableEntityException) => any;
|
|
150
|
-
}
|
|
151
127
|
export interface AddUserToGroupRequest {
|
|
152
128
|
|
|
153
129
|
GroupName: string | undefined;
|
|
@@ -200,10 +176,6 @@ export interface PolicyNotAttachableException extends __SmithyException, $Metada
|
|
|
200
176
|
$fault: "client";
|
|
201
177
|
message?: string;
|
|
202
178
|
}
|
|
203
|
-
export declare namespace PolicyNotAttachableException {
|
|
204
|
-
|
|
205
|
-
const filterSensitiveLog: (obj: PolicyNotAttachableException) => any;
|
|
206
|
-
}
|
|
207
179
|
export interface AttachRolePolicyRequest {
|
|
208
180
|
|
|
209
181
|
RoleName: string | undefined;
|
|
@@ -240,30 +212,18 @@ export interface EntityTemporarilyUnmodifiableException extends __SmithyExceptio
|
|
|
240
212
|
$fault: "client";
|
|
241
213
|
message?: string;
|
|
242
214
|
}
|
|
243
|
-
export declare namespace EntityTemporarilyUnmodifiableException {
|
|
244
|
-
|
|
245
|
-
const filterSensitiveLog: (obj: EntityTemporarilyUnmodifiableException) => any;
|
|
246
|
-
}
|
|
247
215
|
|
|
248
216
|
export interface InvalidUserTypeException extends __SmithyException, $MetadataBearer {
|
|
249
217
|
name: "InvalidUserTypeException";
|
|
250
218
|
$fault: "client";
|
|
251
219
|
message?: string;
|
|
252
220
|
}
|
|
253
|
-
export declare namespace InvalidUserTypeException {
|
|
254
|
-
|
|
255
|
-
const filterSensitiveLog: (obj: InvalidUserTypeException) => any;
|
|
256
|
-
}
|
|
257
221
|
|
|
258
222
|
export interface PasswordPolicyViolationException extends __SmithyException, $MetadataBearer {
|
|
259
223
|
name: "PasswordPolicyViolationException";
|
|
260
224
|
$fault: "client";
|
|
261
225
|
message?: string;
|
|
262
226
|
}
|
|
263
|
-
export declare namespace PasswordPolicyViolationException {
|
|
264
|
-
|
|
265
|
-
const filterSensitiveLog: (obj: PasswordPolicyViolationException) => any;
|
|
266
|
-
}
|
|
267
227
|
export interface CreateAccessKeyRequest {
|
|
268
228
|
|
|
269
229
|
UserName?: string;
|
|
@@ -331,10 +291,6 @@ export interface ConcurrentModificationException extends __SmithyException, $Met
|
|
|
331
291
|
$fault: "client";
|
|
332
292
|
message?: string;
|
|
333
293
|
}
|
|
334
|
-
export declare namespace ConcurrentModificationException {
|
|
335
|
-
|
|
336
|
-
const filterSensitiveLog: (obj: ConcurrentModificationException) => any;
|
|
337
|
-
}
|
|
338
294
|
|
|
339
295
|
export interface Tag {
|
|
340
296
|
|
|
@@ -549,10 +505,6 @@ export interface MalformedPolicyDocumentException extends __SmithyException, $Me
|
|
|
549
505
|
$fault: "client";
|
|
550
506
|
message?: string;
|
|
551
507
|
}
|
|
552
|
-
export declare namespace MalformedPolicyDocumentException {
|
|
553
|
-
|
|
554
|
-
const filterSensitiveLog: (obj: MalformedPolicyDocumentException) => any;
|
|
555
|
-
}
|
|
556
508
|
export interface CreatePolicyVersionRequest {
|
|
557
509
|
|
|
558
510
|
PolicyArn: string | undefined;
|
|
@@ -706,10 +658,6 @@ export interface ServiceNotSupportedException extends __SmithyException, $Metada
|
|
|
706
658
|
$fault: "client";
|
|
707
659
|
message?: string;
|
|
708
660
|
}
|
|
709
|
-
export declare namespace ServiceNotSupportedException {
|
|
710
|
-
|
|
711
|
-
const filterSensitiveLog: (obj: ServiceNotSupportedException) => any;
|
|
712
|
-
}
|
|
713
661
|
export interface CreateUserRequest {
|
|
714
662
|
|
|
715
663
|
Path?: string;
|
|
@@ -830,10 +778,6 @@ export interface DeleteConflictException extends __SmithyException, $MetadataBea
|
|
|
830
778
|
$fault: "client";
|
|
831
779
|
message?: string;
|
|
832
780
|
}
|
|
833
|
-
export declare namespace DeleteConflictException {
|
|
834
|
-
|
|
835
|
-
const filterSensitiveLog: (obj: DeleteConflictException) => any;
|
|
836
|
-
}
|
|
837
781
|
export interface DeleteGroupRequest {
|
|
838
782
|
|
|
839
783
|
GroupName: string | undefined;
|
|
@@ -1066,10 +1010,6 @@ export interface InvalidAuthenticationCodeException extends __SmithyException, $
|
|
|
1066
1010
|
$fault: "client";
|
|
1067
1011
|
message?: string;
|
|
1068
1012
|
}
|
|
1069
|
-
export declare namespace InvalidAuthenticationCodeException {
|
|
1070
|
-
|
|
1071
|
-
const filterSensitiveLog: (obj: InvalidAuthenticationCodeException) => any;
|
|
1072
|
-
}
|
|
1073
1013
|
export declare enum ReportStateType {
|
|
1074
1014
|
COMPLETE = "COMPLETE",
|
|
1075
1015
|
INPROGRESS = "INPROGRESS",
|
|
@@ -1110,10 +1050,6 @@ export interface ReportGenerationLimitExceededException extends __SmithyExceptio
|
|
|
1110
1050
|
$fault: "client";
|
|
1111
1051
|
message?: string;
|
|
1112
1052
|
}
|
|
1113
|
-
export declare namespace ReportGenerationLimitExceededException {
|
|
1114
|
-
|
|
1115
|
-
const filterSensitiveLog: (obj: ReportGenerationLimitExceededException) => any;
|
|
1116
|
-
}
|
|
1117
1053
|
export interface GenerateServiceLastAccessedDetailsRequest {
|
|
1118
1054
|
|
|
1119
1055
|
Arn: string | undefined;
|
|
@@ -1391,30 +1327,18 @@ export interface CredentialReportExpiredException extends __SmithyException, $Me
|
|
|
1391
1327
|
$fault: "client";
|
|
1392
1328
|
message?: string;
|
|
1393
1329
|
}
|
|
1394
|
-
export declare namespace CredentialReportExpiredException {
|
|
1395
|
-
|
|
1396
|
-
const filterSensitiveLog: (obj: CredentialReportExpiredException) => any;
|
|
1397
|
-
}
|
|
1398
1330
|
|
|
1399
1331
|
export interface CredentialReportNotPresentException extends __SmithyException, $MetadataBearer {
|
|
1400
1332
|
name: "CredentialReportNotPresentException";
|
|
1401
1333
|
$fault: "client";
|
|
1402
1334
|
message?: string;
|
|
1403
1335
|
}
|
|
1404
|
-
export declare namespace CredentialReportNotPresentException {
|
|
1405
|
-
|
|
1406
|
-
const filterSensitiveLog: (obj: CredentialReportNotPresentException) => any;
|
|
1407
|
-
}
|
|
1408
1336
|
|
|
1409
1337
|
export interface CredentialReportNotReadyException extends __SmithyException, $MetadataBearer {
|
|
1410
1338
|
name: "CredentialReportNotReadyException";
|
|
1411
1339
|
$fault: "client";
|
|
1412
1340
|
message?: string;
|
|
1413
1341
|
}
|
|
1414
|
-
export declare namespace CredentialReportNotReadyException {
|
|
1415
|
-
|
|
1416
|
-
const filterSensitiveLog: (obj: CredentialReportNotReadyException) => any;
|
|
1417
|
-
}
|
|
1418
1342
|
export declare type ReportFormatType = "text/csv";
|
|
1419
1343
|
|
|
1420
1344
|
export interface GetCredentialReportResponse {
|
|
@@ -1974,10 +1898,6 @@ export interface UnrecognizedPublicKeyEncodingException extends __SmithyExceptio
|
|
|
1974
1898
|
$fault: "client";
|
|
1975
1899
|
message?: string;
|
|
1976
1900
|
}
|
|
1977
|
-
export declare namespace UnrecognizedPublicKeyEncodingException {
|
|
1978
|
-
|
|
1979
|
-
const filterSensitiveLog: (obj: UnrecognizedPublicKeyEncodingException) => any;
|
|
1980
|
-
}
|
|
1981
1901
|
export interface GetUserRequest {
|
|
1982
1902
|
|
|
1983
1903
|
UserName?: string;
|
|
@@ -3155,10 +3075,6 @@ export interface PolicyEvaluationException extends __SmithyException, $MetadataB
|
|
|
3155
3075
|
$fault: "server";
|
|
3156
3076
|
message?: string;
|
|
3157
3077
|
}
|
|
3158
|
-
export declare namespace PolicyEvaluationException {
|
|
3159
|
-
|
|
3160
|
-
const filterSensitiveLog: (obj: PolicyEvaluationException) => any;
|
|
3161
|
-
}
|
|
3162
3078
|
export declare enum ContextKeyTypeEnum {
|
|
3163
3079
|
BINARY = "binary",
|
|
3164
3080
|
BINARY_LIST = "binaryList",
|
|
@@ -251,20 +251,12 @@ export interface KeyPairMismatchException extends __SmithyException, $MetadataBe
|
|
|
251
251
|
$fault: "client";
|
|
252
252
|
message?: string;
|
|
253
253
|
}
|
|
254
|
-
export declare namespace KeyPairMismatchException {
|
|
255
|
-
|
|
256
|
-
const filterSensitiveLog: (obj: KeyPairMismatchException) => any;
|
|
257
|
-
}
|
|
258
254
|
|
|
259
255
|
export interface MalformedCertificateException extends __SmithyException, $MetadataBearer {
|
|
260
256
|
name: "MalformedCertificateException";
|
|
261
257
|
$fault: "client";
|
|
262
258
|
message?: string;
|
|
263
259
|
}
|
|
264
|
-
export declare namespace MalformedCertificateException {
|
|
265
|
-
|
|
266
|
-
const filterSensitiveLog: (obj: MalformedCertificateException) => any;
|
|
267
|
-
}
|
|
268
260
|
export interface UploadServerCertificateRequest {
|
|
269
261
|
|
|
270
262
|
Path?: string;
|
|
@@ -300,20 +292,12 @@ export interface DuplicateCertificateException extends __SmithyException, $Metad
|
|
|
300
292
|
$fault: "client";
|
|
301
293
|
message?: string;
|
|
302
294
|
}
|
|
303
|
-
export declare namespace DuplicateCertificateException {
|
|
304
|
-
|
|
305
|
-
const filterSensitiveLog: (obj: DuplicateCertificateException) => any;
|
|
306
|
-
}
|
|
307
295
|
|
|
308
296
|
export interface InvalidCertificateException extends __SmithyException, $MetadataBearer {
|
|
309
297
|
name: "InvalidCertificateException";
|
|
310
298
|
$fault: "client";
|
|
311
299
|
message?: string;
|
|
312
300
|
}
|
|
313
|
-
export declare namespace InvalidCertificateException {
|
|
314
|
-
|
|
315
|
-
const filterSensitiveLog: (obj: InvalidCertificateException) => any;
|
|
316
|
-
}
|
|
317
301
|
export interface UploadSigningCertificateRequest {
|
|
318
302
|
|
|
319
303
|
UserName?: string;
|
|
@@ -339,20 +323,12 @@ export interface DuplicateSSHPublicKeyException extends __SmithyException, $Meta
|
|
|
339
323
|
$fault: "client";
|
|
340
324
|
message?: string;
|
|
341
325
|
}
|
|
342
|
-
export declare namespace DuplicateSSHPublicKeyException {
|
|
343
|
-
|
|
344
|
-
const filterSensitiveLog: (obj: DuplicateSSHPublicKeyException) => any;
|
|
345
|
-
}
|
|
346
326
|
|
|
347
327
|
export interface InvalidPublicKeyException extends __SmithyException, $MetadataBearer {
|
|
348
328
|
name: "InvalidPublicKeyException";
|
|
349
329
|
$fault: "client";
|
|
350
330
|
message?: string;
|
|
351
331
|
}
|
|
352
|
-
export declare namespace InvalidPublicKeyException {
|
|
353
|
-
|
|
354
|
-
const filterSensitiveLog: (obj: InvalidPublicKeyException) => any;
|
|
355
|
-
}
|
|
356
332
|
export interface UploadSSHPublicKeyRequest {
|
|
357
333
|
|
|
358
334
|
UserName: string | undefined;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { IAMClientConfig } from "./IAMClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: IAMClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: IAMClientConfig) => {
|
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { IAMClientConfig } from "./IAMClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: IAMClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: IAMClientConfig) => {
|
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
26
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
28
|
tls?: boolean | undefined;
|
|
28
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iam",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.47.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
-
"build:docs": "
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
+
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
-
"
|
|
12
|
-
"clean
|
|
13
|
-
"clean:docs": "rimraf ./docs",
|
|
14
|
-
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
-
"test": "exit 0"
|
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
+
"clean": "rimraf ./dist-*"
|
|
16
13
|
},
|
|
17
14
|
"main": "./dist-cjs/index.js",
|
|
18
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -21,51 +18,47 @@
|
|
|
21
18
|
"dependencies": {
|
|
22
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
45
|
-
"@aws-sdk/util-base64-node": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-
|
|
49
|
-
"@aws-sdk/util-
|
|
50
|
-
"@aws-sdk/util-
|
|
51
|
-
"@aws-sdk/util-
|
|
52
|
-
"@aws-sdk/util-
|
|
21
|
+
"@aws-sdk/client-sts": "3.47.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.47.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.47.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.47.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.47.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.47.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.47.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.47.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.47.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.47.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.47.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.47.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.47.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.47.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.47.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.47.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.47.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.47.0",
|
|
39
|
+
"@aws-sdk/types": "3.47.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.47.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.47.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.47.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.47.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.47.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.47.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.47.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.47.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.47.0",
|
|
51
|
+
"@aws-sdk/util-waiter": "3.47.0",
|
|
53
52
|
"entities": "2.2.0",
|
|
54
53
|
"fast-xml-parser": "3.19.0",
|
|
55
54
|
"tslib": "^2.3.0"
|
|
56
55
|
},
|
|
57
56
|
"devDependencies": {
|
|
58
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
-
"@types/node": "^12.7.5"
|
|
60
|
-
"downlevel-dts": "0.7.0",
|
|
61
|
-
"jest": "^26.1.0",
|
|
62
|
-
"rimraf": "^3.0.0",
|
|
63
|
-
"ts-jest": "^26.4.1",
|
|
64
|
-
"typedoc": "^0.19.2",
|
|
65
|
-
"typescript": "~4.3.5"
|
|
57
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.0",
|
|
58
|
+
"@types/node": "^12.7.5"
|
|
66
59
|
},
|
|
67
60
|
"engines": {
|
|
68
|
-
"node": ">=
|
|
61
|
+
"node": ">=12.0.0"
|
|
69
62
|
},
|
|
70
63
|
"typesVersions": {
|
|
71
64
|
"<4.0": {
|