aws-sdk-greengrass 1.26.0 → 1.31.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
- SHA1:
3
- metadata.gz: 863ead391b1a7fd77c1b1dfb6bf6c078d7f2c09e
4
- data.tar.gz: 965dc8264dc32d1a6637fd42b8eec4b279f786fa
2
+ SHA256:
3
+ metadata.gz: a879c2f1e69fa18238326aa1e273c3fe3a5ecd45fccfb4b0a6d5987045676c20
4
+ data.tar.gz: 71528013421880a2dc13ada307e86c97f07dae1ff755941f4d3b46dc4f97ba1d
5
5
  SHA512:
6
- metadata.gz: 2337fe7714ee13a46e98e0ec8161637cb123d791cb88a8f2069736956c7324b810cc4c4307cbb4f4437ebc1aecf61c35256e5abc20e0a830cd60924b1854b992
7
- data.tar.gz: c74f2e628b9506a70ae89702c54e09aaa6057bd3610da0e9b70581a1d1dae51719cc21b7ed9658982a32103b3888b4bbca1c358a5dd6ac688c255b2c90175b9d
6
+ metadata.gz: '07297ac4f50befc1982568f2748aa377a37897d23d57d18ced57a770d20df20289b03e7c639df99f37f47d7faa1e042cdffda68a69850468f3a958cdf6e4fc21'
7
+ data.tar.gz: e8fceb293745e9dbb50e0d46b95d79fff7d01f544d75cd3b03bd7eea19dd1718e87fec939a9e6f58d1b56f79a6f34168edb3fbfa1f0890ae91941a9edb5b048b
@@ -24,17 +24,20 @@ require_relative 'aws-sdk-greengrass/customizations'
24
24
  # methods each accept a hash of request parameters and return a response
25
25
  # structure.
26
26
  #
27
+ # greengrass = Aws::Greengrass::Client.new
28
+ # resp = greengrass.associate_role_to_group(params)
29
+ #
27
30
  # See {Client} for more information.
28
31
  #
29
32
  # # Errors
30
33
  #
31
- # Errors returned from AWS Greengrass all
32
- # extend {Errors::ServiceError}.
34
+ # Errors returned from AWS Greengrass are defined in the
35
+ # {Errors} module and all extend {Errors::ServiceError}.
33
36
  #
34
37
  # begin
35
38
  # # do stuff
36
39
  # rescue Aws::Greengrass::Errors::ServiceError
37
- # # rescues all service API errors
40
+ # # rescues all AWS Greengrass API errors
38
41
  # end
39
42
  #
40
43
  # See {Errors} for more information.
@@ -42,6 +45,6 @@ require_relative 'aws-sdk-greengrass/customizations'
42
45
  # @service
43
46
  module Aws::Greengrass
44
47
 
45
- GEM_VERSION = '1.26.0'
48
+ GEM_VERSION = '1.31.0'
46
49
 
47
50
  end
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/rest_json.rb'
30
30
  Aws::Plugins::GlobalConfiguration.add_identifier(:greengrass)
31
31
 
32
32
  module Aws::Greengrass
33
+ # An API client for Greengrass. To construct a client, you need to configure a `:region` and `:credentials`.
34
+ #
35
+ # client = Aws::Greengrass::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
+ #
41
+ # For details on configuring region and credentials see
42
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
43
+ #
44
+ # See {#initialize} for a full list of supported configuration options.
33
45
  class Client < Seahorse::Client::Base
34
46
 
35
47
  include Aws::ClientStubs
@@ -93,7 +105,7 @@ module Aws::Greengrass
93
105
  # @option options [required, String] :region
94
106
  # The AWS region to connect to. The configured `:region` is
95
107
  # used to determine the service `:endpoint`. When not passed,
96
- # a default `:region` is search for in the following locations:
108
+ # a default `:region` is searched for in the following locations:
97
109
  #
98
110
  # * `Aws.config[:region]`
99
111
  # * `ENV['AWS_REGION']`
@@ -108,6 +120,12 @@ module Aws::Greengrass
108
120
  # When set to `true`, a thread polling for endpoints will be running in
109
121
  # the background every 60 secs (default). Defaults to `false`.
110
122
  #
