aws-sdk-outposts 1.15.0 → 1.16.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-outposts.rb +1 -1
- data/lib/aws-sdk-outposts/client.rb +5 -1
- data/lib/aws-sdk-outposts/client_api.rb +14 -0
- data/lib/aws-sdk-outposts/errors.rb +26 -0
- data/lib/aws-sdk-outposts/types.rb +35 -2
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffe63d41a821cd7582a9c8fc079de326fe17528730da3e93a84446c7aeb0c64e
|
4
|
+
data.tar.gz: 628a070f8e22ade0908b84b89c9126771632f68a0bfc835b33ec8c2cf3a558b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bfae6b4287d86c811fa6ec6c5182f6cf71b35b7de0285c228f28176d50251e07ac0eff481e6596f1a33644604e1cd9c2ea92cf13aab7fbccd669c245e886ccf
|
7
|
+
data.tar.gz: 7020647dff534c1cbc8a4607d3831c4e9c3184b593f329d70129a2f29137f8f95f48ea9f3761d519e9d28cd24cc33549c8d992538b105f7fe4c599799e5ac589
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.16.0
|
data/lib/aws-sdk-outposts.rb
CHANGED
@@ -381,6 +381,7 @@ module Aws::Outposts
|
|
381
381
|
# resp.outpost.availability_zone_id #=> String
|
382
382
|
# resp.outpost.tags #=> Hash
|
383
383
|
# resp.outpost.tags["TagKey"] #=> String
|
384
|
+
# resp.outpost.site_arn #=> String
|
384
385
|
#
|
385
386
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateOutpost AWS API Documentation
|
386
387
|
#
|
@@ -463,6 +464,7 @@ module Aws::Outposts
|
|
463
464
|
# resp.outpost.availability_zone_id #=> String
|
464
465
|
# resp.outpost.tags #=> Hash
|
465
466
|
# resp.outpost.tags["TagKey"] #=> String
|
467
|
+
# resp.outpost.site_arn #=> String
|
466
468
|
#
|
467
469
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpost AWS API Documentation
|
468
470
|
#
|
@@ -552,6 +554,7 @@ module Aws::Outposts
|
|
552
554
|
# resp.outposts[0].availability_zone_id #=> String
|
553
555
|
# resp.outposts[0].tags #=> Hash
|
554
556
|
# resp.outposts[0].tags["TagKey"] #=> String
|
557
|
+
# resp.outposts[0].site_arn #=> String
|
555
558
|
# resp.next_token #=> String
|
556
559
|
#
|
557
560
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListOutposts AWS API Documentation
|
@@ -594,6 +597,7 @@ module Aws::Outposts
|
|
594
597
|
# resp.sites[0].description #=> String
|
595
598
|
# resp.sites[0].tags #=> Hash
|
596
599
|
# resp.sites[0].tags["TagKey"] #=> String
|
600
|
+
# resp.sites[0].site_arn #=> String
|
597
601
|
# resp.next_token #=> String
|
598
602
|
#
|
599
603
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListSites AWS API Documentation
|
@@ -701,7 +705,7 @@ module Aws::Outposts
|
|
701
705
|
params: params,
|
702
706
|
config: config)
|
703
707
|
context[:gem_name] = 'aws-sdk-outposts'
|
704
|
-
context[:gem_version] = '1.
|
708
|
+
context[:gem_version] = '1.16.0'
|
705
709
|
Seahorse::Client::Request.new(handlers, context)
|
706
710
|
end
|
707
711
|
|
@@ -18,6 +18,7 @@ module Aws::Outposts
|
|
18
18
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
19
19
|
AvailabilityZone = Shapes::StringShape.new(name: 'AvailabilityZone')
|
20
20
|
AvailabilityZoneId = Shapes::StringShape.new(name: 'AvailabilityZoneId')
|
21
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
21
22
|
CreateOutpostInput = Shapes::StructureShape.new(name: 'CreateOutpostInput')
|
22
23
|
CreateOutpostOutput = Shapes::StructureShape.new(name: 'CreateOutpostOutput')
|
23
24
|
DeleteOutpostInput = Shapes::StructureShape.new(name: 'DeleteOutpostInput')
|
@@ -48,11 +49,14 @@ module Aws::Outposts
|
|
48
49
|
OutpostId = Shapes::StringShape.new(name: 'OutpostId')
|
49
50
|
OutpostName = Shapes::StringShape.new(name: 'OutpostName')
|
50
51
|
OwnerId = Shapes::StringShape.new(name: 'OwnerId')
|
52
|
+
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
51
53
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
52
54
|
Site = Shapes::StructureShape.new(name: 'Site')
|
55
|
+
SiteArn = Shapes::StringShape.new(name: 'SiteArn')
|
53
56
|
SiteDescription = Shapes::StringShape.new(name: 'SiteDescription')
|
54
57
|
SiteId = Shapes::StringShape.new(name: 'SiteId')
|
55
58
|
SiteName = Shapes::StringShape.new(name: 'SiteName')
|
59
|
+
String = Shapes::StringShape.new(name: 'String')
|
56
60
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
57
61
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
58
62
|
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
@@ -69,6 +73,11 @@ module Aws::Outposts
|
|
69
73
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
70
74
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
71
75
|
|
76
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
77
|
+
ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
|
78
|
+
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
79
|
+
ConflictException.struct_class = Types::ConflictException
|
80
|
+
|
72
81
|
CreateOutpostInput.add_member(:name, Shapes::ShapeRef.new(shape: OutpostName, required: true, location_name: "Name"))
|
73
82
|
CreateOutpostInput.add_member(:description, Shapes::ShapeRef.new(shape: OutpostDescription, location_name: "Description"))
|
74
83
|
CreateOutpostInput.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, required: true, location_name: "SiteId"))
|
@@ -150,6 +159,7 @@ module Aws::Outposts
|
|
150
159
|
Outpost.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZone, location_name: "AvailabilityZone"))
|
151
160
|
Outpost.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "AvailabilityZoneId"))
|
152
161
|
Outpost.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
162
|
+
Outpost.add_member(:site_arn, Shapes::ShapeRef.new(shape: SiteArn, location_name: "SiteArn"))
|
153
163
|
Outpost.struct_class = Types::Outpost
|
154
164
|
|
155
165
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
@@ -160,6 +170,7 @@ module Aws::Outposts
|
|
160
170
|
Site.add_member(:name, Shapes::ShapeRef.new(shape: SiteName, location_name: "Name"))
|
161
171
|
Site.add_member(:description, Shapes::ShapeRef.new(shape: SiteDescription, location_name: "Description"))
|
162
172
|
Site.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
173
|
+
Site.add_member(:site_arn, Shapes::ShapeRef.new(shape: SiteArn, location_name: "SiteArn"))
|
163
174
|
Site.struct_class = Types::Site
|
164
175
|
|
165
176
|
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
@@ -212,6 +223,7 @@ module Aws::Outposts
|
|
212
223
|
o.input = Shapes::ShapeRef.new(shape: CreateOutpostInput)
|
213
224
|
o.output = Shapes::ShapeRef.new(shape: CreateOutpostOutput)
|
214
225
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
226
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
215
227
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
216
228
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
217
229
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
@@ -225,6 +237,7 @@ module Aws::Outposts
|
|
225
237
|
o.input = Shapes::ShapeRef.new(shape: DeleteOutpostInput)
|
226
238
|
o.output = Shapes::ShapeRef.new(shape: DeleteOutpostOutput)
|
227
239
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
240
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
228
241
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
229
242
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
230
243
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
@@ -237,6 +250,7 @@ module Aws::Outposts
|
|
237
250
|
o.input = Shapes::ShapeRef.new(shape: DeleteSiteInput)
|
238
251
|
o.output = Shapes::ShapeRef.new(shape: DeleteSiteOutput)
|
239
252
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
253
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
240
254
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
241
255
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
242
256
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
@@ -28,6 +28,7 @@ module Aws::Outposts
|
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
30
|
# * {AccessDeniedException}
|
31
|
+
# * {ConflictException}
|
31
32
|
# * {InternalServerException}
|
32
33
|
# * {NotFoundException}
|
33
34
|
# * {ServiceQuotaExceededException}
|
@@ -54,6 +55,31 @@ module Aws::Outposts
|
|
54
55
|
end
|
55
56
|
end
|
56
57
|
|
58
|
+
class ConflictException < ServiceError
|
59
|
+
|
60
|
+
# @param [Seahorse::Client::RequestContext] context
|
61
|
+
# @param [String] message
|
62
|
+
# @param [Aws::Outposts::Types::ConflictException] data
|
63
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
64
|
+
super(context, message, data)
|
65
|
+
end
|
66
|
+
|
67
|
+
# @return [String]
|
68
|
+
def message
|
69
|
+
@message || @data[:message]
|
70
|
+
end
|
71
|
+
|
72
|
+
# @return [String]
|
73
|
+
def resource_id
|
74
|
+
@data[:resource_id]
|
75
|
+
end
|
76
|
+
|
77
|
+
# @return [String]
|
78
|
+
def resource_type
|
79
|
+
@data[:resource_type]
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
57
83
|
class InternalServerException < ServiceError
|
58
84
|
|
59
85
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -23,6 +23,29 @@ module Aws::Outposts
|
|
23
23
|
include Aws::Structure
|
24
24
|
end
|
25
25
|
|
26
|
+
# Updating or deleting this resource can cause an inconsistent state.
|
27
|
+
#
|
28
|
+
# @!attribute [rw] message
|
29
|
+
# @return [String]
|
30
|
+
#
|
31
|
+
# @!attribute [rw] resource_id
|
32
|
+
# The ID of the resource causing the conflict.
|
33
|
+
# @return [String]
|
34
|
+
#
|
35
|
+
# @!attribute [rw] resource_type
|
36
|
+
# The type of the resource causing the conflict.
|
37
|
+
# @return [String]
|
38
|
+
#
|
39
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ConflictException AWS API Documentation
|
40
|
+
#
|
41
|
+
class ConflictException < Struct.new(
|
42
|
+
:message,
|
43
|
+
:resource_id,
|
44
|
+
:resource_type)
|
45
|
+
SENSITIVE = []
|
46
|
+
include Aws::Structure
|
47
|
+
end
|
48
|
+
|
26
49
|
# @note When making an API call, you may pass CreateOutpostInput
|
27
50
|
# data as a hash:
|
28
51
|
#
|
@@ -426,6 +449,10 @@ module Aws::Outposts
|
|
426
449
|
# The Outpost tags.
|
427
450
|
# @return [Hash<String,String>]
|
428
451
|
#
|
452
|
+
# @!attribute [rw] site_arn
|
453
|
+
# The Amazon Resource Name (ARN) of the site.
|
454
|
+
# @return [String]
|
455
|
+
#
|
429
456
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/Outpost AWS API Documentation
|
430
457
|
#
|
431
458
|
class Outpost < Struct.new(
|
@@ -438,7 +465,8 @@ module Aws::Outposts
|
|
438
465
|
:life_cycle_status,
|
439
466
|
:availability_zone,
|
440
467
|
:availability_zone_id,
|
441
|
-
:tags
|
468
|
+
:tags,
|
469
|
+
:site_arn)
|
442
470
|
SENSITIVE = []
|
443
471
|
include Aws::Structure
|
444
472
|
end
|
@@ -478,6 +506,10 @@ module Aws::Outposts
|
|
478
506
|
# The site tags.
|
479
507
|
# @return [Hash<String,String>]
|
480
508
|
#
|
509
|
+
# @!attribute [rw] site_arn
|
510
|
+
# The Amazon Resource Name (ARN) of the site.
|
511
|
+
# @return [String]
|
512
|
+
#
|
481
513
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/Site AWS API Documentation
|
482
514
|
#
|
483
515
|
class Site < Struct.new(
|
@@ -485,7 +517,8 @@ module Aws::Outposts
|
|
485
517
|
:account_id,
|
486
518
|
:name,
|
487
519
|
:description,
|
488
|
-
:tags
|
520
|
+
:tags,
|
521
|
+
:site_arn)
|
489
522
|
SENSITIVE = []
|
490
523
|
include Aws::Structure
|
491
524
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-outposts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
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: 2021-
|
11
|
+
date: 2021-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -66,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
66
66
|
licenses:
|
67
67
|
- Apache-2.0
|
68
68
|
metadata:
|
69
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
70
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
69
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-outposts
|
70
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-outposts/CHANGELOG.md
|
71
71
|
post_install_message:
|
72
72
|
rdoc_options: []
|
73
73
|
require_paths:
|
@@ -83,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
|
-
|
87
|
-
rubygems_version: 2.7.6.2
|
86
|
+
rubygems_version: 3.1.6
|
88
87
|
signing_key:
|
89
88
|
specification_version: 4
|
90
89
|
summary: AWS SDK for Ruby - Outposts
|