aws-sdk-greengrassv2 1.2.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '039005d54ba702649a6cd068c7f7f391b5d43d50babbd17a13f325c0b735dde2'
4
- data.tar.gz: a7ccf12bd30e8e7c46997975962f89bed8d90dcecfbb844e76d89155b4931a6e
3
+ metadata.gz: 2f419048547b10d07ea67f466e830ded2639a788049513c20298a31bf745b868
4
+ data.tar.gz: 98b2e906c2d460ba0499b0a1d2063cf213844cc5888294ed6b898c912913f44c
5
5
  SHA512:
6
- metadata.gz: fed635fb6856e58c3c657e59fe64c808590dd73920d5579e80a944a58e5cc1cb6d89ecc2781ebb97317da7542d63c8d47c1f02b0264b5d5407bf2a527f3526e9
7
- data.tar.gz: 8cc9457b36f886729a6ee1b92ac818c475e64305db39e1559bc70be50e9398d9989dbd4f13209aa134cebf14c55d2bfd8f08724bfb69fd05b0ee2c3487df7b71
6
+ metadata.gz: 749a703b22b3f5750386b1592e62fa7266315913a0dd5b301631cbe5279e1ed440f175399f29ce8e47e46754f57b21be91aaa77e9ba0620ac2d76b1703de032e
7
+ data.tar.gz: 2ffdaa742ab6ed5116161719db9be0320865c4898694ad4aa170cfa43a3e34fa419d13b06ac7fa76520620fa43d6aefe0bc3252a7ac00090afcd2fe06c058856
data/CHANGELOG.md ADDED
@@ -0,0 +1,38 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.6.0 (2021-07-30)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.5.0 (2021-07-28)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.4.0 (2021-06-14)
15
+ ------------------
16
+
17
+ * Feature - We have verified the APIs being released here and are ready to release
18
+
19
+ 1.3.0 (2021-03-10)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.2.0 (2021-02-02)
25
+ ------------------
26
+
27
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
28
+
29
+ 1.1.0 (2021-01-22)
30
+ ------------------
31
+
32
+ * Feature - Documentation updates that improve clarity and fix broken links.
33
+
34
+ 1.0.0 (2020-12-15)
35
+ ------------------
36
+
37
+ * Feature - Initial release of `aws-sdk-greengrassv2`.
38
+
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.6.0
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -28,7 +28,7 @@ require_relative 'aws-sdk-greengrassv2/customizations'
28
28
  # structure.
29
29
  #
30
30
  # greengrass_v2 = Aws::GreengrassV2::Client.new
31
- # resp = greengrass_v2.cancel_deployment(params)
31
+ # resp = greengrass_v2.batch_associate_client_device_with_core_device(params)
32
32
  #
33
33
  # See {Client} for more information.
34
34
  #
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-greengrassv2/customizations'
48
48
  # @!group service
49
49
  module Aws::GreengrassV2
50
50
 
51
- GEM_VERSION = '1.2.0'
51
+ GEM_VERSION = '1.6.0'
52
52
 
53
53
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -327,6 +327,109 @@ module Aws::GreengrassV2
327
327
 
328
328
  # @!group API Operations
329
329
 
