aws-sdk-greengrass 1.27.0 → 1.32.1

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: 0e88f6c78514d4f1369cf9cae890237057605e5d
4
- data.tar.gz: aad89f1c88f6532cc94d467c1ade30e9bab06a53
2
+ SHA256:
3
+ metadata.gz: c7cb53fd59b8727521fc77b1be1306c7e97bbe2479d933a76f698639fa5a158c
4
+ data.tar.gz: 552fba6ed26b885d8e90532fbb140c56587c0285bd6ed48782cf719455d477c8
5
5
  SHA512:
6
- metadata.gz: 9aedf4ab7af081bceea700994a9cb6b61751caae9b96153a2089dd7fb99c97bc1d95fe662526b5b0fbc8611aabc1904893bbc930b68dd832a27798c489c54604
7
- data.tar.gz: b11372df451076ff88d19e47ecdc03302cd656d38eabe76434b5955b060e25a7eb98412d0e2d66b44dab3fb9eeaf05450474a84af280abbe809de797d7f5dbfd
6
+ metadata.gz: 750567b1e50b457ed722843568a2edb6023713ebd6dacc113b298489c1e9f4a10a1dbd2b2a1e07d65c01adad0b4c57ca2c1a6473129952623eb78eca207fad1a
7
+ data.tar.gz: 320b86e9969a9797d1f5da184baccb2c57fa4a1877e2fcd6436f8cf6b29d2fd853401f19b073d98f2854b1f3cafee302a5871f3f10f212a0da21d8ed00b6db84
@@ -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.27.0'
48
+ GEM_VERSION = '1.32.1'
46
49
 
47
50
  end
@@ -24,12 +24,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
24
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
25
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
26
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
27
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
28
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
29
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
29
30
 
30
31
  Aws::Plugins::GlobalConfiguration.add_identifier(:greengrass)
31
32
 
32
33
  module Aws::Greengrass
34
+ # An API client for Greengrass. To construct a client, you need to configure a `:region` and `:credentials`.
35
+ #
36
+ # client = Aws::Greengrass::Client.new(
37
+ # region: region_name,
38
+ # credentials: credentials,
39
+ # # ...
40
+ # )
41
+ #
42
+ # For details on configuring region and credentials see
43
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
44
+ #
45
+ # See {#initialize} for a full list of supported configuration options.
33
46
  class Client < Seahorse::Client::Base
34
47
 
35
48
  include Aws::ClientStubs
@@ -57,6 +70,7 @@ module Aws::Greengrass
57
70
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
58
71
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
59
72
  add_plugin(Aws::Plugins::TransferEncoding)
73
+ add_plugin(Aws::Plugins::HttpChecksum)
60
74
  add_plugin(Aws::Plugins::SignatureV4)
61
75
  add_plugin(Aws::Plugins::Protocols::RestJson)
62
76
 
@@ -93,7 +107,7 @@ module Aws::Greengrass
93
107
  # @option options [required, String] :region
94
108
  # The AWS region to connect to. The configured `:region` is
95
109
  # used to determine the service `:endpoint`. When not passed,
96
- # a default `:region` is search for in the following locations:
110
+ # a default `:region` is searched for in the following locations:
97
111
  #
98
112
  # * `Aws.config[:region]`
99
113
  # * `ENV['AWS_REGION']`
@@ -108,6 +122,12 @@ module Aws::Greengrass
108
122
  # When set to `true`, a thread polling for endpoints will be running in
109
123
  # the background every 60 secs (default). Defaults to `false`.
110
124
  #
125
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
126
+ # Used only in `adaptive` retry mode. When true, the request will sleep
127
+ # until there is sufficent client side capacity to retry the request.
128
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
129
+ # not retry instead of sleeping.
130
+ #
111
131
  # @option options [Boolean] :client_side_monitoring (false)
112
132
  # When `true`, client-side metrics will be collected for all API requests from
113
133
  # this client.
@@ -132,6 +152,10 @@ module Aws::Greengrass
132
152
  # When `true`, an attempt is made to coerce request parameters into
133
153
  # the required types.
134
154
  #
155
+ # @option options [Boolean] :correct_clock_skew (true)
156
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
157
+ # a clock skew correction and retry requests with skewed client clocks.
158
+ #
135
159
  # @option options [Boolean] :disable_host_prefix_injection (false)
136
160
  # Set to true to disable SDK automatically adding host prefix
137
161
  # to default service endpoint when available.
@@ -139,7 +163,7 @@ module Aws::Greengrass
139
163
  # @option options [String] :endpoint
140
164
  # The client endpoint is normally constructed from the `:region`
141
165
  # option. You should only configure an `:endpoint` when connecting
142
- # to test endpoints. This should be avalid HTTP(S) URI.
166
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
143
167
  #
