aws-sdk-greengrass 1.27.0 → 1.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-greengrass.rb +1 -1
- data/lib/aws-sdk-greengrass/client.rb +23 -3
- data/lib/aws-sdk-greengrass/client_api.rb +7 -0
- data/lib/aws-sdk-greengrass/types.rb +89 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8a5ee318e097a638ea4ec9f73823b70f785d9c7
|
4
|
+
data.tar.gz: 19dec81f36d3d4817aa3cec7059f53284529969f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6dd79e262541c7a26fe51dbdf8aea9bbcf5aa25d5d91e8622379dcbfeec77dfce92819a31a1f2a7dd2319937240f059e8cce156538daeeee23855e9d8fd230ee
|
7
|
+
data.tar.gz: 1b3dd6ccb7536ce845560153a4badb7a14e7489fca4ae7eca4a0355ca7d4be3424166cb2d67b496e37a7161883e44b38668c4ba10b0e32ba7cccbf369977d17e
|
data/lib/aws-sdk-greengrass.rb
CHANGED
@@ -1202,10 +1202,18 @@ module Aws::Greengrass
|
|
1202
1202
|
# },
|
1203
1203
|
# s3_machine_learning_model_resource_data: {
|
1204
1204
|
# destination_path: "__string",
|
1205
|
+
# owner_setting: {
|
1206
|
+
# group_owner: "__string", # required
|
1207
|
+
# group_permission: "ro", # required, accepts ro, rw
|
1208
|
+
# },
|
1205
1209
|
# s3_uri: "__string",
|
1206
1210
|
# },
|
1207
1211
|
# sage_maker_machine_learning_model_resource_data: {
|
1208
1212
|
# destination_path: "__string",
|
1213
|
+
# owner_setting: {
|
1214
|
+
# group_owner: "__string", # required
|
1215
|
+
# group_permission: "ro", # required, accepts ro, rw
|
1216
|
+
# },
|
1209
1217
|
# sage_maker_job_arn: "__string",
|
1210
1218
|
# },
|
1211
1219
|
# secrets_manager_secret_resource_data: {
|
@@ -1284,10 +1292,18 @@ module Aws::Greengrass
|
|
1284
1292
|
# },
|
1285
1293
|
# s3_machine_learning_model_resource_data: {
|
1286
1294
|
# destination_path: "__string",
|
1295
|
+
# owner_setting: {
|
1296
|
+
# group_owner: "__string", # required
|
1297
|
+
# group_permission: "ro", # required, accepts ro, rw
|
1298
|
+
# },
|
1287
1299
|
# s3_uri: "__string",
|
1288
1300
|
# },
|
1289
1301
|
# sage_maker_machine_learning_model_resource_data: {
|
1290
1302
|
# destination_path: "__string",
|
1303
|
+
# owner_setting: {
|
1304
|
+
# group_owner: "__string", # required
|
1305
|
+
# group_permission: "ro", # required, accepts ro, rw
|
1306
|
+
# },
|
1291
1307
|
# sage_maker_job_arn: "__string",
|
1292
1308
|
# },
|
1293
1309
|
# secrets_manager_secret_resource_data: {
|
@@ -1358,8 +1374,8 @@ module Aws::Greengrass
|
|
1358
1374
|
# software_to_update: "core", # required, accepts core, ota_agent
|
1359
1375
|
# update_agent_log_level: "NONE", # accepts NONE, TRACE, DEBUG, VERBOSE, INFO, WARN, ERROR, FATAL
|
1360
1376
|
# update_targets: ["__string"], # required
|
1361
|
-
# update_targets_architecture: "armv6l", # required, accepts armv6l, armv7l, x86_64, aarch64
|
1362
|
-
# update_targets_operating_system: "ubuntu", # required, accepts ubuntu, raspbian, amazon_linux
|
1377
|
+
# update_targets_architecture: "armv6l", # required, accepts armv6l, armv7l, x86_64, aarch64
|
1378
|
+
# update_targets_operating_system: "ubuntu", # required, accepts ubuntu, raspbian, amazon_linux, openwrt
|
1363
1379
|
# })
|
1364
1380
|
#
|
1365
1381
|
# @example Response structure
|
@@ -2541,8 +2557,12 @@ module Aws::Greengrass
|
|
2541
2557
|
# resp.definition.resources[0].resource_data_container.local_volume_resource_data.group_owner_setting.group_owner #=> String
|
2542
2558
|
# resp.definition.resources[0].resource_data_container.local_volume_resource_data.source_path #=> String
|
2543
2559
|
# resp.definition.resources[0].resource_data_container.s3_machine_learning_model_resource_data.destination_path #=> String
|
2560
|
+
# resp.definition.resources[0].resource_data_container.s3_machine_learning_model_resource_data.owner_setting.group_owner #=> String
|
2561
|
+
# resp.definition.resources[0].resource_data_container.s3_machine_learning_model_resource_data.owner_setting.group_permission #=> String, one of "ro", "rw"
|
2544
2562
|
# resp.definition.resources[0].resource_data_container.s3_machine_learning_model_resource_data.s3_uri #=> String
|
2545
2563
|
# resp.definition.resources[0].resource_data_container.sage_maker_machine_learning_model_resource_data.destination_path #=> String
|
2564
|
+
# resp.definition.resources[0].resource_data_container.sage_maker_machine_learning_model_resource_data.owner_setting.group_owner #=> String
|
2565
|
+
# resp.definition.resources[0].resource_data_container.sage_maker_machine_learning_model_resource_data.owner_setting.group_permission #=> String, one of "ro", "rw"
|
2546
2566
|
# resp.definition.resources[0].resource_data_container.sage_maker_machine_learning_model_resource_data.sage_maker_job_arn #=> String
|
2547
2567
|
# resp.definition.resources[0].resource_data_container.secrets_manager_secret_resource_data.arn #=> String
|
2548
2568
|
# resp.definition.resources[0].resource_data_container.secrets_manager_secret_resource_data.additional_staging_labels_to_download #=> Array
|
@@ -3946,7 +3966,7 @@ module Aws::Greengrass
|
|
3946
3966
|
params: params,
|
3947
3967
|
config: config)
|
3948
3968
|
context[:gem_name] = 'aws-sdk-greengrass'
|
3949
|
-
context[:gem_version] = '1.
|
3969
|
+
context[:gem_version] = '1.28.0'
|
3950
3970
|
Seahorse::Client::Request.new(handlers, context)
|
3951
3971
|
end
|
3952
3972
|
|
@@ -215,6 +215,7 @@ module Aws::Greengrass
|
|
215
215
|
ResourceAccessPolicy = Shapes::StructureShape.new(name: 'ResourceAccessPolicy')
|
216
216
|
ResourceDataContainer = Shapes::StructureShape.new(name: 'ResourceDataContainer')
|
217
217
|
ResourceDefinitionVersion = Shapes::StructureShape.new(name: 'ResourceDefinitionVersion')
|
218
|
+
ResourceDownloadOwnerSetting = Shapes::StructureShape.new(name: 'ResourceDownloadOwnerSetting')
|
218
219
|
S3MachineLearningModelResourceData = Shapes::StructureShape.new(name: 'S3MachineLearningModelResourceData')
|
219
220
|
S3UrlSignerRole = Shapes::StringShape.new(name: 'S3UrlSignerRole')
|
220
221
|
SageMakerMachineLearningModelResourceData = Shapes::StructureShape.new(name: 'SageMakerMachineLearningModelResourceData')
|
@@ -1243,11 +1244,17 @@ module Aws::Greengrass
|
|
1243
1244
|
ResourceDefinitionVersion.add_member(:resources, Shapes::ShapeRef.new(shape: __listOfResource, location_name: "Resources"))
|
1244
1245
|
ResourceDefinitionVersion.struct_class = Types::ResourceDefinitionVersion
|
1245
1246
|
|
1247
|
+
ResourceDownloadOwnerSetting.add_member(:group_owner, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "GroupOwner"))
|
1248
|
+
ResourceDownloadOwnerSetting.add_member(:group_permission, Shapes::ShapeRef.new(shape: Permission, required: true, location_name: "GroupPermission"))
|
1249
|
+
ResourceDownloadOwnerSetting.struct_class = Types::ResourceDownloadOwnerSetting
|
1250
|
+
|
1246
1251
|
S3MachineLearningModelResourceData.add_member(:destination_path, Shapes::ShapeRef.new(shape: __string, location_name: "DestinationPath"))
|
1252
|
+
S3MachineLearningModelResourceData.add_member(:owner_setting, Shapes::ShapeRef.new(shape: ResourceDownloadOwnerSetting, location_name: "OwnerSetting"))
|
1247
1253
|
S3MachineLearningModelResourceData.add_member(:s3_uri, Shapes::ShapeRef.new(shape: __string, location_name: "S3Uri"))
|
1248
1254
|
S3MachineLearningModelResourceData.struct_class = Types::S3MachineLearningModelResourceData
|
1249
1255
|
|
1250
1256
|
SageMakerMachineLearningModelResourceData.add_member(:destination_path, Shapes::ShapeRef.new(shape: __string, location_name: "DestinationPath"))
|
1257
|
+
SageMakerMachineLearningModelResourceData.add_member(:owner_setting, Shapes::ShapeRef.new(shape: ResourceDownloadOwnerSetting, location_name: "OwnerSetting"))
|
1251
1258
|
SageMakerMachineLearningModelResourceData.add_member(:sage_maker_job_arn, Shapes::ShapeRef.new(shape: __string, location_name: "SageMakerJobArn"))
|
1252
1259
|
SageMakerMachineLearningModelResourceData.struct_class = Types::SageMakerMachineLearningModelResourceData
|
1253
1260
|
|
@@ -1402,10 +1402,18 @@ module Aws::Greengrass
|
|
1402
1402
|
# },
|
1403
1403
|
# s3_machine_learning_model_resource_data: {
|
1404
1404
|
# destination_path: "__string",
|
1405
|
+
# owner_setting: {
|
1406
|
+
# group_owner: "__string", # required
|
1407
|
+
# group_permission: "ro", # required, accepts ro, rw
|
1408
|
+
# },
|
1405
1409
|
# s3_uri: "__string",
|
1406
1410
|
# },
|
1407
1411
|
# sage_maker_machine_learning_model_resource_data: {
|
1408
1412
|
# destination_path: "__string",
|
1413
|
+
# owner_setting: {
|
1414
|
+
# group_owner: "__string", # required
|
1415
|
+
# group_permission: "ro", # required, accepts ro, rw
|
1416
|
+
# },
|
1409
1417
|
# sage_maker_job_arn: "__string",
|
1410
1418
|
# },
|
1411
1419
|
# secrets_manager_secret_resource_data: {
|
@@ -1508,10 +1516,18 @@ module Aws::Greengrass
|
|
1508
1516
|
# },
|
1509
1517
|
# s3_machine_learning_model_resource_data: {
|
1510
1518
|
# destination_path: "__string",
|
1519
|
+
# owner_setting: {
|
1520
|
+
# group_owner: "__string", # required
|
1521
|
+
# group_permission: "ro", # required, accepts ro, rw
|
1522
|
+
# },
|
1511
1523
|
# s3_uri: "__string",
|
1512
1524
|
# },
|
1513
1525
|
# sage_maker_machine_learning_model_resource_data: {
|
1514
1526
|
# destination_path: "__string",
|
1527
|
+
# owner_setting: {
|
1528
|
+
# group_owner: "__string", # required
|
1529
|
+
# group_permission: "ro", # required, accepts ro, rw
|
1530
|
+
# },
|
1515
1531
|
# sage_maker_job_arn: "__string",
|
1516
1532
|
# },
|
1517
1533
|
# secrets_manager_secret_resource_data: {
|
@@ -1574,8 +1590,8 @@ module Aws::Greengrass
|
|
1574
1590
|
# software_to_update: "core", # required, accepts core, ota_agent
|
1575
1591
|
# update_agent_log_level: "NONE", # accepts NONE, TRACE, DEBUG, VERBOSE, INFO, WARN, ERROR, FATAL
|
1576
1592
|
# update_targets: ["__string"], # required
|
1577
|
-
# update_targets_architecture: "armv6l", # required, accepts armv6l, armv7l, x86_64, aarch64
|
1578
|
-
# update_targets_operating_system: "ubuntu", # required, accepts ubuntu, raspbian, amazon_linux
|
1593
|
+
# update_targets_architecture: "armv6l", # required, accepts armv6l, armv7l, x86_64, aarch64
|
1594
|
+
# update_targets_operating_system: "ubuntu", # required, accepts ubuntu, raspbian, amazon_linux, openwrt
|
1579
1595
|
# }
|
1580
1596
|
#
|
1581
1597
|
# @!attribute [rw] amzn_client_token
|
@@ -5071,10 +5087,18 @@ module Aws::Greengrass
|
|
5071
5087
|
# },
|
5072
5088
|
# s3_machine_learning_model_resource_data: {
|
5073
5089
|
# destination_path: "__string",
|
5090
|
+
# owner_setting: {
|
5091
|
+
# group_owner: "__string", # required
|
5092
|
+
# group_permission: "ro", # required, accepts ro, rw
|
5093
|
+
# },
|
5074
5094
|
# s3_uri: "__string",
|
5075
5095
|
# },
|
5076
5096
|
# sage_maker_machine_learning_model_resource_data: {
|
5077
5097
|
# destination_path: "__string",
|
5098
|
+
# owner_setting: {
|
5099
|
+
# group_owner: "__string", # required
|
5100
|
+
# group_permission: "ro", # required, accepts ro, rw
|
5101
|
+
# },
|
5078
5102
|
# sage_maker_job_arn: "__string",
|
5079
5103
|
# },
|
5080
5104
|
# secrets_manager_secret_resource_data: {
|
@@ -5167,10 +5191,18 @@ module Aws::Greengrass
|
|
5167
5191
|
# },
|
5168
5192
|
# s3_machine_learning_model_resource_data: {
|
5169
5193
|
# destination_path: "__string",
|
5194
|
+
# owner_setting: {
|
5195
|
+
# group_owner: "__string", # required
|
5196
|
+
# group_permission: "ro", # required, accepts ro, rw
|
5197
|
+
# },
|
5170
5198
|
# s3_uri: "__string",
|
5171
5199
|
# },
|
5172
5200
|
# sage_maker_machine_learning_model_resource_data: {
|
5173
5201
|
# destination_path: "__string",
|
5202
|
+
# owner_setting: {
|
5203
|
+
# group_owner: "__string", # required
|
5204
|
+
# group_permission: "ro", # required, accepts ro, rw
|
5205
|
+
# },
|
5174
5206
|
# sage_maker_job_arn: "__string",
|
5175
5207
|
# },
|
5176
5208
|
# secrets_manager_secret_resource_data: {
|
@@ -5240,10 +5272,18 @@ module Aws::Greengrass
|
|
5240
5272
|
# },
|
5241
5273
|
# s3_machine_learning_model_resource_data: {
|
5242
5274
|
# destination_path: "__string",
|
5275
|
+
# owner_setting: {
|
5276
|
+
# group_owner: "__string", # required
|
5277
|
+
# group_permission: "ro", # required, accepts ro, rw
|
5278
|
+
# },
|
5243
5279
|
# s3_uri: "__string",
|
5244
5280
|
# },
|
5245
5281
|
# sage_maker_machine_learning_model_resource_data: {
|
5246
5282
|
# destination_path: "__string",
|
5283
|
+
# owner_setting: {
|
5284
|
+
# group_owner: "__string", # required
|
5285
|
+
# group_permission: "ro", # required, accepts ro, rw
|
5286
|
+
# },
|
5247
5287
|
# sage_maker_job_arn: "__string",
|
5248
5288
|
# },
|
5249
5289
|
# secrets_manager_secret_resource_data: {
|
@@ -5266,6 +5306,35 @@ module Aws::Greengrass
|
|
5266
5306
|
include Aws::Structure
|
5267
5307
|
end
|
5268
5308
|
|
5309
|
+
# The owner setting for downloaded machine learning resources.
|
5310
|
+
#
|
5311
|
+
# @note When making an API call, you may pass ResourceDownloadOwnerSetting
|
5312
|
+
# data as a hash:
|
5313
|
+
#
|
5314
|
+
# {
|
5315
|
+
# group_owner: "__string", # required
|
5316
|
+
# group_permission: "ro", # required, accepts ro, rw
|
5317
|
+
# }
|
5318
|
+
#
|
5319
|
+
# @!attribute [rw] group_owner
|
5320
|
+
# The group owner of the resource. This is the name of an existing
|
5321
|
+
# Linux OS group on the system or a GID. The group's permissions are
|
5322
|
+
# added to the Lambda process.
|
5323
|
+
# @return [String]
|
5324
|
+
#
|
5325
|
+
# @!attribute [rw] group_permission
|
5326
|
+
# The permissions that the group owner has to the resource. Valid
|
5327
|
+
# values are ''rw'' (read/write) or ''ro'' (read-only).
|
5328
|
+
# @return [String]
|
5329
|
+
#
|
5330
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ResourceDownloadOwnerSetting AWS API Documentation
|
5331
|
+
#
|
5332
|
+
class ResourceDownloadOwnerSetting < Struct.new(
|
5333
|
+
:group_owner,
|
5334
|
+
:group_permission)
|
5335
|
+
include Aws::Structure
|
5336
|
+
end
|
5337
|
+
|
5269
5338
|
# Attributes that define an Amazon S3 machine learning resource.
|
5270
5339
|
#
|
5271
5340
|
# @note When making an API call, you may pass S3MachineLearningModelResourceData
|
@@ -5273,6 +5342,10 @@ module Aws::Greengrass
|
|
5273
5342
|
#
|
5274
5343
|
# {
|
5275
5344
|
# destination_path: "__string",
|
5345
|
+
# owner_setting: {
|
5346
|
+
# group_owner: "__string", # required
|
5347
|
+
# group_permission: "ro", # required, accepts ro, rw
|
5348
|
+
# },
|
5276
5349
|
# s3_uri: "__string",
|
5277
5350
|
# }
|
5278
5351
|
#
|
@@ -5281,6 +5354,10 @@ module Aws::Greengrass
|
|
5281
5354
|
# environment.
|
5282
5355
|
# @return [String]
|
5283
5356
|
#
|
5357
|
+
# @!attribute [rw] owner_setting
|
5358
|
+
# The owner setting for downloaded machine learning resources.
|
5359
|
+
# @return [Types::ResourceDownloadOwnerSetting]
|
5360
|
+
#
|
5284
5361
|
# @!attribute [rw] s3_uri
|
5285
5362
|
# The URI of the source model in an S3 bucket. The model package must
|
5286
5363
|
# be in tar.gz or .zip format.
|
@@ -5290,6 +5367,7 @@ module Aws::Greengrass
|
|
5290
5367
|
#
|
5291
5368
|
class S3MachineLearningModelResourceData < Struct.new(
|
5292
5369
|
:destination_path,
|
5370
|
+
:owner_setting,
|
5293
5371
|
:s3_uri)
|
5294
5372
|
include Aws::Structure
|
5295
5373
|
end
|
@@ -5301,6 +5379,10 @@ module Aws::Greengrass
|
|
5301
5379
|
#
|
5302
5380
|
# {
|
5303
5381
|
# destination_path: "__string",
|
5382
|
+
# owner_setting: {
|
5383
|
+
# group_owner: "__string", # required
|
5384
|
+
# group_permission: "ro", # required, accepts ro, rw
|
5385
|
+
# },
|
5304
5386
|
# sage_maker_job_arn: "__string",
|
5305
5387
|
# }
|
5306
5388
|
#
|
@@ -5309,6 +5391,10 @@ module Aws::Greengrass
|
|
5309
5391
|
# environment.
|
5310
5392
|
# @return [String]
|
5311
5393
|
#
|
5394
|
+
# @!attribute [rw] owner_setting
|
5395
|
+
# The owner setting for downloaded machine learning resources.
|
5396
|
+
# @return [Types::ResourceDownloadOwnerSetting]
|
5397
|
+
#
|
5312
5398
|
# @!attribute [rw] sage_maker_job_arn
|
5313
5399
|
# The ARN of the Amazon SageMaker training job that represents the
|
5314
5400
|
# source model.
|
@@ -5318,6 +5404,7 @@ module Aws::Greengrass
|
|
5318
5404
|
#
|
5319
5405
|
class SageMakerMachineLearningModelResourceData < Struct.new(
|
5320
5406
|
:destination_path,
|
5407
|
+
:owner_setting,
|
5321
5408
|
:sage_maker_job_arn)
|
5322
5409
|
include Aws::Structure
|
5323
5410
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-greengrass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.28.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: 2019-
|
11
|
+
date: 2019-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|