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 +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-greengrassv2/client.rb +117 -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
- data/lib/aws-sdk-greengrassv2.rb +1 -1
- metadata +5 -5
@@ -39,7 +39,7 @@ module Aws::GreengrassV2
|
|
39
39
|
# }
|
40
40
|
#
|
41
41
|
# @!attribute [rw] thing_name
|
42
|
-
# The name of the
|
42
|
+
# The name of the IoT thing that represents the client device to
|
43
43
|
# associate.
|
44
44
|
# @return [String]
|
45
45
|
#
|
@@ -61,7 +61,7 @@ module Aws::GreengrassV2
|
|
61
61
|
# [1]: https://docs.aws.amazon.com/greengrass/v2/APIReference/API_BatchAssociateClientDeviceWithCoreDevice.html
|
62
62
|
#
|
63
63
|
# @!attribute [rw] thing_name
|
64
|
-
# The name of the
|
64
|
+
# The name of the IoT thing whose associate request failed.
|
65
65
|
# @return [String]
|
66
66
|
#
|
67
67
|
# @!attribute [rw] code
|
@@ -86,7 +86,7 @@ module Aws::GreengrassV2
|
|
86
86
|
# core device for cloud discovery.
|
87
87
|
#
|
88
88
|
# @!attribute [rw] thing_name
|
89
|
-
# The name of the
|
89
|
+
# The name of the IoT thing that represents the associated client
|
90
90
|
# device.
|
91
91
|
# @return [String]
|
92
92
|
#
|
@@ -121,8 +121,7 @@ module Aws::GreengrassV2
|
|
121
121
|
# @return [Array<Types::AssociateClientDeviceWithCoreDeviceEntry>]
|
122
122
|
#
|
123
123
|
# @!attribute [rw] core_device_thing_name
|
124
|
-
# The name of the core device. This is also the name of the
|
125
|
-
# thing.
|
124
|
+
# The name of the core device. This is also the name of the IoT thing.
|
126
125
|
# @return [String]
|
127
126
|
#
|
128
127
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/BatchAssociateClientDeviceWithCoreDeviceRequest AWS API Documentation
|
@@ -136,8 +135,7 @@ module Aws::GreengrassV2
|
|
136
135
|
|
137
136
|
# @!attribute [rw] error_entries
|
138
137
|
# The list of any errors for the entries in the request. Each error
|
139
|
-
# entry contains the name of the
|
140
|
-
# associate.
|
138
|
+
# entry contains the name of the IoT thing that failed to associate.
|
141
139
|
# @return [Array<Types::AssociateClientDeviceWithCoreDeviceErrorEntry>]
|
142
140
|
#
|
143
141
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/BatchAssociateClientDeviceWithCoreDeviceResponse AWS API Documentation
|
@@ -165,8 +163,7 @@ module Aws::GreengrassV2
|
|
165
163
|
# @return [Array<Types::DisassociateClientDeviceFromCoreDeviceEntry>]
|
166
164
|
#
|
167
165
|
# @!attribute [rw] core_device_thing_name
|
168
|
-
# The name of the core device. This is also the name of the
|
169
|
-
# thing.
|
166
|
+
# The name of the core device. This is also the name of the IoT thing.
|
170
167
|
# @return [String]
|
171
168
|
#
|
172
169
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/BatchDisassociateClientDeviceFromCoreDeviceRequest AWS API Documentation
|
@@ -180,7 +177,7 @@ module Aws::GreengrassV2
|
|
180
177
|
|
181
178
|
# @!attribute [rw] error_entries
|
182
179
|
# The list of errors (if any) for the entries in the request. Each
|
183
|
-
# error entry contains the name of the
|
180
|
+
# error entry contains the name of the IoT thing that failed to
|
184
181
|
# disassociate.
|
185
182
|
# @return [Array<Types::DisassociateClientDeviceFromCoreDeviceErrorEntry>]
|
186
183
|
#
|
@@ -223,7 +220,7 @@ module Aws::GreengrassV2
|
|
223
220
|
include Aws::Structure
|
224
221
|
end
|
225
222
|
|
226
|
-
# Contains the status of a component in the
|
223
|
+
# Contains the status of a component in the IoT Greengrass service.
|
227
224
|
#
|
228
225
|
# @!attribute [rw] component_state
|
229
226
|
# The state of the component.
|
@@ -236,7 +233,7 @@ module Aws::GreengrassV2
|
|
236
233
|
#
|
237
234
|
# @!attribute [rw] errors
|
238
235
|
# A dictionary of errors that communicate why the component is in an
|
239
|
-
# error state. For example, if
|
236
|
+
# error state. For example, if IoT Greengrass can't access an
|
240
237
|
# artifact for the component, then `errors` contains the artifact's
|
241
238
|
# URI as a key, and the error message as the value for that key.
|
242
239
|
# @return [Hash<String,String>]
|
@@ -280,7 +277,7 @@ module Aws::GreengrassV2
|
|
280
277
|
end
|
281
278
|
|
282
279
|
# Contains information about a component that is a candidate to deploy
|
283
|
-
# to a
|
280
|
+
# to a Greengrass core device.
|
284
281
|
#
|
285
282
|
# @note When making an API call, you may pass ComponentCandidate
|
286
283
|
# data as a hash:
|
@@ -302,11 +299,11 @@ module Aws::GreengrassV2
|
|
302
299
|
# @return [String]
|
303
300
|
#
|
304
301
|
# @!attribute [rw] version_requirements
|
305
|
-
# The version requirements for the component's dependencies.
|
302
|
+
# The version requirements for the component's dependencies.
|
306
303
|
# Greengrass core devices get the version requirements from component
|
307
304
|
# recipes.
|
308
305
|
#
|
309
|
-
#
|
306
|
+
# IoT Greengrass V2 uses semantic version constraints. For more
|
310
307
|
# information, see [Semantic Versioning][1].
|
311
308
|
#
|
312
309
|
#
|
@@ -326,7 +323,7 @@ module Aws::GreengrassV2
|
|
326
323
|
|
327
324
|
# Contains information about a deployment's update to a component's
|
328
325
|
# configuration on Greengrass core devices. For more information, see
|
329
|
-
# [Update component configurations][1] in the *
|
326
|
+
# [Update component configurations][1] in the *IoT Greengrass V2
|
330
327
|
# Developer Guide*.
|
331
328
|
#
|
332
329
|
#
|
@@ -349,7 +346,7 @@ module Aws::GreengrassV2
|
|
349
346
|
# configuration with the component's default configuration. This
|
350
347
|
# means that the core device keeps it's existing configuration for
|
351
348
|
# keys and values that you don't specify in this object. For more
|
352
|
-
# information, see [Merge configuration updates][1] in the *
|
349
|
+
# information, see [Merge configuration updates][1] in the *IoT
|
353
350
|
# Greengrass V2 Developer Guide*.
|
354
351
|
#
|
355
352
|
#
|
@@ -363,7 +360,7 @@ module Aws::GreengrassV2
|
|
363
360
|
# pointers start with a forward slash (`/`) and use forward slashes to
|
364
361
|
# separate the key for each level in the object. For more information,
|
365
362
|
# see the [JSON pointer specification][1] and [Reset configuration
|
366
|
-
# updates][2] in the *
|
363
|
+
# updates][2] in the *IoT Greengrass V2 Developer Guide*.
|
367
364
|
#
|
368
365
|
#
|
369
366
|
#
|
@@ -394,7 +391,7 @@ module Aws::GreengrassV2
|
|
394
391
|
# @!attribute [rw] version_requirement
|
395
392
|
# The component version requirement for the component dependency.
|
396
393
|
#
|
397
|
-
#
|
394
|
+
# IoT Greengrass V2 uses semantic version constraints. For more
|
398
395
|
# information, see [Semantic Versioning][1].
|
399
396
|
#
|
400
397
|
#
|
@@ -435,6 +432,10 @@ module Aws::GreengrassV2
|
|
435
432
|
# },
|
436
433
|
# run_with: {
|
437
434
|
# posix_user: "NonEmptyString",
|
435
|
+
# system_resource_limits: {
|
436
|
+
# memory: 1,
|
437
|
+
# cpus: 1.0,
|
438
|
+
# },
|
438
439
|
# },
|
439
440
|
# }
|
440
441
|
#
|
@@ -447,10 +448,10 @@ module Aws::GreengrassV2
|
|
447
448
|
# define *reset* updates and *merge* updates. A reset updates the keys
|
448
449
|
# that you specify to the default configuration for the component. A
|
449
450
|
# merge updates the core device's component configuration with the
|
450
|
-
# keys and values that you specify. The
|
451
|
-
#
|
452
|
-
#
|
453
|
-
#
|
451
|
+
# keys and values that you specify. The IoT Greengrass Core software
|
452
|
+
# applies reset updates before it applies merge updates. For more
|
453
|
+
# information, see [Update component configurations][1] in the *IoT
|
454
|
+
# Greengrass V2 Developer Guide*.
|
454
455
|
#
|
455
456
|
#
|
456
457
|
#
|
@@ -458,12 +459,12 @@ module Aws::GreengrassV2
|
|
458
459
|
# @return [Types::ComponentConfigurationUpdate]
|
459
460
|
#
|
460
461
|
# @!attribute [rw] run_with
|
461
|
-
# The system user and group that the
|
462
|
-
#
|
463
|
-
# parameter, the
|
464
|
-
#
|
465
|
-
#
|
466
|
-
#
|
462
|
+
# The system user and group that the IoT Greengrass Core software uses
|
463
|
+
# to run component processes on the core device. If you omit this
|
464
|
+
# parameter, the IoT Greengrass Core software uses the system user and
|
465
|
+
# group that you configure for the core device. For more information,
|
466
|
+
# see [Configure the user and group that run components][1] in the
|
467
|
+
# *IoT Greengrass V2 Developer Guide*.
|
467
468
|
#
|
468
469
|
#
|
469
470
|
#
|
@@ -540,17 +541,17 @@ module Aws::GreengrassV2
|
|
540
541
|
# The friendly name of the platform. This name helps you identify the
|
541
542
|
# platform.
|
542
543
|
#
|
543
|
-
# If you omit this parameter,
|
544
|
-
#
|
544
|
+
# If you omit this parameter, IoT Greengrass creates a friendly name
|
545
|
+
# from the `os` and `architecture` of the platform.
|
545
546
|
# @return [String]
|
546
547
|
#
|
547
548
|
# @!attribute [rw] attributes
|
548
|
-
# A dictionary of attributes for the platform. The
|
549
|
-
#
|
550
|
-
#
|
551
|
-
#
|
552
|
-
#
|
553
|
-
#
|
549
|
+
# A dictionary of attributes for the platform. The IoT Greengrass Core
|
550
|
+
# software defines the `os` and `platform` by default. You can specify
|
551
|
+
# additional platform attributes for a core device when you deploy the
|
552
|
+
# Greengrass nucleus component. For more information, see the
|
553
|
+
# [Greengrass nucleus component][1] in the *IoT Greengrass V2
|
554
|
+
# Developer Guide*.
|
554
555
|
#
|
555
556
|
#
|
556
557
|
#
|
@@ -566,10 +567,10 @@ module Aws::GreengrassV2
|
|
566
567
|
include Aws::Structure
|
567
568
|
end
|
568
569
|
|
569
|
-
# Contains information system user and group that the
|
570
|
+
# Contains information system user and group that the IoT Greengrass
|
570
571
|
# Core software uses to run component processes on the core device. For
|
571
572
|
# more information, see [Configure the user and group that run
|
572
|
-
# components][1] in the *
|
573
|
+
# components][1] in the *IoT Greengrass V2 Developer Guide*.
|
573
574
|
#
|
574
575
|
#
|
575
576
|
#
|
@@ -580,20 +581,48 @@ module Aws::GreengrassV2
|
|
580
581
|
#
|
581
582
|
# {
|
582
583
|
# posix_user: "NonEmptyString",
|
584
|
+
# system_resource_limits: {
|
585
|
+
# memory: 1,
|
586
|
+
# cpus: 1.0,
|
587
|
+
# },
|
583
588
|
# }
|
584
589
|
#
|
585
590
|
# @!attribute [rw] posix_user
|
586
591
|
# The POSIX system user and (optional) group to use to run this
|
587
592
|
# component. Specify the user and group separated by a colon (`:`) in
|
588
593
|
# the following format: `user:group`. The group is optional. If you
|
589
|
-
# don't specify a group, the
|
590
|
-
#
|
594
|
+
# don't specify a group, the IoT Greengrass Core software uses the
|
595
|
+
# primary user for the group.
|
596
|
+
#
|
597
|
+
# If you omit this parameter, the IoT Greengrass Core software uses
|
598
|
+
# the default system user and group that you configure on the
|
599
|
+
# Greengrass nucleus component. For more information, see [Configure
|
600
|
+
# the user and group that run components][1].
|
601
|
+
#
|
602
|
+
#
|
603
|
+
#
|
604
|
+
# [1]: https://docs.aws.amazon.com/greengrass/v2/developerguide/configure-greengrass-core-v2.html#configure-component-user
|
591
605
|
# @return [String]
|
592
606
|
#
|
607
|
+
# @!attribute [rw] system_resource_limits
|
608
|
+
# The system resource limits to apply to this component's process on
|
609
|
+
# the core device.
|
610
|
+
#
|
611
|
+
# If you omit this parameter, the IoT Greengrass Core software uses
|
612
|
+
# the default system resource limits that you configure on the
|
613
|
+
# Greengrass nucleus component. For more information, see [Configure
|
614
|
+
# system resource limits for components][1].
|
615
|
+
#
|
616
|
+
#
|
617
|
+
#
|
618
|
+
# [1]: https://docs.aws.amazon.com/greengrass/v2/developerguide/configure-greengrass-core-v2.html#configure-component-system-resource-limits
|
619
|
+
# @return [Types::SystemResourceLimits]
|
620
|
+
#
|
593
621
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ComponentRunWith AWS API Documentation
|
594
622
|
#
|
595
623
|
class ComponentRunWith < Struct.new(
|
596
|
-
:posix_user
|
624
|
+
:posix_user,
|
625
|
+
:system_resource_limits)
|
597
626
|
SENSITIVE = []
|
598
627
|
include Aws::Structure
|
599
628
|
end
|
@@ -651,23 +680,22 @@ module Aws::GreengrassV2
|
|
651
680
|
include Aws::Structure
|
652
681
|
end
|
653
682
|
|
654
|
-
# Contains information about a
|
655
|
-
#
|
683
|
+
# Contains information about a Greengrass core device, which is an IoT
|
684
|
+
# thing that runs the IoT Greengrass Core software.
|
656
685
|
#
|
657
686
|
# @!attribute [rw] core_device_thing_name
|
658
|
-
# The name of the core device. This is also the name of the
|
659
|
-
# thing.
|
687
|
+
# The name of the core device. This is also the name of the IoT thing.
|
660
688
|
# @return [String]
|
661
689
|
#
|
662
690
|
# @!attribute [rw] status
|
663
691
|
# The status of the core device. Core devices can have the following
|
664
692
|
# statuses:
|
665
693
|
#
|
666
|
-
# * `HEALTHY` – The
|
667
|
-
#
|
694
|
+
# * `HEALTHY` – The IoT Greengrass Core software and all components
|
695
|
+
# run on the core device without issue.
|
668
696
|
#
|
669
|
-
# * `UNHEALTHY` – The
|
670
|
-
#
|
697
|
+
# * `UNHEALTHY` – The IoT Greengrass Core software or a component is
|
698
|
+
# in a failed state on the core device.
|
671
699
|
# @return [String]
|
672
700
|
#
|
673
701
|
# @!attribute [rw] last_status_update_timestamp
|
@@ -753,6 +781,7 @@ module Aws::GreengrassV2
|
|
753
781
|
# tags: {
|
754
782
|
# "TagKey" => "TagValue",
|
755
783
|
# },
|
784
|
+
# client_token: "ClientTokenString",
|
756
785
|
# }
|
757
786
|
#
|
758
787
|
# @!attribute [rw] inline_recipe
|
@@ -771,7 +800,7 @@ module Aws::GreengrassV2
|
|
771
800
|
#
|
772
801
|
# @!attribute [rw] tags
|
773
802
|
# A list of key-value pairs that contain metadata for the resource.
|
774
|
-
# For more information, see [Tag your resources][1] in the *
|
803
|
+
# For more information, see [Tag your resources][1] in the *IoT
|
775
804
|
# Greengrass V2 Developer Guide*.
|
776
805
|
#
|
777
806
|
#
|
@@ -779,12 +808,27 @@ module Aws::GreengrassV2
|
|
779
808
|
# [1]: https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html
|
780
809
|
# @return [Hash<String,String>]
|
781
810
|
#
|
811
|
+
# @!attribute [rw] client_token
|
812
|
+
# A unique, case-sensitive identifier that you can provide to ensure
|
813
|
+
# that the request is idempotent. Idempotency means that the request
|
814
|
+
# is successfully processed only once, even if you send the request
|
815
|
+
# multiple times. When a request succeeds, and you specify the same
|
816
|
+
# client token for subsequent successful requests, the IoT Greengrass
|
817
|
+
# V2 service returns the successful response that it caches from the
|
818
|
+
# previous request. IoT Greengrass V2 caches successful responses for
|
819
|
+
# idempotent requests for up to 8 hours.
|
820
|
+
#
|
821
|
+
# **A suitable default value is auto-generated.** You should normally
|
822
|
+
# not need to pass this option.
|
823
|
+
# @return [String]
|
824
|
+
#
|
782
825
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/CreateComponentVersionRequest AWS API Documentation
|
783
826
|
#
|
784
827
|
class CreateComponentVersionRequest < Struct.new(
|
785
828
|
:inline_recipe,
|
786
829
|
:lambda_function,
|
787
|
-
:tags
|
830
|
+
:tags,
|
831
|
+
:client_token)
|
788
832
|
SENSITIVE = []
|
789
833
|
include Aws::Structure
|
790
834
|
end
|
@@ -811,7 +855,7 @@ module Aws::GreengrassV2
|
|
811
855
|
# @return [Time]
|
812
856
|
#
|
813
857
|
# @!attribute [rw] status
|
814
|
-
# The status of the component version in
|
858
|
+
# The status of the component version in IoT Greengrass V2. This
|
815
859
|
# status is different from the status of the component on a core
|
816
860
|
# device.
|
817
861
|
# @return [Types::CloudComponentStatus]
|
@@ -843,6 +887,10 @@ module Aws::GreengrassV2
|
|
843
887
|
# },
|
844
888
|
# run_with: {
|
845
889
|
# posix_user: "NonEmptyString",
|
890
|
+
# system_resource_limits: {
|
891
|
+
# memory: 1,
|
892
|
+
# cpus: 1.0,
|
893
|
+
# },
|
846
894
|
# },
|
847
895
|
# },
|
848
896
|
# },
|
@@ -885,10 +933,11 @@ module Aws::GreengrassV2
|
|
885
933
|
# tags: {
|
886
934
|
# "TagKey" => "TagValue",
|
887
935
|
# },
|
936
|
+
# client_token: "ClientTokenString",
|
888
937
|
# }
|
889
938
|
#
|
890
939
|
# @!attribute [rw] target_arn
|
891
|
-
# The [ARN][1] of the target
|
940
|
+
# The [ARN][1] of the target IoT thing or thing group.
|
892
941
|
#
|
893
942
|
#
|
894
943
|
#
|
@@ -897,11 +946,6 @@ module Aws::GreengrassV2
|
|
897
946
|
#
|
898
947
|
# @!attribute [rw] deployment_name
|
899
948
|
# The name of the deployment.
|
900
|
-
#
|
901
|
-
# You can create deployments without names. If you create a deployment
|
902
|
-
# without a name, the AWS IoT Greengrass V2 console shows the
|
903
|
-
# deployment name as `<targetType>:<targetName>`, where `targetType`
|
904
|
-
# and `targetName` are the type and name of the deployment target.
|
905
949
|
# @return [String]
|
906
950
|
#
|
907
951
|
# @!attribute [rw] components
|
@@ -923,7 +967,7 @@ module Aws::GreengrassV2
|
|
923
967
|
#
|
924
968
|
# @!attribute [rw] tags
|
925
969
|
# A list of key-value pairs that contain metadata for the resource.
|
926
|
-
# For more information, see [Tag your resources][1] in the *
|
970
|
+
# For more information, see [Tag your resources][1] in the *IoT
|
927
971
|
# Greengrass V2 Developer Guide*.
|
928
972
|
#
|
929
973
|
#
|
@@ -931,6 +975,20 @@ module Aws::GreengrassV2
|
|
931
975
|
# [1]: https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html
|
932
976
|
# @return [Hash<String,String>]
|
933
977
|
#
|
978
|
+
# @!attribute [rw] client_token
|
979
|
+
# A unique, case-sensitive identifier that you can provide to ensure
|
980
|
+
# that the request is idempotent. Idempotency means that the request
|
981
|
+
# is successfully processed only once, even if you send the request
|
982
|
+
# multiple times. When a request succeeds, and you specify the same
|
983
|
+
# client token for subsequent successful requests, the IoT Greengrass
|
984
|
+
# V2 service returns the successful response that it caches from the
|
985
|
+
# previous request. IoT Greengrass V2 caches successful responses for
|
986
|
+
# idempotent requests for up to 8 hours.
|
987
|
+
#
|
988
|
+
# **A suitable default value is auto-generated.** You should normally
|
989
|
+
# not need to pass this option.
|
990
|
+
# @return [String]
|
991
|
+
#
|
934
992
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/CreateDeploymentRequest AWS API Documentation
|
935
993
|
#
|
936
994
|
class CreateDeploymentRequest < Struct.new(
|
@@ -939,7 +997,8 @@ module Aws::GreengrassV2
|
|
939
997
|
:components,
|
940
998
|
:iot_job_configuration,
|
941
999
|
:deployment_policies,
|
942
|
-
:tags
|
1000
|
+
:tags,
|
1001
|
+
:client_token)
|
943
1002
|
SENSITIVE = []
|
944
1003
|
include Aws::Structure
|
945
1004
|
end
|
@@ -949,13 +1008,12 @@ module Aws::GreengrassV2
|
|
949
1008
|
# @return [String]
|
950
1009
|
#
|
951
1010
|
# @!attribute [rw] iot_job_id
|
952
|
-
# The ID of the
|
953
|
-
# devices.
|
1011
|
+
# The ID of the IoT job that applies the deployment to target devices.
|
954
1012
|
# @return [String]
|
955
1013
|
#
|
956
1014
|
# @!attribute [rw] iot_job_arn
|
957
|
-
# The [ARN][1] of the
|
958
|
-
#
|
1015
|
+
# The [ARN][1] of the IoT job that applies the deployment to target
|
1016
|
+
# devices.
|
959
1017
|
#
|
960
1018
|
#
|
961
1019
|
#
|
@@ -1003,8 +1061,7 @@ module Aws::GreengrassV2
|
|
1003
1061
|
# }
|
1004
1062
|
#
|
1005
1063
|
# @!attribute [rw] core_device_thing_name
|
1006
|
-
# The name of the core device. This is also the name of the
|
1007
|
-
# thing.
|
1064
|
+
# The name of the core device. This is also the name of the IoT thing.
|
1008
1065
|
# @return [String]
|
1009
1066
|
#
|
1010
1067
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/DeleteCoreDeviceRequest AWS API Documentation
|
@@ -1018,7 +1075,7 @@ module Aws::GreengrassV2
|
|
1018
1075
|
# Contains information about a deployment.
|
1019
1076
|
#
|
1020
1077
|
# @!attribute [rw] target_arn
|
1021
|
-
# The [ARN][1] of the target
|
1078
|
+
# The [ARN][1] of the target IoT thing or thing group.
|
1022
1079
|
#
|
1023
1080
|
#
|
1024
1081
|
#
|
@@ -1035,11 +1092,6 @@ module Aws::GreengrassV2
|
|
1035
1092
|
#
|
1036
1093
|
# @!attribute [rw] deployment_name
|
1037
1094
|
# The name of the deployment.
|
1038
|
-
#
|
1039
|
-
# You can create deployments without names. If you create a deployment
|
1040
|
-
# without a name, the AWS IoT Greengrass V2 console shows the
|
1041
|
-
# deployment name as `<targetType>:<targetName>`, where `targetType`
|
1042
|
-
# and `targetName` are the type and name of the deployment target.
|
1043
1095
|
# @return [String]
|
1044
1096
|
#
|
1045
1097
|
# @!attribute [rw] creation_timestamp
|
@@ -1104,7 +1156,7 @@ module Aws::GreengrassV2
|
|
1104
1156
|
# [SubscribeToComponentUpdates][1] IPC operation to receive these
|
1105
1157
|
# notifications. Then, components can respond with the
|
1106
1158
|
# [DeferComponentUpdate][2] IPC operation. For more information, see
|
1107
|
-
# [Create deployments][3] in the *
|
1159
|
+
# [Create deployments][3] in the *IoT Greengrass V2 Developer
|
1108
1160
|
# Guide*.
|
1109
1161
|
#
|
1110
1162
|
# * `SKIP_NOTIFY_COMPONENTS` – The deployment doesn't notify
|
@@ -1134,7 +1186,7 @@ module Aws::GreengrassV2
|
|
1134
1186
|
# receive notifications when a deployment specifies a configuration
|
1135
1187
|
# update. Then, components can respond with the
|
1136
1188
|
# [SendConfigurationValidityReport][2] IPC operation. For more
|
1137
|
-
# information, see [Create deployments][3] in the *
|
1189
|
+
# information, see [Create deployments][3] in the *IoT Greengrass V2
|
1138
1190
|
# Developer Guide*.
|
1139
1191
|
#
|
1140
1192
|
#
|
@@ -1166,7 +1218,7 @@ module Aws::GreengrassV2
|
|
1166
1218
|
include Aws::Structure
|
1167
1219
|
end
|
1168
1220
|
|
1169
|
-
# Contains information about an
|
1221
|
+
# Contains information about an IoT job configuration.
|
1170
1222
|
#
|
1171
1223
|
# @note When making an API call, you may pass DeploymentIoTJobConfiguration
|
1172
1224
|
# data as a hash:
|
@@ -1322,7 +1374,7 @@ module Aws::GreengrassV2
|
|
1322
1374
|
# @return [String]
|
1323
1375
|
#
|
1324
1376
|
# @!attribute [rw] status
|
1325
|
-
# The status of the component version in
|
1377
|
+
# The status of the component version in IoT Greengrass V2. This
|
1326
1378
|
# status is different from the status of the component on a core
|
1327
1379
|
# device.
|
1328
1380
|
# @return [Types::CloudComponentStatus]
|
@@ -1333,7 +1385,7 @@ module Aws::GreengrassV2
|
|
1333
1385
|
#
|
1334
1386
|
# @!attribute [rw] tags
|
1335
1387
|
# A list of key-value pairs that contain metadata for the resource.
|
1336
|
-
# For more information, see [Tag your resources][1] in the *
|
1388
|
+
# For more information, see [Tag your resources][1] in the *IoT
|
1337
1389
|
# Greengrass V2 Developer Guide*.
|
1338
1390
|
#
|
1339
1391
|
#
|
@@ -1373,7 +1425,7 @@ module Aws::GreengrassV2
|
|
1373
1425
|
# }
|
1374
1426
|
#
|
1375
1427
|
# @!attribute [rw] thing_name
|
1376
|
-
# The name of the
|
1428
|
+
# The name of the IoT thing that represents the client device to
|
1377
1429
|
# disassociate.
|
1378
1430
|
# @return [String]
|
1379
1431
|
#
|
@@ -1395,7 +1447,7 @@ module Aws::GreengrassV2
|
|
1395
1447
|
# [1]: https://docs.aws.amazon.com/greengrass/v2/APIReference/API_BatchDisassociateClientDeviceWithCoreDevice.html
|
1396
1448
|
#
|
1397
1449
|
# @!attribute [rw] thing_name
|
1398
|
-
# The name of the
|
1450
|
+
# The name of the IoT thing whose disassociate request failed.
|
1399
1451
|
# @return [String]
|
1400
1452
|
#
|
1401
1453
|
# @!attribute [rw] code
|
@@ -1416,8 +1468,8 @@ module Aws::GreengrassV2
|
|
1416
1468
|
include Aws::Structure
|
1417
1469
|
end
|
1418
1470
|
|
1419
|
-
# Contains information about a deployment job that
|
1420
|
-
#
|
1471
|
+
# Contains information about a deployment job that IoT Greengrass sends
|
1472
|
+
# to a Greengrass core device.
|
1421
1473
|
#
|
1422
1474
|
# @!attribute [rw] deployment_id
|
1423
1475
|
# The ID of the deployment.
|
@@ -1425,21 +1477,15 @@ module Aws::GreengrassV2
|
|
1425
1477
|
#
|
1426
1478
|
# @!attribute [rw] deployment_name
|
1427
1479
|
# The name of the deployment.
|
1428
|
-
#
|
1429
|
-
# You can create deployments without names. If you create a deployment
|
1430
|
-
# without a name, the AWS IoT Greengrass V2 console shows the
|
1431
|
-
# deployment name as `<targetType>:<targetName>`, where `targetType`
|
1432
|
-
# and `targetName` are the type and name of the deployment target.
|
1433
1480
|
# @return [String]
|
1434
1481
|
#
|
1435
1482
|
# @!attribute [rw] iot_job_id
|
1436
|
-
# The ID of the
|
1437
|
-
# devices.
|
1483
|
+
# The ID of the IoT job that applies the deployment to target devices.
|
1438
1484
|
# @return [String]
|
1439
1485
|
#
|
1440
1486
|
# @!attribute [rw] iot_job_arn
|
1441
|
-
# The [ARN][1] of the
|
1442
|
-
#
|
1487
|
+
# The [ARN][1] of the IoT job that applies the deployment to target
|
1488
|
+
# devices.
|
1443
1489
|
#
|
1444
1490
|
#
|
1445
1491
|
#
|
@@ -1451,7 +1497,7 @@ module Aws::GreengrassV2
|
|
1451
1497
|
# @return [String]
|
1452
1498
|
#
|
1453
1499
|
# @!attribute [rw] target_arn
|
1454
|
-
# The [ARN][1] of the target
|
1500
|
+
# The [ARN][1] of the target IoT thing or thing group.
|
1455
1501
|
#
|
1456
1502
|
#
|
1457
1503
|
#
|
@@ -1459,8 +1505,7 @@ module Aws::GreengrassV2
|
|
1459
1505
|
# @return [String]
|
1460
1506
|
#
|
1461
1507
|
# @!attribute [rw] core_device_execution_status
|
1462
|
-
# The status of the deployment job on the
|
1463
|
-
# device.
|
1508
|
+
# The status of the deployment job on the Greengrass core device.
|
1464
1509
|
# @return [String]
|
1465
1510
|
#
|
1466
1511
|
# @!attribute [rw] reason
|
@@ -1533,7 +1578,7 @@ module Aws::GreengrassV2
|
|
1533
1578
|
#
|
1534
1579
|
# @!attribute [rw] tags
|
1535
1580
|
# A list of key-value pairs that contain metadata for the resource.
|
1536
|
-
# For more information, see [Tag your resources][1] in the *
|
1581
|
+
# For more information, see [Tag your resources][1] in the *IoT
|
1537
1582
|
# Greengrass V2 Developer Guide*.
|
1538
1583
|
#
|
1539
1584
|
#
|
@@ -1611,8 +1656,7 @@ module Aws::GreengrassV2
|
|
1611
1656
|
# }
|
1612
1657
|
#
|
1613
1658
|
# @!attribute [rw] core_device_thing_name
|
1614
|
-
# The name of the core device. This is also the name of the
|
1615
|
-
# thing.
|
1659
|
+
# The name of the core device. This is also the name of the IoT thing.
|
1616
1660
|
# @return [String]
|
1617
1661
|
#
|
1618
1662
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/GetCoreDeviceRequest AWS API Documentation
|
@@ -1624,16 +1668,15 @@ module Aws::GreengrassV2
|
|
1624
1668
|
end
|
1625
1669
|
|
1626
1670
|
# @!attribute [rw] core_device_thing_name
|
1627
|
-
# The name of the core device. This is also the name of the
|
1628
|
-
# thing.
|
1671
|
+
# The name of the core device. This is also the name of the IoT thing.
|
1629
1672
|
# @return [String]
|
1630
1673
|
#
|
1631
1674
|
# @!attribute [rw] core_version
|
1632
|
-
# The version of the
|
1633
|
-
#
|
1634
|
-
#
|
1635
|
-
#
|
1636
|
-
#
|
1675
|
+
# The version of the IoT Greengrass Core software that the core device
|
1676
|
+
# runs. This version is equivalent to the version of the Greengrass
|
1677
|
+
# nucleus component that runs on the core device. For more
|
1678
|
+
# information, see the [Greengrass nucleus component][1] in the *IoT
|
1679
|
+
# Greengrass V2 Developer Guide*.
|
1637
1680
|
#
|
1638
1681
|
#
|
1639
1682
|
#
|
@@ -1651,11 +1694,11 @@ module Aws::GreengrassV2
|
|
1651
1694
|
# @!attribute [rw] status
|
1652
1695
|
# The status of the core device. The core device status can be:
|
1653
1696
|
#
|
1654
|
-
# * `HEALTHY` – The
|
1655
|
-
#
|
1697
|
+
# * `HEALTHY` – The IoT Greengrass Core software and all components
|
1698
|
+
# run on the core device without issue.
|
1656
1699
|
#
|
1657
|
-
# * `UNHEALTHY` – The
|
1658
|
-
#
|
1700
|
+
# * `UNHEALTHY` – The IoT Greengrass Core software or a component is
|
1701
|
+
# in a failed state on the core device.
|
1659
1702
|
# @return [String]
|
1660
1703
|
#
|
1661
1704
|
# @!attribute [rw] last_status_update_timestamp
|
@@ -1665,7 +1708,7 @@ module Aws::GreengrassV2
|
|
1665
1708
|
#
|
1666
1709
|
# @!attribute [rw] tags
|
1667
1710
|
# A list of key-value pairs that contain metadata for the resource.
|
1668
|
-
# For more information, see [Tag your resources][1] in the *
|
1711
|
+
# For more information, see [Tag your resources][1] in the *IoT
|
1669
1712
|
# Greengrass V2 Developer Guide*.
|
1670
1713
|
#
|
1671
1714
|
#
|
@@ -1707,7 +1750,7 @@ module Aws::GreengrassV2
|
|
1707
1750
|
end
|
1708
1751
|
|
1709
1752
|
# @!attribute [rw] target_arn
|
1710
|
-
# The [ARN][1] of the target
|
1753
|
+
# The [ARN][1] of the target IoT thing or thing group.
|
1711
1754
|
#
|
1712
1755
|
#
|
1713
1756
|
#
|
@@ -1724,11 +1767,6 @@ module Aws::GreengrassV2
|
|
1724
1767
|
#
|
1725
1768
|
# @!attribute [rw] deployment_name
|
1726
1769
|
# The name of the deployment.
|
1727
|
-
#
|
1728
|
-
# You can create deployments without names. If you create a deployment
|
1729
|
-
# without a name, the AWS IoT Greengrass V2 console shows the
|
1730
|
-
# deployment name as `<targetType>:<targetName>`, where `targetType`
|
1731
|
-
# and `targetName` are the type and name of the deployment target.
|
1732
1770
|
# @return [String]
|
1733
1771
|
#
|
1734
1772
|
# @!attribute [rw] deployment_status
|
@@ -1736,13 +1774,12 @@ module Aws::GreengrassV2
|
|
1736
1774
|
# @return [String]
|
1737
1775
|
#
|
1738
1776
|
# @!attribute [rw] iot_job_id
|
1739
|
-
# The ID of the
|
1740
|
-
# devices.
|
1777
|
+
# The ID of the IoT job that applies the deployment to target devices.
|
1741
1778
|
# @return [String]
|
1742
1779
|
#
|
1743
1780
|
# @!attribute [rw] iot_job_arn
|
1744
|
-
# The [ARN][1] of the
|
1745
|
-
#
|
1781
|
+
# The [ARN][1] of the IoT job that applies the deployment to target
|
1782
|
+
# devices.
|
1746
1783
|
#
|
1747
1784
|
#
|
1748
1785
|
#
|
@@ -1777,7 +1814,7 @@ module Aws::GreengrassV2
|
|
1777
1814
|
#
|
1778
1815
|
# @!attribute [rw] tags
|
1779
1816
|
# A list of key-value pairs that contain metadata for the resource.
|
1780
|
-
# For more information, see [Tag your resources][1] in the *
|
1817
|
+
# For more information, see [Tag your resources][1] in the *IoT
|
1781
1818
|
# Greengrass V2 Developer Guide*.
|
1782
1819
|
#
|
1783
1820
|
#
|
@@ -1805,8 +1842,7 @@ module Aws::GreengrassV2
|
|
1805
1842
|
include Aws::Structure
|
1806
1843
|
end
|
1807
1844
|
|
1808
|
-
# Contains information about a component on a
|
1809
|
-
# device.
|
1845
|
+
# Contains information about a component on a Greengrass core device.
|
1810
1846
|
#
|
1811
1847
|
# @!attribute [rw] component_name
|
1812
1848
|
# The name of the component.
|
@@ -1840,8 +1876,7 @@ module Aws::GreengrassV2
|
|
1840
1876
|
include Aws::Structure
|
1841
1877
|
end
|
1842
1878
|
|
1843
|
-
#
|
1844
|
-
# later.
|
1879
|
+
# IoT Greengrass can't process your request right now. Try again later.
|
1845
1880
|
#
|
1846
1881
|
# @!attribute [rw] message
|
1847
1882
|
# @return [String]
|
@@ -2078,8 +2113,8 @@ module Aws::GreengrassV2
|
|
2078
2113
|
include Aws::Structure
|
2079
2114
|
end
|
2080
2115
|
|
2081
|
-
# Contains information about a container in which
|
2082
|
-
#
|
2116
|
+
# Contains information about a container in which Lambda functions run
|
2117
|
+
# on Greengrass core devices.
|
2083
2118
|
#
|
2084
2119
|
# @note When making an API call, you may pass LambdaContainerParams
|
2085
2120
|
# data as a hash:
|
@@ -2176,8 +2211,8 @@ module Aws::GreengrassV2
|
|
2176
2211
|
include Aws::Structure
|
2177
2212
|
end
|
2178
2213
|
|
2179
|
-
# Contains information about an event source for an
|
2180
|
-
#
|
2214
|
+
# Contains information about an event source for an Lambda function. The
|
2215
|
+
# event source defines the topics on which this Lambda function
|
2181
2216
|
# subscribes to receive messages that run the function.
|
2182
2217
|
#
|
2183
2218
|
# @note When making an API call, you may pass LambdaEventSource
|
@@ -2199,9 +2234,9 @@ module Aws::GreengrassV2
|
|
2199
2234
|
# event source type doesn't support MQTT wildcards (`+` and `#`) in
|
2200
2235
|
# the event source topic.
|
2201
2236
|
#
|
2202
|
-
# * `IOT_CORE` – Subscribe to
|
2203
|
-
# source type supports MQTT wildcards (`+` and
|
2204
|
-
# source topic.
|
2237
|
+
# * `IOT_CORE` – Subscribe to Amazon Web Services IoT Core MQTT
|
2238
|
+
# messages. This event source type supports MQTT wildcards (`+` and
|
2239
|
+
# `#`) in the event source topic.
|
2205
2240
|
# @return [String]
|
2206
2241
|
#
|
2207
2242
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/LambdaEventSource AWS API Documentation
|
@@ -2213,8 +2248,7 @@ module Aws::GreengrassV2
|
|
2213
2248
|
include Aws::Structure
|
2214
2249
|
end
|
2215
2250
|
|
2216
|
-
# Contains parameters for a Lambda function that runs on
|
2217
|
-
# Greengrass.
|
2251
|
+
# Contains parameters for a Lambda function that runs on IoT Greengrass.
|
2218
2252
|
#
|
2219
2253
|
# @note When making an API call, you may pass LambdaExecutionParameters
|
2220
2254
|
# data as a hash:
|
@@ -2265,12 +2299,13 @@ module Aws::GreengrassV2
|
|
2265
2299
|
# The list of event sources to which to subscribe to receive work
|
2266
2300
|
# messages. The Lambda function runs when it receives a message from
|
2267
2301
|
# an event source. You can subscribe this function to local
|
2268
|
-
# publish/subscribe messages and
|
2302
|
+
# publish/subscribe messages and Amazon Web Services IoT Core MQTT
|
2303
|
+
# messages.
|
2269
2304
|
# @return [Array<Types::LambdaEventSource>]
|
2270
2305
|
#
|
2271
2306
|
# @!attribute [rw] max_queue_size
|
2272
2307
|
# The maximum size of the message queue for the Lambda function
|
2273
|
-
# component. The
|
2308
|
+
# component. The IoT Greengrass core stores messages in a FIFO
|
2274
2309
|
# (first-in-first-out) queue until it can run the Lambda function to
|
2275
2310
|
# consume each message.
|
2276
2311
|
# @return [Integer]
|
@@ -2282,8 +2317,8 @@ module Aws::GreengrassV2
|
|
2282
2317
|
#
|
2283
2318
|
# @!attribute [rw] max_idle_time_in_seconds
|
2284
2319
|
# The maximum amount of time in seconds that a non-pinned Lambda
|
2285
|
-
# function can idle before the
|
2286
|
-
#
|
2320
|
+
# function can idle before the IoT Greengrass Core software stops its
|
2321
|
+
# process.
|
2287
2322
|
# @return [Integer]
|
2288
2323
|
#
|
2289
2324
|
# @!attribute [rw] timeout_in_seconds
|
@@ -2300,13 +2335,13 @@ module Aws::GreengrassV2
|
|
2300
2335
|
# @!attribute [rw] pinned
|
2301
2336
|
# Whether or not the Lambda function is pinned, or long-lived.
|
2302
2337
|
#
|
2303
|
-
# * A pinned Lambda function starts when
|
2338
|
+
# * A pinned Lambda function starts when IoT Greengrass starts and
|
2304
2339
|
# keeps running in its own container.
|
2305
2340
|
#
|
2306
2341
|
# * A non-pinned Lambda function starts only when it receives a work
|
2307
2342
|
# item and exists after it idles for `maxIdleTimeInSeconds`. If the
|
2308
|
-
# function has multiple work items, the
|
2309
|
-
#
|
2343
|
+
# function has multiple work items, the IoT Greengrass Core software
|
2344
|
+
# creates multiple instances of the function.
|
2310
2345
|
#
|
2311
2346
|
# Default: `true`
|
2312
2347
|
# @return [Boolean]
|
@@ -2349,8 +2384,8 @@ module Aws::GreengrassV2
|
|
2349
2384
|
include Aws::Structure
|
2350
2385
|
end
|
2351
2386
|
|
2352
|
-
# Contains information about an
|
2353
|
-
#
|
2387
|
+
# Contains information about an Lambda function to import to create a
|
2388
|
+
# component.
|
2354
2389
|
#
|
2355
2390
|
# @note When making an API call, you may pass LambdaFunctionRecipeSource
|
2356
2391
|
# data as a hash:
|
@@ -2451,7 +2486,7 @@ module Aws::GreengrassV2
|
|
2451
2486
|
#
|
2452
2487
|
# @!attribute [rw] component_lambda_parameters
|
2453
2488
|
# The system and runtime parameters for the Lambda function as it runs
|
2454
|
-
# on the
|
2489
|
+
# on the Greengrass core device.
|
2455
2490
|
# @return [Types::LambdaExecutionParameters]
|
2456
2491
|
#
|
2457
2492
|
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/LambdaFunctionRecipeSource AWS API Documentation
|
@@ -2467,7 +2502,7 @@ module Aws::GreengrassV2
|
|
2467
2502
|
include Aws::Structure
|
2468
2503
|
end
|
2469
2504
|
|
2470
|
-
# Contains parameters for a Linux process that contains an
|
2505
|
+
# Contains parameters for a Linux process that contains an Lambda
|
2471
2506
|
# function.
|
2472
2507
|
#
|
2473
2508
|
# @note When making an API call, you may pass LambdaLinuxProcessParams
|
@@ -2499,8 +2534,8 @@ module Aws::GreengrassV2
|
|
2499
2534
|
# @!attribute [rw] isolation_mode
|
2500
2535
|
# The isolation mode for the process that contains the Lambda
|
2501
2536
|
# function. The process can run in an isolated runtime environment
|
2502
|
-
# inside the
|
2503
|
-
#
|
2537
|
+
# inside the IoT Greengrass container, or as a regular process outside
|
2538
|
+
# any container.
|
2504
2539
|
#
|
2505
2540
|
# Default: `GreengrassContainer`
|
2506
2541
|
# @return [String]
|
@@ -2519,7 +2554,7 @@ module Aws::GreengrassV2
|
|
2519
2554
|
end
|
2520
2555
|
|
2521
2556
|
# Contains information about a volume that Linux processes in a
|
2522
|
-
# container can access. When you define a volume, the
|
2557
|
+
# container can access. When you define a volume, the IoT Greengrass
|
2523
2558
|
# Core software mounts the source files to the destination inside the
|
2524
2559
|
# container.
|
2525
2560
|
#
|
@@ -2549,8 +2584,8 @@ module Aws::GreengrassV2
|
|
2549
2584
|
# @return [String]
|
2550
2585
|
#
|
2551
2586
|
# @!attribute [rw] add_group_owner
|
2552
|
-
# Whether or not to add the
|
2553
|
-
#
|
2587
|
+
# Whether or not to add the IoT Greengrass user group as an owner of
|
2588
|
+
# the volume.
|
2554
2589
|
#
|
2555
2590
|
# Default: `false`
|
2556
2591
|
# @return [Boolean]
|
@@ -2576,8 +2611,7 @@ module Aws::GreengrassV2
|
|
2576
2611
|
# }
|
2577
2612
|
#
|
2578
2613
|
# @!attribute [rw] core_device_thing_name
|
2579
|
-
# The name of the core device. This is also the name of the
|
2580
|
-
# thing.
|
2614
|
+
# The name of the core device. This is also the name of the IoT thing.
|
2581
2615
|
# @return [String]
|
2582
2616
|
#
|
2583
2617
|
# @!attribute [rw] max_results
|
@@ -2732,7 +2766,7 @@ module Aws::GreengrassV2
|
|
2732
2766
|
# }
|
2733
2767
|
#
|
2734
2768
|
# @!attribute [rw] thing_group_arn
|
2735
|
-
# The [ARN][1] of the
|
2769
|
+
# The [ARN][1] of the IoT thing group by which to filter. If you
|
2736
2770
|
# specify this parameter, the list includes only core devices that are
|
2737
2771
|
# members of this thing group.
|
2738
2772
|
#
|
@@ -2746,11 +2780,11 @@ module Aws::GreengrassV2
|
|
2746
2780
|
# parameter, the list includes only core devices that have this
|
2747
2781
|
# status. Choose one of the following options:
|
2748
2782
|
#
|
2749
|
-
# * `HEALTHY` – The
|
2750
|
-
#
|
2783
|
+
# * `HEALTHY` – The IoT Greengrass Core software and all components
|
2784
|
+
# run on the core device without issue.
|
2751
2785
|
#
|
2752
|
-
# * `UNHEALTHY` – The
|
2753
|
-
#
|
2786
|
+
# * `UNHEALTHY` – The IoT Greengrass Core software or a component is
|
2787
|
+
# in a failed state on the core device.
|
2754
2788
|
# @return [String]
|
2755
2789
|
#
|
2756
2790
|
# @!attribute [rw] max_results
|
@@ -2801,7 +2835,7 @@ module Aws::GreengrassV2
|
|
2801
2835
|
# }
|
2802
2836
|
#
|
2803
2837
|
# @!attribute [rw] target_arn
|
2804
|
-
# The [ARN][1] of the target
|
2838
|
+
# The [ARN][1] of the target IoT thing or thing group.
|
2805
2839
|
#
|
2806
2840
|
#
|
2807
2841
|
#
|
@@ -2867,8 +2901,7 @@ module Aws::GreengrassV2
|
|
2867
2901
|
# }
|
2868
2902
|
#
|
2869
2903
|
# @!attribute [rw] core_device_thing_name
|
2870
|
-
# The name of the core device. This is also the name of the
|
2871
|
-
# thing.
|
2904
|
+
# The name of the core device. This is also the name of the IoT thing.
|
2872
2905
|
# @return [String]
|
2873
2906
|
#
|
2874
2907
|
# @!attribute [rw] max_results
|
@@ -2917,8 +2950,7 @@ module Aws::GreengrassV2
|
|
2917
2950
|
# }
|
2918
2951
|
#
|
2919
2952
|
# @!attribute [rw] core_device_thing_name
|
2920
|
-
# The name of the core device. This is also the name of the
|
2921
|
-
# thing.
|
2953
|
+
# The name of the core device. This is also the name of the IoT thing.
|
2922
2954
|
# @return [String]
|
2923
2955
|
#
|
2924
2956
|
# @!attribute [rw] max_results
|
@@ -2982,7 +3014,7 @@ module Aws::GreengrassV2
|
|
2982
3014
|
|
2983
3015
|
# @!attribute [rw] tags
|
2984
3016
|
# A list of key-value pairs that contain metadata for the resource.
|
2985
|
-
# For more information, see [Tag your resources][1] in the *
|
3017
|
+
# For more information, see [Tag your resources][1] in the *IoT
|
2986
3018
|
# Greengrass V2 Developer Guide*.
|
2987
3019
|
#
|
2988
3020
|
#
|
@@ -2998,6 +3030,21 @@ module Aws::GreengrassV2
|
|
2998
3030
|
include Aws::Structure
|
2999
3031
|
end
|
3000
3032
|
|
3033
|
+
# The request is already in progress. This exception occurs when you use
|
3034
|
+
# a client token for multiple requests while IoT Greengrass is still
|
3035
|
+
# processing an earlier request that uses the same client token.
|
3036
|
+
#
|
3037
|
+
# @!attribute [rw] message
|
3038
|
+
# @return [String]
|
3039
|
+
#
|
3040
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/RequestAlreadyInProgressException AWS API Documentation
|
3041
|
+
#
|
3042
|
+
class RequestAlreadyInProgressException < Struct.new(
|
3043
|
+
:message)
|
3044
|
+
SENSITIVE = []
|
3045
|
+
include Aws::Structure
|
3046
|
+
end
|
3047
|
+
|
3001
3048
|
# @note When making an API call, you may pass ResolveComponentCandidatesRequest
|
3002
3049
|
# data as a hash:
|
3003
3050
|
#
|
@@ -3051,7 +3098,7 @@ module Aws::GreengrassV2
|
|
3051
3098
|
end
|
3052
3099
|
|
3053
3100
|
# Contains information about a component version that is compatible to
|
3054
|
-
# run on a
|
3101
|
+
# run on a Greengrass core device.
|
3055
3102
|
#
|
3056
3103
|
# @!attribute [rw] arn
|
3057
3104
|
# The [ARN][1] of the component version.
|
@@ -3149,6 +3196,49 @@ module Aws::GreengrassV2
|
|
3149
3196
|
include Aws::Structure
|
3150
3197
|
end
|
3151
3198
|
|
3199
|
+
# Contains information about system resource limits that the IoT
|
3200
|
+
# Greengrass Core software applies to a component's processes. For more
|
3201
|
+
# information, see [Configure system resource limits for components][1].
|
3202
|
+
#
|
3203
|
+
#
|
3204
|
+
#
|
3205
|
+
# [1]: https://docs.aws.amazon.com/greengrass/v2/developerguide/configure-greengrass-core-v2.html#configure-component-system-resource-limits
|
3206
|
+
#
|
3207
|
+
# @note When making an API call, you may pass SystemResourceLimits
|
3208
|
+
# data as a hash:
|
3209
|
+
#
|
3210
|
+
# {
|
3211
|
+
# memory: 1,
|
3212
|
+
# cpus: 1.0,
|
3213
|
+
# }
|
3214
|
+
#
|
3215
|
+
# @!attribute [rw] memory
|
3216
|
+
# The maximum amount of RAM, expressed in kilobytes, that a
|
3217
|
+
# component's processes can use on the core device.
|
3218
|
+
# @return [Integer]
|
3219
|
+
#
|
3220
|
+
# @!attribute [rw] cpus
|
3221
|
+
# The maximum amount of CPU time that a component's processes can use
|
3222
|
+
# on the core device. A core device's total CPU time is equivalent to
|
3223
|
+
# the device's number of CPU cores. For example, on a core device
|
3224
|
+
# with 4 CPU cores, you can set this value to `2` to limit the
|
3225
|
+
# component's processes to 50 percent usage of each CPU core. On a
|
3226
|
+
# device with 1 CPU core, you can set this value to `0.25` to limit
|
3227
|
+
# the component's processes to 25 percent usage of the CPU. If you
|
3228
|
+
# set this value to a number greater than the number of CPU cores, the
|
3229
|
+
# IoT Greengrass Core software doesn't limit the component's CPU
|
3230
|
+
# usage.
|
3231
|
+
# @return [Float]
|
3232
|
+
#
|
3233
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/SystemResourceLimits AWS API Documentation
|
3234
|
+
#
|
3235
|
+
class SystemResourceLimits < Struct.new(
|
3236
|
+
:memory,
|
3237
|
+
:cpus)
|
3238
|
+
SENSITIVE = []
|
3239
|
+
include Aws::Structure
|
3240
|
+
end
|
3241
|
+
|
3152
3242
|
# @note When making an API call, you may pass TagResourceRequest
|
3153
3243
|
# data as a hash:
|
3154
3244
|
#
|
@@ -3169,7 +3259,7 @@ module Aws::GreengrassV2
|
|
3169
3259
|
#
|
3170
3260
|
# @!attribute [rw] tags
|
3171
3261
|
# A list of key-value pairs that contain metadata for the resource.
|
3172
|
-
# For more information, see [Tag your resources][1] in the *
|
3262
|
+
# For more information, see [Tag your resources][1] in the *IoT
|
3173
3263
|
# Greengrass V2 Developer Guide*.
|
3174
3264
|
#
|
3175
3265
|
#
|