330
+ # Associate a list of client devices with a core device. Use this API
331
+ # operation to specify which client devices can discover a core device
332
+ # through cloud discovery. With cloud discovery, client devices connect
333
+ # to AWS IoT Greengrass to retrieve associated core devices'
334
+ # connectivity information and certificates. For more information, see
335
+ # [Configure cloud discovery][1] in the *AWS IoT Greengrass V2 Developer
336
+ # Guide*.
337
+ #
338
+ # <note markdown="1"> Client devices are local IoT devices that connect to and communicate
339
+ # with an AWS IoT Greengrass core device over MQTT. You can connect
340
+ # client devices to a core device to sync MQTT messages and data to AWS
341
+ # IoT Core and interact with client devices in AWS IoT Greengrass
342
+ # components. For more information, see [Interact with local IoT
343
+ # devices][2] in the *AWS IoT Greengrass V2 Developer Guide*.
344
+ #
345
+ # </note>
346
+ #
347
+ #
348
+ #
349
+ # [1]: https://docs.aws.amazon.com/greengrass/v2/developerguide/configure-cloud-discovery.html
350
+ # [2]: https://docs.aws.amazon.com/greengrass/v2/developerguide/interact-with-local-iot-devices.html
351
+ #
352
+ # @option params [Array<Types::AssociateClientDeviceWithCoreDeviceEntry>] :entries
353
+ # The list of client devices to associate.
354
+ #
355
+ # @option params [required, String] :core_device_thing_name
356
+ # The name of the core device. This is also the name of the AWS IoT
357
+ # thing.
358
+ #
359
+ # @return [Types::BatchAssociateClientDeviceWithCoreDeviceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
360
+ #
361
+ # * {Types::BatchAssociateClientDeviceWithCoreDeviceResponse#error_entries #error_entries} => Array&lt;Types::AssociateClientDeviceWithCoreDeviceErrorEntry&gt;
362
+ #
363
+ # @example Request syntax with placeholder values
364
+ #
365
+ # resp = client.batch_associate_client_device_with_core_device({
366
+ # entries: [
367
+ # {
368
+ # thing_name: "IoTThingName", # required
369
+ # },
370
+ # ],
371
+ # core_device_thing_name: "IoTThingName", # required
372
+ # })
373
+ #
374
+ # @example Response structure
375
+ #
376
+ # resp.error_entries #=> Array
377
+ # resp.error_entries[0].thing_name #=> String
378
+ # resp.error_entries[0].code #=> String
379
+ # resp.error_entries[0].message #=> String
380
+ #
381
+ # @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/BatchAssociateClientDeviceWithCoreDevice AWS API Documentation
382
+ #
383
+ # @overload batch_associate_client_device_with_core_device(params = {})
384
+ # @param [Hash] params ({})
385
+ def batch_associate_client_device_with_core_device(params = {}, options = {})
386
+ req = build_request(:batch_associate_client_device_with_core_device, params)
387
+ req.send_request(options)
388
+ end
389
+
390
+ # Disassociate a list of client devices from a core device. After you
391
+ # disassociate a client device from a core device, the client device
392
+ # won't be able to use cloud discovery to retrieve the core device's
393
+ # connectivity information and certificates.
394
+ #
395
+ # @option params [Array<Types::DisassociateClientDeviceFromCoreDeviceEntry>] :entries
396
+ # The list of client devices to disassociate.
397
+ #
398
+ # @option params [required, String] :core_device_thing_name
399
+ # The name of the core device. This is also the name of the AWS IoT
400
+ # thing.
401
+ #
402
+ # @return [Types::BatchDisassociateClientDeviceFromCoreDeviceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
403
+ #
404
+ # * {Types::BatchDisassociateClientDeviceFromCoreDeviceResponse#error_entries #error_entries} => Array&lt;Types::DisassociateClientDeviceFromCoreDeviceErrorEntry&gt;
405
+ #
406
+ # @example Request syntax with placeholder values
407
+ #
408
+ # resp = client.batch_disassociate_client_device_from_core_device({
409
+ # entries: [
410
+ # {
411
+ # thing_name: "IoTThingName", # required
412
+ # },
413
+ # ],
414
+ # core_device_thing_name: "IoTThingName", # required
415
+ # })
416
+ #
417
+ # @example Response structure
418
+ #
419
+ # resp.error_entries #=> Array
420
+ # resp.error_entries[0].thing_name #=> String
421
+ # resp.error_entries[0].code #=> String
422
+ # resp.error_entries[0].message #=> String
423
+ #
424
+ # @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/BatchDisassociateClientDeviceFromCoreDevice AWS API Documentation
425
+ #
426
+ # @overload batch_disassociate_client_device_from_core_device(params = {})
427
+ # @param [Hash] params ({})
428
+ def batch_disassociate_client_device_from_core_device(params = {}, options = {})
429
+ req = build_request(:batch_disassociate_client_device_from_core_device, params)
430
+ req.send_request(options)
431
+ end
432
+
330
433
  # Cancels a deployment. This operation cancels the deployment for
331
434
  # devices that haven't yet received it. If a device already received
332
435
  # the deployment, this operation doesn't change anything for that
@@ -990,7 +1093,52 @@ module Aws::GreengrassV2
990
1093
  req.send_request(options)
991
1094
  end
992
1095
 
993
- # Retrieves a paginated list of all versions for a component.
1096
+ # Retrieves a paginated list of client devices that are associated with
1097
+ # a core device.
1098
+ #
1099
+ # @option params [required, String] :core_device_thing_name
1100
+ # The name of the core device. This is also the name of the AWS IoT
1101
+ # thing.
1102
+ #
1103
+ # @option params [Integer] :max_results
1104
+ # The maximum number of results to be returned per paginated request.
1105
+ #
1106
+ # @option params [String] :next_token
1107
+ # The token to be used for the next set of paginated results.
1108
+ #
1109
+ # @return [Types::ListClientDevicesAssociatedWithCoreDeviceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1110
+ #
1111
+ # * {Types::ListClientDevicesAssociatedWithCoreDeviceResponse#associated_client_devices #associated_client_devices} => Array&lt;Types::AssociatedClientDevice&gt;
1112
+ # * {Types::ListClientDevicesAssociatedWithCoreDeviceResponse#next_token #next_token} => String
1113
+ #
1114
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1115
+ #
1116
+ # @example Request syntax with placeholder values
1117
+ #
1118
+ # resp = client.list_client_devices_associated_with_core_device({
1119
+ # core_device_thing_name: "IoTThingName", # required
1120
+ # max_results: 1,
1121
+ # next_token: "NextTokenString",
1122
+ # })
1123
+ #
1124
+ # @example Response structure
1125
+ #
1126
+ # resp.associated_client_devices #=> Array
1127
+ # resp.associated_client_devices[0].thing_name #=> String
1128
+ # resp.associated_client_devices[0].association_timestamp #=> Time
1129
+ # resp.next_token #=> String
1130
+ #
1131
+ # @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListClientDevicesAssociatedWithCoreDevice AWS API Documentation
1132
+ #
1133
+ # @overload list_client_devices_associated_with_core_device(params = {})
1134
+ # @param [Hash] params ({})
1135
+ def list_client_devices_associated_with_core_device(params = {}, options = {})
1136
+ req = build_request(:list_client_devices_associated_with_core_device, params)
1137
+ req.send_request(options)
1138
+ end
1139
+
1140
+ # Retrieves a paginated list of all versions for a component. Greater
1141
+ # versions are listed first.
994
1142
  #
