@aws-sdk/client-iam 3.46.0 → 3.48.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.
@@ -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) | FetchHttpHandler;
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/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
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) | NodeHttpHandler;
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,17 +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.46.0",
4
+ "version": "3.48.0",
5
5
  "scripts": {
6
- "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
- "build:cjs": "tsc -p tsconfig.json",
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
8
  "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "yarn clean:dist && yarn clean:docs",
13
- "clean:dist": "rimraf ./dist-*",
14
- "clean:docs": "rimraf ./docs"
12
+ "clean": "rimraf ./dist-*"
15
13
  },
16
14
  "main": "./dist-cjs/index.js",
17
15
  "types": "./dist-types/index.d.ts",
@@ -20,41 +18,43 @@
20
18
  "dependencies": {
21
19
  "@aws-crypto/sha256-browser": "2.0.0",
22
20
  "@aws-crypto/sha256-js": "2.0.0",
23
- "@aws-sdk/client-sts": "3.46.0",
24
- "@aws-sdk/config-resolver": "3.46.0",
25
- "@aws-sdk/credential-provider-node": "3.46.0",
26
- "@aws-sdk/fetch-http-handler": "3.46.0",
27
- "@aws-sdk/hash-node": "3.46.0",
28
- "@aws-sdk/invalid-dependency": "3.46.0",
29
- "@aws-sdk/middleware-content-length": "3.46.0",
30
- "@aws-sdk/middleware-host-header": "3.46.0",
31
- "@aws-sdk/middleware-logger": "3.46.0",
32
- "@aws-sdk/middleware-retry": "3.46.0",
33
- "@aws-sdk/middleware-serde": "3.46.0",
34
- "@aws-sdk/middleware-signing": "3.46.0",
35
- "@aws-sdk/middleware-stack": "3.46.0",
36
- "@aws-sdk/middleware-user-agent": "3.46.0",
37
- "@aws-sdk/node-config-provider": "3.46.0",
38
- "@aws-sdk/node-http-handler": "3.46.0",
39
- "@aws-sdk/protocol-http": "3.46.0",
40
- "@aws-sdk/smithy-client": "3.46.0",
41
- "@aws-sdk/types": "3.46.0",
42
- "@aws-sdk/url-parser": "3.46.0",
43
- "@aws-sdk/util-base64-browser": "3.46.0",
44
- "@aws-sdk/util-base64-node": "3.46.0",
45
- "@aws-sdk/util-body-length-browser": "3.46.0",
46
- "@aws-sdk/util-body-length-node": "3.46.0",
47
- "@aws-sdk/util-user-agent-browser": "3.46.0",
48
- "@aws-sdk/util-user-agent-node": "3.46.0",
49
- "@aws-sdk/util-utf8-browser": "3.46.0",
50
- "@aws-sdk/util-utf8-node": "3.46.0",
51
- "@aws-sdk/util-waiter": "3.46.0",
21
+ "@aws-sdk/client-sts": "3.48.0",
22
+ "@aws-sdk/config-resolver": "3.47.2",
23
+ "@aws-sdk/credential-provider-node": "3.48.0",
24
+ "@aws-sdk/fetch-http-handler": "3.47.2",
25
+ "@aws-sdk/hash-node": "3.47.2",
26
+ "@aws-sdk/invalid-dependency": "3.47.2",
27
+ "@aws-sdk/middleware-content-length": "3.47.2",
28
+ "@aws-sdk/middleware-host-header": "3.47.2",
29
+ "@aws-sdk/middleware-logger": "3.47.2",
30
+ "@aws-sdk/middleware-retry": "3.47.2",
31
+ "@aws-sdk/middleware-serde": "3.47.2",
32
+ "@aws-sdk/middleware-signing": "3.47.2",
33
+ "@aws-sdk/middleware-stack": "3.47.2",
34
+ "@aws-sdk/middleware-user-agent": "3.47.2",
35
+ "@aws-sdk/node-config-provider": "3.47.2",
36
+ "@aws-sdk/node-http-handler": "3.47.2",
37
+ "@aws-sdk/protocol-http": "3.47.2",
38
+ "@aws-sdk/smithy-client": "3.47.2",
39
+ "@aws-sdk/types": "3.47.1",
40
+ "@aws-sdk/url-parser": "3.47.2",
41
+ "@aws-sdk/util-base64-browser": "3.47.1",
42
+ "@aws-sdk/util-base64-node": "3.47.2",
43
+ "@aws-sdk/util-body-length-browser": "3.47.1",
44
+ "@aws-sdk/util-body-length-node": "3.47.1",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.47.2",
46
+ "@aws-sdk/util-defaults-mode-node": "3.47.2",
47
+ "@aws-sdk/util-user-agent-browser": "3.47.2",
48
+ "@aws-sdk/util-user-agent-node": "3.47.2",
49
+ "@aws-sdk/util-utf8-browser": "3.47.1",
50
+ "@aws-sdk/util-utf8-node": "3.47.2",
51
+ "@aws-sdk/util-waiter": "3.47.2",
52
52
  "entities": "2.2.0",
53
53
  "fast-xml-parser": "3.19.0",
54
54
  "tslib": "^2.3.0"
55
55
  },
56
56
  "devDependencies": {
57
- "@aws-sdk/service-client-documentation-generator": "3.46.0",
57
+ "@aws-sdk/service-client-documentation-generator": "3.47.1",
58
58
  "@types/node": "^12.7.5"
59
59
  },
60
60
  "engines": {