aws-sdk-workspaces 1.0.0.rc1 → 1.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,535 +1,533 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
- module Aws
9
- module WorkSpaces
10
- # @api private
11
- module ClientApi
12
-
13
- include Seahorse::Model
14
-
15
- ARN = Shapes::StringShape.new(name: 'ARN')
16
- AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
- Alias = Shapes::StringShape.new(name: 'Alias')
18
- BooleanObject = Shapes::BooleanShape.new(name: 'BooleanObject')
19
- BundleId = Shapes::StringShape.new(name: 'BundleId')
20
- BundleIdList = Shapes::ListShape.new(name: 'BundleIdList')
21
- BundleList = Shapes::ListShape.new(name: 'BundleList')
22
- BundleOwner = Shapes::StringShape.new(name: 'BundleOwner')
23
- Compute = Shapes::StringShape.new(name: 'Compute')
24
- ComputeType = Shapes::StructureShape.new(name: 'ComputeType')
25
- ComputerName = Shapes::StringShape.new(name: 'ComputerName')
26
- ConnectionState = Shapes::StringShape.new(name: 'ConnectionState')
27
- CreateTagsRequest = Shapes::StructureShape.new(name: 'CreateTagsRequest')
28
- CreateTagsResult = Shapes::StructureShape.new(name: 'CreateTagsResult')
29
- CreateWorkspacesRequest = Shapes::StructureShape.new(name: 'CreateWorkspacesRequest')
30
- CreateWorkspacesResult = Shapes::StructureShape.new(name: 'CreateWorkspacesResult')
31
- DefaultOu = Shapes::StringShape.new(name: 'DefaultOu')
32
- DefaultWorkspaceCreationProperties = Shapes::StructureShape.new(name: 'DefaultWorkspaceCreationProperties')
33
- DeleteTagsRequest = Shapes::StructureShape.new(name: 'DeleteTagsRequest')
34
- DeleteTagsResult = Shapes::StructureShape.new(name: 'DeleteTagsResult')
35
- DescribeTagsRequest = Shapes::StructureShape.new(name: 'DescribeTagsRequest')
36
- DescribeTagsResult = Shapes::StructureShape.new(name: 'DescribeTagsResult')
37
- DescribeWorkspaceBundlesRequest = Shapes::StructureShape.new(name: 'DescribeWorkspaceBundlesRequest')
38
- DescribeWorkspaceBundlesResult = Shapes::StructureShape.new(name: 'DescribeWorkspaceBundlesResult')
39
- DescribeWorkspaceDirectoriesRequest = Shapes::StructureShape.new(name: 'DescribeWorkspaceDirectoriesRequest')
40
- DescribeWorkspaceDirectoriesResult = Shapes::StructureShape.new(name: 'DescribeWorkspaceDirectoriesResult')
41
- DescribeWorkspacesConnectionStatusRequest = Shapes::StructureShape.new(name: 'DescribeWorkspacesConnectionStatusRequest')
42
- DescribeWorkspacesConnectionStatusResult = Shapes::StructureShape.new(name: 'DescribeWorkspacesConnectionStatusResult')
43
- DescribeWorkspacesRequest = Shapes::StructureShape.new(name: 'DescribeWorkspacesRequest')
44
- DescribeWorkspacesResult = Shapes::StructureShape.new(name: 'DescribeWorkspacesResult')
45
- Description = Shapes::StringShape.new(name: 'Description')
46
- DirectoryId = Shapes::StringShape.new(name: 'DirectoryId')
47
- DirectoryIdList = Shapes::ListShape.new(name: 'DirectoryIdList')
48
- DirectoryList = Shapes::ListShape.new(name: 'DirectoryList')
49
- DirectoryName = Shapes::StringShape.new(name: 'DirectoryName')
50
- DnsIpAddresses = Shapes::ListShape.new(name: 'DnsIpAddresses')
51
- ErrorType = Shapes::StringShape.new(name: 'ErrorType')
52
- ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
53
- FailedCreateWorkspaceRequest = Shapes::StructureShape.new(name: 'FailedCreateWorkspaceRequest')
54
- FailedCreateWorkspaceRequests = Shapes::ListShape.new(name: 'FailedCreateWorkspaceRequests')
55
- FailedRebootWorkspaceRequests = Shapes::ListShape.new(name: 'FailedRebootWorkspaceRequests')
56
- FailedRebuildWorkspaceRequests = Shapes::ListShape.new(name: 'FailedRebuildWorkspaceRequests')
57
- FailedStartWorkspaceRequests = Shapes::ListShape.new(name: 'FailedStartWorkspaceRequests')
58
- FailedStopWorkspaceRequests = Shapes::ListShape.new(name: 'FailedStopWorkspaceRequests')
59
- FailedTerminateWorkspaceRequests = Shapes::ListShape.new(name: 'FailedTerminateWorkspaceRequests')
60
- FailedWorkspaceChangeRequest = Shapes::StructureShape.new(name: 'FailedWorkspaceChangeRequest')
61
- InvalidParameterValuesException = Shapes::StructureShape.new(name: 'InvalidParameterValuesException')
62
- InvalidResourceStateException = Shapes::StructureShape.new(name: 'InvalidResourceStateException')
63
- IpAddress = Shapes::StringShape.new(name: 'IpAddress')
64
- Limit = Shapes::IntegerShape.new(name: 'Limit')
65
- ModifyWorkspacePropertiesRequest = Shapes::StructureShape.new(name: 'ModifyWorkspacePropertiesRequest')
66
- ModifyWorkspacePropertiesResult = Shapes::StructureShape.new(name: 'ModifyWorkspacePropertiesResult')
67
- NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
68
- OperationInProgressException = Shapes::StructureShape.new(name: 'OperationInProgressException')
69
- PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
70
- RebootRequest = Shapes::StructureShape.new(name: 'RebootRequest')
71
- RebootWorkspaceRequests = Shapes::ListShape.new(name: 'RebootWorkspaceRequests')
72
- RebootWorkspacesRequest = Shapes::StructureShape.new(name: 'RebootWorkspacesRequest')
73
- RebootWorkspacesResult = Shapes::StructureShape.new(name: 'RebootWorkspacesResult')
74
- RebuildRequest = Shapes::StructureShape.new(name: 'RebuildRequest')
75
- RebuildWorkspaceRequests = Shapes::ListShape.new(name: 'RebuildWorkspaceRequests')
76
- RebuildWorkspacesRequest = Shapes::StructureShape.new(name: 'RebuildWorkspacesRequest')
77
- RebuildWorkspacesResult = Shapes::StructureShape.new(name: 'RebuildWorkspacesResult')
78
- RegistrationCode = Shapes::StringShape.new(name: 'RegistrationCode')
79
- ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
80
- ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
81
- ResourceUnavailableException = Shapes::StructureShape.new(name: 'ResourceUnavailableException')
82
- RunningMode = Shapes::StringShape.new(name: 'RunningMode')
83
- RunningModeAutoStopTimeoutInMinutes = Shapes::IntegerShape.new(name: 'RunningModeAutoStopTimeoutInMinutes')
84
- SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
85
- StartRequest = Shapes::StructureShape.new(name: 'StartRequest')
86
- StartWorkspaceRequests = Shapes::ListShape.new(name: 'StartWorkspaceRequests')
87
- StartWorkspacesRequest = Shapes::StructureShape.new(name: 'StartWorkspacesRequest')
88
- StartWorkspacesResult = Shapes::StructureShape.new(name: 'StartWorkspacesResult')
89
- StopRequest = Shapes::StructureShape.new(name: 'StopRequest')
90
- StopWorkspaceRequests = Shapes::ListShape.new(name: 'StopWorkspaceRequests')
91
- StopWorkspacesRequest = Shapes::StructureShape.new(name: 'StopWorkspacesRequest')
92
- StopWorkspacesResult = Shapes::StructureShape.new(name: 'StopWorkspacesResult')
93
- SubnetId = Shapes::StringShape.new(name: 'SubnetId')
94
- SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
95
- Tag = Shapes::StructureShape.new(name: 'Tag')
96
- TagKey = Shapes::StringShape.new(name: 'TagKey')
97
- TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
98
- TagList = Shapes::ListShape.new(name: 'TagList')
99
- TagValue = Shapes::StringShape.new(name: 'TagValue')
100
- TerminateRequest = Shapes::StructureShape.new(name: 'TerminateRequest')
101
- TerminateWorkspaceRequests = Shapes::ListShape.new(name: 'TerminateWorkspaceRequests')
102
- TerminateWorkspacesRequest = Shapes::StructureShape.new(name: 'TerminateWorkspacesRequest')
103
- TerminateWorkspacesResult = Shapes::StructureShape.new(name: 'TerminateWorkspacesResult')
104
- Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
105
- UnsupportedWorkspaceConfigurationException = Shapes::StructureShape.new(name: 'UnsupportedWorkspaceConfigurationException')
106
- UserName = Shapes::StringShape.new(name: 'UserName')
107
- UserStorage = Shapes::StructureShape.new(name: 'UserStorage')
108
- VolumeEncryptionKey = Shapes::StringShape.new(name: 'VolumeEncryptionKey')
109
- Workspace = Shapes::StructureShape.new(name: 'Workspace')
110
- WorkspaceBundle = Shapes::StructureShape.new(name: 'WorkspaceBundle')
111
- WorkspaceConnectionStatus = Shapes::StructureShape.new(name: 'WorkspaceConnectionStatus')
112
- WorkspaceConnectionStatusList = Shapes::ListShape.new(name: 'WorkspaceConnectionStatusList')
113
- WorkspaceDirectory = Shapes::StructureShape.new(name: 'WorkspaceDirectory')
114
- WorkspaceDirectoryState = Shapes::StringShape.new(name: 'WorkspaceDirectoryState')
115
- WorkspaceDirectoryType = Shapes::StringShape.new(name: 'WorkspaceDirectoryType')
116
- WorkspaceErrorCode = Shapes::StringShape.new(name: 'WorkspaceErrorCode')
117
- WorkspaceId = Shapes::StringShape.new(name: 'WorkspaceId')
118
- WorkspaceIdList = Shapes::ListShape.new(name: 'WorkspaceIdList')
119
- WorkspaceList = Shapes::ListShape.new(name: 'WorkspaceList')
120
- WorkspaceProperties = Shapes::StructureShape.new(name: 'WorkspaceProperties')
121
- WorkspaceRequest = Shapes::StructureShape.new(name: 'WorkspaceRequest')
122
- WorkspaceRequestList = Shapes::ListShape.new(name: 'WorkspaceRequestList')
123
- WorkspaceState = Shapes::StringShape.new(name: 'WorkspaceState')
124
-
125
- BundleIdList.member = Shapes::ShapeRef.new(shape: BundleId)
126
-
127
- BundleList.member = Shapes::ShapeRef.new(shape: WorkspaceBundle)
128
-
129
- ComputeType.add_member(:name, Shapes::ShapeRef.new(shape: Compute, location_name: "Name"))
130
- ComputeType.struct_class = Types::ComputeType
131
-
132
- CreateTagsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ResourceId"))
133
- CreateTagsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
134
- CreateTagsRequest.struct_class = Types::CreateTagsRequest
135
-
136
- CreateTagsResult.struct_class = Types::CreateTagsResult
137
-
138
- CreateWorkspacesRequest.add_member(:workspaces, Shapes::ShapeRef.new(shape: WorkspaceRequestList, required: true, location_name: "Workspaces"))
139
- CreateWorkspacesRequest.struct_class = Types::CreateWorkspacesRequest
140
-
141
- CreateWorkspacesResult.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedCreateWorkspaceRequests, location_name: "FailedRequests"))
142
- CreateWorkspacesResult.add_member(:pending_requests, Shapes::ShapeRef.new(shape: WorkspaceList, location_name: "PendingRequests"))
143
- CreateWorkspacesResult.struct_class = Types::CreateWorkspacesResult
144
-
145
- DefaultWorkspaceCreationProperties.add_member(:enable_work_docs, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "EnableWorkDocs"))
146
- DefaultWorkspaceCreationProperties.add_member(:enable_internet_access, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "EnableInternetAccess"))
147
- DefaultWorkspaceCreationProperties.add_member(:default_ou, Shapes::ShapeRef.new(shape: DefaultOu, location_name: "DefaultOu"))
148
- DefaultWorkspaceCreationProperties.add_member(:custom_security_group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "CustomSecurityGroupId"))
149
- DefaultWorkspaceCreationProperties.add_member(:user_enabled_as_local_administrator, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "UserEnabledAsLocalAdministrator"))
150
- DefaultWorkspaceCreationProperties.struct_class = Types::DefaultWorkspaceCreationProperties
151
-
152
- DeleteTagsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ResourceId"))
153
- DeleteTagsRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
154
- DeleteTagsRequest.struct_class = Types::DeleteTagsRequest
155
-
156
- DeleteTagsResult.struct_class = Types::DeleteTagsResult
157
-
158
- DescribeTagsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ResourceId"))
159
- DescribeTagsRequest.struct_class = Types::DescribeTagsRequest
160
-
161
- DescribeTagsResult.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
162
- DescribeTagsResult.struct_class = Types::DescribeTagsResult
163
-
164
- DescribeWorkspaceBundlesRequest.add_member(:bundle_ids, Shapes::ShapeRef.new(shape: BundleIdList, location_name: "BundleIds"))
165
- DescribeWorkspaceBundlesRequest.add_member(:owner, Shapes::ShapeRef.new(shape: BundleOwner, location_name: "Owner"))
166
- DescribeWorkspaceBundlesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
167
- DescribeWorkspaceBundlesRequest.struct_class = Types::DescribeWorkspaceBundlesRequest
168
-
169
- DescribeWorkspaceBundlesResult.add_member(:bundles, Shapes::ShapeRef.new(shape: BundleList, location_name: "Bundles"))
170
- DescribeWorkspaceBundlesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
171
- DescribeWorkspaceBundlesResult.struct_class = Types::DescribeWorkspaceBundlesResult
172
-
173
- DescribeWorkspaceDirectoriesRequest.add_member(:directory_ids, Shapes::ShapeRef.new(shape: DirectoryIdList, location_name: "DirectoryIds"))
174
- DescribeWorkspaceDirectoriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
175
- DescribeWorkspaceDirectoriesRequest.struct_class = Types::DescribeWorkspaceDirectoriesRequest
176
-
177
- DescribeWorkspaceDirectoriesResult.add_member(:directories, Shapes::ShapeRef.new(shape: DirectoryList, location_name: "Directories"))
178
- DescribeWorkspaceDirectoriesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
179
- DescribeWorkspaceDirectoriesResult.struct_class = Types::DescribeWorkspaceDirectoriesResult
8
+ module Aws::WorkSpaces
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ ARN = Shapes::StringShape.new(name: 'ARN')
15
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
16
+ Alias = Shapes::StringShape.new(name: 'Alias')
17
+ BooleanObject = Shapes::BooleanShape.new(name: 'BooleanObject')
18
+ BundleId = Shapes::StringShape.new(name: 'BundleId')
19
+ BundleIdList = Shapes::ListShape.new(name: 'BundleIdList')
20
+ BundleList = Shapes::ListShape.new(name: 'BundleList')
21
+ BundleOwner = Shapes::StringShape.new(name: 'BundleOwner')
22
+ Compute = Shapes::StringShape.new(name: 'Compute')
23
+ ComputeType = Shapes::StructureShape.new(name: 'ComputeType')
24
+ ComputerName = Shapes::StringShape.new(name: 'ComputerName')
25
+ ConnectionState = Shapes::StringShape.new(name: 'ConnectionState')
26
+ CreateTagsRequest = Shapes::StructureShape.new(name: 'CreateTagsRequest')
27
+ CreateTagsResult = Shapes::StructureShape.new(name: 'CreateTagsResult')
28
+ CreateWorkspacesRequest = Shapes::StructureShape.new(name: 'CreateWorkspacesRequest')
29
+ CreateWorkspacesResult = Shapes::StructureShape.new(name: 'CreateWorkspacesResult')
30
+ DefaultOu = Shapes::StringShape.new(name: 'DefaultOu')
31
+ DefaultWorkspaceCreationProperties = Shapes::StructureShape.new(name: 'DefaultWorkspaceCreationProperties')
32
+ DeleteTagsRequest = Shapes::StructureShape.new(name: 'DeleteTagsRequest')
33
+ DeleteTagsResult = Shapes::StructureShape.new(name: 'DeleteTagsResult')
34
+ DescribeTagsRequest = Shapes::StructureShape.new(name: 'DescribeTagsRequest')
35
+ DescribeTagsResult = Shapes::StructureShape.new(name: 'DescribeTagsResult')
36
+ DescribeWorkspaceBundlesRequest = Shapes::StructureShape.new(name: 'DescribeWorkspaceBundlesRequest')
37
+ DescribeWorkspaceBundlesResult = Shapes::StructureShape.new(name: 'DescribeWorkspaceBundlesResult')
38
+ DescribeWorkspaceDirectoriesRequest = Shapes::StructureShape.new(name: 'DescribeWorkspaceDirectoriesRequest')
39
+ DescribeWorkspaceDirectoriesResult = Shapes::StructureShape.new(name: 'DescribeWorkspaceDirectoriesResult')
40
+ DescribeWorkspacesConnectionStatusRequest = Shapes::StructureShape.new(name: 'DescribeWorkspacesConnectionStatusRequest')
41
+ DescribeWorkspacesConnectionStatusResult = Shapes::StructureShape.new(name: 'DescribeWorkspacesConnectionStatusResult')
42
+ DescribeWorkspacesRequest = Shapes::StructureShape.new(name: 'DescribeWorkspacesRequest')
43
+ DescribeWorkspacesResult = Shapes::StructureShape.new(name: 'DescribeWorkspacesResult')
44
+ Description = Shapes::StringShape.new(name: 'Description')
45
+ DirectoryId = Shapes::StringShape.new(name: 'DirectoryId')
46
+ DirectoryIdList = Shapes::ListShape.new(name: 'DirectoryIdList')
47
+ DirectoryList = Shapes::ListShape.new(name: 'DirectoryList')
48
+ DirectoryName = Shapes::StringShape.new(name: 'DirectoryName')
49
+ DnsIpAddresses = Shapes::ListShape.new(name: 'DnsIpAddresses')
50
+ ErrorType = Shapes::StringShape.new(name: 'ErrorType')
51
+ ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
52
+ FailedCreateWorkspaceRequest = Shapes::StructureShape.new(name: 'FailedCreateWorkspaceRequest')
53
+ FailedCreateWorkspaceRequests = Shapes::ListShape.new(name: 'FailedCreateWorkspaceRequests')
54
+ FailedRebootWorkspaceRequests = Shapes::ListShape.new(name: 'FailedRebootWorkspaceRequests')
55
+ FailedRebuildWorkspaceRequests = Shapes::ListShape.new(name: 'FailedRebuildWorkspaceRequests')
56
+ FailedStartWorkspaceRequests = Shapes::ListShape.new(name: 'FailedStartWorkspaceRequests')
57
+ FailedStopWorkspaceRequests = Shapes::ListShape.new(name: 'FailedStopWorkspaceRequests')
58
+ FailedTerminateWorkspaceRequests = Shapes::ListShape.new(name: 'FailedTerminateWorkspaceRequests')
59
+ FailedWorkspaceChangeRequest = Shapes::StructureShape.new(name: 'FailedWorkspaceChangeRequest')
60
+ InvalidParameterValuesException = Shapes::StructureShape.new(name: 'InvalidParameterValuesException')
61
+ InvalidResourceStateException = Shapes::StructureShape.new(name: 'InvalidResourceStateException')
62
+ IpAddress = Shapes::StringShape.new(name: 'IpAddress')
63
+ Limit = Shapes::IntegerShape.new(name: 'Limit')
64
+ ModifyWorkspacePropertiesRequest = Shapes::StructureShape.new(name: 'ModifyWorkspacePropertiesRequest')
65
+ ModifyWorkspacePropertiesResult = Shapes::StructureShape.new(name: 'ModifyWorkspacePropertiesResult')
66
+ NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
67
+ OperationInProgressException = Shapes::StructureShape.new(name: 'OperationInProgressException')
68
+ PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
69
+ RebootRequest = Shapes::StructureShape.new(name: 'RebootRequest')
70
+ RebootWorkspaceRequests = Shapes::ListShape.new(name: 'RebootWorkspaceRequests')
71
+ RebootWorkspacesRequest = Shapes::StructureShape.new(name: 'RebootWorkspacesRequest')
72
+ RebootWorkspacesResult = Shapes::StructureShape.new(name: 'RebootWorkspacesResult')
73
+ RebuildRequest = Shapes::StructureShape.new(name: 'RebuildRequest')
74
+ RebuildWorkspaceRequests = Shapes::ListShape.new(name: 'RebuildWorkspaceRequests')
75
+ RebuildWorkspacesRequest = Shapes::StructureShape.new(name: 'RebuildWorkspacesRequest')
76
+ RebuildWorkspacesResult = Shapes::StructureShape.new(name: 'RebuildWorkspacesResult')
77
+ RegistrationCode = Shapes::StringShape.new(name: 'RegistrationCode')
78
+ ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
79
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
80
+ ResourceUnavailableException = Shapes::StructureShape.new(name: 'ResourceUnavailableException')
81
+ RunningMode = Shapes::StringShape.new(name: 'RunningMode')
82
+ RunningModeAutoStopTimeoutInMinutes = Shapes::IntegerShape.new(name: 'RunningModeAutoStopTimeoutInMinutes')
83
+ SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
84
+ StartRequest = Shapes::StructureShape.new(name: 'StartRequest')
85
+ StartWorkspaceRequests = Shapes::ListShape.new(name: 'StartWorkspaceRequests')
86
+ StartWorkspacesRequest = Shapes::StructureShape.new(name: 'StartWorkspacesRequest')
87
+ StartWorkspacesResult = Shapes::StructureShape.new(name: 'StartWorkspacesResult')
88
+ StopRequest = Shapes::StructureShape.new(name: 'StopRequest')
89
+ StopWorkspaceRequests = Shapes::ListShape.new(name: 'StopWorkspaceRequests')
90
+ StopWorkspacesRequest = Shapes::StructureShape.new(name: 'StopWorkspacesRequest')
91
+ StopWorkspacesResult = Shapes::StructureShape.new(name: 'StopWorkspacesResult')
92
+ SubnetId = Shapes::StringShape.new(name: 'SubnetId')
93
+ SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
94
+ Tag = Shapes::StructureShape.new(name: 'Tag')
95
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
96
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
97
+ TagList = Shapes::ListShape.new(name: 'TagList')
98
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
99
+ TerminateRequest = Shapes::StructureShape.new(name: 'TerminateRequest')
100
+ TerminateWorkspaceRequests = Shapes::ListShape.new(name: 'TerminateWorkspaceRequests')
101
+ TerminateWorkspacesRequest = Shapes::StructureShape.new(name: 'TerminateWorkspacesRequest')
102
+ TerminateWorkspacesResult = Shapes::StructureShape.new(name: 'TerminateWorkspacesResult')
103
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
104
+ UnsupportedWorkspaceConfigurationException = Shapes::StructureShape.new(name: 'UnsupportedWorkspaceConfigurationException')
105
+ UserName = Shapes::StringShape.new(name: 'UserName')
106
+ UserStorage = Shapes::StructureShape.new(name: 'UserStorage')
107
+ VolumeEncryptionKey = Shapes::StringShape.new(name: 'VolumeEncryptionKey')
108
+ Workspace = Shapes::StructureShape.new(name: 'Workspace')
109
+ WorkspaceBundle = Shapes::StructureShape.new(name: 'WorkspaceBundle')
110
+ WorkspaceConnectionStatus = Shapes::StructureShape.new(name: 'WorkspaceConnectionStatus')
111
+ WorkspaceConnectionStatusList = Shapes::ListShape.new(name: 'WorkspaceConnectionStatusList')
112
+ WorkspaceDirectory = Shapes::StructureShape.new(name: 'WorkspaceDirectory')
113
+ WorkspaceDirectoryState = Shapes::StringShape.new(name: 'WorkspaceDirectoryState')
114
+ WorkspaceDirectoryType = Shapes::StringShape.new(name: 'WorkspaceDirectoryType')
115
+ WorkspaceErrorCode = Shapes::StringShape.new(name: 'WorkspaceErrorCode')
116
+ WorkspaceId = Shapes::StringShape.new(name: 'WorkspaceId')
117
+ WorkspaceIdList = Shapes::ListShape.new(name: 'WorkspaceIdList')
118
+ WorkspaceList = Shapes::ListShape.new(name: 'WorkspaceList')
119
+ WorkspaceProperties = Shapes::StructureShape.new(name: 'WorkspaceProperties')
120
+ WorkspaceRequest = Shapes::StructureShape.new(name: 'WorkspaceRequest')
121
+ WorkspaceRequestList = Shapes::ListShape.new(name: 'WorkspaceRequestList')
122
+ WorkspaceState = Shapes::StringShape.new(name: 'WorkspaceState')
123
+
124
+ BundleIdList.member = Shapes::ShapeRef.new(shape: BundleId)
125
+
126
+ BundleList.member = Shapes::ShapeRef.new(shape: WorkspaceBundle)
127
+
128
+ ComputeType.add_member(:name, Shapes::ShapeRef.new(shape: Compute, location_name: "Name"))
129
+ ComputeType.struct_class = Types::ComputeType
130
+
131
+ CreateTagsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ResourceId"))
132
+ CreateTagsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
133
+ CreateTagsRequest.struct_class = Types::CreateTagsRequest
134
+
135
+ CreateTagsResult.struct_class = Types::CreateTagsResult
136
+
137
+ CreateWorkspacesRequest.add_member(:workspaces, Shapes::ShapeRef.new(shape: WorkspaceRequestList, required: true, location_name: "Workspaces"))
138
+ CreateWorkspacesRequest.struct_class = Types::CreateWorkspacesRequest
139
+
140
+ CreateWorkspacesResult.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedCreateWorkspaceRequests, location_name: "FailedRequests"))
141
+ CreateWorkspacesResult.add_member(:pending_requests, Shapes::ShapeRef.new(shape: WorkspaceList, location_name: "PendingRequests"))
142
+ CreateWorkspacesResult.struct_class = Types::CreateWorkspacesResult
143
+
144
+ DefaultWorkspaceCreationProperties.add_member(:enable_work_docs, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "EnableWorkDocs"))
145
+ DefaultWorkspaceCreationProperties.add_member(:enable_internet_access, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "EnableInternetAccess"))
146
+ DefaultWorkspaceCreationProperties.add_member(:default_ou, Shapes::ShapeRef.new(shape: DefaultOu, location_name: "DefaultOu"))
147
+ DefaultWorkspaceCreationProperties.add_member(:custom_security_group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "CustomSecurityGroupId"))
148
+ DefaultWorkspaceCreationProperties.add_member(:user_enabled_as_local_administrator, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "UserEnabledAsLocalAdministrator"))
149
+ DefaultWorkspaceCreationProperties.struct_class = Types::DefaultWorkspaceCreationProperties
150
+
151
+ DeleteTagsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ResourceId"))
152
+ DeleteTagsRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
153
+ DeleteTagsRequest.struct_class = Types::DeleteTagsRequest
154
+
155
+ DeleteTagsResult.struct_class = Types::DeleteTagsResult
156
+
157
+ DescribeTagsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ResourceId"))
158
+ DescribeTagsRequest.struct_class = Types::DescribeTagsRequest
159
+
160
+ DescribeTagsResult.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
161
+ DescribeTagsResult.struct_class = Types::DescribeTagsResult
162
+
163
+ DescribeWorkspaceBundlesRequest.add_member(:bundle_ids, Shapes::ShapeRef.new(shape: BundleIdList, location_name: "BundleIds"))
164
+ DescribeWorkspaceBundlesRequest.add_member(:owner, Shapes::ShapeRef.new(shape: BundleOwner, location_name: "Owner"))
165
+ DescribeWorkspaceBundlesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
166
+ DescribeWorkspaceBundlesRequest.struct_class = Types::DescribeWorkspaceBundlesRequest
167
+
168
+ DescribeWorkspaceBundlesResult.add_member(:bundles, Shapes::ShapeRef.new(shape: BundleList, location_name: "Bundles"))
169
+ DescribeWorkspaceBundlesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
170
+ DescribeWorkspaceBundlesResult.struct_class = Types::DescribeWorkspaceBundlesResult
171
+
172
+ DescribeWorkspaceDirectoriesRequest.add_member(:directory_ids, Shapes::ShapeRef.new(shape: DirectoryIdList, location_name: "DirectoryIds"))
173
+ DescribeWorkspaceDirectoriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
174
+ DescribeWorkspaceDirectoriesRequest.struct_class = Types::DescribeWorkspaceDirectoriesRequest
175
+
176
+ DescribeWorkspaceDirectoriesResult.add_member(:directories, Shapes::ShapeRef.new(shape: DirectoryList, location_name: "Directories"))
177
+ DescribeWorkspaceDirectoriesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
178
+ DescribeWorkspaceDirectoriesResult.struct_class = Types::DescribeWorkspaceDirectoriesResult
179
+
180
+ DescribeWorkspacesConnectionStatusRequest.add_member(:workspace_ids, Shapes::ShapeRef.new(shape: WorkspaceIdList, location_name: "WorkspaceIds"))
181
+ DescribeWorkspacesConnectionStatusRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
182
+ DescribeWorkspacesConnectionStatusRequest.struct_class = Types::DescribeWorkspacesConnectionStatusRequest
183
+
184
+ DescribeWorkspacesConnectionStatusResult.add_member(:workspaces_connection_status, Shapes::ShapeRef.new(shape: WorkspaceConnectionStatusList, location_name: "WorkspacesConnectionStatus"))
185
+ DescribeWorkspacesConnectionStatusResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
186
+ DescribeWorkspacesConnectionStatusResult.struct_class = Types::DescribeWorkspacesConnectionStatusResult
187
+
188
+ DescribeWorkspacesRequest.add_member(:workspace_ids, Shapes::ShapeRef.new(shape: WorkspaceIdList, location_name: "WorkspaceIds"))
189
+ DescribeWorkspacesRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
190
+ DescribeWorkspacesRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, location_name: "UserName"))
191
+ DescribeWorkspacesRequest.add_member(:bundle_id, Shapes::ShapeRef.new(shape: BundleId, location_name: "BundleId"))
192
+ DescribeWorkspacesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: Limit, location_name: "Limit"))
193
+ DescribeWorkspacesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
194
+ DescribeWorkspacesRequest.struct_class = Types::DescribeWorkspacesRequest
195
+
196
+ DescribeWorkspacesResult.add_member(:workspaces, Shapes::ShapeRef.new(shape: WorkspaceList, location_name: "Workspaces"))
197
+ DescribeWorkspacesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
198
+ DescribeWorkspacesResult.struct_class = Types::DescribeWorkspacesResult
199
+
200
+ DirectoryIdList.member = Shapes::ShapeRef.new(shape: DirectoryId)
180
201
 
