aws-sdk-s3outposts 1.16.0 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3outposts/client.rb +7 -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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69bb1853b592b855ee9cd0d0e246bbc83484ef3667708ca2c7ca7a196383f9a5
|
4
|
+
data.tar.gz: 205a7067c51fef4011299fb537fcd88b7c846ea91f19f0601f49336d270286c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f287afc9cceaa6d6ecffb85a49a70123dc3ac0118b50d86c4106b363919e37728f203c798c67ce1d0edb8181cbb536c6d8cc95ab66bb20bbc8f38db26055094
|
7
|
+
data.tar.gz: 8a14ed8c3e1c3f3b421bd2723715850d698d3984173b4180fb2df40bdcc381798a8564979c8691e0c31efca8dccdfd646add71fbb194874ca876dd7f76e3df77
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.17.0
|
@@ -522,7 +522,7 @@ module Aws::S3Outposts
|
|
522
522
|
# resp.endpoints[0].endpoint_arn #=> String
|
523
523
|
# resp.endpoints[0].outposts_id #=> String
|
524
524
|
# resp.endpoints[0].cidr_block #=> String
|
525
|
-
# resp.endpoints[0].status #=> String, one of "Pending", "Available", "Deleting"
|
525
|
+
# resp.endpoints[0].status #=> String, one of "Pending", "Available", "Deleting", "Create_Failed", "Delete_Failed"
|
526
526
|
# resp.endpoints[0].creation_time #=> Time
|
527
527
|
# resp.endpoints[0].network_interfaces #=> Array
|
528
528
|
# resp.endpoints[0].network_interfaces[0].network_interface_id #=> String
|
@@ -531,6 +531,8 @@ module Aws::S3Outposts
|
|
531
531
|
# resp.endpoints[0].security_group_id #=> String
|
532
532
|
# resp.endpoints[0].access_type #=> String, one of "Private", "CustomerOwnedIp"
|
533
533
|
# resp.endpoints[0].customer_owned_ipv_4_pool #=> String
|
534
|
+
# resp.endpoints[0].failed_reason.error_code #=> String
|
535
|
+
# resp.endpoints[0].failed_reason.message #=> String
|
534
536
|
# resp.next_token #=> String
|
535
537
|
#
|
536
538
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/ListEndpoints AWS API Documentation
|
@@ -634,7 +636,7 @@ module Aws::S3Outposts
|
|
634
636
|
# resp.endpoints[0].endpoint_arn #=> String
|
635
637
|
# resp.endpoints[0].outposts_id #=> String
|
636
638
|
# resp.endpoints[0].cidr_block #=> String
|
637
|
-
# resp.endpoints[0].status #=> String, one of "Pending", "Available", "Deleting"
|
639
|
+
# resp.endpoints[0].status #=> String, one of "Pending", "Available", "Deleting", "Create_Failed", "Delete_Failed"
|
638
640
|
# resp.endpoints[0].creation_time #=> Time
|
639
641
|
# resp.endpoints[0].network_interfaces #=> Array
|
640
642
|
# resp.endpoints[0].network_interfaces[0].network_interface_id #=> String
|
@@ -643,6 +645,8 @@ module Aws::S3Outposts
|
|
643
645
|
# resp.endpoints[0].security_group_id #=> String
|
644
646
|
# resp.endpoints[0].access_type #=> String, one of "Private", "CustomerOwnedIp"
|
645
647
|
# resp.endpoints[0].customer_owned_ipv_4_pool #=> String
|
648
|
+
# resp.endpoints[0].failed_reason.error_code #=> String
|
649
|
+
# resp.endpoints[0].failed_reason.message #=> String
|
646
650
|
# resp.next_token #=> String
|
647
651
|
#
|
648
652
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/ListSharedEndpoints AWS API Documentation
|
@@ -667,7 +671,7 @@ module Aws::S3Outposts
|
|
667
671
|
params: params,
|
668
672
|
config: config)
|
669
673
|
context[:gem_name] = 'aws-sdk-s3outposts'
|
670
|
-
context[:gem_version] = '1.
|
674
|
+
context[:gem_version] = '1.17.0'
|
671
675
|
Seahorse::Client::Request.new(handlers, context)
|
672
676
|
end
|
673
677
|
|
@@ -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.17.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-03-
|
11
|
+
date: 2023-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|