aws-sdk-greengrassv2 1.22.0 → 1.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b50bc304d8343232be1d6c0a7192712b7e564751251a660f0081349deed356d8
4
- data.tar.gz: 4ad9d73fbe5484b502a33924abc3d794e457d0f3c888d1b09ea294d8c2876943
3
+ metadata.gz: 897013abd74bc3f7aa7eb01f7a33de70f3e002cfebd601760dab423d0c227a3c
4
+ data.tar.gz: b891dcce984d1ece9bc5d873f50ee307181245e82ae7fa8f9ad9c6273f0ff0ad
5
5
  SHA512:
6
- metadata.gz: 1de3f6590eab167633570c6d3510b89becce5b97f4e4a3767bb98889c4e5b95ba3c6e6eb733784fa3d21cbd3179a42a9b1c0545e32a6640aaef7c4a41ef54873
7
- data.tar.gz: 74c35ce2c61fe67ef40a75537c34031ff85c6dafcb4186194264b025b8174877516ff0f8517c12908b3e5f7876ac62d8f4641617002b7709c730e591d2d98908
6
+ metadata.gz: 02d4468195239e462f577c3eb3f22e896b9c1b5de990b4273ed0a0592f3bf3adfceee83e11ce0c5c4374b4798eb6f208a054a639b1886bb42dfca27728a685a5
7
+ data.tar.gz: 3792d0623466925c25ab2c97487993260022f15a23504bde7abc75e8617d8e7bec9bdec77a627144d9c44fa04dbf289bfa16369ea7d050764073e36b7113f924
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.23.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.22.0 (2022-11-15)
5
12
  ------------------
6
13
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.22.0
1
+ 1.23.0
@@ -2092,7 +2092,7 @@ module Aws::GreengrassV2
2092
2092
  params: params,
2093
2093
  config: config)
2094
2094
  context[:gem_name] = 'aws-sdk-greengrassv2'
2095
- context[:gem_version] = '1.22.0'
2095
+ context[:gem_version] = '1.23.0'
2096
2096
  Seahorse::Client::Request.new(handlers, context)
2097
2097
  end
2098
2098
 
@@ -9,114 +9,49 @@
9
9
 
