# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::IoT module Endpoints class AcceptCertificateTransfer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 AddThingToBillingGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 AddThingToThingGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 AssociateTargetsWithJob def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 AttachPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 AttachPrincipalPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 AttachSecurityProfile def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 AttachThingPrincipal def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CancelAuditMitigationActionsTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CancelAuditTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CancelCertificateTransfer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CancelDetectMitigationActionsTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CancelJob def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CancelJobExecution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ClearDefaultAuthorizer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ConfirmTopicRuleDestination def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreateAuditSuppression def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreateAuthorizer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreateBillingGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreateCertificateFromCsr def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreateCustomMetric def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreateDimension def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreateDomainConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreateDynamicThingGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreateFleetMetric def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreateJob def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreateJobTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreateKeysAndCertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreateMitigationAction def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreateOTAUpdate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreatePackage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreatePackageVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreatePolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreatePolicyVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreateProvisioningClaim def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreateProvisioningTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreateProvisioningTemplateVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreateRoleAlias def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreateScheduledAudit def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreateSecurityProfile def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreateStream def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreateThing def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreateThingGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreateThingType def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreateTopicRule def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 CreateTopicRuleDestination def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteAccountAuditConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteAuditSuppression def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteAuthorizer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteBillingGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteCACertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteCertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteCustomMetric def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteDimension def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteDomainConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteDynamicThingGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteFleetMetric def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteJob def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteJobExecution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteJobTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteMitigationAction def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteOTAUpdate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeletePackage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeletePackageVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeletePolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeletePolicyVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteProvisioningTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteProvisioningTemplateVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteRegistrationCode def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteRoleAlias def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteScheduledAudit def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteSecurityProfile def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteStream def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteThing def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteThingGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteThingType def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteTopicRule def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteTopicRuleDestination def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeleteV2LoggingLevel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DeprecateThingType def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeAccountAuditConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeAuditFinding def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeAuditMitigationActionsTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeAuditSuppression def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeAuditTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeAuthorizer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeBillingGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeCACertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeCertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeCustomMetric def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeDefaultAuthorizer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeDetectMitigationActionsTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeDimension def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeDomainConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeEndpoint def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeEventConfigurations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeFleetMetric def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeIndex def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeJob def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeJobExecution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeJobTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeManagedJobTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeMitigationAction def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeProvisioningTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeProvisioningTemplateVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeRoleAlias def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeScheduledAudit def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeSecurityProfile def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeStream def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeThing def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeThingGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeThingRegistrationTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DescribeThingType def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DetachPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DetachPrincipalPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DetachSecurityProfile def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DetachThingPrincipal def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 DisableTopicRule def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 EnableTopicRule def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 GetBehaviorModelTrainingSummaries def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 GetBucketsAggregation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 GetCardinality def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 GetEffectivePolicies def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 GetIndexingConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 GetJobDocument def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 GetLoggingOptions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 GetOTAUpdate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 GetPackage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 GetPackageConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 GetPackageVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 GetPercentiles def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 GetPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 GetPolicyVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 GetRegistrationCode def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 GetStatistics def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 GetTopicRule def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 GetTopicRuleDestination def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 GetV2LoggingOptions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListActiveViolations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListAttachedPolicies def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListAuditFindings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListAuditMitigationActionsExecutions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListAuditMitigationActionsTasks def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListAuditSuppressions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListAuditTasks def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListAuthorizers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListBillingGroups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListCACertificates def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListCertificates def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListCertificatesByCA def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListCustomMetrics def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListDetectMitigationActionsExecutions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListDetectMitigationActionsTasks def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListDimensions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListDomainConfigurations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListFleetMetrics def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListIndices def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListJobExecutionsForJob def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListJobExecutionsForThing def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListJobTemplates def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListJobs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListManagedJobTemplates def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListMetricValues def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListMitigationActions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListOTAUpdates def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListOutgoingCertificates def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListPackageVersions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListPackages def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListPolicies def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListPolicyPrincipals def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListPolicyVersions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListPrincipalPolicies def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListPrincipalThings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListProvisioningTemplateVersions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListProvisioningTemplates def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListRelatedResourcesForAuditFinding def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListRoleAliases def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListScheduledAudits def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListSecurityProfiles def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListSecurityProfilesForTarget def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListStreams def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListTagsForResource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListTargetsForPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListTargetsForSecurityProfile def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListThingGroups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListThingGroupsForThing def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListThingPrincipals def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListThingRegistrationTaskReports def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListThingRegistrationTasks def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListThingTypes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListThings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListThingsInBillingGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListThingsInThingGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListTopicRuleDestinations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListTopicRules def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListV2LoggingLevels def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ListViolationEvents def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 PutVerificationStateOnViolation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 RegisterCACertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 RegisterCertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 RegisterCertificateWithoutCA def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 RegisterThing def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 RejectCertificateTransfer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 RemoveThingFromBillingGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 RemoveThingFromThingGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ReplaceTopicRule def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 SearchIndex def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 SetDefaultAuthorizer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 SetDefaultPolicyVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 SetLoggingOptions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 SetV2LoggingLevel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 SetV2LoggingOptions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 StartAuditMitigationActionsTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 StartDetectMitigationActionsTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 StartOnDemandAuditTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 StartThingRegistrationTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 StopThingRegistrationTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 TagResource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 TestAuthorization def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 TestInvokeAuthorizer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 TransferCertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UntagResource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdateAccountAuditConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdateAuditSuppression def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdateAuthorizer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdateBillingGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdateCACertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdateCertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdateCustomMetric def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdateDimension def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdateDomainConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdateDynamicThingGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdateEventConfigurations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdateFleetMetric def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdateIndexingConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdateJob def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdateMitigationAction def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdatePackage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdatePackageConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdatePackageVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdateProvisioningTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdateRoleAlias def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdateScheduledAudit def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdateSecurityProfile def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdateStream def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdateThing def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdateThingGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdateThingGroupsForThing def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 UpdateTopicRuleDestination def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 ValidateSecurityProfileBehaviors def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::IoT::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 end end