181
- DescribeWorkspacesConnectionStatusRequest.add_member(:workspace_ids, Shapes::ShapeRef.new(shape: WorkspaceIdList, location_name: "WorkspaceIds"))
182
- DescribeWorkspacesConnectionStatusRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
183
- DescribeWorkspacesConnectionStatusRequest.struct_class = Types::DescribeWorkspacesConnectionStatusRequest
202
+ DirectoryList.member = Shapes::ShapeRef.new(shape: WorkspaceDirectory)
184
203
 
185
- DescribeWorkspacesConnectionStatusResult.add_member(:workspaces_connection_status, Shapes::ShapeRef.new(shape: WorkspaceConnectionStatusList, location_name: "WorkspacesConnectionStatus"))
186
- DescribeWorkspacesConnectionStatusResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
187
- DescribeWorkspacesConnectionStatusResult.struct_class = Types::DescribeWorkspacesConnectionStatusResult
204
+ DnsIpAddresses.member = Shapes::ShapeRef.new(shape: IpAddress)
188
205
 
189
- DescribeWorkspacesRequest.add_member(:workspace_ids, Shapes::ShapeRef.new(shape: WorkspaceIdList, location_name: "WorkspaceIds"))
190
- DescribeWorkspacesRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
191
- DescribeWorkspacesRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, location_name: "UserName"))
192
- DescribeWorkspacesRequest.add_member(:bundle_id, Shapes::ShapeRef.new(shape: BundleId, location_name: "BundleId"))
193
- DescribeWorkspacesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: Limit, location_name: "Limit"))
194
- DescribeWorkspacesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
195
- DescribeWorkspacesRequest.struct_class = Types::DescribeWorkspacesRequest
206
+ FailedCreateWorkspaceRequest.add_member(:workspace_request, Shapes::ShapeRef.new(shape: WorkspaceRequest, location_name: "WorkspaceRequest"))
207
+ FailedCreateWorkspaceRequest.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorType, location_name: "ErrorCode"))
208
+ FailedCreateWorkspaceRequest.add_member(:error_message, Shapes::ShapeRef.new(shape: Description, location_name: "ErrorMessage"))
209
+ FailedCreateWorkspaceRequest.struct_class = Types::FailedCreateWorkspaceRequest
196
210
 
