aws-sdk-s3outposts 1.15.0 → 1.16.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: ccf140684dec0bca001d20eb517a5afd9ba4b842f750d87b11d73433e8bd6036
4
- data.tar.gz: 3944fb738860f8db1e9ec9cf7dbf019e7ed2483891ba9a7dfe4474451960e270
3
+ metadata.gz: 367ba1ba0f23315bff7f4fab52ddb592fc512c772e8a6f5c0001eaa31d499b3c
4
+ data.tar.gz: ae1a1cd2779c7e36220deb36e426e00bee605dda97af6733255b49cb2cc74b8b
5
5
  SHA512:
6
- metadata.gz: a9c277e672fb6732a26bd7d405be14f098f90c515a57eca64b020a778b178b14db1deefffdc47b400b541261a2fbe4a411c671bc6bc7411cbfe02a1fb41b2d8b
7
- data.tar.gz: 01da89e1260cc1180a42f84f0c2f3a1961d174c9f04e72e14a1cf4f112fdd0574fdfc229f1f609450cda8edff7f19e660812a245d1e9e0e824b8bce95c61fcea
6
+ metadata.gz: fbf558a4c0920163a60c7aa64fbc41297bb2ff08feeb73a64e99731804fe13969bc46690961d873176beae56a76ca08e7998f880a5daf188c2cb4c77a9af2bb3
7
+ data.tar.gz: 3c4d6353de4c4a48cf1739803f1b1b7a13933bf02747392ee646941ed75e66ad79bb0c45d53deba2c193397c8aec9b0fc00eca934129e009e803946bc3c60f86
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.16.0 (2023-03-01)
5
+ ------------------
6
+
7
+ * Feature - S3 on Outposts introduces a new API ListOutpostsWithS3, with this API you can list all your Outposts with S3 capacity.
8
+
4
9
  1.15.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.15.0
1
+ 1.16.0
@@ -542,6 +542,52 @@ module Aws::S3Outposts
542
542
  req.send_request(options)
543
543
  end
544
544
 
545
+ # Lists the Outposts with S3 on Outposts capacity for your Amazon Web
546
+ # Services account. Includes S3 on Outposts that you have access to as
547
+ # the Outposts owner, or as a shared user from Resource Access Manager
548
+ # (RAM).
549
+ #
550
+ # @option params [String] :next_token
551
+ # When you can get additional results from the `ListOutpostsWithS3`
552
+ # call, a `NextToken` parameter is returned in the output. You can then
553
+ # pass in a subsequent command to the `NextToken` parameter to continue
554
+ # listing additional Outposts.
555
+ #
556
+ # @option params [Integer] :max_results
557
+ # The maximum number of Outposts to return. The limit is 100.
558
+ #
559
+ # @return [Types::ListOutpostsWithS3Result] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
560
+ #
561
+ # * {Types::ListOutpostsWithS3Result#outposts #outposts} => Array<Types::Outpost>
562
+ # * {Types::ListOutpostsWithS3Result#next_token #next_token} => String
563
+ #
564
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
565
+ #
566
+ # @example Request syntax with placeholder values
567
+ #
568
+ # resp = client.list_outposts_with_s3({
569
+ # next_token: "NextToken",
570
+ # max_results: 1,
571
+ # })
572
+ #
573
+ # @example Response structure
574
+ #
575
+ # resp.outposts #=> Array
576
+ # resp.outposts[0].outpost_arn #=> String
577
+ # resp.outposts[0].outpost_id #=> String
578
+ # resp.outposts[0].owner_id #=> String
579
+ # resp.outposts[0].capacity_in_bytes #=> Integer
580
+ # resp.next_token #=> String
581
+ #
582
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/ListOutpostsWithS3 AWS API Documentation
583
+ #
584
+ # @overload list_outposts_with_s3(params = {})
585
+ # @param [Hash] params ({})
586
+ def list_outposts_with_s3(params = {}, options = {})
587
+ req = build_request(:list_outposts_with_s3, params)
588
+ req.send_request(options)
589
+ end
590
+
545
591
  # Lists all endpoints associated with an Outpost that has been shared by
546
592
  # Amazon Web Services Resource Access Manager (RAM).
