@aws-sdk/client-arc-region-switch 3.948.0 → 3.953.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 (40) hide show
  1. package/dist-cjs/index.js +322 -212
  2. package/dist-cjs/runtimeConfig.shared.js +6 -6
  3. package/dist-es/commands/ApprovePlanExecutionStepCommand.js +2 -2
  4. package/dist-es/commands/CancelPlanExecutionCommand.js +2 -2
  5. package/dist-es/commands/CreatePlanCommand.js +2 -2
  6. package/dist-es/commands/DeletePlanCommand.js +2 -2
  7. package/dist-es/commands/GetPlanCommand.js +2 -2
  8. package/dist-es/commands/GetPlanEvaluationStatusCommand.js +2 -2
  9. package/dist-es/commands/GetPlanExecutionCommand.js +2 -2
  10. package/dist-es/commands/GetPlanInRegionCommand.js +2 -2
  11. package/dist-es/commands/ListPlanExecutionEventsCommand.js +2 -2
  12. package/dist-es/commands/ListPlanExecutionsCommand.js +2 -2
  13. package/dist-es/commands/ListPlansCommand.js +2 -2
  14. package/dist-es/commands/ListPlansInRegionCommand.js +2 -2
  15. package/dist-es/commands/ListRoute53HealthChecksCommand.js +2 -2
  16. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  17. package/dist-es/commands/StartPlanExecutionCommand.js +2 -2
  18. package/dist-es/commands/TagResourceCommand.js +2 -2
  19. package/dist-es/commands/UntagResourceCommand.js +2 -2
  20. package/dist-es/commands/UpdatePlanCommand.js +2 -2
  21. package/dist-es/commands/UpdatePlanExecutionCommand.js +2 -2
  22. package/dist-es/commands/UpdatePlanExecutionStepCommand.js +2 -2
  23. package/dist-es/index.js +1 -0
  24. package/dist-es/runtimeConfig.shared.js +6 -6
  25. package/dist-es/schemas/schemas_0.js +192 -185
  26. package/dist-types/ARCRegionSwitchClient.d.ts +1 -10
  27. package/dist-types/index.d.ts +1 -0
  28. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  29. package/dist-types/runtimeConfig.d.ts +6 -2
  30. package/dist-types/runtimeConfig.native.d.ts +6 -2
  31. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  32. package/dist-types/schemas/schemas_0.d.ts +104 -130
  33. package/dist-types/ts3.4/ARCRegionSwitchClient.d.ts +0 -4
  34. package/dist-types/ts3.4/index.d.ts +1 -0
  35. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  36. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  37. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  38. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  39. package/dist-types/ts3.4/schemas/schemas_0.d.ts +103 -131
  40. package/package.json +35 -35
@@ -26,12 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ??
30
- new protocols_1.AwsJson1_0Protocol({
31
- defaultNamespace: "com.amazonaws.arcregionswitch",
32
- serviceTarget: "ArcRegionSwitch",
33
- awsQueryCompatible: false,
34
- }),
29
+ protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.arcregionswitch",
32
+ version: "2022-07-26",
33
+ serviceTarget: "ArcRegionSwitch",
34
+ },
35
35
  serviceId: config?.serviceId ?? "ARC Region switch",
36
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
37
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ApprovePlanExecutionStep } from "../schemas/schemas_0";
4
+ import { ApprovePlanExecutionStep$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ApprovePlanExecutionStepCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ApprovePlanExecutionStepCommand extends $Command
11
11
  })
12
12
  .s("ArcRegionSwitch", "ApprovePlanExecutionStep", {})
13
13
  .n("ARCRegionSwitchClient", "ApprovePlanExecutionStepCommand")
14
- .sc(ApprovePlanExecutionStep)
14
+ .sc(ApprovePlanExecutionStep$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CancelPlanExecution } from "../schemas/schemas_0";
4
+ import { CancelPlanExecution$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CancelPlanExecutionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CancelPlanExecutionCommand extends $Command
11
11
  })
12
12
  .s("ArcRegionSwitch", "CancelPlanExecution", {})
13
13
  .n("ARCRegionSwitchClient", "CancelPlanExecutionCommand")
14
- .sc(CancelPlanExecution)
14
+ .sc(CancelPlanExecution$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreatePlan } from "../schemas/schemas_0";
4
+ import { CreatePlan$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreatePlanCommand extends $Command
7
7
  .classBuilder()
@@ -14,6 +14,6 @@ export class CreatePlanCommand extends $Command
14
14
  })