995
1143
  # @option params [required, String] :arn
996
1144
  # The [ARN][1] of the component version.
@@ -1501,7 +1649,7 @@ module Aws::GreengrassV2
1501
1649
  params: params,
1502
1650
  config: config)
1503
1651
  context[:gem_name] = 'aws-sdk-greengrassv2'
1504
- context[:gem_version] = '1.2.0'
1652
+ context[:gem_version] = '1.6.0'
1505
1653
  Seahorse::Client::Request.new(handlers, context)
1506
1654
  end
1507
1655
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -14,6 +14,16 @@ module Aws::GreengrassV2
14
14
  include Seahorse::Model
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ AssociateClientDeviceWithCoreDeviceEntry = Shapes::StructureShape.new(name: 'AssociateClientDeviceWithCoreDeviceEntry')
18
+ AssociateClientDeviceWithCoreDeviceEntryList = Shapes::ListShape.new(name: 'AssociateClientDeviceWithCoreDeviceEntryList')
19
+ AssociateClientDeviceWithCoreDeviceErrorEntry = Shapes::StructureShape.new(name: 'AssociateClientDeviceWithCoreDeviceErrorEntry')
20
+ AssociateClientDeviceWithCoreDeviceErrorList = Shapes::ListShape.new(name: 'AssociateClientDeviceWithCoreDeviceErrorList')
21
+ AssociatedClientDevice = Shapes::StructureShape.new(name: 'AssociatedClientDevice')
22
+ AssociatedClientDeviceList = Shapes::ListShape.new(name: 'AssociatedClientDeviceList')
23
+ BatchAssociateClientDeviceWithCoreDeviceRequest = Shapes::StructureShape.new(name: 'BatchAssociateClientDeviceWithCoreDeviceRequest')
24
+ BatchAssociateClientDeviceWithCoreDeviceResponse = Shapes::StructureShape.new(name: 'BatchAssociateClientDeviceWithCoreDeviceResponse')
25
+ BatchDisassociateClientDeviceFromCoreDeviceRequest = Shapes::StructureShape.new(name: 'BatchDisassociateClientDeviceFromCoreDeviceRequest')
26
+ BatchDisassociateClientDeviceFromCoreDeviceResponse = Shapes::StructureShape.new(name: 'BatchDisassociateClientDeviceFromCoreDeviceResponse')
17
27
  CancelDeploymentRequest = Shapes::StructureShape.new(name: 'CancelDeploymentRequest')
18
28
  CancelDeploymentResponse = Shapes::StructureShape.new(name: 'CancelDeploymentResponse')
19
29
  CloudComponentState = Shapes::StringShape.new(name: 'CloudComponentState')
@@ -73,6 +83,10 @@ module Aws::GreengrassV2
73
83
  DescribeComponentResponse = Shapes::StructureShape.new(name: 'DescribeComponentResponse')
74
84
  Description = Shapes::StringShape.new(name: 'Description')
75
85
  DescriptionString = Shapes::StringShape.new(name: 'DescriptionString')
86
+ DisassociateClientDeviceFromCoreDeviceEntry = Shapes::StructureShape.new(name: 'DisassociateClientDeviceFromCoreDeviceEntry')
87
+ DisassociateClientDeviceFromCoreDeviceEntryList = Shapes::ListShape.new(name: 'DisassociateClientDeviceFromCoreDeviceEntryList')
88
+ DisassociateClientDeviceFromCoreDeviceErrorEntry = Shapes::StructureShape.new(name: 'DisassociateClientDeviceFromCoreDeviceErrorEntry')
89
+ DisassociateClientDeviceFromCoreDeviceErrorList = Shapes::ListShape.new(name: 'DisassociateClientDeviceFromCoreDeviceErrorList')
76
90
  EffectiveDeployment = Shapes::StructureShape.new(name: 'EffectiveDeployment')
77
91
  EffectiveDeploymentExecutionStatus = Shapes::StringShape.new(name: 'EffectiveDeploymentExecutionStatus')
78
92
  EffectiveDeploymentsList = Shapes::ListShape.new(name: 'EffectiveDeploymentsList')
@@ -109,6 +123,7 @@ module Aws::GreengrassV2
109
123
  IoTJobRolloutBaseRatePerMinute = Shapes::IntegerShape.new(name: 'IoTJobRolloutBaseRatePerMinute')
110
124
  IoTJobRolloutIncrementFactor = Shapes::FloatShape.new(name: 'IoTJobRolloutIncrementFactor')
111
125
  IoTJobTimeoutConfig = Shapes::StructureShape.new(name: 'IoTJobTimeoutConfig')
126
+ IoTThingName = Shapes::StringShape.new(name: 'IoTThingName')
112
127
  IsLatestForTarget = Shapes::BooleanShape.new(name: 'IsLatestForTarget')
113
128
  IsRoot = Shapes::BooleanShape.new(name: 'IsRoot')
114
129
  LambdaContainerParams = Shapes::StructureShape.new(name: 'LambdaContainerParams')
