aws-sdk-greengrassv2 1.6.0 → 1.10.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: 2f419048547b10d07ea67f466e830ded2639a788049513c20298a31bf745b868
4
- data.tar.gz: 98b2e906c2d460ba0499b0a1d2063cf213844cc5888294ed6b898c912913f44c
3
+ metadata.gz: 8785911fc45803c6896f3371505e8da554c530bae251723a4e33bc533d823680
4
+ data.tar.gz: 0f0473a65c19205ad1dd8392cbcf251290f8a39082bf8d96e9a7c6e1854300a7
5
5
  SHA512:
6
- metadata.gz: 749a703b22b3f5750386b1592e62fa7266315913a0dd5b301631cbe5279e1ed440f175399f29ce8e47e46754f57b21be91aaa77e9ba0620ac2d76b1703de032e
7
- data.tar.gz: 2ffdaa742ab6ed5116161719db9be0320865c4898694ad4aa170cfa43a3e34fa419d13b06ac7fa76520620fa43d6aefe0bc3252a7ac00090afcd2fe06c058856
6
+ metadata.gz: 6ca55d5fb0a2abc52acc5920699ec7e085d1c8c495eb682c911cb0f704b5c8fc9d66927394c4ad2c2d85e7295488bfd0c9c93002eb247fbb97f4a889e39b25ce
7
+ data.tar.gz: 50ea625f8c5fe703c8446eb817a9b22c930822def7bc06ca38b1b892acb1dbb8ffb0dd9e1b0d0bcc397c4a6333289d975f13d6a4a3a318d5cd23d490a18e5231
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.10.0 (2021-11-04)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.9.0 (2021-10-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.8.0 (2021-09-01)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.7.0 (2021-08-02)
20
+ ------------------
21
+
22
+ * 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.
23
+
4
24
  1.6.0 (2021-07-30)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.0
1
+ 1.10.0
@@ -275,6 +275,15 @@ module Aws::GreengrassV2
275
275
  # ** Please note ** When response stubbing is enabled, no HTTP
276
276
  # requests are made, and retries are disabled.
277
277
  #
278
+ # @option options [Boolean] :use_dualstack_endpoint
279
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
280
+ # will be used if available.
281
+ #
282
+ # @option options [Boolean] :use_fips_endpoint
283
+ # When set to `true`, fips compatible endpoints will be used if available.
284
+ # When a `fips` region is used, the region is normalized and this config
285
+ # is set to `true`.
286
+ #
278
287
  # @option options [Boolean] :validate_params (true)
279
288
  # When `true`, request parameters are validated before
280
289
  # sending the request.
@@ -330,17 +339,16 @@ module Aws::GreengrassV2
330
339
  # Associate a list of client devices with a core device. Use this API
331
340
  # operation to specify which client devices can discover a core device
332
341
  # 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*.
342
+ # to IoT Greengrass to retrieve associated core devices' connectivity
343
+ # information and certificates. For more information, see [Configure
344
+ # cloud discovery][1] in the *IoT Greengrass V2 Developer Guide*.
337
345
  #
338
346
  # <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
347
+ # with an IoT Greengrass core device over MQTT. You can connect client
348
+ # devices to a core device to sync MQTT messages and data to Amazon Web
349
+ # Services IoT Core and interact with client devices in Greengrass
342
350
  # components. For more information, see [Interact with local IoT
343
- # devices][2] in the *AWS IoT Greengrass V2 Developer Guide*.
351
+ # devices][2] in the *IoT Greengrass V2 Developer Guide*.
344
352
  #
345
353
  # </note>
346
354
  #
@@ -353,8 +361,7 @@ module Aws::GreengrassV2
353
361
  # The list of client devices to associate.
354
362
  #
355
363
  # @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.
364
+ # The name of the core device. This is also the name of the IoT thing.
358
365
  #
359
366
  # @return [Types::BatchAssociateClientDeviceWithCoreDeviceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
360
367
  #
@@ -396,8 +403,7 @@ module Aws::GreengrassV2
396
403
  # The list of client devices to disassociate.
397
404
  #
398
405
  # @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.
406
+ # The name of the core device. This is also the name of the IoT thing.
401
407
  #
402
408
  # @return [Types::BatchDisassociateClientDeviceFromCoreDeviceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
403
409
  #
@@ -461,11 +467,10 @@ module Aws::GreengrassV2
461
467
  req.send_request(options)
462
468
  end
463
469
 
464
- # Creates a component. Components are software that run on AWS IoT
465
- # Greengrass core devices. After you develop and test a component on
466
- # your core device, you can use this operation to upload your component
467
- # to AWS IoT Greengrass. Then, you can deploy the component to other
468
- # core devices.
470
+ # Creates a component. Components are software that run on Greengrass
471
+ # core devices. After you develop and test a component on your core
472
+ # device, you can use this operation to upload your component to IoT
473
+ # Greengrass. Then, you can deploy the component to other core devices.
469
474
  #
470
475
  # You can use this operation to do the following:
471
476
  #
@@ -473,20 +478,20 @@ module Aws::GreengrassV2
473
478
  #
474
479
  # Create a component from a recipe, which is a file that defines the
475
480
  # component's metadata, parameters, dependencies, lifecycle,
476
- # artifacts, and platform capability. For more information, see [AWS
477
- # IoT Greengrass component recipe reference][1] in the *AWS IoT
478
- # Greengrass V2 Developer Guide*.
481
+ # artifacts, and platform capability. For more information, see [IoT
482
+ # Greengrass component recipe reference][1] in the *IoT Greengrass V2
483
+ # Developer Guide*.
479
484
  #
480
485
  # To create a component from a recipe, specify `inlineRecipe` when you
481
486
  # call this operation.
482
487
  #
483
488
  # * **Create components from Lambda functions**
484
489
  #
485
- # Create a component from an AWS Lambda function that runs on AWS IoT
490
+ # Create a component from an Lambda function that runs on IoT
486
491
  # Greengrass. This creates a recipe and artifacts from the Lambda
487
492
  # function's deployment package. You can use this operation to
488
- # migrate Lambda functions from AWS IoT Greengrass V1 to AWS IoT
489
- # Greengrass V2.
493
+ # migrate Lambda functions from IoT Greengrass V1 to IoT Greengrass
494
+ # V2.
490
495
  #
491
496
  # This function only accepts Lambda functions that use the following
492
497
  # runtimes:
@@ -524,13 +529,26 @@ module Aws::GreengrassV2
524
529
  #
525
530
  # @option params [Hash<String,String>] :tags
526
531
  # A list of key-value pairs that contain metadata for the resource. For
527
- # more information, see [Tag your resources][1] in the *AWS IoT
528
- # Greengrass V2 Developer Guide*.
532
+ # more information, see [Tag your resources][1] in the *IoT Greengrass
533
+ # V2 Developer Guide*.
529
534
  #
530
535
  #
531
536
  #
532
537
  # [1]: https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html
533
538
  #
539
+ # @option params [String] :client_token
540
+ # A unique, case-sensitive identifier that you can provide to ensure
541
+ # that the request is idempotent. Idempotency means that the request is
542
+ # successfully processed only once, even if you send the request
543
+ # multiple times. When a request succeeds, and you specify the same
544
+ # client token for subsequent successful requests, the IoT Greengrass V2
545
+ # service returns the successful response that it caches from the
546
+ # previous request. IoT Greengrass V2 caches successful responses for
547
+ # idempotent requests for up to 8 hours.
548
+ #
549
+ # **A suitable default value is auto-generated.** You should normally
550
+ # not need to pass this option.**
551
+ #
534
552
  # @return [Types::CreateComponentVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
535
553
  #
536
554
  # * {Types::CreateComponentVersionResponse#arn #arn} => String
@@ -606,6 +624,7 @@ module Aws::GreengrassV2
606
624
  # tags: {
607
625
  # "TagKey" => "TagValue",
608
626
  # },
627
+ # client_token: "ClientTokenString",
609
628
  # })
610
629
  #
611
630
  # @example Response structure
@@ -628,22 +647,22 @@ module Aws::GreengrassV2
628
647
  req.send_request(options)
629
648
  end
630
649
 
631
- # Creates a continuous deployment for a target, which is a AWS IoT
632
- # Greengrass core device or group of core devices. When you add a new
633
- # core device to a group of core devices that has a deployment, AWS IoT
634
- # Greengrass deploys that group's deployment to the new device.
650
+ # Creates a continuous deployment for a target, which is a Greengrass
651
+ # core device or group of core devices. When you add a new core device
652
+ # to a group of core devices that has a deployment, IoT Greengrass
653
+ # deploys that group's deployment to the new device.
635
654
  #
636
655
  # You can define one deployment for each target. When you create a new
637
656
  # deployment for a target that has an existing deployment, you replace
638
- # the previous deployment. AWS IoT Greengrass applies the new deployment
639
- # to the target devices.
657
+ # the previous deployment. IoT Greengrass applies the new deployment to
658
+ # the target devices.
640
659
  #
641
660
  # Every deployment has a revision number that indicates how many
642
661
  # deployment revisions you define for a target. Use this operation to
643
662
  # create a new revision of an existing deployment. This operation
644
663
  # returns the revision number of the new deployment when you create it.
645
664
  #
646
- # For more information, see the [Create deployments][1] in the *AWS IoT
665
+ # For more information, see the [Create deployments][1] in the *IoT
647
666
  # Greengrass V2 Developer Guide*.
648
667
  #
649
668
  #
@@ -651,7 +670,7 @@ module Aws::GreengrassV2
651
670
  # [1]: https://docs.aws.amazon.com/greengrass/v2/developerguide/create-deployments.html
652
671
  #
653
672
  # @option params [required, String] :target_arn
654
- # The [ARN][1] of the target AWS IoT thing or thing group.
673
+ # The [ARN][1] of the target IoT thing or thing group.
655
674
  #
656
675
  #
657
676
  #
@@ -660,11 +679,6 @@ module Aws::GreengrassV2
660
679
  # @option params [String] :deployment_name
661
680
  # The name of the deployment.
662
681
  #
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
682
  # @option params [Hash<String,Types::ComponentDeploymentSpecification>] :components
669
683
  # The components to deploy. This is a dictionary, where each key is the
670
684
  # name of a component, and each key's value is the version and
@@ -681,13 +695,26 @@ module Aws::GreengrassV2
681
695
  #
682
696
  # @option params [Hash<String,String>] :tags
683
697
  # A list of key-value pairs that contain metadata for the resource. For
684
- # more information, see [Tag your resources][1] in the *AWS IoT
685
- # Greengrass V2 Developer Guide*.
698
+ # more information, see [Tag your resources][1] in the *IoT Greengrass
699
+ # V2 Developer Guide*.
686
700
  #
687
701
  #
688
702
  #
689
703
  # [1]: https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html
690
704
  #
705
+ # @option params [String] :client_token
706
+ # A unique, case-sensitive identifier that you can provide to ensure
707
+ # that the request is idempotent. Idempotency means that the request is
708
+ # successfully processed only once, even if you send the request
709
+ # multiple times. When a request succeeds, and you specify the same
710
+ # client token for subsequent successful requests, the IoT Greengrass V2
711
+ # service returns the successful response that it caches from the
712
+ # previous request. IoT Greengrass V2 caches successful responses for
713
+ # idempotent requests for up to 8 hours.
714
+ #
715
+ # **A suitable default value is auto-generated.** You should normally
716
+ # not need to pass this option.**
717
+ #
691
718
  # @return [Types::CreateDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
692
719
  #
693
720
  # * {Types::CreateDeploymentResponse#deployment_id #deployment_id} => String
@@ -708,6 +735,10 @@ module Aws::GreengrassV2
708
735
  # },
709
736
  # run_with: {
710
737
  # posix_user: "NonEmptyString",
738
+ # system_resource_limits: {
739
+ # memory: 1,
740
+ # cpus: 1.0,
741
+ # },
711
742
  # },
712
743
  # },
713
744
  # },
@@ -750,6 +781,7 @@ module Aws::GreengrassV2
750
781
  # tags: {
751
782
  # "TagKey" => "TagValue",
752
783
  # },
784
+ # client_token: "ClientTokenString",
753
785
  # })
754
786
  #
755
787
  # @example Response structure
@@ -767,7 +799,7 @@ module Aws::GreengrassV2
767
799
  req.send_request(options)
768
800
  end
769
801
 
770
- # Deletes a version of a component from AWS IoT Greengrass.
802
+ # Deletes a version of a component from IoT Greengrass.
771
803
  #
772
804
  # <note markdown="1"> This operation deletes the component's recipe and artifacts. As a
773
805
  # result, deployments that refer to this component version will fail. If
@@ -801,19 +833,18 @@ module Aws::GreengrassV2
801
833
  req.send_request(options)
802
834
  end
803
835
 
804
- # Deletes a AWS IoT Greengrass core device, which is an AWS IoT thing.
805
- # This operation removes the core device from the list of core devices.
806
- # This operation doesn't delete the AWS IoT thing. For more information
807
- # about how to delete the AWS IoT thing, see [DeleteThing][1] in the
808
- # *AWS IoT API Reference*.
836
+ # Deletes a Greengrass core device, which is an IoT thing. This
837
+ # operation removes the core device from the list of core devices. This
838
+ # operation doesn't delete the IoT thing. For more information about
839
+ # how to delete the IoT thing, see [DeleteThing][1] in the *IoT API
840
+ # Reference*.
809
841
  #
810
842
  #
811
843
  #
812
844
  # [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_DeleteThing.html
813
845
  #
814
846
  # @option params [required, String] :core_device_thing_name
815
- # The name of the core device. This is also the name of the AWS IoT
816
- # thing.
847
+ # The name of the core device. This is also the name of the IoT thing.
817
848
  #
818
849
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
819
850
  #
@@ -979,11 +1010,10 @@ module Aws::GreengrassV2
979
1010
  req.send_request(options)
980
1011
  end
981
1012
 
982
- # Retrieves metadata for a AWS IoT Greengrass core device.
1013
+ # Retrieves metadata for a Greengrass core device.
983
1014
  #
984
1015
  # @option params [required, String] :core_device_thing_name
985
- # The name of the core device. This is also the name of the AWS IoT
986
- # thing.
1016
+ # The name of the core device. This is also the name of the IoT thing.
987
1017
  #
988
1018
  # @return [Types::GetCoreDeviceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
989
1019
  #
@@ -1021,8 +1051,8 @@ module Aws::GreengrassV2
1021
1051
  req.send_request(options)
1022
1052
  end
1023
1053
 
1024
- # Gets a deployment. Deployments define the components that run on AWS
1025
- # IoT Greengrass core devices.
1054
+ # Gets a deployment. Deployments define the components that run on
1055
+ # Greengrass core devices.
1026
1056
  #
1027
1057
  # @option params [required, String] :deployment_id
1028
1058
  # The ID of the deployment.
@@ -1064,6 +1094,8 @@ module Aws::GreengrassV2
1064
1094
  # resp.components["NonEmptyString"].configuration_update.reset #=> Array
1065
1095
  # resp.components["NonEmptyString"].configuration_update.reset[0] #=> String
1066
1096
  # resp.components["NonEmptyString"].run_with.posix_user #=> String
1097
+ # resp.components["NonEmptyString"].run_with.system_resource_limits.memory #=> Integer
1098
+ # resp.components["NonEmptyString"].run_with.system_resource_limits.cpus #=> Float
1067
1099
  # resp.deployment_policies.failure_handling_policy #=> String, one of "ROLLBACK", "DO_NOTHING"
1068
1100
  # resp.deployment_policies.component_update_policy.timeout_in_seconds #=> Integer
1069
1101
  # resp.deployment_policies.component_update_policy.action #=> String, one of "NOTIFY_COMPONENTS", "SKIP_NOTIFY_COMPONENTS"
@@ -1097,8 +1129,7 @@ module Aws::GreengrassV2
1097
1129
  # a core device.
1098
1130
  #
1099
1131
  # @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.
1132
+ # The name of the core device. This is also the name of the IoT thing.
1102
1133
  #
1103
1134
  # @option params [Integer] :max_results
1104
1135
  # The maximum number of results to be returned per paginated request.
@@ -1239,12 +1270,12 @@ module Aws::GreengrassV2
1239
1270
  req.send_request(options)
1240
1271
  end
1241
1272
 
1242
- # Retrieves a paginated list of AWS IoT Greengrass core devices.
1273
+ # Retrieves a paginated list of Greengrass core devices.
1243
1274
  #
1244
1275
  # @option params [String] :thing_group_arn
1245
- # The [ARN][1] of the AWS IoT thing group by which to filter. If you
1246
- # specify this parameter, the list includes only core devices that are
1247
- # members of this thing group.
1276
+ # The [ARN][1] of the IoT thing group by which to filter. If you specify
1277
+ # this parameter, the list includes only core devices that are members
1278
+ # of this thing group.
1248
1279
  #
1249
1280
  #
1250
1281
  #
@@ -1255,11 +1286,11 @@ module Aws::GreengrassV2
1255
1286
  # parameter, the list includes only core devices that have this status.
1256
1287
  # Choose one of the following options:
1257
1288
  #
1258
- # * `HEALTHY` – The AWS IoT Greengrass Core software and all components
1259
- # run on the core device without issue.
1289
+ # * `HEALTHY` – The IoT Greengrass Core software and all components run
1290
+ # on the core device without issue.
1260
1291
  #
1261
- # * `UNHEALTHY` – The AWS IoT Greengrass Core software or a component is
1262
- # in a failed state on the core device.
1292
+ # * `UNHEALTHY` – The IoT Greengrass Core software or a component is in
1293
+ # a failed state on the core device.
1263
1294
  #
1264
1295
  # @option params [Integer] :max_results
1265
1296
  # The maximum number of results to be returned per paginated request.
@@ -1303,7 +1334,7 @@ module Aws::GreengrassV2
1303
1334
  # Retrieves a paginated list of deployments.
1304
1335
  #
1305
1336
  # @option params [String] :target_arn
1306
- # The [ARN][1] of the target AWS IoT thing or thing group.
1337
+ # The [ARN][1] of the target IoT thing or thing group.
1307
1338
  #
1308
1339
  #
1309
1340
  #
@@ -1363,12 +1394,11 @@ module Aws::GreengrassV2
1363
1394
  req.send_request(options)
1364
1395
  end
1365
1396
 
1366
- # Retrieves a paginated list of deployment jobs that AWS IoT Greengrass
1367
- # sends to AWS IoT Greengrass core devices.
1397
+ # Retrieves a paginated list of deployment jobs that IoT Greengrass
1398
+ # sends to Greengrass core devices.
1368
1399
  #
1369
1400
  # @option params [required, String] :core_device_thing_name
1370
- # The name of the core device. This is also the name of the AWS IoT
1371
- # thing.
1401
+ # The name of the core device. This is also the name of the IoT thing.
1372
1402
  #
1373
1403
  # @option params [Integer] :max_results
1374
1404
  # The maximum number of results to be returned per paginated request.
@@ -1415,12 +1445,11 @@ module Aws::GreengrassV2
1415
1445
  req.send_request(options)
1416
1446
  end
1417
1447
 
1418
- # Retrieves a paginated list of the components that a AWS IoT Greengrass
1419
- # core device runs.
1448
+ # Retrieves a paginated list of the components that a Greengrass core
1449
+ # device runs.
1420
1450
  #
1421
1451
  # @option params [required, String] :core_device_thing_name
1422
- # The name of the core device. This is also the name of the AWS IoT
1423
- # thing.
1452
+ # The name of the core device. This is also the name of the IoT thing.
1424
1453
  #
1425
1454
  # @option params [Integer] :max_results
1426
1455
  # The maximum number of results to be returned per paginated request.
@@ -1462,7 +1491,7 @@ module Aws::GreengrassV2
1462
1491
  req.send_request(options)
1463
1492
  end
1464
1493
 
1465
- # Retrieves the list of tags for an AWS IoT Greengrass resource.
1494
+ # Retrieves the list of tags for an IoT Greengrass resource.
1466
1495
  #
1467
1496
  # @option params [required, String] :resource_arn
1468
1497
  # The [ARN][1] of the resource.
@@ -1496,8 +1525,8 @@ module Aws::GreengrassV2
1496
1525
  end
1497
1526
 
1498
1527
  # Retrieves a list of components that meet the component, version, and
1499
- # platform requirements of a deployment. AWS IoT Greengrass core devices
1500
- # call this operation when they receive a deployment to identify the
1528
+ # platform requirements of a deployment. Greengrass core devices call
1529
+ # this operation when they receive a deployment to identify the
1501
1530
  # components to install.
1502
1531
  #
1503
1532
  # This operation identifies components that meet all dependency
@@ -1506,15 +1535,15 @@ module Aws::GreengrassV2
1506
1535
  # occurs if component `A` requires version `>2.0.0` and component `B`
1507
1536
  # requires version `<2.0.0` of a component dependency.
1508
1537
  #
1509
- # When you specify the component candidates to resolve, AWS IoT
1510
- # Greengrass compares each component's digest from the core device with
1511
- # the component's digest in the AWS Cloud. If the digests don't match,
1512
- # then AWS IoT Greengrass specifies to use the version from the AWS
1513
- # Cloud.
1538
+ # When you specify the component candidates to resolve, IoT Greengrass
1539
+ # compares each component's digest from the core device with the
1540
+ # component's digest in the Amazon Web Services Cloud. If the digests
1541
+ # don't match, then IoT Greengrass specifies to use the version from
1542
+ # the Amazon Web Services Cloud.
1514
1543
  #
1515
1544
  # To use this operation, you must use the data plane API endpoint and
1516
- # authenticate with an AWS IoT device certificate. For more information,
1517
- # see [AWS IoT Greengrass endpoints and quotas][1].
1545
+ # authenticate with an IoT device certificate. For more information, see
1546
+ # [IoT Greengrass endpoints and quotas][1].
1518
1547
  #
1519
1548
  #
1520
1549
  #
@@ -1567,8 +1596,8 @@ module Aws::GreengrassV2
1567
1596
  req.send_request(options)
1568
1597
  end
1569
1598
 
1570
- # Adds tags to an AWS IoT Greengrass resource. If a tag already exists
1571
- # for the resource, this operation updates the tag's value.
1599
+ # Adds tags to an IoT Greengrass resource. If a tag already exists for
1600
+ # the resource, this operation updates the tag's value.
1572
1601
  #
1573
1602
  # @option params [required, String] :resource_arn
1574
1603
  # The [ARN][1] of the resource to tag.
@@ -1579,8 +1608,8 @@ module Aws::GreengrassV2
1579
1608
  #
1580
1609
  # @option params [required, Hash<String,String>] :tags
1581
1610
  # A list of key-value pairs that contain metadata for the resource. For
1582
- # more information, see [Tag your resources][1] in the *AWS IoT
1583
- # Greengrass V2 Developer Guide*.
1611
+ # more information, see [Tag your resources][1] in the *IoT Greengrass
1612
+ # V2 Developer Guide*.
1584
1613
  #
1585
1614
  #
1586
1615
  #
@@ -1606,7 +1635,7 @@ module Aws::GreengrassV2
1606
1635
  req.send_request(options)
1607
1636
  end
1608
1637
 
1609
- # Removes a tag from an AWS IoT Greengrass resource.
1638
+ # Removes a tag from an IoT Greengrass resource.
1610
1639
  #
1611
1640
  # @option params [required, String] :resource_arn
1612
1641
  # The [ARN][1] of the resource to untag.
@@ -1649,7 +1678,7 @@ module Aws::GreengrassV2
1649
1678
  params: params,
1650
1679
  config: config)
