aws-sdk-outposts 1.39.0 → 1.41.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-outposts/client.rb +3 -1
- data/lib/aws-sdk-outposts/client_api.rb +1 -0
- data/lib/aws-sdk-outposts/endpoint_provider.rb +9 -0
- data/lib/aws-sdk-outposts/types.rb +6 -1
- 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: 1339e17908c799a9d772629b292d0ee496d0735df4360408e88e6efc878d9d6d
|
4
|
+
data.tar.gz: 542370461005ccc5492cbc3ff876601f34110117a5e3f05bfbb43a84f7f0111b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 299c45f52658e65b4ea5848a631a3ee73faccc28a40e188bf6f72ec7e54d84ca55bb0d448f18fcdebd346021736ab16df8a21057bf54cad579565e3593d74d9f
|
7
|
+
data.tar.gz: c08bdc29b2ba238429b2d1da4e04d9b45d88dc217f80280d3b9f55ef920da22abd16725e3aedb00f6886117dd3b28a998fdec52d742697b6242afdaf45b055c4
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.41.0 (2023-01-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Enabled FIPS endpoints for GovCloud (US) regions in SDK.
|
8
|
+
|
9
|
+
1.40.0 (2023-01-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adding support for payment term in GetOrder, CreateOrder responses.
|
13
|
+
|
4
14
|
1.39.0 (2023-01-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.41.0
|
@@ -441,6 +441,7 @@ module Aws::Outposts
|
|
441
441
|
# resp.order.payment_option #=> String, one of "ALL_UPFRONT", "NO_UPFRONT", "PARTIAL_UPFRONT"
|
442
442
|
# resp.order.order_submission_date #=> Time
|
443
443
|
# resp.order.order_fulfilled_date #=> Time
|
444
|
+
# resp.order.payment_term #=> String, one of "THREE_YEARS", "ONE_YEAR"
|
444
445
|
#
|
445
446
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateOrder AWS API Documentation
|
446
447
|
#
|
@@ -807,6 +808,7 @@ module Aws::Outposts
|
|
807
808
|
# resp.order.payment_option #=> String, one of "ALL_UPFRONT", "NO_UPFRONT", "PARTIAL_UPFRONT"
|
808
809
|
# resp.order.order_submission_date #=> Time
|
809
810
|
# resp.order.order_fulfilled_date #=> Time
|
811
|
+
# resp.order.payment_term #=> String, one of "THREE_YEARS", "ONE_YEAR"
|
810
812
|
#
|
811
813
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOrder AWS API Documentation
|
812
814
|
#
|
@@ -1803,7 +1805,7 @@ module Aws::Outposts
|
|
1803
1805
|
params: params,
|
1804
1806
|
config: config)
|
1805
1807
|
context[:gem_name] = 'aws-sdk-outposts'
|
1806
|
-
context[:gem_version] = '1.
|
1808
|
+
context[:gem_version] = '1.41.0'
|
1807
1809
|
Seahorse::Client::Request.new(handlers, context)
|
1808
1810
|
end
|
1809
1811
|
|
@@ -483,6 +483,7 @@ module Aws::Outposts
|
|
483
483
|
Order.add_member(:payment_option, Shapes::ShapeRef.new(shape: PaymentOption, location_name: "PaymentOption"))
|
484
484
|
Order.add_member(:order_submission_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "OrderSubmissionDate"))
|
485
485
|
Order.add_member(:order_fulfilled_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "OrderFulfilledDate"))
|
486
|
+
Order.add_member(:payment_term, Shapes::ShapeRef.new(shape: PaymentTerm, location_name: "PaymentTerm"))
|
486
487
|
Order.struct_class = Types::Order
|
487
488
|
|
488
489
|
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'
|
@@ -1140,6 +1140,10 @@ module Aws::Outposts
|
|
1140
1140
|
# The fulfillment date of the order.
|
1141
1141
|
# @return [Time]
|
1142
1142
|
#
|
1143
|
+
# @!attribute [rw] payment_term
|
1144
|
+
# The payment term.
|
1145
|
+
# @return [String]
|
1146
|
+
#
|
1143
1147
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/Order AWS API Documentation
|
1144
1148
|
#
|
1145
1149
|
class Order < Struct.new(
|
@@ -1149,7 +1153,8 @@ module Aws::Outposts
|
|
1149
1153
|
:line_items,
|
1150
1154
|
:payment_option,
|
1151
1155
|
:order_submission_date,
|
1152
|
-
:order_fulfilled_date
|
1156
|
+
:order_fulfilled_date,
|
1157
|
+
:payment_term)
|
1153
1158
|
SENSITIVE = []
|
1154
1159
|
include Aws::Structure
|
1155
1160
|
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.41.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-
|
11
|
+
date: 2023-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|