aws-sdk-greengrass 1.2.0 → 1.3.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
  SHA1:
3
- metadata.gz: 61179dc7d3c537f311ed4cea0bc5f8d6d4e282b2
4
- data.tar.gz: e8245a62707a271fe874766a7851ce34fd471255
3
+ metadata.gz: 91a32523d4c5c991795acfc296575da5f6ec8e53
4
+ data.tar.gz: '09a743c827911f8706fc24fc119d74ee3a099384'
5
5
  SHA512:
6
- metadata.gz: 03c7c57f28be62535e5c62868c4ed1ad927d5b71171158e7b199b71e7979dca6acaa50d461b11c5018435ed3f84e4a05dc9536ed51616c2abbbe043e4e7b3917
7
- data.tar.gz: 09bf22f5723940ad597973b505a16854261428feb620750f7371d4121daf74876674b2a9a551923141d50a9064ce79a9a09eba0472f6505cd6454b33c9851ca1
6
+ metadata.gz: 72f90b418a47c4752831c37d207dcf67d31bda6fc59689e0ad6c4470f22b5cc2a1272a2fd9e84e7feec14bb47af1b4d4de28b297ecf98f539a09cafc1924cd1f
7
+ data.tar.gz: 20febcfbf036d6954863509689153bfa0816d5278a53e5e4e2f09aa32b12162bcef96f12a1b94b28f71e800ff6ffe452de226d468d2cad329eb6267c66707dc1
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-greengrass/customizations'
42
42
  # @service
43
43
  module Aws::Greengrass
44
44
 
45
- GEM_VERSION = '1.2.0'
45
+ GEM_VERSION = '1.3.0'
46
46
 
47
47
  end
@@ -145,15 +145,15 @@ module Aws::Greengrass
145
145
 
146
146
  # @!group API Operations
147
147
 
148
- # Associates a role with a group. The role will be used by the AWS
149
- # Greengrass core in order to access AWS cloud services. The role's
150
- # permissions will allow Greengrass core Lambda functions to perform
151
- # actions against the cloud.
148
+ # Associates a role with a group. Your AWS Greengrass core will use the
149
+ # role to access AWS cloud services. The role's permissions should
150
+ # allow Greengrass core Lambda functions to perform actions against the
151
+ # cloud.
152
152
  #
153
153
  # @option params [required, String] :group_id
154
154
  #
155
155
  # @option params [String] :role_arn
156
- # Role arn you wish to associate with this group.
156
+ # The ARN of the role you wish to associate with this group.
157
157
  #
158
158
  # @return [Types::AssociateRoleToGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
159
159
  #
@@ -179,13 +179,14 @@ module Aws::Greengrass
179
179
  req.send_request(options)
180
180
  end
181
181
 
182
- # Associates a role which is used by AWS Greengrass. AWS Greengrass uses
183
- # the role to access your Lambda functions and AWS IoT resources. This
184
- # is necessary for deployments to succeed. It needs to have minimum
185
- # permissions in policy ``AWSGreengrassResourceAccessRolePolicy``
182
+ # Associates a role with your account. AWS Greengrass will use the role
183
+ # to access your Lambda functions and AWS IoT resources. This is
184
+ # necessary for deployments to succeed. The role must have at least
185
+ # minimum permissions in the policy
186
+ # ''AWSGreengrassResourceAccessRolePolicy''.
186
187
  #
187
188
  # @option params [String] :role_arn
188
- # Role arn you wish to associate with this account.
189
+ # The ARN of the service role you wish to associate with your account.
189
190
  #
190
191
  # @return [Types::AssociateServiceRoleToAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
191
192
  #
@@ -210,15 +211,15 @@ module Aws::Greengrass
210
211
  req.send_request(options)
211
212
  end
212
213
 
213
- # Creates a core definition. You may optionally provide the initial
214
- # version of the core definition or use
215
- # ''CreateCoreDefinitionVersion'' at a later time. AWS Greengrass
216
- # Groups must each contain exactly 1 AWS Greengrass Core.
214
+ # Creates a core definition. You may provide the initial version of the
215
+ # core definition now or use ''CreateCoreDefinitionVersion'' at a
216
+ # later time. AWS Greengrass groups must each contain exactly one AWS
217
+ # Greengrass core.
217
218
  #