1651
1680
  context[:gem_name] = 'aws-sdk-greengrassv2'
1652
- context[:gem_version] = '1.6.0'
1681
+ context[:gem_version] = '1.10.0'
1653
1682
  Seahorse::Client::Request.new(handlers, context)
1654
1683
  end
1655
1684
 
@@ -24,8 +24,10 @@ module Aws::GreengrassV2
24
24
  BatchAssociateClientDeviceWithCoreDeviceResponse = Shapes::StructureShape.new(name: 'BatchAssociateClientDeviceWithCoreDeviceResponse')
25
25
  BatchDisassociateClientDeviceFromCoreDeviceRequest = Shapes::StructureShape.new(name: 'BatchDisassociateClientDeviceFromCoreDeviceRequest')
26
26
  BatchDisassociateClientDeviceFromCoreDeviceResponse = Shapes::StructureShape.new(name: 'BatchDisassociateClientDeviceFromCoreDeviceResponse')
27
+ CPU = Shapes::FloatShape.new(name: 'CPU')
27
28
  CancelDeploymentRequest = Shapes::StructureShape.new(name: 'CancelDeploymentRequest')
28
29
  CancelDeploymentResponse = Shapes::StructureShape.new(name: 'CancelDeploymentResponse')
30
+ ClientTokenString = Shapes::StringShape.new(name: 'ClientTokenString')
29
31
  CloudComponentState = Shapes::StringShape.new(name: 'CloudComponentState')
