@aws-sdk/client-rolesanywhere 3.1161.0 → 3.1162.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.
Files changed (43) hide show
  1. package/dist-cjs/index.js +37 -8
  2. package/dist-es/models/errors.js +16 -0
  3. package/dist-es/runtimeConfig.js +2 -1
  4. package/dist-es/schemas/schemas_0.js +17 -7
  5. package/dist-types/commands/CreateProfileCommand.d.ts +3 -0
  6. package/dist-types/commands/CreateTrustAnchorCommand.d.ts +5 -0
  7. package/dist-types/commands/DeleteAttributeMappingCommand.d.ts +3 -0
  8. package/dist-types/commands/DeleteCrlCommand.d.ts +3 -0
  9. package/dist-types/commands/DeleteProfileCommand.d.ts +3 -0
  10. package/dist-types/commands/DeleteTrustAnchorCommand.d.ts +4 -0
  11. package/dist-types/commands/DisableCrlCommand.d.ts +3 -0
  12. package/dist-types/commands/DisableProfileCommand.d.ts +3 -0
  13. package/dist-types/commands/DisableTrustAnchorCommand.d.ts +4 -0
  14. package/dist-types/commands/EnableCrlCommand.d.ts +3 -0
  15. package/dist-types/commands/EnableProfileCommand.d.ts +3 -0
  16. package/dist-types/commands/EnableTrustAnchorCommand.d.ts +4 -0
  17. package/dist-types/commands/GetCrlCommand.d.ts +3 -0
  18. package/dist-types/commands/GetProfileCommand.d.ts +3 -0
  19. package/dist-types/commands/GetSubjectCommand.d.ts +3 -0
  20. package/dist-types/commands/GetTrustAnchorCommand.d.ts +4 -0
  21. package/dist-types/commands/ImportCrlCommand.d.ts +3 -0
  22. package/dist-types/commands/ListCrlsCommand.d.ts +3 -0
  23. package/dist-types/commands/ListProfilesCommand.d.ts +3 -0
  24. package/dist-types/commands/ListSubjectsCommand.d.ts +3 -0
  25. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  26. package/dist-types/commands/ListTrustAnchorsCommand.d.ts +4 -0
  27. package/dist-types/commands/PutAttributeMappingCommand.d.ts +3 -0
  28. package/dist-types/commands/PutNotificationSettingsCommand.d.ts +4 -0
  29. package/dist-types/commands/ResetNotificationSettingsCommand.d.ts +4 -0
  30. package/dist-types/commands/TagResourceCommand.d.ts +3 -0
  31. package/dist-types/commands/UntagResourceCommand.d.ts +3 -0
  32. package/dist-types/commands/UpdateCrlCommand.d.ts +3 -0
  33. package/dist-types/commands/UpdateProfileCommand.d.ts +3 -0
  34. package/dist-types/commands/UpdateTrustAnchorCommand.d.ts +5 -0
  35. package/dist-types/models/errors.d.ts +19 -0
  36. package/dist-types/models/models_0.d.ts +15 -0
  37. package/dist-types/runtimeConfig.d.ts +1 -0
  38. package/dist-types/schemas/schemas_0.d.ts +1 -0
  39. package/dist-types/ts3.4/models/errors.d.ts +8 -0
  40. package/dist-types/ts3.4/models/models_0.d.ts +3 -0
  41. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  42. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
  43. package/package.json +3 -3
package/dist-cjs/index.js CHANGED
@@ -1,4 +1,4 @@
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");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, getDefaultSocketTimeout, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
3
  const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
4
  const { Command: $Command } = require("@smithy/core/client");
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1160.0";
72
+ var version = "3.1161.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -152,6 +152,22 @@ class AccessDeniedException extends RolesAnywhereServiceException {
152
152
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
153
153
  }
154
154
  }
155
+ class ServiceUnavailableException extends RolesAnywhereServiceException {
156
+ static shapeId = "com.amazonaws.rolesanywhere#ServiceUnavailableException";
157
+ name = "ServiceUnavailableException";
158
+ $fault = "server";
159
+ $retryable = {};
160
+ retryAfterSeconds;
161
+ constructor(opts) {
162
+ super({
163
+ name: "ServiceUnavailableException",
164
+ $fault: "server",
165
+ ...opts,
166
+ });
167
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
168
+ this.retryAfterSeconds = opts.retryAfterSeconds;
169
+ }
170
+ }
155
171
  class ValidationException extends RolesAnywhereServiceException {
156
172
  static shapeId = "com.amazonaws.rolesanywhere#ValidationException";
157
173
  name = "ValidationException";
@@ -267,6 +283,7 @@ const _SS = "SubjectSummary";
267
283
  const _SSR = "ScalarSubjectRequest";
268
284
  const _SSu = "SubjectSummaries";
269
285
  const _STAR = "ScalarTrustAnchorRequest";
286
+ const _SUE = "ServiceUnavailableException";
270
287
  const _T = "Tag";
271
288
  const _TAD = "TrustAnchorDetail";
272
289
  const _TADR = "TrustAnchorDetailResponse";
@@ -298,6 +315,7 @@ const _cAr = "createdAt";
298
315
  const _cB = "configuredBy";
299
316
  const _cBr = "createdBy";
300
317
  const _cD = "crlData";
318
+ const _cDRE = "crlDpRevocationEnabled";
301
319
  const _cF = "certificateField";
302
320
  const _cI = "crlId";
303
321
  const _ch = "channel";
@@ -330,6 +348,7 @@ const _pS = "pageSize";
330
348
  const _pr = "properties";
331
349
  const _pro = "profiles";
332
350
  const _rA = "roleArns";
351
+ const _rAS = "retryAfterSeconds";
333
352
  const _rAe = "resourceArn";
334
353
  const _rIP = "requireInstanceProperties";
335
354
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.rolesanywhere";
@@ -340,6 +359,7 @@ const _sI = "subjectId";
340
359
  const _sN = "serialNumber";
341
360
  const _sP = "sessionPolicy";
342
361
  const _sT = "sourceType";
362
+ const _se = "server";
343
363
  const _so = "source";
344
364
  const _sp = "specifiers";
345
365
  const _spe = "specifier";
@@ -373,6 +393,12 @@ var ResourceNotFoundException$ = [-3, n0, _RNFE,
373
393
  [0]
374
394
  ];
375
395
  n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
396
+ var ServiceUnavailableException$ = [-3, n0, _SUE,
397
+ { [_e]: _se, [_hE]: 503 },
398
+ [_m, _rAS],
399
+ [0, 1], 1
400
+ ];
401
+ n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
376
402
  var TooManyTagsException$ = [-3, n0, _TMTE,
377
403
  { [_e]: _c, [_hE]: 400 },
378
404
  [_m],
@@ -403,8 +429,8 @@ var CreateProfileRequest$ = [3, n0, _CPR,
403
429
  ];
404
430
  var CreateTrustAnchorRequest$ = [3, n0, _CTAR,
405
431
  0,
406
- [_n, _so, _en, _t, _nS],
407
- [0, () => Source$, 2, [() => TagList, 0], () => NotificationSettings], 2
432
+ [_n, _so, _en, _cDRE, _t, _nS],
433
+ [0, () => Source$, 2, 2, [() => TagList, 0], () => NotificationSettings], 2
408
434
  ];
409
435
  var CredentialSummary$ = [3, n0, _CS,
410
436
  0,
@@ -593,8 +619,8 @@ var TagResourceResponse$ = [3, n0, _TRRa,
593
619
  ];
594
620
  var TrustAnchorDetail$ = [3, n0, _TAD,
595
621
  0,
596
- [_tAI, _tAA, _n, _so, _en, _cAr, _uA, _nS],
597
- [0, 0, 0, () => Source$, 2, 5, 5, () => NotificationSettingDetails]
622
+ [_tAI, _tAA, _n, _so, _en, _cDRE, _cAr, _uA, _nS],
623
+ [0, 0, 0, () => Source$, 2, 2, 5, 5, () => NotificationSettingDetails]
598
624
  ];
599
625
  var TrustAnchorDetailResponse$ = [3, n0, _TADR,
600
626
  0,
@@ -623,8 +649,8 @@ var UpdateProfileRequest$ = [3, n0, _UPR,
623
649
  ];
624
650
  var UpdateTrustAnchorRequest$ = [3, n0, _UTAR,
625
651
  0,
626
- [_tAI, _n, _so],
627
- [[0, 1], 0, () => Source$], 1
652
+ [_tAI, _n, _so, _cDRE],
653
+ [[0, 1], 0, () => Source$, 2], 1
628
654
  ];
629
655
  var AttributeMappings = [1, n0, _AMt,
630
656
  0, () => AttributeMapping$
@@ -813,6 +839,7 @@ const getRuntimeConfig = (config) => {
813
839
  authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
814
840
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
815
841
  credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
842
+ defaultSocketTimeout: getDefaultSocketTimeout(config?.requestHandler, 300_000),
816
843
  defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
817
844
  maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
818
845
  region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
@@ -1165,6 +1192,8 @@ exports.ScalarCrlRequest$ = ScalarCrlRequest$;
1165
1192
  exports.ScalarProfileRequest$ = ScalarProfileRequest$;
1166
1193
  exports.ScalarSubjectRequest$ = ScalarSubjectRequest$;
1167
1194
  exports.ScalarTrustAnchorRequest$ = ScalarTrustAnchorRequest$;
1195
+ exports.ServiceUnavailableException = ServiceUnavailableException;
1196
+ exports.ServiceUnavailableException$ = ServiceUnavailableException$;
1168
1197
  exports.Source$ = Source$;
1169
1198
  exports.SourceData$ = SourceData$;
1170
1199
  exports.SubjectDetail$ = SubjectDetail$;
@@ -12,6 +12,22 @@ export class AccessDeniedException extends __BaseException {
12
12
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
13
  }
14
14
  }
15
+ export class ServiceUnavailableException extends __BaseException {
16
+ static shapeId = "com.amazonaws.rolesanywhere#ServiceUnavailableException";
17
+ name = "ServiceUnavailableException";
18
+ $fault = "server";
19
+ $retryable = {};
20
+ retryAfterSeconds;
21
+ constructor(opts) {
22
+ super({
23
+ name: "ServiceUnavailableException",
24
+ $fault: "server",
25
+ ...opts,
26
+ });
27
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
28
+ this.retryAfterSeconds = opts.retryAfterSeconds;
29
+ }
30
+ }
15
31
  export class ValidationException extends __BaseException {
16
32
  static shapeId = "com.amazonaws.rolesanywhere#ValidationException";
17
33
  name = "ValidationException";
@@ -1,5 +1,5 @@
1
1
  import packageInfo from "../package.json";
2
- import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS, } from "@aws-sdk/core/client";
2
+ import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, getDefaultSocketTimeout, NODE_APP_ID_CONFIG_OPTIONS, } from "@aws-sdk/core/client";
3
3
  import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
4
4
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
@@ -26,6 +26,7 @@ export const getRuntimeConfig = (config) => {
26
26
  authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
27
27
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
28
28
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
29
+ defaultSocketTimeout: getDefaultSocketTimeout(config?.requestHandler, 300_000),
29
30
  defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
30
31
  maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
31
32
  region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
@@ -73,6 +73,7 @@ const _SS = "SubjectSummary";
73
73
  const _SSR = "ScalarSubjectRequest";
74
74
  const _SSu = "SubjectSummaries";
75
75
  const _STAR = "ScalarTrustAnchorRequest";
76
+ const _SUE = "ServiceUnavailableException";
76
77
  const _T = "Tag";
77
78
  const _TAD = "TrustAnchorDetail";
78
79
  const _TADR = "TrustAnchorDetailResponse";
@@ -104,6 +105,7 @@ const _cAr = "createdAt";
104
105
  const _cB = "configuredBy";
105
106
  const _cBr = "createdBy";
106
107
  const _cD = "crlData";
108
+ const _cDRE = "crlDpRevocationEnabled";
107
109
  const _cF = "certificateField";
108
110
  const _cI = "crlId";
109
111
  const _ch = "channel";
@@ -136,6 +138,7 @@ const _pS = "pageSize";
136
138
  const _pr = "properties";
137
139
  const _pro = "profiles";
138
140
  const _rA = "roleArns";
141
+ const _rAS = "retryAfterSeconds";
139
142
  const _rAe = "resourceArn";
140
143
  const _rIP = "requireInstanceProperties";
141
144
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.rolesanywhere";
@@ -146,6 +149,7 @@ const _sI = "subjectId";
146
149
  const _sN = "serialNumber";
147
150
  const _sP = "sessionPolicy";
148
151
  const _sT = "sourceType";
152
+ const _se = "server";
149
153
  const _so = "source";
150
154
  const _sp = "specifiers";
151
155
  const _spe = "specifier";
@@ -164,7 +168,7 @@ const _xCD = "x509CertificateData";
164
168
  const _xS = "x509Subject";
165
169
  const n0 = "com.amazonaws.rolesanywhere";
166
170
  import { TypeRegistry } from "@smithy/core/schema";
167
- import { AccessDeniedException, ResourceNotFoundException, TooManyTagsException, ValidationException, } from "../models/errors";
171
+ import { AccessDeniedException, ResourceNotFoundException, ServiceUnavailableException, TooManyTagsException, ValidationException, } from "../models/errors";
168
172
  import { RolesAnywhereServiceException } from "../models/RolesAnywhereServiceException";
169
173
  const _s_registry = new TypeRegistry(_s);
170
174
  export var RolesAnywhereServiceException$ = [-3, _s, "RolesAnywhereServiceException", 0, [], []];
@@ -182,6 +186,12 @@ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
182
186
  [0]
183
187
  ];
184
188
  n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
189
+ export var ServiceUnavailableException$ = [-3, n0, _SUE,
190
+ { [_e]: _se, [_hE]: 503 },
191
+ [_m, _rAS],
192
+ [0, 1], 1
193
+ ];
194
+ n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
185
195
  export var TooManyTagsException$ = [-3, n0, _TMTE,
186
196
  { [_e]: _c, [_hE]: 400 },
187
197
  [_m],
@@ -212,8 +222,8 @@ export var CreateProfileRequest$ = [3, n0, _CPR,
212
222
  ];
213
223
  export var CreateTrustAnchorRequest$ = [3, n0, _CTAR,
214
224
  0,
215
- [_n, _so, _en, _t, _nS],
216
- [0, () => Source$, 2, [() => TagList, 0], () => NotificationSettings], 2
225
+ [_n, _so, _en, _cDRE, _t, _nS],
226
+ [0, () => Source$, 2, 2, [() => TagList, 0], () => NotificationSettings], 2
217
227
  ];
218
228
  export var CredentialSummary$ = [3, n0, _CS,
219
229
  0,
@@ -402,8 +412,8 @@ export var TagResourceResponse$ = [3, n0, _TRRa,
402
412
  ];
403
413
  export var TrustAnchorDetail$ = [3, n0, _TAD,
404
414
  0,
405
- [_tAI, _tAA, _n, _so, _en, _cAr, _uA, _nS],
406
- [0, 0, 0, () => Source$, 2, 5, 5, () => NotificationSettingDetails]
415
+ [_tAI, _tAA, _n, _so, _en, _cDRE, _cAr, _uA, _nS],
416
+ [0, 0, 0, () => Source$, 2, 2, 5, 5, () => NotificationSettingDetails]
407
417
  ];
408
418
  export var TrustAnchorDetailResponse$ = [3, n0, _TADR,
409
419
  0,
@@ -432,8 +442,8 @@ export var UpdateProfileRequest$ = [3, n0, _UPR,
432
442
  ];
433
443
  export var UpdateTrustAnchorRequest$ = [3, n0, _UTAR,
434
444
  0,
435
- [_tAI, _n, _so],
436
- [[0, 1], 0, () => Source$], 1
445
+ [_tAI, _n, _so, _cDRE],
446
+ [[0, 1], 0, () => Source$, 2], 1
437
447
  ];
438
448
  var AttributeMappings = [1, n0, _AMt,
439
449
  0, () => AttributeMapping$
@@ -98,6 +98,9 @@ declare const CreateProfileCommand_base: {
98
98
  * @throws {@link AccessDeniedException} (client fault)
99
99
  * <p>You do not have sufficient access to perform this action.</p>
100
100
  *
101
+ * @throws {@link ServiceUnavailableException} (server fault)
102
+ * <p>The request has failed due to a temporary failure of the service.</p>
103
+ *
101
104
  * @throws {@link ValidationException} (client fault)
102
105
  * <p>Validation exception error.</p>
103
106
  *
@@ -43,6 +43,7 @@ declare const CreateTrustAnchorCommand_base: {
43
43
  * },
44
44
  * },
45
45
  * enabled: true || false,
46
+ * crlDpRevocationEnabled: true || false,
46
47
  * tags: [ // TagList
47
48
  * { // Tag
48
49
  * key: "STRING_VALUE", // required
@@ -73,6 +74,7 @@ declare const CreateTrustAnchorCommand_base: {
73
74
  * // },
74
75
  * // },
75
76
  * // enabled: true || false,
77
+ * // crlDpRevocationEnabled: true || false,
76
78
  * // createdAt: new Date("TIMESTAMP"),
77
79
  * // updatedAt: new Date("TIMESTAMP"),
78
80
  * // notificationSettings: [ // NotificationSettingDetails
@@ -98,6 +100,9 @@ declare const CreateTrustAnchorCommand_base: {
98
100
  * @throws {@link AccessDeniedException} (client fault)
99
101
  * <p>You do not have sufficient access to perform this action.</p>
100
102
  *
103
+ * @throws {@link ServiceUnavailableException} (server fault)
104
+ * <p>The request has failed due to a temporary failure of the service.</p>
105
+ *
101
106
  * @throws {@link ValidationException} (client fault)
102
107
  * <p>Validation exception error.</p>
103
108
  *
@@ -88,6 +88,9 @@ declare const DeleteAttributeMappingCommand_base: {
88
88
  * @throws {@link ResourceNotFoundException} (client fault)
89
89
  * <p>The resource could not be found.</p>
90
90
  *
91
+ * @throws {@link ServiceUnavailableException} (server fault)
92
+ * <p>The request has failed due to a temporary failure of the service.</p>
93
+ *
91
94
  * @throws {@link ValidationException} (client fault)
92
95
  * <p>Validation exception error.</p>
93
96
  *
@@ -65,6 +65,9 @@ declare const DeleteCrlCommand_base: {
65
65
  * @throws {@link ResourceNotFoundException} (client fault)
66
66
  * <p>The resource could not be found.</p>
67
67
  *
68
+ * @throws {@link ServiceUnavailableException} (server fault)
69
+ * <p>The request has failed due to a temporary failure of the service.</p>
70
+ *
68
71
  * @throws {@link RolesAnywhereServiceException}
69
72
  * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
70
73
  *
@@ -84,6 +84,9 @@ declare const DeleteProfileCommand_base: {
84
84
  * @throws {@link ResourceNotFoundException} (client fault)
85
85
  * <p>The resource could not be found.</p>
86
86
  *
87
+ * @throws {@link ServiceUnavailableException} (server fault)
88
+ * <p>The request has failed due to a temporary failure of the service.</p>
89
+ *
87
90
  * @throws {@link RolesAnywhereServiceException}
88
91
  * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
89
92
  *
@@ -51,6 +51,7 @@ declare const DeleteTrustAnchorCommand_base: {
51
51
  * // },
52
52
  * // },
53
53
  * // enabled: true || false,
54
+ * // crlDpRevocationEnabled: true || false,
54
55
  * // createdAt: new Date("TIMESTAMP"),
55
56
  * // updatedAt: new Date("TIMESTAMP"),
56
57
  * // notificationSettings: [ // NotificationSettingDetails
@@ -79,6 +80,9 @@ declare const DeleteTrustAnchorCommand_base: {
79
80
  * @throws {@link ResourceNotFoundException} (client fault)
80
81
  * <p>The resource could not be found.</p>
81
82
  *
83
+ * @throws {@link ServiceUnavailableException} (server fault)
84
+ * <p>The request has failed due to a temporary failure of the service.</p>
85
+ *
82
86
  * @throws {@link RolesAnywhereServiceException}
83
87
  * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
84
88
  *
@@ -65,6 +65,9 @@ declare const DisableCrlCommand_base: {
65
65
  * @throws {@link ResourceNotFoundException} (client fault)
66
66
  * <p>The resource could not be found.</p>
67
67
  *
68
+ * @throws {@link ServiceUnavailableException} (server fault)
69
+ * <p>The request has failed due to a temporary failure of the service.</p>
70
+ *
68
71
  * @throws {@link RolesAnywhereServiceException}
69
72
  * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
70
73
  *
@@ -84,6 +84,9 @@ declare const DisableProfileCommand_base: {
84
84
  * @throws {@link ResourceNotFoundException} (client fault)
85
85
  * <p>The resource could not be found.</p>
86
86
  *
87
+ * @throws {@link ServiceUnavailableException} (server fault)
88
+ * <p>The request has failed due to a temporary failure of the service.</p>
89
+ *
87
90
  * @throws {@link RolesAnywhereServiceException}
88
91
  * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
89
92
  *
@@ -51,6 +51,7 @@ declare const DisableTrustAnchorCommand_base: {
51
51
  * // },
52
52
  * // },
53
53
  * // enabled: true || false,
54
+ * // crlDpRevocationEnabled: true || false,
54
55
  * // createdAt: new Date("TIMESTAMP"),
55
56
  * // updatedAt: new Date("TIMESTAMP"),
56
57
  * // notificationSettings: [ // NotificationSettingDetails
@@ -79,6 +80,9 @@ declare const DisableTrustAnchorCommand_base: {
79
80
  * @throws {@link ResourceNotFoundException} (client fault)
80
81
  * <p>The resource could not be found.</p>
81
82
  *
83
+ * @throws {@link ServiceUnavailableException} (server fault)
84
+ * <p>The request has failed due to a temporary failure of the service.</p>
85
+ *
82
86
  * @throws {@link RolesAnywhereServiceException}
83
87
  * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
84
88
  *
@@ -65,6 +65,9 @@ declare const EnableCrlCommand_base: {
65
65
  * @throws {@link ResourceNotFoundException} (client fault)
66
66
  * <p>The resource could not be found.</p>
67
67
  *
68
+ * @throws {@link ServiceUnavailableException} (server fault)
69
+ * <p>The request has failed due to a temporary failure of the service.</p>
70
+ *
68
71
  * @throws {@link RolesAnywhereServiceException}
69
72
  * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
70
73
  *
@@ -84,6 +84,9 @@ declare const EnableProfileCommand_base: {
84
84
  * @throws {@link ResourceNotFoundException} (client fault)
85
85
  * <p>The resource could not be found.</p>
86
86
  *
87
+ * @throws {@link ServiceUnavailableException} (server fault)
88
+ * <p>The request has failed due to a temporary failure of the service.</p>
89
+ *
87
90
  * @throws {@link RolesAnywhereServiceException}
88
91
  * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
89
92
  *
@@ -51,6 +51,7 @@ declare const EnableTrustAnchorCommand_base: {
51
51
  * // },
52
52
  * // },
53
53
  * // enabled: true || false,
54
+ * // crlDpRevocationEnabled: true || false,
54
55
  * // createdAt: new Date("TIMESTAMP"),
55
56
  * // updatedAt: new Date("TIMESTAMP"),
56
57
  * // notificationSettings: [ // NotificationSettingDetails
@@ -79,6 +80,9 @@ declare const EnableTrustAnchorCommand_base: {
79
80
  * @throws {@link ResourceNotFoundException} (client fault)
80
81
  * <p>The resource could not be found.</p>
81
82
  *
83
+ * @throws {@link ServiceUnavailableException} (server fault)
84
+ * <p>The request has failed due to a temporary failure of the service.</p>
85
+ *
82
86
  * @throws {@link RolesAnywhereServiceException}
83
87
  * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
84
88
  *
@@ -62,6 +62,9 @@ declare const GetCrlCommand_base: {
62
62
  * @throws {@link ResourceNotFoundException} (client fault)
63
63
  * <p>The resource could not be found.</p>
64
64
  *
65
+ * @throws {@link ServiceUnavailableException} (server fault)
66
+ * <p>The request has failed due to a temporary failure of the service.</p>
67
+ *
65
68
  * @throws {@link RolesAnywhereServiceException}
66
69
  * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
67
70
  *
@@ -84,6 +84,9 @@ declare const GetProfileCommand_base: {
84
84
  * @throws {@link ResourceNotFoundException} (client fault)
85
85
  * <p>The resource could not be found.</p>
86
86
  *
87
+ * @throws {@link ServiceUnavailableException} (server fault)
88
+ * <p>The request has failed due to a temporary failure of the service.</p>
89
+ *
87
90
  * @throws {@link RolesAnywhereServiceException}
88
91
  * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
89
92
  *
@@ -83,6 +83,9 @@ declare const GetSubjectCommand_base: {
83
83
  * @throws {@link ResourceNotFoundException} (client fault)
84
84
  * <p>The resource could not be found.</p>
85
85
  *
86
+ * @throws {@link ServiceUnavailableException} (server fault)
87
+ * <p>The request has failed due to a temporary failure of the service.</p>
88
+ *
86
89
  * @throws {@link RolesAnywhereServiceException}
87
90
  * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
88
91
  *
@@ -51,6 +51,7 @@ declare const GetTrustAnchorCommand_base: {
51
51
  * // },
52
52
  * // },
53
53
  * // enabled: true || false,
54
+ * // crlDpRevocationEnabled: true || false,
54
55
  * // createdAt: new Date("TIMESTAMP"),
55
56
  * // updatedAt: new Date("TIMESTAMP"),
56
57
  * // notificationSettings: [ // NotificationSettingDetails
@@ -79,6 +80,9 @@ declare const GetTrustAnchorCommand_base: {
79
80
  * @throws {@link ResourceNotFoundException} (client fault)
80
81
  * <p>The resource could not be found.</p>
81
82
  *
83
+ * @throws {@link ServiceUnavailableException} (server fault)
84
+ * <p>The request has failed due to a temporary failure of the service.</p>
85
+ *
82
86
  * @throws {@link ValidationException} (client fault)
83
87
  * <p>Validation exception error.</p>
84
88
  *
@@ -71,6 +71,9 @@ declare const ImportCrlCommand_base: {
71
71
  * @throws {@link AccessDeniedException} (client fault)
72
72
  * <p>You do not have sufficient access to perform this action.</p>
73
73
  *
74
+ * @throws {@link ServiceUnavailableException} (server fault)
75
+ * <p>The request has failed due to a temporary failure of the service.</p>
76
+ *
74
77
  * @throws {@link ValidationException} (client fault)
75
78
  * <p>Validation exception error.</p>
76
79
  *
@@ -66,6 +66,9 @@ declare const ListCrlsCommand_base: {
66
66
  * @throws {@link AccessDeniedException} (client fault)
67
67
  * <p>You do not have sufficient access to perform this action.</p>
68
68
  *
69
+ * @throws {@link ServiceUnavailableException} (server fault)
70
+ * <p>The request has failed due to a temporary failure of the service.</p>
71
+ *
69
72
  * @throws {@link ValidationException} (client fault)
70
73
  * <p>Validation exception error.</p>
71
74
  *
@@ -85,6 +85,9 @@ declare const ListProfilesCommand_base: {
85
85
  * @throws {@link AccessDeniedException} (client fault)
86
86
  * <p>You do not have sufficient access to perform this action.</p>
87
87
  *
88
+ * @throws {@link ServiceUnavailableException} (server fault)
89
+ * <p>The request has failed due to a temporary failure of the service.</p>
90
+ *
88
91
  * @throws {@link ValidationException} (client fault)
89
92
  * <p>Validation exception error.</p>
90
93
  *
@@ -65,6 +65,9 @@ declare const ListSubjectsCommand_base: {
65
65
  * @throws {@link AccessDeniedException} (client fault)
66
66
  * <p>You do not have sufficient access to perform this action.</p>
67
67
  *
68
+ * @throws {@link ServiceUnavailableException} (server fault)
69
+ * <p>The request has failed due to a temporary failure of the service.</p>
70
+ *
68
71
  * @throws {@link ValidationException} (client fault)
69
72
  * <p>Validation exception error.</p>
70
73
  *
@@ -61,6 +61,9 @@ declare const ListTagsForResourceCommand_base: {
61
61
  * @throws {@link ResourceNotFoundException} (client fault)
62
62
  * <p>The resource could not be found.</p>
63
63
  *
64
+ * @throws {@link ServiceUnavailableException} (server fault)
65
+ * <p>The request has failed due to a temporary failure of the service.</p>
66
+ *
64
67
  * @throws {@link ValidationException} (client fault)
65
68
  * <p>Validation exception error.</p>
66
69
  *
@@ -54,6 +54,7 @@ declare const ListTrustAnchorsCommand_base: {
54
54
  * // },
55
55
  * // },
56
56
  * // enabled: true || false,
57
+ * // crlDpRevocationEnabled: true || false,
57
58
  * // createdAt: new Date("TIMESTAMP"),
58
59
  * // updatedAt: new Date("TIMESTAMP"),
59
60
  * // notificationSettings: [ // NotificationSettingDetails
@@ -80,6 +81,9 @@ declare const ListTrustAnchorsCommand_base: {
80
81
  * @throws {@link AccessDeniedException} (client fault)
81
82
  * <p>You do not have sufficient access to perform this action.</p>
82
83
  *
84
+ * @throws {@link ServiceUnavailableException} (server fault)
85
+ * <p>The request has failed due to a temporary failure of the service.</p>
86
+ *
83
87
  * @throws {@link ValidationException} (client fault)
84
88
  * <p>Validation exception error.</p>
85
89
  *
@@ -90,6 +90,9 @@ declare const PutAttributeMappingCommand_base: {
90
90
  * @throws {@link ResourceNotFoundException} (client fault)
91
91
  * <p>The resource could not be found.</p>
92
92
  *
93
+ * @throws {@link ServiceUnavailableException} (server fault)
94
+ * <p>The request has failed due to a temporary failure of the service.</p>
95
+ *
93
96
  * @throws {@link ValidationException} (client fault)
94
97
  * <p>Validation exception error.</p>
95
98
  *
@@ -59,6 +59,7 @@ declare const PutNotificationSettingsCommand_base: {
59
59
  * // },
60
60
  * // },
61
61
  * // enabled: true || false,
62
+ * // crlDpRevocationEnabled: true || false,
62
63
  * // createdAt: new Date("TIMESTAMP"),
63
64
  * // updatedAt: new Date("TIMESTAMP"),
64
65
  * // notificationSettings: [ // NotificationSettingDetails
@@ -87,6 +88,9 @@ declare const PutNotificationSettingsCommand_base: {
87
88
  * @throws {@link ResourceNotFoundException} (client fault)
88
89
  * <p>The resource could not be found.</p>
89
90
  *
91
+ * @throws {@link ServiceUnavailableException} (server fault)
92
+ * <p>The request has failed due to a temporary failure of the service.</p>
93
+ *
90
94
  * @throws {@link ValidationException} (client fault)
91
95
  * <p>Validation exception error.</p>
92
96
  *
@@ -57,6 +57,7 @@ declare const ResetNotificationSettingsCommand_base: {
57
57
  * // },
58
58
  * // },
59
59
  * // enabled: true || false,
60
+ * // crlDpRevocationEnabled: true || false,
60
61
  * // createdAt: new Date("TIMESTAMP"),
61
62
  * // updatedAt: new Date("TIMESTAMP"),
62
63
  * // notificationSettings: [ // NotificationSettingDetails
@@ -85,6 +86,9 @@ declare const ResetNotificationSettingsCommand_base: {
85
86
  * @throws {@link ResourceNotFoundException} (client fault)
86
87
  * <p>The resource could not be found.</p>
87
88
  *
89
+ * @throws {@link ServiceUnavailableException} (server fault)
90
+ * <p>The request has failed due to a temporary failure of the service.</p>
91
+ *
88
92
  * @throws {@link ValidationException} (client fault)
89
93
  * <p>Validation exception error.</p>
90
94
  *
@@ -60,6 +60,9 @@ declare const TagResourceCommand_base: {
60
60
  * @throws {@link ResourceNotFoundException} (client fault)
61
61
  * <p>The resource could not be found.</p>
62
62
  *
63
+ * @throws {@link ServiceUnavailableException} (server fault)
64
+ * <p>The request has failed due to a temporary failure of the service.</p>
65
+ *
63
66
  * @throws {@link TooManyTagsException} (client fault)
64
67
  * <p>Too many tags.</p>
65
68
  *
@@ -57,6 +57,9 @@ declare const UntagResourceCommand_base: {
57
57
  * @throws {@link ResourceNotFoundException} (client fault)
58
58
  * <p>The resource could not be found.</p>
59
59
  *
60
+ * @throws {@link ServiceUnavailableException} (server fault)
61
+ * <p>The request has failed due to a temporary failure of the service.</p>
62
+ *
60
63
  * @throws {@link ValidationException} (client fault)
61
64
  * <p>Validation exception error.</p>
62
65
  *
@@ -67,6 +67,9 @@ declare const UpdateCrlCommand_base: {
67
67
  * @throws {@link ResourceNotFoundException} (client fault)
68
68
  * <p>The resource could not be found.</p>
69
69
  *
70
+ * @throws {@link ServiceUnavailableException} (server fault)
71
+ * <p>The request has failed due to a temporary failure of the service.</p>
72
+ *
70
73
  * @throws {@link ValidationException} (client fault)
71
74
  * <p>Validation exception error.</p>
72
75
  *
@@ -94,6 +94,9 @@ declare const UpdateProfileCommand_base: {
94
94
  * @throws {@link ResourceNotFoundException} (client fault)
95
95
  * <p>The resource could not be found.</p>
96
96
  *
97
+ * @throws {@link ServiceUnavailableException} (server fault)
98
+ * <p>The request has failed due to a temporary failure of the service.</p>
99
+ *
97
100
  * @throws {@link ValidationException} (client fault)
98
101
  * <p>Validation exception error.</p>
99
102
  *
@@ -43,6 +43,7 @@ declare const UpdateTrustAnchorCommand_base: {
43
43
  * acmPcaArn: "STRING_VALUE",
44
44
  * },
45
45
  * },
46
+ * crlDpRevocationEnabled: true || false,
46
47
  * };
47
48
  * const command = new UpdateTrustAnchorCommand(input);
48
49
  * const response = await client.send(command);
@@ -59,6 +60,7 @@ declare const UpdateTrustAnchorCommand_base: {
59
60
  * // },
60
61
  * // },
61
62
  * // enabled: true || false,
63
+ * // crlDpRevocationEnabled: true || false,
62
64
  * // createdAt: new Date("TIMESTAMP"),
63
65
  * // updatedAt: new Date("TIMESTAMP"),
64
66
  * // notificationSettings: [ // NotificationSettingDetails
@@ -87,6 +89,9 @@ declare const UpdateTrustAnchorCommand_base: {
87
89
  * @throws {@link ResourceNotFoundException} (client fault)
88
90
  * <p>The resource could not be found.</p>
89
91
  *
92
+ * @throws {@link ServiceUnavailableException} (server fault)
93
+ * <p>The request has failed due to a temporary failure of the service.</p>
94
+ *
90
95
  * @throws {@link ValidationException} (client fault)
91
96
  * <p>Validation exception error.</p>
92
97
  *
@@ -13,6 +13,25 @@ export declare class AccessDeniedException extends __BaseException {
13
13
  */
14
14
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
15
  }
16
+ /**
17
+ * <p>The request has failed due to a temporary failure of the service.</p>
18
+ * @public
19
+ */
20
+ export declare class ServiceUnavailableException extends __BaseException {
21
+ static readonly shapeId: string;
22
+ readonly name: "ServiceUnavailableException";
23
+ readonly $fault: "server";
24
+ $retryable: {};
25
+ /**
26
+ * <p>The recommended number of seconds after which the client should retry the request.</p>
27
+ * @public
28
+ */
29
+ retryAfterSeconds?: number | undefined;
30
+ /**
31
+ * @internal
32
+ */
33
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
34
+ }
16
35
  /**
17
36
  * <p>Validation exception error.</p>
18
37
  * @public
@@ -284,6 +284,11 @@ export interface CreateTrustAnchorRequest {
284
284
  * @public
285
285
  */
286
286
  enabled?: boolean | undefined;
287
+ /**
288
+ * <p>Specifies whether the trust anchor checks certificate revocation status against CRL distribution points.</p>
289
+ * @public
290
+ */
291
+ crlDpRevocationEnabled?: boolean | undefined;
287
292
  /**
288
293
  * <p>The tags to attach to the trust anchor.</p>
289
294
  * @public
@@ -356,6 +361,11 @@ export interface TrustAnchorDetail {
356
361
  * @public
357
362
  */
358
363
  enabled?: boolean | undefined;
364
+ /**
365
+ * <p>Specifies whether the trust anchor checks certificate revocation status against CRL distribution points.</p>
366
+ * @public
367
+ */
368
+ crlDpRevocationEnabled?: boolean | undefined;
359
369
  /**
360
370
  * <p>The ISO-8601 timestamp when the trust anchor was created. </p>
361
371
  * @public
@@ -987,6 +997,11 @@ export interface UpdateTrustAnchorRequest {
987
997
  * @public
988
998
  */
989
999
  source?: Source | undefined;
1000
+ /**
1001
+ * <p>Specifies whether the trust anchor checks certificate revocation status against CRL distribution points.</p>
1002
+ * @public
1003
+ */
1004
+ crlDpRevocationEnabled?: boolean | undefined;
990
1005
  }
991
1006
  /**
992
1007
  * @public
@@ -44,6 +44,7 @@ export declare const getRuntimeConfig: (config: RolesAnywhereClientConfig) => {
44
44
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
45
45
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
46
46
  credentialDefaultProvider: ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider) | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
47
+ defaultSocketTimeout: number | undefined;
47
48
  defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
48
49
  maxAttempts: number | import("@smithy/types").Provider<number>;
49
50
  region: string | import("@smithy/types").Provider<string>;
@@ -3,6 +3,7 @@ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, S
3
3
  export declare var RolesAnywhereServiceException$: StaticErrorSchema;
4
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
5
  export declare var ResourceNotFoundException$: StaticErrorSchema;
6
+ export declare var ServiceUnavailableException$: StaticErrorSchema;
6
7
  export declare var TooManyTagsException$: StaticErrorSchema;
7
8
  export declare var ValidationException$: StaticErrorSchema;
8
9
  /**
@@ -6,6 +6,14 @@ export declare class AccessDeniedException extends __BaseException {
6
6
  readonly $fault: "client";
7
7
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
8
8
  }
9
+ export declare class ServiceUnavailableException extends __BaseException {
10
+ static readonly shapeId: string;
11
+ readonly name: "ServiceUnavailableException";
12
+ readonly $fault: "server";
13
+ $retryable: {};
14
+ retryAfterSeconds?: number | undefined;
15
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
16
+ }
9
17
  export declare class ValidationException extends __BaseException {
10
18
  static readonly shapeId: string;
11
19
  readonly name: "ValidationException";
@@ -80,6 +80,7 @@ export interface CreateTrustAnchorRequest {
80
80
  name: string | undefined;
81
81
  source: Source | undefined;
82
82
  enabled?: boolean | undefined;
83
+ crlDpRevocationEnabled?: boolean | undefined;
83
84
  tags?: Tag[] | undefined;
84
85
  notificationSettings?: NotificationSetting[] | undefined;
85
86
  }
@@ -96,6 +97,7 @@ export interface TrustAnchorDetail {
96
97
  name?: string | undefined;
97
98
  source?: Source | undefined;
98
99
  enabled?: boolean | undefined;
100
+ crlDpRevocationEnabled?: boolean | undefined;
99
101
  createdAt?: Date | undefined;
100
102
  updatedAt?: Date | undefined;
101
103
  notificationSettings?: NotificationSettingDetail[] | undefined;
@@ -254,6 +256,7 @@ export interface UpdateTrustAnchorRequest {
254
256
  trustAnchorId: string | undefined;
255
257
  name?: string | undefined;
256
258
  source?: Source | undefined;
259
+ crlDpRevocationEnabled?: boolean | undefined;
257
260
  }
258
261
  export interface UntagResourceRequest {
259
262
  resourceArn: string | undefined;
@@ -78,6 +78,7 @@ export declare const getRuntimeConfig: (config: RolesAnywhereClientConfig) => {
78
78
  init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
79
79
  ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider)
80
80
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
81
+ defaultSocketTimeout: number | undefined;
81
82
  defaultUserAgentProvider: (
82
83
  config?: import("@aws-sdk/core/client").PreviouslyResolved,
83
84
  ) => Promise<import("@smithy/types").UserAgent>;
@@ -8,6 +8,7 @@ import {
8
8
  export declare var RolesAnywhereServiceException$: StaticErrorSchema;
9
9
  export declare var AccessDeniedException$: StaticErrorSchema;
10
10
  export declare var ResourceNotFoundException$: StaticErrorSchema;
11
+ export declare var ServiceUnavailableException$: StaticErrorSchema;
11
12
  export declare var TooManyTagsException$: StaticErrorSchema;
12
13
  export declare var ValidationException$: StaticErrorSchema;
13
14
  export declare const errorTypeRegistries: TypeRegistry[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rolesanywhere",
3
- "version": "3.1161.0",
3
+ "version": "3.1162.0",
4
4
  "description": "AWS SDK for JavaScript Rolesanywhere Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-rolesanywhere",
6
6
  "license": "Apache-2.0",
@@ -46,8 +46,8 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.979.1",
50
- "@aws-sdk/credential-provider-node": "^3.972.92",
49
+ "@aws-sdk/core": "^3.980.0",
50
+ "@aws-sdk/credential-provider-node": "^3.972.93",
51
51
  "@aws-sdk/types": "^3.975.0",
52
52
  "@smithy/core": "^3.38.0",
53
53
  "@smithy/fetch-http-handler": "^5.8.0",