@@ -130,6 +145,8 @@ module Aws::GreengrassV2
130
145
  LambdaVolumeList = Shapes::ListShape.new(name: 'LambdaVolumeList')
131
146
  LambdaVolumeMount = Shapes::StructureShape.new(name: 'LambdaVolumeMount')
132
147
  LifecycleStateDetails = Shapes::StringShape.new(name: 'LifecycleStateDetails')
148
+ ListClientDevicesAssociatedWithCoreDeviceRequest = Shapes::StructureShape.new(name: 'ListClientDevicesAssociatedWithCoreDeviceRequest')
149
+ ListClientDevicesAssociatedWithCoreDeviceResponse = Shapes::StructureShape.new(name: 'ListClientDevicesAssociatedWithCoreDeviceResponse')
133
150
  ListComponentVersionsRequest = Shapes::StructureShape.new(name: 'ListComponentVersionsRequest')
134
151
  ListComponentVersionsResponse = Shapes::StructureShape.new(name: 'ListComponentVersionsResponse')
135
152
  ListComponentsRequest = Shapes::StructureShape.new(name: 'ListComponentsRequest')
@@ -184,6 +201,38 @@ module Aws::GreengrassV2
184
201
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
185
202
  AccessDeniedException.struct_class = Types::AccessDeniedException
186
203
 
204
+ AssociateClientDeviceWithCoreDeviceEntry.add_member(:thing_name, Shapes::ShapeRef.new(shape: IoTThingName, required: true, location_name: "thingName"))
205
+ AssociateClientDeviceWithCoreDeviceEntry.struct_class = Types::AssociateClientDeviceWithCoreDeviceEntry
206
+
207
+ AssociateClientDeviceWithCoreDeviceEntryList.member = Shapes::ShapeRef.new(shape: AssociateClientDeviceWithCoreDeviceEntry)
208
+
209
+ AssociateClientDeviceWithCoreDeviceErrorEntry.add_member(:thing_name, Shapes::ShapeRef.new(shape: IoTThingName, location_name: "thingName"))
210
+ AssociateClientDeviceWithCoreDeviceErrorEntry.add_member(:code, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "code"))
211
+ AssociateClientDeviceWithCoreDeviceErrorEntry.add_member(:message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "message"))
212
+ AssociateClientDeviceWithCoreDeviceErrorEntry.struct_class = Types::AssociateClientDeviceWithCoreDeviceErrorEntry
213
+
214
+ AssociateClientDeviceWithCoreDeviceErrorList.member = Shapes::ShapeRef.new(shape: AssociateClientDeviceWithCoreDeviceErrorEntry)
215
+
216
+ AssociatedClientDevice.add_member(:thing_name, Shapes::ShapeRef.new(shape: IoTThingName, location_name: "thingName"))
217
+ AssociatedClientDevice.add_member(:association_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "associationTimestamp"))
218
+ AssociatedClientDevice.struct_class = Types::AssociatedClientDevice
219
+
220
+ AssociatedClientDeviceList.member = Shapes::ShapeRef.new(shape: AssociatedClientDevice)
221
+
222
+ BatchAssociateClientDeviceWithCoreDeviceRequest.add_member(:entries, Shapes::ShapeRef.new(shape: AssociateClientDeviceWithCoreDeviceEntryList, location_name: "entries"))
223
+ BatchAssociateClientDeviceWithCoreDeviceRequest.add_member(:core_device_thing_name, Shapes::ShapeRef.new(shape: IoTThingName, required: true, location: "uri", location_name: "coreDeviceThingName"))
224
+ BatchAssociateClientDeviceWithCoreDeviceRequest.struct_class = Types::BatchAssociateClientDeviceWithCoreDeviceRequest
225
+
226
+ BatchAssociateClientDeviceWithCoreDeviceResponse.add_member(:error_entries, Shapes::ShapeRef.new(shape: AssociateClientDeviceWithCoreDeviceErrorList, location_name: "errorEntries"))
227
+ BatchAssociateClientDeviceWithCoreDeviceResponse.struct_class = Types::BatchAssociateClientDeviceWithCoreDeviceResponse
228
+
229
+ BatchDisassociateClientDeviceFromCoreDeviceRequest.add_member(:entries, Shapes::ShapeRef.new(shape: DisassociateClientDeviceFromCoreDeviceEntryList, location_name: "entries"))
230
+ BatchDisassociateClientDeviceFromCoreDeviceRequest.add_member(:core_device_thing_name, Shapes::ShapeRef.new(shape: IoTThingName, required: true, location: "uri", location_name: "coreDeviceThingName"))
231
+ BatchDisassociateClientDeviceFromCoreDeviceRequest.struct_class = Types::BatchDisassociateClientDeviceFromCoreDeviceRequest
232
+
233
+ BatchDisassociateClientDeviceFromCoreDeviceResponse.add_member(:error_entries, Shapes::ShapeRef.new(shape: DisassociateClientDeviceFromCoreDeviceErrorList, location_name: "errorEntries"))
234
+ BatchDisassociateClientDeviceFromCoreDeviceResponse.struct_class = Types::BatchDisassociateClientDeviceFromCoreDeviceResponse
235
+
187
236
  CancelDeploymentRequest.add_member(:deployment_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "deploymentId"))