30
32
  CloudComponentStatus = Shapes::StructureShape.new(name: 'CloudComponentStatus')
31
33
  Component = Shapes::StructureShape.new(name: 'Component')
@@ -161,6 +163,7 @@ module Aws::GreengrassV2
161
163
  ListInstalledComponentsResponse = Shapes::StructureShape.new(name: 'ListInstalledComponentsResponse')
162
164
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
163
165
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
166
+ Memory = Shapes::IntegerShape.new(name: 'Memory')
164
167
  NextTokenString = Shapes::StringShape.new(name: 'NextTokenString')
165
168
  NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
166
169
  NullableString = Shapes::StringShape.new(name: 'NullableString')
@@ -171,6 +174,7 @@ module Aws::GreengrassV2
171
174
  Reason = Shapes::StringShape.new(name: 'Reason')
172
175
  RecipeBlob = Shapes::BlobShape.new(name: 'RecipeBlob')
173
176
  RecipeOutputFormat = Shapes::StringShape.new(name: 'RecipeOutputFormat')
177
+ RequestAlreadyInProgressException = Shapes::StructureShape.new(name: 'RequestAlreadyInProgressException')
174
178
  ResolveComponentCandidatesRequest = Shapes::StructureShape.new(name: 'ResolveComponentCandidatesRequest')
