aws-sdk-s3outposts 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 58ec88a889f6e71617abb5255dff6acd7a636f7647ae01bfb78fc0943367fbbb
4
+ data.tar.gz: 1a4d8590aa84fb3697f594a3bcbfb44b3b2fe794a09b604dca59974903b2ac4d
5
+ SHA512:
6
+ metadata.gz: 3b4b881c6e31abace084b3a4f86b1e861c059e7aaabc31a4238a67bd317dcabd2cdd8c0b58bb56344572d25dca44ec9beeb9dff1254b5bb7eed705ccdf8a44b7
7
+ data.tar.gz: 3c4158e4c5a5f65e5c9be76a070fe54fd7a15d39f19ba3c1b2ef12db3d267f17029d7769f84b535f5ee183e9a7b71fb075261b80f34cd92521e8e873749c1d52
@@ -0,0 +1,53 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ require 'aws-sdk-core'
12
+ require 'aws-sigv4'
13
+
14
+ require_relative 'aws-sdk-s3outposts/types'
15
+ require_relative 'aws-sdk-s3outposts/client_api'
16
+ require_relative 'aws-sdk-s3outposts/client'
17
+ require_relative 'aws-sdk-s3outposts/errors'
18
+ require_relative 'aws-sdk-s3outposts/resource'
19
+ require_relative 'aws-sdk-s3outposts/customizations'
20
+
21
+ # This module provides support for Amazon S3 on Outposts. This module is available in the
22
+ # `aws-sdk-s3outposts` gem.
23
+ #
24
+ # # Client
25
+ #
26
+ # The {Client} class provides one method for each API operation. Operation
27
+ # methods each accept a hash of request parameters and return a response
28
+ # structure.
29
+ #
30
+ # s3_outposts = Aws::S3Outposts::Client.new
31
+ # resp = s3_outposts.create_endpoint(params)
32
+ #
33
+ # See {Client} for more information.
34
+ #
35
+ # # Errors
36
+ #
37
+ # Errors returned from Amazon S3 on Outposts are defined in the
38
+ # {Errors} module and all extend {Errors::ServiceError}.
39
+ #
40
+ # begin
41
+ # # do stuff
42
+ # rescue Aws::S3Outposts::Errors::ServiceError
43
+ # # rescues all Amazon S3 on Outposts API errors
44
+ # end
45
+ #
46
+ # See {Errors} for more information.
47
+ #
48
+ # @!group service
49
+ module Aws::S3Outposts
50
+
51
+ GEM_VERSION = '1.0.0'
52
+
53
+ end
@@ -0,0 +1,525 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ require 'seahorse/client/plugins/content_length.rb'
11
+ require 'aws-sdk-core/plugins/credentials_configuration.rb'
12
+ require 'aws-sdk-core/plugins/logging.rb'
13
+ require 'aws-sdk-core/plugins/param_converter.rb'
14
+ require 'aws-sdk-core/plugins/param_validator.rb'
15
+ require 'aws-sdk-core/plugins/user_agent.rb'
16
+ require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
17
+ require 'aws-sdk-core/plugins/retry_errors.rb'
18
+ require 'aws-sdk-core/plugins/global_configuration.rb'
19
+ require 'aws-sdk-core/plugins/regional_endpoint.rb'
20
+ require 'aws-sdk-core/plugins/endpoint_discovery.rb'
21
+ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
+ require 'aws-sdk-core/plugins/response_paging.rb'
23
+ require 'aws-sdk-core/plugins/stub_responses.rb'
24
+ require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
+ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
+ require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
+ require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/signature_v4.rb'
31
+ require 'aws-sdk-core/plugins/protocols/rest_json.rb'
32
+
33
+ Aws::Plugins::GlobalConfiguration.add_identifier(:s3outposts)
34
+
35
+ module Aws::S3Outposts
36
+ # An API client for S3Outposts. To construct a client, you need to configure a `:region` and `:credentials`.
37
+ #
38
+ # client = Aws::S3Outposts::Client.new(
39
+ # region: region_name,
40
+ # credentials: credentials,
41
+ # # ...
42
+ # )
43
+ #
44
+ # For details on configuring region and credentials see
45
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
46
+ #
47
+ # See {#initialize} for a full list of supported configuration options.
48
+ class Client < Seahorse::Client::Base
49
+
50
+ include Aws::ClientStubs
51
+
52
+ @identifier = :s3outposts
53
+
54
+ set_api(ClientApi::API)
55
+
56
+ add_plugin(Seahorse::Client::Plugins::ContentLength)
57
+ add_plugin(Aws::Plugins::CredentialsConfiguration)
58
+ add_plugin(Aws::Plugins::Logging)
59
+ add_plugin(Aws::Plugins::ParamConverter)
60
+ add_plugin(Aws::Plugins::ParamValidator)
61
+ add_plugin(Aws::Plugins::UserAgent)
62
+ add_plugin(Aws::Plugins::HelpfulSocketErrors)
63
+ add_plugin(Aws::Plugins::RetryErrors)
64
+ add_plugin(Aws::Plugins::GlobalConfiguration)
65
+ add_plugin(Aws::Plugins::RegionalEndpoint)
66
+ add_plugin(Aws::Plugins::EndpointDiscovery)
67
+ add_plugin(Aws::Plugins::EndpointPattern)
68
+ add_plugin(Aws::Plugins::ResponsePaging)
69
+ add_plugin(Aws::Plugins::StubResponses)
70
+ add_plugin(Aws::Plugins::IdempotencyToken)
71
+ add_plugin(Aws::Plugins::JsonvalueConverter)
72
+ add_plugin(Aws::Plugins::ClientMetricsPlugin)
73
+ add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
+ add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
76
+ add_plugin(Aws::Plugins::SignatureV4)
77
+ add_plugin(Aws::Plugins::Protocols::RestJson)
78
+
79
+ # @overload initialize(options)
80
+ # @param [Hash] options
81
+ # @option options [required, Aws::CredentialProvider] :credentials
82
+ # Your AWS credentials. This can be an instance of any one of the
83
+ # following classes:
84
+ #
85
+ # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
+ # credentials.
87
+ #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
102
+ # * `Aws::InstanceProfileCredentials` - Used for loading credentials
103
+ # from an EC2 IMDS on an EC2 instance.
104
+ #
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
107
+ #
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
110
+ #
111
+ # When `:credentials` are not configured directly, the following
112
+ # locations will be searched for credentials:
113
+ #
114
+ # * `Aws.config[:credentials]`
115
+ # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
116
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
117
+ # * `~/.aws/credentials`
118
+ # * `~/.aws/config`
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
123
+ #
124
+ # @option options [required, String] :region
125
+ # The AWS region to connect to. The configured `:region` is
126
+ # used to determine the service `:endpoint`. When not passed,
127
+ # a default `:region` is searched for in the following locations:
128
+ #
129
+ # * `Aws.config[:region]`
130
+ # * `ENV['AWS_REGION']`
131
+ # * `ENV['AMAZON_REGION']`
132
+ # * `ENV['AWS_DEFAULT_REGION']`
133
+ # * `~/.aws/credentials`
134
+ # * `~/.aws/config`
135
+ #
136
+ # @option options [String] :access_key_id
137
+ #
138
+ # @option options [Boolean] :active_endpoint_cache (false)
139
+ # When set to `true`, a thread polling for endpoints will be running in
140
+ # the background every 60 secs (default). Defaults to `false`.
141
+ #
142
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
143
+ # Used only in `adaptive` retry mode. When true, the request will sleep
144
+ # until there is sufficent client side capacity to retry the request.
145
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
146
+ # not retry instead of sleeping.
147
+ #
148
+ # @option options [Boolean] :client_side_monitoring (false)
149
+ # When `true`, client-side metrics will be collected for all API requests from
150
+ # this client.
151
+ #
152
+ # @option options [String] :client_side_monitoring_client_id ("")
153
+ # Allows you to provide an identifier for this client which will be attached to
154
+ # all generated client side metrics. Defaults to an empty string.
155
+ #
156
+ # @option options [String] :client_side_monitoring_host ("127.0.0.1")
157
+ # Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client
158
+ # side monitoring agent is running on, where client metrics will be published via UDP.
159
+ #
160
+ # @option options [Integer] :client_side_monitoring_port (31000)
161
+ # Required for publishing client metrics. The port that the client side monitoring
162
+ # agent is running on, where client metrics will be published via UDP.
163
+ #
164
+ # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
165
+ # Allows you to provide a custom client-side monitoring publisher class. By default,
166
+ # will use the Client Side Monitoring Agent Publisher.
167
+ #
168
+ # @option options [Boolean] :convert_params (true)
169
+ # When `true`, an attempt is made to coerce request parameters into
170
+ # the required types.
171
+ #
172
+ # @option options [Boolean] :correct_clock_skew (true)
173
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
+ # a clock skew correction and retry requests with skewed client clocks.
175
+ #
176
+ # @option options [Boolean] :disable_host_prefix_injection (false)
177
+ # Set to true to disable SDK automatically adding host prefix
178
+ # to default service endpoint when available.
179
+ #
180
+ # @option options [String] :endpoint
181
+ # The client endpoint is normally constructed from the `:region`
182
+ # option. You should only configure an `:endpoint` when connecting
183
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
184
+ #
185
+ # @option options [Integer] :endpoint_cache_max_entries (1000)
186
+ # Used for the maximum size limit of the LRU cache storing endpoints data
187
+ # for endpoint discovery enabled operations. Defaults to 1000.
188
+ #
189
+ # @option options [Integer] :endpoint_cache_max_threads (10)
190
+ # Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
191
+ #
192
+ # @option options [Integer] :endpoint_cache_poll_interval (60)
193
+ # When :endpoint_discovery and :active_endpoint_cache is enabled,
194
+ # Use this option to config the time interval in seconds for making
195
+ # requests fetching endpoints information. Defaults to 60 sec.
196
+ #
197
+ # @option options [Boolean] :endpoint_discovery (false)
198
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
199
+ #
200
+ # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
201
+ # The log formatter.
202
+ #
203
+ # @option options [Symbol] :log_level (:info)
204
+ # The log level to send messages to the `:logger` at.
205
+ #
206
+ # @option options [Logger] :logger
207
+ # The Logger instance to send log messages to. If this option
208
+ # is not set, logging will be disabled.
209
+ #
210
+ # @option options [Integer] :max_attempts (3)
211
+ # An integer representing the maximum number attempts that will be made for
212
+ # a single request, including the initial attempt. For example,
213
+ # setting this value to 5 will result in a request being retried up to
214
+ # 4 times. Used in `standard` and `adaptive` retry modes.
215
+ #
216
+ # @option options [String] :profile ("default")
217
+ # Used when loading credentials from the shared credentials file
218
+ # at HOME/.aws/credentials. When not specified, 'default' is used.
219
+ #
220
+ # @option options [Proc] :retry_backoff
221
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
222
+ # This option is only used in the `legacy` retry mode.
223
+ #
224
+ # @option options [Float] :retry_base_delay (0.3)
225
+ # The base delay in seconds used by the default backoff function. This option
226
+ # is only used in the `legacy` retry mode.
227
+ #
228
+ # @option options [Symbol] :retry_jitter (:none)
229
+ # A delay randomiser function used by the default backoff function.
230
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
231
+ # otherwise a Proc that takes and returns a number. This option is only used
232
+ # in the `legacy` retry mode.
233
+ #
234
+ # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
235
+ #
236
+ # @option options [Integer] :retry_limit (3)
237
+ # The maximum number of times to retry failed requests. Only
238
+ # ~ 500 level server errors and certain ~ 400 level client errors
239
+ # are retried. Generally, these are throttling errors, data
240
+ # checksum errors, networking errors, timeout errors, auth errors,
241
+ # endpoint discovery, and errors from expired credentials.
242
+ # This option is only used in the `legacy` retry mode.
243
+ #
244
+ # @option options [Integer] :retry_max_delay (0)
245
+ # The maximum number of seconds to delay between retries (0 for no limit)
246
+ # used by the default backoff function. This option is only used in the
247
+ # `legacy` retry mode.
248
+ #
249
+ # @option options [String] :retry_mode ("legacy")
250
+ # Specifies which retry algorithm to use. Values are:
251
+ #
252
+ # * `legacy` - The pre-existing retry behavior. This is default value if
253
+ # no retry mode is provided.
254
+ #
255
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
256
+ # This includes support for retry quotas, which limit the number of
257
+ # unsuccessful retries a client can make.
258
+ #
259
+ # * `adaptive` - An experimental retry mode that includes all the
260
+ # functionality of `standard` mode along with automatic client side
261
+ # throttling. This is a provisional mode that may change behavior
262
+ # in the future.
263
+ #
264
+ #
265
+ # @option options [String] :secret_access_key
266
+ #
267
+ # @option options [String] :session_token
268
+ #
269
+ # @option options [Boolean] :stub_responses (false)
270
+ # Causes the client to return stubbed responses. By default
271
+ # fake responses are generated and returned. You can specify
272
+ # the response data to return or errors to raise by calling
273
+ # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
274
+ #
275
+ # ** Please note ** When response stubbing is enabled, no HTTP
276
+ # requests are made, and retries are disabled.
277
+ #
278
+ # @option options [Boolean] :validate_params (true)
279
+ # When `true`, request parameters are validated before
280
+ # sending the request.
281
+ #
282
+ # @option options [URI::HTTP,String] :http_proxy A proxy to send
283
+ # requests through. Formatted like 'http://proxy.com:123'.
284
+ #
285
+ # @option options [Float] :http_open_timeout (15) The number of
286
+ # seconds to wait when opening a HTTP session before raising a
287
+ # `Timeout::Error`.
288
+ #
289
+ # @option options [Integer] :http_read_timeout (60) The default
290
+ # number of seconds to wait for response data. This value can
291
+ # safely be set per-request on the session.
292
+ #
293
+ # @option options [Float] :http_idle_timeout (5) The number of
294
+ # seconds a connection is allowed to sit idle before it is
295
+ # considered stale. Stale connections are closed and removed
296
+ # from the pool before making a request.
297
+ #
298
+ # @option options [Float] :http_continue_timeout (1) The number of
299
+ # seconds to wait for a 100-continue response before sending the
300
+ # request body. This option has no effect unless the request has
301
+ # "Expect" header set to "100-continue". Defaults to `nil` which
302
+ # disables this behaviour. This value can safely be set per
303
+ # request on the session.
304
+ #
305
+ # @option options [Boolean] :http_wire_trace (false) When `true`,
306
+ # HTTP debug output will be sent to the `:logger`.
307
+ #
308
+ # @option options [Boolean] :ssl_verify_peer (true) When `true`,
309
+ # SSL peer certificates are verified when establishing a
310
+ # connection.
311
+ #
312
+ # @option options [String] :ssl_ca_bundle Full path to the SSL
313
+ # certificate authority bundle file that should be used when
314
+ # verifying peer certificates. If you do not pass
315
+ # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
316
+ # will be used if available.
317
+ #
318
+ # @option options [String] :ssl_ca_directory Full path of the
319
+ # directory that contains the unbundled SSL certificate
320
+ # authority files for verifying peer certificates. If you do
321
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
322
+ # system default will be used if available.
323
+ #
324
+ def initialize(*args)
325
+ super
326
+ end
327
+
328
+ # @!group API Operations
329
+
330
+ # S3 on Outposts access points simplify managing data access at scale
331
+ # for shared datasets in Amazon S3 on Outposts. S3 on Outposts uses
332
+ # endpoints to connect to Outposts buckets so that you can perform
333
+ # actions within your virtual private cloud (VPC).
334
+ #
335
+ # This action creates an endpoint and associates it with the specified
336
+ # Outpost.
337
+ #
338
+ #
339
+ #
340
+ # Related actions include:
341
+ #
342
+ # * [DeleteEndpoint][1]
343
+ #
344
+ # * [ListEndpoints][2]
345
+ #
346
+ #
347
+ #
348
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_DeleteEndpoint.html
349
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_ListEndpoints.html
350
+ #
351
+ # @option params [required, String] :outpost_id
352
+ # The ID of the AWS Outpost.
353
+ #
354
+ # @option params [required, String] :subnet_id
355
+ # The ID of the subnet in the selected VPC.
356
+ #
357
+ # @option params [required, String] :security_group_id
358
+ # The ID of the security group to use with the endpoint.
359
+ #
360
+ # @return [Types::CreateEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
361
+ #
362
+ # * {Types::CreateEndpointResult#endpoint_arn #endpoint_arn} => String
363
+ #
364
+ # @example Request syntax with placeholder values
365
+ #
366
+ # resp = client.create_endpoint({
367
+ # outpost_id: "OutpostId", # required
368
+ # subnet_id: "SubnetId", # required
369
+ # security_group_id: "SecurityGroupId", # required
370
+ # })
371
+ #
372
+ # @example Response structure
373
+ #
374
+ # resp.endpoint_arn #=> String
375
+ #
376
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/CreateEndpoint AWS API Documentation
377
+ #
378
+ # @overload create_endpoint(params = {})
379
+ # @param [Hash] params ({})
380
+ def create_endpoint(params = {}, options = {})
381
+ req = build_request(:create_endpoint, params)
382
+ req.send_request(options)
383
+ end
384
+
385
+ # S3 on Outposts access points simplify managing data access at scale
386
+ # for shared datasets in Amazon S3 on Outposts. S3 on Outposts uses
387
+ # endpoints to connect to Outposts buckets so that you can perform
388
+ # actions within your virtual private cloud (VPC).
389
+ #
390
+ # This action deletes an endpoint.
391
+ #
392
+ #
393
+ #
394
+ # Related actions include:
395
+ #
396
+ # * [CreateEndpoint][1]
397
+ #
398
+ # * [ListEndpoints][2]
399
+ #
400
+ #
401
+ #
402
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_CreateEndpoint.html
403
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_ListEndpoints.html
404
+ #
405
+ # @option params [required, String] :endpoint_id
406
+ # The ID of the end point.
407
+ #
408
+ # @option params [required, String] :outpost_id
409
+ # The ID of the AWS Outpost.
410
+ #
411
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
412
+ #
413
+ # @example Request syntax with placeholder values
414
+ #
415
+ # resp = client.delete_endpoint({
416
+ # endpoint_id: "EndpointId", # required
417
+ # outpost_id: "OutpostId", # required
418
+ # })
419
+ #
420
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/DeleteEndpoint AWS API Documentation
421
+ #
422
+ # @overload delete_endpoint(params = {})
423
+ # @param [Hash] params ({})
424
+ def delete_endpoint(params = {}, options = {})
425
+ req = build_request(:delete_endpoint, params)
426
+ req.send_request(options)
427
+ end
428
+
429
+ # S3 on Outposts access points simplify managing data access at scale
430
+ # for shared datasets in Amazon S3 on Outposts. S3 on Outposts uses
431
+ # endpoints to connect to Outposts buckets so that you can perform
432
+ # actions within your virtual private cloud (VPC).
433
+ #
434
+ # This action lists endpoints associated with the Outpost.
435
+ #
436
+ #
437
+ #
438
+ # Related actions include:
439
+ #
440
+ # * [CreateEndpoint][1]
441
+ #
442
+ # * [DeleteEndpoint][2]
443
+ #
444
+ #
445
+ #
446
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_CreateEndpoint.html
447
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_DeleteEndpoint.html
448
+ #
449
+ # @option params [String] :next_token
450
+ # The next endpoint requested in the list.
451
+ #
452
+ # @option params [Integer] :max_results
453
+ # The max number of endpoints that can be returned on the request.
454
+ #
455
+ # @return [Types::ListEndpointsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
456
+ #
457
+ # * {Types::ListEndpointsResult#endpoints #endpoints} => Array&lt;Types::Endpoint&gt;
458
+ # * {Types::ListEndpointsResult#next_token #next_token} => String
459
+ #
460
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
461
+ #
462
+ # @example Request syntax with placeholder values
463
+ #
464
+ # resp = client.list_endpoints({
465
+ # next_token: "NextToken",
466
+ # max_results: 1,
467
+ # })
468
+ #
469
+ # @example Response structure
470
+ #
471
+ # resp.endpoints #=> Array
472
+ # resp.endpoints[0].endpoint_arn #=> String
473
+ # resp.endpoints[0].outposts_id #=> String
474
+ # resp.endpoints[0].cidr_block #=> String
475
+ # resp.endpoints[0].status #=> String, one of "PENDING", "AVAILABLE"
476
+ # resp.endpoints[0].creation_time #=> Time
477
+ # resp.endpoints[0].network_interfaces #=> Array
478
+ # resp.endpoints[0].network_interfaces[0].network_interface_id #=> String
479
+ # resp.next_token #=> String
480
+ #
481
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/ListEndpoints AWS API Documentation
482
+ #
483
+ # @overload list_endpoints(params = {})
484
+ # @param [Hash] params ({})
485
+ def list_endpoints(params = {}, options = {})
486
+ req = build_request(:list_endpoints, params)
487
+ req.send_request(options)
488
+ end
489
+
490
+ # @!endgroup
491
+
492
+ # @param params ({})
493
+ # @api private
494
+ def build_request(operation_name, params = {})
495
+ handlers = @handlers.for(operation_name)
496
+ context = Seahorse::Client::RequestContext.new(
497
+ operation_name: operation_name,
498
+ operation: config.api.operation(operation_name),
499
+ client: self,
500
+ params: params,
501
+ config: config)
502
+ context[:gem_name] = 'aws-sdk-s3outposts'
503
+ context[:gem_version] = '1.0.0'
504
+ Seahorse::Client::Request.new(handlers, context)
505
+ end
506
+
507
+ # @api private
508
+ # @deprecated
509
+ def waiter_names
510
+ []
511
+ end
512
+
513
+ class << self
514
+
515
+ # @api private
516
+ attr_reader :identifier
517
+
518
+ # @api private
519
+ def errors_module
520
+ Errors
521
+ end
522
+
523
+ end
524
+ end
525
+ end
@@ -0,0 +1,157 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::S3Outposts
11
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ CidrBlock = Shapes::StringShape.new(name: 'CidrBlock')
18
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
19
+ CreateEndpointRequest = Shapes::StructureShape.new(name: 'CreateEndpointRequest')
20
+ CreateEndpointResult = Shapes::StructureShape.new(name: 'CreateEndpointResult')
21
+ CreationTime = Shapes::TimestampShape.new(name: 'CreationTime')
22
+ DeleteEndpointRequest = Shapes::StructureShape.new(name: 'DeleteEndpointRequest')
23
+ Endpoint = Shapes::StructureShape.new(name: 'Endpoint')
24
+ EndpointArn = Shapes::StringShape.new(name: 'EndpointArn')
25
+ EndpointId = Shapes::StringShape.new(name: 'EndpointId')
26
+ EndpointStatus = Shapes::StringShape.new(name: 'EndpointStatus')
27
+ Endpoints = Shapes::ListShape.new(name: 'Endpoints')
28
+ ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
29
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
30
+ ListEndpointsRequest = Shapes::StructureShape.new(name: 'ListEndpointsRequest')
31
+ ListEndpointsResult = Shapes::StructureShape.new(name: 'ListEndpointsResult')
32
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
33
+ NetworkInterface = Shapes::StructureShape.new(name: 'NetworkInterface')
34
+ NetworkInterfaceId = Shapes::StringShape.new(name: 'NetworkInterfaceId')
35
+ NetworkInterfaces = Shapes::ListShape.new(name: 'NetworkInterfaces')
36
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
37
+ OutpostId = Shapes::StringShape.new(name: 'OutpostId')
38
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
39
+ SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
40
+ SubnetId = Shapes::StringShape.new(name: 'SubnetId')
41
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
42
+
43
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
44
+ AccessDeniedException.struct_class = Types::AccessDeniedException
45
+
46
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
47
+ ConflictException.struct_class = Types::ConflictException
48
+
49
+ CreateEndpointRequest.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, required: true, location_name: "OutpostId"))
50
+ CreateEndpointRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "SubnetId"))
51
+ CreateEndpointRequest.add_member(:security_group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, required: true, location_name: "SecurityGroupId"))
52
+ CreateEndpointRequest.struct_class = Types::CreateEndpointRequest
53
+
54
+ CreateEndpointResult.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: EndpointArn, location_name: "EndpointArn"))
55
+ CreateEndpointResult.struct_class = Types::CreateEndpointResult
56
+
57
+ DeleteEndpointRequest.add_member(:endpoint_id, Shapes::ShapeRef.new(shape: EndpointId, required: true, location: "querystring", location_name: "endpointId"))
58
+ DeleteEndpointRequest.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, required: true, location: "querystring", location_name: "outpostId"))
59
+ DeleteEndpointRequest.struct_class = Types::DeleteEndpointRequest
60
+
61
+ Endpoint.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: EndpointArn, location_name: "EndpointArn"))
62
+ Endpoint.add_member(:outposts_id, Shapes::ShapeRef.new(shape: OutpostId, location_name: "OutpostsId"))
63
+ Endpoint.add_member(:cidr_block, Shapes::ShapeRef.new(shape: CidrBlock, location_name: "CidrBlock"))
64
+ Endpoint.add_member(:status, Shapes::ShapeRef.new(shape: EndpointStatus, location_name: "Status"))
65
+ Endpoint.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, location_name: "CreationTime"))
66
+ Endpoint.add_member(:network_interfaces, Shapes::ShapeRef.new(shape: NetworkInterfaces, location_name: "NetworkInterfaces"))
67
+ Endpoint.struct_class = Types::Endpoint
68
+
69
+ Endpoints.member = Shapes::ShapeRef.new(shape: Endpoint)
70
+
71
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
72
+ InternalServerException.struct_class = Types::InternalServerException
73
+
74
+ ListEndpointsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
75
+ ListEndpointsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
76
+ ListEndpointsRequest.struct_class = Types::ListEndpointsRequest
77
+
78
+ ListEndpointsResult.add_member(:endpoints, Shapes::ShapeRef.new(shape: Endpoints, location_name: "Endpoints"))
79
+ ListEndpointsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
80
+ ListEndpointsResult.struct_class = Types::ListEndpointsResult
81
+
82
+ NetworkInterface.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: NetworkInterfaceId, location_name: "NetworkInterfaceId"))
83
+ NetworkInterface.struct_class = Types::NetworkInterface
84
+
85
+ NetworkInterfaces.member = Shapes::ShapeRef.new(shape: NetworkInterface)
86
+
87
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
88
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
89
+
90
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
91
+ ValidationException.struct_class = Types::ValidationException
92
+
93
+
94
+ # @api private
95
+ API = Seahorse::Model::Api.new.tap do |api|
96
+
97
+ api.version = "2017-07-25"
98
+
99
+ api.metadata = {
100
+ "apiVersion" => "2017-07-25",
101
+ "endpointPrefix" => "s3-outposts",
102
+ "jsonVersion" => "1.1",
103
+ "protocol" => "rest-json",
104
+ "serviceAbbreviation" => "Amazon S3 Outposts",
105
+ "serviceFullName" => "Amazon S3 on Outposts",
106
+ "serviceId" => "S3Outposts",
107
+ "signatureVersion" => "v4",
108
+ "signingName" => "s3-outposts",
109
+ "uid" => "s3outposts-2017-07-25",
110
+ }
111
+
112
+ api.add_operation(:create_endpoint, Seahorse::Model::Operation.new.tap do |o|
113
+ o.name = "CreateEndpoint"
114
+ o.http_method = "POST"
115
+ o.http_request_uri = "/S3Outposts/CreateEndpoint"
116
+ o.input = Shapes::ShapeRef.new(shape: CreateEndpointRequest)
117
+ o.output = Shapes::ShapeRef.new(shape: CreateEndpointResult)
118
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
119
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
120
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
121
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
122
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
123
+ end)
124
+
125
+ api.add_operation(:delete_endpoint, Seahorse::Model::Operation.new.tap do |o|
126
+ o.name = "DeleteEndpoint"
127
+ o.http_method = "DELETE"
128
+ o.http_request_uri = "/S3Outposts/DeleteEndpoint"
129
+ o.input = Shapes::ShapeRef.new(shape: DeleteEndpointRequest)
130
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
131
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
132
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
133
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
134
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
135
+ end)
136
+
137
+ api.add_operation(:list_endpoints, Seahorse::Model::Operation.new.tap do |o|
138
+ o.name = "ListEndpoints"
139
+ o.http_method = "GET"
140
+ o.http_request_uri = "/S3Outposts/ListEndpoints"
141
+ o.input = Shapes::ShapeRef.new(shape: ListEndpointsRequest)
142
+ o.output = Shapes::ShapeRef.new(shape: ListEndpointsResult)
143
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
144
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
145
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
146
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
147
+ o[:pager] = Aws::Pager.new(
148
+ limit_key: "max_results",
149
+ tokens: {
150
+ "next_token" => "next_token"
151
+ }
152
+ )
153
+ end)
154
+ end
155
+
156
+ end
157
+ end
@@ -0,0 +1,118 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::S3Outposts
11
+
12
+ # When S3Outposts returns an error response, the Ruby SDK constructs and raises an error.
13
+ # These errors all extend Aws::S3Outposts::Errors::ServiceError < {Aws::Errors::ServiceError}
14
+ #
15
+ # You can rescue all S3Outposts errors using ServiceError:
16
+ #
17
+ # begin
18
+ # # do stuff
19
+ # rescue Aws::S3Outposts::Errors::ServiceError
20
+ # # rescues all S3Outposts API errors
21
+ # end
22
+ #
23
+ #
24
+ # ## Request Context
25
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
26
+ # information about the request that generated the error.
27
+ # See {Seahorse::Client::RequestContext} for more information.
28
+ #
29
+ # ## Error Classes
30
+ # * {AccessDeniedException}
31
+ # * {ConflictException}
32
+ # * {InternalServerException}
33
+ # * {ResourceNotFoundException}
34
+ # * {ValidationException}
35
+ #
36
+ # Additionally, error classes are dynamically generated for service errors based on the error code
37
+ # if they are not defined above.
38
+ module Errors
39
+
40
+ extend Aws::Errors::DynamicErrors
41
+
42
+ class AccessDeniedException < ServiceError
43
+
44
+ # @param [Seahorse::Client::RequestContext] context
45
+ # @param [String] message
46
+ # @param [Aws::S3Outposts::Types::AccessDeniedException] data
47
+ def initialize(context, message, data = Aws::EmptyStructure.new)
48
+ super(context, message, data)
49
+ end
50
+
51
+ # @return [String]
52
+ def message
53
+ @message || @data[:message]
54
+ end
55
+ end
56
+
57
+ class ConflictException < ServiceError
58
+
59
+ # @param [Seahorse::Client::RequestContext] context
60
+ # @param [String] message
61
+ # @param [Aws::S3Outposts::Types::ConflictException] data
62
+ def initialize(context, message, data = Aws::EmptyStructure.new)
63
+ super(context, message, data)
64
+ end
65
+
66
+ # @return [String]
67
+ def message
68
+ @message || @data[:message]
69
+ end
70
+ end
71
+
72
+ class InternalServerException < ServiceError
73
+
74
+ # @param [Seahorse::Client::RequestContext] context
75
+ # @param [String] message
76
+ # @param [Aws::S3Outposts::Types::InternalServerException] data
77
+ def initialize(context, message, data = Aws::EmptyStructure.new)
78
+ super(context, message, data)
79
+ end
80
+
81
+ # @return [String]
82
+ def message
83
+ @message || @data[:message]
84
+ end
85
+ end
86
+
87
+ class ResourceNotFoundException < ServiceError
88
+
89
+ # @param [Seahorse::Client::RequestContext] context
90
+ # @param [String] message
91
+ # @param [Aws::S3Outposts::Types::ResourceNotFoundException] data
92
+ def initialize(context, message, data = Aws::EmptyStructure.new)
93
+ super(context, message, data)
94
+ end
95
+
96
+ # @return [String]
97
+ def message
98
+ @message || @data[:message]
99
+ end
100
+ end
101
+
102
+ class ValidationException < ServiceError
103
+
104
+ # @param [Seahorse::Client::RequestContext] context
105
+ # @param [String] message
106
+ # @param [Aws::S3Outposts::Types::ValidationException] data
107
+ def initialize(context, message, data = Aws::EmptyStructure.new)
108
+ super(context, message, data)
109
+ end
110
+
111
+ # @return [String]
112
+ def message
113
+ @message || @data[:message]
114
+ end
115
+ end
116
+
117
+ end
118
+ end
@@ -0,0 +1,26 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::S3Outposts
11
+
12
+ class Resource
13
+
14
+ # @param options ({})
15
+ # @option options [Client] :client
16
+ def initialize(options = {})
17
+ @client = options[:client] || Client.new(options)
18
+ end
19
+
20
+ # @return [Client]
21
+ def client
22
+ @client
23
+ end
24
+
25
+ end
26
+ end
@@ -0,0 +1,245 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::S3Outposts
11
+ module Types
12
+
13
+ # Access was denied for this action.
14
+ #
15
+ # @!attribute [rw] message
16
+ # @return [String]
17
+ #
18
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/AccessDeniedException AWS API Documentation
19
+ #
20
+ class AccessDeniedException < Struct.new(
21
+ :message)
22
+ SENSITIVE = []
23
+ include Aws::Structure
24
+ end
25
+
26
+ # There was a conflict with this action, and it could not be completed.
27
+ #
28
+ # @!attribute [rw] message
29
+ # @return [String]
30
+ #
31
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/ConflictException AWS API Documentation
32
+ #
33
+ class ConflictException < Struct.new(
34
+ :message)
35
+ SENSITIVE = []
36
+ include Aws::Structure
37
+ end
38
+
39
+ # @note When making an API call, you may pass CreateEndpointRequest
40
+ # data as a hash:
41
+ #
42
+ # {
43
+ # outpost_id: "OutpostId", # required
44
+ # subnet_id: "SubnetId", # required
45
+ # security_group_id: "SecurityGroupId", # required
46
+ # }
47
+ #
48
+ # @!attribute [rw] outpost_id
49
+ # The ID of the AWS Outpost.
50
+ # @return [String]
51
+ #
52
+ # @!attribute [rw] subnet_id
53
+ # The ID of the subnet in the selected VPC.
54
+ # @return [String]
55
+ #
56
+ # @!attribute [rw] security_group_id
57
+ # The ID of the security group to use with the endpoint.
58
+ # @return [String]
59
+ #
60
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/CreateEndpointRequest AWS API Documentation
61
+ #
62
+ class CreateEndpointRequest < Struct.new(
63
+ :outpost_id,
64
+ :subnet_id,
65
+ :security_group_id)
66
+ SENSITIVE = []
67
+ include Aws::Structure
68
+ end
69
+
70
+ # @!attribute [rw] endpoint_arn
71
+ # The Amazon Resource Name (ARN) of the endpoint.
72
+ # @return [String]
73
+ #
74
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/CreateEndpointResult AWS API Documentation
75
+ #
76
+ class CreateEndpointResult < Struct.new(
77
+ :endpoint_arn)
78
+ SENSITIVE = []
79
+ include Aws::Structure
80
+ end
81
+
82
+ # @note When making an API call, you may pass DeleteEndpointRequest
83
+ # data as a hash:
84
+ #
85
+ # {
86
+ # endpoint_id: "EndpointId", # required
87
+ # outpost_id: "OutpostId", # required
88
+ # }
89
+ #
90
+ # @!attribute [rw] endpoint_id
91
+ # The ID of the end point.
92
+ # @return [String]
93
+ #
94
+ # @!attribute [rw] outpost_id
95
+ # The ID of the AWS Outpost.
96
+ # @return [String]
97
+ #
98
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/DeleteEndpointRequest AWS API Documentation
99
+ #
100
+ class DeleteEndpointRequest < Struct.new(
101
+ :endpoint_id,
102
+ :outpost_id)
103
+ SENSITIVE = []
104
+ include Aws::Structure
105
+ end
106
+
107
+ # S3 on Outposts access points simplify managing data access at scale
108
+ # for shared datasets in Amazon S3 on Outposts. S3 on Outposts uses
109
+ # endpoints to connect to Outposts buckets so that you can perform
110
+ # actions within your virtual private cloud (VPC).
111
+ #
112
+ # @!attribute [rw] endpoint_arn
113
+ # The Amazon Resource Name (ARN) of the endpoint.
114
+ # @return [String]
115
+ #
116
+ # @!attribute [rw] outposts_id
117
+ # The ID of the AWS Outpost.
118
+ # @return [String]
119
+ #
120
+ # @!attribute [rw] cidr_block
121
+ # The VPC CIDR committed by this endpoint.
122
+ # @return [String]
123
+ #
124
+ # @!attribute [rw] status
125
+ # The status of the endpoint.
126
+ # @return [String]
127
+ #
128
+ # @!attribute [rw] creation_time
129
+ # The time the endpoint was created.
130
+ # @return [Time]
131
+ #
132
+ # @!attribute [rw] network_interfaces
133
+ # The network interface of the endpoint.
134
+ # @return [Array<Types::NetworkInterface>]
135
+ #
136
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/Endpoint AWS API Documentation
137
+ #
138
+ class Endpoint < Struct.new(
139
+ :endpoint_arn,
140
+ :outposts_id,
141
+ :cidr_block,
142
+ :status,
143
+ :creation_time,
144
+ :network_interfaces)
145
+ SENSITIVE = []
146
+ include Aws::Structure
147
+ end
148
+
149
+ # There was an exception with the internal server.
150
+ #
151
+ # @!attribute [rw] message
152
+ # @return [String]
153
+ #
154
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/InternalServerException AWS API Documentation
155
+ #
156
+ class InternalServerException < Struct.new(
157
+ :message)
158
+ SENSITIVE = []
159
+ include Aws::Structure
160
+ end
161
+
162
+ # @note When making an API call, you may pass ListEndpointsRequest
163
+ # data as a hash:
164
+ #
165
+ # {
166
+ # next_token: "NextToken",
167
+ # max_results: 1,
168
+ # }
169
+ #
170
+ # @!attribute [rw] next_token
171
+ # The next endpoint requested in the list.
172
+ # @return [String]
173
+ #
174
+ # @!attribute [rw] max_results
175
+ # The max number of endpoints that can be returned on the request.
176
+ # @return [Integer]
177
+ #
178
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/ListEndpointsRequest AWS API Documentation
179
+ #
180
+ class ListEndpointsRequest < Struct.new(
181
+ :next_token,
182
+ :max_results)
183
+ SENSITIVE = []
184
+ include Aws::Structure
185
+ end
186
+
187
+ # @!attribute [rw] endpoints
188
+ # Returns an array of endpoints associated with AWS Outpost.
189
+ # @return [Array<Types::Endpoint>]
190
+ #
191
+ # @!attribute [rw] next_token
192
+ # The next endpoint returned in the list.
193
+ # @return [String]
194
+ #
195
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/ListEndpointsResult AWS API Documentation
196
+ #
197
+ class ListEndpointsResult < Struct.new(
198
+ :endpoints,
199
+ :next_token)
200
+ SENSITIVE = []
201
+ include Aws::Structure
202
+ end
203
+
204
+ # The container for the network interface.
205
+ #
206
+ # @!attribute [rw] network_interface_id
207
+ # The ID for the network interface.
208
+ # @return [String]
209
+ #
210
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/NetworkInterface AWS API Documentation
211
+ #
212
+ class NetworkInterface < Struct.new(
213
+ :network_interface_id)
214
+ SENSITIVE = []
215
+ include Aws::Structure
216
+ end
217
+
218
+ # The requested resource was not found.
219
+ #
220
+ # @!attribute [rw] message
221
+ # @return [String]
222
+ #
223
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/ResourceNotFoundException AWS API Documentation
224
+ #
225
+ class ResourceNotFoundException < Struct.new(
226
+ :message)
227
+ SENSITIVE = []
228
+ include Aws::Structure
229
+ end
230
+
231
+ # There was an exception validating this data.
232
+ #
233
+ # @!attribute [rw] message
234
+ # @return [String]
235
+ #
236
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/ValidationException AWS API Documentation
237
+ #
238
+ class ValidationException < Struct.new(
239
+ :message)
240
+ SENSITIVE = []
241
+ include Aws::Structure
242
+ end
243
+
244
+ end
245
+ end
metadata ADDED
@@ -0,0 +1,88 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: aws-sdk-s3outposts
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Amazon Web Services
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-09-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: aws-sdk-core
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 3.109.0
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '3'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 3.109.0
33
+ - !ruby/object:Gem::Dependency
34
+ name: aws-sigv4
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.1'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.1'
47
+ description: Official AWS Ruby gem for Amazon S3 on Outposts (Amazon S3 Outposts).
48
+ This gem is part of the AWS SDK for Ruby.
49
+ email:
50
+ - trevrowe@amazon.com
51
+ executables: []
52
+ extensions: []
53
+ extra_rdoc_files: []
54
+ files:
55
+ - lib/aws-sdk-s3outposts.rb
56
+ - lib/aws-sdk-s3outposts/client.rb
57
+ - lib/aws-sdk-s3outposts/client_api.rb
58
+ - lib/aws-sdk-s3outposts/customizations.rb
59
+ - lib/aws-sdk-s3outposts/errors.rb
60
+ - lib/aws-sdk-s3outposts/resource.rb
61
+ - lib/aws-sdk-s3outposts/types.rb
62
+ homepage: https://github.com/aws/aws-sdk-ruby
63
+ licenses:
64
+ - Apache-2.0
65
+ metadata:
66
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-s3outposts
67
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-s3outposts/CHANGELOG.md
68
+ post_install_message:
69
+ rdoc_options: []
70
+ require_paths:
71
+ - lib
72
+ required_ruby_version: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ required_rubygems_version: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ requirements: []
83
+ rubyforge_project:
84
+ rubygems_version: 2.7.6.2
85
+ signing_key:
86
+ specification_version: 4
87
+ summary: AWS SDK for Ruby - Amazon S3 Outposts
88
+ test_files: []