@aws-sdk/client-appstream 3.1019.0 → 3.1020.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 (29) hide show
  1. package/dist-cjs/index.js +1 -0
  2. package/dist-cjs/schemas/schemas_0.js +31 -15
  3. package/dist-es/AppStream.js +13 -13
  4. package/dist-es/models/enums.js +1 -0
  5. package/dist-es/schemas/schemas_0.js +24 -8
  6. package/dist-es/waiters/waitForFleetStarted.js +1 -1
  7. package/dist-es/waiters/waitForFleetStopped.js +1 -1
  8. package/dist-types/AppStream.d.ts +88 -88
  9. package/dist-types/AppStreamClient.d.ts +91 -91
  10. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  11. package/dist-types/commands/CreateStackCommand.d.ts +22 -0
  12. package/dist-types/commands/DescribeStacksCommand.d.ts +11 -0
  13. package/dist-types/commands/UpdateStackCommand.d.ts +12 -1
  14. package/dist-types/index.d.ts +1 -1
  15. package/dist-types/models/enums.d.ts +1 -0
  16. package/dist-types/models/models_0.d.ts +43 -1
  17. package/dist-types/pagination/DescribeAppBlockBuilderAppBlockAssociationsPaginator.d.ts +1 -1
  18. package/dist-types/pagination/DescribeAppBlockBuildersPaginator.d.ts +1 -1
  19. package/dist-types/pagination/DescribeImagePermissionsPaginator.d.ts +1 -1
  20. package/dist-types/pagination/DescribeImagesPaginator.d.ts +1 -1
  21. package/dist-types/schemas/schemas_0.d.ts +2 -0
  22. package/dist-types/ts3.4/AppStreamClient.d.ts +2 -3
  23. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  24. package/dist-types/ts3.4/models/enums.d.ts +1 -0
  25. package/dist-types/ts3.4/models/models_0.d.ts +10 -0
  26. package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
  27. package/dist-types/waiters/waitForFleetStarted.d.ts +3 -3
  28. package/dist-types/waiters/waitForFleetStopped.d.ts +3 -3
  29. package/package.json +14 -14
@@ -1,4 +1,4 @@
1
- import { AccessEndpointType, Action, AgentSoftwareVersion, AppBlockBuilderAttribute, AppBlockBuilderPlatformType, AppBlockBuilderState, AppBlockBuilderStateChangeReasonCode, AppBlockState, ApplicationAttribute, AppVisibility, AuthenticationType, CertificateBasedAuthStatus, DynamicAppProvidersEnabled, ExportImageTaskState, FleetAttribute, FleetErrorCode, FleetState, FleetType, ImageBuilderState, ImageBuilderStateChangeReasonCode, ImageSharedWithOthers, ImageState, ImageStateChangeReasonCode, ImageType, LatestAppstreamAgentVersion, MessageAction, PackagingType, Permission, PlatformType, PreferredProtocol, SessionConnectionState, SessionState, SoftwareDeploymentStatus, StackAttribute, StackErrorCode, StorageConnectorType, StreamView, ThemeAttribute, ThemeState, ThemeStyling, UsageReportExecutionErrorCode, UsageReportSchedule, UserStackAssociationErrorCode, VisibilityType } from "./enums";
1
+ import type { AccessEndpointType, Action, AgentSoftwareVersion, AppBlockBuilderAttribute, AppBlockBuilderPlatformType, AppBlockBuilderState, AppBlockBuilderStateChangeReasonCode, AppBlockState, ApplicationAttribute, AppVisibility, AuthenticationType, CertificateBasedAuthStatus, DynamicAppProvidersEnabled, ExportImageTaskState, FleetAttribute, FleetErrorCode, FleetState, FleetType, ImageBuilderState, ImageBuilderStateChangeReasonCode, ImageSharedWithOthers, ImageState, ImageStateChangeReasonCode, ImageType, LatestAppstreamAgentVersion, MessageAction, PackagingType, Permission, PlatformType, PreferredProtocol, SessionConnectionState, SessionState, SoftwareDeploymentStatus, StackAttribute, StackErrorCode, StorageConnectorType, StreamView, ThemeAttribute, ThemeState, ThemeStyling, UsageReportExecutionErrorCode, UsageReportSchedule, UserStackAssociationErrorCode, VisibilityType } from "./enums";
2
2
  /**
3
3
  * <p>Describes an interface VPC endpoint (interface endpoint) that lets you create a private connection between the virtual private cloud (VPC) that you specify and WorkSpaces Applications. When you specify an interface endpoint for a stack, users of the stack can connect to WorkSpaces Applications only through that endpoint. When you specify an interface endpoint for an image builder, administrators can connect to the image builder only through that endpoint.</p>
4
4
  * @public
@@ -912,6 +912,38 @@ export interface ComputeCapacityStatus {
912
912
  */