218
219
  # @option params [String] :amzn_client_token
219
220
  #
220
221
  # @option params [Types::CoreDefinitionVersion] :initial_version
221
- # Information on core definition version
222
+ # Information about a core definition version.
222
223
  #
223
224
  # @option params [String] :name
224
225
  #
@@ -269,7 +270,8 @@ module Aws::Greengrass
269
270
  end
270
271
 
271
272
  # Creates a version of a core definition that has already been defined.
272
- # AWS Greengrass Groups must each contain exactly 1 AWS Greengrass Core.
273
+ # AWS Greengrass groups must each contain exactly one AWS Greengrass
274
+ # core.
273
275
  #
274
276
  # @option params [String] :amzn_client_token
275
277
  #
@@ -320,16 +322,17 @@ module Aws::Greengrass
320
322
  # @option params [String] :amzn_client_token
321
323
  #
322
324
  # @option params [String] :deployment_id
323
- # Id of the deployment if you wish to redeploy a previous deployment.
325
+ # The ID of the deployment if you wish to redeploy a previous
326
+ # deployment.
324
327
  #
325
328
  # @option params [String] :deployment_type
326
- # Type of deployment. When used in CreateDeployment, only NewDeployment
327
- # and Redeployment are valid.
329
+ # The type of deployment. When used in ''CreateDeployment'', only
330
+ # ''NewDeployment'' and ''Redeployment'' are valid.
328
331
  #
329
332
  # @option params [required, String] :group_id
330
333
  #
331
334
  # @option params [String] :group_version_id
332
- # Group Version you wish to deploy.
335
+ # The ID of the group version to be deployed.
333
336
  #
334
337
  # @return [Types::CreateDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
335
338
  #
@@ -360,14 +363,14 @@ module Aws::Greengrass
360
363
  req.send_request(options)
361
364
  end
362
365
 
363
- # Creates a device definition. You may optinally provide the initial
364
- # version of the device definition or use
365
- # ``CreateDeviceDefinitionVersion`` at a later time.
366
+ # Creates a device definition. You may provide the initial version of
367
+ # the device definition now or use ''CreateDeviceDefinitionVersion''
368
+ # at a later time.
366
369
  #
367
370
  # @option params [String] :amzn_client_token
368
371
  #
369
372
  # @option params [Types::DeviceDefinitionVersion] :initial_version
370
- # Information on device definition version
373
+ # Information about a device definition version.
371
374
  #
372
375
  # @option params [String] :name
373
376
  #
@@ -468,12 +471,12 @@ module Aws::Greengrass
468
471
  # functions and their configurations to be used in a group. You can
469
472
  # create an initial version of the definition by providing a list of
470
473
  # Lambda functions and their configurations now, or use
471
- # ``CreateFunctionDefinitionVersion`` later.
474
+ # ''CreateFunctionDefinitionVersion'' later.
472
475
  #
473
476
  # @option params [String] :amzn_client_token
474
477
  #
475
478
  # @option params [Types::FunctionDefinitionVersion] :initial_version
476
- # Information on the function definition version
479
+ # Information about a function definition version.
477
480
  #
478
481
  # @option params [String] :name
479
482
  #
@@ -496,6 +499,7 @@ module Aws::Greengrass
496
499
  # {
497
500
  # function_arn: "__string",
498
501
  # function_configuration: {
502
+ # encoding_type: "binary", # accepts binary, json
499
503
  # environment: {
500
504
  # access_sysfs: false,
501
505
  # resource_access_policies: [
@@ -540,8 +544,8 @@ module Aws::Greengrass
540
544
  req.send_request(options)
541
545
  end
542
546
 
543
- # Create a version of a Lambda function definition that has already been
544
- # defined.
547
+ # Creates a version of a Lambda function definition that has already
548
+ # been defined.
545
549
  #