197
- DescribeWorkspacesResult.add_member(:workspaces, Shapes::ShapeRef.new(shape: WorkspaceList, location_name: "Workspaces"))
198
- DescribeWorkspacesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
199
- DescribeWorkspacesResult.struct_class = Types::DescribeWorkspacesResult
211
+ FailedCreateWorkspaceRequests.member = Shapes::ShapeRef.new(shape: FailedCreateWorkspaceRequest)
200
212
 
201
- DirectoryIdList.member = Shapes::ShapeRef.new(shape: DirectoryId)
213
+ FailedRebootWorkspaceRequests.member = Shapes::ShapeRef.new(shape: FailedWorkspaceChangeRequest)
202
214
 
203
- DirectoryList.member = Shapes::ShapeRef.new(shape: WorkspaceDirectory)
215
+ FailedRebuildWorkspaceRequests.member = Shapes::ShapeRef.new(shape: FailedWorkspaceChangeRequest)
204
216
 
205
- DnsIpAddresses.member = Shapes::ShapeRef.new(shape: IpAddress)
217
+ FailedStartWorkspaceRequests.member = Shapes::ShapeRef.new(shape: FailedWorkspaceChangeRequest)
206
218
 
207
- FailedCreateWorkspaceRequest.add_member(:workspace_request, Shapes::ShapeRef.new(shape: WorkspaceRequest, location_name: "WorkspaceRequest"))
208
- FailedCreateWorkspaceRequest.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorType, location_name: "ErrorCode"))
209
- FailedCreateWorkspaceRequest.add_member(:error_message, Shapes::ShapeRef.new(shape: Description, location_name: "ErrorMessage"))
210
- FailedCreateWorkspaceRequest.struct_class = Types::FailedCreateWorkspaceRequest
219
+ FailedStopWorkspaceRequests.member = Shapes::ShapeRef.new(shape: FailedWorkspaceChangeRequest)
211
220
 