188
237
  CancelDeploymentRequest.struct_class = Types::CancelDeploymentRequest
189
238
 
@@ -342,6 +391,18 @@ module Aws::GreengrassV2
342
391
  DescribeComponentResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
343
392
  DescribeComponentResponse.struct_class = Types::DescribeComponentResponse
344
393
 
394
+ DisassociateClientDeviceFromCoreDeviceEntry.add_member(:thing_name, Shapes::ShapeRef.new(shape: IoTThingName, required: true, location_name: "thingName"))
395
+ DisassociateClientDeviceFromCoreDeviceEntry.struct_class = Types::DisassociateClientDeviceFromCoreDeviceEntry
396
+
397
+ DisassociateClientDeviceFromCoreDeviceEntryList.member = Shapes::ShapeRef.new(shape: DisassociateClientDeviceFromCoreDeviceEntry)
398
+
399
+ DisassociateClientDeviceFromCoreDeviceErrorEntry.add_member(:thing_name, Shapes::ShapeRef.new(shape: IoTThingName, location_name: "thingName"))
400
+ DisassociateClientDeviceFromCoreDeviceErrorEntry.add_member(:code, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "code"))
401
+ DisassociateClientDeviceFromCoreDeviceErrorEntry.add_member(:message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "message"))
402
+ DisassociateClientDeviceFromCoreDeviceErrorEntry.struct_class = Types::DisassociateClientDeviceFromCoreDeviceErrorEntry
403
+
404
+ DisassociateClientDeviceFromCoreDeviceErrorList.member = Shapes::ShapeRef.new(shape: DisassociateClientDeviceFromCoreDeviceErrorEntry)
405
+
345
406
  EffectiveDeployment.add_member(:deployment_id, Shapes::ShapeRef.new(shape: DeploymentID, required: true, location_name: "deploymentId"))
346
407
  EffectiveDeployment.add_member(:deployment_name, Shapes::ShapeRef.new(shape: DeploymentName, required: true, location_name: "deploymentName"))
347
408
  EffectiveDeployment.add_member(:iot_job_id, Shapes::ShapeRef.new(shape: IoTJobId, location_name: "iotJobId"))
@@ -499,6 +560,15 @@ module Aws::GreengrassV2
499
560
  LambdaVolumeMount.add_member(:add_group_owner, Shapes::ShapeRef.new(shape: OptionalBoolean, location_name: "addGroupOwner", metadata: {"box"=>true}))
500
561
  LambdaVolumeMount.struct_class = Types::LambdaVolumeMount
501
562
 
563
+ ListClientDevicesAssociatedWithCoreDeviceRequest.add_member(:core_device_thing_name, Shapes::ShapeRef.new(shape: IoTThingName, required: true, location: "uri", location_name: "coreDeviceThingName"))
564
+ ListClientDevicesAssociatedWithCoreDeviceRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DefaultMaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
565
+ ListClientDevicesAssociatedWithCoreDeviceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location: "querystring", location_name: "nextToken", metadata: {"box"=>true}))
566
+ ListClientDevicesAssociatedWithCoreDeviceRequest.struct_class = Types::ListClientDevicesAssociatedWithCoreDeviceRequest
567
+
568
+ ListClientDevicesAssociatedWithCoreDeviceResponse.add_member(:associated_client_devices, Shapes::ShapeRef.new(shape: AssociatedClientDeviceList, location_name: "associatedClientDevices"))
569
+ ListClientDevicesAssociatedWithCoreDeviceResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location_name: "nextToken", metadata: {"box"=>true}))
570
+ ListClientDevicesAssociatedWithCoreDeviceResponse.struct_class = Types::ListClientDevicesAssociatedWithCoreDeviceResponse
571
+
502
572
  ListComponentVersionsRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ComponentARN, required: true, location: "uri", location_name: "arn"))
503
573
  ListComponentVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DefaultMaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
504
574
  ListComponentVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location: "querystring", location_name: "nextToken", metadata: {"box"=>true}))
@@ -646,6 +716,32 @@ module Aws::GreengrassV2
646
716
  "uid" => "greengrassv2-2020-11-30",
647
717
  }
648
718
 
719
+ api.add_operation(:batch_associate_client_device_with_core_device, Seahorse::Model::Operation.new.tap do |o|
720
+ o.name = "BatchAssociateClientDeviceWithCoreDevice"
721
+ o.http_method = "POST"
722
+ o.http_request_uri = "/greengrass/v2/coreDevices/{coreDeviceThingName}/associateClientDevices"
723
+ o.input = Shapes::ShapeRef.new(shape: BatchAssociateClientDeviceWithCoreDeviceRequest)
724
+ o.output = Shapes::ShapeRef.new(shape: BatchAssociateClientDeviceWithCoreDeviceResponse)
725
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
726
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
727
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
728
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
729
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
730
+ end)
731
+
732
+ api.add_operation(:batch_disassociate_client_device_from_core_device, Seahorse::Model::Operation.new.tap do |o|
733
+ o.name = "BatchDisassociateClientDeviceFromCoreDevice"
734
+ o.http_method = "POST"
735
+ o.http_request_uri = "/greengrass/v2/coreDevices/{coreDeviceThingName}/disassociateClientDevices"
736
+ o.input = Shapes::ShapeRef.new(shape: BatchDisassociateClientDeviceFromCoreDeviceRequest)
737
+ o.output = Shapes::ShapeRef.new(shape: BatchDisassociateClientDeviceFromCoreDeviceResponse)
738
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
739
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
740
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
741
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
742
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
743
+ end)
744
+
649
745
  api.add_operation(:cancel_deployment, Seahorse::Model::Operation.new.tap do |o|
650
746
  o.name = "CancelDeployment"
651
747
  o.http_method = "POST"
@@ -780,6 +876,25 @@ module Aws::GreengrassV2
780
876
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
781
877
  end)