913
913
  ActualUserSessions?: number | undefined;
914
914
  }
915
+ /**
916
+ * <p>Configuration for URL redirection in a specific direction (host-to-client or client-to-host). When enabled, URLs matching the allowed or denied patterns are redirected accordingly. The denied list takes precedence over the allowed list.</p>
917
+ * @public
918
+ */
919
+ export interface UrlRedirectionConfig {
920
+ /**
921
+ * <p>Whether URL redirection is enabled for this direction.</p>
922
+ * @public
923
+ */
924
+ Enabled: boolean | undefined;
925
+ /**
926
+ * <p>List of URL patterns that are allowed to be redirected. URLs matching these patterns will be redirected unless they also match a pattern in the denied list.</p>
927
+ * @public
928
+ */
929
+ AllowedUrls?: string[] | undefined;
930
+ /**
931
+ * <p>List of URL patterns that are denied from redirection. This list takes precedence over the allowed list.</p>
932
+ * @public
933
+ */
934
+ DeniedUrls?: string[] | undefined;
935
+ }
936
+ /**
937
+ * <p>Configuration for bidirectional URL redirection between the streaming session and the local client. Use HostToClient to redirect URLs from the remote desktop to the local browser.</p>
938
+ * @public
939
+ */
940
+ export interface ContentRedirection {
941
+ /**
942
+ * <p>Configuration for redirecting URLs from the remote desktop to the local client browser.</p>
943
+ * @public
944
+ */
945
+ HostToClient?: UrlRedirectionConfig | undefined;
946
+ }
915
947
  /**
916
948
  * @public
917
949
  */
@@ -3316,6 +3348,11 @@ export interface CreateStackRequest {
3316
3348
  * @public
3317
3349
  */
3318
3350
  StreamingExperienceSettings?: StreamingExperienceSettings | undefined;
3351
+ /**
3352
+ * <p>Configuration for bidirectional URL redirection between the streaming session and the local client. Use HostToClient to redirect URLs from the remote desktop to the local browser.</p>
3353
+ * @public
3354
+ */
3355
+ ContentRedirection?: ContentRedirection | undefined;
3319
3356
  }
3320
3357
  /**
3321
3358
  * <p>Describes a stack error.</p>
@@ -3408,6 +3445,11 @@ export interface Stack {
3408
3445
  * @public
3409
3446
  */
3410
3447
  StreamingExperienceSettings?: StreamingExperienceSettings | undefined;
3448
+ /**
3449
+ * <p>Configuration for bidirectional URL redirection between the streaming session and the local client. Use HostToClient to redirect URLs from the remote desktop to the local browser.</p>
3450
+ * @public
3451
+ */
3452
+ ContentRedirection?: ContentRedirection | undefined;
3411
3453
  }