175
179
  ResolveComponentCandidatesResponse = Shapes::StructureShape.new(name: 'ResolveComponentCandidatesResponse')
176
180
  ResolvedComponentVersion = Shapes::StructureShape.new(name: 'ResolvedComponentVersion')
@@ -180,6 +184,7 @@ module Aws::GreengrassV2
180
184
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
181
185
  String = Shapes::StringShape.new(name: 'String')
182
186
  StringMap = Shapes::MapShape.new(name: 'StringMap')
187
+ SystemResourceLimits = Shapes::StructureShape.new(name: 'SystemResourceLimits')
183
188
  TagKey = Shapes::StringShape.new(name: 'TagKey')
184
189
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
185
190
  TagMap = Shapes::MapShape.new(name: 'TagMap')
@@ -294,6 +299,7 @@ module Aws::GreengrassV2
294
299
  ComponentPlatformList.member = Shapes::ShapeRef.new(shape: ComponentPlatform)
295
300
 
296
301
  ComponentRunWith.add_member(:posix_user, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "posixUser"))
302
+ ComponentRunWith.add_member(:system_resource_limits, Shapes::ShapeRef.new(shape: SystemResourceLimits, location_name: "systemResourceLimits"))
297
303
  ComponentRunWith.struct_class = Types::ComponentRunWith
298
304
 
299
305
  ComponentVersionList.member = Shapes::ShapeRef.new(shape: ComponentVersionListItem)
@@ -321,6 +327,7 @@ module Aws::GreengrassV2
321
327
  CreateComponentVersionRequest.add_member(:inline_recipe, Shapes::ShapeRef.new(shape: RecipeBlob, location_name: "inlineRecipe"))
322
328
  CreateComponentVersionRequest.add_member(:lambda_function, Shapes::ShapeRef.new(shape: LambdaFunctionRecipeSource, location_name: "lambdaFunction"))
323
329
  CreateComponentVersionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
330
+ CreateComponentVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenString, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
324
331
  CreateComponentVersionRequest.struct_class = Types::CreateComponentVersionRequest
325
332
 
326
333
  CreateComponentVersionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ComponentVersionARN, location_name: "arn"))
@@ -336,6 +343,7 @@ module Aws::GreengrassV2
336
343
  CreateDeploymentRequest.add_member(:iot_job_configuration, Shapes::ShapeRef.new(shape: DeploymentIoTJobConfiguration, location_name: "iotJobConfiguration"))
337
344
  CreateDeploymentRequest.add_member(:deployment_policies, Shapes::ShapeRef.new(shape: DeploymentPolicies, location_name: "deploymentPolicies"))
