aws-sdk-greengrassv2 1.6.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-greengrassv2.rb +1 -1
- data/lib/aws-sdk-greengrassv2/client.rb +108 -88
- data/lib/aws-sdk-greengrassv2/client_api.rb +17 -0
- data/lib/aws-sdk-greengrassv2/errors.rb +16 -0
- data/lib/aws-sdk-greengrassv2/types.rb +254 -164
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a07ecfc0a2cbd07740a7c5b9095684493c2efa9943f2deecf5b27551ffd66d8
|
4
|
+
data.tar.gz: 5e5cd49526b0393e67296cbc0dd298c75dc5b475c47be8eaa0e14be33f8ee160
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2619eba7e8425c3378ae9097d4a7b179c15a93ffff0cbf3b42064012012770fc3d5f1d07773e73ad3e2868b469b90411f0c0e9d4f1c6d88eaa8ffb2bf242d9df
|
7
|
+
data.tar.gz: 3314234696d56651287af3a1042465d700407d2fea70d2551a1d182831eba45edf20dd12ddaaf4c8ef437a9623ae3800fab56fbb98711bc4a8c717afff53d8eb
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.7.0 (2021-08-02)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for component system resource limits and idempotent Create operations. You can now specify the maximum amount of CPU and memory resources that each component can use.
|
8
|
+
|
4
9
|
1.6.0 (2021-07-30)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.7.0
|
data/lib/aws-sdk-greengrassv2.rb
CHANGED
@@ -330,17 +330,16 @@ module Aws::GreengrassV2
|
|
330
330
|
# Associate a list of client devices with a core device. Use this API
|
331
331
|
# operation to specify which client devices can discover a core device
|
332
332
|
# through cloud discovery. With cloud discovery, client devices connect
|
333
|
-
# to
|
334
|
-
#
|
335
|
-
#
|
336
|
-
# Guide*.
|
333
|
+
# to IoT Greengrass to retrieve associated core devices' connectivity
|
334
|
+
# information and certificates. For more information, see [Configure
|
335
|
+
# cloud discovery][1] in the *IoT Greengrass V2 Developer Guide*.
|
337
336
|
#
|
338
337
|
# <note markdown="1"> Client devices are local IoT devices that connect to and communicate
|
339
|
-
# with an
|
340
|
-
#
|
341
|
-
# IoT Core and interact with client devices in
|
338
|
+
# with an IoT Greengrass core device over MQTT. You can connect client
|
339
|
+
# devices to a core device to sync MQTT messages and data to Amazon Web
|
340
|
+
# Services IoT Core and interact with client devices in Greengrass
|
342
341
|
# components. For more information, see [Interact with local IoT
|
343
|
-
# devices][2] in the *
|
342
|
+
# devices][2] in the *IoT Greengrass V2 Developer Guide*.
|
344
343
|
#
|
345
344
|
# </note>
|
346
345
|
#
|
@@ -353,8 +352,7 @@ module Aws::GreengrassV2
|
|
353
352
|
# The list of client devices to associate.
|
354
353
|
#
|
355
354
|
# @option params [required, String] :core_device_thing_name
|
356
|
-
# The name of the core device. This is also the name of the
|
357
|
-
# thing.
|
355
|
+
# The name of the core device. This is also the name of the IoT thing.
|
358
356
|
#
|
359
357
|
# @return [Types::BatchAssociateClientDeviceWithCoreDeviceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
360
358
|
#
|
@@ -396,8 +394,7 @@ module Aws::GreengrassV2
|
|
396
394
|
# The list of client devices to disassociate.
|
397
395
|
#
|
398
396
|
# @option params [required, String] :core_device_thing_name
|
399
|
-
# The name of the core device. This is also the name of the
|
400
|
-
# thing.
|
397
|
+
# The name of the core device. This is also the name of the IoT thing.
|
401
398
|
#
|
402
399
|
# @return [Types::BatchDisassociateClientDeviceFromCoreDeviceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
403
400
|
#
|
@@ -461,11 +458,10 @@ module Aws::GreengrassV2
|
|
461
458
|
req.send_request(options)
|
462
459
|
end
|
463
460
|
|
464
|
-
# Creates a component. Components are software that run on
|
465
|
-
#
|
466
|
-
#
|
467
|
-
#
|
468
|
-
# core devices.
|
461
|
+
# Creates a component. Components are software that run on Greengrass
|
462
|
+
# core devices. After you develop and test a component on your core
|
463
|
+
# device, you can use this operation to upload your component to IoT
|
464
|
+
# Greengrass. Then, you can deploy the component to other core devices.
|
469
465
|
#
|
470
466
|
# You can use this operation to do the following:
|
471
467
|
#
|
@@ -473,20 +469,20 @@ module Aws::GreengrassV2
|
|
473
469
|
#
|
474
470
|
# Create a component from a recipe, which is a file that defines the
|
475
471
|
# component's metadata, parameters, dependencies, lifecycle,
|
476
|
-
# artifacts, and platform capability. For more information, see [
|
477
|
-
#
|
478
|
-
#
|
472
|
+
# artifacts, and platform capability. For more information, see [IoT
|
473
|
+
# Greengrass component recipe reference][1] in the *IoT Greengrass V2
|
474
|
+
# Developer Guide*.
|
479
475
|
#
|
480
476
|
# To create a component from a recipe, specify `inlineRecipe` when you
|
481
477
|
# call this operation.
|
482
478
|
#
|
483
479
|
# * **Create components from Lambda functions**
|
484
480
|
#
|
485
|
-
# Create a component from an
|
481
|
+
# Create a component from an Lambda function that runs on IoT
|
486
482
|
# Greengrass. This creates a recipe and artifacts from the Lambda
|
487
483
|
# function's deployment package. You can use this operation to
|
488
|
-
# migrate Lambda functions from
|
489
|
-
#
|
484
|
+
# migrate Lambda functions from IoT Greengrass V1 to IoT Greengrass
|
485
|
+
# V2.
|
490
486
|
#
|
491
487
|
# This function only accepts Lambda functions that use the following
|
492
488
|
# runtimes:
|
@@ -524,13 +520,26 @@ module Aws::GreengrassV2
|
|
524
520
|
#
|
525
521
|
# @option params [Hash<String,String>] :tags
|
526
522
|
# A list of key-value pairs that contain metadata for the resource. For
|
527
|
-
# more information, see [Tag your resources][1] in the *
|
528
|
-
#
|
523
|
+
# more information, see [Tag your resources][1] in the *IoT Greengrass
|
524
|
+
# V2 Developer Guide*.
|
529
525
|
#
|
530
526
|
#
|
531
527
|
#
|
532
528
|
# [1]: https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html
|
533
529
|
#
|
530
|
+
# @option params [String] :client_token
|
531
|
+
# A unique, case-sensitive identifier that you can provide to ensure
|
532
|
+
# that the request is idempotent. Idempotency means that the request is
|
533
|
+
# successfully processed only once, even if you send the request
|
534
|
+
# multiple times. When a request succeeds, and you specify the same
|
535
|
+
# client token for subsequent successful requests, the IoT Greengrass V2
|
536
|
+
# service returns the successful response that it caches from the
|
537
|
+
# previous request. IoT Greengrass V2 caches successful responses for
|
538
|
+
# idempotent requests for up to 8 hours.
|
539
|
+
#
|
540
|
+
# **A suitable default value is auto-generated.** You should normally
|
541
|
+
# not need to pass this option.**
|
542
|
+
#
|
534
543
|
# @return [Types::CreateComponentVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
535
544
|
#
|
536
545
|
# * {Types::CreateComponentVersionResponse#arn #arn} => String
|
@@ -606,6 +615,7 @@ module Aws::GreengrassV2
|
|
606
615
|
# tags: {
|
607
616
|
# "TagKey" => "TagValue",
|
608
617
|
# },
|
618
|
+
# client_token: "ClientTokenString",
|
609
619
|
# })
|
610
620
|
#
|
611
621
|
# @example Response structure
|
@@ -628,22 +638,22 @@ module Aws::GreengrassV2
|
|
628
638
|
req.send_request(options)
|
629
639
|
end
|
630
640
|
|
631
|
-
# Creates a continuous deployment for a target, which is a
|
632
|
-
#
|
633
|
-
#
|
634
|
-
#
|
641
|
+
# Creates a continuous deployment for a target, which is a Greengrass
|
642
|
+
# core device or group of core devices. When you add a new core device
|
643
|
+
# to a group of core devices that has a deployment, IoT Greengrass
|
644
|
+
# deploys that group's deployment to the new device.
|
635
645
|
#
|
636
646
|
# You can define one deployment for each target. When you create a new
|
637
647
|
# deployment for a target that has an existing deployment, you replace
|
638
|
-
# the previous deployment.
|
639
|
-
#
|
648
|
+
# the previous deployment. IoT Greengrass applies the new deployment to
|
649
|
+
# the target devices.
|
640
650
|
#
|
641
651
|
# Every deployment has a revision number that indicates how many
|
642
652
|
# deployment revisions you define for a target. Use this operation to
|
643
653
|
# create a new revision of an existing deployment. This operation
|
644
654
|
# returns the revision number of the new deployment when you create it.
|
645
655
|
#
|
646
|
-
# For more information, see the [Create deployments][1] in the *
|
656
|
+
# For more information, see the [Create deployments][1] in the *IoT
|
647
657
|
# Greengrass V2 Developer Guide*.
|
648
658
|
#
|
649
659
|
#
|
@@ -651,7 +661,7 @@ module Aws::GreengrassV2
|
|
651
661
|
# [1]: https://docs.aws.amazon.com/greengrass/v2/developerguide/create-deployments.html
|
652
662
|
#
|
653
663
|
# @option params [required, String] :target_arn
|
654
|
-
# The [ARN][1] of the target
|
664
|
+
# The [ARN][1] of the target IoT thing or thing group.
|
655
665
|
#
|
656
666
|
#
|
657
667
|
#
|
@@ -660,11 +670,6 @@ module Aws::GreengrassV2
|
|
660
670
|
# @option params [String] :deployment_name
|
661
671
|
# The name of the deployment.
|
662
672
|
#
|
663
|
-
# You can create deployments without names. If you create a deployment
|
664
|
-
# without a name, the AWS IoT Greengrass V2 console shows the deployment
|
665
|
-
# name as `<targetType>:<targetName>`, where `targetType` and
|
666
|
-
# `targetName` are the type and name of the deployment target.
|
667
|
-
#
|
668
673
|
# @option params [Hash<String,Types::ComponentDeploymentSpecification>] :components
|
669
674
|
# The components to deploy. This is a dictionary, where each key is the
|
670
675
|
# name of a component, and each key's value is the version and
|
@@ -681,13 +686,26 @@ module Aws::GreengrassV2
|
|
681
686
|
#
|
682
687
|
# @option params [Hash<String,String>] :tags
|
683
688
|
# A list of key-value pairs that contain metadata for the resource. For
|
684
|
-
# more information, see [Tag your resources][1] in the *
|
685
|
-
#
|
689
|
+
# more information, see [Tag your resources][1] in the *IoT Greengrass
|
690
|
+
# V2 Developer Guide*.
|
686
691
|
#
|
687
692
|
#
|
688
693
|
#
|
689
694
|
# [1]: https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html
|
690
695
|
#
|
696
|
+
# @option params [String] :client_token
|
697
|
+
# A unique, case-sensitive identifier that you can provide to ensure
|
698
|
+
# that the request is idempotent. Idempotency means that the request is
|
699
|
+
# successfully processed only once, even if you send the request
|
700
|
+
# multiple times. When a request succeeds, and you specify the same
|
701
|
+
# client token for subsequent successful requests, the IoT Greengrass V2
|
702
|
+
# service returns the successful response that it caches from the
|
703
|
+
# previous request. IoT Greengrass V2 caches successful responses for
|
704
|
+
# idempotent requests for up to 8 hours.
|
705
|
+
#
|
706
|
+
# **A suitable default value is auto-generated.** You should normally
|
707
|
+
# not need to pass this option.**
|
708
|
+
#
|
691
709
|
# @return [Types::CreateDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
692
710
|
#
|
693
711
|
# * {Types::CreateDeploymentResponse#deployment_id #deployment_id} => String
|
@@ -708,6 +726,10 @@ module Aws::GreengrassV2
|
|
708
726
|
# },
|
709
727
|
# run_with: {
|
710
728
|
# posix_user: "NonEmptyString",
|
729
|
+
# system_resource_limits: {
|
730
|
+
# memory: 1,
|
731
|
+
# cpus: 1.0,
|
732
|
+
# },
|
711
733
|
# },
|
712
734
|
# },
|
713
735
|
# },
|
@@ -750,6 +772,7 @@ module Aws::GreengrassV2
|
|
750
772
|
# tags: {
|
751
773
|
# "TagKey" => "TagValue",
|
752
774
|
# },
|
775
|
+
# client_token: "ClientTokenString",
|
753
776
|
# })
|
754
777
|
#
|
755
778
|
# @example Response structure
|
@@ -767,7 +790,7 @@ module Aws::GreengrassV2
|
|
767
790
|
req.send_request(options)
|
768
791
|
end
|
769
792
|
|
770
|
-
# Deletes a version of a component from
|
793
|
+
# Deletes a version of a component from IoT Greengrass.
|
771
794
|
#
|
772
795
|
# <note markdown="1"> This operation deletes the component's recipe and artifacts. As a
|
773
796
|
# result, deployments that refer to this component version will fail. If
|
@@ -801,19 +824,18 @@ module Aws::GreengrassV2
|
|
801
824
|
req.send_request(options)
|
802
825
|
end
|
803
826
|
|
804
|
-
# Deletes a
|
805
|
-
#
|
806
|
-
#
|
807
|
-
#
|
808
|
-
#
|
827
|
+
# Deletes a Greengrass core device, which is an IoT thing. This
|
828
|
+
# operation removes the core device from the list of core devices. This
|
829
|
+
# operation doesn't delete the IoT thing. For more information about
|
830
|
+
# how to delete the IoT thing, see [DeleteThing][1] in the *IoT API
|
831
|
+
# Reference*.
|
809
832
|
#
|
810
833
|
#
|
811
834
|
#
|
812
835
|
# [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_DeleteThing.html
|
813
836
|
#
|
814
837
|
# @option params [required, String] :core_device_thing_name
|
815
|
-
# The name of the core device. This is also the name of the
|
816
|
-
# thing.
|
838
|
+
# The name of the core device. This is also the name of the IoT thing.
|
817
839
|
#
|
818
840
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
819
841
|
#
|
@@ -979,11 +1001,10 @@ module Aws::GreengrassV2
|
|
979
1001
|
req.send_request(options)
|
980
1002
|
end
|
981
1003
|
|
982
|
-
# Retrieves metadata for a
|
1004
|
+
# Retrieves metadata for a Greengrass core device.
|
983
1005
|
#
|
984
1006
|
# @option params [required, String] :core_device_thing_name
|
985
|
-
# The name of the core device. This is also the name of the
|
986
|
-
# thing.
|
1007
|
+
# The name of the core device. This is also the name of the IoT thing.
|
987
1008
|
#
|
988
1009
|
# @return [Types::GetCoreDeviceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
989
1010
|
#
|
@@ -1021,8 +1042,8 @@ module Aws::GreengrassV2
|
|
1021
1042
|
req.send_request(options)
|
1022
1043
|
end
|
1023
1044
|
|
1024
|
-
# Gets a deployment. Deployments define the components that run on
|
1025
|
-
#
|
1045
|
+
# Gets a deployment. Deployments define the components that run on
|
1046
|
+
# Greengrass core devices.
|
1026
1047
|
#
|
1027
1048
|
# @option params [required, String] :deployment_id
|
1028
1049
|
# The ID of the deployment.
|
@@ -1064,6 +1085,8 @@ module Aws::GreengrassV2
|
|
1064
1085
|
# resp.components["NonEmptyString"].configuration_update.reset #=> Array
|
1065
1086
|
# resp.components["NonEmptyString"].configuration_update.reset[0] #=> String
|
1066
1087
|
# resp.components["NonEmptyString"].run_with.posix_user #=> String
|
1088
|
+
# resp.components["NonEmptyString"].run_with.system_resource_limits.memory #=> Integer
|
1089
|
+
# resp.components["NonEmptyString"].run_with.system_resource_limits.cpus #=> Float
|
1067
1090
|
# resp.deployment_policies.failure_handling_policy #=> String, one of "ROLLBACK", "DO_NOTHING"
|
1068
1091
|
# resp.deployment_policies.component_update_policy.timeout_in_seconds #=> Integer
|
1069
1092
|
# resp.deployment_policies.component_update_policy.action #=> String, one of "NOTIFY_COMPONENTS", "SKIP_NOTIFY_COMPONENTS"
|
@@ -1097,8 +1120,7 @@ module Aws::GreengrassV2
|
|
1097
1120
|
# a core device.
|
1098
1121
|
#
|
1099
1122
|
# @option params [required, String] :core_device_thing_name
|
1100
|
-
# The name of the core device. This is also the name of the
|
1101
|
-
# thing.
|
1123
|
+
# The name of the core device. This is also the name of the IoT thing.
|
1102
1124
|
#
|
1103
1125
|
# @option params [Integer] :max_results
|
1104
1126
|
# The maximum number of results to be returned per paginated request.
|
@@ -1239,12 +1261,12 @@ module Aws::GreengrassV2
|
|
1239
1261
|
req.send_request(options)
|
1240
1262
|
end
|
1241
1263
|
|
1242
|
-
# Retrieves a paginated list of
|
1264
|
+
# Retrieves a paginated list of Greengrass core devices.
|
1243
1265
|
#
|
1244
1266
|
# @option params [String] :thing_group_arn
|
1245
|
-
# The [ARN][1] of the
|
1246
|
-
#
|
1247
|
-
#
|
1267
|
+
# The [ARN][1] of the IoT thing group by which to filter. If you specify
|
1268
|
+
# this parameter, the list includes only core devices that are members
|
1269
|
+
# of this thing group.
|
1248
1270
|
#
|
1249
1271
|
#
|
1250
1272
|
#
|
@@ -1255,11 +1277,11 @@ module Aws::GreengrassV2
|
|
1255
1277
|
# parameter, the list includes only core devices that have this status.
|
1256
1278
|
# Choose one of the following options:
|
1257
1279
|
#
|
1258
|
-
# * `HEALTHY` – The
|
1259
|
-
#
|
1280
|
+
# * `HEALTHY` – The IoT Greengrass Core software and all components run
|
1281
|
+
# on the core device without issue.
|
1260
1282
|
#
|
1261
|
-
# * `UNHEALTHY` – The
|
1262
|
-
#
|
1283
|
+
# * `UNHEALTHY` – The IoT Greengrass Core software or a component is in
|
1284
|
+
# a failed state on the core device.
|
1263
1285
|
#
|
1264
1286
|
# @option params [Integer] :max_results
|
1265
1287
|
# The maximum number of results to be returned per paginated request.
|
@@ -1303,7 +1325,7 @@ module Aws::GreengrassV2
|
|
1303
1325
|
# Retrieves a paginated list of deployments.
|
1304
1326
|
#
|
1305
1327
|
# @option params [String] :target_arn
|
1306
|
-
# The [ARN][1] of the target
|
1328
|
+
# The [ARN][1] of the target IoT thing or thing group.
|
1307
1329
|
#
|
1308
1330
|
#
|
1309
1331
|
#
|
@@ -1363,12 +1385,11 @@ module Aws::GreengrassV2
|
|
1363
1385
|
req.send_request(options)
|
1364
1386
|
end
|
1365
1387
|
|
1366
|
-
# Retrieves a paginated list of deployment jobs that
|
1367
|
-
# sends to
|
1388
|
+
# Retrieves a paginated list of deployment jobs that IoT Greengrass
|
1389
|
+
# sends to Greengrass core devices.
|
1368
1390
|
#
|
1369
1391
|
# @option params [required, String] :core_device_thing_name
|
1370
|
-
# The name of the core device. This is also the name of the
|
1371
|
-
# thing.
|
1392
|
+
# The name of the core device. This is also the name of the IoT thing.
|
1372
1393
|
#
|
1373
1394
|
# @option params [Integer] :max_results
|
1374
1395
|
# The maximum number of results to be returned per paginated request.
|
@@ -1415,12 +1436,11 @@ module Aws::GreengrassV2
|
|
1415
1436
|
req.send_request(options)
|
1416
1437
|
end
|
1417
1438
|
|
1418
|
-
# Retrieves a paginated list of the components that a
|
1419
|
-
#
|
1439
|
+
# Retrieves a paginated list of the components that a Greengrass core
|
1440
|
+
# device runs.
|
1420
1441
|
#
|
1421
1442
|
# @option params [required, String] :core_device_thing_name
|
1422
|
-
# The name of the core device. This is also the name of the
|
1423
|
-
# thing.
|
1443
|
+
# The name of the core device. This is also the name of the IoT thing.
|
1424
1444
|
#
|
1425
1445
|
# @option params [Integer] :max_results
|
1426
1446
|
# The maximum number of results to be returned per paginated request.
|
@@ -1462,7 +1482,7 @@ module Aws::GreengrassV2
|
|
1462
1482
|
req.send_request(options)
|
1463
1483
|
end
|
1464
1484
|
|
1465
|
-
# Retrieves the list of tags for an
|
1485
|
+
# Retrieves the list of tags for an IoT Greengrass resource.
|
1466
1486
|
#
|
1467
1487
|
# @option params [required, String] :resource_arn
|
1468
1488
|
# The [ARN][1] of the resource.
|
@@ -1496,8 +1516,8 @@ module Aws::GreengrassV2
|
|
1496
1516
|
end
|
1497
1517
|
|
1498
1518
|
# Retrieves a list of components that meet the component, version, and
|
1499
|
-
# platform requirements of a deployment.
|
1500
|
-
#
|
1519
|
+
# platform requirements of a deployment. Greengrass core devices call
|
1520
|
+
# this operation when they receive a deployment to identify the
|
1501
1521
|
# components to install.
|
1502
1522
|
#
|
1503
1523
|
# This operation identifies components that meet all dependency
|
@@ -1506,15 +1526,15 @@ module Aws::GreengrassV2
|
|
1506
1526
|
# occurs if component `A` requires version `>2.0.0` and component `B`
|
1507
1527
|
# requires version `<2.0.0` of a component dependency.
|
1508
1528
|
#
|
1509
|
-
# When you specify the component candidates to resolve,
|
1510
|
-
#
|
1511
|
-
#
|
1512
|
-
# then
|
1513
|
-
# Cloud.
|
1529
|
+
# When you specify the component candidates to resolve, IoT Greengrass
|
1530
|
+
# compares each component's digest from the core device with the
|
1531
|
+
# component's digest in the Amazon Web Services Cloud. If the digests
|
1532
|
+
# don't match, then IoT Greengrass specifies to use the version from
|
1533
|
+
# the Amazon Web Services Cloud.
|
1514
1534
|
#
|
1515
1535
|
# To use this operation, you must use the data plane API endpoint and
|
1516
|
-
# authenticate with an
|
1517
|
-
#
|
1536
|
+
# authenticate with an IoT device certificate. For more information, see
|
1537
|
+
# [IoT Greengrass endpoints and quotas][1].
|
1518
1538
|
#
|
1519
1539
|
#
|
1520
1540
|
#
|
@@ -1567,8 +1587,8 @@ module Aws::GreengrassV2
|
|
1567
1587
|
req.send_request(options)
|
1568
1588
|
end
|
1569
1589
|
|
1570
|
-
# Adds tags to an
|
1571
|
-
#
|
1590
|
+
# Adds tags to an IoT Greengrass resource. If a tag already exists for
|
1591
|
+
# the resource, this operation updates the tag's value.
|
1572
1592
|
#
|
1573
1593
|
# @option params [required, String] :resource_arn
|
1574
1594
|
# The [ARN][1] of the resource to tag.
|
@@ -1579,8 +1599,8 @@ module Aws::GreengrassV2
|
|
1579
1599
|
#
|
1580
1600
|
# @option params [required, Hash<String,String>] :tags
|
1581
1601
|
# A list of key-value pairs that contain metadata for the resource. For
|
1582
|
-
# more information, see [Tag your resources][1] in the *
|
1583
|
-
#
|
1602
|
+
# more information, see [Tag your resources][1] in the *IoT Greengrass
|
1603
|
+
# V2 Developer Guide*.
|
1584
1604
|
#
|
1585
1605
|
#
|
1586
1606
|
#
|
@@ -1606,7 +1626,7 @@ module Aws::GreengrassV2
|
|
1606
1626
|
req.send_request(options)
|
1607
1627
|
end
|
1608
1628
|
|
1609
|
-
# Removes a tag from an
|
1629
|
+
# Removes a tag from an IoT Greengrass resource.
|
1610
1630
|
#
|
1611
1631
|
# @option params [required, String] :resource_arn
|
1612
1632
|
# The [ARN][1] of the resource to untag.
|
@@ -1649,7 +1669,7 @@ module Aws::GreengrassV2
|
|
1649
1669
|
params: params,
|
1650
1670
|
config: config)
|
1651
1671
|
context[:gem_name] = 'aws-sdk-greengrassv2'
|
1652
|
-
context[:gem_version] = '1.
|
1672
|
+
context[:gem_version] = '1.7.0'
|
1653
1673
|
Seahorse::Client::Request.new(handlers, context)
|
1654
1674
|
end
|
1655
1675
|
|