lib/aws-sdk-mediaconnect/client.rb in aws-sdk-mediaconnect-1.18.0 vs lib/aws-sdk-mediaconnect/client.rb in aws-sdk-mediaconnect-1.19.0
- old
+ new
@@ -267,12 +267,11 @@
# seconds to wait when opening a HTTP session before raising a
# `Timeout::Error`.
#
# @option options [Integer] :http_read_timeout (60) The default
# number of seconds to wait for response data. This value can
- # safely be set
- # per-request on the session yielded by {#session_for}.
+ # safely be set per-request on the session.
#
# @option options [Float] :http_idle_timeout (5) The number of
# seconds a connection is allowed to sit idle before it is
# considered stale. Stale connections are closed and removed
# from the pool before making a request.
@@ -280,11 +279,11 @@
# @option options [Float] :http_continue_timeout (1) The number of
# seconds to wait for a 100-continue response before sending the
# request body. This option has no effect unless the request has
# "Expect" header set to "100-continue". Defaults to `nil` which
# disables this behaviour. This value can safely be set per
- # request on the session yielded by {#session_for}.
+ # request on the session.
#
# @option options [Boolean] :http_wire_trace (false) When `true`,
# HTTP debug output will be sent to the `:logger`.
#
# @option options [Boolean] :ssl_verify_peer (true) When `true`,
@@ -427,10 +426,11 @@
# max_bitrate: 1,
# max_latency: 1,
# name: "__string",
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
# stream_id: "__string",
+ # vpc_interface_name: "__string",
# whitelist_cidr: "__string",
# },
# ],
# })
#
@@ -460,10 +460,11 @@
# resp.sources[0].transport.max_latency #=> Integer
# resp.sources[0].transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist"
# resp.sources[0].transport.remote_id #=> String
# resp.sources[0].transport.smoothing_latency #=> Integer
# resp.sources[0].transport.stream_id #=> String
+ # resp.sources[0].vpc_interface_name #=> String
# resp.sources[0].whitelist_cidr #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowSources AWS API Documentation
#
# @overload add_flow_sources(params = {})
@@ -471,10 +472,57 @@
def add_flow_sources(params = {}, options = {})
req = build_request(:add_flow_sources, params)
req.send_request(options)
end
+ # Adds VPC interfaces to flow
+ #
+ # @option params [required, String] :flow_arn
+ #
+ # @option params [required, Array<Types::VpcInterfaceRequest>] :vpc_interfaces
+ # A list of VPC interfaces that you want to add.
+ #
+ # @return [Types::AddFlowVpcInterfacesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::AddFlowVpcInterfacesResponse#flow_arn #flow_arn} => String
+ # * {Types::AddFlowVpcInterfacesResponse#vpc_interfaces #vpc_interfaces} => Array<Types::VpcInterface>
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.add_flow_vpc_interfaces({
+ # flow_arn: "__string", # required
+ # vpc_interfaces: [ # required
+ # {
+ # name: "__string", # required
+ # role_arn: "__string", # required
+ # security_group_ids: ["__string"], # required
+ # subnet_id: "__string", # required
+ # },
+ # ],
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.flow_arn #=> String
+ # resp.vpc_interfaces #=> Array
+ # resp.vpc_interfaces[0].name #=> String
+ # resp.vpc_interfaces[0].network_interface_ids #=> Array
+ # resp.vpc_interfaces[0].network_interface_ids[0] #=> String
+ # resp.vpc_interfaces[0].role_arn #=> String
+ # resp.vpc_interfaces[0].security_group_ids #=> Array
+ # resp.vpc_interfaces[0].security_group_ids[0] #=> String
+ # resp.vpc_interfaces[0].subnet_id #=> String
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowVpcInterfaces AWS API Documentation
+ #
+ # @overload add_flow_vpc_interfaces(params = {})
+ # @param [Hash] params ({})
+ def add_flow_vpc_interfaces(params = {}, options = {})
+ req = build_request(:add_flow_vpc_interfaces, params)
+ req.send_request(options)
+ end
+
# Creates a new flow. The request must include one source. The request
# optionally can include outputs (up to 50) and entitlements (up to 50).
#
# @option params [String] :availability_zone
# The Availability Zone that you want to create the flow in. These
@@ -496,10 +544,13 @@
# @option params [Types::FailoverConfig] :source_failover_config
# The settings for source failover
#
# @option params [Array<Types::SetSourceRequest>] :sources
#
+ # @option params [Array<Types::VpcInterfaceRequest>] :vpc_interfaces
+ # The VPC interfaces you want on the 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
@@ -569,10 +620,11 @@
# max_bitrate: 1,
# max_latency: 1,
# name: "__string",
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
# stream_id: "__string",
+ # vpc_interface_name: "__string",
# whitelist_cidr: "__string",
# },
# source_failover_config: {
# recovery_window: 1,
# state: "ENABLED", # accepts ENABLED, DISABLED
@@ -596,13 +648,22 @@
# max_bitrate: 1,
# max_latency: 1,
# name: "__string",
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
# stream_id: "__string",
+ # vpc_interface_name: "__string",
# whitelist_cidr: "__string",
# },
# ],
+ # vpc_interfaces: [
+ # {
+ # name: "__string", # required
+ # role_arn: "__string", # required
+ # security_group_ids: ["__string"], # required
+ # subnet_id: "__string", # required
+ # },
+ # ],
# })
#
# @example Response structure
#
# resp.flow.availability_zone #=> String
@@ -674,10 +735,11 @@
# resp.flow.source.transport.max_latency #=> Integer
# resp.flow.source.transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist"
# resp.flow.source.transport.remote_id #=> String
# resp.flow.source.transport.smoothing_latency #=> Integer
# resp.flow.source.transport.stream_id #=> String
+ # resp.flow.source.vpc_interface_name #=> String
# resp.flow.source.whitelist_cidr #=> String
# resp.flow.source_failover_config.recovery_window #=> Integer
# resp.flow.source_failover_config.state #=> String, one of "ENABLED", "DISABLED"
# resp.flow.sources #=> Array
# resp.flow.sources[0].data_transfer_subscriber_fee_percent #=> Integer
@@ -702,12 +764,21 @@
# resp.flow.sources[0].transport.max_latency #=> Integer
# resp.flow.sources[0].transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist"
# resp.flow.sources[0].transport.remote_id #=> String
# resp.flow.sources[0].transport.smoothing_latency #=> Integer
# resp.flow.sources[0].transport.stream_id #=> String
+ # resp.flow.sources[0].vpc_interface_name #=> String
# resp.flow.sources[0].whitelist_cidr #=> String
# resp.flow.status #=> String, one of "STANDBY", "ACTIVE", "UPDATING", "DELETING", "STARTING", "STOPPING", "ERROR"
+ # resp.flow.vpc_interfaces #=> Array
+ # resp.flow.vpc_interfaces[0].name #=> String
+ # resp.flow.vpc_interfaces[0].network_interface_ids #=> Array
+ # resp.flow.vpc_interfaces[0].network_interface_ids[0] #=> String
+ # 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
#
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/CreateFlow AWS API Documentation
#
# @overload create_flow(params = {})
# @param [Hash] params ({})
@@ -833,10 +904,11 @@
# resp.flow.source.transport.max_latency #=> Integer
# resp.flow.source.transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist"
# resp.flow.source.transport.remote_id #=> String
# resp.flow.source.transport.smoothing_latency #=> Integer
# resp.flow.source.transport.stream_id #=> String
+ # resp.flow.source.vpc_interface_name #=> String
# resp.flow.source.whitelist_cidr #=> String
# resp.flow.source_failover_config.recovery_window #=> Integer
# resp.flow.source_failover_config.state #=> String, one of "ENABLED", "DISABLED"
# resp.flow.sources #=> Array
# resp.flow.sources[0].data_transfer_subscriber_fee_percent #=> Integer
@@ -861,12 +933,21 @@
# resp.flow.sources[0].transport.max_latency #=> Integer
# resp.flow.sources[0].transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist"
# resp.flow.sources[0].transport.remote_id #=> String
# resp.flow.sources[0].transport.smoothing_latency #=> Integer
# resp.flow.sources[0].transport.stream_id #=> String
+ # resp.flow.sources[0].vpc_interface_name #=> String
# resp.flow.sources[0].whitelist_cidr #=> String
# resp.flow.status #=> String, one of "STANDBY", "ACTIVE", "UPDATING", "DELETING", "STARTING", "STOPPING", "ERROR"
+ # resp.flow.vpc_interfaces #=> Array
+ # resp.flow.vpc_interfaces[0].name #=> String
+ # resp.flow.vpc_interfaces[0].network_interface_ids #=> Array
+ # resp.flow.vpc_interfaces[0].network_interface_ids[0] #=> String
+ # 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.messages.errors #=> Array
# resp.messages.errors[0] #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeFlow AWS API Documentation
#
@@ -953,10 +1034,12 @@
# @return [Types::ListEntitlementsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::ListEntitlementsResponse#entitlements #entitlements} => Array<Types::ListedEntitlement>
# * {Types::ListEntitlementsResponse#next_token #next_token} => String
#
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
+ #
# @example Request syntax with placeholder values
#
# resp = client.list_entitlements({
# max_results: 1,
# next_token: "__string",
@@ -989,10 +1072,12 @@
# @return [Types::ListFlowsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::ListFlowsResponse#flows #flows} => Array<Types::ListedFlow>
# * {Types::ListFlowsResponse#next_token #next_token} => String
#
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
+ #
# @example Request syntax with placeholder values
#
# resp = client.list_flows({
# max_results: 1,
# next_token: "__string",
@@ -1113,10 +1198,49 @@
def remove_flow_source(params = {}, options = {})
req = build_request(:remove_flow_source, params)
req.send_request(options)
end
+ # Removes a VPC Interface from an existing flow. This request can be
+ # made only on a VPC interface that does not have a Source or Output
+ # associated with it. If the VPC interface is referenced by a Source or
+ # Output, you must first delete or update the Source or Output to no
+ # longer reference the VPC interface.
+ #
+ # @option params [required, String] :flow_arn
+ #
+ # @option params [required, String] :vpc_interface_name
+ #
+ # @return [Types::RemoveFlowVpcInterfaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::RemoveFlowVpcInterfaceResponse#flow_arn #flow_arn} => String
+ # * {Types::RemoveFlowVpcInterfaceResponse#non_deleted_network_interface_ids #non_deleted_network_interface_ids} => Array<String>
+ # * {Types::RemoveFlowVpcInterfaceResponse#vpc_interface_name #vpc_interface_name} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.remove_flow_vpc_interface({
+ # flow_arn: "__string", # required
+ # vpc_interface_name: "__string", # required
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.flow_arn #=> String
+ # resp.non_deleted_network_interface_ids #=> Array
+ # resp.non_deleted_network_interface_ids[0] #=> String
+ # resp.vpc_interface_name #=> String
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowVpcInterface AWS API Documentation
+ #
+ # @overload remove_flow_vpc_interface(params = {})
+ # @param [Hash] params ({})
+ def remove_flow_vpc_interface(params = {}, options = {})
+ req = build_request(:remove_flow_vpc_interface, params)
+ req.send_request(options)
+ end
+
# Revokes an entitlement from a flow. Once an entitlement is revoked,
# the content becomes unavailable to the subscriber and the associated
# output is removed.
#
# @option params [required, String] :entitlement_arn
@@ -1355,10 +1479,11 @@
# resp.flow.source.transport.max_latency #=> Integer
# resp.flow.source.transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist"
# resp.flow.source.transport.remote_id #=> String
# resp.flow.source.transport.smoothing_latency #=> Integer
# resp.flow.source.transport.stream_id #=> String
+ # resp.flow.source.vpc_interface_name #=> String
# resp.flow.source.whitelist_cidr #=> String
# resp.flow.source_failover_config.recovery_window #=> Integer
# resp.flow.source_failover_config.state #=> String, one of "ENABLED", "DISABLED"
# resp.flow.sources #=> Array
# resp.flow.sources[0].data_transfer_subscriber_fee_percent #=> Integer
@@ -1383,12 +1508,21 @@
# resp.flow.sources[0].transport.max_latency #=> Integer
# resp.flow.sources[0].transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist"
# resp.flow.sources[0].transport.remote_id #=> String
# resp.flow.sources[0].transport.smoothing_latency #=> Integer
# resp.flow.sources[0].transport.stream_id #=> String
+ # resp.flow.sources[0].vpc_interface_name #=> String
# resp.flow.sources[0].whitelist_cidr #=> String
# resp.flow.status #=> String, one of "STANDBY", "ACTIVE", "UPDATING", "DELETING", "STARTING", "STOPPING", "ERROR"
+ # resp.flow.vpc_interfaces #=> Array
+ # resp.flow.vpc_interfaces[0].name #=> String
+ # resp.flow.vpc_interfaces[0].network_interface_ids #=> Array
+ # resp.flow.vpc_interfaces[0].network_interface_ids[0] #=> String
+ # 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
#
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlow AWS API Documentation
#
# @overload update_flow(params = {})
# @param [Hash] params ({})
@@ -1617,10 +1751,13 @@
#
# @option params [String] :stream_id
# The stream ID that you want to use for this transport. This parameter
# applies only to Zixi-based streams.
#
+ # @option params [String] :vpc_interface_name
+ # The name of the VPC Interface to configure this Source with.
+ #
# @option params [String] :whitelist_cidr
# The range of IP addresses that should be allowed to contribute content
# to your source. These IP addresses should be in the form of a
# Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
#
@@ -1650,10 +1787,11 @@
# max_bitrate: 1,
# max_latency: 1,
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
# source_arn: "__string", # required
# stream_id: "__string",
+ # vpc_interface_name: "__string",
# whitelist_cidr: "__string",
# })
#
# @example Response structure
#
@@ -1680,10 +1818,11 @@
# resp.source.transport.max_latency #=> Integer
# resp.source.transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist"
# resp.source.transport.remote_id #=> String
# resp.source.transport.smoothing_latency #=> Integer
# resp.source.transport.stream_id #=> String
+ # resp.source.vpc_interface_name #=> String
# resp.source.whitelist_cidr #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowSource AWS API Documentation
#
# @overload update_flow_source(params = {})
@@ -1704,10 +1843,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-mediaconnect'
- context[:gem_version] = '1.18.0'
+ context[:gem_version] = '1.19.0'
Seahorse::Client::Request.new(handlers, context)
end
# @api private
# @deprecated