CHIME-SDK-MEDIA-PIPELINES

CreateMediaCapturePipeline

enum_ActiveSpeakerPosition := [ "TopLeft", "TopRight", "BottomLeft", "BottomRight" ]
enum_ArtifactsState := [ "Enabled", "Disabled" ]
enum_AudioMuxType := [ "AudioOnly", "AudioWithActiveSpeakerVideo", "AudioWithCompositedVideo" ]
enum_BorderColor := [ "Black", "Blue", "Red", "Green", "White", "Yellow" ]
enum_CanvasOrientation := [ "Landscape", "Portrait" ]
enum_ContentMuxType := [ "ContentOnly" ]
enum_ContentShareLayoutOption := [ "PresenterOnly", "Horizontal", "Vertical", "ActiveSpeakerOnly" ]
enum_HighlightColor := [ "Black", "Blue", "Red", "Green", "White", "Yellow" ]
enum_HorizontalTilePosition := [ "Top", "Bottom" ]
enum_LayoutOption := [ "GridView" ]
enum_MediaPipelineSinkType := [ "S3Bucket" ]
enum_MediaPipelineSourceType := [ "ChimeSdkMeeting" ]
enum_PresenterPosition := [ "TopLeft", "TopRight", "BottomLeft", "BottomRight" ]
enum_ResolutionOption := [ "HD", "FHD" ]
enum_TileOrder := [ "JoinSequence", "SpeakerSequence" ]
enum_VerticalTilePosition := [ "Left", "Right" ]
enum_VideoMuxType := [ "VideoOnly" ]

