lib/aws-sdk-medialive/endpoints.rb in aws-sdk-medialive-1.130.0 vs lib/aws-sdk-medialive/endpoints.rb in aws-sdk-medialive-1.131.0
- old
+ new
@@ -12,1291 +12,1257 @@
# @api private
module Endpoints
class AcceptInputDeviceTransfer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDelete
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchStart
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchStop
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchUpdateSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelInputDeviceTransfer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ClaimDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInputSecurityGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMultiplex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMultiplexProgram
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePartnerInput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInputSecurityGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMultiplex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMultiplexProgram
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteReservation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccountConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInputDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInputDeviceThumbnail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInputSecurityGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMultiplex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMultiplexProgram
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOffering
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReservation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeThumbnails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChannels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInputDeviceTransfers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInputDevices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInputSecurityGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInputs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMultiplexPrograms
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMultiplexes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOfferings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReservations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PurchaseOffering
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RebootInputDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectInputDeviceTransfer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartInputDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartInputDeviceMaintenanceWindow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMultiplex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopInputDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopMultiplex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TransferInputDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAccountConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateChannelClass
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateInput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateInputDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateInputSecurityGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMultiplex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMultiplexProgram
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateReservation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestartChannelPipelines
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCloudWatchAlarmTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCloudWatchAlarmTemplateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEventBridgeRuleTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEventBridgeRuleTemplateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSignalMap
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCloudWatchAlarmTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCloudWatchAlarmTemplateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEventBridgeRuleTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEventBridgeRuleTemplateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSignalMap
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCloudWatchAlarmTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCloudWatchAlarmTemplateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEventBridgeRuleTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEventBridgeRuleTemplateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSignalMap
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCloudWatchAlarmTemplateGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCloudWatchAlarmTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEventBridgeRuleTemplateGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEventBridgeRuleTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSignalMaps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDeleteMonitorDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMonitorDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartUpdateSignalMap
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCloudWatchAlarmTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCloudWatchAlarmTemplateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEventBridgeRuleTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEventBridgeRuleTemplateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class CreateChannelPlacementGroup
+ def self.build(context)
+ Aws::MediaLive::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 CreateCluster
+ def self.build(context)
+ Aws::MediaLive::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 CreateNetwork
+ def self.build(context)
+ Aws::MediaLive::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 CreateNode
+ def self.build(context)
+ Aws::MediaLive::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 CreateNodeRegistrationScript
+ def self.build(context)
+ Aws::MediaLive::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 DeleteChannelPlacementGroup
+ def self.build(context)
+ Aws::MediaLive::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 DeleteCluster
+ def self.build(context)
+ Aws::MediaLive::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 DeleteNetwork
+ def self.build(context)
+ Aws::MediaLive::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 DeleteNode
+ def self.build(context)
+ Aws::MediaLive::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 DescribeChannelPlacementGroup
+ def self.build(context)
+ Aws::MediaLive::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 DescribeCluster
+ def self.build(context)
+ Aws::MediaLive::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 DescribeNetwork
+ def self.build(context)
+ Aws::MediaLive::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 DescribeNode
+ def self.build(context)
+ Aws::MediaLive::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 ListChannelPlacementGroups
+ def self.build(context)
+ Aws::MediaLive::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 ListClusters
+ def self.build(context)
+ Aws::MediaLive::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 ListNetworks
+ def self.build(context)
+ Aws::MediaLive::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 ListNodes
+ def self.build(context)
+ Aws::MediaLive::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 UpdateChannelPlacementGroup
+ def self.build(context)
+ Aws::MediaLive::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 UpdateCluster
+ def self.build(context)
+ Aws::MediaLive::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 UpdateNetwork
+ def self.build(context)
+ Aws::MediaLive::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 UpdateNode
+ def self.build(context)
+ Aws::MediaLive::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 UpdateNodeState
+ def self.build(context)
+ Aws::MediaLive::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