aws-sdk-greengrassv2 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,943 @@
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/master/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::GreengrassV2
11
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ CancelDeploymentRequest = Shapes::StructureShape.new(name: 'CancelDeploymentRequest')
18
+ CancelDeploymentResponse = Shapes::StructureShape.new(name: 'CancelDeploymentResponse')
19
+ CloudComponentState = Shapes::StringShape.new(name: 'CloudComponentState')
20
+ CloudComponentStatus = Shapes::StructureShape.new(name: 'CloudComponentStatus')
21
+ Component = Shapes::StructureShape.new(name: 'Component')
22
+ ComponentARN = Shapes::StringShape.new(name: 'ComponentARN')
23
+ ComponentCandidate = Shapes::StructureShape.new(name: 'ComponentCandidate')
24
+ ComponentCandidateList = Shapes::ListShape.new(name: 'ComponentCandidateList')
25
+ ComponentConfigurationPath = Shapes::StringShape.new(name: 'ComponentConfigurationPath')
26
+ ComponentConfigurationPathList = Shapes::ListShape.new(name: 'ComponentConfigurationPathList')
27
+ ComponentConfigurationString = Shapes::StringShape.new(name: 'ComponentConfigurationString')
28
+ ComponentConfigurationUpdate = Shapes::StructureShape.new(name: 'ComponentConfigurationUpdate')
29
+ ComponentDependencyMap = Shapes::MapShape.new(name: 'ComponentDependencyMap')
30
+ ComponentDependencyRequirement = Shapes::StructureShape.new(name: 'ComponentDependencyRequirement')
31
+ ComponentDependencyType = Shapes::StringShape.new(name: 'ComponentDependencyType')
32
+ ComponentDeploymentSpecification = Shapes::StructureShape.new(name: 'ComponentDeploymentSpecification')
33
+ ComponentDeploymentSpecifications = Shapes::MapShape.new(name: 'ComponentDeploymentSpecifications')
34
+ ComponentLatestVersion = Shapes::StructureShape.new(name: 'ComponentLatestVersion')
35
+ ComponentList = Shapes::ListShape.new(name: 'ComponentList')
36
+ ComponentNameString = Shapes::StringShape.new(name: 'ComponentNameString')
37
+ ComponentPlatform = Shapes::StructureShape.new(name: 'ComponentPlatform')
38
+ ComponentPlatformList = Shapes::ListShape.new(name: 'ComponentPlatformList')
39
+ ComponentRunWith = Shapes::StructureShape.new(name: 'ComponentRunWith')
40
+ ComponentVersionARN = Shapes::StringShape.new(name: 'ComponentVersionARN')
41
+ ComponentVersionList = Shapes::ListShape.new(name: 'ComponentVersionList')
42
+ ComponentVersionListItem = Shapes::StructureShape.new(name: 'ComponentVersionListItem')
43
+ ComponentVersionRequirementMap = Shapes::MapShape.new(name: 'ComponentVersionRequirementMap')
44
+ ComponentVersionString = Shapes::StringShape.new(name: 'ComponentVersionString')
45
+ ComponentVisibilityScope = Shapes::StringShape.new(name: 'ComponentVisibilityScope')
46
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
47
+ CoreDevice = Shapes::StructureShape.new(name: 'CoreDevice')
48
+ CoreDeviceArchitectureString = Shapes::StringShape.new(name: 'CoreDeviceArchitectureString')
49
+ CoreDevicePlatformString = Shapes::StringShape.new(name: 'CoreDevicePlatformString')
50
+ CoreDeviceStatus = Shapes::StringShape.new(name: 'CoreDeviceStatus')
51
+ CoreDeviceThingName = Shapes::StringShape.new(name: 'CoreDeviceThingName')
52
+ CoreDevicesList = Shapes::ListShape.new(name: 'CoreDevicesList')
53
+ CreateComponentVersionRequest = Shapes::StructureShape.new(name: 'CreateComponentVersionRequest')
54
+ CreateComponentVersionResponse = Shapes::StructureShape.new(name: 'CreateComponentVersionResponse')
55
+ CreateDeploymentRequest = Shapes::StructureShape.new(name: 'CreateDeploymentRequest')
56
+ CreateDeploymentResponse = Shapes::StructureShape.new(name: 'CreateDeploymentResponse')
57
+ DefaultMaxResults = Shapes::IntegerShape.new(name: 'DefaultMaxResults')
58
+ DeleteComponentRequest = Shapes::StructureShape.new(name: 'DeleteComponentRequest')
59
+ DeleteCoreDeviceRequest = Shapes::StructureShape.new(name: 'DeleteCoreDeviceRequest')
60
+ Deployment = Shapes::StructureShape.new(name: 'Deployment')
61
+ DeploymentComponentUpdatePolicy = Shapes::StructureShape.new(name: 'DeploymentComponentUpdatePolicy')
62
+ DeploymentComponentUpdatePolicyAction = Shapes::StringShape.new(name: 'DeploymentComponentUpdatePolicyAction')
63
+ DeploymentConfigurationValidationPolicy = Shapes::StructureShape.new(name: 'DeploymentConfigurationValidationPolicy')
64
+ DeploymentFailureHandlingPolicy = Shapes::StringShape.new(name: 'DeploymentFailureHandlingPolicy')
65
+ DeploymentHistoryFilter = Shapes::StringShape.new(name: 'DeploymentHistoryFilter')
66
+ DeploymentID = Shapes::StringShape.new(name: 'DeploymentID')
67
+ DeploymentIoTJobConfiguration = Shapes::StructureShape.new(name: 'DeploymentIoTJobConfiguration')
68
+ DeploymentList = Shapes::ListShape.new(name: 'DeploymentList')
69
+ DeploymentName = Shapes::StringShape.new(name: 'DeploymentName')
70
+ DeploymentPolicies = Shapes::StructureShape.new(name: 'DeploymentPolicies')
71
+ DeploymentStatus = Shapes::StringShape.new(name: 'DeploymentStatus')
72
+ DescribeComponentRequest = Shapes::StructureShape.new(name: 'DescribeComponentRequest')
73
+ DescribeComponentResponse = Shapes::StructureShape.new(name: 'DescribeComponentResponse')
74
+ Description = Shapes::StringShape.new(name: 'Description')
75
+ DescriptionString = Shapes::StringShape.new(name: 'DescriptionString')
76
+ EffectiveDeployment = Shapes::StructureShape.new(name: 'EffectiveDeployment')
77
+ EffectiveDeploymentExecutionStatus = Shapes::StringShape.new(name: 'EffectiveDeploymentExecutionStatus')
78
+ EffectiveDeploymentsList = Shapes::ListShape.new(name: 'EffectiveDeploymentsList')
79
+ FileSystemPath = Shapes::StringShape.new(name: 'FileSystemPath')
80
+ GGCVersion = Shapes::StringShape.new(name: 'GGCVersion')
81
+ GenericV2ARN = Shapes::StringShape.new(name: 'GenericV2ARN')
82
+ GetComponentRequest = Shapes::StructureShape.new(name: 'GetComponentRequest')
83
+ GetComponentResponse = Shapes::StructureShape.new(name: 'GetComponentResponse')
84
+ GetComponentVersionArtifactRequest = Shapes::StructureShape.new(name: 'GetComponentVersionArtifactRequest')
85
+ GetComponentVersionArtifactResponse = Shapes::StructureShape.new(name: 'GetComponentVersionArtifactResponse')
86
+ GetCoreDeviceRequest = Shapes::StructureShape.new(name: 'GetCoreDeviceRequest')
87
+ GetCoreDeviceResponse = Shapes::StructureShape.new(name: 'GetCoreDeviceResponse')
88
+ GetDeploymentRequest = Shapes::StructureShape.new(name: 'GetDeploymentRequest')
89
+ GetDeploymentResponse = Shapes::StructureShape.new(name: 'GetDeploymentResponse')
90
+ InstalledComponent = Shapes::StructureShape.new(name: 'InstalledComponent')
91
+ InstalledComponentLifecycleState = Shapes::StringShape.new(name: 'InstalledComponentLifecycleState')
92
+ InstalledComponentList = Shapes::ListShape.new(name: 'InstalledComponentList')
93
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
94
+ IoTJobARN = Shapes::StringShape.new(name: 'IoTJobARN')
95
+ IoTJobAbortAction = Shapes::StringShape.new(name: 'IoTJobAbortAction')
96
+ IoTJobAbortConfig = Shapes::StructureShape.new(name: 'IoTJobAbortConfig')
97
+ IoTJobAbortCriteria = Shapes::StructureShape.new(name: 'IoTJobAbortCriteria')
98
+ IoTJobAbortCriteriaList = Shapes::ListShape.new(name: 'IoTJobAbortCriteriaList')
99
+ IoTJobAbortThresholdPercentage = Shapes::FloatShape.new(name: 'IoTJobAbortThresholdPercentage')
100
+ IoTJobExecutionFailureType = Shapes::StringShape.new(name: 'IoTJobExecutionFailureType')
101
+ IoTJobExecutionsRolloutConfig = Shapes::StructureShape.new(name: 'IoTJobExecutionsRolloutConfig')
102
+ IoTJobExponentialRolloutRate = Shapes::StructureShape.new(name: 'IoTJobExponentialRolloutRate')
103
+ IoTJobId = Shapes::StringShape.new(name: 'IoTJobId')
104
+ IoTJobInProgressTimeoutInMinutes = Shapes::IntegerShape.new(name: 'IoTJobInProgressTimeoutInMinutes')
105
+ IoTJobMaxExecutionsPerMin = Shapes::IntegerShape.new(name: 'IoTJobMaxExecutionsPerMin')
106
+ IoTJobMinimumNumberOfExecutedThings = Shapes::IntegerShape.new(name: 'IoTJobMinimumNumberOfExecutedThings')
107
+ IoTJobNumberOfThings = Shapes::IntegerShape.new(name: 'IoTJobNumberOfThings')
108
+ IoTJobRateIncreaseCriteria = Shapes::StructureShape.new(name: 'IoTJobRateIncreaseCriteria')
109
+ IoTJobRolloutBaseRatePerMinute = Shapes::IntegerShape.new(name: 'IoTJobRolloutBaseRatePerMinute')
110
+ IoTJobRolloutIncrementFactor = Shapes::FloatShape.new(name: 'IoTJobRolloutIncrementFactor')
111
+ IoTJobTimeoutConfig = Shapes::StructureShape.new(name: 'IoTJobTimeoutConfig')
112
+ IsLatestForTarget = Shapes::BooleanShape.new(name: 'IsLatestForTarget')
113
+ IsRoot = Shapes::BooleanShape.new(name: 'IsRoot')
114
+ LambdaContainerParams = Shapes::StructureShape.new(name: 'LambdaContainerParams')
115
+ LambdaDeviceList = Shapes::ListShape.new(name: 'LambdaDeviceList')
116
+ LambdaDeviceMount = Shapes::StructureShape.new(name: 'LambdaDeviceMount')
117
+ LambdaEnvironmentVariables = Shapes::MapShape.new(name: 'LambdaEnvironmentVariables')
118
+ LambdaEventSource = Shapes::StructureShape.new(name: 'LambdaEventSource')
119
+ LambdaEventSourceList = Shapes::ListShape.new(name: 'LambdaEventSourceList')
120
+ LambdaEventSourceType = Shapes::StringShape.new(name: 'LambdaEventSourceType')
121
+ LambdaExecArg = Shapes::StringShape.new(name: 'LambdaExecArg')
122
+ LambdaExecArgsList = Shapes::ListShape.new(name: 'LambdaExecArgsList')
123
+ LambdaExecutionParameters = Shapes::StructureShape.new(name: 'LambdaExecutionParameters')
124
+ LambdaFilesystemPermission = Shapes::StringShape.new(name: 'LambdaFilesystemPermission')
125
+ LambdaFunctionARNWithVersionNumber = Shapes::StringShape.new(name: 'LambdaFunctionARNWithVersionNumber')
126
+ LambdaFunctionRecipeSource = Shapes::StructureShape.new(name: 'LambdaFunctionRecipeSource')
127
+ LambdaInputPayloadEncodingType = Shapes::StringShape.new(name: 'LambdaInputPayloadEncodingType')
128
+ LambdaIsolationMode = Shapes::StringShape.new(name: 'LambdaIsolationMode')
129
+ LambdaLinuxProcessParams = Shapes::StructureShape.new(name: 'LambdaLinuxProcessParams')
130
+ LambdaVolumeList = Shapes::ListShape.new(name: 'LambdaVolumeList')
131
+ LambdaVolumeMount = Shapes::StructureShape.new(name: 'LambdaVolumeMount')
132
+ LifecycleStateDetails = Shapes::StringShape.new(name: 'LifecycleStateDetails')
133
+ ListComponentVersionsRequest = Shapes::StructureShape.new(name: 'ListComponentVersionsRequest')
134
+ ListComponentVersionsResponse = Shapes::StructureShape.new(name: 'ListComponentVersionsResponse')
135
+ ListComponentsRequest = Shapes::StructureShape.new(name: 'ListComponentsRequest')
136
+ ListComponentsResponse = Shapes::StructureShape.new(name: 'ListComponentsResponse')
137
+ ListCoreDevicesRequest = Shapes::StructureShape.new(name: 'ListCoreDevicesRequest')
138
+ ListCoreDevicesResponse = Shapes::StructureShape.new(name: 'ListCoreDevicesResponse')
139
+ ListDeploymentsRequest = Shapes::StructureShape.new(name: 'ListDeploymentsRequest')
140
+ ListDeploymentsResponse = Shapes::StructureShape.new(name: 'ListDeploymentsResponse')
141
+ ListEffectiveDeploymentsRequest = Shapes::StructureShape.new(name: 'ListEffectiveDeploymentsRequest')
142
+ ListEffectiveDeploymentsResponse = Shapes::StructureShape.new(name: 'ListEffectiveDeploymentsResponse')
143
+ ListInstalledComponentsRequest = Shapes::StructureShape.new(name: 'ListInstalledComponentsRequest')
144
+ ListInstalledComponentsResponse = Shapes::StructureShape.new(name: 'ListInstalledComponentsResponse')
145
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
146
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
147
+ NextTokenString = Shapes::StringShape.new(name: 'NextTokenString')
148
+ NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
149
+ NullableString = Shapes::StringShape.new(name: 'NullableString')
150
+ OptionalBoolean = Shapes::BooleanShape.new(name: 'OptionalBoolean')
151
+ OptionalInteger = Shapes::IntegerShape.new(name: 'OptionalInteger')
152
+ PlatformAttributesMap = Shapes::MapShape.new(name: 'PlatformAttributesMap')
153
+ PublisherString = Shapes::StringShape.new(name: 'PublisherString')
154
+ Reason = Shapes::StringShape.new(name: 'Reason')
155
+ RecipeBlob = Shapes::BlobShape.new(name: 'RecipeBlob')
156
+ RecipeOutputFormat = Shapes::StringShape.new(name: 'RecipeOutputFormat')
157
+ ResolveComponentCandidatesRequest = Shapes::StructureShape.new(name: 'ResolveComponentCandidatesRequest')
158
+ ResolveComponentCandidatesResponse = Shapes::StructureShape.new(name: 'ResolveComponentCandidatesResponse')
159
+ ResolvedComponentVersion = Shapes::StructureShape.new(name: 'ResolvedComponentVersion')
160
+ ResolvedComponentVersionsList = Shapes::ListShape.new(name: 'ResolvedComponentVersionsList')
161
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
162
+ RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds')
163
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
164
+ String = Shapes::StringShape.new(name: 'String')
165
+ StringMap = Shapes::MapShape.new(name: 'StringMap')
166
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
167
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
168
+ TagMap = Shapes::MapShape.new(name: 'TagMap')
169
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
170
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
171
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
172
+ TargetARN = Shapes::StringShape.new(name: 'TargetARN')
173
+ ThingGroupARN = Shapes::StringShape.new(name: 'ThingGroupARN')
174
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
175
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
176
+ TopicString = Shapes::StringShape.new(name: 'TopicString')
177
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
178
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
179
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
180
+ ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
181
+ ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
182
+ ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
183
+
184
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
185
+ AccessDeniedException.struct_class = Types::AccessDeniedException
186
+
187
+ CancelDeploymentRequest.add_member(:deployment_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "deploymentId"))
188
+ CancelDeploymentRequest.struct_class = Types::CancelDeploymentRequest
189
+
190
+ CancelDeploymentResponse.add_member(:message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "message"))
191
+ CancelDeploymentResponse.struct_class = Types::CancelDeploymentResponse
192
+
193
+ CloudComponentStatus.add_member(:component_state, Shapes::ShapeRef.new(shape: CloudComponentState, location_name: "componentState"))
194
+ CloudComponentStatus.add_member(:message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "message"))
195
+ CloudComponentStatus.add_member(:errors, Shapes::ShapeRef.new(shape: StringMap, location_name: "errors"))
196
+ CloudComponentStatus.struct_class = Types::CloudComponentStatus
197
+
198
+ Component.add_member(:arn, Shapes::ShapeRef.new(shape: ComponentARN, location_name: "arn"))
199
+ Component.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentNameString, location_name: "componentName"))
200
+ Component.add_member(:latest_version, Shapes::ShapeRef.new(shape: ComponentLatestVersion, location_name: "latestVersion"))
201
+ Component.struct_class = Types::Component
202
+
203
+ ComponentCandidate.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentNameString, location_name: "componentName"))
204
+ ComponentCandidate.add_member(:component_version, Shapes::ShapeRef.new(shape: ComponentVersionString, location_name: "componentVersion"))
205
+ ComponentCandidate.add_member(:version_requirements, Shapes::ShapeRef.new(shape: ComponentVersionRequirementMap, location_name: "versionRequirements"))
206
+ ComponentCandidate.struct_class = Types::ComponentCandidate
207
+
208
+ ComponentCandidateList.member = Shapes::ShapeRef.new(shape: ComponentCandidate)
209
+
210
+ ComponentConfigurationPathList.member = Shapes::ShapeRef.new(shape: ComponentConfigurationPath)
211
+
212
+ ComponentConfigurationUpdate.add_member(:merge, Shapes::ShapeRef.new(shape: ComponentConfigurationString, location_name: "merge"))
213
+ ComponentConfigurationUpdate.add_member(:reset, Shapes::ShapeRef.new(shape: ComponentConfigurationPathList, location_name: "reset"))
214
+ ComponentConfigurationUpdate.struct_class = Types::ComponentConfigurationUpdate
215
+
216
+ ComponentDependencyMap.key = Shapes::ShapeRef.new(shape: NonEmptyString)
217
+ ComponentDependencyMap.value = Shapes::ShapeRef.new(shape: ComponentDependencyRequirement)
218
+
219
+ ComponentDependencyRequirement.add_member(:version_requirement, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "versionRequirement"))
220
+ ComponentDependencyRequirement.add_member(:dependency_type, Shapes::ShapeRef.new(shape: ComponentDependencyType, location_name: "dependencyType"))
221
+ ComponentDependencyRequirement.struct_class = Types::ComponentDependencyRequirement
222
+
223
+ ComponentDeploymentSpecification.add_member(:component_version, Shapes::ShapeRef.new(shape: ComponentVersionString, location_name: "componentVersion"))
224
+ ComponentDeploymentSpecification.add_member(:configuration_update, Shapes::ShapeRef.new(shape: ComponentConfigurationUpdate, location_name: "configurationUpdate"))
225
+ ComponentDeploymentSpecification.add_member(:run_with, Shapes::ShapeRef.new(shape: ComponentRunWith, location_name: "runWith"))
226
+ ComponentDeploymentSpecification.struct_class = Types::ComponentDeploymentSpecification
227
+
228
+ ComponentDeploymentSpecifications.key = Shapes::ShapeRef.new(shape: NonEmptyString)
229
+ ComponentDeploymentSpecifications.value = Shapes::ShapeRef.new(shape: ComponentDeploymentSpecification)
230
+
231
+ ComponentLatestVersion.add_member(:arn, Shapes::ShapeRef.new(shape: ComponentVersionARN, location_name: "arn"))
232
+ ComponentLatestVersion.add_member(:component_version, Shapes::ShapeRef.new(shape: ComponentVersionString, location_name: "componentVersion"))
233
+ ComponentLatestVersion.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTimestamp"))
234
+ ComponentLatestVersion.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
235
+ ComponentLatestVersion.add_member(:publisher, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "publisher"))
236
+ ComponentLatestVersion.add_member(:platforms, Shapes::ShapeRef.new(shape: ComponentPlatformList, location_name: "platforms"))
237
+ ComponentLatestVersion.struct_class = Types::ComponentLatestVersion
238
+
239
+ ComponentList.member = Shapes::ShapeRef.new(shape: Component)
240
+
241
+ ComponentPlatform.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "name"))
242
+ ComponentPlatform.add_member(:attributes, Shapes::ShapeRef.new(shape: PlatformAttributesMap, location_name: "attributes"))
243
+ ComponentPlatform.struct_class = Types::ComponentPlatform
244
+
245
+ ComponentPlatformList.member = Shapes::ShapeRef.new(shape: ComponentPlatform)
246
+
247
+ ComponentRunWith.add_member(:posix_user, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "posixUser"))
248
+ ComponentRunWith.struct_class = Types::ComponentRunWith
249
+
250
+ ComponentVersionList.member = Shapes::ShapeRef.new(shape: ComponentVersionListItem)
251
+
252
+ ComponentVersionListItem.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentNameString, location_name: "componentName"))
253
+ ComponentVersionListItem.add_member(:component_version, Shapes::ShapeRef.new(shape: ComponentVersionString, location_name: "componentVersion"))
254
+ ComponentVersionListItem.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "arn"))
255
+ ComponentVersionListItem.struct_class = Types::ComponentVersionListItem
256
+
257
+ ComponentVersionRequirementMap.key = Shapes::ShapeRef.new(shape: NonEmptyString)
258
+ ComponentVersionRequirementMap.value = Shapes::ShapeRef.new(shape: NonEmptyString)
259
+
260
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
261
+ ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
262
+ ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
263
+ ConflictException.struct_class = Types::ConflictException
264
+
265
+ CoreDevice.add_member(:core_device_thing_name, Shapes::ShapeRef.new(shape: CoreDeviceThingName, location_name: "coreDeviceThingName"))
266
+ CoreDevice.add_member(:status, Shapes::ShapeRef.new(shape: CoreDeviceStatus, location_name: "status"))
267
+ CoreDevice.add_member(:last_status_update_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastStatusUpdateTimestamp"))
268
+ CoreDevice.struct_class = Types::CoreDevice
269
+
270
+ CoreDevicesList.member = Shapes::ShapeRef.new(shape: CoreDevice)
271
+
272
+ CreateComponentVersionRequest.add_member(:inline_recipe, Shapes::ShapeRef.new(shape: RecipeBlob, location_name: "inlineRecipe"))
273
+ CreateComponentVersionRequest.add_member(:lambda_function, Shapes::ShapeRef.new(shape: LambdaFunctionRecipeSource, location_name: "lambdaFunction"))
274
+ CreateComponentVersionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
275
+ CreateComponentVersionRequest.struct_class = Types::CreateComponentVersionRequest
276
+
277
+ CreateComponentVersionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ComponentVersionARN, location_name: "arn"))
278
+ CreateComponentVersionResponse.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentNameString, required: true, location_name: "componentName"))
279
+ CreateComponentVersionResponse.add_member(:component_version, Shapes::ShapeRef.new(shape: ComponentVersionString, required: true, location_name: "componentVersion"))
280
+ CreateComponentVersionResponse.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTimestamp"))
281
+ CreateComponentVersionResponse.add_member(:status, Shapes::ShapeRef.new(shape: CloudComponentStatus, required: true, location_name: "status"))
282
+ CreateComponentVersionResponse.struct_class = Types::CreateComponentVersionResponse
283
+
284
+ CreateDeploymentRequest.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetARN, required: true, location_name: "targetArn"))
285
+ CreateDeploymentRequest.add_member(:deployment_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "deploymentName"))
286
+ CreateDeploymentRequest.add_member(:components, Shapes::ShapeRef.new(shape: ComponentDeploymentSpecifications, location_name: "components"))
287
+ CreateDeploymentRequest.add_member(:iot_job_configuration, Shapes::ShapeRef.new(shape: DeploymentIoTJobConfiguration, location_name: "iotJobConfiguration"))
288
+ CreateDeploymentRequest.add_member(:deployment_policies, Shapes::ShapeRef.new(shape: DeploymentPolicies, location_name: "deploymentPolicies"))
289
+ CreateDeploymentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
290
+ CreateDeploymentRequest.struct_class = Types::CreateDeploymentRequest
291
+
292
+ CreateDeploymentResponse.add_member(:deployment_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "deploymentId"))
293
+ CreateDeploymentResponse.add_member(:iot_job_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "iotJobId"))
294
+ CreateDeploymentResponse.add_member(:iot_job_arn, Shapes::ShapeRef.new(shape: IoTJobARN, location_name: "iotJobArn"))
295
+ CreateDeploymentResponse.struct_class = Types::CreateDeploymentResponse
296
+
297
+ DeleteComponentRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ComponentVersionARN, required: true, location: "uri", location_name: "arn"))
298
+ DeleteComponentRequest.struct_class = Types::DeleteComponentRequest
299
+
300
+ DeleteCoreDeviceRequest.add_member(:core_device_thing_name, Shapes::ShapeRef.new(shape: CoreDeviceThingName, required: true, location: "uri", location_name: "coreDeviceThingName"))
301
+ DeleteCoreDeviceRequest.struct_class = Types::DeleteCoreDeviceRequest
302
+
303
+ Deployment.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetARN, location_name: "targetArn"))
304
+ Deployment.add_member(:revision_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "revisionId"))
305
+ Deployment.add_member(:deployment_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "deploymentId"))
306
+ Deployment.add_member(:deployment_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "deploymentName"))
307
+ Deployment.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTimestamp"))
308
+ Deployment.add_member(:deployment_status, Shapes::ShapeRef.new(shape: DeploymentStatus, location_name: "deploymentStatus"))
309
+ Deployment.add_member(:is_latest_for_target, Shapes::ShapeRef.new(shape: IsLatestForTarget, location_name: "isLatestForTarget"))
310
+ Deployment.struct_class = Types::Deployment
311
+
312
+ DeploymentComponentUpdatePolicy.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: OptionalInteger, location_name: "timeoutInSeconds", metadata: {"box"=>true}))
313
+ DeploymentComponentUpdatePolicy.add_member(:action, Shapes::ShapeRef.new(shape: DeploymentComponentUpdatePolicyAction, location_name: "action"))
314
+ DeploymentComponentUpdatePolicy.struct_class = Types::DeploymentComponentUpdatePolicy
315
+
316
+ DeploymentConfigurationValidationPolicy.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: OptionalInteger, location_name: "timeoutInSeconds", metadata: {"box"=>true}))
317
+ DeploymentConfigurationValidationPolicy.struct_class = Types::DeploymentConfigurationValidationPolicy
318
+
319
+ DeploymentIoTJobConfiguration.add_member(:job_executions_rollout_config, Shapes::ShapeRef.new(shape: IoTJobExecutionsRolloutConfig, location_name: "jobExecutionsRolloutConfig"))
320
+ DeploymentIoTJobConfiguration.add_member(:abort_config, Shapes::ShapeRef.new(shape: IoTJobAbortConfig, location_name: "abortConfig"))
321
+ DeploymentIoTJobConfiguration.add_member(:timeout_config, Shapes::ShapeRef.new(shape: IoTJobTimeoutConfig, location_name: "timeoutConfig"))
322
+ DeploymentIoTJobConfiguration.struct_class = Types::DeploymentIoTJobConfiguration
323
+
324
+ DeploymentList.member = Shapes::ShapeRef.new(shape: Deployment)
325
+
326
+ DeploymentPolicies.add_member(:failure_handling_policy, Shapes::ShapeRef.new(shape: DeploymentFailureHandlingPolicy, location_name: "failureHandlingPolicy"))
327
+ DeploymentPolicies.add_member(:component_update_policy, Shapes::ShapeRef.new(shape: DeploymentComponentUpdatePolicy, location_name: "componentUpdatePolicy"))
328
+ DeploymentPolicies.add_member(:configuration_validation_policy, Shapes::ShapeRef.new(shape: DeploymentConfigurationValidationPolicy, location_name: "configurationValidationPolicy"))
329
+ DeploymentPolicies.struct_class = Types::DeploymentPolicies
330
+
331
+ DescribeComponentRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ComponentVersionARN, required: true, location: "uri", location_name: "arn"))
332
+ DescribeComponentRequest.struct_class = Types::DescribeComponentRequest
333
+
334
+ DescribeComponentResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ComponentVersionARN, location_name: "arn"))
335
+ DescribeComponentResponse.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentNameString, location_name: "componentName"))
336
+ DescribeComponentResponse.add_member(:component_version, Shapes::ShapeRef.new(shape: ComponentVersionString, location_name: "componentVersion"))
337
+ DescribeComponentResponse.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTimestamp"))
338
+ DescribeComponentResponse.add_member(:publisher, Shapes::ShapeRef.new(shape: PublisherString, location_name: "publisher"))
339
+ DescribeComponentResponse.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "description"))
340
+ DescribeComponentResponse.add_member(:status, Shapes::ShapeRef.new(shape: CloudComponentStatus, location_name: "status"))
341
+ DescribeComponentResponse.add_member(:platforms, Shapes::ShapeRef.new(shape: ComponentPlatformList, location_name: "platforms"))
342
+ DescribeComponentResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
343
+ DescribeComponentResponse.struct_class = Types::DescribeComponentResponse
344
+
345
+ EffectiveDeployment.add_member(:deployment_id, Shapes::ShapeRef.new(shape: DeploymentID, required: true, location_name: "deploymentId"))
346
+ EffectiveDeployment.add_member(:deployment_name, Shapes::ShapeRef.new(shape: DeploymentName, required: true, location_name: "deploymentName"))
347
+ EffectiveDeployment.add_member(:iot_job_id, Shapes::ShapeRef.new(shape: IoTJobId, location_name: "iotJobId"))
348
+ EffectiveDeployment.add_member(:iot_job_arn, Shapes::ShapeRef.new(shape: IoTJobARN, location_name: "iotJobArn"))
349
+ EffectiveDeployment.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
350
+ EffectiveDeployment.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetARN, required: true, location_name: "targetArn"))
351
+ EffectiveDeployment.add_member(:core_device_execution_status, Shapes::ShapeRef.new(shape: EffectiveDeploymentExecutionStatus, required: true, location_name: "coreDeviceExecutionStatus"))
352
+ EffectiveDeployment.add_member(:reason, Shapes::ShapeRef.new(shape: Reason, location_name: "reason"))
353
+ EffectiveDeployment.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTimestamp"))
354
+ EffectiveDeployment.add_member(:modified_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "modifiedTimestamp"))
355
+ EffectiveDeployment.struct_class = Types::EffectiveDeployment
356
+
357
+ EffectiveDeploymentsList.member = Shapes::ShapeRef.new(shape: EffectiveDeployment)
358
+
359
+ GetComponentRequest.add_member(:recipe_output_format, Shapes::ShapeRef.new(shape: RecipeOutputFormat, location: "querystring", location_name: "recipeOutputFormat"))
360
+ GetComponentRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ComponentVersionARN, required: true, location: "uri", location_name: "arn"))
361
+ GetComponentRequest.struct_class = Types::GetComponentRequest
362
+
363
+ GetComponentResponse.add_member(:recipe_output_format, Shapes::ShapeRef.new(shape: RecipeOutputFormat, required: true, location_name: "recipeOutputFormat"))
364
+ GetComponentResponse.add_member(:recipe, Shapes::ShapeRef.new(shape: RecipeBlob, required: true, location_name: "recipe"))
365
+ GetComponentResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
366
+ GetComponentResponse.struct_class = Types::GetComponentResponse
367
+
368
+ GetComponentVersionArtifactRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ComponentVersionARN, required: true, location: "uri", location_name: "arn"))
369
+ GetComponentVersionArtifactRequest.add_member(:artifact_name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "artifactName"))
370
+ GetComponentVersionArtifactRequest.struct_class = Types::GetComponentVersionArtifactRequest
371
+
372
+ GetComponentVersionArtifactResponse.add_member(:pre_signed_url, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "preSignedUrl"))
373
+ GetComponentVersionArtifactResponse.struct_class = Types::GetComponentVersionArtifactResponse
374
+
375
+ GetCoreDeviceRequest.add_member(:core_device_thing_name, Shapes::ShapeRef.new(shape: CoreDeviceThingName, required: true, location: "uri", location_name: "coreDeviceThingName"))
376
+ GetCoreDeviceRequest.struct_class = Types::GetCoreDeviceRequest
377
+
378
+ GetCoreDeviceResponse.add_member(:core_device_thing_name, Shapes::ShapeRef.new(shape: CoreDeviceThingName, location_name: "coreDeviceThingName"))
379
+ GetCoreDeviceResponse.add_member(:core_version, Shapes::ShapeRef.new(shape: GGCVersion, location_name: "coreVersion"))
380
+ GetCoreDeviceResponse.add_member(:platform, Shapes::ShapeRef.new(shape: CoreDevicePlatformString, location_name: "platform"))
381
+ GetCoreDeviceResponse.add_member(:architecture, Shapes::ShapeRef.new(shape: CoreDeviceArchitectureString, location_name: "architecture"))
382
+ GetCoreDeviceResponse.add_member(:status, Shapes::ShapeRef.new(shape: CoreDeviceStatus, location_name: "status"))
383
+ GetCoreDeviceResponse.add_member(:last_status_update_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastStatusUpdateTimestamp"))
384
+ GetCoreDeviceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
385
+ GetCoreDeviceResponse.struct_class = Types::GetCoreDeviceResponse
386
+
387
+ GetDeploymentRequest.add_member(:deployment_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "deploymentId"))
388
+ GetDeploymentRequest.struct_class = Types::GetDeploymentRequest
389
+
390
+ GetDeploymentResponse.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetARN, location_name: "targetArn"))
391
+ GetDeploymentResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "revisionId"))
392
+ GetDeploymentResponse.add_member(:deployment_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "deploymentId"))
393
+ GetDeploymentResponse.add_member(:deployment_name, Shapes::ShapeRef.new(shape: NullableString, location_name: "deploymentName"))
394
+ GetDeploymentResponse.add_member(:deployment_status, Shapes::ShapeRef.new(shape: DeploymentStatus, location_name: "deploymentStatus"))
395
+ GetDeploymentResponse.add_member(:iot_job_id, Shapes::ShapeRef.new(shape: NullableString, location_name: "iotJobId"))
396
+ GetDeploymentResponse.add_member(:iot_job_arn, Shapes::ShapeRef.new(shape: IoTJobARN, location_name: "iotJobArn"))
397
+ GetDeploymentResponse.add_member(:components, Shapes::ShapeRef.new(shape: ComponentDeploymentSpecifications, location_name: "components"))
398
+ GetDeploymentResponse.add_member(:deployment_policies, Shapes::ShapeRef.new(shape: DeploymentPolicies, location_name: "deploymentPolicies"))
399
+ GetDeploymentResponse.add_member(:iot_job_configuration, Shapes::ShapeRef.new(shape: DeploymentIoTJobConfiguration, location_name: "iotJobConfiguration"))
400
+ GetDeploymentResponse.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTimestamp"))
401
+ GetDeploymentResponse.add_member(:is_latest_for_target, Shapes::ShapeRef.new(shape: IsLatestForTarget, location_name: "isLatestForTarget"))
402
+ GetDeploymentResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
403
+ GetDeploymentResponse.struct_class = Types::GetDeploymentResponse
404
+
405
+ InstalledComponent.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentNameString, location_name: "componentName"))
406
+ InstalledComponent.add_member(:component_version, Shapes::ShapeRef.new(shape: ComponentVersionString, location_name: "componentVersion"))
407
+ InstalledComponent.add_member(:lifecycle_state, Shapes::ShapeRef.new(shape: InstalledComponentLifecycleState, location_name: "lifecycleState"))
408
+ InstalledComponent.add_member(:lifecycle_state_details, Shapes::ShapeRef.new(shape: LifecycleStateDetails, location_name: "lifecycleStateDetails"))
409
+ InstalledComponent.add_member(:is_root, Shapes::ShapeRef.new(shape: IsRoot, location_name: "isRoot"))
410
+ InstalledComponent.struct_class = Types::InstalledComponent
411
+
412
+ InstalledComponentList.member = Shapes::ShapeRef.new(shape: InstalledComponent)
413
+
414
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
415
+ InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: RetryAfterSeconds, location: "header", location_name: "Retry-After"))
416
+ InternalServerException.struct_class = Types::InternalServerException
417
+
418
+ IoTJobAbortConfig.add_member(:criteria_list, Shapes::ShapeRef.new(shape: IoTJobAbortCriteriaList, required: true, location_name: "criteriaList"))
419
+ IoTJobAbortConfig.struct_class = Types::IoTJobAbortConfig
420
+
421
+ IoTJobAbortCriteria.add_member(:failure_type, Shapes::ShapeRef.new(shape: IoTJobExecutionFailureType, required: true, location_name: "failureType"))
422
+ IoTJobAbortCriteria.add_member(:action, Shapes::ShapeRef.new(shape: IoTJobAbortAction, required: true, location_name: "action"))
423
+ IoTJobAbortCriteria.add_member(:threshold_percentage, Shapes::ShapeRef.new(shape: IoTJobAbortThresholdPercentage, required: true, location_name: "thresholdPercentage"))
424
+ IoTJobAbortCriteria.add_member(:min_number_of_executed_things, Shapes::ShapeRef.new(shape: IoTJobMinimumNumberOfExecutedThings, required: true, location_name: "minNumberOfExecutedThings"))
425
+ IoTJobAbortCriteria.struct_class = Types::IoTJobAbortCriteria
426
+
427
+ IoTJobAbortCriteriaList.member = Shapes::ShapeRef.new(shape: IoTJobAbortCriteria)
428
+
429
+ IoTJobExecutionsRolloutConfig.add_member(:exponential_rate, Shapes::ShapeRef.new(shape: IoTJobExponentialRolloutRate, location_name: "exponentialRate"))
430
+ IoTJobExecutionsRolloutConfig.add_member(:maximum_per_minute, Shapes::ShapeRef.new(shape: IoTJobMaxExecutionsPerMin, location_name: "maximumPerMinute", metadata: {"box"=>true}))
431
+ IoTJobExecutionsRolloutConfig.struct_class = Types::IoTJobExecutionsRolloutConfig
432
+
433
+ IoTJobExponentialRolloutRate.add_member(:base_rate_per_minute, Shapes::ShapeRef.new(shape: IoTJobRolloutBaseRatePerMinute, required: true, location_name: "baseRatePerMinute"))
434
+ IoTJobExponentialRolloutRate.add_member(:increment_factor, Shapes::ShapeRef.new(shape: IoTJobRolloutIncrementFactor, required: true, location_name: "incrementFactor"))
435
+ IoTJobExponentialRolloutRate.add_member(:rate_increase_criteria, Shapes::ShapeRef.new(shape: IoTJobRateIncreaseCriteria, required: true, location_name: "rateIncreaseCriteria"))
436
+ IoTJobExponentialRolloutRate.struct_class = Types::IoTJobExponentialRolloutRate
437
+
438
+ IoTJobRateIncreaseCriteria.add_member(:number_of_notified_things, Shapes::ShapeRef.new(shape: IoTJobNumberOfThings, location_name: "numberOfNotifiedThings", metadata: {"box"=>true}))
439
+ IoTJobRateIncreaseCriteria.add_member(:number_of_succeeded_things, Shapes::ShapeRef.new(shape: IoTJobNumberOfThings, location_name: "numberOfSucceededThings", metadata: {"box"=>true}))
440
+ IoTJobRateIncreaseCriteria.struct_class = Types::IoTJobRateIncreaseCriteria
441
+
442
+ IoTJobTimeoutConfig.add_member(:in_progress_timeout_in_minutes, Shapes::ShapeRef.new(shape: IoTJobInProgressTimeoutInMinutes, location_name: "inProgressTimeoutInMinutes", metadata: {"box"=>true}))
443
+ IoTJobTimeoutConfig.struct_class = Types::IoTJobTimeoutConfig
444
+
445
+ LambdaContainerParams.add_member(:memory_size_in_kb, Shapes::ShapeRef.new(shape: OptionalInteger, location_name: "memorySizeInKB", metadata: {"box"=>true}))
446
+ LambdaContainerParams.add_member(:mount_ro_sysfs, Shapes::ShapeRef.new(shape: OptionalBoolean, location_name: "mountROSysfs", metadata: {"box"=>true}))
447
+ LambdaContainerParams.add_member(:volumes, Shapes::ShapeRef.new(shape: LambdaVolumeList, location_name: "volumes"))
448
+ LambdaContainerParams.add_member(:devices, Shapes::ShapeRef.new(shape: LambdaDeviceList, location_name: "devices"))
449
+ LambdaContainerParams.struct_class = Types::LambdaContainerParams
450
+
451
+ LambdaDeviceList.member = Shapes::ShapeRef.new(shape: LambdaDeviceMount)
452
+
453
+ LambdaDeviceMount.add_member(:path, Shapes::ShapeRef.new(shape: FileSystemPath, required: true, location_name: "path"))
454
+ LambdaDeviceMount.add_member(:permission, Shapes::ShapeRef.new(shape: LambdaFilesystemPermission, location_name: "permission"))
455
+ LambdaDeviceMount.add_member(:add_group_owner, Shapes::ShapeRef.new(shape: OptionalBoolean, location_name: "addGroupOwner", metadata: {"box"=>true}))
456
+ LambdaDeviceMount.struct_class = Types::LambdaDeviceMount
457
+
458
+ LambdaEnvironmentVariables.key = Shapes::ShapeRef.new(shape: NonEmptyString)
459
+ LambdaEnvironmentVariables.value = Shapes::ShapeRef.new(shape: String)
460
+
461
+ LambdaEventSource.add_member(:topic, Shapes::ShapeRef.new(shape: TopicString, required: true, location_name: "topic"))
462
+ LambdaEventSource.add_member(:type, Shapes::ShapeRef.new(shape: LambdaEventSourceType, required: true, location_name: "type"))
463
+ LambdaEventSource.struct_class = Types::LambdaEventSource
464
+
465
+ LambdaEventSourceList.member = Shapes::ShapeRef.new(shape: LambdaEventSource)
466
+
467
+ LambdaExecArgsList.member = Shapes::ShapeRef.new(shape: LambdaExecArg)
468
+
469
+ LambdaExecutionParameters.add_member(:event_sources, Shapes::ShapeRef.new(shape: LambdaEventSourceList, location_name: "eventSources"))
470
+ LambdaExecutionParameters.add_member(:max_queue_size, Shapes::ShapeRef.new(shape: OptionalInteger, location_name: "maxQueueSize", metadata: {"box"=>true}))
471
+ LambdaExecutionParameters.add_member(:max_instances_count, Shapes::ShapeRef.new(shape: OptionalInteger, location_name: "maxInstancesCount", metadata: {"box"=>true}))
472
+ LambdaExecutionParameters.add_member(:max_idle_time_in_seconds, Shapes::ShapeRef.new(shape: OptionalInteger, location_name: "maxIdleTimeInSeconds", metadata: {"box"=>true}))
473
+ LambdaExecutionParameters.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: OptionalInteger, location_name: "timeoutInSeconds", metadata: {"box"=>true}))
474
+ LambdaExecutionParameters.add_member(:status_timeout_in_seconds, Shapes::ShapeRef.new(shape: OptionalInteger, location_name: "statusTimeoutInSeconds", metadata: {"box"=>true}))
475
+ LambdaExecutionParameters.add_member(:pinned, Shapes::ShapeRef.new(shape: OptionalBoolean, location_name: "pinned", metadata: {"box"=>true}))
476
+ LambdaExecutionParameters.add_member(:input_payload_encoding_type, Shapes::ShapeRef.new(shape: LambdaInputPayloadEncodingType, location_name: "inputPayloadEncodingType"))
477
+ LambdaExecutionParameters.add_member(:exec_args, Shapes::ShapeRef.new(shape: LambdaExecArgsList, location_name: "execArgs"))
478
+ LambdaExecutionParameters.add_member(:environment_variables, Shapes::ShapeRef.new(shape: LambdaEnvironmentVariables, location_name: "environmentVariables"))
479
+ LambdaExecutionParameters.add_member(:linux_process_params, Shapes::ShapeRef.new(shape: LambdaLinuxProcessParams, location_name: "linuxProcessParams"))
480
+ LambdaExecutionParameters.struct_class = Types::LambdaExecutionParameters
481
+
482
+ LambdaFunctionRecipeSource.add_member(:lambda_arn, Shapes::ShapeRef.new(shape: LambdaFunctionARNWithVersionNumber, required: true, location_name: "lambdaArn"))
483
+ LambdaFunctionRecipeSource.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentNameString, location_name: "componentName"))
484
+ LambdaFunctionRecipeSource.add_member(:component_version, Shapes::ShapeRef.new(shape: ComponentVersionString, location_name: "componentVersion"))
485
+ LambdaFunctionRecipeSource.add_member(:component_platforms, Shapes::ShapeRef.new(shape: ComponentPlatformList, location_name: "componentPlatforms"))
486
+ LambdaFunctionRecipeSource.add_member(:component_dependencies, Shapes::ShapeRef.new(shape: ComponentDependencyMap, location_name: "componentDependencies"))
487
+ LambdaFunctionRecipeSource.add_member(:component_lambda_parameters, Shapes::ShapeRef.new(shape: LambdaExecutionParameters, location_name: "componentLambdaParameters"))
488
+ LambdaFunctionRecipeSource.struct_class = Types::LambdaFunctionRecipeSource
489
+
490
+ LambdaLinuxProcessParams.add_member(:isolation_mode, Shapes::ShapeRef.new(shape: LambdaIsolationMode, location_name: "isolationMode"))
491
+ LambdaLinuxProcessParams.add_member(:container_params, Shapes::ShapeRef.new(shape: LambdaContainerParams, location_name: "containerParams"))
492
+ LambdaLinuxProcessParams.struct_class = Types::LambdaLinuxProcessParams
493
+
494
+ LambdaVolumeList.member = Shapes::ShapeRef.new(shape: LambdaVolumeMount)
495
+
496
+ LambdaVolumeMount.add_member(:source_path, Shapes::ShapeRef.new(shape: FileSystemPath, required: true, location_name: "sourcePath"))
497
+ LambdaVolumeMount.add_member(:destination_path, Shapes::ShapeRef.new(shape: FileSystemPath, required: true, location_name: "destinationPath"))
498
+ LambdaVolumeMount.add_member(:permission, Shapes::ShapeRef.new(shape: LambdaFilesystemPermission, location_name: "permission"))
499
+ LambdaVolumeMount.add_member(:add_group_owner, Shapes::ShapeRef.new(shape: OptionalBoolean, location_name: "addGroupOwner", metadata: {"box"=>true}))
500
+ LambdaVolumeMount.struct_class = Types::LambdaVolumeMount
501
+
502
+ ListComponentVersionsRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ComponentARN, required: true, location: "uri", location_name: "arn"))
503
+ ListComponentVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DefaultMaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
504
+ ListComponentVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location: "querystring", location_name: "nextToken", metadata: {"box"=>true}))
505
+ ListComponentVersionsRequest.struct_class = Types::ListComponentVersionsRequest
506
+
507
+ ListComponentVersionsResponse.add_member(:component_versions, Shapes::ShapeRef.new(shape: ComponentVersionList, location_name: "componentVersions"))
508
+ ListComponentVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location_name: "nextToken"))
509
+ ListComponentVersionsResponse.struct_class = Types::ListComponentVersionsResponse
510
+
511
+ ListComponentsRequest.add_member(:scope, Shapes::ShapeRef.new(shape: ComponentVisibilityScope, location: "querystring", location_name: "scope"))
512
+ ListComponentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DefaultMaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
513
+ ListComponentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location: "querystring", location_name: "nextToken", metadata: {"box"=>true}))
514
+ ListComponentsRequest.struct_class = Types::ListComponentsRequest
515
+
516
+ ListComponentsResponse.add_member(:components, Shapes::ShapeRef.new(shape: ComponentList, location_name: "components"))
517
+ ListComponentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location_name: "nextToken"))
518
+ ListComponentsResponse.struct_class = Types::ListComponentsResponse
519
+
520
+ ListCoreDevicesRequest.add_member(:thing_group_arn, Shapes::ShapeRef.new(shape: ThingGroupARN, location: "querystring", location_name: "thingGroupArn"))
521
+ ListCoreDevicesRequest.add_member(:status, Shapes::ShapeRef.new(shape: CoreDeviceStatus, location: "querystring", location_name: "status"))
522
+ ListCoreDevicesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DefaultMaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
523
+ ListCoreDevicesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location: "querystring", location_name: "nextToken", metadata: {"box"=>true}))
524
+ ListCoreDevicesRequest.struct_class = Types::ListCoreDevicesRequest
525
+
526
+ ListCoreDevicesResponse.add_member(:core_devices, Shapes::ShapeRef.new(shape: CoreDevicesList, location_name: "coreDevices"))
527
+ ListCoreDevicesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location_name: "nextToken"))
528
+ ListCoreDevicesResponse.struct_class = Types::ListCoreDevicesResponse
529
+
530
+ ListDeploymentsRequest.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetARN, location: "querystring", location_name: "targetArn"))
531
+ ListDeploymentsRequest.add_member(:history_filter, Shapes::ShapeRef.new(shape: DeploymentHistoryFilter, location: "querystring", location_name: "historyFilter"))
532
+ ListDeploymentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DefaultMaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
533
+ ListDeploymentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location: "querystring", location_name: "nextToken", metadata: {"box"=>true}))
534
+ ListDeploymentsRequest.struct_class = Types::ListDeploymentsRequest
535
+
536
+ ListDeploymentsResponse.add_member(:deployments, Shapes::ShapeRef.new(shape: DeploymentList, location_name: "deployments"))
537
+ ListDeploymentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location_name: "nextToken"))
538
+ ListDeploymentsResponse.struct_class = Types::ListDeploymentsResponse
539
+
540
+ ListEffectiveDeploymentsRequest.add_member(:core_device_thing_name, Shapes::ShapeRef.new(shape: CoreDeviceThingName, required: true, location: "uri", location_name: "coreDeviceThingName"))
541
+ ListEffectiveDeploymentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DefaultMaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
542
+ ListEffectiveDeploymentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location: "querystring", location_name: "nextToken", metadata: {"box"=>true}))
543
+ ListEffectiveDeploymentsRequest.struct_class = Types::ListEffectiveDeploymentsRequest
544
+
545
+ ListEffectiveDeploymentsResponse.add_member(:effective_deployments, Shapes::ShapeRef.new(shape: EffectiveDeploymentsList, location_name: "effectiveDeployments"))
546
+ ListEffectiveDeploymentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location_name: "nextToken"))
547
+ ListEffectiveDeploymentsResponse.struct_class = Types::ListEffectiveDeploymentsResponse
548
+
549
+ ListInstalledComponentsRequest.add_member(:core_device_thing_name, Shapes::ShapeRef.new(shape: CoreDeviceThingName, required: true, location: "uri", location_name: "coreDeviceThingName"))
550
+ ListInstalledComponentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DefaultMaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
551
+ ListInstalledComponentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location: "querystring", location_name: "nextToken", metadata: {"box"=>true}))
552
+ ListInstalledComponentsRequest.struct_class = Types::ListInstalledComponentsRequest
553
+
554
+ ListInstalledComponentsResponse.add_member(:installed_components, Shapes::ShapeRef.new(shape: InstalledComponentList, location_name: "installedComponents"))
555
+ ListInstalledComponentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location_name: "nextToken"))
556
+ ListInstalledComponentsResponse.struct_class = Types::ListInstalledComponentsResponse
557
+
558
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: GenericV2ARN, required: true, location: "uri", location_name: "resourceArn"))
559
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
560
+
561
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
562
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
563
+
564
+ PlatformAttributesMap.key = Shapes::ShapeRef.new(shape: NonEmptyString)
565
+ PlatformAttributesMap.value = Shapes::ShapeRef.new(shape: NonEmptyString)
566
+
567
+ ResolveComponentCandidatesRequest.add_member(:platform, Shapes::ShapeRef.new(shape: ComponentPlatform, required: true, location_name: "platform"))
568
+ ResolveComponentCandidatesRequest.add_member(:component_candidates, Shapes::ShapeRef.new(shape: ComponentCandidateList, required: true, location_name: "componentCandidates"))
569
+ ResolveComponentCandidatesRequest.struct_class = Types::ResolveComponentCandidatesRequest
570
+
571
+ ResolveComponentCandidatesResponse.add_member(:resolved_component_versions, Shapes::ShapeRef.new(shape: ResolvedComponentVersionsList, location_name: "resolvedComponentVersions"))
572
+ ResolveComponentCandidatesResponse.struct_class = Types::ResolveComponentCandidatesResponse
573
+
574
+ ResolvedComponentVersion.add_member(:arn, Shapes::ShapeRef.new(shape: ComponentVersionARN, location_name: "arn"))
575
+ ResolvedComponentVersion.add_member(:component_name, Shapes::ShapeRef.new(shape: ComponentNameString, location_name: "componentName"))
576
+ ResolvedComponentVersion.add_member(:component_version, Shapes::ShapeRef.new(shape: ComponentVersionString, location_name: "componentVersion"))
577
+ ResolvedComponentVersion.add_member(:recipe, Shapes::ShapeRef.new(shape: RecipeBlob, location_name: "recipe"))
578
+ ResolvedComponentVersion.struct_class = Types::ResolvedComponentVersion
579
+
580
+ ResolvedComponentVersionsList.member = Shapes::ShapeRef.new(shape: ResolvedComponentVersion)
581
+
582
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
583
+ ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
584
+ ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
585
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
586
+
587
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
588
+ ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceId"))
589
+ ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
590
+ ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "quotaCode"))
591
+ ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceCode"))
592
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
593
+
594
+ StringMap.key = Shapes::ShapeRef.new(shape: NonEmptyString)
595
+ StringMap.value = Shapes::ShapeRef.new(shape: NonEmptyString)
596
+
597
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
598
+
599
+ TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
600
+ TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
601
+
602
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: GenericV2ARN, required: true, location: "uri", location_name: "resourceArn"))
603
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
604
+ TagResourceRequest.struct_class = Types::TagResourceRequest
605
+
606
+ TagResourceResponse.struct_class = Types::TagResourceResponse
607
+
608
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
609
+ ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
610
+ ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "serviceCode"))
611
+ ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: RetryAfterSeconds, location: "header", location_name: "Retry-After"))
612
+ ThrottlingException.struct_class = Types::ThrottlingException
613
+
614
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: GenericV2ARN, required: true, location: "uri", location_name: "resourceArn"))
615
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
616
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
617
+
618
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
619
+
620
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
621
+ ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, location_name: "reason"))
622
+ ValidationException.add_member(:fields, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fields"))
623
+ ValidationException.struct_class = Types::ValidationException
624
+
625
+ ValidationExceptionField.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
626
+ ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
627
+ ValidationExceptionField.struct_class = Types::ValidationExceptionField
628
+
629
+ ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
630
+
631
+
632
+ # @api private
633
+ API = Seahorse::Model::Api.new.tap do |api|
634
+
635
+ api.version = "2020-11-30"
636
+
637
+ api.metadata = {
638
+ "apiVersion" => "2020-11-30",
639
+ "endpointPrefix" => "greengrass",
640
+ "jsonVersion" => "1.1",
641
+ "protocol" => "rest-json",
642
+ "serviceAbbreviation" => "AWS GreengrassV2",
643
+ "serviceFullName" => "AWS IoT Greengrass V2",
644
+ "serviceId" => "GreengrassV2",
645
+ "signatureVersion" => "v4",
646
+ "uid" => "greengrassv2-2020-11-30",
647
+ }
648
+
649
+ api.add_operation(:cancel_deployment, Seahorse::Model::Operation.new.tap do |o|
650
+ o.name = "CancelDeployment"
651
+ o.http_method = "POST"
652
+ o.http_request_uri = "/greengrass/v2/deployments/{deploymentId}/cancel"
653
+ o.input = Shapes::ShapeRef.new(shape: CancelDeploymentRequest)
654
+ o.output = Shapes::ShapeRef.new(shape: CancelDeploymentResponse)
655
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
656
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
657
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
658
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
659
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
660
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
661
+ end)
662
+
663
+ api.add_operation(:create_component_version, Seahorse::Model::Operation.new.tap do |o|
664
+ o.name = "CreateComponentVersion"
665
+ o.http_method = "POST"
666
+ o.http_request_uri = "/greengrass/v2/createComponentVersion"
667
+ o.input = Shapes::ShapeRef.new(shape: CreateComponentVersionRequest)
668
+ o.output = Shapes::ShapeRef.new(shape: CreateComponentVersionResponse)
669
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
670
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
671
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
672
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
673
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
674
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
675
+ end)
676
+
677
+ api.add_operation(:create_deployment, Seahorse::Model::Operation.new.tap do |o|
678
+ o.name = "CreateDeployment"
679
+ o.http_method = "POST"
680
+ o.http_request_uri = "/greengrass/v2/deployments"
681
+ o.input = Shapes::ShapeRef.new(shape: CreateDeploymentRequest)
682
+ o.output = Shapes::ShapeRef.new(shape: CreateDeploymentResponse)
683
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
684
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
685
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
686
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
687
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
688
+ end)
689
+
690
+ api.add_operation(:delete_component, Seahorse::Model::Operation.new.tap do |o|
691
+ o.name = "DeleteComponent"
692
+ o.http_method = "DELETE"
693
+ o.http_request_uri = "/greengrass/v2/components/{arn}"
694
+ o.input = Shapes::ShapeRef.new(shape: DeleteComponentRequest)
695
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
696
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
697
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
698
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
699
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
700
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
701
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
702
+ end)
703
+
704
+ api.add_operation(:delete_core_device, Seahorse::Model::Operation.new.tap do |o|
705
+ o.name = "DeleteCoreDevice"
706
+ o.http_method = "DELETE"
707
+ o.http_request_uri = "/greengrass/v2/coreDevices/{coreDeviceThingName}"
708
+ o.input = Shapes::ShapeRef.new(shape: DeleteCoreDeviceRequest)
709
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
710
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
711
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
712
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
713
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
714
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
715
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
716
+ end)
717
+
718
+ api.add_operation(:describe_component, Seahorse::Model::Operation.new.tap do |o|
719
+ o.name = "DescribeComponent"
720
+ o.http_method = "GET"
721
+ o.http_request_uri = "/greengrass/v2/components/{arn}/metadata"
722
+ o.input = Shapes::ShapeRef.new(shape: DescribeComponentRequest)
723
+ o.output = Shapes::ShapeRef.new(shape: DescribeComponentResponse)
724
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
725
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
726
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
727
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
728
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
729
+ end)
730
+
731
+ api.add_operation(:get_component, Seahorse::Model::Operation.new.tap do |o|
732
+ o.name = "GetComponent"
733
+ o.http_method = "GET"
734
+ o.http_request_uri = "/greengrass/v2/components/{arn}"
735
+ o.input = Shapes::ShapeRef.new(shape: GetComponentRequest)
736
+ o.output = Shapes::ShapeRef.new(shape: GetComponentResponse)
737
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
738
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
739
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
740
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
741
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
742
+ end)
743
+
744
+ api.add_operation(:get_component_version_artifact, Seahorse::Model::Operation.new.tap do |o|
745
+ o.name = "GetComponentVersionArtifact"
746
+ o.http_method = "GET"
747
+ o.http_request_uri = "/greengrass/v2/components/{arn}/artifacts/{artifactName+}"
748
+ o.input = Shapes::ShapeRef.new(shape: GetComponentVersionArtifactRequest)
749
+ o.output = Shapes::ShapeRef.new(shape: GetComponentVersionArtifactResponse)
750
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
751
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
752
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
753
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
754
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
755
+ end)
756
+
757
+ api.add_operation(:get_core_device, Seahorse::Model::Operation.new.tap do |o|
758
+ o.name = "GetCoreDevice"
759
+ o.http_method = "GET"
760
+ o.http_request_uri = "/greengrass/v2/coreDevices/{coreDeviceThingName}"
761
+ o.input = Shapes::ShapeRef.new(shape: GetCoreDeviceRequest)
762
+ o.output = Shapes::ShapeRef.new(shape: GetCoreDeviceResponse)
763
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
764
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
765
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
766
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
767
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
768
+ end)
769
+
770
+ api.add_operation(:get_deployment, Seahorse::Model::Operation.new.tap do |o|
771
+ o.name = "GetDeployment"
772
+ o.http_method = "GET"
773
+ o.http_request_uri = "/greengrass/v2/deployments/{deploymentId}"
774
+ o.input = Shapes::ShapeRef.new(shape: GetDeploymentRequest)
775
+ o.output = Shapes::ShapeRef.new(shape: GetDeploymentResponse)
776
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
777
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
778
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
779
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
780
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
781
+ end)
782
+
783
+ api.add_operation(:list_component_versions, Seahorse::Model::Operation.new.tap do |o|
784
+ o.name = "ListComponentVersions"
785
+ o.http_method = "GET"
786
+ o.http_request_uri = "/greengrass/v2/components/{arn}/versions"
787
+ o.input = Shapes::ShapeRef.new(shape: ListComponentVersionsRequest)
788
+ o.output = Shapes::ShapeRef.new(shape: ListComponentVersionsResponse)
789
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
790
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
791
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
792
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
793
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
794
+ o[:pager] = Aws::Pager.new(
795
+ limit_key: "max_results",
796
+ tokens: {
797
+ "next_token" => "next_token"
798
+ }
799
+ )
800
+ end)
801
+
802
+ api.add_operation(:list_components, Seahorse::Model::Operation.new.tap do |o|
803
+ o.name = "ListComponents"
804
+ o.http_method = "GET"
805
+ o.http_request_uri = "/greengrass/v2/components"
806
+ o.input = Shapes::ShapeRef.new(shape: ListComponentsRequest)
807
+ o.output = Shapes::ShapeRef.new(shape: ListComponentsResponse)
808
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
809
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
810
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
811
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
812
+ o[:pager] = Aws::Pager.new(
813
+ limit_key: "max_results",
814
+ tokens: {
815
+ "next_token" => "next_token"
816
+ }
817
+ )
818
+ end)
819
+
820
+ api.add_operation(:list_core_devices, Seahorse::Model::Operation.new.tap do |o|
821
+ o.name = "ListCoreDevices"
822
+ o.http_method = "GET"
823
+ o.http_request_uri = "/greengrass/v2/coreDevices"
824
+ o.input = Shapes::ShapeRef.new(shape: ListCoreDevicesRequest)
825
+ o.output = Shapes::ShapeRef.new(shape: ListCoreDevicesResponse)
826
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
827
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
828
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
829
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
830
+ o[:pager] = Aws::Pager.new(
831
+ limit_key: "max_results",
832
+ tokens: {
833
+ "next_token" => "next_token"
834
+ }
835
+ )
836
+ end)
837
+
838
+ api.add_operation(:list_deployments, Seahorse::Model::Operation.new.tap do |o|
839
+ o.name = "ListDeployments"
840
+ o.http_method = "GET"
841
+ o.http_request_uri = "/greengrass/v2/deployments"
842
+ o.input = Shapes::ShapeRef.new(shape: ListDeploymentsRequest)
843
+ o.output = Shapes::ShapeRef.new(shape: ListDeploymentsResponse)
844
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
845
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
846
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
847
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
848
+ o[:pager] = Aws::Pager.new(
849
+ limit_key: "max_results",
850
+ tokens: {
851
+ "next_token" => "next_token"
852
+ }
853
+ )
854
+ end)
855
+
856
+ api.add_operation(:list_effective_deployments, Seahorse::Model::Operation.new.tap do |o|
857
+ o.name = "ListEffectiveDeployments"
858
+ o.http_method = "GET"
859
+ o.http_request_uri = "/greengrass/v2/coreDevices/{coreDeviceThingName}/effectiveDeployments"
860
+ o.input = Shapes::ShapeRef.new(shape: ListEffectiveDeploymentsRequest)
861
+ o.output = Shapes::ShapeRef.new(shape: ListEffectiveDeploymentsResponse)
862
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
863
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
864
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
865
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
866
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
867
+ o[:pager] = Aws::Pager.new(
868
+ limit_key: "max_results",
869
+ tokens: {
870
+ "next_token" => "next_token"
871
+ }
872
+ )
873
+ end)
874
+
875
+ api.add_operation(:list_installed_components, Seahorse::Model::Operation.new.tap do |o|
876
+ o.name = "ListInstalledComponents"
877
+ o.http_method = "GET"
878
+ o.http_request_uri = "/greengrass/v2/coreDevices/{coreDeviceThingName}/installedComponents"
879
+ o.input = Shapes::ShapeRef.new(shape: ListInstalledComponentsRequest)
880
+ o.output = Shapes::ShapeRef.new(shape: ListInstalledComponentsResponse)
881
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
882
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
883
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
884
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
885
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
886
+ o[:pager] = Aws::Pager.new(
887
+ limit_key: "max_results",
888
+ tokens: {
889
+ "next_token" => "next_token"
890
+ }
891
+ )
892
+ end)
893
+
894
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
895
+ o.name = "ListTagsForResource"
896
+ o.http_method = "GET"
897
+ o.http_request_uri = "/tags/{resourceArn}"
898
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
899
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
900
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
901
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
902
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
903
+ end)
904
+
905
+ api.add_operation(:resolve_component_candidates, Seahorse::Model::Operation.new.tap do |o|
906
+ o.name = "ResolveComponentCandidates"
907
+ o.http_method = "POST"
908
+ o.http_request_uri = "/greengrass/v2/resolveComponentCandidates"
909
+ o.input = Shapes::ShapeRef.new(shape: ResolveComponentCandidatesRequest)
910
+ o.output = Shapes::ShapeRef.new(shape: ResolveComponentCandidatesResponse)
911
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
912
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
913
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
914
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
915
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
916
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
917
+ end)
918
+
919
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
920
+ o.name = "TagResource"
921
+ o.http_method = "POST"
922
+ o.http_request_uri = "/tags/{resourceArn}"
923
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
924
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
925
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
926
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
927
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
928
+ end)
929
+
930
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
931
+ o.name = "UntagResource"
932
+ o.http_method = "DELETE"
933
+ o.http_request_uri = "/tags/{resourceArn}"
934
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
935
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
936
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
937
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
938
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
939
+ end)
940
+ end
941
+
942
+ end
943
+ end