@aws-sdk/client-workspaces-instances 3.952.0 → 3.954.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 (33) hide show
  1. package/dist-cjs/index.js +287 -183
  2. package/dist-cjs/runtimeConfig.shared.js +6 -6
  3. package/dist-es/commands/AssociateVolumeCommand.js +2 -2
  4. package/dist-es/commands/CreateVolumeCommand.js +2 -2
  5. package/dist-es/commands/CreateWorkspaceInstanceCommand.js +2 -2
  6. package/dist-es/commands/DeleteVolumeCommand.js +2 -2
  7. package/dist-es/commands/DeleteWorkspaceInstanceCommand.js +2 -2
  8. package/dist-es/commands/DisassociateVolumeCommand.js +2 -2
  9. package/dist-es/commands/GetWorkspaceInstanceCommand.js +2 -2
  10. package/dist-es/commands/ListInstanceTypesCommand.js +2 -2
  11. package/dist-es/commands/ListRegionsCommand.js +2 -2
  12. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  13. package/dist-es/commands/ListWorkspaceInstancesCommand.js +2 -2
  14. package/dist-es/commands/TagResourceCommand.js +2 -2
  15. package/dist-es/commands/UntagResourceCommand.js +2 -2
  16. package/dist-es/index.js +1 -0
  17. package/dist-es/runtimeConfig.shared.js +6 -6
  18. package/dist-es/schemas/schemas_0.js +180 -159
  19. package/dist-types/WorkspacesInstancesClient.d.ts +1 -10
  20. package/dist-types/index.d.ts +1 -0
  21. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  22. package/dist-types/runtimeConfig.d.ts +6 -2
  23. package/dist-types/runtimeConfig.native.d.ts +6 -2
  24. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  25. package/dist-types/schemas/schemas_0.d.ts +84 -109
  26. package/dist-types/ts3.4/WorkspacesInstancesClient.d.ts +0 -4
  27. package/dist-types/ts3.4/index.d.ts +1 -0
  28. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  29. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  30. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  31. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  32. package/dist-types/ts3.4/schemas/schemas_0.d.ts +83 -110
  33. 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.workspacesinstances",
32
- serviceTarget: "EUCMIFrontendAPIService",
33
- awsQueryCompatible: false,
34
- }),
29
+ protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.workspacesinstances",
32
+ version: "2022-07-26",
33
+ serviceTarget: "EUCMIFrontendAPIService",
34
+ },
35
35
  serviceId: config?.serviceId ?? "Workspaces Instances",
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 { AssociateVolume } from "../schemas/schemas_0";
4
+ import { AssociateVolume$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class AssociateVolumeCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class AssociateVolumeCommand extends $Command
11
11
  })
12
12
  .s("EUCMIFrontendAPIService", "AssociateVolume", {})
13
13
  .n("WorkspacesInstancesClient", "AssociateVolumeCommand")
14
- .sc(AssociateVolume)
14
+ .sc(AssociateVolume$)
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 { CreateVolume } from "../schemas/schemas_0";
4
+ import { CreateVolume$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateVolumeCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateVolumeCommand extends $Command
11
11
  })
12
12
  .s("EUCMIFrontendAPIService", "CreateVolume", {})
13
13
  .n("WorkspacesInstancesClient", "CreateVolumeCommand")
14
- .sc(CreateVolume)
14
+ .sc(CreateVolume$)
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 { CreateWorkspaceInstance } from "../schemas/schemas_0";
4
+ import { CreateWorkspaceInstance$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateWorkspaceInstanceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateWorkspaceInstanceCommand extends $Command
11
11
  })
12
12
  .s("EUCMIFrontendAPIService", "CreateWorkspaceInstance", {})
13
13
  .n("WorkspacesInstancesClient", "CreateWorkspaceInstanceCommand")
14
- .sc(CreateWorkspaceInstance)
14
+ .sc(CreateWorkspaceInstance$)
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 { DeleteVolume } from "../schemas/schemas_0";
4
+ import { DeleteVolume$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteVolumeCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteVolumeCommand extends $Command
11
11
  })
