aws-sdk-outposts 1.7.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-outposts.rb +3 -2
- data/lib/aws-sdk-outposts/client.rb +39 -10
- data/lib/aws-sdk-outposts/client_api.rb +10 -1
- data/lib/aws-sdk-outposts/types.rb +22 -4
- 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: 46ad51f6bdef33b0f0d4a20f70708e29f64841cb66134cf075df87b23000f55b
|
4
|
+
data.tar.gz: 8ca29c0a10fe456e1ca57ed84c7b38a532ba3eb6713d008de480d86da641c97f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4cd039594ab6afdd307adb10c5ef8181bd32f67ad8c7be550e0c41e21767e5f95f2b908fcf06452d193efba1973a22d998ac05bfb5be7ca1e1818fb44f9a6cb9
|
7
|
+
data.tar.gz: 5156d1c8d0bb1455865bf72637a6c57c3c6ddcef928b49e7f21f105893790c6afd325e05d1e324eb345a0cdffc0c66b857227692cf646140ed263ed3d51c520d
|
data/lib/aws-sdk-outposts.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-outposts/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::Outposts
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.12.0'
|
51
52
|
|
52
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::Outposts
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::Outposts
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -314,7 +329,7 @@ module Aws::Outposts
|
|
314
329
|
|
315
330
|
# Creates an Outpost.
|
316
331
|
#
|
317
|
-
# @option params [String] :name
|
332
|
+
# @option params [required, String] :name
|
318
333
|
# The name of the Outpost.
|
319
334
|
#
|
320
335
|
# @option params [String] :description
|
@@ -333,6 +348,9 @@ module Aws::Outposts
|
|
333
348
|
#
|
334
349
|
# You must specify `AvailabilityZone` or `AvailabilityZoneId`.
|
335
350
|
#
|
351
|
+
# @option params [Hash<String,String>] :tags
|
352
|
+
# The tags to apply to the Outpost.
|
353
|
+
#
|
336
354
|
# @return [Types::CreateOutpostOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
337
355
|
#
|
338
356
|
# * {Types::CreateOutpostOutput#outpost #outpost} => Types::Outpost
|
@@ -340,11 +358,14 @@ module Aws::Outposts
|
|
340
358
|
# @example Request syntax with placeholder values
|
341
359
|
#
|
342
360
|
# resp = client.create_outpost({
|
343
|
-
# name: "OutpostName",
|
361
|
+
# name: "OutpostName", # required
|
344
362
|
# description: "OutpostDescription",
|
345
363
|
# site_id: "SiteId", # required
|
346
364
|
# availability_zone: "AvailabilityZone",
|
347
365
|
# availability_zone_id: "AvailabilityZoneId",
|
366
|
+
# tags: {
|
367
|
+
# "TagKey" => "TagValue",
|
368
|
+
# },
|
348
369
|
# })
|
349
370
|
#
|
350
371
|
# @example Response structure
|
@@ -358,6 +379,8 @@ module Aws::Outposts
|
|
358
379
|
# resp.outpost.life_cycle_status #=> String
|
359
380
|
# resp.outpost.availability_zone #=> String
|
360
381
|
# resp.outpost.availability_zone_id #=> String
|
382
|
+
# resp.outpost.tags #=> Hash
|
383
|
+
# resp.outpost.tags["TagKey"] #=> String
|
361
384
|
#
|
362
385
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateOutpost AWS API Documentation
|
363
386
|
#
|
@@ -438,6 +461,8 @@ module Aws::Outposts
|
|
438
461
|
# resp.outpost.life_cycle_status #=> String
|
439
462
|
# resp.outpost.availability_zone #=> String
|
440
463
|
# resp.outpost.availability_zone_id #=> String
|
464
|
+
# resp.outpost.tags #=> Hash
|
465
|
+
# resp.outpost.tags["TagKey"] #=> String
|
441
466
|
#
|
442
467
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpost AWS API Documentation
|
443
468
|
#
|
@@ -525,6 +550,8 @@ module Aws::Outposts
|
|
525
550
|
# resp.outposts[0].life_cycle_status #=> String
|
526
551
|
# resp.outposts[0].availability_zone #=> String
|
527
552
|
# resp.outposts[0].availability_zone_id #=> String
|
553
|
+
# resp.outposts[0].tags #=> Hash
|
554
|
+
# resp.outposts[0].tags["TagKey"] #=> String
|
528
555
|
# resp.next_token #=> String
|
529
556
|
#
|
530
557
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListOutposts AWS API Documentation
|
@@ -565,6 +592,8 @@ module Aws::Outposts
|
|
565
592
|
# resp.sites[0].account_id #=> String
|
566
593
|
# resp.sites[0].name #=> String
|
567
594
|
# resp.sites[0].description #=> String
|
595
|
+
# resp.sites[0].tags #=> Hash
|
596
|
+
# resp.sites[0].tags["TagKey"] #=> String
|
568
597
|
# resp.next_token #=> String
|
569
598
|
#
|
570
599
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListSites AWS API Documentation
|
@@ -589,7 +618,7 @@ module Aws::Outposts
|
|
589
618
|
params: params,
|
590
619
|
config: config)
|
591
620
|
context[:gem_name] = 'aws-sdk-outposts'
|
592
|
-
context[:gem_version] = '1.
|
621
|
+
context[:gem_version] = '1.12.0'
|
593
622
|
Seahorse::Client::Request.new(handlers, context)
|
594
623
|
end
|
595
624
|
|
@@ -50,6 +50,9 @@ module Aws::Outposts
|
|
50
50
|
SiteDescription = Shapes::StringShape.new(name: 'SiteDescription')
|
51
51
|
SiteId = Shapes::StringShape.new(name: 'SiteId')
|
52
52
|
SiteName = Shapes::StringShape.new(name: 'SiteName')
|
53
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
54
|
+
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
55
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
53
56
|
Token = Shapes::StringShape.new(name: 'Token')
|
54
57
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
55
58
|
outpostListDefinition = Shapes::ListShape.new(name: 'outpostListDefinition')
|
@@ -58,11 +61,12 @@ module Aws::Outposts
|
|
58
61
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
59
62
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
60
63
|
|
61
|
-
CreateOutpostInput.add_member(:name, Shapes::ShapeRef.new(shape: OutpostName, location_name: "Name"))
|
64
|
+
CreateOutpostInput.add_member(:name, Shapes::ShapeRef.new(shape: OutpostName, required: true, location_name: "Name"))
|
62
65
|
CreateOutpostInput.add_member(:description, Shapes::ShapeRef.new(shape: OutpostDescription, location_name: "Description"))
|
63
66
|
CreateOutpostInput.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, required: true, location_name: "SiteId"))
|
64
67
|
CreateOutpostInput.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZone, location_name: "AvailabilityZone"))
|
65
68
|
CreateOutpostInput.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "AvailabilityZoneId"))
|
69
|
+
CreateOutpostInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
66
70
|
CreateOutpostInput.struct_class = Types::CreateOutpostInput
|
67
71
|
|
68
72
|
CreateOutpostOutput.add_member(:outpost, Shapes::ShapeRef.new(shape: Outpost, location_name: "Outpost"))
|
@@ -131,6 +135,7 @@ module Aws::Outposts
|
|
131
135
|
Outpost.add_member(:life_cycle_status, Shapes::ShapeRef.new(shape: LifeCycleStatus, location_name: "LifeCycleStatus"))
|
132
136
|
Outpost.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZone, location_name: "AvailabilityZone"))
|
133
137
|
Outpost.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "AvailabilityZoneId"))
|
138
|
+
Outpost.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
134
139
|
Outpost.struct_class = Types::Outpost
|
135
140
|
|
136
141
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
@@ -140,8 +145,12 @@ module Aws::Outposts
|
|
140
145
|
Site.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
141
146
|
Site.add_member(:name, Shapes::ShapeRef.new(shape: SiteName, location_name: "Name"))
|
142
147
|
Site.add_member(:description, Shapes::ShapeRef.new(shape: SiteDescription, location_name: "Description"))
|
148
|
+
Site.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
143
149
|
Site.struct_class = Types::Site
|
144
150
|
|
151
|
+
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
152
|
+
TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
153
|
+
|
145
154
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
146
155
|
ValidationException.struct_class = Types::ValidationException
|
147
156
|
|
@@ -27,11 +27,14 @@ module Aws::Outposts
|
|
27
27
|
# data as a hash:
|
28
28
|
#
|
29
29
|
# {
|
30
|
-
# name: "OutpostName",
|
30
|
+
# name: "OutpostName", # required
|
31
31
|
# description: "OutpostDescription",
|
32
32
|
# site_id: "SiteId", # required
|
33
33
|
# availability_zone: "AvailabilityZone",
|
34
34
|
# availability_zone_id: "AvailabilityZoneId",
|
35
|
+
# tags: {
|
36
|
+
# "TagKey" => "TagValue",
|
37
|
+
# },
|
35
38
|
# }
|
36
39
|
#
|
37
40
|
# @!attribute [rw] name
|
@@ -58,6 +61,10 @@ module Aws::Outposts
|
|
58
61
|
# You must specify `AvailabilityZone` or `AvailabilityZoneId`.
|
59
62
|
# @return [String]
|
60
63
|
#
|
64
|
+
# @!attribute [rw] tags
|
65
|
+
# The tags to apply to the Outpost.
|
66
|
+
# @return [Hash<String,String>]
|
67
|
+
#
|
61
68
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateOutpostInput AWS API Documentation
|
62
69
|
#
|
63
70
|
class CreateOutpostInput < Struct.new(
|
@@ -65,7 +72,8 @@ module Aws::Outposts
|
|
65
72
|
:description,
|
66
73
|
:site_id,
|
67
74
|
:availability_zone,
|
68
|
-
:availability_zone_id
|
75
|
+
:availability_zone_id,
|
76
|
+
:tags)
|
69
77
|
SENSITIVE = []
|
70
78
|
include Aws::Structure
|
71
79
|
end
|
@@ -383,6 +391,10 @@ module Aws::Outposts
|
|
383
391
|
# You must specify `AvailabilityZone` or `AvailabilityZoneId`.
|
384
392
|
# @return [String]
|
385
393
|
#
|
394
|
+
# @!attribute [rw] tags
|
395
|
+
# The Outpost tags.
|
396
|
+
# @return [Hash<String,String>]
|
397
|
+
#
|
386
398
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/Outpost AWS API Documentation
|
387
399
|
#
|
388
400
|
class Outpost < Struct.new(
|
@@ -394,7 +406,8 @@ module Aws::Outposts
|
|
394
406
|
:description,
|
395
407
|
:life_cycle_status,
|
396
408
|
:availability_zone,
|
397
|
-
:availability_zone_id
|
409
|
+
:availability_zone_id,
|
410
|
+
:tags)
|
398
411
|
SENSITIVE = []
|
399
412
|
include Aws::Structure
|
400
413
|
end
|
@@ -430,13 +443,18 @@ module Aws::Outposts
|
|
430
443
|
# The description of the site.
|
431
444
|
# @return [String]
|
432
445
|
#
|
446
|
+
# @!attribute [rw] tags
|
447
|
+
# The site tags.
|
448
|
+
# @return [Hash<String,String>]
|
449
|
+
#
|
433
450
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/Site AWS API Documentation
|
434
451
|
#
|
435
452
|
class Site < Struct.new(
|
436
453
|
:site_id,
|
437
454
|
:account_id,
|
438
455
|
:name,
|
439
|
-
:description
|
456
|
+
:description,
|
457
|
+
:tags)
|
440
458
|
SENSITIVE = []
|
441
459
|
include Aws::Structure
|
442
460
|
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.12.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: 2020-
|
11
|
+
date: 2020-11-23 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.109.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.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|