aws-sdk-pcs 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,777 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::PCS
11
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ AmiId = Shapes::StringShape.new(name: 'AmiId')
18
+ Arn = Shapes::StringShape.new(name: 'Arn')
19
+ BootstrapId = Shapes::StringShape.new(name: 'BootstrapId')
20
+ Cluster = Shapes::StructureShape.new(name: 'Cluster')
21
+ ClusterIdentifier = Shapes::StringShape.new(name: 'ClusterIdentifier')
22
+ ClusterList = Shapes::ListShape.new(name: 'ClusterList')
23
+ ClusterName = Shapes::StringShape.new(name: 'ClusterName')
24
+ ClusterSlurmConfiguration = Shapes::StructureShape.new(name: 'ClusterSlurmConfiguration')
25
+ ClusterSlurmConfigurationRequest = Shapes::StructureShape.new(name: 'ClusterSlurmConfigurationRequest')
26
+ ClusterSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger = Shapes::IntegerShape.new(name: 'ClusterSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger')
27
+ ClusterSlurmConfigurationScaleDownIdleTimeInSecondsInteger = Shapes::IntegerShape.new(name: 'ClusterSlurmConfigurationScaleDownIdleTimeInSecondsInteger')
28
+ ClusterStatus = Shapes::StringShape.new(name: 'ClusterStatus')
29
+ ClusterSummary = Shapes::StructureShape.new(name: 'ClusterSummary')
30
+ ComputeNodeGroup = Shapes::StructureShape.new(name: 'ComputeNodeGroup')
31
+ ComputeNodeGroupConfiguration = Shapes::StructureShape.new(name: 'ComputeNodeGroupConfiguration')
32
+ ComputeNodeGroupConfigurationList = Shapes::ListShape.new(name: 'ComputeNodeGroupConfigurationList')
33
+ ComputeNodeGroupIdentifier = Shapes::StringShape.new(name: 'ComputeNodeGroupIdentifier')
34
+ ComputeNodeGroupList = Shapes::ListShape.new(name: 'ComputeNodeGroupList')
35
+ ComputeNodeGroupName = Shapes::StringShape.new(name: 'ComputeNodeGroupName')
36
+ ComputeNodeGroupSlurmConfiguration = Shapes::StructureShape.new(name: 'ComputeNodeGroupSlurmConfiguration')
37
+ ComputeNodeGroupSlurmConfigurationRequest = Shapes::StructureShape.new(name: 'ComputeNodeGroupSlurmConfigurationRequest')
38
+ ComputeNodeGroupStatus = Shapes::StringShape.new(name: 'ComputeNodeGroupStatus')
39
+ ComputeNodeGroupSummary = Shapes::StructureShape.new(name: 'ComputeNodeGroupSummary')
40
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
41
+ CreateClusterRequest = Shapes::StructureShape.new(name: 'CreateClusterRequest')
42
+ CreateClusterResponse = Shapes::StructureShape.new(name: 'CreateClusterResponse')
43
+ CreateComputeNodeGroupRequest = Shapes::StructureShape.new(name: 'CreateComputeNodeGroupRequest')
44
+ CreateComputeNodeGroupResponse = Shapes::StructureShape.new(name: 'CreateComputeNodeGroupResponse')
45
+ CreateQueueRequest = Shapes::StructureShape.new(name: 'CreateQueueRequest')
46
+ CreateQueueResponse = Shapes::StructureShape.new(name: 'CreateQueueResponse')
47
+ CustomLaunchTemplate = Shapes::StructureShape.new(name: 'CustomLaunchTemplate')
48
+ DeleteClusterRequest = Shapes::StructureShape.new(name: 'DeleteClusterRequest')
49
+ DeleteClusterResponse = Shapes::StructureShape.new(name: 'DeleteClusterResponse')
50
+ DeleteComputeNodeGroupRequest = Shapes::StructureShape.new(name: 'DeleteComputeNodeGroupRequest')
51
+ DeleteComputeNodeGroupResponse = Shapes::StructureShape.new(name: 'DeleteComputeNodeGroupResponse')
52
+ DeleteQueueRequest = Shapes::StructureShape.new(name: 'DeleteQueueRequest')
53
+ DeleteQueueResponse = Shapes::StructureShape.new(name: 'DeleteQueueResponse')
54
+ Endpoint = Shapes::StructureShape.new(name: 'Endpoint')
55
+ EndpointType = Shapes::StringShape.new(name: 'EndpointType')
56
+ Endpoints = Shapes::ListShape.new(name: 'Endpoints')
57
+ ErrorInfo = Shapes::StructureShape.new(name: 'ErrorInfo')
58
+ ErrorInfoList = Shapes::ListShape.new(name: 'ErrorInfoList')
59
+ GetClusterRequest = Shapes::StructureShape.new(name: 'GetClusterRequest')
60
+ GetClusterResponse = Shapes::StructureShape.new(name: 'GetClusterResponse')
61
+ GetComputeNodeGroupRequest = Shapes::StructureShape.new(name: 'GetComputeNodeGroupRequest')
62
+ GetComputeNodeGroupResponse = Shapes::StructureShape.new(name: 'GetComputeNodeGroupResponse')
63
+ GetQueueRequest = Shapes::StructureShape.new(name: 'GetQueueRequest')
64
+ GetQueueResponse = Shapes::StructureShape.new(name: 'GetQueueResponse')
65
+ InstanceConfig = Shapes::StructureShape.new(name: 'InstanceConfig')
66
+ InstanceList = Shapes::ListShape.new(name: 'InstanceList')
67
+ InstanceProfileArn = Shapes::StringShape.new(name: 'InstanceProfileArn')
68
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
69
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
70
+ ListClustersRequest = Shapes::StructureShape.new(name: 'ListClustersRequest')
71
+ ListClustersResponse = Shapes::StructureShape.new(name: 'ListClustersResponse')
72
+ ListComputeNodeGroupsRequest = Shapes::StructureShape.new(name: 'ListComputeNodeGroupsRequest')
73
+ ListComputeNodeGroupsResponse = Shapes::StructureShape.new(name: 'ListComputeNodeGroupsResponse')
74
+ ListQueuesRequest = Shapes::StructureShape.new(name: 'ListQueuesRequest')
75
+ ListQueuesResponse = Shapes::StructureShape.new(name: 'ListQueuesResponse')
76
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
77
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
78
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
79
+ Networking = Shapes::StructureShape.new(name: 'Networking')
80
+ NetworkingRequest = Shapes::StructureShape.new(name: 'NetworkingRequest')
81
+ PurchaseOption = Shapes::StringShape.new(name: 'PurchaseOption')
82
+ Queue = Shapes::StructureShape.new(name: 'Queue')
83
+ QueueIdentifier = Shapes::StringShape.new(name: 'QueueIdentifier')
84
+ QueueList = Shapes::ListShape.new(name: 'QueueList')
85
+ QueueName = Shapes::StringShape.new(name: 'QueueName')
86
+ QueueStatus = Shapes::StringShape.new(name: 'QueueStatus')
87
+ QueueSummary = Shapes::StructureShape.new(name: 'QueueSummary')
88
+ RegisterComputeNodeGroupInstanceRequest = Shapes::StructureShape.new(name: 'RegisterComputeNodeGroupInstanceRequest')
89
+ RegisterComputeNodeGroupInstanceResponse = Shapes::StructureShape.new(name: 'RegisterComputeNodeGroupInstanceResponse')
90
+ RequestTagMap = Shapes::MapShape.new(name: 'RequestTagMap')
91
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
92
+ ResponseTagMap = Shapes::MapShape.new(name: 'ResponseTagMap')
93
+ SBClientToken = Shapes::StringShape.new(name: 'SBClientToken')
94
+ ScalingConfiguration = Shapes::StructureShape.new(name: 'ScalingConfiguration')
95
+ ScalingConfigurationMaxInstanceCountInteger = Shapes::IntegerShape.new(name: 'ScalingConfigurationMaxInstanceCountInteger')
96
+ ScalingConfigurationMinInstanceCountInteger = Shapes::IntegerShape.new(name: 'ScalingConfigurationMinInstanceCountInteger')
97
+ ScalingConfigurationRequest = Shapes::StructureShape.new(name: 'ScalingConfigurationRequest')
98
+ ScalingConfigurationRequestMaxInstanceCountInteger = Shapes::IntegerShape.new(name: 'ScalingConfigurationRequestMaxInstanceCountInteger')
99
+ ScalingConfigurationRequestMinInstanceCountInteger = Shapes::IntegerShape.new(name: 'ScalingConfigurationRequestMinInstanceCountInteger')
100
+ Scheduler = Shapes::StructureShape.new(name: 'Scheduler')
101
+ SchedulerRequest = Shapes::StructureShape.new(name: 'SchedulerRequest')
102
+ SchedulerType = Shapes::StringShape.new(name: 'SchedulerType')
103
+ SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
104
+ SecurityGroupIdList = Shapes::ListShape.new(name: 'SecurityGroupIdList')
105
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
106
+ SharedSecret = Shapes::StringShape.new(name: 'SharedSecret')
107
+ Size = Shapes::StringShape.new(name: 'Size')
108
+ SlurmAuthKey = Shapes::StructureShape.new(name: 'SlurmAuthKey')
109
+ SlurmCustomSetting = Shapes::StructureShape.new(name: 'SlurmCustomSetting')
110
+ SlurmCustomSettings = Shapes::ListShape.new(name: 'SlurmCustomSettings')
111
+ SpotAllocationStrategy = Shapes::StringShape.new(name: 'SpotAllocationStrategy')
112
+ SpotOptions = Shapes::StructureShape.new(name: 'SpotOptions')
113
+ String = Shapes::StringShape.new(name: 'String')
114
+ StringList = Shapes::ListShape.new(name: 'StringList')
115
+ SubnetId = Shapes::StringShape.new(name: 'SubnetId')
116
+ SubnetIdList = Shapes::ListShape.new(name: 'SubnetIdList')
117
+ SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
118
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
119
+ TagKeys = Shapes::ListShape.new(name: 'TagKeys')
120
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
121
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
122
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
123
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
124
+ UpdateComputeNodeGroupRequest = Shapes::StructureShape.new(name: 'UpdateComputeNodeGroupRequest')
125
+ UpdateComputeNodeGroupResponse = Shapes::StructureShape.new(name: 'UpdateComputeNodeGroupResponse')
126
+ UpdateComputeNodeGroupSlurmConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateComputeNodeGroupSlurmConfigurationRequest')
127
+ UpdateQueueRequest = Shapes::StructureShape.new(name: 'UpdateQueueRequest')
128
+ UpdateQueueResponse = Shapes::StructureShape.new(name: 'UpdateQueueResponse')
129
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
130
+ ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
131
+ ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
132
+ ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
133
+
134
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
135
+ AccessDeniedException.struct_class = Types::AccessDeniedException
136
+
137
+ Cluster.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
138
+ Cluster.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
139
+ Cluster.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
140
+ Cluster.add_member(:status, Shapes::ShapeRef.new(shape: ClusterStatus, required: true, location_name: "status"))
141
+ Cluster.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
142
+ Cluster.add_member(:modified_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "modifiedAt"))
143
+ Cluster.add_member(:scheduler, Shapes::ShapeRef.new(shape: Scheduler, required: true, location_name: "scheduler"))
144
+ Cluster.add_member(:size, Shapes::ShapeRef.new(shape: Size, required: true, location_name: "size"))
145
+ Cluster.add_member(:slurm_configuration, Shapes::ShapeRef.new(shape: ClusterSlurmConfiguration, location_name: "slurmConfiguration"))
146
+ Cluster.add_member(:networking, Shapes::ShapeRef.new(shape: Networking, required: true, location_name: "networking"))
147
+ Cluster.add_member(:endpoints, Shapes::ShapeRef.new(shape: Endpoints, location_name: "endpoints"))
148
+ Cluster.add_member(:error_info, Shapes::ShapeRef.new(shape: ErrorInfoList, location_name: "errorInfo"))
149
+ Cluster.struct_class = Types::Cluster
150
+
151
+ ClusterList.member = Shapes::ShapeRef.new(shape: ClusterSummary)
152
+
153
+ ClusterSlurmConfiguration.add_member(:scale_down_idle_time_in_seconds, Shapes::ShapeRef.new(shape: ClusterSlurmConfigurationScaleDownIdleTimeInSecondsInteger, location_name: "scaleDownIdleTimeInSeconds"))
154
+ ClusterSlurmConfiguration.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
155
+ ClusterSlurmConfiguration.add_member(:auth_key, Shapes::ShapeRef.new(shape: SlurmAuthKey, location_name: "authKey"))
156
+ ClusterSlurmConfiguration.struct_class = Types::ClusterSlurmConfiguration
157
+
158
+ ClusterSlurmConfigurationRequest.add_member(:scale_down_idle_time_in_seconds, Shapes::ShapeRef.new(shape: ClusterSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger, location_name: "scaleDownIdleTimeInSeconds"))
159
+ ClusterSlurmConfigurationRequest.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
160
+ ClusterSlurmConfigurationRequest.struct_class = Types::ClusterSlurmConfigurationRequest
161
+
162
+ ClusterSummary.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
163
+ ClusterSummary.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
164
+ ClusterSummary.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
165
+ ClusterSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
166
+ ClusterSummary.add_member(:modified_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "modifiedAt"))
167
+ ClusterSummary.add_member(:status, Shapes::ShapeRef.new(shape: ClusterStatus, required: true, location_name: "status"))
168
+ ClusterSummary.struct_class = Types::ClusterSummary
169
+
170
+ ComputeNodeGroup.add_member(:name, Shapes::ShapeRef.new(shape: ComputeNodeGroupName, required: true, location_name: "name"))
171
+ ComputeNodeGroup.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
172
+ ComputeNodeGroup.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
173
+ ComputeNodeGroup.add_member(:cluster_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "clusterId"))
174
+ ComputeNodeGroup.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
175
+ ComputeNodeGroup.add_member(:modified_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "modifiedAt"))
176
+ ComputeNodeGroup.add_member(:status, Shapes::ShapeRef.new(shape: ComputeNodeGroupStatus, required: true, location_name: "status"))
177
+ ComputeNodeGroup.add_member(:ami_id, Shapes::ShapeRef.new(shape: AmiId, location_name: "amiId"))
178
+ ComputeNodeGroup.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, required: true, location_name: "subnetIds"))
179
+ ComputeNodeGroup.add_member(:purchase_option, Shapes::ShapeRef.new(shape: PurchaseOption, location_name: "purchaseOption"))
180
+ ComputeNodeGroup.add_member(:custom_launch_template, Shapes::ShapeRef.new(shape: CustomLaunchTemplate, required: true, location_name: "customLaunchTemplate"))
181
+ ComputeNodeGroup.add_member(:iam_instance_profile_arn, Shapes::ShapeRef.new(shape: InstanceProfileArn, required: true, location_name: "iamInstanceProfileArn"))
182
+ ComputeNodeGroup.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfiguration, required: true, location_name: "scalingConfiguration"))
183
+ ComputeNodeGroup.add_member(:instance_configs, Shapes::ShapeRef.new(shape: InstanceList, required: true, location_name: "instanceConfigs"))
184
+ ComputeNodeGroup.add_member(:spot_options, Shapes::ShapeRef.new(shape: SpotOptions, location_name: "spotOptions"))
185
+ ComputeNodeGroup.add_member(:slurm_configuration, Shapes::ShapeRef.new(shape: ComputeNodeGroupSlurmConfiguration, location_name: "slurmConfiguration"))
186
+ ComputeNodeGroup.add_member(:error_info, Shapes::ShapeRef.new(shape: ErrorInfoList, location_name: "errorInfo"))
187
+ ComputeNodeGroup.struct_class = Types::ComputeNodeGroup
188
+
189
+ ComputeNodeGroupConfiguration.add_member(:compute_node_group_id, Shapes::ShapeRef.new(shape: String, location_name: "computeNodeGroupId"))
190
+ ComputeNodeGroupConfiguration.struct_class = Types::ComputeNodeGroupConfiguration
191
+
192
+ ComputeNodeGroupConfigurationList.member = Shapes::ShapeRef.new(shape: ComputeNodeGroupConfiguration)
193
+
194
+ ComputeNodeGroupList.member = Shapes::ShapeRef.new(shape: ComputeNodeGroupSummary)
195
+
196
+ ComputeNodeGroupSlurmConfiguration.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
197
+ ComputeNodeGroupSlurmConfiguration.struct_class = Types::ComputeNodeGroupSlurmConfiguration
198
+
199
+ ComputeNodeGroupSlurmConfigurationRequest.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
200
+ ComputeNodeGroupSlurmConfigurationRequest.struct_class = Types::ComputeNodeGroupSlurmConfigurationRequest
201
+
202
+ ComputeNodeGroupSummary.add_member(:name, Shapes::ShapeRef.new(shape: ComputeNodeGroupName, required: true, location_name: "name"))
203
+ ComputeNodeGroupSummary.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
204
+ ComputeNodeGroupSummary.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
205
+ ComputeNodeGroupSummary.add_member(:cluster_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "clusterId"))
206
+ ComputeNodeGroupSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
207
+ ComputeNodeGroupSummary.add_member(:modified_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "modifiedAt"))
208
+ ComputeNodeGroupSummary.add_member(:status, Shapes::ShapeRef.new(shape: ComputeNodeGroupStatus, required: true, location_name: "status"))
209
+ ComputeNodeGroupSummary.struct_class = Types::ComputeNodeGroupSummary
210
+
211
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
212
+ ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
213
+ ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
214
+ ConflictException.struct_class = Types::ConflictException
215
+
216
+ CreateClusterRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterName, required: true, location_name: "clusterName"))
217
+ CreateClusterRequest.add_member(:scheduler, Shapes::ShapeRef.new(shape: SchedulerRequest, required: true, location_name: "scheduler"))
218
+ CreateClusterRequest.add_member(:size, Shapes::ShapeRef.new(shape: Size, required: true, location_name: "size"))
219
+ CreateClusterRequest.add_member(:networking, Shapes::ShapeRef.new(shape: NetworkingRequest, required: true, location_name: "networking"))
220
+ CreateClusterRequest.add_member(:slurm_configuration, Shapes::ShapeRef.new(shape: ClusterSlurmConfigurationRequest, location_name: "slurmConfiguration"))
221
+ CreateClusterRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: SBClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
222
+ CreateClusterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: RequestTagMap, location_name: "tags"))
223
+ CreateClusterRequest.struct_class = Types::CreateClusterRequest
224
+
225
+ CreateClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster"))
226
+ CreateClusterResponse.struct_class = Types::CreateClusterResponse
227
+
228
+ CreateComputeNodeGroupRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: ClusterIdentifier, required: true, location_name: "clusterIdentifier"))
229
+ CreateComputeNodeGroupRequest.add_member(:compute_node_group_name, Shapes::ShapeRef.new(shape: ComputeNodeGroupName, required: true, location_name: "computeNodeGroupName"))
230
+ CreateComputeNodeGroupRequest.add_member(:ami_id, Shapes::ShapeRef.new(shape: AmiId, location_name: "amiId"))
231
+ CreateComputeNodeGroupRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "subnetIds"))
232
+ CreateComputeNodeGroupRequest.add_member(:purchase_option, Shapes::ShapeRef.new(shape: PurchaseOption, location_name: "purchaseOption"))
233
+ CreateComputeNodeGroupRequest.add_member(:custom_launch_template, Shapes::ShapeRef.new(shape: CustomLaunchTemplate, required: true, location_name: "customLaunchTemplate"))
234
+ CreateComputeNodeGroupRequest.add_member(:iam_instance_profile_arn, Shapes::ShapeRef.new(shape: InstanceProfileArn, required: true, location_name: "iamInstanceProfileArn"))
235
+ CreateComputeNodeGroupRequest.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfigurationRequest, required: true, location_name: "scalingConfiguration"))
236
+ CreateComputeNodeGroupRequest.add_member(:instance_configs, Shapes::ShapeRef.new(shape: InstanceList, required: true, location_name: "instanceConfigs"))
237
+ CreateComputeNodeGroupRequest.add_member(:spot_options, Shapes::ShapeRef.new(shape: SpotOptions, location_name: "spotOptions"))
238
+ CreateComputeNodeGroupRequest.add_member(:slurm_configuration, Shapes::ShapeRef.new(shape: ComputeNodeGroupSlurmConfigurationRequest, location_name: "slurmConfiguration"))
239
+ CreateComputeNodeGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: SBClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
240
+ CreateComputeNodeGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: RequestTagMap, location_name: "tags"))
241
+ CreateComputeNodeGroupRequest.struct_class = Types::CreateComputeNodeGroupRequest
242
+
243
+ CreateComputeNodeGroupResponse.add_member(:compute_node_group, Shapes::ShapeRef.new(shape: ComputeNodeGroup, location_name: "computeNodeGroup"))
244
+ CreateComputeNodeGroupResponse.struct_class = Types::CreateComputeNodeGroupResponse
245
+
246
+ CreateQueueRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: ClusterIdentifier, required: true, location_name: "clusterIdentifier"))
247
+ CreateQueueRequest.add_member(:queue_name, Shapes::ShapeRef.new(shape: QueueName, required: true, location_name: "queueName"))
248
+ CreateQueueRequest.add_member(:compute_node_group_configurations, Shapes::ShapeRef.new(shape: ComputeNodeGroupConfigurationList, location_name: "computeNodeGroupConfigurations"))
249
+ CreateQueueRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: SBClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
250
+ CreateQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: RequestTagMap, location_name: "tags"))
251
+ CreateQueueRequest.struct_class = Types::CreateQueueRequest
252
+
253
+ CreateQueueResponse.add_member(:queue, Shapes::ShapeRef.new(shape: Queue, location_name: "queue"))
254
+ CreateQueueResponse.struct_class = Types::CreateQueueResponse
255
+
256
+ CustomLaunchTemplate.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
257
+ CustomLaunchTemplate.add_member(:version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "version"))
258
+ CustomLaunchTemplate.struct_class = Types::CustomLaunchTemplate
259
+
260
+ DeleteClusterRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: ClusterIdentifier, required: true, location_name: "clusterIdentifier"))
261
+ DeleteClusterRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: SBClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
262
+ DeleteClusterRequest.struct_class = Types::DeleteClusterRequest
263
+
264
+ DeleteClusterResponse.struct_class = Types::DeleteClusterResponse
265
+
266
+ DeleteComputeNodeGroupRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: ClusterIdentifier, required: true, location_name: "clusterIdentifier"))
267
+ DeleteComputeNodeGroupRequest.add_member(:compute_node_group_identifier, Shapes::ShapeRef.new(shape: ComputeNodeGroupIdentifier, required: true, location_name: "computeNodeGroupIdentifier"))
268
+ DeleteComputeNodeGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: SBClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
269
+ DeleteComputeNodeGroupRequest.struct_class = Types::DeleteComputeNodeGroupRequest
270
+
271
+ DeleteComputeNodeGroupResponse.struct_class = Types::DeleteComputeNodeGroupResponse
272
+
273
+ DeleteQueueRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: ClusterIdentifier, required: true, location_name: "clusterIdentifier"))
274
+ DeleteQueueRequest.add_member(:queue_identifier, Shapes::ShapeRef.new(shape: QueueIdentifier, required: true, location_name: "queueIdentifier"))
275
+ DeleteQueueRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: SBClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
276
+ DeleteQueueRequest.struct_class = Types::DeleteQueueRequest
277
+
278
+ DeleteQueueResponse.struct_class = Types::DeleteQueueResponse
279
+
280
+ Endpoint.add_member(:type, Shapes::ShapeRef.new(shape: EndpointType, required: true, location_name: "type"))
281
+ Endpoint.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: String, required: true, location_name: "privateIpAddress"))
282
+ Endpoint.add_member(:public_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "publicIpAddress"))
283
+ Endpoint.add_member(:port, Shapes::ShapeRef.new(shape: String, required: true, location_name: "port"))
284
+ Endpoint.struct_class = Types::Endpoint
285
+
286
+ Endpoints.member = Shapes::ShapeRef.new(shape: Endpoint)
287
+
288
+ ErrorInfo.add_member(:code, Shapes::ShapeRef.new(shape: String, location_name: "code"))
289
+ ErrorInfo.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
290
+ ErrorInfo.struct_class = Types::ErrorInfo
291
+
292
+ ErrorInfoList.member = Shapes::ShapeRef.new(shape: ErrorInfo)
293
+
294
+ GetClusterRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: ClusterIdentifier, required: true, location_name: "clusterIdentifier"))
295
+ GetClusterRequest.struct_class = Types::GetClusterRequest
296
+
297
+ GetClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster"))
298
+ GetClusterResponse.struct_class = Types::GetClusterResponse
299
+
300
+ GetComputeNodeGroupRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: ClusterIdentifier, required: true, location_name: "clusterIdentifier"))
301
+ GetComputeNodeGroupRequest.add_member(:compute_node_group_identifier, Shapes::ShapeRef.new(shape: ComputeNodeGroupIdentifier, required: true, location_name: "computeNodeGroupIdentifier"))
302
+ GetComputeNodeGroupRequest.struct_class = Types::GetComputeNodeGroupRequest
303
+
304
+ GetComputeNodeGroupResponse.add_member(:compute_node_group, Shapes::ShapeRef.new(shape: ComputeNodeGroup, location_name: "computeNodeGroup"))
305
+ GetComputeNodeGroupResponse.struct_class = Types::GetComputeNodeGroupResponse
306
+
307
+ GetQueueRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: ClusterIdentifier, required: true, location_name: "clusterIdentifier"))
308
+ GetQueueRequest.add_member(:queue_identifier, Shapes::ShapeRef.new(shape: QueueIdentifier, required: true, location_name: "queueIdentifier"))
309
+ GetQueueRequest.struct_class = Types::GetQueueRequest
310
+
311
+ GetQueueResponse.add_member(:queue, Shapes::ShapeRef.new(shape: Queue, location_name: "queue"))
312
+ GetQueueResponse.struct_class = Types::GetQueueResponse
313
+
314
+ InstanceConfig.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
315
+ InstanceConfig.struct_class = Types::InstanceConfig
316
+
317
+ InstanceList.member = Shapes::ShapeRef.new(shape: InstanceConfig)
318
+
319
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
320
+ InternalServerException.struct_class = Types::InternalServerException
321
+
322
+ ListClustersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
323
+ ListClustersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
324
+ ListClustersRequest.struct_class = Types::ListClustersRequest
325
+
326
+ ListClustersResponse.add_member(:clusters, Shapes::ShapeRef.new(shape: ClusterList, required: true, location_name: "clusters"))
327
+ ListClustersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
328
+ ListClustersResponse.struct_class = Types::ListClustersResponse
329
+
330
+ ListComputeNodeGroupsRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: ClusterIdentifier, required: true, location_name: "clusterIdentifier"))
331
+ ListComputeNodeGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
332
+ ListComputeNodeGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
333
+ ListComputeNodeGroupsRequest.struct_class = Types::ListComputeNodeGroupsRequest
334
+
335
+ ListComputeNodeGroupsResponse.add_member(:compute_node_groups, Shapes::ShapeRef.new(shape: ComputeNodeGroupList, required: true, location_name: "computeNodeGroups"))
336
+ ListComputeNodeGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
337
+ ListComputeNodeGroupsResponse.struct_class = Types::ListComputeNodeGroupsResponse
338
+
339
+ ListQueuesRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: ClusterIdentifier, required: true, location_name: "clusterIdentifier"))
340
+ ListQueuesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
341
+ ListQueuesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
342
+ ListQueuesRequest.struct_class = Types::ListQueuesRequest
343
+
344
+ ListQueuesResponse.add_member(:queues, Shapes::ShapeRef.new(shape: QueueList, required: true, location_name: "queues"))
345
+ ListQueuesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
346
+ ListQueuesResponse.struct_class = Types::ListQueuesResponse
347
+
348
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
349
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
350
+
351
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: ResponseTagMap, location_name: "tags"))
352
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
353
+
354
+ Networking.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, location_name: "subnetIds"))
355
+ Networking.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdList, location_name: "securityGroupIds"))
356
+ Networking.struct_class = Types::Networking
357
+
358
+ NetworkingRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, location_name: "subnetIds"))
359
+ NetworkingRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdList, location_name: "securityGroupIds"))
360
+ NetworkingRequest.struct_class = Types::NetworkingRequest
361
+
362
+ Queue.add_member(:name, Shapes::ShapeRef.new(shape: QueueName, required: true, location_name: "name"))
363
+ Queue.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
364
+ Queue.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
365
+ Queue.add_member(:cluster_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "clusterId"))
366
+ Queue.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
367
+ Queue.add_member(:modified_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "modifiedAt"))
368
+ Queue.add_member(:status, Shapes::ShapeRef.new(shape: QueueStatus, required: true, location_name: "status"))
369
+ Queue.add_member(:compute_node_group_configurations, Shapes::ShapeRef.new(shape: ComputeNodeGroupConfigurationList, required: true, location_name: "computeNodeGroupConfigurations"))
370
+ Queue.add_member(:error_info, Shapes::ShapeRef.new(shape: ErrorInfoList, location_name: "errorInfo"))
371
+ Queue.struct_class = Types::Queue
372
+
373
+ QueueList.member = Shapes::ShapeRef.new(shape: QueueSummary)
374
+
375
+ QueueSummary.add_member(:name, Shapes::ShapeRef.new(shape: QueueName, required: true, location_name: "name"))
376
+ QueueSummary.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
377
+ QueueSummary.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
378
+ QueueSummary.add_member(:cluster_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "clusterId"))
379
+ QueueSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
380
+ QueueSummary.add_member(:modified_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "modifiedAt"))
381
+ QueueSummary.add_member(:status, Shapes::ShapeRef.new(shape: QueueStatus, required: true, location_name: "status"))
382
+ QueueSummary.struct_class = Types::QueueSummary
383
+
384
+ RegisterComputeNodeGroupInstanceRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: ClusterIdentifier, required: true, location_name: "clusterIdentifier"))
385
+ RegisterComputeNodeGroupInstanceRequest.add_member(:bootstrap_id, Shapes::ShapeRef.new(shape: BootstrapId, required: true, location_name: "bootstrapId"))
386
+ RegisterComputeNodeGroupInstanceRequest.struct_class = Types::RegisterComputeNodeGroupInstanceRequest
387
+
388
+ RegisterComputeNodeGroupInstanceResponse.add_member(:node_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "nodeID"))
389
+ RegisterComputeNodeGroupInstanceResponse.add_member(:shared_secret, Shapes::ShapeRef.new(shape: SharedSecret, required: true, location_name: "sharedSecret"))
390
+ RegisterComputeNodeGroupInstanceResponse.add_member(:endpoints, Shapes::ShapeRef.new(shape: Endpoints, required: true, location_name: "endpoints"))
391
+ RegisterComputeNodeGroupInstanceResponse.struct_class = Types::RegisterComputeNodeGroupInstanceResponse
392
+
393
+ RequestTagMap.key = Shapes::ShapeRef.new(shape: TagKey)
394
+ RequestTagMap.value = Shapes::ShapeRef.new(shape: TagValue)
395
+
396
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
397
+ ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
398
+ ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
399
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
400
+
401
+ ResponseTagMap.key = Shapes::ShapeRef.new(shape: TagKey)
402
+ ResponseTagMap.value = Shapes::ShapeRef.new(shape: TagValue)
403
+
404
+ ScalingConfiguration.add_member(:min_instance_count, Shapes::ShapeRef.new(shape: ScalingConfigurationMinInstanceCountInteger, required: true, location_name: "minInstanceCount"))
405
+ ScalingConfiguration.add_member(:max_instance_count, Shapes::ShapeRef.new(shape: ScalingConfigurationMaxInstanceCountInteger, required: true, location_name: "maxInstanceCount"))
406
+ ScalingConfiguration.struct_class = Types::ScalingConfiguration
407
+
408
+ ScalingConfigurationRequest.add_member(:min_instance_count, Shapes::ShapeRef.new(shape: ScalingConfigurationRequestMinInstanceCountInteger, required: true, location_name: "minInstanceCount"))
409
+ ScalingConfigurationRequest.add_member(:max_instance_count, Shapes::ShapeRef.new(shape: ScalingConfigurationRequestMaxInstanceCountInteger, required: true, location_name: "maxInstanceCount"))
410
+ ScalingConfigurationRequest.struct_class = Types::ScalingConfigurationRequest
411
+
412
+ Scheduler.add_member(:type, Shapes::ShapeRef.new(shape: SchedulerType, required: true, location_name: "type"))
413
+ Scheduler.add_member(:version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "version"))
414
+ Scheduler.struct_class = Types::Scheduler
415
+
416
+ SchedulerRequest.add_member(:type, Shapes::ShapeRef.new(shape: SchedulerType, required: true, location_name: "type"))
417
+ SchedulerRequest.add_member(:version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "version"))
418
+ SchedulerRequest.struct_class = Types::SchedulerRequest
419
+
420
+ SecurityGroupIdList.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
421
+
422
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
423
+ ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceCode"))
424
+ ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceId"))
425
+ ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
426
+ ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
427
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
428
+
429
+ SlurmAuthKey.add_member(:secret_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "secretArn"))
430
+ SlurmAuthKey.add_member(:secret_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "secretVersion"))
431
+ SlurmAuthKey.struct_class = Types::SlurmAuthKey
432
+
433
+ SlurmCustomSetting.add_member(:parameter_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "parameterName"))
434
+ SlurmCustomSetting.add_member(:parameter_value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "parameterValue"))
435
+ SlurmCustomSetting.struct_class = Types::SlurmCustomSetting
436
+
437
+ SlurmCustomSettings.member = Shapes::ShapeRef.new(shape: SlurmCustomSetting)
438
+
439
+ SpotOptions.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: SpotAllocationStrategy, location_name: "allocationStrategy"))
440
+ SpotOptions.struct_class = Types::SpotOptions
441
+
442
+ StringList.member = Shapes::ShapeRef.new(shape: String)
443
+
444
+ SubnetIdList.member = Shapes::ShapeRef.new(shape: SubnetId)
445
+
446
+ TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
447
+
448
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
449
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: RequestTagMap, required: true, location_name: "tags"))
450
+ TagResourceRequest.struct_class = Types::TagResourceRequest
451
+
452
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
453
+ ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "retryAfterSeconds"))
454
+ ThrottlingException.struct_class = Types::ThrottlingException
455
+
456
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
457
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "tagKeys"))
458
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
459
+
460
+ UpdateComputeNodeGroupRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: ClusterIdentifier, required: true, location_name: "clusterIdentifier"))
461
+ UpdateComputeNodeGroupRequest.add_member(:compute_node_group_identifier, Shapes::ShapeRef.new(shape: ComputeNodeGroupIdentifier, required: true, location_name: "computeNodeGroupIdentifier"))
462
+ UpdateComputeNodeGroupRequest.add_member(:ami_id, Shapes::ShapeRef.new(shape: AmiId, location_name: "amiId"))
463
+ UpdateComputeNodeGroupRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "subnetIds"))
464
+ UpdateComputeNodeGroupRequest.add_member(:custom_launch_template, Shapes::ShapeRef.new(shape: CustomLaunchTemplate, location_name: "customLaunchTemplate"))
465
+ UpdateComputeNodeGroupRequest.add_member(:purchase_option, Shapes::ShapeRef.new(shape: PurchaseOption, location_name: "purchaseOption"))
466
+ UpdateComputeNodeGroupRequest.add_member(:spot_options, Shapes::ShapeRef.new(shape: SpotOptions, location_name: "spotOptions"))
467
+ UpdateComputeNodeGroupRequest.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfigurationRequest, location_name: "scalingConfiguration"))
468
+ UpdateComputeNodeGroupRequest.add_member(:iam_instance_profile_arn, Shapes::ShapeRef.new(shape: InstanceProfileArn, location_name: "iamInstanceProfileArn"))
469
+ UpdateComputeNodeGroupRequest.add_member(:slurm_configuration, Shapes::ShapeRef.new(shape: UpdateComputeNodeGroupSlurmConfigurationRequest, location_name: "slurmConfiguration"))
470
+ UpdateComputeNodeGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: SBClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
471
+ UpdateComputeNodeGroupRequest.struct_class = Types::UpdateComputeNodeGroupRequest
472
+
473
+ UpdateComputeNodeGroupResponse.add_member(:compute_node_group, Shapes::ShapeRef.new(shape: ComputeNodeGroup, location_name: "computeNodeGroup"))
474
+ UpdateComputeNodeGroupResponse.struct_class = Types::UpdateComputeNodeGroupResponse
475
+
476
+ UpdateComputeNodeGroupSlurmConfigurationRequest.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
477
+ UpdateComputeNodeGroupSlurmConfigurationRequest.struct_class = Types::UpdateComputeNodeGroupSlurmConfigurationRequest
478
+
479
+ UpdateQueueRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: ClusterIdentifier, required: true, location_name: "clusterIdentifier"))
480
+ UpdateQueueRequest.add_member(:queue_identifier, Shapes::ShapeRef.new(shape: QueueIdentifier, required: true, location_name: "queueIdentifier"))
481
+ UpdateQueueRequest.add_member(:compute_node_group_configurations, Shapes::ShapeRef.new(shape: ComputeNodeGroupConfigurationList, location_name: "computeNodeGroupConfigurations"))
482
+ UpdateQueueRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: SBClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
483
+ UpdateQueueRequest.struct_class = Types::UpdateQueueRequest
484
+
485
+ UpdateQueueResponse.add_member(:queue, Shapes::ShapeRef.new(shape: Queue, location_name: "queue"))
486
+ UpdateQueueResponse.struct_class = Types::UpdateQueueResponse
487
+
488
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
489
+ ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, required: true, location_name: "reason"))
490
+ ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
491
+ ValidationException.struct_class = Types::ValidationException
492
+
493
+ ValidationExceptionField.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
494
+ ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
495
+ ValidationExceptionField.struct_class = Types::ValidationExceptionField
496
+
497
+ ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
498
+
499
+
500
+ # @api private
501
+ API = Seahorse::Model::Api.new.tap do |api|
502
+
503
+ api.version = "2023-02-10"
504
+
505
+ api.metadata = {
506
+ "apiVersion" => "2023-02-10",
507
+ "auth" => ["aws.auth#sigv4"],
508
+ "endpointPrefix" => "pcs",
509
+ "jsonVersion" => "1.0",
510
+ "protocol" => "json",
511
+ "protocols" => ["json"],
512
+ "serviceFullName" => "AWS Parallel Computing Service",
513
+ "serviceId" => "PCS",
514
+ "signatureVersion" => "v4",
515
+ "signingName" => "pcs",
516
+ "targetPrefix" => "AWSParallelComputingService",
517
+ "uid" => "pcs-2023-02-10",
518
+ }
519
+
520
+ api.add_operation(:create_cluster, Seahorse::Model::Operation.new.tap do |o|
521
+ o.name = "CreateCluster"
522
+ o.http_method = "POST"
523
+ o.http_request_uri = "/"
524
+ o.input = Shapes::ShapeRef.new(shape: CreateClusterRequest)
525
+ o.output = Shapes::ShapeRef.new(shape: CreateClusterResponse)
526
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
527
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
528
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
529
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
530
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
531
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
532
+ end)
533
+
534
+ api.add_operation(:create_compute_node_group, Seahorse::Model::Operation.new.tap do |o|
535
+ o.name = "CreateComputeNodeGroup"
536
+ o.http_method = "POST"
537
+ o.http_request_uri = "/"
538
+ o.input = Shapes::ShapeRef.new(shape: CreateComputeNodeGroupRequest)
539
+ o.output = Shapes::ShapeRef.new(shape: CreateComputeNodeGroupResponse)
540
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
541
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
542
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
543
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
544
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
545
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
546
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
547
+ end)
548
+
549
+ api.add_operation(:create_queue, Seahorse::Model::Operation.new.tap do |o|
550
+ o.name = "CreateQueue"
551
+ o.http_method = "POST"
552
+ o.http_request_uri = "/"
553
+ o.input = Shapes::ShapeRef.new(shape: CreateQueueRequest)
554
+ o.output = Shapes::ShapeRef.new(shape: CreateQueueResponse)
555
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
556
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
557
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
558
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
559
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
560
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
561
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
562
+ end)
563
+
564
+ api.add_operation(:delete_cluster, Seahorse::Model::Operation.new.tap do |o|
565
+ o.name = "DeleteCluster"
566
+ o.http_method = "POST"
567
+ o.http_request_uri = "/"
568
+ o.input = Shapes::ShapeRef.new(shape: DeleteClusterRequest)
569
+ o.output = Shapes::ShapeRef.new(shape: DeleteClusterResponse)
570
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
571
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
572
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
573
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
574
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
575
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
576
+ end)
577
+
578
+ api.add_operation(:delete_compute_node_group, Seahorse::Model::Operation.new.tap do |o|
579
+ o.name = "DeleteComputeNodeGroup"
580
+ o.http_method = "POST"
581
+ o.http_request_uri = "/"
582
+ o.input = Shapes::ShapeRef.new(shape: DeleteComputeNodeGroupRequest)
583
+ o.output = Shapes::ShapeRef.new(shape: DeleteComputeNodeGroupResponse)
584
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
585
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
586
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
587
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
588
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
589
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
590
+ end)
591
+
592
+ api.add_operation(:delete_queue, Seahorse::Model::Operation.new.tap do |o|
593
+ o.name = "DeleteQueue"
594
+ o.http_method = "POST"
595
+ o.http_request_uri = "/"
596
+ o.input = Shapes::ShapeRef.new(shape: DeleteQueueRequest)
597
+ o.output = Shapes::ShapeRef.new(shape: DeleteQueueResponse)
598
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
599
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
600
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
601
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
602
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
603
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
604
+ end)
605
+
606
+ api.add_operation(:get_cluster, Seahorse::Model::Operation.new.tap do |o|
607
+ o.name = "GetCluster"
608
+ o.http_method = "POST"
609
+ o.http_request_uri = "/"
610
+ o.input = Shapes::ShapeRef.new(shape: GetClusterRequest)
611
+ o.output = Shapes::ShapeRef.new(shape: GetClusterResponse)
612
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
613
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
614
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
615
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
616
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
617
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
618
+ end)
619
+
620
+ api.add_operation(:get_compute_node_group, Seahorse::Model::Operation.new.tap do |o|
621
+ o.name = "GetComputeNodeGroup"
622
+ o.http_method = "POST"
623
+ o.http_request_uri = "/"
624
+ o.input = Shapes::ShapeRef.new(shape: GetComputeNodeGroupRequest)
625
+ o.output = Shapes::ShapeRef.new(shape: GetComputeNodeGroupResponse)
626
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
627
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
628
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
629
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
630
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
631
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
632
+ end)
633
+
634
+ api.add_operation(:get_queue, Seahorse::Model::Operation.new.tap do |o|
635
+ o.name = "GetQueue"
636
+ o.http_method = "POST"
637
+ o.http_request_uri = "/"
638
+ o.input = Shapes::ShapeRef.new(shape: GetQueueRequest)
639
+ o.output = Shapes::ShapeRef.new(shape: GetQueueResponse)
640
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
641
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
642
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
643
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
644
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
645
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
646
+ end)
647
+
648
+ api.add_operation(:list_clusters, Seahorse::Model::Operation.new.tap do |o|
649
+ o.name = "ListClusters"
650
+ o.http_method = "POST"
651
+ o.http_request_uri = "/"
652
+ o.input = Shapes::ShapeRef.new(shape: ListClustersRequest)
653
+ o.output = Shapes::ShapeRef.new(shape: ListClustersResponse)
654
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
655
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
656
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
657
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
658
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
659
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
660
+ o[:pager] = Aws::Pager.new(
661
+ limit_key: "max_results",
662
+ tokens: {
663
+ "next_token" => "next_token"
664
+ }
665
+ )
666
+ end)
667
+
668
+ api.add_operation(:list_compute_node_groups, Seahorse::Model::Operation.new.tap do |o|
669
+ o.name = "ListComputeNodeGroups"
670
+ o.http_method = "POST"
671
+ o.http_request_uri = "/"
672
+ o.input = Shapes::ShapeRef.new(shape: ListComputeNodeGroupsRequest)
673
+ o.output = Shapes::ShapeRef.new(shape: ListComputeNodeGroupsResponse)
674
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
675
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
676
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
677
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
678
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
679
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
680
+ o[:pager] = Aws::Pager.new(
681
+ limit_key: "max_results",
682
+ tokens: {
683
+ "next_token" => "next_token"
684
+ }
685
+ )
686
+ end)
687
+
688
+ api.add_operation(:list_queues, Seahorse::Model::Operation.new.tap do |o|
689
+ o.name = "ListQueues"
690
+ o.http_method = "POST"
691
+ o.http_request_uri = "/"
692
+ o.input = Shapes::ShapeRef.new(shape: ListQueuesRequest)
693
+ o.output = Shapes::ShapeRef.new(shape: ListQueuesResponse)
694
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
695
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
696
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
697
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
698
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
699
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
700
+ o[:pager] = Aws::Pager.new(
701
+ limit_key: "max_results",
702
+ tokens: {
703
+ "next_token" => "next_token"
704
+ }
705
+ )
706
+ end)
707
+
708
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
709
+ o.name = "ListTagsForResource"
710
+ o.http_method = "POST"
711
+ o.http_request_uri = "/"
712
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
713
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
714
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
715
+ end)
716
+
717
+ api.add_operation(:register_compute_node_group_instance, Seahorse::Model::Operation.new.tap do |o|
718
+ o.name = "RegisterComputeNodeGroupInstance"
719
+ o.http_method = "POST"
720
+ o.http_request_uri = "/"
721
+ o.input = Shapes::ShapeRef.new(shape: RegisterComputeNodeGroupInstanceRequest)
722
+ o.output = Shapes::ShapeRef.new(shape: RegisterComputeNodeGroupInstanceResponse)
723
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
724
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
725
+ end)
726
+
727
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
728
+ o.name = "TagResource"
729
+ o.http_method = "POST"
730
+ o.http_request_uri = "/"
731
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
732
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
733
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
734
+ end)
735
+
736
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
737
+ o.name = "UntagResource"
738
+ o.http_method = "POST"
739
+ o.http_request_uri = "/"
740
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
741
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
742
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
743
+ end)
744
+
745
+ api.add_operation(:update_compute_node_group, Seahorse::Model::Operation.new.tap do |o|
746
+ o.name = "UpdateComputeNodeGroup"
747
+ o.http_method = "POST"
748
+ o.http_request_uri = "/"
749
+ o.input = Shapes::ShapeRef.new(shape: UpdateComputeNodeGroupRequest)
750
+ o.output = Shapes::ShapeRef.new(shape: UpdateComputeNodeGroupResponse)
751
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
752
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
753
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
754
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
755
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
756
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
757
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
758
+ end)
759
+
760
+ api.add_operation(:update_queue, Seahorse::Model::Operation.new.tap do |o|
761
+ o.name = "UpdateQueue"
762
+ o.http_method = "POST"
763
+ o.http_request_uri = "/"
764
+ o.input = Shapes::ShapeRef.new(shape: UpdateQueueRequest)
765
+ o.output = Shapes::ShapeRef.new(shape: UpdateQueueResponse)
766
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
767
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
768
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
769
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
770
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
771
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
772
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
773
+ end)
774
+ end
775
+
776
+ end
777
+ end