aws-sdk-outposts 1.28.0 → 1.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-outposts/client.rb +102 -12
- data/lib/aws-sdk-outposts/client_api.rb +69 -0
- data/lib/aws-sdk-outposts/types.rb +132 -1
- data/lib/aws-sdk-outposts.rb +1 -1
- 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: 582afa419a9696c487662184b0855dc7ef645f433da17bd6fec39468efd5927d
|
4
|
+
data.tar.gz: 3b87f274398da1de038ecd7120d3617d58c7813c7acf209db4961a9507a50a55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 554d946753270d3f3a49d9b5c1cde451be7304ca2338e14ad9d250e34de7b83577a5cb49c720c0d3588b82c1d3e0801716763b89b777a5ea37435179031b4f64
|
7
|
+
data.tar.gz: f9f5ac9eb993137a805ce430d5bf96387536abbabef44b343715231fffc8e0040ee5e1d7eff049e5841aaa8a52823e951361e1fd0e66c7036c759d6f8197376e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.31.0 (2022-05-02)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds a new API called ListAssets to the Outposts SDK, which lists the hardware assets in an Outpost.
|
8
|
+
|
9
|
+
1.30.0 (2022-03-11)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds address filters for listSites
|
13
|
+
|
14
|
+
1.29.0 (2022-02-24)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.28.0 (2022-02-03)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.31.0
|
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
32
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
@@ -75,6 +76,7 @@ module Aws::Outposts
|
|
75
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
76
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
77
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
78
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
79
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
80
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
@@ -774,7 +776,7 @@ module Aws::Outposts
|
|
774
776
|
req.send_request(options)
|
775
777
|
end
|
776
778
|
|
777
|
-
#
|
779
|
+
# Gets the instance types for the specified Outpost.
|
778
780
|
#
|
779
781
|
# @option params [required, String] :outpost_id
|
780
782
|
# The ID or the Amazon Resource Name (ARN) of the Outpost.
|
@@ -792,6 +794,8 @@ module Aws::Outposts
|
|
792
794
|
# * {Types::GetOutpostInstanceTypesOutput#outpost_id #outpost_id} => String
|
793
795
|
# * {Types::GetOutpostInstanceTypesOutput#outpost_arn #outpost_arn} => String
|
794
796
|
#
|
797
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
798
|
+
#
|
795
799
|
# @example Request syntax with placeholder values
|
796
800
|
#
|
797
801
|
# resp = client.get_outpost_instance_types({
|
@@ -910,9 +914,64 @@ module Aws::Outposts
|
|
910
914
|
req.send_request(options)
|
911
915
|
end
|
912
916
|
|
913
|
-
#
|
914
|
-
#
|
915
|
-
#
|
917
|
+
# Lists the hardware assets in an Outpost. If you are using Dedicated
|
918
|
+
# Hosts on Amazon Web Services Outposts, you can filter your request by
|
919
|
+
# host ID to return a list of hardware assets that allocate resources
|
920
|
+
# for Dedicated Hosts.
|
921
|
+
#
|
922
|
+
# @option params [required, String] :outpost_identifier
|
923
|
+
# The ID or the Amazon Resource Name (ARN) of the Outpost.
|
924
|
+
#
|
925
|
+
# @option params [Array<String>] :host_id_filter
|
926
|
+
# A filter for the host ID of Dedicated Hosts on the Outpost.
|
927
|
+
#
|
928
|
+
# Filter values are case sensitive. If you specify multiple values for a
|
929
|
+
# filter, the values are joined with an `OR`, and the request returns
|
930
|
+
# all results that match any of the specified values.
|
931
|
+
#
|
932
|
+
# @option params [Integer] :max_results
|
933
|
+
# The maximum page size.
|
934
|
+
#
|
935
|
+
# @option params [String] :next_token
|
936
|
+
# The pagination token.
|
937
|
+
#
|
938
|
+
# @return [Types::ListAssetsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
939
|
+
#
|
940
|
+
# * {Types::ListAssetsOutput#assets #assets} => Array<Types::AssetInfo>
|
941
|
+
# * {Types::ListAssetsOutput#next_token #next_token} => String
|
942
|
+
#
|
943
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
944
|
+
#
|
945
|
+
# @example Request syntax with placeholder values
|
946
|
+
#
|
947
|
+
# resp = client.list_assets({
|
948
|
+
# outpost_identifier: "OutpostIdentifier", # required
|
949
|
+
# host_id_filter: ["HostId"],
|
950
|
+
# max_results: 1,
|
951
|
+
# next_token: "Token",
|
952
|
+
# })
|
953
|
+
#
|
954
|
+
# @example Response structure
|
955
|
+
#
|
956
|
+
# resp.assets #=> Array
|
957
|
+
# resp.assets[0].asset_id #=> String
|
958
|
+
# resp.assets[0].rack_id #=> String
|
959
|
+
# resp.assets[0].asset_type #=> String, one of "COMPUTE"
|
960
|
+
# resp.assets[0].compute_attributes.host_id #=> String
|
961
|
+
# resp.next_token #=> String
|
962
|
+
#
|
963
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListAssets AWS API Documentation
|
964
|
+
#
|
965
|
+
# @overload list_assets(params = {})
|
966
|
+
# @param [Hash] params ({})
|
967
|
+
def list_assets(params = {}, options = {})
|
968
|
+
req = build_request(:list_assets, params)
|
969
|
+
req.send_request(options)
|
970
|
+
end
|
971
|
+
|
972
|
+
# Lists the items in the catalog. Add filters to your request to return
|
973
|
+
# a more specific list of results. Use filters to match an item class,
|
974
|
+
# storage option, or EC2 family.
|
916
975
|
#
|
917
976
|
# If you specify multiple filters, the filters are joined with an `AND`,
|
918
977
|
# and the request returns only results that match all of the specified
|
@@ -988,9 +1047,9 @@ module Aws::Outposts
|
|
988
1047
|
req.send_request(options)
|
989
1048
|
end
|
990
1049
|
|
991
|
-
#
|
992
|
-
#
|
993
|
-
#
|
1050
|
+
# Lists the Outpost orders for your Amazon Web Services account. You can
|
1051
|
+
# filter your request by Outpost to return a more specific list of
|
1052
|
+
# results.
|
994
1053
|
#
|
995
1054
|
# @option params [String] :outpost_identifier_filter
|
996
1055
|
# The ID or the Amazon Resource Name (ARN) of the Outpost.
|
@@ -1038,9 +1097,9 @@ module Aws::Outposts
|
|
1038
1097
|
req.send_request(options)
|
1039
1098
|
end
|
1040
1099
|
|
1041
|
-
#
|
1042
|
-
#
|
1043
|
-
#
|
1100
|
+
# Lists the Outposts for your Amazon Web Services account. Add filters
|
1101
|
+
# to your request to return a more specific list of results. Use filters
|
1102
|
+
# to match an Outpost lifecycle status, Availability Zone
|
1044
1103
|
# (`us-east-1a`), and AZ ID (`use1-az1`).
|
1045
1104
|
#
|
1046
1105
|
# If you specify multiple filters, the filters are joined with an `AND`,
|
@@ -1118,7 +1177,14 @@ module Aws::Outposts
|
|
1118
1177
|
req.send_request(options)
|
1119
1178
|
end
|
1120
1179
|
|
1121
|
-
# Lists the sites for your Amazon Web Services account.
|
1180
|
+
# Lists the Outpost sites for your Amazon Web Services account. Add
|
1181
|
+
# operating address filters to your request to return a more specific
|
1182
|
+
# list of results. Use filters to match site city, country code, or
|
1183
|
+
# state/region of the operating address.
|
1184
|
+
#
|
1185
|
+
# If you specify multiple filters, the filters are joined with an `AND`,
|
1186
|
+
# and the request returns only results that match all of the specified
|
1187
|
+
# filters.
|
1122
1188
|
#
|
1123
1189
|
# @option params [String] :next_token
|
1124
1190
|
# The pagination token.
|
@@ -1126,6 +1192,27 @@ module Aws::Outposts
|
|
1126
1192
|
# @option params [Integer] :max_results
|
1127
1193
|
# The maximum page size.
|
1128
1194
|
#
|
1195
|
+
# @option params [Array<String>] :operating_address_country_code_filter
|
1196
|
+
# A filter for the country code of the Outpost site.
|
1197
|
+
#
|
1198
|
+
# Filter values are case sensitive. If you specify multiple values for a
|
1199
|
+
# filter, the values are joined with an `OR`, and the request returns
|
1200
|
+
# all results that match any of the specified values.
|
1201
|
+
#
|
1202
|
+
# @option params [Array<String>] :operating_address_state_or_region_filter
|
1203
|
+
# A filter for the state/region of the Outpost site.
|
1204
|
+
#
|
1205
|
+
# Filter values are case sensitive. If you specify multiple values for a
|
1206
|
+
# filter, the values are joined with an `OR`, and the request returns
|
1207
|
+
# all results that match any of the specified values.
|
1208
|
+
#
|
1209
|
+
# @option params [Array<String>] :operating_address_city_filter
|
1210
|
+
# A filter for the city of the Outpost site.
|
1211
|
+
#
|
1212
|
+
# Filter values are case sensitive. If you specify multiple values for a
|
1213
|
+
# filter, the values are joined with an `OR`, and the request returns
|
1214
|
+
# all results that match any of the specified values.
|
1215
|
+
#
|
1129
1216
|
# @return [Types::ListSitesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1130
1217
|
#
|
1131
1218
|
# * {Types::ListSitesOutput#sites #sites} => Array<Types::Site>
|
@@ -1138,6 +1225,9 @@ module Aws::Outposts
|
|
1138
1225
|
# resp = client.list_sites({
|
1139
1226
|
# next_token: "Token",
|
1140
1227
|
# max_results: 1,
|
1228
|
+
# operating_address_country_code_filter: ["CountryCode"],
|
1229
|
+
# operating_address_state_or_region_filter: ["StateOrRegion"],
|
1230
|
+
# operating_address_city_filter: ["City"],
|
1141
1231
|
# })
|
1142
1232
|
#
|
1143
1233
|
# @example Response structure
|
@@ -1608,7 +1698,7 @@ module Aws::Outposts
|
|
1608
1698
|
params: params,
|
1609
1699
|
config: config)
|
1610
1700
|
context[:gem_name] = 'aws-sdk-outposts'
|
1611
|
-
context[:gem_version] = '1.
|
1701
|
+
context[:gem_version] = '1.31.0'
|
1612
1702
|
Seahorse::Client::Request.new(handlers, context)
|
1613
1703
|
end
|
1614
1704
|
|
@@ -21,6 +21,10 @@ module Aws::Outposts
|
|
21
21
|
AddressLine3 = Shapes::StringShape.new(name: 'AddressLine3')
|
22
22
|
AddressType = Shapes::StringShape.new(name: 'AddressType')
|
23
23
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
24
|
+
AssetId = Shapes::StringShape.new(name: 'AssetId')
|
25
|
+
AssetInfo = Shapes::StructureShape.new(name: 'AssetInfo')
|
26
|
+
AssetListDefinition = Shapes::ListShape.new(name: 'AssetListDefinition')
|
27
|
+
AssetType = Shapes::StringShape.new(name: 'AssetType')
|
24
28
|
AvailabilityZone = Shapes::StringShape.new(name: 'AvailabilityZone')
|
25
29
|
AvailabilityZoneId = Shapes::StringShape.new(name: 'AvailabilityZoneId')
|
26
30
|
AvailabilityZoneIdList = Shapes::ListShape.new(name: 'AvailabilityZoneIdList')
|
@@ -35,10 +39,13 @@ module Aws::Outposts
|
|
35
39
|
CatalogItemStatus = Shapes::StringShape.new(name: 'CatalogItemStatus')
|
36
40
|
CatalogItemWeightLbs = Shapes::IntegerShape.new(name: 'CatalogItemWeightLbs')
|
37
41
|
City = Shapes::StringShape.new(name: 'City')
|
42
|
+
CityList = Shapes::ListShape.new(name: 'CityList')
|
43
|
+
ComputeAttributes = Shapes::StructureShape.new(name: 'ComputeAttributes')
|
38
44
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
39
45
|
ContactName = Shapes::StringShape.new(name: 'ContactName')
|
40
46
|
ContactPhoneNumber = Shapes::StringShape.new(name: 'ContactPhoneNumber')
|
41
47
|
CountryCode = Shapes::StringShape.new(name: 'CountryCode')
|
48
|
+
CountryCodeList = Shapes::ListShape.new(name: 'CountryCodeList')
|
42
49
|
CreateOrderInput = Shapes::StructureShape.new(name: 'CreateOrderInput')
|
43
50
|
CreateOrderOutput = Shapes::StructureShape.new(name: 'CreateOrderOutput')
|
44
51
|
CreateOutpostInput = Shapes::StructureShape.new(name: 'CreateOutpostInput')
|
@@ -68,6 +75,8 @@ module Aws::Outposts
|
|
68
75
|
GetSiteAddressOutput = Shapes::StructureShape.new(name: 'GetSiteAddressOutput')
|
69
76
|
GetSiteInput = Shapes::StructureShape.new(name: 'GetSiteInput')
|
70
77
|
GetSiteOutput = Shapes::StructureShape.new(name: 'GetSiteOutput')
|
78
|
+
HostId = Shapes::StringShape.new(name: 'HostId')
|
79
|
+
HostIdList = Shapes::ListShape.new(name: 'HostIdList')
|
71
80
|
ISO8601Timestamp = Shapes::TimestampShape.new(name: 'ISO8601Timestamp')
|
72
81
|
InstanceType = Shapes::StringShape.new(name: 'InstanceType')
|
73
82
|
InstanceTypeItem = Shapes::StructureShape.new(name: 'InstanceTypeItem')
|
@@ -83,6 +92,8 @@ module Aws::Outposts
|
|
83
92
|
LineItemRequestListDefinition = Shapes::ListShape.new(name: 'LineItemRequestListDefinition')
|
84
93
|
LineItemStatus = Shapes::StringShape.new(name: 'LineItemStatus')
|
85
94
|
LineItemStatusCounts = Shapes::MapShape.new(name: 'LineItemStatusCounts')
|
95
|
+
ListAssetsInput = Shapes::StructureShape.new(name: 'ListAssetsInput')
|
96
|
+
ListAssetsOutput = Shapes::StructureShape.new(name: 'ListAssetsOutput')
|
86
97
|
ListCatalogItemsInput = Shapes::StructureShape.new(name: 'ListCatalogItemsInput')
|
87
98
|
ListCatalogItemsOutput = Shapes::StructureShape.new(name: 'ListCatalogItemsOutput')
|
88
99
|
ListOrdersInput = Shapes::StructureShape.new(name: 'ListOrdersInput')
|
@@ -121,6 +132,7 @@ module Aws::Outposts
|
|
121
132
|
PowerFeedDrop = Shapes::StringShape.new(name: 'PowerFeedDrop')
|
122
133
|
PowerPhase = Shapes::StringShape.new(name: 'PowerPhase')
|
123
134
|
Quantity = Shapes::StringShape.new(name: 'Quantity')
|
135
|
+
RackId = Shapes::StringShape.new(name: 'RackId')
|
124
136
|
RackPhysicalProperties = Shapes::StructureShape.new(name: 'RackPhysicalProperties')
|
125
137
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
126
138
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
@@ -132,6 +144,7 @@ module Aws::Outposts
|
|
132
144
|
SiteNotes = Shapes::StringShape.new(name: 'SiteNotes')
|
133
145
|
SkuCode = Shapes::StringShape.new(name: 'SkuCode')
|
134
146
|
StateOrRegion = Shapes::StringShape.new(name: 'StateOrRegion')
|
147
|
+
StateOrRegionList = Shapes::ListShape.new(name: 'StateOrRegionList')
|
135
148
|
String = Shapes::StringShape.new(name: 'String')
|
136
149
|
SupportedHardwareType = Shapes::StringShape.new(name: 'SupportedHardwareType')
|
137
150
|
SupportedStorageEnum = Shapes::StringShape.new(name: 'SupportedStorageEnum')
|
@@ -177,6 +190,14 @@ module Aws::Outposts
|
|
177
190
|
Address.add_member(:municipality, Shapes::ShapeRef.new(shape: Municipality, location_name: "Municipality"))
|
178
191
|
Address.struct_class = Types::Address
|
179
192
|
|
193
|
+
AssetInfo.add_member(:asset_id, Shapes::ShapeRef.new(shape: AssetId, location_name: "AssetId"))
|
194
|
+
AssetInfo.add_member(:rack_id, Shapes::ShapeRef.new(shape: RackId, location_name: "RackId"))
|
195
|
+
AssetInfo.add_member(:asset_type, Shapes::ShapeRef.new(shape: AssetType, location_name: "AssetType"))
|
196
|
+
AssetInfo.add_member(:compute_attributes, Shapes::ShapeRef.new(shape: ComputeAttributes, location_name: "ComputeAttributes"))
|
197
|
+
AssetInfo.struct_class = Types::AssetInfo
|
198
|
+
|
199
|
+
AssetListDefinition.member = Shapes::ShapeRef.new(shape: AssetInfo)
|
200
|
+
|
180
201
|
AvailabilityZoneIdList.member = Shapes::ShapeRef.new(shape: AvailabilityZoneId)
|
181
202
|
|
182
203
|
AvailabilityZoneList.member = Shapes::ShapeRef.new(shape: AvailabilityZone)
|
@@ -199,11 +220,18 @@ module Aws::Outposts
|
|
199
220
|
|
200
221
|
CatalogItemListDefinition.member = Shapes::ShapeRef.new(shape: CatalogItem)
|
201
222
|
|
223
|
+
CityList.member = Shapes::ShapeRef.new(shape: City)
|
224
|
+
|
225
|
+
ComputeAttributes.add_member(:host_id, Shapes::ShapeRef.new(shape: HostId, location_name: "HostId"))
|
226
|
+
ComputeAttributes.struct_class = Types::ComputeAttributes
|
227
|
+
|
202
228
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
203
229
|
ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
|
204
230
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
205
231
|
ConflictException.struct_class = Types::ConflictException
|
206
232
|
|
233
|
+
CountryCodeList.member = Shapes::ShapeRef.new(shape: CountryCode)
|
234
|
+
|
207
235
|
CreateOrderInput.add_member(:outpost_identifier, Shapes::ShapeRef.new(shape: OutpostIdentifier, required: true, location_name: "OutpostIdentifier"))
|
208
236
|
CreateOrderInput.add_member(:line_items, Shapes::ShapeRef.new(shape: LineItemRequestListDefinition, required: true, location_name: "LineItems"))
|
209
237
|
CreateOrderInput.add_member(:payment_option, Shapes::ShapeRef.new(shape: PaymentOption, required: true, location_name: "PaymentOption"))
|
@@ -300,6 +328,8 @@ module Aws::Outposts
|
|
300
328
|
GetSiteOutput.add_member(:site, Shapes::ShapeRef.new(shape: Site, location_name: "Site"))
|
301
329
|
GetSiteOutput.struct_class = Types::GetSiteOutput
|
302
330
|
|
331
|
+
HostIdList.member = Shapes::ShapeRef.new(shape: HostId)
|
332
|
+
|
303
333
|
InstanceTypeItem.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "InstanceType"))
|
304
334
|
InstanceTypeItem.struct_class = Types::InstanceTypeItem
|
305
335
|
|
@@ -327,6 +357,16 @@ module Aws::Outposts
|
|
327
357
|
LineItemStatusCounts.key = Shapes::ShapeRef.new(shape: LineItemStatus)
|
328
358
|
LineItemStatusCounts.value = Shapes::ShapeRef.new(shape: LineItemQuantity)
|
329
359
|
|
360
|
+
ListAssetsInput.add_member(:outpost_identifier, Shapes::ShapeRef.new(shape: OutpostIdentifier, required: true, location: "uri", location_name: "OutpostId"))
|
361
|
+
ListAssetsInput.add_member(:host_id_filter, Shapes::ShapeRef.new(shape: HostIdList, location: "querystring", location_name: "HostIdFilter"))
|
362
|
+
ListAssetsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
|
363
|
+
ListAssetsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
|
364
|
+
ListAssetsInput.struct_class = Types::ListAssetsInput
|
365
|
+
|
366
|
+
ListAssetsOutput.add_member(:assets, Shapes::ShapeRef.new(shape: AssetListDefinition, location_name: "Assets"))
|
367
|
+
ListAssetsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
368
|
+
ListAssetsOutput.struct_class = Types::ListAssetsOutput
|
369
|
+
|
330
370
|
ListCatalogItemsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
|
331
371
|
ListCatalogItemsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
|
332
372
|
ListCatalogItemsInput.add_member(:item_class_filter, Shapes::ShapeRef.new(shape: CatalogItemClassList, location: "querystring", location_name: "ItemClassFilter"))
|
@@ -360,6 +400,9 @@ module Aws::Outposts
|
|
360
400
|
|
361
401
|
ListSitesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
|
362
402
|
ListSitesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
|
403
|
+
ListSitesInput.add_member(:operating_address_country_code_filter, Shapes::ShapeRef.new(shape: CountryCodeList, location: "querystring", location_name: "OperatingAddressCountryCodeFilter"))
|
404
|
+
ListSitesInput.add_member(:operating_address_state_or_region_filter, Shapes::ShapeRef.new(shape: StateOrRegionList, location: "querystring", location_name: "OperatingAddressStateOrRegionFilter"))
|
405
|
+
ListSitesInput.add_member(:operating_address_city_filter, Shapes::ShapeRef.new(shape: CityList, location: "querystring", location_name: "OperatingAddressCityFilter"))
|
363
406
|
ListSitesInput.struct_class = Types::ListSitesInput
|
364
407
|
|
365
408
|
ListSitesOutput.add_member(:sites, Shapes::ShapeRef.new(shape: siteListDefinition, location_name: "Sites"))
|
@@ -436,6 +479,8 @@ module Aws::Outposts
|
|
436
479
|
Site.add_member(:rack_physical_properties, Shapes::ShapeRef.new(shape: RackPhysicalProperties, location_name: "RackPhysicalProperties"))
|
437
480
|
Site.struct_class = Types::Site
|
438
481
|
|
482
|
+
StateOrRegionList.member = Shapes::ShapeRef.new(shape: StateOrRegion)
|
483
|
+
|
439
484
|
SupportedStorageList.member = Shapes::ShapeRef.new(shape: SupportedStorageEnum)
|
440
485
|
|
441
486
|
SupportedUplinkGbpsListDefinition.member = Shapes::ShapeRef.new(shape: SupportedUplinkGbps)
|
@@ -649,6 +694,12 @@ module Aws::Outposts
|
|
649
694
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
650
695
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
651
696
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
697
|
+
o[:pager] = Aws::Pager.new(
|
698
|
+
limit_key: "max_results",
|
699
|
+
tokens: {
|
700
|
+
"next_token" => "next_token"
|
701
|
+
}
|
702
|
+
)
|
652
703
|
end)
|
653
704
|
|
654
705
|
api.add_operation(:get_site, Seahorse::Model::Operation.new.tap do |o|
|
@@ -675,6 +726,24 @@ module Aws::Outposts
|
|
675
726
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
676
727
|
end)
|
677
728
|
|
729
|
+
api.add_operation(:list_assets, Seahorse::Model::Operation.new.tap do |o|
|
730
|
+
o.name = "ListAssets"
|
731
|
+
o.http_method = "GET"
|
732
|
+
o.http_request_uri = "/outposts/{OutpostId}/assets"
|
733
|
+
o.input = Shapes::ShapeRef.new(shape: ListAssetsInput)
|
734
|
+
o.output = Shapes::ShapeRef.new(shape: ListAssetsOutput)
|
735
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
736
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
737
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
738
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
739
|
+
o[:pager] = Aws::Pager.new(
|
740
|
+
limit_key: "max_results",
|
741
|
+
tokens: {
|
742
|
+
"next_token" => "next_token"
|
743
|
+
}
|
744
|
+
)
|
745
|
+
end)
|
746
|
+
|
678
747
|
api.add_operation(:list_catalog_items, Seahorse::Model::Operation.new.tap do |o|
|
679
748
|
o.name = "ListCatalogItems"
|
680
749
|
o.http_method = "GET"
|
@@ -104,6 +104,35 @@ module Aws::Outposts
|
|
104
104
|
include Aws::Structure
|
105
105
|
end
|
106
106
|
|
107
|
+
# Information about hardware assets.
|
108
|
+
#
|
109
|
+
# @!attribute [rw] asset_id
|
110
|
+
# The ID of the asset.
|
111
|
+
# @return [String]
|
112
|
+
#
|
113
|
+
# @!attribute [rw] rack_id
|
114
|
+
# The rack ID of the asset.
|
115
|
+
# @return [String]
|
116
|
+
#
|
117
|
+
# @!attribute [rw] asset_type
|
118
|
+
# The type of the asset.
|
119
|
+
# @return [String]
|
120
|
+
#
|
121
|
+
# @!attribute [rw] compute_attributes
|
122
|
+
# Information about compute hardware assets.
|
123
|
+
# @return [Types::ComputeAttributes]
|
124
|
+
#
|
125
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/AssetInfo AWS API Documentation
|
126
|
+
#
|
127
|
+
class AssetInfo < Struct.new(
|
128
|
+
:asset_id,
|
129
|
+
:rack_id,
|
130
|
+
:asset_type,
|
131
|
+
:compute_attributes)
|
132
|
+
SENSITIVE = []
|
133
|
+
include Aws::Structure
|
134
|
+
end
|
135
|
+
|
107
136
|
# @note When making an API call, you may pass CancelOrderInput
|
108
137
|
# data as a hash:
|
109
138
|
#
|
@@ -172,6 +201,20 @@ module Aws::Outposts
|
|
172
201
|
include Aws::Structure
|
173
202
|
end
|
174
203
|
|
204
|
+
# Information about compute hardware assets.
|
205
|
+
#
|
206
|
+
# @!attribute [rw] host_id
|
207
|
+
# The host ID of any Dedicated Hosts on the asset.
|
208
|
+
# @return [String]
|
209
|
+
#
|
210
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ComputeAttributes AWS API Documentation
|
211
|
+
#
|
212
|
+
class ComputeAttributes < Struct.new(
|
213
|
+
:host_id)
|
214
|
+
SENSITIVE = []
|
215
|
+
include Aws::Structure
|
216
|
+
end
|
217
|
+
|
175
218
|
# Updating or deleting this resource can cause an inconsistent state.
|
176
219
|
#
|
177
220
|
# @!attribute [rw] message
|
@@ -815,6 +858,64 @@ module Aws::Outposts
|
|
815
858
|
include Aws::Structure
|
816
859
|
end
|
817
860
|
|
861
|
+
# @note When making an API call, you may pass ListAssetsInput
|
862
|
+
# data as a hash:
|
863
|
+
#
|
864
|
+
# {
|
865
|
+
# outpost_identifier: "OutpostIdentifier", # required
|
866
|
+
# host_id_filter: ["HostId"],
|
867
|
+
# max_results: 1,
|
868
|
+
# next_token: "Token",
|
869
|
+
# }
|
870
|
+
#
|
871
|
+
# @!attribute [rw] outpost_identifier
|
872
|
+
# The ID or the Amazon Resource Name (ARN) of the Outpost.
|
873
|
+
# @return [String]
|
874
|
+
#
|
875
|
+
# @!attribute [rw] host_id_filter
|
876
|
+
# A filter for the host ID of Dedicated Hosts on the Outpost.
|
877
|
+
#
|
878
|
+
# Filter values are case sensitive. If you specify multiple values for
|
879
|
+
# a filter, the values are joined with an `OR`, and the request
|
880
|
+
# returns all results that match any of the specified values.
|
881
|
+
# @return [Array<String>]
|
882
|
+
#
|
883
|
+
# @!attribute [rw] max_results
|
884
|
+
# The maximum page size.
|
885
|
+
# @return [Integer]
|
886
|
+
#
|
887
|
+
# @!attribute [rw] next_token
|
888
|
+
# The pagination token.
|
889
|
+
# @return [String]
|
890
|
+
#
|
891
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListAssetsInput AWS API Documentation
|
892
|
+
#
|
893
|
+
class ListAssetsInput < Struct.new(
|
894
|
+
:outpost_identifier,
|
895
|
+
:host_id_filter,
|
896
|
+
:max_results,
|
897
|
+
:next_token)
|
898
|
+
SENSITIVE = []
|
899
|
+
include Aws::Structure
|
900
|
+
end
|
901
|
+
|
902
|
+
# @!attribute [rw] assets
|
903
|
+
# Information about hardware assets.
|
904
|
+
# @return [Array<Types::AssetInfo>]
|
905
|
+
#
|
906
|
+
# @!attribute [rw] next_token
|
907
|
+
# The pagination token.
|
908
|
+
# @return [String]
|
909
|
+
#
|
910
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListAssetsOutput AWS API Documentation
|
911
|
+
#
|
912
|
+
class ListAssetsOutput < Struct.new(
|
913
|
+
:assets,
|
914
|
+
:next_token)
|
915
|
+
SENSITIVE = []
|
916
|
+
include Aws::Structure
|
917
|
+
end
|
918
|
+
|
818
919
|
# @note When making an API call, you may pass ListCatalogItemsInput
|
819
920
|
# data as a hash:
|
820
921
|
#
|
@@ -1013,6 +1114,9 @@ module Aws::Outposts
|
|
1013
1114
|
# {
|
1014
1115
|
# next_token: "Token",
|
1015
1116
|
# max_results: 1,
|
1117
|
+
# operating_address_country_code_filter: ["CountryCode"],
|
1118
|
+
# operating_address_state_or_region_filter: ["StateOrRegion"],
|
1119
|
+
# operating_address_city_filter: ["City"],
|
1016
1120
|
# }
|
1017
1121
|
#
|
1018
1122
|
# @!attribute [rw] next_token
|
@@ -1023,11 +1127,38 @@ module Aws::Outposts
|
|
1023
1127
|
# The maximum page size.
|
1024
1128
|
# @return [Integer]
|
1025
1129
|
#
|
1130
|
+
# @!attribute [rw] operating_address_country_code_filter
|
1131
|
+
# A filter for the country code of the Outpost site.
|
1132
|
+
#
|
1133
|
+
# Filter values are case sensitive. If you specify multiple values for
|
1134
|
+
# a filter, the values are joined with an `OR`, and the request
|
1135
|
+
# returns all results that match any of the specified values.
|
1136
|
+
# @return [Array<String>]
|
1137
|
+
#
|
1138
|
+
# @!attribute [rw] operating_address_state_or_region_filter
|
1139
|
+
# A filter for the state/region of the Outpost site.
|
1140
|
+
#
|
1141
|
+
# Filter values are case sensitive. If you specify multiple values for
|
1142
|
+
# a filter, the values are joined with an `OR`, and the request
|
1143
|
+
# returns all results that match any of the specified values.
|
1144
|
+
# @return [Array<String>]
|
1145
|
+
#
|
1146
|
+
# @!attribute [rw] operating_address_city_filter
|
1147
|
+
# A filter for the city of the Outpost site.
|
1148
|
+
#
|
1149
|
+
# Filter values are case sensitive. If you specify multiple values for
|
1150
|
+
# a filter, the values are joined with an `OR`, and the request
|
1151
|
+
# returns all results that match any of the specified values.
|
1152
|
+
# @return [Array<String>]
|
1153
|
+
#
|
1026
1154
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListSitesInput AWS API Documentation
|
1027
1155
|
#
|
1028
1156
|
class ListSitesInput < Struct.new(
|
1029
1157
|
:next_token,
|
1030
|
-
:max_results
|
1158
|
+
:max_results,
|
1159
|
+
:operating_address_country_code_filter,
|
1160
|
+
:operating_address_state_or_region_filter,
|
1161
|
+
:operating_address_city_filter)
|
1031
1162
|
SENSITIVE = []
|
1032
1163
|
include Aws::Structure
|
1033
1164
|
end
|
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.31.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-02
|
11
|
+
date: 2022-05-02 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.127.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.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|