10
10
  module Aws::GreengrassV2
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://greengrass-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://greengrass-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://greengrass.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ if Aws::Endpoints::Matchers.string_equals?(region, "dataplane-us-gov-east-1")
46
+ return Aws::Endpoints::Endpoint.new(url: "https://greengrass-ats.iot.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
47
+ end
48
+ if Aws::Endpoints::Matchers.string_equals?(region, "dataplane-us-gov-west-1")
49
+ return Aws::Endpoints::Endpoint.new(url: "https://greengrass-ats.iot.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
50
+ end
51
+ return Aws::Endpoints::Endpoint.new(url: "https://greengrass.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
52
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
53
+ raise ArgumentError, 'No endpoint could be resolved'
24
54
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
55
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldG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zIjp7fX0sInR5cGUi
115
- OiJlbmRwb2ludCJ9LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVy
116
- bCI6Imh0dHBzOi8vZ3JlZW5ncmFzcy57UmVnaW9ufS57UGFydGl0aW9uUmVz
117
- dWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319
118
- LCJ0eXBlIjoiZW5kcG9pbnQifV19XX1dfQ==
119
-
120
- JSON
121
56
  end
122
57
  end
@@ -31,13 +31,6 @@ module Aws::GreengrassV2
31
31
  #
32
32
  # [1]: https://docs.aws.amazon.com/greengrass/v2/APIReference/API_BatchAssociateClientDeviceWithCoreDevice.html
33
33
  #
34
- # @note When making an API call, you may pass AssociateClientDeviceWithCoreDeviceEntry
35
- # data as a hash:
36
- #
37
- # {
38
- # thing_name: "IoTThingName", # required
39
- # }
40
- #
41
34
  # @!attribute [rw] thing_name
42
35
  # The name of the IoT thing that represents the client device to
43
36
  # associate.
@@ -82,13 +75,6 @@ module Aws::GreengrassV2
82
75
  include Aws::Structure
83
76
  end
84
77
 
85
- # @note When making an API call, you may pass AssociateServiceRoleToAccountRequest
86
- # data as a hash:
87
- #
88
- # {
89
- # role_arn: "String", # required
90
- # }
91
- #
92
78
  # @!attribute [rw] role_arn
93
79
  # The Amazon Resource Name (ARN) of the service role to associate with
94
80
  # IoT Greengrass for your Amazon Web Services account in this Amazon
@@ -139,18 +125,6 @@ module Aws::GreengrassV2
139
125
  include Aws::Structure
140
126
  end
141
127
 
142
- # @note When making an API call, you may pass BatchAssociateClientDeviceWithCoreDeviceRequest
143
- # data as a hash:
144
- #
145
- # {
146
- # entries: [
147
- # {
148
- # thing_name: "IoTThingName", # required
149
- # },
150
- # ],
151
- # core_device_thing_name: "IoTThingName", # required
152
- # }
153
- #
154
128
  # @!attribute [rw] entries
155
129
  # The list of client devices to associate.
156
130
  # @return [Array<Types::AssociateClientDeviceWithCoreDeviceEntry>]
@@ -181,18 +155,6 @@ module Aws::GreengrassV2
181
155
  include Aws::Structure
182
156
  end
183
157
 
184
- # @note When making an API call, you may pass BatchDisassociateClientDeviceFromCoreDeviceRequest
185
- # data as a hash:
186
- #
187
- # {
188
- # entries: [
189
- # {
190
- # thing_name: "IoTThingName", # required
191
- # },
192
- # ],
193
- # core_device_thing_name: "IoTThingName", # required
194
- # }
195
- #
196
158
  # @!attribute [rw] entries
197
159
  # The list of client devices to disassociate.
198
160
  # @return [Array<Types::DisassociateClientDeviceFromCoreDeviceEntry>]
@@ -224,13 +186,6 @@ module Aws::GreengrassV2
224
186
  include Aws::Structure
225
187
  end
226
188
 
227
- # @note When making an API call, you may pass CancelDeploymentRequest
228
- # data as a hash:
229
- #
230
- # {
231
- # deployment_id: "NonEmptyString", # required
232
- # }
233
- #
234
189
  # @!attribute [rw] deployment_id
235
190
  # The ID of the deployment.
236
191
  # @return [String]
@@ -343,17 +298,6 @@ module Aws::GreengrassV2
343
298
  # Contains information about a component that is a candidate to deploy
344
299
  # to a Greengrass core device.
345
300
  #
346
- # @note When making an API call, you may pass ComponentCandidate
347
- # data as a hash:
348
- #
349
- # {
350
- # component_name: "ComponentNameString",
351
- # component_version: "ComponentVersionString",
352
- # version_requirements: {
353
- # "NonEmptyString" => "NonEmptyString",
354
- # },
355
- # }
356
- #
357
301
  # @!attribute [rw] component_name
358
302
  # The name of the component.
359
303
  # @return [String]
@@ -394,14 +338,6 @@ module Aws::GreengrassV2
394
338
  #
395
339
  # [1]: https://docs.aws.amazon.com/greengrass/v2/developerguide/update-component-configurations.html
396
340
  #
397
- # @note When making an API call, you may pass ComponentConfigurationUpdate
398
- # data as a hash:
399
- #
400
- # {
401
- # merge: "ComponentConfigurationString",
402
- # reset: ["ComponentConfigurationPath"],
403
- # }
404
- #
405
341
  # @!attribute [rw] merge
406
342
  # A serialized JSON string that contains the configuration object to
407
343
  # merge to target devices. The core device merges this configuration
@@ -444,14 +380,6 @@ module Aws::GreengrassV2
444
380
  # Contains information about a component dependency for a Lambda
445
381
  # function component.
446
382
  #
447
- # @note When making an API call, you may pass ComponentDependencyRequirement
448
- # data as a hash:
449
- #
450
- # {
451
- # version_requirement: "NonEmptyString",
452
- # dependency_type: "HARD", # accepts HARD, SOFT
453
- # }
454
- #
455
383
  # @!attribute [rw] version_requirement
456
384
  # The component version requirement for the component dependency.
457
385
  #
@@ -485,25 +413,6 @@ module Aws::GreengrassV2
485
413
 
486
414
  # Contains information about a component to deploy.
487
415
  #
488
- # @note When making an API call, you may pass ComponentDeploymentSpecification
489
- # data as a hash:
490
- #
491
- # {
492
- # component_version: "ComponentVersionString",
493
- # configuration_update: {
494
- # merge: "ComponentConfigurationString",
495
- # reset: ["ComponentConfigurationPath"],
496
- # },
497
- # run_with: {
498
- # posix_user: "NonEmptyString",
499
- # system_resource_limits: {
500
- # memory: 1,
501
- # cpus: 1.0,
502
- # },
503
- # windows_user: "NonEmptyString",
504
- # },
505
- # }
506
- #
507
416
  # @!attribute [rw] component_version
508
417
  # The version of the component.
509
418
  # @return [String]
@@ -592,16 +501,6 @@ module Aws::GreengrassV2
592
501
 
593
502
  # Contains information about a platform that a component supports.
594
503
  #
595
- # @note When making an API call, you may pass ComponentPlatform
596
- # data as a hash:
597
- #
598
- # {
599
- # name: "NonEmptyString",
600
- # attributes: {
601
- # "NonEmptyString" => "NonEmptyString",
602
- # },
603
- # }
604
- #
605
504
  # @!attribute [rw] name
606
505
  # The friendly name of the platform. This name helps you identify the
607
506
  # platform.
@@ -641,18 +540,6 @@ module Aws::GreengrassV2
641
540
  #
642
541
  # [1]: https://docs.aws.amazon.com/greengrass/v2/developerguide/configure-greengrass-core-v2.html#configure-component-user
643
542
  #
644
- # @note When making an API call, you may pass ComponentRunWith
645
- # data as a hash:
646
- #
647
- # {
648
- # posix_user: "NonEmptyString",
649
- # system_resource_limits: {
650
- # memory: 1,
651
- # cpus: 1.0,
652
- # },
653
- # windows_user: "NonEmptyString",
654
- # }
655
- #
656
543
  # @!attribute [rw] posix_user
657
544
  # The POSIX system user and, optionally, group to use to run this
658
545
  # component on Linux core devices. The user, and group if specified,
@@ -768,16 +655,6 @@ module Aws::GreengrassV2
768
655
  # Contains information about an endpoint and port where client devices
769
656
  # can connect to an MQTT broker on a Greengrass core device.
770
657
  #
771
- # @note When making an API call, you may pass ConnectivityInfo
772
- # data as a hash:
773
- #
774
- # {
775
- # id: "String",
776
- # host_address: "String",
777
- # port_number: 1,
778
- # metadata: "String",
779
- # }
780
- #
781
658
  # @!attribute [rw] id
782
659
  # An ID for the connectivity information.
783
660
  # @return [String]
@@ -842,77 +719,6 @@ module Aws::GreengrassV2
842
719
  include Aws::Structure
843
720
  end
844
721
 
845
- # @note When making an API call, you may pass CreateComponentVersionRequest
846
- # data as a hash:
847
- #
848
- # {
849
- # inline_recipe: "data",
850
- # lambda_function: {
851
- # lambda_arn: "NonEmptyString", # required
852
- # component_name: "ComponentNameString",
853
- # component_version: "ComponentVersionString",
854
- # component_platforms: [
855
- # {
856
- # name: "NonEmptyString",
857
- # attributes: {
858
- # "NonEmptyString" => "NonEmptyString",
859
- # },
860
- # },
861
- # ],
862
- # component_dependencies: {
863
- # "NonEmptyString" => {
864
- # version_requirement: "NonEmptyString",
865
- # dependency_type: "HARD", # accepts HARD, SOFT
866
- # },
867
- # },
868
- # component_lambda_parameters: {
869
- # event_sources: [
870
- # {
871
- # topic: "TopicString", # required
872
- # type: "PUB_SUB", # required, accepts PUB_SUB, IOT_CORE
873
- # },
874
- # ],
875
- # max_queue_size: 1,
876
- # max_instances_count: 1,
877
- # max_idle_time_in_seconds: 1,
878
- # timeout_in_seconds: 1,
879
- # status_timeout_in_seconds: 1,
880
- # pinned: false,
881
- # input_payload_encoding_type: "json", # accepts json, binary
882
- # exec_args: ["LambdaExecArg"],
883
- # environment_variables: {
884
- # "NonEmptyString" => "String",
885
- # },
886
- # linux_process_params: {
887
- # isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
888
- # container_params: {
889
- # memory_size_in_kb: 1,
890
- # mount_ro_sysfs: false,
891
- # volumes: [
892
- # {
893
- # source_path: "FileSystemPath", # required
894
- # destination_path: "FileSystemPath", # required
895
- # permission: "ro", # accepts ro, rw
896
- # add_group_owner: false,
897
- # },
898
- # ],
899
- # devices: [
900
- # {
901
- # path: "FileSystemPath", # required
902
- # permission: "ro", # accepts ro, rw
903
- # add_group_owner: false,
904
- # },
905
- # ],
906
- # },
907
- # },
908
- # },
909
- # },
910
- # tags: {
911
- # "TagKey" => "TagValue",
912
- # },
913
- # client_token: "ClientTokenString",
914
- # }
915
- #
916
722
  # @!attribute [rw] inline_recipe
917
723
  # The recipe to use to create the component. The recipe defines the
918
724
  # component's metadata, parameters, dependencies, lifecycle,
@@ -1001,72 +807,6 @@ module Aws::GreengrassV2
1001
807
  include Aws::Structure
1002
808
  end
1003
809
 
1004
- # @note When making an API call, you may pass CreateDeploymentRequest
1005
- # data as a hash:
1006
- #
1007
- # {
1008
- # target_arn: "TargetARN", # required
1009
- # deployment_name: "DeploymentNameString",
1010
- # components: {
1011
- # "NonEmptyString" => {
1012
- # component_version: "ComponentVersionString",
1013
- # configuration_update: {
1014
- # merge: "ComponentConfigurationString",
1015
- # reset: ["ComponentConfigurationPath"],
1016
- # },
1017
- # run_with: {
1018
- # posix_user: "NonEmptyString",
1019
- # system_resource_limits: {
1020
- # memory: 1,
1021
- # cpus: 1.0,
1022
- # },
1023
- # windows_user: "NonEmptyString",
1024
- # },
1025
- # },
1026
- # },
1027
- # iot_job_configuration: {
1028
- # job_executions_rollout_config: {
1029
- # exponential_rate: {
1030
- # base_rate_per_minute: 1, # required
1031
- # increment_factor: 1.0, # required
1032
- # rate_increase_criteria: { # required
1033
- # number_of_notified_things: 1,
1034
- # number_of_succeeded_things: 1,
1035
- # },
1036
- # },
1037
- # maximum_per_minute: 1,
1038
- # },
1039
- # abort_config: {
1040
- # criteria_list: [ # required
1041
- # {
1042
- # failure_type: "FAILED", # required, accepts FAILED, REJECTED, TIMED_OUT, ALL
1043
- # action: "CANCEL", # required, accepts CANCEL
1044
- # threshold_percentage: 1.0, # required
1045
- # min_number_of_executed_things: 1, # required
1046
- # },
1047
- # ],
1048
- # },
1049
- # timeout_config: {
1050
- # in_progress_timeout_in_minutes: 1,
1051
- # },
1052
- # },
1053
- # deployment_policies: {
1054
- # failure_handling_policy: "ROLLBACK", # accepts ROLLBACK, DO_NOTHING
1055
- # component_update_policy: {
1056
- # timeout_in_seconds: 1,
1057
- # action: "NOTIFY_COMPONENTS", # accepts NOTIFY_COMPONENTS, SKIP_NOTIFY_COMPONENTS
1058
- # },
1059
- # configuration_validation_policy: {
1060
- # timeout_in_seconds: 1,
1061
- # },
1062
- # },
1063
- # parent_target_arn: "ThingGroupARN",
1064
- # tags: {
1065
- # "TagKey" => "TagValue",
1066
- # },
1067
- # client_token: "ClientTokenString",
1068
- # }
1069
- #
1070
810
  # @!attribute [rw] target_arn
1071
811
  # The [ARN][1] of the target IoT thing or thing group. When creating a
1072
812
  # subdeployment, the targetARN can only be a thing group.
@@ -1171,13 +911,6 @@ module Aws::GreengrassV2
1171
911
  include Aws::Structure
1172
912
  end
1173
913
 
1174
- # @note When making an API call, you may pass DeleteComponentRequest
1175
- # data as a hash:
1176
- #
1177
- # {
1178
- # arn: "ComponentVersionARN", # required
1179
- # }
1180
- #
1181
914
  # @!attribute [rw] arn
1182
915
  # The [ARN][1] of the component version.
1183
916
  #
@@ -1194,13 +927,6 @@ module Aws::GreengrassV2
1194
927
  include Aws::Structure
1195
928
  end
1196
929
 
1197
- # @note When making an API call, you may pass DeleteCoreDeviceRequest
1198
- # data as a hash:
1199
- #
1200
- # {
1201
- # core_device_thing_name: "CoreDeviceThingName", # required
1202
- # }
1203
- #
1204
930
  # @!attribute [rw] core_device_thing_name
1205
931
  # The name of the core device. This is also the name of the IoT thing.
1206
932
  # @return [String]
@@ -1213,13 +939,6 @@ module Aws::GreengrassV2
1213
939
  include Aws::Structure
1214
940
  end
1215
941
 
1216
- # @note When making an API call, you may pass DeleteDeploymentRequest
1217
- # data as a hash:
1218
- #
1219
- # {
1220
- # deployment_id: "NonEmptyString", # required
1221
- # }
1222
- #
1223
942
  # @!attribute [rw] deployment_id
1224
943
  # The ID of the deployment.
1225
944
  # @return [String]
@@ -1301,14 +1020,6 @@ module Aws::GreengrassV2
1301
1020
  # response. You specify the amount of time each component has to respond
1302
1021
  # to the update notification.
1303
1022
  #
1304
- # @note When making an API call, you may pass DeploymentComponentUpdatePolicy
1305
- # data as a hash:
1306
- #
1307
- # {
1308
- # timeout_in_seconds: 1,
1309
- # action: "NOTIFY_COMPONENTS", # accepts NOTIFY_COMPONENTS, SKIP_NOTIFY_COMPONENTS
1310
- # }
1311
- #
1312
1023
  # @!attribute [rw] timeout_in_seconds
1313
1024
  # The amount of time in seconds that each component on a device has to
1314
1025
  # report that it's safe to update. If the component waits for longer
@@ -1365,13 +1076,6 @@ module Aws::GreengrassV2
1365
1076
  # [2]: https://docs.aws.amazon.com/greengrass/v2/developerguide/interprocess-communication.html#ipc-operation-sendconfigurationvalidityreport
1366
1077
  # [3]: https://docs.aws.amazon.com/greengrass/v2/developerguide/create-deployments.html
1367
1078
  #
1368
- # @note When making an API call, you may pass DeploymentConfigurationValidationPolicy
1369
- # data as a hash:
1370
- #
1371
- # {
1372
- # timeout_in_seconds: 1,
1373
- # }
1374
- #
1375
1079
  # @!attribute [rw] timeout_in_seconds
1376
1080
  # The amount of time in seconds that a component can validate its
1377
1081
  # configuration updates. If the validation time exceeds this timeout,
@@ -1390,36 +1094,6 @@ module Aws::GreengrassV2
1390
1094
 
1391
1095
  # Contains information about an IoT job configuration.
1392
1096
  #
1393
- # @note When making an API call, you may pass DeploymentIoTJobConfiguration
1394
- # data as a hash:
1395
- #
1396
- # {
1397
- # job_executions_rollout_config: {
1398
- # exponential_rate: {
1399
- # base_rate_per_minute: 1, # required
1400
- # increment_factor: 1.0, # required
1401
- # rate_increase_criteria: { # required
1402
- # number_of_notified_things: 1,
1403
- # number_of_succeeded_things: 1,
1404
- # },
1405
- # },
1406
- # maximum_per_minute: 1,
1407
- # },
1408
- # abort_config: {
1409
- # criteria_list: [ # required
1410
- # {
1411
- # failure_type: "FAILED", # required, accepts FAILED, REJECTED, TIMED_OUT, ALL
1412
- # action: "CANCEL", # required, accepts CANCEL
1413
- # threshold_percentage: 1.0, # required
1414
- # min_number_of_executed_things: 1, # required
1415
- # },
1416
- # ],
1417
- # },
1418
- # timeout_config: {
1419
- # in_progress_timeout_in_minutes: 1,
1420
- # },
1421
- # }
1422
- #
1423
1097
  # @!attribute [rw] job_executions_rollout_config
1424
1098
  # The rollout configuration for the job. This configuration defines
1425
1099
  # the rate at which the job rolls out to the fleet of target devices.
@@ -1448,20 +1122,6 @@ module Aws::GreengrassV2
1448
1122
  # Contains information about policies that define how a deployment
1449
1123
  # updates components and handles failure.
1450
1124
  #
1451
- # @note When making an API call, you may pass DeploymentPolicies
1452
- # data as a hash:
1453
- #
1454
- # {
1455
- # failure_handling_policy: "ROLLBACK", # accepts ROLLBACK, DO_NOTHING
1456
- # component_update_policy: {
1457
- # timeout_in_seconds: 1,
1458
- # action: "NOTIFY_COMPONENTS", # accepts NOTIFY_COMPONENTS, SKIP_NOTIFY_COMPONENTS
1459
- # },
1460
- # configuration_validation_policy: {
1461
- # timeout_in_seconds: 1,
1462
- # },
1463
- # }
1464
- #
1465
1125
  # @!attribute [rw] failure_handling_policy
1466
1126
  # The failure handling policy for the configuration deployment. This
1467
1127
  # policy defines what to do if the deployment fails.
@@ -1491,13 +1151,6 @@ module Aws::GreengrassV2
1491
1151
  include Aws::Structure
1492
1152
  end
1493
1153
 
1494
- # @note When making an API call, you may pass DescribeComponentRequest
1495
- # data as a hash:
1496
- #
1497
- # {
1498
- # arn: "ComponentVersionARN", # required
1499
- # }
1500
- #
1501
1154
  # @!attribute [rw] arn
1502
1155
  # The [ARN][1] of the component version.
1503
1156
  #
@@ -1587,13 +1240,6 @@ module Aws::GreengrassV2
1587
1240
  #
1588
1241
  # [1]: https://docs.aws.amazon.com/greengrass/v2/APIReference/API_BatchDisassociateClientDeviceWithCoreDevice.html
1589
1242
  #
1590
- # @note When making an API call, you may pass DisassociateClientDeviceFromCoreDeviceEntry
1591
- # data as a hash:
1592
- #
1593
- # {
1594
- # thing_name: "IoTThingName", # required
1595
- # }
1596
- #
1597
1243
  # @!attribute [rw] thing_name
1598
1244
  # The name of the IoT thing that represents the client device to
1599
1245
  # disassociate.
@@ -1767,14 +1413,6 @@ module Aws::GreengrassV2
1767
1413
  include Aws::Structure
1768
1414
  end
1769
1415
 
1770
- # @note When making an API call, you may pass GetComponentRequest
1771
- # data as a hash:
1772
- #
1773
- # {
1774
- # recipe_output_format: "JSON", # accepts JSON, YAML
1775
- # arn: "ComponentVersionARN", # required
1776
- # }
1777
- #
1778
1416
  # @!attribute [rw] recipe_output_format
1779
1417
  # The format of the recipe.
1780
1418
  # @return [String]
@@ -1824,14 +1462,6 @@ module Aws::GreengrassV2
1824
1462
  include Aws::Structure
1825
1463
  end
1826
1464
 
1827
- # @note When making an API call, you may pass GetComponentVersionArtifactRequest
1828
- # data as a hash:
1829
- #
1830
- # {
1831
- # arn: "ComponentVersionARN", # required
1832
- # artifact_name: "NonEmptyString", # required
1833
- # }
1834
- #
1835
1465
  # @!attribute [rw] arn
1836
1466
  # The [ARN][1] of the component version. Specify the ARN of a public
1837
1467
  # or a Lambda component version.
@@ -1876,13 +1506,6 @@ module Aws::GreengrassV2
1876
1506
  include Aws::Structure
1877
1507
  end
1878
1508
 
1879
- # @note When making an API call, you may pass GetConnectivityInfoRequest
1880
- # data as a hash:
1881
- #
1882
- # {
1883
- # thing_name: "CoreDeviceThingName", # required
1884
- # }
1885
- #
1886
1509
  # @!attribute [rw] thing_name
1887
1510
  # The name of the core device. This is also the name of the IoT thing.
1888
1511
  # @return [String]
@@ -1912,13 +1535,6 @@ module Aws::GreengrassV2
1912
1535
  include Aws::Structure
1913
1536
  end
1914
1537
 
1915
- # @note When making an API call, you may pass GetCoreDeviceRequest
1916
- # data as a hash:
1917
- #
1918
- # {
1919
- # core_device_thing_name: "CoreDeviceThingName", # required
1920
- # }
1921
- #
1922
1538
  # @!attribute [rw] core_device_thing_name
1923
1539
  # The name of the core device. This is also the name of the IoT thing.
1924
1540
  # @return [String]
@@ -1994,13 +1610,6 @@ module Aws::GreengrassV2
1994
1610
  include Aws::Structure
1995
1611
  end
1996
1612
 
1997
- # @note When making an API call, you may pass GetDeploymentRequest
1998
- # data as a hash:
1999
- #
2000
- # {
2001
- # deployment_id: "NonEmptyString", # required
2002
- # }
2003
- #
2004
1613
  # @!attribute [rw] deployment_id
2005
1614
  # The ID of the deployment.
2006
1615
  # @return [String]
@@ -2237,20 +1846,6 @@ module Aws::GreengrassV2
2237
1846
  # Contains a list of criteria that define when and how to cancel a
2238
1847
  # configuration deployment.
2239
1848
  #
2240
- # @note When making an API call, you may pass IoTJobAbortConfig
2241
- # data as a hash:
2242
- #
2243
- # {
2244
- # criteria_list: [ # required
2245
- # {
2246
- # failure_type: "FAILED", # required, accepts FAILED, REJECTED, TIMED_OUT, ALL
2247
- # action: "CANCEL", # required, accepts CANCEL
2248
- # threshold_percentage: 1.0, # required
2249
- # min_number_of_executed_things: 1, # required
2250
- # },
2251
- # ],
2252
- # }
2253
- #
2254
1849
  # @!attribute [rw] criteria_list
2255
1850
  # The list of criteria that define when and how to cancel the
2256
1851
  # configuration deployment.
@@ -2274,16 +1869,6 @@ module Aws::GreengrassV2
2274
1869
  # 2. The percentage of failures with type `failureType` exceeds the
2275
1870
  # `thresholdPercentage`.
2276
1871
  #
2277
- # @note When making an API call, you may pass IoTJobAbortCriteria
2278
- # data as a hash:
2279
- #
2280
- # {
2281
- # failure_type: "FAILED", # required, accepts FAILED, REJECTED, TIMED_OUT, ALL
2282
- # action: "CANCEL", # required, accepts CANCEL
2283
- # threshold_percentage: 1.0, # required
2284
- # min_number_of_executed_things: 1, # required
2285
- # }
2286
- #
2287
1872
  # @!attribute [rw] failure_type
2288
1873
  # The type of job deployment failure that can cancel a job.
2289
1874
  # @return [String]
@@ -2320,21 +1905,6 @@ module Aws::GreengrassV2
2320
1905
  # configuration defines the rate at which the job deploys a
2321
1906
  # configuration to a fleet of target devices.
2322
1907
  #
2323
- # @note When making an API call, you may pass IoTJobExecutionsRolloutConfig
2324
- # data as a hash:
2325
- #
2326
- # {
2327
- # exponential_rate: {
2328
- # base_rate_per_minute: 1, # required
2329
- # increment_factor: 1.0, # required
2330
- # rate_increase_criteria: { # required
2331
- # number_of_notified_things: 1,
2332
- # number_of_succeeded_things: 1,
2333
- # },
2334
- # },
2335
- # maximum_per_minute: 1,
2336
- # }
2337
- #
2338
1908
  # @!attribute [rw] exponential_rate
2339
1909
  # The exponential rate to increase the job rollout rate.
2340
1910
  # @return [Types::IoTJobExponentialRolloutRate]
@@ -2356,18 +1926,6 @@ module Aws::GreengrassV2
2356
1926
  # Contains information about an exponential rollout rate for a
2357
1927
  # configuration deployment job.
2358
1928
  #
2359
- # @note When making an API call, you may pass IoTJobExponentialRolloutRate
2360
- # data as a hash:
2361
- #
2362
- # {
2363
- # base_rate_per_minute: 1, # required
2364
- # increment_factor: 1.0, # required
2365
- # rate_increase_criteria: { # required
2366
- # number_of_notified_things: 1,
2367
- # number_of_succeeded_things: 1,
2368
- # },
2369
- # }
2370
- #
2371
1929
  # @!attribute [rw] base_rate_per_minute
2372
1930
  # The minimum number of devices that receive a pending job
2373
1931
  # notification, per minute, when the job starts. This parameter
@@ -2399,14 +1957,6 @@ module Aws::GreengrassV2
2399
1957
  # rollout rate. Specify either `numberOfNotifiedThings` or
2400
1958
  # `numberOfSucceededThings`.
2401
1959
  #
2402
- # @note When making an API call, you may pass IoTJobRateIncreaseCriteria
2403
- # data as a hash:
2404
- #
2405
- # {
2406
- # number_of_notified_things: 1,
2407
- # number_of_succeeded_things: 1,
2408
- # }
2409
- #
2410
1960
  # @!attribute [rw] number_of_notified_things
2411
1961
  # The number of devices to receive the job notification before the
2412
1962
  # rollout rate increases.
@@ -2428,13 +1978,6 @@ module Aws::GreengrassV2
2428
1978
 
2429
1979
  # Contains information about the timeout configuration for a job.
2430
1980
  #
2431
- # @note When making an API call, you may pass IoTJobTimeoutConfig
2432
- # data as a hash:
2433
- #
2434
- # {
2435
- # in_progress_timeout_in_minutes: 1,
2436
- # }
2437
- #
2438
1981
  # @!attribute [rw] in_progress_timeout_in_minutes
2439
1982
  # The amount of time, in minutes, that devices have to complete the
2440
1983
  # job. The timer starts when the job status is set to `IN_PROGRESS`.
@@ -2456,29 +1999,6 @@ module Aws::GreengrassV2
2456
1999
  # Contains information about a container in which Lambda functions run
2457
2000
  # on Greengrass core devices.
2458
2001
  #
2459
- # @note When making an API call, you may pass LambdaContainerParams
2460
- # data as a hash:
2461
- #
2462
- # {
2463
- # memory_size_in_kb: 1,
2464
- # mount_ro_sysfs: false,
2465
- # volumes: [
2466
- # {
2467
- # source_path: "FileSystemPath", # required
2468
- # destination_path: "FileSystemPath", # required
2469
- # permission: "ro", # accepts ro, rw
2470
- # add_group_owner: false,
2471
- # },
2472
- # ],
2473
- # devices: [
2474
- # {
2475
- # path: "FileSystemPath", # required
2476
- # permission: "ro", # accepts ro, rw
2477
- # add_group_owner: false,
2478
- # },
2479
- # ],
2480
- # }
2481
- #
2482
2002
  # @!attribute [rw] memory_size_in_kb
2483
2003
  # The memory size of the container, expressed in kilobytes.
2484
2004
  #
@@ -2514,15 +2034,6 @@ module Aws::GreengrassV2
2514
2034
  # Contains information about a device that Linux processes in a
2515
2035
  # container can access.
2516
2036
  #
2517
- # @note When making an API call, you may pass LambdaDeviceMount
2518
- # data as a hash:
2519
- #
2520
- # {
2521
- # path: "FileSystemPath", # required
2522
- # permission: "ro", # accepts ro, rw
2523
- # add_group_owner: false,
2524
- # }
2525
- #
2526
2037
  # @!attribute [rw] path
2527
2038
  # The mount path for the device in the file system.
2528
2039
  # @return [String]
@@ -2555,14 +2066,6 @@ module Aws::GreengrassV2
2555
2066
  # event source defines the topics on which this Lambda function
2556
2067
  # subscribes to receive messages that run the function.
2557
2068
  #
2558
- # @note When making an API call, you may pass LambdaEventSource
2559
- # data as a hash:
2560
- #
2561
- # {
2562
- # topic: "TopicString", # required
2563
- # type: "PUB_SUB", # required, accepts PUB_SUB, IOT_CORE
2564
- # }
2565
- #
2566
2069
  # @!attribute [rw] topic
2567
2070
  # The topic to which to subscribe to receive event messages.
2568
2071
  # @return [String]
@@ -2590,51 +2093,6 @@ module Aws::GreengrassV2
2590
2093
 
2591
2094
  # Contains parameters for a Lambda function that runs on IoT Greengrass.
2592
2095
  #
2593
- # @note When making an API call, you may pass LambdaExecutionParameters
2594
- # data as a hash:
2595
- #
2596
- # {
2597
- # event_sources: [
2598
- # {
2599
- # topic: "TopicString", # required
2600
- # type: "PUB_SUB", # required, accepts PUB_SUB, IOT_CORE
2601
- # },
2602
- # ],
2603
- # max_queue_size: 1,
2604
- # max_instances_count: 1,
2605
- # max_idle_time_in_seconds: 1,
2606
- # timeout_in_seconds: 1,
2607
- # status_timeout_in_seconds: 1,
2608
- # pinned: false,
2609
- # input_payload_encoding_type: "json", # accepts json, binary
2610
- # exec_args: ["LambdaExecArg"],
2611
- # environment_variables: {
2612
- # "NonEmptyString" => "String",
2613
- # },
2614
- # linux_process_params: {
2615
- # isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
2616
- # container_params: {
2617
- # memory_size_in_kb: 1,
2618
- # mount_ro_sysfs: false,
2619
- # volumes: [
2620
- # {
2621
- # source_path: "FileSystemPath", # required
2622
- # destination_path: "FileSystemPath", # required
2623
- # permission: "ro", # accepts ro, rw
2624
- # add_group_owner: false,
2625
- # },
2626
- # ],
2627
- # devices: [
2628
- # {
2629
- # path: "FileSystemPath", # required
2630
- # permission: "ro", # accepts ro, rw
2631
- # add_group_owner: false,
2632
- # },
2633
- # ],
2634
- # },
2635
- # },
2636
- # }
2637
- #
2638
2096
  # @!attribute [rw] event_sources
2639
2097
  # The list of event sources to which to subscribe to receive work
2640
2098
  # messages. The Lambda function runs when it receives a message from
@@ -2727,70 +2185,6 @@ module Aws::GreengrassV2
2727
2185
  # Contains information about an Lambda function to import to create a
2728
2186
  # component.
2729
2187
  #
2730
- # @note When making an API call, you may pass LambdaFunctionRecipeSource
2731
- # data as a hash:
2732
- #
2733
- # {
2734
- # lambda_arn: "NonEmptyString", # required
2735
- # component_name: "ComponentNameString",
2736
- # component_version: "ComponentVersionString",
2737
- # component_platforms: [
2738
- # {
2739
- # name: "NonEmptyString",
2740
- # attributes: {
2741
- # "NonEmptyString" => "NonEmptyString",
2742
- # },
2743
- # },
2744
- # ],
2745
- # component_dependencies: {
2746
- # "NonEmptyString" => {
2747
- # version_requirement: "NonEmptyString",
2748
- # dependency_type: "HARD", # accepts HARD, SOFT
2749
- # },
2750
- # },
2751
- # component_lambda_parameters: {
2752
- # event_sources: [
2753
- # {
2754
- # topic: "TopicString", # required
2755
- # type: "PUB_SUB", # required, accepts PUB_SUB, IOT_CORE
2756
- # },
2757
- # ],
2758
- # max_queue_size: 1,
2759
- # max_instances_count: 1,
2760
- # max_idle_time_in_seconds: 1,
2761
- # timeout_in_seconds: 1,
2762
- # status_timeout_in_seconds: 1,
2763
- # pinned: false,
2764
- # input_payload_encoding_type: "json", # accepts json, binary
2765
- # exec_args: ["LambdaExecArg"],
2766
- # environment_variables: {
2767
- # "NonEmptyString" => "String",
2768
- # },
2769
- # linux_process_params: {
2770
- # isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
2771
- # container_params: {
2772
- # memory_size_in_kb: 1,
2773
- # mount_ro_sysfs: false,
2774
- # volumes: [
2775
- # {
2776
- # source_path: "FileSystemPath", # required
2777
- # destination_path: "FileSystemPath", # required
2778
- # permission: "ro", # accepts ro, rw
2779
- # add_group_owner: false,
2780
- # },
2781
- # ],
2782
- # devices: [
2783
- # {
2784
- # path: "FileSystemPath", # required
2785
- # permission: "ro", # accepts ro, rw
2786
- # add_group_owner: false,
2787
- # },
2788
- # ],
2789
- # },
2790
- # },
2791
- # },
2792
- # }
2793
- #
2794
2188
  # @!attribute [rw] lambda_arn
2795
2189
  # The [ARN][1] of the Lambda function. The ARN must include the
2796
2190
  # version of the function to import. You can't use version aliases
@@ -2845,32 +2239,6 @@ module Aws::GreengrassV2
2845
2239
  # Contains parameters for a Linux process that contains an Lambda
2846
2240
  # function.
2847
2241
  #
2848
- # @note When making an API call, you may pass LambdaLinuxProcessParams
2849
- # data as a hash:
2850
- #
2851
- # {
2852
- # isolation_mode: "GreengrassContainer", # accepts GreengrassContainer, NoContainer
2853
- # container_params: {
2854
- # memory_size_in_kb: 1,
2855
- # mount_ro_sysfs: false,
2856
- # volumes: [
2857
- # {
2858
- # source_path: "FileSystemPath", # required
2859
- # destination_path: "FileSystemPath", # required
2860
- # permission: "ro", # accepts ro, rw
2861
- # add_group_owner: false,
2862
- # },
2863
- # ],
2864
- # devices: [
2865
- # {
2866
- # path: "FileSystemPath", # required
2867
- # permission: "ro", # accepts ro, rw
2868
- # add_group_owner: false,
2869
- # },
2870
- # ],
2871
- # },
2872
- # }
2873
- #
2874
2242
  # @!attribute [rw] isolation_mode
2875
2243
  # The isolation mode for the process that contains the Lambda
2876
2244
  # function. The process can run in an isolated runtime environment
@@ -2898,16 +2266,6 @@ module Aws::GreengrassV2
2898
2266
  # Core software mounts the source files to the destination inside the
2899
2267
  # container.
2900
2268
  #
2901
- # @note When making an API call, you may pass LambdaVolumeMount
2902
- # data as a hash:
2903
- #
2904
- # {
2905
- # source_path: "FileSystemPath", # required
2906
- # destination_path: "FileSystemPath", # required
2907
- # permission: "ro", # accepts ro, rw
2908
- # add_group_owner: false,
2909
- # }
2910
- #
2911
2269
  # @!attribute [rw] source_path
2912
2270
  # The path to the physical volume in the file system.
2913
2271
  # @return [String]
@@ -2941,15 +2299,6 @@ module Aws::GreengrassV2
2941
2299
  include Aws::Structure
2942
2300
  end
2943
2301
 
2944
- # @note When making an API call, you may pass ListClientDevicesAssociatedWithCoreDeviceRequest
2945
- # data as a hash:
2946
- #
2947
- # {
2948
- # core_device_thing_name: "IoTThingName", # required
2949
- # max_results: 1,
2950
- # next_token: "NextTokenString",
2951
- # }
2952
- #
2953
2302
  # @!attribute [rw] core_device_thing_name
2954
2303
  # The name of the core device. This is also the name of the IoT thing.
2955
2304
  # @return [String]
@@ -2991,15 +2340,6 @@ module Aws::GreengrassV2
2991
2340
  include Aws::Structure
2992
2341
  end
2993
2342
 
2994
- # @note When making an API call, you may pass ListComponentVersionsRequest
2995
- # data as a hash:
2996
- #
2997
- # {
2998
- # arn: "ComponentARN", # required
2999
- # max_results: 1,
3000
- # next_token: "NextTokenString",
3001
- # }
3002
- #
3003
2343
  # @!attribute [rw] arn
3004
2344
  # The [ARN][1] of the component.
3005
2345
  #
@@ -3044,15 +2384,6 @@ module Aws::GreengrassV2
3044
2384
  include Aws::Structure
3045
2385
  end
3046
2386
 
3047
- # @note When making an API call, you may pass ListComponentsRequest
3048
- # data as a hash:
3049
- #
3050
- # {
3051
- # scope: "PRIVATE", # accepts PRIVATE, PUBLIC
3052
- # max_results: 1,
3053
- # next_token: "NextTokenString",
3054
- # }
3055
- #
3056
2387
  # @!attribute [rw] scope
3057
2388
  # The scope of the components to list.
3058
2389
  #
@@ -3095,16 +2426,6 @@ module Aws::GreengrassV2
3095
2426
  include Aws::Structure
3096
2427
  end
3097
2428
 
3098
- # @note When making an API call, you may pass ListCoreDevicesRequest
3099
- # data as a hash:
3100
- #
3101
- # {
3102
- # thing_group_arn: "ThingGroupARN",
3103
- # status: "HEALTHY", # accepts HEALTHY, UNHEALTHY
3104
- # max_results: 1,
3105
- # next_token: "NextTokenString",
3106
- # }
3107
- #
3108
2429
  # @!attribute [rw] thing_group_arn
3109
2430
  # The [ARN][1] of the IoT thing group by which to filter. If you
3110
2431
  # specify this parameter, the list includes only core devices that
@@ -3166,17 +2487,6 @@ module Aws::GreengrassV2
3166
2487
  include Aws::Structure
3167
2488
  end
3168
2489
 
3169
- # @note When making an API call, you may pass ListDeploymentsRequest
3170
- # data as a hash:
3171
- #
3172
- # {
3173
- # target_arn: "TargetARN",
3174
- # history_filter: "ALL", # accepts ALL, LATEST_ONLY
3175
- # parent_target_arn: "ThingGroupARN",
3176
- # max_results: 1,
3177
- # next_token: "NextTokenString",
3178
- # }
3179
- #
3180
2490
  # @!attribute [rw] target_arn
3181
2491
  # The [ARN][1] of the target IoT thing or thing group.
3182
2492
  #
@@ -3243,15 +2553,6 @@ module Aws::GreengrassV2
3243
2553
  include Aws::Structure
3244
2554
  end
3245
2555
 
3246
- # @note When making an API call, you may pass ListEffectiveDeploymentsRequest
3247
- # data as a hash:
3248
- #
3249
- # {
3250
- # core_device_thing_name: "CoreDeviceThingName", # required
3251
- # max_results: 1,
3252
- # next_token: "NextTokenString",
3253
- # }
3254
- #
3255
2556
  # @!attribute [rw] core_device_thing_name
3256
2557
  # The name of the core device. This is also the name of the IoT thing.
3257
2558
  # @return [String]
@@ -3292,16 +2593,6 @@ module Aws::GreengrassV2
3292
2593
  include Aws::Structure
3293
2594
  end
3294
2595
 
3295
- # @note When making an API call, you may pass ListInstalledComponentsRequest
3296
- # data as a hash:
3297
- #
3298
- # {
3299
- # core_device_thing_name: "CoreDeviceThingName", # required
3300
- # max_results: 1,
3301
- # next_token: "NextTokenString",
3302
- # topology_filter: "ALL", # accepts ALL, ROOT
3303
- # }
3304
- #
3305
2596
  # @!attribute [rw] core_device_thing_name
3306
2597
  # The name of the core device. This is also the name of the IoT thing.
3307
2598
  # @return [String]
@@ -3371,13 +2662,6 @@ module Aws::GreengrassV2
3371
2662
  include Aws::Structure
3372
2663
  end
3373
2664
 
3374
- # @note When making an API call, you may pass ListTagsForResourceRequest
3375
- # data as a hash:
3376
- #
3377
- # {
3378
- # resource_arn: "GenericV2ARN", # required
3379
- # }
3380
- #
3381
2665
  # @!attribute [rw] resource_arn
3382
2666
  # The [ARN][1] of the resource.
3383
2667
  #
@@ -3427,27 +2711,6 @@ module Aws::GreengrassV2
3427
2711
  include Aws::Structure
3428
2712
  end
3429
2713
 
3430
- # @note When making an API call, you may pass ResolveComponentCandidatesRequest
3431
- # data as a hash:
3432
- #
3433
- # {
3434
- # platform: {
3435
- # name: "NonEmptyString",
3436
- # attributes: {
3437
- # "NonEmptyString" => "NonEmptyString",
3438
- # },
3439
- # },
3440
- # component_candidates: [
3441
- # {
3442
- # component_name: "ComponentNameString",
3443
- # component_version: "ComponentVersionString",
3444
- # version_requirements: {
3445
- # "NonEmptyString" => "NonEmptyString",
3446
- # },
3447
- # },
3448
- # ],
3449
- # }
3450
- #
3451
2714
  # @!attribute [rw] platform
3452
2715
  # The platform to use to resolve compatible components.
3453
2716
  # @return [Types::ComponentPlatform]
@@ -3613,14 +2876,6 @@ module Aws::GreengrassV2
3613
2876
  #
3614
2877
  # [1]: https://docs.aws.amazon.com/greengrass/v2/developerguide/configure-greengrass-core-v2.html#configure-component-system-resource-limits
3615
2878
  #
3616
- # @note When making an API call, you may pass SystemResourceLimits
3617
- # data as a hash:
3618
- #
3619
- # {
3620
- # memory: 1,
3621
- # cpus: 1.0,
3622
- # }
3623
- #
3624
2879
  # @!attribute [rw] memory
3625
2880
  # The maximum amount of RAM, expressed in kilobytes, that a
3626
2881
  # component's processes can use on the core device.
@@ -3648,16 +2903,6 @@ module Aws::GreengrassV2
3648
2903
  include Aws::Structure
3649
2904
  end
3650
2905
 
3651
- # @note When making an API call, you may pass TagResourceRequest
3652
- # data as a hash:
3653
- #
3654
- # {
3655
- # resource_arn: "GenericV2ARN", # required
3656
- # tags: { # required
3657
- # "TagKey" => "TagValue",
3658
- # },
3659
- # }
3660
- #
3661
2906
  # @!attribute [rw] resource_arn
3662
2907
  # The [ARN][1] of the resource to tag.
3663
2908
  #
@@ -3727,14 +2972,6 @@ module Aws::GreengrassV2
3727
2972
  include Aws::Structure
3728
2973
  end
3729
2974
 
3730
- # @note When making an API call, you may pass UntagResourceRequest
3731
- # data as a hash:
3732
- #
3733
- # {
3734
- # resource_arn: "GenericV2ARN", # required
3735
- # tag_keys: ["TagKey"], # required
3736
- # }
3737
- #
3738
2975
  # @!attribute [rw] resource_arn
3739
2976
  # The [ARN][1] of the resource to untag.
3740
2977
  #
@@ -3760,21 +2997,6 @@ module Aws::GreengrassV2
3760
2997
  #
3761
2998
  class UntagResourceResponse < Aws::EmptyStructure; end
3762
2999
 
3763
- # @note When making an API call, you may pass UpdateConnectivityInfoRequest
3764
- # data as a hash:
3765
- #
3766
- # {
3767
- # thing_name: "CoreDeviceThingName", # required
3768
- # connectivity_info: [ # required
3769
- # {
3770
- # id: "String",
3771
- # host_address: "String",
3772
- # port_number: 1,
3773
- # metadata: "String",
3774
- # },
3775
- # ],
3776
- # }
3777
- #
3778
3000
  # @!attribute [rw] thing_name
3779
3001
  # The name of the core device. This is also the name of the IoT thing.
3780
3002
  # @return [String]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-greengrassv2/customizations'
52
52
  # @!group service
53
53
  module Aws::GreengrassV2
54
54
 
55
- GEM_VERSION = '1.22.0'
55
+ GEM_VERSION = '1.23.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-greengrassv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.22.0
4
+ version: 1.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-15 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core