diff --git a/.latest-tag-aws-sdk-go b/.latest-tag-aws-sdk-go index ef6b4114..a33e8827 100644 --- a/.latest-tag-aws-sdk-go +++ b/.latest-tag-aws-sdk-go @@ -1 +1 @@ -release-2024-09-10 +release-2024-09-11 diff --git a/lib/aws/generated/bedrock_agent_runtime.ex b/lib/aws/generated/bedrock_agent_runtime.ex index 047b4431..531508c7 100644 --- a/lib/aws/generated/bedrock_agent_runtime.ex +++ b/lib/aws/generated/bedrock_agent_runtime.ex @@ -1786,7 +1786,8 @@ defmodule AWS.BedrockAgentRuntime do end @doc """ - Queries a knowledge base and generates responses based on the retrieved results. + Queries a knowledge base and generates responses based on the retrieved results + and using the specified foundation model or [inference profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html). The response only cites sources that are relevant to the query. """ diff --git a/lib/aws/generated/guard_duty.ex b/lib/aws/generated/guard_duty.ex index 3ebc40ae..ddc479ec 100644 --- a/lib/aws/generated/guard_duty.ex +++ b/lib/aws/generated/guard_duty.ex @@ -404,7 +404,10 @@ defmodule AWS.GuardDuty do get_findings_statistics_request() :: %{ optional("FindingCriteria") => finding_criteria(), - required("FindingStatisticTypes") => list(list(any())()) + optional("FindingStatisticTypes") => list(list(any())()), + optional("GroupBy") => list(any()), + optional("MaxResults") => integer(), + optional("OrderBy") => list(any()) } """ @@ -978,7 +981,8 @@ defmodule AWS.GuardDuty do ## Example: get_findings_statistics_response() :: %{ - "FindingStatistics" => finding_statistics() + "FindingStatistics" => finding_statistics(), + "NextToken" => String.t() } """ @@ -1257,6 +1261,19 @@ defmodule AWS.GuardDuty do @typedoc """ + ## Example: + + account_statistics() :: %{ + "AccountId" => String.t(), + "LastGeneratedAt" => non_neg_integer(), + "TotalFindings" => integer() + } + + """ + @type account_statistics() :: %{String.t() => any()} + + @typedoc """ + ## Example: disable_organization_admin_account_request() :: %{ @@ -2445,6 +2462,21 @@ defmodule AWS.GuardDuty do @typedoc """ + ## Example: + + resource_statistics() :: %{ + "AccountId" => String.t(), + "LastGeneratedAt" => non_neg_integer(), + "ResourceId" => String.t(), + "ResourceType" => String.t(), + "TotalFindings" => integer() + } + + """ + @type resource_statistics() :: %{String.t() => any()} + + @typedoc """ + ## Example: create_sample_findings_request() :: %{ @@ -2525,6 +2557,19 @@ defmodule AWS.GuardDuty do @typedoc """ + ## Example: + + finding_type_statistics() :: %{ + "FindingType" => String.t(), + "LastGeneratedAt" => non_neg_integer(), + "TotalFindings" => integer() + } + + """ + @type finding_type_statistics() :: %{String.t() => any()} + + @typedoc """ + ## Example: aws_api_call_action() :: %{ @@ -3095,6 +3140,19 @@ defmodule AWS.GuardDuty do @typedoc """ + ## Example: + + severity_statistics() :: %{ + "LastGeneratedAt" => non_neg_integer(), + "Severity" => float(), + "TotalFindings" => integer() + } + + """ + @type severity_statistics() :: %{String.t() => any()} + + @typedoc """ + ## Example: anomaly_unusual() :: %{ @@ -3613,7 +3671,12 @@ defmodule AWS.GuardDuty do ## Example: finding_statistics() :: %{ - "CountBySeverity" => map() + "CountBySeverity" => map(), + "GroupedByAccount" => list(account_statistics()()), + "GroupedByDate" => list(date_statistics()()), + "GroupedByFindingType" => list(finding_type_statistics()()), + "GroupedByResource" => list(resource_statistics()()), + "GroupedBySeverity" => list(severity_statistics()()) } """ @@ -4038,6 +4101,20 @@ defmodule AWS.GuardDuty do @typedoc """ + ## Example: + + date_statistics() :: %{ + "Date" => non_neg_integer(), + "LastGeneratedAt" => non_neg_integer(), + "Severity" => float(), + "TotalFindings" => integer() + } + + """ + @type date_statistics() :: %{String.t() => any()} + + @typedoc """ + ## Example: access_control_list() :: %{ @@ -4856,10 +4933,10 @@ defmodule AWS.GuardDuty do end @doc """ - Creates a publishing destination to export findings to. + Creates a publishing destination where you can export your GuardDuty findings. - The resource to export findings to - must exist before you use this operation. + Before you start exporting the + findings, the destination resource must exist. """ @spec create_publishing_destination( map(), @@ -5660,7 +5737,7 @@ defmodule AWS.GuardDuty do end @doc """ - Retrieves an Amazon GuardDuty detector specified by the detectorId. + Retrieves a GuardDuty detector specified by the detectorId. There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently @@ -5728,7 +5805,11 @@ defmodule AWS.GuardDuty do end @doc """ - Lists Amazon GuardDuty findings statistics for the specified detector ID. + Lists GuardDuty findings statistics for the specified detector ID. + + You must provide either `findingStatisticTypes` or + `groupBy` parameter, and not both. You can use the `maxResults` and `orderBy` + parameters only when using `groupBy`. There might be regional differences because some flags might not be available in all the Regions where GuardDuty diff --git a/lib/aws/generated/media_live.ex b/lib/aws/generated/media_live.ex index 78d62162..66958685 100644 --- a/lib/aws/generated/media_live.ex +++ b/lib/aws/generated/media_live.ex @@ -42,6 +42,23 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + create_network_response() :: %{ + "Arn" => String.t(), + "AssociatedClusterIds" => list(String.t()()), + "Id" => String.t(), + "IpPools" => list(ip_pool()()), + "Name" => String.t(), + "Routes" => list(route()()), + "State" => list(any()) + } + + """ + @type create_network_response() :: %{String.t() => any()} + + @typedoc """ + ## Example: archive_s3_settings() :: %{ @@ -97,6 +114,42 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + srt_output_settings() :: %{ + "BufferMsec" => integer(), + "ContainerSettings" => udp_container_settings(), + "Destination" => output_location_ref(), + "EncryptionType" => list(any()), + "Latency" => integer() + } + + """ + @type srt_output_settings() :: %{String.t() => any()} + + @typedoc """ + + ## Example: + + describe_cluster_request() :: %{} + + """ + @type describe_cluster_request() :: %{} + + @typedoc """ + + ## Example: + + list_networks_response() :: %{ + "Networks" => list(describe_network_summary()()), + "NextToken" => String.t() + } + + """ + @type list_networks_response() :: %{String.t() => any()} + + @typedoc """ + ## Example: delete_channel_request() :: %{} @@ -187,10 +240,29 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + describe_channel_placement_group_summary() :: %{ + "Arn" => String.t(), + "Channels" => list(String.t()()), + "ClusterId" => String.t(), + "Id" => String.t(), + "Name" => String.t(), + "Nodes" => list(String.t()()), + "State" => list(any()) + } + + """ + @type describe_channel_placement_group_summary() :: %{String.t() => any()} + + @typedoc """ + ## Example: input_destination() :: %{ "Ip" => String.t(), + "Network" => String.t(), + "NetworkRoutes" => list(input_destination_route()()), "Port" => String.t(), "Url" => String.t(), "Vpc" => input_destination_vpc() @@ -322,7 +394,8 @@ defmodule AWS.MediaLive do "Id" => String.t(), "MediaPackageSettings" => list(media_package_output_destination_settings()()), "MultiplexSettings" => multiplex_program_channel_destination_settings(), - "Settings" => list(output_destination_settings()()) + "Settings" => list(output_destination_settings()()), + "SrtSettings" => list(srt_output_destination_settings()()) } """ @@ -342,6 +415,17 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + srt_group_settings() :: %{ + "InputLossAction" => list(any()) + } + + """ + @type srt_group_settings() :: %{String.t() => any()} + + @typedoc """ + ## Example: batch_update_schedule_request() :: %{ @@ -443,6 +527,7 @@ defmodule AWS.MediaLive do ## Example: restart_channel_pipelines_response() :: %{ + "AnywhereSettings" => describe_anywhere_settings(), "Arn" => String.t(), "CdiInputSpecification" => cdi_input_specification(), "ChannelClass" => list(any()), @@ -604,6 +689,23 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + describe_channel_placement_group_response() :: %{ + "Arn" => String.t(), + "Channels" => list(String.t()()), + "ClusterId" => String.t(), + "Id" => String.t(), + "Name" => String.t(), + "Nodes" => list(String.t()()), + "State" => list(any()) + } + + """ + @type describe_channel_placement_group_response() :: %{String.t() => any()} + + @typedoc """ + ## Example: scte35_return_to_network_schedule_action_settings() :: %{ @@ -615,6 +717,17 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + ip_pool_update_request() :: %{ + "Cidr" => String.t() + } + + """ + @type ip_pool_update_request() :: %{String.t() => any()} + + @typedoc """ + ## Example: start_input_device_request() :: %{} @@ -635,6 +748,41 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + describe_cluster_response() :: %{ + "Arn" => String.t(), + "ChannelIds" => list(String.t()()), + "ClusterType" => list(any()), + "Id" => String.t(), + "InstanceRoleArn" => String.t(), + "Name" => String.t(), + "NetworkSettings" => cluster_network_settings(), + "State" => list(any()) + } + + """ + @type describe_cluster_response() :: %{String.t() => any()} + + @typedoc """ + + ## Example: + + update_channel_placement_group_response() :: %{ + "Arn" => String.t(), + "Channels" => list(String.t()()), + "ClusterId" => String.t(), + "Id" => String.t(), + "Name" => String.t(), + "Nodes" => list(String.t()()), + "State" => list(any()) + } + + """ + @type update_channel_placement_group_response() :: %{String.t() => any()} + + @typedoc """ + ## Example: srt_caller_decryption() :: %{ @@ -647,10 +795,28 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + describe_network_response() :: %{ + "Arn" => String.t(), + "AssociatedClusterIds" => list(String.t()()), + "Id" => String.t(), + "IpPools" => list(ip_pool()()), + "Name" => String.t(), + "Routes" => list(route()()), + "State" => list(any()) + } + + """ + @type describe_network_response() :: %{String.t() => any()} + + @typedoc """ + ## Example: network_input_settings() :: %{ "HlsInputSettings" => hls_input_settings(), + "MulticastInputSettings" => multicast_input_settings(), "ServerValidation" => list(any()) } @@ -719,9 +885,21 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + multicast_settings() :: %{ + "Sources" => list(multicast_source()()) + } + + """ + @type multicast_settings() :: %{String.t() => any()} + + @typedoc """ + ## Example: delete_channel_response() :: %{ + "AnywhereSettings" => describe_anywhere_settings(), "Arn" => String.t(), "CdiInputSpecification" => cdi_input_specification(), "ChannelClass" => list(any()), @@ -758,6 +936,18 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + update_channel_placement_group_request() :: %{ + optional("Name") => String.t(), + optional("Nodes") => list(String.t()()) + } + + """ + @type update_channel_placement_group_request() :: %{String.t() => any()} + + @typedoc """ + ## Example: update_input_security_group_request() :: %{ @@ -845,6 +1035,39 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + create_node_request() :: %{ + optional("Name") => String.t(), + optional("NodeInterfaceMappings") => list(node_interface_mapping_create_request()()), + optional("RequestId") => String.t(), + optional("Role") => list(any()), + optional("Tags") => map() + } + + """ + @type create_node_request() :: %{String.t() => any()} + + @typedoc """ + + ## Example: + + create_cluster_response() :: %{ + "Arn" => String.t(), + "ChannelIds" => list(String.t()()), + "ClusterType" => list(any()), + "Id" => String.t(), + "InstanceRoleArn" => String.t(), + "Name" => String.t(), + "NetworkSettings" => cluster_network_settings(), + "State" => list(any()) + } + + """ + @type create_cluster_response() :: %{String.t() => any()} + + @typedoc """ + ## Example: update_input_device_response() :: %{ @@ -1120,6 +1343,23 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + create_channel_placement_group_response() :: %{ + "Arn" => String.t(), + "Channels" => list(String.t()()), + "ClusterId" => String.t(), + "Id" => String.t(), + "Name" => String.t(), + "Nodes" => list(String.t()()), + "State" => list(any()) + } + + """ + @type create_channel_placement_group_response() :: %{String.t() => any()} + + @typedoc """ + ## Example: describe_account_configuration_response() :: %{ @@ -1276,6 +1516,47 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + describe_node_summary() :: %{ + "Arn" => String.t(), + "ChannelPlacementGroups" => list(String.t()()), + "ClusterId" => String.t(), + "ConnectionState" => list(any()), + "Id" => String.t(), + "InstanceArn" => String.t(), + "ManagedInstanceId" => String.t(), + "Name" => String.t(), + "NodeInterfaceMappings" => list(node_interface_mapping()()), + "Role" => list(any()), + "State" => list(any()) + } + + """ + @type describe_node_summary() :: %{String.t() => any()} + + @typedoc """ + + ## Example: + + update_node_state_response() :: %{ + "Arn" => String.t(), + "ChannelPlacementGroups" => list(String.t()()), + "ClusterId" => String.t(), + "ConnectionState" => list(any()), + "Id" => String.t(), + "InstanceArn" => String.t(), + "Name" => String.t(), + "NodeInterfaceMappings" => list(node_interface_mapping()()), + "Role" => list(any()), + "State" => list(any()) + } + + """ + @type update_node_state_response() :: %{String.t() => any()} + + @typedoc """ + ## Example: multiplex_program_channel_destination_settings() :: %{ @@ -1288,6 +1569,19 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + node_interface_mapping_create_request() :: %{ + "LogicalInterfaceName" => String.t(), + "NetworkInterfaceMode" => list(any()), + "PhysicalInterfaceName" => String.t() + } + + """ + @type node_interface_mapping_create_request() :: %{String.t() => any()} + + @typedoc """ + ## Example: frame_capture_output_settings() :: %{ @@ -1311,6 +1605,18 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + route_update_request() :: %{ + "Cidr" => String.t(), + "Gateway" => String.t() + } + + """ + @type route_update_request() :: %{String.t() => any()} + + @typedoc """ + ## Example: rec709_settings() :: %{} @@ -1331,6 +1637,31 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + multicast_settings_update_request() :: %{ + "Sources" => list(multicast_source_update_request()()) + } + + """ + @type multicast_settings_update_request() :: %{String.t() => any()} + + @typedoc """ + + ## Example: + + av1_color_space_settings() :: %{ + "ColorSpacePassthroughSettings" => color_space_passthrough_settings(), + "Hdr10Settings" => hdr10_settings(), + "Rec601Settings" => rec601_settings(), + "Rec709Settings" => rec709_settings() + } + + """ + @type av1_color_space_settings() :: %{String.t() => any()} + + @typedoc """ + ## Example: m3u8_settings() :: %{ @@ -1383,6 +1714,15 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + describe_network_request() :: %{} + + """ + @type describe_network_request() :: %{} + + @typedoc """ + ## Example: scte35_splice_insert_schedule_action_settings() :: %{ @@ -1600,6 +1940,15 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + describe_channel_placement_group_request() :: %{} + + """ + @type describe_channel_placement_group_request() :: %{} + + @typedoc """ + ## Example: input_device_configurable_settings() :: %{ @@ -1629,18 +1978,38 @@ defmodule AWS.MediaLive do ## Example: - smpte_tt_destination_settings() :: %{} + update_node_response() :: %{ + "Arn" => String.t(), + "ChannelPlacementGroups" => list(String.t()()), + "ClusterId" => String.t(), + "ConnectionState" => list(any()), + "Id" => String.t(), + "InstanceArn" => String.t(), + "Name" => String.t(), + "NodeInterfaceMappings" => list(node_interface_mapping()()), + "Role" => list(any()), + "State" => list(any()) + } """ - @type smpte_tt_destination_settings() :: %{} + @type update_node_response() :: %{String.t() => any()} @typedoc """ ## Example: - srt_caller_source() :: %{ - "Decryption" => srt_caller_decryption(), - "MinimumLatency" => integer(), + smpte_tt_destination_settings() :: %{} + + """ + @type smpte_tt_destination_settings() :: %{} + + @typedoc """ + + ## Example: + + srt_caller_source() :: %{ + "Decryption" => srt_caller_decryption(), + "MinimumLatency" => integer(), "SrtListenerAddress" => String.t(), "SrtListenerPort" => String.t(), "StreamId" => String.t() @@ -1685,6 +2054,49 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + describe_node_response() :: %{ + "Arn" => String.t(), + "ChannelPlacementGroups" => list(String.t()()), + "ClusterId" => String.t(), + "ConnectionState" => list(any()), + "Id" => String.t(), + "InstanceArn" => String.t(), + "Name" => String.t(), + "NodeInterfaceMappings" => list(node_interface_mapping()()), + "Role" => list(any()), + "State" => list(any()) + } + + """ + @type describe_node_response() :: %{String.t() => any()} + + @typedoc """ + + ## Example: + + create_node_registration_script_response() :: %{ + "NodeRegistrationScript" => String.t() + } + + """ + @type create_node_registration_script_response() :: %{String.t() => any()} + + @typedoc """ + + ## Example: + + update_cluster_request() :: %{ + optional("Name") => String.t(), + optional("NetworkSettings") => cluster_network_settings_update_request() + } + + """ + @type update_cluster_request() :: %{String.t() => any()} + + @typedoc """ + ## Example: reservation_resource_specification() :: %{ @@ -1726,6 +2138,23 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + delete_network_response() :: %{ + "Arn" => String.t(), + "AssociatedClusterIds" => list(String.t()()), + "Id" => String.t(), + "IpPools" => list(ip_pool()()), + "Name" => String.t(), + "Routes" => list(route()()), + "State" => list(any()) + } + + """ + @type delete_network_response() :: %{String.t() => any()} + + @typedoc """ + ## Example: batch_delete_request() :: %{ @@ -1740,6 +2169,33 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + create_node_registration_script_request() :: %{ + optional("Id") => String.t(), + optional("Name") => String.t(), + optional("NodeInterfaceMappings") => list(node_interface_mapping()()), + optional("RequestId") => String.t(), + optional("Role") => list(any()) + } + + """ + @type create_node_registration_script_request() :: %{String.t() => any()} + + @typedoc """ + + ## Example: + + multicast_source_update_request() :: %{ + "SourceIp" => String.t(), + "Url" => String.t() + } + + """ + @type multicast_source_update_request() :: %{String.t() => any()} + + @typedoc """ + ## Example: list_input_security_groups_response() :: %{ @@ -1795,7 +2251,8 @@ defmodule AWS.MediaLive do "AutomaticInputFailoverSettings" => automatic_input_failover_settings(), "InputAttachmentName" => String.t(), "InputId" => String.t(), - "InputSettings" => input_settings() + "InputSettings" => input_settings(), + "LogicalInterfaceNames" => list(String.t()()) } """ @@ -1880,6 +2337,17 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + multicast_input_settings() :: %{ + "SourceIpAddress" => String.t() + } + + """ + @type multicast_input_settings() :: %{String.t() => any()} + + @typedoc """ + ## Example: pipeline_locking_settings() :: %{} @@ -1912,6 +2380,17 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + multicast_settings_create_request() :: %{ + "Sources" => list(multicast_source_create_request()()) + } + + """ + @type multicast_settings_create_request() :: %{String.t() => any()} + + @typedoc """ + ## Example: output_group_settings() :: %{ @@ -1923,6 +2402,7 @@ defmodule AWS.MediaLive do "MsSmoothGroupSettings" => ms_smooth_group_settings(), "MultiplexGroupSettings" => multiplex_group_settings(), "RtmpGroupSettings" => rtmp_group_settings(), + "SrtGroupSettings" => srt_group_settings(), "UdpGroupSettings" => udp_group_settings() } @@ -1943,6 +2423,18 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + interface_mapping() :: %{ + "LogicalInterfaceName" => String.t(), + "NetworkId" => String.t() + } + + """ + @type interface_mapping() :: %{String.t() => any()} + + @typedoc """ + ## Example: h264_color_space_settings() :: %{ @@ -2010,6 +2502,30 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + route_create_request() :: %{ + "Cidr" => String.t(), + "Gateway" => String.t() + } + + """ + @type route_create_request() :: %{String.t() => any()} + + @typedoc """ + + ## Example: + + multicast_source_create_request() :: %{ + "SourceIp" => String.t(), + "Url" => String.t() + } + + """ + @type multicast_source_create_request() :: %{String.t() => any()} + + @typedoc """ + ## Example: input_device_uhd_audio_channel_pair_config() :: %{ @@ -2022,6 +2538,18 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + list_channel_placement_groups_request() :: %{ + optional("MaxResults") => integer(), + optional("NextToken") => String.t() + } + + """ + @type list_channel_placement_groups_request() :: %{String.t() => any()} + + @typedoc """ + ## Example: video_selector_program_id() :: %{ @@ -2084,8 +2612,10 @@ defmodule AWS.MediaLive do create_input_request() :: %{ optional("Destinations") => list(input_destination_request()()), optional("InputDevices") => list(input_device_settings()()), + optional("InputNetworkLocation") => list(any()), optional("InputSecurityGroups") => list(String.t()()), optional("MediaConnectFlows") => list(media_connect_flow_request()()), + optional("MulticastSettings") => multicast_settings_create_request(), optional("Name") => String.t(), optional("RequestId") => String.t(), optional("RoleArn") => String.t(), @@ -2131,6 +2661,7 @@ defmodule AWS.MediaLive do ## Example: channel_summary() :: %{ + "AnywhereSettings" => describe_anywhere_settings(), "Arn" => String.t(), "CdiInputSpecification" => cdi_input_specification(), "ChannelClass" => list(any()), @@ -2183,6 +2714,7 @@ defmodule AWS.MediaLive do ## Example: stop_channel_response() :: %{ + "AnywhereSettings" => describe_anywhere_settings(), "Arn" => String.t(), "CdiInputSpecification" => cdi_input_specification(), "ChannelClass" => list(any()), @@ -2229,6 +2761,22 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + create_cluster_request() :: %{ + optional("ClusterType") => list(any()), + optional("InstanceRoleArn") => String.t(), + optional("Name") => String.t(), + optional("NetworkSettings") => cluster_network_settings_create_request(), + optional("RequestId") => String.t(), + optional("Tags") => map() + } + + """ + @type create_cluster_request() :: %{String.t() => any()} + + @typedoc """ + ## Example: describe_thumbnails_response() :: %{ @@ -2278,9 +2826,11 @@ defmodule AWS.MediaLive do "Id" => String.t(), "InputClass" => list(any()), "InputDevices" => list(input_device_settings()()), + "InputNetworkLocation" => list(any()), "InputPartnerIds" => list(String.t()()), "InputSourceType" => list(any()), "MediaConnectFlows" => list(media_connect_flow()()), + "MulticastSettings" => multicast_settings(), "Name" => String.t(), "RoleArn" => String.t(), "SecurityGroups" => list(String.t()()), @@ -2346,6 +2896,7 @@ defmodule AWS.MediaLive do optional("InputDevices") => list(input_device_request()()), optional("InputSecurityGroups") => list(String.t()()), optional("MediaConnectFlows") => list(media_connect_flow_request()()), + optional("MulticastSettings") => multicast_settings_update_request(), optional("Name") => String.t(), optional("RoleArn") => String.t(), optional("Sources") => list(input_source_request()()), @@ -2382,6 +2933,23 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + describe_network_summary() :: %{ + "Arn" => String.t(), + "AssociatedClusterIds" => list(String.t()()), + "Id" => String.t(), + "IpPools" => list(ip_pool()()), + "Name" => String.t(), + "Routes" => list(route()()), + "State" => list(any()) + } + + """ + @type describe_network_summary() :: %{String.t() => any()} + + @typedoc """ + ## Example: multiplex_media_connect_output_destination_settings() :: %{ @@ -2465,6 +3033,15 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + delete_network_request() :: %{} + + """ + @type delete_network_request() :: %{} + + @typedoc """ + ## Example: get_event_bridge_rule_template_group_request() :: %{} @@ -2483,6 +3060,24 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + describe_cluster_summary() :: %{ + "Arn" => String.t(), + "ChannelIds" => list(String.t()()), + "ClusterType" => list(any()), + "Id" => String.t(), + "InstanceRoleArn" => String.t(), + "Name" => String.t(), + "NetworkSettings" => cluster_network_settings(), + "State" => list(any()) + } + + """ + @type describe_cluster_summary() :: %{String.t() => any()} + + @typedoc """ + ## Example: output_group() :: %{ @@ -2548,6 +3143,19 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + node_interface_mapping() :: %{ + "LogicalInterfaceName" => String.t(), + "NetworkInterfaceMode" => list(any()), + "PhysicalInterfaceName" => String.t() + } + + """ + @type node_interface_mapping() :: %{String.t() => any()} + + @typedoc """ + ## Example: multiplex_group_settings() :: %{} @@ -2619,6 +3227,7 @@ defmodule AWS.MediaLive do ## Example: video_codec_settings() :: %{ + "Av1Settings" => av1_settings(), "FrameCaptureSettings" => frame_capture_settings(), "H264Settings" => h264_settings(), "H265Settings" => h265_settings(), @@ -2668,6 +3277,7 @@ defmodule AWS.MediaLive do ## Example: describe_channel_response() :: %{ + "AnywhereSettings" => describe_anywhere_settings(), "Arn" => String.t(), "CdiInputSpecification" => cdi_input_specification(), "ChannelClass" => list(any()), @@ -2781,6 +3391,30 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + cluster_network_settings() :: %{ + "DefaultRoute" => String.t(), + "InterfaceMappings" => list(interface_mapping()()) + } + + """ + @type cluster_network_settings() :: %{String.t() => any()} + + @typedoc """ + + ## Example: + + interface_mapping_create_request() :: %{ + "LogicalInterfaceName" => String.t(), + "NetworkId" => String.t() + } + + """ + @type interface_mapping_create_request() :: %{String.t() => any()} + + @typedoc """ + ## Example: eac3_settings() :: %{ @@ -2902,6 +3536,17 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + ip_pool() :: %{ + "Cidr" => String.t() + } + + """ + @type ip_pool() :: %{String.t() => any()} + + @typedoc """ + ## Example: batch_update_schedule_response() :: %{ @@ -2926,6 +3571,18 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + list_networks_request() :: %{ + optional("MaxResults") => integer(), + optional("NextToken") => String.t() + } + + """ + @type list_networks_request() :: %{String.t() => any()} + + @typedoc """ + ## Example: caption_destination_settings() :: %{ @@ -2949,6 +3606,18 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + route() :: %{ + "Cidr" => String.t(), + "Gateway" => String.t() + } + + """ + @type route() :: %{String.t() => any()} + + @typedoc """ + ## Example: describe_input_response() :: %{ @@ -2958,9 +3627,11 @@ defmodule AWS.MediaLive do "Id" => String.t(), "InputClass" => list(any()), "InputDevices" => list(input_device_settings()()), + "InputNetworkLocation" => list(any()), "InputPartnerIds" => list(String.t()()), "InputSourceType" => list(any()), "MediaConnectFlows" => list(media_connect_flow()()), + "MulticastSettings" => multicast_settings(), "Name" => String.t(), "RoleArn" => String.t(), "SecurityGroups" => list(String.t()()), @@ -2991,6 +3662,7 @@ defmodule AWS.MediaLive do ## Example: create_channel_request() :: %{ + optional("AnywhereSettings") => anywhere_settings(), optional("CdiInputSpecification") => cdi_input_specification(), optional("ChannelClass") => list(any()), optional("Destinations") => list(output_destination()()), @@ -3012,6 +3684,18 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + list_nodes_request() :: %{ + optional("MaxResults") => integer(), + optional("NextToken") => String.t() + } + + """ + @type list_nodes_request() :: %{String.t() => any()} + + @typedoc """ + ## Example: start_delete_monitor_deployment_response() :: %{ @@ -3204,6 +3888,18 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + input_request_destination_route() :: %{ + "Cidr" => String.t(), + "Gateway" => String.t() + } + + """ + @type input_request_destination_route() :: %{String.t() => any()} + + @typedoc """ + ## Example: multiplex_program_packet_identifiers_map() :: %{ @@ -3316,55 +4012,97 @@ defmodule AWS.MediaLive do ## Example: - archive_cdn_settings() :: %{ - "ArchiveS3Settings" => archive_s3_settings() + srt_output_destination_settings() :: %{ + "EncryptionPassphraseSecretArn" => String.t(), + "StreamId" => String.t(), + "Url" => String.t() } """ - @type archive_cdn_settings() :: %{String.t() => any()} + @type srt_output_destination_settings() :: %{String.t() => any()} @typedoc """ ## Example: - describe_input_device_thumbnail_request() :: %{ - required("Accept") => list(any()) + multicast_source() :: %{ + "SourceIp" => String.t(), + "Url" => String.t() } """ - @type describe_input_device_thumbnail_request() :: %{String.t() => any()} + @type multicast_source() :: %{String.t() => any()} @typedoc """ ## Example: - list_inputs_response() :: %{ - "Inputs" => list(input()()), - "NextToken" => String.t() + archive_cdn_settings() :: %{ + "ArchiveS3Settings" => archive_s3_settings() } """ - @type list_inputs_response() :: %{String.t() => any()} + @type archive_cdn_settings() :: %{String.t() => any()} @typedoc """ ## Example: - ancillary_source_settings() :: %{ - "SourceAncillaryChannelNumber" => integer() + describe_input_device_thumbnail_request() :: %{ + required("Accept") => list(any()) } """ - @type ancillary_source_settings() :: %{String.t() => any()} + @type describe_input_device_thumbnail_request() :: %{String.t() => any()} @typedoc """ ## Example: - delete_event_bridge_rule_template_request() :: %{} - - """ - @type delete_event_bridge_rule_template_request() :: %{} + delete_channel_placement_group_response() :: %{ + "Arn" => String.t(), + "Channels" => list(String.t()()), + "ClusterId" => String.t(), + "Id" => String.t(), + "Name" => String.t(), + "Nodes" => list(String.t()()), + "State" => list(any()) + } + + """ + @type delete_channel_placement_group_response() :: %{String.t() => any()} + + @typedoc """ + + ## Example: + + list_inputs_response() :: %{ + "Inputs" => list(input()()), + "NextToken" => String.t() + } + + """ + @type list_inputs_response() :: %{String.t() => any()} + + @typedoc """ + + ## Example: + + ancillary_source_settings() :: %{ + "SourceAncillaryChannelNumber" => integer() + } + + """ + @type ancillary_source_settings() :: %{String.t() => any()} + + @typedoc """ + + ## Example: + + delete_event_bridge_rule_template_request() :: %{} + + """ + @type delete_event_bridge_rule_template_request() :: %{} @typedoc """ @@ -3377,6 +4115,18 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + list_clusters_response() :: %{ + "Clusters" => list(describe_cluster_summary()()), + "NextToken" => String.t() + } + + """ + @type list_clusters_response() :: %{String.t() => any()} + + @typedoc """ + ## Example: list_channels_response() :: %{ @@ -3438,6 +4188,24 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + delete_cluster_response() :: %{ + "Arn" => String.t(), + "ChannelIds" => list(String.t()()), + "ClusterType" => list(any()), + "Id" => String.t(), + "InstanceRoleArn" => String.t(), + "Name" => String.t(), + "NetworkSettings" => cluster_network_settings(), + "State" => list(any()) + } + + """ + @type delete_cluster_response() :: %{String.t() => any()} + + @typedoc """ + ## Example: dvb_sub_destination_settings() :: %{ @@ -3593,6 +4361,7 @@ defmodule AWS.MediaLive do "MsSmoothOutputSettings" => ms_smooth_output_settings(), "MultiplexOutputSettings" => multiplex_output_settings(), "RtmpOutputSettings" => rtmp_output_settings(), + "SrtOutputSettings" => srt_output_settings(), "UdpOutputSettings" => udp_output_settings() } @@ -3671,6 +4440,33 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + av1_settings() :: %{ + "AfdSignaling" => list(any()), + "BufSize" => integer(), + "ColorSpaceSettings" => av1_color_space_settings(), + "FixedAfd" => list(any()), + "FramerateDenominator" => integer(), + "FramerateNumerator" => integer(), + "GopSize" => float(), + "GopSizeUnits" => list(any()), + "Level" => list(any()), + "LookAheadRateControl" => list(any()), + "MaxBitrate" => integer(), + "MinIInterval" => integer(), + "ParDenominator" => integer(), + "ParNumerator" => integer(), + "QvbrQualityLevel" => integer(), + "SceneChangeDetect" => list(any()), + "TimecodeBurninSettings" => timecode_burnin_settings() + } + + """ + @type av1_settings() :: %{String.t() => any()} + + @typedoc """ + ## Example: multiplex_program_service_descriptor() :: %{ @@ -3714,6 +4510,17 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + ip_pool_create_request() :: %{ + "Cidr" => String.t() + } + + """ + @type ip_pool_create_request() :: %{String.t() => any()} + + @typedoc """ + ## Example: get_signal_map_response() :: %{ @@ -3816,6 +4623,18 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + list_clusters_request() :: %{ + optional("MaxResults") => integer(), + optional("NextToken") => String.t() + } + + """ + @type list_clusters_request() :: %{String.t() => any()} + + @typedoc """ + ## Example: output_location_ref() :: %{ @@ -3901,6 +4720,18 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + list_channel_placement_groups_response() :: %{ + "ChannelPlacementGroups" => list(describe_channel_placement_group_summary()()), + "NextToken" => String.t() + } + + """ + @type list_channel_placement_groups_response() :: %{String.t() => any()} + + @typedoc """ + ## Example: schedule_action() :: %{ @@ -4006,6 +4837,21 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + create_network_request() :: %{ + optional("IpPools") => list(ip_pool_create_request()()), + optional("Name") => String.t(), + optional("RequestId") => String.t(), + optional("Routes") => list(route_create_request()()), + optional("Tags") => map() + } + + """ + @type create_network_request() :: %{String.t() => any()} + + @typedoc """ + ## Example: maintenance_status() :: %{ @@ -4020,6 +4866,20 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + create_channel_placement_group_request() :: %{ + optional("Name") => String.t(), + optional("Nodes") => list(String.t()()), + optional("RequestId") => String.t(), + optional("Tags") => map() + } + + """ + @type create_channel_placement_group_request() :: %{String.t() => any()} + + @typedoc """ + ## Example: frame_capture_hls_settings() :: %{} @@ -4029,6 +4889,15 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + delete_cluster_request() :: %{} + + """ + @type delete_cluster_request() :: %{} + + @typedoc """ + ## Example: esam() :: %{ @@ -4255,6 +5124,15 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + delete_channel_placement_group_request() :: %{} + + """ + @type delete_channel_placement_group_request() :: %{} + + @typedoc """ + ## Example: webvtt_destination_settings() :: %{ @@ -4352,6 +5230,23 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + update_network_response() :: %{ + "Arn" => String.t(), + "AssociatedClusterIds" => list(String.t()()), + "Id" => String.t(), + "IpPools" => list(ip_pool()()), + "Name" => String.t(), + "Routes" => list(route()()), + "State" => list(any()) + } + + """ + @type update_network_response() :: %{String.t() => any()} + + @typedoc """ + ## Example: thumbnail_configuration() :: %{ @@ -4495,6 +5390,26 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + create_node_response() :: %{ + "Arn" => String.t(), + "ChannelPlacementGroups" => list(String.t()()), + "ClusterId" => String.t(), + "ConnectionState" => list(any()), + "Id" => String.t(), + "InstanceArn" => String.t(), + "Name" => String.t(), + "NodeInterfaceMappings" => list(node_interface_mapping()()), + "Role" => list(any()), + "State" => list(any()) + } + + """ + @type create_node_response() :: %{String.t() => any()} + + @typedoc """ + ## Example: update_event_bridge_rule_template_response() :: %{ @@ -4614,6 +5529,26 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + delete_node_response() :: %{ + "Arn" => String.t(), + "ChannelPlacementGroups" => list(String.t()()), + "ClusterId" => String.t(), + "ConnectionState" => list(any()), + "Id" => String.t(), + "InstanceArn" => String.t(), + "Name" => String.t(), + "NodeInterfaceMappings" => list(node_interface_mapping()()), + "Role" => list(any()), + "State" => list(any()) + } + + """ + @type delete_node_response() :: %{String.t() => any()} + + @typedoc """ + ## Example: input_device_summary() :: %{ @@ -4728,6 +5663,15 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + delete_node_request() :: %{} + + """ + @type delete_node_request() :: %{} + + @typedoc """ + ## Example: list_cloud_watch_alarm_templates_response() :: %{ @@ -4838,6 +5782,7 @@ defmodule AWS.MediaLive do ## Example: channel() :: %{ + "AnywhereSettings" => describe_anywhere_settings(), "Arn" => String.t(), "CdiInputSpecification" => cdi_input_specification(), "ChannelClass" => list(any()), @@ -4898,6 +5843,7 @@ defmodule AWS.MediaLive do ## Example: start_channel_response() :: %{ + "AnywhereSettings" => describe_anywhere_settings(), "Arn" => String.t(), "CdiInputSpecification" => cdi_input_specification(), "ChannelClass" => list(any()), @@ -5164,6 +6110,9 @@ defmodule AWS.MediaLive do ## Example: input_destination_request() :: %{ + "Network" => String.t(), + "NetworkRoutes" => list(input_request_destination_route()()), + "StaticIpAddress" => String.t(), "StreamName" => String.t() } @@ -5342,6 +6291,15 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + describe_node_request() :: %{} + + """ + @type describe_node_request() :: %{} + + @typedoc """ + ## Example: reject_input_device_transfer_request() :: %{} @@ -5551,6 +6509,19 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + update_network_request() :: %{ + optional("IpPools") => list(ip_pool_update_request()()), + optional("Name") => String.t(), + optional("Routes") => list(route_update_request()()) + } + + """ + @type update_network_request() :: %{String.t() => any()} + + @typedoc """ + ## Example: audio_pid_selection() :: %{ @@ -5575,6 +6546,30 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + cluster_network_settings_update_request() :: %{ + "DefaultRoute" => String.t(), + "InterfaceMappings" => list(interface_mapping_update_request()()) + } + + """ + @type cluster_network_settings_update_request() :: %{String.t() => any()} + + @typedoc """ + + ## Example: + + describe_anywhere_settings() :: %{ + "ChannelPlacementGroupId" => String.t(), + "ClusterId" => String.t() + } + + """ + @type describe_anywhere_settings() :: %{String.t() => any()} + + @typedoc """ + ## Example: mpeg2_filter_settings() :: %{ @@ -5586,6 +6581,17 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + update_node_state_request() :: %{ + optional("State") => list(any()) + } + + """ + @type update_node_state_request() :: %{String.t() => any()} + + @typedoc """ + ## Example: audio_normalization_settings() :: %{ @@ -5645,6 +6651,18 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + anywhere_settings() :: %{ + "ChannelPlacementGroupId" => String.t(), + "ClusterId" => String.t() + } + + """ + @type anywhere_settings() :: %{String.t() => any()} + + @typedoc """ + ## Example: timecode_burnin_settings() :: %{ @@ -6022,6 +7040,18 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + update_node_request() :: %{ + optional("Name") => String.t(), + optional("Role") => list(any()) + } + + """ + @type update_node_request() :: %{String.t() => any()} + + @typedoc """ + ## Example: fixed_mode_schedule_action_start_settings() :: %{ @@ -6035,20 +7065,56 @@ defmodule AWS.MediaLive do ## Example: - list_input_device_transfers_response() :: %{ - "InputDeviceTransfers" => list(transferring_input_device_summary()()), - "NextToken" => String.t() + cluster_network_settings_create_request() :: %{ + "DefaultRoute" => String.t(), + "InterfaceMappings" => list(interface_mapping_create_request()()) } """ - @type list_input_device_transfers_response() :: %{String.t() => any()} + @type cluster_network_settings_create_request() :: %{String.t() => any()} @typedoc """ ## Example: - signal_map_summary() :: %{ - "Arn" => String.t(), + input_destination_route() :: %{ + "Cidr" => String.t(), + "Gateway" => String.t() + } + + """ + @type input_destination_route() :: %{String.t() => any()} + + @typedoc """ + + ## Example: + + list_nodes_response() :: %{ + "NextToken" => String.t(), + "Nodes" => list(describe_node_summary()()) + } + + """ + @type list_nodes_response() :: %{String.t() => any()} + + @typedoc """ + + ## Example: + + list_input_device_transfers_response() :: %{ + "InputDeviceTransfers" => list(transferring_input_device_summary()()), + "NextToken" => String.t() + } + + """ + @type list_input_device_transfers_response() :: %{String.t() => any()} + + @typedoc """ + + ## Example: + + signal_map_summary() :: %{ + "Arn" => String.t(), "CreatedAt" => non_neg_integer(), "Description" => String.t(), "Id" => String.t(), @@ -6165,6 +7231,18 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + interface_mapping_update_request() :: %{ + "LogicalInterfaceName" => String.t(), + "NetworkId" => String.t() + } + + """ + @type interface_mapping_update_request() :: %{String.t() => any()} + + @typedoc """ + ## Example: output() :: %{ @@ -6345,6 +7423,23 @@ defmodule AWS.MediaLive do @typedoc """ + ## Example: + + update_cluster_response() :: %{ + "Arn" => String.t(), + "ChannelIds" => list(String.t()()), + "ClusterType" => list(any()), + "Id" => String.t(), + "Name" => String.t(), + "NetworkSettings" => cluster_network_settings(), + "State" => list(any()) + } + + """ + @type update_cluster_response() :: %{String.t() => any()} + + @typedoc """ + ## Example: start_update_signal_map_request() :: %{ @@ -6476,6 +7571,15 @@ defmodule AWS.MediaLive do | forbidden_exception() | bad_gateway_exception() + @type create_channel_placement_group_errors() :: + bad_request_exception() + | gateway_timeout_exception() + | internal_server_error_exception() + | unprocessable_entity_exception() + | too_many_requests_exception() + | forbidden_exception() + | bad_gateway_exception() + @type create_cloud_watch_alarm_template_errors() :: bad_request_exception() | internal_server_error_exception() @@ -6492,6 +7596,15 @@ defmodule AWS.MediaLive do | too_many_requests_exception() | forbidden_exception() + @type create_cluster_errors() :: + bad_request_exception() + | gateway_timeout_exception() + | internal_server_error_exception() + | conflict_exception() + | too_many_requests_exception() + | forbidden_exception() + | bad_gateway_exception() + @type create_event_bridge_rule_template_errors() :: bad_request_exception() | internal_server_error_exception() @@ -6544,6 +7657,33 @@ defmodule AWS.MediaLive do | forbidden_exception() | bad_gateway_exception() + @type create_network_errors() :: + bad_request_exception() + | gateway_timeout_exception() + | internal_server_error_exception() + | conflict_exception() + | too_many_requests_exception() + | forbidden_exception() + | bad_gateway_exception() + + @type create_node_errors() :: + bad_request_exception() + | gateway_timeout_exception() + | internal_server_error_exception() + | unprocessable_entity_exception() + | too_many_requests_exception() + | forbidden_exception() + | bad_gateway_exception() + + @type create_node_registration_script_errors() :: + bad_request_exception() + | gateway_timeout_exception() + | internal_server_error_exception() + | conflict_exception() + | too_many_requests_exception() + | forbidden_exception() + | bad_gateway_exception() + @type create_partner_input_errors() :: bad_request_exception() | gateway_timeout_exception() @@ -6576,6 +7716,16 @@ defmodule AWS.MediaLive do | forbidden_exception() | bad_gateway_exception() + @type delete_channel_placement_group_errors() :: + bad_request_exception() + | gateway_timeout_exception() + | internal_server_error_exception() + | not_found_exception() + | conflict_exception() + | too_many_requests_exception() + | forbidden_exception() + | bad_gateway_exception() + @type delete_cloud_watch_alarm_template_errors() :: bad_request_exception() | internal_server_error_exception() @@ -6592,6 +7742,16 @@ defmodule AWS.MediaLive do | too_many_requests_exception() | forbidden_exception() + @type delete_cluster_errors() :: + bad_request_exception() + | gateway_timeout_exception() + | internal_server_error_exception() + | not_found_exception() + | conflict_exception() + | too_many_requests_exception() + | forbidden_exception() + | bad_gateway_exception() + @type delete_event_bridge_rule_template_errors() :: bad_request_exception() | internal_server_error_exception() @@ -6647,6 +7807,26 @@ defmodule AWS.MediaLive do | forbidden_exception() | bad_gateway_exception() + @type delete_network_errors() :: + bad_request_exception() + | gateway_timeout_exception() + | internal_server_error_exception() + | not_found_exception() + | conflict_exception() + | too_many_requests_exception() + | forbidden_exception() + | bad_gateway_exception() + + @type delete_node_errors() :: + bad_request_exception() + | gateway_timeout_exception() + | internal_server_error_exception() + | not_found_exception() + | conflict_exception() + | too_many_requests_exception() + | forbidden_exception() + | bad_gateway_exception() + @type delete_reservation_errors() :: bad_request_exception() | gateway_timeout_exception() @@ -6697,6 +7877,24 @@ defmodule AWS.MediaLive do | forbidden_exception() | bad_gateway_exception() + @type describe_channel_placement_group_errors() :: + bad_request_exception() + | gateway_timeout_exception() + | internal_server_error_exception() + | not_found_exception() + | too_many_requests_exception() + | forbidden_exception() + | bad_gateway_exception() + + @type describe_cluster_errors() :: + bad_request_exception() + | gateway_timeout_exception() + | internal_server_error_exception() + | not_found_exception() + | too_many_requests_exception() + | forbidden_exception() + | bad_gateway_exception() + @type describe_input_errors() :: bad_request_exception() | gateway_timeout_exception() @@ -6751,6 +7949,24 @@ defmodule AWS.MediaLive do | forbidden_exception() | bad_gateway_exception() + @type describe_network_errors() :: + bad_request_exception() + | gateway_timeout_exception() + | internal_server_error_exception() + | not_found_exception() + | too_many_requests_exception() + | forbidden_exception() + | bad_gateway_exception() + + @type describe_node_errors() :: + bad_request_exception() + | gateway_timeout_exception() + | internal_server_error_exception() + | not_found_exception() + | too_many_requests_exception() + | forbidden_exception() + | bad_gateway_exception() + @type describe_offering_errors() :: bad_request_exception() | gateway_timeout_exception() @@ -6823,6 +8039,14 @@ defmodule AWS.MediaLive do | too_many_requests_exception() | forbidden_exception() + @type list_channel_placement_groups_errors() :: + bad_request_exception() + | gateway_timeout_exception() + | internal_server_error_exception() + | too_many_requests_exception() + | forbidden_exception() + | bad_gateway_exception() + @type list_channels_errors() :: bad_request_exception() | gateway_timeout_exception() @@ -6845,6 +8069,14 @@ defmodule AWS.MediaLive do | too_many_requests_exception() | forbidden_exception() + @type list_clusters_errors() :: + bad_request_exception() + | gateway_timeout_exception() + | internal_server_error_exception() + | too_many_requests_exception() + | forbidden_exception() + | bad_gateway_exception() + @type list_event_bridge_rule_template_groups_errors() :: bad_request_exception() | internal_server_error_exception() @@ -6909,6 +8141,22 @@ defmodule AWS.MediaLive do | forbidden_exception() | bad_gateway_exception() + @type list_networks_errors() :: + bad_request_exception() + | gateway_timeout_exception() + | internal_server_error_exception() + | too_many_requests_exception() + | forbidden_exception() + | bad_gateway_exception() + + @type list_nodes_errors() :: + bad_request_exception() + | gateway_timeout_exception() + | internal_server_error_exception() + | too_many_requests_exception() + | forbidden_exception() + | bad_gateway_exception() + @type list_offerings_errors() :: bad_request_exception() | gateway_timeout_exception() @@ -7113,6 +8361,16 @@ defmodule AWS.MediaLive do | forbidden_exception() | bad_gateway_exception() + @type update_channel_placement_group_errors() :: + bad_request_exception() + | gateway_timeout_exception() + | internal_server_error_exception() + | unprocessable_entity_exception() + | conflict_exception() + | too_many_requests_exception() + | forbidden_exception() + | bad_gateway_exception() + @type update_cloud_watch_alarm_template_errors() :: bad_request_exception() | internal_server_error_exception() @@ -7129,6 +8387,15 @@ defmodule AWS.MediaLive do | too_many_requests_exception() | forbidden_exception() + @type update_cluster_errors() :: + bad_request_exception() + | gateway_timeout_exception() + | internal_server_error_exception() + | conflict_exception() + | too_many_requests_exception() + | forbidden_exception() + | bad_gateway_exception() + @type update_event_bridge_rule_template_errors() :: bad_request_exception() | internal_server_error_exception() @@ -7193,6 +8460,34 @@ defmodule AWS.MediaLive do | forbidden_exception() | bad_gateway_exception() + @type update_network_errors() :: + bad_request_exception() + | gateway_timeout_exception() + | internal_server_error_exception() + | conflict_exception() + | too_many_requests_exception() + | forbidden_exception() + | bad_gateway_exception() + + @type update_node_errors() :: + bad_request_exception() + | gateway_timeout_exception() + | internal_server_error_exception() + | conflict_exception() + | too_many_requests_exception() + | forbidden_exception() + | bad_gateway_exception() + + @type update_node_state_errors() :: + bad_request_exception() + | gateway_timeout_exception() + | internal_server_error_exception() + | unprocessable_entity_exception() + | conflict_exception() + | too_many_requests_exception() + | forbidden_exception() + | bad_gateway_exception() + @type update_reservation_errors() :: bad_request_exception() | gateway_timeout_exception() @@ -7440,6 +8735,45 @@ defmodule AWS.MediaLive do ) end + @doc """ + Create a ChannelPlacementGroup in the specified Cluster. + + As part of the create operation, you specify the Nodes to attach the group + to.After you create a ChannelPlacementGroup, you add Channels to the group (you + do this by modifying the Channels to add them to a specific group). You now have + an association of Channels to ChannelPlacementGroup, and ChannelPlacementGroup + to Nodes. This association means that all the Channels in the group are able to + run on any of the Nodes associated with the group. + """ + @spec create_channel_placement_group( + map(), + String.t(), + create_channel_placement_group_request(), + list() + ) :: + {:ok, create_channel_placement_group_response(), any()} + | {:error, {:unexpected_response, any()}} + | {:error, create_channel_placement_group_errors()} + def create_channel_placement_group(%Client{} = client, cluster_id, input, options \\ []) do + url_path = "/prod/clusters/#{AWS.Util.encode_uri(cluster_id)}/channelplacementgroups" + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :post, + url_path, + query_params, + headers, + input, + options, + 201 + ) + end + @doc """ Creates a cloudwatch alarm template to dynamically generate cloudwatch metric alarms on targeted resource types. @@ -7504,6 +8838,33 @@ defmodule AWS.MediaLive do ) end + @doc """ + Create a new Cluster. + """ + @spec create_cluster(map(), create_cluster_request(), list()) :: + {:ok, create_cluster_response(), any()} + | {:error, {:unexpected_response, any()}} + | {:error, create_cluster_errors()} + def create_cluster(%Client{} = client, input, options \\ []) do + url_path = "/prod/clusters" + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :post, + url_path, + query_params, + headers, + input, + options, + 201 + ) + end + @doc """ Creates an eventbridge rule template to monitor events and send notifications to your targeted resources. @@ -7677,6 +9038,105 @@ defmodule AWS.MediaLive do ) end + @doc """ + Create as many Networks as you need. + + You will associate one or more Clusters with each Network.Each Network provides + MediaLive Anywhere with required information about the network in your + organization that you are using for video encoding using MediaLive. + """ + @spec create_network(map(), create_network_request(), list()) :: + {:ok, create_network_response(), any()} + | {:error, {:unexpected_response, any()}} + | {:error, create_network_errors()} + def create_network(%Client{} = client, input, options \\ []) do + url_path = "/prod/networks" + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :post, + url_path, + query_params, + headers, + input, + options, + 201 + ) + end + + @doc """ + Create a Node in the specified Cluster. + + You can also create Nodes using the CreateNodeRegistrationScript. Note that you + can't move a Node to another Cluster. + """ + @spec create_node(map(), String.t(), create_node_request(), list()) :: + {:ok, create_node_response(), any()} + | {:error, {:unexpected_response, any()}} + | {:error, create_node_errors()} + def create_node(%Client{} = client, cluster_id, input, options \\ []) do + url_path = "/prod/clusters/#{AWS.Util.encode_uri(cluster_id)}/nodes" + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :post, + url_path, + query_params, + headers, + input, + options, + 201 + ) + end + + @doc """ + Create the Register Node script for all the nodes intended for a specific + Cluster. + + You will then run the script on each hardware unit that is intended for that + Cluster. The script creates a Node in the specified Cluster. It then binds the + Node to this hardware unit, and activates the node hardware for use with + MediaLive Anywhere. + """ + @spec create_node_registration_script( + map(), + String.t(), + create_node_registration_script_request(), + list() + ) :: + {:ok, create_node_registration_script_response(), any()} + | {:error, {:unexpected_response, any()}} + | {:error, create_node_registration_script_errors()} + def create_node_registration_script(%Client{} = client, cluster_id, input, options \\ []) do + url_path = "/prod/clusters/#{AWS.Util.encode_uri(cluster_id)}/nodeRegistrationScript" + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :post, + url_path, + query_params, + headers, + input, + options, + 200 + ) + end + @doc """ Create a partner input """ @@ -7790,6 +9250,47 @@ defmodule AWS.MediaLive do ) end + @doc """ + Delete the specified ChannelPlacementGroup that exists in the specified Cluster. + """ + @spec delete_channel_placement_group( + map(), + String.t(), + String.t(), + delete_channel_placement_group_request(), + list() + ) :: + {:ok, delete_channel_placement_group_response(), any()} + | {:error, {:unexpected_response, any()}} + | {:error, delete_channel_placement_group_errors()} + def delete_channel_placement_group( + %Client{} = client, + channel_placement_group_id, + cluster_id, + input, + options \\ [] + ) do + url_path = + "/prod/clusters/#{AWS.Util.encode_uri(cluster_id)}/channelplacementgroups/#{AWS.Util.encode_uri(channel_placement_group_id)}" + + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :delete, + url_path, + query_params, + headers, + input, + options, + 200 + ) + end + @doc """ Deletes a cloudwatch alarm template. """ @@ -7862,6 +9363,35 @@ defmodule AWS.MediaLive do ) end + @doc """ + Delete a Cluster. + + The Cluster must be idle. + """ + @spec delete_cluster(map(), String.t(), delete_cluster_request(), list()) :: + {:ok, delete_cluster_response(), any()} + | {:error, {:unexpected_response, any()}} + | {:error, delete_cluster_errors()} + def delete_cluster(%Client{} = client, cluster_id, input, options \\ []) do + url_path = "/prod/clusters/#{AWS.Util.encode_uri(cluster_id)}" + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :delete, + url_path, + query_params, + headers, + input, + options, + 202 + ) + end + @doc """ Deletes an eventbridge rule template. """ @@ -8028,27 +9558,87 @@ defmodule AWS.MediaLive do end @doc """ - Delete a program from a multiplex. + Delete a program from a multiplex. + """ + @spec delete_multiplex_program( + map(), + String.t(), + String.t(), + delete_multiplex_program_request(), + list() + ) :: + {:ok, delete_multiplex_program_response(), any()} + | {:error, {:unexpected_response, any()}} + | {:error, delete_multiplex_program_errors()} + def delete_multiplex_program( + %Client{} = client, + multiplex_id, + program_name, + input, + options \\ [] + ) do + url_path = + "/prod/multiplexes/#{AWS.Util.encode_uri(multiplex_id)}/programs/#{AWS.Util.encode_uri(program_name)}" + + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :delete, + url_path, + query_params, + headers, + input, + options, + 200 + ) + end + + @doc """ + Delete a Network. + + The Network must have no resources associated with it. + """ + @spec delete_network(map(), String.t(), delete_network_request(), list()) :: + {:ok, delete_network_response(), any()} + | {:error, {:unexpected_response, any()}} + | {:error, delete_network_errors()} + def delete_network(%Client{} = client, network_id, input, options \\ []) do + url_path = "/prod/networks/#{AWS.Util.encode_uri(network_id)}" + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest( + client, + meta, + :delete, + url_path, + query_params, + headers, + input, + options, + 202 + ) + end + + @doc """ + Delete a Node. + + The Node must be IDLE. """ - @spec delete_multiplex_program( - map(), - String.t(), - String.t(), - delete_multiplex_program_request(), - list() - ) :: - {:ok, delete_multiplex_program_response(), any()} + @spec delete_node(map(), String.t(), String.t(), delete_node_request(), list()) :: + {:ok, delete_node_response(), any()} | {:error, {:unexpected_response, any()}} - | {:error, delete_multiplex_program_errors()} - def delete_multiplex_program( - %Client{} = client, - multiplex_id, - program_name, - input, - options \\ [] - ) do + | {:error, delete_node_errors()} + def delete_node(%Client{} = client, cluster_id, node_id, input, options \\ []) do url_path = - "/prod/multiplexes/#{AWS.Util.encode_uri(multiplex_id)}/programs/#{AWS.Util.encode_uri(program_name)}" + "/prod/clusters/#{AWS.Util.encode_uri(cluster_id)}/nodes/#{AWS.Util.encode_uri(node_id)}" headers = [] query_params = [] @@ -8064,7 +9654,7 @@ defmodule AWS.MediaLive do headers, input, options, - 200 + 202 ) end @@ -8215,6 +9805,47 @@ defmodule AWS.MediaLive do Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200) end + @doc """ + Get details about a ChannelPlacementGroup. + """ + @spec describe_channel_placement_group(map(), String.t(), String.t(), list()) :: + {:ok, describe_channel_placement_group_response(), any()} + | {:error, {:unexpected_response, any()}} + | {:error, describe_channel_placement_group_errors()} + def describe_channel_placement_group( + %Client{} = client, + channel_placement_group_id, + cluster_id, + options \\ [] + ) do + url_path = + "/prod/clusters/#{AWS.Util.encode_uri(cluster_id)}/channelplacementgroups/#{AWS.Util.encode_uri(channel_placement_group_id)}" + + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200) + end + + @doc """ + Get details about a Cluster. + """ + @spec describe_cluster(map(), String.t(), list()) :: + {:ok, describe_cluster_response(), any()} + | {:error, {:unexpected_response, any()}} + | {:error, describe_cluster_errors()} + def describe_cluster(%Client{} = client, cluster_id, options \\ []) do + url_path = "/prod/clusters/#{AWS.Util.encode_uri(cluster_id)}" + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200) + end + @doc """ Produces details about an input """ @@ -8339,6 +9970,42 @@ defmodule AWS.MediaLive do Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200) end + @doc """ + Get details about a Network. + """ + @spec describe_network(map(), String.t(), list()) :: + {:ok, describe_network_response(), any()} + | {:error, {:unexpected_response, any()}} + | {:error, describe_network_errors()} + def describe_network(%Client{} = client, network_id, options \\ []) do + url_path = "/prod/networks/#{AWS.Util.encode_uri(network_id)}" + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200) + end + + @doc """ + Get details about a Node in the specified Cluster. + """ + @spec describe_node(map(), String.t(), String.t(), list()) :: + {:ok, describe_node_response(), any()} + | {:error, {:unexpected_response, any()}} + | {:error, describe_node_errors()} + def describe_node(%Client{} = client, cluster_id, node_id, options \\ []) do + url_path = + "/prod/clusters/#{AWS.Util.encode_uri(cluster_id)}/nodes/#{AWS.Util.encode_uri(node_id)}" + + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200) + end + @doc """ Get details for an offering. """ @@ -8532,6 +10199,49 @@ defmodule AWS.MediaLive do Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200) end + @doc """ + Retrieve the list of ChannelPlacementGroups in the specified Cluster. + """ + @spec list_channel_placement_groups( + map(), + String.t(), + String.t() | nil, + String.t() | nil, + list() + ) :: + {:ok, list_channel_placement_groups_response(), any()} + | {:error, {:unexpected_response, any()}} + | {:error, list_channel_placement_groups_errors()} + def list_channel_placement_groups( + %Client{} = client, + cluster_id, + max_results \\ nil, + next_token \\ nil, + options \\ [] + ) do + url_path = "/prod/clusters/#{AWS.Util.encode_uri(cluster_id)}/channelplacementgroups" + headers = [] + query_params = [] + + query_params = + if !is_nil(next_token) do + [{"nextToken", next_token} | query_params] + else + query_params + end + + query_params = + if !is_nil(max_results) do + [{"maxResults", max_results} | query_params] + else + query_params + end + + meta = metadata() + + Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200) + end + @doc """ Produces list of channels that have been created """ @@ -8690,6 +10400,37 @@ defmodule AWS.MediaLive do Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200) end + @doc """ + Retrieve the list of Clusters. + """ + @spec list_clusters(map(), String.t() | nil, String.t() | nil, list()) :: + {:ok, list_clusters_response(), any()} + | {:error, {:unexpected_response, any()}} + | {:error, list_clusters_errors()} + def list_clusters(%Client{} = client, max_results \\ nil, next_token \\ nil, options \\ []) do + url_path = "/prod/clusters" + headers = [] + query_params = [] + + query_params = + if !is_nil(next_token) do + [{"nextToken", next_token} | query_params] + else + query_params + end + + query_params = + if !is_nil(max_results) do + [{"maxResults", max_results} | query_params] + else + query_params + end + + meta = metadata() + + Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200) + end + @doc """ Lists eventbridge rule template groups. """ @@ -9012,6 +10753,74 @@ defmodule AWS.MediaLive do Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200) end + @doc """ + Retrieve the list of Networks. + """ + @spec list_networks(map(), String.t() | nil, String.t() | nil, list()) :: + {:ok, list_networks_response(), any()} + | {:error, {:unexpected_response, any()}} + | {:error, list_networks_errors()} + def list_networks(%Client{} = client, max_results \\ nil, next_token \\ nil, options \\ []) do + url_path = "/prod/networks" + headers = [] + query_params = [] + + query_params = + if !is_nil(next_token) do + [{"nextToken", next_token} | query_params] + else + query_params + end + + query_params = + if !is_nil(max_results) do + [{"maxResults", max_results} | query_params] + else + query_params + end + + meta = metadata() + + Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200) + end + + @doc """ + Retrieve the list of Nodes. + """ + @spec list_nodes(map(), String.t(), String.t() | nil, String.t() | nil, list()) :: + {:ok, list_nodes_response(), any()} + | {:error, {:unexpected_response, any()}} + | {:error, list_nodes_errors()} + def list_nodes( + %Client{} = client, + cluster_id, + max_results \\ nil, + next_token \\ nil, + options \\ [] + ) do + url_path = "/prod/clusters/#{AWS.Util.encode_uri(cluster_id)}/nodes" + headers = [] + query_params = [] + + query_params = + if !is_nil(next_token) do + [{"nextToken", next_token} | query_params] + else + query_params + end + + query_params = + if !is_nil(max_results) do + [{"maxResults", max_results} | query_params] + else + query_params + end + + meta = metadata() + + Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, 200) + end + @doc """ List offerings available for purchase. """ @@ -9844,6 +11653,37 @@ defmodule AWS.MediaLive do Request.request_rest(client, meta, :put, url_path, query_params, headers, input, options, 200) end + @doc """ + Change the settings for a ChannelPlacementGroup. + """ + @spec update_channel_placement_group( + map(), + String.t(), + String.t(), + update_channel_placement_group_request(), + list() + ) :: + {:ok, update_channel_placement_group_response(), any()} + | {:error, {:unexpected_response, any()}} + | {:error, update_channel_placement_group_errors()} + def update_channel_placement_group( + %Client{} = client, + channel_placement_group_id, + cluster_id, + input, + options \\ [] + ) do + url_path = + "/prod/clusters/#{AWS.Util.encode_uri(cluster_id)}/channelplacementgroups/#{AWS.Util.encode_uri(channel_placement_group_id)}" + + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest(client, meta, :put, url_path, query_params, headers, input, options, 200) + end + @doc """ Updates the specified cloudwatch alarm template. """ @@ -9913,6 +11753,23 @@ defmodule AWS.MediaLive do ) end + @doc """ + Change the settings for a Cluster. + """ + @spec update_cluster(map(), String.t(), update_cluster_request(), list()) :: + {:ok, update_cluster_response(), any()} + | {:error, {:unexpected_response, any()}} + | {:error, update_cluster_errors()} + def update_cluster(%Client{} = client, cluster_id, input, options \\ []) do + url_path = "/prod/clusters/#{AWS.Util.encode_uri(cluster_id)}" + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest(client, meta, :put, url_path, query_params, headers, input, options, 200) + end + @doc """ Updates the specified eventbridge rule template. """ @@ -10091,6 +11948,61 @@ defmodule AWS.MediaLive do Request.request_rest(client, meta, :put, url_path, query_params, headers, input, options, 200) end + @doc """ + Change the settings for a Network. + """ + @spec update_network(map(), String.t(), update_network_request(), list()) :: + {:ok, update_network_response(), any()} + | {:error, {:unexpected_response, any()}} + | {:error, update_network_errors()} + def update_network(%Client{} = client, network_id, input, options \\ []) do + url_path = "/prod/networks/#{AWS.Util.encode_uri(network_id)}" + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest(client, meta, :put, url_path, query_params, headers, input, options, 200) + end + + @doc """ + Change the settings for a Node. + """ + @spec update_node(map(), String.t(), String.t(), update_node_request(), list()) :: + {:ok, update_node_response(), any()} + | {:error, {:unexpected_response, any()}} + | {:error, update_node_errors()} + def update_node(%Client{} = client, cluster_id, node_id, input, options \\ []) do + url_path = + "/prod/clusters/#{AWS.Util.encode_uri(cluster_id)}/nodes/#{AWS.Util.encode_uri(node_id)}" + + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest(client, meta, :put, url_path, query_params, headers, input, options, 201) + end + + @doc """ + Update the state of a node. + """ + @spec update_node_state(map(), String.t(), String.t(), update_node_state_request(), list()) :: + {:ok, update_node_state_response(), any()} + | {:error, {:unexpected_response, any()}} + | {:error, update_node_state_errors()} + def update_node_state(%Client{} = client, cluster_id, node_id, input, options \\ []) do + url_path = + "/prod/clusters/#{AWS.Util.encode_uri(cluster_id)}/nodes/#{AWS.Util.encode_uri(node_id)}/state" + + headers = [] + query_params = [] + + meta = metadata() + + Request.request_rest(client, meta, :put, url_path, query_params, headers, input, options, 201) + end + @doc """ Update reservation. """