@aws-sdk/client-workspaces 3.138.0 → 3.145.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 +30 -0
- package/README.md +1 -1
- package/dist-cjs/WorkSpaces.js +15 -0
- package/dist-cjs/commands/ModifySamlPropertiesCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +28 -5
- package/dist-cjs/protocols/Aws_json1_1.js +412 -584
- package/dist-es/WorkSpaces.js +15 -0
- package/dist-es/commands/ModifySamlPropertiesCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +14 -0
- package/dist-es/protocols/Aws_json1_1.js +599 -582
- package/dist-types/WorkSpaces.d.ts +9 -0
- package/dist-types/WorkSpacesClient.d.ts +3 -2
- package/dist-types/commands/ModifySamlPropertiesCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +94 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +3 -0
- package/dist-types/ts3.4/WorkSpaces.d.ts +5 -0
- package/dist-types/ts3.4/WorkSpacesClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/ModifySamlPropertiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +36 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +3 -0
- package/package.json +11 -6
|
@@ -43,6 +43,7 @@ import { ListAvailableManagementCidrRangesCommandInput, ListAvailableManagementC
|
|
|
43
43
|
import { MigrateWorkspaceCommandInput, MigrateWorkspaceCommandOutput } from "./commands/MigrateWorkspaceCommand";
|
|
44
44
|
import { ModifyAccountCommandInput, ModifyAccountCommandOutput } from "./commands/ModifyAccountCommand";
|
|
45
45
|
import { ModifyClientPropertiesCommandInput, ModifyClientPropertiesCommandOutput } from "./commands/ModifyClientPropertiesCommand";
|
|
46
|
+
import { ModifySamlPropertiesCommandInput, ModifySamlPropertiesCommandOutput } from "./commands/ModifySamlPropertiesCommand";
|
|
46
47
|
import { ModifySelfservicePermissionsCommandInput, ModifySelfservicePermissionsCommandOutput } from "./commands/ModifySelfservicePermissionsCommand";
|
|
47
48
|
import { ModifyWorkspaceAccessPropertiesCommandInput, ModifyWorkspaceAccessPropertiesCommandOutput } from "./commands/ModifyWorkspaceAccessPropertiesCommand";
|
|
48
49
|
import { ModifyWorkspaceCreationPropertiesCommandInput, ModifyWorkspaceCreationPropertiesCommandOutput } from "./commands/ModifyWorkspaceCreationPropertiesCommand";
|
|
@@ -513,6 +514,14 @@ export declare class WorkSpaces extends WorkSpacesClient {
|
|
|
513
514
|
modifyClientProperties(args: ModifyClientPropertiesCommandInput, options?: __HttpHandlerOptions): Promise<ModifyClientPropertiesCommandOutput>;
|
|
514
515
|
modifyClientProperties(args: ModifyClientPropertiesCommandInput, cb: (err: any, data?: ModifyClientPropertiesCommandOutput) => void): void;
|
|
515
516
|
modifyClientProperties(args: ModifyClientPropertiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyClientPropertiesCommandOutput) => void): void;
|
|
517
|
+
/**
|
|
518
|
+
* <p>Modifies multiple properties related to SAML 2.0 authentication, including the enablement status,
|
|
519
|
+
* user access URL, and relay state parameter name that are used for configuring federation with an
|
|
520
|
+
* SAML 2.0 identity provider.</p>
|
|
521
|
+
*/
|
|
522
|
+
modifySamlProperties(args: ModifySamlPropertiesCommandInput, options?: __HttpHandlerOptions): Promise<ModifySamlPropertiesCommandOutput>;
|
|
523
|
+
modifySamlProperties(args: ModifySamlPropertiesCommandInput, cb: (err: any, data?: ModifySamlPropertiesCommandOutput) => void): void;
|
|
524
|
+
modifySamlProperties(args: ModifySamlPropertiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifySamlPropertiesCommandOutput) => void): void;
|
|
516
525
|
/**
|
|
517
526
|
* <p>Modifies the self-service WorkSpace management capabilities for your users. For more
|
|
518
527
|
* information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/enable-user-self-service-workspace-management.html">Enable Self-Service WorkSpace Management Capabilities for Your Users</a>.</p>
|
|
@@ -50,6 +50,7 @@ import { ListAvailableManagementCidrRangesCommandInput, ListAvailableManagementC
|
|
|
50
50
|
import { MigrateWorkspaceCommandInput, MigrateWorkspaceCommandOutput } from "./commands/MigrateWorkspaceCommand";
|
|
51
51
|
import { ModifyAccountCommandInput, ModifyAccountCommandOutput } from "./commands/ModifyAccountCommand";
|
|
52
52
|
import { ModifyClientPropertiesCommandInput, ModifyClientPropertiesCommandOutput } from "./commands/ModifyClientPropertiesCommand";
|
|
53
|
+
import { ModifySamlPropertiesCommandInput, ModifySamlPropertiesCommandOutput } from "./commands/ModifySamlPropertiesCommand";
|
|
53
54
|
import { ModifySelfservicePermissionsCommandInput, ModifySelfservicePermissionsCommandOutput } from "./commands/ModifySelfservicePermissionsCommand";
|
|
54
55
|
import { ModifyWorkspaceAccessPropertiesCommandInput, ModifyWorkspaceAccessPropertiesCommandOutput } from "./commands/ModifyWorkspaceAccessPropertiesCommand";
|
|
55
56
|
import { ModifyWorkspaceCreationPropertiesCommandInput, ModifyWorkspaceCreationPropertiesCommandOutput } from "./commands/ModifyWorkspaceCreationPropertiesCommand";
|
|
@@ -68,8 +69,8 @@ import { UpdateConnectionAliasPermissionCommandInput, UpdateConnectionAliasPermi
|
|
|
68
69
|
import { UpdateRulesOfIpGroupCommandInput, UpdateRulesOfIpGroupCommandOutput } from "./commands/UpdateRulesOfIpGroupCommand";
|
|
69
70
|
import { UpdateWorkspaceBundleCommandInput, UpdateWorkspaceBundleCommandOutput } from "./commands/UpdateWorkspaceBundleCommand";
|
|
70
71
|
import { UpdateWorkspaceImagePermissionCommandInput, UpdateWorkspaceImagePermissionCommandOutput } from "./commands/UpdateWorkspaceImagePermissionCommand";
|
|
71
|
-
export declare type ServiceInputTypes = AssociateConnectionAliasCommandInput | AssociateIpGroupsCommandInput | AuthorizeIpRulesCommandInput | CopyWorkspaceImageCommandInput | CreateConnectClientAddInCommandInput | CreateConnectionAliasCommandInput | CreateIpGroupCommandInput | CreateTagsCommandInput | CreateUpdatedWorkspaceImageCommandInput | CreateWorkspaceBundleCommandInput | CreateWorkspaceImageCommandInput | CreateWorkspacesCommandInput | DeleteClientBrandingCommandInput | DeleteConnectClientAddInCommandInput | DeleteConnectionAliasCommandInput | DeleteIpGroupCommandInput | DeleteTagsCommandInput | DeleteWorkspaceBundleCommandInput | DeleteWorkspaceImageCommandInput | DeregisterWorkspaceDirectoryCommandInput | DescribeAccountCommandInput | DescribeAccountModificationsCommandInput | DescribeClientBrandingCommandInput | DescribeClientPropertiesCommandInput | DescribeConnectClientAddInsCommandInput | DescribeConnectionAliasPermissionsCommandInput | DescribeConnectionAliasesCommandInput | DescribeIpGroupsCommandInput | DescribeTagsCommandInput | DescribeWorkspaceBundlesCommandInput | DescribeWorkspaceDirectoriesCommandInput | DescribeWorkspaceImagePermissionsCommandInput | DescribeWorkspaceImagesCommandInput | DescribeWorkspaceSnapshotsCommandInput | DescribeWorkspacesCommandInput | DescribeWorkspacesConnectionStatusCommandInput | DisassociateConnectionAliasCommandInput | DisassociateIpGroupsCommandInput | ImportClientBrandingCommandInput | ImportWorkspaceImageCommandInput | ListAvailableManagementCidrRangesCommandInput | MigrateWorkspaceCommandInput | ModifyAccountCommandInput | ModifyClientPropertiesCommandInput | ModifySelfservicePermissionsCommandInput | ModifyWorkspaceAccessPropertiesCommandInput | ModifyWorkspaceCreationPropertiesCommandInput | ModifyWorkspacePropertiesCommandInput | ModifyWorkspaceStateCommandInput | RebootWorkspacesCommandInput | RebuildWorkspacesCommandInput | RegisterWorkspaceDirectoryCommandInput | RestoreWorkspaceCommandInput | RevokeIpRulesCommandInput | StartWorkspacesCommandInput | StopWorkspacesCommandInput | TerminateWorkspacesCommandInput | UpdateConnectClientAddInCommandInput | UpdateConnectionAliasPermissionCommandInput | UpdateRulesOfIpGroupCommandInput | UpdateWorkspaceBundleCommandInput | UpdateWorkspaceImagePermissionCommandInput;
|
|
72
|
-
export declare type ServiceOutputTypes = AssociateConnectionAliasCommandOutput | AssociateIpGroupsCommandOutput | AuthorizeIpRulesCommandOutput | CopyWorkspaceImageCommandOutput | CreateConnectClientAddInCommandOutput | CreateConnectionAliasCommandOutput | CreateIpGroupCommandOutput | CreateTagsCommandOutput | CreateUpdatedWorkspaceImageCommandOutput | CreateWorkspaceBundleCommandOutput | CreateWorkspaceImageCommandOutput | CreateWorkspacesCommandOutput | DeleteClientBrandingCommandOutput | DeleteConnectClientAddInCommandOutput | DeleteConnectionAliasCommandOutput | DeleteIpGroupCommandOutput | DeleteTagsCommandOutput | DeleteWorkspaceBundleCommandOutput | DeleteWorkspaceImageCommandOutput | DeregisterWorkspaceDirectoryCommandOutput | DescribeAccountCommandOutput | DescribeAccountModificationsCommandOutput | DescribeClientBrandingCommandOutput | DescribeClientPropertiesCommandOutput | DescribeConnectClientAddInsCommandOutput | DescribeConnectionAliasPermissionsCommandOutput | DescribeConnectionAliasesCommandOutput | DescribeIpGroupsCommandOutput | DescribeTagsCommandOutput | DescribeWorkspaceBundlesCommandOutput | DescribeWorkspaceDirectoriesCommandOutput | DescribeWorkspaceImagePermissionsCommandOutput | DescribeWorkspaceImagesCommandOutput | DescribeWorkspaceSnapshotsCommandOutput | DescribeWorkspacesCommandOutput | DescribeWorkspacesConnectionStatusCommandOutput | DisassociateConnectionAliasCommandOutput | DisassociateIpGroupsCommandOutput | ImportClientBrandingCommandOutput | ImportWorkspaceImageCommandOutput | ListAvailableManagementCidrRangesCommandOutput | MigrateWorkspaceCommandOutput | ModifyAccountCommandOutput | ModifyClientPropertiesCommandOutput | ModifySelfservicePermissionsCommandOutput | ModifyWorkspaceAccessPropertiesCommandOutput | ModifyWorkspaceCreationPropertiesCommandOutput | ModifyWorkspacePropertiesCommandOutput | ModifyWorkspaceStateCommandOutput | RebootWorkspacesCommandOutput | RebuildWorkspacesCommandOutput | RegisterWorkspaceDirectoryCommandOutput | RestoreWorkspaceCommandOutput | RevokeIpRulesCommandOutput | StartWorkspacesCommandOutput | StopWorkspacesCommandOutput | TerminateWorkspacesCommandOutput | UpdateConnectClientAddInCommandOutput | UpdateConnectionAliasPermissionCommandOutput | UpdateRulesOfIpGroupCommandOutput | UpdateWorkspaceBundleCommandOutput | UpdateWorkspaceImagePermissionCommandOutput;
|
|
72
|
+
export declare type ServiceInputTypes = AssociateConnectionAliasCommandInput | AssociateIpGroupsCommandInput | AuthorizeIpRulesCommandInput | CopyWorkspaceImageCommandInput | CreateConnectClientAddInCommandInput | CreateConnectionAliasCommandInput | CreateIpGroupCommandInput | CreateTagsCommandInput | CreateUpdatedWorkspaceImageCommandInput | CreateWorkspaceBundleCommandInput | CreateWorkspaceImageCommandInput | CreateWorkspacesCommandInput | DeleteClientBrandingCommandInput | DeleteConnectClientAddInCommandInput | DeleteConnectionAliasCommandInput | DeleteIpGroupCommandInput | DeleteTagsCommandInput | DeleteWorkspaceBundleCommandInput | DeleteWorkspaceImageCommandInput | DeregisterWorkspaceDirectoryCommandInput | DescribeAccountCommandInput | DescribeAccountModificationsCommandInput | DescribeClientBrandingCommandInput | DescribeClientPropertiesCommandInput | DescribeConnectClientAddInsCommandInput | DescribeConnectionAliasPermissionsCommandInput | DescribeConnectionAliasesCommandInput | DescribeIpGroupsCommandInput | DescribeTagsCommandInput | DescribeWorkspaceBundlesCommandInput | DescribeWorkspaceDirectoriesCommandInput | DescribeWorkspaceImagePermissionsCommandInput | DescribeWorkspaceImagesCommandInput | DescribeWorkspaceSnapshotsCommandInput | DescribeWorkspacesCommandInput | DescribeWorkspacesConnectionStatusCommandInput | DisassociateConnectionAliasCommandInput | DisassociateIpGroupsCommandInput | ImportClientBrandingCommandInput | ImportWorkspaceImageCommandInput | ListAvailableManagementCidrRangesCommandInput | MigrateWorkspaceCommandInput | ModifyAccountCommandInput | ModifyClientPropertiesCommandInput | ModifySamlPropertiesCommandInput | ModifySelfservicePermissionsCommandInput | ModifyWorkspaceAccessPropertiesCommandInput | ModifyWorkspaceCreationPropertiesCommandInput | ModifyWorkspacePropertiesCommandInput | ModifyWorkspaceStateCommandInput | RebootWorkspacesCommandInput | RebuildWorkspacesCommandInput | RegisterWorkspaceDirectoryCommandInput | RestoreWorkspaceCommandInput | RevokeIpRulesCommandInput | StartWorkspacesCommandInput | StopWorkspacesCommandInput | TerminateWorkspacesCommandInput | UpdateConnectClientAddInCommandInput | UpdateConnectionAliasPermissionCommandInput | UpdateRulesOfIpGroupCommandInput | UpdateWorkspaceBundleCommandInput | UpdateWorkspaceImagePermissionCommandInput;
|
|
73
|
+
export declare type ServiceOutputTypes = AssociateConnectionAliasCommandOutput | AssociateIpGroupsCommandOutput | AuthorizeIpRulesCommandOutput | CopyWorkspaceImageCommandOutput | CreateConnectClientAddInCommandOutput | CreateConnectionAliasCommandOutput | CreateIpGroupCommandOutput | CreateTagsCommandOutput | CreateUpdatedWorkspaceImageCommandOutput | CreateWorkspaceBundleCommandOutput | CreateWorkspaceImageCommandOutput | CreateWorkspacesCommandOutput | DeleteClientBrandingCommandOutput | DeleteConnectClientAddInCommandOutput | DeleteConnectionAliasCommandOutput | DeleteIpGroupCommandOutput | DeleteTagsCommandOutput | DeleteWorkspaceBundleCommandOutput | DeleteWorkspaceImageCommandOutput | DeregisterWorkspaceDirectoryCommandOutput | DescribeAccountCommandOutput | DescribeAccountModificationsCommandOutput | DescribeClientBrandingCommandOutput | DescribeClientPropertiesCommandOutput | DescribeConnectClientAddInsCommandOutput | DescribeConnectionAliasPermissionsCommandOutput | DescribeConnectionAliasesCommandOutput | DescribeIpGroupsCommandOutput | DescribeTagsCommandOutput | DescribeWorkspaceBundlesCommandOutput | DescribeWorkspaceDirectoriesCommandOutput | DescribeWorkspaceImagePermissionsCommandOutput | DescribeWorkspaceImagesCommandOutput | DescribeWorkspaceSnapshotsCommandOutput | DescribeWorkspacesCommandOutput | DescribeWorkspacesConnectionStatusCommandOutput | DisassociateConnectionAliasCommandOutput | DisassociateIpGroupsCommandOutput | ImportClientBrandingCommandOutput | ImportWorkspaceImageCommandOutput | ListAvailableManagementCidrRangesCommandOutput | MigrateWorkspaceCommandOutput | ModifyAccountCommandOutput | ModifyClientPropertiesCommandOutput | ModifySamlPropertiesCommandOutput | ModifySelfservicePermissionsCommandOutput | ModifyWorkspaceAccessPropertiesCommandOutput | ModifyWorkspaceCreationPropertiesCommandOutput | ModifyWorkspacePropertiesCommandOutput | ModifyWorkspaceStateCommandOutput | RebootWorkspacesCommandOutput | RebuildWorkspacesCommandOutput | RegisterWorkspaceDirectoryCommandOutput | RestoreWorkspaceCommandOutput | RevokeIpRulesCommandOutput | StartWorkspacesCommandOutput | StopWorkspacesCommandOutput | TerminateWorkspacesCommandOutput | UpdateConnectClientAddInCommandOutput | UpdateConnectionAliasPermissionCommandOutput | UpdateRulesOfIpGroupCommandOutput | UpdateWorkspaceBundleCommandOutput | UpdateWorkspaceImagePermissionCommandOutput;
|
|
73
74
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
74
75
|
/**
|
|
75
76
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ModifySamlPropertiesRequest, ModifySamlPropertiesResult } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
5
|
+
export interface ModifySamlPropertiesCommandInput extends ModifySamlPropertiesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ModifySamlPropertiesCommandOutput extends ModifySamlPropertiesResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Modifies multiple properties related to SAML 2.0 authentication, including the enablement status,
|
|
11
|
+
* user access URL, and relay state parameter name that are used for configuring federation with an
|
|
12
|
+
* SAML 2.0 identity provider.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { WorkSpacesClient, ModifySamlPropertiesCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
17
|
+
* // const { WorkSpacesClient, ModifySamlPropertiesCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
18
|
+
* const client = new WorkSpacesClient(config);
|
|
19
|
+
* const command = new ModifySamlPropertiesCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link ModifySamlPropertiesCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link ModifySamlPropertiesCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class ModifySamlPropertiesCommand extends $Command<ModifySamlPropertiesCommandInput, ModifySamlPropertiesCommandOutput, WorkSpacesClientResolvedConfig> {
|
|
29
|
+
readonly input: ModifySamlPropertiesCommandInput;
|
|
30
|
+
constructor(input: ModifySamlPropertiesCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ModifySamlPropertiesCommandInput, ModifySamlPropertiesCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -42,6 +42,7 @@ export * from "./ListAvailableManagementCidrRangesCommand";
|
|
|
42
42
|
export * from "./MigrateWorkspaceCommand";
|
|
43
43
|
export * from "./ModifyAccountCommand";
|
|
44
44
|
export * from "./ModifyClientPropertiesCommand";
|
|
45
|
+
export * from "./ModifySamlPropertiesCommand";
|
|
45
46
|
export * from "./ModifySelfservicePermissionsCommand";
|
|
46
47
|
export * from "./ModifyWorkspaceAccessPropertiesCommand";
|
|
47
48
|
export * from "./ModifyWorkspaceCreationPropertiesCommand";
|
|
@@ -1120,6 +1120,10 @@ export interface DefaultWorkspaceCreationProperties {
|
|
|
1120
1120
|
*/
|
|
1121
1121
|
EnableMaintenanceMode?: boolean;
|
|
1122
1122
|
}
|
|
1123
|
+
export declare enum DeletableSamlProperty {
|
|
1124
|
+
SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME = "SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME",
|
|
1125
|
+
SAML_PROPERTIES_USER_ACCESS_URL = "SAML_PROPERTIES_USER_ACCESS_URL"
|
|
1126
|
+
}
|
|
1123
1127
|
export interface DeleteClientBrandingRequest {
|
|
1124
1128
|
/**
|
|
1125
1129
|
* <p>The directory identifier of the WorkSpace for which you want to delete client
|
|
@@ -1557,6 +1561,51 @@ export declare enum WorkspaceDirectoryType {
|
|
|
1557
1561
|
AD_CONNECTOR = "AD_CONNECTOR",
|
|
1558
1562
|
SIMPLE_AD = "SIMPLE_AD"
|
|
1559
1563
|
}
|
|
1564
|
+
export declare enum SamlStatusEnum {
|
|
1565
|
+
DISABLED = "DISABLED",
|
|
1566
|
+
ENABLED = "ENABLED",
|
|
1567
|
+
ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK = "ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK"
|
|
1568
|
+
}
|
|
1569
|
+
/**
|
|
1570
|
+
* <p>Describes the enablement status, user access URL, and relay state parameter name that
|
|
1571
|
+
* are used for configuring federation with an SAML 2.0 identity provider.</p>
|
|
1572
|
+
*/
|
|
1573
|
+
export interface SamlProperties {
|
|
1574
|
+
/**
|
|
1575
|
+
* <p>Indicates the status of SAML 2.0 authentication. These statuses include the following.</p>
|
|
1576
|
+
* <ul>
|
|
1577
|
+
* <li>
|
|
1578
|
+
* <p>If the setting is <code>DISABLED</code>, end users will be directed to login with their directory credentials.</p>
|
|
1579
|
+
* </li>
|
|
1580
|
+
* <li>
|
|
1581
|
+
* <p>If the setting is <code>ENABLED</code>, end users will be directed to login via the user access URL. Users attempting
|
|
1582
|
+
* to connect to WorkSpaces from a client application that does not support SAML 2.0 authentication will not be able to
|
|
1583
|
+
* connect.</p>
|
|
1584
|
+
* </li>
|
|
1585
|
+
* <li>
|
|
1586
|
+
* <p>If the setting is <code>ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK</code>, end users will be directed to login via the user
|
|
1587
|
+
* access URL on supported client applications, but will not prevent clients that do not support SAML 2.0 authentication
|
|
1588
|
+
* from connecting as if SAML 2.0 authentication was disabled.</p>
|
|
1589
|
+
* </li>
|
|
1590
|
+
* </ul>
|
|
1591
|
+
*/
|
|
1592
|
+
Status?: SamlStatusEnum | string;
|
|
1593
|
+
/**
|
|
1594
|
+
* <p>The SAML 2.0 identity provider (IdP) user access URL is the URL a user would navigate to in their web browser in
|
|
1595
|
+
* order to federate from the IdP and directly access the application, without any SAML 2.0 service provider (SP)
|
|
1596
|
+
* bindings.</p>
|
|
1597
|
+
*/
|
|
1598
|
+
UserAccessUrl?: string;
|
|
1599
|
+
/**
|
|
1600
|
+
* <p>The relay state parameter name supported by the SAML 2.0 identity provider (IdP). When the end user is redirected to
|
|
1601
|
+
* the user access URL from the WorkSpaces client application, this relay state parameter name is appended as a query
|
|
1602
|
+
* parameter to the URL along with the relay state endpoint to return the user to the client application session.</p>
|
|
1603
|
+
*
|
|
1604
|
+
* <p>To use SAML 2.0 authentication with WorkSpaces, the IdP must support IdP-initiated deep linking for the relay state
|
|
1605
|
+
* URL. Consult your IdP documentation for more information.</p>
|
|
1606
|
+
*/
|
|
1607
|
+
RelayStateParameterName?: string;
|
|
1608
|
+
}
|
|
1560
1609
|
/**
|
|
1561
1610
|
* <p>Describes the self-service permissions for a directory. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/enable-user-self-service-workspace-management.html">Enable Self-Service WorkSpace Management Capabilities for Your Users</a>.</p>
|
|
1562
1611
|
*/
|
|
@@ -1712,6 +1761,11 @@ export interface WorkspaceDirectory {
|
|
|
1712
1761
|
* <p>The default self-service permissions for WorkSpaces in the directory.</p>
|
|
1713
1762
|
*/
|
|
1714
1763
|
SelfservicePermissions?: SelfservicePermissions;
|
|
1764
|
+
/**
|
|
1765
|
+
* <p>Describes the enablement status, user access URL, and relay state parameter name that are used for configuring
|
|
1766
|
+
* federation with an SAML 2.0 identity provider.</p>
|
|
1767
|
+
*/
|
|
1768
|
+
SamlProperties?: SamlProperties;
|
|
1715
1769
|
}
|
|
1716
1770
|
export interface DescribeWorkspaceDirectoriesResult {
|
|
1717
1771
|
/**
|
|
@@ -2307,6 +2361,34 @@ export interface ModifyClientPropertiesRequest {
|
|
|
2307
2361
|
}
|
|
2308
2362
|
export interface ModifyClientPropertiesResult {
|
|
2309
2363
|
}
|
|
2364
|
+
export interface ModifySamlPropertiesRequest {
|
|
2365
|
+
/**
|
|
2366
|
+
* <p>The directory identifier for which you want to configure SAML properties.</p>
|
|
2367
|
+
*/
|
|
2368
|
+
ResourceId: string | undefined;
|
|
2369
|
+
/**
|
|
2370
|
+
* <p>The properties for configuring SAML 2.0 authentication.</p>
|
|
2371
|
+
*/
|
|
2372
|
+
SamlProperties?: SamlProperties;
|
|
2373
|
+
/**
|
|
2374
|
+
* <p>The SAML properties to delete as part of your request.</p>
|
|
2375
|
+
* <p>Specify one of the following options:</p>
|
|
2376
|
+
* <ul>
|
|
2377
|
+
* <li>
|
|
2378
|
+
* <p>
|
|
2379
|
+
* <code>SAML_PROPERTIES_USER_ACCESS_URL</code> to delete the user access URL.</p>
|
|
2380
|
+
* </li>
|
|
2381
|
+
* <li>
|
|
2382
|
+
* <p>
|
|
2383
|
+
* <code>SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME</code> to delete the
|
|
2384
|
+
* relay state parameter name.</p>
|
|
2385
|
+
* </li>
|
|
2386
|
+
* </ul>
|
|
2387
|
+
*/
|
|
2388
|
+
PropertiesToDelete?: (DeletableSamlProperty | string)[];
|
|
2389
|
+
}
|
|
2390
|
+
export interface ModifySamlPropertiesResult {
|
|
2391
|
+
}
|
|
2310
2392
|
export interface ModifySelfservicePermissionsRequest {
|
|
2311
2393
|
/**
|
|
2312
2394
|
* <p>The identifier of the directory.</p>
|
|
@@ -3057,6 +3139,10 @@ export declare const DescribeWorkspaceBundlesResultFilterSensitiveLog: (obj: Des
|
|
|
3057
3139
|
* @internal
|
|
3058
3140
|
*/
|
|
3059
3141
|
export declare const DescribeWorkspaceDirectoriesRequestFilterSensitiveLog: (obj: DescribeWorkspaceDirectoriesRequest) => any;
|
|
3142
|
+
/**
|
|
3143
|
+
* @internal
|
|
3144
|
+
*/
|
|
3145
|
+
export declare const SamlPropertiesFilterSensitiveLog: (obj: SamlProperties) => any;
|
|
3060
3146
|
/**
|
|
3061
3147
|
* @internal
|
|
3062
3148
|
*/
|
|
@@ -3205,6 +3291,14 @@ export declare const ModifyClientPropertiesRequestFilterSensitiveLog: (obj: Modi
|
|
|
3205
3291
|
* @internal
|
|
3206
3292
|
*/
|
|
3207
3293
|
export declare const ModifyClientPropertiesResultFilterSensitiveLog: (obj: ModifyClientPropertiesResult) => any;
|
|
3294
|
+
/**
|
|
3295
|
+
* @internal
|
|
3296
|
+
*/
|
|
3297
|
+
export declare const ModifySamlPropertiesRequestFilterSensitiveLog: (obj: ModifySamlPropertiesRequest) => any;
|
|
3298
|
+
/**
|
|
3299
|
+
* @internal
|
|
3300
|
+
*/
|
|
3301
|
+
export declare const ModifySamlPropertiesResultFilterSensitiveLog: (obj: ModifySamlPropertiesResult) => any;
|
|
3208
3302
|
/**
|
|
3209
3303
|
* @internal
|
|
3210
3304
|
*/
|
|
@@ -44,6 +44,7 @@ import { ListAvailableManagementCidrRangesCommandInput, ListAvailableManagementC
|
|
|
44
44
|
import { MigrateWorkspaceCommandInput, MigrateWorkspaceCommandOutput } from "../commands/MigrateWorkspaceCommand";
|
|
45
45
|
import { ModifyAccountCommandInput, ModifyAccountCommandOutput } from "../commands/ModifyAccountCommand";
|
|
46
46
|
import { ModifyClientPropertiesCommandInput, ModifyClientPropertiesCommandOutput } from "../commands/ModifyClientPropertiesCommand";
|
|
47
|
+
import { ModifySamlPropertiesCommandInput, ModifySamlPropertiesCommandOutput } from "../commands/ModifySamlPropertiesCommand";
|
|
47
48
|
import { ModifySelfservicePermissionsCommandInput, ModifySelfservicePermissionsCommandOutput } from "../commands/ModifySelfservicePermissionsCommand";
|
|
48
49
|
import { ModifyWorkspaceAccessPropertiesCommandInput, ModifyWorkspaceAccessPropertiesCommandOutput } from "../commands/ModifyWorkspaceAccessPropertiesCommand";
|
|
49
50
|
import { ModifyWorkspaceCreationPropertiesCommandInput, ModifyWorkspaceCreationPropertiesCommandOutput } from "../commands/ModifyWorkspaceCreationPropertiesCommand";
|
|
@@ -106,6 +107,7 @@ export declare const serializeAws_json1_1ListAvailableManagementCidrRangesComman
|
|
|
106
107
|
export declare const serializeAws_json1_1MigrateWorkspaceCommand: (input: MigrateWorkspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
107
108
|
export declare const serializeAws_json1_1ModifyAccountCommand: (input: ModifyAccountCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
108
109
|
export declare const serializeAws_json1_1ModifyClientPropertiesCommand: (input: ModifyClientPropertiesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
110
|
+
export declare const serializeAws_json1_1ModifySamlPropertiesCommand: (input: ModifySamlPropertiesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
109
111
|
export declare const serializeAws_json1_1ModifySelfservicePermissionsCommand: (input: ModifySelfservicePermissionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
110
112
|
export declare const serializeAws_json1_1ModifyWorkspaceAccessPropertiesCommand: (input: ModifyWorkspaceAccessPropertiesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
111
113
|
export declare const serializeAws_json1_1ModifyWorkspaceCreationPropertiesCommand: (input: ModifyWorkspaceCreationPropertiesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -168,6 +170,7 @@ export declare const deserializeAws_json1_1ListAvailableManagementCidrRangesComm
|
|
|
168
170
|
export declare const deserializeAws_json1_1MigrateWorkspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<MigrateWorkspaceCommandOutput>;
|
|
169
171
|
export declare const deserializeAws_json1_1ModifyAccountCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifyAccountCommandOutput>;
|
|
170
172
|
export declare const deserializeAws_json1_1ModifyClientPropertiesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifyClientPropertiesCommandOutput>;
|
|
173
|
+
export declare const deserializeAws_json1_1ModifySamlPropertiesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifySamlPropertiesCommandOutput>;
|
|
171
174
|
export declare const deserializeAws_json1_1ModifySelfservicePermissionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifySelfservicePermissionsCommandOutput>;
|
|
172
175
|
export declare const deserializeAws_json1_1ModifyWorkspaceAccessPropertiesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifyWorkspaceAccessPropertiesCommandOutput>;
|
|
173
176
|
export declare const deserializeAws_json1_1ModifyWorkspaceCreationPropertiesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifyWorkspaceCreationPropertiesCommandOutput>;
|
|
@@ -43,6 +43,7 @@ import { ListAvailableManagementCidrRangesCommandInput, ListAvailableManagementC
|
|
|
43
43
|
import { MigrateWorkspaceCommandInput, MigrateWorkspaceCommandOutput } from "./commands/MigrateWorkspaceCommand";
|
|
44
44
|
import { ModifyAccountCommandInput, ModifyAccountCommandOutput } from "./commands/ModifyAccountCommand";
|
|
45
45
|
import { ModifyClientPropertiesCommandInput, ModifyClientPropertiesCommandOutput } from "./commands/ModifyClientPropertiesCommand";
|
|
46
|
+
import { ModifySamlPropertiesCommandInput, ModifySamlPropertiesCommandOutput } from "./commands/ModifySamlPropertiesCommand";
|
|
46
47
|
import { ModifySelfservicePermissionsCommandInput, ModifySelfservicePermissionsCommandOutput } from "./commands/ModifySelfservicePermissionsCommand";
|
|
47
48
|
import { ModifyWorkspaceAccessPropertiesCommandInput, ModifyWorkspaceAccessPropertiesCommandOutput } from "./commands/ModifyWorkspaceAccessPropertiesCommand";
|
|
48
49
|
import { ModifyWorkspaceCreationPropertiesCommandInput, ModifyWorkspaceCreationPropertiesCommandOutput } from "./commands/ModifyWorkspaceCreationPropertiesCommand";
|
|
@@ -241,6 +242,10 @@ export declare class WorkSpaces extends WorkSpacesClient {
|
|
|
241
242
|
modifyClientProperties(args: ModifyClientPropertiesCommandInput, cb: (err: any, data?: ModifyClientPropertiesCommandOutput) => void): void;
|
|
242
243
|
modifyClientProperties(args: ModifyClientPropertiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyClientPropertiesCommandOutput) => void): void;
|
|
243
244
|
|
|
245
|
+
modifySamlProperties(args: ModifySamlPropertiesCommandInput, options?: __HttpHandlerOptions): Promise<ModifySamlPropertiesCommandOutput>;
|
|
246
|
+
modifySamlProperties(args: ModifySamlPropertiesCommandInput, cb: (err: any, data?: ModifySamlPropertiesCommandOutput) => void): void;
|
|
247
|
+
modifySamlProperties(args: ModifySamlPropertiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifySamlPropertiesCommandOutput) => void): void;
|
|
248
|
+
|
|
244
249
|
modifySelfservicePermissions(args: ModifySelfservicePermissionsCommandInput, options?: __HttpHandlerOptions): Promise<ModifySelfservicePermissionsCommandOutput>;
|
|
245
250
|
modifySelfservicePermissions(args: ModifySelfservicePermissionsCommandInput, cb: (err: any, data?: ModifySelfservicePermissionsCommandOutput) => void): void;
|
|
246
251
|
modifySelfservicePermissions(args: ModifySelfservicePermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifySelfservicePermissionsCommandOutput) => void): void;
|
|
@@ -50,6 +50,7 @@ import { ListAvailableManagementCidrRangesCommandInput, ListAvailableManagementC
|
|
|
50
50
|
import { MigrateWorkspaceCommandInput, MigrateWorkspaceCommandOutput } from "./commands/MigrateWorkspaceCommand";
|
|
51
51
|
import { ModifyAccountCommandInput, ModifyAccountCommandOutput } from "./commands/ModifyAccountCommand";
|
|
52
52
|
import { ModifyClientPropertiesCommandInput, ModifyClientPropertiesCommandOutput } from "./commands/ModifyClientPropertiesCommand";
|
|
53
|
+
import { ModifySamlPropertiesCommandInput, ModifySamlPropertiesCommandOutput } from "./commands/ModifySamlPropertiesCommand";
|
|
53
54
|
import { ModifySelfservicePermissionsCommandInput, ModifySelfservicePermissionsCommandOutput } from "./commands/ModifySelfservicePermissionsCommand";
|
|
54
55
|
import { ModifyWorkspaceAccessPropertiesCommandInput, ModifyWorkspaceAccessPropertiesCommandOutput } from "./commands/ModifyWorkspaceAccessPropertiesCommand";
|
|
55
56
|
import { ModifyWorkspaceCreationPropertiesCommandInput, ModifyWorkspaceCreationPropertiesCommandOutput } from "./commands/ModifyWorkspaceCreationPropertiesCommand";
|
|
@@ -68,8 +69,8 @@ import { UpdateConnectionAliasPermissionCommandInput, UpdateConnectionAliasPermi
|
|
|
68
69
|
import { UpdateRulesOfIpGroupCommandInput, UpdateRulesOfIpGroupCommandOutput } from "./commands/UpdateRulesOfIpGroupCommand";
|
|
69
70
|
import { UpdateWorkspaceBundleCommandInput, UpdateWorkspaceBundleCommandOutput } from "./commands/UpdateWorkspaceBundleCommand";
|
|
70
71
|
import { UpdateWorkspaceImagePermissionCommandInput, UpdateWorkspaceImagePermissionCommandOutput } from "./commands/UpdateWorkspaceImagePermissionCommand";
|
|
71
|
-
export declare type ServiceInputTypes = AssociateConnectionAliasCommandInput | AssociateIpGroupsCommandInput | AuthorizeIpRulesCommandInput | CopyWorkspaceImageCommandInput | CreateConnectClientAddInCommandInput | CreateConnectionAliasCommandInput | CreateIpGroupCommandInput | CreateTagsCommandInput | CreateUpdatedWorkspaceImageCommandInput | CreateWorkspaceBundleCommandInput | CreateWorkspaceImageCommandInput | CreateWorkspacesCommandInput | DeleteClientBrandingCommandInput | DeleteConnectClientAddInCommandInput | DeleteConnectionAliasCommandInput | DeleteIpGroupCommandInput | DeleteTagsCommandInput | DeleteWorkspaceBundleCommandInput | DeleteWorkspaceImageCommandInput | DeregisterWorkspaceDirectoryCommandInput | DescribeAccountCommandInput | DescribeAccountModificationsCommandInput | DescribeClientBrandingCommandInput | DescribeClientPropertiesCommandInput | DescribeConnectClientAddInsCommandInput | DescribeConnectionAliasPermissionsCommandInput | DescribeConnectionAliasesCommandInput | DescribeIpGroupsCommandInput | DescribeTagsCommandInput | DescribeWorkspaceBundlesCommandInput | DescribeWorkspaceDirectoriesCommandInput | DescribeWorkspaceImagePermissionsCommandInput | DescribeWorkspaceImagesCommandInput | DescribeWorkspaceSnapshotsCommandInput | DescribeWorkspacesCommandInput | DescribeWorkspacesConnectionStatusCommandInput | DisassociateConnectionAliasCommandInput | DisassociateIpGroupsCommandInput | ImportClientBrandingCommandInput | ImportWorkspaceImageCommandInput | ListAvailableManagementCidrRangesCommandInput | MigrateWorkspaceCommandInput | ModifyAccountCommandInput | ModifyClientPropertiesCommandInput | ModifySelfservicePermissionsCommandInput | ModifyWorkspaceAccessPropertiesCommandInput | ModifyWorkspaceCreationPropertiesCommandInput | ModifyWorkspacePropertiesCommandInput | ModifyWorkspaceStateCommandInput | RebootWorkspacesCommandInput | RebuildWorkspacesCommandInput | RegisterWorkspaceDirectoryCommandInput | RestoreWorkspaceCommandInput | RevokeIpRulesCommandInput | StartWorkspacesCommandInput | StopWorkspacesCommandInput | TerminateWorkspacesCommandInput | UpdateConnectClientAddInCommandInput | UpdateConnectionAliasPermissionCommandInput | UpdateRulesOfIpGroupCommandInput | UpdateWorkspaceBundleCommandInput | UpdateWorkspaceImagePermissionCommandInput;
|
|
72
|
-
export declare type ServiceOutputTypes = AssociateConnectionAliasCommandOutput | AssociateIpGroupsCommandOutput | AuthorizeIpRulesCommandOutput | CopyWorkspaceImageCommandOutput | CreateConnectClientAddInCommandOutput | CreateConnectionAliasCommandOutput | CreateIpGroupCommandOutput | CreateTagsCommandOutput | CreateUpdatedWorkspaceImageCommandOutput | CreateWorkspaceBundleCommandOutput | CreateWorkspaceImageCommandOutput | CreateWorkspacesCommandOutput | DeleteClientBrandingCommandOutput | DeleteConnectClientAddInCommandOutput | DeleteConnectionAliasCommandOutput | DeleteIpGroupCommandOutput | DeleteTagsCommandOutput | DeleteWorkspaceBundleCommandOutput | DeleteWorkspaceImageCommandOutput | DeregisterWorkspaceDirectoryCommandOutput | DescribeAccountCommandOutput | DescribeAccountModificationsCommandOutput | DescribeClientBrandingCommandOutput | DescribeClientPropertiesCommandOutput | DescribeConnectClientAddInsCommandOutput | DescribeConnectionAliasPermissionsCommandOutput | DescribeConnectionAliasesCommandOutput | DescribeIpGroupsCommandOutput | DescribeTagsCommandOutput | DescribeWorkspaceBundlesCommandOutput | DescribeWorkspaceDirectoriesCommandOutput | DescribeWorkspaceImagePermissionsCommandOutput | DescribeWorkspaceImagesCommandOutput | DescribeWorkspaceSnapshotsCommandOutput | DescribeWorkspacesCommandOutput | DescribeWorkspacesConnectionStatusCommandOutput | DisassociateConnectionAliasCommandOutput | DisassociateIpGroupsCommandOutput | ImportClientBrandingCommandOutput | ImportWorkspaceImageCommandOutput | ListAvailableManagementCidrRangesCommandOutput | MigrateWorkspaceCommandOutput | ModifyAccountCommandOutput | ModifyClientPropertiesCommandOutput | ModifySelfservicePermissionsCommandOutput | ModifyWorkspaceAccessPropertiesCommandOutput | ModifyWorkspaceCreationPropertiesCommandOutput | ModifyWorkspacePropertiesCommandOutput | ModifyWorkspaceStateCommandOutput | RebootWorkspacesCommandOutput | RebuildWorkspacesCommandOutput | RegisterWorkspaceDirectoryCommandOutput | RestoreWorkspaceCommandOutput | RevokeIpRulesCommandOutput | StartWorkspacesCommandOutput | StopWorkspacesCommandOutput | TerminateWorkspacesCommandOutput | UpdateConnectClientAddInCommandOutput | UpdateConnectionAliasPermissionCommandOutput | UpdateRulesOfIpGroupCommandOutput | UpdateWorkspaceBundleCommandOutput | UpdateWorkspaceImagePermissionCommandOutput;
|
|
72
|
+
export declare type ServiceInputTypes = AssociateConnectionAliasCommandInput | AssociateIpGroupsCommandInput | AuthorizeIpRulesCommandInput | CopyWorkspaceImageCommandInput | CreateConnectClientAddInCommandInput | CreateConnectionAliasCommandInput | CreateIpGroupCommandInput | CreateTagsCommandInput | CreateUpdatedWorkspaceImageCommandInput | CreateWorkspaceBundleCommandInput | CreateWorkspaceImageCommandInput | CreateWorkspacesCommandInput | DeleteClientBrandingCommandInput | DeleteConnectClientAddInCommandInput | DeleteConnectionAliasCommandInput | DeleteIpGroupCommandInput | DeleteTagsCommandInput | DeleteWorkspaceBundleCommandInput | DeleteWorkspaceImageCommandInput | DeregisterWorkspaceDirectoryCommandInput | DescribeAccountCommandInput | DescribeAccountModificationsCommandInput | DescribeClientBrandingCommandInput | DescribeClientPropertiesCommandInput | DescribeConnectClientAddInsCommandInput | DescribeConnectionAliasPermissionsCommandInput | DescribeConnectionAliasesCommandInput | DescribeIpGroupsCommandInput | DescribeTagsCommandInput | DescribeWorkspaceBundlesCommandInput | DescribeWorkspaceDirectoriesCommandInput | DescribeWorkspaceImagePermissionsCommandInput | DescribeWorkspaceImagesCommandInput | DescribeWorkspaceSnapshotsCommandInput | DescribeWorkspacesCommandInput | DescribeWorkspacesConnectionStatusCommandInput | DisassociateConnectionAliasCommandInput | DisassociateIpGroupsCommandInput | ImportClientBrandingCommandInput | ImportWorkspaceImageCommandInput | ListAvailableManagementCidrRangesCommandInput | MigrateWorkspaceCommandInput | ModifyAccountCommandInput | ModifyClientPropertiesCommandInput | ModifySamlPropertiesCommandInput | ModifySelfservicePermissionsCommandInput | ModifyWorkspaceAccessPropertiesCommandInput | ModifyWorkspaceCreationPropertiesCommandInput | ModifyWorkspacePropertiesCommandInput | ModifyWorkspaceStateCommandInput | RebootWorkspacesCommandInput | RebuildWorkspacesCommandInput | RegisterWorkspaceDirectoryCommandInput | RestoreWorkspaceCommandInput | RevokeIpRulesCommandInput | StartWorkspacesCommandInput | StopWorkspacesCommandInput | TerminateWorkspacesCommandInput | UpdateConnectClientAddInCommandInput | UpdateConnectionAliasPermissionCommandInput | UpdateRulesOfIpGroupCommandInput | UpdateWorkspaceBundleCommandInput | UpdateWorkspaceImagePermissionCommandInput;
|
|
73
|
+
export declare type ServiceOutputTypes = AssociateConnectionAliasCommandOutput | AssociateIpGroupsCommandOutput | AuthorizeIpRulesCommandOutput | CopyWorkspaceImageCommandOutput | CreateConnectClientAddInCommandOutput | CreateConnectionAliasCommandOutput | CreateIpGroupCommandOutput | CreateTagsCommandOutput | CreateUpdatedWorkspaceImageCommandOutput | CreateWorkspaceBundleCommandOutput | CreateWorkspaceImageCommandOutput | CreateWorkspacesCommandOutput | DeleteClientBrandingCommandOutput | DeleteConnectClientAddInCommandOutput | DeleteConnectionAliasCommandOutput | DeleteIpGroupCommandOutput | DeleteTagsCommandOutput | DeleteWorkspaceBundleCommandOutput | DeleteWorkspaceImageCommandOutput | DeregisterWorkspaceDirectoryCommandOutput | DescribeAccountCommandOutput | DescribeAccountModificationsCommandOutput | DescribeClientBrandingCommandOutput | DescribeClientPropertiesCommandOutput | DescribeConnectClientAddInsCommandOutput | DescribeConnectionAliasPermissionsCommandOutput | DescribeConnectionAliasesCommandOutput | DescribeIpGroupsCommandOutput | DescribeTagsCommandOutput | DescribeWorkspaceBundlesCommandOutput | DescribeWorkspaceDirectoriesCommandOutput | DescribeWorkspaceImagePermissionsCommandOutput | DescribeWorkspaceImagesCommandOutput | DescribeWorkspaceSnapshotsCommandOutput | DescribeWorkspacesCommandOutput | DescribeWorkspacesConnectionStatusCommandOutput | DisassociateConnectionAliasCommandOutput | DisassociateIpGroupsCommandOutput | ImportClientBrandingCommandOutput | ImportWorkspaceImageCommandOutput | ListAvailableManagementCidrRangesCommandOutput | MigrateWorkspaceCommandOutput | ModifyAccountCommandOutput | ModifyClientPropertiesCommandOutput | ModifySamlPropertiesCommandOutput | ModifySelfservicePermissionsCommandOutput | ModifyWorkspaceAccessPropertiesCommandOutput | ModifyWorkspaceCreationPropertiesCommandOutput | ModifyWorkspacePropertiesCommandOutput | ModifyWorkspaceStateCommandOutput | RebootWorkspacesCommandOutput | RebuildWorkspacesCommandOutput | RegisterWorkspaceDirectoryCommandOutput | RestoreWorkspaceCommandOutput | RevokeIpRulesCommandOutput | StartWorkspacesCommandOutput | StopWorkspacesCommandOutput | TerminateWorkspacesCommandOutput | UpdateConnectClientAddInCommandOutput | UpdateConnectionAliasPermissionCommandOutput | UpdateRulesOfIpGroupCommandOutput | UpdateWorkspaceBundleCommandOutput | UpdateWorkspaceImagePermissionCommandOutput;
|
|
73
74
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
74
75
|
|
|
75
76
|
requestHandler?: __HttpHandler;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ModifySamlPropertiesRequest, ModifySamlPropertiesResult } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
5
|
+
export interface ModifySamlPropertiesCommandInput extends ModifySamlPropertiesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ModifySamlPropertiesCommandOutput extends ModifySamlPropertiesResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class ModifySamlPropertiesCommand extends $Command<ModifySamlPropertiesCommandInput, ModifySamlPropertiesCommandOutput, WorkSpacesClientResolvedConfig> {
|
|
11
|
+
readonly input: ModifySamlPropertiesCommandInput;
|
|
12
|
+
constructor(input: ModifySamlPropertiesCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ModifySamlPropertiesCommandInput, ModifySamlPropertiesCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -42,6 +42,7 @@ export * from "./ListAvailableManagementCidrRangesCommand";
|
|
|
42
42
|
export * from "./MigrateWorkspaceCommand";
|
|
43
43
|
export * from "./ModifyAccountCommand";
|
|
44
44
|
export * from "./ModifyClientPropertiesCommand";
|
|
45
|
+
export * from "./ModifySamlPropertiesCommand";
|
|
45
46
|
export * from "./ModifySelfservicePermissionsCommand";
|
|
46
47
|
export * from "./ModifyWorkspaceAccessPropertiesCommand";
|
|
47
48
|
export * from "./ModifyWorkspaceCreationPropertiesCommand";
|
|
@@ -587,6 +587,10 @@ export interface DefaultWorkspaceCreationProperties {
|
|
|
587
587
|
|
|
588
588
|
EnableMaintenanceMode?: boolean;
|
|
589
589
|
}
|
|
590
|
+
export declare enum DeletableSamlProperty {
|
|
591
|
+
SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME = "SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME",
|
|
592
|
+
SAML_PROPERTIES_USER_ACCESS_URL = "SAML_PROPERTIES_USER_ACCESS_URL"
|
|
593
|
+
}
|
|
590
594
|
export interface DeleteClientBrandingRequest {
|
|
591
595
|
|
|
592
596
|
ResourceId: string | undefined;
|
|
@@ -807,6 +811,20 @@ export declare enum WorkspaceDirectoryType {
|
|
|
807
811
|
AD_CONNECTOR = "AD_CONNECTOR",
|
|
808
812
|
SIMPLE_AD = "SIMPLE_AD"
|
|
809
813
|
}
|
|
814
|
+
export declare enum SamlStatusEnum {
|
|
815
|
+
DISABLED = "DISABLED",
|
|
816
|
+
ENABLED = "ENABLED",
|
|
817
|
+
ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK = "ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK"
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
export interface SamlProperties {
|
|
821
|
+
|
|
822
|
+
Status?: SamlStatusEnum | string;
|
|
823
|
+
|
|
824
|
+
UserAccessUrl?: string;
|
|
825
|
+
|
|
826
|
+
RelayStateParameterName?: string;
|
|
827
|
+
}
|
|
810
828
|
|
|
811
829
|
export interface SelfservicePermissions {
|
|
812
830
|
|
|
@@ -884,6 +902,8 @@ export interface WorkspaceDirectory {
|
|
|
884
902
|
Tenancy?: Tenancy | string;
|
|
885
903
|
|
|
886
904
|
SelfservicePermissions?: SelfservicePermissions;
|
|
905
|
+
|
|
906
|
+
SamlProperties?: SamlProperties;
|
|
887
907
|
}
|
|
888
908
|
export interface DescribeWorkspaceDirectoriesResult {
|
|
889
909
|
|
|
@@ -1166,6 +1186,16 @@ export interface ModifyClientPropertiesRequest {
|
|
|
1166
1186
|
}
|
|
1167
1187
|
export interface ModifyClientPropertiesResult {
|
|
1168
1188
|
}
|
|
1189
|
+
export interface ModifySamlPropertiesRequest {
|
|
1190
|
+
|
|
1191
|
+
ResourceId: string | undefined;
|
|
1192
|
+
|
|
1193
|
+
SamlProperties?: SamlProperties;
|
|
1194
|
+
|
|
1195
|
+
PropertiesToDelete?: (DeletableSamlProperty | string)[];
|
|
1196
|
+
}
|
|
1197
|
+
export interface ModifySamlPropertiesResult {
|
|
1198
|
+
}
|
|
1169
1199
|
export interface ModifySelfservicePermissionsRequest {
|
|
1170
1200
|
|
|
1171
1201
|
ResourceId: string | undefined;
|
|
@@ -1558,6 +1588,8 @@ export declare const DescribeWorkspaceBundlesResultFilterSensitiveLog: (obj: Des
|
|
|
1558
1588
|
|
|
1559
1589
|
export declare const DescribeWorkspaceDirectoriesRequestFilterSensitiveLog: (obj: DescribeWorkspaceDirectoriesRequest) => any;
|
|
1560
1590
|
|
|
1591
|
+
export declare const SamlPropertiesFilterSensitiveLog: (obj: SamlProperties) => any;
|
|
1592
|
+
|
|
1561
1593
|
export declare const SelfservicePermissionsFilterSensitiveLog: (obj: SelfservicePermissions) => any;
|
|
1562
1594
|
|
|
1563
1595
|
export declare const WorkspaceAccessPropertiesFilterSensitiveLog: (obj: WorkspaceAccessProperties) => any;
|
|
@@ -1632,6 +1664,10 @@ export declare const ModifyClientPropertiesRequestFilterSensitiveLog: (obj: Modi
|
|
|
1632
1664
|
|
|
1633
1665
|
export declare const ModifyClientPropertiesResultFilterSensitiveLog: (obj: ModifyClientPropertiesResult) => any;
|
|
1634
1666
|
|
|
1667
|
+
export declare const ModifySamlPropertiesRequestFilterSensitiveLog: (obj: ModifySamlPropertiesRequest) => any;
|
|
1668
|
+
|
|
1669
|
+
export declare const ModifySamlPropertiesResultFilterSensitiveLog: (obj: ModifySamlPropertiesResult) => any;
|
|
1670
|
+
|
|
1635
1671
|
export declare const ModifySelfservicePermissionsRequestFilterSensitiveLog: (obj: ModifySelfservicePermissionsRequest) => any;
|
|
1636
1672
|
|
|
1637
1673
|
export declare const ModifySelfservicePermissionsResultFilterSensitiveLog: (obj: ModifySelfservicePermissionsResult) => any;
|
|
@@ -44,6 +44,7 @@ import { ListAvailableManagementCidrRangesCommandInput, ListAvailableManagementC
|
|
|
44
44
|
import { MigrateWorkspaceCommandInput, MigrateWorkspaceCommandOutput } from "../commands/MigrateWorkspaceCommand";
|
|
45
45
|
import { ModifyAccountCommandInput, ModifyAccountCommandOutput } from "../commands/ModifyAccountCommand";
|
|
46
46
|
import { ModifyClientPropertiesCommandInput, ModifyClientPropertiesCommandOutput } from "../commands/ModifyClientPropertiesCommand";
|
|
47
|
+
import { ModifySamlPropertiesCommandInput, ModifySamlPropertiesCommandOutput } from "../commands/ModifySamlPropertiesCommand";
|
|
47
48
|
import { ModifySelfservicePermissionsCommandInput, ModifySelfservicePermissionsCommandOutput } from "../commands/ModifySelfservicePermissionsCommand";
|
|
48
49
|
import { ModifyWorkspaceAccessPropertiesCommandInput, ModifyWorkspaceAccessPropertiesCommandOutput } from "../commands/ModifyWorkspaceAccessPropertiesCommand";
|
|
49
50
|
import { ModifyWorkspaceCreationPropertiesCommandInput, ModifyWorkspaceCreationPropertiesCommandOutput } from "../commands/ModifyWorkspaceCreationPropertiesCommand";
|
|
@@ -106,6 +107,7 @@ export declare const serializeAws_json1_1ListAvailableManagementCidrRangesComman
|
|
|
106
107
|
export declare const serializeAws_json1_1MigrateWorkspaceCommand: (input: MigrateWorkspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
107
108
|
export declare const serializeAws_json1_1ModifyAccountCommand: (input: ModifyAccountCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
108
109
|
export declare const serializeAws_json1_1ModifyClientPropertiesCommand: (input: ModifyClientPropertiesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
110
|
+
export declare const serializeAws_json1_1ModifySamlPropertiesCommand: (input: ModifySamlPropertiesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
109
111
|
export declare const serializeAws_json1_1ModifySelfservicePermissionsCommand: (input: ModifySelfservicePermissionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
110
112
|
export declare const serializeAws_json1_1ModifyWorkspaceAccessPropertiesCommand: (input: ModifyWorkspaceAccessPropertiesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
111
113
|
export declare const serializeAws_json1_1ModifyWorkspaceCreationPropertiesCommand: (input: ModifyWorkspaceCreationPropertiesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -168,6 +170,7 @@ export declare const deserializeAws_json1_1ListAvailableManagementCidrRangesComm
|
|
|
168
170
|
export declare const deserializeAws_json1_1MigrateWorkspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<MigrateWorkspaceCommandOutput>;
|
|
169
171
|
export declare const deserializeAws_json1_1ModifyAccountCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifyAccountCommandOutput>;
|
|
170
172
|
export declare const deserializeAws_json1_1ModifyClientPropertiesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifyClientPropertiesCommandOutput>;
|
|
173
|
+
export declare const deserializeAws_json1_1ModifySamlPropertiesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifySamlPropertiesCommandOutput>;
|
|
171
174
|
export declare const deserializeAws_json1_1ModifySelfservicePermissionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifySelfservicePermissionsCommandOutput>;
|
|
172
175
|
export declare const deserializeAws_json1_1ModifyWorkspaceAccessPropertiesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifyWorkspaceAccessPropertiesCommandOutput>;
|
|
173
176
|
export declare const deserializeAws_json1_1ModifyWorkspaceCreationPropertiesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifyWorkspaceCreationPropertiesCommandOutput>;
|
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.
|
|
4
|
+
"version": "3.145.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.145.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.145.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.131.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.127.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
37
|
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
38
|
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
+
"@aws-sdk/smithy-client": "3.142.0",
|
|
40
40
|
"@aws-sdk/types": "3.127.0",
|
|
41
41
|
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.142.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.142.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
49
|
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
@@ -61,6 +61,11 @@
|
|
|
61
61
|
"typedoc": "0.19.2",
|
|
62
62
|
"typescript": "~4.6.2"
|
|
63
63
|
},
|
|
64
|
+
"overrides": {
|
|
65
|
+
"typedoc": {
|
|
66
|
+
"typescript": "~4.6.2"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
64
69
|
"engines": {
|
|
65
70
|
"node": ">=12.0.0"
|
|
66
71
|
},
|