aws-sdk-outposts 1.0.0 → 1.1.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/lib/aws-sdk-outposts.rb +1 -1
- data/lib/aws-sdk-outposts/client.rb +45 -1
- data/lib/aws-sdk-outposts/client_api.rb +38 -0
- data/lib/aws-sdk-outposts/types.rb +44 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1cc56cb3a5e53dd3dcc57e18cd4a1186844761e4
|
4
|
+
data.tar.gz: d22b4cf756c8d2c6c51840dfa097d143f526802b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b52b76f974a5f88b5d5000a4117963fa8065c2669c7a5624f127b4b4d289932c5b5b810304b11fa25d0bcd1ccc0aa47c7cf114c81b623c3f9ef6a9cae9f79890
|
7
|
+
data.tar.gz: f9bd23d1d0048d5a66455d3dc99dc478877beae8fba3d349dfdbb1dbf0ab70c15a8c31bb8530e3321277f4806c7f98ba1621e0ab10c487f14f038038bb394a5a
|
data/lib/aws-sdk-outposts.rb
CHANGED
@@ -306,6 +306,50 @@ module Aws::Outposts
|
|
306
306
|
req.send_request(options)
|
307
307
|
end
|
308
308
|
|
309
|
+
# Deletes the Outpost.
|
310
|
+
#
|
311
|
+
# @option params [required, String] :outpost_id
|
312
|
+
# The ID of the Outpost.
|
313
|
+
#
|
314
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
315
|
+
#
|
316
|
+
# @example Request syntax with placeholder values
|
317
|
+
#
|
318
|
+
# resp = client.delete_outpost({
|
319
|
+
# outpost_id: "OutpostId", # required
|
320
|
+
# })
|
321
|
+
#
|
322
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/DeleteOutpost AWS API Documentation
|
323
|
+
#
|
324
|
+
# @overload delete_outpost(params = {})
|
325
|
+
# @param [Hash] params ({})
|
326
|
+
def delete_outpost(params = {}, options = {})
|
327
|
+
req = build_request(:delete_outpost, params)
|
328
|
+
req.send_request(options)
|
329
|
+
end
|
330
|
+
|
331
|
+
# Deletes the site.
|
332
|
+
#
|
333
|
+
# @option params [required, String] :site_id
|
334
|
+
# The ID of the site.
|
335
|
+
#
|
336
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
337
|
+
#
|
338
|
+
# @example Request syntax with placeholder values
|
339
|
+
#
|
340
|
+
# resp = client.delete_site({
|
341
|
+
# site_id: "SiteId", # required
|
342
|
+
# })
|
343
|
+
#
|
344
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/DeleteSite AWS API Documentation
|
345
|
+
#
|
346
|
+
# @overload delete_site(params = {})
|
347
|
+
# @param [Hash] params ({})
|
348
|
+
def delete_site(params = {}, options = {})
|
349
|
+
req = build_request(:delete_site, params)
|
350
|
+
req.send_request(options)
|
351
|
+
end
|
352
|
+
|
309
353
|
# Gets information about the specified Outpost.
|
310
354
|
#
|
311
355
|
# @option params [required, String] :outpost_id
|
@@ -479,7 +523,7 @@ module Aws::Outposts
|
|
479
523
|
params: params,
|
480
524
|
config: config)
|
481
525
|
context[:gem_name] = 'aws-sdk-outposts'
|
482
|
-
context[:gem_version] = '1.
|
526
|
+
context[:gem_version] = '1.1.0'
|
483
527
|
Seahorse::Client::Request.new(handlers, context)
|
484
528
|
end
|
485
529
|
|
@@ -17,6 +17,10 @@ module Aws::Outposts
|
|
17
17
|
AvailabilityZoneId = Shapes::StringShape.new(name: 'AvailabilityZoneId')
|
18
18
|
CreateOutpostInput = Shapes::StructureShape.new(name: 'CreateOutpostInput')
|
19
19
|
CreateOutpostOutput = Shapes::StructureShape.new(name: 'CreateOutpostOutput')
|
20
|
+
DeleteOutpostInput = Shapes::StructureShape.new(name: 'DeleteOutpostInput')
|
21
|
+
DeleteOutpostOutput = Shapes::StructureShape.new(name: 'DeleteOutpostOutput')
|
22
|
+
DeleteSiteInput = Shapes::StructureShape.new(name: 'DeleteSiteInput')
|
23
|
+
DeleteSiteOutput = Shapes::StructureShape.new(name: 'DeleteSiteOutput')
|
20
24
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
21
25
|
GetOutpostInput = Shapes::StructureShape.new(name: 'GetOutpostInput')
|
22
26
|
GetOutpostInstanceTypesInput = Shapes::StructureShape.new(name: 'GetOutpostInstanceTypesInput')
|
@@ -62,6 +66,16 @@ module Aws::Outposts
|
|
62
66
|
CreateOutpostOutput.add_member(:outpost, Shapes::ShapeRef.new(shape: Outpost, location_name: "Outpost"))
|
63
67
|
CreateOutpostOutput.struct_class = Types::CreateOutpostOutput
|
64
68
|
|
69
|
+
DeleteOutpostInput.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, required: true, location: "uri", location_name: "OutpostId"))
|
70
|
+
DeleteOutpostInput.struct_class = Types::DeleteOutpostInput
|
71
|
+
|
72
|
+
DeleteOutpostOutput.struct_class = Types::DeleteOutpostOutput
|
73
|
+
|
74
|
+
DeleteSiteInput.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, required: true, location: "uri", location_name: "SiteId"))
|
75
|
+
DeleteSiteInput.struct_class = Types::DeleteSiteInput
|
76
|
+
|
77
|
+
DeleteSiteOutput.struct_class = Types::DeleteSiteOutput
|
78
|
+
|
65
79
|
GetOutpostInput.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, required: true, location: "uri", location_name: "OutpostId"))
|
66
80
|
GetOutpostInput.struct_class = Types::GetOutpostInput
|
67
81
|
|
@@ -165,6 +179,30 @@ module Aws::Outposts
|
|
165
179
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
166
180
|
end)
|
167
181
|
|
182
|
+
api.add_operation(:delete_outpost, Seahorse::Model::Operation.new.tap do |o|
|
183
|
+
o.name = "DeleteOutpost"
|
184
|
+
o.http_method = "DELETE"
|
185
|
+
o.http_request_uri = "/outposts/{OutpostId}"
|
186
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteOutpostInput)
|
187
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteOutpostOutput)
|
188
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
189
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
190
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
191
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
192
|
+
end)
|
193
|
+
|
194
|
+
api.add_operation(:delete_site, Seahorse::Model::Operation.new.tap do |o|
|
195
|
+
o.name = "DeleteSite"
|
196
|
+
o.http_method = "DELETE"
|
197
|
+
o.http_request_uri = "/sites/{SiteId}"
|
198
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteSiteInput)
|
199
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteSiteOutput)
|
200
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
201
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
202
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
203
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
204
|
+
end)
|
205
|
+
|
168
206
|
api.add_operation(:get_outpost, Seahorse::Model::Operation.new.tap do |o|
|
169
207
|
o.name = "GetOutpost"
|
170
208
|
o.http_method = "GET"
|
@@ -73,6 +73,50 @@ module Aws::Outposts
|
|
73
73
|
include Aws::Structure
|
74
74
|
end
|
75
75
|
|
76
|
+
# @note When making an API call, you may pass DeleteOutpostInput
|
77
|
+
# data as a hash:
|
78
|
+
#
|
79
|
+
# {
|
80
|
+
# outpost_id: "OutpostId", # required
|
81
|
+
# }
|
82
|
+
#
|
83
|
+
# @!attribute [rw] outpost_id
|
84
|
+
# The ID of the Outpost.
|
85
|
+
# @return [String]
|
86
|
+
#
|
87
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/DeleteOutpostInput AWS API Documentation
|
88
|
+
#
|
89
|
+
class DeleteOutpostInput < Struct.new(
|
90
|
+
:outpost_id)
|
91
|
+
include Aws::Structure
|
92
|
+
end
|
93
|
+
|
94
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/DeleteOutpostOutput AWS API Documentation
|
95
|
+
#
|
96
|
+
class DeleteOutpostOutput < Aws::EmptyStructure; end
|
97
|
+
|
98
|
+
# @note When making an API call, you may pass DeleteSiteInput
|
99
|
+
# data as a hash:
|
100
|
+
#
|
101
|
+
# {
|
102
|
+
# site_id: "SiteId", # required
|
103
|
+
# }
|
104
|
+
#
|
105
|
+
# @!attribute [rw] site_id
|
106
|
+
# The ID of the site.
|
107
|
+
# @return [String]
|
108
|
+
#
|
109
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/DeleteSiteInput AWS API Documentation
|
110
|
+
#
|
111
|
+
class DeleteSiteInput < Struct.new(
|
112
|
+
:site_id)
|
113
|
+
include Aws::Structure
|
114
|
+
end
|
115
|
+
|
116
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/DeleteSiteOutput AWS API Documentation
|
117
|
+
#
|
118
|
+
class DeleteSiteOutput < Aws::EmptyStructure; end
|
119
|
+
|
76
120
|
# @note When making an API call, you may pass GetOutpostInput
|
77
121
|
# data as a hash:
|
78
122
|
#
|
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.1.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:
|
11
|
+
date: 2020-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|