aws-sdk-greengrass 1.11.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-greengrass.rb +1 -1
- data/lib/aws-sdk-greengrass/client.rb +386 -14
- data/lib/aws-sdk-greengrass/client_api.rb +211 -0
- data/lib/aws-sdk-greengrass/types.rb +754 -36
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0972908d65075ccdc31e071a61582376f6d2490
|
4
|
+
data.tar.gz: 9332a53631106218700c4629fec84af837556090
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9d7bef5f3b85fc2693cfd3776963912ed4304cb5143d4a21565b2cf3f68e0ccc2a525c78377dfff45b30e0590ba99c15c3d423cc953f91e13d31674260a822f
|
7
|
+
data.tar.gz: 8200cd6f9396004100865f1ffe7747c785783665750a85fe36d87016879e8fa15fe52970baf2953e08856ed4e13e7439fba982b0a10f81221b1f7533b61f2675
|
data/lib/aws-sdk-greengrass.rb
CHANGED
@@ -205,10 +205,9 @@ module Aws::Greengrass
|
|
205
205
|
|
206
206
|
# @!group API Operations
|
207
207
|
|
208
|
-
# Associates a role with a group. Your
|
209
|
-
#
|
210
|
-
#
|
211
|
-
# cloud.
|
208
|
+
# Associates a role with a group. Your Greengrass core will use the role
|
209
|
+
# to access AWS cloud services. The role's permissions should allow
|
210
|
+
# Greengrass core Lambda functions to perform actions against the cloud.
|
212
211
|
#
|
213
212
|
# @option params [required, String] :group_id
|
214
213
|
#
|
@@ -239,8 +238,8 @@ module Aws::Greengrass
|
|
239
238
|
req.send_request(options)
|
240
239
|
end
|
241
240
|
|
242
|
-
# Associates a role with your account. AWS Greengrass will use the
|
243
|
-
# to access your Lambda functions and AWS IoT resources. This is
|
241
|
+
# Associates a role with your account. AWS IoT Greengrass will use the
|
242
|
+
# role to access your Lambda functions and AWS IoT resources. This is
|
244
243
|
# necessary for deployments to succeed. The role must have at least
|
245
244
|
# minimum permissions in the policy
|
246
245
|
# ''AWSGreengrassResourceAccessRolePolicy''.
|
@@ -271,10 +270,117 @@ module Aws::Greengrass
|
|
271
270
|
req.send_request(options)
|
272
271
|
end
|
273
272
|
|
273
|
+
# Creates a connector definition. You may provide the initial version of
|
274
|
+
# the connector definition now or use
|
275
|
+
# ''CreateConnectorDefinitionVersion'' at a later time.
|
276
|
+
#
|
277
|
+
# @option params [String] :amzn_client_token
|
278
|
+
#
|
279
|
+
# @option params [Types::ConnectorDefinitionVersion] :initial_version
|
280
|
+
# Information about the connector definition version, which is a
|
281
|
+
# container for connectors.
|
282
|
+
#
|
283
|
+
# @option params [String] :name
|
284
|
+
#
|
285
|
+
# @return [Types::CreateConnectorDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
286
|
+
#
|
287
|
+
# * {Types::CreateConnectorDefinitionResponse#arn #arn} => String
|
288
|
+
# * {Types::CreateConnectorDefinitionResponse#creation_timestamp #creation_timestamp} => String
|
289
|
+
# * {Types::CreateConnectorDefinitionResponse#id #id} => String
|
290
|
+
# * {Types::CreateConnectorDefinitionResponse#last_updated_timestamp #last_updated_timestamp} => String
|
291
|
+
# * {Types::CreateConnectorDefinitionResponse#latest_version #latest_version} => String
|
292
|
+
# * {Types::CreateConnectorDefinitionResponse#latest_version_arn #latest_version_arn} => String
|
293
|
+
# * {Types::CreateConnectorDefinitionResponse#name #name} => String
|
294
|
+
#
|
295
|
+
# @example Request syntax with placeholder values
|
296
|
+
#
|
297
|
+
# resp = client.create_connector_definition({
|
298
|
+
# amzn_client_token: "__string",
|
299
|
+
# initial_version: {
|
300
|
+
# connectors: [
|
301
|
+
# {
|
302
|
+
# connector_arn: "__string",
|
303
|
+
# id: "__string",
|
304
|
+
# parameters: {
|
305
|
+
# "__string" => "__string",
|
306
|
+
# },
|
307
|
+
# },
|
308
|
+
# ],
|
309
|
+
# },
|
310
|
+
# name: "__string",
|
311
|
+
# })
|
312
|
+
#
|
313
|
+
# @example Response structure
|
314
|
+
#
|
315
|
+
# resp.arn #=> String
|
316
|
+
# resp.creation_timestamp #=> String
|
317
|
+
# resp.id #=> String
|
318
|
+
# resp.last_updated_timestamp #=> String
|
319
|
+
# resp.latest_version #=> String
|
320
|
+
# resp.latest_version_arn #=> String
|
321
|
+
# resp.name #=> String
|
322
|
+
#
|
323
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateConnectorDefinition AWS API Documentation
|
324
|
+
#
|
325
|
+
# @overload create_connector_definition(params = {})
|
326
|
+
# @param [Hash] params ({})
|
327
|
+
def create_connector_definition(params = {}, options = {})
|
328
|
+
req = build_request(:create_connector_definition, params)
|
329
|
+
req.send_request(options)
|
330
|
+
end
|
331
|
+
|
332
|
+
# Creates a version of a connector definition which has already been
|
333
|
+
# defined.
|
334
|
+
#
|
335
|
+
# @option params [String] :amzn_client_token
|
336
|
+
#
|
337
|
+
# @option params [required, String] :connector_definition_id
|
338
|
+
#
|
339
|
+
# @option params [Array<Types::Connector>] :connectors
|
340
|
+
#
|
341
|
+
# @return [Types::CreateConnectorDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
342
|
+
#
|
343
|
+
# * {Types::CreateConnectorDefinitionVersionResponse#arn #arn} => String
|
344
|
+
# * {Types::CreateConnectorDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
|
345
|
+
# * {Types::CreateConnectorDefinitionVersionResponse#id #id} => String
|
346
|
+
# * {Types::CreateConnectorDefinitionVersionResponse#version #version} => String
|
347
|
+
#
|
348
|
+
# @example Request syntax with placeholder values
|
349
|
+
#
|
350
|
+
# resp = client.create_connector_definition_version({
|
351
|
+
# amzn_client_token: "__string",
|
352
|
+
# connector_definition_id: "__string", # required
|
353
|
+
# connectors: [
|
354
|
+
# {
|
355
|
+
# connector_arn: "__string",
|
356
|
+
# id: "__string",
|
357
|
+
# parameters: {
|
358
|
+
# "__string" => "__string",
|
359
|
+
# },
|
360
|
+
# },
|
361
|
+
# ],
|
362
|
+
# })
|
363
|
+
#
|
364
|
+
# @example Response structure
|
365
|
+
#
|
366
|
+
# resp.arn #=> String
|
367
|
+
# resp.creation_timestamp #=> String
|
368
|
+
# resp.id #=> String
|
369
|
+
# resp.version #=> String
|
370
|
+
#
|
371
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateConnectorDefinitionVersion AWS API Documentation
|
372
|
+
#
|
373
|
+
# @overload create_connector_definition_version(params = {})
|
374
|
+
# @param [Hash] params ({})
|
375
|
+
def create_connector_definition_version(params = {}, options = {})
|
376
|
+
req = build_request(:create_connector_definition_version, params)
|
377
|
+
req.send_request(options)
|
378
|
+
end
|
379
|
+
|
274
380
|
# Creates a core definition. You may provide the initial version of the
|
275
381
|
# core definition now or use ''CreateCoreDefinitionVersion'' at a
|
276
|
-
# later time.
|
277
|
-
#
|
382
|
+
# later time. Greengrass groups must each contain exactly one Greengrass
|
383
|
+
# core.
|
278
384
|
#
|
279
385
|
# @option params [String] :amzn_client_token
|
280
386
|
#
|
@@ -330,8 +436,7 @@ module Aws::Greengrass
|
|
330
436
|
end
|
331
437
|
|
332
438
|
# Creates a version of a core definition that has already been defined.
|
333
|
-
#
|
334
|
-
# core.
|
439
|
+
# Greengrass groups must each contain exactly one Greengrass core.
|
335
440
|
#
|
336
441
|
# @option params [String] :amzn_client_token
|
337
442
|
#
|
@@ -557,6 +662,11 @@ module Aws::Greengrass
|
|
557
662
|
# resp = client.create_function_definition({
|
558
663
|
# amzn_client_token: "__string",
|
559
664
|
# initial_version: {
|
665
|
+
# default_config: {
|
666
|
+
# execution: {
|
667
|
+
# isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
|
668
|
+
# },
|
669
|
+
# },
|
560
670
|
# functions: [
|
561
671
|
# {
|
562
672
|
# function_arn: "__string",
|
@@ -564,6 +674,13 @@ module Aws::Greengrass
|
|
564
674
|
# encoding_type: "binary", # accepts binary, json
|
565
675
|
# environment: {
|
566
676
|
# access_sysfs: false,
|
677
|
+
# execution: {
|
678
|
+
# isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
|
679
|
+
# run_as: {
|
680
|
+
# gid: 1,
|
681
|
+
# uid: 1,
|
682
|
+
# },
|
683
|
+
# },
|
567
684
|
# resource_access_policies: [
|
568
685
|
# {
|
569
686
|
# permission: "ro", # accepts ro, rw
|
@@ -611,6 +728,10 @@ module Aws::Greengrass
|
|
611
728
|
#
|
612
729
|
# @option params [String] :amzn_client_token
|
613
730
|
#
|
731
|
+
# @option params [Types::FunctionDefaultConfig] :default_config
|
732
|
+
# Default configuration that will apply to all Lambda functions in the
|
733
|
+
# group.
|
734
|
+
#
|
614
735
|
# @option params [required, String] :function_definition_id
|
615
736
|
#
|
616
737
|
# @option params [Array<Types::Function>] :functions
|
@@ -626,6 +747,11 @@ module Aws::Greengrass
|
|
626
747
|
#
|
627
748
|
# resp = client.create_function_definition_version({
|
628
749
|
# amzn_client_token: "__string",
|
750
|
+
# default_config: {
|
751
|
+
# execution: {
|
752
|
+
# isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
|
753
|
+
# },
|
754
|
+
# },
|
629
755
|
# function_definition_id: "__string", # required
|
630
756
|
# functions: [
|
631
757
|
# {
|
@@ -634,6 +760,13 @@ module Aws::Greengrass
|
|
634
760
|
# encoding_type: "binary", # accepts binary, json
|
635
761
|
# environment: {
|
636
762
|
# access_sysfs: false,
|
763
|
+
# execution: {
|
764
|
+
# isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
|
765
|
+
# run_as: {
|
766
|
+
# gid: 1,
|
767
|
+
# uid: 1,
|
768
|
+
# },
|
769
|
+
# },
|
637
770
|
# resource_access_policies: [
|
638
771
|
# {
|
639
772
|
# permission: "ro", # accepts ro, rw
|
@@ -672,7 +805,10 @@ module Aws::Greengrass
|
|
672
805
|
end
|
673
806
|
|
674
807
|
# Creates a group. You may provide the initial version of the group or
|
675
|
-
# use ''CreateGroupVersion'' at a later time.
|
808
|
+
# use ''CreateGroupVersion'' at a later time. Tip: You can use the
|
809
|
+
# ''gg\_group\_setup'' package
|
810
|
+
# (https://github.com/awslabs/aws-greengrass-group-setup) as a library
|
811
|
+
# or command-line application to create and deploy Greengrass groups.
|
676
812
|
#
|
677
813
|
# @option params [String] :amzn_client_token
|
678
814
|
#
|
@@ -696,6 +832,7 @@ module Aws::Greengrass
|
|
696
832
|
# resp = client.create_group({
|
697
833
|
# amzn_client_token: "__string",
|
698
834
|
# initial_version: {
|
835
|
+
# connector_definition_version_arn: "__string",
|
699
836
|
# core_definition_version_arn: "__string",
|
700
837
|
# device_definition_version_arn: "__string",
|
701
838
|
# function_definition_version_arn: "__string",
|
@@ -760,6 +897,8 @@ module Aws::Greengrass
|
|
760
897
|
#
|
761
898
|
# @option params [String] :amzn_client_token
|
762
899
|
#
|
900
|
+
# @option params [String] :connector_definition_version_arn
|
901
|
+
#
|
763
902
|
# @option params [String] :core_definition_version_arn
|
764
903
|
#
|
765
904
|
# @option params [String] :device_definition_version_arn
|
@@ -785,6 +924,7 @@ module Aws::Greengrass
|
|
785
924
|
#
|
786
925
|
# resp = client.create_group_version({
|
787
926
|
# amzn_client_token: "__string",
|
927
|
+
# connector_definition_version_arn: "__string",
|
788
928
|
# core_definition_version_arn: "__string",
|
789
929
|
# device_definition_version_arn: "__string",
|
790
930
|
# function_definition_version_arn: "__string",
|
@@ -971,6 +1111,10 @@ module Aws::Greengrass
|
|
971
1111
|
# destination_path: "__string",
|
972
1112
|
# sage_maker_job_arn: "__string",
|
973
1113
|
# },
|
1114
|
+
# secrets_manager_secret_resource_data: {
|
1115
|
+
# arn: "__string",
|
1116
|
+
# additional_staging_labels_to_download: ["__string"],
|
1117
|
+
# },
|
974
1118
|
# },
|
975
1119
|
# },
|
976
1120
|
# ],
|
@@ -1046,6 +1190,10 @@ module Aws::Greengrass
|
|
1046
1190
|
# destination_path: "__string",
|
1047
1191
|
# sage_maker_job_arn: "__string",
|
1048
1192
|
# },
|
1193
|
+
# secrets_manager_secret_resource_data: {
|
1194
|
+
# arn: "__string",
|
1195
|
+
# additional_staging_labels_to_download: ["__string"],
|
1196
|
+
# },
|
1049
1197
|
# },
|
1050
1198
|
# },
|
1051
1199
|
# ],
|
@@ -1231,6 +1379,27 @@ module Aws::Greengrass
|
|
1231
1379
|
req.send_request(options)
|
1232
1380
|
end
|
1233
1381
|
|
1382
|
+
# Deletes a connector definition.
|
1383
|
+
#
|
1384
|
+
# @option params [required, String] :connector_definition_id
|
1385
|
+
#
|
1386
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1387
|
+
#
|
1388
|
+
# @example Request syntax with placeholder values
|
1389
|
+
#
|
1390
|
+
# resp = client.delete_connector_definition({
|
1391
|
+
# connector_definition_id: "__string", # required
|
1392
|
+
# })
|
1393
|
+
#
|
1394
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteConnectorDefinition AWS API Documentation
|
1395
|
+
#
|
1396
|
+
# @overload delete_connector_definition(params = {})
|
1397
|
+
# @param [Hash] params ({})
|
1398
|
+
def delete_connector_definition(params = {}, options = {})
|
1399
|
+
req = build_request(:delete_connector_definition, params)
|
1400
|
+
req.send_request(options)
|
1401
|
+
end
|
1402
|
+
|
1234
1403
|
# Deletes a core definition.
|
1235
1404
|
#
|
1236
1405
|
# @option params [required, String] :core_definition_id
|
@@ -1526,6 +1695,95 @@ module Aws::Greengrass
|
|
1526
1695
|
req.send_request(options)
|
1527
1696
|
end
|
1528
1697
|
|
1698
|
+
# Retrieves information about a connector definition.
|
1699
|
+
#
|
1700
|
+
# @option params [required, String] :connector_definition_id
|
1701
|
+
#
|
1702
|
+
# @return [Types::GetConnectorDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1703
|
+
#
|
1704
|
+
# * {Types::GetConnectorDefinitionResponse#arn #arn} => String
|
1705
|
+
# * {Types::GetConnectorDefinitionResponse#creation_timestamp #creation_timestamp} => String
|
1706
|
+
# * {Types::GetConnectorDefinitionResponse#id #id} => String
|
1707
|
+
# * {Types::GetConnectorDefinitionResponse#last_updated_timestamp #last_updated_timestamp} => String
|
1708
|
+
# * {Types::GetConnectorDefinitionResponse#latest_version #latest_version} => String
|
1709
|
+
# * {Types::GetConnectorDefinitionResponse#latest_version_arn #latest_version_arn} => String
|
1710
|
+
# * {Types::GetConnectorDefinitionResponse#name #name} => String
|
1711
|
+
#
|
1712
|
+
# @example Request syntax with placeholder values
|
1713
|
+
#
|
1714
|
+
# resp = client.get_connector_definition({
|
1715
|
+
# connector_definition_id: "__string", # required
|
1716
|
+
# })
|
1717
|
+
#
|
1718
|
+
# @example Response structure
|
1719
|
+
#
|
1720
|
+
# resp.arn #=> String
|
1721
|
+
# resp.creation_timestamp #=> String
|
1722
|
+
# resp.id #=> String
|
1723
|
+
# resp.last_updated_timestamp #=> String
|
1724
|
+
# resp.latest_version #=> String
|
1725
|
+
# resp.latest_version_arn #=> String
|
1726
|
+
# resp.name #=> String
|
1727
|
+
#
|
1728
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetConnectorDefinition AWS API Documentation
|
1729
|
+
#
|
1730
|
+
# @overload get_connector_definition(params = {})
|
1731
|
+
# @param [Hash] params ({})
|
1732
|
+
def get_connector_definition(params = {}, options = {})
|
1733
|
+
req = build_request(:get_connector_definition, params)
|
1734
|
+
req.send_request(options)
|
1735
|
+
end
|
1736
|
+
|
1737
|
+
# Retrieves information about a connector definition version, including
|
1738
|
+
# the connectors that the version contains. Connectors are prebuilt
|
1739
|
+
# modules that interact with local infrastructure, device protocols,
|
1740
|
+
# AWS, and other cloud services.
|
1741
|
+
#
|
1742
|
+
# @option params [required, String] :connector_definition_id
|
1743
|
+
#
|
1744
|
+
# @option params [required, String] :connector_definition_version_id
|
1745
|
+
#
|
1746
|
+
# @option params [String] :next_token
|
1747
|
+
#
|
1748
|
+
# @return [Types::GetConnectorDefinitionVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1749
|
+
#
|
1750
|
+
# * {Types::GetConnectorDefinitionVersionResponse#arn #arn} => String
|
1751
|
+
# * {Types::GetConnectorDefinitionVersionResponse#creation_timestamp #creation_timestamp} => String
|
1752
|
+
# * {Types::GetConnectorDefinitionVersionResponse#definition #definition} => Types::ConnectorDefinitionVersion
|
1753
|
+
# * {Types::GetConnectorDefinitionVersionResponse#id #id} => String
|
1754
|
+
# * {Types::GetConnectorDefinitionVersionResponse#next_token #next_token} => String
|
1755
|
+
# * {Types::GetConnectorDefinitionVersionResponse#version #version} => String
|
1756
|
+
#
|
1757
|
+
# @example Request syntax with placeholder values
|
1758
|
+
#
|
1759
|
+
# resp = client.get_connector_definition_version({
|
1760
|
+
# connector_definition_id: "__string", # required
|
1761
|
+
# connector_definition_version_id: "__string", # required
|
1762
|
+
# next_token: "__string",
|
1763
|
+
# })
|
1764
|
+
#
|
1765
|
+
# @example Response structure
|
1766
|
+
#
|
1767
|
+
# resp.arn #=> String
|
1768
|
+
# resp.creation_timestamp #=> String
|
1769
|
+
# resp.definition.connectors #=> Array
|
1770
|
+
# resp.definition.connectors[0].connector_arn #=> String
|
1771
|
+
# resp.definition.connectors[0].id #=> String
|
1772
|
+
# resp.definition.connectors[0].parameters #=> Hash
|
1773
|
+
# resp.definition.connectors[0].parameters["__string"] #=> String
|
1774
|
+
# resp.id #=> String
|
1775
|
+
# resp.next_token #=> String
|
1776
|
+
# resp.version #=> String
|
1777
|
+
#
|
1778
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetConnectorDefinitionVersion AWS API Documentation
|
1779
|
+
#
|
1780
|
+
# @overload get_connector_definition_version(params = {})
|
1781
|
+
# @param [Hash] params ({})
|
1782
|
+
def get_connector_definition_version(params = {}, options = {})
|
1783
|
+
req = build_request(:get_connector_definition_version, params)
|
1784
|
+
req.send_request(options)
|
1785
|
+
end
|
1786
|
+
|
1529
1787
|
# Retrieves information about a core definition version.
|
1530
1788
|
#
|
1531
1789
|
# @option params [required, String] :core_definition_id
|
@@ -1806,10 +2064,14 @@ module Aws::Greengrass
|
|
1806
2064
|
#
|
1807
2065
|
# resp.arn #=> String
|
1808
2066
|
# resp.creation_timestamp #=> String
|
2067
|
+
# resp.definition.default_config.execution.isolation_mode #=> String, one of "GreengrassContainer", "NoContainer"
|
1809
2068
|
# resp.definition.functions #=> Array
|
1810
2069
|
# resp.definition.functions[0].function_arn #=> String
|
1811
2070
|
# resp.definition.functions[0].function_configuration.encoding_type #=> String, one of "binary", "json"
|
1812
2071
|
# resp.definition.functions[0].function_configuration.environment.access_sysfs #=> Boolean
|
2072
|
+
# resp.definition.functions[0].function_configuration.environment.execution.isolation_mode #=> String, one of "GreengrassContainer", "NoContainer"
|
2073
|
+
# resp.definition.functions[0].function_configuration.environment.execution.run_as.gid #=> Integer
|
2074
|
+
# resp.definition.functions[0].function_configuration.environment.execution.run_as.uid #=> Integer
|
1813
2075
|
# resp.definition.functions[0].function_configuration.environment.resource_access_policies #=> Array
|
1814
2076
|
# resp.definition.functions[0].function_configuration.environment.resource_access_policies[0].permission #=> String, one of "ro", "rw"
|
1815
2077
|
# resp.definition.functions[0].function_configuration.environment.resource_access_policies[0].resource_id #=> String
|
@@ -1964,6 +2226,7 @@ module Aws::Greengrass
|
|
1964
2226
|
#
|
1965
2227
|
# resp.arn #=> String
|
1966
2228
|
# resp.creation_timestamp #=> String
|
2229
|
+
# resp.definition.connector_definition_version_arn #=> String
|
1967
2230
|
# resp.definition.core_definition_version_arn #=> String
|
1968
2231
|
# resp.definition.device_definition_version_arn #=> String
|
1969
2232
|
# resp.definition.function_definition_version_arn #=> String
|
@@ -2147,6 +2410,9 @@ module Aws::Greengrass
|
|
2147
2410
|
# resp.definition.resources[0].resource_data_container.s3_machine_learning_model_resource_data.s3_uri #=> String
|
2148
2411
|
# resp.definition.resources[0].resource_data_container.sage_maker_machine_learning_model_resource_data.destination_path #=> String
|
2149
2412
|
# resp.definition.resources[0].resource_data_container.sage_maker_machine_learning_model_resource_data.sage_maker_job_arn #=> String
|
2413
|
+
# resp.definition.resources[0].resource_data_container.secrets_manager_secret_resource_data.arn #=> String
|
2414
|
+
# resp.definition.resources[0].resource_data_container.secrets_manager_secret_resource_data.additional_staging_labels_to_download #=> Array
|
2415
|
+
# resp.definition.resources[0].resource_data_container.secrets_manager_secret_resource_data.additional_staging_labels_to_download[0] #=> String
|
2150
2416
|
# resp.id #=> String
|
2151
2417
|
# resp.version #=> String
|
2152
2418
|
#
|
@@ -2347,6 +2613,87 @@ module Aws::Greengrass
|
|
2347
2613
|
req.send_request(options)
|
2348
2614
|
end
|
2349
2615
|
|
2616
|
+
# Lists the versions of a connector definition, which are containers for
|
2617
|
+
# connectors. Connectors run on the Greengrass core and contain built-in
|
2618
|
+
# integration with local infrastructure, device protocols, AWS, and
|
2619
|
+
# other cloud services.
|
2620
|
+
#
|
2621
|
+
# @option params [required, String] :connector_definition_id
|
2622
|
+
#
|
2623
|
+
# @option params [String] :max_results
|
2624
|
+
#
|
2625
|
+
# @option params [String] :next_token
|
2626
|
+
#
|
2627
|
+
# @return [Types::ListConnectorDefinitionVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2628
|
+
#
|
2629
|
+
# * {Types::ListConnectorDefinitionVersionsResponse#next_token #next_token} => String
|
2630
|
+
# * {Types::ListConnectorDefinitionVersionsResponse#versions #versions} => Array<Types::VersionInformation>
|
2631
|
+
#
|
2632
|
+
# @example Request syntax with placeholder values
|
2633
|
+
#
|
2634
|
+
# resp = client.list_connector_definition_versions({
|
2635
|
+
# connector_definition_id: "__string", # required
|
2636
|
+
# max_results: "__string",
|
2637
|
+
# next_token: "__string",
|
2638
|
+
# })
|
2639
|
+
#
|
2640
|
+
# @example Response structure
|
2641
|
+
#
|
2642
|
+
# resp.next_token #=> String
|
2643
|
+
# resp.versions #=> Array
|
2644
|
+
# resp.versions[0].arn #=> String
|
2645
|
+
# resp.versions[0].creation_timestamp #=> String
|
2646
|
+
# resp.versions[0].id #=> String
|
2647
|
+
# resp.versions[0].version #=> String
|
2648
|
+
#
|
2649
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListConnectorDefinitionVersions AWS API Documentation
|
2650
|
+
#
|
2651
|
+
# @overload list_connector_definition_versions(params = {})
|
2652
|
+
# @param [Hash] params ({})
|
2653
|
+
def list_connector_definition_versions(params = {}, options = {})
|
2654
|
+
req = build_request(:list_connector_definition_versions, params)
|
2655
|
+
req.send_request(options)
|
2656
|
+
end
|
2657
|
+
|
2658
|
+
# Retrieves a list of connector definitions.
|
2659
|
+
#
|
2660
|
+
# @option params [String] :max_results
|
2661
|
+
#
|
2662
|
+
# @option params [String] :next_token
|
2663
|
+
#
|
2664
|
+
# @return [Types::ListConnectorDefinitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2665
|
+
#
|
2666
|
+
# * {Types::ListConnectorDefinitionsResponse#definitions #definitions} => Array<Types::DefinitionInformation>
|
2667
|
+
# * {Types::ListConnectorDefinitionsResponse#next_token #next_token} => String
|
2668
|
+
#
|
2669
|
+
# @example Request syntax with placeholder values
|
2670
|
+
#
|
2671
|
+
# resp = client.list_connector_definitions({
|
2672
|
+
# max_results: "__string",
|
2673
|
+
# next_token: "__string",
|
2674
|
+
# })
|
2675
|
+
#
|
2676
|
+
# @example Response structure
|
2677
|
+
#
|
2678
|
+
# resp.definitions #=> Array
|
2679
|
+
# resp.definitions[0].arn #=> String
|
2680
|
+
# resp.definitions[0].creation_timestamp #=> String
|
2681
|
+
# resp.definitions[0].id #=> String
|
2682
|
+
# resp.definitions[0].last_updated_timestamp #=> String
|
2683
|
+
# resp.definitions[0].latest_version #=> String
|
2684
|
+
# resp.definitions[0].latest_version_arn #=> String
|
2685
|
+
# resp.definitions[0].name #=> String
|
2686
|
+
# resp.next_token #=> String
|
2687
|
+
#
|
2688
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListConnectorDefinitions AWS API Documentation
|
2689
|
+
#
|
2690
|
+
# @overload list_connector_definitions(params = {})
|
2691
|
+
# @param [Hash] params ({})
|
2692
|
+
def list_connector_definitions(params = {}, options = {})
|
2693
|
+
req = build_request(:list_connector_definitions, params)
|
2694
|
+
req.send_request(options)
|
2695
|
+
end
|
2696
|
+
|
2350
2697
|
# Lists the versions of a core definition.
|
2351
2698
|
#
|
2352
2699
|
# @option params [required, String] :core_definition_id
|
@@ -3020,8 +3367,9 @@ module Aws::Greengrass
|
|
3020
3367
|
# role must have ''getObject'' permissions on this bucket to access
|
3021
3368
|
# the input file. The input file is a JSON-serialized, line delimited
|
3022
3369
|
# file with UTF-8 encoding that provides a list of group and version IDs
|
3023
|
-
# and the deployment type. This file must be less than
|
3024
|
-
# Greengrass
|
3370
|
+
# and the deployment type. This file must be less than 100 MB.
|
3371
|
+
# Currently, AWS IoT Greengrass supports only ''NewDeployment''
|
3372
|
+
# deployment types.
|
3025
3373
|
#
|
3026
3374
|
# @return [Types::StartBulkDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3027
3375
|
#
|
@@ -3117,6 +3465,30 @@ module Aws::Greengrass
|
|
3117
3465
|
req.send_request(options)
|
3118
3466
|
end
|
3119
3467
|
|
3468
|
+
# Updates a connector definition.
|
3469
|
+
#
|
3470
|
+
# @option params [required, String] :connector_definition_id
|
3471
|
+
#
|
3472
|
+
# @option params [String] :name
|
3473
|
+
#
|
3474
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3475
|
+
#
|
3476
|
+
# @example Request syntax with placeholder values
|
3477
|
+
#
|
3478
|
+
# resp = client.update_connector_definition({
|
3479
|
+
# connector_definition_id: "__string", # required
|
3480
|
+
# name: "__string",
|
3481
|
+
# })
|
3482
|
+
#
|
3483
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateConnectorDefinition AWS API Documentation
|
3484
|
+
#
|
3485
|
+
# @overload update_connector_definition(params = {})
|
3486
|
+
# @param [Hash] params ({})
|
3487
|
+
def update_connector_definition(params = {}, options = {})
|
3488
|
+
req = build_request(:update_connector_definition, params)
|
3489
|
+
req.send_request(options)
|
3490
|
+
end
|
3491
|
+
|
3120
3492
|
# Updates a core definition.
|
3121
3493
|
#
|
3122
3494
|
# @option params [required, String] :core_definition_id
|
@@ -3334,7 +3706,7 @@ module Aws::Greengrass
|
|
3334
3706
|
params: params,
|
3335
3707
|
config: config)
|
3336
3708
|
context[:gem_name] = 'aws-sdk-greengrass'
|
3337
|
-
context[:gem_version] = '1.
|
3709
|
+
context[:gem_version] = '1.12.0'
|
3338
3710
|
Seahorse::Client::Request.new(handlers, context)
|
3339
3711
|
end
|
3340
3712
|
|