@aws-sdk/client-pcs 3.952.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 (39) hide show
  1. package/dist-cjs/index.js +320 -216
  2. package/dist-cjs/runtimeConfig.shared.js +6 -6
  3. package/dist-es/commands/CreateClusterCommand.js +2 -2
  4. package/dist-es/commands/CreateComputeNodeGroupCommand.js +2 -2
  5. package/dist-es/commands/CreateQueueCommand.js +2 -2
  6. package/dist-es/commands/DeleteClusterCommand.js +2 -2
  7. package/dist-es/commands/DeleteComputeNodeGroupCommand.js +2 -2
  8. package/dist-es/commands/DeleteQueueCommand.js +2 -2
  9. package/dist-es/commands/GetClusterCommand.js +2 -2
  10. package/dist-es/commands/GetComputeNodeGroupCommand.js +2 -2
  11. package/dist-es/commands/GetQueueCommand.js +2 -2
  12. package/dist-es/commands/ListClustersCommand.js +2 -2
  13. package/dist-es/commands/ListComputeNodeGroupsCommand.js +2 -2
  14. package/dist-es/commands/ListQueuesCommand.js +2 -2
  15. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  16. package/dist-es/commands/RegisterComputeNodeGroupInstanceCommand.js +2 -2
  17. package/dist-es/commands/TagResourceCommand.js +2 -2
  18. package/dist-es/commands/UntagResourceCommand.js +2 -2
  19. package/dist-es/commands/UpdateClusterCommand.js +2 -2
  20. package/dist-es/commands/UpdateComputeNodeGroupCommand.js +2 -2
  21. package/dist-es/commands/UpdateQueueCommand.js +2 -2
  22. package/dist-es/index.js +1 -0
  23. package/dist-es/runtimeConfig.shared.js +6 -6
  24. package/dist-es/schemas/schemas_0.js +183 -182
  25. package/dist-types/PCSClient.d.ts +1 -10
  26. package/dist-types/index.d.ts +1 -0
  27. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  28. package/dist-types/runtimeConfig.d.ts +6 -2
  29. package/dist-types/runtimeConfig.native.d.ts +6 -2
  30. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  31. package/dist-types/schemas/schemas_0.d.ts +104 -120
  32. package/dist-types/ts3.4/PCSClient.d.ts +0 -4
  33. package/dist-types/ts3.4/index.d.ts +1 -0
  34. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  35. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  36. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  37. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  38. package/dist-types/ts3.4/schemas/schemas_0.d.ts +103 -121
  39. package/package.json +34 -34
@@ -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.pcs",
32
- serviceTarget: "AWSParallelComputingService",
33
- awsQueryCompatible: false,
34
- }),
29
+ protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.pcs",
32
+ version: "2023-02-10",
33
+ serviceTarget: "AWSParallelComputingService",
34
+ },
35
35
  serviceId: config?.serviceId ?? "PCS",
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 { CreateCluster } from "../schemas/schemas_0";
4
+ import { CreateCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateClusterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateClusterCommand extends $Command
11
11
  })
12
12
  .s("AWSParallelComputingService", "CreateCluster", {})
13
13
  .n("PCSClient", "CreateClusterCommand")
14
- .sc(CreateCluster)
14
+ .sc(CreateCluster$)
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 { CreateComputeNodeGroup } from "../schemas/schemas_0";
4
+ import { CreateComputeNodeGroup$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateComputeNodeGroupCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateComputeNodeGroupCommand extends $Command
11
11
  })
12
12
  .s("AWSParallelComputingService", "CreateComputeNodeGroup", {})
13
13
  .n("PCSClient", "CreateComputeNodeGroupCommand")
14
- .sc(CreateComputeNodeGroup)
14
+ .sc(CreateComputeNodeGroup$)
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 { CreateQueue } from "../schemas/schemas_0";
4
+ import { CreateQueue$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateQueueCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateQueueCommand extends $Command
11
11
  })
12
12
  .s("AWSParallelComputingService", "CreateQueue", {})
13
13
  .n("PCSClient", "CreateQueueCommand")
14
- .sc(CreateQueue)
14
+ .sc(CreateQueue$)
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 { DeleteCluster } from "../schemas/schemas_0";
4
+ import { DeleteCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteClusterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteClusterCommand extends $Command
11
11
  })
12
12
  .s("AWSParallelComputingService", "DeleteCluster", {})
13
13
  .n("PCSClient", "DeleteClusterCommand")
14
- .sc(DeleteCluster)
14
+ .sc(DeleteCluster$)
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 { DeleteComputeNodeGroup } from "../schemas/schemas_0";
4
+ import { DeleteComputeNodeGroup$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteComputeNodeGroupCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteComputeNodeGroupCommand extends $Command
11
11
  })
12
12
  .s("AWSParallelComputingService", "DeleteComputeNodeGroup", {})
13
13
  .n("PCSClient", "DeleteComputeNodeGroupCommand")
14
- .sc(DeleteComputeNodeGroup)
14
+ .sc(DeleteComputeNodeGroup$)
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 { DeleteQueue } from "../schemas/schemas_0";
4
+ import { DeleteQueue$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteQueueCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteQueueCommand extends $Command
11
11
  })
12
12
  .s("AWSParallelComputingService", "DeleteQueue", {})