546
550
  # @option params [String] :amzn_client_token
547
551
  #
@@ -565,6 +569,7 @@ module Aws::Greengrass
565
569
  # {
566
570
  # function_arn: "__string",
567
571
  # function_configuration: {
572
+ # encoding_type: "binary", # accepts binary, json
568
573
  # environment: {
569
574
  # access_sysfs: false,
570
575
  # resource_access_policies: [
@@ -604,13 +609,13 @@ module Aws::Greengrass
604
609
  req.send_request(options)
605
610
  end
606
611
 
607
- # Creates a group. You may optionally provide the initial version of the
608
- # group or use ''CreateGroupVersion'' at a later time.
612
+ # Creates a group. You may provide the initial version of the group or
613
+ # use ''CreateGroupVersion'' at a later time.
609
614
  #
610
615
  # @option params [String] :amzn_client_token
611
616
  #
612
617
  # @option params [Types::GroupVersion] :initial_version
613
- # Information on group version
618
+ # Information about a group version.
614
619
  #
615
620
  # @option params [String] :name
616
621
  #
@@ -743,14 +748,14 @@ module Aws::Greengrass
743
748
  req.send_request(options)
744
749
  end
745
750
 
746
- # Creates a logger definition. You may optionally provide the initial
747
- # version of the logger definition or use
748
- # ``CreateLoggerDefinitionVersion`` at a later time.
751
+ # Creates a logger definition. You may provide the initial version of
752
+ # the logger definition now or use ''CreateLoggerDefinitionVersion''
753
+ # at a later time.
749
754
  #
750
755
  # @option params [String] :amzn_client_token
751
756
  #
752
757
  # @option params [Types::LoggerDefinitionVersion] :initial_version
753
- # Information on logger definition version
758
+ # Information about a logger definition version.
754
759
  #
755
760
  # @option params [String] :name
756
761
  #
@@ -852,12 +857,12 @@ module Aws::Greengrass
852
857
  # Creates a resource definition which contains a list of resources to be
853
858
  # used in a group. You can create an initial version of the definition
854
859
  # by providing a list of resources now, or use
855
- # ``CreateResourceDefinitionVersion`` later.
860
+ # ''CreateResourceDefinitionVersion'' later.
856
861
  #
857
862
  # @option params [String] :amzn_client_token
858
863
  #
859
864
  # @option params [Types::ResourceDefinitionVersion] :initial_version
860
- # Information on resource definition version
865
+ # Information about a resource definition version.
861
866
  #
862
867
  # @option params [String] :name
863
868
  #
@@ -896,6 +901,14 @@ module Aws::Greengrass
896
901
  # },
897
902
  # source_path: "__string",
898
903
  # },
904
+ # s3_machine_learning_model_resource_data: {
905
+ # destination_path: "__string",
906
+ # s3_uri: "__string",
907
+ # },
908
+ # sage_maker_machine_learning_model_resource_data: {
909
+ # destination_path: "__string",
910
+ # sage_maker_job_arn: "__string",
911
+ # },
899
912
  # },
900
913
  # },
901
914
  # ],
@@ -922,7 +935,7 @@ module Aws::Greengrass
922
935
  req.send_request(options)
923
936
  end
924
937
 
925
- # Create a version of a resource definition that has already been
938
+ # Creates a version of a resource definition that has already been
926
939
  # defined.
927
940
  #
928
941
  # @option params [String] :amzn_client_token
@@ -963,6 +976,14 @@ module Aws::Greengrass
963
976
  # },
964
977
  # source_path: "__string",
965
978
  # },
979
+ # s3_machine_learning_model_resource_data: {
980
+ # destination_path: "__string",
981
+ # s3_uri: "__string",
982
+ # },
983
+ # sage_maker_machine_learning_model_resource_data: {
984
+ # destination_path: "__string",
985
+ # sage_maker_job_arn: "__string",
986
+ # },
966
987
  # },
967
988
  # },
968
989
  # ],