3412
3454
  /**
3413
3455
  * @public
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { DescribeAppBlockBuilderAppBlockAssociationsCommandInput, DescribeAppBlockBuilderAppBlockAssociationsCommandOutput } from "../commands/DescribeAppBlockBuilderAppBlockAssociationsCommand";
3
- import { AppStreamPaginationConfiguration } from "./Interfaces";
3
+ import type { AppStreamPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { DescribeAppBlockBuildersCommandInput, DescribeAppBlockBuildersCommandOutput } from "../commands/DescribeAppBlockBuildersCommand";
3
- import { AppStreamPaginationConfiguration } from "./Interfaces";
3
+ import type { AppStreamPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { DescribeImagePermissionsCommandInput, DescribeImagePermissionsCommandOutput } from "../commands/DescribeImagePermissionsCommand";
3
- import { AppStreamPaginationConfiguration } from "./Interfaces";
3
+ import type { AppStreamPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { DescribeImagesCommandInput, DescribeImagesCommandOutput } from "../commands/DescribeImagesCommand";
3
- import { AppStreamPaginationConfiguration } from "./Interfaces";
3
+ import type { AppStreamPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -50,6 +50,7 @@ export declare var BatchDisassociateUserStackResult$: StaticStructureSchema;
50
50
  export declare var CertificateBasedAuthProperties$: StaticStructureSchema;
51
51
  export declare var ComputeCapacity$: StaticStructureSchema;
52
52
  export declare var ComputeCapacityStatus$: StaticStructureSchema;
53
+ export declare var ContentRedirection$: StaticStructureSchema;
53
54
  export declare var CopyImageRequest$: StaticStructureSchema;
54
55
  export declare var CopyImageResponse$: StaticStructureSchema;
55
56
  export declare var CreateAppBlockBuilderRequest$: StaticStructureSchema;
@@ -243,6 +244,7 @@ export declare var UpdateStackRequest$: StaticStructureSchema;
243
244
  export declare var UpdateStackResult$: StaticStructureSchema;
244
245
  export declare var UpdateThemeForStackRequest$: StaticStructureSchema;
245
246
  export declare var UpdateThemeForStackResult$: StaticStructureSchema;
247
+ export declare var UrlRedirectionConfig$: StaticStructureSchema;
246
248
  export declare var UsageReportSubscription$: StaticStructureSchema;
247
249
  export declare var User$: StaticStructureSchema;
248
250
  export declare var UserSetting$: StaticStructureSchema;
@@ -26,6 +26,7 @@ import {
26
26
  Client as __Client,
27
27
  } from "@smithy/smithy-client";
28
28
  import {
29
+ AwsCredentialIdentityProvider,
29
30
  BodyLengthCalculator as __BodyLengthCalculator,
30
31
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
31
32
  ChecksumConstructor as __ChecksumConstructor,
@@ -37,8 +38,6 @@ import {
37
38
  Provider as __Provider,
38
39
  StreamCollector as __StreamCollector,
39
40
  UrlParser as __UrlParser,
40
- AwsCredentialIdentityProvider,
41
- Provider,
42
41
  UserAgent as __UserAgent,
43
42
  } from "@smithy/types";
44
43
  import {
@@ -600,7 +599,7 @@ export interface ClientDefaults
600
599
  useFipsEndpoint?: boolean | __Provider<boolean>;
601
600
  region?: string | __Provider<string>;
602
601
  profile?: string;
603
- defaultUserAgentProvider?: Provider<__UserAgent>;
602
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
604
603
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
605
604
  maxAttempts?: number | __Provider<number>;
606
605
  retryMode?: string | __Provider<string>;
@@ -1,7 +1,7 @@
1
1
  import {
2
- HttpAuthScheme,
3
2
  AwsCredentialIdentity,
4
3
  AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
5
  } from "@smithy/types";
6
6
  import { AppStreamHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
@@ -325,6 +325,7 @@ export type FleetAttribute =
325
325
  (typeof FleetAttribute)[keyof typeof FleetAttribute];
326
326
  export declare const StackAttribute: {
327
327
  readonly ACCESS_ENDPOINTS: "ACCESS_ENDPOINTS";
328
+ readonly CONTENT_REDIRECTION: "CONTENT_REDIRECTION";
328
329
  readonly EMBED_HOST_DOMAINS: "EMBED_HOST_DOMAINS";
329
330
  readonly FEEDBACK_URL: "FEEDBACK_URL";
330
331
  readonly IAM_ROLE_ARN: "IAM_ROLE_ARN";
@@ -230,6 +230,14 @@ export interface ComputeCapacityStatus {
230
230
  ActiveUserSessions?: number | undefined;
231
231
  ActualUserSessions?: number | undefined;
232
232
  }
233
+ export interface UrlRedirectionConfig {
234
+ Enabled: boolean | undefined;
235
+ AllowedUrls?: string[] | undefined;
236
+ DeniedUrls?: string[] | undefined;
237
+ }
238
+ export interface ContentRedirection {
239
+ HostToClient?: UrlRedirectionConfig | undefined;
240
+ }
233
241
  export interface CopyImageRequest {
234
242
  SourceImageName: string | undefined;
235
243
  DestinationImageName: string | undefined;
@@ -565,6 +573,7 @@ export interface CreateStackRequest {
565
573
  AccessEndpoints?: AccessEndpoint[] | undefined;
566
574
  EmbedHostDomains?: string[] | undefined;
567
575
  StreamingExperienceSettings?: StreamingExperienceSettings | undefined;
576
+ ContentRedirection?: ContentRedirection | undefined;
568
577
  }
569
578
  export interface StackError {
570
579
  ErrorCode?: StackErrorCode | undefined;
@@ -585,6 +594,7 @@ export interface Stack {
585
594
  AccessEndpoints?: AccessEndpoint[] | undefined;
586
595
  EmbedHostDomains?: string[] | undefined;
587
596
  StreamingExperienceSettings?: StreamingExperienceSettings | undefined;
597
+ ContentRedirection?: ContentRedirection | undefined;
588
598
  }
589
599
  export interface CreateStackResult {
590
600
  Stack?: Stack | undefined;
@@ -49,6 +49,7 @@ export declare var BatchDisassociateUserStackResult$: StaticStructureSchema;
49
49
  export declare var CertificateBasedAuthProperties$: StaticStructureSchema;
50
50
  export declare var ComputeCapacity$: StaticStructureSchema;
51
51
  export declare var ComputeCapacityStatus$: StaticStructureSchema;
52
+ export declare var ContentRedirection$: StaticStructureSchema;
52
53
  export declare var CopyImageRequest$: StaticStructureSchema;
53
54
  export declare var CopyImageResponse$: StaticStructureSchema;
54
55
  export declare var CreateAppBlockBuilderRequest$: StaticStructureSchema;
@@ -242,6 +243,7 @@ export declare var UpdateStackRequest$: StaticStructureSchema;
242
243
  export declare var UpdateStackResult$: StaticStructureSchema;
243
244
  export declare var UpdateThemeForStackRequest$: StaticStructureSchema;
244
245
  export declare var UpdateThemeForStackResult$: StaticStructureSchema;
246
+ export declare var UrlRedirectionConfig$: StaticStructureSchema;
245
247
  export declare var UsageReportSubscription$: StaticStructureSchema;
246
248
  export declare var User$: StaticStructureSchema;
247
249
  export declare var UserSetting$: StaticStructureSchema;
@@ -1,6 +1,6 @@
1
- import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { AppStreamClient } from "../AppStreamClient";
3
- import { DescribeFleetsCommandInput } from "../commands/DescribeFleetsCommand";
1
+ import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
+ import type { AppStreamClient } from "../AppStreamClient";
3
+ import { type DescribeFleetsCommandInput } from "../commands/DescribeFleetsCommand";
4
4
  /**
5
5
  *
6
6
  * @deprecated Use waitUntilFleetStarted instead. waitForFleetStarted does not throw error in non-success cases.
@@ -1,6 +1,6 @@
1
- import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { AppStreamClient } from "../AppStreamClient";
3
- import { DescribeFleetsCommandInput } from "../commands/DescribeFleetsCommand";
1
+ import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
+ import type { AppStreamClient } from "../AppStreamClient";
3
+ import { type DescribeFleetsCommandInput } from "../commands/DescribeFleetsCommand";
4
4
  /**
5
5
  *
6
6
  * @deprecated Use waitUntilFleetStopped instead. waitForFleetStopped does not throw error in non-success cases.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appstream",
3
3
  "description": "AWS SDK for JavaScript Appstream Client for Node.js, Browser and React Native",
4
- "version": "3.1019.0",
4
+ "version": "3.1020.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-appstream",
@@ -21,43 +21,43 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.25",
25
- "@aws-sdk/credential-provider-node": "^3.972.27",
24
+ "@aws-sdk/core": "^3.973.26",
25
+ "@aws-sdk/credential-provider-node": "^3.972.28",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.8",
27
27
  "@aws-sdk/middleware-logger": "^3.972.8",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.9",
29
- "@aws-sdk/middleware-user-agent": "^3.972.26",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.27",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.10",
31
31
  "@aws-sdk/types": "^3.973.6",
32
32
  "@aws-sdk/util-endpoints": "^3.996.5",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.8",
34
- "@aws-sdk/util-user-agent-node": "^3.973.12",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.13",
35
35
  "@smithy/config-resolver": "^4.4.13",
36
- "@smithy/core": "^3.23.12",
36
+ "@smithy/core": "^3.23.13",
37
37
  "@smithy/fetch-http-handler": "^5.3.15",
38
38
  "@smithy/hash-node": "^4.2.12",
39
39
  "@smithy/invalid-dependency": "^4.2.12",
40
40
  "@smithy/middleware-content-length": "^4.2.12",
41
- "@smithy/middleware-endpoint": "^4.4.27",
42
- "@smithy/middleware-retry": "^4.4.44",
43
- "@smithy/middleware-serde": "^4.2.15",
41
+ "@smithy/middleware-endpoint": "^4.4.28",
42
+ "@smithy/middleware-retry": "^4.4.45",
43
+ "@smithy/middleware-serde": "^4.2.16",
44
44
  "@smithy/middleware-stack": "^4.2.12",
45
45
  "@smithy/node-config-provider": "^4.3.12",
46
- "@smithy/node-http-handler": "^4.5.0",
46
+ "@smithy/node-http-handler": "^4.5.1",
47
47
  "@smithy/protocol-http": "^5.3.12",
48
- "@smithy/smithy-client": "^4.12.7",
48
+ "@smithy/smithy-client": "^4.12.8",
49
49
  "@smithy/types": "^4.13.1",
50
50
  "@smithy/url-parser": "^4.2.12",
51
51
  "@smithy/util-base64": "^4.3.2",
52
52
  "@smithy/util-body-length-browser": "^4.2.2",
53
53
  "@smithy/util-body-length-node": "^4.2.3",
54
- "@smithy/util-defaults-mode-browser": "^4.3.43",
55
- "@smithy/util-defaults-mode-node": "^4.2.47",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.44",
55
+ "@smithy/util-defaults-mode-node": "^4.2.48",
56
56
  "@smithy/util-endpoints": "^3.3.3",
57
57
  "@smithy/util-middleware": "^4.2.12",
58
58
  "@smithy/util-retry": "^4.2.12",
59
59
  "@smithy/util-utf8": "^4.2.2",
60
- "@smithy/util-waiter": "^4.2.13",
60
+ "@smithy/util-waiter": "^4.2.14",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {