lib/aws-sdk-cloudfront/endpoints.rb in aws-sdk-cloudfront-1.83.0 vs lib/aws-sdk-cloudfront/endpoints.rb in aws-sdk-cloudfront-1.84.0

- old
+ new

@@ -178,10 +178,24 @@ endpoint: endpoint, ) end end + class CreateKeyValueStore + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::CloudFront::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class CreateMonitoringSubscription def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end @@ -402,10 +416,24 @@ endpoint: endpoint, ) end end + class DeleteKeyValueStore + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::CloudFront::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class DeleteMonitoringSubscription def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end @@ -514,10 +542,24 @@ endpoint: endpoint, ) end end + class DescribeKeyValueStore + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::CloudFront::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class GetCachePolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end @@ -1130,10 +1172,24 @@ endpoint: endpoint, ) end end + class ListKeyValueStores + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::CloudFront::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class ListOriginAccessControls def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end @@ -1397,9 +1453,23 @@ ) end end class UpdateKeyGroup + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::CloudFront::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + + class UpdateKeyValueStore def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CloudFront::EndpointParameters.new(