212
- FailedCreateWorkspaceRequests.member = Shapes::ShapeRef.new(shape: FailedCreateWorkspaceRequest)
221
+ FailedTerminateWorkspaceRequests.member = Shapes::ShapeRef.new(shape: FailedWorkspaceChangeRequest)
213
222
 
214
- FailedRebootWorkspaceRequests.member = Shapes::ShapeRef.new(shape: FailedWorkspaceChangeRequest)
223
+ FailedWorkspaceChangeRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "WorkspaceId"))
224
+ FailedWorkspaceChangeRequest.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorType, location_name: "ErrorCode"))
225
+ FailedWorkspaceChangeRequest.add_member(:error_message, Shapes::ShapeRef.new(shape: Description, location_name: "ErrorMessage"))
226
+ FailedWorkspaceChangeRequest.struct_class = Types::FailedWorkspaceChangeRequest
215
227
 
216
- FailedRebuildWorkspaceRequests.member = Shapes::ShapeRef.new(shape: FailedWorkspaceChangeRequest)
228
+ ModifyWorkspacePropertiesRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "WorkspaceId"))
229
+ ModifyWorkspacePropertiesRequest.add_member(:workspace_properties, Shapes::ShapeRef.new(shape: WorkspaceProperties, required: true, location_name: "WorkspaceProperties"))
230
+ ModifyWorkspacePropertiesRequest.struct_class = Types::ModifyWorkspacePropertiesRequest
217
231
 
218
- FailedStartWorkspaceRequests.member = Shapes::ShapeRef.new(shape: FailedWorkspaceChangeRequest)
232
+ ModifyWorkspacePropertiesResult.struct_class = Types::ModifyWorkspacePropertiesResult
219
233
 
220
- FailedStopWorkspaceRequests.member = Shapes::ShapeRef.new(shape: FailedWorkspaceChangeRequest)
234
+ RebootRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "WorkspaceId"))
235
+ RebootRequest.struct_class = Types::RebootRequest
221
236
 