782
878
 
879
+ api.add_operation(:list_client_devices_associated_with_core_device, Seahorse::Model::Operation.new.tap do |o|
880
+ o.name = "ListClientDevicesAssociatedWithCoreDevice"
881
+ o.http_method = "GET"
882
+ o.http_request_uri = "/greengrass/v2/coreDevices/{coreDeviceThingName}/associatedClientDevices"
883
+ o.input = Shapes::ShapeRef.new(shape: ListClientDevicesAssociatedWithCoreDeviceRequest)
884
+ o.output = Shapes::ShapeRef.new(shape: ListClientDevicesAssociatedWithCoreDeviceResponse)
885
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
886
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
887
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
888
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
889
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
890
+ o[:pager] = Aws::Pager.new(
891
+ limit_key: "max_results",
892
+ tokens: {
893
+ "next_token" => "next_token"
894
+ }
895
+ )
896
+ end)
897
+
783
898
  api.add_operation(:list_component_versions, Seahorse::Model::Operation.new.tap do |o|
784
899
  o.name = "ListComponentVersions"
785
900
  o.http_method = "GET"
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -23,6 +23,175 @@ module Aws::GreengrassV2
23
23
  include Aws::Structure
24
24
  end
25
25
 
26
+ # Contains a request to associate a client device with a core device.
27
+ # The [BatchAssociateClientDeviceWithCoreDevice][1] operation consumes a
28
+ # list of these requests.
29
+ #
30
+ #
31
+ #
32
+ # [1]: https://docs.aws.amazon.com/greengrass/v2/APIReference/API_BatchAssociateClientDeviceWithCoreDevice.html
33
+ #
34
+ # @note When making an API call, you may pass AssociateClientDeviceWithCoreDeviceEntry
35
+ # data as a hash:
36
+ #
37
+ # {
38
+ # thing_name: "IoTThingName", # required
39
+ # }
40
+ #
41
+ # @!attribute [rw] thing_name
42
+ # The name of the AWS IoT thing that represents the client device to
43
+ # associate.
44
+ # @return [String]
45
+ #
46
+ # @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/AssociateClientDeviceWithCoreDeviceEntry AWS API Documentation
47
+ #
48
+ class AssociateClientDeviceWithCoreDeviceEntry < Struct.new(
49
+ :thing_name)
50
+ SENSITIVE = []
51
+ include Aws::Structure
52
+ end
53
+
54
+ # Contains an error that occurs from a request to associate a client
55
+ # device with a core device. The
56
+ # [BatchAssociateClientDeviceWithCoreDevice][1] operation returns a list
57
+ # of these errors.
58
+ #
59
+ #
60
+ #
61
+ # [1]: https://docs.aws.amazon.com/greengrass/v2/APIReference/API_BatchAssociateClientDeviceWithCoreDevice.html
62
+ #
63
+ # @!attribute [rw] thing_name
64
+ # The name of the AWS IoT thing whose associate request failed.
65
+ # @return [String]
66
+ #
67
+ # @!attribute [rw] code
68
+ # The error code for the request.
69
+ # @return [String]
70
+ #
71
+ # @!attribute [rw] message
72
+ # A message that provides additional information about the error.
73
+ # @return [String]
74
+ #
75
+ # @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/AssociateClientDeviceWithCoreDeviceErrorEntry AWS API Documentation
76
+ #
77
+ class AssociateClientDeviceWithCoreDeviceErrorEntry < Struct.new(
78
+ :thing_name,
79
+ :code,
80
+ :message)
81
+ SENSITIVE = []
82
+ include Aws::Structure
83
+ end
84
+
85
+ # Contains information about a client device that is associated to a
86
+ # core device for cloud discovery.
87
+ #
88
+ # @!attribute [rw] thing_name
89
+ # The name of the AWS IoT thing that represents the associated client
90
+ # device.
91
+ # @return [String]
92
+ #
93
+ # @!attribute [rw] association_timestamp
94
+ # The time that the client device was associated, expressed in ISO
95
+ # 8601 format.
96
+ # @return [Time]
97
+ #
98
+ # @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/AssociatedClientDevice AWS API Documentation
99
+ #
100
+ class AssociatedClientDevice < Struct.new(
101
+ :thing_name,
102
+ :association_timestamp)
103
+ SENSITIVE = []
104
+ include Aws::Structure
105
+ end
106
+
107
+ # @note When making an API call, you may pass BatchAssociateClientDeviceWithCoreDeviceRequest
108
+ # data as a hash:
109
+ #
110
+ # {
111
+ # entries: [
112
+ # {
113
+ # thing_name: "IoTThingName", # required
114
+ # },
115
+ # ],
116
+ # core_device_thing_name: "IoTThingName", # required
117
+ # }
118
+ #
119
+ # @!attribute [rw] entries
120
+ # The list of client devices to associate.
121
+ # @return [Array<Types::AssociateClientDeviceWithCoreDeviceEntry>]
122
+ #
123
+ # @!attribute [rw] core_device_thing_name
124
+ # The name of the core device. This is also the name of the AWS IoT
125
+ # thing.
126
+ # @return [String]
127
+ #
128
+ # @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/BatchAssociateClientDeviceWithCoreDeviceRequest AWS API Documentation
129
+ #
130
+ class BatchAssociateClientDeviceWithCoreDeviceRequest < Struct.new(
131
+ :entries,
132
+ :core_device_thing_name)
133
+ SENSITIVE = []
134
+ include Aws::Structure
135
+ end
136
+
137
+ # @!attribute [rw] error_entries
138
+ # The list of any errors for the entries in the request. Each error
139
+ # entry contains the name of the AWS IoT thing that failed to
140
+ # associate.
141
+ # @return [Array<Types::AssociateClientDeviceWithCoreDeviceErrorEntry>]
142
+ #
143
+ # @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/BatchAssociateClientDeviceWithCoreDeviceResponse AWS API Documentation
144
+ #
145
+ class BatchAssociateClientDeviceWithCoreDeviceResponse < Struct.new(
146
+ :error_entries)
147
+ SENSITIVE = []
148
+ include Aws::Structure
149
+ end
150
+
151
+ # @note When making an API call, you may pass BatchDisassociateClientDeviceFromCoreDeviceRequest
152
+ # data as a hash:
153
+ #
154
+ # {
155
+ # entries: [
156
+ # {
157
+ # thing_name: "IoTThingName", # required
158
+ # },
159
+ # ],
160
+ # core_device_thing_name: "IoTThingName", # required
161
+ # }
162
+ #
163
+ # @!attribute [rw] entries
164
+ # The list of client devices to disassociate.
165
+ # @return [Array<Types::DisassociateClientDeviceFromCoreDeviceEntry>]
166
+ #
167
+ # @!attribute [rw] core_device_thing_name
168
+ # The name of the core device. This is also the name of the AWS IoT
169
+ # thing.
170
+ # @return [String]
171
+ #
172
+ # @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/BatchDisassociateClientDeviceFromCoreDeviceRequest AWS API Documentation
173
+ #
174
+ class BatchDisassociateClientDeviceFromCoreDeviceRequest < Struct.new(
175
+ :entries,
176
+ :core_device_thing_name)
177
+ SENSITIVE = []
178
+ include Aws::Structure
179
+ end
180
+
181
+ # @!attribute [rw] error_entries
182
+ # The list of errors (if any) for the entries in the request. Each
183
+ # error entry contains the name of the AWS IoT thing that failed to
184
+ # disassociate.
185
+ # @return [Array<Types::DisassociateClientDeviceFromCoreDeviceErrorEntry>]
186
+ #
187
+ # @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/BatchDisassociateClientDeviceFromCoreDeviceResponse AWS API Documentation
188
+ #
189
+ class BatchDisassociateClientDeviceFromCoreDeviceResponse < Struct.new(
190
+ :error_entries)
191
+ SENSITIVE = []
192
+ include Aws::Structure
193
+ end
194
+
26
195
  # @note When making an API call, you may pass CancelDeploymentRequest
27
196
  # data as a hash:
28
197
  #
@@ -1188,6 +1357,65 @@ module Aws::GreengrassV2
1188
1357
  include Aws::Structure
1189
1358
  end
1190
1359
 
1360
+ # Contains a request to disassociate a client device from a core device.
1361
+ # The [BatchDisassociateClientDeviceWithCoreDevice][1] operation
1362
+ # consumes a list of these requests.
1363
+ #
1364
+ #
1365
+ #
1366
+ # [1]: https://docs.aws.amazon.com/greengrass/v2/APIReference/API_BatchDisassociateClientDeviceWithCoreDevice.html
1367
+ #
1368
+ # @note When making an API call, you may pass DisassociateClientDeviceFromCoreDeviceEntry
1369
+ # data as a hash:
1370
+ #
1371
+ # {
1372
+ # thing_name: "IoTThingName", # required
1373
+ # }
1374
+ #
1375
+ # @!attribute [rw] thing_name
1376
+ # The name of the AWS IoT thing that represents the client device to
1377
+ # disassociate.
1378
+ # @return [String]
1379
+ #
1380
+ # @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/DisassociateClientDeviceFromCoreDeviceEntry AWS API Documentation
1381
+ #
1382
+ class DisassociateClientDeviceFromCoreDeviceEntry < Struct.new(
1383
+ :thing_name)
1384
+ SENSITIVE = []
1385
+ include Aws::Structure
1386
+ end
1387
+
1388
+ # Contains an error that occurs from a request to disassociate a client
1389
+ # device from a core device. The
1390
+ # [BatchDisassociateClientDeviceWithCoreDevice][1] operation returns a
1391
+ # list of these errors.
1392
+ #
1393
+ #
1394
+ #
1395
+ # [1]: https://docs.aws.amazon.com/greengrass/v2/APIReference/API_BatchDisassociateClientDeviceWithCoreDevice.html
1396
+ #
1397
+ # @!attribute [rw] thing_name
1398
+ # The name of the AWS IoT thing whose disassociate request failed.
1399
+ # @return [String]
1400
+ #
1401
+ # @!attribute [rw] code
1402
+ # The error code for the request.
1403
+ # @return [String]
1404
+ #
1405
+ # @!attribute [rw] message
1406
+ # A message that provides additional information about the error.
1407
+ # @return [String]
1408
+ #
1409
+ # @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/DisassociateClientDeviceFromCoreDeviceErrorEntry AWS API Documentation
1410
+ #
1411
+ class DisassociateClientDeviceFromCoreDeviceErrorEntry < Struct.new(
1412
+ :thing_name,
1413
+ :code,
1414
+ :message)
1415
+ SENSITIVE = []
1416
+ include Aws::Structure
1417
+ end
1418
+
1191
1419
  # Contains information about a deployment job that AWS IoT Greengrass
1192
1420
  # sends to a AWS IoT Greengrass core device.
1193
1421
  #
@@ -2338,6 +2566,57 @@ module Aws::GreengrassV2
2338
2566
  include Aws::Structure
2339
2567
  end
2340
2568
 
2569
+ # @note When making an API call, you may pass ListClientDevicesAssociatedWithCoreDeviceRequest
2570
+ # data as a hash:
2571
+ #
2572
+ # {
2573
+ # core_device_thing_name: "IoTThingName", # required
2574
+ # max_results: 1,
2575
+ # next_token: "NextTokenString",
2576
+ # }
2577
+ #
2578
+ # @!attribute [rw] core_device_thing_name
2579
+ # The name of the core device. This is also the name of the AWS IoT
2580
+ # thing.
2581
+ # @return [String]
2582
+ #
2583
+ # @!attribute [rw] max_results
2584
+ # The maximum number of results to be returned per paginated request.
2585
+ # @return [Integer]
2586
+ #
2587
+ # @!attribute [rw] next_token
2588
+ # The token to be used for the next set of paginated results.
2589
+ # @return [String]
2590
+ #
2591
+ # @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListClientDevicesAssociatedWithCoreDeviceRequest AWS API Documentation
2592
+ #
2593
+ class ListClientDevicesAssociatedWithCoreDeviceRequest < Struct.new(
2594
+ :core_device_thing_name,
2595
+ :max_results,
2596
+ :next_token)
2597
+ SENSITIVE = []
2598
+ include Aws::Structure
2599
+ end
2600
+
2601
+ # @!attribute [rw] associated_client_devices
2602
+ # A list that describes the client devices that are associated with
2603
+ # the core device.
2604
+ # @return [Array<Types::AssociatedClientDevice>]
2605
+ #
2606
+ # @!attribute [rw] next_token
2607
+ # The token for the next set of results, or null if there are no
2608
+ # additional results.
2609
+ # @return [String]
2610
+ #
2611
+ # @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListClientDevicesAssociatedWithCoreDeviceResponse AWS API Documentation
2612
+ #
2613
+ class ListClientDevicesAssociatedWithCoreDeviceResponse < Struct.new(
2614
+ :associated_client_devices,
2615
+ :next_token)
2616
+ SENSITIVE = []
2617
+ include Aws::Structure
2618
+ end
2619
+
2341
2620
  # @note When making an API call, you may pass ListComponentVersionsRequest
2342
2621
  # data as a hash:
2343
2622
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-greengrassv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-02 00:00:00.000000000 Z
11
+ date: 2021-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.112.0
22
+ version: 3.119.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.112.0
32
+ version: 3.119.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -47,11 +47,14 @@ dependencies:
47
47
  description: Official AWS Ruby gem for AWS IoT Greengrass V2 (AWS GreengrassV2). This
48
48
  gem is part of the AWS SDK for Ruby.
49
49
  email:
50
- - trevrowe@amazon.com
50
+ - aws-dr-rubygems@amazon.com
51
51
  executables: []
52
52
  extensions: []
53
53
  extra_rdoc_files: []
54
54
  files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
55
58
  - lib/aws-sdk-greengrassv2.rb
56
59
  - lib/aws-sdk-greengrassv2/client.rb
57
60
  - lib/aws-sdk-greengrassv2/client_api.rb
@@ -63,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
63
66
  licenses:
64
67
  - Apache-2.0
65
68
  metadata:
66
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-greengrassv2
67
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-greengrassv2/CHANGELOG.md
69
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-greengrassv2
70
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-greengrassv2/CHANGELOG.md
68
71
  post_install_message:
69
72
  rdoc_options: []
70
73
  require_paths:
@@ -80,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
83
  - !ruby/object:Gem::Version
81
84
  version: '0'
82
85
  requirements: []
83
- rubyforge_project:
84
- rubygems_version: 2.7.6.2
86
+ rubygems_version: 3.1.6
85
87
  signing_key:
86
88
  specification_version: 4
87
89
  summary: AWS SDK for Ruby - AWS GreengrassV2