Skip to content

Commit

Permalink
feat(client-workspaces): Added AWS Global Accelerator (AGA) support f…
Browse files Browse the repository at this point in the history
…or WorkSpaces Personal.
  • Loading branch information
awstools committed Dec 19, 2024
1 parent 81aee61 commit 19c98c2
Show file tree
Hide file tree
Showing 11 changed files with 486 additions and 193 deletions.
12 changes: 12 additions & 0 deletions clients/client-workspaces/src/commands/CreateWorkspacesCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ export interface CreateWorkspacesCommandOutput extends CreateWorkspacesResult, _
* "PCOIP" || "WSP",
* ],
* OperatingSystemName: "AMAZON_LINUX_2" || "UBUNTU_18_04" || "UBUNTU_20_04" || "UBUNTU_22_04" || "UNKNOWN" || "WINDOWS_10" || "WINDOWS_11" || "WINDOWS_7" || "WINDOWS_SERVER_2016" || "WINDOWS_SERVER_2019" || "WINDOWS_SERVER_2022" || "RHEL_8" || "ROCKY_8",
* GlobalAccelerator: { // GlobalAcceleratorForWorkSpace
* Mode: "ENABLED_AUTO" || "DISABLED" || "INHERITED", // required
* PreferredProtocol: "TCP" || "NONE" || "INHERITED",
* },
* },
* Tags: [ // TagList
* { // Tag
Expand Down Expand Up @@ -113,6 +117,10 @@ export interface CreateWorkspacesCommandOutput extends CreateWorkspacesResult, _
* // "PCOIP" || "WSP",
* // ],
* // OperatingSystemName: "AMAZON_LINUX_2" || "UBUNTU_18_04" || "UBUNTU_20_04" || "UBUNTU_22_04" || "UNKNOWN" || "WINDOWS_10" || "WINDOWS_11" || "WINDOWS_7" || "WINDOWS_SERVER_2016" || "WINDOWS_SERVER_2019" || "WINDOWS_SERVER_2022" || "RHEL_8" || "ROCKY_8",
* // GlobalAccelerator: { // GlobalAcceleratorForWorkSpace
* // Mode: "ENABLED_AUTO" || "DISABLED" || "INHERITED", // required
* // PreferredProtocol: "TCP" || "NONE" || "INHERITED",
* // },
* // },
* // Tags: [ // TagList
* // { // Tag
Expand Down Expand Up @@ -152,6 +160,10 @@ export interface CreateWorkspacesCommandOutput extends CreateWorkspacesResult, _
* // "PCOIP" || "WSP",
* // ],
* // OperatingSystemName: "AMAZON_LINUX_2" || "UBUNTU_18_04" || "UBUNTU_20_04" || "UBUNTU_22_04" || "UNKNOWN" || "WINDOWS_10" || "WINDOWS_11" || "WINDOWS_7" || "WINDOWS_SERVER_2016" || "WINDOWS_SERVER_2019" || "WINDOWS_SERVER_2022" || "RHEL_8" || "ROCKY_8",
* // GlobalAccelerator: {
* // Mode: "ENABLED_AUTO" || "DISABLED" || "INHERITED", // required
* // PreferredProtocol: "TCP" || "NONE" || "INHERITED",
* // },
* // },
* // ModificationStates: [ // ModificationStateList
* // { // ModificationState
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ export interface DescribeWorkspaceDirectoriesCommandOutput
* // Status: "ENABLED" || "DISABLED", // required
* // },
* // ],
* // GlobalAccelerator: { // GlobalAcceleratorForDirectory
* // Mode: "ENABLED_AUTO" || "DISABLED", // required
* // PreferredProtocol: "TCP" || "NONE",
* // },
* // },
* // ErrorMessage: "STRING_VALUE",
* // },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ export interface DescribeWorkspacesCommandOutput extends DescribeWorkspacesResul
* // "PCOIP" || "WSP",
* // ],
* // OperatingSystemName: "AMAZON_LINUX_2" || "UBUNTU_18_04" || "UBUNTU_20_04" || "UBUNTU_22_04" || "UNKNOWN" || "WINDOWS_10" || "WINDOWS_11" || "WINDOWS_7" || "WINDOWS_SERVER_2016" || "WINDOWS_SERVER_2019" || "WINDOWS_SERVER_2022" || "RHEL_8" || "ROCKY_8",
* // GlobalAccelerator: { // GlobalAcceleratorForWorkSpace
* // Mode: "ENABLED_AUTO" || "DISABLED" || "INHERITED", // required
* // PreferredProtocol: "TCP" || "NONE" || "INHERITED",
* // },
* // },
* // ModificationStates: [ // ModificationStateList
* // { // ModificationState
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ export interface ModifyStreamingPropertiesCommandOutput extends ModifyStreamingP
* Status: "ENABLED" || "DISABLED", // required
* },
* ],
* GlobalAccelerator: { // GlobalAcceleratorForDirectory
* Mode: "ENABLED_AUTO" || "DISABLED", // required
* PreferredProtocol: "TCP" || "NONE",
* },
* },
* };
* const command = new ModifyStreamingPropertiesCommand(input);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ export interface ModifyWorkspacePropertiesCommandOutput extends ModifyWorkspaceP
* "PCOIP" || "WSP",
* ],
* OperatingSystemName: "AMAZON_LINUX_2" || "UBUNTU_18_04" || "UBUNTU_20_04" || "UBUNTU_22_04" || "UNKNOWN" || "WINDOWS_10" || "WINDOWS_11" || "WINDOWS_7" || "WINDOWS_SERVER_2016" || "WINDOWS_SERVER_2019" || "WINDOWS_SERVER_2022" || "RHEL_8" || "ROCKY_8",
* GlobalAccelerator: { // GlobalAcceleratorForWorkSpace
* Mode: "ENABLED_AUTO" || "DISABLED" || "INHERITED", // required
* PreferredProtocol: "TCP" || "NONE" || "INHERITED",
* },
* },
* DataReplication: "NO_REPLICATION" || "PRIMARY_AS_SOURCE",
* };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { commonParams } from "../endpoint/EndpointParameters";
import { RegisterWorkspaceDirectoryRequest, RegisterWorkspaceDirectoryResult } from "../models/models_0";
import { RegisterWorkspaceDirectoryRequest, RegisterWorkspaceDirectoryResult } from "../models/models_1";
import { de_RegisterWorkspaceDirectoryCommand, se_RegisterWorkspaceDirectoryCommand } from "../protocols/Aws_json1_1";
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { commonParams } from "../endpoint/EndpointParameters";
import { RejectAccountLinkInvitationRequest, RejectAccountLinkInvitationResult } from "../models/models_0";
import { RejectAccountLinkInvitationRequest, RejectAccountLinkInvitationResult } from "../models/models_1";
import { de_RejectAccountLinkInvitationCommand, se_RejectAccountLinkInvitationCommand } from "../protocols/Aws_json1_1";
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";

Expand Down
Loading

0 comments on commit 19c98c2

Please sign in to comment.