@aws-sdk/client-workspaces 3.35.0 → 3.38.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.
- package/CHANGELOG.md +47 -0
- package/dist-cjs/WorkSpaces.js +0 -6
- package/dist-cjs/WorkSpacesClient.js +0 -11
- package/dist-cjs/commands/AssociateConnectionAliasCommand.js +0 -32
- package/dist-cjs/commands/AssociateIpGroupsCommand.js +0 -25
- package/dist-cjs/commands/AuthorizeIpRulesCommand.js +0 -27
- package/dist-cjs/commands/CopyWorkspaceImageCommand.js +0 -38
- package/dist-cjs/commands/CreateConnectionAliasCommand.js +0 -27
- package/dist-cjs/commands/CreateIpGroupCommand.js +0 -34
- package/dist-cjs/commands/CreateTagsCommand.js +0 -25
- package/dist-cjs/commands/CreateUpdatedWorkspaceImageCommand.js +0 -48
- package/dist-cjs/commands/CreateWorkspaceBundleCommand.js +0 -27
- package/dist-cjs/commands/CreateWorkspacesCommand.js +0 -26
- package/dist-cjs/commands/DeleteConnectionAliasCommand.js +0 -42
- package/dist-cjs/commands/DeleteIpGroupCommand.js +0 -26
- package/dist-cjs/commands/DeleteTagsCommand.js +0 -25
- package/dist-cjs/commands/DeleteWorkspaceBundleCommand.js +0 -27
- package/dist-cjs/commands/DeleteWorkspaceImageCommand.js +0 -27
- package/dist-cjs/commands/DeregisterWorkspaceDirectoryCommand.js +0 -41
- package/dist-cjs/commands/DescribeAccountCommand.js +0 -26
- package/dist-cjs/commands/DescribeAccountModificationsCommand.js +0 -26
- package/dist-cjs/commands/DescribeClientPropertiesCommand.js +0 -25
- package/dist-cjs/commands/DescribeConnectionAliasPermissionsCommand.js +0 -27
- package/dist-cjs/commands/DescribeConnectionAliasesCommand.js +0 -27
- package/dist-cjs/commands/DescribeIpGroupsCommand.js +0 -25
- package/dist-cjs/commands/DescribeTagsCommand.js +0 -25
- package/dist-cjs/commands/DescribeWorkspaceBundlesCommand.js +0 -26
- package/dist-cjs/commands/DescribeWorkspaceDirectoriesCommand.js +0 -26
- package/dist-cjs/commands/DescribeWorkspaceImagePermissionsCommand.js +0 -26
- package/dist-cjs/commands/DescribeWorkspaceImagesCommand.js +0 -26
- package/dist-cjs/commands/DescribeWorkspaceSnapshotsCommand.js +0 -25
- package/dist-cjs/commands/DescribeWorkspacesCommand.js +0 -27
- package/dist-cjs/commands/DescribeWorkspacesConnectionStatusCommand.js +0 -25
- package/dist-cjs/commands/DisassociateConnectionAliasCommand.js +0 -33
- package/dist-cjs/commands/DisassociateIpGroupsCommand.js +0 -25
- package/dist-cjs/commands/ImportWorkspaceImageCommand.js +0 -29
- package/dist-cjs/commands/ListAvailableManagementCidrRangesCommand.js +0 -33
- package/dist-cjs/commands/MigrateWorkspaceCommand.js +0 -33
- package/dist-cjs/commands/ModifyAccountCommand.js +0 -26
- package/dist-cjs/commands/ModifyClientPropertiesCommand.js +0 -25
- package/dist-cjs/commands/ModifySelfservicePermissionsCommand.js +0 -26
- package/dist-cjs/commands/ModifyWorkspaceAccessPropertiesCommand.js +0 -27
- package/dist-cjs/commands/ModifyWorkspaceCreationPropertiesCommand.js +0 -25
- package/dist-cjs/commands/ModifyWorkspacePropertiesCommand.js +0 -29
- package/dist-cjs/commands/ModifyWorkspaceStateCommand.js +0 -30
- package/dist-cjs/commands/RebootWorkspacesCommand.js +0 -28
- package/dist-cjs/commands/RebuildWorkspacesCommand.js +0 -32
- package/dist-cjs/commands/RegisterWorkspaceDirectoryCommand.js +0 -29
- package/dist-cjs/commands/RestoreWorkspaceCommand.js +0 -32
- package/dist-cjs/commands/RevokeIpRulesCommand.js +0 -25
- package/dist-cjs/commands/StartWorkspacesCommand.js +0 -27
- package/dist-cjs/commands/StopWorkspacesCommand.js +0 -28
- package/dist-cjs/commands/TerminateWorkspacesCommand.js +0 -54
- package/dist-cjs/commands/UpdateConnectionAliasPermissionCommand.js +0 -44
- package/dist-cjs/commands/UpdateRulesOfIpGroupCommand.js +0 -26
- package/dist-cjs/commands/UpdateWorkspaceBundleCommand.js +0 -33
- package/dist-cjs/commands/UpdateWorkspaceImagePermissionCommand.js +0 -50
- package/dist-cjs/commands/index.js +57 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -61
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -472
- package/dist-cjs/pagination/DescribeWorkspaceBundlesPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeWorkspaceDirectoriesPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeWorkspacesPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/WorkSpaces.js +0 -1
- package/dist-es/WorkSpacesClient.js +0 -1
- package/dist-es/commands/AssociateConnectionAliasCommand.js +0 -1
- package/dist-es/commands/AssociateIpGroupsCommand.js +0 -1
- package/dist-es/commands/AuthorizeIpRulesCommand.js +0 -1
- package/dist-es/commands/CopyWorkspaceImageCommand.js +0 -1
- package/dist-es/commands/CreateConnectionAliasCommand.js +0 -1
- package/dist-es/commands/CreateIpGroupCommand.js +0 -1
- package/dist-es/commands/CreateTagsCommand.js +0 -1
- package/dist-es/commands/CreateUpdatedWorkspaceImageCommand.js +0 -1
- package/dist-es/commands/CreateWorkspaceBundleCommand.js +0 -1
- package/dist-es/commands/CreateWorkspacesCommand.js +0 -1
- package/dist-es/commands/DeleteConnectionAliasCommand.js +0 -1
- package/dist-es/commands/DeleteIpGroupCommand.js +0 -1
- package/dist-es/commands/DeleteTagsCommand.js +0 -1
- package/dist-es/commands/DeleteWorkspaceBundleCommand.js +0 -1
- package/dist-es/commands/DeleteWorkspaceImageCommand.js +0 -1
- package/dist-es/commands/DeregisterWorkspaceDirectoryCommand.js +0 -1
- package/dist-es/commands/DescribeAccountCommand.js +0 -1
- package/dist-es/commands/DescribeAccountModificationsCommand.js +0 -1
- package/dist-es/commands/DescribeClientPropertiesCommand.js +0 -1
- package/dist-es/commands/DescribeConnectionAliasPermissionsCommand.js +0 -1
- package/dist-es/commands/DescribeConnectionAliasesCommand.js +0 -1
- package/dist-es/commands/DescribeIpGroupsCommand.js +0 -1
- package/dist-es/commands/DescribeTagsCommand.js +0 -1
- package/dist-es/commands/DescribeWorkspaceBundlesCommand.js +0 -1
- package/dist-es/commands/DescribeWorkspaceDirectoriesCommand.js +0 -1
- package/dist-es/commands/DescribeWorkspaceImagePermissionsCommand.js +0 -1
- package/dist-es/commands/DescribeWorkspaceImagesCommand.js +0 -1
- package/dist-es/commands/DescribeWorkspaceSnapshotsCommand.js +0 -1
- package/dist-es/commands/DescribeWorkspacesCommand.js +0 -1
- package/dist-es/commands/DescribeWorkspacesConnectionStatusCommand.js +0 -1
- package/dist-es/commands/DisassociateConnectionAliasCommand.js +0 -1
- package/dist-es/commands/DisassociateIpGroupsCommand.js +0 -1
- package/dist-es/commands/ImportWorkspaceImageCommand.js +0 -1
- package/dist-es/commands/ListAvailableManagementCidrRangesCommand.js +0 -1
- package/dist-es/commands/MigrateWorkspaceCommand.js +0 -1
- package/dist-es/commands/ModifyAccountCommand.js +0 -1
- package/dist-es/commands/ModifyClientPropertiesCommand.js +0 -1
- package/dist-es/commands/ModifySelfservicePermissionsCommand.js +0 -1
- package/dist-es/commands/ModifyWorkspaceAccessPropertiesCommand.js +0 -1
- package/dist-es/commands/ModifyWorkspaceCreationPropertiesCommand.js +0 -1
- package/dist-es/commands/ModifyWorkspacePropertiesCommand.js +0 -1
- package/dist-es/commands/ModifyWorkspaceStateCommand.js +0 -1
- package/dist-es/commands/RebootWorkspacesCommand.js +0 -1
- package/dist-es/commands/RebuildWorkspacesCommand.js +0 -1
- package/dist-es/commands/RegisterWorkspaceDirectoryCommand.js +0 -1
- package/dist-es/commands/RestoreWorkspaceCommand.js +0 -1
- package/dist-es/commands/RevokeIpRulesCommand.js +0 -1
- package/dist-es/commands/StartWorkspacesCommand.js +0 -1
- package/dist-es/commands/StopWorkspacesCommand.js +0 -1
- package/dist-es/commands/TerminateWorkspacesCommand.js +0 -1
- package/dist-es/commands/UpdateConnectionAliasPermissionCommand.js +0 -1
- package/dist-es/commands/UpdateRulesOfIpGroupCommand.js +0 -1
- package/dist-es/commands/UpdateWorkspaceBundleCommand.js +0 -1
- package/dist-es/commands/UpdateWorkspaceImagePermissionCommand.js +0 -1
- package/dist-es/commands/index.js +54 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -61
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/DescribeWorkspaceBundlesPaginator.js +0 -1
- package/dist-es/pagination/DescribeWorkspaceDirectoriesPaginator.js +0 -1
- package/dist-es/pagination/DescribeWorkspacesPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +54 -0
- package/dist-types/index.d.ts +4 -60
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/WorkSpaces.d.ts +55 -425
- package/dist-types/ts3.4/WorkSpacesClient.d.ts +24 -91
- package/dist-types/ts3.4/commands/AssociateConnectionAliasCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/AssociateIpGroupsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/AuthorizeIpRulesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CopyWorkspaceImageCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/CreateConnectionAliasCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateIpGroupCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/CreateTagsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateUpdatedWorkspaceImageCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/CreateWorkspaceBundleCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateWorkspacesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteConnectionAliasCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/DeleteIpGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteWorkspaceBundleCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteWorkspaceImageCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeregisterWorkspaceDirectoryCommand.d.ts +2 -36
- package/dist-types/ts3.4/commands/DescribeAccountCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeAccountModificationsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeClientPropertiesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeConnectionAliasPermissionsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeConnectionAliasesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeIpGroupsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeWorkspaceBundlesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeWorkspaceDirectoriesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeWorkspaceImagePermissionsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeWorkspaceImagesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeWorkspaceSnapshotsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeWorkspacesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeWorkspacesConnectionStatusCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DisassociateConnectionAliasCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/DisassociateIpGroupsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ImportWorkspaceImageCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/ListAvailableManagementCidrRangesCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/MigrateWorkspaceCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ModifyAccountCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ModifyClientPropertiesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ModifySelfservicePermissionsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ModifyWorkspaceAccessPropertiesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ModifyWorkspaceCreationPropertiesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ModifyWorkspacePropertiesCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/ModifyWorkspaceStateCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/RebootWorkspacesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/RebuildWorkspacesCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/RegisterWorkspaceDirectoryCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/RestoreWorkspaceCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/RevokeIpRulesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StartWorkspacesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/StopWorkspacesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/TerminateWorkspacesCommand.d.ts +2 -49
- package/dist-types/ts3.4/commands/UpdateConnectionAliasPermissionCommand.d.ts +2 -39
- package/dist-types/ts3.4/commands/UpdateRulesOfIpGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateWorkspaceBundleCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/UpdateWorkspaceImagePermissionCommand.d.ts +2 -45
- package/dist-types/ts3.4/commands/index.d.ts +54 -0
- package/dist-types/ts3.4/index.d.ts +4 -60
- package/dist-types/ts3.4/models/models_0.d.ts +525 -1786
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/WorkSpaces.js.map +0 -1
- package/dist-cjs/WorkSpacesClient.js.map +0 -1
- package/dist-cjs/commands/AssociateConnectionAliasCommand.js.map +0 -1
- package/dist-cjs/commands/AssociateIpGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/AuthorizeIpRulesCommand.js.map +0 -1
- package/dist-cjs/commands/CopyWorkspaceImageCommand.js.map +0 -1
- package/dist-cjs/commands/CreateConnectionAliasCommand.js.map +0 -1
- package/dist-cjs/commands/CreateIpGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateTagsCommand.js.map +0 -1
- package/dist-cjs/commands/CreateUpdatedWorkspaceImageCommand.js.map +0 -1
- package/dist-cjs/commands/CreateWorkspaceBundleCommand.js.map +0 -1
- package/dist-cjs/commands/CreateWorkspacesCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteConnectionAliasCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteIpGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteTagsCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteWorkspaceBundleCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteWorkspaceImageCommand.js.map +0 -1
- package/dist-cjs/commands/DeregisterWorkspaceDirectoryCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAccountCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAccountModificationsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeClientPropertiesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeConnectionAliasPermissionsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeConnectionAliasesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeIpGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeTagsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeWorkspaceBundlesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeWorkspaceDirectoriesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeWorkspaceImagePermissionsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeWorkspaceImagesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeWorkspaceSnapshotsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeWorkspacesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeWorkspacesConnectionStatusCommand.js.map +0 -1
- package/dist-cjs/commands/DisassociateConnectionAliasCommand.js.map +0 -1
- package/dist-cjs/commands/DisassociateIpGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/ImportWorkspaceImageCommand.js.map +0 -1
- package/dist-cjs/commands/ListAvailableManagementCidrRangesCommand.js.map +0 -1
- package/dist-cjs/commands/MigrateWorkspaceCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyAccountCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyClientPropertiesCommand.js.map +0 -1
- package/dist-cjs/commands/ModifySelfservicePermissionsCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyWorkspaceAccessPropertiesCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyWorkspaceCreationPropertiesCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyWorkspacePropertiesCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyWorkspaceStateCommand.js.map +0 -1
- package/dist-cjs/commands/RebootWorkspacesCommand.js.map +0 -1
- package/dist-cjs/commands/RebuildWorkspacesCommand.js.map +0 -1
- package/dist-cjs/commands/RegisterWorkspaceDirectoryCommand.js.map +0 -1
- package/dist-cjs/commands/RestoreWorkspaceCommand.js.map +0 -1
- package/dist-cjs/commands/RevokeIpRulesCommand.js.map +0 -1
- package/dist-cjs/commands/StartWorkspacesCommand.js.map +0 -1
- package/dist-cjs/commands/StopWorkspacesCommand.js.map +0 -1
- package/dist-cjs/commands/TerminateWorkspacesCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateConnectionAliasPermissionCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateRulesOfIpGroupCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateWorkspaceBundleCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateWorkspaceImagePermissionCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/DescribeWorkspaceBundlesPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeWorkspaceDirectoriesPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeWorkspacesPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/WorkSpaces.js.map +0 -1
- package/dist-es/WorkSpacesClient.js.map +0 -1
- package/dist-es/commands/AssociateConnectionAliasCommand.js.map +0 -1
- package/dist-es/commands/AssociateIpGroupsCommand.js.map +0 -1
- package/dist-es/commands/AuthorizeIpRulesCommand.js.map +0 -1
- package/dist-es/commands/CopyWorkspaceImageCommand.js.map +0 -1
- package/dist-es/commands/CreateConnectionAliasCommand.js.map +0 -1
- package/dist-es/commands/CreateIpGroupCommand.js.map +0 -1
- package/dist-es/commands/CreateTagsCommand.js.map +0 -1
- package/dist-es/commands/CreateUpdatedWorkspaceImageCommand.js.map +0 -1
- package/dist-es/commands/CreateWorkspaceBundleCommand.js.map +0 -1
- package/dist-es/commands/CreateWorkspacesCommand.js.map +0 -1
- package/dist-es/commands/DeleteConnectionAliasCommand.js.map +0 -1
- package/dist-es/commands/DeleteIpGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteTagsCommand.js.map +0 -1
- package/dist-es/commands/DeleteWorkspaceBundleCommand.js.map +0 -1
- package/dist-es/commands/DeleteWorkspaceImageCommand.js.map +0 -1
- package/dist-es/commands/DeregisterWorkspaceDirectoryCommand.js.map +0 -1
- package/dist-es/commands/DescribeAccountCommand.js.map +0 -1
- package/dist-es/commands/DescribeAccountModificationsCommand.js.map +0 -1
- package/dist-es/commands/DescribeClientPropertiesCommand.js.map +0 -1
- package/dist-es/commands/DescribeConnectionAliasPermissionsCommand.js.map +0 -1
- package/dist-es/commands/DescribeConnectionAliasesCommand.js.map +0 -1
- package/dist-es/commands/DescribeIpGroupsCommand.js.map +0 -1
- package/dist-es/commands/DescribeTagsCommand.js.map +0 -1
- package/dist-es/commands/DescribeWorkspaceBundlesCommand.js.map +0 -1
- package/dist-es/commands/DescribeWorkspaceDirectoriesCommand.js.map +0 -1
- package/dist-es/commands/DescribeWorkspaceImagePermissionsCommand.js.map +0 -1
- package/dist-es/commands/DescribeWorkspaceImagesCommand.js.map +0 -1
- package/dist-es/commands/DescribeWorkspaceSnapshotsCommand.js.map +0 -1
- package/dist-es/commands/DescribeWorkspacesCommand.js.map +0 -1
- package/dist-es/commands/DescribeWorkspacesConnectionStatusCommand.js.map +0 -1
- package/dist-es/commands/DisassociateConnectionAliasCommand.js.map +0 -1
- package/dist-es/commands/DisassociateIpGroupsCommand.js.map +0 -1
- package/dist-es/commands/ImportWorkspaceImageCommand.js.map +0 -1
- package/dist-es/commands/ListAvailableManagementCidrRangesCommand.js.map +0 -1
- package/dist-es/commands/MigrateWorkspaceCommand.js.map +0 -1
- package/dist-es/commands/ModifyAccountCommand.js.map +0 -1
- package/dist-es/commands/ModifyClientPropertiesCommand.js.map +0 -1
- package/dist-es/commands/ModifySelfservicePermissionsCommand.js.map +0 -1
- package/dist-es/commands/ModifyWorkspaceAccessPropertiesCommand.js.map +0 -1
- package/dist-es/commands/ModifyWorkspaceCreationPropertiesCommand.js.map +0 -1
- package/dist-es/commands/ModifyWorkspacePropertiesCommand.js.map +0 -1
- package/dist-es/commands/ModifyWorkspaceStateCommand.js.map +0 -1
- package/dist-es/commands/RebootWorkspacesCommand.js.map +0 -1
- package/dist-es/commands/RebuildWorkspacesCommand.js.map +0 -1
- package/dist-es/commands/RegisterWorkspaceDirectoryCommand.js.map +0 -1
- package/dist-es/commands/RestoreWorkspaceCommand.js.map +0 -1
- package/dist-es/commands/RevokeIpRulesCommand.js.map +0 -1
- package/dist-es/commands/StartWorkspacesCommand.js.map +0 -1
- package/dist-es/commands/StopWorkspacesCommand.js.map +0 -1
- package/dist-es/commands/TerminateWorkspacesCommand.js.map +0 -1
- package/dist-es/commands/UpdateConnectionAliasPermissionCommand.js.map +0 -1
- package/dist-es/commands/UpdateRulesOfIpGroupCommand.js.map +0 -1
- package/dist-es/commands/UpdateWorkspaceBundleCommand.js.map +0 -1
- package/dist-es/commands/UpdateWorkspaceImagePermissionCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/DescribeWorkspaceBundlesPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeWorkspaceDirectoriesPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeWorkspacesPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/WorkSpaces.ts +0 -2243
- package/src/WorkSpacesClient.ts +0 -502
- package/src/commands/AssociateConnectionAliasCommand.ts +0 -102
- package/src/commands/AssociateIpGroupsCommand.ts +0 -95
- package/src/commands/AuthorizeIpRulesCommand.ts +0 -97
- package/src/commands/CopyWorkspaceImageCommand.ts +0 -108
- package/src/commands/CreateConnectionAliasCommand.ts +0 -97
- package/src/commands/CreateIpGroupCommand.ts +0 -104
- package/src/commands/CreateTagsCommand.ts +0 -95
- package/src/commands/CreateUpdatedWorkspaceImageCommand.ts +0 -121
- package/src/commands/CreateWorkspaceBundleCommand.ts +0 -97
- package/src/commands/CreateWorkspacesCommand.ts +0 -96
- package/src/commands/DeleteConnectionAliasCommand.ts +0 -112
- package/src/commands/DeleteIpGroupCommand.ts +0 -96
- package/src/commands/DeleteTagsCommand.ts +0 -95
- package/src/commands/DeleteWorkspaceBundleCommand.ts +0 -97
- package/src/commands/DeleteWorkspaceImageCommand.ts +0 -97
- package/src/commands/DeregisterWorkspaceDirectoryCommand.ts +0 -116
- package/src/commands/DescribeAccountCommand.ts +0 -96
- package/src/commands/DescribeAccountModificationsCommand.ts +0 -101
- package/src/commands/DescribeClientPropertiesCommand.ts +0 -95
- package/src/commands/DescribeConnectionAliasPermissionsCommand.ts +0 -108
- package/src/commands/DescribeConnectionAliasesCommand.ts +0 -100
- package/src/commands/DescribeIpGroupsCommand.ts +0 -95
- package/src/commands/DescribeTagsCommand.ts +0 -95
- package/src/commands/DescribeWorkspaceBundlesCommand.ts +0 -96
- package/src/commands/DescribeWorkspaceDirectoriesCommand.ts +0 -101
- package/src/commands/DescribeWorkspaceImagePermissionsCommand.ts +0 -104
- package/src/commands/DescribeWorkspaceImagesCommand.ts +0 -96
- package/src/commands/DescribeWorkspaceSnapshotsCommand.ts +0 -98
- package/src/commands/DescribeWorkspacesCommand.ts +0 -97
- package/src/commands/DescribeWorkspacesConnectionStatusCommand.ts +0 -106
- package/src/commands/DisassociateConnectionAliasCommand.ts +0 -106
- package/src/commands/DisassociateIpGroupsCommand.ts +0 -95
- package/src/commands/ImportWorkspaceImageCommand.ts +0 -99
- package/src/commands/ListAvailableManagementCidrRangesCommand.ts +0 -111
- package/src/commands/MigrateWorkspaceCommand.ts +0 -103
- package/src/commands/ModifyAccountCommand.ts +0 -96
- package/src/commands/ModifyClientPropertiesCommand.ts +0 -95
- package/src/commands/ModifySelfservicePermissionsCommand.ts +0 -101
- package/src/commands/ModifyWorkspaceAccessPropertiesCommand.ts +0 -105
- package/src/commands/ModifyWorkspaceCreationPropertiesCommand.ts +0 -103
- package/src/commands/ModifyWorkspacePropertiesCommand.ts +0 -102
- package/src/commands/ModifyWorkspaceStateCommand.ts +0 -100
- package/src/commands/RebootWorkspacesCommand.ts +0 -98
- package/src/commands/RebuildWorkspacesCommand.ts +0 -102
- package/src/commands/RegisterWorkspaceDirectoryCommand.ts +0 -102
- package/src/commands/RestoreWorkspaceCommand.ts +0 -102
- package/src/commands/RevokeIpRulesCommand.ts +0 -95
- package/src/commands/StartWorkspacesCommand.ts +0 -97
- package/src/commands/StopWorkspacesCommand.ts +0 -98
- package/src/commands/TerminateWorkspacesCommand.ts +0 -124
- package/src/commands/UpdateConnectionAliasPermissionCommand.ts +0 -122
- package/src/commands/UpdateRulesOfIpGroupCommand.ts +0 -96
- package/src/commands/UpdateWorkspaceBundleCommand.ts +0 -103
- package/src/commands/UpdateWorkspaceImagePermissionCommand.ts +0 -128
- package/src/endpoints.ts +0 -72
- package/src/index.ts +0 -61
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -3876
- package/src/pagination/DescribeWorkspaceBundlesPaginator.ts +0 -58
- package/src/pagination/DescribeWorkspaceDirectoriesPaginator.ts +0 -58
- package/src/pagination/DescribeWorkspacesPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/protocols/Aws_json1_1.ts +0 -7603
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
package/src/WorkSpacesClient.ts
DELETED
|
@@ -1,502 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
EndpointsInputConfig,
|
|
3
|
-
EndpointsResolvedConfig,
|
|
4
|
-
RegionInputConfig,
|
|
5
|
-
RegionResolvedConfig,
|
|
6
|
-
resolveEndpointsConfig,
|
|
7
|
-
resolveRegionConfig,
|
|
8
|
-
} from "@aws-sdk/config-resolver";
|
|
9
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
10
|
-
import {
|
|
11
|
-
getHostHeaderPlugin,
|
|
12
|
-
HostHeaderInputConfig,
|
|
13
|
-
HostHeaderResolvedConfig,
|
|
14
|
-
resolveHostHeaderConfig,
|
|
15
|
-
} from "@aws-sdk/middleware-host-header";
|
|
16
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
17
|
-
import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
18
|
-
import {
|
|
19
|
-
AwsAuthInputConfig,
|
|
20
|
-
AwsAuthResolvedConfig,
|
|
21
|
-
getAwsAuthPlugin,
|
|
22
|
-
resolveAwsAuthConfig,
|
|
23
|
-
} from "@aws-sdk/middleware-signing";
|
|
24
|
-
import {
|
|
25
|
-
getUserAgentPlugin,
|
|
26
|
-
resolveUserAgentConfig,
|
|
27
|
-
UserAgentInputConfig,
|
|
28
|
-
UserAgentResolvedConfig,
|
|
29
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
30
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
31
|
-
import {
|
|
32
|
-
Client as __Client,
|
|
33
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
34
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
35
|
-
} from "@aws-sdk/smithy-client";
|
|
36
|
-
import {
|
|
37
|
-
Credentials as __Credentials,
|
|
38
|
-
Decoder as __Decoder,
|
|
39
|
-
Encoder as __Encoder,
|
|
40
|
-
Hash as __Hash,
|
|
41
|
-
HashConstructor as __HashConstructor,
|
|
42
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
43
|
-
Logger as __Logger,
|
|
44
|
-
Provider as __Provider,
|
|
45
|
-
Provider,
|
|
46
|
-
RegionInfoProvider,
|
|
47
|
-
StreamCollector as __StreamCollector,
|
|
48
|
-
UrlParser as __UrlParser,
|
|
49
|
-
UserAgent as __UserAgent,
|
|
50
|
-
} from "@aws-sdk/types";
|
|
51
|
-
|
|
52
|
-
import {
|
|
53
|
-
AssociateConnectionAliasCommandInput,
|
|
54
|
-
AssociateConnectionAliasCommandOutput,
|
|
55
|
-
} from "./commands/AssociateConnectionAliasCommand";
|
|
56
|
-
import { AssociateIpGroupsCommandInput, AssociateIpGroupsCommandOutput } from "./commands/AssociateIpGroupsCommand";
|
|
57
|
-
import { AuthorizeIpRulesCommandInput, AuthorizeIpRulesCommandOutput } from "./commands/AuthorizeIpRulesCommand";
|
|
58
|
-
import { CopyWorkspaceImageCommandInput, CopyWorkspaceImageCommandOutput } from "./commands/CopyWorkspaceImageCommand";
|
|
59
|
-
import {
|
|
60
|
-
CreateConnectionAliasCommandInput,
|
|
61
|
-
CreateConnectionAliasCommandOutput,
|
|
62
|
-
} from "./commands/CreateConnectionAliasCommand";
|
|
63
|
-
import { CreateIpGroupCommandInput, CreateIpGroupCommandOutput } from "./commands/CreateIpGroupCommand";
|
|
64
|
-
import { CreateTagsCommandInput, CreateTagsCommandOutput } from "./commands/CreateTagsCommand";
|
|
65
|
-
import {
|
|
66
|
-
CreateUpdatedWorkspaceImageCommandInput,
|
|
67
|
-
CreateUpdatedWorkspaceImageCommandOutput,
|
|
68
|
-
} from "./commands/CreateUpdatedWorkspaceImageCommand";
|
|
69
|
-
import {
|
|
70
|
-
CreateWorkspaceBundleCommandInput,
|
|
71
|
-
CreateWorkspaceBundleCommandOutput,
|
|
72
|
-
} from "./commands/CreateWorkspaceBundleCommand";
|
|
73
|
-
import { CreateWorkspacesCommandInput, CreateWorkspacesCommandOutput } from "./commands/CreateWorkspacesCommand";
|
|
74
|
-
import {
|
|
75
|
-
DeleteConnectionAliasCommandInput,
|
|
76
|
-
DeleteConnectionAliasCommandOutput,
|
|
77
|
-
} from "./commands/DeleteConnectionAliasCommand";
|
|
78
|
-
import { DeleteIpGroupCommandInput, DeleteIpGroupCommandOutput } from "./commands/DeleteIpGroupCommand";
|
|
79
|
-
import { DeleteTagsCommandInput, DeleteTagsCommandOutput } from "./commands/DeleteTagsCommand";
|
|
80
|
-
import {
|
|
81
|
-
DeleteWorkspaceBundleCommandInput,
|
|
82
|
-
DeleteWorkspaceBundleCommandOutput,
|
|
83
|
-
} from "./commands/DeleteWorkspaceBundleCommand";
|
|
84
|
-
import {
|
|
85
|
-
DeleteWorkspaceImageCommandInput,
|
|
86
|
-
DeleteWorkspaceImageCommandOutput,
|
|
87
|
-
} from "./commands/DeleteWorkspaceImageCommand";
|
|
88
|
-
import {
|
|
89
|
-
DeregisterWorkspaceDirectoryCommandInput,
|
|
90
|
-
DeregisterWorkspaceDirectoryCommandOutput,
|
|
91
|
-
} from "./commands/DeregisterWorkspaceDirectoryCommand";
|
|
92
|
-
import { DescribeAccountCommandInput, DescribeAccountCommandOutput } from "./commands/DescribeAccountCommand";
|
|
93
|
-
import {
|
|
94
|
-
DescribeAccountModificationsCommandInput,
|
|
95
|
-
DescribeAccountModificationsCommandOutput,
|
|
96
|
-
} from "./commands/DescribeAccountModificationsCommand";
|
|
97
|
-
import {
|
|
98
|
-
DescribeClientPropertiesCommandInput,
|
|
99
|
-
DescribeClientPropertiesCommandOutput,
|
|
100
|
-
} from "./commands/DescribeClientPropertiesCommand";
|
|
101
|
-
import {
|
|
102
|
-
DescribeConnectionAliasesCommandInput,
|
|
103
|
-
DescribeConnectionAliasesCommandOutput,
|
|
104
|
-
} from "./commands/DescribeConnectionAliasesCommand";
|
|
105
|
-
import {
|
|
106
|
-
DescribeConnectionAliasPermissionsCommandInput,
|
|
107
|
-
DescribeConnectionAliasPermissionsCommandOutput,
|
|
108
|
-
} from "./commands/DescribeConnectionAliasPermissionsCommand";
|
|
109
|
-
import { DescribeIpGroupsCommandInput, DescribeIpGroupsCommandOutput } from "./commands/DescribeIpGroupsCommand";
|
|
110
|
-
import { DescribeTagsCommandInput, DescribeTagsCommandOutput } from "./commands/DescribeTagsCommand";
|
|
111
|
-
import {
|
|
112
|
-
DescribeWorkspaceBundlesCommandInput,
|
|
113
|
-
DescribeWorkspaceBundlesCommandOutput,
|
|
114
|
-
} from "./commands/DescribeWorkspaceBundlesCommand";
|
|
115
|
-
import {
|
|
116
|
-
DescribeWorkspaceDirectoriesCommandInput,
|
|
117
|
-
DescribeWorkspaceDirectoriesCommandOutput,
|
|
118
|
-
} from "./commands/DescribeWorkspaceDirectoriesCommand";
|
|
119
|
-
import {
|
|
120
|
-
DescribeWorkspaceImagePermissionsCommandInput,
|
|
121
|
-
DescribeWorkspaceImagePermissionsCommandOutput,
|
|
122
|
-
} from "./commands/DescribeWorkspaceImagePermissionsCommand";
|
|
123
|
-
import {
|
|
124
|
-
DescribeWorkspaceImagesCommandInput,
|
|
125
|
-
DescribeWorkspaceImagesCommandOutput,
|
|
126
|
-
} from "./commands/DescribeWorkspaceImagesCommand";
|
|
127
|
-
import { DescribeWorkspacesCommandInput, DescribeWorkspacesCommandOutput } from "./commands/DescribeWorkspacesCommand";
|
|
128
|
-
import {
|
|
129
|
-
DescribeWorkspacesConnectionStatusCommandInput,
|
|
130
|
-
DescribeWorkspacesConnectionStatusCommandOutput,
|
|
131
|
-
} from "./commands/DescribeWorkspacesConnectionStatusCommand";
|
|
132
|
-
import {
|
|
133
|
-
DescribeWorkspaceSnapshotsCommandInput,
|
|
134
|
-
DescribeWorkspaceSnapshotsCommandOutput,
|
|
135
|
-
} from "./commands/DescribeWorkspaceSnapshotsCommand";
|
|
136
|
-
import {
|
|
137
|
-
DisassociateConnectionAliasCommandInput,
|
|
138
|
-
DisassociateConnectionAliasCommandOutput,
|
|
139
|
-
} from "./commands/DisassociateConnectionAliasCommand";
|
|
140
|
-
import {
|
|
141
|
-
DisassociateIpGroupsCommandInput,
|
|
142
|
-
DisassociateIpGroupsCommandOutput,
|
|
143
|
-
} from "./commands/DisassociateIpGroupsCommand";
|
|
144
|
-
import {
|
|
145
|
-
ImportWorkspaceImageCommandInput,
|
|
146
|
-
ImportWorkspaceImageCommandOutput,
|
|
147
|
-
} from "./commands/ImportWorkspaceImageCommand";
|
|
148
|
-
import {
|
|
149
|
-
ListAvailableManagementCidrRangesCommandInput,
|
|
150
|
-
ListAvailableManagementCidrRangesCommandOutput,
|
|
151
|
-
} from "./commands/ListAvailableManagementCidrRangesCommand";
|
|
152
|
-
import { MigrateWorkspaceCommandInput, MigrateWorkspaceCommandOutput } from "./commands/MigrateWorkspaceCommand";
|
|
153
|
-
import { ModifyAccountCommandInput, ModifyAccountCommandOutput } from "./commands/ModifyAccountCommand";
|
|
154
|
-
import {
|
|
155
|
-
ModifyClientPropertiesCommandInput,
|
|
156
|
-
ModifyClientPropertiesCommandOutput,
|
|
157
|
-
} from "./commands/ModifyClientPropertiesCommand";
|
|
158
|
-
import {
|
|
159
|
-
ModifySelfservicePermissionsCommandInput,
|
|
160
|
-
ModifySelfservicePermissionsCommandOutput,
|
|
161
|
-
} from "./commands/ModifySelfservicePermissionsCommand";
|
|
162
|
-
import {
|
|
163
|
-
ModifyWorkspaceAccessPropertiesCommandInput,
|
|
164
|
-
ModifyWorkspaceAccessPropertiesCommandOutput,
|
|
165
|
-
} from "./commands/ModifyWorkspaceAccessPropertiesCommand";
|
|
166
|
-
import {
|
|
167
|
-
ModifyWorkspaceCreationPropertiesCommandInput,
|
|
168
|
-
ModifyWorkspaceCreationPropertiesCommandOutput,
|
|
169
|
-
} from "./commands/ModifyWorkspaceCreationPropertiesCommand";
|
|
170
|
-
import {
|
|
171
|
-
ModifyWorkspacePropertiesCommandInput,
|
|
172
|
-
ModifyWorkspacePropertiesCommandOutput,
|
|
173
|
-
} from "./commands/ModifyWorkspacePropertiesCommand";
|
|
174
|
-
import {
|
|
175
|
-
ModifyWorkspaceStateCommandInput,
|
|
176
|
-
ModifyWorkspaceStateCommandOutput,
|
|
177
|
-
} from "./commands/ModifyWorkspaceStateCommand";
|
|
178
|
-
import { RebootWorkspacesCommandInput, RebootWorkspacesCommandOutput } from "./commands/RebootWorkspacesCommand";
|
|
179
|
-
import { RebuildWorkspacesCommandInput, RebuildWorkspacesCommandOutput } from "./commands/RebuildWorkspacesCommand";
|
|
180
|
-
import {
|
|
181
|
-
RegisterWorkspaceDirectoryCommandInput,
|
|
182
|
-
RegisterWorkspaceDirectoryCommandOutput,
|
|
183
|
-
} from "./commands/RegisterWorkspaceDirectoryCommand";
|
|
184
|
-
import { RestoreWorkspaceCommandInput, RestoreWorkspaceCommandOutput } from "./commands/RestoreWorkspaceCommand";
|
|
185
|
-
import { RevokeIpRulesCommandInput, RevokeIpRulesCommandOutput } from "./commands/RevokeIpRulesCommand";
|
|
186
|
-
import { StartWorkspacesCommandInput, StartWorkspacesCommandOutput } from "./commands/StartWorkspacesCommand";
|
|
187
|
-
import { StopWorkspacesCommandInput, StopWorkspacesCommandOutput } from "./commands/StopWorkspacesCommand";
|
|
188
|
-
import {
|
|
189
|
-
TerminateWorkspacesCommandInput,
|
|
190
|
-
TerminateWorkspacesCommandOutput,
|
|
191
|
-
} from "./commands/TerminateWorkspacesCommand";
|
|
192
|
-
import {
|
|
193
|
-
UpdateConnectionAliasPermissionCommandInput,
|
|
194
|
-
UpdateConnectionAliasPermissionCommandOutput,
|
|
195
|
-
} from "./commands/UpdateConnectionAliasPermissionCommand";
|
|
196
|
-
import {
|
|
197
|
-
UpdateRulesOfIpGroupCommandInput,
|
|
198
|
-
UpdateRulesOfIpGroupCommandOutput,
|
|
199
|
-
} from "./commands/UpdateRulesOfIpGroupCommand";
|
|
200
|
-
import {
|
|
201
|
-
UpdateWorkspaceBundleCommandInput,
|
|
202
|
-
UpdateWorkspaceBundleCommandOutput,
|
|
203
|
-
} from "./commands/UpdateWorkspaceBundleCommand";
|
|
204
|
-
import {
|
|
205
|
-
UpdateWorkspaceImagePermissionCommandInput,
|
|
206
|
-
UpdateWorkspaceImagePermissionCommandOutput,
|
|
207
|
-
} from "./commands/UpdateWorkspaceImagePermissionCommand";
|
|
208
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
209
|
-
|
|
210
|
-
export type ServiceInputTypes =
|
|
211
|
-
| AssociateConnectionAliasCommandInput
|
|
212
|
-
| AssociateIpGroupsCommandInput
|
|
213
|
-
| AuthorizeIpRulesCommandInput
|
|
214
|
-
| CopyWorkspaceImageCommandInput
|
|
215
|
-
| CreateConnectionAliasCommandInput
|
|
216
|
-
| CreateIpGroupCommandInput
|
|
217
|
-
| CreateTagsCommandInput
|
|
218
|
-
| CreateUpdatedWorkspaceImageCommandInput
|
|
219
|
-
| CreateWorkspaceBundleCommandInput
|
|
220
|
-
| CreateWorkspacesCommandInput
|
|
221
|
-
| DeleteConnectionAliasCommandInput
|
|
222
|
-
| DeleteIpGroupCommandInput
|
|
223
|
-
| DeleteTagsCommandInput
|
|
224
|
-
| DeleteWorkspaceBundleCommandInput
|
|
225
|
-
| DeleteWorkspaceImageCommandInput
|
|
226
|
-
| DeregisterWorkspaceDirectoryCommandInput
|
|
227
|
-
| DescribeAccountCommandInput
|
|
228
|
-
| DescribeAccountModificationsCommandInput
|
|
229
|
-
| DescribeClientPropertiesCommandInput
|
|
230
|
-
| DescribeConnectionAliasPermissionsCommandInput
|
|
231
|
-
| DescribeConnectionAliasesCommandInput
|
|
232
|
-
| DescribeIpGroupsCommandInput
|
|
233
|
-
| DescribeTagsCommandInput
|
|
234
|
-
| DescribeWorkspaceBundlesCommandInput
|
|
235
|
-
| DescribeWorkspaceDirectoriesCommandInput
|
|
236
|
-
| DescribeWorkspaceImagePermissionsCommandInput
|
|
237
|
-
| DescribeWorkspaceImagesCommandInput
|
|
238
|
-
| DescribeWorkspaceSnapshotsCommandInput
|
|
239
|
-
| DescribeWorkspacesCommandInput
|
|
240
|
-
| DescribeWorkspacesConnectionStatusCommandInput
|
|
241
|
-
| DisassociateConnectionAliasCommandInput
|
|
242
|
-
| DisassociateIpGroupsCommandInput
|
|
243
|
-
| ImportWorkspaceImageCommandInput
|
|
244
|
-
| ListAvailableManagementCidrRangesCommandInput
|
|
245
|
-
| MigrateWorkspaceCommandInput
|
|
246
|
-
| ModifyAccountCommandInput
|
|
247
|
-
| ModifyClientPropertiesCommandInput
|
|
248
|
-
| ModifySelfservicePermissionsCommandInput
|
|
249
|
-
| ModifyWorkspaceAccessPropertiesCommandInput
|
|
250
|
-
| ModifyWorkspaceCreationPropertiesCommandInput
|
|
251
|
-
| ModifyWorkspacePropertiesCommandInput
|
|
252
|
-
| ModifyWorkspaceStateCommandInput
|
|
253
|
-
| RebootWorkspacesCommandInput
|
|
254
|
-
| RebuildWorkspacesCommandInput
|
|
255
|
-
| RegisterWorkspaceDirectoryCommandInput
|
|
256
|
-
| RestoreWorkspaceCommandInput
|
|
257
|
-
| RevokeIpRulesCommandInput
|
|
258
|
-
| StartWorkspacesCommandInput
|
|
259
|
-
| StopWorkspacesCommandInput
|
|
260
|
-
| TerminateWorkspacesCommandInput
|
|
261
|
-
| UpdateConnectionAliasPermissionCommandInput
|
|
262
|
-
| UpdateRulesOfIpGroupCommandInput
|
|
263
|
-
| UpdateWorkspaceBundleCommandInput
|
|
264
|
-
| UpdateWorkspaceImagePermissionCommandInput;
|
|
265
|
-
|
|
266
|
-
export type ServiceOutputTypes =
|
|
267
|
-
| AssociateConnectionAliasCommandOutput
|
|
268
|
-
| AssociateIpGroupsCommandOutput
|
|
269
|
-
| AuthorizeIpRulesCommandOutput
|
|
270
|
-
| CopyWorkspaceImageCommandOutput
|
|
271
|
-
| CreateConnectionAliasCommandOutput
|
|
272
|
-
| CreateIpGroupCommandOutput
|
|
273
|
-
| CreateTagsCommandOutput
|
|
274
|
-
| CreateUpdatedWorkspaceImageCommandOutput
|
|
275
|
-
| CreateWorkspaceBundleCommandOutput
|
|
276
|
-
| CreateWorkspacesCommandOutput
|
|
277
|
-
| DeleteConnectionAliasCommandOutput
|
|
278
|
-
| DeleteIpGroupCommandOutput
|
|
279
|
-
| DeleteTagsCommandOutput
|
|
280
|
-
| DeleteWorkspaceBundleCommandOutput
|
|
281
|
-
| DeleteWorkspaceImageCommandOutput
|
|
282
|
-
| DeregisterWorkspaceDirectoryCommandOutput
|
|
283
|
-
| DescribeAccountCommandOutput
|
|
284
|
-
| DescribeAccountModificationsCommandOutput
|
|
285
|
-
| DescribeClientPropertiesCommandOutput
|
|
286
|
-
| DescribeConnectionAliasPermissionsCommandOutput
|
|
287
|
-
| DescribeConnectionAliasesCommandOutput
|
|
288
|
-
| DescribeIpGroupsCommandOutput
|
|
289
|
-
| DescribeTagsCommandOutput
|
|
290
|
-
| DescribeWorkspaceBundlesCommandOutput
|
|
291
|
-
| DescribeWorkspaceDirectoriesCommandOutput
|
|
292
|
-
| DescribeWorkspaceImagePermissionsCommandOutput
|
|
293
|
-
| DescribeWorkspaceImagesCommandOutput
|
|
294
|
-
| DescribeWorkspaceSnapshotsCommandOutput
|
|
295
|
-
| DescribeWorkspacesCommandOutput
|
|
296
|
-
| DescribeWorkspacesConnectionStatusCommandOutput
|
|
297
|
-
| DisassociateConnectionAliasCommandOutput
|
|
298
|
-
| DisassociateIpGroupsCommandOutput
|
|
299
|
-
| ImportWorkspaceImageCommandOutput
|
|
300
|
-
| ListAvailableManagementCidrRangesCommandOutput
|
|
301
|
-
| MigrateWorkspaceCommandOutput
|
|
302
|
-
| ModifyAccountCommandOutput
|
|
303
|
-
| ModifyClientPropertiesCommandOutput
|
|
304
|
-
| ModifySelfservicePermissionsCommandOutput
|
|
305
|
-
| ModifyWorkspaceAccessPropertiesCommandOutput
|
|
306
|
-
| ModifyWorkspaceCreationPropertiesCommandOutput
|
|
307
|
-
| ModifyWorkspacePropertiesCommandOutput
|
|
308
|
-
| ModifyWorkspaceStateCommandOutput
|
|
309
|
-
| RebootWorkspacesCommandOutput
|
|
310
|
-
| RebuildWorkspacesCommandOutput
|
|
311
|
-
| RegisterWorkspaceDirectoryCommandOutput
|
|
312
|
-
| RestoreWorkspaceCommandOutput
|
|
313
|
-
| RevokeIpRulesCommandOutput
|
|
314
|
-
| StartWorkspacesCommandOutput
|
|
315
|
-
| StopWorkspacesCommandOutput
|
|
316
|
-
| TerminateWorkspacesCommandOutput
|
|
317
|
-
| UpdateConnectionAliasPermissionCommandOutput
|
|
318
|
-
| UpdateRulesOfIpGroupCommandOutput
|
|
319
|
-
| UpdateWorkspaceBundleCommandOutput
|
|
320
|
-
| UpdateWorkspaceImagePermissionCommandOutput;
|
|
321
|
-
|
|
322
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
323
|
-
/**
|
|
324
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
325
|
-
*/
|
|
326
|
-
requestHandler?: __HttpHandler;
|
|
327
|
-
|
|
328
|
-
/**
|
|
329
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
330
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
331
|
-
* @internal
|
|
332
|
-
*/
|
|
333
|
-
sha256?: __HashConstructor;
|
|
334
|
-
|
|
335
|
-
/**
|
|
336
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
337
|
-
* @internal
|
|
338
|
-
*/
|
|
339
|
-
urlParser?: __UrlParser;
|
|
340
|
-
|
|
341
|
-
/**
|
|
342
|
-
* A function that can calculate the length of a request body.
|
|
343
|
-
* @internal
|
|
344
|
-
*/
|
|
345
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
346
|
-
|
|
347
|
-
/**
|
|
348
|
-
* A function that converts a stream into an array of bytes.
|
|
349
|
-
* @internal
|
|
350
|
-
*/
|
|
351
|
-
streamCollector?: __StreamCollector;
|
|
352
|
-
|
|
353
|
-
/**
|
|
354
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
355
|
-
* @internal
|
|
356
|
-
*/
|
|
357
|
-
base64Decoder?: __Decoder;
|
|
358
|
-
|
|
359
|
-
/**
|
|
360
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
361
|
-
* @internal
|
|
362
|
-
*/
|
|
363
|
-
base64Encoder?: __Encoder;
|
|
364
|
-
|
|
365
|
-
/**
|
|
366
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
367
|
-
* @internal
|
|
368
|
-
*/
|
|
369
|
-
utf8Decoder?: __Decoder;
|
|
370
|
-
|
|
371
|
-
/**
|
|
372
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
373
|
-
* @internal
|
|
374
|
-
*/
|
|
375
|
-
utf8Encoder?: __Encoder;
|
|
376
|
-
|
|
377
|
-
/**
|
|
378
|
-
* The runtime environment.
|
|
379
|
-
* @internal
|
|
380
|
-
*/
|
|
381
|
-
runtime?: string;
|
|
382
|
-
|
|
383
|
-
/**
|
|
384
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
385
|
-
* trait of an operation.
|
|
386
|
-
*/
|
|
387
|
-
disableHostPrefix?: boolean;
|
|
388
|
-
|
|
389
|
-
/**
|
|
390
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
391
|
-
*/
|
|
392
|
-
maxAttempts?: number | __Provider<number>;
|
|
393
|
-
|
|
394
|
-
/**
|
|
395
|
-
* Specifies which retry algorithm to use.
|
|
396
|
-
*/
|
|
397
|
-
retryMode?: string | __Provider<string>;
|
|
398
|
-
|
|
399
|
-
/**
|
|
400
|
-
* Optional logger for logging debug/info/warn/error.
|
|
401
|
-
*/
|
|
402
|
-
logger?: __Logger;
|
|
403
|
-
|
|
404
|
-
/**
|
|
405
|
-
* Unique service identifier.
|
|
406
|
-
* @internal
|
|
407
|
-
*/
|
|
408
|
-
serviceId?: string;
|
|
409
|
-
|
|
410
|
-
/**
|
|
411
|
-
* The AWS region to which this client will send requests
|
|
412
|
-
*/
|
|
413
|
-
region?: string | __Provider<string>;
|
|
414
|
-
|
|
415
|
-
/**
|
|
416
|
-
* Default credentials provider; Not available in browser runtime.
|
|
417
|
-
* @internal
|
|
418
|
-
*/
|
|
419
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
420
|
-
|
|
421
|
-
/**
|
|
422
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
423
|
-
* @internal
|
|
424
|
-
*/
|
|
425
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
426
|
-
|
|
427
|
-
/**
|
|
428
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
429
|
-
* @internal
|
|
430
|
-
*/
|
|
431
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
type WorkSpacesClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
435
|
-
ClientDefaults &
|
|
436
|
-
RegionInputConfig &
|
|
437
|
-
EndpointsInputConfig &
|
|
438
|
-
RetryInputConfig &
|
|
439
|
-
HostHeaderInputConfig &
|
|
440
|
-
AwsAuthInputConfig &
|
|
441
|
-
UserAgentInputConfig;
|
|
442
|
-
/**
|
|
443
|
-
* The configuration interface of WorkSpacesClient class constructor that set the region, credentials and other options.
|
|
444
|
-
*/
|
|
445
|
-
export interface WorkSpacesClientConfig extends WorkSpacesClientConfigType {}
|
|
446
|
-
|
|
447
|
-
type WorkSpacesClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
448
|
-
Required<ClientDefaults> &
|
|
449
|
-
RegionResolvedConfig &
|
|
450
|
-
EndpointsResolvedConfig &
|
|
451
|
-
RetryResolvedConfig &
|
|
452
|
-
HostHeaderResolvedConfig &
|
|
453
|
-
AwsAuthResolvedConfig &
|
|
454
|
-
UserAgentResolvedConfig;
|
|
455
|
-
/**
|
|
456
|
-
* The resolved configuration interface of WorkSpacesClient class. This is resolved and normalized from the {@link WorkSpacesClientConfig | constructor configuration interface}.
|
|
457
|
-
*/
|
|
458
|
-
export interface WorkSpacesClientResolvedConfig extends WorkSpacesClientResolvedConfigType {}
|
|
459
|
-
|
|
460
|
-
/**
|
|
461
|
-
* <fullname>Amazon WorkSpaces Service</fullname>
|
|
462
|
-
* <p>Amazon WorkSpaces enables you to provision virtual, cloud-based Microsoft Windows and
|
|
463
|
-
* Amazon Linux desktops for your users.</p>
|
|
464
|
-
*/
|
|
465
|
-
export class WorkSpacesClient extends __Client<
|
|
466
|
-
__HttpHandlerOptions,
|
|
467
|
-
ServiceInputTypes,
|
|
468
|
-
ServiceOutputTypes,
|
|
469
|
-
WorkSpacesClientResolvedConfig
|
|
470
|
-
> {
|
|
471
|
-
/**
|
|
472
|
-
* The resolved configuration of WorkSpacesClient class. This is resolved and normalized from the {@link WorkSpacesClientConfig | constructor configuration interface}.
|
|
473
|
-
*/
|
|
474
|
-
readonly config: WorkSpacesClientResolvedConfig;
|
|
475
|
-
|
|
476
|
-
constructor(configuration: WorkSpacesClientConfig) {
|
|
477
|
-
const _config_0 = __getRuntimeConfig(configuration);
|
|
478
|
-
const _config_1 = resolveRegionConfig(_config_0);
|
|
479
|
-
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
480
|
-
const _config_3 = resolveRetryConfig(_config_2);
|
|
481
|
-
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
482
|
-
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
483
|
-
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
484
|
-
super(_config_6);
|
|
485
|
-
this.config = _config_6;
|
|
486
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
487
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
488
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
489
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
490
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
491
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
/**
|
|
495
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
496
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
497
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
498
|
-
*/
|
|
499
|
-
destroy(): void {
|
|
500
|
-
super.destroy();
|
|
501
|
-
}
|
|
502
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { AssociateConnectionAliasRequest, AssociateConnectionAliasResult } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1AssociateConnectionAliasCommand,
|
|
17
|
-
serializeAws_json1_1AssociateConnectionAliasCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
20
|
-
|
|
21
|
-
export interface AssociateConnectionAliasCommandInput extends AssociateConnectionAliasRequest {}
|
|
22
|
-
export interface AssociateConnectionAliasCommandOutput extends AssociateConnectionAliasResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Associates the specified connection alias with the specified directory to enable cross-Region redirection.
|
|
26
|
-
* For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html">
|
|
27
|
-
* Cross-Region Redirection for Amazon WorkSpaces</a>.</p>
|
|
28
|
-
*
|
|
29
|
-
* <note>
|
|
30
|
-
* <p>Before performing this operation, call <a href="https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeConnectionAliases.html">
|
|
31
|
-
* DescribeConnectionAliases</a> to make sure that the current state of the connection alias is <code>CREATED</code>.</p>
|
|
32
|
-
* </note>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { WorkSpacesClient, AssociateConnectionAliasCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
37
|
-
* // const { WorkSpacesClient, AssociateConnectionAliasCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
38
|
-
* const client = new WorkSpacesClient(config);
|
|
39
|
-
* const command = new AssociateConnectionAliasCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link AssociateConnectionAliasCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link AssociateConnectionAliasCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
export class AssociateConnectionAliasCommand extends $Command<
|
|
49
|
-
AssociateConnectionAliasCommandInput,
|
|
50
|
-
AssociateConnectionAliasCommandOutput,
|
|
51
|
-
WorkSpacesClientResolvedConfig
|
|
52
|
-
> {
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
|
-
|
|
56
|
-
constructor(readonly input: AssociateConnectionAliasCommandInput) {
|
|
57
|
-
// Start section: command_constructor
|
|
58
|
-
super();
|
|
59
|
-
// End section: command_constructor
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
|
-
resolveMiddleware(
|
|
66
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
67
|
-
configuration: WorkSpacesClientResolvedConfig,
|
|
68
|
-
options?: __HttpHandlerOptions
|
|
69
|
-
): Handler<AssociateConnectionAliasCommandInput, AssociateConnectionAliasCommandOutput> {
|
|
70
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
71
|
-
|
|
72
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
73
|
-
|
|
74
|
-
const { logger } = configuration;
|
|
75
|
-
const clientName = "WorkSpacesClient";
|
|
76
|
-
const commandName = "AssociateConnectionAliasCommand";
|
|
77
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
78
|
-
logger,
|
|
79
|
-
clientName,
|
|
80
|
-
commandName,
|
|
81
|
-
inputFilterSensitiveLog: AssociateConnectionAliasRequest.filterSensitiveLog,
|
|
82
|
-
outputFilterSensitiveLog: AssociateConnectionAliasResult.filterSensitiveLog,
|
|
83
|
-
};
|
|
84
|
-
const { requestHandler } = configuration;
|
|
85
|
-
return stack.resolve(
|
|
86
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
87
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
88
|
-
handlerExecutionContext
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private serialize(input: AssociateConnectionAliasCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
93
|
-
return serializeAws_json1_1AssociateConnectionAliasCommand(input, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AssociateConnectionAliasCommandOutput> {
|
|
97
|
-
return deserializeAws_json1_1AssociateConnectionAliasCommand(output, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Start section: command_body_extra
|
|
101
|
-
// End section: command_body_extra
|
|
102
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { AssociateIpGroupsRequest, AssociateIpGroupsResult } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1AssociateIpGroupsCommand,
|
|
17
|
-
serializeAws_json1_1AssociateIpGroupsCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
20
|
-
|
|
21
|
-
export interface AssociateIpGroupsCommandInput extends AssociateIpGroupsRequest {}
|
|
22
|
-
export interface AssociateIpGroupsCommandOutput extends AssociateIpGroupsResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Associates the specified IP access control group with the specified directory.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { WorkSpacesClient, AssociateIpGroupsCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
30
|
-
* // const { WorkSpacesClient, AssociateIpGroupsCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
31
|
-
* const client = new WorkSpacesClient(config);
|
|
32
|
-
* const command = new AssociateIpGroupsCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link AssociateIpGroupsCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link AssociateIpGroupsCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class AssociateIpGroupsCommand extends $Command<
|
|
42
|
-
AssociateIpGroupsCommandInput,
|
|
43
|
-
AssociateIpGroupsCommandOutput,
|
|
44
|
-
WorkSpacesClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: AssociateIpGroupsCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: WorkSpacesClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<AssociateIpGroupsCommandInput, AssociateIpGroupsCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "WorkSpacesClient";
|
|
69
|
-
const commandName = "AssociateIpGroupsCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: AssociateIpGroupsRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: AssociateIpGroupsResult.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: AssociateIpGroupsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1AssociateIpGroupsCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AssociateIpGroupsCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1AssociateIpGroupsCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|