lib/aws-sdk-verifiedpermissions/endpoints.rb in aws-sdk-verifiedpermissions-1.35.0 vs lib/aws-sdk-verifiedpermissions/endpoints.rb in aws-sdk-verifiedpermissions-1.36.0
- old
+ new
@@ -10,293 +10,11 @@
module Aws::VerifiedPermissions
# @api private
module Endpoints
- class BatchIsAuthorized
- def self.build(context)
- Aws::VerifiedPermissions::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
- class BatchIsAuthorizedWithToken
- def self.build(context)
- Aws::VerifiedPermissions::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
+ def self.parameters_for_operation(context)
+ Aws::VerifiedPermissions::EndpointParameters.create(context.config)
end
-
- class CreateIdentitySource
- def self.build(context)
- Aws::VerifiedPermissions::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class CreatePolicy
- def self.build(context)
- Aws::VerifiedPermissions::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class CreatePolicyStore
- def self.build(context)
- Aws::VerifiedPermissions::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class CreatePolicyTemplate
- def self.build(context)
- Aws::VerifiedPermissions::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class DeleteIdentitySource
- def self.build(context)
- Aws::VerifiedPermissions::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class DeletePolicy
- def self.build(context)
- Aws::VerifiedPermissions::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class DeletePolicyStore
- def self.build(context)
- Aws::VerifiedPermissions::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class DeletePolicyTemplate
- def self.build(context)
- Aws::VerifiedPermissions::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class GetIdentitySource
- def self.build(context)
- Aws::VerifiedPermissions::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class GetPolicy
- def self.build(context)
- Aws::VerifiedPermissions::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class GetPolicyStore
- def self.build(context)
- Aws::VerifiedPermissions::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class GetPolicyTemplate
- def self.build(context)
- Aws::VerifiedPermissions::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class GetSchema
- def self.build(context)
- Aws::VerifiedPermissions::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class IsAuthorized
- def self.build(context)
- Aws::VerifiedPermissions::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class IsAuthorizedWithToken
- def self.build(context)
- Aws::VerifiedPermissions::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class ListIdentitySources
- def self.build(context)
- Aws::VerifiedPermissions::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class ListPolicies
- def self.build(context)
- Aws::VerifiedPermissions::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class ListPolicyStores
- def self.build(context)
- Aws::VerifiedPermissions::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class ListPolicyTemplates
- def self.build(context)
- Aws::VerifiedPermissions::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class PutSchema
- def self.build(context)
- Aws::VerifiedPermissions::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class UpdateIdentitySource
- def self.build(context)
- Aws::VerifiedPermissions::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class UpdatePolicy
- def self.build(context)
- Aws::VerifiedPermissions::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class UpdatePolicyStore
- def self.build(context)
- Aws::VerifiedPermissions::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
- class UpdatePolicyTemplate
- def self.build(context)
- Aws::VerifiedPermissions::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
- )
- end
- end
-
end
end