15
15
  .s("ArcRegionSwitch", "CreatePlan", {})
16
16
  .n("ARCRegionSwitchClient", "CreatePlanCommand")
17
- .sc(CreatePlan)
17
+ .sc(CreatePlan$)
18
18
  .build() {
19
19
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeletePlan } from "../schemas/schemas_0";
4
+ import { DeletePlan$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeletePlanCommand extends $Command
7
7
  .classBuilder()
@@ -14,6 +14,6 @@ export class DeletePlanCommand extends $Command
14
14
  })
15
15
  .s("ArcRegionSwitch", "DeletePlan", {})
16
16
  .n("ARCRegionSwitchClient", "DeletePlanCommand")
17
- .sc(DeletePlan)
17
+ .sc(DeletePlan$)
18
18
  .build() {
19
19
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetPlan } from "../schemas/schemas_0";
4
+ import { GetPlan$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetPlanCommand extends $Command
7
7
  .classBuilder()
@@ -14,6 +14,6 @@ export class GetPlanCommand extends $Command
14
14
  })
15
15
  .s("ArcRegionSwitch", "GetPlan", {})
16
16
  .n("ARCRegionSwitchClient", "GetPlanCommand")
17
- .sc(GetPlan)
17
+ .sc(GetPlan$)
18
18
  .build() {
19
19
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetPlanEvaluationStatus } from "../schemas/schemas_0";
4
+ import { GetPlanEvaluationStatus$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetPlanEvaluationStatusCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetPlanEvaluationStatusCommand extends $Command
11
11
  })
12
12
  .s("ArcRegionSwitch", "GetPlanEvaluationStatus", {})
13
13
  .n("ARCRegionSwitchClient", "GetPlanEvaluationStatusCommand")
14
- .sc(GetPlanEvaluationStatus)
14
+ .sc(GetPlanEvaluationStatus$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetPlanExecution } from "../schemas/schemas_0";
4
+ import { GetPlanExecution$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetPlanExecutionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetPlanExecutionCommand extends $Command
11
11
  })
12
12
  .s("ArcRegionSwitch", "GetPlanExecution", {})
13
13
  .n("ARCRegionSwitchClient", "GetPlanExecutionCommand")
14
- .sc(GetPlanExecution)
14
+ .sc(GetPlanExecution$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetPlanInRegion } from "../schemas/schemas_0";
4
+ import { GetPlanInRegion$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetPlanInRegionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetPlanInRegionCommand extends $Command
11
11
  })
12
12
  .s("ArcRegionSwitch", "GetPlanInRegion", {})
13
13
  .n("ARCRegionSwitchClient", "GetPlanInRegionCommand")
14
- .sc(GetPlanInRegion)
14
+ .sc(GetPlanInRegion$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListPlanExecutionEvents } from "../schemas/schemas_0";
4
+ import { ListPlanExecutionEvents$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListPlanExecutionEventsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListPlanExecutionEventsCommand extends $Command
11
11
  })
12
12
  .s("ArcRegionSwitch", "ListPlanExecutionEvents", {})
13
13
  .n("ARCRegionSwitchClient", "ListPlanExecutionEventsCommand")
14
- .sc(ListPlanExecutionEvents)
14
+ .sc(ListPlanExecutionEvents$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListPlanExecutions } from "../schemas/schemas_0";
4
+ import { ListPlanExecutions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListPlanExecutionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListPlanExecutionsCommand extends $Command
11
11
  })
12
12
  .s("ArcRegionSwitch", "ListPlanExecutions", {})
13
13
  .n("ARCRegionSwitchClient", "ListPlanExecutionsCommand")
14
- .sc(ListPlanExecutions)
14
+ .sc(ListPlanExecutions$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListPlans } from "../schemas/schemas_0";
4
+ import { ListPlans$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListPlansCommand extends $Command
7
7
  .classBuilder()
@@ -14,6 +14,6 @@ export class ListPlansCommand extends $Command
14
14
  })
15
15
  .s("ArcRegionSwitch", "ListPlans", {})
16
16
  .n("ARCRegionSwitchClient", "ListPlansCommand")
17
- .sc(ListPlans)
17
+ .sc(ListPlans$)
18
18
  .build() {
19
19
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListPlansInRegion } from "../schemas/schemas_0";
4
+ import { ListPlansInRegion$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListPlansInRegionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListPlansInRegionCommand extends $Command
11
11
  })
12
12
  .s("ArcRegionSwitch", "ListPlansInRegion", {})
