aws-sdk-s3outposts 1.16.0 → 1.17.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 367ba1ba0f23315bff7f4fab52ddb592fc512c772e8a6f5c0001eaa31d499b3c
4
- data.tar.gz: ae1a1cd2779c7e36220deb36e426e00bee605dda97af6733255b49cb2cc74b8b
3
+ metadata.gz: 69bb1853b592b855ee9cd0d0e246bbc83484ef3667708ca2c7ca7a196383f9a5
4
+ data.tar.gz: 205a7067c51fef4011299fb537fcd88b7c846ea91f19f0601f49336d270286c9
5
5
  SHA512:
6
- metadata.gz: fbf558a4c0920163a60c7aa64fbc41297bb2ff08feeb73a64e99731804fe13969bc46690961d873176beae56a76ca08e7998f880a5daf188c2cb4c77a9af2bb3
7
- data.tar.gz: 3c4d6353de4c4a48cf1739803f1b1b7a13933bf02747392ee646941ed75e66ad79bb0c45d53deba2c193397c8aec9b0fc00eca934129e009e803946bc3c60f86
6
+ metadata.gz: 1f287afc9cceaa6d6ecffb85a49a70123dc3ac0118b50d86c4106b363919e37728f203c798c67ce1d0edb8181cbb536c6d8cc95ab66bb20bbc8f38db26055094
7
+ data.tar.gz: 8a14ed8c3e1c3f3b421bd2723715850d698d3984173b4180fb2df40bdcc381798a8564979c8691e0c31efca8dccdfd646add71fbb194874ca876dd7f76e3df77
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.17.0 (2023-03-20)
5
+ ------------------
6
+
7
+ * Feature - S3 On Outposts added support for endpoint status, and a failed endpoint reason, if any
8
+
4
9
  1.16.0 (2023-03-01)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.16.0
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.16.0'
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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-s3outposts/customizations'
52
52
  # @!group service
53
53
  module Aws::S3Outposts
54
54
 
55
- GEM_VERSION = '1.16.0'
55
+ GEM_VERSION = '1.17.0'
56
56
 
57
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.16.0
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-01 00:00:00.000000000 Z
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