13
13
  .n("PCSClient", "DeleteQueueCommand")
14
- .sc(DeleteQueue)
14
+ .sc(DeleteQueue$)
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 { GetCluster } from "../schemas/schemas_0";
4
+ import { GetCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetClusterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetClusterCommand extends $Command
11
11
  })
12
12
  .s("AWSParallelComputingService", "GetCluster", {})
13
13
  .n("PCSClient", "GetClusterCommand")
14
- .sc(GetCluster)
14
+ .sc(GetCluster$)
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 { GetComputeNodeGroup } from "../schemas/schemas_0";
4
+ import { GetComputeNodeGroup$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetComputeNodeGroupCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetComputeNodeGroupCommand extends $Command
11
11
  })
12
12
  .s("AWSParallelComputingService", "GetComputeNodeGroup", {})
13
13
  .n("PCSClient", "GetComputeNodeGroupCommand")
14
- .sc(GetComputeNodeGroup)
14
+ .sc(GetComputeNodeGroup$)
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 { GetQueue } from "../schemas/schemas_0";
4
+ import { GetQueue$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetQueueCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetQueueCommand extends $Command
11
11
  })
12
12
  .s("AWSParallelComputingService", "GetQueue", {})
13
13
  .n("PCSClient", "GetQueueCommand")
14
- .sc(GetQueue)
14
+ .sc(GetQueue$)
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 { ListClusters } from "../schemas/schemas_0";
4
+ import { ListClusters$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListClustersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListClustersCommand extends $Command
11
11
  })
12
12
  .s("AWSParallelComputingService", "ListClusters", {})
13
13
  .n("PCSClient", "ListClustersCommand")
14
- .sc(ListClusters)
14
+ .sc(ListClusters$)
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 { ListComputeNodeGroups } from "../schemas/schemas_0";
4
+ import { ListComputeNodeGroups$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListComputeNodeGroupsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListComputeNodeGroupsCommand extends $Command
11
11
  })
12
12
  .s("AWSParallelComputingService", "ListComputeNodeGroups", {})
13
13
  .n("PCSClient", "ListComputeNodeGroupsCommand")
14
- .sc(ListComputeNodeGroups)
14
+ .sc(ListComputeNodeGroups$)
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 { ListQueues } from "../schemas/schemas_0";
4
+ import { ListQueues$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListQueuesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListQueuesCommand extends $Command
11
11
  })
12
12
  .s("AWSParallelComputingService", "ListQueues", {})
13
13
  .n("PCSClient", "ListQueuesCommand")
14
- .sc(ListQueues)
14
+ .sc(ListQueues$)
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 { 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()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("AWSParallelComputingService", "ListTagsForResource", {})
13
13
  .n("PCSClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
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 { RegisterComputeNodeGroupInstance } from "../schemas/schemas_0";
4
+ import { RegisterComputeNodeGroupInstance$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RegisterComputeNodeGroupInstanceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RegisterComputeNodeGroupInstanceCommand extends $Command
11
11
  })
12
12
  .s("AWSParallelComputingService", "RegisterComputeNodeGroupInstance", {})
13
13
  .n("PCSClient", "RegisterComputeNodeGroupInstanceCommand")
14
- .sc(RegisterComputeNodeGroupInstance)
14
+ .sc(RegisterComputeNodeGroupInstance$)
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()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("AWSParallelComputingService", "TagResource", {})
13
13
  .n("PCSClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
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 { 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()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("AWSParallelComputingService", "UntagResource", {})
13
13
  .n("PCSClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
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 { UpdateCluster } from "../schemas/schemas_0";
4
+ import { UpdateCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateClusterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateClusterCommand extends $Command
11
11
  })
12
12
  .s("AWSParallelComputingService", "UpdateCluster", {})
13
13
  .n("PCSClient", "UpdateClusterCommand")
14
- .sc(UpdateCluster)
14
+ .sc(UpdateCluster$)
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 { UpdateComputeNodeGroup } from "../schemas/schemas_0";
4
+ import { UpdateComputeNodeGroup$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateComputeNodeGroupCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateComputeNodeGroupCommand extends $Command
11
11
  })
12
12
  .s("AWSParallelComputingService", "UpdateComputeNodeGroup", {})
13
13
  .n("PCSClient", "UpdateComputeNodeGroupCommand")
14
- .sc(UpdateComputeNodeGroup)
14
+ .sc(UpdateComputeNodeGroup$)
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 { UpdateQueue } from "../schemas/schemas_0";
4
+ import { UpdateQueue$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateQueueCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateQueueCommand extends $Command
11
11
  })
12
12
  .s("AWSParallelComputingService", "UpdateQueue", {})
13
13
  .n("PCSClient", "UpdateQueueCommand")
14
- .sc(UpdateQueue)
14
+ .sc(UpdateQueue$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./PCSClient";
2
2
  export * from "./PCS";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -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.pcs",
29
- serviceTarget: "AWSParallelComputingService",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_0Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.pcs",
29
+ version: "2023-02-10",
30
+ serviceTarget: "AWSParallelComputingService",
31
+ },
32
32
  serviceId: config?.serviceId ?? "PCS",
33
33
  urlParser: config?.urlParser ?? parseUrl,
34
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,