13
13
  .n("ARCRegionSwitchClient", "ListPlansInRegionCommand")
14
- .sc(ListPlansInRegion)
14
+ .sc(ListPlansInRegion$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListRoute53HealthChecks } from "../schemas/schemas_0";
4
+ import { ListRoute53HealthChecks$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListRoute53HealthChecksCommand extends $Command
7
7
  .classBuilder()
@@ -14,6 +14,6 @@ export class ListRoute53HealthChecksCommand extends $Command
14
14
  })
15
15
  .s("ArcRegionSwitch", "ListRoute53HealthChecks", {})
16
16
  .n("ARCRegionSwitchClient", "ListRoute53HealthChecksCommand")
17
- .sc(ListRoute53HealthChecks)
17
+ .sc(ListRoute53HealthChecks$)
18
18
  .build() {
19
19
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -14,6 +14,6 @@ export class ListTagsForResourceCommand extends $Command
14
14
  })
15
15
  .s("ArcRegionSwitch", "ListTagsForResource", {})
16
16
  .n("ARCRegionSwitchClient", "ListTagsForResourceCommand")
17
- .sc(ListTagsForResource)
17
+ .sc(ListTagsForResource$)
18
18
  .build() {
19
19
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartPlanExecution } from "../schemas/schemas_0";
4
+ import { StartPlanExecution$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartPlanExecutionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartPlanExecutionCommand extends $Command
11
11
  })
12
12
  .s("ArcRegionSwitch", "StartPlanExecution", {})
13
13
  .n("ARCRegionSwitchClient", "StartPlanExecutionCommand")
14
- .sc(StartPlanExecution)
14
+ .sc(StartPlanExecution$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -14,6 +14,6 @@ export class TagResourceCommand extends $Command
14
14
  })
15
15
  .s("ArcRegionSwitch", "TagResource", {})
16
16
  .n("ARCRegionSwitchClient", "TagResourceCommand")
17
- .sc(TagResource)
17
+ .sc(TagResource$)
18
18
  .build() {
19
19
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -14,6 +14,6 @@ export class UntagResourceCommand extends $Command
14
14
  })
15
15
  .s("ArcRegionSwitch", "UntagResource", {})
16
16
  .n("ARCRegionSwitchClient", "UntagResourceCommand")
17
- .sc(UntagResource)
17
+ .sc(UntagResource$)
18
18
  .build() {
19
19
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdatePlan } from "../schemas/schemas_0";
4
+ import { UpdatePlan$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdatePlanCommand extends $Command
7
7
  .classBuilder()
@@ -14,6 +14,6 @@ export class UpdatePlanCommand extends $Command
14
14
  })
15
15
  .s("ArcRegionSwitch", "UpdatePlan", {})
16
16
  .n("ARCRegionSwitchClient", "UpdatePlanCommand")
17
- .sc(UpdatePlan)
17
+ .sc(UpdatePlan$)
18
18
  .build() {
19
19
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdatePlanExecution } from "../schemas/schemas_0";
4
+ import { UpdatePlanExecution$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdatePlanExecutionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdatePlanExecutionCommand extends $Command
11
11
  })
12
12
  .s("ArcRegionSwitch", "UpdatePlanExecution", {})
13
13
  .n("ARCRegionSwitchClient", "UpdatePlanExecutionCommand")
14
- .sc(UpdatePlanExecution)
14
+ .sc(UpdatePlanExecution$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdatePlanExecutionStep } from "../schemas/schemas_0";
4
+ import { UpdatePlanExecutionStep$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdatePlanExecutionStepCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdatePlanExecutionStepCommand extends $Command
11
11
  })
12
12
  .s("ArcRegionSwitch", "UpdatePlanExecutionStep", {})
13
13
  .n("ARCRegionSwitchClient", "UpdatePlanExecutionStepCommand")
14
- .sc(UpdatePlanExecutionStep)
14
+ .sc(UpdatePlanExecutionStep$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./ARCRegionSwitchClient";
2
2
  export * from "./ARCRegionSwitch";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./waiters";
6
7
  export * from "./models/enums";
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_0Protocol({
28
- defaultNamespace: "com.amazonaws.arcregionswitch",
29
- serviceTarget: "ArcRegionSwitch",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_0Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.arcregionswitch",
29
+ version: "2022-07-26",
30
+ serviceTarget: "ArcRegionSwitch",
31
+ },
32
32
  serviceId: config?.serviceId ?? "ARC Region switch",
33
33
  urlParser: config?.urlParser ?? parseUrl,
34
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,