222
- FailedTerminateWorkspaceRequests.member = Shapes::ShapeRef.new(shape: FailedWorkspaceChangeRequest)
237
+ RebootWorkspaceRequests.member = Shapes::ShapeRef.new(shape: RebootRequest)
223
238
 
224
- FailedWorkspaceChangeRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "WorkspaceId"))
225
- FailedWorkspaceChangeRequest.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorType, location_name: "ErrorCode"))
226
- FailedWorkspaceChangeRequest.add_member(:error_message, Shapes::ShapeRef.new(shape: Description, location_name: "ErrorMessage"))
227
- FailedWorkspaceChangeRequest.struct_class = Types::FailedWorkspaceChangeRequest
239
+ RebootWorkspacesRequest.add_member(:reboot_workspace_requests, Shapes::ShapeRef.new(shape: RebootWorkspaceRequests, required: true, location_name: "RebootWorkspaceRequests"))
240
+ RebootWorkspacesRequest.struct_class = Types::RebootWorkspacesRequest
228
241
 
229
- ModifyWorkspacePropertiesRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "WorkspaceId"))
230
- ModifyWorkspacePropertiesRequest.add_member(:workspace_properties, Shapes::ShapeRef.new(shape: WorkspaceProperties, required: true, location_name: "WorkspaceProperties"))
231
- ModifyWorkspacePropertiesRequest.struct_class = Types::ModifyWorkspacePropertiesRequest
242
+ RebootWorkspacesResult.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedRebootWorkspaceRequests, location_name: "FailedRequests"))
243
+ RebootWorkspacesResult.struct_class = Types::RebootWorkspacesResult
232
244
 
233
- ModifyWorkspacePropertiesResult.struct_class = Types::ModifyWorkspacePropertiesResult
245
+ RebuildRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "WorkspaceId"))
246
+ RebuildRequest.struct_class = Types::RebuildRequest
234
247
 
235
- RebootRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "WorkspaceId"))
236
- RebootRequest.struct_class = Types::RebootRequest
248
+ RebuildWorkspaceRequests.member = Shapes::ShapeRef.new(shape: RebuildRequest)
237
249
 
238
- RebootWorkspaceRequests.member = Shapes::ShapeRef.new(shape: RebootRequest)
250
+ RebuildWorkspacesRequest.add_member(:rebuild_workspace_requests, Shapes::ShapeRef.new(shape: RebuildWorkspaceRequests, required: true, location_name: "RebuildWorkspaceRequests"))
251
+ RebuildWorkspacesRequest.struct_class = Types::RebuildWorkspacesRequest
239
252
 
240
- RebootWorkspacesRequest.add_member(:reboot_workspace_requests, Shapes::ShapeRef.new(shape: RebootWorkspaceRequests, required: true, location_name: "RebootWorkspaceRequests"))
241
- RebootWorkspacesRequest.struct_class = Types::RebootWorkspacesRequest
253
+ RebuildWorkspacesResult.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedRebuildWorkspaceRequests, location_name: "FailedRequests"))
254
+ RebuildWorkspacesResult.struct_class = Types::RebuildWorkspacesResult
242
255
 
243
- RebootWorkspacesResult.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedRebootWorkspaceRequests, location_name: "FailedRequests"))
244
- RebootWorkspacesResult.struct_class = Types::RebootWorkspacesResult
256
+ StartRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "WorkspaceId"))
257
+ StartRequest.struct_class = Types::StartRequest
245
258
 
246
- RebuildRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "WorkspaceId"))
247
- RebuildRequest.struct_class = Types::RebuildRequest
259
+ StartWorkspaceRequests.member = Shapes::ShapeRef.new(shape: StartRequest)
248
260
 
249
- RebuildWorkspaceRequests.member = Shapes::ShapeRef.new(shape: RebuildRequest)
261
+ StartWorkspacesRequest.add_member(:start_workspace_requests, Shapes::ShapeRef.new(shape: StartWorkspaceRequests, required: true, location_name: "StartWorkspaceRequests"))
262
+ StartWorkspacesRequest.struct_class = Types::StartWorkspacesRequest
250
263
 
251
- RebuildWorkspacesRequest.add_member(:rebuild_workspace_requests, Shapes::ShapeRef.new(shape: RebuildWorkspaceRequests, required: true, location_name: "RebuildWorkspaceRequests"))
252
- RebuildWorkspacesRequest.struct_class = Types::RebuildWorkspacesRequest
264
+ StartWorkspacesResult.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedStartWorkspaceRequests, location_name: "FailedRequests"))
265
+ StartWorkspacesResult.struct_class = Types::StartWorkspacesResult
253
266
 
254
- RebuildWorkspacesResult.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedRebuildWorkspaceRequests, location_name: "FailedRequests"))
255
- RebuildWorkspacesResult.struct_class = Types::RebuildWorkspacesResult
267
+ StopRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "WorkspaceId"))
268
+ StopRequest.struct_class = Types::StopRequest
256
269
 
257
- StartRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "WorkspaceId"))
258
- StartRequest.struct_class = Types::StartRequest
270
+ StopWorkspaceRequests.member = Shapes::ShapeRef.new(shape: StopRequest)
259
271
 
260
- StartWorkspaceRequests.member = Shapes::ShapeRef.new(shape: StartRequest)
272
+ StopWorkspacesRequest.add_member(:stop_workspace_requests, Shapes::ShapeRef.new(shape: StopWorkspaceRequests, required: true, location_name: "StopWorkspaceRequests"))
273
+ StopWorkspacesRequest.struct_class = Types::StopWorkspacesRequest
261
274
 
262
- StartWorkspacesRequest.add_member(:start_workspace_requests, Shapes::ShapeRef.new(shape: StartWorkspaceRequests, required: true, location_name: "StartWorkspaceRequests"))
263
- StartWorkspacesRequest.struct_class = Types::StartWorkspacesRequest
275
+ StopWorkspacesResult.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedStopWorkspaceRequests, location_name: "FailedRequests"))
276
+ StopWorkspacesResult.struct_class = Types::StopWorkspacesResult
264
277
 
265
- StartWorkspacesResult.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedStartWorkspaceRequests, location_name: "FailedRequests"))
266
- StartWorkspacesResult.struct_class = Types::StartWorkspacesResult
278
+ SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
267
279
 
268
- StopRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "WorkspaceId"))
269
- StopRequest.struct_class = Types::StopRequest
280
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
281
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
282
+ Tag.struct_class = Types::Tag
270
283
 
271
- StopWorkspaceRequests.member = Shapes::ShapeRef.new(shape: StopRequest)
284
+ TagKeyList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
272
285
 
273
- StopWorkspacesRequest.add_member(:stop_workspace_requests, Shapes::ShapeRef.new(shape: StopWorkspaceRequests, required: true, location_name: "StopWorkspaceRequests"))
274
- StopWorkspacesRequest.struct_class = Types::StopWorkspacesRequest
286
+ TagList.member = Shapes::ShapeRef.new(shape: Tag)
275
287
 
276
- StopWorkspacesResult.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedStopWorkspaceRequests, location_name: "FailedRequests"))
277
- StopWorkspacesResult.struct_class = Types::StopWorkspacesResult
288
+ TerminateRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "WorkspaceId"))
289
+ TerminateRequest.struct_class = Types::TerminateRequest
278
290
 
279
- SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
291
+ TerminateWorkspaceRequests.member = Shapes::ShapeRef.new(shape: TerminateRequest)
280
292
 
281
- Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
282
- Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
283
- Tag.struct_class = Types::Tag
293
+ TerminateWorkspacesRequest.add_member(:terminate_workspace_requests, Shapes::ShapeRef.new(shape: TerminateWorkspaceRequests, required: true, location_name: "TerminateWorkspaceRequests"))
294
+ TerminateWorkspacesRequest.struct_class = Types::TerminateWorkspacesRequest
284
295
 
285
- TagKeyList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
296
+ TerminateWorkspacesResult.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedTerminateWorkspaceRequests, location_name: "FailedRequests"))
297
+ TerminateWorkspacesResult.struct_class = Types::TerminateWorkspacesResult
286
298
 
287
- TagList.member = Shapes::ShapeRef.new(shape: Tag)
299
+ UserStorage.add_member(:capacity, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Capacity"))
300
+ UserStorage.struct_class = Types::UserStorage
288
301
 
289
- TerminateRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "WorkspaceId"))
290
- TerminateRequest.struct_class = Types::TerminateRequest
302
+ Workspace.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "WorkspaceId"))
303
+ Workspace.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
304
+ Workspace.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, location_name: "UserName"))
305
+ Workspace.add_member(:ip_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "IpAddress"))
306
+ Workspace.add_member(:state, Shapes::ShapeRef.new(shape: WorkspaceState, location_name: "State"))
307
+ Workspace.add_member(:bundle_id, Shapes::ShapeRef.new(shape: BundleId, location_name: "BundleId"))
308
+ Workspace.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId"))
309
+ Workspace.add_member(:error_message, Shapes::ShapeRef.new(shape: Description, location_name: "ErrorMessage"))
310
+ Workspace.add_member(:error_code, Shapes::ShapeRef.new(shape: WorkspaceErrorCode, location_name: "ErrorCode"))
311
+ Workspace.add_member(:computer_name, Shapes::ShapeRef.new(shape: ComputerName, location_name: "ComputerName"))
312
+ Workspace.add_member(:volume_encryption_key, Shapes::ShapeRef.new(shape: VolumeEncryptionKey, location_name: "VolumeEncryptionKey"))
313
+ Workspace.add_member(:user_volume_encryption_enabled, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "UserVolumeEncryptionEnabled"))
314
+ Workspace.add_member(:root_volume_encryption_enabled, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "RootVolumeEncryptionEnabled"))
315
+ Workspace.add_member(:workspace_properties, Shapes::ShapeRef.new(shape: WorkspaceProperties, location_name: "WorkspaceProperties"))
316
+ Workspace.struct_class = Types::Workspace
291
317
 