144
168
  # @option options [Integer] :endpoint_cache_max_entries (1000)
145
169
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -154,7 +178,7 @@ module Aws::Greengrass
154
178
  # requests fetching endpoints information. Defaults to 60 sec.
155
179
  #
156
180
  # @option options [Boolean] :endpoint_discovery (false)
157
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
181
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
158
182
  #
159
183
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
160
184
  # The log formatter.
@@ -166,15 +190,29 @@ module Aws::Greengrass
166
190
  # The Logger instance to send log messages to. If this option
167
191
  # is not set, logging will be disabled.
168
192
  #
193
+ # @option options [Integer] :max_attempts (3)
194
+ # An integer representing the maximum number attempts that will be made for
195
+ # a single request, including the initial attempt. For example,
196
+ # setting this value to 5 will result in a request being retried up to
197
+ # 4 times. Used in `standard` and `adaptive` retry modes.
198
+ #
169
199
  # @option options [String] :profile ("default")
170
200
  # Used when loading credentials from the shared credentials file
171
201
  # at HOME/.aws/credentials. When not specified, 'default' is used.
172
202
  #
203
+ # @option options [Proc] :retry_backoff
204
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
205
+ # This option is only used in the `legacy` retry mode.
206
+ #
173
207
  # @option options [Float] :retry_base_delay (0.3)
174
- # The base delay in seconds used by the default backoff function.
208
+ # The base delay in seconds used by the default backoff function. This option
209
+ # is only used in the `legacy` retry mode.
175
210
  #
176
211
  # @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.
212
+ # A delay randomiser function used by the default backoff function.
213
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
214
+ # otherwise a Proc that takes and returns a number. This option is only used
215
+ # in the `legacy` retry mode.
178
216
  #
179
217
  # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
180
218
  #
@@ -182,11 +220,30 @@ module Aws::Greengrass
182
220
  # The maximum number of times to retry failed requests. Only
183
221
  # ~ 500 level server errors and certain ~ 400 level client errors
184
222
  # are retried. Generally, these are throttling errors, data
185
- # checksum errors, networking errors, timeout errors and auth
186
- # errors from expired credentials.
223
+ # checksum errors, networking errors, timeout errors, auth errors,
224
+ # endpoint discovery, and errors from expired credentials.
225
+ # This option is only used in the `legacy` retry mode.
187
226
  #
188
227
  # @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.
228
+ # The maximum number of seconds to delay between retries (0 for no limit)
229
+ # used by the default backoff function. This option is only used in the
230
+ # `legacy` retry mode.
231
+ #
232
+ # @option options [String] :retry_mode ("legacy")
233
+ # Specifies which retry algorithm to use. Values are:
234
+ #
235
+ # * `legacy` - The pre-existing retry behavior. This is default value if
236
+ # no retry mode is provided.
237
+ #
238
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
239
+ # This includes support for retry quotas, which limit the number of
240
+ # unsuccessful retries a client can make.
241
+ #
242
+ # * `adaptive` - An experimental retry mode that includes all the
243
+ # functionality of `standard` mode along with automatic client side
244
+ # throttling. This is a provisional mode that may change behavior
245
+ # in the future.
246
+ #
190
247
  #
191
248
  # @option options [String] :secret_access_key
192
249
  #
@@ -209,16 +266,15 @@ module Aws::Greengrass
209
266
  # requests through. Formatted like 'http://proxy.com:123'.
210
267
  #
211
268
  # @option options [Float] :http_open_timeout (15) The number of
212
- # seconds to wait when opening a HTTP session before rasing a
269
+ # seconds to wait when opening a HTTP session before raising a
213
270
  # `Timeout::Error`.
214
271
  #
215
272
  # @option options [Integer] :http_read_timeout (60) The default
216
273
  # 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}.
274
+ # safely be set per-request on the session.
219
275
  #
220
276
  # @option options [Float] :http_idle_timeout (5) The number of
221
- # seconds a connection is allowed to sit idble before it is
277
+ # seconds a connection is allowed to sit idle before it is
222
278
  # considered stale. Stale connections are closed and removed
223
279
  # from the pool before making a request.
224
280
  #
@@ -227,7 +283,7 @@ module Aws::Greengrass
227
283
  # request body. This option has no effect unless the request has
228
284
  # "Expect" header set to "100-continue". Defaults to `nil` which
229
285
  # disables this behaviour. This value can safely be set per
230
- # request on the session yeidled by {#session_for}.
286
+ # request on the session.
231
287
  #
232
288
  # @option options [Boolean] :http_wire_trace (false) When `true`,
233
289
  # HTTP debug output will be sent to the `:logger`.
@@ -1202,10 +1258,18 @@ module Aws::Greengrass
1202
1258
  # },