@@ -984,8 +1005,11 @@ module Aws::Greengrass
984
1005
  req.send_request(options)
985
1006
  end
986
1007
 
987
- # Creates an Iot Job that will trigger your Greengrass Cores to update
988
- # the software they are running.
1008
+ # Creates a software update for a core or group of cores (specified as
1009
+ # an IoT thing group.) Use this to update the OTA Agent as well as the
1010
+ # Greengrass core software. It makes use of the IoT Jobs feature which
1011
+ # provides additional commands to manage a Greengrass core software
1012
+ # update job.
989
1013
  #
990
1014
  # @option params [String] :amzn_client_token
991
1015
  #
@@ -994,20 +1018,21 @@ module Aws::Greengrass
994
1018
  # pointing towards the update artifact.
995
1019
  #
996
1020
  # @option params [String] :software_to_update
997
- # The piece of software on the Greengrass Core that will be updated.
1021
+ # The piece of software on the Greengrass core that will be updated.
998
1022
  #
999
1023
  # @option params [String] :update_agent_log_level
1000
1024
  # The minimum level of log statements that should be logged by the OTA
1001
1025
  # Agent during an update.
1002
1026
  #
1003
1027
  # @option params [Array<String>] :update_targets
1004
- # The target arns that this update will be applied to.
1028
+ # The ARNs of the targets (IoT things or IoT thing groups) that this
1029
+ # update will be applied to.
1005
1030
  #
1006
1031
  # @option params [String] :update_targets_architecture
1007
- # The architecture of the Cores in the targets of an update
1032
+ # The architecture of the cores which are the targets of an update.
1008
1033
  #
1009
1034
  # @option params [String] :update_targets_operating_system
1010
- # The operating system of the Cores in the targets of an update
1035
+ # The operating system of the cores which are the targets of an update.
1011
1036
  #
1012
1037
  # @return [Types::CreateSoftwareUpdateJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1013
1038
  #
@@ -1040,14 +1065,14 @@ module Aws::Greengrass
1040
1065
  req.send_request(options)
1041
1066
  end
1042
1067
 
1043
- # Creates a subscription definition. You may optionally provide the
1044
- # initial version of the subscription definition or use
1045
- # ``CreateSubscriptionDefinitionVersion`` at a later time.
1068
+ # Creates a subscription definition. You may provide the initial version
1069
+ # of the subscription definition now or use
1070
+ # ''CreateSubscriptionDefinitionVersion'' at a later time.
1046
1071
  #
1047
1072
  # @option params [String] :amzn_client_token
1048
1073
  #
1049
1074
  # @option params [Types::SubscriptionDefinitionVersion] :initial_version
1050
- # Information on subscription definition version
1075
+ # Information about a subscription definition version.
1051
1076
  #
1052
1077
  # @option params [String] :name
1053
1078
  #
@@ -1144,8 +1169,7 @@ module Aws::Greengrass
1144
1169
  req.send_request(options)
1145
1170
  end
1146
1171
 
1147
- # Deletes a core definition. The core definition must not have been used
1148
- # in a deployment.
1172
+ # Deletes a core definition.
1149
1173
  #
1150
1174
  # @option params [required, String] :core_definition_id
1151
1175
  #
@@ -1166,8 +1190,7 @@ module Aws::Greengrass
1166
1190
  req.send_request(options)
1167
1191
  end
1168
1192
 
1169
- # Deletes a device definition. The device definition must not have been
1170
- # used in a deployment.
1193
+ # Deletes a device definition.
1171
1194
  #
1172
1195
  # @option params [required, String] :device_definition_id
1173
1196
  #
@@ -1188,8 +1211,7 @@ module Aws::Greengrass
1188
1211
  req.send_request(options)
1189
1212
  end
1190
1213
 
1191
- # Deletes a Lambda function definition. The Lambda function definition
1192
- # must not have been used in a deployment.
1214
+ # Deletes a Lambda function definition.
1193
1215
  #
1194
1216
  # @option params [required, String] :function_definition_id
1195
1217
  #
