lib/aws-sdk-iam/endpoints.rb in aws-sdk-iam-1.81.0 vs lib/aws-sdk-iam/endpoints.rb in aws-sdk-iam-1.82.0

- old
+ new

@@ -892,9 +892,23 @@ endpoint: endpoint, ) end end + class GetMFADevice + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::IAM::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 GetOpenIDConnectProvider def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end