123
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
124
+ # Used only in `adaptive` retry mode. When true, the request will sleep
125
+ # until there is sufficent client side capacity to retry the request.
126
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
127
+ # not retry instead of sleeping.
128
+ #
111
129
  # @option options [Boolean] :client_side_monitoring (false)
112
130
  # When `true`, client-side metrics will be collected for all API requests from
113
131
  # this client.
@@ -132,6 +150,10 @@ module Aws::Greengrass
132
150
  # When `true`, an attempt is made to coerce request parameters into
133
151
  # the required types.
134
152
  #
153
+ # @option options [Boolean] :correct_clock_skew (true)
154
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
155
+ # a clock skew correction and retry requests with skewed client clocks.
156
+ #
135
157
  # @option options [Boolean] :disable_host_prefix_injection (false)
136
158
  # Set to true to disable SDK automatically adding host prefix
137
159
  # to default service endpoint when available.
@@ -139,7 +161,7 @@ module Aws::Greengrass
139
161
  # @option options [String] :endpoint
140
162
  # The client endpoint is normally constructed from the `:region`
141
163
  # option. You should only configure an `:endpoint` when connecting
142
- # to test endpoints. This should be avalid HTTP(S) URI.
164
+ # to test endpoints. This should be a valid HTTP(S) URI.
143
165
  #
144
166
  # @option options [Integer] :endpoint_cache_max_entries (1000)
145
167
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -154,7 +176,7 @@ module Aws::Greengrass
154
176
  # requests fetching endpoints information. Defaults to 60 sec.
155
177
  #
156
178
  # @option options [Boolean] :endpoint_discovery (false)
157
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
179
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
158
180
  #
159
181
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
160
182
  # The log formatter.
@@ -166,15 +188,29 @@ module Aws::Greengrass
166
188
  # The Logger instance to send log messages to. If this option
167
189
  # is not set, logging will be disabled.
168
190
  #
191
+ # @option options [Integer] :max_attempts (3)
192
+ # An integer representing the maximum number attempts that will be made for
193
+ # a single request, including the initial attempt. For example,
194
+ # setting this value to 5 will result in a request being retried up to
195
+ # 4 times. Used in `standard` and `adaptive` retry modes.
196
+ #
169
197
  # @option options [String] :profile ("default")
170
198
  # Used when loading credentials from the shared credentials file
171
199
  # at HOME/.aws/credentials. When not specified, 'default' is used.
172
200
  #
201
+ # @option options [Proc] :retry_backoff
202
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
203
+ # This option is only used in the `legacy` retry mode.
204
+ #
173
205
  # @option options [Float] :retry_base_delay (0.3)
174
- # The base delay in seconds used by the default backoff function.
206
+ # The base delay in seconds used by the default backoff function. This option
207
+ # is only used in the `legacy` retry mode.
175
208
  #
176
209
  # @option options [Symbol] :retry_jitter (:none)
177
- # A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
210
+ # A delay randomiser function used by the default backoff function.
211
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
212
+ # otherwise a Proc that takes and returns a number. This option is only used
213
+ # in the `legacy` retry mode.
178
214
  #
179
215
  # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
180
216
  #
@@ -182,11 +218,30 @@ module Aws::Greengrass
182
218
  # The maximum number of times to retry failed requests. Only
183
219
  # ~ 500 level server errors and certain ~ 400 level client errors
184
220
  # are retried. Generally, these are throttling errors, data
185
- # checksum errors, networking errors, timeout errors and auth
186
- # errors from expired credentials.
221
+ # checksum errors, networking errors, timeout errors, auth errors,
222
+ # endpoint discovery, and errors from expired credentials.
223
+ # This option is only used in the `legacy` retry mode.
187
224
  #
188
225
  # @option options [Integer] :retry_max_delay (0)
189
- # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
226
+ # The maximum number of seconds to delay between retries (0 for no limit)
227
+ # used by the default backoff function. This option is only used in the
228
+ # `legacy` retry mode.
229
+ #
230
+ # @option options [String] :retry_mode ("legacy")
231
+ # Specifies which retry algorithm to use. Values are:
232
+ #
233
+ # * `legacy` - The pre-existing retry behavior. This is default value if
234
+ # no retry mode is provided.
235
+ #
236
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
237
+ # This includes support for retry quotas, which limit the number of
238
+ # unsuccessful retries a client can make.
239
+ #
240
+ # * `adaptive` - An experimental retry mode that includes all the
241
+ # functionality of `standard` mode along with automatic client side
242
+ # throttling. This is a provisional mode that may change behavior
243
+ # in the future.
244
+ #
190
245
  #