1203
1259
  # s3_machine_learning_model_resource_data: {
1204
1260
  # destination_path: "__string",
1261
+ # owner_setting: {
1262
+ # group_owner: "__string", # required
1263
+ # group_permission: "ro", # required, accepts ro, rw
1264
+ # },
1205
1265
  # s3_uri: "__string",
1206
1266
  # },
1207
1267
  # sage_maker_machine_learning_model_resource_data: {
1208
1268
  # destination_path: "__string",
1269
+ # owner_setting: {
1270
+ # group_owner: "__string", # required
1271
+ # group_permission: "ro", # required, accepts ro, rw
1272
+ # },
1209
1273
  # sage_maker_job_arn: "__string",
1210
1274
  # },
1211
1275
  # secrets_manager_secret_resource_data: {
@@ -1284,10 +1348,18 @@ module Aws::Greengrass
1284
1348
  # },
1285
1349
  # s3_machine_learning_model_resource_data: {
1286
1350
  # destination_path: "__string",
1351
+ # owner_setting: {
1352
+ # group_owner: "__string", # required
1353
+ # group_permission: "ro", # required, accepts ro, rw
1354
+ # },
1287
1355
  # s3_uri: "__string",
1288
1356
  # },
1289
1357
  # sage_maker_machine_learning_model_resource_data: {
1290
1358
  # destination_path: "__string",
1359
+ # owner_setting: {
1360
+ # group_owner: "__string", # required
1361
+ # group_permission: "ro", # required, accepts ro, rw
1362
+ # },
1291
1363
  # sage_maker_job_arn: "__string",
1292
1364
  # },
1293
1365
  # secrets_manager_secret_resource_data: {
@@ -1358,8 +1430,8 @@ module Aws::Greengrass
1358
1430
  # software_to_update: "core", # required, accepts core, ota_agent
1359
1431
  # update_agent_log_level: "NONE", # accepts NONE, TRACE, DEBUG, VERBOSE, INFO, WARN, ERROR, FATAL
1360
1432
  # 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
1433
+ # update_targets_architecture: "armv6l", # required, accepts armv6l, armv7l, x86_64, aarch64
1434
+ # update_targets_operating_system: "ubuntu", # required, accepts ubuntu, raspbian, amazon_linux, openwrt
1363
1435
  # })
1364
1436
  #
1365
1437
  # @example Response structure
@@ -2541,8 +2613,12 @@ module Aws::Greengrass
2541
2613
  # resp.definition.resources[0].resource_data_container.local_volume_resource_data.group_owner_setting.group_owner #=> String
2542
2614
  # resp.definition.resources[0].resource_data_container.local_volume_resource_data.source_path #=> String
2543
2615
  # resp.definition.resources[0].resource_data_container.s3_machine_learning_model_resource_data.destination_path #=> String
2616
+ # resp.definition.resources[0].resource_data_container.s3_machine_learning_model_resource_data.owner_setting.group_owner #=> String
2617
+ # resp.definition.resources[0].resource_data_container.s3_machine_learning_model_resource_data.owner_setting.group_permission #=> String, one of "ro", "rw"
2544
2618
  # resp.definition.resources[0].resource_data_container.s3_machine_learning_model_resource_data.s3_uri #=> String
2545
2619
  # resp.definition.resources[0].resource_data_container.sage_maker_machine_learning_model_resource_data.destination_path #=> String
2620
+ # resp.definition.resources[0].resource_data_container.sage_maker_machine_learning_model_resource_data.owner_setting.group_owner #=> String
2621
+ # resp.definition.resources[0].resource_data_container.sage_maker_machine_learning_model_resource_data.owner_setting.group_permission #=> String, one of "ro", "rw"
2546
2622
  # resp.definition.resources[0].resource_data_container.sage_maker_machine_learning_model_resource_data.sage_maker_job_arn #=> String
2547
2623
  # resp.definition.resources[0].resource_data_container.secrets_manager_secret_resource_data.arn #=> String
2548
2624
  # resp.definition.resources[0].resource_data_container.secrets_manager_secret_resource_data.additional_staging_labels_to_download #=> Array
@@ -3946,7 +4022,7 @@ module Aws::Greengrass
3946
4022
  params: params,
3947
4023
  config: config)
3948
4024
  context[:gem_name] = 'aws-sdk-greengrass'
3949
- context[:gem_version] = '1.27.0'
4025
+ context[:gem_version] = '1.32.1'
3950
4026
  Seahorse::Client::Request.new(handlers, context)
3951
4027
  end
3952
4028
 
@@ -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.27.0
4
+ version: 1.32.1
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-23 00:00:00.000000000 Z
11
+ date: 2020-06-11 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.71.0
22
+ version: 3.99.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.71.0
32
+ version: 3.99.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