aws-sdk-outposts 1.38.0 → 1.40.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 +13 -1
- 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 +35 -94
- 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: f0c1effd47953d9fdb7b1492e21bffe00e9c78856b546afa7acda1644c21509d
|
4
|
+
data.tar.gz: a2439e0e3c778946819a83af97cec0214414f3f49e00fd23d48cbdb34fb84d94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4fd7947a5b52a7d81ed6a4ec4c4604ee3c47540a4ad69b3147fd545be01d6e9ec5927b6f6accc7b95c9d4f913e4611079924fa05376facbe65c17f125a32c4d
|
7
|
+
data.tar.gz: 9105b83156fc1c09ed79f035a858b3724dafd068bd1fbabbff0b0097058e168a84074d383c6d5019e6025d9a47bb3bc6aa7381e0296e1dd21b4f5dd3c6166b07
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.40.0 (2023-01-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adding support for payment term in GetOrder, CreateOrder responses.
|
8
|
+
|
9
|
+
1.39.0 (2023-01-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
15
|
+
|
4
16
|
1.38.0 (2023-01-13)
|
5
17
|
------------------
|
6
18
|
|
@@ -200,4 +212,4 @@ Unreleased Changes
|
|
200
212
|
1.0.0 (2019-12-03)
|
201
213
|
------------------
|
202
214
|
|
203
|
-
* Feature - Initial release of `aws-sdk-outposts`.
|
215
|
+
* Feature - Initial release of `aws-sdk-outposts`.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.40.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.40.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"))
|
@@ -9,102 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::Outposts
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://outposts-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://outposts-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://outposts.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://outposts.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
46
|
end
|
22
|
-
|
23
|
-
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
48
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
49
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJb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zZUR1YWxTdGFjayJ9LHRydWVdfV0sInR5cGUiOiJ0cmVl
|
94
|
-
IiwicnVsZXMiOlt7ImNvbmRpdGlvbnMiOlt7ImZuIjoiYm9vbGVhbkVxdWFs
|
95
|
-
cyIsImFyZ3YiOlt0cnVlLHsiZm4iOiJnZXRBdHRyIiwiYXJndiI6W3sicmVm
|
96
|
-
IjoiUGFydGl0aW9uUmVzdWx0In0sInN1cHBvcnRzRHVhbFN0YWNrIl19XX1d
|
97
|
-
LCJ0eXBlIjoidHJlZSIsInJ1bGVzIjpbeyJjb25kaXRpb25zIjpbXSwiZW5k
|
98
|
-
cG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9vdXRwb3N0cy57UmVnaW9ufS57UGFy
|
99
|
-
dGl0aW9uUmVzdWx0I2R1YWxTdGFja0Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVz
|
100
|
-
Ijp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19LHsiY29u
|
101
|
-
ZGl0aW9ucyI6W10sImVycm9yIjoiRHVhbFN0YWNrIGlzIGVuYWJsZWQgYnV0
|
102
|
-
IHRoaXMgcGFydGl0aW9uIGRvZXMgbm90IHN1cHBvcnQgRHVhbFN0YWNrIiwi
|
103
|
-
dHlwZSI6ImVycm9yIn1dfSx7ImNvbmRpdGlvbnMiOltdLCJlbmRwb2ludCI6
|
104
|
-
eyJ1cmwiOiJodHRwczovL291dHBvc3RzLntSZWdpb259LntQYXJ0aXRpb25S
|
105
|
-
ZXN1bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7
|
106
|
-
fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
|
107
|
-
|
108
|
-
JSON
|
109
50
|
end
|
110
51
|
end
|
@@ -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.40.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-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|