aws-sdk-s3outposts 1.12.0 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f1c9b684883f7b22fdc9de0dc95d5631391ea8bcea05ce79fc764f661de98df
4
- data.tar.gz: 5047fd3bd3611aee510bc743e6f6aaaa788dead46bb1fefbaa551534dc70c770
3
+ metadata.gz: 7f7b6018c800dc81a0a521a9e00899850514f4c4f113f39009607efb3438acda
4
+ data.tar.gz: 312745082fe5c7e2f453d1b7e22a26fc764c6b4383f1bc0bea667b4a14ec9459
5
5
  SHA512:
6
- metadata.gz: 125e45a82512d7a5a834b6a0fd8e6a53d70a033a3b3340c5d4e032fd1bb42cad22a9b09c34ab14667bcce63a88a8c6d35a0480aec4af24e27316800595625b3b
7
- data.tar.gz: cdf5998f33a3791ad967cd0363d6ec5af5e84616902f108a78a07eb7f144004152ea3cc2442de0e209a82a18aa426fde5d1cb58c4c018c6fe6d823e8ac6d7b46
6
+ metadata.gz: 9733d04f297acd43c21cabe94927529dd28b785e694867818747f8c42750babbcf602a50dcccb649fa0f1c4eab459cbefcf544ac2226efe930f5154877f5841d
7
+ data.tar.gz: bdd845d45f4bbb6cee1b273bf8e2ff0c267879e6d9e06af2e128eac8cd5735b3ff063f2f95e0062eb1e43fff2023d9728b520cf8bcee160fbf1d795642017fb1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.14.0 (2022-10-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.13.0 (2022-03-16)
10
+ ------------------
11
+
12
+ * Feature - S3 on Outposts is releasing a new API, ListSharedEndpoints, that lists all endpoints associated with S3 on Outpost, that has been shared by Resource Access Manager (RAM).
13
+
4
14
  1.12.0 (2022-02-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.12.0
1
+ 1.14.0
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:s3outposts)
@@ -79,8 +79,9 @@ module Aws::S3Outposts
79
79
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
81
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::RestJson)
84
+ add_plugin(Aws::S3Outposts::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -287,6 +288,19 @@ module Aws::S3Outposts
287
288
  # ** Please note ** When response stubbing is enabled, no HTTP
288
289
  # requests are made, and retries are disabled.
289
290
  #
291
+ # @option options [Aws::TokenProvider] :token_provider
292
+ # A Bearer Token Provider. This can be an instance of any one of the
293
+ # following classes:
294
+ #
295
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
296
+ # tokens.
297
+ #
298
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
299
+ # access token generated from `aws login`.
300
+ #
301
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
302
+ # will be used to search for tokens configured for your profile in shared configuration files.
303
+ #
290
304
  # @option options [Boolean] :use_dualstack_endpoint
291
305
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
292
306
  # will be used if available.
@@ -300,6 +314,9 @@ module Aws::S3Outposts
300
314
  # When `true`, request parameters are validated before
301
315
  # sending the request.
302
316
  #
317
+ # @option options [Aws::S3Outposts::EndpointProvider] :endpoint_provider
318
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::S3Outposts::EndpointParameters`
319
+ #
303
320
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
304
321
  # requests through. Formatted like 'http://proxy.com:123'.
305
322
  #
@@ -351,16 +368,9 @@ module Aws::S3Outposts
351
368
 
352
369
  # @!group API Operations
353
370
 
354
- # Amazon S3 on Outposts Access Points simplify managing data access at
355
- # scale for shared datasets in S3 on Outposts. S3 on Outposts uses
356
- # endpoints to connect to Outposts buckets so that you can perform
357
- # actions within your virtual private cloud (VPC). For more information,
358
- # see [ Accessing S3 on Outposts using VPC only access points][1].
371
+ # Creates an endpoint and associates it with the specified Outpost.
359
372
  #
360
- # This action creates an endpoint and associates it with the specified
361
- # Outposts.
362
- #
363
- # <note markdown="1"> It can take up to 5 minutes for this action to complete.
373
+ # <note markdown="1"> It can take up to 5 minutes for this action to finish.
364
374
  #
365
375
  # </note>
366
376
  #
@@ -368,35 +378,39 @@ module Aws::S3Outposts
368
378
  #
369
379
  # Related actions include:
370
380
  #
371
- # * [DeleteEndpoint][2]
381
+ # * [DeleteEndpoint][1]
372
382
  #
373
- # * [ListEndpoints][3]
383
+ # * [ListEndpoints][2]
374
384
  #
375
385
  #
376
386
  #
377
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/AccessingS3Outposts.html
378
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_DeleteEndpoint.html
379
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_ListEndpoints.html
387
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_DeleteEndpoint.html
388
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_ListEndpoints.html
380
389
  #
381
390
  # @option params [required, String] :outpost_id
382
- # The ID of the AWS Outposts.
391
+ # The ID of the Outposts.
383
392
  #
384
393
  # @option params [required, String] :subnet_id
385
394
  # The ID of the subnet in the selected VPC. The endpoint subnet must
386
- # belong to the Outpost that has the Amazon S3 on Outposts provisioned.
395
+ # belong to the Outpost that has Amazon S3 on Outposts provisioned.
387
396
  #
388
397
  # @option params [required, String] :security_group_id
389
398
  # The ID of the security group to use with the endpoint.
390
399
  #
391
400
  # @option params [String] :access_type
392
- # The type of access for the on-premise network connectivity for the
393
- # Outpost endpoint. To access the endpoint from an on-premises network,
394
- # you must specify the access type and provide the customer owned IPv4
395
- # pool.
401
+ # The type of access for the network connectivity for the Amazon S3 on
402
+ # Outposts endpoint. To use the Amazon Web Services VPC, choose
403
+ # `Private`. To use the endpoint with an on-premises network, choose
404
+ # `CustomerOwnedIp`. If you choose `CustomerOwnedIp`, you must also
405
+ # provide the customer-owned IP address pool (CoIP pool).
406
+ #
407
+ # <note markdown="1"> `Private` is the default access type value.
408
+ #
409
+ # </note>
396
410
  #
397
411
  # @option params [String] :customer_owned_ipv_4_pool
398
- # The ID of the customer-owned IPv4 pool for the endpoint. IP addresses
399
- # will be allocated from this pool for the endpoint.
412
+ # The ID of the customer-owned IPv4 address pool (CoIP pool) for the
413
+ # endpoint. IP addresses are allocated from this pool for the endpoint.
400
414
  #
401
415
  # @return [Types::CreateEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
402
416
  #
@@ -425,15 +439,9 @@ module Aws::S3Outposts
425
439
  req.send_request(options)
426
440
  end
427
441
 
428
- # Amazon S3 on Outposts Access Points simplify managing data access at
429
- # scale for shared datasets in S3 on Outposts. S3 on Outposts uses
430
- # endpoints to connect to Outposts buckets so that you can perform
431
- # actions within your virtual private cloud (VPC). For more information,
432
- # see [ Accessing S3 on Outposts using VPC only access points][1].
433
- #
434
- # This action deletes an endpoint.
442
+ # Deletes an endpoint.
435
443
  #
436
- # <note markdown="1"> It can take up to 5 minutes for this action to complete.
444
+ # <note markdown="1"> It can take up to 5 minutes for this action to finish.
437
445
  #
438
446
  # </note>
439
447
  #
@@ -441,21 +449,20 @@ module Aws::S3Outposts
441
449
  #
442
450
  # Related actions include:
443
451
  #
444
- # * [CreateEndpoint][2]
452
+ # * [CreateEndpoint][1]
445
453
  #
446
- # * [ListEndpoints][3]
454
+ # * [ListEndpoints][2]
447
455
  #
448
456
  #
449
457
  #
450
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/AccessingS3Outposts.html
451
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_CreateEndpoint.html
452
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_ListEndpoints.html
458
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_CreateEndpoint.html
459
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_ListEndpoints.html
453
460
  #
454
461
  # @option params [required, String] :endpoint_id
455
462
  # The ID of the endpoint.
456
463
  #
457
464
  # @option params [required, String] :outpost_id
458
- # The ID of the AWS Outposts.
465
+ # The ID of the Outposts.
459
466
  #
460
467
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
461
468
  #
@@ -475,33 +482,25 @@ module Aws::S3Outposts
475
482
  req.send_request(options)
476
483
  end
477
484
 
478
- # Amazon S3 on Outposts Access Points simplify managing data access at
479
- # scale for shared datasets in S3 on Outposts. S3 on Outposts uses
480
- # endpoints to connect to Outposts buckets so that you can perform
481
- # actions within your virtual private cloud (VPC). For more information,
482
- # see [ Accessing S3 on Outposts using VPC only access points][1].
483
- #
484
- # This action lists endpoints associated with the Outposts.
485
- #
486
- #
485
+ # Lists endpoints associated with the specified Outpost.
487
486
  #
488
487
  # Related actions include:
489
488
  #
490
- # * [CreateEndpoint][2]
489
+ # * [CreateEndpoint][1]
491
490
  #
492
- # * [DeleteEndpoint][3]
491
+ # * [DeleteEndpoint][2]
493
492
  #
494
493
  #
495
494
  #
496
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/AccessingS3Outposts.html
497
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_CreateEndpoint.html
498
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_DeleteEndpoint.html
495
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_CreateEndpoint.html
496
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_DeleteEndpoint.html
499
497
  #
500
498
  # @option params [String] :next_token
501
- # The next endpoint requested in the list.
499
+ # If a previous response from this operation included a `NextToken`
500
+ # value, provide that value here to retrieve the next page of results.
502
501
  #
503
502
  # @option params [Integer] :max_results
504
- # The max number of endpoints that can be returned on the request.
503
+ # The maximum number of endpoints that will be returned in the response.
505
504
  #
506
505
  # @return [Types::ListEndpointsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
507
506
  #
@@ -543,6 +542,72 @@ module Aws::S3Outposts
543
542
  req.send_request(options)
544
543
  end
545
544
 
545
+ # Lists all endpoints associated with an Outpost that has been shared by
546
+ # Amazon Web Services Resource Access Manager (RAM).
547
+ #
548
+ # Related actions include:
549
+ #
550
+ # * [CreateEndpoint][1]
551
+ #
552
+ # * [DeleteEndpoint][2]
553
+ #
554
+ #
555
+ #
556
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_CreateEndpoint.html
557
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_DeleteEndpoint.html
558
+ #
559
+ # @option params [String] :next_token
560
+ # If a previous response from this operation included a `NextToken`
561
+ # value, you can provide that value here to retrieve the next page of
562
+ # results.
563
+ #
564
+ # @option params [Integer] :max_results
565
+ # The maximum number of endpoints that will be returned in the response.
566
+ #
567
+ # @option params [required, String] :outpost_id
568
+ # The ID of the Amazon Web Services Outpost.
569
+ #
570
+ # @return [Types::ListSharedEndpointsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
571
+ #
572
+ # * {Types::ListSharedEndpointsResult#endpoints #endpoints} => Array&lt;Types::Endpoint&gt;
573
+ # * {Types::ListSharedEndpointsResult#next_token #next_token} => String
574
+ #
575
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
576
+ #
577
+ # @example Request syntax with placeholder values
578
+ #
579
+ # resp = client.list_shared_endpoints({
580
+ # next_token: "NextToken",
581
+ # max_results: 1,
582
+ # outpost_id: "OutpostId", # required
583
+ # })
584
+ #
585
+ # @example Response structure
586
+ #
587
+ # resp.endpoints #=> Array
588
+ # resp.endpoints[0].endpoint_arn #=> String
589
+ # resp.endpoints[0].outposts_id #=> String
590
+ # resp.endpoints[0].cidr_block #=> String
591
+ # resp.endpoints[0].status #=> String, one of "Pending", "Available", "Deleting"
592
+ # resp.endpoints[0].creation_time #=> Time
593
+ # resp.endpoints[0].network_interfaces #=> Array
594
+ # resp.endpoints[0].network_interfaces[0].network_interface_id #=> String
595
+ # resp.endpoints[0].vpc_id #=> String
596
+ # resp.endpoints[0].subnet_id #=> String
597
+ # resp.endpoints[0].security_group_id #=> String
598
+ # resp.endpoints[0].access_type #=> String, one of "Private", "CustomerOwnedIp"
599
+ # resp.endpoints[0].customer_owned_ipv_4_pool #=> String
600
+ # resp.next_token #=> String
601
+ #
602
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/ListSharedEndpoints AWS API Documentation
603
+ #
604
+ # @overload list_shared_endpoints(params = {})
605
+ # @param [Hash] params ({})
606
+ def list_shared_endpoints(params = {}, options = {})
607
+ req = build_request(:list_shared_endpoints, params)
608
+ req.send_request(options)
609
+ end
610
+
546
611
  # @!endgroup
547
612
 
548
613
  # @param params ({})
@@ -556,7 +621,7 @@ module Aws::S3Outposts
556
621
  params: params,
557
622
  config: config)
558
623
  context[:gem_name] = 'aws-sdk-s3outposts'
559
- context[:gem_version] = '1.12.0'
624
+ context[:gem_version] = '1.14.0'
560
625
  Seahorse::Client::Request.new(handlers, context)
561
626
  end
562
627
 
@@ -31,6 +31,8 @@ module Aws::S3Outposts
31
31
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
32
32
  ListEndpointsRequest = Shapes::StructureShape.new(name: 'ListEndpointsRequest')
33
33
  ListEndpointsResult = Shapes::StructureShape.new(name: 'ListEndpointsResult')
34
+ ListSharedEndpointsRequest = Shapes::StructureShape.new(name: 'ListSharedEndpointsRequest')
35
+ ListSharedEndpointsResult = Shapes::StructureShape.new(name: 'ListSharedEndpointsResult')
34
36
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
35
37
  NetworkInterface = Shapes::StructureShape.new(name: 'NetworkInterface')
36
38
  NetworkInterfaceId = Shapes::StringShape.new(name: 'NetworkInterfaceId')
@@ -89,6 +91,15 @@ module Aws::S3Outposts
89
91
  ListEndpointsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
90
92
  ListEndpointsResult.struct_class = Types::ListEndpointsResult
91
93
 
94
+ ListSharedEndpointsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
95
+ ListSharedEndpointsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
96
+ ListSharedEndpointsRequest.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, required: true, location: "querystring", location_name: "outpostId"))
97
+ ListSharedEndpointsRequest.struct_class = Types::ListSharedEndpointsRequest
98
+
99
+ ListSharedEndpointsResult.add_member(:endpoints, Shapes::ShapeRef.new(shape: Endpoints, location_name: "Endpoints"))
100
+ ListSharedEndpointsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
101
+ ListSharedEndpointsResult.struct_class = Types::ListSharedEndpointsResult
102
+
92
103
  NetworkInterface.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: NetworkInterfaceId, location_name: "NetworkInterfaceId"))
93
104
  NetworkInterface.struct_class = Types::NetworkInterface
94
105
 
@@ -161,6 +172,24 @@ module Aws::S3Outposts
161
172
  }
162
173
  )
163
174
  end)
175
+
176
+ api.add_operation(:list_shared_endpoints, Seahorse::Model::Operation.new.tap do |o|
177
+ o.name = "ListSharedEndpoints"
178
+ o.http_method = "GET"
179
+ o.http_request_uri = "/S3Outposts/ListSharedEndpoints"
180
+ o.input = Shapes::ShapeRef.new(shape: ListSharedEndpointsRequest)
181
+ o.output = Shapes::ShapeRef.new(shape: ListSharedEndpointsResult)
182
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
183
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
184
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
185
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
186
+ o[:pager] = Aws::Pager.new(
187
+ limit_key: "max_results",
188
+ tokens: {
189
+ "next_token" => "next_token"
190
+ }
191
+ )
192
+ end)
164
193
  end
165
194
 
166
195
  end
@@ -0,0 +1,66 @@
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/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::S3Outposts
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,112 @@
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/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::S3Outposts
11
+ class EndpointProvider
12
+ def initialize(rule_set = nil)
13
+ @@rule_set ||= begin
14
+ endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
+ Aws::Endpoints::RuleSet.new(
16
+ version: endpoint_rules['version'],
17
+ service_id: endpoint_rules['serviceId'],
18
+ parameters: endpoint_rules['parameters'],
19
+ rules: endpoint_rules['rules']
20
+ )
21
+ end
22
+ @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
+ end
24
+
25
+ def resolve_endpoint(parameters)
26
+ @provider.resolve_endpoint(parameters)
27
+ end
28
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Zm4iOiJib29sZWFuRXF1YWxzIiwiYXJndiI6W3RydWUseyJmbiI6
97
+ ImdldEF0dHIiLCJhcmd2IjpbeyJyZWYiOiJQYXJ0aXRpb25SZXN1bHQifSwi
98
+ c3VwcG9ydHNEdWFsU3RhY2siXX1dfV0sInR5cGUiOiJ0cmVlIiwicnVsZXMi
99
+ Olt7ImNvbmRpdGlvbnMiOltdLCJlbmRwb2ludCI6eyJ1cmwiOiJodHRwczov
100
+ L3MzLW91dHBvc3RzLntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZHVhbFN0
101
+ YWNrRG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0s
102
+ InR5cGUiOiJlbmRwb2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3Ii
103
+ OiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9l
104
+ cyBub3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsi
105
+ Y29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vczMt
106
+ b3V0cG9zdHMue1JlZ2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9
107
+ IiwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBv
108
+ aW50In1dfV19
109
+
110
+ JSON
111
+ end
112
+ end
@@ -0,0 +1,71 @@
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/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::S3Outposts
12
+ module Endpoints
13
+
14
+ class CreateEndpoint
15
+ def self.build(context)
16
+ unless context.config.regional_endpoint
17
+ endpoint = context.config.endpoint.to_s
18
+ end
19
+ Aws::S3Outposts::EndpointParameters.new(
20
+ region: context.config.region,
21
+ use_dual_stack: context.config.use_dualstack_endpoint,
22
+ use_fips: context.config.use_fips_endpoint,
23
+ endpoint: endpoint,
24
+ )
25
+ end
26
+ end
27
+
28
+ class DeleteEndpoint
29
+ def self.build(context)
30
+ unless context.config.regional_endpoint
31
+ endpoint = context.config.endpoint.to_s
32
+ end
33
+ Aws::S3Outposts::EndpointParameters.new(
34
+ region: context.config.region,
35
+ use_dual_stack: context.config.use_dualstack_endpoint,
36
+ use_fips: context.config.use_fips_endpoint,
37
+ endpoint: endpoint,
38
+ )
39
+ end
40
+ end
41
+
42
+ class ListEndpoints
43
+ def self.build(context)
44
+ unless context.config.regional_endpoint
45
+ endpoint = context.config.endpoint.to_s
46
+ end
47
+ Aws::S3Outposts::EndpointParameters.new(
48
+ region: context.config.region,
49
+ use_dual_stack: context.config.use_dualstack_endpoint,
50
+ use_fips: context.config.use_fips_endpoint,
51
+ endpoint: endpoint,
52
+ )
53
+ end
54
+ end
55
+
56
+ class ListSharedEndpoints
57
+ def self.build(context)
58
+ unless context.config.regional_endpoint
59
+ endpoint = context.config.endpoint.to_s
60
+ end
61
+ Aws::S3Outposts::EndpointParameters.new(
62
+ region: context.config.region,
63
+ use_dual_stack: context.config.use_dualstack_endpoint,
64
+ use_fips: context.config.use_fips_endpoint,
65
+ endpoint: endpoint,
66
+ )
67
+ end
68
+ end
69
+
70
+ end
71
+ end
@@ -0,0 +1,76 @@
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/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::S3Outposts
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::S3Outposts::EndpointProvider',
17
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
+ 'object that responds to `#resolve_endpoint(parameters)` '\
19
+ 'where `parameters` is a Struct similar to '\
20
+ '`Aws::S3Outposts::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::S3Outposts::EndpointProvider.new
23
+ end
24
+
25
+ # @api private
26
+ class Handler < Seahorse::Client::Handler
27
+ def call(context)
28
+ # If endpoint was discovered, do not resolve or apply the endpoint.
29
+ unless context[:discovered_endpoint]
30
+ params = parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+ end
36
+
37
+ context[:endpoint_params] = params
38
+ context[:auth_scheme] =
39
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
+
41
+ @handler.call(context)
42
+ end
43
+
44
+ private
45
+
46
+ def apply_endpoint_headers(context, headers)
47
+ headers.each do |key, values|
48
+ value = values
49
+ .compact
50
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
51
+ .join(',')
52
+
53
+ context.http_request.headers[key] = value
54
+ end
55
+ end
56
+
57
+ def parameters_for_operation(context)
58
+ case context.operation_name
59
+ when :create_endpoint
60
+ Aws::S3Outposts::Endpoints::CreateEndpoint.build(context)
61
+ when :delete_endpoint
62
+ Aws::S3Outposts::Endpoints::DeleteEndpoint.build(context)
63
+ when :list_endpoints
64
+ Aws::S3Outposts::Endpoints::ListEndpoints.build(context)
65
+ when :list_shared_endpoints
66
+ Aws::S3Outposts::Endpoints::ListSharedEndpoints.build(context)
67
+ end
68
+ end
69
+ end
70
+
71
+ def add_handlers(handlers, _config)
72
+ handlers.add(Handler, step: :build, priority: 75)
73
+ end
74
+ end
75
+ end
76
+ end
@@ -48,13 +48,12 @@ module Aws::S3Outposts
48
48
  # }
49
49
  #
50
50
  # @!attribute [rw] outpost_id
51
- # The ID of the AWS Outposts.
51
+ # The ID of the Outposts.
52
52
  # @return [String]
53
53
  #
54
54
  # @!attribute [rw] subnet_id
55
55
  # The ID of the subnet in the selected VPC. The endpoint subnet must
56
- # belong to the Outpost that has the Amazon S3 on Outposts
57
- # provisioned.
56
+ # belong to the Outpost that has Amazon S3 on Outposts provisioned.
58
57
  # @return [String]
59
58
  #
60
59
  # @!attribute [rw] security_group_id
@@ -62,15 +61,21 @@ module Aws::S3Outposts
62
61
  # @return [String]
63
62
  #
64
63
  # @!attribute [rw] access_type
65
- # The type of access for the on-premise network connectivity for the
66
- # Outpost endpoint. To access the endpoint from an on-premises
67
- # network, you must specify the access type and provide the customer
68
- # owned IPv4 pool.
64
+ # The type of access for the network connectivity for the Amazon S3 on
65
+ # Outposts endpoint. To use the Amazon Web Services VPC, choose
66
+ # `Private`. To use the endpoint with an on-premises network, choose
67
+ # `CustomerOwnedIp`. If you choose `CustomerOwnedIp`, you must also
68
+ # provide the customer-owned IP address pool (CoIP pool).
69
+ #
70
+ # <note markdown="1"> `Private` is the default access type value.
71
+ #
72
+ # </note>
69
73
  # @return [String]
70
74
  #
71
75
  # @!attribute [rw] customer_owned_ipv_4_pool
72
- # The ID of the customer-owned IPv4 pool for the endpoint. IP
73
- # addresses will be allocated from this pool for the endpoint.
76
+ # The ID of the customer-owned IPv4 address pool (CoIP pool) for the
77
+ # endpoint. IP addresses are allocated from this pool for the
78
+ # endpoint.
74
79
  # @return [String]
75
80
  #
76
81
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/CreateEndpointRequest AWS API Documentation
@@ -110,7 +115,7 @@ module Aws::S3Outposts
110
115
  # @return [String]
111
116
  #
112
117
  # @!attribute [rw] outpost_id
113
- # The ID of the AWS Outposts.
118
+ # The ID of the Outposts.
114
119
  # @return [String]
115
120
  #
116
121
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/DeleteEndpointRequest AWS API Documentation
@@ -126,18 +131,19 @@ module Aws::S3Outposts
126
131
  # scale for shared datasets in S3 on Outposts. S3 on Outposts uses
127
132
  # endpoints to connect to Outposts buckets so that you can perform
128
133
  # actions within your virtual private cloud (VPC). For more information,
129
- # see [ Accessing S3 on Outposts using VPC only access points][1].
134
+ # see [ Accessing S3 on Outposts using VPC-only access points][1] in the
135
+ # *Amazon Simple Storage Service User Guide*.
130
136
  #
131
137
  #
132
138
  #
133
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/AccessingS3Outposts.html
139
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/WorkingWithS3Outposts.html
134
140
  #
135
141
  # @!attribute [rw] endpoint_arn
136
142
  # The Amazon Resource Name (ARN) of the endpoint.
137
143
  # @return [String]
138
144
  #
139
145
  # @!attribute [rw] outposts_id
140
- # The ID of the AWS Outposts.
146
+ # The ID of the Outposts.
141
147
  # @return [String]
142
148
  #
143
149
  # @!attribute [rw] cidr_block
@@ -169,10 +175,13 @@ module Aws::S3Outposts
169
175
  # @return [String]
170
176
  #
171
177
  # @!attribute [rw] access_type
178
+ # The type of connectivity used to access the Amazon S3 on Outposts
179
+ # endpoint.
172
180
  # @return [String]
173
181
  #
174
182
  # @!attribute [rw] customer_owned_ipv_4_pool
175
- # The ID of the customer-owned IPv4 pool used for the endpoint.
183
+ # The ID of the customer-owned IPv4 address pool used for the
184
+ # endpoint.
176
185
  # @return [String]
177
186
  #
178
187
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/Endpoint AWS API Documentation
@@ -215,11 +224,13 @@ module Aws::S3Outposts
215
224
  # }
216
225
  #
217
226
  # @!attribute [rw] next_token
218
- # The next endpoint requested in the list.
227
+ # If a previous response from this operation included a `NextToken`
228
+ # value, provide that value here to retrieve the next page of results.
219
229
  # @return [String]
220
230
  #
221
231
  # @!attribute [rw] max_results
222
- # The max number of endpoints that can be returned on the request.
232
+ # The maximum number of endpoints that will be returned in the
233
+ # response.
223
234
  # @return [Integer]
224
235
  #
225
236
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/ListEndpointsRequest AWS API Documentation
@@ -232,11 +243,13 @@ module Aws::S3Outposts
232
243
  end
233
244
 
234
245
  # @!attribute [rw] endpoints
235
- # Returns an array of endpoints associated with AWS Outposts.
246
+ # The list of endpoints associated with the specified Outpost.
236
247
  # @return [Array<Types::Endpoint>]
237
248
  #
238
249
  # @!attribute [rw] next_token
239
- # The next endpoint returned in the list.
250
+ # If the number of endpoints associated with the specified Outpost
251
+ # exceeds `MaxResults`, you can include this value in subsequent calls
252
+ # to this operation to retrieve more results.
240
253
  # @return [String]
241
254
  #
242
255
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/ListEndpointsResult AWS API Documentation
@@ -248,6 +261,61 @@ module Aws::S3Outposts
248
261
  include Aws::Structure
249
262
  end
250
263
 
264
+ # @note When making an API call, you may pass ListSharedEndpointsRequest
265
+ # data as a hash:
266
+ #
267
+ # {
268
+ # next_token: "NextToken",
269
+ # max_results: 1,
270
+ # outpost_id: "OutpostId", # required
271
+ # }
272
+ #
273
+ # @!attribute [rw] next_token
274
+ # If a previous response from this operation included a `NextToken`
275
+ # value, you can provide that value here to retrieve the next page of
276
+ # results.
277
+ # @return [String]
278
+ #
279
+ # @!attribute [rw] max_results
280
+ # The maximum number of endpoints that will be returned in the
281
+ # response.
282
+ # @return [Integer]
283
+ #
284
+ # @!attribute [rw] outpost_id
285
+ # The ID of the Amazon Web Services Outpost.
286
+ # @return [String]
287
+ #
288
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/ListSharedEndpointsRequest AWS API Documentation
289
+ #
290
+ class ListSharedEndpointsRequest < Struct.new(
291
+ :next_token,
292
+ :max_results,
293
+ :outpost_id)
294
+ SENSITIVE = []
295
+ include Aws::Structure
296
+ end
297
+
298
+ # @!attribute [rw] endpoints
299
+ # The list of endpoints associated with the specified Outpost that
300
+ # have been shared by Amazon Web Services Resource Access Manager
301
+ # (RAM).
302
+ # @return [Array<Types::Endpoint>]
303
+ #
304
+ # @!attribute [rw] next_token
305
+ # If the number of endpoints associated with the specified Outpost
306
+ # exceeds `MaxResults`, you can include this value in subsequent calls
307
+ # to this operation to retrieve more results.
308
+ # @return [String]
309
+ #
310
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/ListSharedEndpointsResult AWS API Documentation
311
+ #
312
+ class ListSharedEndpointsResult < Struct.new(
313
+ :endpoints,
314
+ :next_token)
315
+ SENSITIVE = []
316
+ include Aws::Structure
317
+ end
318
+
251
319
  # The container for the network interface.
252
320
  #
253
321
  # @!attribute [rw] network_interface_id
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-s3outposts/types'
15
15
  require_relative 'aws-sdk-s3outposts/client_api'
16
+ require_relative 'aws-sdk-s3outposts/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-s3outposts/client'
17
18
  require_relative 'aws-sdk-s3outposts/errors'
18
19
  require_relative 'aws-sdk-s3outposts/resource'
20
+ require_relative 'aws-sdk-s3outposts/endpoint_parameters'
21
+ require_relative 'aws-sdk-s3outposts/endpoint_provider'
22
+ require_relative 'aws-sdk-s3outposts/endpoints'
19
23
  require_relative 'aws-sdk-s3outposts/customizations'
20
24
 
21
25
  # This module provides support for Amazon S3 on Outposts. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-s3outposts/customizations'
48
52
  # @!group service
49
53
  module Aws::S3Outposts
50
54
 
51
- GEM_VERSION = '1.12.0'
55
+ GEM_VERSION = '1.14.0'
52
56
 
53
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3outposts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.0
4
+ version: 1.14.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: 2022-02-24 00:00:00.000000000 Z
11
+ date: 2022-10-25 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.127.0
22
+ version: 3.165.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.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-s3outposts/client.rb
60
60
  - lib/aws-sdk-s3outposts/client_api.rb
61
61
  - lib/aws-sdk-s3outposts/customizations.rb
62
+ - lib/aws-sdk-s3outposts/endpoint_parameters.rb
63
+ - lib/aws-sdk-s3outposts/endpoint_provider.rb
64
+ - lib/aws-sdk-s3outposts/endpoints.rb
62
65
  - lib/aws-sdk-s3outposts/errors.rb
66
+ - lib/aws-sdk-s3outposts/plugins/endpoints.rb
63
67
  - lib/aws-sdk-s3outposts/resource.rb
64
68
  - lib/aws-sdk-s3outposts/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby