aws-sdk-outposts 1.29.0 → 1.30.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e88d98d009f7b81957e10bd1cb3a7608c52e9bf084dbda6b9e0ee467847acb41
4
- data.tar.gz: 11a90e28f372acb3c30e9114cdce6e96e707f73b8e02bab181e21fda8bfb4061
3
+ metadata.gz: 8542f5294c772206960849ad4c82409e9bcb34fbfccd64bea76cc82805591974
4
+ data.tar.gz: 1d8dae55a28241c6f33a25dd035032154d2a7d233cd2ed81e40c4b79a8e36092
5
5
  SHA512:
6
- metadata.gz: 4117c924ece18b744ad9ef6c5aad06b5b8084bc7ac385ddacd20318c31726d6d3dfdb6e134bcfb7a7607ea7288b53ce2d761559edcfc37e096b1138b7f5a1c8d
7
- data.tar.gz: b08ce7b09dd6d41ca64f49d3c8bc6e9df3a01da32005898240a6744684a07f8d4993b391e097edec4c82ad537b65faba655e92c9a21b55ddc6a998e014cdc6c6
6
+ metadata.gz: a17e413380a170573d663b0c5c6fa01d120b2be29ea0bdea9d15b2f5fcb896907b2121e7f8f20e0ab4302ff65a8760073242c7fd04413cdc5cbb4b70644847fc
7
+ data.tar.gz: 013f39d298b987355bac707e1774bca47b3049a2cd050255b4028517e6e2ba0ea20ddb72bab2659adf8e0bb49e199211df712f07c99203bd86aefb7a89f7412e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.30.0 (2022-03-11)
5
+ ------------------
6
+
7
+ * Feature - This release adds address filters for listSites
8
+
4
9
  1.29.0 (2022-02-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.29.0
1
+ 1.30.0
@@ -1120,7 +1120,14 @@ module Aws::Outposts
1120
1120
  req.send_request(options)
1121
1121
  end
1122
1122
 
1123
- # Lists the sites for your Amazon Web Services account.
1123
+ # Create a list of the Outpost sites for your Amazon Web Services
1124
+ # account. Add operating address filters to your request to return a
1125
+ # more specific list of results. Use filters to match site city, country
1126
+ # code, or state/region of the operating address.
1127
+ #
1128
+ # If you specify multiple filters, the filters are joined with an `AND`,
1129
+ # and the request returns only results that match all of the specified
1130
+ # filters.
1124
1131
  #
1125
1132
  # @option params [String] :next_token
1126
1133
  # The pagination token.
@@ -1128,6 +1135,27 @@ module Aws::Outposts
1128
1135
  # @option params [Integer] :max_results
1129
1136
  # The maximum page size.
1130
1137
  #
1138
+ # @option params [Array<String>] :operating_address_country_code_filter
1139
+ # A filter for the country code of the Outpost site.
1140
+ #
1141
+ # Filter values are case sensitive. If you specify multiple values for a
1142
+ # filter, the values are joined with an `OR`, and the request returns
1143
+ # all results that match any of the specified values.
1144
+ #
1145
+ # @option params [Array<String>] :operating_address_state_or_region_filter
1146
+ # A filter for the state/region of the Outpost site.
1147
+ #
1148
+ # Filter values are case sensitive. If you specify multiple values for a
1149
+ # filter, the values are joined with an `OR`, and the request returns
1150
+ # all results that match any of the specified values.
1151
+ #
1152
+ # @option params [Array<String>] :operating_address_city_filter
1153
+ # A filter for the city of the Outpost site.
1154
+ #
1155
+ # Filter values are case sensitive. If you specify multiple values for a
1156
+ # filter, the values are joined with an `OR`, and the request returns
1157
+ # all results that match any of the specified values.
1158
+ #
1131
1159
  # @return [Types::ListSitesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1132
1160
  #
1133
1161
  # * {Types::ListSitesOutput#sites #sites} => Array&lt;Types::Site&gt;
@@ -1140,6 +1168,9 @@ module Aws::Outposts
1140
1168
  # resp = client.list_sites({
1141
1169
  # next_token: "Token",
1142
1170
  # max_results: 1,
1171
+ # operating_address_country_code_filter: ["CountryCode"],
1172
+ # operating_address_state_or_region_filter: ["StateOrRegion"],
1173
+ # operating_address_city_filter: ["City"],
1143
1174
  # })
1144
1175
  #
1145
1176
  # @example Response structure
@@ -1610,7 +1641,7 @@ module Aws::Outposts
1610
1641
  params: params,
1611
1642
  config: config)