292
- TerminateWorkspaceRequests.member = Shapes::ShapeRef.new(shape: TerminateRequest)
318
+ WorkspaceBundle.add_member(:bundle_id, Shapes::ShapeRef.new(shape: BundleId, location_name: "BundleId"))
319
+ WorkspaceBundle.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Name"))
320
+ WorkspaceBundle.add_member(:owner, Shapes::ShapeRef.new(shape: BundleOwner, location_name: "Owner"))
321
+ WorkspaceBundle.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
322
+ WorkspaceBundle.add_member(:user_storage, Shapes::ShapeRef.new(shape: UserStorage, location_name: "UserStorage"))
323
+ WorkspaceBundle.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, location_name: "ComputeType"))
324
+ WorkspaceBundle.struct_class = Types::WorkspaceBundle
293
325
 
294
- TerminateWorkspacesRequest.add_member(:terminate_workspace_requests, Shapes::ShapeRef.new(shape: TerminateWorkspaceRequests, required: true, location_name: "TerminateWorkspaceRequests"))
295
- TerminateWorkspacesRequest.struct_class = Types::TerminateWorkspacesRequest
326
+ WorkspaceConnectionStatus.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "WorkspaceId"))
327
+ WorkspaceConnectionStatus.add_member(:connection_state, Shapes::ShapeRef.new(shape: ConnectionState, location_name: "ConnectionState"))
328
+ WorkspaceConnectionStatus.add_member(:connection_state_check_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ConnectionStateCheckTimestamp"))
329
+ WorkspaceConnectionStatus.add_member(:last_known_user_connection_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastKnownUserConnectionTimestamp"))
330
+ WorkspaceConnectionStatus.struct_class = Types::WorkspaceConnectionStatus
296
331
 
297
- TerminateWorkspacesResult.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedTerminateWorkspaceRequests, location_name: "FailedRequests"))
298
- TerminateWorkspacesResult.struct_class = Types::TerminateWorkspacesResult
332
+ WorkspaceConnectionStatusList.member = Shapes::ShapeRef.new(shape: WorkspaceConnectionStatus)
299
333
 
300
- UserStorage.add_member(:capacity, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Capacity"))
301
- UserStorage.struct_class = Types::UserStorage
334
+ WorkspaceDirectory.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
335
+ WorkspaceDirectory.add_member(:alias, Shapes::ShapeRef.new(shape: Alias, location_name: "Alias"))
336
+ WorkspaceDirectory.add_member(:directory_name, Shapes::ShapeRef.new(shape: DirectoryName, location_name: "DirectoryName"))
337
+ WorkspaceDirectory.add_member(:registration_code, Shapes::ShapeRef.new(shape: RegistrationCode, location_name: "RegistrationCode"))
338
+ WorkspaceDirectory.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "SubnetIds"))
339
+ WorkspaceDirectory.add_member(:dns_ip_addresses, Shapes::ShapeRef.new(shape: DnsIpAddresses, location_name: "DnsIpAddresses"))
340
+ WorkspaceDirectory.add_member(:customer_user_name, Shapes::ShapeRef.new(shape: UserName, location_name: "CustomerUserName"))
341
+ WorkspaceDirectory.add_member(:iam_role_id, Shapes::ShapeRef.new(shape: ARN, location_name: "IamRoleId"))
342
+ WorkspaceDirectory.add_member(:directory_type, Shapes::ShapeRef.new(shape: WorkspaceDirectoryType, location_name: "DirectoryType"))
343
+ WorkspaceDirectory.add_member(:workspace_security_group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "WorkspaceSecurityGroupId"))
344
+ WorkspaceDirectory.add_member(:state, Shapes::ShapeRef.new(shape: WorkspaceDirectoryState, location_name: "State"))
345
+ WorkspaceDirectory.add_member(:workspace_creation_properties, Shapes::ShapeRef.new(shape: DefaultWorkspaceCreationProperties, location_name: "WorkspaceCreationProperties"))
346
+ WorkspaceDirectory.struct_class = Types::WorkspaceDirectory
302
347
 