191
246
  # @option options [String] :secret_access_key
192
247
  #
@@ -209,16 +264,15 @@ module Aws::Greengrass
209
264
  # requests through. Formatted like 'http://proxy.com:123'.
210
265
  #
211
266
  # @option options [Float] :http_open_timeout (15) The number of
212
- # seconds to wait when opening a HTTP session before rasing a
267
+ # seconds to wait when opening a HTTP session before raising a
213
268
  # `Timeout::Error`.
214
269
  #
215
270
  # @option options [Integer] :http_read_timeout (60) The default
216
271
  # number of seconds to wait for response data. This value can
217
- # safely be set
218
- # per-request on the session yeidled by {#session_for}.
272
+ # safely be set per-request on the session.
219
273
  #
220
274
  # @option options [Float] :http_idle_timeout (5) The number of
221
- # seconds a connection is allowed to sit idble before it is
275
+ # seconds a connection is allowed to sit idle before it is
222
276
  # considered stale. Stale connections are closed and removed
223
277
  # from the pool before making a request.
224
278
  #
@@ -227,7 +281,7 @@ module Aws::Greengrass
227
281
  # request body. This option has no effect unless the request has
228
282
  # "Expect" header set to "100-continue". Defaults to `nil` which
229
283
  # disables this behaviour. This value can safely be set per
230
- # request on the session yeidled by {#session_for}.
284
+ # request on the session.
231
285
  #
232
286
  # @option options [Boolean] :http_wire_trace (false) When `true`,
233
287
  # HTTP debug output will be sent to the `:logger`.
@@ -1202,10 +1256,18 @@ module Aws::Greengrass
1202
1256
  # },
1203
1257
  # s3_machine_learning_model_resource_data: {
1204
1258
  # destination_path: "__string",
1259
+ # owner_setting: {
1260
+ # group_owner: "__string", # required
1261
+ # group_permission: "ro", # required, accepts ro, rw
1262
+ # },
1205
1263
  # s3_uri: "__string",
1206
1264
  # },
1207
1265
  # sage_maker_machine_learning_model_resource_data: {
1208
1266
  # destination_path: "__string",
1267
+ # owner_setting: {
1268
+ # group_owner: "__string", # required
1269
+ # group_permission: "ro", # required, accepts ro, rw
1270
+ # },
1209
1271
  # sage_maker_job_arn: "__string",
1210
1272
  # },
1211
1273
  # secrets_manager_secret_resource_data: {
@@ -1284,10 +1346,18 @@ module Aws::Greengrass
1284
1346
  # },
1285
1347
  # s3_machine_learning_model_resource_data: {
1286
1348
  # destination_path: "__string",
1349
+ # owner_setting: {
1350
+ # group_owner: "__string", # required
1351
+ # group_permission: "ro", # required, accepts ro, rw
1352
+ # },
1287
1353
  # s3_uri: "__string",
1288
1354
  # },
1289
1355
  # sage_maker_machine_learning_model_resource_data: {
1290
1356
  # destination_path: "__string",
1357
+ # owner_setting: {
1358
+ # group_owner: "__string", # required
1359
+ # group_permission: "ro", # required, accepts ro, rw
1360
+ # },
1291
1361
  # sage_maker_job_arn: "__string",
1292
1362
  # },
1293
1363
  # secrets_manager_secret_resource_data: {
@@ -1358,8 +1428,8 @@ module Aws::Greengrass
1358
1428
  # software_to_update: "core", # required, accepts core, ota_agent
1359
1429
  # update_agent_log_level: "NONE", # accepts NONE, TRACE, DEBUG, VERBOSE, INFO, WARN, ERROR, FATAL
1360
1430
  # update_targets: ["__string"], # required
1361
- # update_targets_architecture: "armv6l", # required, accepts armv6l, armv7l, x86_64, aarch64, openwrt
1362
- # update_targets_operating_system: "ubuntu", # required, accepts ubuntu, raspbian, amazon_linux
1431
+ # update_targets_architecture: "armv6l", # required, accepts armv6l, armv7l, x86_64, aarch64
1432
+ # update_targets_operating_system: "ubuntu", # required, accepts ubuntu, raspbian, amazon_linux, openwrt
1363
1433
  # })