1612
1643
  context[:gem_name] = 'aws-sdk-outposts'
1613
- context[:gem_version] = '1.29.0'
1644
+ context[:gem_version] = '1.30.0'
1614
1645
  Seahorse::Client::Request.new(handlers, context)
1615
1646
  end
1616
1647
 
@@ -35,10 +35,12 @@ module Aws::Outposts
35
35
  CatalogItemStatus = Shapes::StringShape.new(name: 'CatalogItemStatus')
36
36
  CatalogItemWeightLbs = Shapes::IntegerShape.new(name: 'CatalogItemWeightLbs')
37
37
  City = Shapes::StringShape.new(name: 'City')
38
+ CityList = Shapes::ListShape.new(name: 'CityList')
38
39
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
39
40
  ContactName = Shapes::StringShape.new(name: 'ContactName')
40
41
  ContactPhoneNumber = Shapes::StringShape.new(name: 'ContactPhoneNumber')
41
42
  CountryCode = Shapes::StringShape.new(name: 'CountryCode')
43
+ CountryCodeList = Shapes::ListShape.new(name: 'CountryCodeList')
42
44
  CreateOrderInput = Shapes::StructureShape.new(name: 'CreateOrderInput')
43
45
  CreateOrderOutput = Shapes::StructureShape.new(name: 'CreateOrderOutput')
44
46
  CreateOutpostInput = Shapes::StructureShape.new(name: 'CreateOutpostInput')
@@ -132,6 +134,7 @@ module Aws::Outposts
132
134
  SiteNotes = Shapes::StringShape.new(name: 'SiteNotes')
133
135
  SkuCode = Shapes::StringShape.new(name: 'SkuCode')
134
136
  StateOrRegion = Shapes::StringShape.new(name: 'StateOrRegion')
137
+ StateOrRegionList = Shapes::ListShape.new(name: 'StateOrRegionList')
135
138
  String = Shapes::StringShape.new(name: 'String')
136
139
  SupportedHardwareType = Shapes::StringShape.new(name: 'SupportedHardwareType')
137
140
  SupportedStorageEnum = Shapes::StringShape.new(name: 'SupportedStorageEnum')
@@ -199,11 +202,15 @@ module Aws::Outposts
199
202
 
200
203
  CatalogItemListDefinition.member = Shapes::ShapeRef.new(shape: CatalogItem)
201
204
 
205
+ CityList.member = Shapes::ShapeRef.new(shape: City)
206
+
202
207
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
203
208
  ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
204
209
  ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
205
210
  ConflictException.struct_class = Types::ConflictException
206
211
 
212
+ CountryCodeList.member = Shapes::ShapeRef.new(shape: CountryCode)
213
+
207
214
  CreateOrderInput.add_member(:outpost_identifier, Shapes::ShapeRef.new(shape: OutpostIdentifier, required: true, location_name: "OutpostIdentifier"))
208
215
  CreateOrderInput.add_member(:line_items, Shapes::ShapeRef.new(shape: LineItemRequestListDefinition, required: true, location_name: "LineItems"))
209
216
  CreateOrderInput.add_member(:payment_option, Shapes::ShapeRef.new(shape: PaymentOption, required: true, location_name: "PaymentOption"))
@@ -360,6 +367,9 @@ module Aws::Outposts
360
367
 
361
368
  ListSitesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
362
369
  ListSitesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
370
+ ListSitesInput.add_member(:operating_address_country_code_filter, Shapes::ShapeRef.new(shape: CountryCodeList, location: "querystring", location_name: "OperatingAddressCountryCodeFilter"))
371
+ ListSitesInput.add_member(:operating_address_state_or_region_filter, Shapes::ShapeRef.new(shape: StateOrRegionList, location: "querystring", location_name: "OperatingAddressStateOrRegionFilter"))
372
+ ListSitesInput.add_member(:operating_address_city_filter, Shapes::ShapeRef.new(shape: CityList, location: "querystring", location_name: "OperatingAddressCityFilter"))
363
373
  ListSitesInput.struct_class = Types::ListSitesInput
364
374
 
365
375
  ListSitesOutput.add_member(:sites, Shapes::ShapeRef.new(shape: siteListDefinition, location_name: "Sites"))
@@ -436,6 +446,8 @@ module Aws::Outposts
436
446
  Site.add_member(:rack_physical_properties, Shapes::ShapeRef.new(shape: RackPhysicalProperties, location_name: "RackPhysicalProperties"))
437
447
  Site.struct_class = Types::Site
438
448
 
449
+ StateOrRegionList.member = Shapes::ShapeRef.new(shape: StateOrRegion)
450
+
439
451
  SupportedStorageList.member = Shapes::ShapeRef.new(shape: SupportedStorageEnum)
440
452
 
441
453
  SupportedUplinkGbpsListDefinition.member = Shapes::ShapeRef.new(shape: SupportedUplinkGbps)
@@ -1013,6 +1013,9 @@ module Aws::Outposts
1013
1013
  # {
1014
1014
  # next_token: "Token",
1015
1015
  # max_results: 1,
1016
+ # operating_address_country_code_filter: ["CountryCode"],
1017
+ # operating_address_state_or_region_filter: ["StateOrRegion"],
1018
+ # operating_address_city_filter: ["City"],
1016
1019
  # }
1017
1020
  #
1018
1021
  # @!attribute [rw] next_token
@@ -1023,11 +1026,38 @@ module Aws::Outposts
1023
1026
  # The maximum page size.
1024
1027
  # @return [Integer]
1025
1028
  #
1029
+ # @!attribute [rw] operating_address_country_code_filter
1030
+ # A filter for the country code of the Outpost site.
1031
+ #
1032
+ # Filter values are case sensitive. If you specify multiple values for
1033
+ # a filter, the values are joined with an `OR`, and the request
1034
+ # returns all results that match any of the specified values.
1035
+ # @return [Array<String>]
1036
+ #
1037
+ # @!attribute [rw] operating_address_state_or_region_filter
1038
+ # A filter for the state/region of the Outpost site.
1039
+ #
1040
+ # Filter values are case sensitive. If you specify multiple values for
1041
+ # a filter, the values are joined with an `OR`, and the request
1042
+ # returns all results that match any of the specified values.
1043
+ # @return [Array<String>]
1044
+ #
1045
+ # @!attribute [rw] operating_address_city_filter
1046
+ # A filter for the city of the Outpost site.
1047
+ #
1048
+ # Filter values are case sensitive. If you specify multiple values for
1049
+ # a filter, the values are joined with an `OR`, and the request
1050
+ # returns all results that match any of the specified values.
1051
+ # @return [Array<String>]
1052
+ #
1026
1053
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListSitesInput AWS API Documentation
1027
1054
  #
1028
1055
  class ListSitesInput < Struct.new(
1029
1056
  :next_token,
1030
- :max_results)
1057
+ :max_results,
1058
+ :operating_address_country_code_filter,
1059
+ :operating_address_state_or_region_filter,
1060
+ :operating_address_city_filter)
1031
1061
  SENSITIVE = []
1032
1062
  include Aws::Structure
1033
1063
  end
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-outposts/customizations'
48
48
  # @!group service
49
49
  module Aws::Outposts
50
50
 
51
- GEM_VERSION = '1.29.0'
51
+ GEM_VERSION = '1.30.0'
52
52
 
53
53
  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.29.0
4
+ version: 1.30.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-24 00:00:00.000000000 Z
11
+ date: 2022-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core