Class: Aws::IVS::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::IVS::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb
Overview
An API client for IVS. To construct a client, you need to configure a :region and :credentials.
client = Aws::IVS::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#batch_get_channel(params = {}) ⇒ Types::BatchGetChannelResponse
Performs GetChannel on multiple ARNs simultaneously.
-
#batch_get_stream_key(params = {}) ⇒ Types::BatchGetStreamKeyResponse
Performs GetStreamKey on multiple ARNs simultaneously.
-
#batch_start_viewer_session_revocation(params = {}) ⇒ Types::BatchStartViewerSessionRevocationResponse
Performs StartViewerSessionRevocation on multiple channel ARN and viewer ID pairs simultaneously.
-
#create_ad_configuration(params = {}) ⇒ Types::CreateAdConfigurationResponse
Creates a new ad configuration to be used for server-side ad insertion.
-
#create_channel(params = {}) ⇒ Types::CreateChannelResponse
Creates a new channel and an associated stream key to start streaming.
-
#create_failover_slate_configuration(params = {}) ⇒ Types::CreateFailoverSlateConfigurationResponse
Creates a new failover slate configuration.
-
#create_playback_restriction_policy(params = {}) ⇒ Types::CreatePlaybackRestrictionPolicyResponse
Creates a new playback restriction policy, for constraining playback by countries and/or origins.
-
#create_recording_configuration(params = {}) ⇒ Types::CreateRecordingConfigurationResponse
Creates a new recording configuration, used to enable recording to Amazon S3.
-
#create_stream_key(params = {}) ⇒ Types::CreateStreamKeyResponse
Creates a stream key, used to initiate a stream, for the specified channel ARN.
-
#delete_ad_configuration(params = {}) ⇒ Struct
Deletes the specified ad configuration.
-
#delete_channel(params = {}) ⇒ Struct
Deletes the specified channel and its associated stream keys.
-
#delete_failover_slate_configuration(params = {}) ⇒ Struct
Deletes the specified failover slate configuration.
-
#delete_playback_key_pair(params = {}) ⇒ Struct
Deletes a specified authorization key pair.
-
#delete_playback_restriction_policy(params = {}) ⇒ Struct
Deletes the specified playback restriction policy.
-
#delete_recording_configuration(params = {}) ⇒ Struct
Deletes the recording configuration for the specified ARN.
-
#delete_stream_key(params = {}) ⇒ Struct
Deletes the stream key for the specified ARN, so it can no longer be used to stream.
-
#get_ad_configuration(params = {}) ⇒ Types::GetAdConfigurationResponse
Gets the ad configuration represented by the specified ARN.
-
#get_channel(params = {}) ⇒ Types::GetChannelResponse
Gets the channel configuration for the specified channel ARN.
-
#get_failover_slate_configuration(params = {}) ⇒ Types::GetFailoverSlateConfigurationResponse
Gets the failover slate configuration for the specified ARN.
-
#get_playback_key_pair(params = {}) ⇒ Types::GetPlaybackKeyPairResponse
Gets a specified playback authorization key pair and returns the
arnandfingerprint. -
#get_playback_restriction_policy(params = {}) ⇒ Types::GetPlaybackRestrictionPolicyResponse
Gets the specified playback restriction policy.
-
#get_recording_configuration(params = {}) ⇒ Types::GetRecordingConfigurationResponse
Gets the recording configuration for the specified ARN.
-
#get_stream(params = {}) ⇒ Types::GetStreamResponse
Gets information about the active (live) stream on a specified channel.
-
#get_stream_key(params = {}) ⇒ Types::GetStreamKeyResponse
Gets stream-key information for a specified ARN.
-
#get_stream_session(params = {}) ⇒ Types::GetStreamSessionResponse
Gets metadata on a specified stream.
-
#import_playback_key_pair(params = {}) ⇒ Types::ImportPlaybackKeyPairResponse
Imports the public portion of a new key pair and returns its
arnandfingerprint. -
#insert_ad_break(params = {}) ⇒ Types::InsertAdBreakResponse
Inserts an ad marker in the playlist for the specified channel and duration using the ad configuration associated with the channel.
-
#list_ad_configurations(params = {}) ⇒ Types::ListAdConfigurationsResponse
Gets summary information about all ad configurations in your account, in the AWS region where the API request is processed.
-
#list_channels(params = {}) ⇒ Types::ListChannelsResponse
Gets summary information about all channels in your account, in the Amazon Web Services region where the API request is processed.
-
#list_failover_slate_configurations(params = {}) ⇒ Types::ListFailoverSlateConfigurationsResponse
Gets summary information about all failover slate configurations in your account, in the Amazon Web Services region where the API request is processed.
-
#list_playback_key_pairs(params = {}) ⇒ Types::ListPlaybackKeyPairsResponse
Gets summary information about playback key pairs.
-
#list_playback_restriction_policies(params = {}) ⇒ Types::ListPlaybackRestrictionPoliciesResponse
Gets summary information about playback restriction policies.
-
#list_recording_configurations(params = {}) ⇒ Types::ListRecordingConfigurationsResponse
Gets summary information about all recording configurations in your account, in the Amazon Web Services region where the API request is processed.
-
#list_stream_keys(params = {}) ⇒ Types::ListStreamKeysResponse
Gets summary information about stream keys for the specified channel.
-
#list_stream_sessions(params = {}) ⇒ Types::ListStreamSessionsResponse
Gets a summary of current and previous streams for a specified channel in your account, in the AWS region where the API request is processed.
-
#list_streams(params = {}) ⇒ Types::ListStreamsResponse
Gets summary information about live streams in your account, in the Amazon Web Services region where the API request is processed.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Gets information about Amazon Web Services tags for the specified ARN.
-
#put_metadata(params = {}) ⇒ Struct
Inserts metadata into the active stream of the specified channel.
-
#start_viewer_session_revocation(params = {}) ⇒ Struct
Starts the process of revoking the viewer session associated with a specified channel ARN and viewer ID.
-
#stop_stream(params = {}) ⇒ Struct
Disconnects the incoming RTMPS stream for the specified channel.
-
#tag_resource(params = {}) ⇒ Struct
Adds or updates tags for the Amazon Web Services resource with the specified ARN.
-
#untag_resource(params = {}) ⇒ Struct
Removes tags from the resource with the specified ARN.
-
#update_ad_configuration(params = {}) ⇒ Types::UpdateAdConfigurationResponse
Updates a specified ad configuration.
-
#update_channel(params = {}) ⇒ Types::UpdateChannelResponse
Updates a channel's configuration.
-
#update_failover_slate_configuration(params = {}) ⇒ Types::UpdateFailoverSlateConfigurationResponse
Updates a specified failover slate configuration.
-
#update_playback_restriction_policy(params = {}) ⇒ Types::UpdatePlaybackRestrictionPolicyResponse
Updates a specified playback restriction policy.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
478 479 480 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 478 def initialize(*args) super end |
Instance Method Details
#batch_get_channel(params = {}) ⇒ Types::BatchGetChannelResponse
Performs GetChannel on multiple ARNs simultaneously.
547 548 549 550 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 547 def batch_get_channel(params = {}, = {}) req = build_request(:batch_get_channel, params) req.send_request() end |
#batch_get_stream_key(params = {}) ⇒ Types::BatchGetStreamKeyResponse
Performs GetStreamKey on multiple ARNs simultaneously.
599 600 601 602 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 599 def batch_get_stream_key(params = {}, = {}) req = build_request(:batch_get_stream_key, params) req.send_request() end |
#batch_start_viewer_session_revocation(params = {}) ⇒ Types::BatchStartViewerSessionRevocationResponse
Performs StartViewerSessionRevocation on multiple channel ARN and viewer ID pairs simultaneously.
652 653 654 655 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 652 def batch_start_viewer_session_revocation(params = {}, = {}) req = build_request(:batch_start_viewer_session_revocation, params) req.send_request() end |
#create_ad_configuration(params = {}) ⇒ Types::CreateAdConfigurationResponse
Creates a new ad configuration to be used for server-side ad insertion.
726 727 728 729 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 726 def create_ad_configuration(params = {}, = {}) req = build_request(:create_ad_configuration, params) req.send_request() end |
#create_channel(params = {}) ⇒ Types::CreateChannelResponse
Creates a new channel and an associated stream key to start streaming.
868 869 870 871 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 868 def create_channel(params = {}, = {}) req = build_request(:create_channel, params) req.send_request() end |
#create_failover_slate_configuration(params = {}) ⇒ Types::CreateFailoverSlateConfigurationResponse
Creates a new failover slate configuration.
933 934 935 936 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 933 def create_failover_slate_configuration(params = {}, = {}) req = build_request(:create_failover_slate_configuration, params) req.send_request() end |
#create_playback_restriction_policy(params = {}) ⇒ Types::CreatePlaybackRestrictionPolicyResponse
Creates a new playback restriction policy, for constraining playback by countries and/or origins.
1011 1012 1013 1014 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 1011 def create_playback_restriction_policy(params = {}, = {}) req = build_request(:create_playback_restriction_policy, params) req.send_request() end |
#create_recording_configuration(params = {}) ⇒ Types::CreateRecordingConfigurationResponse
Creates a new recording configuration, used to enable recording to Amazon S3.
Known issue: In the us-east-1 region, if you use the Amazon Web
Services CLI to create a recording configuration, it returns success
even if the S3 bucket is in a different region. In this case, the
state of the recording configuration is CREATE_FAILED (instead of
ACTIVE). (In other regions, the CLI correctly returns failure if the
bucket is in a different region.)
Workaround: Ensure that your S3 bucket is in the same region as the recording configuration. If you create a recording configuration in a different region as your S3 bucket, delete that recording configuration and create a new one with an S3 bucket from the correct region.
1115 1116 1117 1118 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 1115 def create_recording_configuration(params = {}, = {}) req = build_request(:create_recording_configuration, params) req.send_request() end |
#create_stream_key(params = {}) ⇒ Types::CreateStreamKeyResponse
Creates a stream key, used to initiate a stream, for the specified channel ARN.
Note that CreateChannel creates a stream key. If you subsequently use CreateStreamKey on the same channel, it will fail because a stream key already exists and there is a limit of 1 stream key per channel. To reset the stream key on a channel, use DeleteStreamKey and then CreateStreamKey.
1168 1169 1170 1171 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 1168 def create_stream_key(params = {}, = {}) req = build_request(:create_stream_key, params) req.send_request() end |
#delete_ad_configuration(params = {}) ⇒ Struct
Deletes the specified ad configuration.
1190 1191 1192 1193 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 1190 def delete_ad_configuration(params = {}, = {}) req = build_request(:delete_ad_configuration, params) req.send_request() end |
#delete_channel(params = {}) ⇒ Struct
Deletes the specified channel and its associated stream keys.
If you try to delete a live channel, you will get an error (409 ConflictException). To delete a channel that is live, call StopStream, wait for the Amazon EventBridge "Stream End" event (to verify that the stream's state is no longer Live), then call DeleteChannel. (See Using EventBridge with Amazon IVS.)
1222 1223 1224 1225 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 1222 def delete_channel(params = {}, = {}) req = build_request(:delete_channel, params) req.send_request() end |
#delete_failover_slate_configuration(params = {}) ⇒ Struct
Deletes the specified failover slate configuration.
1244 1245 1246 1247 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 1244 def delete_failover_slate_configuration(params = {}, = {}) req = build_request(:delete_failover_slate_configuration, params) req.send_request() end |
#delete_playback_key_pair(params = {}) ⇒ Struct
Deletes a specified authorization key pair. This invalidates future
viewer tokens generated using the key pair’s privateKey. For more
information, see Setting Up Private Channels in the Amazon IVS
User Guide.
1273 1274 1275 1276 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 1273 def delete_playback_key_pair(params = {}, = {}) req = build_request(:delete_playback_key_pair, params) req.send_request() end |
#delete_playback_restriction_policy(params = {}) ⇒ Struct
Deletes the specified playback restriction policy.
1295 1296 1297 1298 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 1295 def delete_playback_restriction_policy(params = {}, = {}) req = build_request(:delete_playback_restriction_policy, params) req.send_request() end |
#delete_recording_configuration(params = {}) ⇒ Struct
Deletes the recording configuration for the specified ARN.
If you try to delete a recording configuration that is associated with
a channel, you will get an error (409 ConflictException). To avoid
this, for all channels that reference the recording configuration,
first use UpdateChannel to set the recordingConfigurationArn field
to an empty string, then use DeleteRecordingConfiguration.
1323 1324 1325 1326 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 1323 def delete_recording_configuration(params = {}, = {}) req = build_request(:delete_recording_configuration, params) req.send_request() end |
#delete_stream_key(params = {}) ⇒ Struct
Deletes the stream key for the specified ARN, so it can no longer be used to stream.
1346 1347 1348 1349 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 1346 def delete_stream_key(params = {}, = {}) req = build_request(:delete_stream_key, params) req.send_request() end |
#get_ad_configuration(params = {}) ⇒ Types::GetAdConfigurationResponse
Gets the ad configuration represented by the specified ARN.
1381 1382 1383 1384 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 1381 def get_ad_configuration(params = {}, = {}) req = build_request(:get_ad_configuration, params) req.send_request() end |
#get_channel(params = {}) ⇒ Types::GetChannelResponse
Gets the channel configuration for the specified channel ARN. See also BatchGetChannel.
1430 1431 1432 1433 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 1430 def get_channel(params = {}, = {}) req = build_request(:get_channel, params) req.send_request() end |
#get_failover_slate_configuration(params = {}) ⇒ Types::GetFailoverSlateConfigurationResponse
Gets the failover slate configuration for the specified ARN.
1465 1466 1467 1468 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 1465 def get_failover_slate_configuration(params = {}, = {}) req = build_request(:get_failover_slate_configuration, params) req.send_request() end |
#get_playback_key_pair(params = {}) ⇒ Types::GetPlaybackKeyPairResponse
Gets a specified playback authorization key pair and returns the arn
and fingerprint. The privateKey held by the caller can be used to
generate viewer authorization tokens, to grant viewers access to
private channels. For more information, see Setting Up Private
Channels in the Amazon IVS User Guide.
1505 1506 1507 1508 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 1505 def get_playback_key_pair(params = {}, = {}) req = build_request(:get_playback_key_pair, params) req.send_request() end |
#get_playback_restriction_policy(params = {}) ⇒ Types::GetPlaybackRestrictionPolicyResponse
Gets the specified playback restriction policy.
1541 1542 1543 1544 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 1541 def get_playback_restriction_policy(params = {}, = {}) req = build_request(:get_playback_restriction_policy, params) req.send_request() end |
#get_recording_configuration(params = {}) ⇒ Types::GetRecordingConfigurationResponse
Gets the recording configuration for the specified ARN.
1583 1584 1585 1586 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 1583 def get_recording_configuration(params = {}, = {}) req = build_request(:get_recording_configuration, params) req.send_request() end |
#get_stream(params = {}) ⇒ Types::GetStreamResponse
Gets information about the active (live) stream on a specified channel.
1618 1619 1620 1621 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 1618 def get_stream(params = {}, = {}) req = build_request(:get_stream, params) req.send_request() end |
#get_stream_key(params = {}) ⇒ Types::GetStreamKeyResponse
Gets stream-key information for a specified ARN.
1650 1651 1652 1653 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 1650 def get_stream_key(params = {}, = {}) req = build_request(:get_stream_key, params) req.send_request() end |
#get_stream_session(params = {}) ⇒ Types::GetStreamSessionResponse
Gets metadata on a specified stream.
1769 1770 1771 1772 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 1769 def get_stream_session(params = {}, = {}) req = build_request(:get_stream_session, params) req.send_request() end |
#import_playback_key_pair(params = {}) ⇒ Types::ImportPlaybackKeyPairResponse
Imports the public portion of a new key pair and returns its arn and
fingerprint. The privateKey can then be used to generate viewer
authorization tokens, to grant viewers access to private channels. For
more information, see Setting Up Private Channels in the Amazon
IVS User Guide.
1828 1829 1830 1831 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 1828 def import_playback_key_pair(params = {}, = {}) req = build_request(:import_playback_key_pair, params) req.send_request() end |
#insert_ad_break(params = {}) ⇒ Types::InsertAdBreakResponse
Inserts an ad marker in the playlist for the specified channel and duration using the ad configuration associated with the channel.
Note: AWS Elemental MediaTailor (EMT), the service that handles ad requests, provides CloudWatch metrics to help you monitor the success or failure of each InsertAdBreak operation. See Monitoring AWS Elemental MediaTailor with Amazon CloudWatch metrics in the AWS Elemental MediaTailor User Guide for details on available metrics.
1882 1883 1884 1885 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 1882 def insert_ad_break(params = {}, = {}) req = build_request(:insert_ad_break, params) req.send_request() end |
#list_ad_configurations(params = {}) ⇒ Types::ListAdConfigurationsResponse
Gets summary information about all ad configurations in your account, in the AWS region where the API request is processed.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1929 1930 1931 1932 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 1929 def list_ad_configurations(params = {}, = {}) req = build_request(:list_ad_configurations, params) req.send_request() end |
#list_channels(params = {}) ⇒ Types::ListChannelsResponse
Gets summary information about all channels in your account, in the Amazon Web Services region where the API request is processed. This list can be filtered to match a specified name or recording-configuration ARN. Filters are mutually exclusive and cannot be used together. If you try to use both filters, you will get an error (409 ConflictException).
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2006 2007 2008 2009 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 2006 def list_channels(params = {}, = {}) req = build_request(:list_channels, params) req.send_request() end |
#list_failover_slate_configurations(params = {}) ⇒ Types::ListFailoverSlateConfigurationsResponse
Gets summary information about all failover slate configurations in your account, in the Amazon Web Services region where the API request is processed.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2054 2055 2056 2057 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 2054 def list_failover_slate_configurations(params = {}, = {}) req = build_request(:list_failover_slate_configurations, params) req.send_request() end |
#list_playback_key_pairs(params = {}) ⇒ Types::ListPlaybackKeyPairsResponse
Gets summary information about playback key pairs. For more information, see Setting Up Private Channels in the Amazon IVS User Guide.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2102 2103 2104 2105 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 2102 def list_playback_key_pairs(params = {}, = {}) req = build_request(:list_playback_key_pairs, params) req.send_request() end |
#list_playback_restriction_policies(params = {}) ⇒ Types::ListPlaybackRestrictionPoliciesResponse
Gets summary information about playback restriction policies.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2148 2149 2150 2151 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 2148 def list_playback_restriction_policies(params = {}, = {}) req = build_request(:list_playback_restriction_policies, params) req.send_request() end |
#list_recording_configurations(params = {}) ⇒ Types::ListRecordingConfigurationsResponse
Gets summary information about all recording configurations in your account, in the Amazon Web Services region where the API request is processed.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2194 2195 2196 2197 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 2194 def list_recording_configurations(params = {}, = {}) req = build_request(:list_recording_configurations, params) req.send_request() end |
#list_stream_keys(params = {}) ⇒ Types::ListStreamKeysResponse
Gets summary information about stream keys for the specified channel.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2239 2240 2241 2242 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 2239 def list_stream_keys(params = {}, = {}) req = build_request(:list_stream_keys, params) req.send_request() end |
#list_stream_sessions(params = {}) ⇒ Types::ListStreamSessionsResponse
Gets a summary of current and previous streams for a specified channel in your account, in the AWS region where the API request is processed.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2285 2286 2287 2288 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 2285 def list_stream_sessions(params = {}, = {}) req = build_request(:list_stream_sessions, params) req.send_request() end |
#list_streams(params = {}) ⇒ Types::ListStreamsResponse
Gets summary information about live streams in your account, in the Amazon Web Services region where the API request is processed.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2335 2336 2337 2338 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 2335 def list_streams(params = {}, = {}) req = build_request(:list_streams, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Gets information about Amazon Web Services tags for the specified ARN.
2364 2365 2366 2367 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 2364 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#put_metadata(params = {}) ⇒ Struct
Inserts metadata into the active stream of the specified channel. At most 5 requests per second per channel are allowed, each with a maximum 1 KB payload. (If 5 TPS is not sufficient for your needs, we recommend batching your data into a single PutMetadata call.) At most 155 requests per second per account are allowed. Also see Embedding Metadata within a Video Stream in the Amazon IVS User Guide.
2400 2401 2402 2403 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 2400 def (params = {}, = {}) req = build_request(:put_metadata, params) req.send_request() end |
#start_viewer_session_revocation(params = {}) ⇒ Struct
Starts the process of revoking the viewer session associated with a specified channel ARN and viewer ID. Optionally, you can provide a version to revoke viewer sessions less than and including that version. For instructions on associating a viewer ID with a viewer session, see Setting Up Private Channels.
2442 2443 2444 2445 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 2442 def start_viewer_session_revocation(params = {}, = {}) req = build_request(:start_viewer_session_revocation, params) req.send_request() end |
#stop_stream(params = {}) ⇒ Struct
Disconnects the incoming RTMPS stream for the specified channel. Can be used in conjunction with DeleteStreamKey to prevent further streaming to a channel.
streamKey attached to the channel.
2472 2473 2474 2475 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 2472 def stop_stream(params = {}, = {}) req = build_request(:stop_stream, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds or updates tags for the Amazon Web Services resource with the specified ARN.
2511 2512 2513 2514 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 2511 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from the resource with the specified ARN.
2546 2547 2548 2549 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 2546 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_ad_configuration(params = {}) ⇒ Types::UpdateAdConfigurationResponse
Updates a specified ad configuration.
2608 2609 2610 2611 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 2608 def update_ad_configuration(params = {}, = {}) req = build_request(:update_ad_configuration, params) req.send_request() end |
#update_channel(params = {}) ⇒ Types::UpdateChannelResponse
Updates a channel's configuration. Live channels cannot be updated. You must stop the ongoing stream, update the channel, and restart the stream for the changes to take effect.
2734 2735 2736 2737 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 2734 def update_channel(params = {}, = {}) req = build_request(:update_channel, params) req.send_request() end |
#update_failover_slate_configuration(params = {}) ⇒ Types::UpdateFailoverSlateConfigurationResponse
Updates a specified failover slate configuration.
2789 2790 2791 2792 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 2789 def update_failover_slate_configuration(params = {}, = {}) req = build_request(:update_failover_slate_configuration, params) req.send_request() end |
#update_playback_restriction_policy(params = {}) ⇒ Types::UpdatePlaybackRestrictionPolicyResponse
Updates a specified playback restriction policy.
2856 2857 2858 2859 |
# File 'gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb', line 2856 def update_playback_restriction_policy(params = {}, = {}) req = build_request(:update_playback_restriction_policy, params) req.send_request() end |