@@ -1210,7 +1232,7 @@ module Aws::Greengrass
1210
1232
  req.send_request(options)
1211
1233
  end
1212
1234
 
1213
- # Deletes a group. The group must not have been used in deployment.
1235
+ # Deletes a group.
1214
1236
  #
1215
1237
  # @option params [required, String] :group_id
1216
1238
  #
@@ -1231,8 +1253,7 @@ module Aws::Greengrass
1231
1253
  req.send_request(options)
1232
1254
  end
1233
1255
 
1234
- # Deletes a logger definition. The logger definition must not have been
1235
- # used in a deployment.
1256
+ # Deletes a logger definition.
1236
1257
  #
1237
1258
  # @option params [required, String] :logger_definition_id
1238
1259
  #
@@ -1274,8 +1295,7 @@ module Aws::Greengrass
1274
1295
  req.send_request(options)
1275
1296
  end
1276
1297
 
1277
- # Deletes a subscription definition. The subscription definition must
1278
- # not have been used in a deployment.
1298
+ # Deletes a subscription definition.
1279
1299
  #
1280
1300
  # @option params [required, String] :subscription_definition_id
1281
1301
  #
@@ -1323,7 +1343,7 @@ module Aws::Greengrass
1323
1343
  req.send_request(options)
1324
1344
  end
1325
1345
 
1326
- # Disassociates the service role from the account. Without a service
1346
+ # Disassociates the service role from your account. Without a service
1327
1347
  # role, deployments will not work.
1328
1348
  #
1329
1349
  # @return [Types::DisassociateServiceRoleFromAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -1607,8 +1627,8 @@ module Aws::Greengrass
1607
1627
  req.send_request(options)
1608
1628
  end
1609
1629
 
1610
- # Retrieves information about a Lambda function definition, such as its
1611
- # creation time and latest version.
1630
+ # Retrieves information about a Lambda function definition, including
1631
+ # its creation time and latest version.
1612
1632
  #
1613
1633
  # @option params [required, String] :function_definition_id
1614
1634
  #
@@ -1647,8 +1667,8 @@ module Aws::Greengrass
1647
1667
  req.send_request(options)
1648
1668
  end
1649
1669
 
1650
- # Retrieves information about a Lambda function definition version, such
1651
- # as which Lambda functions are included in the version and their
1670
+ # Retrieves information about a Lambda function definition version,
1671
+ # including which Lambda functions are included in the version and their
1652
1672
  # configurations.
1653
1673
  #
1654
1674
  # @option params [required, String] :function_definition_id
@@ -1676,6 +1696,7 @@ module Aws::Greengrass
1676
1696
  # resp.creation_timestamp #=> String
1677
1697
  # resp.definition.functions #=> Array
1678
1698
  # resp.definition.functions[0].function_arn #=> String
1699
+ # resp.definition.functions[0].function_configuration.encoding_type #=> String, one of "binary", "json"
1679
1700
  # resp.definition.functions[0].function_configuration.environment.access_sysfs #=> Boolean
1680
1701
  # resp.definition.functions[0].function_configuration.environment.resource_access_policies #=> Array
1681
1702
  # resp.definition.functions[0].function_configuration.environment.resource_access_policies[0].permission #=> String, one of "ro", "rw"
@@ -1930,7 +1951,7 @@ module Aws::Greengrass
1930
1951
  req.send_request(options)
1931
1952
  end
1932
1953
 
1933
- # Retrieves information about a resource definition, such as its
1954
+ # Retrieves information about a resource definition, including its
1934
1955
  # creation time and latest version.
1935
1956
  #
1936
1957
  # @option params [required, String] :resource_definition_id
@@ -1970,7 +1991,7 @@ module Aws::Greengrass
1970
1991
  req.send_request(options)
1971
1992
  end
1972
1993
 
1973
- # Retrieves information about a resource definition version, such as
1994
+ # Retrieves information about a resource definition version, including
1974
1995
  # which resources are included in the version.
1975
1996
  #
1976
1997
  # @option params [required, String] :resource_definition_id