338
345
  CreateDeploymentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
346
+ CreateDeploymentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenString, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
339
347
  CreateDeploymentRequest.struct_class = Types::CreateDeploymentRequest
340
348
 
341
349
  CreateDeploymentResponse.add_member(:deployment_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "deploymentId"))
@@ -634,6 +642,9 @@ module Aws::GreengrassV2
634
642
  PlatformAttributesMap.key = Shapes::ShapeRef.new(shape: NonEmptyString)
635
643
  PlatformAttributesMap.value = Shapes::ShapeRef.new(shape: NonEmptyString)
636
644
 
645
+ RequestAlreadyInProgressException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
646
+ RequestAlreadyInProgressException.struct_class = Types::RequestAlreadyInProgressException
647
+
637
648
  ResolveComponentCandidatesRequest.add_member(:platform, Shapes::ShapeRef.new(shape: ComponentPlatform, required: true, location_name: "platform"))
638
649
  ResolveComponentCandidatesRequest.add_member(:component_candidates, Shapes::ShapeRef.new(shape: ComponentCandidateList, required: true, location_name: "componentCandidates"))
639
650
  ResolveComponentCandidatesRequest.struct_class = Types::ResolveComponentCandidatesRequest
@@ -664,6 +675,10 @@ module Aws::GreengrassV2
664
675
  StringMap.key = Shapes::ShapeRef.new(shape: NonEmptyString)