303
- Workspace.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "WorkspaceId"))
304
- Workspace.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
305
- Workspace.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, location_name: "UserName"))
306
- Workspace.add_member(:ip_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "IpAddress"))
307
- Workspace.add_member(:state, Shapes::ShapeRef.new(shape: WorkspaceState, location_name: "State"))
308
- Workspace.add_member(:bundle_id, Shapes::ShapeRef.new(shape: BundleId, location_name: "BundleId"))
309
- Workspace.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId"))
310
- Workspace.add_member(:error_message, Shapes::ShapeRef.new(shape: Description, location_name: "ErrorMessage"))
311
- Workspace.add_member(:error_code, Shapes::ShapeRef.new(shape: WorkspaceErrorCode, location_name: "ErrorCode"))
312
- Workspace.add_member(:computer_name, Shapes::ShapeRef.new(shape: ComputerName, location_name: "ComputerName"))
313
- Workspace.add_member(:volume_encryption_key, Shapes::ShapeRef.new(shape: VolumeEncryptionKey, location_name: "VolumeEncryptionKey"))
314
- Workspace.add_member(:user_volume_encryption_enabled, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "UserVolumeEncryptionEnabled"))
315
- Workspace.add_member(:root_volume_encryption_enabled, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "RootVolumeEncryptionEnabled"))
316
- Workspace.add_member(:workspace_properties, Shapes::ShapeRef.new(shape: WorkspaceProperties, location_name: "WorkspaceProperties"))
317
- Workspace.struct_class = Types::Workspace
318
-
319
- WorkspaceBundle.add_member(:bundle_id, Shapes::ShapeRef.new(shape: BundleId, location_name: "BundleId"))
320
- WorkspaceBundle.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Name"))
321
- WorkspaceBundle.add_member(:owner, Shapes::ShapeRef.new(shape: BundleOwner, location_name: "Owner"))
322
- WorkspaceBundle.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
323
- WorkspaceBundle.add_member(:user_storage, Shapes::ShapeRef.new(shape: UserStorage, location_name: "UserStorage"))
324
- WorkspaceBundle.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, location_name: "ComputeType"))
325
- WorkspaceBundle.struct_class = Types::WorkspaceBundle
326
-
327
- WorkspaceConnectionStatus.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "WorkspaceId"))
328
- WorkspaceConnectionStatus.add_member(:connection_state, Shapes::ShapeRef.new(shape: ConnectionState, location_name: "ConnectionState"))
329
- WorkspaceConnectionStatus.add_member(:connection_state_check_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ConnectionStateCheckTimestamp"))
330
- WorkspaceConnectionStatus.add_member(:last_known_user_connection_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastKnownUserConnectionTimestamp"))
331
- WorkspaceConnectionStatus.struct_class = Types::WorkspaceConnectionStatus
332
-
333
- WorkspaceConnectionStatusList.member = Shapes::ShapeRef.new(shape: WorkspaceConnectionStatus)
334
-
335
- WorkspaceDirectory.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
336
- WorkspaceDirectory.add_member(:alias, Shapes::ShapeRef.new(shape: Alias, location_name: "Alias"))
337
- WorkspaceDirectory.add_member(:directory_name, Shapes::ShapeRef.new(shape: DirectoryName, location_name: "DirectoryName"))
338
- WorkspaceDirectory.add_member(:registration_code, Shapes::ShapeRef.new(shape: RegistrationCode, location_name: "RegistrationCode"))
339
- WorkspaceDirectory.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "SubnetIds"))
340
- WorkspaceDirectory.add_member(:dns_ip_addresses, Shapes::ShapeRef.new(shape: DnsIpAddresses, location_name: "DnsIpAddresses"))
341
- WorkspaceDirectory.add_member(:customer_user_name, Shapes::ShapeRef.new(shape: UserName, location_name: "CustomerUserName"))
342
- WorkspaceDirectory.add_member(:iam_role_id, Shapes::ShapeRef.new(shape: ARN, location_name: "IamRoleId"))
343
- WorkspaceDirectory.add_member(:directory_type, Shapes::ShapeRef.new(shape: WorkspaceDirectoryType, location_name: "DirectoryType"))
344
- WorkspaceDirectory.add_member(:workspace_security_group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "WorkspaceSecurityGroupId"))
345
- WorkspaceDirectory.add_member(:state, Shapes::ShapeRef.new(shape: WorkspaceDirectoryState, location_name: "State"))
346
- WorkspaceDirectory.add_member(:workspace_creation_properties, Shapes::ShapeRef.new(shape: DefaultWorkspaceCreationProperties, location_name: "WorkspaceCreationProperties"))
347
- WorkspaceDirectory.struct_class = Types::WorkspaceDirectory
348
-
349
- WorkspaceIdList.member = Shapes::ShapeRef.new(shape: WorkspaceId)
350
-
351
- WorkspaceList.member = Shapes::ShapeRef.new(shape: Workspace)
352
-
353
- WorkspaceProperties.add_member(:running_mode, Shapes::ShapeRef.new(shape: RunningMode, location_name: "RunningMode"))
354
- WorkspaceProperties.add_member(:running_mode_auto_stop_timeout_in_minutes, Shapes::ShapeRef.new(shape: RunningModeAutoStopTimeoutInMinutes, location_name: "RunningModeAutoStopTimeoutInMinutes"))
355
- WorkspaceProperties.struct_class = Types::WorkspaceProperties
356
-
357
- WorkspaceRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
358
- WorkspaceRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "UserName"))
359
- WorkspaceRequest.add_member(:bundle_id, Shapes::ShapeRef.new(shape: BundleId, required: true, location_name: "BundleId"))
360
- WorkspaceRequest.add_member(:volume_encryption_key, Shapes::ShapeRef.new(shape: VolumeEncryptionKey, location_name: "VolumeEncryptionKey"))
361
- WorkspaceRequest.add_member(:user_volume_encryption_enabled, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "UserVolumeEncryptionEnabled"))
362
- WorkspaceRequest.add_member(:root_volume_encryption_enabled, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "RootVolumeEncryptionEnabled"))
363
- WorkspaceRequest.add_member(:workspace_properties, Shapes::ShapeRef.new(shape: WorkspaceProperties, location_name: "WorkspaceProperties"))
364
- WorkspaceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
365
- WorkspaceRequest.struct_class = Types::WorkspaceRequest
366
-
367
- WorkspaceRequestList.member = Shapes::ShapeRef.new(shape: WorkspaceRequest)
368
-
369
-
370
- # @api private
371
- API = Seahorse::Model::Api.new.tap do |api|
372
-
373
- api.version = "2015-04-08"
374
-
375
- api.metadata = {
376
- "endpointPrefix" => "workspaces",
377
- "jsonVersion" => "1.1",
378
- "protocol" => "json",
379
- "serviceFullName" => "Amazon WorkSpaces",
380
- "signatureVersion" => "v4",
381
- "targetPrefix" => "WorkspacesService",
382
- }
383
-
384
- api.add_operation(:create_tags, Seahorse::Model::Operation.new.tap do |o|
385
- o.name = "CreateTags"
386
- o.http_method = "POST"
387
- o.http_request_uri = "/"
388
- o.input = Shapes::ShapeRef.new(shape: CreateTagsRequest)
389
- o.output = Shapes::ShapeRef.new(shape: CreateTagsResult)
390
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
391
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
392
- o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
393
- end)
394
-
395
- api.add_operation(:create_workspaces, Seahorse::Model::Operation.new.tap do |o|
396
- o.name = "CreateWorkspaces"
397
- o.http_method = "POST"
398
- o.http_request_uri = "/"
399
- o.input = Shapes::ShapeRef.new(shape: CreateWorkspacesRequest)
400
- o.output = Shapes::ShapeRef.new(shape: CreateWorkspacesResult)
401
- o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
402
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
403
- end)
404
-
405
- api.add_operation(:delete_tags, Seahorse::Model::Operation.new.tap do |o|
406
- o.name = "DeleteTags"
407
- o.http_method = "POST"
408
- o.http_request_uri = "/"
409
- o.input = Shapes::ShapeRef.new(shape: DeleteTagsRequest)
410
- o.output = Shapes::ShapeRef.new(shape: DeleteTagsResult)
411
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
412
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
413
- end)
414
-
415
- api.add_operation(:describe_tags, Seahorse::Model::Operation.new.tap do |o|
416
- o.name = "DescribeTags"
417
- o.http_method = "POST"
418
- o.http_request_uri = "/"
419
- o.input = Shapes::ShapeRef.new(shape: DescribeTagsRequest)
420
- o.output = Shapes::ShapeRef.new(shape: DescribeTagsResult)
421
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
422
- end)
423
-
424
- api.add_operation(:describe_workspace_bundles, Seahorse::Model::Operation.new.tap do |o|
425
- o.name = "DescribeWorkspaceBundles"
426
- o.http_method = "POST"
427
- o.http_request_uri = "/"
428
- o.input = Shapes::ShapeRef.new(shape: DescribeWorkspaceBundlesRequest)
429
- o.output = Shapes::ShapeRef.new(shape: DescribeWorkspaceBundlesResult)
430
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
431
- o[:pager] = Aws::Pager.new(
432
- tokens: {
433
- "next_token" => "next_token"
434
- }
435
- )
436
- end)
437
-
438
- api.add_operation(:describe_workspace_directories, Seahorse::Model::Operation.new.tap do |o|
439
- o.name = "DescribeWorkspaceDirectories"
440
- o.http_method = "POST"
441
- o.http_request_uri = "/"
442
- o.input = Shapes::ShapeRef.new(shape: DescribeWorkspaceDirectoriesRequest)
443
- o.output = Shapes::ShapeRef.new(shape: DescribeWorkspaceDirectoriesResult)
444
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
445
- o[:pager] = Aws::Pager.new(
446
- tokens: {
447
- "next_token" => "next_token"
448
- }
449
- )
450
- end)
451
-
452
- api.add_operation(:describe_workspaces, Seahorse::Model::Operation.new.tap do |o|
453
- o.name = "DescribeWorkspaces"
454
- o.http_method = "POST"
455
- o.http_request_uri = "/"
456
- o.input = Shapes::ShapeRef.new(shape: DescribeWorkspacesRequest)
457
- o.output = Shapes::ShapeRef.new(shape: DescribeWorkspacesResult)
458
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
459
- o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
460
- o[:pager] = Aws::Pager.new(
461
- limit_key: "limit",
462
- tokens: {
463
- "next_token" => "next_token"
464
- }
465
- )
466
- end)
467
-
468
- api.add_operation(:describe_workspaces_connection_status, Seahorse::Model::Operation.new.tap do |o|
469
- o.name = "DescribeWorkspacesConnectionStatus"
470
- o.http_method = "POST"
471
- o.http_request_uri = "/"
472
- o.input = Shapes::ShapeRef.new(shape: DescribeWorkspacesConnectionStatusRequest)
473
- o.output = Shapes::ShapeRef.new(shape: DescribeWorkspacesConnectionStatusResult)
474
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
475
- end)
476
-
477
- api.add_operation(:modify_workspace_properties, Seahorse::Model::Operation.new.tap do |o|
478
- o.name = "ModifyWorkspaceProperties"
479
- o.http_method = "POST"
480
- o.http_request_uri = "/"
481
- o.input = Shapes::ShapeRef.new(shape: ModifyWorkspacePropertiesRequest)
482
- o.output = Shapes::ShapeRef.new(shape: ModifyWorkspacePropertiesResult)
483
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
484
- o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateException)
485
- o.errors << Shapes::ShapeRef.new(shape: OperationInProgressException)
486
- o.errors << Shapes::ShapeRef.new(shape: UnsupportedWorkspaceConfigurationException)
487
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
488
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
489
- o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
490
- end)
491
-
492
- api.add_operation(:reboot_workspaces, Seahorse::Model::Operation.new.tap do |o|
493
- o.name = "RebootWorkspaces"
494
- o.http_method = "POST"
495
- o.http_request_uri = "/"
496
- o.input = Shapes::ShapeRef.new(shape: RebootWorkspacesRequest)
497
- o.output = Shapes::ShapeRef.new(shape: RebootWorkspacesResult)
498
- end)
499
-
500
- api.add_operation(:rebuild_workspaces, Seahorse::Model::Operation.new.tap do |o|
501
- o.name = "RebuildWorkspaces"
502
- o.http_method = "POST"
503
- o.http_request_uri = "/"
504
- o.input = Shapes::ShapeRef.new(shape: RebuildWorkspacesRequest)
505
- o.output = Shapes::ShapeRef.new(shape: RebuildWorkspacesResult)
506
- end)
507
-
508
- api.add_operation(:start_workspaces, Seahorse::Model::Operation.new.tap do |o|
509
- o.name = "StartWorkspaces"
510
- o.http_method = "POST"
511
- o.http_request_uri = "/"
512
- o.input = Shapes::ShapeRef.new(shape: StartWorkspacesRequest)
513
- o.output = Shapes::ShapeRef.new(shape: StartWorkspacesResult)
514
- end)
515
-
516
- api.add_operation(:stop_workspaces, Seahorse::Model::Operation.new.tap do |o|
517
- o.name = "StopWorkspaces"
518
- o.http_method = "POST"
519
- o.http_request_uri = "/"
520
- o.input = Shapes::ShapeRef.new(shape: StopWorkspacesRequest)
521
- o.output = Shapes::ShapeRef.new(shape: StopWorkspacesResult)
522
- end)
523
-
524
- api.add_operation(:terminate_workspaces, Seahorse::Model::Operation.new.tap do |o|
525
- o.name = "TerminateWorkspaces"
526
- o.http_method = "POST"
527
- o.http_request_uri = "/"
528
- o.input = Shapes::ShapeRef.new(shape: TerminateWorkspacesRequest)
529
- o.output = Shapes::ShapeRef.new(shape: TerminateWorkspacesResult)
530
- end)
531
- end
348
+ WorkspaceIdList.member = Shapes::ShapeRef.new(shape: WorkspaceId)
532
349
 
