Skip to main content

media_insights_pipeline_configurations

Creates, updates, deletes, gets or lists a media_insights_pipeline_configurations resource.

Overview

Namemedia_insights_pipeline_configurations
TypeResource
Idaws.chime_sdk_media_pipelines.media_insights_pipeline_configurations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
created_timestampstring (date-time)The time at which the configuration was created.
elementsarrayThe elements in the configuration.
media_insights_pipeline_configuration_arnstringThe ARN of the configuration. (pattern: <code>^arn[/:-_.a-zA-Z0-9]+$</code>)
media_insights_pipeline_configuration_idstringThe ID of the configuration. (pattern: <code>[a-fA-F0-9]{8}(?:-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}</code>)
media_insights_pipeline_configuration_namestringThe name of the configuration. (pattern: <code>^[0-9a-zA-Z._-]+</code>)
real_time_alert_configurationobjectA structure that contains the configuration settings for real-time alerts.
resource_access_role_arnstringThe ARN of the role used by the service to access Amazon Web Services resources. (pattern: <code>^arn[/:-_.a-zA-Z0-9]+$</code>)
updated_timestampstring (date-time)The time at which the configuration was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_media_insights_pipeline_configurationselectidentifier, regionGets the configuration settings for a media insights pipeline.
list_media_insights_pipeline_configurationsselectregionnext-token, max-resultsLists the available media insights pipeline configurations.
create_media_insights_pipeline_configurationinsertregion, MediaInsightsPipelineConfigurationName, ResourceAccessRoleArn, ElementsA structure that contains the static configurations for a media insights pipeline.
create_media_insights_pipelineinsertregion, MediaInsightsPipelineConfigurationArnCreates a media insights pipeline.
update_media_insights_pipeline_configurationupdateidentifier, region, ResourceAccessRoleArn, ElementsUpdates the media insights pipeline's configuration settings.
delete_media_insights_pipeline_configurationdeleteidentifier, regionDeletes the specified configuration settings.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
identifierstringThe unique identifier of the resource to be deleted. Valid values include the name and ARN of the media insights pipeline configuration.
regionstringAWS region (default: us-east-1)
max-resultsintegerThe maximum number of results to return in a single call.
next-tokenstringThe token used to return the next page of results.

SELECT examples

Gets the configuration settings for a media insights pipeline.

SELECT
created_timestamp,
elements,
media_insights_pipeline_configuration_arn,
media_insights_pipeline_configuration_id,
media_insights_pipeline_configuration_name,
real_time_alert_configuration,
resource_access_role_arn,
updated_timestamp
FROM aws.chime_sdk_media_pipelines.media_insights_pipeline_configurations
WHERE identifier = '{{ identifier }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

A structure that contains the static configurations for a media insights pipeline.

INSERT INTO aws.chime_sdk_media_pipelines.media_insights_pipeline_configurations (
MediaInsightsPipelineConfigurationName,
ResourceAccessRoleArn,
RealTimeAlertConfiguration,
Elements,
Tags,
ClientRequestToken,
region
)
SELECT
'{{ MediaInsightsPipelineConfigurationName }}' /* required */,
'{{ ResourceAccessRoleArn }}' /* required */,
'{{ RealTimeAlertConfiguration }}',
'{{ Elements }}' /* required */,
'{{ Tags }}',
'{{ ClientRequestToken }}',
'{{ region }}'
RETURNING
media_insights_pipeline_configuration
;

UPDATE examples

Updates the media insights pipeline's configuration settings.

UPDATE aws.chime_sdk_media_pipelines.media_insights_pipeline_configurations
SET
ResourceAccessRoleArn = '{{ ResourceAccessRoleArn }}',
RealTimeAlertConfiguration = '{{ RealTimeAlertConfiguration }}',
Elements = '{{ Elements }}'
WHERE
identifier = '{{ identifier }}' --required
AND region = '{{ region }}' --required
AND ResourceAccessRoleArn = '{{ ResourceAccessRoleArn }}' --required
AND Elements = '{{ Elements }}' --required
RETURNING
media_insights_pipeline_configuration;

DELETE examples

Deletes the specified configuration settings.

DELETE FROM aws.chime_sdk_media_pipelines.media_insights_pipeline_configurations
WHERE identifier = '{{ identifier }}' --required
AND region = '{{ region }}' --required
;