lib/aws-sdk-mediaconnect/client.rb in aws-sdk-mediaconnect-1.43.0 vs lib/aws-sdk-mediaconnect/client.rb in aws-sdk-mediaconnect-1.44.0
- old
+ new
@@ -738,10 +738,13 @@
# @option params [Array<Types::SetSourceRequest>] :sources
#
# @option params [Array<Types::VpcInterfaceRequest>] :vpc_interfaces
# The VPC interfaces you want on the flow.
#
+ # @option params [Types::AddMaintenance] :maintenance
+ # Create maintenance setting for a flow
+ #
# @return [Types::CreateFlowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::CreateFlowResponse#flow #flow} => Types::Flow
#
# @example Request syntax with placeholder values
@@ -939,10 +942,14 @@
# role_arn: "__string", # required
# security_group_ids: ["__string"], # required
# subnet_id: "__string", # required
# },
# ],
+ # maintenance: {
+ # maintenance_day: "Monday", # required, accepts Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
+ # maintenance_start_hour: "__string", # required
+ # },
# })
#
# @example Response structure
#
# resp.flow.availability_zone #=> String
@@ -1116,10 +1123,14 @@
# resp.flow.vpc_interfaces[0].network_interface_type #=> String, one of "ena", "efa"
# resp.flow.vpc_interfaces[0].role_arn #=> String
# resp.flow.vpc_interfaces[0].security_group_ids #=> Array
# resp.flow.vpc_interfaces[0].security_group_ids[0] #=> String
# resp.flow.vpc_interfaces[0].subnet_id #=> String
+ # resp.flow.maintenance.maintenance_day #=> String, one of "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"
+ # resp.flow.maintenance.maintenance_deadline #=> String
+ # resp.flow.maintenance.maintenance_scheduled_date #=> String
+ # resp.flow.maintenance.maintenance_start_hour #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/CreateFlow AWS API Documentation
#
# @overload create_flow(params = {})
# @param [Hash] params ({})
@@ -1347,10 +1358,14 @@
# resp.flow.vpc_interfaces[0].network_interface_type #=> String, one of "ena", "efa"
# resp.flow.vpc_interfaces[0].role_arn #=> String
# resp.flow.vpc_interfaces[0].security_group_ids #=> Array
# resp.flow.vpc_interfaces[0].security_group_ids[0] #=> String
# resp.flow.vpc_interfaces[0].subnet_id #=> String
+ # resp.flow.maintenance.maintenance_day #=> String, one of "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"
+ # resp.flow.maintenance.maintenance_deadline #=> String
+ # resp.flow.maintenance.maintenance_scheduled_date #=> String
+ # resp.flow.maintenance.maintenance_start_hour #=> String
# resp.messages.errors #=> Array
# resp.messages.errors[0] #=> String
#
#
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -1582,10 +1597,14 @@
# resp.flows[0].description #=> String
# resp.flows[0].flow_arn #=> String
# resp.flows[0].name #=> String
# resp.flows[0].source_type #=> String, one of "OWNED", "ENTITLED"
# resp.flows[0].status #=> String, one of "STANDBY", "ACTIVE", "UPDATING", "DELETING", "STARTING", "STOPPING", "ERROR"
+ # resp.flows[0].maintenance.maintenance_day #=> String, one of "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"
+ # resp.flows[0].maintenance.maintenance_deadline #=> String
+ # resp.flows[0].maintenance.maintenance_scheduled_date #=> String
+ # resp.flows[0].maintenance.maintenance_start_hour #=> String
# resp.next_token #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListFlows AWS API Documentation
#
# @overload list_flows(params = {})
@@ -2068,10 +2087,13 @@
# @option params [required, String] :flow_arn
#
# @option params [Types::UpdateFailoverConfig] :source_failover_config
# The settings for source failover.
#
+ # @option params [Types::UpdateMaintenance] :maintenance
+ # Update maintenance setting for a flow
+ #
# @return [Types::UpdateFlowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::UpdateFlowResponse#flow #flow} => Types::Flow
#
# @example Request syntax with placeholder values
@@ -2084,10 +2106,15 @@
# source_priority: {
# primary_source: "__string",
# },
# state: "ENABLED", # accepts ENABLED, DISABLED
# },
+ # maintenance: {
+ # maintenance_day: "Monday", # accepts Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
+ # maintenance_scheduled_date: "__string",
+ # maintenance_start_hour: "__string",
+ # },
# })
#
# @example Response structure
#
# resp.flow.availability_zone #=> String
@@ -2261,10 +2288,14 @@
# resp.flow.vpc_interfaces[0].network_interface_type #=> String, one of "ena", "efa"
# resp.flow.vpc_interfaces[0].role_arn #=> String
# resp.flow.vpc_interfaces[0].security_group_ids #=> Array
# resp.flow.vpc_interfaces[0].security_group_ids[0] #=> String
# resp.flow.vpc_interfaces[0].subnet_id #=> String
+ # resp.flow.maintenance.maintenance_day #=> String, one of "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"
+ # resp.flow.maintenance.maintenance_deadline #=> String
+ # resp.flow.maintenance.maintenance_scheduled_date #=> String
+ # resp.flow.maintenance.maintenance_start_hour #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlow AWS API Documentation
#
# @overload update_flow(params = {})
# @param [Hash] params ({})
@@ -2791,10 +2822,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-mediaconnect'
- context[:gem_version] = '1.43.0'
+ context[:gem_version] = '1.44.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#