@aws-sdk/client-workspaces 3.662.0 → 3.664.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.
@@ -44,6 +44,7 @@ const getRuntimeConfig = (config) => {
44
44
  streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
45
45
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
46
46
  useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
47
+ userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS),
47
48
  };
48
49
  };
49
50
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -1,7 +1,7 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
3
3
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
4
- import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
4
+ import { NODE_APP_ID_CONFIG_OPTIONS, defaultUserAgent } from "@aws-sdk/util-user-agent-node";
5
5
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
6
6
  import { Hash } from "@smithy/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
@@ -40,5 +40,6 @@ export const getRuntimeConfig = (config) => {
40
40
  streamCollector: config?.streamCollector ?? streamCollector,
41
41
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
42
42
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
43
+ userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS),
43
44
  };
44
45
  };
@@ -39,7 +39,7 @@ declare const CreateWorkspacesCommand_base: {
39
39
  * </li>
40
40
  * <li>
41
41
  * <p>You don't need to specify the <code>PCOIP</code> protocol for Linux bundles
42
- * because <code>WSP</code> is the default protocol for those bundles.</p>
42
+ * because <code>DCV</code> (formerly WSP) is the default protocol for those bundles.</p>
43
43
  * </li>
44
44
  * <li>
45
45
  * <p>User-decoupled WorkSpaces are only supported by Amazon WorkSpaces
@@ -1902,7 +1902,7 @@ export interface WorkspaceProperties {
1902
1902
  * <p>Only available for WorkSpaces created with PCoIP bundles.</p>
1903
1903
  * </li>
1904
1904
  * <li>
1905
- * <p>The <code>Protocols</code> property is case sensitive. Ensure you use <code>PCOIP</code> or <code>WSP</code>.</p>
1905
+ * <p>The <code>Protocols</code> property is case sensitive. Ensure you use <code>PCOIP</code> or <code>DCV</code> (formerly WSP).</p>
1906
1906
  * </li>
1907
1907
  * <li>
1908
1908
  * <p>Unavailable for Windows 7 WorkSpaces and WorkSpaces using GPU-based bundles
@@ -5274,12 +5274,12 @@ export interface ImportWorkspaceImageRequest {
5274
5274
  Ec2ImageId: string | undefined;
5275
5275
  /**
5276
5276
  * <p>The ingestion process to be used when importing the image, depending on which protocol
5277
- * you want to use for your BYOL Workspace image, either PCoIP, WorkSpaces Streaming Protocol
5278
- * (WSP), or bring your own protocol (BYOP). To use WSP, specify a value that ends in
5279
- * <code>_WSP</code>. To use PCoIP, specify a value that does not end in <code>_WSP</code>.
5277
+ * you want to use for your BYOL Workspace image, either PCoIP, DCV, or
5278
+ * bring your own protocol (BYOP). To use WSP, specify a value that ends in
5279
+ * <code>_DCV</code>. To use PCoIP, specify a value that does not end in <code>_DCV</code>.
5280
5280
  * To use BYOP, specify a value that ends in <code>_BYOP</code>.</p>
5281
5281
  * <p>For non-GPU-enabled bundles (bundles other than Graphics or GraphicsPro), specify
5282
- * <code>BYOL_REGULAR</code>, <code>BYOL_REGULAR_WSP</code>, or <code>BYOL_REGULAR_BYOP</code>,
5282
+ * <code>BYOL_REGULAR</code>, <code>BYOL_REGULAR_DCV</code>, or <code>BYOL_REGULAR_BYOP</code>,
5283
5283
  * depending on the protocol.</p>
5284
5284
  * <note>
5285
5285
  * <p>The <code>BYOL_REGULAR_BYOP</code> and <code>BYOL_GRAPHICS_G4DN_BYOP</code> values
@@ -5315,8 +5315,8 @@ export interface ImportWorkspaceImageRequest {
5315
5315
  * time.</p>
5316
5316
  * </li>
5317
5317
  * <li>
5318
- * <p>During the image import process, non-GPU WSP WorkSpaces with Windows 11 support
5319
- * only <code>Microsoft_Office_2019</code>. GPU WSP WorkSpaces with Windows 11 do not
5318
+ * <p>During the image import process, non-GPU DCV (formerly WSP) WorkSpaces with Windows 11 support
5319
+ * only <code>Microsoft_Office_2019</code>. GPU DCV (formerly WSP) WorkSpaces with Windows 11 do not
5320
5320
  * support Office installation.</p>
5321
5321
  * </li>
5322
5322
  * </ul>
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: WorkSpacesClientConfig) => {
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
11
- defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
11
+ defaultUserAgentProvider: (config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
14
14
  requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: WorkSpacesClientConfig) => {
29
29
  logger: import("@smithy/types").Logger;
30
30
  extensions: import("./runtimeExtensions").RuntimeExtension[];
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
32
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
33
34
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
34
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: WorkSpacesClientConfig) => {
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
11
- defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
11
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
14
14
  requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
@@ -17,6 +17,7 @@ export declare const getRuntimeConfig: (config: WorkSpacesClientConfig) => {
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
20
21
  apiVersion: string;
21
22
  cacheMiddleware?: boolean | undefined;
22
23
  urlParser: import("@smithy/types").UrlParser;
@@ -20,7 +20,7 @@ export declare const getRuntimeConfig: (config: WorkSpacesClientConfig) => {
20
20
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  region: string | import("@smithy/types").Provider<any>;
23
- defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
23
+ defaultUserAgentProvider: (config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
24
24
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
25
  maxAttempts: number | import("@smithy/types").Provider<number>;
26
26
  retryMode: string | import("@smithy/types").Provider<string>;
@@ -28,6 +28,7 @@ export declare const getRuntimeConfig: (config: WorkSpacesClientConfig) => {
28
28
  extensions: import("./runtimeExtensions").RuntimeExtension[];
29
29
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
30
30
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
31
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
31
32
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
32
33
  endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
33
34
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
@@ -9,9 +9,9 @@ export declare const getRuntimeConfig: (config: WorkSpacesClientConfig) => {
9
9
  credentialDefaultProvider: (
10
10
  input: any
11
11
  ) => import("@smithy/types").AwsCredentialIdentityProvider;
12
- defaultUserAgentProvider: import("@smithy/types").Provider<
13
- import("@smithy/types").UserAgent
14
- >;
12
+ defaultUserAgentProvider: (
13
+ config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
14
+ ) => Promise<import("@smithy/types").UserAgent>;
15
15
  maxAttempts: number | import("@smithy/types").Provider<number>;
16
16
  region: string | import("@smithy/types").Provider<any>;
17
17
  requestHandler:
@@ -34,6 +34,10 @@ export declare const getRuntimeConfig: (config: WorkSpacesClientConfig) => {
34
34
  logger: import("@smithy/types").Logger;
35
35
  extensions: import("./runtimeExtensions").RuntimeExtension[];
36
36
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
37
+ userAgentAppId?:
38
+ | string
39
+ | import("@smithy/types").Provider<string | undefined>
40
+ | undefined;
37
41
  retryStrategy?:
38
42
  | import("@smithy/types").RetryStrategy
39
43
  | import("@smithy/types").RetryStrategyV2
@@ -13,9 +13,11 @@ export declare const getRuntimeConfig: (config: WorkSpacesClientConfig) => {
13
13
  ) => import("@smithy/types").MemoizedProvider<
14
14
  import("@smithy/types").AwsCredentialIdentity
15
15
  >;
16
- defaultUserAgentProvider: import("@smithy/types").Provider<
17
- import("@smithy/types").UserAgent
18
- >;
16
+ defaultUserAgentProvider: (
17
+ config?:
18
+ | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
19
+ | undefined
20
+ ) => Promise<import("@smithy/types").UserAgent>;
19
21
  maxAttempts: number | import("@smithy/types").Provider<number>;
20
22
  region: string | import("@smithy/types").Provider<string>;
21
23
  requestHandler:
@@ -26,6 +28,7 @@ export declare const getRuntimeConfig: (config: WorkSpacesClientConfig) => {
26
28
  streamCollector: import("@smithy/types").StreamCollector;
27
29
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
28
30
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
31
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
29
32
  apiVersion: string;
30
33
  cacheMiddleware?: boolean | undefined;
31
34
  urlParser: import("@smithy/types").UrlParser;
@@ -22,9 +22,9 @@ export declare const getRuntimeConfig: (config: WorkSpacesClientConfig) => {
22
22
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
23
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  region: string | import("@smithy/types").Provider<any>;
25
- defaultUserAgentProvider: import("@smithy/types").Provider<
26
- import("@smithy/types").UserAgent
27
- >;
25
+ defaultUserAgentProvider: (
26
+ config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
27
+ ) => Promise<import("@smithy/types").UserAgent>;
28
28
  credentialDefaultProvider: (
29
29
  input: any
30
30
  ) => import("@smithy/types").AwsCredentialIdentityProvider;
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: WorkSpacesClientConfig) => {
38
38
  import("@smithy/smithy-client").DefaultsMode
39
39
  >;
40
40
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
41
+ userAgentAppId?:
42
+ | string
43
+ | import("@smithy/types").Provider<string | undefined>
44
+ | undefined;
41
45
  retryStrategy?:
42
46
  | import("@smithy/types").RetryStrategy
43
47
  | import("@smithy/types").RetryStrategyV2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-workspaces",
3
3
  "description": "AWS SDK for JavaScript Workspaces Client for Node.js, Browser and React Native",
4
- "version": "3.662.0",
4
+ "version": "3.664.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-workspaces",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.662.0",
24
- "@aws-sdk/client-sts": "3.662.0",
25
- "@aws-sdk/core": "3.662.0",
26
- "@aws-sdk/credential-provider-node": "3.662.0",
27
- "@aws-sdk/middleware-host-header": "3.662.0",
28
- "@aws-sdk/middleware-logger": "3.662.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.662.0",
30
- "@aws-sdk/middleware-user-agent": "3.662.0",
31
- "@aws-sdk/region-config-resolver": "3.662.0",
32
- "@aws-sdk/types": "3.662.0",
33
- "@aws-sdk/util-endpoints": "3.662.0",
34
- "@aws-sdk/util-user-agent-browser": "3.662.0",
35
- "@aws-sdk/util-user-agent-node": "3.662.0",
23
+ "@aws-sdk/client-sso-oidc": "3.664.0",
24
+ "@aws-sdk/client-sts": "3.664.0",
25
+ "@aws-sdk/core": "3.664.0",
26
+ "@aws-sdk/credential-provider-node": "3.664.0",
27
+ "@aws-sdk/middleware-host-header": "3.664.0",
28
+ "@aws-sdk/middleware-logger": "3.664.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.664.0",
30
+ "@aws-sdk/middleware-user-agent": "3.664.0",
31
+ "@aws-sdk/region-config-resolver": "3.664.0",
32
+ "@aws-sdk/types": "3.664.0",
33
+ "@aws-sdk/util-endpoints": "3.664.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.664.0",
35
+ "@aws-sdk/util-user-agent-node": "3.664.0",
36
36
  "@smithy/config-resolver": "^3.0.9",
37
37
  "@smithy/core": "^2.4.7",
38
38
  "@smithy/fetch-http-handler": "^3.2.9",