350
+ WorkspaceList.member = Shapes::ShapeRef.new(shape: Workspace)
351
+
352
+ WorkspaceProperties.add_member(:running_mode, Shapes::ShapeRef.new(shape: RunningMode, location_name: "RunningMode"))
353
+ WorkspaceProperties.add_member(:running_mode_auto_stop_timeout_in_minutes, Shapes::ShapeRef.new(shape: RunningModeAutoStopTimeoutInMinutes, location_name: "RunningModeAutoStopTimeoutInMinutes"))
354
+ WorkspaceProperties.struct_class = Types::WorkspaceProperties
355
+
356
+ WorkspaceRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
357
+ WorkspaceRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "UserName"))
358
+ WorkspaceRequest.add_member(:bundle_id, Shapes::ShapeRef.new(shape: BundleId, required: true, location_name: "BundleId"))
359
+ WorkspaceRequest.add_member(:volume_encryption_key, Shapes::ShapeRef.new(shape: VolumeEncryptionKey, location_name: "VolumeEncryptionKey"))
360
+ WorkspaceRequest.add_member(:user_volume_encryption_enabled, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "UserVolumeEncryptionEnabled"))
361
+ WorkspaceRequest.add_member(:root_volume_encryption_enabled, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "RootVolumeEncryptionEnabled"))
362
+ WorkspaceRequest.add_member(:workspace_properties, Shapes::ShapeRef.new(shape: WorkspaceProperties, location_name: "WorkspaceProperties"))
363
+ WorkspaceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
364
+ WorkspaceRequest.struct_class = Types::WorkspaceRequest
365
+
366
+ WorkspaceRequestList.member = Shapes::ShapeRef.new(shape: WorkspaceRequest)
367
+
368
+
369
+ # @api private
370
+ API = Seahorse::Model::Api.new.tap do |api|
371
+
372
+ api.version = "2015-04-08"
373
+
374
+ api.metadata = {
375
+ "endpointPrefix" => "workspaces",
376
+ "jsonVersion" => "1.1",
377
+ "protocol" => "json",
378
+ "serviceFullName" => "Amazon WorkSpaces",
379
+ "signatureVersion" => "v4",
380
+ "targetPrefix" => "WorkspacesService",
381
+ }
382
+
383
+ api.add_operation(:create_tags, Seahorse::Model::Operation.new.tap do |o|
384
+ o.name = "CreateTags"
385
+ o.http_method = "POST"
386
+ o.http_request_uri = "/"
387
+ o.input = Shapes::ShapeRef.new(shape: CreateTagsRequest)
388
+ o.output = Shapes::ShapeRef.new(shape: CreateTagsResult)
389
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
390
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
391
+ o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
392
+ end)
393
+
394
+ api.add_operation(:create_workspaces, Seahorse::Model::Operation.new.tap do |o|
395
+ o.name = "CreateWorkspaces"
396
+ o.http_method = "POST"
397
+ o.http_request_uri = "/"
398
+ o.input = Shapes::ShapeRef.new(shape: CreateWorkspacesRequest)
399
+ o.output = Shapes::ShapeRef.new(shape: CreateWorkspacesResult)
400
+ o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
401
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
402
+ end)
403
+
404
+ api.add_operation(:delete_tags, Seahorse::Model::Operation.new.tap do |o|
405
+ o.name = "DeleteTags"
406
+ o.http_method = "POST"
407
+ o.http_request_uri = "/"
408
+ o.input = Shapes::ShapeRef.new(shape: DeleteTagsRequest)
409
+ o.output = Shapes::ShapeRef.new(shape: DeleteTagsResult)
410
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
411
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
412
+ end)
413
+
414
+ api.add_operation(:describe_tags, Seahorse::Model::Operation.new.tap do |o|
415
+ o.name = "DescribeTags"
416
+ o.http_method = "POST"
417
+ o.http_request_uri = "/"
418
+ o.input = Shapes::ShapeRef.new(shape: DescribeTagsRequest)
419
+ o.output = Shapes::ShapeRef.new(shape: DescribeTagsResult)
420
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
421
+ end)
422
+
423
+ api.add_operation(:describe_workspace_bundles, Seahorse::Model::Operation.new.tap do |o|
424
+ o.name = "DescribeWorkspaceBundles"
425
+ o.http_method = "POST"
426
+ o.http_request_uri = "/"
427
+ o.input = Shapes::ShapeRef.new(shape: DescribeWorkspaceBundlesRequest)
428
+ o.output = Shapes::ShapeRef.new(shape: DescribeWorkspaceBundlesResult)
429
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
430
+ o[:pager] = Aws::Pager.new(
431
+ tokens: {
432
+ "next_token" => "next_token"
433
+ }
434
+ )
435
+ end)
436
+
437
+ api.add_operation(:describe_workspace_directories, Seahorse::Model::Operation.new.tap do |o|
438
+ o.name = "DescribeWorkspaceDirectories"
439
+ o.http_method = "POST"
440
+ o.http_request_uri = "/"
441
+ o.input = Shapes::ShapeRef.new(shape: DescribeWorkspaceDirectoriesRequest)
442
+ o.output = Shapes::ShapeRef.new(shape: DescribeWorkspaceDirectoriesResult)
443
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
444
+ o[:pager] = Aws::Pager.new(
445
+ tokens: {
446
+ "next_token" => "next_token"
447
+ }
448
+ )
449
+ end)
450
+
451
+ api.add_operation(:describe_workspaces, Seahorse::Model::Operation.new.tap do |o|
452
+ o.name = "DescribeWorkspaces"
453
+ o.http_method = "POST"
454
+ o.http_request_uri = "/"
455
+ o.input = Shapes::ShapeRef.new(shape: DescribeWorkspacesRequest)
456
+ o.output = Shapes::ShapeRef.new(shape: DescribeWorkspacesResult)
457
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
458
+ o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
459
+ o[:pager] = Aws::Pager.new(
460
+ limit_key: "limit",
461
+ tokens: {
462
+ "next_token" => "next_token"
463
+ }
464
+ )
465
+ end)
466
+
467
+ api.add_operation(:describe_workspaces_connection_status, Seahorse::Model::Operation.new.tap do |o|
468
+ o.name = "DescribeWorkspacesConnectionStatus"
469
+ o.http_method = "POST"
470
+ o.http_request_uri = "/"
471
+ o.input = Shapes::ShapeRef.new(shape: DescribeWorkspacesConnectionStatusRequest)
472
+ o.output = Shapes::ShapeRef.new(shape: DescribeWorkspacesConnectionStatusResult)
473
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
474
+ end)
475
+
476
+ api.add_operation(:modify_workspace_properties, Seahorse::Model::Operation.new.tap do |o|
477
+ o.name = "ModifyWorkspaceProperties"
478
+ o.http_method = "POST"
479
+ o.http_request_uri = "/"
480
+ o.input = Shapes::ShapeRef.new(shape: ModifyWorkspacePropertiesRequest)
481
+ o.output = Shapes::ShapeRef.new(shape: ModifyWorkspacePropertiesResult)
482
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
483
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateException)
484
+ o.errors << Shapes::ShapeRef.new(shape: OperationInProgressException)
485
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedWorkspaceConfigurationException)
486
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
487
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
488
+ o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
489
+ end)
490
+
491
+ api.add_operation(:reboot_workspaces, Seahorse::Model::Operation.new.tap do |o|
492
+ o.name = "RebootWorkspaces"
493
+ o.http_method = "POST"
494
+ o.http_request_uri = "/"
495
+ o.input = Shapes::ShapeRef.new(shape: RebootWorkspacesRequest)
496
+ o.output = Shapes::ShapeRef.new(shape: RebootWorkspacesResult)
497
+ end)
498
+
499
+ api.add_operation(:rebuild_workspaces, Seahorse::Model::Operation.new.tap do |o|
500
+ o.name = "RebuildWorkspaces"
501
+ o.http_method = "POST"
502
+ o.http_request_uri = "/"
503
+ o.input = Shapes::ShapeRef.new(shape: RebuildWorkspacesRequest)
504
+ o.output = Shapes::ShapeRef.new(shape: RebuildWorkspacesResult)
505
+ end)
506
+
507
+ api.add_operation(:start_workspaces, Seahorse::Model::Operation.new.tap do |o|
508
+ o.name = "StartWorkspaces"
509
+ o.http_method = "POST"
510
+ o.http_request_uri = "/"
511
+ o.input = Shapes::ShapeRef.new(shape: StartWorkspacesRequest)
512
+ o.output = Shapes::ShapeRef.new(shape: StartWorkspacesResult)
513
+ end)
514
+
515
+ api.add_operation(:stop_workspaces, Seahorse::Model::Operation.new.tap do |o|
516
+ o.name = "StopWorkspaces"
517
+ o.http_method = "POST"
518
+ o.http_request_uri = "/"
519
+ o.input = Shapes::ShapeRef.new(shape: StopWorkspacesRequest)
520
+ o.output = Shapes::ShapeRef.new(shape: StopWorkspacesResult)
521
+ end)
522
+
523
+ api.add_operation(:terminate_workspaces, Seahorse::Model::Operation.new.tap do |o|
524
+ o.name = "TerminateWorkspaces"
525
+ o.http_method = "POST"
526
+ o.http_request_uri = "/"
527
+ o.input = Shapes::ShapeRef.new(shape: TerminateWorkspacesRequest)
528
+ o.output = Shapes::ShapeRef.new(shape: TerminateWorkspacesResult)
529
+ end)
533
530
  end
531
+
534
532
  end
535
533
  end