UNPKG

cdk-stepfunctions-patterns

Version:
1,295 lines 28.4 kB
{ "version": "2.0", "metadata": { "apiVersion": "2015-04-08", "endpointPrefix": "workspaces", "jsonVersion": "1.1", "protocol": "json", "serviceFullName": "Amazon WorkSpaces", "serviceId": "WorkSpaces", "signatureVersion": "v4", "targetPrefix": "WorkspacesService", "uid": "workspaces-2015-04-08" }, "operations": { "AssociateIpGroups": { "input": { "type": "structure", "required": [ "DirectoryId", "GroupIds" ], "members": { "DirectoryId": {}, "GroupIds": { "shape": "S3" } } }, "output": { "type": "structure", "members": {} } }, "AuthorizeIpRules": { "input": { "type": "structure", "required": [ "GroupId", "UserRules" ], "members": { "GroupId": {}, "UserRules": { "shape": "S7" } } }, "output": { "type": "structure", "members": {} } }, "CopyWorkspaceImage": { "input": { "type": "structure", "required": [ "Name", "SourceImageId", "SourceRegion" ], "members": { "Name": {}, "Description": {}, "SourceImageId": {}, "SourceRegion": {}, "Tags": { "shape": "Sh" } } }, "output": { "type": "structure", "members": { "ImageId": {} } } }, "CreateIpGroup": { "input": { "type": "structure", "required": [ "GroupName" ], "members": { "GroupName": {}, "GroupDesc": {}, "UserRules": { "shape": "S7" }, "Tags": { "shape": "Sh" } } }, "output": { "type": "structure", "members": { "GroupId": {} } } }, "CreateTags": { "input": { "type": "structure", "required": [ "ResourceId", "Tags" ], "members": { "ResourceId": {}, "Tags": { "shape": "Sh" } } }, "output": { "type": "structure", "members": {} } }, "CreateWorkspaces": { "input": { "type": "structure", "required": [ "Workspaces" ], "members": { "Workspaces": { "type": "list", "member": { "shape": "Sv" } } } }, "output": { "type": "structure", "members": { "FailedRequests": { "type": "list", "member": { "type": "structure", "members": { "WorkspaceRequest": { "shape": "Sv" }, "ErrorCode": {}, "ErrorMessage": {} } } }, "PendingRequests": { "shape": "S1b" } } } }, "DeleteIpGroup": { "input": { "type": "structure", "required": [ "GroupId" ], "members": { "GroupId": {} } }, "output": { "type": "structure", "members": {} } }, "DeleteTags": { "input": { "type": "structure", "required": [ "ResourceId", "TagKeys" ], "members": { "ResourceId": {}, "TagKeys": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": {} } }, "DeleteWorkspaceImage": { "input": { "type": "structure", "required": [ "ImageId" ], "members": { "ImageId": {} } }, "output": { "type": "structure", "members": {} } }, "DeregisterWorkspaceDirectory": { "input": { "type": "structure", "required": [ "DirectoryId" ], "members": { "DirectoryId": {} } }, "output": { "type": "structure", "members": {} } }, "DescribeAccount": { "input": { "type": "structure", "members": {} }, "output": { "type": "structure", "members": { "DedicatedTenancySupport": {}, "DedicatedTenancyManagementCidrRange": {} } } }, "DescribeAccountModifications": { "input": { "type": "structure", "members": { "NextToken": {} } }, "output": { "type": "structure", "members": { "AccountModifications": { "type": "list", "member": { "type": "structure", "members": { "ModificationState": {}, "DedicatedTenancySupport": {}, "DedicatedTenancyManagementCidrRange": {}, "StartTime": { "type": "timestamp" }, "ErrorCode": {}, "ErrorMessage": {} } } }, "NextToken": {} } } }, "DescribeClientProperties": { "input": { "type": "structure", "required": [ "ResourceIds" ], "members": { "ResourceIds": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": { "ClientPropertiesList": { "type": "list", "member": { "type": "structure", "members": { "ResourceId": {}, "ClientProperties": { "shape": "S2c" } } } } } } }, "DescribeIpGroups": { "input": { "type": "structure", "members": { "GroupIds": { "shape": "S3" }, "NextToken": {}, "MaxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "Result": { "type": "list", "member": { "type": "structure", "members": { "groupId": {}, "groupName": {}, "groupDesc": {}, "userRules": { "shape": "S7" } } } }, "NextToken": {} } } }, "DescribeTags": { "input": { "type": "structure", "required": [ "ResourceId" ], "members": { "ResourceId": {} } }, "output": { "type": "structure", "members": { "TagList": { "shape": "Sh" } } } }, "DescribeWorkspaceBundles": { "input": { "type": "structure", "members": { "BundleIds": { "type": "list", "member": {} }, "Owner": {}, "NextToken": {} } }, "output": { "type": "structure", "members": { "Bundles": { "type": "list", "member": { "type": "structure", "members": { "BundleId": {}, "Name": {}, "Owner": {}, "Description": {}, "ImageId": {}, "RootStorage": { "type": "structure", "members": { "Capacity": {} } }, "UserStorage": { "type": "structure", "members": { "Capacity": {} } }, "ComputeType": { "type": "structure", "members": { "Name": {} } }, "LastUpdatedTime": { "type": "timestamp" } } } }, "NextToken": {} } } }, "DescribeWorkspaceDirectories": { "input": { "type": "structure", "members": { "DirectoryIds": { "type": "list", "member": {} }, "Limit": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "Directories": { "type": "list", "member": { "type": "structure", "members": { "DirectoryId": {}, "Alias": {}, "DirectoryName": {}, "RegistrationCode": {}, "SubnetIds": { "shape": "S32" }, "DnsIpAddresses": { "type": "list", "member": {} }, "CustomerUserName": {}, "IamRoleId": {}, "DirectoryType": {}, "WorkspaceSecurityGroupId": {}, "State": {}, "WorkspaceCreationProperties": { "type": "structure", "members": { "EnableWorkDocs": { "type": "boolean" }, "EnableInternetAccess": { "type": "boolean" }, "DefaultOu": {}, "CustomSecurityGroupId": {}, "UserEnabledAsLocalAdministrator": { "type": "boolean" }, "EnableMaintenanceMode": { "type": "boolean" } } }, "ipGroupIds": { "shape": "S3" }, "WorkspaceAccessProperties": { "shape": "S3a" }, "Tenancy": {}, "SelfservicePermissions": { "shape": "S3d" } } } }, "NextToken": {} } } }, "DescribeWorkspaceImagePermissions": { "input": { "type": "structure", "required": [ "ImageId" ], "members": { "ImageId": {}, "NextToken": {}, "MaxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "ImageId": {}, "ImagePermissions": { "type": "list", "member": { "type": "structure", "members": { "SharedAccountId": {} } } }, "NextToken": {} } } }, "DescribeWorkspaceImages": { "input": { "type": "structure", "members": { "ImageIds": { "type": "list", "member": {} }, "ImageType": {}, "NextToken": {}, "MaxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "Images": { "type": "list", "member": { "type": "structure", "members": { "ImageId": {}, "Name": {}, "Description": {}, "OperatingSystem": { "type": "structure", "members": { "Type": {} } }, "State": {}, "RequiredTenancy": {}, "ErrorCode": {}, "ErrorMessage": {}, "Created": { "type": "timestamp" }, "OwnerAccountId": {} } } }, "NextToken": {} } } }, "DescribeWorkspaceSnapshots": { "input": { "type": "structure", "required": [ "WorkspaceId" ], "members": { "WorkspaceId": {} } }, "output": { "type": "structure", "members": { "RebuildSnapshots": { "shape": "S3w" }, "RestoreSnapshots": { "shape": "S3w" } } } }, "DescribeWorkspaces": { "input": { "type": "structure", "members": { "WorkspaceIds": { "shape": "S3z" }, "DirectoryId": {}, "UserName": {}, "BundleId": {}, "Limit": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "Workspaces": { "shape": "S1b" }, "NextToken": {} } } }, "DescribeWorkspacesConnectionStatus": { "input": { "type": "structure", "members": { "WorkspaceIds": { "shape": "S3z" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "WorkspacesConnectionStatus": { "type": "list", "member": { "type": "structure", "members": { "WorkspaceId": {}, "ConnectionState": {}, "ConnectionStateCheckTimestamp": { "type": "timestamp" }, "LastKnownUserConnectionTimestamp": { "type": "timestamp" } } } }, "NextToken": {} } } }, "DisassociateIpGroups": { "input": { "type": "structure", "required": [ "DirectoryId", "GroupIds" ], "members": { "DirectoryId": {}, "GroupIds": { "shape": "S3" } } }, "output": { "type": "structure", "members": {} } }, "ImportWorkspaceImage": { "input": { "type": "structure", "required": [ "Ec2ImageId", "IngestionProcess", "ImageName", "ImageDescription" ], "members": { "Ec2ImageId": {}, "IngestionProcess": {}, "ImageName": {}, "ImageDescription": {}, "Tags": { "shape": "Sh" } } }, "output": { "type": "structure", "members": { "ImageId": {} } } }, "ListAvailableManagementCidrRanges": { "input": { "type": "structure", "required": [ "ManagementCidrRangeConstraint" ], "members": { "ManagementCidrRangeConstraint": {}, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "ManagementCidrRanges": { "type": "list", "member": {} }, "NextToken": {} } } }, "MigrateWorkspace": { "input": { "type": "structure", "required": [ "SourceWorkspaceId", "BundleId" ], "members": { "SourceWorkspaceId": {}, "BundleId": {} } }, "output": { "type": "structure", "members": { "SourceWorkspaceId": {}, "TargetWorkspaceId": {} } } }, "ModifyAccount": { "input": { "type": "structure", "members": { "DedicatedTenancySupport": {}, "DedicatedTenancyManagementCidrRange": {} } }, "output": { "type": "structure", "members": {} } }, "ModifyClientProperties": { "input": { "type": "structure", "required": [ "ResourceId", "ClientProperties" ], "members": { "ResourceId": {}, "ClientProperties": { "shape": "S2c" } } }, "output": { "type": "structure", "members": {} } }, "ModifySelfservicePermissions": { "input": { "type": "structure", "required": [ "ResourceId", "SelfservicePermissions" ], "members": { "ResourceId": {}, "SelfservicePermissions": { "shape": "S3d" } } }, "output": { "type": "structure", "members": {} } }, "ModifyWorkspaceAccessProperties": { "input": { "type": "structure", "required": [ "ResourceId", "WorkspaceAccessProperties" ], "members": { "ResourceId": {}, "WorkspaceAccessProperties": { "shape": "S3a" } } }, "output": { "type": "structure", "members": {} } }, "ModifyWorkspaceCreationProperties": { "input": { "type": "structure", "required": [ "ResourceId", "WorkspaceCreationProperties" ], "members": { "ResourceId": {}, "WorkspaceCreationProperties": { "type": "structure", "members": { "EnableWorkDocs": { "type": "boolean" }, "EnableInternetAccess": { "type": "boolean" }, "DefaultOu": {}, "CustomSecurityGroupId": {}, "UserEnabledAsLocalAdministrator": { "type": "boolean" }, "EnableMaintenanceMode": { "type": "boolean" } } } } }, "output": { "type": "structure", "members": {} } }, "ModifyWorkspaceProperties": { "input": { "type": "structure", "required": [ "WorkspaceId", "WorkspaceProperties" ], "members": { "WorkspaceId": {}, "WorkspaceProperties": { "shape": "S10" } } }, "output": { "type": "structure", "members": {} } }, "ModifyWorkspaceState": { "input": { "type": "structure", "required": [ "WorkspaceId", "WorkspaceState" ], "members": { "WorkspaceId": {}, "WorkspaceState": {} } }, "output": { "type": "structure", "members": {} } }, "RebootWorkspaces": { "input": { "type": "structure", "required": [ "RebootWorkspaceRequests" ], "members": { "RebootWorkspaceRequests": { "type": "list", "member": { "type": "structure", "required": [ "WorkspaceId" ], "members": { "WorkspaceId": {} } } } } }, "output": { "type": "structure", "members": { "FailedRequests": { "type": "list", "member": { "shape": "S55" } } } } }, "RebuildWorkspaces": { "input": { "type": "structure", "required": [ "RebuildWorkspaceRequests" ], "members": { "RebuildWorkspaceRequests": { "type": "list", "member": { "type": "structure", "required": [ "WorkspaceId" ], "members": { "WorkspaceId": {} } } } } }, "output": { "type": "structure", "members": { "FailedRequests": { "type": "list", "member": { "shape": "S55" } } } } }, "RegisterWorkspaceDirectory": { "input": { "type": "structure", "required": [ "DirectoryId", "EnableWorkDocs" ], "members": { "DirectoryId": {}, "SubnetIds": { "shape": "S32" }, "EnableWorkDocs": { "type": "boolean" }, "EnableSelfService": { "type": "boolean" }, "Tenancy": {}, "Tags": { "shape": "Sh" } } }, "output": { "type": "structure", "members": {} } }, "RestoreWorkspace": { "input": { "type": "structure", "required": [ "WorkspaceId" ], "members": { "WorkspaceId": {} } }, "output": { "type": "structure", "members": {} } }, "RevokeIpRules": { "input": { "type": "structure", "required": [ "GroupId", "UserRules" ], "members": { "GroupId": {}, "UserRules": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": {} } }, "StartWorkspaces": { "input": { "type": "structure", "required": [ "StartWorkspaceRequests" ], "members": { "StartWorkspaceRequests": { "type": "list", "member": { "type": "structure", "members": { "WorkspaceId": {} } } } } }, "output": { "type": "structure", "members": { "FailedRequests": { "type": "list", "member": { "shape": "S55" } } } } }, "StopWorkspaces": { "input": { "type": "structure", "required": [ "StopWorkspaceRequests" ], "members": { "StopWorkspaceRequests": { "type": "list", "member": { "type": "structure", "members": { "WorkspaceId": {} } } } } }, "output": { "type": "structure", "members": { "FailedRequests": { "type": "list", "member": { "shape": "S55" } } } } }, "TerminateWorkspaces": { "input": { "type": "structure", "required": [ "TerminateWorkspaceRequests" ], "members": { "TerminateWorkspaceRequests": { "type": "list", "member": { "type": "structure", "required": [ "WorkspaceId" ], "members": { "WorkspaceId": {} } } } } }, "output": { "type": "structure", "members": { "FailedRequests": { "type": "list", "member": { "shape": "S55" } } } } }, "UpdateRulesOfIpGroup": { "input": { "type": "structure", "required": [ "GroupId", "UserRules" ], "members": { "GroupId": {}, "UserRules": { "shape": "S7" } } }, "output": { "type": "structure", "members": {} } }, "UpdateWorkspaceImagePermission": { "input": { "type": "structure", "required": [ "ImageId", "AllowCopyImage", "SharedAccountId" ], "members": { "ImageId": {}, "AllowCopyImage": { "type": "boolean" }, "SharedAccountId": {} } }, "output": { "type": "structure", "members": {} } } }, "shapes": { "S3": { "type": "list", "member": {} }, "S7": { "type": "list", "member": { "type": "structure", "members": { "ipRule": {}, "ruleDesc": {} } } }, "Sh": { "type": "list", "member": { "type": "structure", "required": [ "Key" ], "members": { "Key": {}, "Value": {} } } }, "Sv": { "type": "structure", "required": [ "DirectoryId", "UserName", "BundleId" ], "members": { "DirectoryId": {}, "UserName": {}, "BundleId": {}, "VolumeEncryptionKey": {}, "UserVolumeEncryptionEnabled": { "type": "boolean" }, "RootVolumeEncryptionEnabled": { "type": "boolean" }, "WorkspaceProperties": { "shape": "S10" }, "Tags": { "shape": "Sh" } } }, "S10": { "type": "structure", "members": { "RunningMode": {}, "RunningModeAutoStopTimeoutInMinutes": { "type": "integer" }, "RootVolumeSizeGib": { "type": "integer" }, "UserVolumeSizeGib": { "type": "integer" }, "ComputeTypeName": {} } }, "S1b": { "type": "list", "member": { "type": "structure", "members": { "WorkspaceId": {}, "DirectoryId": {}, "UserName": {}, "IpAddress": {}, "State": {}, "BundleId": {}, "SubnetId": {}, "ErrorMessage": {}, "ErrorCode": {}, "ComputerName": {}, "VolumeEncryptionKey": {}, "UserVolumeEncryptionEnabled": { "type": "boolean" }, "RootVolumeEncryptionEnabled": { "type": "boolean" }, "WorkspaceProperties": { "shape": "S10" }, "ModificationStates": { "type": "list", "member": { "type": "structure", "members": { "Resource": {}, "State": {} } } } } } }, "S2c": { "type": "structure", "members": { "ReconnectEnabled": {} } }, "S32": { "type": "list", "member": {} }, "S3a": { "type": "structure", "members": { "DeviceTypeWindows": {}, "DeviceTypeOsx": {}, "DeviceTypeWeb": {}, "DeviceTypeIos": {}, "DeviceTypeAndroid": {}, "DeviceTypeChromeOs": {}, "DeviceTypeZeroClient": {} } }, "S3d": { "type": "structure", "members": { "RestartWorkspace": {}, "IncreaseVolumeSize": {}, "ChangeComputeType": {}, "SwitchRunningMode": {}, "RebuildWorkspace": {} } }, "S3w": { "type": "list", "member": { "type": "structure", "members": { "SnapshotTime": { "type": "timestamp" } } } }, "S3z": { "type": "list", "member": {} }, "S55": { "type": "structure", "members": { "WorkspaceId": {}, "ErrorCode": {}, "ErrorMessage": {} } } } }