547
593
  #
@@ -621,7 +667,7 @@ module Aws::S3Outposts
621
667
  params: params,
622
668
  config: config)
623
669
  context[:gem_name] = 'aws-sdk-s3outposts'
624
- context[:gem_version] = '1.15.0'
670
+ context[:gem_version] = '1.16.0'
625
671
  Seahorse::Client::Request.new(handlers, context)
626
672
  end
627
673
 
@@ -14,6 +14,8 @@ module Aws::S3Outposts
14
14
  include Seahorse::Model
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ AwsAccountId = Shapes::StringShape.new(name: 'AwsAccountId')
18
+ CapacityInBytes = Shapes::IntegerShape.new(name: 'CapacityInBytes')
17
19
  CidrBlock = Shapes::StringShape.new(name: 'CidrBlock')
18
20
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
19
21
  CreateEndpointRequest = Shapes::StructureShape.new(name: 'CreateEndpointRequest')
@@ -31,6 +33,8 @@ module Aws::S3Outposts
31
33
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
32
34
  ListEndpointsRequest = Shapes::StructureShape.new(name: 'ListEndpointsRequest')
33
35
  ListEndpointsResult = Shapes::StructureShape.new(name: 'ListEndpointsResult')
36
+ ListOutpostsWithS3Request = Shapes::StructureShape.new(name: 'ListOutpostsWithS3Request')
37
+ ListOutpostsWithS3Result = Shapes::StructureShape.new(name: 'ListOutpostsWithS3Result')
34
38
  ListSharedEndpointsRequest = Shapes::StructureShape.new(name: 'ListSharedEndpointsRequest')
35
39
  ListSharedEndpointsResult = Shapes::StructureShape.new(name: 'ListSharedEndpointsResult')
36
40
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
@@ -38,10 +42,14 @@ module Aws::S3Outposts
38
42
  NetworkInterfaceId = Shapes::StringShape.new(name: 'NetworkInterfaceId')
39
43
  NetworkInterfaces = Shapes::ListShape.new(name: 'NetworkInterfaces')
40
44
  NextToken = Shapes::StringShape.new(name: 'NextToken')
45
+ Outpost = Shapes::StructureShape.new(name: 'Outpost')
46
+ OutpostArn = Shapes::StringShape.new(name: 'OutpostArn')
41
47
  OutpostId = Shapes::StringShape.new(name: 'OutpostId')
48
+ Outposts = Shapes::ListShape.new(name: 'Outposts')
42
49
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
43
50
  SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
44
51
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
52
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
45
53
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
46
54
  VpcId = Shapes::StringShape.new(name: 'VpcId')
47
55
 
@@ -91,6 +99,14 @@ module Aws::S3Outposts
91
99
  ListEndpointsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
92
100
  ListEndpointsResult.struct_class = Types::ListEndpointsResult
93
101
 
102
+ ListOutpostsWithS3Request.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
103
+ ListOutpostsWithS3Request.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
104
+ ListOutpostsWithS3Request.struct_class = Types::ListOutpostsWithS3Request
105
+
106
+ ListOutpostsWithS3Result.add_member(:outposts, Shapes::ShapeRef.new(shape: Outposts, location_name: "Outposts"))
107
+ ListOutpostsWithS3Result.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
108
+ ListOutpostsWithS3Result.struct_class = Types::ListOutpostsWithS3Result
109
+
94
110
  ListSharedEndpointsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
95
111
  ListSharedEndpointsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
96
112
  ListSharedEndpointsRequest.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, required: true, location: "querystring", location_name: "outpostId"))
@@ -105,9 +121,20 @@ module Aws::S3Outposts
105
121
 
106
122
  NetworkInterfaces.member = Shapes::ShapeRef.new(shape: NetworkInterface)
107
123
 
124
+ Outpost.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: OutpostArn, location_name: "OutpostArn"))
125
+ Outpost.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, location_name: "OutpostId"))
126
+ Outpost.add_member(:owner_id, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "OwnerId"))
127
+ Outpost.add_member(:capacity_in_bytes, Shapes::ShapeRef.new(shape: CapacityInBytes, location_name: "CapacityInBytes"))
128
+ Outpost.struct_class = Types::Outpost
129
+
130
+ Outposts.member = Shapes::ShapeRef.new(shape: Outpost)
131
+
108
132
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
109
133
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
110
134
 
