aws-sdk-outposts 1.32.0 → 1.35.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-outposts/client.rb +124 -1
- data/lib/aws-sdk-outposts/client_api.rb +91 -0
- data/lib/aws-sdk-outposts/types.rb +198 -2
- data/lib/aws-sdk-outposts.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ddc0d9bfb292b4d279026393844940d73d331288378e7e6d099fd7968224b0f
|
4
|
+
data.tar.gz: 3da1b88408947984cf39a9d811e4a384dabf5f4aa7067725c88aef2cd85798ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 845e0dc24c88f1d86739c84a97acac7b79e3cacc2a2ec7d8269c8c0123c7597287556dc35746916485a98ab481feaad2d3796d7a9d489f72b11a4c4df8ce6e40
|
7
|
+
data.tar.gz: 3015b2c39f9d96b181ae5a7a07820d7c7c6f6c6f88f2b5b0a4032b3c914d966c1e8f0806d526cb4b9ac758a81d1c7a023d876acd6d95f76b6ea3a4ccba5508b7
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.35.0 (2022-07-14)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds the ShipmentInformation and AssetInformationList fields to the GetOrder API response.
|
8
|
+
|
9
|
+
1.34.0 (2022-06-20)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds the AssetLocation structure to the ListAssets response. AssetLocation includes the RackElevation for an Asset.
|
13
|
+
|
14
|
+
1.33.0 (2022-06-13)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release adds API operations AWS uses to install Outpost servers.
|
18
|
+
|
4
19
|
1.32.0 (2022-05-12)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.35.0
|
@@ -415,6 +415,12 @@ module Aws::Outposts
|
|
415
415
|
# resp.order.line_items[0].line_item_id #=> String
|
416
416
|
# resp.order.line_items[0].quantity #=> Integer
|
417
417
|
# resp.order.line_items[0].status #=> String, one of "PREPARING", "BUILDING", "SHIPPED", "DELIVERED", "INSTALLING", "INSTALLED", "ERROR", "CANCELLED"
|
418
|
+
# resp.order.line_items[0].shipment_information.shipment_tracking_number #=> String
|
419
|
+
# resp.order.line_items[0].shipment_information.shipment_carrier #=> String, one of "DHL", "DBS", "FEDEX", "UPS"
|
420
|
+
# resp.order.line_items[0].asset_information_list #=> Array
|
421
|
+
# resp.order.line_items[0].asset_information_list[0].asset_id #=> String
|
422
|
+
# resp.order.line_items[0].asset_information_list[0].mac_address_list #=> Array
|
423
|
+
# resp.order.line_items[0].asset_information_list[0].mac_address_list[0] #=> String
|
418
424
|
# resp.order.payment_option #=> String, one of "ALL_UPFRONT", "NO_UPFRONT", "PARTIAL_UPFRONT"
|
419
425
|
# resp.order.order_submission_date #=> Time
|
420
426
|
# resp.order.order_fulfilled_date #=> Time
|
@@ -722,6 +728,58 @@ module Aws::Outposts
|
|
722
728
|
req.send_request(options)
|
723
729
|
end
|
724
730
|
|
731
|
+
# <note markdown="1"> Amazon Web Services uses this action to install Outpost servers.
|
732
|
+
#
|
733
|
+
# </note>
|
734
|
+
#
|
735
|
+
# Gets information about a specified connection.
|
736
|
+
#
|
737
|
+
# Use CloudTrail to monitor this action or Amazon Web Services managed
|
738
|
+
# policy for Amazon Web Services Outposts to secure it. For more
|
739
|
+
# information, see [ Amazon Web Services managed policies for Amazon Web
|
740
|
+
# Services Outposts][1] and [ Logging Amazon Web Services Outposts API
|
741
|
+
# calls with Amazon Web Services CloudTrail][2] in the *Amazon Web
|
742
|
+
# Services Outposts User Guide*.
|
743
|
+
#
|
744
|
+
#
|
745
|
+
#
|
746
|
+
# [1]: https://docs.aws.amazon.com/outposts/latest/userguide/security-iam-awsmanpol.html
|
747
|
+
# [2]: https://docs.aws.amazon.com/outposts/latest/userguide/logging-using-cloudtrail.html
|
748
|
+
#
|
749
|
+
# @option params [required, String] :connection_id
|
750
|
+
# The ID of the connection you request.
|
751
|
+
#
|
752
|
+
# @return [Types::GetConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
753
|
+
#
|
754
|
+
# * {Types::GetConnectionResponse#connection_id #connection_id} => String
|
755
|
+
# * {Types::GetConnectionResponse#connection_details #connection_details} => Types::ConnectionDetails
|
756
|
+
#
|
757
|
+
# @example Request syntax with placeholder values
|
758
|
+
#
|
759
|
+
# resp = client.get_connection({
|
760
|
+
# connection_id: "ConnectionId", # required
|
761
|
+
# })
|
762
|
+
#
|
763
|
+
# @example Response structure
|
764
|
+
#
|
765
|
+
# resp.connection_id #=> String
|
766
|
+
# resp.connection_details.client_public_key #=> String
|
767
|
+
# resp.connection_details.server_public_key #=> String
|
768
|
+
# resp.connection_details.server_endpoint #=> String
|
769
|
+
# resp.connection_details.client_tunnel_address #=> String
|
770
|
+
# resp.connection_details.server_tunnel_address #=> String
|
771
|
+
# resp.connection_details.allowed_ips #=> Array
|
772
|
+
# resp.connection_details.allowed_ips[0] #=> String
|
773
|
+
#
|
774
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetConnection AWS API Documentation
|
775
|
+
#
|
776
|
+
# @overload get_connection(params = {})
|
777
|
+
# @param [Hash] params ({})
|
778
|
+
def get_connection(params = {}, options = {})
|
779
|
+
req = build_request(:get_connection, params)
|
780
|
+
req.send_request(options)
|
781
|
+
end
|
782
|
+
|
725
783
|
# Gets an order.
|
726
784
|
#
|
727
785
|
# @option params [required, String] :order_id
|
@@ -747,6 +805,12 @@ module Aws::Outposts
|
|
747
805
|
# resp.order.line_items[0].line_item_id #=> String
|
748
806
|
# resp.order.line_items[0].quantity #=> Integer
|
749
807
|
# resp.order.line_items[0].status #=> String, one of "PREPARING", "BUILDING", "SHIPPED", "DELIVERED", "INSTALLING", "INSTALLED", "ERROR", "CANCELLED"
|
808
|
+
# resp.order.line_items[0].shipment_information.shipment_tracking_number #=> String
|
809
|
+
# resp.order.line_items[0].shipment_information.shipment_carrier #=> String, one of "DHL", "DBS", "FEDEX", "UPS"
|
810
|
+
# resp.order.line_items[0].asset_information_list #=> Array
|
811
|
+
# resp.order.line_items[0].asset_information_list[0].asset_id #=> String
|
812
|
+
# resp.order.line_items[0].asset_information_list[0].mac_address_list #=> Array
|
813
|
+
# resp.order.line_items[0].asset_information_list[0].mac_address_list[0] #=> String
|
750
814
|
# resp.order.payment_option #=> String, one of "ALL_UPFRONT", "NO_UPFRONT", "PARTIAL_UPFRONT"
|
751
815
|
# resp.order.order_submission_date #=> Time
|
752
816
|
# resp.order.order_fulfilled_date #=> Time
|
@@ -1014,6 +1078,7 @@ module Aws::Outposts
|
|
1014
1078
|
# resp.assets[0].rack_id #=> String
|
1015
1079
|
# resp.assets[0].asset_type #=> String, one of "COMPUTE"
|
1016
1080
|
# resp.assets[0].compute_attributes.host_id #=> String
|
1081
|
+
# resp.assets[0].asset_location.rack_elevation #=> Float
|
1017
1082
|
# resp.next_token #=> String
|
1018
1083
|
#
|
1019
1084
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListAssets AWS API Documentation
|
@@ -1349,6 +1414,64 @@ module Aws::Outposts
|
|
1349
1414
|
req.send_request(options)
|
1350
1415
|
end
|
1351
1416
|
|
1417
|
+
# <note markdown="1"> Amazon Web Services uses this action to install Outpost servers.
|
1418
|
+
#
|
1419
|
+
# </note>
|
1420
|
+
#
|
1421
|
+
# Starts the connection required for Outpost server installation.
|
1422
|
+
#
|
1423
|
+
# Use CloudTrail to monitor this action or Amazon Web Services managed
|
1424
|
+
# policy for Amazon Web Services Outposts to secure it. For more
|
1425
|
+
# information, see [ Amazon Web Services managed policies for Amazon Web
|
1426
|
+
# Services Outposts][1] and [ Logging Amazon Web Services Outposts API
|
1427
|
+
# calls with Amazon Web Services CloudTrail][2] in the *Amazon Web
|
1428
|
+
# Services Outposts User Guide*.
|
1429
|
+
#
|
1430
|
+
#
|
1431
|
+
#
|
1432
|
+
# [1]: https://docs.aws.amazon.com/outposts/latest/userguide/security-iam-awsmanpol.html
|
1433
|
+
# [2]: https://docs.aws.amazon.com/outposts/latest/userguide/logging-using-cloudtrail.html
|
1434
|
+
#
|
1435
|
+
# @option params [required, String] :device_serial_number
|
1436
|
+
# The serial number of the dongle.
|
1437
|
+
#
|
1438
|
+
# @option params [required, String] :asset_id
|
1439
|
+
# The ID of the Outpost server.
|
1440
|
+
#
|
1441
|
+
# @option params [required, String] :client_public_key
|
1442
|
+
# The public key of the client.
|
1443
|
+
#
|
1444
|
+
# @option params [required, Integer] :network_interface_device_index
|
1445
|
+
# The device index of the network interface on the Outpost server.
|
1446
|
+
#
|
1447
|
+
# @return [Types::StartConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1448
|
+
#
|
1449
|
+
# * {Types::StartConnectionResponse#connection_id #connection_id} => String
|
1450
|
+
# * {Types::StartConnectionResponse#underlay_ip_address #underlay_ip_address} => String
|
1451
|
+
#
|
1452
|
+
# @example Request syntax with placeholder values
|
1453
|
+
#
|
1454
|
+
# resp = client.start_connection({
|
1455
|
+
# device_serial_number: "DeviceSerialNumber", # required
|
1456
|
+
# asset_id: "AssetId", # required
|
1457
|
+
# client_public_key: "WireGuardPublicKey", # required
|
1458
|
+
# network_interface_device_index: 1, # required
|
1459
|
+
# })
|
1460
|
+
#
|
1461
|
+
# @example Response structure
|
1462
|
+
#
|
1463
|
+
# resp.connection_id #=> String
|
1464
|
+
# resp.underlay_ip_address #=> String
|
1465
|
+
#
|
1466
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/StartConnection AWS API Documentation
|
1467
|
+
#
|
1468
|
+
# @overload start_connection(params = {})
|
1469
|
+
# @param [Hash] params ({})
|
1470
|
+
def start_connection(params = {}, options = {})
|
1471
|
+
req = build_request(:start_connection, params)
|
1472
|
+
req.send_request(options)
|
1473
|
+
end
|
1474
|
+
|
1352
1475
|
# Adds tags to the specified resource.
|
1353
1476
|
#
|
1354
1477
|
# @option params [required, String] :resource_arn
|
@@ -1786,7 +1909,7 @@ module Aws::Outposts
|
|
1786
1909
|
params: params,
|
1787
1910
|
config: config)
|
1788
1911
|
context[:gem_name] = 'aws-sdk-outposts'
|
1789
|
-
context[:gem_version] = '1.
|
1912
|
+
context[:gem_version] = '1.35.0'
|
1790
1913
|
Seahorse::Client::Request.new(handlers, context)
|
1791
1914
|
end
|
1792
1915
|
|
@@ -24,11 +24,14 @@ module Aws::Outposts
|
|
24
24
|
AssetId = Shapes::StringShape.new(name: 'AssetId')
|
25
25
|
AssetInfo = Shapes::StructureShape.new(name: 'AssetInfo')
|
26
26
|
AssetListDefinition = Shapes::ListShape.new(name: 'AssetListDefinition')
|
27
|
+
AssetLocation = Shapes::StructureShape.new(name: 'AssetLocation')
|
27
28
|
AssetType = Shapes::StringShape.new(name: 'AssetType')
|
28
29
|
AvailabilityZone = Shapes::StringShape.new(name: 'AvailabilityZone')
|
29
30
|
AvailabilityZoneId = Shapes::StringShape.new(name: 'AvailabilityZoneId')
|
30
31
|
AvailabilityZoneIdList = Shapes::ListShape.new(name: 'AvailabilityZoneIdList')
|
31
32
|
AvailabilityZoneList = Shapes::ListShape.new(name: 'AvailabilityZoneList')
|
33
|
+
CIDR = Shapes::StringShape.new(name: 'CIDR')
|
34
|
+
CIDRList = Shapes::ListShape.new(name: 'CIDRList')
|
32
35
|
CancelOrderInput = Shapes::StructureShape.new(name: 'CancelOrderInput')
|
33
36
|
CancelOrderOutput = Shapes::StructureShape.new(name: 'CancelOrderOutput')
|
34
37
|
CatalogItem = Shapes::StructureShape.new(name: 'CatalogItem')
|
@@ -42,6 +45,8 @@ module Aws::Outposts
|
|
42
45
|
CityList = Shapes::ListShape.new(name: 'CityList')
|
43
46
|
ComputeAttributes = Shapes::StructureShape.new(name: 'ComputeAttributes')
|
44
47
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
48
|
+
ConnectionDetails = Shapes::StructureShape.new(name: 'ConnectionDetails')
|
49
|
+
ConnectionId = Shapes::StringShape.new(name: 'ConnectionId')
|
45
50
|
ContactName = Shapes::StringShape.new(name: 'ContactName')
|
46
51
|
ContactPhoneNumber = Shapes::StringShape.new(name: 'ContactPhoneNumber')
|
47
52
|
CountryCode = Shapes::StringShape.new(name: 'CountryCode')
|
@@ -56,6 +61,7 @@ module Aws::Outposts
|
|
56
61
|
DeleteOutpostOutput = Shapes::StructureShape.new(name: 'DeleteOutpostOutput')
|
57
62
|
DeleteSiteInput = Shapes::StructureShape.new(name: 'DeleteSiteInput')
|
58
63
|
DeleteSiteOutput = Shapes::StructureShape.new(name: 'DeleteSiteOutput')
|
64
|
+
DeviceSerialNumber = Shapes::StringShape.new(name: 'DeviceSerialNumber')
|
59
65
|
DistrictOrCounty = Shapes::StringShape.new(name: 'DistrictOrCounty')
|
60
66
|
EC2Capacity = Shapes::StructureShape.new(name: 'EC2Capacity')
|
61
67
|
EC2CapacityListDefinition = Shapes::ListShape.new(name: 'EC2CapacityListDefinition')
|
@@ -65,6 +71,8 @@ module Aws::Outposts
|
|
65
71
|
FiberOpticCableType = Shapes::StringShape.new(name: 'FiberOpticCableType')
|
66
72
|
GetCatalogItemInput = Shapes::StructureShape.new(name: 'GetCatalogItemInput')
|
67
73
|
GetCatalogItemOutput = Shapes::StructureShape.new(name: 'GetCatalogItemOutput')
|
74
|
+
GetConnectionRequest = Shapes::StructureShape.new(name: 'GetConnectionRequest')
|
75
|
+
GetConnectionResponse = Shapes::StructureShape.new(name: 'GetConnectionResponse')
|
68
76
|
GetOrderInput = Shapes::StructureShape.new(name: 'GetOrderInput')
|
69
77
|
GetOrderOutput = Shapes::StructureShape.new(name: 'GetOrderOutput')
|
70
78
|
GetOutpostInput = Shapes::StructureShape.new(name: 'GetOutpostInput')
|
@@ -85,6 +93,8 @@ module Aws::Outposts
|
|
85
93
|
LifeCycleStatus = Shapes::StringShape.new(name: 'LifeCycleStatus')
|
86
94
|
LifeCycleStatusList = Shapes::ListShape.new(name: 'LifeCycleStatusList')
|
87
95
|
LineItem = Shapes::StructureShape.new(name: 'LineItem')
|
96
|
+
LineItemAssetInformation = Shapes::StructureShape.new(name: 'LineItemAssetInformation')
|
97
|
+
LineItemAssetInformationList = Shapes::ListShape.new(name: 'LineItemAssetInformationList')
|
88
98
|
LineItemId = Shapes::StringShape.new(name: 'LineItemId')
|
89
99
|
LineItemListDefinition = Shapes::ListShape.new(name: 'LineItemListDefinition')
|
90
100
|
LineItemQuantity = Shapes::IntegerShape.new(name: 'LineItemQuantity')
|
@@ -104,10 +114,13 @@ module Aws::Outposts
|
|
104
114
|
ListSitesOutput = Shapes::StructureShape.new(name: 'ListSitesOutput')
|
105
115
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
106
116
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
117
|
+
MacAddress = Shapes::StringShape.new(name: 'MacAddress')
|
118
|
+
MacAddressList = Shapes::ListShape.new(name: 'MacAddressList')
|
107
119
|
MaxResults1000 = Shapes::IntegerShape.new(name: 'MaxResults1000')
|
108
120
|
MaxSize = Shapes::StringShape.new(name: 'MaxSize')
|
109
121
|
MaximumSupportedWeightLbs = Shapes::StringShape.new(name: 'MaximumSupportedWeightLbs')
|
110
122
|
Municipality = Shapes::StringShape.new(name: 'Municipality')
|
123
|
+
NetworkInterfaceDeviceIndex = Shapes::IntegerShape.new(name: 'NetworkInterfaceDeviceIndex')
|
111
124
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
112
125
|
OpticalStandard = Shapes::StringShape.new(name: 'OpticalStandard')
|
113
126
|
Order = Shapes::StructureShape.new(name: 'Order')
|
@@ -132,10 +145,14 @@ module Aws::Outposts
|
|
132
145
|
PowerFeedDrop = Shapes::StringShape.new(name: 'PowerFeedDrop')
|
133
146
|
PowerPhase = Shapes::StringShape.new(name: 'PowerPhase')
|
134
147
|
Quantity = Shapes::StringShape.new(name: 'Quantity')
|
148
|
+
RackElevation = Shapes::FloatShape.new(name: 'RackElevation')
|
135
149
|
RackId = Shapes::StringShape.new(name: 'RackId')
|
136
150
|
RackPhysicalProperties = Shapes::StructureShape.new(name: 'RackPhysicalProperties')
|
137
151
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
152
|
+
ServerEndpoint = Shapes::StringShape.new(name: 'ServerEndpoint')
|
138
153
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
154
|
+
ShipmentCarrier = Shapes::StringShape.new(name: 'ShipmentCarrier')
|
155
|
+
ShipmentInformation = Shapes::StructureShape.new(name: 'ShipmentInformation')
|
139
156
|
Site = Shapes::StructureShape.new(name: 'Site')
|
140
157
|
SiteArn = Shapes::StringShape.new(name: 'SiteArn')
|
141
158
|
SiteDescription = Shapes::StringShape.new(name: 'SiteDescription')
|
@@ -143,6 +160,8 @@ module Aws::Outposts
|
|
143
160
|
SiteName = Shapes::StringShape.new(name: 'SiteName')
|
144
161
|
SiteNotes = Shapes::StringShape.new(name: 'SiteNotes')
|
145
162
|
SkuCode = Shapes::StringShape.new(name: 'SkuCode')
|
163
|
+
StartConnectionRequest = Shapes::StructureShape.new(name: 'StartConnectionRequest')
|
164
|
+
StartConnectionResponse = Shapes::StructureShape.new(name: 'StartConnectionResponse')
|
146
165
|
StateOrRegion = Shapes::StringShape.new(name: 'StateOrRegion')
|
147
166
|
StateOrRegionList = Shapes::ListShape.new(name: 'StateOrRegionList')
|
148
167
|
String = Shapes::StringShape.new(name: 'String')
|
@@ -158,6 +177,8 @@ module Aws::Outposts
|
|
158
177
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
159
178
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
160
179
|
Token = Shapes::StringShape.new(name: 'Token')
|
180
|
+
TrackingId = Shapes::StringShape.new(name: 'TrackingId')
|
181
|
+
UnderlayIpAddress = Shapes::StringShape.new(name: 'UnderlayIpAddress')
|
161
182
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
162
183
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
163
184
|
UpdateOutpostInput = Shapes::StructureShape.new(name: 'UpdateOutpostInput')
|
@@ -171,6 +192,7 @@ module Aws::Outposts
|
|
171
192
|
UplinkCount = Shapes::StringShape.new(name: 'UplinkCount')
|
172
193
|
UplinkGbps = Shapes::StringShape.new(name: 'UplinkGbps')
|
173
194
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
195
|
+
WireGuardPublicKey = Shapes::StringShape.new(name: 'WireGuardPublicKey')
|
174
196
|
outpostListDefinition = Shapes::ListShape.new(name: 'outpostListDefinition')
|
175
197
|
siteListDefinition = Shapes::ListShape.new(name: 'siteListDefinition')
|
176
198
|
|
@@ -194,14 +216,20 @@ module Aws::Outposts
|
|
194
216
|
AssetInfo.add_member(:rack_id, Shapes::ShapeRef.new(shape: RackId, location_name: "RackId"))
|
195
217
|
AssetInfo.add_member(:asset_type, Shapes::ShapeRef.new(shape: AssetType, location_name: "AssetType"))
|
196
218
|
AssetInfo.add_member(:compute_attributes, Shapes::ShapeRef.new(shape: ComputeAttributes, location_name: "ComputeAttributes"))
|
219
|
+
AssetInfo.add_member(:asset_location, Shapes::ShapeRef.new(shape: AssetLocation, location_name: "AssetLocation"))
|
197
220
|
AssetInfo.struct_class = Types::AssetInfo
|
198
221
|
|
199
222
|
AssetListDefinition.member = Shapes::ShapeRef.new(shape: AssetInfo)
|
200
223
|
|
224
|
+
AssetLocation.add_member(:rack_elevation, Shapes::ShapeRef.new(shape: RackElevation, location_name: "RackElevation"))
|
225
|
+
AssetLocation.struct_class = Types::AssetLocation
|
226
|
+
|
201
227
|
AvailabilityZoneIdList.member = Shapes::ShapeRef.new(shape: AvailabilityZoneId)
|
202
228
|
|
203
229
|
AvailabilityZoneList.member = Shapes::ShapeRef.new(shape: AvailabilityZone)
|
204
230
|
|
231
|
+
CIDRList.member = Shapes::ShapeRef.new(shape: CIDR)
|
232
|
+
|
205
233
|
CancelOrderInput.add_member(:order_id, Shapes::ShapeRef.new(shape: OrderId, required: true, location: "uri", location_name: "OrderId"))
|
206
234
|
CancelOrderInput.struct_class = Types::CancelOrderInput
|
207
235
|
|
@@ -230,6 +258,14 @@ module Aws::Outposts
|
|
230
258
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
231
259
|
ConflictException.struct_class = Types::ConflictException
|
232
260
|
|
261
|
+
ConnectionDetails.add_member(:client_public_key, Shapes::ShapeRef.new(shape: WireGuardPublicKey, location_name: "ClientPublicKey"))
|
262
|
+
ConnectionDetails.add_member(:server_public_key, Shapes::ShapeRef.new(shape: WireGuardPublicKey, location_name: "ServerPublicKey"))
|
263
|
+
ConnectionDetails.add_member(:server_endpoint, Shapes::ShapeRef.new(shape: ServerEndpoint, location_name: "ServerEndpoint"))
|
264
|
+
ConnectionDetails.add_member(:client_tunnel_address, Shapes::ShapeRef.new(shape: CIDR, location_name: "ClientTunnelAddress"))
|
265
|
+
ConnectionDetails.add_member(:server_tunnel_address, Shapes::ShapeRef.new(shape: CIDR, location_name: "ServerTunnelAddress"))
|
266
|
+
ConnectionDetails.add_member(:allowed_ips, Shapes::ShapeRef.new(shape: CIDRList, location_name: "AllowedIps"))
|
267
|
+
ConnectionDetails.struct_class = Types::ConnectionDetails
|
268
|
+
|
233
269
|
CountryCodeList.member = Shapes::ShapeRef.new(shape: CountryCode)
|
234
270
|
|
235
271
|
CreateOrderInput.add_member(:outpost_identifier, Shapes::ShapeRef.new(shape: OutpostIdentifier, required: true, location_name: "OutpostIdentifier"))
|
@@ -290,6 +326,13 @@ module Aws::Outposts
|
|
290
326
|
GetCatalogItemOutput.add_member(:catalog_item, Shapes::ShapeRef.new(shape: CatalogItem, location_name: "CatalogItem"))
|
291
327
|
GetCatalogItemOutput.struct_class = Types::GetCatalogItemOutput
|
292
328
|
|
329
|
+
GetConnectionRequest.add_member(:connection_id, Shapes::ShapeRef.new(shape: ConnectionId, required: true, location: "uri", location_name: "ConnectionId"))
|
330
|
+
GetConnectionRequest.struct_class = Types::GetConnectionRequest
|
331
|
+
|
332
|
+
GetConnectionResponse.add_member(:connection_id, Shapes::ShapeRef.new(shape: ConnectionId, location_name: "ConnectionId"))
|
333
|
+
GetConnectionResponse.add_member(:connection_details, Shapes::ShapeRef.new(shape: ConnectionDetails, location_name: "ConnectionDetails"))
|
334
|
+
GetConnectionResponse.struct_class = Types::GetConnectionResponse
|
335
|
+
|
293
336
|
GetOrderInput.add_member(:order_id, Shapes::ShapeRef.new(shape: OrderId, required: true, location: "uri", location_name: "OrderId"))
|
294
337
|
GetOrderInput.struct_class = Types::GetOrderInput
|
295
338
|
|
@@ -344,8 +387,16 @@ module Aws::Outposts
|
|
344
387
|
LineItem.add_member(:line_item_id, Shapes::ShapeRef.new(shape: LineItemId, location_name: "LineItemId"))
|
345
388
|
LineItem.add_member(:quantity, Shapes::ShapeRef.new(shape: LineItemQuantity, location_name: "Quantity"))
|
346
389
|
LineItem.add_member(:status, Shapes::ShapeRef.new(shape: LineItemStatus, location_name: "Status"))
|
390
|
+
LineItem.add_member(:shipment_information, Shapes::ShapeRef.new(shape: ShipmentInformation, location_name: "ShipmentInformation"))
|
391
|
+
LineItem.add_member(:asset_information_list, Shapes::ShapeRef.new(shape: LineItemAssetInformationList, location_name: "AssetInformationList"))
|
347
392
|
LineItem.struct_class = Types::LineItem
|
348
393
|
|
394
|
+
LineItemAssetInformation.add_member(:asset_id, Shapes::ShapeRef.new(shape: AssetId, location_name: "AssetId"))
|
395
|
+
LineItemAssetInformation.add_member(:mac_address_list, Shapes::ShapeRef.new(shape: MacAddressList, location_name: "MacAddressList"))
|
396
|
+
LineItemAssetInformation.struct_class = Types::LineItemAssetInformation
|
397
|
+
|
398
|
+
LineItemAssetInformationList.member = Shapes::ShapeRef.new(shape: LineItemAssetInformation)
|
399
|
+
|
349
400
|
LineItemListDefinition.member = Shapes::ShapeRef.new(shape: LineItem)
|
350
401
|
|
351
402
|
LineItemRequest.add_member(:catalog_item_id, Shapes::ShapeRef.new(shape: SkuCode, location_name: "CatalogItemId"))
|
@@ -415,6 +466,8 @@ module Aws::Outposts
|
|
415
466
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
416
467
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
417
468
|
|
469
|
+
MacAddressList.member = Shapes::ShapeRef.new(shape: MacAddress)
|
470
|
+
|
418
471
|
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
419
472
|
NotFoundException.struct_class = Types::NotFoundException
|
420
473
|
|
@@ -466,6 +519,10 @@ module Aws::Outposts
|
|
466
519
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
467
520
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
468
521
|
|
522
|
+
ShipmentInformation.add_member(:shipment_tracking_number, Shapes::ShapeRef.new(shape: TrackingId, location_name: "ShipmentTrackingNumber"))
|
523
|
+
ShipmentInformation.add_member(:shipment_carrier, Shapes::ShapeRef.new(shape: ShipmentCarrier, location_name: "ShipmentCarrier"))
|
524
|
+
ShipmentInformation.struct_class = Types::ShipmentInformation
|
525
|
+
|
469
526
|
Site.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, location_name: "SiteId"))
|
470
527
|
Site.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
471
528
|
Site.add_member(:name, Shapes::ShapeRef.new(shape: SiteName, location_name: "Name"))
|
@@ -479,6 +536,16 @@ module Aws::Outposts
|
|
479
536
|
Site.add_member(:rack_physical_properties, Shapes::ShapeRef.new(shape: RackPhysicalProperties, location_name: "RackPhysicalProperties"))
|
480
537
|
Site.struct_class = Types::Site
|
481
538
|
|
539
|
+
StartConnectionRequest.add_member(:device_serial_number, Shapes::ShapeRef.new(shape: DeviceSerialNumber, required: true, location_name: "DeviceSerialNumber"))
|
540
|
+
StartConnectionRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: AssetId, required: true, location_name: "AssetId"))
|
541
|
+
StartConnectionRequest.add_member(:client_public_key, Shapes::ShapeRef.new(shape: WireGuardPublicKey, required: true, location_name: "ClientPublicKey"))
|
542
|
+
StartConnectionRequest.add_member(:network_interface_device_index, Shapes::ShapeRef.new(shape: NetworkInterfaceDeviceIndex, required: true, location_name: "NetworkInterfaceDeviceIndex"))
|
543
|
+
StartConnectionRequest.struct_class = Types::StartConnectionRequest
|
544
|
+
|
545
|
+
StartConnectionResponse.add_member(:connection_id, Shapes::ShapeRef.new(shape: ConnectionId, location_name: "ConnectionId"))
|
546
|
+
StartConnectionResponse.add_member(:underlay_ip_address, Shapes::ShapeRef.new(shape: UnderlayIpAddress, location_name: "UnderlayIpAddress"))
|
547
|
+
StartConnectionResponse.struct_class = Types::StartConnectionResponse
|
548
|
+
|
482
549
|
StateOrRegionList.member = Shapes::ShapeRef.new(shape: StateOrRegion)
|
483
550
|
|
484
551
|
SupportedStorageList.member = Shapes::ShapeRef.new(shape: SupportedStorageEnum)
|
@@ -661,6 +728,18 @@ module Aws::Outposts
|
|
661
728
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
662
729
|
end)
|
663
730
|
|
731
|
+
api.add_operation(:get_connection, Seahorse::Model::Operation.new.tap do |o|
|
732
|
+
o.name = "GetConnection"
|
733
|
+
o.http_method = "GET"
|
734
|
+
o.http_request_uri = "/connections/{ConnectionId}"
|
735
|
+
o.input = Shapes::ShapeRef.new(shape: GetConnectionRequest)
|
736
|
+
o.output = Shapes::ShapeRef.new(shape: GetConnectionResponse)
|
737
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
738
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
739
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
740
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
741
|
+
end)
|
742
|
+
|
664
743
|
api.add_operation(:get_order, Seahorse::Model::Operation.new.tap do |o|
|
665
744
|
o.name = "GetOrder"
|
666
745
|
o.http_method = "GET"
|
@@ -824,6 +903,18 @@ module Aws::Outposts
|
|
824
903
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
825
904
|
end)
|
826
905
|
|
906
|
+
api.add_operation(:start_connection, Seahorse::Model::Operation.new.tap do |o|
|
907
|
+
o.name = "StartConnection"
|
908
|
+
o.http_method = "POST"
|
909
|
+
o.http_request_uri = "/connections"
|
910
|
+
o.input = Shapes::ShapeRef.new(shape: StartConnectionRequest)
|
911
|
+
o.output = Shapes::ShapeRef.new(shape: StartConnectionResponse)
|
912
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
913
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
914
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
915
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
916
|
+
end)
|
917
|
+
|
827
918
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
828
919
|
o.name = "TagResource"
|
829
920
|
o.http_method = "POST"
|
@@ -122,13 +122,32 @@ module Aws::Outposts
|
|
122
122
|
# Information about compute hardware assets.
|
123
123
|
# @return [Types::ComputeAttributes]
|
124
124
|
#
|
125
|
+
# @!attribute [rw] asset_location
|
126
|
+
# The position of an asset in a rack.
|
127
|
+
# @return [Types::AssetLocation]
|
128
|
+
#
|
125
129
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/AssetInfo AWS API Documentation
|
126
130
|
#
|
127
131
|
class AssetInfo < Struct.new(
|
128
132
|
:asset_id,
|
129
133
|
:rack_id,
|
130
134
|
:asset_type,
|
131
|
-
:compute_attributes
|
135
|
+
:compute_attributes,
|
136
|
+
:asset_location)
|
137
|
+
SENSITIVE = []
|
138
|
+
include Aws::Structure
|
139
|
+
end
|
140
|
+
|
141
|
+
# Information about the position of the asset in a rack.
|
142
|
+
#
|
143
|
+
# @!attribute [rw] rack_elevation
|
144
|
+
# The position of an asset in a rack measured in rack units.
|
145
|
+
# @return [Float]
|
146
|
+
#
|
147
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/AssetLocation AWS API Documentation
|
148
|
+
#
|
149
|
+
class AssetLocation < Struct.new(
|
150
|
+
:rack_elevation)
|
132
151
|
SENSITIVE = []
|
133
152
|
include Aws::Structure
|
134
153
|
end
|
@@ -238,6 +257,45 @@ module Aws::Outposts
|
|
238
257
|
include Aws::Structure
|
239
258
|
end
|
240
259
|
|
260
|
+
# Information about a connection.
|
261
|
+
#
|
262
|
+
# @!attribute [rw] client_public_key
|
263
|
+
# The public key of the client.
|
264
|
+
# @return [String]
|
265
|
+
#
|
266
|
+
# @!attribute [rw] server_public_key
|
267
|
+
# The public key of the server.
|
268
|
+
# @return [String]
|
269
|
+
#
|
270
|
+
# @!attribute [rw] server_endpoint
|
271
|
+
# The endpoint for the server.
|
272
|
+
# @return [String]
|
273
|
+
#
|
274
|
+
# @!attribute [rw] client_tunnel_address
|
275
|
+
# The client tunnel address.
|
276
|
+
# @return [String]
|
277
|
+
#
|
278
|
+
# @!attribute [rw] server_tunnel_address
|
279
|
+
# The server tunnel address.
|
280
|
+
# @return [String]
|
281
|
+
#
|
282
|
+
# @!attribute [rw] allowed_ips
|
283
|
+
# The allowed IP addresses.
|
284
|
+
# @return [Array<String>]
|
285
|
+
#
|
286
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ConnectionDetails AWS API Documentation
|
287
|
+
#
|
288
|
+
class ConnectionDetails < Struct.new(
|
289
|
+
:client_public_key,
|
290
|
+
:server_public_key,
|
291
|
+
:server_endpoint,
|
292
|
+
:client_tunnel_address,
|
293
|
+
:server_tunnel_address,
|
294
|
+
:allowed_ips)
|
295
|
+
SENSITIVE = []
|
296
|
+
include Aws::Structure
|
297
|
+
end
|
298
|
+
|
241
299
|
# @note When making an API call, you may pass CreateOrderInput
|
242
300
|
# data as a hash:
|
243
301
|
#
|
@@ -601,6 +659,42 @@ module Aws::Outposts
|
|
601
659
|
include Aws::Structure
|
602
660
|
end
|
603
661
|
|
662
|
+
# @note When making an API call, you may pass GetConnectionRequest
|
663
|
+
# data as a hash:
|
664
|
+
#
|
665
|
+
# {
|
666
|
+
# connection_id: "ConnectionId", # required
|
667
|
+
# }
|
668
|
+
#
|
669
|
+
# @!attribute [rw] connection_id
|
670
|
+
# The ID of the connection you request.
|
671
|
+
# @return [String]
|
672
|
+
#
|
673
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetConnectionRequest AWS API Documentation
|
674
|
+
#
|
675
|
+
class GetConnectionRequest < Struct.new(
|
676
|
+
:connection_id)
|
677
|
+
SENSITIVE = []
|
678
|
+
include Aws::Structure
|
679
|
+
end
|
680
|
+
|
681
|
+
# @!attribute [rw] connection_id
|
682
|
+
# The ID of the connection you receive.
|
683
|
+
# @return [String]
|
684
|
+
#
|
685
|
+
# @!attribute [rw] connection_details
|
686
|
+
# Information about a connection.
|
687
|
+
# @return [Types::ConnectionDetails]
|
688
|
+
#
|
689
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetConnectionResponse AWS API Documentation
|
690
|
+
#
|
691
|
+
class GetConnectionResponse < Struct.new(
|
692
|
+
:connection_id,
|
693
|
+
:connection_details)
|
694
|
+
SENSITIVE = []
|
695
|
+
include Aws::Structure
|
696
|
+
end
|
697
|
+
|
604
698
|
# @note When making an API call, you may pass GetOrderInput
|
605
699
|
# data as a hash:
|
606
700
|
#
|
@@ -884,13 +978,42 @@ module Aws::Outposts
|
|
884
978
|
# The status of the line item.
|
885
979
|
# @return [String]
|
886
980
|
#
|
981
|
+
# @!attribute [rw] shipment_information
|
982
|
+
# Information about a line item shipment.
|
983
|
+
# @return [Types::ShipmentInformation]
|
984
|
+
#
|
985
|
+
# @!attribute [rw] asset_information_list
|
986
|
+
# Information about assets.
|
987
|
+
# @return [Array<Types::LineItemAssetInformation>]
|
988
|
+
#
|
887
989
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/LineItem AWS API Documentation
|
888
990
|
#
|
889
991
|
class LineItem < Struct.new(
|
890
992
|
:catalog_item_id,
|
891
993
|
:line_item_id,
|
892
994
|
:quantity,
|
893
|
-
:status
|
995
|
+
:status,
|
996
|
+
:shipment_information,
|
997
|
+
:asset_information_list)
|
998
|
+
SENSITIVE = []
|
999
|
+
include Aws::Structure
|
1000
|
+
end
|
1001
|
+
|
1002
|
+
# Information about a line item asset.
|
1003
|
+
#
|
1004
|
+
# @!attribute [rw] asset_id
|
1005
|
+
# The ID of the asset.
|
1006
|
+
# @return [String]
|
1007
|
+
#
|
1008
|
+
# @!attribute [rw] mac_address_list
|
1009
|
+
# MAC addresses of the asset.
|
1010
|
+
# @return [Array<String>]
|
1011
|
+
#
|
1012
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/LineItemAssetInformation AWS API Documentation
|
1013
|
+
#
|
1014
|
+
class LineItemAssetInformation < Struct.new(
|
1015
|
+
:asset_id,
|
1016
|
+
:mac_address_list)
|
894
1017
|
SENSITIVE = []
|
895
1018
|
include Aws::Structure
|
896
1019
|
end
|
@@ -1576,6 +1699,25 @@ module Aws::Outposts
|
|
1576
1699
|
include Aws::Structure
|
1577
1700
|
end
|
1578
1701
|
|
1702
|
+
# Information about a line item shipment.
|
1703
|
+
#
|
1704
|
+
# @!attribute [rw] shipment_tracking_number
|
1705
|
+
# The tracking number of the shipment.
|
1706
|
+
# @return [String]
|
1707
|
+
#
|
1708
|
+
# @!attribute [rw] shipment_carrier
|
1709
|
+
# The carrier of the shipment.
|
1710
|
+
# @return [String]
|
1711
|
+
#
|
1712
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ShipmentInformation AWS API Documentation
|
1713
|
+
#
|
1714
|
+
class ShipmentInformation < Struct.new(
|
1715
|
+
:shipment_tracking_number,
|
1716
|
+
:shipment_carrier)
|
1717
|
+
SENSITIVE = []
|
1718
|
+
include Aws::Structure
|
1719
|
+
end
|
1720
|
+
|
1579
1721
|
# Information about a site.
|
1580
1722
|
#
|
1581
1723
|
# @!attribute [rw] site_id
|
@@ -1642,6 +1784,60 @@ module Aws::Outposts
|
|
1642
1784
|
include Aws::Structure
|
1643
1785
|
end
|
1644
1786
|
|
1787
|
+
# @note When making an API call, you may pass StartConnectionRequest
|
1788
|
+
# data as a hash:
|
1789
|
+
#
|
1790
|
+
# {
|
1791
|
+
# device_serial_number: "DeviceSerialNumber", # required
|
1792
|
+
# asset_id: "AssetId", # required
|
1793
|
+
# client_public_key: "WireGuardPublicKey", # required
|
1794
|
+
# network_interface_device_index: 1, # required
|
1795
|
+
# }
|
1796
|
+
#
|
1797
|
+
# @!attribute [rw] device_serial_number
|
1798
|
+
# The serial number of the dongle.
|
1799
|
+
# @return [String]
|
1800
|
+
#
|
1801
|
+
# @!attribute [rw] asset_id
|
1802
|
+
# The ID of the Outpost server.
|
1803
|
+
# @return [String]
|
1804
|
+
#
|
1805
|
+
# @!attribute [rw] client_public_key
|
1806
|
+
# The public key of the client.
|
1807
|
+
# @return [String]
|
1808
|
+
#
|
1809
|
+
# @!attribute [rw] network_interface_device_index
|
1810
|
+
# The device index of the network interface on the Outpost server.
|
1811
|
+
# @return [Integer]
|
1812
|
+
#
|
1813
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/StartConnectionRequest AWS API Documentation
|
1814
|
+
#
|
1815
|
+
class StartConnectionRequest < Struct.new(
|
1816
|
+
:device_serial_number,
|
1817
|
+
:asset_id,
|
1818
|
+
:client_public_key,
|
1819
|
+
:network_interface_device_index)
|
1820
|
+
SENSITIVE = []
|
1821
|
+
include Aws::Structure
|
1822
|
+
end
|
1823
|
+
|
1824
|
+
# @!attribute [rw] connection_id
|
1825
|
+
# The ID of the connection.
|
1826
|
+
# @return [String]
|
1827
|
+
#
|
1828
|
+
# @!attribute [rw] underlay_ip_address
|
1829
|
+
# The underlay IP address.
|
1830
|
+
# @return [String]
|
1831
|
+
#
|
1832
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/StartConnectionResponse AWS API Documentation
|
1833
|
+
#
|
1834
|
+
class StartConnectionResponse < Struct.new(
|
1835
|
+
:connection_id,
|
1836
|
+
:underlay_ip_address)
|
1837
|
+
SENSITIVE = []
|
1838
|
+
include Aws::Structure
|
1839
|
+
end
|
1840
|
+
|
1645
1841
|
# @note When making an API call, you may pass TagResourceRequest
|
1646
1842
|
# data as a hash:
|
1647
1843
|
#
|
data/lib/aws-sdk-outposts.rb
CHANGED
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.35.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: 2022-
|
11
|
+
date: 2022-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|