lib/aws-sdk-datazone/endpoints.rb in aws-sdk-datazone-1.14.0 vs lib/aws-sdk-datazone/endpoints.rb in aws-sdk-datazone-1.15.0

- old
+ new

@@ -88,10 +88,23 @@ endpoint: endpoint, ) end end + class CreateAssetFilter + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::DataZone::EndpointParameters.new( + region: context.config.region, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class CreateAssetRevision def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end @@ -335,10 +348,23 @@ endpoint: endpoint, ) end end + class DeleteAssetFilter + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::DataZone::EndpointParameters.new( + region: context.config.region, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class DeleteAssetType def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end @@ -582,10 +608,23 @@ endpoint: endpoint, ) end end + class GetAssetFilter + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::DataZone::EndpointParameters.new( + region: context.config.region, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class GetAssetType def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end @@ -894,10 +933,23 @@ endpoint: endpoint, ) end end + class ListAssetFilters + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::DataZone::EndpointParameters.new( + region: context.config.region, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class ListAssetRevisions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end @@ -1350,9 +1402,22 @@ ) end end class UntagResource + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::DataZone::EndpointParameters.new( + region: context.config.region, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + + class UpdateAssetFilter def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DataZone::EndpointParameters.new(