665
676
  StringMap.value = Shapes::ShapeRef.new(shape: NonEmptyString)
666
677
 
678
+ SystemResourceLimits.add_member(:memory, Shapes::ShapeRef.new(shape: Memory, location_name: "memory"))
679
+ SystemResourceLimits.add_member(:cpus, Shapes::ShapeRef.new(shape: CPU, location_name: "cpus"))
680
+ SystemResourceLimits.struct_class = Types::SystemResourceLimits
681
+
667
682
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
668
683
 
669
684
  TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
@@ -768,6 +783,7 @@ module Aws::GreengrassV2
768
783
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
769
784
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
770
785
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
786
+ o.errors << Shapes::ShapeRef.new(shape: RequestAlreadyInProgressException)
771
787
  end)
772
788
 
773
789
  api.add_operation(:create_deployment, Seahorse::Model::Operation.new.tap do |o|
@@ -781,6 +797,7 @@ module Aws::GreengrassV2
781
797
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
782
798
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
783
799
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
800
+ o.errors << Shapes::ShapeRef.new(shape: RequestAlreadyInProgressException)
784
801
  end)
785
802
 
786
803
  api.add_operation(:delete_component, Seahorse::Model::Operation.new.tap do |o|
@@ -30,6 +30,7 @@ module Aws::GreengrassV2
30
30
  # * {AccessDeniedException}
31
31
  # * {ConflictException}
32
32
  # * {InternalServerException}
33
+ # * {RequestAlreadyInProgressException}
33
34
  # * {ResourceNotFoundException}
34
35
  # * {ServiceQuotaExceededException}
35
36
  # * {ThrottlingException}
@@ -101,6 +102,21 @@ module Aws::GreengrassV2
101
102
  end
102
103
  end
103
104
 
105
+ class RequestAlreadyInProgressException < ServiceError
106
+
107
+ # @param [Seahorse::Client::RequestContext] context
108
+ # @param [String] message
109
+ # @param [Aws::GreengrassV2::Types::RequestAlreadyInProgressException] data
110
+ def initialize(context, message, data = Aws::EmptyStructure.new)
111
+ super(context, message, data)
112
+ end
113
+
114
+ # @return [String]
115
+ def message
116
+ @message || @data[:message]
117
+ end
118
+ end
119
+
104
120
  class ResourceNotFoundException < ServiceError
105
121
 
106
122
  # @param [Seahorse::Client::RequestContext] context