@aws-sdk/client-rolesanywhere 3.1074.0 → 3.1076.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/dist-cjs/index.js +895 -15
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/package.json +8 -8
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -46
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/RolesAnywhereServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -49
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -630
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
|
|
17
|
+
const defaultRolesAnywhereHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
|
+
return {
|
|
19
|
+
operation: getSmithyContext(context).operation,
|
|
20
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
21
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
22
|
+
})(),
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
26
|
+
return {
|
|
27
|
+
schemeId: "aws.auth#sigv4",
|
|
28
|
+
signingProperties: {
|
|
29
|
+
name: "rolesanywhere",
|
|
30
|
+
region: authParameters.region,
|
|
31
|
+
},
|
|
32
|
+
propertiesExtractor: (config, context) => ({
|
|
33
|
+
signingProperties: {
|
|
34
|
+
config,
|
|
35
|
+
context,
|
|
36
|
+
},
|
|
37
|
+
}),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
const defaultRolesAnywhereHttpAuthSchemeProvider = (authParameters) => {
|
|
41
|
+
const options = [];
|
|
42
|
+
switch (authParameters.operation) {
|
|
43
|
+
default: {
|
|
44
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return options;
|
|
48
|
+
};
|
|
49
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
50
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
51
|
+
return Object.assign(config_0, {
|
|
52
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
53
|
+
});
|
|
54
|
+
};
|
|
19
55
|
|
|
20
56
|
const resolveClientEndpointParameters = (options) => {
|
|
21
57
|
return Object.assign(options, {
|
|
@@ -31,6 +67,761 @@ const commonParams = {
|
|
|
31
67
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
68
|
};
|
|
33
69
|
|
|
70
|
+
var version = "3.1075.0";
|
|
71
|
+
var packageInfo = {
|
|
72
|
+
version: version};
|
|
73
|
+
|
|
74
|
+
const k = "ref";
|
|
75
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
76
|
+
const _data = {
|
|
77
|
+
conditions: [
|
|
78
|
+
[c, [g]],
|
|
79
|
+
[c, j],
|
|
80
|
+
["aws.partition", j, d],
|
|
81
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
82
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
83
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
84
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
85
|
+
],
|
|
86
|
+
results: [
|
|
87
|
+
[a],
|
|
88
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
89
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
90
|
+
[g, i],
|
|
91
|
+
["https://rolesanywhere-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
92
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
93
|
+
["https://rolesanywhere-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
94
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
95
|
+
["https://rolesanywhere.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
96
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
97
|
+
["https://rolesanywhere.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
98
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
99
|
+
]
|
|
100
|
+
};
|
|
101
|
+
const root = 2;
|
|
102
|
+
const r = 100_000_000;
|
|
103
|
+
const nodes = new Int32Array([
|
|
104
|
+
-1, 1, -1,
|
|
105
|
+
0, 12, 3,
|
|
106
|
+
1, 4, r + 11,
|
|
107
|
+
2, 5, r + 11,
|
|
108
|
+
3, 8, 6,
|
|
109
|
+
4, 7, r + 10,
|
|
110
|
+
5, r + 8, r + 9,
|
|
111
|
+
4, 10, 9,
|
|
112
|
+
6, r + 6, r + 7,
|
|
113
|
+
5, 11, r + 5,
|
|
114
|
+
6, r + 4, r + 5,
|
|
115
|
+
3, r + 1, 13,
|
|
116
|
+
4, r + 2, r + 3,
|
|
117
|
+
]);
|
|
118
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
119
|
+
|
|
120
|
+
const cache = new EndpointCache({
|
|
121
|
+
size: 50,
|
|
122
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
123
|
+
});
|
|
124
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
125
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
126
|
+
endpointParams: endpointParams,
|
|
127
|
+
logger: context.logger,
|
|
128
|
+
}));
|
|
129
|
+
};
|
|
130
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
131
|
+
|
|
132
|
+
class RolesAnywhereServiceException extends ServiceException {
|
|
133
|
+
constructor(options) {
|
|
134
|
+
super(options);
|
|
135
|
+
Object.setPrototypeOf(this, RolesAnywhereServiceException.prototype);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
class AccessDeniedException extends RolesAnywhereServiceException {
|
|
140
|
+
name = "AccessDeniedException";
|
|
141
|
+
$fault = "client";
|
|
142
|
+
constructor(opts) {
|
|
143
|
+
super({
|
|
144
|
+
name: "AccessDeniedException",
|
|
145
|
+
$fault: "client",
|
|
146
|
+
...opts,
|
|
147
|
+
});
|
|
148
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
class ValidationException extends RolesAnywhereServiceException {
|
|
152
|
+
name = "ValidationException";
|
|
153
|
+
$fault = "client";
|
|
154
|
+
constructor(opts) {
|
|
155
|
+
super({
|
|
156
|
+
name: "ValidationException",
|
|
157
|
+
$fault: "client",
|
|
158
|
+
...opts,
|
|
159
|
+
});
|
|
160
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
class ResourceNotFoundException extends RolesAnywhereServiceException {
|
|
164
|
+
name = "ResourceNotFoundException";
|
|
165
|
+
$fault = "client";
|
|
166
|
+
constructor(opts) {
|
|
167
|
+
super({
|
|
168
|
+
name: "ResourceNotFoundException",
|
|
169
|
+
$fault: "client",
|
|
170
|
+
...opts,
|
|
171
|
+
});
|
|
172
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
class TooManyTagsException extends RolesAnywhereServiceException {
|
|
176
|
+
name = "TooManyTagsException";
|
|
177
|
+
$fault = "client";
|
|
178
|
+
constructor(opts) {
|
|
179
|
+
super({
|
|
180
|
+
name: "TooManyTagsException",
|
|
181
|
+
$fault: "client",
|
|
182
|
+
...opts,
|
|
183
|
+
});
|
|
184
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
const _ADE = "AccessDeniedException";
|
|
189
|
+
const _AM = "AttributeMapping";
|
|
190
|
+
const _AMt = "AttributeMappings";
|
|
191
|
+
const _CD = "CrlDetail";
|
|
192
|
+
const _CDR = "CrlDetailResponse";
|
|
193
|
+
const _CDr = "CrlDetails";
|
|
194
|
+
const _CP = "CreateProfile";
|
|
195
|
+
const _CPR = "CreateProfileRequest";
|
|
196
|
+
const _CS = "CredentialSummary";
|
|
197
|
+
const _CSr = "CredentialSummaries";
|
|
198
|
+
const _CTA = "CreateTrustAnchor";
|
|
199
|
+
const _CTAR = "CreateTrustAnchorRequest";
|
|
200
|
+
const _DAM = "DeleteAttributeMapping";
|
|
201
|
+
const _DAMR = "DeleteAttributeMappingRequest";
|
|
202
|
+
const _DAMRe = "DeleteAttributeMappingResponse";
|
|
203
|
+
const _DC = "DeleteCrl";
|
|
204
|
+
const _DCi = "DisableCrl";
|
|
205
|
+
const _DP = "DeleteProfile";
|
|
206
|
+
const _DPi = "DisableProfile";
|
|
207
|
+
const _DTA = "DeleteTrustAnchor";
|
|
208
|
+
const _DTAi = "DisableTrustAnchor";
|
|
209
|
+
const _EC = "EnableCrl";
|
|
210
|
+
const _EP = "EnableProfile";
|
|
211
|
+
const _ETA = "EnableTrustAnchor";
|
|
212
|
+
const _GC = "GetCrl";
|
|
213
|
+
const _GP = "GetProfile";
|
|
214
|
+
const _GS = "GetSubject";
|
|
215
|
+
const _GTA = "GetTrustAnchor";
|
|
216
|
+
const _IC = "ImportCrl";
|
|
217
|
+
const _ICR = "ImportCrlRequest";
|
|
218
|
+
const _IP = "InstanceProperty";
|
|
219
|
+
const _IPn = "InstanceProperties";
|
|
220
|
+
const _LC = "ListCrls";
|
|
221
|
+
const _LCR = "ListCrlsResponse";
|
|
222
|
+
const _LP = "ListProfiles";
|
|
223
|
+
const _LPR = "ListProfilesResponse";
|
|
224
|
+
const _LR = "ListRequest";
|
|
225
|
+
const _LS = "ListSubjects";
|
|
226
|
+
const _LSR = "ListSubjectsResponse";
|
|
227
|
+
const _LTA = "ListTrustAnchors";
|
|
228
|
+
const _LTAR = "ListTrustAnchorsResponse";
|
|
229
|
+
const _LTFR = "ListTagsForResource";
|
|
230
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
231
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
232
|
+
const _MR = "MappingRule";
|
|
233
|
+
const _MRa = "MappingRules";
|
|
234
|
+
const _NS = "NotificationSetting";
|
|
235
|
+
const _NSD = "NotificationSettingDetail";
|
|
236
|
+
const _NSDo = "NotificationSettingDetails";
|
|
237
|
+
const _NSK = "NotificationSettingKey";
|
|
238
|
+
const _NSKo = "NotificationSettingKeys";
|
|
239
|
+
const _NSo = "NotificationSettings";
|
|
240
|
+
const _PAM = "PutAttributeMapping";
|
|
241
|
+
const _PAMR = "PutAttributeMappingRequest";
|
|
242
|
+
const _PAMRu = "PutAttributeMappingResponse";
|
|
243
|
+
const _PD = "ProfileDetail";
|
|
244
|
+
const _PDR = "ProfileDetailResponse";
|
|
245
|
+
const _PDr = "ProfileDetails";
|
|
246
|
+
const _PNS = "PutNotificationSettings";
|
|
247
|
+
const _PNSR = "PutNotificationSettingsRequest";
|
|
248
|
+
const _PNSRu = "PutNotificationSettingsResponse";
|
|
249
|
+
const _RNFE = "ResourceNotFoundException";
|
|
250
|
+
const _RNS = "ResetNotificationSettings";
|
|
251
|
+
const _RNSR = "ResetNotificationSettingsRequest";
|
|
252
|
+
const _RNSRe = "ResetNotificationSettingsResponse";
|
|
253
|
+
const _S = "Source";
|
|
254
|
+
const _SCR = "ScalarCrlRequest";
|
|
255
|
+
const _SD = "SubjectDetail";
|
|
256
|
+
const _SDR = "SubjectDetailResponse";
|
|
257
|
+
const _SDo = "SourceData";
|
|
258
|
+
const _SPR = "ScalarProfileRequest";
|
|
259
|
+
const _SS = "SubjectSummary";
|
|
260
|
+
const _SSR = "ScalarSubjectRequest";
|
|
261
|
+
const _SSu = "SubjectSummaries";
|
|
262
|
+
const _STAR = "ScalarTrustAnchorRequest";
|
|
263
|
+
const _T = "Tag";
|
|
264
|
+
const _TAD = "TrustAnchorDetail";
|
|
265
|
+
const _TADR = "TrustAnchorDetailResponse";
|
|
266
|
+
const _TADr = "TrustAnchorDetails";
|
|
267
|
+
const _TK = "TagKey";
|
|
268
|
+
const _TKL = "TagKeyList";
|
|
269
|
+
const _TL = "TagList";
|
|
270
|
+
const _TMTE = "TooManyTagsException";
|
|
271
|
+
const _TR = "TagResource";
|
|
272
|
+
const _TRR = "TagResourceRequest";
|
|
273
|
+
const _TRRa = "TagResourceResponse";
|
|
274
|
+
const _TV = "TagValue";
|
|
275
|
+
const _UC = "UpdateCrl";
|
|
276
|
+
const _UCR = "UpdateCrlRequest";
|
|
277
|
+
const _UP = "UpdateProfile";
|
|
278
|
+
const _UPR = "UpdateProfileRequest";
|
|
279
|
+
const _UR = "UntagResource";
|
|
280
|
+
const _URR = "UntagResourceRequest";
|
|
281
|
+
const _URRn = "UntagResourceResponse";
|
|
282
|
+
const _UTA = "UpdateTrustAnchor";
|
|
283
|
+
const _UTAR = "UpdateTrustAnchorRequest";
|
|
284
|
+
const _VE = "ValidationException";
|
|
285
|
+
const _aM = "attributeMappings";
|
|
286
|
+
const _aPA = "acmPcaArn";
|
|
287
|
+
const _aRSN = "acceptRoleSessionName";
|
|
288
|
+
const _c = "client";
|
|
289
|
+
const _cA = "crlArn";
|
|
290
|
+
const _cAr = "createdAt";
|
|
291
|
+
const _cB = "configuredBy";
|
|
292
|
+
const _cBr = "createdBy";
|
|
293
|
+
const _cD = "crlData";
|
|
294
|
+
const _cF = "certificateField";
|
|
295
|
+
const _cI = "crlId";
|
|
296
|
+
const _ch = "channel";
|
|
297
|
+
const _cr = "crl";
|
|
298
|
+
const _cre = "credentials";
|
|
299
|
+
const _crl = "crls";
|
|
300
|
+
const _dS = "durationSeconds";
|
|
301
|
+
const _e = "error";
|
|
302
|
+
const _en = "enabled";
|
|
303
|
+
const _ev = "event";
|
|
304
|
+
const _f = "failed";
|
|
305
|
+
const _h = "http";
|
|
306
|
+
const _hE = "httpError";
|
|
307
|
+
const _hQ = "httpQuery";
|
|
308
|
+
const _i = "issuer";
|
|
309
|
+
const _iP = "instanceProperties";
|
|
310
|
+
const _k = "key";
|
|
311
|
+
const _lSA = "lastSeenAt";
|
|
312
|
+
const _m = "message";
|
|
313
|
+
const _mPA = "managedPolicyArns";
|
|
314
|
+
const _mR = "mappingRules";
|
|
315
|
+
const _n = "name";
|
|
316
|
+
const _nS = "notificationSettings";
|
|
317
|
+
const _nSK = "notificationSettingKeys";
|
|
318
|
+
const _nT = "nextToken";
|
|
319
|
+
const _p = "profile";
|
|
320
|
+
const _pA = "profileArn";
|
|
321
|
+
const _pI = "profileId";
|
|
322
|
+
const _pS = "pageSize";
|
|
323
|
+
const _pr = "properties";
|
|
324
|
+
const _pro = "profiles";
|
|
325
|
+
const _rA = "roleArns";
|
|
326
|
+
const _rAe = "resourceArn";
|
|
327
|
+
const _rIP = "requireInstanceProperties";
|
|
328
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.rolesanywhere";
|
|
329
|
+
const _sA = "seenAt";
|
|
330
|
+
const _sAu = "subjectArn";
|
|
331
|
+
const _sD = "sourceData";
|
|
332
|
+
const _sI = "subjectId";
|
|
333
|
+
const _sN = "serialNumber";
|
|
334
|
+
const _sP = "sessionPolicy";
|
|
335
|
+
const _sT = "sourceType";
|
|
336
|
+
const _so = "source";
|
|
337
|
+
const _sp = "specifiers";
|
|
338
|
+
const _spe = "specifier";
|
|
339
|
+
const _su = "subjects";
|
|
340
|
+
const _sub = "subject";
|
|
341
|
+
const _t = "tags";
|
|
342
|
+
const _tA = "trustAnchors";
|
|
343
|
+
const _tAA = "trustAnchorArn";
|
|
344
|
+
const _tAI = "trustAnchorId";
|
|
345
|
+
const _tAr = "trustAnchor";
|
|
346
|
+
const _tK = "tagKeys";
|
|
347
|
+
const _th = "threshold";
|
|
348
|
+
const _uA = "updatedAt";
|
|
349
|
+
const _v = "value";
|
|
350
|
+
const _xCD = "x509CertificateData";
|
|
351
|
+
const _xS = "x509Subject";
|
|
352
|
+
const n0 = "com.amazonaws.rolesanywhere";
|
|
353
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
354
|
+
var RolesAnywhereServiceException$ = [-3, _s, "RolesAnywhereServiceException", 0, [], []];
|
|
355
|
+
_s_registry.registerError(RolesAnywhereServiceException$, RolesAnywhereServiceException);
|
|
356
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
357
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
358
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
359
|
+
[_m],
|
|
360
|
+
[0]
|
|
361
|
+
];
|
|
362
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
363
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
364
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
365
|
+
[_m],
|
|
366
|
+
[0]
|
|
367
|
+
];
|
|
368
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
369
|
+
var TooManyTagsException$ = [-3, n0, _TMTE,
|
|
370
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
371
|
+
[_m],
|
|
372
|
+
[0]
|
|
373
|
+
];
|
|
374
|
+
n0_registry.registerError(TooManyTagsException$, TooManyTagsException);
|
|
375
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
376
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
377
|
+
[_m],
|
|
378
|
+
[0]
|
|
379
|
+
];
|
|
380
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
381
|
+
const errorTypeRegistries = [
|
|
382
|
+
_s_registry,
|
|
383
|
+
n0_registry,
|
|
384
|
+
];
|
|
385
|
+
var TagKey = [0, n0, _TK, 8, 0];
|
|
386
|
+
var TagValue = [0, n0, _TV, 8, 0];
|
|
387
|
+
var AttributeMapping$ = [3, n0, _AM,
|
|
388
|
+
0,
|
|
389
|
+
[_cF, _mR],
|
|
390
|
+
[0, () => MappingRules]
|
|
391
|
+
];
|
|
392
|
+
var CreateProfileRequest$ = [3, n0, _CPR,
|
|
393
|
+
0,
|
|
394
|
+
[_n, _rA, _rIP, _sP, _mPA, _dS, _en, _t, _aRSN],
|
|
395
|
+
[0, 64 | 0, 2, 0, 64 | 0, 1, 2, [() => TagList, 0], 2], 2
|
|
396
|
+
];
|
|
397
|
+
var CreateTrustAnchorRequest$ = [3, n0, _CTAR,
|
|
398
|
+
0,
|
|
399
|
+
[_n, _so, _en, _t, _nS],
|
|
400
|
+
[0, () => Source$, 2, [() => TagList, 0], () => NotificationSettings], 2
|
|
401
|
+
];
|
|
402
|
+
var CredentialSummary$ = [3, n0, _CS,
|
|
403
|
+
0,
|
|
404
|
+
[_sA, _sN, _i, _en, _xCD, _f],
|
|
405
|
+
[5, 0, 0, 2, 0, 2]
|
|
406
|
+
];
|
|
407
|
+
var CrlDetail$ = [3, n0, _CD,
|
|
408
|
+
0,
|
|
409
|
+
[_cI, _cA, _n, _en, _cD, _tAA, _cAr, _uA],
|
|
410
|
+
[0, 0, 0, 2, 21, 0, 5, 5]
|
|
411
|
+
];
|
|
412
|
+
var CrlDetailResponse$ = [3, n0, _CDR,
|
|
413
|
+
0,
|
|
414
|
+
[_cr],
|
|
415
|
+
[() => CrlDetail$], 1
|
|
416
|
+
];
|
|
417
|
+
var DeleteAttributeMappingRequest$ = [3, n0, _DAMR,
|
|
418
|
+
0,
|
|
419
|
+
[_pI, _cF, _sp],
|
|
420
|
+
[[0, 1], [0, { [_hQ]: _cF }], [64 | 0, { [_hQ]: _sp }]], 2
|
|
421
|
+
];
|
|
422
|
+
var DeleteAttributeMappingResponse$ = [3, n0, _DAMRe,
|
|
423
|
+
0,
|
|
424
|
+
[_p],
|
|
425
|
+
[() => ProfileDetail$], 1
|
|
426
|
+
];
|
|
427
|
+
var ImportCrlRequest$ = [3, n0, _ICR,
|
|
428
|
+
0,
|
|
429
|
+
[_n, _cD, _tAA, _en, _t],
|
|
430
|
+
[0, 21, 0, 2, [() => TagList, 0]], 3
|
|
431
|
+
];
|
|
432
|
+
var InstanceProperty$ = [3, n0, _IP,
|
|
433
|
+
0,
|
|
434
|
+
[_sA, _pr, _f],
|
|
435
|
+
[5, 128 | 0, 2]
|
|
436
|
+
];
|
|
437
|
+
var ListCrlsResponse$ = [3, n0, _LCR,
|
|
438
|
+
0,
|
|
439
|
+
[_nT, _crl],
|
|
440
|
+
[0, () => CrlDetails]
|
|
441
|
+
];
|
|
442
|
+
var ListProfilesResponse$ = [3, n0, _LPR,
|
|
443
|
+
0,
|
|
444
|
+
[_nT, _pro],
|
|
445
|
+
[0, () => ProfileDetails]
|
|
446
|
+
];
|
|
447
|
+
var ListRequest$ = [3, n0, _LR,
|
|
448
|
+
0,
|
|
449
|
+
[_nT, _pS],
|
|
450
|
+
[[0, { [_hQ]: _nT }], [1, { [_hQ]: _pS }]]
|
|
451
|
+
];
|
|
452
|
+
var ListSubjectsResponse$ = [3, n0, _LSR,
|
|
453
|
+
0,
|
|
454
|
+
[_su, _nT],
|
|
455
|
+
[() => SubjectSummaries, 0]
|
|
456
|
+
];
|
|
457
|
+
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
458
|
+
0,
|
|
459
|
+
[_rAe],
|
|
460
|
+
[[0, { [_hQ]: _rAe }]], 1
|
|
461
|
+
];
|
|
462
|
+
var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
463
|
+
0,
|
|
464
|
+
[_t],
|
|
465
|
+
[[() => TagList, 0]]
|
|
466
|
+
];
|
|
467
|
+
var ListTrustAnchorsResponse$ = [3, n0, _LTAR,
|
|
468
|
+
0,
|
|
469
|
+
[_nT, _tA],
|
|
470
|
+
[0, () => TrustAnchorDetails]
|
|
471
|
+
];
|
|
472
|
+
var MappingRule$ = [3, n0, _MR,
|
|
473
|
+
0,
|
|
474
|
+
[_spe],
|
|
475
|
+
[0], 1
|
|
476
|
+
];
|
|
477
|
+
var NotificationSetting$ = [3, n0, _NS,
|
|
478
|
+
0,
|
|
479
|
+
[_en, _ev, _th, _ch],
|
|
480
|
+
[2, 0, 1, 0], 2
|
|
481
|
+
];
|
|
482
|
+
var NotificationSettingDetail$ = [3, n0, _NSD,
|
|
483
|
+
0,
|
|
484
|
+
[_en, _ev, _th, _ch, _cB],
|
|
485
|
+
[2, 0, 1, 0, 0], 2
|
|
486
|
+
];
|
|
487
|
+
var NotificationSettingKey$ = [3, n0, _NSK,
|
|
488
|
+
0,
|
|
489
|
+
[_ev, _ch],
|
|
490
|
+
[0, 0], 1
|
|
491
|
+
];
|
|
492
|
+
var ProfileDetail$ = [3, n0, _PD,
|
|
493
|
+
0,
|
|
494
|
+
[_pI, _pA, _n, _rIP, _en, _cBr, _sP, _rA, _mPA, _cAr, _uA, _dS, _aRSN, _aM],
|
|
495
|
+
[0, 0, 0, 2, 2, 0, 0, 64 | 0, 64 | 0, 5, 5, 1, 2, () => AttributeMappings]
|
|
496
|
+
];
|
|
497
|
+
var ProfileDetailResponse$ = [3, n0, _PDR,
|
|
498
|
+
0,
|
|
499
|
+
[_p],
|
|
500
|
+
[() => ProfileDetail$]
|
|
501
|
+
];
|
|
502
|
+
var PutAttributeMappingRequest$ = [3, n0, _PAMR,
|
|
503
|
+
0,
|
|
504
|
+
[_pI, _cF, _mR],
|
|
505
|
+
[[0, 1], 0, () => MappingRules], 3
|
|
506
|
+
];
|
|
507
|
+
var PutAttributeMappingResponse$ = [3, n0, _PAMRu,
|
|
508
|
+
0,
|
|
509
|
+
[_p],
|
|
510
|
+
[() => ProfileDetail$], 1
|
|
511
|
+
];
|
|
512
|
+
var PutNotificationSettingsRequest$ = [3, n0, _PNSR,
|
|
513
|
+
0,
|
|
514
|
+
[_tAI, _nS],
|
|
515
|
+
[0, () => NotificationSettings], 2
|
|
516
|
+
];
|
|
517
|
+
var PutNotificationSettingsResponse$ = [3, n0, _PNSRu,
|
|
518
|
+
0,
|
|
519
|
+
[_tAr],
|
|
520
|
+
[() => TrustAnchorDetail$], 1
|
|
521
|
+
];
|
|
522
|
+
var ResetNotificationSettingsRequest$ = [3, n0, _RNSR,
|
|
523
|
+
0,
|
|
524
|
+
[_tAI, _nSK],
|
|
525
|
+
[0, () => NotificationSettingKeys], 2
|
|
526
|
+
];
|
|
527
|
+
var ResetNotificationSettingsResponse$ = [3, n0, _RNSRe,
|
|
528
|
+
0,
|
|
529
|
+
[_tAr],
|
|
530
|
+
[() => TrustAnchorDetail$], 1
|
|
531
|
+
];
|
|
532
|
+
var ScalarCrlRequest$ = [3, n0, _SCR,
|
|
533
|
+
0,
|
|
534
|
+
[_cI],
|
|
535
|
+
[[0, 1]], 1
|
|
536
|
+
];
|
|
537
|
+
var ScalarProfileRequest$ = [3, n0, _SPR,
|
|
538
|
+
0,
|
|
539
|
+
[_pI],
|
|
540
|
+
[[0, 1]], 1
|
|
541
|
+
];
|
|
542
|
+
var ScalarSubjectRequest$ = [3, n0, _SSR,
|
|
543
|
+
0,
|
|
544
|
+
[_sI],
|
|
545
|
+
[[0, 1]], 1
|
|
546
|
+
];
|
|
547
|
+
var ScalarTrustAnchorRequest$ = [3, n0, _STAR,
|
|
548
|
+
0,
|
|
549
|
+
[_tAI],
|
|
550
|
+
[[0, 1]], 1
|
|
551
|
+
];
|
|
552
|
+
var Source$ = [3, n0, _S,
|
|
553
|
+
0,
|
|
554
|
+
[_sT, _sD],
|
|
555
|
+
[0, () => SourceData$]
|
|
556
|
+
];
|
|
557
|
+
var SubjectDetail$ = [3, n0, _SD,
|
|
558
|
+
0,
|
|
559
|
+
[_sAu, _sI, _en, _xS, _lSA, _cAr, _uA, _cre, _iP],
|
|
560
|
+
[0, 0, 2, 0, 5, 5, 5, () => CredentialSummaries, () => InstanceProperties]
|
|
561
|
+
];
|
|
562
|
+
var SubjectDetailResponse$ = [3, n0, _SDR,
|
|
563
|
+
0,
|
|
564
|
+
[_sub],
|
|
565
|
+
[() => SubjectDetail$]
|
|
566
|
+
];
|
|
567
|
+
var SubjectSummary$ = [3, n0, _SS,
|
|
568
|
+
0,
|
|
569
|
+
[_sAu, _sI, _en, _xS, _lSA, _cAr, _uA],
|
|
570
|
+
[0, 0, 2, 0, 5, 5, 5]
|
|
571
|
+
];
|
|
572
|
+
var Tag$ = [3, n0, _T,
|
|
573
|
+
0,
|
|
574
|
+
[_k, _v],
|
|
575
|
+
[[() => TagKey, 0], [() => TagValue, 0]], 2
|
|
576
|
+
];
|
|
577
|
+
var TagResourceRequest$ = [3, n0, _TRR,
|
|
578
|
+
0,
|
|
579
|
+
[_rAe, _t],
|
|
580
|
+
[0, [() => TagList, 0]], 2
|
|
581
|
+
];
|
|
582
|
+
var TagResourceResponse$ = [3, n0, _TRRa,
|
|
583
|
+
0,
|
|
584
|
+
[],
|
|
585
|
+
[]
|
|
586
|
+
];
|
|
587
|
+
var TrustAnchorDetail$ = [3, n0, _TAD,
|
|
588
|
+
0,
|
|
589
|
+
[_tAI, _tAA, _n, _so, _en, _cAr, _uA, _nS],
|
|
590
|
+
[0, 0, 0, () => Source$, 2, 5, 5, () => NotificationSettingDetails]
|
|
591
|
+
];
|
|
592
|
+
var TrustAnchorDetailResponse$ = [3, n0, _TADR,
|
|
593
|
+
0,
|
|
594
|
+
[_tAr],
|
|
595
|
+
[() => TrustAnchorDetail$], 1
|
|
596
|
+
];
|
|
597
|
+
var UntagResourceRequest$ = [3, n0, _URR,
|
|
598
|
+
0,
|
|
599
|
+
[_rAe, _tK],
|
|
600
|
+
[0, [() => TagKeyList, 0]], 2
|
|
601
|
+
];
|
|
602
|
+
var UntagResourceResponse$ = [3, n0, _URRn,
|
|
603
|
+
0,
|
|
604
|
+
[],
|
|
605
|
+
[]
|
|
606
|
+
];
|
|
607
|
+
var UpdateCrlRequest$ = [3, n0, _UCR,
|
|
608
|
+
0,
|
|
609
|
+
[_cI, _n, _cD],
|
|
610
|
+
[[0, 1], 0, 21], 1
|
|
611
|
+
];
|
|
612
|
+
var UpdateProfileRequest$ = [3, n0, _UPR,
|
|
613
|
+
0,
|
|
614
|
+
[_pI, _n, _sP, _rA, _mPA, _dS, _aRSN],
|
|
615
|
+
[[0, 1], 0, 0, 64 | 0, 64 | 0, 1, 2], 1
|
|
616
|
+
];
|
|
617
|
+
var UpdateTrustAnchorRequest$ = [3, n0, _UTAR,
|
|
618
|
+
0,
|
|
619
|
+
[_tAI, _n, _so],
|
|
620
|
+
[[0, 1], 0, () => Source$], 1
|
|
621
|
+
];
|
|
622
|
+
var AttributeMappings = [1, n0, _AMt,
|
|
623
|
+
0, () => AttributeMapping$
|
|
624
|
+
];
|
|
625
|
+
var CredentialSummaries = [1, n0, _CSr,
|
|
626
|
+
0, () => CredentialSummary$
|
|
627
|
+
];
|
|
628
|
+
var CrlDetails = [1, n0, _CDr,
|
|
629
|
+
0, () => CrlDetail$
|
|
630
|
+
];
|
|
631
|
+
var InstanceProperties = [1, n0, _IPn,
|
|
632
|
+
0, () => InstanceProperty$
|
|
633
|
+
];
|
|
634
|
+
var MappingRules = [1, n0, _MRa,
|
|
635
|
+
0, () => MappingRule$
|
|
636
|
+
];
|
|
637
|
+
var NotificationSettingDetails = [1, n0, _NSDo,
|
|
638
|
+
0, () => NotificationSettingDetail$
|
|
639
|
+
];
|
|
640
|
+
var NotificationSettingKeys = [1, n0, _NSKo,
|
|
641
|
+
0, () => NotificationSettingKey$
|
|
642
|
+
];
|
|
643
|
+
var NotificationSettings = [1, n0, _NSo,
|
|
644
|
+
0, () => NotificationSetting$
|
|
645
|
+
];
|
|
646
|
+
var ProfileDetails = [1, n0, _PDr,
|
|
647
|
+
0, () => ProfileDetail$
|
|
648
|
+
];
|
|
649
|
+
var SubjectSummaries = [1, n0, _SSu,
|
|
650
|
+
0, () => SubjectSummary$
|
|
651
|
+
];
|
|
652
|
+
var TagKeyList = [1, n0, _TKL,
|
|
653
|
+
0, [() => TagKey,
|
|
654
|
+
0]
|
|
655
|
+
];
|
|
656
|
+
var TagList = [1, n0, _TL,
|
|
657
|
+
0, [() => Tag$,
|
|
658
|
+
0]
|
|
659
|
+
];
|
|
660
|
+
var TrustAnchorDetails = [1, n0, _TADr,
|
|
661
|
+
0, () => TrustAnchorDetail$
|
|
662
|
+
];
|
|
663
|
+
var SourceData$ = [4, n0, _SDo,
|
|
664
|
+
0,
|
|
665
|
+
[_xCD, _aPA],
|
|
666
|
+
[0, 0]
|
|
667
|
+
];
|
|
668
|
+
var CreateProfile$ = [9, n0, _CP,
|
|
669
|
+
{ [_h]: ["POST", "/profiles", 201] }, () => CreateProfileRequest$, () => ProfileDetailResponse$
|
|
670
|
+
];
|
|
671
|
+
var CreateTrustAnchor$ = [9, n0, _CTA,
|
|
672
|
+
{ [_h]: ["POST", "/trustanchors", 201] }, () => CreateTrustAnchorRequest$, () => TrustAnchorDetailResponse$
|
|
673
|
+
];
|
|
674
|
+
var DeleteAttributeMapping$ = [9, n0, _DAM,
|
|
675
|
+
{ [_h]: ["DELETE", "/profiles/{profileId}/mappings", 200] }, () => DeleteAttributeMappingRequest$, () => DeleteAttributeMappingResponse$
|
|
676
|
+
];
|
|
677
|
+
var DeleteCrl$ = [9, n0, _DC,
|
|
678
|
+
{ [_h]: ["DELETE", "/crl/{crlId}", 200] }, () => ScalarCrlRequest$, () => CrlDetailResponse$
|
|
679
|
+
];
|
|
680
|
+
var DeleteProfile$ = [9, n0, _DP,
|
|
681
|
+
{ [_h]: ["DELETE", "/profile/{profileId}", 200] }, () => ScalarProfileRequest$, () => ProfileDetailResponse$
|
|
682
|
+
];
|
|
683
|
+
var DeleteTrustAnchor$ = [9, n0, _DTA,
|
|
684
|
+
{ [_h]: ["DELETE", "/trustanchor/{trustAnchorId}", 200] }, () => ScalarTrustAnchorRequest$, () => TrustAnchorDetailResponse$
|
|
685
|
+
];
|
|
686
|
+
var DisableCrl$ = [9, n0, _DCi,
|
|
687
|
+
{ [_h]: ["POST", "/crl/{crlId}/disable", 200] }, () => ScalarCrlRequest$, () => CrlDetailResponse$
|
|
688
|
+
];
|
|
689
|
+
var DisableProfile$ = [9, n0, _DPi,
|
|
690
|
+
{ [_h]: ["POST", "/profile/{profileId}/disable", 200] }, () => ScalarProfileRequest$, () => ProfileDetailResponse$
|
|
691
|
+
];
|
|
692
|
+
var DisableTrustAnchor$ = [9, n0, _DTAi,
|
|
693
|
+
{ [_h]: ["POST", "/trustanchor/{trustAnchorId}/disable", 200] }, () => ScalarTrustAnchorRequest$, () => TrustAnchorDetailResponse$
|
|
694
|
+
];
|
|
695
|
+
var EnableCrl$ = [9, n0, _EC,
|
|
696
|
+
{ [_h]: ["POST", "/crl/{crlId}/enable", 200] }, () => ScalarCrlRequest$, () => CrlDetailResponse$
|
|
697
|
+
];
|
|
698
|
+
var EnableProfile$ = [9, n0, _EP,
|
|
699
|
+
{ [_h]: ["POST", "/profile/{profileId}/enable", 200] }, () => ScalarProfileRequest$, () => ProfileDetailResponse$
|
|
700
|
+
];
|
|
701
|
+
var EnableTrustAnchor$ = [9, n0, _ETA,
|
|
702
|
+
{ [_h]: ["POST", "/trustanchor/{trustAnchorId}/enable", 200] }, () => ScalarTrustAnchorRequest$, () => TrustAnchorDetailResponse$
|
|
703
|
+
];
|
|
704
|
+
var GetCrl$ = [9, n0, _GC,
|
|
705
|
+
{ [_h]: ["GET", "/crl/{crlId}", 200] }, () => ScalarCrlRequest$, () => CrlDetailResponse$
|
|
706
|
+
];
|
|
707
|
+
var GetProfile$ = [9, n0, _GP,
|
|
708
|
+
{ [_h]: ["GET", "/profile/{profileId}", 200] }, () => ScalarProfileRequest$, () => ProfileDetailResponse$
|
|
709
|
+
];
|
|
710
|
+
var GetSubject$ = [9, n0, _GS,
|
|
711
|
+
{ [_h]: ["GET", "/subject/{subjectId}", 200] }, () => ScalarSubjectRequest$, () => SubjectDetailResponse$
|
|
712
|
+
];
|
|
713
|
+
var GetTrustAnchor$ = [9, n0, _GTA,
|
|
714
|
+
{ [_h]: ["GET", "/trustanchor/{trustAnchorId}", 200] }, () => ScalarTrustAnchorRequest$, () => TrustAnchorDetailResponse$
|
|
715
|
+
];
|
|
716
|
+
var ImportCrl$ = [9, n0, _IC,
|
|
717
|
+
{ [_h]: ["POST", "/crls", 201] }, () => ImportCrlRequest$, () => CrlDetailResponse$
|
|
718
|
+
];
|
|
719
|
+
var ListCrls$ = [9, n0, _LC,
|
|
720
|
+
{ [_h]: ["GET", "/crls", 200] }, () => ListRequest$, () => ListCrlsResponse$
|
|
721
|
+
];
|
|
722
|
+
var ListProfiles$ = [9, n0, _LP,
|
|
723
|
+
{ [_h]: ["GET", "/profiles", 200] }, () => ListRequest$, () => ListProfilesResponse$
|
|
724
|
+
];
|
|
725
|
+
var ListSubjects$ = [9, n0, _LS,
|
|
726
|
+
{ [_h]: ["GET", "/subjects", 200] }, () => ListRequest$, () => ListSubjectsResponse$
|
|
727
|
+
];
|
|
728
|
+
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
729
|
+
{ [_h]: ["GET", "/ListTagsForResource", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
730
|
+
];
|
|
731
|
+
var ListTrustAnchors$ = [9, n0, _LTA,
|
|
732
|
+
{ [_h]: ["GET", "/trustanchors", 200] }, () => ListRequest$, () => ListTrustAnchorsResponse$
|
|
733
|
+
];
|
|
734
|
+
var PutAttributeMapping$ = [9, n0, _PAM,
|
|
735
|
+
{ [_h]: ["PUT", "/profiles/{profileId}/mappings", 200] }, () => PutAttributeMappingRequest$, () => PutAttributeMappingResponse$
|
|
736
|
+
];
|
|
737
|
+
var PutNotificationSettings$ = [9, n0, _PNS,
|
|
738
|
+
{ [_h]: ["PATCH", "/put-notifications-settings", 200] }, () => PutNotificationSettingsRequest$, () => PutNotificationSettingsResponse$
|
|
739
|
+
];
|
|
740
|
+
var ResetNotificationSettings$ = [9, n0, _RNS,
|
|
741
|
+
{ [_h]: ["PATCH", "/reset-notifications-settings", 200] }, () => ResetNotificationSettingsRequest$, () => ResetNotificationSettingsResponse$
|
|
742
|
+
];
|
|
743
|
+
var TagResource$ = [9, n0, _TR,
|
|
744
|
+
{ [_h]: ["POST", "/TagResource", 201] }, () => TagResourceRequest$, () => TagResourceResponse$
|
|
745
|
+
];
|
|
746
|
+
var UntagResource$ = [9, n0, _UR,
|
|
747
|
+
{ [_h]: ["POST", "/UntagResource", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
748
|
+
];
|
|
749
|
+
var UpdateCrl$ = [9, n0, _UC,
|
|
750
|
+
{ [_h]: ["PATCH", "/crl/{crlId}", 200] }, () => UpdateCrlRequest$, () => CrlDetailResponse$
|
|
751
|
+
];
|
|
752
|
+
var UpdateProfile$ = [9, n0, _UP,
|
|
753
|
+
{ [_h]: ["PATCH", "/profile/{profileId}", 200] }, () => UpdateProfileRequest$, () => ProfileDetailResponse$
|
|
754
|
+
];
|
|
755
|
+
var UpdateTrustAnchor$ = [9, n0, _UTA,
|
|
756
|
+
{ [_h]: ["PATCH", "/trustanchor/{trustAnchorId}", 200] }, () => UpdateTrustAnchorRequest$, () => TrustAnchorDetailResponse$
|
|
757
|
+
];
|
|
758
|
+
|
|
759
|
+
const getRuntimeConfig$1 = (config) => {
|
|
760
|
+
return {
|
|
761
|
+
apiVersion: "2018-05-10",
|
|
762
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
763
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
764
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
765
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
766
|
+
extensions: config?.extensions ?? [],
|
|
767
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultRolesAnywhereHttpAuthSchemeProvider,
|
|
768
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
769
|
+
{
|
|
770
|
+
schemeId: "aws.auth#sigv4",
|
|
771
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
772
|
+
signer: new AwsSdkSigV4Signer(),
|
|
773
|
+
},
|
|
774
|
+
],
|
|
775
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
776
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
777
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
778
|
+
defaultNamespace: "com.amazonaws.rolesanywhere",
|
|
779
|
+
errorTypeRegistries,
|
|
780
|
+
version: "2018-05-10",
|
|
781
|
+
serviceTarget: "RolesAnywhere",
|
|
782
|
+
},
|
|
783
|
+
serviceId: config?.serviceId ?? "RolesAnywhere",
|
|
784
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
785
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
786
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
787
|
+
};
|
|
788
|
+
};
|
|
789
|
+
|
|
790
|
+
const getRuntimeConfig = (config) => {
|
|
791
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
792
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
793
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
794
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
795
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
796
|
+
const loaderConfig = {
|
|
797
|
+
profile: config?.profile,
|
|
798
|
+
logger: clientSharedValues.logger,
|
|
799
|
+
};
|
|
800
|
+
return {
|
|
801
|
+
...clientSharedValues,
|
|
802
|
+
...config,
|
|
803
|
+
runtime: "node",
|
|
804
|
+
defaultsMode,
|
|
805
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
806
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
807
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
808
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
809
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
810
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
811
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
812
|
+
retryMode: config?.retryMode ??
|
|
813
|
+
loadConfig({
|
|
814
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
815
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
816
|
+
}, config),
|
|
817
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
818
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
819
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
820
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
821
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
822
|
+
};
|
|
823
|
+
};
|
|
824
|
+
|
|
34
825
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
826
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
827
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -539,42 +1330,131 @@ const TrustAnchorType = {
|
|
|
539
1330
|
SELF_SIGNED_REPOSITORY: "SELF_SIGNED_REPOSITORY",
|
|
540
1331
|
};
|
|
541
1332
|
|
|
1333
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1334
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
1335
|
+
exports.AttributeMapping$ = AttributeMapping$;
|
|
542
1336
|
exports.CertificateField = CertificateField;
|
|
1337
|
+
exports.CreateProfile$ = CreateProfile$;
|
|
543
1338
|
exports.CreateProfileCommand = CreateProfileCommand;
|
|
1339
|
+
exports.CreateProfileRequest$ = CreateProfileRequest$;
|
|
1340
|
+
exports.CreateTrustAnchor$ = CreateTrustAnchor$;
|
|
544
1341
|
exports.CreateTrustAnchorCommand = CreateTrustAnchorCommand;
|
|
1342
|
+
exports.CreateTrustAnchorRequest$ = CreateTrustAnchorRequest$;
|
|
1343
|
+
exports.CredentialSummary$ = CredentialSummary$;
|
|
1344
|
+
exports.CrlDetail$ = CrlDetail$;
|
|
1345
|
+
exports.CrlDetailResponse$ = CrlDetailResponse$;
|
|
1346
|
+
exports.DeleteAttributeMapping$ = DeleteAttributeMapping$;
|
|
545
1347
|
exports.DeleteAttributeMappingCommand = DeleteAttributeMappingCommand;
|
|
1348
|
+
exports.DeleteAttributeMappingRequest$ = DeleteAttributeMappingRequest$;
|
|
1349
|
+
exports.DeleteAttributeMappingResponse$ = DeleteAttributeMappingResponse$;
|
|
1350
|
+
exports.DeleteCrl$ = DeleteCrl$;
|
|
546
1351
|
exports.DeleteCrlCommand = DeleteCrlCommand;
|
|
1352
|
+
exports.DeleteProfile$ = DeleteProfile$;
|
|
547
1353
|
exports.DeleteProfileCommand = DeleteProfileCommand;
|
|
1354
|
+
exports.DeleteTrustAnchor$ = DeleteTrustAnchor$;
|
|
548
1355
|
exports.DeleteTrustAnchorCommand = DeleteTrustAnchorCommand;
|
|
1356
|
+
exports.DisableCrl$ = DisableCrl$;
|
|
549
1357
|
exports.DisableCrlCommand = DisableCrlCommand;
|
|
1358
|
+
exports.DisableProfile$ = DisableProfile$;
|
|
550
1359
|
exports.DisableProfileCommand = DisableProfileCommand;
|
|
1360
|
+
exports.DisableTrustAnchor$ = DisableTrustAnchor$;
|
|
551
1361
|
exports.DisableTrustAnchorCommand = DisableTrustAnchorCommand;
|
|
1362
|
+
exports.EnableCrl$ = EnableCrl$;
|
|
552
1363
|
exports.EnableCrlCommand = EnableCrlCommand;
|
|
1364
|
+
exports.EnableProfile$ = EnableProfile$;
|
|
553
1365
|
exports.EnableProfileCommand = EnableProfileCommand;
|
|
1366
|
+
exports.EnableTrustAnchor$ = EnableTrustAnchor$;
|
|
554
1367
|
exports.EnableTrustAnchorCommand = EnableTrustAnchorCommand;
|
|
1368
|
+
exports.GetCrl$ = GetCrl$;
|
|
555
1369
|
exports.GetCrlCommand = GetCrlCommand;
|
|
1370
|
+
exports.GetProfile$ = GetProfile$;
|
|
556
1371
|
exports.GetProfileCommand = GetProfileCommand;
|
|
1372
|
+
exports.GetSubject$ = GetSubject$;
|
|
557
1373
|
exports.GetSubjectCommand = GetSubjectCommand;
|
|
1374
|
+
exports.GetTrustAnchor$ = GetTrustAnchor$;
|
|
558
1375
|
exports.GetTrustAnchorCommand = GetTrustAnchorCommand;
|
|
1376
|
+
exports.ImportCrl$ = ImportCrl$;
|
|
559
1377
|
exports.ImportCrlCommand = ImportCrlCommand;
|
|
1378
|
+
exports.ImportCrlRequest$ = ImportCrlRequest$;
|
|
1379
|
+
exports.InstanceProperty$ = InstanceProperty$;
|
|
1380
|
+
exports.ListCrls$ = ListCrls$;
|
|
560
1381
|
exports.ListCrlsCommand = ListCrlsCommand;
|
|
1382
|
+
exports.ListCrlsResponse$ = ListCrlsResponse$;
|
|
1383
|
+
exports.ListProfiles$ = ListProfiles$;
|
|
561
1384
|
exports.ListProfilesCommand = ListProfilesCommand;
|
|
1385
|
+
exports.ListProfilesResponse$ = ListProfilesResponse$;
|
|
1386
|
+
exports.ListRequest$ = ListRequest$;
|
|
1387
|
+
exports.ListSubjects$ = ListSubjects$;
|
|
562
1388
|
exports.ListSubjectsCommand = ListSubjectsCommand;
|
|
1389
|
+
exports.ListSubjectsResponse$ = ListSubjectsResponse$;
|
|
1390
|
+
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
563
1391
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1392
|
+
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
1393
|
+
exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
|
|
1394
|
+
exports.ListTrustAnchors$ = ListTrustAnchors$;
|
|
564
1395
|
exports.ListTrustAnchorsCommand = ListTrustAnchorsCommand;
|
|
1396
|
+
exports.ListTrustAnchorsResponse$ = ListTrustAnchorsResponse$;
|
|
1397
|
+
exports.MappingRule$ = MappingRule$;
|
|
565
1398
|
exports.NotificationChannel = NotificationChannel;
|
|
566
1399
|
exports.NotificationEvent = NotificationEvent;
|
|
1400
|
+
exports.NotificationSetting$ = NotificationSetting$;
|
|
1401
|
+
exports.NotificationSettingDetail$ = NotificationSettingDetail$;
|
|
1402
|
+
exports.NotificationSettingKey$ = NotificationSettingKey$;
|
|
1403
|
+
exports.ProfileDetail$ = ProfileDetail$;
|
|
1404
|
+
exports.ProfileDetailResponse$ = ProfileDetailResponse$;
|
|
1405
|
+
exports.PutAttributeMapping$ = PutAttributeMapping$;
|
|
567
1406
|
exports.PutAttributeMappingCommand = PutAttributeMappingCommand;
|
|
1407
|
+
exports.PutAttributeMappingRequest$ = PutAttributeMappingRequest$;
|
|
1408
|
+
exports.PutAttributeMappingResponse$ = PutAttributeMappingResponse$;
|
|
1409
|
+
exports.PutNotificationSettings$ = PutNotificationSettings$;
|
|
568
1410
|
exports.PutNotificationSettingsCommand = PutNotificationSettingsCommand;
|
|
1411
|
+
exports.PutNotificationSettingsRequest$ = PutNotificationSettingsRequest$;
|
|
1412
|
+
exports.PutNotificationSettingsResponse$ = PutNotificationSettingsResponse$;
|
|
1413
|
+
exports.ResetNotificationSettings$ = ResetNotificationSettings$;
|
|
569
1414
|
exports.ResetNotificationSettingsCommand = ResetNotificationSettingsCommand;
|
|
1415
|
+
exports.ResetNotificationSettingsRequest$ = ResetNotificationSettingsRequest$;
|
|
1416
|
+
exports.ResetNotificationSettingsResponse$ = ResetNotificationSettingsResponse$;
|
|
1417
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1418
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
570
1419
|
exports.RolesAnywhere = RolesAnywhere;
|
|
571
1420
|
exports.RolesAnywhereClient = RolesAnywhereClient;
|
|
1421
|
+
exports.RolesAnywhereServiceException = RolesAnywhereServiceException;
|
|
1422
|
+
exports.RolesAnywhereServiceException$ = RolesAnywhereServiceException$;
|
|
1423
|
+
exports.ScalarCrlRequest$ = ScalarCrlRequest$;
|
|
1424
|
+
exports.ScalarProfileRequest$ = ScalarProfileRequest$;
|
|
1425
|
+
exports.ScalarSubjectRequest$ = ScalarSubjectRequest$;
|
|
1426
|
+
exports.ScalarTrustAnchorRequest$ = ScalarTrustAnchorRequest$;
|
|
1427
|
+
exports.Source$ = Source$;
|
|
1428
|
+
exports.SourceData$ = SourceData$;
|
|
1429
|
+
exports.SubjectDetail$ = SubjectDetail$;
|
|
1430
|
+
exports.SubjectDetailResponse$ = SubjectDetailResponse$;
|
|
1431
|
+
exports.SubjectSummary$ = SubjectSummary$;
|
|
1432
|
+
exports.Tag$ = Tag$;
|
|
1433
|
+
exports.TagResource$ = TagResource$;
|
|
572
1434
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1435
|
+
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
1436
|
+
exports.TagResourceResponse$ = TagResourceResponse$;
|
|
1437
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
1438
|
+
exports.TooManyTagsException$ = TooManyTagsException$;
|
|
1439
|
+
exports.TrustAnchorDetail$ = TrustAnchorDetail$;
|
|
1440
|
+
exports.TrustAnchorDetailResponse$ = TrustAnchorDetailResponse$;
|
|
573
1441
|
exports.TrustAnchorType = TrustAnchorType;
|
|
1442
|
+
exports.UntagResource$ = UntagResource$;
|
|
574
1443
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1444
|
+
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
1445
|
+
exports.UntagResourceResponse$ = UntagResourceResponse$;
|
|
1446
|
+
exports.UpdateCrl$ = UpdateCrl$;
|
|
575
1447
|
exports.UpdateCrlCommand = UpdateCrlCommand;
|
|
1448
|
+
exports.UpdateCrlRequest$ = UpdateCrlRequest$;
|
|
1449
|
+
exports.UpdateProfile$ = UpdateProfile$;
|
|
576
1450
|
exports.UpdateProfileCommand = UpdateProfileCommand;
|
|
1451
|
+
exports.UpdateProfileRequest$ = UpdateProfileRequest$;
|
|
1452
|
+
exports.UpdateTrustAnchor$ = UpdateTrustAnchor$;
|
|
577
1453
|
exports.UpdateTrustAnchorCommand = UpdateTrustAnchorCommand;
|
|
1454
|
+
exports.UpdateTrustAnchorRequest$ = UpdateTrustAnchorRequest$;
|
|
1455
|
+
exports.ValidationException = ValidationException;
|
|
1456
|
+
exports.ValidationException$ = ValidationException$;
|
|
1457
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
578
1458
|
exports.paginateListCrls = paginateListCrls;
|
|
579
1459
|
exports.paginateListProfiles = paginateListProfiles;
|
|
580
1460
|
exports.paginateListSubjects = paginateListSubjects;
|