valid {
    input.Body.SourceType == enum_MediaPipelineSourceType[_]
    input.Body.SourceArn == STRING
    input.Body.SinkType == enum_MediaPipelineSinkType[_]
    input.Body.SinkArn == STRING
    input.Body.ClientRequestToken == STRING
    input.Body.ChimeSdkMeetingConfiguration.SourceConfiguration.SelectedVideoStreams.AttendeeIds[_] == STRING
    input.Body.ChimeSdkMeetingConfiguration.SourceConfiguration.SelectedVideoStreams.ExternalUserIds[_] == STRING
    input.Body.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.Audio.MuxType == enum_AudioMuxType[_]
    input.Body.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.Video.State == enum_ArtifactsState[_]
    input.Body.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.Video.MuxType == enum_VideoMuxType[_]
    input.Body.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.Content.State == enum_ArtifactsState[_]
    input.Body.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.Content.MuxType == enum_ContentMuxType[_]
    input.Body.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.CompositedVideo.Layout == enum_LayoutOption[_]
    input.Body.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.CompositedVideo.Resolution == enum_ResolutionOption[_]
    input.Body.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.CompositedVideo.GridViewConfiguration.ContentShareLayout == enum_ContentShareLayoutOption[_]
    input.Body.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.CompositedVideo.GridViewConfiguration.PresenterOnlyConfiguration.PresenterPosition == enum_PresenterPosition[_]
    input.Body.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.CompositedVideo.GridViewConfiguration.ActiveSpeakerOnlyConfiguration.ActiveSpeakerPosition == enum_ActiveSpeakerPosition[_]
    input.Body.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.CompositedVideo.GridViewConfiguration.HorizontalLayoutConfiguration.TileOrder == enum_TileOrder[_]
    input.Body.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.CompositedVideo.GridViewConfiguration.HorizontalLayoutConfiguration.TilePosition == enum_HorizontalTilePosition[_]
    input.Body.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.CompositedVideo.GridViewConfiguration.HorizontalLayoutConfiguration.TileCount == INTEGER
    input.Body.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.CompositedVideo.GridViewConfiguration.HorizontalLayoutConfiguration.TileAspectRatio == STRING
    input.Body.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.CompositedVideo.GridViewConfiguration.VerticalLayoutConfiguration.TileOrder == enum_TileOrder[_]
    input.Body.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.CompositedVideo.GridViewConfiguration.VerticalLayoutConfiguration.TilePosition == enum_VerticalTilePosition[_]
    input.Body.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.CompositedVideo.GridViewConfiguration.VerticalLayoutConfiguration.TileCount == INTEGER
    input.Body.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.CompositedVideo.GridViewConfiguration.VerticalLayoutConfiguration.TileAspectRatio == STRING
    input.Body.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.CompositedVideo.GridViewConfiguration.VideoAttribute.CornerRadius == INTEGER
    input.Body.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.CompositedVideo.GridViewConfiguration.VideoAttribute.BorderColor == enum_BorderColor[_]
    input.Body.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.CompositedVideo.GridViewConfiguration.VideoAttribute.HighlightColor == enum_HighlightColor[_]
    input.Body.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.CompositedVideo.GridViewConfiguration.VideoAttribute.BorderThickness == INTEGER
    input.Body.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.CompositedVideo.GridViewConfiguration.CanvasOrientation == enum_CanvasOrientation[_]
    input.Body.SseAwsKeyManagementParams.AwsKmsKeyId == STRING
    input.Body.SseAwsKeyManagementParams.AwsKmsEncryptionContext == STRING
    input.Body.SinkIamRoleArn == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateMediaConcatenationPipeline

enum_ArtifactsConcatenationState := [ "Enabled", "Disabled" ]
enum_AudioArtifactsConcatenationState := [ "Enabled" ]
enum_ConcatenationSinkType := [ "S3Bucket" ]
enum_ConcatenationSourceType := [ "MediaCapturePipeline" ]

valid {
    input.Body.Sources[_].Type == enum_ConcatenationSourceType[_]
    input.Body.Sources[_].MediaCapturePipelineSourceConfiguration.MediaPipelineArn == STRING
    input.Body.Sources[_].MediaCapturePipelineSourceConfiguration.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.Audio.State == enum_AudioArtifactsConcatenationState[_]
    input.Body.Sources[_].MediaCapturePipelineSourceConfiguration.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.Video.State == enum_ArtifactsConcatenationState[_]
    input.Body.Sources[_].MediaCapturePipelineSourceConfiguration.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.Content.State == enum_ArtifactsConcatenationState[_]
    input.Body.Sources[_].MediaCapturePipelineSourceConfiguration.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.DataChannel.State == enum_ArtifactsConcatenationState[_]
    input.Body.Sources[_].MediaCapturePipelineSourceConfiguration.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.TranscriptionMessages.State == enum_ArtifactsConcatenationState[_]
    input.Body.Sources[_].MediaCapturePipelineSourceConfiguration.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.MeetingEvents.State == enum_ArtifactsConcatenationState[_]
    input.Body.Sources[_].MediaCapturePipelineSourceConfiguration.ChimeSdkMeetingConfiguration.ArtifactsConfiguration.CompositedVideo.State == enum_ArtifactsConcatenationState[_]
    input.Body.Sinks[_].Type == enum_ConcatenationSinkType[_]
    input.Body.Sinks[_].S3BucketSinkConfiguration.Destination == STRING
    input.Body.ClientRequestToken == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateMediaInsightsPipeline

enum_FragmentSelectorType := [ "ProducerTimestamp", "ServerTimestamp" ]
enum_MediaEncoding := [ "pcm" ]
enum_ParticipantRole := [ "AGENT", "CUSTOMER" ]
enum_RecordingFileFormat := [ "Wav", "Opus" ]

valid {
    input.Body.MediaInsightsPipelineConfigurationArn == STRING
    input.Body.KinesisVideoStreamSourceRuntimeConfiguration.Streams[_].StreamArn == STRING
    input.Body.KinesisVideoStreamSourceRuntimeConfiguration.Streams[_].FragmentNumber == STRING
    input.Body.KinesisVideoStreamSourceRuntimeConfiguration.Streams[_].StreamChannelDefinition.NumberOfChannels == INTEGER
    input.Body.KinesisVideoStreamSourceRuntimeConfiguration.Streams[_].StreamChannelDefinition.ChannelDefinitions[_].ChannelId == INTEGER
    input.Body.KinesisVideoStreamSourceRuntimeConfiguration.Streams[_].StreamChannelDefinition.ChannelDefinitions[_].ParticipantRole == enum_ParticipantRole[_]
    input.Body.KinesisVideoStreamSourceRuntimeConfiguration.MediaEncoding == enum_MediaEncoding[_]
    input.Body.KinesisVideoStreamSourceRuntimeConfiguration.MediaSampleRate == INTEGER
    input.Body.MediaInsightsRuntimeMetadata.STRING == STRING
    input.Body.KinesisVideoStreamRecordingSourceRuntimeConfiguration.Streams[_].StreamArn == STRING
    input.Body.KinesisVideoStreamRecordingSourceRuntimeConfiguration.FragmentSelector.FragmentSelectorType == enum_FragmentSelectorType[_]
    input.Body.KinesisVideoStreamRecordingSourceRuntimeConfiguration.FragmentSelector.TimestampRange.StartTimestamp == TIMESTAMP
    input.Body.KinesisVideoStreamRecordingSourceRuntimeConfiguration.FragmentSelector.TimestampRange.EndTimestamp == TIMESTAMP
    input.Body.S3RecordingSinkRuntimeConfiguration.Destination == STRING
    input.Body.S3RecordingSinkRuntimeConfiguration.RecordingFileFormat == enum_RecordingFileFormat[_]
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.Body.ClientRequestToken == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateMediaInsightsPipelineConfiguration

enum_CallAnalyticsLanguageCode := [ "en-US", "en-GB", "es-US", "fr-CA", "fr-FR", "en-AU", "it-IT", "de-DE", "pt-BR" ]
enum_ContentRedactionOutput := [ "redacted", "redacted_and_unredacted" ]
enum_ContentType := [ "PII" ]
enum_MediaInsightsPipelineConfigurationElementType := [ "AmazonTranscribeCallAnalyticsProcessor", "VoiceAnalyticsProcessor", "AmazonTranscribeProcessor", "KinesisDataStreamSink", "LambdaFunctionSink", "SqsQueueSink", "SnsTopicSink", "S3RecordingSink", "VoiceEnhancementSink" ]
enum_PartialResultsStability := [ "high", "medium", "low" ]
enum_RealTimeAlertRuleType := [ "KeywordMatch", "Sentiment", "IssueDetection" ]
enum_RecordingFileFormat := [ "Wav", "Opus" ]
enum_SentimentType := [ "NEGATIVE" ]
enum_VocabularyFilterMethod := [ "remove", "mask", "tag" ]
enum_VoiceAnalyticsConfigurationStatus := [ "Enabled", "Disabled" ]

valid {
    input.Body.MediaInsightsPipelineConfigurationName == STRING
    input.Body.ResourceAccessRoleArn == STRING
    input.Body.RealTimeAlertConfiguration.Disabled == BOOLEAN
    input.Body.RealTimeAlertConfiguration.Rules[_].Type == enum_RealTimeAlertRuleType[_]
    input.Body.RealTimeAlertConfiguration.Rules[_].KeywordMatchConfiguration.RuleName == STRING
    input.Body.RealTimeAlertConfiguration.Rules[_].KeywordMatchConfiguration.Keywords[_] == STRING
    input.Body.RealTimeAlertConfiguration.Rules[_].KeywordMatchConfiguration.Negate == BOOLEAN
    input.Body.RealTimeAlertConfiguration.Rules[_].SentimentConfiguration.RuleName == STRING
    input.Body.RealTimeAlertConfiguration.Rules[_].SentimentConfiguration.SentimentType == enum_SentimentType[_]
    input.Body.RealTimeAlertConfiguration.Rules[_].SentimentConfiguration.TimePeriod == INTEGER
    input.Body.RealTimeAlertConfiguration.Rules[_].IssueDetectionConfiguration.RuleName == STRING
    input.Body.Elements[_].Type == enum_MediaInsightsPipelineConfigurationElementType[_]
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.LanguageCode == enum_CallAnalyticsLanguageCode[_]
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.VocabularyName == STRING
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.VocabularyFilterName == STRING
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.VocabularyFilterMethod == enum_VocabularyFilterMethod[_]
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.LanguageModelName == STRING
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.EnablePartialResultsStabilization == BOOLEAN
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.PartialResultsStability == enum_PartialResultsStability[_]
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.ContentIdentificationType == enum_ContentType[_]
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.ContentRedactionType == enum_ContentType[_]
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.PiiEntityTypes == STRING
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.FilterPartialResults == BOOLEAN
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.PostCallAnalyticsSettings.OutputLocation == STRING
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.PostCallAnalyticsSettings.DataAccessRoleArn == STRING
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.PostCallAnalyticsSettings.ContentRedactionOutput == enum_ContentRedactionOutput[_]
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.PostCallAnalyticsSettings.OutputEncryptionKMSKeyId == STRING
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.CallAnalyticsStreamCategories[_] == STRING
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.LanguageCode == enum_CallAnalyticsLanguageCode[_]
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.VocabularyName == STRING
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.VocabularyFilterName == STRING
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.VocabularyFilterMethod == enum_VocabularyFilterMethod[_]
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.ShowSpeakerLabel == BOOLEAN
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.EnablePartialResultsStabilization == BOOLEAN
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.PartialResultsStability == enum_PartialResultsStability[_]
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.ContentIdentificationType == enum_ContentType[_]
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.ContentRedactionType == enum_ContentType[_]
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.PiiEntityTypes == STRING
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.LanguageModelName == STRING
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.FilterPartialResults == BOOLEAN
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.IdentifyLanguage == BOOLEAN
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.IdentifyMultipleLanguages == BOOLEAN
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.LanguageOptions == STRING
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.PreferredLanguage == enum_CallAnalyticsLanguageCode[_]
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.VocabularyNames == STRING
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.VocabularyFilterNames == STRING
    input.Body.Elements[_].KinesisDataStreamSinkConfiguration.InsightsTarget == STRING
    input.Body.Elements[_].S3RecordingSinkConfiguration.Destination == STRING
    input.Body.Elements[_].S3RecordingSinkConfiguration.RecordingFileFormat == enum_RecordingFileFormat[_]
    input.Body.Elements[_].VoiceAnalyticsProcessorConfiguration.SpeakerSearchStatus == enum_VoiceAnalyticsConfigurationStatus[_]
    input.Body.Elements[_].VoiceAnalyticsProcessorConfiguration.VoiceToneAnalysisStatus == enum_VoiceAnalyticsConfigurationStatus[_]
    input.Body.Elements[_].LambdaFunctionSinkConfiguration.InsightsTarget == STRING
    input.Body.Elements[_].SqsQueueSinkConfiguration.InsightsTarget == STRING
    input.Body.Elements[_].SnsTopicSinkConfiguration.InsightsTarget == STRING
    input.Body.Elements[_].VoiceEnhancementSinkConfiguration.Disabled == BOOLEAN
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.Body.ClientRequestToken == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateMediaLiveConnectorPipeline

enum_ActiveSpeakerPosition := [ "TopLeft", "TopRight", "BottomLeft", "BottomRight" ]
enum_AudioChannelsOption := [ "Stereo", "Mono" ]
enum_BorderColor := [ "Black", "Blue", "Red", "Green", "White", "Yellow" ]
enum_CanvasOrientation := [ "Landscape", "Portrait" ]
enum_ContentShareLayoutOption := [ "PresenterOnly", "Horizontal", "Vertical", "ActiveSpeakerOnly" ]
enum_HighlightColor := [ "Black", "Blue", "Red", "Green", "White", "Yellow" ]
enum_HorizontalTilePosition := [ "Top", "Bottom" ]
enum_LayoutOption := [ "GridView" ]
enum_LiveConnectorMuxType := [ "AudioWithCompositedVideo", "AudioWithActiveSpeakerVideo" ]
enum_LiveConnectorSinkType := [ "RTMP" ]
enum_LiveConnectorSourceType := [ "ChimeSdkMeeting" ]
enum_PresenterPosition := [ "TopLeft", "TopRight", "BottomLeft", "BottomRight" ]
enum_ResolutionOption := [ "HD", "FHD" ]
enum_TileOrder := [ "JoinSequence", "SpeakerSequence" ]
enum_VerticalTilePosition := [ "Left", "Right" ]

valid {
    input.Body.Sources[_].SourceType == enum_LiveConnectorSourceType[_]
    input.Body.Sources[_].ChimeSdkMeetingLiveConnectorConfiguration.Arn == STRING
    input.Body.Sources[_].ChimeSdkMeetingLiveConnectorConfiguration.MuxType == enum_LiveConnectorMuxType[_]
    input.Body.Sources[_].ChimeSdkMeetingLiveConnectorConfiguration.CompositedVideo.Layout == enum_LayoutOption[_]
    input.Body.Sources[_].ChimeSdkMeetingLiveConnectorConfiguration.CompositedVideo.Resolution == enum_ResolutionOption[_]
    input.Body.Sources[_].ChimeSdkMeetingLiveConnectorConfiguration.CompositedVideo.GridViewConfiguration.ContentShareLayout == enum_ContentShareLayoutOption[_]
    input.Body.Sources[_].ChimeSdkMeetingLiveConnectorConfiguration.CompositedVideo.GridViewConfiguration.PresenterOnlyConfiguration.PresenterPosition == enum_PresenterPosition[_]
    input.Body.Sources[_].ChimeSdkMeetingLiveConnectorConfiguration.CompositedVideo.GridViewConfiguration.ActiveSpeakerOnlyConfiguration.ActiveSpeakerPosition == enum_ActiveSpeakerPosition[_]
    input.Body.Sources[_].ChimeSdkMeetingLiveConnectorConfiguration.CompositedVideo.GridViewConfiguration.HorizontalLayoutConfiguration.TileOrder == enum_TileOrder[_]
    input.Body.Sources[_].ChimeSdkMeetingLiveConnectorConfiguration.CompositedVideo.GridViewConfiguration.HorizontalLayoutConfiguration.TilePosition == enum_HorizontalTilePosition[_]
    input.Body.Sources[_].ChimeSdkMeetingLiveConnectorConfiguration.CompositedVideo.GridViewConfiguration.HorizontalLayoutConfiguration.TileCount == INTEGER
    input.Body.Sources[_].ChimeSdkMeetingLiveConnectorConfiguration.CompositedVideo.GridViewConfiguration.HorizontalLayoutConfiguration.TileAspectRatio == STRING
    input.Body.Sources[_].ChimeSdkMeetingLiveConnectorConfiguration.CompositedVideo.GridViewConfiguration.VerticalLayoutConfiguration.TileOrder == enum_TileOrder[_]
    input.Body.Sources[_].ChimeSdkMeetingLiveConnectorConfiguration.CompositedVideo.GridViewConfiguration.VerticalLayoutConfiguration.TilePosition == enum_VerticalTilePosition[_]
    input.Body.Sources[_].ChimeSdkMeetingLiveConnectorConfiguration.CompositedVideo.GridViewConfiguration.VerticalLayoutConfiguration.TileCount == INTEGER
    input.Body.Sources[_].ChimeSdkMeetingLiveConnectorConfiguration.CompositedVideo.GridViewConfiguration.VerticalLayoutConfiguration.TileAspectRatio == STRING
    input.Body.Sources[_].ChimeSdkMeetingLiveConnectorConfiguration.CompositedVideo.GridViewConfiguration.VideoAttribute.CornerRadius == INTEGER
    input.Body.Sources[_].ChimeSdkMeetingLiveConnectorConfiguration.CompositedVideo.GridViewConfiguration.VideoAttribute.BorderColor == enum_BorderColor[_]
    input.Body.Sources[_].ChimeSdkMeetingLiveConnectorConfiguration.CompositedVideo.GridViewConfiguration.VideoAttribute.HighlightColor == enum_HighlightColor[_]
    input.Body.Sources[_].ChimeSdkMeetingLiveConnectorConfiguration.CompositedVideo.GridViewConfiguration.VideoAttribute.BorderThickness == INTEGER
    input.Body.Sources[_].ChimeSdkMeetingLiveConnectorConfiguration.CompositedVideo.GridViewConfiguration.CanvasOrientation == enum_CanvasOrientation[_]
    input.Body.Sources[_].ChimeSdkMeetingLiveConnectorConfiguration.SourceConfiguration.SelectedVideoStreams.AttendeeIds[_] == STRING
    input.Body.Sources[_].ChimeSdkMeetingLiveConnectorConfiguration.SourceConfiguration.SelectedVideoStreams.ExternalUserIds[_] == STRING
    input.Body.Sinks[_].SinkType == enum_LiveConnectorSinkType[_]
    input.Body.Sinks[_].RTMPConfiguration.Url == STRING
    input.Body.Sinks[_].RTMPConfiguration.AudioChannels == enum_AudioChannelsOption[_]
    input.Body.Sinks[_].RTMPConfiguration.AudioSampleRate == STRING
    input.Body.ClientRequestToken == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateMediaPipelineKinesisVideoStreamPool

valid {
    input.Body.StreamConfiguration.Region == STRING
    input.Body.StreamConfiguration.DataRetentionInHours == INTEGER
    input.Body.PoolName == STRING
    input.Body.ClientRequestToken == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateMediaStreamPipeline

enum_MediaPipelineSourceType := [ "ChimeSdkMeeting" ]
enum_MediaStreamPipelineSinkType := [ "KinesisVideoStreamPool" ]
enum_MediaStreamType := [ "MixedAudio", "IndividualAudio" ]

valid {
    input.Body.Sources[_].SourceType == enum_MediaPipelineSourceType[_]
    input.Body.Sources[_].SourceArn == STRING
    input.Body.Sinks[_].SinkArn == STRING
    input.Body.Sinks[_].SinkType == enum_MediaStreamPipelineSinkType[_]
    input.Body.Sinks[_].ReservedStreamCapacity == INTEGER
    input.Body.Sinks[_].MediaStreamType == enum_MediaStreamType[_]
    input.Body.ClientRequestToken == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DeleteMediaCapturePipeline

valid {
    input.ReqMap.mediaPipelineId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DeleteMediaInsightsPipelineConfiguration

valid {
    input.ReqMap.identifier == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DeleteMediaPipeline

valid {
    input.ReqMap.mediaPipelineId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DeleteMediaPipelineKinesisVideoStreamPool

valid {
    input.ReqMap.identifier == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetMediaCapturePipeline

valid {
    input.ReqMap.mediaPipelineId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetMediaInsightsPipelineConfiguration

valid {
    input.ReqMap.identifier == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetMediaPipeline

valid {
    input.ReqMap.mediaPipelineId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetMediaPipelineKinesisVideoStreamPool

valid {
    input.ReqMap.identifier == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetSpeakerSearchTask

valid {
    input.ReqMap.identifier == STRING
    input.ReqMap.speakerSearchTaskId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetVoiceToneAnalysisTask

valid {
    input.ReqMap.identifier == STRING
    input.ReqMap.voiceToneAnalysisTaskId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListMediaCapturePipelines

valid {
    input.Qs.next-token == STRING
    input.Qs.max-results == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListMediaInsightsPipelineConfigurations

valid {
    input.Qs.next-token == STRING
    input.Qs.max-results == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListMediaPipelineKinesisVideoStreamPools

valid {
    input.Qs.next-token == STRING
    input.Qs.max-results == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListMediaPipelines

valid {
    input.Qs.next-token == STRING
    input.Qs.max-results == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListTagsForResource

valid {
    input.Qs.arn == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

StartSpeakerSearchTask

valid {
    input.Body.VoiceProfileDomainArn == STRING
    input.Body.KinesisVideoStreamSourceTaskConfiguration.StreamArn == STRING
    input.Body.KinesisVideoStreamSourceTaskConfiguration.ChannelId == INTEGER
    input.Body.KinesisVideoStreamSourceTaskConfiguration.FragmentNumber == STRING
    input.Body.ClientRequestToken == STRING
    input.ReqMap.identifier == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

StartVoiceToneAnalysisTask

enum_VoiceAnalyticsLanguageCode := [ "en-US" ]

valid {
    input.Body.LanguageCode == enum_VoiceAnalyticsLanguageCode[_]
    input.Body.KinesisVideoStreamSourceTaskConfiguration.StreamArn == STRING
    input.Body.KinesisVideoStreamSourceTaskConfiguration.ChannelId == INTEGER
    input.Body.KinesisVideoStreamSourceTaskConfiguration.FragmentNumber == STRING
    input.Body.ClientRequestToken == STRING
    input.ReqMap.identifier == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

StopSpeakerSearchTask

valid {
    input.ReqMap.identifier == STRING
    input.ReqMap.speakerSearchTaskId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

StopVoiceToneAnalysisTask

valid {
    input.ReqMap.identifier == STRING
    input.ReqMap.voiceToneAnalysisTaskId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

TagResource

valid {
    input.Body.ResourceARN == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UntagResource

valid {
    input.Body.ResourceARN == STRING
    input.Body.TagKeys[_] == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateMediaInsightsPipelineConfiguration

enum_CallAnalyticsLanguageCode := [ "en-US", "en-GB", "es-US", "fr-CA", "fr-FR", "en-AU", "it-IT", "de-DE", "pt-BR" ]
enum_ContentRedactionOutput := [ "redacted", "redacted_and_unredacted" ]
enum_ContentType := [ "PII" ]
enum_MediaInsightsPipelineConfigurationElementType := [ "AmazonTranscribeCallAnalyticsProcessor", "VoiceAnalyticsProcessor", "AmazonTranscribeProcessor", "KinesisDataStreamSink", "LambdaFunctionSink", "SqsQueueSink", "SnsTopicSink", "S3RecordingSink", "VoiceEnhancementSink" ]
enum_PartialResultsStability := [ "high", "medium", "low" ]
enum_RealTimeAlertRuleType := [ "KeywordMatch", "Sentiment", "IssueDetection" ]
enum_RecordingFileFormat := [ "Wav", "Opus" ]
enum_SentimentType := [ "NEGATIVE" ]
enum_VocabularyFilterMethod := [ "remove", "mask", "tag" ]
enum_VoiceAnalyticsConfigurationStatus := [ "Enabled", "Disabled" ]

valid {
    input.Body.ResourceAccessRoleArn == STRING
    input.Body.RealTimeAlertConfiguration.Disabled == BOOLEAN
    input.Body.RealTimeAlertConfiguration.Rules[_].Type == enum_RealTimeAlertRuleType[_]
    input.Body.RealTimeAlertConfiguration.Rules[_].KeywordMatchConfiguration.RuleName == STRING
    input.Body.RealTimeAlertConfiguration.Rules[_].KeywordMatchConfiguration.Keywords[_] == STRING
    input.Body.RealTimeAlertConfiguration.Rules[_].KeywordMatchConfiguration.Negate == BOOLEAN
    input.Body.RealTimeAlertConfiguration.Rules[_].SentimentConfiguration.RuleName == STRING
    input.Body.RealTimeAlertConfiguration.Rules[_].SentimentConfiguration.SentimentType == enum_SentimentType[_]
    input.Body.RealTimeAlertConfiguration.Rules[_].SentimentConfiguration.TimePeriod == INTEGER
    input.Body.RealTimeAlertConfiguration.Rules[_].IssueDetectionConfiguration.RuleName == STRING
    input.Body.Elements[_].Type == enum_MediaInsightsPipelineConfigurationElementType[_]
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.LanguageCode == enum_CallAnalyticsLanguageCode[_]
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.VocabularyName == STRING
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.VocabularyFilterName == STRING
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.VocabularyFilterMethod == enum_VocabularyFilterMethod[_]
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.LanguageModelName == STRING
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.EnablePartialResultsStabilization == BOOLEAN
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.PartialResultsStability == enum_PartialResultsStability[_]
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.ContentIdentificationType == enum_ContentType[_]
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.ContentRedactionType == enum_ContentType[_]
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.PiiEntityTypes == STRING
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.FilterPartialResults == BOOLEAN
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.PostCallAnalyticsSettings.OutputLocation == STRING
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.PostCallAnalyticsSettings.DataAccessRoleArn == STRING
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.PostCallAnalyticsSettings.ContentRedactionOutput == enum_ContentRedactionOutput[_]
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.PostCallAnalyticsSettings.OutputEncryptionKMSKeyId == STRING
    input.Body.Elements[_].AmazonTranscribeCallAnalyticsProcessorConfiguration.CallAnalyticsStreamCategories[_] == STRING
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.LanguageCode == enum_CallAnalyticsLanguageCode[_]
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.VocabularyName == STRING
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.VocabularyFilterName == STRING
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.VocabularyFilterMethod == enum_VocabularyFilterMethod[_]
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.ShowSpeakerLabel == BOOLEAN
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.EnablePartialResultsStabilization == BOOLEAN
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.PartialResultsStability == enum_PartialResultsStability[_]
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.ContentIdentificationType == enum_ContentType[_]
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.ContentRedactionType == enum_ContentType[_]
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.PiiEntityTypes == STRING
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.LanguageModelName == STRING
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.FilterPartialResults == BOOLEAN
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.IdentifyLanguage == BOOLEAN
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.IdentifyMultipleLanguages == BOOLEAN
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.LanguageOptions == STRING
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.PreferredLanguage == enum_CallAnalyticsLanguageCode[_]
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.VocabularyNames == STRING
    input.Body.Elements[_].AmazonTranscribeProcessorConfiguration.VocabularyFilterNames == STRING
    input.Body.Elements[_].KinesisDataStreamSinkConfiguration.InsightsTarget == STRING
    input.Body.Elements[_].S3RecordingSinkConfiguration.Destination == STRING
    input.Body.Elements[_].S3RecordingSinkConfiguration.RecordingFileFormat == enum_RecordingFileFormat[_]
    input.Body.Elements[_].VoiceAnalyticsProcessorConfiguration.SpeakerSearchStatus == enum_VoiceAnalyticsConfigurationStatus[_]
    input.Body.Elements[_].VoiceAnalyticsProcessorConfiguration.VoiceToneAnalysisStatus == enum_VoiceAnalyticsConfigurationStatus[_]
    input.Body.Elements[_].LambdaFunctionSinkConfiguration.InsightsTarget == STRING
    input.Body.Elements[_].SqsQueueSinkConfiguration.InsightsTarget == STRING
    input.Body.Elements[_].SnsTopicSinkConfiguration.InsightsTarget == STRING
    input.Body.Elements[_].VoiceEnhancementSinkConfiguration.Disabled == BOOLEAN
    input.ReqMap.identifier == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateMediaInsightsPipelineStatus

enum_MediaPipelineStatusUpdate := [ "Pause", "Resume" ]

valid {
    input.Body.UpdateStatus == enum_MediaPipelineStatusUpdate[_]
    input.ReqMap.identifier == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateMediaPipelineKinesisVideoStreamPool

valid {
    input.Body.StreamConfiguration.DataRetentionInHours == INTEGER
    input.ReqMap.identifier == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}