aws-sdk-marketplacecatalog 1.36.0 → 1.38.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-marketplacecatalog/client.rb +283 -2
- data/lib/aws-sdk-marketplacecatalog/client_api.rb +576 -0
- data/lib/aws-sdk-marketplacecatalog/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-marketplacecatalog/endpoints.rb +14 -0
- data/lib/aws-sdk-marketplacecatalog/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-marketplacecatalog/types.rb +1986 -313
- data/lib/aws-sdk-marketplacecatalog.rb +2 -2
- metadata +2 -2
@@ -32,7 +32,7 @@ module Aws::MarketplaceCatalog
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://catalog.marketplace-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -12,6 +12,20 @@ module Aws::MarketplaceCatalog
|
|
12
12
|
# @api private
|
13
13
|
module Endpoints
|
14
14
|
|
15
|
+
class BatchDescribeEntities
|
16
|
+
def self.build(context)
|
17
|
+
unless context.config.regional_endpoint
|
18
|
+
endpoint = context.config.endpoint.to_s
|
19
|
+
end
|
20
|
+
Aws::MarketplaceCatalog::EndpointParameters.new(
|
21
|
+
region: context.config.region,
|
22
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
23
|
+
use_fips: context.config.use_fips_endpoint,
|
24
|
+
endpoint: endpoint,
|
25
|
+
)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
15
29
|
class CancelChangeSet
|
16
30
|
def self.build(context)
|
17
31
|
unless context.config.regional_endpoint
|
@@ -57,6 +57,8 @@ module Aws::MarketplaceCatalog
|
|
57
57
|
|
58
58
|
def parameters_for_operation(context)
|
59
59
|
case context.operation_name
|
60
|
+
when :batch_describe_entities
|
61
|
+
Aws::MarketplaceCatalog::Endpoints::BatchDescribeEntities.build(context)
|
60
62
|
when :cancel_change_set
|
61
63
|
Aws::MarketplaceCatalog::Endpoints::CancelChangeSet.build(context)
|
62
64
|
when :delete_resource_policy
|