12
12
  .s("EUCMIFrontendAPIService", "DeleteVolume", {})
13
13
  .n("WorkspacesInstancesClient", "DeleteVolumeCommand")
14
- .sc(DeleteVolume)
14
+ .sc(DeleteVolume$)
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 { DeleteWorkspaceInstance } from "../schemas/schemas_0";
4
+ import { DeleteWorkspaceInstance$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteWorkspaceInstanceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteWorkspaceInstanceCommand extends $Command
11
11
  })
12
12
  .s("EUCMIFrontendAPIService", "DeleteWorkspaceInstance", {})
13
13
  .n("WorkspacesInstancesClient", "DeleteWorkspaceInstanceCommand")
14
- .sc(DeleteWorkspaceInstance)
14
+ .sc(DeleteWorkspaceInstance$)
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 { DisassociateVolume } from "../schemas/schemas_0";
4
+ import { DisassociateVolume$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DisassociateVolumeCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DisassociateVolumeCommand extends $Command
11
11
  })
12
12
  .s("EUCMIFrontendAPIService", "DisassociateVolume", {})
13
13
  .n("WorkspacesInstancesClient", "DisassociateVolumeCommand")
14
- .sc(DisassociateVolume)
14
+ .sc(DisassociateVolume$)
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 { GetWorkspaceInstance } from "../schemas/schemas_0";
4
+ import { GetWorkspaceInstance$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetWorkspaceInstanceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetWorkspaceInstanceCommand extends $Command
11
11
  })
12
12
  .s("EUCMIFrontendAPIService", "GetWorkspaceInstance", {})
13
13
  .n("WorkspacesInstancesClient", "GetWorkspaceInstanceCommand")
14
- .sc(GetWorkspaceInstance)
14
+ .sc(GetWorkspaceInstance$)
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 { ListInstanceTypes } from "../schemas/schemas_0";
4
+ import { ListInstanceTypes$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListInstanceTypesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListInstanceTypesCommand extends $Command
11
11
  })
12
12
  .s("EUCMIFrontendAPIService", "ListInstanceTypes", {})
13
13
  .n("WorkspacesInstancesClient", "ListInstanceTypesCommand")
14
- .sc(ListInstanceTypes)
14
+ .sc(ListInstanceTypes$)
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 { ListRegions } from "../schemas/schemas_0";
4
+ import { ListRegions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListRegionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListRegionsCommand extends $Command
11
11
  })
12
12
  .s("EUCMIFrontendAPIService", "ListRegions", {})
13
13
  .n("WorkspacesInstancesClient", "ListRegionsCommand")
14
- .sc(ListRegions)
14
+ .sc(ListRegions$)
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("EUCMIFrontendAPIService", "ListTagsForResource", {})
13
13
  .n("WorkspacesInstancesClient", "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 { ListWorkspaceInstances } from "../schemas/schemas_0";
4
+ import { ListWorkspaceInstances$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListWorkspaceInstancesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListWorkspaceInstancesCommand extends $Command
11
11
  })
12
12
  .s("EUCMIFrontendAPIService", "ListWorkspaceInstances", {})
13
13
  .n("WorkspacesInstancesClient", "ListWorkspaceInstancesCommand")
14
- .sc(ListWorkspaceInstances)
14
+ .sc(ListWorkspaceInstances$)
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("EUCMIFrontendAPIService", "TagResource", {})
13
13
  .n("WorkspacesInstancesClient", "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("EUCMIFrontendAPIService", "UntagResource", {})
13
13
  .n("WorkspacesInstancesClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./WorkspacesInstancesClient";
2
2
  export * from "./WorkspacesInstances";
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.workspacesinstances",
29
- serviceTarget: "EUCMIFrontendAPIService",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_0Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.workspacesinstances",
29
+ version: "2022-07-26",
30
+ serviceTarget: "EUCMIFrontendAPIService",
31
+ },
32
32
  serviceId: config?.serviceId ?? "Workspaces Instances",
33
33
  urlParser: config?.urlParser ?? parseUrl,
34
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,