@@ -2006,6 +2027,10 @@ module Aws::Greengrass
2006
2027
  # resp.definition.resources[0].resource_data_container.local_volume_resource_data.group_owner_setting.auto_add_group_owner #=> Boolean
2007
2028
  # resp.definition.resources[0].resource_data_container.local_volume_resource_data.group_owner_setting.group_owner #=> String
2008
2029
  # resp.definition.resources[0].resource_data_container.local_volume_resource_data.source_path #=> String
2030
+ # resp.definition.resources[0].resource_data_container.s3_machine_learning_model_resource_data.destination_path #=> String
2031
+ # resp.definition.resources[0].resource_data_container.s3_machine_learning_model_resource_data.s3_uri #=> String
2032
+ # resp.definition.resources[0].resource_data_container.sage_maker_machine_learning_model_resource_data.destination_path #=> String
2033
+ # resp.definition.resources[0].resource_data_container.sage_maker_machine_learning_model_resource_data.sage_maker_job_arn #=> String
2009
2034
  # resp.id #=> String
2010
2035
  # resp.version #=> String
2011
2036
  #
@@ -2018,7 +2043,7 @@ module Aws::Greengrass
2018
2043
  req.send_request(options)
2019
2044
  end
2020
2045
 
2021
- # Retrieves the service role that is attached to the account.
2046
+ # Retrieves the service role that is attached to your account.
2022
2047
  #
2023
2048
  # @return [Types::GetServiceRoleForAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2024
2049
  #
@@ -2120,7 +2145,7 @@ module Aws::Greengrass
2120
2145
  req.send_request(options)
2121
2146
  end
2122
2147
 
2123
- # Lists versions of a core definition.
2148
+ # Lists the versions of a core definition.
2124
2149
  #
2125
2150
  # @option params [required, String] :core_definition_id
2126
2151
  #
@@ -2423,7 +2448,7 @@ module Aws::Greengrass
2423
2448
  req.send_request(options)
2424
2449
  end
2425
2450
 
2426
- # List the versions of a group.
2451
+ # Lists the versions of a group.
2427
2452
  #
2428
2453
  # @option params [required, String] :group_id
2429
2454
  #
@@ -2740,7 +2765,7 @@ module Aws::Greengrass
2740
2765
  # @option params [String] :amzn_client_token
2741
2766
  #
2742
2767
  # @option params [Boolean] :force
2743
- # When set to true, perform a best-effort only core reset.
2768
+ # If true, performs a best-effort only core reset.
2744
2769
  #
2745
2770
  # @option params [required, String] :group_id
2746
2771
  #
@@ -2776,7 +2801,7 @@ module Aws::Greengrass
2776
2801
  # in order to find the location of the core and connect to it.
2777
2802
  #
2778
2803
  # @option params [Array<Types::ConnectivityInfo>] :connectivity_info
2779
- # Connectivity info list
2804
+ # A list of connectivity info.
2780
2805
  #
2781
2806
  # @option params [required, String] :thing_name
2782
2807
  #
@@ -2909,10 +2934,11 @@ module Aws::Greengrass
2909
2934
  req.send_request(options)
2910
2935
  end
2911
2936
 
2912
- # Updates the Cert expiry time for a group.
2937
+ # Updates the Certificate expiry time for a group.
2913
2938
  #
2914
2939
  # @option params [String] :certificate_expiry_in_milliseconds
2915
- # Amount of time when the certificate expires in milliseconds.
2940
+ # The amount of time remaining before the certificate expires, in
2941
+ # milliseconds.
2916
2942
  #
2917
2943
  # @option params [required, String] :group_id
2918
2944
  #
@@ -3029,7 +3055,7 @@ module Aws::Greengrass
3029
3055
  params: params,
3030
3056
  config: config)
3031
3057
  context[:gem_name] = 'aws-sdk-greengrass'
3032
- context[:gem_version] = '1.2.0'
3058
+ context[:gem_version] = '1.3.0'
3033
3059
  Seahorse::Client::Request.new(handlers, context)
3034
3060
  end
3035
3061