aws-sdk-s3outposts 1.16.0 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3outposts/client.rb +12 -3
- data/lib/aws-sdk-s3outposts/client_api.rb +14 -0
- data/lib/aws-sdk-s3outposts/errors.rb +16 -0
- data/lib/aws-sdk-s3outposts/types.rb +41 -1
- data/lib/aws-sdk-s3outposts.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8d29b32c61507e22092122669355f77119c7e0244d114856f6fb45e15a9a2a92
|
|
4
|
+
data.tar.gz: 01627c8fa659e1a74c76077a86afffad96399b9f273ff225a6b367831bec6557
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 87f008c98a73b130341ee29067b021987bcc3197c42f11b58c3db4e97a0dd436e1f9e2307811c96ca66a76d71fd55f1713f5462e5d16cccd1b41853b0cf4adbf
|
|
7
|
+
data.tar.gz: f1cace871af4a310a0f4453ae35798e0559aa7fafe4835f0e9923a3e3c4bd0d1a2c64d13f1cb02f4c6e70cd1be846cbd611b1e5ae407ab8f0e660d72b603a8bd
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.18.0 (2023-05-31)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.17.0 (2023-03-20)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - S3 On Outposts added support for endpoint status, and a failed endpoint reason, if any
|
|
13
|
+
|
|
4
14
|
1.16.0 (2023-03-01)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.18.0
|
|
@@ -275,6 +275,11 @@ module Aws::S3Outposts
|
|
|
275
275
|
# in the future.
|
|
276
276
|
#
|
|
277
277
|
#
|
|
278
|
+
# @option options [String] :sdk_ua_app_id
|
|
279
|
+
# A unique and opaque application ID that is appended to the
|
|
280
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
|
281
|
+
# maximum length of 50.
|
|
282
|
+
#
|
|
278
283
|
# @option options [String] :secret_access_key
|
|
279
284
|
#
|
|
280
285
|
# @option options [String] :session_token
|
|
@@ -522,7 +527,7 @@ module Aws::S3Outposts
|
|
|
522
527
|
# resp.endpoints[0].endpoint_arn #=> String
|
|
523
528
|
# resp.endpoints[0].outposts_id #=> String
|
|
524
529
|
# resp.endpoints[0].cidr_block #=> String
|
|
525
|
-
# resp.endpoints[0].status #=> String, one of "Pending", "Available", "Deleting"
|
|
530
|
+
# resp.endpoints[0].status #=> String, one of "Pending", "Available", "Deleting", "Create_Failed", "Delete_Failed"
|
|
526
531
|
# resp.endpoints[0].creation_time #=> Time
|
|
527
532
|
# resp.endpoints[0].network_interfaces #=> Array
|
|
528
533
|
# resp.endpoints[0].network_interfaces[0].network_interface_id #=> String
|
|
@@ -531,6 +536,8 @@ module Aws::S3Outposts
|
|
|
531
536
|
# resp.endpoints[0].security_group_id #=> String
|
|
532
537
|
# resp.endpoints[0].access_type #=> String, one of "Private", "CustomerOwnedIp"
|
|
533
538
|
# resp.endpoints[0].customer_owned_ipv_4_pool #=> String
|
|
539
|
+
# resp.endpoints[0].failed_reason.error_code #=> String
|
|
540
|
+
# resp.endpoints[0].failed_reason.message #=> String
|
|
534
541
|
# resp.next_token #=> String
|
|
535
542
|
#
|
|
536
543
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/ListEndpoints AWS API Documentation
|
|
@@ -634,7 +641,7 @@ module Aws::S3Outposts
|
|
|
634
641
|
# resp.endpoints[0].endpoint_arn #=> String
|
|
635
642
|
# resp.endpoints[0].outposts_id #=> String
|
|
636
643
|
# resp.endpoints[0].cidr_block #=> String
|
|
637
|
-
# resp.endpoints[0].status #=> String, one of "Pending", "Available", "Deleting"
|
|
644
|
+
# resp.endpoints[0].status #=> String, one of "Pending", "Available", "Deleting", "Create_Failed", "Delete_Failed"
|
|
638
645
|
# resp.endpoints[0].creation_time #=> Time
|
|
639
646
|
# resp.endpoints[0].network_interfaces #=> Array
|
|
640
647
|
# resp.endpoints[0].network_interfaces[0].network_interface_id #=> String
|
|
@@ -643,6 +650,8 @@ module Aws::S3Outposts
|
|
|
643
650
|
# resp.endpoints[0].security_group_id #=> String
|
|
644
651
|
# resp.endpoints[0].access_type #=> String, one of "Private", "CustomerOwnedIp"
|
|
645
652
|
# resp.endpoints[0].customer_owned_ipv_4_pool #=> String
|
|
653
|
+
# resp.endpoints[0].failed_reason.error_code #=> String
|
|
654
|
+
# resp.endpoints[0].failed_reason.message #=> String
|
|
646
655
|
# resp.next_token #=> String
|
|
647
656
|
#
|
|
648
657
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/ListSharedEndpoints AWS API Documentation
|
|
@@ -667,7 +676,7 @@ module Aws::S3Outposts
|
|
|
667
676
|
params: params,
|
|
668
677
|
config: config)
|
|
669
678
|
context[:gem_name] = 'aws-sdk-s3outposts'
|
|
670
|
-
context[:gem_version] = '1.
|
|
679
|
+
context[:gem_version] = '1.18.0'
|
|
671
680
|
Seahorse::Client::Request.new(handlers, context)
|
|
672
681
|
end
|
|
673
682
|
|
|
@@ -29,7 +29,9 @@ module Aws::S3Outposts
|
|
|
29
29
|
EndpointId = Shapes::StringShape.new(name: 'EndpointId')
|
|
30
30
|
EndpointStatus = Shapes::StringShape.new(name: 'EndpointStatus')
|
|
31
31
|
Endpoints = Shapes::ListShape.new(name: 'Endpoints')
|
|
32
|
+
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
|
32
33
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
|
34
|
+
FailedReason = Shapes::StructureShape.new(name: 'FailedReason')
|
|
33
35
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
|
34
36
|
ListEndpointsRequest = Shapes::StructureShape.new(name: 'ListEndpointsRequest')
|
|
35
37
|
ListEndpointsResult = Shapes::StructureShape.new(name: 'ListEndpointsResult')
|
|
@@ -38,6 +40,7 @@ module Aws::S3Outposts
|
|
|
38
40
|
ListSharedEndpointsRequest = Shapes::StructureShape.new(name: 'ListSharedEndpointsRequest')
|
|
39
41
|
ListSharedEndpointsResult = Shapes::StructureShape.new(name: 'ListSharedEndpointsResult')
|
|
40
42
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
|
43
|
+
Message = Shapes::StringShape.new(name: 'Message')
|
|
41
44
|
NetworkInterface = Shapes::StructureShape.new(name: 'NetworkInterface')
|
|
42
45
|
NetworkInterfaceId = Shapes::StringShape.new(name: 'NetworkInterfaceId')
|
|
43
46
|
NetworkInterfaces = Shapes::ListShape.new(name: 'NetworkInterfaces')
|
|
@@ -45,6 +48,7 @@ module Aws::S3Outposts
|
|
|
45
48
|
Outpost = Shapes::StructureShape.new(name: 'Outpost')
|
|
46
49
|
OutpostArn = Shapes::StringShape.new(name: 'OutpostArn')
|
|
47
50
|
OutpostId = Shapes::StringShape.new(name: 'OutpostId')
|
|
51
|
+
OutpostOfflineException = Shapes::StructureShape.new(name: 'OutpostOfflineException')
|
|
48
52
|
Outposts = Shapes::ListShape.new(name: 'Outposts')
|
|
49
53
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
50
54
|
SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
|
|
@@ -84,10 +88,15 @@ module Aws::S3Outposts
|
|
|
84
88
|
Endpoint.add_member(:security_group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "SecurityGroupId"))
|
|
85
89
|
Endpoint.add_member(:access_type, Shapes::ShapeRef.new(shape: EndpointAccessType, location_name: "AccessType"))
|
|
86
90
|
Endpoint.add_member(:customer_owned_ipv_4_pool, Shapes::ShapeRef.new(shape: CustomerOwnedIpv4Pool, location_name: "CustomerOwnedIpv4Pool"))
|
|
91
|
+
Endpoint.add_member(:failed_reason, Shapes::ShapeRef.new(shape: FailedReason, location_name: "FailedReason"))
|
|
87
92
|
Endpoint.struct_class = Types::Endpoint
|
|
88
93
|
|
|
89
94
|
Endpoints.member = Shapes::ShapeRef.new(shape: Endpoint)
|
|
90
95
|
|
|
96
|
+
FailedReason.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
|
97
|
+
FailedReason.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
|
98
|
+
FailedReason.struct_class = Types::FailedReason
|
|
99
|
+
|
|
91
100
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
92
101
|
InternalServerException.struct_class = Types::InternalServerException
|
|
93
102
|
|
|
@@ -127,6 +136,9 @@ module Aws::S3Outposts
|
|
|
127
136
|
Outpost.add_member(:capacity_in_bytes, Shapes::ShapeRef.new(shape: CapacityInBytes, location_name: "CapacityInBytes"))
|
|
128
137
|
Outpost.struct_class = Types::Outpost
|
|
129
138
|
|
|
139
|
+
OutpostOfflineException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
140
|
+
OutpostOfflineException.struct_class = Types::OutpostOfflineException
|
|
141
|
+
|
|
130
142
|
Outposts.member = Shapes::ShapeRef.new(shape: Outpost)
|
|
131
143
|
|
|
132
144
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
@@ -169,6 +181,7 @@ module Aws::S3Outposts
|
|
|
169
181
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
170
182
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
171
183
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
184
|
+
o.errors << Shapes::ShapeRef.new(shape: OutpostOfflineException)
|
|
172
185
|
end)
|
|
173
186
|
|
|
174
187
|
api.add_operation(:delete_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -182,6 +195,7 @@ module Aws::S3Outposts
|
|
|
182
195
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
183
196
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
184
197
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
198
|
+
o.errors << Shapes::ShapeRef.new(shape: OutpostOfflineException)
|
|
185
199
|
end)
|
|
186
200
|
|
|
187
201
|
api.add_operation(:list_endpoints, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -30,6 +30,7 @@ module Aws::S3Outposts
|
|
|
30
30
|
# * {AccessDeniedException}
|
|
31
31
|
# * {ConflictException}
|
|
32
32
|
# * {InternalServerException}
|
|
33
|
+
# * {OutpostOfflineException}
|
|
33
34
|
# * {ResourceNotFoundException}
|
|
34
35
|
# * {ThrottlingException}
|
|
35
36
|
# * {ValidationException}
|
|
@@ -85,6 +86,21 @@ module Aws::S3Outposts
|
|
|
85
86
|
end
|
|
86
87
|
end
|
|
87
88
|
|
|
89
|
+
class OutpostOfflineException < ServiceError
|
|
90
|
+
|
|
91
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
92
|
+
# @param [String] message
|
|
93
|
+
# @param [Aws::S3Outposts::Types::OutpostOfflineException] data
|
|
94
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
95
|
+
super(context, message, data)
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
# @return [String]
|
|
99
|
+
def message
|
|
100
|
+
@message || @data[:message]
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
|
|
88
104
|
class ResourceNotFoundException < ServiceError
|
|
89
105
|
|
|
90
106
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -165,6 +165,11 @@ module Aws::S3Outposts
|
|
|
165
165
|
# endpoint.
|
|
166
166
|
# @return [String]
|
|
167
167
|
#
|
|
168
|
+
# @!attribute [rw] failed_reason
|
|
169
|
+
# The failure reason, if any, for a create or delete endpoint
|
|
170
|
+
# operation.
|
|
171
|
+
# @return [Types::FailedReason]
|
|
172
|
+
#
|
|
168
173
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/Endpoint AWS API Documentation
|
|
169
174
|
#
|
|
170
175
|
class Endpoint < Struct.new(
|
|
@@ -178,7 +183,28 @@ module Aws::S3Outposts
|
|
|
178
183
|
:subnet_id,
|
|
179
184
|
:security_group_id,
|
|
180
185
|
:access_type,
|
|
181
|
-
:customer_owned_ipv_4_pool
|
|
186
|
+
:customer_owned_ipv_4_pool,
|
|
187
|
+
:failed_reason)
|
|
188
|
+
SENSITIVE = []
|
|
189
|
+
include Aws::Structure
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
# The failure reason, if any, for a create or delete endpoint operation.
|
|
193
|
+
#
|
|
194
|
+
# @!attribute [rw] error_code
|
|
195
|
+
# The failure code, if any, for a create or delete endpoint operation.
|
|
196
|
+
# @return [String]
|
|
197
|
+
#
|
|
198
|
+
# @!attribute [rw] message
|
|
199
|
+
# Additional error details describing the endpoint failure and
|
|
200
|
+
# recommended action.
|
|
201
|
+
# @return [String]
|
|
202
|
+
#
|
|
203
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/FailedReason AWS API Documentation
|
|
204
|
+
#
|
|
205
|
+
class FailedReason < Struct.new(
|
|
206
|
+
:error_code,
|
|
207
|
+
:message)
|
|
182
208
|
SENSITIVE = []
|
|
183
209
|
include Aws::Structure
|
|
184
210
|
end
|
|
@@ -371,6 +397,20 @@ module Aws::S3Outposts
|
|
|
371
397
|
include Aws::Structure
|
|
372
398
|
end
|
|
373
399
|
|
|
400
|
+
# The service link connection to your Outposts home Region is down.
|
|
401
|
+
# Check your connection and try again.
|
|
402
|
+
#
|
|
403
|
+
# @!attribute [rw] message
|
|
404
|
+
# @return [String]
|
|
405
|
+
#
|
|
406
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/OutpostOfflineException AWS API Documentation
|
|
407
|
+
#
|
|
408
|
+
class OutpostOfflineException < Struct.new(
|
|
409
|
+
:message)
|
|
410
|
+
SENSITIVE = []
|
|
411
|
+
include Aws::Structure
|
|
412
|
+
end
|
|
413
|
+
|
|
374
414
|
# The requested resource was not found.
|
|
375
415
|
#
|
|
376
416
|
# @!attribute [rw] message
|
data/lib/aws-sdk-s3outposts.rb
CHANGED
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.
|
|
4
|
+
version: 1.18.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: 2023-
|
|
11
|
+
date: 2023-05-31 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.
|
|
22
|
+
version: 3.174.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.
|
|
32
|
+
version: 3.174.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: aws-sigv4
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|