@aws-sdk/client-arc-region-switch 3.1164.0 → 3.1166.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 CHANGED
@@ -67,7 +67,7 @@ const commonParams = {
67
67
  Region: { type: "builtInParams", name: "region" },
68
68
  };
69
69
 
70
- var version = "3.1163.0";
70
+ var version = "3.1165.0";
71
71
  var packageInfo = {
72
72
  version: version};
73
73
 
@@ -195,6 +195,24 @@ class IllegalStateException extends ARCRegionSwitchServiceException {
195
195
  Object.setPrototypeOf(this, IllegalStateException.prototype);
196
196
  }
197
197
  }
198
+ class RetryableConflictException extends ARCRegionSwitchServiceException {
199
+ static shapeId = "com.amazonaws.arcregionswitch#RetryableConflictException";
200
+ name = "RetryableConflictException";
201
+ $fault = "client";
202
+ $retryable = {};
203
+ resourceId;
204
+ resourceType;
205
+ constructor(opts) {
206
+ super({
207
+ name: "RetryableConflictException",
208
+ $fault: "client",
209
+ ...opts,
210
+ });
211
+ Object.setPrototypeOf(this, RetryableConflictException.prototype);
212
+ this.resourceId = opts.resourceId;
213
+ this.resourceType = opts.resourceType;
214
+ }
215
+ }
198
216
  class ConflictException extends ARCRegionSwitchServiceException {
199
217
  static shapeId = "com.amazonaws.arcregionswitch#ConflictException";
200
218
  name = "ConflictException";
@@ -319,6 +337,7 @@ const _PW = "PlanWarnings";
319
337
  const _RARC = "RegionAndRoutingControls";
320
338
  const _RC = "ReportConfiguration";
321
339
  const _RCCRRC = "RdsCreateCrossRegionReplicaConfiguration";
340
+ const _RCE = "RetryableConflictException";
322
341
  const _RESMM = "RegionEventSourceMappingMap";
323
342
  const _RHC = "Route53HealthCheck";
324
343
  const _RHCC = "Route53HealthCheckConfiguration";
@@ -589,6 +608,12 @@ var ResourceNotFoundException$ = [-3, n0, _RNFE,
589
608
  [0], 1
590
609
  ];
591
610
  n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
611
+ var RetryableConflictException$ = [-3, n0, _RCE,
612
+ { [_e]: _c, [_hE]: 409 },
613
+ [_m, _rI, _rT],
614
+ [0, 0, 0], 1
615
+ ];
616
+ n0_registry.registerError(RetryableConflictException$, RetryableConflictException);
592
617
  const errorTypeRegistries = [
593
618
  _s_registry,
594
619
  n0_registry,
@@ -2023,6 +2048,8 @@ exports.ResourceNotFoundException = ResourceNotFoundException;
2023
2048
  exports.ResourceNotFoundException$ = ResourceNotFoundException$;
2024
2049
  exports.ResourceWarning$ = ResourceWarning$;
2025
2050
  exports.ResourceWarningStatus = ResourceWarningStatus;
2051
+ exports.RetryableConflictException = RetryableConflictException;
2052
+ exports.RetryableConflictException$ = RetryableConflictException$;
2026
2053
  exports.Route53HealthCheck$ = Route53HealthCheck$;
2027
2054
  exports.Route53HealthCheckConfiguration$ = Route53HealthCheckConfiguration$;
2028
2055
  exports.Route53HealthCheckStatus = Route53HealthCheckStatus;
@@ -64,6 +64,24 @@ export class IllegalStateException extends __BaseException {
64
64
  Object.setPrototypeOf(this, IllegalStateException.prototype);
65
65
  }
66
66
  }
67
+ export class RetryableConflictException extends __BaseException {
68
+ static shapeId = "com.amazonaws.arcregionswitch#RetryableConflictException";
69
+ name = "RetryableConflictException";
70
+ $fault = "client";
71
+ $retryable = {};
72
+ resourceId;
73
+ resourceType;
74
+ constructor(opts) {
75
+ super({
76
+ name: "RetryableConflictException",
77
+ $fault: "client",
78
+ ...opts,
79
+ });
80
+ Object.setPrototypeOf(this, RetryableConflictException.prototype);
81
+ this.resourceId = opts.resourceId;
82
+ this.resourceType = opts.resourceType;
83
+ }
84
+ }
67
85
  export class ConflictException extends __BaseException {
68
86
  static shapeId = "com.amazonaws.arcregionswitch#ConflictException";
69
87
  name = "ConflictException";
@@ -104,6 +104,7 @@ const _PW = "PlanWarnings";
104
104
  const _RARC = "RegionAndRoutingControls";
105
105
  const _RC = "ReportConfiguration";
106
106
  const _RCCRRC = "RdsCreateCrossRegionReplicaConfiguration";
107
+ const _RCE = "RetryableConflictException";
107
108
  const _RESMM = "RegionEventSourceMappingMap";
108
109
  const _RHC = "Route53HealthCheck";
109
110
  const _RHCC = "Route53HealthCheckConfiguration";
@@ -336,7 +337,7 @@ const _wo = "workflow";
336
337
  const n0 = "com.amazonaws.arcregionswitch";
337
338
  import { TypeRegistry } from "@smithy/core/schema";
338
339
  import { ARCRegionSwitchServiceException } from "../models/ARCRegionSwitchServiceException";
339
- import { AccessDeniedException, ConflictException, IllegalArgumentException, IllegalStateException, InternalServerException, ResourceNotFoundException, } from "../models/errors";
340
+ import { AccessDeniedException, ConflictException, IllegalArgumentException, IllegalStateException, InternalServerException, ResourceNotFoundException, RetryableConflictException, } from "../models/errors";
340
341
  const _s_registry = new TypeRegistry(_s);
341
342
  export var ARCRegionSwitchServiceException$ = [-3, _s, "ARCRegionSwitchServiceException", 0, [], []];
342
343
  _s_registry.registerError(ARCRegionSwitchServiceException$, ARCRegionSwitchServiceException);
@@ -377,6 +378,12 @@ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
377
378
  [0], 1
378
379
  ];
379
380
  n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
381
+ export var RetryableConflictException$ = [-3, n0, _RCE,
382
+ { [_e]: _c, [_hE]: 409 },
383
+ [_m, _rI, _rT],
384
+ [0, 0, 0], 1
385
+ ];
386
+ n0_registry.registerError(RetryableConflictException$, RetryableConflictException);
380
387
  export const errorTypeRegistries = [
381
388
  _s_registry,
382
389
  n0_registry,
@@ -1168,6 +1168,9 @@ declare const UpdatePlanCommand_base: {
1168
1168
  * @throws {@link ResourceNotFoundException} (client fault)
1169
1169
  * <p>The specified resource was not found.</p> <p>HTTP Status Code: 404</p>
1170
1170
  *
1171
+ * @throws {@link RetryableConflictException} (client fault)
1172
+ * <p>The request conflicted with a concurrent modification of the same resource and did not take effect.</p>
1173
+ *
1171
1174
  * @throws {@link ARCRegionSwitchServiceException}
1172
1175
  * <p>Base exception class for all service exceptions from ARCRegionSwitch service.</p>
1173
1176
  *
@@ -65,6 +65,30 @@ export declare class IllegalStateException extends __BaseException {
65
65
  */
66
66
  constructor(opts: __ExceptionOptionType<IllegalStateException, __BaseException>);
67
67
  }
68
+ /**
69
+ * <p>The request conflicted with a concurrent modification of the same resource and did not take effect.</p>
70
+ * @public
71
+ */
72
+ export declare class RetryableConflictException extends __BaseException {
73
+ static readonly shapeId: string;
74
+ readonly name: "RetryableConflictException";
75
+ readonly $fault: "client";
76
+ $retryable: {};
77
+ /**
78
+ * <p>The identifier of the resource involved in the concurrent modification.</p>
79
+ * @public
80
+ */
81
+ resourceId?: string | undefined;
82
+ /**
83
+ * <p>The type of the resource involved in the concurrent modification.</p>
84
+ * @public
85
+ */
86
+ resourceType?: string | undefined;
87
+ /**
88
+ * @internal
89
+ */
90
+ constructor(opts: __ExceptionOptionType<RetryableConflictException, __BaseException>);
91
+ }
68
92
  /**
69
93
  * <p>The client token was already used with different request parameters. A client token must map to the same parameters for every request. To retry this operation, provide a new client token.</p>
70
94
  * @public
@@ -7,6 +7,7 @@ export declare var IllegalArgumentException$: StaticErrorSchema;
7
7
  export declare var IllegalStateException$: StaticErrorSchema;
8
8
  export declare var InternalServerException$: StaticErrorSchema;
9
9
  export declare var ResourceNotFoundException$: StaticErrorSchema;
10
+ export declare var RetryableConflictException$: StaticErrorSchema;
10
11
  /**
11
12
  * TypeRegistry instances containing modeled errors.
12
13
  * @internal
@@ -30,6 +30,15 @@ export declare class IllegalStateException extends __BaseException {
30
30
  readonly $fault: "client";
31
31
  constructor(opts: __ExceptionOptionType<IllegalStateException, __BaseException>);
32
32
  }
33
+ export declare class RetryableConflictException extends __BaseException {
34
+ static readonly shapeId: string;
35
+ readonly name: "RetryableConflictException";
36
+ readonly $fault: "client";
37
+ $retryable: {};
38
+ resourceId?: string | undefined;
39
+ resourceType?: string | undefined;
40
+ constructor(opts: __ExceptionOptionType<RetryableConflictException, __BaseException>);
41
+ }
33
42
  export declare class ConflictException extends __BaseException {
34
43
  static readonly shapeId: string;
35
44
  readonly name: "ConflictException";
@@ -12,6 +12,7 @@ export declare var IllegalArgumentException$: StaticErrorSchema;
12
12
  export declare var IllegalStateException$: StaticErrorSchema;
13
13
  export declare var InternalServerException$: StaticErrorSchema;
14
14
  export declare var ResourceNotFoundException$: StaticErrorSchema;
15
+ export declare var RetryableConflictException$: StaticErrorSchema;
15
16
  export declare const errorTypeRegistries: TypeRegistry[];
16
17
  export declare var AbbreviatedExecution$: StaticStructureSchema;
17
18
  export declare var AbbreviatedPlan$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-arc-region-switch",
3
- "version": "3.1164.0",
3
+ "version": "3.1166.0",
4
4
  "description": "AWS SDK for JavaScript Arc Region Switch Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-arc-region-switch",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
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.980.1",
50
- "@aws-sdk/credential-provider-node": "^3.972.94",
51
- "@aws-sdk/types": "^3.975.0",
52
- "@smithy/core": "^3.38.0",
53
- "@smithy/fetch-http-handler": "^5.8.0",
54
- "@smithy/node-http-handler": "^4.14.0",
55
- "@smithy/types": "^4.19.0",
49
+ "@aws-sdk/core": "^3.981.0",
50
+ "@aws-sdk/credential-provider-node": "^3.972.96",
51
+ "@aws-sdk/types": "^3.975.1",
52
+ "@smithy/core": "^3.40.0",
53
+ "@smithy/fetch-http-handler": "^5.8.1",
54
+ "@smithy/node-http-handler": "^4.14.2",
55
+ "@smithy/types": "^4.20.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {