aws-sdk-outposts 1.40.0 → 1.42.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: f0c1effd47953d9fdb7b1492e21bffe00e9c78856b546afa7acda1644c21509d
4
- data.tar.gz: a2439e0e3c778946819a83af97cec0214414f3f49e00fd23d48cbdb34fb84d94
3
+ metadata.gz: 88381cc40d804ada0f8db543d1ad69afd7f1d9d1c82c7137fca9a8680dbe4a2a
4
+ data.tar.gz: db623801d9ccbca890d494abbbab9676403ebd33a4cac6caeed00c5fca141bde
5
5
  SHA512:
6
- metadata.gz: e4fd7947a5b52a7d81ed6a4ec4c4604ee3c47540a4ad69b3147fd545be01d6e9ec5927b6f6accc7b95c9d4f913e4611079924fa05376facbe65c17f125a32c4d
7
- data.tar.gz: 9105b83156fc1c09ed79f035a858b3724dafd068bd1fbabbff0b0097058e168a84074d383c6d5019e6025d9a47bb3bc6aa7381e0296e1dd21b4f5dd3c6166b07
6
+ metadata.gz: 8a49d969d090b78d0c0ccdb4a13ca20e240bed09e682712e10cdefd529b880fb416804e439949b17a5b097bd00a17ec4270cba9fe5758fbf42c4f4df5408a901
7
+ data.tar.gz: 989375479431646663f7ee035f498b8c4ceeee63772764d17f47413fde3899dc53b66f739ba3f0d8bdcb4c6ab6f55ea78ce111ca598b0b4aa95f46210a9f058d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.42.0 (2023-02-06)
5
+ ------------------
6
+
7
+ * Feature - Adds OrderType to Order structure. Adds PreviousOrderId and PreviousLineItemId to LineItem structure. Adds new line item status REPLACED. Increases maximum length of pagination token.
8
+
9
+ 1.41.0 (2023-01-31)
10
+ ------------------
11
+
12
+ * Feature - Enabled FIPS endpoints for GovCloud (US) regions in SDK.
13
+
4
14
  1.40.0 (2023-01-27)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.40.0
1
+ 1.42.0
@@ -431,17 +431,20 @@ module Aws::Outposts
431
431
  # resp.order.line_items[0].catalog_item_id #=> String
432
432
  # resp.order.line_items[0].line_item_id #=> String
433
433
  # resp.order.line_items[0].quantity #=> Integer
434
- # resp.order.line_items[0].status #=> String, one of "PREPARING", "BUILDING", "SHIPPED", "DELIVERED", "INSTALLING", "INSTALLED", "ERROR", "CANCELLED"
434
+ # resp.order.line_items[0].status #=> String, one of "PREPARING", "BUILDING", "SHIPPED", "DELIVERED", "INSTALLING", "INSTALLED", "ERROR", "CANCELLED", "REPLACED"
435
435
  # resp.order.line_items[0].shipment_information.shipment_tracking_number #=> String
436
436
  # resp.order.line_items[0].shipment_information.shipment_carrier #=> String, one of "DHL", "DBS", "FEDEX", "UPS"
437
437
  # resp.order.line_items[0].asset_information_list #=> Array
438
438
  # resp.order.line_items[0].asset_information_list[0].asset_id #=> String
439
439
  # resp.order.line_items[0].asset_information_list[0].mac_address_list #=> Array
440
440
  # resp.order.line_items[0].asset_information_list[0].mac_address_list[0] #=> String
441
+ # resp.order.line_items[0].previous_line_item_id #=> String
442
+ # resp.order.line_items[0].previous_order_id #=> String
441
443
  # resp.order.payment_option #=> String, one of "ALL_UPFRONT", "NO_UPFRONT", "PARTIAL_UPFRONT"
442
444
  # resp.order.order_submission_date #=> Time
443
445
  # resp.order.order_fulfilled_date #=> Time
444
446
  # resp.order.payment_term #=> String, one of "THREE_YEARS", "ONE_YEAR"
447
+ # resp.order.order_type #=> String, one of "OUTPOST", "REPLACEMENT"
445
448
  #
446
449
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateOrder AWS API Documentation
447
450
  #
@@ -798,17 +801,20 @@ module Aws::Outposts
798
801
  # resp.order.line_items[0].catalog_item_id #=> String
799
802
  # resp.order.line_items[0].line_item_id #=> String
800
803
  # resp.order.line_items[0].quantity #=> Integer
801
- # resp.order.line_items[0].status #=> String, one of "PREPARING", "BUILDING", "SHIPPED", "DELIVERED", "INSTALLING", "INSTALLED", "ERROR", "CANCELLED"
804
+ # resp.order.line_items[0].status #=> String, one of "PREPARING", "BUILDING", "SHIPPED", "DELIVERED", "INSTALLING", "INSTALLED", "ERROR", "CANCELLED", "REPLACED"
802
805
  # resp.order.line_items[0].shipment_information.shipment_tracking_number #=> String
803
806
  # resp.order.line_items[0].shipment_information.shipment_carrier #=> String, one of "DHL", "DBS", "FEDEX", "UPS"
804
807
  # resp.order.line_items[0].asset_information_list #=> Array
805
808
  # resp.order.line_items[0].asset_information_list[0].asset_id #=> String
806
809
  # resp.order.line_items[0].asset_information_list[0].mac_address_list #=> Array
807
810
  # resp.order.line_items[0].asset_information_list[0].mac_address_list[0] #=> String
811
+ # resp.order.line_items[0].previous_line_item_id #=> String
812
+ # resp.order.line_items[0].previous_order_id #=> String
808
813
  # resp.order.payment_option #=> String, one of "ALL_UPFRONT", "NO_UPFRONT", "PARTIAL_UPFRONT"
809
814
  # resp.order.order_submission_date #=> Time
810
815
  # resp.order.order_fulfilled_date #=> Time
811
816
  # resp.order.payment_term #=> String, one of "THREE_YEARS", "ONE_YEAR"
817
+ # resp.order.order_type #=> String, one of "OUTPOST", "REPLACEMENT"
812
818
  #
813
819
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOrder AWS API Documentation
814
820
  #
@@ -1805,7 +1811,7 @@ module Aws::Outposts
1805
1811
  params: params,
1806
1812
  config: config)
1807
1813
  context[:gem_name] = 'aws-sdk-outposts'
1808
- context[:gem_version] = '1.40.0'
1814
+ context[:gem_version] = '1.42.0'
1809
1815
  Seahorse::Client::Request.new(handlers, context)
1810
1816
  end
1811
1817
 
@@ -393,6 +393,8 @@ module Aws::Outposts
393
393
  LineItem.add_member(:status, Shapes::ShapeRef.new(shape: LineItemStatus, location_name: "Status"))
394
394
  LineItem.add_member(:shipment_information, Shapes::ShapeRef.new(shape: ShipmentInformation, location_name: "ShipmentInformation"))
395
395
  LineItem.add_member(:asset_information_list, Shapes::ShapeRef.new(shape: LineItemAssetInformationList, location_name: "AssetInformationList"))
396
+ LineItem.add_member(:previous_line_item_id, Shapes::ShapeRef.new(shape: LineItemId, location_name: "PreviousLineItemId"))
397
+ LineItem.add_member(:previous_order_id, Shapes::ShapeRef.new(shape: OrderId, location_name: "PreviousOrderId"))
396
398
  LineItem.struct_class = Types::LineItem
397
399
 
398
400
  LineItemAssetInformation.add_member(:asset_id, Shapes::ShapeRef.new(shape: AssetId, location_name: "AssetId"))
@@ -484,6 +486,7 @@ module Aws::Outposts
484
486
  Order.add_member(:order_submission_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "OrderSubmissionDate"))
485
487
  Order.add_member(:order_fulfilled_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "OrderFulfilledDate"))
486
488
  Order.add_member(:payment_term, Shapes::ShapeRef.new(shape: PaymentTerm, location_name: "PaymentTerm"))
489
+ Order.add_member(:order_type, Shapes::ShapeRef.new(shape: OrderType, location_name: "OrderType"))
487
490
  Order.struct_class = Types::Order
488
491
 
489
492
  OrderSummary.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostIdOnly, location_name: "OutpostId"))
@@ -32,6 +32,9 @@ module Aws::Outposts
32
32
  end
33
33
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://outposts.#{region}.amazonaws.com", headers: {}, properties: {})
37
+ end
35
38
  return Aws::Endpoints::Endpoint.new(url: "https://outposts-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
39
  end
37
40
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -42,6 +45,12 @@ module Aws::Outposts
42
45
  end
43
46
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
47
  end
48
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
49
+ return Aws::Endpoints::Endpoint.new(url: "https://outposts.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
50
+ end
51
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
52
+ return Aws::Endpoints::Endpoint.new(url: "https://outposts.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
53
+ end
45
54
  return Aws::Endpoints::Endpoint.new(url: "https://outposts.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
55
  end
47
56
  raise ArgumentError, 'No endpoint could be resolved'
@@ -770,6 +770,14 @@ module Aws::Outposts
770
770
  # Information about assets.
771
771
  # @return [Array<Types::LineItemAssetInformation>]
772
772
  #
773
+ # @!attribute [rw] previous_line_item_id
774
+ # The ID of the previous line item.
775
+ # @return [String]
776
+ #
777
+ # @!attribute [rw] previous_order_id
778
+ # The ID of the previous order.
779
+ # @return [String]
780
+ #
773
781
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/LineItem AWS API Documentation
774
782
  #
775
783
  class LineItem < Struct.new(
@@ -778,7 +786,9 @@ module Aws::Outposts
778
786
  :quantity,
779
787
  :status,
780
788
  :shipment_information,
781
- :asset_information_list)
789
+ :asset_information_list,
790
+ :previous_line_item_id,
791
+ :previous_order_id)
782
792
  SENSITIVE = []
783
793
  include Aws::Structure
784
794
  end
@@ -1144,6 +1154,10 @@ module Aws::Outposts
1144
1154
  # The payment term.
1145
1155
  # @return [String]
1146
1156
  #
1157
+ # @!attribute [rw] order_type
1158
+ # The type of order.
1159
+ # @return [String]
1160
+ #
1147
1161
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/Order AWS API Documentation
1148
1162
  #
1149
1163
  class Order < Struct.new(
@@ -1154,7 +1168,8 @@ module Aws::Outposts
1154
1168
  :payment_option,
1155
1169
  :order_submission_date,
1156
1170
  :order_fulfilled_date,
1157
- :payment_term)
1171
+ :payment_term,
1172
+ :order_type)
1158
1173
  SENSITIVE = []
1159
1174
  include Aws::Structure
1160
1175
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-outposts/customizations'
52
52
  # @!group service
53
53
  module Aws::Outposts
54
54
 
55
- GEM_VERSION = '1.40.0'
55
+ GEM_VERSION = '1.42.0'
56
56
 
57
57
  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.40.0
4
+ version: 1.42.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: 2023-01-27 00:00:00.000000000 Z
11
+ date: 2023-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core