@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
|
@@ -25,34 +25,10 @@ export var AddClientIDToOpenIDConnectProviderRequest;
|
|
|
25
25
|
(function (AddClientIDToOpenIDConnectProviderRequest) {
|
|
26
26
|
AddClientIDToOpenIDConnectProviderRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
27
27
|
})(AddClientIDToOpenIDConnectProviderRequest || (AddClientIDToOpenIDConnectProviderRequest = {}));
|
|
28
|
-
export var InvalidInputException;
|
|
29
|
-
(function (InvalidInputException) {
|
|
30
|
-
InvalidInputException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
31
|
-
})(InvalidInputException || (InvalidInputException = {}));
|
|
32
|
-
export var LimitExceededException;
|
|
33
|
-
(function (LimitExceededException) {
|
|
34
|
-
LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
35
|
-
})(LimitExceededException || (LimitExceededException = {}));
|
|
36
|
-
export var NoSuchEntityException;
|
|
37
|
-
(function (NoSuchEntityException) {
|
|
38
|
-
NoSuchEntityException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
39
|
-
})(NoSuchEntityException || (NoSuchEntityException = {}));
|
|
40
|
-
export var ServiceFailureException;
|
|
41
|
-
(function (ServiceFailureException) {
|
|
42
|
-
ServiceFailureException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
43
|
-
})(ServiceFailureException || (ServiceFailureException = {}));
|
|
44
28
|
export var AddRoleToInstanceProfileRequest;
|
|
45
29
|
(function (AddRoleToInstanceProfileRequest) {
|
|
46
30
|
AddRoleToInstanceProfileRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
47
31
|
})(AddRoleToInstanceProfileRequest || (AddRoleToInstanceProfileRequest = {}));
|
|
48
|
-
export var EntityAlreadyExistsException;
|
|
49
|
-
(function (EntityAlreadyExistsException) {
|
|
50
|
-
EntityAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
51
|
-
})(EntityAlreadyExistsException || (EntityAlreadyExistsException = {}));
|
|
52
|
-
export var UnmodifiableEntityException;
|
|
53
|
-
(function (UnmodifiableEntityException) {
|
|
54
|
-
UnmodifiableEntityException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
55
|
-
})(UnmodifiableEntityException || (UnmodifiableEntityException = {}));
|
|
56
32
|
export var AddUserToGroupRequest;
|
|
57
33
|
(function (AddUserToGroupRequest) {
|
|
58
34
|
AddUserToGroupRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -73,10 +49,6 @@ export var AttachGroupPolicyRequest;
|
|
|
73
49
|
(function (AttachGroupPolicyRequest) {
|
|
74
50
|
AttachGroupPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
75
51
|
})(AttachGroupPolicyRequest || (AttachGroupPolicyRequest = {}));
|
|
76
|
-
export var PolicyNotAttachableException;
|
|
77
|
-
(function (PolicyNotAttachableException) {
|
|
78
|
-
PolicyNotAttachableException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
79
|
-
})(PolicyNotAttachableException || (PolicyNotAttachableException = {}));
|
|
80
52
|
export var AttachRolePolicyRequest;
|
|
81
53
|
(function (AttachRolePolicyRequest) {
|
|
82
54
|
AttachRolePolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -89,18 +61,6 @@ export var ChangePasswordRequest;
|
|
|
89
61
|
(function (ChangePasswordRequest) {
|
|
90
62
|
ChangePasswordRequest.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.OldPassword && { OldPassword: SENSITIVE_STRING })), (obj.NewPassword && { NewPassword: SENSITIVE_STRING }))); };
|
|
91
63
|
})(ChangePasswordRequest || (ChangePasswordRequest = {}));
|
|
92
|
-
export var EntityTemporarilyUnmodifiableException;
|
|
93
|
-
(function (EntityTemporarilyUnmodifiableException) {
|
|
94
|
-
EntityTemporarilyUnmodifiableException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
95
|
-
})(EntityTemporarilyUnmodifiableException || (EntityTemporarilyUnmodifiableException = {}));
|
|
96
|
-
export var InvalidUserTypeException;
|
|
97
|
-
(function (InvalidUserTypeException) {
|
|
98
|
-
InvalidUserTypeException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
99
|
-
})(InvalidUserTypeException || (InvalidUserTypeException = {}));
|
|
100
|
-
export var PasswordPolicyViolationException;
|
|
101
|
-
(function (PasswordPolicyViolationException) {
|
|
102
|
-
PasswordPolicyViolationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
103
|
-
})(PasswordPolicyViolationException || (PasswordPolicyViolationException = {}));
|
|
104
64
|
export var CreateAccessKeyRequest;
|
|
105
65
|
(function (CreateAccessKeyRequest) {
|
|
106
66
|
CreateAccessKeyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -125,10 +85,6 @@ export var CreateGroupResponse;
|
|
|
125
85
|
(function (CreateGroupResponse) {
|
|
126
86
|
CreateGroupResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
127
87
|
})(CreateGroupResponse || (CreateGroupResponse = {}));
|
|
128
|
-
export var ConcurrentModificationException;
|
|
129
|
-
(function (ConcurrentModificationException) {
|
|
130
|
-
ConcurrentModificationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
131
|
-
})(ConcurrentModificationException || (ConcurrentModificationException = {}));
|
|
132
88
|
export var Tag;
|
|
133
89
|
(function (Tag) {
|
|
134
90
|
Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -185,10 +141,6 @@ export var CreatePolicyResponse;
|
|
|
185
141
|
(function (CreatePolicyResponse) {
|
|
186
142
|
CreatePolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
187
143
|
})(CreatePolicyResponse || (CreatePolicyResponse = {}));
|
|
188
|
-
export var MalformedPolicyDocumentException;
|
|
189
|
-
(function (MalformedPolicyDocumentException) {
|
|
190
|
-
MalformedPolicyDocumentException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
191
|
-
})(MalformedPolicyDocumentException || (MalformedPolicyDocumentException = {}));
|
|
192
144
|
export var CreatePolicyVersionRequest;
|
|
193
145
|
(function (CreatePolicyVersionRequest) {
|
|
194
146
|
CreatePolicyVersionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -239,10 +191,6 @@ export var CreateServiceSpecificCredentialResponse;
|
|
|
239
191
|
ServiceSpecificCredential: ServiceSpecificCredential.filterSensitiveLog(obj.ServiceSpecificCredential),
|
|
240
192
|
}))); };
|
|
241
193
|
})(CreateServiceSpecificCredentialResponse || (CreateServiceSpecificCredentialResponse = {}));
|
|
242
|
-
export var ServiceNotSupportedException;
|
|
243
|
-
(function (ServiceNotSupportedException) {
|
|
244
|
-
ServiceNotSupportedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
245
|
-
})(ServiceNotSupportedException || (ServiceNotSupportedException = {}));
|
|
246
194
|
export var CreateUserRequest;
|
|
247
195
|
(function (CreateUserRequest) {
|
|
248
196
|
CreateUserRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -279,10 +227,6 @@ export var DeleteAccountAliasRequest;
|
|
|
279
227
|
(function (DeleteAccountAliasRequest) {
|
|
280
228
|
DeleteAccountAliasRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
281
229
|
})(DeleteAccountAliasRequest || (DeleteAccountAliasRequest = {}));
|
|
282
|
-
export var DeleteConflictException;
|
|
283
|
-
(function (DeleteConflictException) {
|
|
284
|
-
DeleteConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
285
|
-
})(DeleteConflictException || (DeleteConflictException = {}));
|
|
286
230
|
export var DeleteGroupRequest;
|
|
287
231
|
(function (DeleteGroupRequest) {
|
|
288
232
|
DeleteGroupRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -383,10 +327,6 @@ export var EnableMFADeviceRequest;
|
|
|
383
327
|
(function (EnableMFADeviceRequest) {
|
|
384
328
|
EnableMFADeviceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
385
329
|
})(EnableMFADeviceRequest || (EnableMFADeviceRequest = {}));
|
|
386
|
-
export var InvalidAuthenticationCodeException;
|
|
387
|
-
(function (InvalidAuthenticationCodeException) {
|
|
388
|
-
InvalidAuthenticationCodeException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
389
|
-
})(InvalidAuthenticationCodeException || (InvalidAuthenticationCodeException = {}));
|
|
390
330
|
export var ReportStateType;
|
|
391
331
|
(function (ReportStateType) {
|
|
392
332
|
ReportStateType["COMPLETE"] = "COMPLETE";
|
|
@@ -405,10 +345,6 @@ export var GenerateOrganizationsAccessReportResponse;
|
|
|
405
345
|
(function (GenerateOrganizationsAccessReportResponse) {
|
|
406
346
|
GenerateOrganizationsAccessReportResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
407
347
|
})(GenerateOrganizationsAccessReportResponse || (GenerateOrganizationsAccessReportResponse = {}));
|
|
408
|
-
export var ReportGenerationLimitExceededException;
|
|
409
|
-
(function (ReportGenerationLimitExceededException) {
|
|
410
|
-
ReportGenerationLimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
411
|
-
})(ReportGenerationLimitExceededException || (ReportGenerationLimitExceededException = {}));
|
|
412
348
|
export var GenerateServiceLastAccessedDetailsRequest;
|
|
413
349
|
(function (GenerateServiceLastAccessedDetailsRequest) {
|
|
414
350
|
GenerateServiceLastAccessedDetailsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -485,18 +421,6 @@ export var GetContextKeysForPrincipalPolicyRequest;
|
|
|
485
421
|
(function (GetContextKeysForPrincipalPolicyRequest) {
|
|
486
422
|
GetContextKeysForPrincipalPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
487
423
|
})(GetContextKeysForPrincipalPolicyRequest || (GetContextKeysForPrincipalPolicyRequest = {}));
|
|
488
|
-
export var CredentialReportExpiredException;
|
|
489
|
-
(function (CredentialReportExpiredException) {
|
|
490
|
-
CredentialReportExpiredException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
491
|
-
})(CredentialReportExpiredException || (CredentialReportExpiredException = {}));
|
|
492
|
-
export var CredentialReportNotPresentException;
|
|
493
|
-
(function (CredentialReportNotPresentException) {
|
|
494
|
-
CredentialReportNotPresentException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
495
|
-
})(CredentialReportNotPresentException || (CredentialReportNotPresentException = {}));
|
|
496
|
-
export var CredentialReportNotReadyException;
|
|
497
|
-
(function (CredentialReportNotReadyException) {
|
|
498
|
-
CredentialReportNotReadyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
499
|
-
})(CredentialReportNotReadyException || (CredentialReportNotReadyException = {}));
|
|
500
424
|
export var GetCredentialReportResponse;
|
|
501
425
|
(function (GetCredentialReportResponse) {
|
|
502
426
|
GetCredentialReportResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -689,10 +613,6 @@ export var GetSSHPublicKeyResponse;
|
|
|
689
613
|
(function (GetSSHPublicKeyResponse) {
|
|
690
614
|
GetSSHPublicKeyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
691
615
|
})(GetSSHPublicKeyResponse || (GetSSHPublicKeyResponse = {}));
|
|
692
|
-
export var UnrecognizedPublicKeyEncodingException;
|
|
693
|
-
(function (UnrecognizedPublicKeyEncodingException) {
|
|
694
|
-
UnrecognizedPublicKeyEncodingException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
695
|
-
})(UnrecognizedPublicKeyEncodingException || (UnrecognizedPublicKeyEncodingException = {}));
|
|
696
616
|
export var GetUserRequest;
|
|
697
617
|
(function (GetUserRequest) {
|
|
698
618
|
GetUserRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1097,10 +1017,6 @@ export var SetSecurityTokenServicePreferencesRequest;
|
|
|
1097
1017
|
(function (SetSecurityTokenServicePreferencesRequest) {
|
|
1098
1018
|
SetSecurityTokenServicePreferencesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1099
1019
|
})(SetSecurityTokenServicePreferencesRequest || (SetSecurityTokenServicePreferencesRequest = {}));
|
|
1100
|
-
export var PolicyEvaluationException;
|
|
1101
|
-
(function (PolicyEvaluationException) {
|
|
1102
|
-
PolicyEvaluationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1103
|
-
})(PolicyEvaluationException || (PolicyEvaluationException = {}));
|
|
1104
1020
|
export var ContextKeyTypeEnum;
|
|
1105
1021
|
(function (ContextKeyTypeEnum) {
|
|
1106
1022
|
ContextKeyTypeEnum["BINARY"] = "binary";
|
|
@@ -88,14 +88,6 @@ export var UpdateUserRequest;
|
|
|
88
88
|
(function (UpdateUserRequest) {
|
|
89
89
|
UpdateUserRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
90
90
|
})(UpdateUserRequest || (UpdateUserRequest = {}));
|
|
91
|
-
export var KeyPairMismatchException;
|
|
92
|
-
(function (KeyPairMismatchException) {
|
|
93
|
-
KeyPairMismatchException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
94
|
-
})(KeyPairMismatchException || (KeyPairMismatchException = {}));
|
|
95
|
-
export var MalformedCertificateException;
|
|
96
|
-
(function (MalformedCertificateException) {
|
|
97
|
-
MalformedCertificateException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
98
|
-
})(MalformedCertificateException || (MalformedCertificateException = {}));
|
|
99
91
|
export var UploadServerCertificateRequest;
|
|
100
92
|
(function (UploadServerCertificateRequest) {
|
|
101
93
|
UploadServerCertificateRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.PrivateKey && { PrivateKey: SENSITIVE_STRING }))); };
|
|
@@ -104,14 +96,6 @@ export var UploadServerCertificateResponse;
|
|
|
104
96
|
(function (UploadServerCertificateResponse) {
|
|
105
97
|
UploadServerCertificateResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
106
98
|
})(UploadServerCertificateResponse || (UploadServerCertificateResponse = {}));
|
|
107
|
-
export var DuplicateCertificateException;
|
|
108
|
-
(function (DuplicateCertificateException) {
|
|
109
|
-
DuplicateCertificateException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
110
|
-
})(DuplicateCertificateException || (DuplicateCertificateException = {}));
|
|
111
|
-
export var InvalidCertificateException;
|
|
112
|
-
(function (InvalidCertificateException) {
|
|
113
|
-
InvalidCertificateException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
114
|
-
})(InvalidCertificateException || (InvalidCertificateException = {}));
|
|
115
99
|
export var UploadSigningCertificateRequest;
|
|
116
100
|
(function (UploadSigningCertificateRequest) {
|
|
117
101
|
UploadSigningCertificateRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -120,14 +104,6 @@ export var UploadSigningCertificateResponse;
|
|
|
120
104
|
(function (UploadSigningCertificateResponse) {
|
|
121
105
|
UploadSigningCertificateResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
122
106
|
})(UploadSigningCertificateResponse || (UploadSigningCertificateResponse = {}));
|
|
123
|
-
export var DuplicateSSHPublicKeyException;
|
|
124
|
-
(function (DuplicateSSHPublicKeyException) {
|
|
125
|
-
DuplicateSSHPublicKeyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
126
|
-
})(DuplicateSSHPublicKeyException || (DuplicateSSHPublicKeyException = {}));
|
|
127
|
-
export var InvalidPublicKeyException;
|
|
128
|
-
(function (InvalidPublicKeyException) {
|
|
129
|
-
InvalidPublicKeyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
130
|
-
})(InvalidPublicKeyException || (InvalidPublicKeyException = {}));
|
|
131
107
|
export var UploadSSHPublicKeyRequest;
|
|
132
108
|
(function (UploadSSHPublicKeyRequest) {
|
|
133
109
|
UploadSSHPublicKeyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
10
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
15
|
export var getRuntimeConfig = function (config) {
|
|
14
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
15
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
17
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,21 +1,28 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import {
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
16
17
|
export var getRuntimeConfig = function (config) {
|
|
17
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
19
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
28
|
};
|
|
@@ -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";
|
|
@@ -266,6 +266,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
266
266
|
* @internal
|
|
267
267
|
*/
|
|
268
268
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
269
|
+
/**
|
|
270
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
271
|
+
*/
|
|
272
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
269
273
|
}
|
|
270
274
|
declare type IAMClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
271
275
|
/**
|
|
@@ -222,12 +222,6 @@ export interface InvalidInputException extends __SmithyException, $MetadataBeare
|
|
|
222
222
|
$fault: "client";
|
|
223
223
|
message?: string;
|
|
224
224
|
}
|
|
225
|
-
export declare namespace InvalidInputException {
|
|
226
|
-
/**
|
|
227
|
-
* @internal
|
|
228
|
-
*/
|
|
229
|
-
const filterSensitiveLog: (obj: InvalidInputException) => any;
|
|
230
|
-
}
|
|
231
225
|
/**
|
|
232
226
|
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
233
227
|
* account limits. The error message describes the limit exceeded.</p>
|
|
@@ -237,12 +231,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
237
231
|
$fault: "client";
|
|
238
232
|
message?: string;
|
|
239
233
|
}
|
|
240
|
-
export declare namespace LimitExceededException {
|
|
241
|
-
/**
|
|
242
|
-
* @internal
|
|
243
|
-
*/
|
|
244
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
245
|
-
}
|
|
246
234
|
/**
|
|
247
235
|
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
248
236
|
* error message describes the resource.</p>
|
|
@@ -252,12 +240,6 @@ export interface NoSuchEntityException extends __SmithyException, $MetadataBeare
|
|
|
252
240
|
$fault: "client";
|
|
253
241
|
message?: string;
|
|
254
242
|
}
|
|
255
|
-
export declare namespace NoSuchEntityException {
|
|
256
|
-
/**
|
|
257
|
-
* @internal
|
|
258
|
-
*/
|
|
259
|
-
const filterSensitiveLog: (obj: NoSuchEntityException) => any;
|
|
260
|
-
}
|
|
261
243
|
/**
|
|
262
244
|
* <p>The request processing has failed because of an unknown error, exception or
|
|
263
245
|
* failure.</p>
|
|
@@ -267,12 +249,6 @@ export interface ServiceFailureException extends __SmithyException, $MetadataBea
|
|
|
267
249
|
$fault: "server";
|
|
268
250
|
message?: string;
|
|
269
251
|
}
|
|
270
|
-
export declare namespace ServiceFailureException {
|
|
271
|
-
/**
|
|
272
|
-
* @internal
|
|
273
|
-
*/
|
|
274
|
-
const filterSensitiveLog: (obj: ServiceFailureException) => any;
|
|
275
|
-
}
|
|
276
252
|
export interface AddRoleToInstanceProfileRequest {
|
|
277
253
|
/**
|
|
278
254
|
* <p>The name of the instance profile to update.</p>
|
|
@@ -302,12 +278,6 @@ export interface EntityAlreadyExistsException extends __SmithyException, $Metada
|
|
|
302
278
|
$fault: "client";
|
|
303
279
|
message?: string;
|
|
304
280
|
}
|
|
305
|
-
export declare namespace EntityAlreadyExistsException {
|
|
306
|
-
/**
|
|
307
|
-
* @internal
|
|
308
|
-
*/
|
|
309
|
-
const filterSensitiveLog: (obj: EntityAlreadyExistsException) => any;
|
|
310
|
-
}
|
|
311
281
|
/**
|
|
312
282
|
* <p>The request was rejected because only the service that depends on the service-linked role
|
|
313
283
|
* can modify or delete the role on your behalf. The error message includes the name of the
|
|
@@ -319,12 +289,6 @@ export interface UnmodifiableEntityException extends __SmithyException, $Metadat
|
|
|
319
289
|
$fault: "client";
|
|
320
290
|
message?: string;
|
|
321
291
|
}
|
|
322
|
-
export declare namespace UnmodifiableEntityException {
|
|
323
|
-
/**
|
|
324
|
-
* @internal
|
|
325
|
-
*/
|
|
326
|
-
const filterSensitiveLog: (obj: UnmodifiableEntityException) => any;
|
|
327
|
-
}
|
|
328
292
|
export interface AddUserToGroupRequest {
|
|
329
293
|
/**
|
|
330
294
|
* <p>The name of the group to update.</p>
|
|
@@ -427,12 +391,6 @@ export interface PolicyNotAttachableException extends __SmithyException, $Metada
|
|
|
427
391
|
$fault: "client";
|
|
428
392
|
message?: string;
|
|
429
393
|
}
|
|
430
|
-
export declare namespace PolicyNotAttachableException {
|
|
431
|
-
/**
|
|
432
|
-
* @internal
|
|
433
|
-
*/
|
|
434
|
-
const filterSensitiveLog: (obj: PolicyNotAttachableException) => any;
|
|
435
|
-
}
|
|
436
394
|
export interface AttachRolePolicyRequest {
|
|
437
395
|
/**
|
|
438
396
|
* <p>The name (friendly name, not ARN) of the role to attach the policy to.</p>
|
|
@@ -506,12 +464,6 @@ export interface EntityTemporarilyUnmodifiableException extends __SmithyExceptio
|
|
|
506
464
|
$fault: "client";
|
|
507
465
|
message?: string;
|
|
508
466
|
}
|
|
509
|
-
export declare namespace EntityTemporarilyUnmodifiableException {
|
|
510
|
-
/**
|
|
511
|
-
* @internal
|
|
512
|
-
*/
|
|
513
|
-
const filterSensitiveLog: (obj: EntityTemporarilyUnmodifiableException) => any;
|
|
514
|
-
}
|
|
515
467
|
/**
|
|
516
468
|
* <p>The request was rejected because the type of user for the transaction was
|
|
517
469
|
* incorrect.</p>
|
|
@@ -521,12 +473,6 @@ export interface InvalidUserTypeException extends __SmithyException, $MetadataBe
|
|
|
521
473
|
$fault: "client";
|
|
522
474
|
message?: string;
|
|
523
475
|
}
|
|
524
|
-
export declare namespace InvalidUserTypeException {
|
|
525
|
-
/**
|
|
526
|
-
* @internal
|
|
527
|
-
*/
|
|
528
|
-
const filterSensitiveLog: (obj: InvalidUserTypeException) => any;
|
|
529
|
-
}
|
|
530
476
|
/**
|
|
531
477
|
* <p>The request was rejected because the provided password did not meet the requirements
|
|
532
478
|
* imposed by the account password policy.</p>
|
|
@@ -536,12 +482,6 @@ export interface PasswordPolicyViolationException extends __SmithyException, $Me
|
|
|
536
482
|
$fault: "client";
|
|
537
483
|
message?: string;
|
|
538
484
|
}
|
|
539
|
-
export declare namespace PasswordPolicyViolationException {
|
|
540
|
-
/**
|
|
541
|
-
* @internal
|
|
542
|
-
*/
|
|
543
|
-
const filterSensitiveLog: (obj: PasswordPolicyViolationException) => any;
|
|
544
|
-
}
|
|
545
485
|
export interface CreateAccessKeyRequest {
|
|
546
486
|
/**
|
|
547
487
|
* <p>The name of the IAM user that the new key will belong to.</p>
|
|
@@ -691,12 +631,6 @@ export interface ConcurrentModificationException extends __SmithyException, $Met
|
|
|
691
631
|
$fault: "client";
|
|
692
632
|
message?: string;
|
|
693
633
|
}
|
|
694
|
-
export declare namespace ConcurrentModificationException {
|
|
695
|
-
/**
|
|
696
|
-
* @internal
|
|
697
|
-
*/
|
|
698
|
-
const filterSensitiveLog: (obj: ConcurrentModificationException) => any;
|
|
699
|
-
}
|
|
700
634
|
/**
|
|
701
635
|
* <p>A structure that represents user-provided metadata that can be associated with an IAM
|
|
702
636
|
* resource. For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
|
|
@@ -1285,12 +1219,6 @@ export interface MalformedPolicyDocumentException extends __SmithyException, $Me
|
|
|
1285
1219
|
$fault: "client";
|
|
1286
1220
|
message?: string;
|
|
1287
1221
|
}
|
|
1288
|
-
export declare namespace MalformedPolicyDocumentException {
|
|
1289
|
-
/**
|
|
1290
|
-
* @internal
|
|
1291
|
-
*/
|
|
1292
|
-
const filterSensitiveLog: (obj: MalformedPolicyDocumentException) => any;
|
|
1293
|
-
}
|
|
1294
1222
|
export interface CreatePolicyVersionRequest {
|
|
1295
1223
|
/**
|
|
1296
1224
|
* <p>The Amazon Resource Name (ARN) of the IAM policy to which you want to add a new
|
|
@@ -1692,12 +1620,6 @@ export interface ServiceNotSupportedException extends __SmithyException, $Metada
|
|
|
1692
1620
|
$fault: "client";
|
|
1693
1621
|
message?: string;
|
|
1694
1622
|
}
|
|
1695
|
-
export declare namespace ServiceNotSupportedException {
|
|
1696
|
-
/**
|
|
1697
|
-
* @internal
|
|
1698
|
-
*/
|
|
1699
|
-
const filterSensitiveLog: (obj: ServiceNotSupportedException) => any;
|
|
1700
|
-
}
|
|
1701
1623
|
export interface CreateUserRequest {
|
|
1702
1624
|
/**
|
|
1703
1625
|
* <p> The path for the user name. For more information about paths, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html">IAM
|
|
@@ -2001,12 +1923,6 @@ export interface DeleteConflictException extends __SmithyException, $MetadataBea
|
|
|
2001
1923
|
$fault: "client";
|
|
2002
1924
|
message?: string;
|
|
2003
1925
|
}
|
|
2004
|
-
export declare namespace DeleteConflictException {
|
|
2005
|
-
/**
|
|
2006
|
-
* @internal
|
|
2007
|
-
*/
|
|
2008
|
-
const filterSensitiveLog: (obj: DeleteConflictException) => any;
|
|
2009
|
-
}
|
|
2010
1926
|
export interface DeleteGroupRequest {
|
|
2011
1927
|
/**
|
|
2012
1928
|
* <p>The name of the IAM group to delete.</p>
|
|
@@ -2460,12 +2376,6 @@ export interface InvalidAuthenticationCodeException extends __SmithyException, $
|
|
|
2460
2376
|
$fault: "client";
|
|
2461
2377
|
message?: string;
|
|
2462
2378
|
}
|
|
2463
|
-
export declare namespace InvalidAuthenticationCodeException {
|
|
2464
|
-
/**
|
|
2465
|
-
* @internal
|
|
2466
|
-
*/
|
|
2467
|
-
const filterSensitiveLog: (obj: InvalidAuthenticationCodeException) => any;
|
|
2468
|
-
}
|
|
2469
2379
|
export declare enum ReportStateType {
|
|
2470
2380
|
COMPLETE = "COMPLETE",
|
|
2471
2381
|
INPROGRESS = "INPROGRESS",
|
|
@@ -2536,12 +2446,6 @@ export interface ReportGenerationLimitExceededException extends __SmithyExceptio
|
|
|
2536
2446
|
$fault: "client";
|
|
2537
2447
|
message?: string;
|
|
2538
2448
|
}
|
|
2539
|
-
export declare namespace ReportGenerationLimitExceededException {
|
|
2540
|
-
/**
|
|
2541
|
-
* @internal
|
|
2542
|
-
*/
|
|
2543
|
-
const filterSensitiveLog: (obj: ReportGenerationLimitExceededException) => any;
|
|
2544
|
-
}
|
|
2545
2449
|
export interface GenerateServiceLastAccessedDetailsRequest {
|
|
2546
2450
|
/**
|
|
2547
2451
|
* <p>The ARN of the IAM resource (user, group, role, or managed policy) used to generate
|
|
@@ -3174,12 +3078,6 @@ export interface CredentialReportExpiredException extends __SmithyException, $Me
|
|
|
3174
3078
|
$fault: "client";
|
|
3175
3079
|
message?: string;
|
|
3176
3080
|
}
|
|
3177
|
-
export declare namespace CredentialReportExpiredException {
|
|
3178
|
-
/**
|
|
3179
|
-
* @internal
|
|
3180
|
-
*/
|
|
3181
|
-
const filterSensitiveLog: (obj: CredentialReportExpiredException) => any;
|
|
3182
|
-
}
|
|
3183
3081
|
/**
|
|
3184
3082
|
* <p>The request was rejected because the credential report does not exist. To generate a
|
|
3185
3083
|
* credential report, use <a>GenerateCredentialReport</a>.</p>
|
|
@@ -3189,12 +3087,6 @@ export interface CredentialReportNotPresentException extends __SmithyException,
|
|
|
3189
3087
|
$fault: "client";
|
|
3190
3088
|
message?: string;
|
|
3191
3089
|
}
|
|
3192
|
-
export declare namespace CredentialReportNotPresentException {
|
|
3193
|
-
/**
|
|
3194
|
-
* @internal
|
|
3195
|
-
*/
|
|
3196
|
-
const filterSensitiveLog: (obj: CredentialReportNotPresentException) => any;
|
|
3197
|
-
}
|
|
3198
3090
|
/**
|
|
3199
3091
|
* <p>The request was rejected because the credential report is still being generated.</p>
|
|
3200
3092
|
*/
|
|
@@ -3203,12 +3095,6 @@ export interface CredentialReportNotReadyException extends __SmithyException, $M
|
|
|
3203
3095
|
$fault: "client";
|
|
3204
3096
|
message?: string;
|
|
3205
3097
|
}
|
|
3206
|
-
export declare namespace CredentialReportNotReadyException {
|
|
3207
|
-
/**
|
|
3208
|
-
* @internal
|
|
3209
|
-
*/
|
|
3210
|
-
const filterSensitiveLog: (obj: CredentialReportNotReadyException) => any;
|
|
3211
|
-
}
|
|
3212
3098
|
export declare type ReportFormatType = "text/csv";
|
|
3213
3099
|
/**
|
|
3214
3100
|
* <p>Contains the response to a successful <a>GetCredentialReport</a> request.
|
|
@@ -4387,12 +4273,6 @@ export interface UnrecognizedPublicKeyEncodingException extends __SmithyExceptio
|
|
|
4387
4273
|
$fault: "client";
|
|
4388
4274
|
message?: string;
|
|
4389
4275
|
}
|
|
4390
|
-
export declare namespace UnrecognizedPublicKeyEncodingException {
|
|
4391
|
-
/**
|
|
4392
|
-
* @internal
|
|
4393
|
-
*/
|
|
4394
|
-
const filterSensitiveLog: (obj: UnrecognizedPublicKeyEncodingException) => any;
|
|
4395
|
-
}
|
|
4396
4276
|
export interface GetUserRequest {
|
|
4397
4277
|
/**
|
|
4398
4278
|
* <p>The name of the user to get information about.</p>
|
|
@@ -7275,12 +7155,6 @@ export interface PolicyEvaluationException extends __SmithyException, $MetadataB
|
|
|
7275
7155
|
$fault: "server";
|
|
7276
7156
|
message?: string;
|
|
7277
7157
|
}
|
|
7278
|
-
export declare namespace PolicyEvaluationException {
|
|
7279
|
-
/**
|
|
7280
|
-
* @internal
|
|
7281
|
-
*/
|
|
7282
|
-
const filterSensitiveLog: (obj: PolicyEvaluationException) => any;
|
|
7283
|
-
}
|
|
7284
7158
|
export declare enum ContextKeyTypeEnum {
|
|
7285
7159
|
BINARY = "binary",
|
|
7286
7160
|
BINARY_LIST = "binaryList",
|
|
@@ -583,12 +583,6 @@ export interface KeyPairMismatchException extends __SmithyException, $MetadataBe
|
|
|
583
583
|
$fault: "client";
|
|
584
584
|
message?: string;
|
|
585
585
|
}
|
|
586
|
-
export declare namespace KeyPairMismatchException {
|
|
587
|
-
/**
|
|
588
|
-
* @internal
|
|
589
|
-
*/
|
|
590
|
-
const filterSensitiveLog: (obj: KeyPairMismatchException) => any;
|
|
591
|
-
}
|
|
592
586
|
/**
|
|
593
587
|
* <p>The request was rejected because the certificate was malformed or expired. The error
|
|
594
588
|
* message describes the specific error.</p>
|
|
@@ -598,12 +592,6 @@ export interface MalformedCertificateException extends __SmithyException, $Metad
|
|
|
598
592
|
$fault: "client";
|
|
599
593
|
message?: string;
|
|
600
594
|
}
|
|
601
|
-
export declare namespace MalformedCertificateException {
|
|
602
|
-
/**
|
|
603
|
-
* @internal
|
|
604
|
-
*/
|
|
605
|
-
const filterSensitiveLog: (obj: MalformedCertificateException) => any;
|
|
606
|
-
}
|
|
607
595
|
export interface UploadServerCertificateRequest {
|
|
608
596
|
/**
|
|
609
597
|
* <p>The path for the server certificate. For more information about paths, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html">IAM
|
|
@@ -738,12 +726,6 @@ export interface DuplicateCertificateException extends __SmithyException, $Metad
|
|
|
738
726
|
$fault: "client";
|
|
739
727
|
message?: string;
|
|
740
728
|
}
|
|
741
|
-
export declare namespace DuplicateCertificateException {
|
|
742
|
-
/**
|
|
743
|
-
* @internal
|
|
744
|
-
*/
|
|
745
|
-
const filterSensitiveLog: (obj: DuplicateCertificateException) => any;
|
|
746
|
-
}
|
|
747
729
|
/**
|
|
748
730
|
* <p>The request was rejected because the certificate is invalid.</p>
|
|
749
731
|
*/
|
|
@@ -752,12 +734,6 @@ export interface InvalidCertificateException extends __SmithyException, $Metadat
|
|
|
752
734
|
$fault: "client";
|
|
753
735
|
message?: string;
|
|
754
736
|
}
|
|
755
|
-
export declare namespace InvalidCertificateException {
|
|
756
|
-
/**
|
|
757
|
-
* @internal
|
|
758
|
-
*/
|
|
759
|
-
const filterSensitiveLog: (obj: InvalidCertificateException) => any;
|
|
760
|
-
}
|
|
761
737
|
export interface UploadSigningCertificateRequest {
|
|
762
738
|
/**
|
|
763
739
|
* <p>The name of the user the signing certificate is for.</p>
|
|
@@ -817,12 +793,6 @@ export interface DuplicateSSHPublicKeyException extends __SmithyException, $Meta
|
|
|
817
793
|
$fault: "client";
|
|
818
794
|
message?: string;
|
|
819
795
|
}
|
|
820
|
-
export declare namespace DuplicateSSHPublicKeyException {
|
|
821
|
-
/**
|
|
822
|
-
* @internal
|
|
823
|
-
*/
|
|
824
|
-
const filterSensitiveLog: (obj: DuplicateSSHPublicKeyException) => any;
|
|
825
|
-
}
|
|
826
796
|
/**
|
|
827
797
|
* <p>The request was rejected because the public key is malformed or otherwise invalid.</p>
|
|
828
798
|
*/
|
|
@@ -831,12 +801,6 @@ export interface InvalidPublicKeyException extends __SmithyException, $MetadataB
|
|
|
831
801
|
$fault: "client";
|
|
832
802
|
message?: string;
|
|
833
803
|
}
|
|
834
|
-
export declare namespace InvalidPublicKeyException {
|
|
835
|
-
/**
|
|
836
|
-
* @internal
|
|
837
|
-
*/
|
|
838
|
-
const filterSensitiveLog: (obj: InvalidPublicKeyException) => any;
|
|
839
|
-
}
|
|
840
804
|
export interface UploadSSHPublicKeyRequest {
|
|
841
805
|
/**
|
|
842
806
|
* <p>The name of the IAM user to associate the SSH public key with.</p>
|