1364
1434
  #
1365
1435
  # @example Response structure
@@ -2541,8 +2611,12 @@ module Aws::Greengrass
2541
2611
  # resp.definition.resources[0].resource_data_container.local_volume_resource_data.group_owner_setting.group_owner #=> String
2542
2612
  # resp.definition.resources[0].resource_data_container.local_volume_resource_data.source_path #=> String
2543
2613
  # resp.definition.resources[0].resource_data_container.s3_machine_learning_model_resource_data.destination_path #=> String
2614
+ # resp.definition.resources[0].resource_data_container.s3_machine_learning_model_resource_data.owner_setting.group_owner #=> String
2615
+ # resp.definition.resources[0].resource_data_container.s3_machine_learning_model_resource_data.owner_setting.group_permission #=> String, one of "ro", "rw"
2544
2616
  # resp.definition.resources[0].resource_data_container.s3_machine_learning_model_resource_data.s3_uri #=> String
2545
2617
  # resp.definition.resources[0].resource_data_container.sage_maker_machine_learning_model_resource_data.destination_path #=> String
2618
+ # resp.definition.resources[0].resource_data_container.sage_maker_machine_learning_model_resource_data.owner_setting.group_owner #=> String
2619
+ # resp.definition.resources[0].resource_data_container.sage_maker_machine_learning_model_resource_data.owner_setting.group_permission #=> String, one of "ro", "rw"
2546
2620
  # resp.definition.resources[0].resource_data_container.sage_maker_machine_learning_model_resource_data.sage_maker_job_arn #=> String
2547
2621
  # resp.definition.resources[0].resource_data_container.secrets_manager_secret_resource_data.arn #=> String
2548
2622
  # resp.definition.resources[0].resource_data_container.secrets_manager_secret_resource_data.additional_staging_labels_to_download #=> Array
@@ -3946,7 +4020,7 @@ module Aws::Greengrass
3946
4020
  params: params,
3947
4021
  config: config)
3948
4022
  context[:gem_name] = 'aws-sdk-greengrass'
3949
- context[:gem_version] = '1.26.0'
4023
+ context[:gem_version] = '1.31.0'
3950
4024
  Seahorse::Client::Request.new(handlers, context)
3951
4025
  end
3952
4026
 
@@ -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
 
@@ -6,6 +6,30 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::Greengrass
9
+
10
+ # When Greengrass returns an error response, the Ruby SDK constructs and raises an error.
11
+ # These errors all extend Aws::Greengrass::Errors::ServiceError < {Aws::Errors::ServiceError}
12
+ #
13
+ # You can rescue all Greengrass errors using ServiceError:
14
+ #
15
+ # begin
16
+ # # do stuff
17
+ # rescue Aws::Greengrass::Errors::ServiceError
18
+ # # rescues all Greengrass API errors
19
+ # end
20
+ #
21
+ #
22
+ # ## Request Context
23
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
24
+ # information about the request that generated the error.
25
+ # See {Seahorse::Client::RequestContext} for more information.
26
+ #
27
+ # ## Error Classes
28
+ # * {BadRequestException}
29
+ # * {InternalServerErrorException}
30
+ #
31
+ # Additionally, error classes are dynamically generated for service errors based on the error code
32
+ # if they are not defined above.
9
33
  module Errors
10
34
 
11
35
  extend Aws::Errors::DynamicErrors
@@ -28,7 +52,6 @@ module Aws::Greengrass
28
52
  def message
29
53
  @message || @data[:message]
30
54
  end
31
-
32
55
  end
33
56
 
34
57
  class InternalServerErrorException < ServiceError
@@ -49,7 +72,6 @@ module Aws::Greengrass
49
72
  def message
50
73
  @message || @data[:message]
51
74
  end
52
-
53
75
  end
54
76
 
55
77
  end
@@ -6,6 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::Greengrass
9
+
9
10
  class Resource
10
11
 
11
12
  # @param options ({})
@@ -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, openwrt
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.26.0
4
+ version: 1.31.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-10-11 00:00:00.000000000 Z
11
+ date: 2020-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.61.1
22
+ version: 3.71.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.61.1
32
+ version: 3.71.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 2.5.2.3
84
+ rubygems_version: 2.7.6.2
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: AWS SDK for Ruby - AWS Greengrass