135
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
136
+ ThrottlingException.struct_class = Types::ThrottlingException
137
+
111
138
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
112
139
  ValidationException.struct_class = Types::ValidationException
113
140
 
@@ -141,6 +168,7 @@ module Aws::S3Outposts
141
168
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
142
169
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
143
170
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
171
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
144
172
  end)
145
173
 
146
174
  api.add_operation(:delete_endpoint, Seahorse::Model::Operation.new.tap do |o|
@@ -153,6 +181,7 @@ module Aws::S3Outposts
153
181
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
154
182
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
155
183
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
184
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
156
185
  end)
157
186
 
158
187
  api.add_operation(:list_endpoints, Seahorse::Model::Operation.new.tap do |o|
@@ -165,6 +194,25 @@ module Aws::S3Outposts
165
194
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
166
195
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
167
196
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
197
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
198
+ o[:pager] = Aws::Pager.new(
199
+ limit_key: "max_results",
200
+ tokens: {
201
+ "next_token" => "next_token"
202
+ }
203
+ )
204
+ end)
205
+
206
+ api.add_operation(:list_outposts_with_s3, Seahorse::Model::Operation.new.tap do |o|
207
+ o.name = "ListOutpostsWithS3"
208
+ o.http_method = "GET"
209
+ o.http_request_uri = "/S3Outposts/ListOutpostsWithS3"
210
+ o.input = Shapes::ShapeRef.new(shape: ListOutpostsWithS3Request)
211
+ o.output = Shapes::ShapeRef.new(shape: ListOutpostsWithS3Result)
212
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
213
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
214
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
215
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
168
216
  o[:pager] = Aws::Pager.new(
169
217
  limit_key: "max_results",
170
218
  tokens: {
@@ -183,6 +231,7 @@ module Aws::S3Outposts
183
231
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
184
232
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
185
233
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
234
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
186
235
  o[:pager] = Aws::Pager.new(
187
236
  limit_key: "max_results",
188
237
  tokens: {
@@ -14,36 +14,39 @@ module Aws::S3Outposts
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -53,6 +53,20 @@ module Aws::S3Outposts
53
53
  end
54
54
  end
55
55
 
56
+ class ListOutpostsWithS3
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
+
56
70
  class ListSharedEndpoints
57
71
  def self.build(context)
58
72
  unless context.config.regional_endpoint
@@ -31,6 +31,7 @@ module Aws::S3Outposts
31
31
  # * {ConflictException}
32
32
  # * {InternalServerException}
33
33
  # * {ResourceNotFoundException}
34
+ # * {ThrottlingException}
34
35
  # * {ValidationException}
35
36
  #
36
37
  # Additionally, error classes are dynamically generated for service errors based on the error code
@@ -99,6 +100,21 @@ module Aws::S3Outposts
99
100
  end
100
101
  end
101
102
 
103
+ class ThrottlingException < ServiceError
104
+
105
+ # @param [Seahorse::Client::RequestContext] context
106
+ # @param [String] message
107
+ # @param [Aws::S3Outposts::Types::ThrottlingException] data
108
+ def initialize(context, message, data = Aws::EmptyStructure.new)
109
+ super(context, message, data)
110
+ end
111
+
112
+ # @return [String]
113
+ def message
114
+ @message || @data[:message]
115
+ end
116
+ end
117
+
102
118
  class ValidationException < ServiceError
103
119
 
104
120
  # @param [Seahorse::Client::RequestContext] context
@@ -62,6 +62,8 @@ module Aws::S3Outposts
62
62
  Aws::S3Outposts::Endpoints::DeleteEndpoint.build(context)
63
63
  when :list_endpoints
64
64
  Aws::S3Outposts::Endpoints::ListEndpoints.build(context)
65
+ when :list_outposts_with_s3
66
+ Aws::S3Outposts::Endpoints::ListOutpostsWithS3.build(context)
65
67
  when :list_shared_endpoints
66
68
  Aws::S3Outposts::Endpoints::ListSharedEndpoints.build(context)
67
69
  end
@@ -234,6 +234,53 @@ module Aws::S3Outposts
234
234
  include Aws::Structure
235
235
  end
236
236
 
237
+ # @!attribute [rw] next_token
238
+ # When you can get additional results from the `ListOutpostsWithS3`
239
+ # call, a `NextToken` parameter is returned in the output. You can
240
+ # then pass in a subsequent command to the `NextToken` parameter to
241
+ # continue listing additional Outposts.
242
+ # @return [String]
243
+ #
244
+ # @!attribute [rw] max_results
245
+ # The maximum number of Outposts to return. The limit is 100.
246
+ # @return [Integer]
247
+ #
248
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/ListOutpostsWithS3Request AWS API Documentation
249
+ #
250
+ class ListOutpostsWithS3Request < Struct.new(
251
+ :next_token,
252
+ :max_results)
253
+ SENSITIVE = []
254
+ include Aws::Structure
255
+ end
256
+
257
+ # @!attribute [rw] outposts
258
+ # Returns the list of Outposts that have the following
259
+ # characteristics:
260
+ #
261
+ # * outposts that have S3 provisioned
262
+ #
263
+ # * outposts that are `Active` (not pending any provisioning nor
264
+ # decommissioned)
265
+ #
266
+ # * outposts to which the the calling Amazon Web Services account has
267
+ # access
268
+ # @return [Array<Types::Outpost>]
269
+ #
270
+ # @!attribute [rw] next_token
271
+ # Returns a token that you can use to call `ListOutpostsWithS3` again
272
+ # and receive additional results, if there are any.
273
+ # @return [String]
274
+ #
275
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/ListOutpostsWithS3Result AWS API Documentation
276
+ #
277
+ class ListOutpostsWithS3Result < Struct.new(
278
+ :outposts,
279
+ :next_token)
280
+ SENSITIVE = []
281
+ include Aws::Structure
282
+ end
283
+
237
284
  # @!attribute [rw] next_token
238
285
  # If a previous response from this operation included a `NextToken`
239
286
  # value, you can provide that value here to retrieve the next page of
@@ -294,6 +341,36 @@ module Aws::S3Outposts
294
341
  include Aws::Structure
295
342
  end
296
343
 
344
+ # Contains the details for the Outpost object.
345
+ #
346
+ # @!attribute [rw] outpost_arn
347
+ # Specifies the unique Amazon Resource Name (ARN) for the outpost.
348
+ # @return [String]
349
+ #
350
+ # @!attribute [rw] outpost_id
351
+ # Specifies the unique identifier for the outpost.
352
+ # @return [String]
353
+ #
354
+ # @!attribute [rw] owner_id
355
+ # Returns the Amazon Web Services account ID of the outpost owner.
356
+ # Useful for comparing owned versus shared outposts.
357
+ # @return [String]
358
+ #
359
+ # @!attribute [rw] capacity_in_bytes
360
+ # The Amazon S3 capacity of the outpost in bytes.
361
+ # @return [Integer]
362
+ #
363
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/Outpost AWS API Documentation
364
+ #
365
+ class Outpost < Struct.new(
366
+ :outpost_arn,
367
+ :outpost_id,
368
+ :owner_id,
369
+ :capacity_in_bytes)
370
+ SENSITIVE = []
371
+ include Aws::Structure
372
+ end
373
+
297
374
  # The requested resource was not found.
298
375
  #
299
376
  # @!attribute [rw] message
@@ -307,6 +384,19 @@ module Aws::S3Outposts
307
384
  include Aws::Structure
308
385
  end
309
386
 
387
+ # The request was denied due to request throttling.
388
+ #
389
+ # @!attribute [rw] message
390
+ # @return [String]
391
+ #
392
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/ThrottlingException AWS API Documentation
393
+ #
394
+ class ThrottlingException < Struct.new(
395
+ :message)
396
+ SENSITIVE = []
397
+ include Aws::Structure
398
+ end
399
+
310
400
  # There was an exception validating this data.
311
401
  #
312
402
  # @!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.15.0'
55
+ GEM_VERSION = '1.16.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.15.0
4
+ version: 1.16.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-01-18 00:00:00.000000000 Z
11
+ date: 2023-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core