aws-sdk-greengrass 1.23.0 → 1.24.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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-greengrass.rb +1 -1
- data/lib/aws-sdk-greengrass/client.rb +127 -116
- data/lib/aws-sdk-greengrass/client_api.rb +60 -60
- data/lib/aws-sdk-greengrass/types.rb +170 -148
- 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: e87a6e48126d94e864df8ab470f8f4e781a3eac8
|
4
|
+
data.tar.gz: 605022f8dfe5933abf24bff0675543550b82d036
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da6823f7b9113ecc23d46ec3e143436c5044f2ede9c01d26576726f847e8c795a721fcce70e36981414b3efc16edf8d28c067d5cf018796deaed2ad994e81379
|
7
|
+
data.tar.gz: 5e457c38802bcabd01059c37ec3b34eeafc02abee48f1dbdf47f2d206959180b43fb48e910da8fa1d8b8e48ab513a2c091f9ccb5b98f4b1b731ed6acb23b36fa
|
data/lib/aws-sdk-greengrass.rb
CHANGED
@@ -260,8 +260,9 @@ module Aws::Greengrass
|
|
260
260
|
#
|
261
261
|
# @option params [required, String] :group_id
|
262
262
|
#
|
263
|
-
# @option params [String] :role_arn
|
264
|
-
# The ARN of the role you wish to associate with this group.
|
263
|
+
# @option params [required, String] :role_arn
|
264
|
+
# The ARN of the role you wish to associate with this group. The
|
265
|
+
# existence of the role is not validated.
|
265
266
|
#
|
266
267
|
# @return [Types::AssociateRoleToGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
267
268
|
#
|
@@ -271,7 +272,7 @@ module Aws::Greengrass
|
|
271
272
|
#
|
272
273
|
# resp = client.associate_role_to_group({
|
273
274
|
# group_id: "__string", # required
|
274
|
-
# role_arn: "__string",
|
275
|
+
# role_arn: "__string", # required
|
275
276
|
# })
|
276
277
|
#
|
277
278
|
# @example Response structure
|
@@ -293,7 +294,7 @@ module Aws::Greengrass
|
|
293
294
|
# minimum permissions in the policy
|
294
295
|
# ''AWSGreengrassResourceAccessRolePolicy''.
|
295
296
|
#
|
296
|
-
# @option params [String] :role_arn
|
297
|
+
# @option params [required, String] :role_arn
|
297
298
|
# The ARN of the service role you wish to associate with your account.
|
298
299
|
#
|
299
300
|
# @return [Types::AssociateServiceRoleToAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -303,7 +304,7 @@ module Aws::Greengrass
|
|
303
304
|
# @example Request syntax with placeholder values
|
304
305
|
#
|
305
306
|
# resp = client.associate_service_role_to_account({
|
306
|
-
# role_arn: "__string",
|
307
|
+
# role_arn: "__string", # required
|
307
308
|
# })
|
308
309
|
#
|
309
310
|
# @example Response structure
|
@@ -332,6 +333,7 @@ module Aws::Greengrass
|
|
332
333
|
# @option params [String] :name
|
333
334
|
#
|
334
335
|
# @option params [Hash<String,String>] :tags
|
336
|
+
# The key-value pair for the resource tag.
|
335
337
|
#
|
336
338
|
# @return [Types::CreateConnectorDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
337
339
|
#
|
@@ -350,8 +352,8 @@ module Aws::Greengrass
|
|
350
352
|
# initial_version: {
|
351
353
|
# connectors: [
|
352
354
|
# {
|
353
|
-
# connector_arn: "__string",
|
354
|
-
# id: "__string",
|
355
|
+
# connector_arn: "__string", # required
|
356
|
+
# id: "__string", # required
|
355
357
|
# parameters: {
|
356
358
|
# "__string" => "__string",
|
357
359
|
# },
|
@@ -406,8 +408,8 @@ module Aws::Greengrass
|
|
406
408
|
# connector_definition_id: "__string", # required
|
407
409
|
# connectors: [
|
408
410
|
# {
|
409
|
-
# connector_arn: "__string",
|
410
|
-
# id: "__string",
|
411
|
+
# connector_arn: "__string", # required
|
412
|
+
# id: "__string", # required
|
411
413
|
# parameters: {
|
412
414
|
# "__string" => "__string",
|
413
415
|
# },
|
@@ -444,6 +446,7 @@ module Aws::Greengrass
|
|
444
446
|
# @option params [String] :name
|
445
447
|
#
|
446
448
|
# @option params [Hash<String,String>] :tags
|
449
|
+
# The key-value pair for the resource tag.
|
447
450
|
#
|
448
451
|
# @return [Types::CreateCoreDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
449
452
|
#
|
@@ -462,10 +465,10 @@ module Aws::Greengrass
|
|
462
465
|
# initial_version: {
|
463
466
|
# cores: [
|
464
467
|
# {
|
465
|
-
# certificate_arn: "__string",
|
466
|
-
# id: "__string",
|
468
|
+
# certificate_arn: "__string", # required
|
469
|
+
# id: "__string", # required
|
467
470
|
# sync_shadow: false,
|
468
|
-
# thing_arn: "__string",
|
471
|
+
# thing_arn: "__string", # required
|
469
472
|
# },
|
470
473
|
# ],
|
471
474
|
# },
|
@@ -517,10 +520,10 @@ module Aws::Greengrass
|
|
517
520
|
# core_definition_id: "__string", # required
|
518
521
|
# cores: [
|
519
522
|
# {
|
520
|
-
# certificate_arn: "__string",
|
521
|
-
# id: "__string",
|
523
|
+
# certificate_arn: "__string", # required
|
524
|
+
# id: "__string", # required
|
522
525
|
# sync_shadow: false,
|
523
|
-
# thing_arn: "__string",
|
526
|
+
# thing_arn: "__string", # required
|
524
527
|
# },
|
525
528
|
# ],
|
526
529
|
# })
|
@@ -551,7 +554,7 @@ module Aws::Greengrass
|
|
551
554
|
# The ID of the deployment if you wish to redeploy a previous
|
552
555
|
# deployment.
|
553
556
|
#
|
554
|
-
# @option params [String] :deployment_type
|
557
|
+
# @option params [required, String] :deployment_type
|
555
558
|
# The type of deployment. When used for ''CreateDeployment'', only
|
556
559
|
# ''NewDeployment'' and ''Redeployment'' are valid.
|
557
560
|
#
|
@@ -570,7 +573,7 @@ module Aws::Greengrass
|
|
570
573
|
# resp = client.create_deployment({
|
571
574
|
# amzn_client_token: "__string",
|
572
575
|
# deployment_id: "__string",
|
573
|
-
# deployment_type: "NewDeployment", # accepts NewDeployment, Redeployment, ResetDeployment, ForceResetDeployment
|
576
|
+
# deployment_type: "NewDeployment", # required, accepts NewDeployment, Redeployment, ResetDeployment, ForceResetDeployment
|
574
577
|
# group_id: "__string", # required
|
575
578
|
# group_version_id: "__string",
|
576
579
|
# })
|
@@ -601,6 +604,7 @@ module Aws::Greengrass
|
|
601
604
|
# @option params [String] :name
|
602
605
|
#
|
603
606
|
# @option params [Hash<String,String>] :tags
|
607
|
+
# The key-value pair for the resource tag.
|
604
608
|
#
|
605
609
|
# @return [Types::CreateDeviceDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
606
610
|
#
|
@@ -619,10 +623,10 @@ module Aws::Greengrass
|
|
619
623
|
# initial_version: {
|
620
624
|
# devices: [
|
621
625
|
# {
|
622
|
-
# certificate_arn: "__string",
|
623
|
-
# id: "__string",
|
626
|
+
# certificate_arn: "__string", # required
|
627
|
+
# id: "__string", # required
|
624
628
|
# sync_shadow: false,
|
625
|
-
# thing_arn: "__string",
|
629
|
+
# thing_arn: "__string", # required
|
626
630
|
# },
|
627
631
|
# ],
|
628
632
|
# },
|
@@ -674,10 +678,10 @@ module Aws::Greengrass
|
|
674
678
|
# device_definition_id: "__string", # required
|
675
679
|
# devices: [
|
676
680
|
# {
|
677
|
-
# certificate_arn: "__string",
|
678
|
-
# id: "__string",
|
681
|
+
# certificate_arn: "__string", # required
|
682
|
+
# id: "__string", # required
|
679
683
|
# sync_shadow: false,
|
680
|
-
# thing_arn: "__string",
|
684
|
+
# thing_arn: "__string", # required
|
681
685
|
# },
|
682
686
|
# ],
|
683
687
|
# })
|
@@ -712,6 +716,7 @@ module Aws::Greengrass
|
|
712
716
|
# @option params [String] :name
|
713
717
|
#
|
714
718
|
# @option params [Hash<String,String>] :tags
|
719
|
+
# The key-value pair for the resource tag.
|
715
720
|
#
|
716
721
|
# @return [Types::CreateFunctionDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
717
722
|
#
|
@@ -754,7 +759,7 @@ module Aws::Greengrass
|
|
754
759
|
# resource_access_policies: [
|
755
760
|
# {
|
756
761
|
# permission: "ro", # accepts ro, rw
|
757
|
-
# resource_id: "__string",
|
762
|
+
# resource_id: "__string", # required
|
758
763
|
# },
|
759
764
|
# ],
|
760
765
|
# variables: {
|
@@ -767,7 +772,7 @@ module Aws::Greengrass
|
|
767
772
|
# pinned: false,
|
768
773
|
# timeout: 1,
|
769
774
|
# },
|
770
|
-
# id: "__string",
|
775
|
+
# id: "__string", # required
|
771
776
|
# },
|
772
777
|
# ],
|
773
778
|
# },
|
@@ -847,7 +852,7 @@ module Aws::Greengrass
|
|
847
852
|
# resource_access_policies: [
|
848
853
|
# {
|
849
854
|
# permission: "ro", # accepts ro, rw
|
850
|
-
# resource_id: "__string",
|
855
|
+
# resource_id: "__string", # required
|
851
856
|
# },
|
852
857
|
# ],
|
853
858
|
# variables: {
|
@@ -860,7 +865,7 @@ module Aws::Greengrass
|
|
860
865
|
# pinned: false,
|
861
866
|
# timeout: 1,
|
862
867
|
# },
|
863
|
-
# id: "__string",
|
868
|
+
# id: "__string", # required
|
864
869
|
# },
|
865
870
|
# ],
|
866
871
|
# })
|
@@ -895,6 +900,7 @@ module Aws::Greengrass
|
|
895
900
|
# @option params [String] :name
|
896
901
|
#
|
897
902
|
# @option params [Hash<String,String>] :tags
|
903
|
+
# The key-value pair for the resource tag.
|
898
904
|
#
|
899
905
|
# @return [Types::CreateGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
900
906
|
#
|
@@ -1044,6 +1050,7 @@ module Aws::Greengrass
|
|
1044
1050
|
# @option params [String] :name
|
1045
1051
|
#
|
1046
1052
|
# @option params [Hash<String,String>] :tags
|
1053
|
+
# The key-value pair for the resource tag.
|
1047
1054
|
#
|
1048
1055
|
# @return [Types::CreateLoggerDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1049
1056
|
#
|
@@ -1062,11 +1069,11 @@ module Aws::Greengrass
|
|
1062
1069
|
# initial_version: {
|
1063
1070
|
# loggers: [
|
1064
1071
|
# {
|
1065
|
-
# component: "GreengrassSystem", # accepts GreengrassSystem, Lambda
|
1066
|
-
# id: "__string",
|
1067
|
-
# level: "DEBUG", # accepts DEBUG, INFO, WARN, ERROR, FATAL
|
1072
|
+
# component: "GreengrassSystem", # required, accepts GreengrassSystem, Lambda
|
1073
|
+
# id: "__string", # required
|
1074
|
+
# level: "DEBUG", # required, accepts DEBUG, INFO, WARN, ERROR, FATAL
|
1068
1075
|
# space: 1,
|
1069
|
-
# type: "FileSystem", # accepts FileSystem, AWSCloudWatch
|
1076
|
+
# type: "FileSystem", # required, accepts FileSystem, AWSCloudWatch
|
1070
1077
|
# },
|
1071
1078
|
# ],
|
1072
1079
|
# },
|
@@ -1118,11 +1125,11 @@ module Aws::Greengrass
|
|
1118
1125
|
# logger_definition_id: "__string", # required
|
1119
1126
|
# loggers: [
|
1120
1127
|
# {
|
1121
|
-
# component: "GreengrassSystem", # accepts GreengrassSystem, Lambda
|
1122
|
-
# id: "__string",
|
1123
|
-
# level: "DEBUG", # accepts DEBUG, INFO, WARN, ERROR, FATAL
|
1128
|
+
# component: "GreengrassSystem", # required, accepts GreengrassSystem, Lambda
|
1129
|
+
# id: "__string", # required
|
1130
|
+
# level: "DEBUG", # required, accepts DEBUG, INFO, WARN, ERROR, FATAL
|
1124
1131
|
# space: 1,
|
1125
|
-
# type: "FileSystem", # accepts FileSystem, AWSCloudWatch
|
1132
|
+
# type: "FileSystem", # required, accepts FileSystem, AWSCloudWatch
|
1126
1133
|
# },
|
1127
1134
|
# ],
|
1128
1135
|
# })
|
@@ -1156,6 +1163,7 @@ module Aws::Greengrass
|
|
1156
1163
|
# @option params [String] :name
|
1157
1164
|
#
|
1158
1165
|
# @option params [Hash<String,String>] :tags
|
1166
|
+
# The key-value pair for the resource tag.
|
1159
1167
|
#
|
1160
1168
|
# @return [Types::CreateResourceDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1161
1169
|
#
|
@@ -1174,9 +1182,9 @@ module Aws::Greengrass
|
|
1174
1182
|
# initial_version: {
|
1175
1183
|
# resources: [
|
1176
1184
|
# {
|
1177
|
-
# id: "__string",
|
1178
|
-
# name: "__string",
|
1179
|
-
# resource_data_container: {
|
1185
|
+
# id: "__string", # required
|
1186
|
+
# name: "__string", # required
|
1187
|
+
# resource_data_container: { # required
|
1180
1188
|
# local_device_resource_data: {
|
1181
1189
|
# group_owner_setting: {
|
1182
1190
|
# auto_add_group_owner: false,
|
@@ -1256,9 +1264,9 @@ module Aws::Greengrass
|
|
1256
1264
|
# resource_definition_id: "__string", # required
|
1257
1265
|
# resources: [
|
1258
1266
|
# {
|
1259
|
-
# id: "__string",
|
1260
|
-
# name: "__string",
|
1261
|
-
# resource_data_container: {
|
1267
|
+
# id: "__string", # required
|
1268
|
+
# name: "__string", # required
|
1269
|
+
# resource_data_container: { # required
|
1262
1270
|
# local_device_resource_data: {
|
1263
1271
|
# group_owner_setting: {
|
1264
1272
|
# auto_add_group_owner: false,
|
@@ -1315,25 +1323,25 @@ module Aws::Greengrass
|
|
1315
1323
|
#
|
1316
1324
|
# @option params [String] :amzn_client_token
|
1317
1325
|
#
|
1318
|
-
# @option params [String] :s3_url_signer_role
|
1326
|
+
# @option params [required, String] :s3_url_signer_role
|
1319
1327
|
# The IAM Role that Greengrass will use to create pre-signed URLs
|
1320
1328
|
# pointing towards the update artifact.
|
1321
1329
|
#
|
1322
|
-
# @option params [String] :software_to_update
|
1330
|
+
# @option params [required, String] :software_to_update
|
1323
1331
|
# The piece of software on the Greengrass core that will be updated.
|
1324
1332
|
#
|
1325
1333
|
# @option params [String] :update_agent_log_level
|
1326
1334
|
# The minimum level of log statements that should be logged by the OTA
|
1327
1335
|
# Agent during an update.
|
1328
1336
|
#
|
1329
|
-
# @option params [Array<String>] :update_targets
|
1337
|
+
# @option params [required, Array<String>] :update_targets
|
1330
1338
|
# The ARNs of the targets (IoT things or IoT thing groups) that this
|
1331
1339
|
# update will be applied to.
|
1332
1340
|
#
|
1333
|
-
# @option params [String] :update_targets_architecture
|
1341
|
+
# @option params [required, String] :update_targets_architecture
|
1334
1342
|
# The architecture of the cores which are the targets of an update.
|
1335
1343
|
#
|
1336
|
-
# @option params [String] :update_targets_operating_system
|
1344
|
+
# @option params [required, String] :update_targets_operating_system
|
1337
1345
|
# The operating system of the cores which are the targets of an update.
|
1338
1346
|
#
|
1339
1347
|
# @return [Types::CreateSoftwareUpdateJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1345,12 +1353,12 @@ module Aws::Greengrass
|
|
1345
1353
|
#
|
1346
1354
|
# resp = client.create_software_update_job({
|
1347
1355
|
# amzn_client_token: "__string",
|
1348
|
-
# s3_url_signer_role: "S3UrlSignerRole",
|
1349
|
-
# software_to_update: "core", # accepts core, ota_agent
|
1356
|
+
# s3_url_signer_role: "S3UrlSignerRole", # required
|
1357
|
+
# software_to_update: "core", # required, accepts core, ota_agent
|
1350
1358
|
# update_agent_log_level: "NONE", # accepts NONE, TRACE, DEBUG, VERBOSE, INFO, WARN, ERROR, FATAL
|
1351
|
-
# update_targets: ["__string"],
|
1352
|
-
# update_targets_architecture: "armv7l", # accepts armv7l, x86_64, aarch64
|
1353
|
-
# update_targets_operating_system: "ubuntu", # accepts ubuntu, raspbian, amazon_linux
|
1359
|
+
# update_targets: ["__string"], # required
|
1360
|
+
# update_targets_architecture: "armv7l", # required, accepts armv7l, x86_64, aarch64, openwrt
|
1361
|
+
# update_targets_operating_system: "ubuntu", # required, accepts ubuntu, raspbian, amazon_linux
|
1354
1362
|
# })
|
1355
1363
|
#
|
1356
1364
|
# @example Response structure
|
@@ -1379,6 +1387,7 @@ module Aws::Greengrass
|
|
1379
1387
|
# @option params [String] :name
|
1380
1388
|
#
|
1381
1389
|
# @option params [Hash<String,String>] :tags
|
1390
|
+
# The key-value pair for the resource tag.
|
1382
1391
|
#
|
1383
1392
|
# @return [Types::CreateSubscriptionDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1384
1393
|
#
|
@@ -1397,10 +1406,10 @@ module Aws::Greengrass
|
|
1397
1406
|
# initial_version: {
|
1398
1407
|
# subscriptions: [
|
1399
1408
|
# {
|
1400
|
-
# id: "__string",
|
1401
|
-
# source: "__string",
|
1402
|
-
# subject: "__string",
|
1403
|
-
# target: "__string",
|
1409
|
+
# id: "__string", # required
|
1410
|
+
# source: "__string", # required
|
1411
|
+
# subject: "__string", # required
|
1412
|
+
# target: "__string", # required
|
1404
1413
|
# },
|
1405
1414
|
# ],
|
1406
1415
|
# },
|
@@ -1452,10 +1461,10 @@ module Aws::Greengrass
|
|
1452
1461
|
# subscription_definition_id: "__string", # required
|
1453
1462
|
# subscriptions: [
|
1454
1463
|
# {
|
1455
|
-
# id: "__string",
|
1456
|
-
# source: "__string",
|
1457
|
-
# subject: "__string",
|
1458
|
-
# target: "__string",
|
1464
|
+
# id: "__string", # required
|
1465
|
+
# source: "__string", # required
|
1466
|
+
# subject: "__string", # required
|
1467
|
+
# target: "__string", # required
|
1459
1468
|
# },
|
1460
1469
|
# ],
|
1461
1470
|
# })
|
@@ -1476,34 +1485,6 @@ module Aws::Greengrass
|
|
1476
1485
|
req.send_request(options)
|
1477
1486
|
end
|
1478
1487
|
|
1479
|
-
# Add resource tags to a Greengrass Resource. Valid resources are Group,
|
1480
|
-
# Connector, Core, Device, Function, Logger, Subscription, and Resource
|
1481
|
-
# Defintions, and also BulkDeploymentIds.
|
1482
|
-
#
|
1483
|
-
# @option params [required, String] :resource_arn
|
1484
|
-
#
|
1485
|
-
# @option params [required, Hash<String,String>] :tags
|
1486
|
-
#
|
1487
|
-
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1488
|
-
#
|
1489
|
-
# @example Request syntax with placeholder values
|
1490
|
-
#
|
1491
|
-
# resp = client.tag_resource({
|
1492
|
-
# resource_arn: "__string", # required
|
1493
|
-
# tags: { # required
|
1494
|
-
# "__string" => "__string",
|
1495
|
-
# },
|
1496
|
-
# })
|
1497
|
-
#
|
1498
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/TagResource AWS API Documentation
|
1499
|
-
#
|
1500
|
-
# @overload tag_resource(params = {})
|
1501
|
-
# @param [Hash] params ({})
|
1502
|
-
def tag_resource(params = {}, options = {})
|
1503
|
-
req = build_request(:tag_resource, params)
|
1504
|
-
req.send_request(options)
|
1505
|
-
end
|
1506
|
-
|
1507
1488
|
# Deletes a connector definition.
|
1508
1489
|
#
|
1509
1490
|
# @option params [required, String] :connector_definition_id
|
@@ -1672,30 +1653,6 @@ module Aws::Greengrass
|
|
1672
1653
|
req.send_request(options)
|
1673
1654
|
end
|
1674
1655
|
|
1675
|
-
# Remove resource tags from a Greengrass Resource.
|
1676
|
-
#
|
1677
|
-
# @option params [required, String] :resource_arn
|
1678
|
-
#
|
1679
|
-
# @option params [required, Array<String>] :tag_keys
|
1680
|
-
#
|
1681
|
-
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1682
|
-
#
|
1683
|
-
# @example Request syntax with placeholder values
|
1684
|
-
#
|
1685
|
-
# resp = client.untag_resource({
|
1686
|
-
# resource_arn: "__string", # required
|
1687
|
-
# tag_keys: ["__string"], # required
|
1688
|
-
# })
|
1689
|
-
#
|
1690
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UntagResource AWS API Documentation
|
1691
|
-
#
|
1692
|
-
# @overload untag_resource(params = {})
|
1693
|
-
# @param [Hash] params ({})
|
1694
|
-
def untag_resource(params = {}, options = {})
|
1695
|
-
req = build_request(:untag_resource, params)
|
1696
|
-
req.send_request(options)
|
1697
|
-
end
|
1698
|
-
|
1699
1656
|
# Disassociates the role from a group.
|
1700
1657
|
#
|
1701
1658
|
# @option params [required, String] :group_id
|
@@ -3575,14 +3532,14 @@ module Aws::Greengrass
|
|
3575
3532
|
#
|
3576
3533
|
# @option params [String] :amzn_client_token
|
3577
3534
|
#
|
3578
|
-
# @option params [String] :execution_role_arn
|
3535
|
+
# @option params [required, String] :execution_role_arn
|
3579
3536
|
# The ARN of the execution role to associate with the bulk deployment
|
3580
3537
|
# operation. This IAM role must allow the
|
3581
3538
|
# ''greengrass:CreateDeployment'' action for all group versions that
|
3582
3539
|
# are listed in the input file. This IAM role must have access to the S3
|
3583
3540
|
# bucket containing the input file.
|
3584
3541
|
#
|
3585
|
-
# @option params [String] :input_file_uri
|
3542
|
+
# @option params [required, String] :input_file_uri
|
3586
3543
|
# The URI of the input file contained in the S3 bucket. The execution
|
3587
3544
|
# role must have ''getObject'' permissions on this bucket to access
|
3588
3545
|
# the input file. The input file is a JSON-serialized, line delimited
|
@@ -3592,6 +3549,7 @@ module Aws::Greengrass
|
|
3592
3549
|
# deployment types.
|
3593
3550
|
#
|
3594
3551
|
# @option params [Hash<String,String>] :tags
|
3552
|
+
# The key-value pair for the resource tag.
|
3595
3553
|
#
|
3596
3554
|
# @return [Types::StartBulkDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3597
3555
|
#
|
@@ -3602,8 +3560,8 @@ module Aws::Greengrass
|
|
3602
3560
|
#
|
3603
3561
|
# resp = client.start_bulk_deployment({
|
3604
3562
|
# amzn_client_token: "__string",
|
3605
|
-
# execution_role_arn: "__string",
|
3606
|
-
# input_file_uri: "__string",
|
3563
|
+
# execution_role_arn: "__string", # required
|
3564
|
+
# input_file_uri: "__string", # required
|
3607
3565
|
# tags: {
|
3608
3566
|
# "__string" => "__string",
|
3609
3567
|
# },
|
@@ -3648,6 +3606,59 @@ module Aws::Greengrass
|
|
3648
3606
|
req.send_request(options)
|
3649
3607
|
end
|
3650
3608
|
|
3609
|
+
# Add resource tags to a Greengrass Resource. Valid resources are Group,
|
3610
|
+
# Connector, Core, Device, Function, Logger, Subscription, and Resource
|
3611
|
+
# Defintions, and also BulkDeploymentIds.
|
3612
|
+
#
|
3613
|
+
# @option params [required, String] :resource_arn
|
3614
|
+
#
|
3615
|
+
# @option params [Hash<String,String>] :tags
|
3616
|
+
# The key-value pair for the resource tag.
|
3617
|
+
#
|
3618
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3619
|
+
#
|
3620
|
+
# @example Request syntax with placeholder values
|
3621
|
+
#
|
3622
|
+
# resp = client.tag_resource({
|
3623
|
+
# resource_arn: "__string", # required
|
3624
|
+
# tags: {
|
3625
|
+
# "__string" => "__string",
|
3626
|
+
# },
|
3627
|
+
# })
|
3628
|
+
#
|
3629
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/TagResource AWS API Documentation
|
3630
|
+
#
|
3631
|
+
# @overload tag_resource(params = {})
|
3632
|
+
# @param [Hash] params ({})
|
3633
|
+
def tag_resource(params = {}, options = {})
|
3634
|
+
req = build_request(:tag_resource, params)
|
3635
|
+
req.send_request(options)
|
3636
|
+
end
|
3637
|
+
|
3638
|
+
# Remove resource tags from a Greengrass Resource.
|
3639
|
+
#
|
3640
|
+
# @option params [required, String] :resource_arn
|
3641
|
+
#
|
3642
|
+
# @option params [required, Array<String>] :tag_keys
|
3643
|
+
#
|
3644
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3645
|
+
#
|
3646
|
+
# @example Request syntax with placeholder values
|
3647
|
+
#
|
3648
|
+
# resp = client.untag_resource({
|
3649
|
+
# resource_arn: "__string", # required
|
3650
|
+
# tag_keys: ["__string"], # required
|
3651
|
+
# })
|
3652
|
+
#
|
3653
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UntagResource AWS API Documentation
|
3654
|
+
#
|
3655
|
+
# @overload untag_resource(params = {})
|
3656
|
+
# @param [Hash] params ({})
|
3657
|
+
def untag_resource(params = {}, options = {})
|
3658
|
+
req = build_request(:untag_resource, params)
|
3659
|
+
req.send_request(options)
|
3660
|
+
end
|
3661
|
+
|
3651
3662
|
# Updates the connectivity information for the core. Any devices that
|
3652
3663
|
# belong to the group which has this core will receive this information
|
3653
3664
|
# in order to find the location of the core and connect to it.
|
@@ -3931,7 +3942,7 @@ module Aws::Greengrass
|
|
3931
3942
|
params: params,
|
3932
3943
|
config: config)
|
3933
3944
|
context[:gem_name] = 'aws-sdk-greengrass'
|
3934
|
-
context[:gem_version] = '1.
|
3945
|
+
context[:gem_version] = '1.24.0'
|
3935
3946
|
Seahorse::Client::Request.new(handlers, context)
|
3936
3947
|
end
|
3937
3948
|
|