diff --git a/CHANGELOG.md b/CHANGELOG.md index 5eedb4da859..7bf9b06916f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,27 @@ +Release v1.51.20 (2024-04-11) +=== + +### Service Client Updates +* `service/batch`: Updates service API and documentation + * This release adds the task properties field to attempt details and the name field on EKS container detail. +* `service/cloudfront`: Updates service API and documentation + * CloudFront origin access control extends support to AWS Lambda function URLs and AWS Elemental MediaPackage v2 origins. +* `service/codebuild`: Updates service documentation + * Support access tokens for Bitbucket sources +* `service/iam`: Updates service API and documentation + * For CreateOpenIDConnectProvider API, the ThumbprintList parameter is no longer required. +* `service/medialive`: Updates service API, documentation, waiters, and paginators + * AWS Elemental MediaLive introduces workflow monitor, a new feature that enables the visualization and monitoring of your media workflows. Create signal maps of your existing workflows and monitor them by creating notification and monitoring template groups. +* `service/monitoring`: Updates service API and documentation + * This release adds support for Metric Characteristics for CloudWatch Anomaly Detection. Anomaly Detector now takes Metric Characteristics object with Periodic Spikes boolean field that tells Anomaly Detection that spikes that repeat at the same time every week are part of the expected pattern. +* `service/omics`: Updates service API and documentation +* `service/pipes`: Updates service API +* `service/rds`: Updates service API, documentation, waiters, paginators, and examples + * Updates Amazon RDS documentation for Standard Edition 2 support in RDS Custom for Oracle. +* `service/s3control`: Updates service documentation + * Documentation updates for Amazon S3-control. +* `service/wafv2`: Adds new service + Release v1.51.19 (2024-04-10) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 6e388725038..002261b0d85 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -7044,6 +7044,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -28362,21 +28365,85 @@ var awsPartition = partition{ }: endpoint{ Protocols: []string{"https"}, }, + endpointKey{ + Region: "us-east-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "serverlessrepo-fips.us-east-1.amazonaws.com", + Protocols: []string{"https"}, + }, + endpointKey{ + Region: "us-east-1-fips", + }: endpoint{ + Hostname: "serverlessrepo-fips.us-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "us-east-2", }: endpoint{ Protocols: []string{"https"}, }, + endpointKey{ + Region: "us-east-2", + Variant: fipsVariant, + }: endpoint{ + Hostname: "serverlessrepo-fips.us-east-2.amazonaws.com", + Protocols: []string{"https"}, + }, + endpointKey{ + Region: "us-east-2-fips", + }: endpoint{ + Hostname: "serverlessrepo-fips.us-east-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-2", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "us-west-1", }: endpoint{ Protocols: []string{"https"}, }, + endpointKey{ + Region: "us-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "serverlessrepo-fips.us-west-1.amazonaws.com", + Protocols: []string{"https"}, + }, + endpointKey{ + Region: "us-west-1-fips", + }: endpoint{ + Hostname: "serverlessrepo-fips.us-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "us-west-2", }: endpoint{ Protocols: []string{"https"}, }, + endpointKey{ + Region: "us-west-2", + Variant: fipsVariant, + }: endpoint{ + Hostname: "serverlessrepo-fips.us-west-2.amazonaws.com", + Protocols: []string{"https"}, + }, + endpointKey{ + Region: "us-west-2-fips", + }: endpoint{ + Hostname: "serverlessrepo-fips.us-west-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-2", + }, + Deprecated: boxedTrue, + }, }, }, "servicecatalog": service{ @@ -32908,6 +32975,15 @@ var awsPartition = partition{ }: endpoint{ Hostname: "verifiedpermissions-fips.ca-central-1.amazonaws.com", }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "verifiedpermissions-fips.ca-west-1.amazonaws.com", + }, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -32941,6 +33017,15 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "fips-ca-west-1", + }: endpoint{ + Hostname: "verifiedpermissions-fips.ca-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-west-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "fips-us-east-1", }: endpoint{ @@ -32977,6 +33062,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "il-central-1", + }: endpoint{}, endpointKey{ Region: "me-central-1", }: endpoint{}, @@ -43927,6 +44015,46 @@ var awsusgovPartition = partition{ }, }, }, + "verifiedpermissions": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "fips-us-gov-east-1", + }: endpoint{ + Hostname: "verifiedpermissions-fips.us-gov-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-east-1", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "fips-us-gov-west-1", + }: endpoint{ + Hostname: "verifiedpermissions-fips.us-gov-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-west-1", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "us-gov-east-1", + }: endpoint{}, + endpointKey{ + Region: "us-gov-east-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "verifiedpermissions-fips.us-gov-east-1.amazonaws.com", + }, + endpointKey{ + Region: "us-gov-west-1", + }: endpoint{}, + endpointKey{ + Region: "us-gov-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "verifiedpermissions-fips.us-gov-west-1.amazonaws.com", + }, + }, + }, "waf-regional": service{ Endpoints: serviceEndpoints{ endpointKey{ diff --git a/aws/version.go b/aws/version.go index ce5cc870115..22df29750fe 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.51.19" +const SDKVersion = "1.51.20" diff --git a/models/apis/batch/2016-08-10/api-2.json b/models/apis/batch/2016-08-10/api-2.json index cc6a6feeeb4..f2f8ab83ddc 100644 --- a/models/apis/batch/2016-08-10/api-2.json +++ b/models/apis/batch/2016-08-10/api-2.json @@ -383,13 +383,32 @@ "container":{"shape":"AttemptContainerDetail"}, "startedAt":{"shape":"Long"}, "stoppedAt":{"shape":"Long"}, - "statusReason":{"shape":"String"} + "statusReason":{"shape":"String"}, + "taskProperties":{"shape":"ListAttemptEcsTaskDetails"} } }, "AttemptDetails":{ "type":"list", "member":{"shape":"AttemptDetail"} }, + "AttemptEcsTaskDetails":{ + "type":"structure", + "members":{ + "containerInstanceArn":{"shape":"String"}, + "taskArn":{"shape":"String"}, + "containers":{"shape":"ListAttemptTaskContainerDetails"} + } + }, + "AttemptTaskContainerDetails":{ + "type":"structure", + "members":{ + "exitCode":{"shape":"Integer"}, + "name":{"shape":"String"}, + "reason":{"shape":"String"}, + "logStreamName":{"shape":"String"}, + "networkInterfaces":{"shape":"NetworkInterfaceList"} + } + }, "Boolean":{"type":"boolean"}, "CEState":{ "type":"string", @@ -976,6 +995,7 @@ "EksAttemptContainerDetail":{ "type":"structure", "members":{ + "name":{"shape":"String"}, "exitCode":{"shape":"Integer"}, "reason":{"shape":"String"} } @@ -1540,6 +1560,14 @@ "swappiness":{"shape":"Integer"} } }, + "ListAttemptEcsTaskDetails":{ + "type":"list", + "member":{"shape":"AttemptEcsTaskDetails"} + }, + "ListAttemptTaskContainerDetails":{ + "type":"list", + "member":{"shape":"AttemptTaskContainerDetails"} + }, "ListEcsTaskDetails":{ "type":"list", "member":{"shape":"EcsTaskDetails"} diff --git a/models/apis/batch/2016-08-10/docs-2.json b/models/apis/batch/2016-08-10/docs-2.json index a1ebd1192b9..5ebc39a37fb 100644 --- a/models/apis/batch/2016-08-10/docs-2.json +++ b/models/apis/batch/2016-08-10/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "Batch

Using Batch, you can run batch computing workloads on the Amazon Web Services Cloud. Batch computing is a common means for developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of the batch computing to remove the undifferentiated heavy lifting of configuring and managing required infrastructure. At the same time, it also adopts a familiar batch computing software approach. You can use Batch to efficiently provision resources d, and work toward eliminating capacity constraints, reducing your overall compute costs, and delivering results more quickly.

As a fully managed service, Batch can run batch computing workloads of any scale. Batch automatically provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific workloads. With Batch, there's no need to install or manage batch computing software. This means that you can focus on analyzing results and solving your specific problems instead.

", + "service": "Batch

Using Batch, you can run batch computing workloads on the Amazon Web Services Cloud. Batch computing is a common means for developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of the batch computing to remove the undifferentiated heavy lifting of configuring and managing required infrastructure. At the same time, it also adopts a familiar batch computing software approach. You can use Batch to efficiently provision resources, and work toward eliminating capacity constraints, reducing your overall compute costs, and delivering results more quickly.

As a fully managed service, Batch can run batch computing workloads of any scale. Batch automatically provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific workloads. With Batch, there's no need to install or manage batch computing software. This means that you can focus on analyzing results and solving your specific problems instead.

", "operations": { "CancelJob": "

Cancels a job in an Batch job queue. Jobs that are in the SUBMITTED or PENDING are canceled. A job inRUNNABLE remains in RUNNABLE until it reaches the head of the job queue. Then the job status is updated to FAILED.

A PENDING job is canceled after all dependency jobs are completed. Therefore, it may take longer than expected to cancel a job in PENDING status.

When you try to cancel an array parent job in PENDING, Batch attempts to cancel all child jobs. The array parent job is canceled when all child jobs are completed.

Jobs that progressed to the STARTING or RUNNING state aren't canceled. However, the API operation still succeeds, even if no job is canceled. These jobs must be terminated with the TerminateJob operation.

", "CreateComputeEnvironment": "

Creates an Batch compute environment. You can create MANAGED or UNMANAGED compute environments. MANAGED compute environments can use Amazon EC2 or Fargate resources. UNMANAGED compute environments can only use EC2 resources.

In a managed compute environment, Batch manages the capacity and instance types of the compute resources within the environment. This is based on the compute resource specification that you define or the launch template that you specify when you create the compute environment. Either, you can choose to use EC2 On-Demand Instances and EC2 Spot Instances. Or, you can use Fargate and Fargate Spot capacity in your managed compute environment. You can optionally set a maximum price so that Spot Instances only launch when the Spot Instance price is less than a specified percentage of the On-Demand price.

Multi-node parallel jobs aren't supported on Spot Instances.

In an unmanaged compute environment, you can manage your own EC2 compute resources and have flexibility with how you configure your compute resources. For example, you can use custom AMIs. However, you must verify that each of your AMIs meet the Amazon ECS container instance AMI specification. For more information, see container instance AMIs in the Amazon Elastic Container Service Developer Guide. After you created your unmanaged compute environment, you can use the DescribeComputeEnvironments operation to find the Amazon ECS cluster that's associated with it. Then, launch your container instances into that Amazon ECS cluster. For more information, see Launching an Amazon ECS container instance in the Amazon Elastic Container Service Developer Guide.

To create a compute environment that uses EKS resources, the caller must have permissions to call eks:DescribeCluster.

Batch doesn't automatically upgrade the AMIs in a compute environment after it's created. For example, it also doesn't update the AMIs in your compute environment when a newer version of the Amazon ECS optimized AMI is available. You're responsible for the management of the guest operating system. This includes any updates and security patches. You're also responsible for any additional application software or utilities that you install on the compute resources. There are two ways to use a new AMI for your Batch jobs. The original method is to complete these steps:

  1. Create a new compute environment with the new AMI.

  2. Add the compute environment to an existing job queue.

  3. Remove the earlier compute environment from your job queue.

  4. Delete the earlier compute environment.

In April 2022, Batch added enhanced support for updating compute environments. For more information, see Updating compute environments. To use the enhanced updating of compute environments to update AMIs, follow these rules:

If these rules are followed, any update that starts an infrastructure update causes the AMI ID to be re-selected. If the version setting in the launch template (launchTemplate) is set to $Latest or $Default, the latest or default version of the launch template is evaluated up at the time of the infrastructure update, even if the launchTemplate wasn't updated.

", @@ -82,6 +82,18 @@ "JobDetail$attempts": "

A list of job attempts that are associated with this job.

" } }, + "AttemptEcsTaskDetails": { + "base": "

An object that represents the details of a task.

", + "refs": { + "ListAttemptEcsTaskDetails$member": null + } + }, + "AttemptTaskContainerDetails": { + "base": "

An object that represents the details of a container that's part of a job attempt.

", + "refs": { + "ListAttemptTaskContainerDetails$member": null + } + }, "Boolean": { "base": null, "refs": { @@ -727,7 +739,7 @@ } }, "ImagePullSecret": { - "base": "

References a Kubernetes configuration resource that holds a list of secrets. These secrets help to gain access to pull an image from a private registry.

", + "base": "

References a Kubernetes secret resource. This name of the secret must start and end with an alphanumeric character, is required to be lowercase, can include periods (.) and hyphens (-), and can't contain more than 253 characters.

", "refs": { "ImagePullSecrets$member": null } @@ -735,8 +747,8 @@ "ImagePullSecrets": { "base": null, "refs": { - "EksPodProperties$imagePullSecrets": "

References a Kubernetes secret resource. This object must start and end with an alphanumeric character, is required to be lowercase, can include periods (.) and hyphens (-), and can't contain more than 253 characters.

ImagePullSecret$name is required when this object is used.

", - "EksPodPropertiesDetail$imagePullSecrets": "

Displays the reference pointer to the Kubernetes secret resource.

" + "EksPodProperties$imagePullSecrets": "

References a Kubernetes secret resource. It holds a list of secrets. These secrets help to gain access to pull an images from a private registry.

ImagePullSecret$name is required when this object is used.

", + "EksPodPropertiesDetail$imagePullSecrets": "

Displays the reference pointer to the Kubernetes secret resource. These secrets help to gain access to pull an images from a private registry.

" } }, "ImageType": { @@ -755,6 +767,7 @@ "ArrayPropertiesSummary$size": "

The size of the array job. This parameter is returned for parent array jobs.

", "ArrayPropertiesSummary$index": "

The job index within the array that's associated with this job. This parameter is returned for children of array jobs.

", "AttemptContainerDetail$exitCode": "

The exit code for the job attempt. A non-zero exit code is considered failed.

", + "AttemptTaskContainerDetails$exitCode": "

The exit code for the container’s attempt. A non-zero exit code is considered failed.

", "ComputeEnvironmentDetail$unmanagedvCpus": "

The maximum number of VCPUs expected to be used for an unmanaged compute environment.

", "ComputeEnvironmentOrder$order": "

The order of the compute environment. Compute environments are tried in ascending order. For example, if two compute environments are associated with a job queue, the compute environment with a lower order integer value is tried for job placement first.

", "ComputeResource$minvCpus": "

The minimum number of vCPUs that a compute environment should maintain (even if the compute environment is DISABLED).

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.

", @@ -905,13 +918,13 @@ "JobStateTimeLimitActionsAction": { "base": null, "refs": { - "JobStateTimeLimitAction$action": "

The action to take when a job is at the head of the job queue in the specified state for the specified period of time. The only supported value is \"CANCEL\", which will cancel the job.

" + "JobStateTimeLimitAction$action": "

The action to take when a job is at the head of the job queue in the specified state for the specified period of time. The only supported value is CANCEL, which will cancel the job.

" } }, "JobStateTimeLimitActionsState": { "base": null, "refs": { - "JobStateTimeLimitAction$state": "

The state of the job needed to trigger the action. The only supported value is \"RUNNABLE\".

" + "JobStateTimeLimitAction$state": "

The state of the job needed to trigger the action. The only supported value is RUNNABLE.

" } }, "JobStatus": { @@ -977,6 +990,18 @@ "TaskContainerProperties$linuxParameters": "

Linux-specific modifications that are applied to the container, such as Linux kernel capabilities. For more information, see KernelCapabilities.

" } }, + "ListAttemptEcsTaskDetails": { + "base": null, + "refs": { + "AttemptDetail$taskProperties": "

The properties for a task definition that describes the container and volume definitions of an Amazon ECS task.

" + } + }, + "ListAttemptTaskContainerDetails": { + "base": null, + "refs": { + "AttemptEcsTaskDetails$containers": "

A list of containers that are included in the taskProperties list.

" + } + }, "ListEcsTaskDetails": { "base": null, "refs": { @@ -1121,6 +1146,7 @@ "base": null, "refs": { "AttemptContainerDetail$networkInterfaces": "

The network interfaces that are associated with the job attempt.

", + "AttemptTaskContainerDetails$networkInterfaces": "

The network interfaces that are associated with the job attempt.

", "ContainerDetail$networkInterfaces": "

The network interfaces that are associated with the job.

", "TaskContainerDetails$networkInterfaces": "

The network interfaces that are associated with the job.

" } @@ -1345,6 +1371,11 @@ "AttemptContainerDetail$reason": "

A short (255 max characters) human-readable string to provide additional details for a running or stopped container.

", "AttemptContainerDetail$logStreamName": "

The name of the CloudWatch Logs log stream that's associated with the container. The log group for Batch jobs is /aws/batch/job. Each container attempt receives a log stream name when they reach the RUNNING status.

", "AttemptDetail$statusReason": "

A short, human-readable string to provide additional details for the current status of the job attempt.

", + "AttemptEcsTaskDetails$containerInstanceArn": "

The Amazon Resource Name (ARN) of the container instance that hosts the task.

", + "AttemptEcsTaskDetails$taskArn": "

The ARN of the Amazon ECS task.

", + "AttemptTaskContainerDetails$name": "

The name of a container.

", + "AttemptTaskContainerDetails$reason": "

A short (255 max characters) string that's easy to understand and provides additional details for a running or stopped container.

", + "AttemptTaskContainerDetails$logStreamName": "

The name of the Amazon CloudWatch Logs log stream that's associated with the container. The log group for Batch jobs is /aws/batch/job. Each container attempt receives a log stream name when they reach the RUNNING status.

", "CancelJobRequest$jobId": "

The Batch job ID of the job to cancel.

", "CancelJobRequest$reason": "

A message to attach to the job that explains the reason for canceling it. This message is returned by future DescribeJobs operations on the job. This message is also recorded in the Batch activity logs.

", "ClientException$message": null, @@ -1420,6 +1451,7 @@ "EcsTaskProperties$ipcMode": "

The IPC resource namespace to use for the containers in the task. The valid values are host, task, or none.

If host is specified, all containers within the tasks that specified the host IPC mode on the same container instance share the same IPC resources with the host Amazon EC2 instance.

If task is specified, all containers within the specified task share the same IPC resources.

If none is specified, the IPC resources within the containers of a task are private, and are not shared with other containers in a task or on the container instance.

If no value is specified, then the IPC resource namespace sharing depends on the Docker daemon setting on the container instance. For more information, see IPC settings in the Docker run reference.

", "EcsTaskProperties$taskRoleArn": "

The Amazon Resource Name (ARN) that's associated with the Amazon ECS task.

This is object is comparable to ContainerProperties:jobRoleArn.

", "EcsTaskProperties$pidMode": "

The process namespace to use for the containers in the task. The valid values are host or task. For example, monitoring sidecars might need pidMode to access information about other containers running in the same task.

If host is specified, all containers within the tasks that specified the host PID mode on the same container instance share the process namespace with the host Amazon EC2 instance.

If task is specified, all containers within the specified task share the same process namespace.

If no value is specified, the default is a private namespace for each container. For more information, see PID settings in the Docker run reference.

", + "EksAttemptContainerDetail$name": "

The name of a container.

", "EksAttemptContainerDetail$reason": "

A short (255 max characters) human-readable string to provide additional details for a running or stopped container.

", "EksAttemptDetail$podName": "

The name of the pod for this job attempt.

", "EksAttemptDetail$nodeName": "

The name of the node for this job attempt.

", diff --git a/models/apis/cloudfront/2020-05-31/api-2.json b/models/apis/cloudfront/2020-05-31/api-2.json index d4fc296ad33..ac315d2a380 100644 --- a/models/apis/cloudfront/2020-05-31/api-2.json +++ b/models/apis/cloudfront/2020-05-31/api-2.json @@ -432,7 +432,8 @@ {"shape":"EntityLimitExceeded"}, {"shape":"EntityAlreadyExists"}, {"shape":"EntitySizeLimitExceeded"}, - {"shape":"InvalidArgument"} + {"shape":"InvalidArgument"}, + {"shape":"UnsupportedOperation"} ] }, "CreateMonitoringSubscription":{ @@ -733,7 +734,8 @@ {"shape":"InvalidIfMatchVersion"}, {"shape":"EntityNotFound"}, {"shape":"CannotDeleteEntityWhileInUse"}, - {"shape":"PreconditionFailed"} + {"shape":"PreconditionFailed"}, + {"shape":"UnsupportedOperation"} ], "idempotent":true }, @@ -877,7 +879,8 @@ "errors":[ {"shape":"AccessDenied"}, {"shape":"InvalidArgument"}, - {"shape":"EntityNotFound"} + {"shape":"EntityNotFound"}, + {"shape":"UnsupportedOperation"} ] }, "GetCachePolicy":{ @@ -1473,7 +1476,8 @@ "output":{"shape":"ListKeyValueStoresResult"}, "errors":[ {"shape":"AccessDenied"}, - {"shape":"InvalidArgument"} + {"shape":"InvalidArgument"}, + {"shape":"UnsupportedOperation"} ] }, "ListOriginAccessControls":{ @@ -1943,7 +1947,8 @@ {"shape":"InvalidArgument"}, {"shape":"EntityNotFound"}, {"shape":"InvalidIfMatchVersion"}, - {"shape":"PreconditionFailed"} + {"shape":"PreconditionFailed"}, + {"shape":"UnsupportedOperation"} ], "idempotent":true }, @@ -6400,7 +6405,9 @@ "type":"string", "enum":[ "s3", - "mediastore" + "mediastore", + "mediapackagev2", + "lambda" ] }, "OriginAccessControlSigningBehaviors":{ diff --git a/models/apis/cloudfront/2020-05-31/docs-2.json b/models/apis/cloudfront/2020-05-31/docs-2.json index b625d94fcf6..dad0061492d 100644 --- a/models/apis/cloudfront/2020-05-31/docs-2.json +++ b/models/apis/cloudfront/2020-05-31/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "Amazon CloudFront

This is the Amazon CloudFront API Reference. This guide is for developers who need detailed information about CloudFront API actions, data types, and errors. For detailed information about CloudFront features, see the Amazon CloudFront Developer Guide.

", + "service": "Amazon CloudFront

This is the Amazon CloudFront API Reference. This guide is for developers who need detailed information about CloudFront API actions, data types, and errors. For detailed information about CloudFront features, see the Amazon CloudFront Developer Guide.

", "operations": { "AssociateAlias": "

Associates an alias (also known as a CNAME or an alternate domain name) with a CloudFront distribution.

With this operation you can move an alias that's already in use on a CloudFront distribution to a different distribution in one step. This prevents the downtime that could occur if you first remove the alias from one distribution and then separately add the alias to another distribution.

To use this operation to associate an alias with a distribution, you provide the alias and the ID of the target distribution for the alias. For more information, including how to set up the target distribution, prerequisites that you must complete, and other restrictions, see Moving an alternate domain name to a different distribution in the Amazon CloudFront Developer Guide.

", "CopyDistribution": "

Creates a staging distribution using the configuration of the provided primary distribution. A staging distribution is a copy of an existing distribution (called the primary distribution) that you can use in a continuous deployment workflow.

After you create a staging distribution, you can use UpdateDistribution to modify the staging distribution's configuration. Then you can use CreateContinuousDeploymentPolicy to incrementally move traffic to the staging distribution.

This API operation requires the following IAM permissions:

", @@ -12,9 +12,9 @@ "CreateFieldLevelEncryptionConfig": "

Create a new field-level encryption configuration.

", "CreateFieldLevelEncryptionProfile": "

Create a field-level encryption profile.

", "CreateFunction": "

Creates a CloudFront function.

To create a function, you provide the function code and some configuration information about the function. The response contains an Amazon Resource Name (ARN) that uniquely identifies the function.

When you create a function, it's in the DEVELOPMENT stage. In this stage, you can test the function with TestFunction, and update it with UpdateFunction.

When you're ready to use your function with a CloudFront distribution, use PublishFunction to copy the function from the DEVELOPMENT stage to LIVE. When it's live, you can attach the function to a distribution's cache behavior, using the function's ARN.

", - "CreateInvalidation": "

Create a new invalidation.

", + "CreateInvalidation": "

Create a new invalidation. For more information, see Invalidating files in the Amazon CloudFront Developer Guide.

", "CreateKeyGroup": "

Creates a key group that you can use with CloudFront signed URLs and signed cookies.

To create a key group, you must specify at least one public key for the key group. After you create a key group, you can reference it from one or more cache behaviors. When you reference a key group in a cache behavior, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with a private key whose corresponding public key is in the key group. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.

", - "CreateKeyValueStore": "

Specifies the Key Value Store resource to add to your account. In your account, the Key Value Store names must be unique. You can also import Key Value Store data in JSON format from an S3 bucket by providing a valid ImportSource that you own.

", + "CreateKeyValueStore": "

Specifies the key value store resource to add to your account. In your account, the key value store names must be unique. You can also import key value store data in JSON format from an S3 bucket by providing a valid ImportSource that you own.

", "CreateMonitoringSubscription": "

Enables additional CloudWatch metrics for the specified CloudFront distribution. The additional metrics incur an additional cost.

For more information, see Viewing additional CloudFront distribution metrics in the Amazon CloudFront Developer Guide.

", "CreateOriginAccessControl": "

Creates a new origin access control in CloudFront. After you create an origin access control, you can add it to an origin in a CloudFront distribution so that CloudFront sends authenticated (signed) requests to the origin.

This makes it possible to block public access to the origin, allowing viewers (users) to access the origin's content only through CloudFront.

For more information about using a CloudFront origin access control, see Restricting access to an Amazon Web Services origin in the Amazon CloudFront Developer Guide.

", "CreateOriginRequestPolicy": "

Creates an origin request policy.

After you create an origin request policy, you can attach it to one or more cache behaviors. When it's attached to a cache behavior, the origin request policy determines the values that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends to the origin includes the following:

CloudFront sends a request when it can't find a valid object in its cache that matches the request. If you want to send values to the origin and also include them in the cache key, use CachePolicy.

For more information about origin request policies, see Controlling origin requests in the Amazon CloudFront Developer Guide.

", @@ -31,7 +31,7 @@ "DeleteFieldLevelEncryptionProfile": "

Remove a field-level encryption profile.

", "DeleteFunction": "

Deletes a CloudFront function.

You cannot delete a function if it's associated with a cache behavior. First, update your distributions to remove the function association from all cache behaviors, then delete the function.

To delete a function, you must provide the function's name and version (ETag value). To get these values, you can use ListFunctions and DescribeFunction.

", "DeleteKeyGroup": "

Deletes a key group.

You cannot delete a key group that is referenced in a cache behavior. First update your distributions to remove the key group from all cache behaviors, then delete the key group.

To delete a key group, you must provide the key group's identifier and version. To get these values, use ListKeyGroups followed by GetKeyGroup or GetKeyGroupConfig.

", - "DeleteKeyValueStore": "

Specifies the Key Value Store to delete.

", + "DeleteKeyValueStore": "

Specifies the key value store to delete.

", "DeleteMonitoringSubscription": "

Disables additional CloudWatch metrics for the specified CloudFront distribution.

", "DeleteOriginAccessControl": "

Deletes a CloudFront origin access control.

You cannot delete an origin access control if it's in use. First, update all distributions to remove the origin access control from all origins, then delete the origin access control.

", "DeleteOriginRequestPolicy": "

Deletes an origin request policy.

You cannot delete an origin request policy if it's attached to any cache behaviors. First update your distributions to remove the origin request policy from all cache behaviors, then delete the origin request policy.

To delete an origin request policy, you must provide the policy's identifier and version. To get the identifier, you can use ListOriginRequestPolicies or GetOriginRequestPolicy.

", @@ -40,7 +40,7 @@ "DeleteResponseHeadersPolicy": "

Deletes a response headers policy.

You cannot delete a response headers policy if it's attached to a cache behavior. First update your distributions to remove the response headers policy from all cache behaviors, then delete the response headers policy.

To delete a response headers policy, you must provide the policy's identifier and version. To get these values, you can use ListResponseHeadersPolicies or GetResponseHeadersPolicy.

", "DeleteStreamingDistribution": "

Delete a streaming distribution. To delete an RTMP distribution using the CloudFront API, perform the following steps.

To delete an RTMP distribution using the CloudFront API:

  1. Disable the RTMP distribution.

  2. Submit a GET Streaming Distribution Config request to get the current configuration and the Etag header for the distribution.

  3. Update the XML document that was returned in the response to your GET Streaming Distribution Config request to change the value of Enabled to false.

  4. Submit a PUT Streaming Distribution Config request to update the configuration for your distribution. In the request body, include the XML document that you updated in Step 3. Then set the value of the HTTP If-Match header to the value of the ETag header that CloudFront returned when you submitted the GET Streaming Distribution Config request in Step 2.

  5. Review the response to the PUT Streaming Distribution Config request to confirm that the distribution was successfully disabled.

  6. Submit a GET Streaming Distribution Config request to confirm that your changes have propagated. When propagation is complete, the value of Status is Deployed.

  7. Submit a DELETE Streaming Distribution request. Set the value of the HTTP If-Match header to the value of the ETag header that CloudFront returned when you submitted the GET Streaming Distribution Config request in Step 2.

  8. Review the response to your DELETE Streaming Distribution request to confirm that the distribution was successfully deleted.

For information about deleting a distribution using the CloudFront console, see Deleting a Distribution in the Amazon CloudFront Developer Guide.

", "DescribeFunction": "

Gets configuration information and metadata about a CloudFront function, but not the function's code. To get a function's code, use GetFunction.

To get configuration information and metadata about a function, you must provide the function's name and stage. To get these values, you can use ListFunctions.

", - "DescribeKeyValueStore": "

Specifies the Key Value Store and its configuration.

", + "DescribeKeyValueStore": "

Specifies the key value store and its configuration.

", "GetCachePolicy": "

Gets a cache policy, including the following metadata:

To get a cache policy, you must provide the policy's identifier. If the cache policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the cache policy is not attached to a cache behavior, you can get the identifier using ListCachePolicies.

", "GetCachePolicyConfig": "

Gets a cache policy configuration.

To get a cache policy configuration, you must provide the policy's identifier. If the cache policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the cache policy is not attached to a cache behavior, you can get the identifier using ListCachePolicies.

", "GetCloudFrontOriginAccessIdentity": "

Get the information about an origin access identity.

", @@ -85,7 +85,7 @@ "ListFunctions": "

Gets a list of all CloudFront functions in your Amazon Web Services account.

You can optionally apply a filter to return only the functions that are in the specified stage, either DEVELOPMENT or LIVE.

You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.

", "ListInvalidations": "

Lists invalidation batches.

", "ListKeyGroups": "

Gets a list of key groups.

You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.

", - "ListKeyValueStores": "

Specifies the Key Value Stores to list.

", + "ListKeyValueStores": "

Specifies the key value stores to list.

", "ListOriginAccessControls": "

Gets the list of CloudFront origin access controls in this Amazon Web Services account.

You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send another request that specifies the NextMarker value from the current response as the Marker value in the next request.

", "ListOriginRequestPolicies": "

Gets a list of origin request policies.

You can optionally apply a filter to return only the managed policies created by Amazon Web Services, or only the custom policies created in your Amazon Web Services account.

You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.

", "ListPublicKeys": "

List all public keys that have been added to CloudFront for this account.

", @@ -106,7 +106,7 @@ "UpdateFieldLevelEncryptionProfile": "

Update a field-level encryption profile.

", "UpdateFunction": "

Updates a CloudFront function.

You can update a function's code or the comment that describes the function. You cannot update a function's name.

To update a function, you provide the function's name and version (ETag value) along with the updated function code. To get the name and version, you can use ListFunctions and DescribeFunction.

", "UpdateKeyGroup": "

Updates a key group.

When you update a key group, all the fields are updated with the values provided in the request. You cannot update some fields independent of others. To update a key group:

  1. Get the current key group with GetKeyGroup or GetKeyGroupConfig.

  2. Locally modify the fields in the key group that you want to update. For example, add or remove public key IDs.

  3. Call UpdateKeyGroup with the entire key group object, including the fields that you modified and those that you didn't.

", - "UpdateKeyValueStore": "

Specifies the Key Value Store to update.

", + "UpdateKeyValueStore": "

Specifies the key value store to update.

", "UpdateOriginAccessControl": "

Updates a CloudFront origin access control.

", "UpdateOriginRequestPolicy": "

Updates an origin request policy configuration.

When you update an origin request policy configuration, all the fields are updated with the values provided in the request. You cannot update some fields independent of others. To update an origin request policy configuration:

  1. Use GetOriginRequestPolicyConfig to get the current configuration.

  2. Locally modify the fields in the origin request policy configuration that you want to update.

  3. Call UpdateOriginRequestPolicy by providing the entire origin request policy configuration, including the fields that you modified and those that you didn't.

", "UpdatePublicKey": "

Update public key information. Note that the only value you can change is the comment.

", @@ -214,7 +214,7 @@ } }, "CacheBehavior": { - "base": "

A complex type that describes how CloudFront processes requests.

You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to serve objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin is never used.

For the current quota (formerly known as limit) on the number of cache behaviors that you can add to a distribution, see Quotas in the Amazon CloudFront Developer Guide.

If you don't want to specify any cache behaviors, include only an empty CacheBehaviors element. Don't include an empty CacheBehavior element because this is invalid.

To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element.

To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.

For more information about cache behaviors, see Cache Behavior Settings in the Amazon CloudFront Developer Guide.

", + "base": "

A complex type that describes how CloudFront processes requests.

You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to serve objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin is never used.

For the current quota (formerly known as limit) on the number of cache behaviors that you can add to a distribution, see Quotas in the Amazon CloudFront Developer Guide.

If you don't want to specify any cache behaviors, include only an empty CacheBehaviors element. For more information, see CacheBehaviors. Don't include an empty CacheBehavior element because this is invalid.

To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element.

To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.

For more information about cache behaviors, see Cache Behavior Settings in the Amazon CloudFront Developer Guide.

", "refs": { "CacheBehaviorList$member": null } @@ -333,7 +333,7 @@ } }, "CannotDeleteEntityWhileInUse": { - "base": "

The Key Value Store entity cannot be deleted while it is in use.

", + "base": "

The key value store entity cannot be deleted while it is in use.

", "refs": { } }, @@ -970,22 +970,22 @@ } }, "EntityAlreadyExists": { - "base": "

The Key Value Store entity already exists. You must provide a unique Key Value Store entity.

", + "base": "

The key value store entity already exists. You must provide a unique key value store entity.

", "refs": { } }, "EntityLimitExceeded": { - "base": "

The Key Value Store entity limit has been exceeded.

", + "base": "

The key value store entity limit has been exceeded.

", "refs": { } }, "EntityNotFound": { - "base": "

The Key Value Store entity was not found.

", + "base": "

The key value store entity was not found.

", "refs": { } }, "EntitySizeLimitExceeded": { - "base": "

The Key Value Store entity size limit was exceeded.

", + "base": "

The key value store entity size limit was exceeded.

", "refs": { } }, @@ -1150,14 +1150,14 @@ "FunctionAssociationList": { "base": null, "refs": { - "FunctionAssociations$Items": "

The CloudFront functions that are associated with a cache behavior in a CloudFront distribution. CloudFront functions must be published to the LIVE stage to associate them with a cache behavior.

" + "FunctionAssociations$Items": "

The CloudFront functions that are associated with a cache behavior in a CloudFront distribution. Your functions must be published to the LIVE stage to associate them with a cache behavior.

" } }, "FunctionAssociations": { - "base": "

A list of CloudFront functions that are associated with a cache behavior in a CloudFront distribution. CloudFront functions must be published to the LIVE stage to associate them with a cache behavior.

", + "base": "

A list of CloudFront functions that are associated with a cache behavior in a CloudFront distribution. Your functions must be published to the LIVE stage to associate them with a cache behavior.

", "refs": { "CacheBehavior$FunctionAssociations": "

A list of CloudFront functions that are associated with this cache behavior. CloudFront functions must be published to the LIVE stage to associate them with a cache behavior.

", - "DefaultCacheBehavior$FunctionAssociations": "

A list of CloudFront functions that are associated with this cache behavior. CloudFront functions must be published to the LIVE stage to associate them with a cache behavior.

" + "DefaultCacheBehavior$FunctionAssociations": "

A list of CloudFront functions that are associated with this cache behavior. Your functions must be published to the LIVE stage to associate them with a cache behavior.

" } }, "FunctionBlob": { @@ -1559,7 +1559,7 @@ "HttpVersion": { "base": null, "refs": { - "DistributionConfig$HttpVersion": "

(Optional) Specify the maximum HTTP version(s) that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP/2 automatically use an earlier HTTP version.

For viewers and CloudFront to use HTTP/2, viewers must support TLSv1.2 or later, and must support Server Name Indication (SNI).

For viewers and CloudFront to use HTTP/3, viewers must support TLSv1.3 and Server Name Indication (SNI). CloudFront supports HTTP/3 connection migration to allow the viewer to switch networks without losing connection. For more information about connection migration, see Connection Migration at RFC 9000. For more information about supported TLSv1.3 ciphers, see Supported protocols and ciphers between viewers and CloudFront.

", + "DistributionConfig$HttpVersion": "

(Optional) Specify the HTTP version(s) that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP/2 automatically use an earlier HTTP version.

For viewers and CloudFront to use HTTP/2, viewers must support TLSv1.2 or later, and must support Server Name Indication (SNI).

For viewers and CloudFront to use HTTP/3, viewers must support TLSv1.3 and Server Name Indication (SNI). CloudFront supports HTTP/3 connection migration to allow the viewer to switch networks without losing connection. For more information about connection migration, see Connection Migration at RFC 9000. For more information about supported TLSv1.3 ciphers, see Supported protocols and ciphers between viewers and CloudFront.

", "DistributionSummary$HttpVersion": "

Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP/2 will automatically use an earlier version.

" } }, @@ -1590,7 +1590,7 @@ } }, "ImportSource": { - "base": "

The import source for the Key Value Store.

", + "base": "

The import source for the key value store.

", "refs": { "CreateKeyValueStoreRequest$ImportSource": "

The S3 bucket that provides the source for the import. The source must be in a valid JSON format.

" } @@ -1598,7 +1598,7 @@ "ImportSourceType": { "base": null, "refs": { - "ImportSource$SourceType": "

The source type of the import source for the Key Value Store.

" + "ImportSource$SourceType": "

The source type of the import source for the key value store.

" } }, "InconsistentQuantities": { @@ -1841,22 +1841,22 @@ } }, "KeyValueStore": { - "base": "

The Key Value Store. Use this to separate data from function code, allowing you to update data without having to publish a new version of a function. The Key Value Store holds keys and their corresponding values.

", + "base": "

The key value store. Use this to separate data from function code, allowing you to update data without having to publish a new version of a function. The key value store holds keys and their corresponding values.

", "refs": { - "CreateKeyValueStoreResult$KeyValueStore": "

The resulting Key Value Store.

", - "DescribeKeyValueStoreResult$KeyValueStore": "

The resulting Key Value Store.

", + "CreateKeyValueStoreResult$KeyValueStore": "

The resulting key value store.

", + "DescribeKeyValueStoreResult$KeyValueStore": "

The resulting key value store.

", "KeyValueStoreSummaryList$member": null, - "UpdateKeyValueStoreResult$KeyValueStore": "

The resulting Key Value Store to update.

" + "UpdateKeyValueStoreResult$KeyValueStore": "

The resulting key value store to update.

" } }, "KeyValueStoreARN": { "base": null, "refs": { - "KeyValueStoreAssociation$KeyValueStoreARN": "

The Amazon Resource Name (ARN) of the Key Value Store association.

" + "KeyValueStoreAssociation$KeyValueStoreARN": "

The Amazon Resource Name (ARN) of the key value store association.

" } }, "KeyValueStoreAssociation": { - "base": "

The Key Value Store association.

", + "base": "

The key value store association.

", "refs": { "KeyValueStoreAssociationList$member": null } @@ -1864,41 +1864,41 @@ "KeyValueStoreAssociationList": { "base": null, "refs": { - "KeyValueStoreAssociations$Items": "

The items of the Key Value Store association.

" + "KeyValueStoreAssociations$Items": "

The items of the key value store association.

" } }, "KeyValueStoreAssociations": { - "base": "

The Key Value Store associations.

", + "base": "

The key value store associations.

", "refs": { - "FunctionConfig$KeyValueStoreAssociations": "

The configuration for the Key Value Store associations.

" + "FunctionConfig$KeyValueStoreAssociations": "

The configuration for the key value store associations.

" } }, "KeyValueStoreComment": { "base": null, "refs": { - "CreateKeyValueStoreRequest$Comment": "

The comment of the Key Value Store.

", - "UpdateKeyValueStoreRequest$Comment": "

The comment of the Key Value Store to update.

" + "CreateKeyValueStoreRequest$Comment": "

The comment of the key value store.

", + "UpdateKeyValueStoreRequest$Comment": "

The comment of the key value store to update.

" } }, "KeyValueStoreList": { - "base": "

The Key Value Store list.

", + "base": "

The key value store list.

", "refs": { - "ListKeyValueStoresResult$KeyValueStoreList": "

The resulting Key Value Stores list.

" + "ListKeyValueStoresResult$KeyValueStoreList": "

The resulting key value stores list.

" } }, "KeyValueStoreName": { "base": null, "refs": { - "CreateKeyValueStoreRequest$Name": "

The name of the Key Value Store. The maximum length of the name is 32 characters.

", - "DeleteKeyValueStoreRequest$Name": "

The name of the Key Value Store.

", - "DescribeKeyValueStoreRequest$Name": "

The name of the Key Value Store.

", - "UpdateKeyValueStoreRequest$Name": "

The name of the Key Value Store to update.

" + "CreateKeyValueStoreRequest$Name": "

The name of the key value store. The minimum length is 1 character and the maximum length is 64 characters.

", + "DeleteKeyValueStoreRequest$Name": "

The name of the key value store.

", + "DescribeKeyValueStoreRequest$Name": "

The name of the key value store.

", + "UpdateKeyValueStoreRequest$Name": "

The name of the key value store to update.

" } }, "KeyValueStoreSummaryList": { "base": null, "refs": { - "KeyValueStoreList$Items": "

The items of the Key Value Store list.

" + "KeyValueStoreList$Items": "

The items of the key value store list.

" } }, "KinesisStreamConfig": { @@ -2919,7 +2919,7 @@ "ResponseHeadersPolicyStrictTransportSecurity": { "base": "

Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and the header's value.

For more information about the Strict-Transport-Security HTTP response header, see Strict-Transport-Security in the MDN Web Docs.

", "refs": { - "ResponseHeadersPolicySecurityHeadersConfig$StrictTransportSecurity": "

Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and the header's value.

For more information about the Strict-Transport-Security HTTP response header, see Strict-Transport-Security in the MDN Web Docs.

" + "ResponseHeadersPolicySecurityHeadersConfig$StrictTransportSecurity": "

Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and the header's value.

For more information about the Strict-Transport-Security HTTP response header, see Security headers in the Amazon CloudFront Developer Guide and Strict-Transport-Security in the MDN Web Docs.

" } }, "ResponseHeadersPolicySummary": { @@ -3678,7 +3678,7 @@ "DistributionList$IsTruncated": "

A flag that indicates whether more distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.

", "DistributionSummary$Enabled": "

Whether the distribution is enabled to accept user requests for content.

", "DistributionSummary$IsIPV6Enabled": "

Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.

", - "DistributionSummary$Staging": "

Whether the primary distribution has a staging distribution enabled.

", + "DistributionSummary$Staging": "

A Boolean that indicates whether this is a staging distribution. When this value is true, this is a staging distribution. When this value is false, this is not a staging distribution.

", "ForwardedValues$QueryString": "

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include query strings in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

If you want to send query strings to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior and cache based on the query string parameters. CloudFront behavior depends on the value of QueryString and on the values that you specify for QueryStringCacheKeys, if any:

If you specify true for QueryString and you don't specify any values for QueryStringCacheKeys, CloudFront forwards all query string parameters to the origin and caches based on all query string parameters. Depending on how many query string parameters and values you have, this can adversely affect performance because CloudFront must forward more requests to the origin.

If you specify true for QueryString and you specify one or more values for QueryStringCacheKeys, CloudFront forwards all query string parameters to the origin, but it only caches based on the query string parameters that you specify.

If you specify false for QueryString, CloudFront doesn't forward any query string parameters to the origin, and doesn't cache based on query string parameters.

For more information, see Configuring CloudFront to Cache Based on Query String Parameters in the Amazon CloudFront Developer Guide.

", "InvalidationList$IsTruncated": "

A flag that indicates whether more invalidation batch requests remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more invalidation batches in the list.

", "LambdaFunctionAssociation$IncludeBody": "

A flag that allows a Lambda@Edge function to have read access to the body content. For more information, see Accessing the Request Body by Choosing the Include Body Option in the Amazon CloudFront Developer Guide.

", @@ -3722,7 +3722,7 @@ "float": { "base": null, "refs": { - "ContinuousDeploymentSingleWeightConfig$Weight": "

The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and .15.

" + "ContinuousDeploymentSingleWeightConfig$Weight": "

The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and 0.15. For example, a value of 0.10 means 10% of traffic is sent to the staging distribution.

" } }, "integer": { @@ -3772,9 +3772,9 @@ "KeyGroupList$MaxItems": "

The maximum number of key groups requested.

", "KeyGroupList$Quantity": "

The number of key groups returned in the response.

", "KeyPairIds$Quantity": "

The number of key pair identifiers in the list.

", - "KeyValueStoreAssociations$Quantity": "

The quantity of Key Value Store associations.

", - "KeyValueStoreList$MaxItems": "

The maximum number of items in the Key Value Store list.

", - "KeyValueStoreList$Quantity": "

The quantity of the Key Value Store list.

", + "KeyValueStoreAssociations$Quantity": "

The quantity of key value store associations.

", + "KeyValueStoreList$MaxItems": "

The maximum number of items in the key value store list.

", + "KeyValueStoreList$Quantity": "

The quantity of the key value store list.

", "LambdaFunctionAssociations$Quantity": "

The number of Lambda@Edge function associations for this cache behavior.

", "Origin$ConnectionAttempts": "

The number of times that CloudFront attempts to connect to the origin. The minimum number is 1, the maximum is 3, and the default (if you don't specify otherwise) is 3.

For a custom origin (including an Amazon S3 bucket that's configured with static website hosting), this value also specifies the number of times that CloudFront attempts to get a response from the origin, in the case of an Origin Response Timeout.

For more information, see Origin Connection Attempts in the Amazon CloudFront Developer Guide.

", "Origin$ConnectionTimeout": "

The number of seconds that CloudFront waits when trying to establish a connection to the origin. The minimum timeout is 1 second, the maximum is 10 seconds, and the default (if you don't specify otherwise) is 10 seconds.

For more information, see Origin Connection Timeout in the Amazon CloudFront Developer Guide.

", @@ -3804,7 +3804,7 @@ "ResponseHeadersPolicyRemoveHeadersConfig$Quantity": "

The number of HTTP header names in the list.

", "ResponseHeadersPolicyStrictTransportSecurity$AccessControlMaxAgeSec": "

A number that CloudFront uses as the value for the max-age directive in the Strict-Transport-Security HTTP response header.

", "SessionStickinessConfig$IdleTTL": "

The amount of time after which you want sessions to cease if no requests are received. Allowed values are 300–3600 seconds (5–60 minutes).

The value must be less than or equal to MaximumTTL.

", - "SessionStickinessConfig$MaximumTTL": "

The maximum amount of time to consider requests from the viewer as being part of the same session. Allowed values are 300–3600 seconds (5–60 minutes).

The value must be less than or equal to IdleTTL.

", + "SessionStickinessConfig$MaximumTTL": "

The maximum amount of time to consider requests from the viewer as being part of the same session. Allowed values are 300–3600 seconds (5–60 minutes).

The value must be greater than or equal to IdleTTL.

", "StagingDistributionDnsNames$Quantity": "

The number of CloudFront domain names in your staging distribution.

", "StatusCodeList$member": null, "StatusCodes$Quantity": "

The number of status codes.

", @@ -3829,7 +3829,7 @@ "CachePolicyConfig$DefaultTTL": "

The default amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value as the object's time to live (TTL) only when the origin does not send Cache-Control or Expires headers with the object. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

The default value for this field is 86400 seconds (one day). If the value of MinTTL is more than 86400 seconds, then the default value for this field is the same as the value of MinTTL.

", "CachePolicyConfig$MaxTTL": "

The maximum amount of time, in seconds, that objects stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value only when the origin sends Cache-Control or Expires headers with the object. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

The default value for this field is 31536000 seconds (one year). If the value of MinTTL or DefaultTTL is more than 31536000 seconds, then the default value for this field is the same as the value of DefaultTTL.

", "CachePolicyConfig$MinTTL": "

The minimum amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

", - "CreateRealtimeLogConfigRequest$SamplingRate": "

The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer requests that are represented in the real-time log data. You must provide an integer between 1 and 100, inclusive.

", + "CreateRealtimeLogConfigRequest$SamplingRate": "

The sampling rate for this real-time log configuration. You can specify a whole number between 1 and 100 (inclusive) to determine the percentage of viewer requests that are represented in the real-time log data.

", "CustomErrorResponse$ErrorCachingMinTTL": "

The minimum amount of time, in seconds, that you want CloudFront to cache the HTTP status code specified in ErrorCode. When this time period has elapsed, CloudFront queries your origin to see whether the problem that caused the error has been resolved and the requested object is now available.

For more information, see Customizing Error Responses in the Amazon CloudFront Developer Guide.

", "DefaultCacheBehavior$MinTTL": "

This field is deprecated. We recommend that you use the MinTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

You must specify 0 for MinTTL if you configure CloudFront to forward all headers to your origin (under Headers, if you specify 1 for Quantity and * for Name).

", "DefaultCacheBehavior$DefaultTTL": "

This field is deprecated. We recommend that you use the DefaultTTL field in a cache policy instead of this field. For more information, see Creating cache policies or Using the managed cache policies in the Amazon CloudFront Developer Guide.

The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. For more information, see Managing How Long Content Stays in an Edge Cache (Expiration) in the Amazon CloudFront Developer Guide.

", @@ -3924,8 +3924,8 @@ "CreateInvalidationResult$Location": "

The fully qualified URI of the distribution and invalidation batch request, including the Invalidation ID.

", "CreateKeyGroupResult$Location": "

The URL of the key group.

", "CreateKeyGroupResult$ETag": "

The identifier for this version of the key group.

", - "CreateKeyValueStoreResult$ETag": "

The ETag in the resulting Key Value Store.

", - "CreateKeyValueStoreResult$Location": "

The location of the resulting Key Value Store.

", + "CreateKeyValueStoreResult$ETag": "

The ETag in the resulting key value store.

", + "CreateKeyValueStoreResult$Location": "

The location of the resulting key value store.

", "CreateMonitoringSubscriptionRequest$DistributionId": "

The ID of the distribution that you are enabling metrics for.

", "CreateOriginAccessControlResult$Location": "

The URL of the origin access control.

", "CreateOriginAccessControlResult$ETag": "

The version identifier for the current version of the origin access control.

", @@ -3964,7 +3964,7 @@ "DeleteFunctionRequest$IfMatch": "

The current version (ETag value) of the function that you are deleting, which you can get using DescribeFunction.

", "DeleteKeyGroupRequest$Id": "

The identifier of the key group that you are deleting. To get the identifier, use ListKeyGroups.

", "DeleteKeyGroupRequest$IfMatch": "

The version of the key group that you are deleting. The version is the key group's ETag value. To get the ETag, use GetKeyGroup or GetKeyGroupConfig.

", - "DeleteKeyValueStoreRequest$IfMatch": "

The Key Value Store to delete, if a match occurs.

", + "DeleteKeyValueStoreRequest$IfMatch": "

The key value store to delete, if a match occurs.

", "DeleteMonitoringSubscriptionRequest$DistributionId": "

The ID of the distribution that you are disabling metrics for.

", "DeleteOriginAccessControlRequest$Id": "

The unique identifier of the origin access control that you are deleting.

", "DeleteOriginAccessControlRequest$IfMatch": "

The current version (ETag value) of the origin access control that you are deleting.

", @@ -3980,7 +3980,7 @@ "DeleteStreamingDistributionRequest$IfMatch": "

The value of the ETag header that you received when you disabled the streaming distribution. For example: E2QWRUHAPOMQZL.

", "DescribeFunctionRequest$Name": "

The name of the function that you are getting information about.

", "DescribeFunctionResult$ETag": "

The version identifier for the current version of the CloudFront function.

", - "DescribeKeyValueStoreResult$ETag": "

The ETag of the resulting Key Value Store.

", + "DescribeKeyValueStoreResult$ETag": "

The ETag of the resulting key value store.

", "Distribution$Id": "

The distribution's identifier. For example: E1U5RQF7T870K0.

", "Distribution$ARN": "

The distribution's Amazon Resource Name (ARN).

", "Distribution$Status": "

The distribution's status. When the status is Deployed, the distribution's information is fully propagated to all CloudFront edge locations.

", @@ -3988,7 +3988,7 @@ "DistributionAlreadyExists$Message": null, "DistributionConfig$CallerReference": "

A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

If the value of CallerReference is new (regardless of the content of the DistributionConfig object), CloudFront creates a new distribution.

If CallerReference is a value that you already sent in a previous request to create a distribution, CloudFront returns a DistributionAlreadyExists error.

", "DistributionConfig$DefaultRootObject": "

The object that you want CloudFront to request from your origin (for example, index.html) when a viewer requests the root URL for your distribution (https://www.example.com) instead of an object in your distribution (https://www.example.com/product-description.html). Specifying a default root object avoids exposing the contents of your distribution.

Specify only the object name, for example, index.html. Don't add a / before the object name.

If you don't want to specify a default root object when you create a distribution, include an empty DefaultRootObject element.

To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element.

To replace the default root object, update the distribution configuration and specify the new object.

For more information about the default root object, see Creating a Default Root Object in the Amazon CloudFront Developer Guide.

", - "DistributionConfig$WebACLId": "

A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution. To specify a web ACL created using the latest version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. To specify a web ACL created using WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a.

WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to CloudFront, and lets you control access to your content. Based on conditions that you specify, such as the IP addresses that requests originate from or the values of query strings, CloudFront responds to requests either with the requested content or with an HTTP 403 status code (Forbidden). You can also configure CloudFront to return a custom error page when a request is blocked. For more information about WAF, see the WAF Developer Guide.

", + "DistributionConfig$WebACLId": "

A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution. To specify a web ACL created using the latest version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111. To specify a web ACL created using WAF Classic, use the ACL ID, for example a1b2c3d4-5678-90ab-cdef-EXAMPLE11111.

WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to CloudFront, and lets you control access to your content. Based on conditions that you specify, such as the IP addresses that requests originate from or the values of query strings, CloudFront responds to requests either with the requested content or with an HTTP 403 status code (Forbidden). You can also configure CloudFront to return a custom error page when a request is blocked. For more information about WAF, see the WAF Developer Guide.

", "DistributionConfig$ContinuousDeploymentPolicyId": "

The identifier of a continuous deployment policy. For more information, see CreateContinuousDeploymentPolicy.

", "DistributionIdList$Marker": "

The value provided in the Marker request field.

", "DistributionIdList$NextMarker": "

Contains the value that you should use in the Marker field of a subsequent request to continue listing distribution IDs where you left off.

", @@ -4099,7 +4099,7 @@ "IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior$Message": null, "IllegalOriginAccessConfiguration$Message": null, "IllegalUpdate$Message": null, - "ImportSource$SourceARN": "

The Amazon Resource Name (ARN) of the import source for the Key Value Store.

", + "ImportSource$SourceARN": "

The Amazon Resource Name (ARN) of the import source for the key value store.

", "InconsistentQuantities$Message": null, "InvalidArgument$Message": null, "InvalidDefaultRootObject$Message": null, @@ -4141,12 +4141,12 @@ "KeyGroupConfig$Comment": "

A comment to describe the key group. The comment cannot be longer than 128 characters.

", "KeyGroupList$NextMarker": "

If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker field of a subsequent request to continue listing key groups.

", "KeyPairIdList$member": null, - "KeyValueStore$Name": "

The name of the Key Value Store.

", - "KeyValueStore$Id": "

The unique Id for the Key Value Store.

", - "KeyValueStore$Comment": "

A comment for the Key Value Store.

", - "KeyValueStore$ARN": "

The Amazon Resource Name (ARN) of the Key Value Store.

", - "KeyValueStore$Status": "

The status of the Key Value Store.

", - "KeyValueStoreList$NextMarker": "

The next marker associated with the Key Value Store list.

", + "KeyValueStore$Name": "

The name of the key value store.

", + "KeyValueStore$Id": "

The unique Id for the key value store.

", + "KeyValueStore$Comment": "

A comment for the key value store.

", + "KeyValueStore$ARN": "

The Amazon Resource Name (ARN) of the key value store.

", + "KeyValueStore$Status": "

The status of the key value store.

", + "KeyValueStoreList$NextMarker": "

The next marker associated with the key value store list.

", "KinesisStreamConfig$RoleARN": "

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFront can use to send real-time log data to your Kinesis data stream.

For more information the IAM role, see Real-time log configuration IAM role in the Amazon CloudFront Developer Guide.

", "KinesisStreamConfig$StreamARN": "

The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data.

", "ListCachePoliciesRequest$Marker": "

Use this field when paginating results to indicate where to begin in your list of cache policies. The response includes cache policies in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

", @@ -4174,7 +4174,7 @@ "ListDistributionsByResponseHeadersPolicyIdRequest$ResponseHeadersPolicyId": "

The ID of the response headers policy whose associated distribution IDs you want to list.

", "ListDistributionsByWebACLIdRequest$Marker": "

Use Marker and MaxItems to control pagination of results. If you have more than MaxItems distributions that satisfy the request, the response includes a NextMarker element. To get the next page of results, submit another request. For the value of Marker, specify the value of NextMarker from the last response. (For the first request, omit Marker.)

", "ListDistributionsByWebACLIdRequest$MaxItems": "

The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100.

", - "ListDistributionsByWebACLIdRequest$WebACLId": "

The ID of the WAF web ACL that you want to list the associated distributions. If you specify \"null\" for the ID, the request returns a list of the distributions that aren't associated with a web ACL.

", + "ListDistributionsByWebACLIdRequest$WebACLId": "

The ID of the WAF web ACL that you want to list the associated distributions. If you specify \"null\" for the ID, the request returns a list of the distributions that aren't associated with a web ACL.

For WAFV2, this is the ARN of the web ACL, such as arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111.

For WAF Classic, this is the ID of the web ACL, such as a1b2c3d4-5678-90ab-cdef-EXAMPLE11111.

", "ListDistributionsRequest$Marker": "

Use this when paginating results to indicate where to begin in your list of distributions. The results include distributions in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last distribution on that page).

", "ListDistributionsRequest$MaxItems": "

The maximum number of distributions you want in the response body.

", "ListFieldLevelEncryptionConfigsRequest$Marker": "

Use this when paginating results to indicate where to begin in your list of configurations. The results include configurations in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last configuration on that page).

", @@ -4188,9 +4188,9 @@ "ListInvalidationsRequest$MaxItems": "

The maximum number of invalidation batches that you want in the response body.

", "ListKeyGroupsRequest$Marker": "

Use this field when paginating results to indicate where to begin in your list of key groups. The response includes key groups in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

", "ListKeyGroupsRequest$MaxItems": "

The maximum number of key groups that you want in the response.

", - "ListKeyValueStoresRequest$Marker": "

The marker associated with the Key Value Stores list.

", - "ListKeyValueStoresRequest$MaxItems": "

The maximum number of items in the Key Value Stores list.

", - "ListKeyValueStoresRequest$Status": "

The status of the request for the Key Value Stores list.

", + "ListKeyValueStoresRequest$Marker": "

The marker associated with the key value stores list.

", + "ListKeyValueStoresRequest$MaxItems": "

The maximum number of items in the key value stores list.

", + "ListKeyValueStoresRequest$Status": "

The status of the request for the key value stores list.

", "ListOriginAccessControlsRequest$Marker": "

Use this field when paginating results to indicate where to begin in your list of origin access controls. The response includes the items in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

", "ListOriginAccessControlsRequest$MaxItems": "

The maximum number of origin access controls that you want in the response.

", "ListOriginRequestPoliciesRequest$Marker": "

Use this field when paginating results to indicate where to begin in your list of origin request policies. The response includes origin request policies in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

", @@ -4231,7 +4231,7 @@ "Origin$OriginAccessControlId": "

The unique identifier of an origin access control for this origin.

For more information, see Restricting access to an Amazon S3 origin in the Amazon CloudFront Developer Guide.

", "OriginAccessControl$Id": "

The unique identifier of the origin access control.

", "OriginAccessControlAlreadyExists$Message": null, - "OriginAccessControlConfig$Name": "

A name to identify the origin access control.

", + "OriginAccessControlConfig$Name": "

A name to identify the origin access control. You can specify up to 64 characters.

", "OriginAccessControlConfig$Description": "

A description of the origin access control.

", "OriginAccessControlInUse$Message": null, "OriginAccessControlList$Marker": "

The value of the Marker field that was provided in the request.

", @@ -4291,7 +4291,7 @@ "ResponseHeadersPolicyXSSProtection$ReportUri": "

A reporting URI, which CloudFront uses as the value of the report directive in the X-XSS-Protection header.

You cannot specify a ReportUri when ModeBlock is true.

For more information about using a reporting URL, see X-XSS-Protection in the MDN Web Docs.

", "S3Origin$DomainName": "

The DNS name of the Amazon S3 origin.

", "S3Origin$OriginAccessIdentity": "

The CloudFront origin access identity to associate with the distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 bucket through CloudFront.

If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element.

To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element.

To replace the origin access identity, update the distribution configuration and specify the new origin access identity.

For more information, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content in the Amazon CloudFront Developer Guide.

", - "S3OriginConfig$OriginAccessIdentity": "

The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that viewers can only access objects in an Amazon S3 bucket through CloudFront. The format of the value is:

origin-access-identity/cloudfront/ID-of-origin-access-identity

where ID-of-origin-access-identity is the value that CloudFront returned in the ID element when you created the origin access identity.

If you want viewers to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element.

To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element.

To replace the origin access identity, update the distribution configuration and specify the new origin access identity.

For more information about the origin access identity, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

", + "S3OriginConfig$OriginAccessIdentity": "

If you're using origin access control (OAC) instead of origin access identity, specify an empty OriginAccessIdentity element. For more information, see Restricting access to an Amazon Web Services in the Amazon CloudFront Developer Guide.

The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that viewers can only access objects in an Amazon S3 bucket through CloudFront. The format of the value is:

origin-access-identity/cloudfront/ID-of-origin-access-identity

The ID-of-origin-access-identity is the value that CloudFront returned in the ID element when you created the origin access identity.

If you want viewers to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element.

To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element.

To replace the origin access identity, update the distribution configuration and specify the new origin access identity.

For more information about the origin access identity, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.

", "Signer$AwsAccountNumber": "

An Amazon Web Services account number that contains active CloudFront key pairs that CloudFront can use to verify the signatures of signed URLs and signed cookies. If the Amazon Web Services account that owns the key pairs is the same account that owns the CloudFront distribution, the value of this field is self.

", "StagingDistributionDnsNameList$member": null, "StagingDistributionInUse$Message": null, @@ -4400,8 +4400,8 @@ "UpdateKeyGroupRequest$Id": "

The identifier of the key group that you are updating.

", "UpdateKeyGroupRequest$IfMatch": "

The version of the key group that you are updating. The version is the key group's ETag value.

", "UpdateKeyGroupResult$ETag": "

The identifier for this version of the key group.

", - "UpdateKeyValueStoreRequest$IfMatch": "

The Key Value Store to update, if a match occurs.

", - "UpdateKeyValueStoreResult$ETag": "

The ETag of the resulting Key Value Store.

", + "UpdateKeyValueStoreRequest$IfMatch": "

The key value store to update, if a match occurs.

", + "UpdateKeyValueStoreResult$ETag": "

The ETag of the resulting key value store.

", "UpdateOriginAccessControlRequest$Id": "

The unique identifier of the origin access control that you are updating.

", "UpdateOriginAccessControlRequest$IfMatch": "

The current version (ETag value) of the origin access control that you are updating.

", "UpdateOriginAccessControlResult$ETag": "

The new version of the origin access control after it has been updated.

", @@ -4440,7 +4440,7 @@ "Invalidation$CreateTime": "

The date and time the invalidation request was first made.

", "InvalidationSummary$CreateTime": "

The time that an invalidation request was created.

", "KeyGroup$LastModifiedTime": "

The date and time when the key group was last modified.

", - "KeyValueStore$LastModifiedTime": "

The last-modified time of the Key Value Store.

", + "KeyValueStore$LastModifiedTime": "

The last-modified time of the key value store.

", "OriginRequestPolicy$LastModifiedTime": "

The date and time when the origin request policy was last modified.

", "PublicKey$CreatedTime": "

The date and time when the public key was uploaded.

", "PublicKeySummary$CreatedTime": "

The date and time when the public key was uploaded.

", diff --git a/models/apis/codebuild/2016-10-06/docs-2.json b/models/apis/codebuild/2016-10-06/docs-2.json index e242f2c4de1..7933f2ab1fa 100644 --- a/models/apis/codebuild/2016-10-06/docs-2.json +++ b/models/apis/codebuild/2016-10-06/docs-2.json @@ -1597,7 +1597,7 @@ "SensitiveNonEmptyString": { "base": null, "refs": { - "ImportSourceCredentialsInput$token": "

For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is the app password.

" + "ImportSourceCredentialsInput$token": "

For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password.

" } }, "SensitiveString": { diff --git a/models/apis/iam/2010-05-08/api-2.json b/models/apis/iam/2010-05-08/api-2.json index 9e66fed902c..43a4ccaf80c 100644 --- a/models/apis/iam/2010-05-08/api-2.json +++ b/models/apis/iam/2010-05-08/api-2.json @@ -220,7 +220,8 @@ {"shape":"EntityAlreadyExistsException"}, {"shape":"LimitExceededException"}, {"shape":"ConcurrentModificationException"}, - {"shape":"ServiceFailureException"} + {"shape":"ServiceFailureException"}, + {"shape":"OpenIdIdpCommunicationErrorException"} ] }, "CreatePolicy":{ @@ -2776,10 +2777,7 @@ }, "CreateOpenIDConnectProviderRequest":{ "type":"structure", - "required":[ - "Url", - "ThumbprintList" - ], + "required":["Url"], "members":{ "Url":{"shape":"OpenIDConnectProviderUrlType"}, "ClientIDList":{"shape":"clientIDListType"}, @@ -4675,6 +4673,18 @@ "max":255, "min":1 }, + "OpenIdIdpCommunicationErrorException":{ + "type":"structure", + "members":{ + "message":{"shape":"openIdIdpCommunicationErrorExceptionMessage"} + }, + "error":{ + "code":"OpenIdIdpCommunicationError", + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, "OrganizationsDecisionDetail":{ "type":"structure", "members":{ @@ -6098,6 +6108,7 @@ "min":6 }, "noSuchEntityMessage":{"type":"string"}, + "openIdIdpCommunicationErrorExceptionMessage":{"type":"string"}, "organizationsEntityPathType":{ "type":"string", "max":427, diff --git a/models/apis/iam/2010-05-08/docs-2.json b/models/apis/iam/2010-05-08/docs-2.json index 316aa1a0ed3..e1767194216 100644 --- a/models/apis/iam/2010-05-08/docs-2.json +++ b/models/apis/iam/2010-05-08/docs-2.json @@ -120,7 +120,7 @@ "PutUserPermissionsBoundary": "

Adds or updates the policy that is specified as the IAM user's permissions boundary. You can use an Amazon Web Services managed policy or a customer managed policy to set the boundary for a user. Use the boundary to control the maximum permissions that the user can have. Setting a permissions boundary is an advanced feature that can affect the permissions for the user.

Policies that are used as permissions boundaries do not provide permissions. You must also attach a permissions policy to the user. To learn how the effective permissions for a user are evaluated, see IAM JSON policy evaluation logic in the IAM User Guide.

", "PutUserPolicy": "

Adds or updates an inline policy document that is embedded in the specified IAM user.

An IAM user can also have a managed policy attached to it. To attach a managed policy to a user, use AttachUserPolicy . To create a new managed policy, use CreatePolicy . For information about policies, see Managed policies and inline policies in the IAM User Guide.

For information about the maximum number of inline policies that you can embed in a user, see IAM and STS quotas in the IAM User Guide.

Because policy documents can be large, you should use POST rather than GET when calling PutUserPolicy. For general information about using the Query API with IAM, see Making query requests in the IAM User Guide.

", "RemoveClientIDFromOpenIDConnectProvider": "

Removes the specified client ID (also known as audience) from the list of client IDs registered for the specified IAM OpenID Connect (OIDC) provider resource object.

This operation is idempotent; it does not fail or return an error if you try to remove a client ID that does not exist.

", - "RemoveRoleFromInstanceProfile": "

Removes the specified IAM role from the specified EC2 instance profile.

Make sure that you do not have any Amazon EC2 instances running with the role you are about to remove from the instance profile. Removing a role from an instance profile that is associated with a running instance might break any applications running on the instance.

For more information about roles, see IAM roles in the IAM User Guide. For more information about instance profiles, see Using instance profiles in the IAM User Guide.

", + "RemoveRoleFromInstanceProfile": "

Removes the specified IAM role from the specified Amazon EC2 instance profile.

Make sure that you do not have any Amazon EC2 instances running with the role you are about to remove from the instance profile. Removing a role from an instance profile that is associated with a running instance might break any applications running on the instance.

For more information about roles, see IAM roles in the IAM User Guide. For more information about instance profiles, see Using instance profiles in the IAM User Guide.

", "RemoveUserFromGroup": "

Removes the specified user from the specified group.

", "ResetServiceSpecificCredential": "

Resets the password for a service-specific credential. The new password is Amazon Web Services generated and cryptographically strong. It cannot be configured by the user. Resetting the password immediately invalidates the previous password associated with this user.

", "ResyncMFADevice": "

Synchronizes the specified MFA device with its IAM resource object on the Amazon Web Services servers.

For more information about creating and working with virtual MFA devices, see Using a virtual MFA device in the IAM User Guide.

", @@ -1477,6 +1477,11 @@ "GetOpenIDConnectProviderResponse$Url": "

The URL that the IAM OIDC provider resource object is associated with. For more information, see CreateOpenIDConnectProvider.

" } }, + "OpenIdIdpCommunicationErrorException": { + "base": "

The request failed because IAM cannot connect to the OpenID Connect identity provider URL.

", + "refs": { + } + }, "OrganizationsDecisionDetail": { "base": "

Contains information about the effect that Organizations has on a policy simulation.

", "refs": { @@ -1709,8 +1714,8 @@ "ResourceHandlingOptionType": { "base": null, "refs": { - "SimulateCustomPolicyRequest$ResourceHandlingOption": "

Specifies the type of simulation to run. Different API operations that support resource-based policies require different combinations of resources. By specifying the type of simulation to run, you enable the policy simulator to enforce the presence of the required resources to ensure reliable simulation results. If your simulation does not match one of the following scenarios, then you can omit this parameter. The following list shows each of the supported scenario values and the resources that you must define to run the simulation.

Each of the EC2 scenarios requires that you specify instance, image, and security group resources. If your scenario includes an EBS volume, then you must specify that volume as a resource. If the EC2 scenario includes VPC, then you must supply the network interface resource. If it includes an IP subnet, then you must specify the subnet resource. For more information on the EC2 scenario options, see Supported platforms in the Amazon EC2 User Guide.

", - "SimulatePrincipalPolicyRequest$ResourceHandlingOption": "

Specifies the type of simulation to run. Different API operations that support resource-based policies require different combinations of resources. By specifying the type of simulation to run, you enable the policy simulator to enforce the presence of the required resources to ensure reliable simulation results. If your simulation does not match one of the following scenarios, then you can omit this parameter. The following list shows each of the supported scenario values and the resources that you must define to run the simulation.

Each of the EC2 scenarios requires that you specify instance, image, and security group resources. If your scenario includes an EBS volume, then you must specify that volume as a resource. If the EC2 scenario includes VPC, then you must supply the network interface resource. If it includes an IP subnet, then you must specify the subnet resource. For more information on the EC2 scenario options, see Supported platforms in the Amazon EC2 User Guide.

" + "SimulateCustomPolicyRequest$ResourceHandlingOption": "

Specifies the type of simulation to run. Different API operations that support resource-based policies require different combinations of resources. By specifying the type of simulation to run, you enable the policy simulator to enforce the presence of the required resources to ensure reliable simulation results. If your simulation does not match one of the following scenarios, then you can omit this parameter. The following list shows each of the supported scenario values and the resources that you must define to run the simulation.

Each of the Amazon EC2 scenarios requires that you specify instance, image, and security group resources. If your scenario includes an EBS volume, then you must specify that volume as a resource. If the Amazon EC2 scenario includes VPC, then you must supply the network interface resource. If it includes an IP subnet, then you must specify the subnet resource. For more information on the Amazon EC2 scenario options, see Supported platforms in the Amazon EC2 User Guide.

", + "SimulatePrincipalPolicyRequest$ResourceHandlingOption": "

Specifies the type of simulation to run. Different API operations that support resource-based policies require different combinations of resources. By specifying the type of simulation to run, you enable the policy simulator to enforce the presence of the required resources to ensure reliable simulation results. If your simulation does not match one of the following scenarios, then you can omit this parameter. The following list shows each of the supported scenario values and the resources that you must define to run the simulation.

Each of the Amazon EC2 scenarios requires that you specify instance, image, and security group resources. If your scenario includes an EBS volume, then you must specify that volume as a resource. If the Amazon EC2 scenario includes VPC, then you must supply the network interface resource. If it includes an IP subnet, then you must specify the subnet resource. For more information on the Amazon EC2 scenario options, see Supported platforms in the Amazon EC2 User Guide.

" } }, "ResourceNameListType": { @@ -2886,6 +2891,12 @@ "NoSuchEntityException$message": null } }, + "openIdIdpCommunicationErrorExceptionMessage": { + "base": null, + "refs": { + "OpenIdIdpCommunicationErrorException$message": null + } + }, "organizationsEntityPathType": { "base": null, "refs": { @@ -3202,7 +3213,7 @@ "refs": { "CreateRoleRequest$MaxSessionDuration": "

The maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default value of one hour is applied. This setting can have a value from 1 hour to 12 hours.

Anyone who assumes the role from the CLI or API can use the DurationSeconds API parameter or the duration-seconds CLI parameter to request a longer session. The MaxSessionDuration setting determines the maximum duration that can be requested using the DurationSeconds parameter. If users don't specify a value for the DurationSeconds parameter, their security credentials are valid for one hour by default. This applies when you use the AssumeRole* API operations or the assume-role* CLI operations but does not apply when you use those operations to create a console URL. For more information, see Using IAM roles in the IAM User Guide.

", "Role$MaxSessionDuration": "

The maximum session duration (in seconds) for the specified role. Anyone who uses the CLI, or API to assume the role can specify the duration using the optional DurationSeconds API parameter or duration-seconds CLI parameter.

", - "UpdateRoleRequest$MaxSessionDuration": "

The maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default value of one hour is applied. This setting can have a value from 1 hour to 12 hours.

Anyone who assumes the role from the CLI or API can use the DurationSeconds API parameter or the duration-seconds CLI parameter to request a longer session. The MaxSessionDuration setting determines the maximum duration that can be requested using the DurationSeconds parameter. If users don't specify a value for the DurationSeconds parameter, their security credentials are valid for one hour by default. This applies when you use the AssumeRole* API operations or the assume-role* CLI operations but does not apply when you use those operations to create a console URL. For more information, see Using IAM roles in the IAM User Guide.

" + "UpdateRoleRequest$MaxSessionDuration": "

The maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default value of one hour is applied. This setting can have a value from 1 hour to 12 hours.

Anyone who assumes the role from the CLI or API can use the DurationSeconds API parameter or the duration-seconds CLI parameter to request a longer session. The MaxSessionDuration setting determines the maximum duration that can be requested using the DurationSeconds parameter. If users don't specify a value for the DurationSeconds parameter, their security credentials are valid for one hour by default. This applies when you use the AssumeRole* API operations or the assume-role* CLI operations but does not apply when you use those operations to create a console URL. For more information, see Using IAM roles in the IAM User Guide.

IAM role credentials provided by Amazon EC2 instances assigned to the role are not subject to the specified maximum session duration.

" } }, "roleNameType": { @@ -3464,7 +3475,7 @@ "thumbprintListType": { "base": "

Contains a list of thumbprints of identity provider server certificates.

", "refs": { - "CreateOpenIDConnectProviderRequest$ThumbprintList": "

A list of server certificate thumbprints for the OpenID Connect (OIDC) identity provider's server certificates. Typically this list includes only one entry. However, IAM lets you have up to five thumbprints for an OIDC provider. This lets you maintain multiple thumbprints if the identity provider is rotating certificates.

The server certificate thumbprint is the hex-encoded SHA-1 hash value of the X.509 certificate used by the domain where the OpenID Connect provider makes its keys available. It is always a 40-character string.

You must provide at least one thumbprint when creating an IAM OIDC provider. For example, assume that the OIDC provider is server.example.com and the provider stores its keys at https://keys.server.example.com/openid-connect. In that case, the thumbprint string would be the hex-encoded SHA-1 hash value of the certificate used by https://keys.server.example.com.

For more information about obtaining the OIDC provider thumbprint, see Obtaining the thumbprint for an OpenID Connect provider in the IAM user Guide.

", + "CreateOpenIDConnectProviderRequest$ThumbprintList": "

A list of server certificate thumbprints for the OpenID Connect (OIDC) identity provider's server certificates. Typically this list includes only one entry. However, IAM lets you have up to five thumbprints for an OIDC provider. This lets you maintain multiple thumbprints if the identity provider is rotating certificates.

This parameter is optional. If it is not included, IAM will retrieve and use the top intermediate certificate authority (CA) thumbprint of the OpenID Connect identity provider server certificate.

The server certificate thumbprint is the hex-encoded SHA-1 hash value of the X.509 certificate used by the domain where the OpenID Connect provider makes its keys available. It is always a 40-character string.

For example, assume that the OIDC provider is server.example.com and the provider stores its keys at https://keys.server.example.com/openid-connect. In that case, the thumbprint string would be the hex-encoded SHA-1 hash value of the certificate used by https://keys.server.example.com.

For more information about obtaining the OIDC provider thumbprint, see Obtaining the thumbprint for an OpenID Connect provider in the IAM user Guide.

", "GetOpenIDConnectProviderResponse$ThumbprintList": "

A list of certificate thumbprints that are associated with the specified IAM OIDC provider resource object. For more information, see CreateOpenIDConnectProvider.

", "UpdateOpenIDConnectProviderThumbprintRequest$ThumbprintList": "

A list of certificate thumbprints that are associated with the specified IAM OpenID Connect provider. For more information, see CreateOpenIDConnectProvider.

" } diff --git a/models/apis/medialive/2017-10-14/api-2.json b/models/apis/medialive/2017-10-14/api-2.json index 4c7fa8ef136..54faccbe6b4 100644 --- a/models/apis/medialive/2017-10-14/api-2.json +++ b/models/apis/medialive/2017-10-14/api-2.json @@ -2464,1014 +2464,1714 @@ "shape": "ConflictException" } ] - } - }, - "shapes": { - "AacCodingMode": { - "type": "string", - "enum": [ - "AD_RECEIVER_MIX", - "CODING_MODE_1_0", - "CODING_MODE_1_1", - "CODING_MODE_2_0", - "CODING_MODE_5_1" - ] }, - "AacInputType": { - "type": "string", - "enum": [ - "BROADCASTER_MIXED_AD", - "NORMAL" + "CreateCloudWatchAlarmTemplate": { + "name": "CreateCloudWatchAlarmTemplate", + "http": { + "method": "POST", + "requestUri": "/prod/cloudwatch-alarm-templates", + "responseCode": 201 + }, + "input": { + "shape": "CreateCloudWatchAlarmTemplateRequest" + }, + "output": { + "shape": "CreateCloudWatchAlarmTemplateResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "TooManyRequestsException" + }, + { + "shape": "ConflictException" + } ] }, - "AacProfile": { - "type": "string", - "enum": [ - "HEV1", - "HEV2", - "LC" + "CreateCloudWatchAlarmTemplateGroup": { + "name": "CreateCloudWatchAlarmTemplateGroup", + "http": { + "method": "POST", + "requestUri": "/prod/cloudwatch-alarm-template-groups", + "responseCode": 201 + }, + "input": { + "shape": "CreateCloudWatchAlarmTemplateGroupRequest" + }, + "output": { + "shape": "CreateCloudWatchAlarmTemplateGroupResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "TooManyRequestsException" + }, + { + "shape": "ConflictException" + } ] }, - "AacRateControlMode": { - "type": "string", - "enum": [ - "CBR", - "VBR" + "CreateEventBridgeRuleTemplate": { + "name": "CreateEventBridgeRuleTemplate", + "http": { + "method": "POST", + "requestUri": "/prod/eventbridge-rule-templates", + "responseCode": 201 + }, + "input": { + "shape": "CreateEventBridgeRuleTemplateRequest" + }, + "output": { + "shape": "CreateEventBridgeRuleTemplateResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "TooManyRequestsException" + }, + { + "shape": "ConflictException" + } ] }, - "AacRawFormat": { - "type": "string", - "enum": [ - "LATM_LOAS", - "NONE" + "CreateEventBridgeRuleTemplateGroup": { + "name": "CreateEventBridgeRuleTemplateGroup", + "http": { + "method": "POST", + "requestUri": "/prod/eventbridge-rule-template-groups", + "responseCode": 201 + }, + "input": { + "shape": "CreateEventBridgeRuleTemplateGroupRequest" + }, + "output": { + "shape": "CreateEventBridgeRuleTemplateGroupResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "TooManyRequestsException" + }, + { + "shape": "ConflictException" + } ] }, - "AacSettings": { - "type": "structure", - "members": { - "Bitrate": { - "shape": "__double", - "locationName": "bitrate" + "CreateSignalMap": { + "name": "CreateSignalMap", + "http": { + "method": "POST", + "requestUri": "/prod/signal-maps", + "responseCode": 201 + }, + "input": { + "shape": "CreateSignalMapRequest" + }, + "output": { + "shape": "CreateSignalMapResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "CodingMode": { - "shape": "AacCodingMode", - "locationName": "codingMode" + { + "shape": "InternalServerErrorException" }, - "InputType": { - "shape": "AacInputType", - "locationName": "inputType" + { + "shape": "ForbiddenException" }, - "Profile": { - "shape": "AacProfile", - "locationName": "profile" + { + "shape": "NotFoundException" }, - "RateControlMode": { - "shape": "AacRateControlMode", - "locationName": "rateControlMode" + { + "shape": "TooManyRequestsException" }, - "RawFormat": { - "shape": "AacRawFormat", - "locationName": "rawFormat" + { + "shape": "ConflictException" + } + ] + }, + "DeleteCloudWatchAlarmTemplate": { + "name": "DeleteCloudWatchAlarmTemplate", + "http": { + "method": "DELETE", + "requestUri": "/prod/cloudwatch-alarm-templates/{identifier}", + "responseCode": 204 + }, + "input": { + "shape": "DeleteCloudWatchAlarmTemplateRequest" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "SampleRate": { - "shape": "__double", - "locationName": "sampleRate" + { + "shape": "InternalServerErrorException" }, - "Spec": { - "shape": "AacSpec", - "locationName": "spec" + { + "shape": "ForbiddenException" }, - "VbrQuality": { - "shape": "AacVbrQuality", - "locationName": "vbrQuality" + { + "shape": "NotFoundException" + }, + { + "shape": "TooManyRequestsException" + }, + { + "shape": "ConflictException" } - } - }, - "AacSpec": { - "type": "string", - "enum": [ - "MPEG2", - "MPEG4" ] }, - "AacVbrQuality": { - "type": "string", - "enum": [ - "HIGH", - "LOW", - "MEDIUM_HIGH", - "MEDIUM_LOW" + "DeleteCloudWatchAlarmTemplateGroup": { + "name": "DeleteCloudWatchAlarmTemplateGroup", + "http": { + "method": "DELETE", + "requestUri": "/prod/cloudwatch-alarm-template-groups/{identifier}", + "responseCode": 204 + }, + "input": { + "shape": "DeleteCloudWatchAlarmTemplateGroupRequest" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "TooManyRequestsException" + }, + { + "shape": "ConflictException" + } ] }, - "Ac3AttenuationControl": { - "type": "string", - "enum": [ - "ATTENUATE_3_DB", - "NONE" + "DeleteEventBridgeRuleTemplate": { + "name": "DeleteEventBridgeRuleTemplate", + "http": { + "method": "DELETE", + "requestUri": "/prod/eventbridge-rule-templates/{identifier}", + "responseCode": 204 + }, + "input": { + "shape": "DeleteEventBridgeRuleTemplateRequest" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "TooManyRequestsException" + }, + { + "shape": "ConflictException" + } ] }, - "Ac3BitstreamMode": { - "type": "string", - "enum": [ - "COMMENTARY", - "COMPLETE_MAIN", - "DIALOGUE", - "EMERGENCY", - "HEARING_IMPAIRED", - "MUSIC_AND_EFFECTS", - "VISUALLY_IMPAIRED", - "VOICE_OVER" + "DeleteEventBridgeRuleTemplateGroup": { + "name": "DeleteEventBridgeRuleTemplateGroup", + "http": { + "method": "DELETE", + "requestUri": "/prod/eventbridge-rule-template-groups/{identifier}", + "responseCode": 204 + }, + "input": { + "shape": "DeleteEventBridgeRuleTemplateGroupRequest" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "TooManyRequestsException" + }, + { + "shape": "ConflictException" + } ] }, - "Ac3CodingMode": { - "type": "string", - "enum": [ - "CODING_MODE_1_0", - "CODING_MODE_1_1", - "CODING_MODE_2_0", - "CODING_MODE_3_2_LFE" + "DeleteSignalMap": { + "name": "DeleteSignalMap", + "http": { + "method": "DELETE", + "requestUri": "/prod/signal-maps/{identifier}", + "responseCode": 204 + }, + "input": { + "shape": "DeleteSignalMapRequest" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "TooManyRequestsException" + }, + { + "shape": "ConflictException" + } ] }, - "Ac3DrcProfile": { - "type": "string", - "enum": [ - "FILM_STANDARD", - "NONE" + "GetCloudWatchAlarmTemplate": { + "name": "GetCloudWatchAlarmTemplate", + "http": { + "method": "GET", + "requestUri": "/prod/cloudwatch-alarm-templates/{identifier}", + "responseCode": 200 + }, + "input": { + "shape": "GetCloudWatchAlarmTemplateRequest" + }, + "output": { + "shape": "GetCloudWatchAlarmTemplateResponse" + }, + "errors": [ + { + "shape": "NotFoundException" + }, + { + "shape": "TooManyRequestsException" + }, + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + } ] }, - "Ac3LfeFilter": { - "type": "string", - "enum": [ - "DISABLED", - "ENABLED" + "GetCloudWatchAlarmTemplateGroup": { + "name": "GetCloudWatchAlarmTemplateGroup", + "http": { + "method": "GET", + "requestUri": "/prod/cloudwatch-alarm-template-groups/{identifier}", + "responseCode": 200 + }, + "input": { + "shape": "GetCloudWatchAlarmTemplateGroupRequest" + }, + "output": { + "shape": "GetCloudWatchAlarmTemplateGroupResponse" + }, + "errors": [ + { + "shape": "NotFoundException" + }, + { + "shape": "TooManyRequestsException" + }, + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + } ] }, - "Ac3MetadataControl": { - "type": "string", - "enum": [ - "FOLLOW_INPUT", - "USE_CONFIGURED" + "GetEventBridgeRuleTemplate": { + "name": "GetEventBridgeRuleTemplate", + "http": { + "method": "GET", + "requestUri": "/prod/eventbridge-rule-templates/{identifier}", + "responseCode": 200 + }, + "input": { + "shape": "GetEventBridgeRuleTemplateRequest" + }, + "output": { + "shape": "GetEventBridgeRuleTemplateResponse" + }, + "errors": [ + { + "shape": "NotFoundException" + }, + { + "shape": "TooManyRequestsException" + }, + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + } ] }, - "Ac3Settings": { - "type": "structure", - "members": { - "Bitrate": { - "shape": "__double", - "locationName": "bitrate" + "GetEventBridgeRuleTemplateGroup": { + "name": "GetEventBridgeRuleTemplateGroup", + "http": { + "method": "GET", + "requestUri": "/prod/eventbridge-rule-template-groups/{identifier}", + "responseCode": 200 + }, + "input": { + "shape": "GetEventBridgeRuleTemplateGroupRequest" + }, + "output": { + "shape": "GetEventBridgeRuleTemplateGroupResponse" + }, + "errors": [ + { + "shape": "NotFoundException" }, - "BitstreamMode": { - "shape": "Ac3BitstreamMode", - "locationName": "bitstreamMode" + { + "shape": "TooManyRequestsException" }, - "CodingMode": { - "shape": "Ac3CodingMode", - "locationName": "codingMode" + { + "shape": "BadRequestException" }, - "Dialnorm": { - "shape": "__integerMin1Max31", - "locationName": "dialnorm" + { + "shape": "InternalServerErrorException" }, - "DrcProfile": { - "shape": "Ac3DrcProfile", - "locationName": "drcProfile" + { + "shape": "ForbiddenException" + } + ] + }, + "GetSignalMap": { + "name": "GetSignalMap", + "http": { + "method": "GET", + "requestUri": "/prod/signal-maps/{identifier}", + "responseCode": 200 + }, + "input": { + "shape": "GetSignalMapRequest" + }, + "output": { + "shape": "GetSignalMapResponse" + }, + "errors": [ + { + "shape": "NotFoundException" }, - "LfeFilter": { - "shape": "Ac3LfeFilter", - "locationName": "lfeFilter" + { + "shape": "TooManyRequestsException" }, - "MetadataControl": { - "shape": "Ac3MetadataControl", - "locationName": "metadataControl" + { + "shape": "BadRequestException" }, - "AttenuationControl": { - "shape": "Ac3AttenuationControl", - "locationName": "attenuationControl" + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" } - } + ] }, - "AcceptInputDeviceTransferRequest": { - "type": "structure", - "members": { - "InputDeviceId": { - "shape": "__string", - "location": "uri", - "locationName": "inputDeviceId" - } + "ListCloudWatchAlarmTemplateGroups": { + "name": "ListCloudWatchAlarmTemplateGroups", + "http": { + "method": "GET", + "requestUri": "/prod/cloudwatch-alarm-template-groups", + "responseCode": 200 }, - "required": [ - "InputDeviceId" - ] - }, - "AcceptInputDeviceTransferResponse": { - "type": "structure", - "members": { - } - }, - "AccessDenied": { - "type": "structure", - "members": { - "Message": { - "shape": "__string", - "locationName": "message" + "input": { + "shape": "ListCloudWatchAlarmTemplateGroupsRequest" + }, + "output": { + "shape": "ListCloudWatchAlarmTemplateGroupsResponse" + }, + "errors": [ + { + "shape": "NotFoundException" + }, + { + "shape": "TooManyRequestsException" + }, + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" } - } - }, - "AccessibilityType": { - "type": "string", - "enum": [ - "DOES_NOT_IMPLEMENT_ACCESSIBILITY_FEATURES", - "IMPLEMENTS_ACCESSIBILITY_FEATURES" ] }, - "AccountConfiguration": { - "type": "structure", - "members": { - "KmsKeyId": { - "shape": "__string", - "locationName": "kmsKeyId" + "ListCloudWatchAlarmTemplates": { + "name": "ListCloudWatchAlarmTemplates", + "http": { + "method": "GET", + "requestUri": "/prod/cloudwatch-alarm-templates", + "responseCode": 200 + }, + "input": { + "shape": "ListCloudWatchAlarmTemplatesRequest" + }, + "output": { + "shape": "ListCloudWatchAlarmTemplatesResponse" + }, + "errors": [ + { + "shape": "NotFoundException" + }, + { + "shape": "TooManyRequestsException" + }, + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" } - } - }, - "AfdSignaling": { - "type": "string", - "enum": [ - "AUTO", - "FIXED", - "NONE" ] }, - "AncillarySourceSettings": { - "type": "structure", - "members": { - "SourceAncillaryChannelNumber": { - "shape": "__integerMin1Max4", - "locationName": "sourceAncillaryChannelNumber" - } - } - }, - "ArchiveCdnSettings": { - "type": "structure", - "members": { - "ArchiveS3Settings": { - "shape": "ArchiveS3Settings", - "locationName": "archiveS3Settings" - } - } - }, - "ArchiveContainerSettings": { - "type": "structure", - "members": { - "M2tsSettings": { - "shape": "M2tsSettings", - "locationName": "m2tsSettings" + "ListEventBridgeRuleTemplateGroups": { + "name": "ListEventBridgeRuleTemplateGroups", + "http": { + "method": "GET", + "requestUri": "/prod/eventbridge-rule-template-groups", + "responseCode": 200 + }, + "input": { + "shape": "ListEventBridgeRuleTemplateGroupsRequest" + }, + "output": { + "shape": "ListEventBridgeRuleTemplateGroupsResponse" + }, + "errors": [ + { + "shape": "NotFoundException" }, - "RawSettings": { - "shape": "RawSettings", - "locationName": "rawSettings" - } - } - }, - "ArchiveGroupSettings": { - "type": "structure", - "members": { - "ArchiveCdnSettings": { - "shape": "ArchiveCdnSettings", - "locationName": "archiveCdnSettings" + { + "shape": "TooManyRequestsException" }, - "Destination": { - "shape": "OutputLocationRef", - "locationName": "destination" + { + "shape": "BadRequestException" }, - "RolloverInterval": { - "shape": "__integerMin1", - "locationName": "rolloverInterval" + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" } - }, - "required": [ - "Destination" ] }, - "ArchiveOutputSettings": { - "type": "structure", - "members": { - "ContainerSettings": { - "shape": "ArchiveContainerSettings", - "locationName": "containerSettings" + "ListEventBridgeRuleTemplates": { + "name": "ListEventBridgeRuleTemplates", + "http": { + "method": "GET", + "requestUri": "/prod/eventbridge-rule-templates", + "responseCode": 200 + }, + "input": { + "shape": "ListEventBridgeRuleTemplatesRequest" + }, + "output": { + "shape": "ListEventBridgeRuleTemplatesResponse" + }, + "errors": [ + { + "shape": "NotFoundException" }, - "Extension": { - "shape": "__string", - "locationName": "extension" + { + "shape": "TooManyRequestsException" }, - "NameModifier": { - "shape": "__string", - "locationName": "nameModifier" + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" } - }, - "required": [ - "ContainerSettings" - ] - }, - "ArchiveS3LogUploads": { - "type": "string", - "enum": [ - "DISABLED", - "ENABLED" ] }, - "ArchiveS3Settings": { - "type": "structure", - "members": { - "CannedAcl": { - "shape": "S3CannedAcl", - "locationName": "cannedAcl" - } - } - }, - "AribDestinationSettings": { - "type": "structure", - "members": { - } - }, - "AribSourceSettings": { - "type": "structure", - "members": { - } - }, - "AudioChannelMapping": { - "type": "structure", - "members": { - "InputChannelLevels": { - "shape": "__listOfInputChannelLevel", - "locationName": "inputChannelLevels" + "ListSignalMaps": { + "name": "ListSignalMaps", + "http": { + "method": "GET", + "requestUri": "/prod/signal-maps", + "responseCode": 200 + }, + "input": { + "shape": "ListSignalMapsRequest" + }, + "output": { + "shape": "ListSignalMapsResponse" + }, + "errors": [ + { + "shape": "NotFoundException" }, - "OutputChannel": { - "shape": "__integerMin0Max7", - "locationName": "outputChannel" + { + "shape": "TooManyRequestsException" + }, + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" } - }, - "required": [ - "OutputChannel", - "InputChannelLevels" ] }, - "AudioCodecSettings": { - "type": "structure", - "members": { - "AacSettings": { - "shape": "AacSettings", - "locationName": "aacSettings" + "StartDeleteMonitorDeployment": { + "name": "StartDeleteMonitorDeployment", + "http": { + "method": "DELETE", + "requestUri": "/prod/signal-maps/{identifier}/monitor-deployment", + "responseCode": 202 + }, + "input": { + "shape": "StartDeleteMonitorDeploymentRequest" + }, + "output": { + "shape": "StartDeleteMonitorDeploymentResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "Ac3Settings": { - "shape": "Ac3Settings", - "locationName": "ac3Settings" + { + "shape": "InternalServerErrorException" }, - "Eac3AtmosSettings": { - "shape": "Eac3AtmosSettings", - "locationName": "eac3AtmosSettings" + { + "shape": "ForbiddenException" }, - "Eac3Settings": { - "shape": "Eac3Settings", - "locationName": "eac3Settings" + { + "shape": "NotFoundException" }, - "Mp2Settings": { - "shape": "Mp2Settings", - "locationName": "mp2Settings" + { + "shape": "TooManyRequestsException" }, - "PassThroughSettings": { - "shape": "PassThroughSettings", - "locationName": "passThroughSettings" + { + "shape": "ConflictException" + } + ] + }, + "StartMonitorDeployment": { + "name": "StartMonitorDeployment", + "http": { + "method": "POST", + "requestUri": "/prod/signal-maps/{identifier}/monitor-deployment", + "responseCode": 202 + }, + "input": { + "shape": "StartMonitorDeploymentRequest" + }, + "output": { + "shape": "StartMonitorDeploymentResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "WavSettings": { - "shape": "WavSettings", - "locationName": "wavSettings" + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "TooManyRequestsException" + }, + { + "shape": "ConflictException" } - } + ] }, - "AudioDescription": { - "type": "structure", - "members": { - "AudioNormalizationSettings": { - "shape": "AudioNormalizationSettings", - "locationName": "audioNormalizationSettings" + "StartUpdateSignalMap": { + "name": "StartUpdateSignalMap", + "http": { + "method": "PATCH", + "requestUri": "/prod/signal-maps/{identifier}", + "responseCode": 202 + }, + "input": { + "shape": "StartUpdateSignalMapRequest" + }, + "output": { + "shape": "StartUpdateSignalMapResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "AudioSelectorName": { - "shape": "__string", - "locationName": "audioSelectorName" + { + "shape": "InternalServerErrorException" }, - "AudioType": { - "shape": "AudioType", - "locationName": "audioType" + { + "shape": "ForbiddenException" }, - "AudioTypeControl": { - "shape": "AudioDescriptionAudioTypeControl", - "locationName": "audioTypeControl" + { + "shape": "NotFoundException" }, - "AudioWatermarkingSettings": { - "shape": "AudioWatermarkSettings", - "locationName": "audioWatermarkingSettings" + { + "shape": "TooManyRequestsException" }, - "CodecSettings": { - "shape": "AudioCodecSettings", - "locationName": "codecSettings" + { + "shape": "ConflictException" + } + ] + }, + "UpdateCloudWatchAlarmTemplate": { + "name": "UpdateCloudWatchAlarmTemplate", + "http": { + "method": "PATCH", + "requestUri": "/prod/cloudwatch-alarm-templates/{identifier}", + "responseCode": 200 + }, + "input": { + "shape": "UpdateCloudWatchAlarmTemplateRequest" + }, + "output": { + "shape": "UpdateCloudWatchAlarmTemplateResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "LanguageCode": { - "shape": "__stringMin1Max35", - "locationName": "languageCode" + { + "shape": "InternalServerErrorException" }, - "LanguageCodeControl": { - "shape": "AudioDescriptionLanguageCodeControl", - "locationName": "languageCodeControl" + { + "shape": "ForbiddenException" }, - "Name": { - "shape": "__stringMax255", - "locationName": "name" + { + "shape": "NotFoundException" }, - "RemixSettings": { - "shape": "RemixSettings", - "locationName": "remixSettings" + { + "shape": "TooManyRequestsException" }, - "StreamName": { - "shape": "__string", - "locationName": "streamName" + { + "shape": "ConflictException" + } + ] + }, + "UpdateCloudWatchAlarmTemplateGroup": { + "name": "UpdateCloudWatchAlarmTemplateGroup", + "http": { + "method": "PATCH", + "requestUri": "/prod/cloudwatch-alarm-template-groups/{identifier}", + "responseCode": 200 + }, + "input": { + "shape": "UpdateCloudWatchAlarmTemplateGroupRequest" + }, + "output": { + "shape": "UpdateCloudWatchAlarmTemplateGroupResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "AudioDashRoles": { - "shape": "__listOfDashRoleAudio", - "locationName": "audioDashRoles" + { + "shape": "InternalServerErrorException" }, - "DvbDashAccessibility": { - "shape": "DvbDashAccessibility", - "locationName": "dvbDashAccessibility" + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "TooManyRequestsException" + }, + { + "shape": "ConflictException" } + ] + }, + "UpdateEventBridgeRuleTemplate": { + "name": "UpdateEventBridgeRuleTemplate", + "http": { + "method": "PATCH", + "requestUri": "/prod/eventbridge-rule-templates/{identifier}", + "responseCode": 200 }, - "required": [ - "AudioSelectorName", - "Name" + "input": { + "shape": "UpdateEventBridgeRuleTemplateRequest" + }, + "output": { + "shape": "UpdateEventBridgeRuleTemplateResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "TooManyRequestsException" + }, + { + "shape": "ConflictException" + } ] }, - "AudioDescriptionAudioTypeControl": { + "UpdateEventBridgeRuleTemplateGroup": { + "name": "UpdateEventBridgeRuleTemplateGroup", + "http": { + "method": "PATCH", + "requestUri": "/prod/eventbridge-rule-template-groups/{identifier}", + "responseCode": 200 + }, + "input": { + "shape": "UpdateEventBridgeRuleTemplateGroupRequest" + }, + "output": { + "shape": "UpdateEventBridgeRuleTemplateGroupResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "TooManyRequestsException" + }, + { + "shape": "ConflictException" + } + ] + } + }, + "shapes": { + "AacCodingMode": { "type": "string", "enum": [ - "FOLLOW_INPUT", - "USE_CONFIGURED" + "AD_RECEIVER_MIX", + "CODING_MODE_1_0", + "CODING_MODE_1_1", + "CODING_MODE_2_0", + "CODING_MODE_5_1" ] }, - "AudioDescriptionLanguageCodeControl": { + "AacInputType": { "type": "string", "enum": [ - "FOLLOW_INPUT", - "USE_CONFIGURED" + "BROADCASTER_MIXED_AD", + "NORMAL" ] }, - "AudioDolbyEDecode": { - "type": "structure", - "members": { - "ProgramSelection": { - "shape": "DolbyEProgramSelection", - "locationName": "programSelection" - } - }, - "required": [ - "ProgramSelection" + "AacProfile": { + "type": "string", + "enum": [ + "HEV1", + "HEV2", + "LC" ] }, - "AudioHlsRenditionSelection": { - "type": "structure", - "members": { - "GroupId": { - "shape": "__stringMin1", - "locationName": "groupId" - }, - "Name": { - "shape": "__stringMin1", - "locationName": "name" - } - }, - "required": [ - "Name", - "GroupId" + "AacRateControlMode": { + "type": "string", + "enum": [ + "CBR", + "VBR" ] }, - "AudioLanguageSelection": { + "AacRawFormat": { + "type": "string", + "enum": [ + "LATM_LOAS", + "NONE" + ] + }, + "AacSettings": { "type": "structure", "members": { - "LanguageCode": { - "shape": "__string", - "locationName": "languageCode" + "Bitrate": { + "shape": "__double", + "locationName": "bitrate" }, - "LanguageSelectionPolicy": { - "shape": "AudioLanguageSelectionPolicy", - "locationName": "languageSelectionPolicy" + "CodingMode": { + "shape": "AacCodingMode", + "locationName": "codingMode" + }, + "InputType": { + "shape": "AacInputType", + "locationName": "inputType" + }, + "Profile": { + "shape": "AacProfile", + "locationName": "profile" + }, + "RateControlMode": { + "shape": "AacRateControlMode", + "locationName": "rateControlMode" + }, + "RawFormat": { + "shape": "AacRawFormat", + "locationName": "rawFormat" + }, + "SampleRate": { + "shape": "__double", + "locationName": "sampleRate" + }, + "Spec": { + "shape": "AacSpec", + "locationName": "spec" + }, + "VbrQuality": { + "shape": "AacVbrQuality", + "locationName": "vbrQuality" } - }, - "required": [ - "LanguageCode" + } + }, + "AacSpec": { + "type": "string", + "enum": [ + "MPEG2", + "MPEG4" ] }, - "AudioLanguageSelectionPolicy": { + "AacVbrQuality": { "type": "string", "enum": [ - "LOOSE", - "STRICT" + "HIGH", + "LOW", + "MEDIUM_HIGH", + "MEDIUM_LOW" ] }, - "AudioNormalizationAlgorithm": { + "Ac3AttenuationControl": { "type": "string", "enum": [ - "ITU_1770_1", - "ITU_1770_2" + "ATTENUATE_3_DB", + "NONE" ] }, - "AudioNormalizationAlgorithmControl": { + "Ac3BitstreamMode": { "type": "string", "enum": [ - "CORRECT_AUDIO" + "COMMENTARY", + "COMPLETE_MAIN", + "DIALOGUE", + "EMERGENCY", + "HEARING_IMPAIRED", + "MUSIC_AND_EFFECTS", + "VISUALLY_IMPAIRED", + "VOICE_OVER" ] }, - "AudioNormalizationSettings": { - "type": "structure", - "members": { - "Algorithm": { - "shape": "AudioNormalizationAlgorithm", - "locationName": "algorithm" - }, - "AlgorithmControl": { - "shape": "AudioNormalizationAlgorithmControl", - "locationName": "algorithmControl" - }, - "TargetLkfs": { - "shape": "__doubleMinNegative59Max0", - "locationName": "targetLkfs" - } - } + "Ac3CodingMode": { + "type": "string", + "enum": [ + "CODING_MODE_1_0", + "CODING_MODE_1_1", + "CODING_MODE_2_0", + "CODING_MODE_3_2_LFE" + ] }, - "AudioOnlyHlsSegmentType": { + "Ac3DrcProfile": { "type": "string", "enum": [ - "AAC", - "FMP4" + "FILM_STANDARD", + "NONE" ] }, - "AudioOnlyHlsSettings": { + "Ac3LfeFilter": { + "type": "string", + "enum": [ + "DISABLED", + "ENABLED" + ] + }, + "Ac3MetadataControl": { + "type": "string", + "enum": [ + "FOLLOW_INPUT", + "USE_CONFIGURED" + ] + }, + "Ac3Settings": { "type": "structure", "members": { - "AudioGroupId": { - "shape": "__string", - "locationName": "audioGroupId" + "Bitrate": { + "shape": "__double", + "locationName": "bitrate" }, - "AudioOnlyImage": { - "shape": "InputLocation", - "locationName": "audioOnlyImage" + "BitstreamMode": { + "shape": "Ac3BitstreamMode", + "locationName": "bitstreamMode" }, - "AudioTrackType": { - "shape": "AudioOnlyHlsTrackType", - "locationName": "audioTrackType" + "CodingMode": { + "shape": "Ac3CodingMode", + "locationName": "codingMode" }, - "SegmentType": { - "shape": "AudioOnlyHlsSegmentType", - "locationName": "segmentType" + "Dialnorm": { + "shape": "__integerMin1Max31", + "locationName": "dialnorm" + }, + "DrcProfile": { + "shape": "Ac3DrcProfile", + "locationName": "drcProfile" + }, + "LfeFilter": { + "shape": "Ac3LfeFilter", + "locationName": "lfeFilter" + }, + "MetadataControl": { + "shape": "Ac3MetadataControl", + "locationName": "metadataControl" + }, + "AttenuationControl": { + "shape": "Ac3AttenuationControl", + "locationName": "attenuationControl" } } }, - "AudioOnlyHlsTrackType": { - "type": "string", - "enum": [ - "ALTERNATE_AUDIO_AUTO_SELECT", - "ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT", - "ALTERNATE_AUDIO_NOT_AUTO_SELECT", - "AUDIO_ONLY_VARIANT_STREAM" - ] - }, - "AudioPidSelection": { + "AcceptInputDeviceTransferRequest": { "type": "structure", "members": { - "Pid": { - "shape": "__integerMin0Max8191", - "locationName": "pid" + "InputDeviceId": { + "shape": "__string", + "location": "uri", + "locationName": "inputDeviceId" } }, "required": [ - "Pid" + "InputDeviceId" ] }, - "AudioSelector": { + "AcceptInputDeviceTransferResponse": { "type": "structure", "members": { - "Name": { - "shape": "__stringMin1", - "locationName": "name" - }, - "SelectorSettings": { - "shape": "AudioSelectorSettings", - "locationName": "selectorSettings" + } + }, + "AccessDenied": { + "type": "structure", + "members": { + "Message": { + "shape": "__string", + "locationName": "message" } - }, - "required": [ - "Name" + } + }, + "AccessibilityType": { + "type": "string", + "enum": [ + "DOES_NOT_IMPLEMENT_ACCESSIBILITY_FEATURES", + "IMPLEMENTS_ACCESSIBILITY_FEATURES" ] }, - "AudioSelectorSettings": { + "AccountConfiguration": { "type": "structure", "members": { - "AudioHlsRenditionSelection": { - "shape": "AudioHlsRenditionSelection", - "locationName": "audioHlsRenditionSelection" - }, - "AudioLanguageSelection": { - "shape": "AudioLanguageSelection", - "locationName": "audioLanguageSelection" - }, - "AudioPidSelection": { - "shape": "AudioPidSelection", - "locationName": "audioPidSelection" - }, - "AudioTrackSelection": { - "shape": "AudioTrackSelection", - "locationName": "audioTrackSelection" + "KmsKeyId": { + "shape": "__string", + "locationName": "kmsKeyId" } } }, - "AudioSilenceFailoverSettings": { - "type": "structure", - "members": { - "AudioSelectorName": { - "shape": "__string", - "locationName": "audioSelectorName" - }, - "AudioSilenceThresholdMsec": { - "shape": "__integerMin1000", - "locationName": "audioSilenceThresholdMsec" - } - }, - "required": [ - "AudioSelectorName" + "AfdSignaling": { + "type": "string", + "enum": [ + "AUTO", + "FIXED", + "NONE" ] }, - "AudioTrack": { + "AncillarySourceSettings": { "type": "structure", "members": { - "Track": { - "shape": "__integerMin1", - "locationName": "track" + "SourceAncillaryChannelNumber": { + "shape": "__integerMin1Max4", + "locationName": "sourceAncillaryChannelNumber" } - }, - "required": [ - "Track" - ] + } }, - "AudioTrackSelection": { + "ArchiveCdnSettings": { "type": "structure", "members": { - "Tracks": { - "shape": "__listOfAudioTrack", - "locationName": "tracks" - }, - "DolbyEDecode": { - "shape": "AudioDolbyEDecode", - "locationName": "dolbyEDecode" + "ArchiveS3Settings": { + "shape": "ArchiveS3Settings", + "locationName": "archiveS3Settings" } - }, - "required": [ - "Tracks" - ] - }, - "AudioType": { - "type": "string", - "enum": [ - "CLEAN_EFFECTS", - "HEARING_IMPAIRED", - "UNDEFINED", - "VISUAL_IMPAIRED_COMMENTARY" - ] + } }, - "AudioWatermarkSettings": { + "ArchiveContainerSettings": { "type": "structure", "members": { - "NielsenWatermarksSettings": { - "shape": "NielsenWatermarksSettings", - "locationName": "nielsenWatermarksSettings" + "M2tsSettings": { + "shape": "M2tsSettings", + "locationName": "m2tsSettings" + }, + "RawSettings": { + "shape": "RawSettings", + "locationName": "rawSettings" } } }, - "AuthenticationScheme": { - "type": "string", - "enum": [ - "AKAMAI", - "COMMON" - ] - }, - "AutomaticInputFailoverSettings": { + "ArchiveGroupSettings": { "type": "structure", "members": { - "ErrorClearTimeMsec": { - "shape": "__integerMin1", - "locationName": "errorClearTimeMsec" - }, - "FailoverConditions": { - "shape": "__listOfFailoverCondition", - "locationName": "failoverConditions" + "ArchiveCdnSettings": { + "shape": "ArchiveCdnSettings", + "locationName": "archiveCdnSettings" }, - "InputPreference": { - "shape": "InputPreference", - "locationName": "inputPreference" + "Destination": { + "shape": "OutputLocationRef", + "locationName": "destination" }, - "SecondaryInputId": { - "shape": "__string", - "locationName": "secondaryInputId" + "RolloverInterval": { + "shape": "__integerMin1", + "locationName": "rolloverInterval" } }, "required": [ - "SecondaryInputId" + "Destination" ] }, - "AvailBlanking": { + "ArchiveOutputSettings": { "type": "structure", "members": { - "AvailBlankingImage": { - "shape": "InputLocation", - "locationName": "availBlankingImage" + "ContainerSettings": { + "shape": "ArchiveContainerSettings", + "locationName": "containerSettings" }, - "State": { - "shape": "AvailBlankingState", - "locationName": "state" + "Extension": { + "shape": "__string", + "locationName": "extension" + }, + "NameModifier": { + "shape": "__string", + "locationName": "nameModifier" } - } + }, + "required": [ + "ContainerSettings" + ] }, - "AvailBlankingState": { + "ArchiveS3LogUploads": { "type": "string", "enum": [ "DISABLED", "ENABLED" ] }, - "AvailConfiguration": { + "ArchiveS3Settings": { "type": "structure", "members": { - "AvailSettings": { - "shape": "AvailSettings", - "locationName": "availSettings" + "CannedAcl": { + "shape": "S3CannedAcl", + "locationName": "cannedAcl" } } }, - "AvailSettings": { + "AribDestinationSettings": { "type": "structure", "members": { - "Esam": { - "shape": "Esam", - "locationName": "esam" - }, - "Scte35SpliceInsert": { - "shape": "Scte35SpliceInsert", - "locationName": "scte35SpliceInsert" - }, - "Scte35TimeSignalApos": { - "shape": "Scte35TimeSignalApos", - "locationName": "scte35TimeSignalApos" - } } }, - "BadGatewayException": { + "AribSourceSettings": { "type": "structure", "members": { - "Message": { - "shape": "__string", - "locationName": "message" - } - }, - "exception": true, - "error": { - "httpStatusCode": 502 } }, - "BadRequestException": { + "AudioChannelMapping": { "type": "structure", "members": { - "Message": { - "shape": "__string", - "locationName": "message" + "InputChannelLevels": { + "shape": "__listOfInputChannelLevel", + "locationName": "inputChannelLevels" + }, + "OutputChannel": { + "shape": "__integerMin0Max7", + "locationName": "outputChannel" } }, - "exception": true, - "error": { - "httpStatusCode": 400 - } + "required": [ + "OutputChannel", + "InputChannelLevels" + ] }, - "BatchDelete": { + "AudioCodecSettings": { "type": "structure", "members": { - "ChannelIds": { - "shape": "__listOf__string", - "locationName": "channelIds" + "AacSettings": { + "shape": "AacSettings", + "locationName": "aacSettings" }, - "InputIds": { - "shape": "__listOf__string", - "locationName": "inputIds" + "Ac3Settings": { + "shape": "Ac3Settings", + "locationName": "ac3Settings" }, - "InputSecurityGroupIds": { - "shape": "__listOf__string", - "locationName": "inputSecurityGroupIds" + "Eac3AtmosSettings": { + "shape": "Eac3AtmosSettings", + "locationName": "eac3AtmosSettings" }, - "MultiplexIds": { - "shape": "__listOf__string", - "locationName": "multiplexIds" - } - } - }, - "BatchDeleteRequest": { - "type": "structure", - "members": { - "ChannelIds": { - "shape": "__listOf__string", - "locationName": "channelIds" + "Eac3Settings": { + "shape": "Eac3Settings", + "locationName": "eac3Settings" }, - "InputIds": { - "shape": "__listOf__string", - "locationName": "inputIds" + "Mp2Settings": { + "shape": "Mp2Settings", + "locationName": "mp2Settings" }, - "InputSecurityGroupIds": { - "shape": "__listOf__string", - "locationName": "inputSecurityGroupIds" + "PassThroughSettings": { + "shape": "PassThroughSettings", + "locationName": "passThroughSettings" }, - "MultiplexIds": { - "shape": "__listOf__string", - "locationName": "multiplexIds" + "WavSettings": { + "shape": "WavSettings", + "locationName": "wavSettings" } } }, - "BatchDeleteResponse": { + "AudioDescription": { "type": "structure", "members": { - "Failed": { - "shape": "__listOfBatchFailedResultModel", - "locationName": "failed" - }, - "Successful": { - "shape": "__listOfBatchSuccessfulResultModel", - "locationName": "successful" - } - } - }, - "BatchDeleteResultModel": { - "type": "structure", - "members": { - "Failed": { - "shape": "__listOfBatchFailedResultModel", - "locationName": "failed" + "AudioNormalizationSettings": { + "shape": "AudioNormalizationSettings", + "locationName": "audioNormalizationSettings" }, - "Successful": { - "shape": "__listOfBatchSuccessfulResultModel", - "locationName": "successful" - } - } - }, - "BatchFailedResultModel": { - "type": "structure", - "members": { - "Arn": { + "AudioSelectorName": { "shape": "__string", - "locationName": "arn" + "locationName": "audioSelectorName" }, - "Code": { - "shape": "__string", - "locationName": "code" + "AudioType": { + "shape": "AudioType", + "locationName": "audioType" }, - "Id": { - "shape": "__string", - "locationName": "id" + "AudioTypeControl": { + "shape": "AudioDescriptionAudioTypeControl", + "locationName": "audioTypeControl" }, - "Message": { + "AudioWatermarkingSettings": { + "shape": "AudioWatermarkSettings", + "locationName": "audioWatermarkingSettings" + }, + "CodecSettings": { + "shape": "AudioCodecSettings", + "locationName": "codecSettings" + }, + "LanguageCode": { + "shape": "__stringMin1Max35", + "locationName": "languageCode" + }, + "LanguageCodeControl": { + "shape": "AudioDescriptionLanguageCodeControl", + "locationName": "languageCodeControl" + }, + "Name": { + "shape": "__stringMax255", + "locationName": "name" + }, + "RemixSettings": { + "shape": "RemixSettings", + "locationName": "remixSettings" + }, + "StreamName": { "shape": "__string", - "locationName": "message" - } - } - }, - "BatchScheduleActionCreateRequest": { - "type": "structure", - "members": { - "ScheduleActions": { - "shape": "__listOfScheduleAction", - "locationName": "scheduleActions" + "locationName": "streamName" + }, + "AudioDashRoles": { + "shape": "__listOfDashRoleAudio", + "locationName": "audioDashRoles" + }, + "DvbDashAccessibility": { + "shape": "DvbDashAccessibility", + "locationName": "dvbDashAccessibility" } }, "required": [ - "ScheduleActions" + "AudioSelectorName", + "Name" ] }, - "BatchScheduleActionCreateResult": { + "AudioDescriptionAudioTypeControl": { + "type": "string", + "enum": [ + "FOLLOW_INPUT", + "USE_CONFIGURED" + ] + }, + "AudioDescriptionLanguageCodeControl": { + "type": "string", + "enum": [ + "FOLLOW_INPUT", + "USE_CONFIGURED" + ] + }, + "AudioDolbyEDecode": { "type": "structure", "members": { - "ScheduleActions": { - "shape": "__listOfScheduleAction", - "locationName": "scheduleActions" + "ProgramSelection": { + "shape": "DolbyEProgramSelection", + "locationName": "programSelection" } }, "required": [ - "ScheduleActions" + "ProgramSelection" ] }, - "BatchScheduleActionDeleteRequest": { + "AudioHlsRenditionSelection": { "type": "structure", "members": { - "ActionNames": { - "shape": "__listOf__string", - "locationName": "actionNames" + "GroupId": { + "shape": "__stringMin1", + "locationName": "groupId" + }, + "Name": { + "shape": "__stringMin1", + "locationName": "name" } }, "required": [ - "ActionNames" + "Name", + "GroupId" ] }, - "BatchScheduleActionDeleteResult": { + "AudioLanguageSelection": { "type": "structure", "members": { - "ScheduleActions": { - "shape": "__listOfScheduleAction", - "locationName": "scheduleActions" + "LanguageCode": { + "shape": "__string", + "locationName": "languageCode" + }, + "LanguageSelectionPolicy": { + "shape": "AudioLanguageSelectionPolicy", + "locationName": "languageSelectionPolicy" } }, "required": [ - "ScheduleActions" + "LanguageCode" ] }, - "BatchStart": { + "AudioLanguageSelectionPolicy": { + "type": "string", + "enum": [ + "LOOSE", + "STRICT" + ] + }, + "AudioNormalizationAlgorithm": { + "type": "string", + "enum": [ + "ITU_1770_1", + "ITU_1770_2" + ] + }, + "AudioNormalizationAlgorithmControl": { + "type": "string", + "enum": [ + "CORRECT_AUDIO" + ] + }, + "AudioNormalizationSettings": { "type": "structure", "members": { - "ChannelIds": { - "shape": "__listOf__string", - "locationName": "channelIds" + "Algorithm": { + "shape": "AudioNormalizationAlgorithm", + "locationName": "algorithm" }, - "MultiplexIds": { - "shape": "__listOf__string", - "locationName": "multiplexIds" + "AlgorithmControl": { + "shape": "AudioNormalizationAlgorithmControl", + "locationName": "algorithmControl" + }, + "TargetLkfs": { + "shape": "__doubleMinNegative59Max0", + "locationName": "targetLkfs" } } }, - "BatchStartRequest": { + "AudioOnlyHlsSegmentType": { + "type": "string", + "enum": [ + "AAC", + "FMP4" + ] + }, + "AudioOnlyHlsSettings": { "type": "structure", "members": { - "ChannelIds": { - "shape": "__listOf__string", - "locationName": "channelIds" + "AudioGroupId": { + "shape": "__string", + "locationName": "audioGroupId" }, - "MultiplexIds": { - "shape": "__listOf__string", - "locationName": "multiplexIds" + "AudioOnlyImage": { + "shape": "InputLocation", + "locationName": "audioOnlyImage" + }, + "AudioTrackType": { + "shape": "AudioOnlyHlsTrackType", + "locationName": "audioTrackType" + }, + "SegmentType": { + "shape": "AudioOnlyHlsSegmentType", + "locationName": "segmentType" } } }, - "BatchStartResponse": { + "AudioOnlyHlsTrackType": { + "type": "string", + "enum": [ + "ALTERNATE_AUDIO_AUTO_SELECT", + "ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT", + "ALTERNATE_AUDIO_NOT_AUTO_SELECT", + "AUDIO_ONLY_VARIANT_STREAM" + ] + }, + "AudioPidSelection": { "type": "structure", "members": { - "Failed": { - "shape": "__listOfBatchFailedResultModel", - "locationName": "failed" - }, - "Successful": { - "shape": "__listOfBatchSuccessfulResultModel", - "locationName": "successful" + "Pid": { + "shape": "__integerMin0Max8191", + "locationName": "pid" } - } + }, + "required": [ + "Pid" + ] }, - "BatchStartResultModel": { + "AudioSelector": { "type": "structure", "members": { - "Failed": { - "shape": "__listOfBatchFailedResultModel", - "locationName": "failed" + "Name": { + "shape": "__stringMin1", + "locationName": "name" }, - "Successful": { - "shape": "__listOfBatchSuccessfulResultModel", - "locationName": "successful" + "SelectorSettings": { + "shape": "AudioSelectorSettings", + "locationName": "selectorSettings" } - } + }, + "required": [ + "Name" + ] }, - "BatchStop": { + "AudioSelectorSettings": { "type": "structure", "members": { - "ChannelIds": { + "AudioHlsRenditionSelection": { + "shape": "AudioHlsRenditionSelection", + "locationName": "audioHlsRenditionSelection" + }, + "AudioLanguageSelection": { + "shape": "AudioLanguageSelection", + "locationName": "audioLanguageSelection" + }, + "AudioPidSelection": { + "shape": "AudioPidSelection", + "locationName": "audioPidSelection" + }, + "AudioTrackSelection": { + "shape": "AudioTrackSelection", + "locationName": "audioTrackSelection" + } + } + }, + "AudioSilenceFailoverSettings": { + "type": "structure", + "members": { + "AudioSelectorName": { + "shape": "__string", + "locationName": "audioSelectorName" + }, + "AudioSilenceThresholdMsec": { + "shape": "__integerMin1000", + "locationName": "audioSilenceThresholdMsec" + } + }, + "required": [ + "AudioSelectorName" + ] + }, + "AudioTrack": { + "type": "structure", + "members": { + "Track": { + "shape": "__integerMin1", + "locationName": "track" + } + }, + "required": [ + "Track" + ] + }, + "AudioTrackSelection": { + "type": "structure", + "members": { + "Tracks": { + "shape": "__listOfAudioTrack", + "locationName": "tracks" + }, + "DolbyEDecode": { + "shape": "AudioDolbyEDecode", + "locationName": "dolbyEDecode" + } + }, + "required": [ + "Tracks" + ] + }, + "AudioType": { + "type": "string", + "enum": [ + "CLEAN_EFFECTS", + "HEARING_IMPAIRED", + "UNDEFINED", + "VISUAL_IMPAIRED_COMMENTARY" + ] + }, + "AudioWatermarkSettings": { + "type": "structure", + "members": { + "NielsenWatermarksSettings": { + "shape": "NielsenWatermarksSettings", + "locationName": "nielsenWatermarksSettings" + } + } + }, + "AuthenticationScheme": { + "type": "string", + "enum": [ + "AKAMAI", + "COMMON" + ] + }, + "AutomaticInputFailoverSettings": { + "type": "structure", + "members": { + "ErrorClearTimeMsec": { + "shape": "__integerMin1", + "locationName": "errorClearTimeMsec" + }, + "FailoverConditions": { + "shape": "__listOfFailoverCondition", + "locationName": "failoverConditions" + }, + "InputPreference": { + "shape": "InputPreference", + "locationName": "inputPreference" + }, + "SecondaryInputId": { + "shape": "__string", + "locationName": "secondaryInputId" + } + }, + "required": [ + "SecondaryInputId" + ] + }, + "AvailBlanking": { + "type": "structure", + "members": { + "AvailBlankingImage": { + "shape": "InputLocation", + "locationName": "availBlankingImage" + }, + "State": { + "shape": "AvailBlankingState", + "locationName": "state" + } + } + }, + "AvailBlankingState": { + "type": "string", + "enum": [ + "DISABLED", + "ENABLED" + ] + }, + "AvailConfiguration": { + "type": "structure", + "members": { + "AvailSettings": { + "shape": "AvailSettings", + "locationName": "availSettings" + } + } + }, + "AvailSettings": { + "type": "structure", + "members": { + "Esam": { + "shape": "Esam", + "locationName": "esam" + }, + "Scte35SpliceInsert": { + "shape": "Scte35SpliceInsert", + "locationName": "scte35SpliceInsert" + }, + "Scte35TimeSignalApos": { + "shape": "Scte35TimeSignalApos", + "locationName": "scte35TimeSignalApos" + } + } + }, + "BadGatewayException": { + "type": "structure", + "members": { + "Message": { + "shape": "__string", + "locationName": "message" + } + }, + "exception": true, + "error": { + "httpStatusCode": 502 + } + }, + "BadRequestException": { + "type": "structure", + "members": { + "Message": { + "shape": "__string", + "locationName": "message" + } + }, + "exception": true, + "error": { + "httpStatusCode": 400 + } + }, + "BatchDelete": { + "type": "structure", + "members": { + "ChannelIds": { "shape": "__listOf__string", "locationName": "channelIds" }, + "InputIds": { + "shape": "__listOf__string", + "locationName": "inputIds" + }, + "InputSecurityGroupIds": { + "shape": "__listOf__string", + "locationName": "inputSecurityGroupIds" + }, "MultiplexIds": { "shape": "__listOf__string", "locationName": "multiplexIds" } } }, - "BatchStopRequest": { + "BatchDeleteRequest": { "type": "structure", "members": { "ChannelIds": { "shape": "__listOf__string", "locationName": "channelIds" }, + "InputIds": { + "shape": "__listOf__string", + "locationName": "inputIds" + }, + "InputSecurityGroupIds": { + "shape": "__listOf__string", + "locationName": "inputSecurityGroupIds" + }, "MultiplexIds": { "shape": "__listOf__string", "locationName": "multiplexIds" } } }, - "BatchStopResponse": { + "BatchDeleteResponse": { "type": "structure", "members": { "Failed": { @@ -3484,7 +4184,7 @@ } } }, - "BatchStopResultModel": { + "BatchDeleteResultModel": { "type": "structure", "members": { "Failed": { @@ -3497,58 +4197,231 @@ } } }, - "BatchSuccessfulResultModel": { + "BatchFailedResultModel": { "type": "structure", "members": { "Arn": { "shape": "__string", "locationName": "arn" }, + "Code": { + "shape": "__string", + "locationName": "code" + }, "Id": { "shape": "__string", "locationName": "id" }, - "State": { + "Message": { "shape": "__string", - "locationName": "state" + "locationName": "message" } } }, - "BatchUpdateScheduleRequest": { + "BatchScheduleActionCreateRequest": { "type": "structure", "members": { - "ChannelId": { - "shape": "__string", - "location": "uri", - "locationName": "channelId" - }, - "Creates": { - "shape": "BatchScheduleActionCreateRequest", - "locationName": "creates" - }, - "Deletes": { - "shape": "BatchScheduleActionDeleteRequest", - "locationName": "deletes" + "ScheduleActions": { + "shape": "__listOfScheduleAction", + "locationName": "scheduleActions" } }, "required": [ - "ChannelId" + "ScheduleActions" ] }, - "BatchUpdateScheduleResponse": { + "BatchScheduleActionCreateResult": { "type": "structure", "members": { - "Creates": { - "shape": "BatchScheduleActionCreateResult", - "locationName": "creates" - }, - "Deletes": { - "shape": "BatchScheduleActionDeleteResult", - "locationName": "deletes" + "ScheduleActions": { + "shape": "__listOfScheduleAction", + "locationName": "scheduleActions" } - } + }, + "required": [ + "ScheduleActions" + ] }, - "BatchUpdateScheduleResult": { + "BatchScheduleActionDeleteRequest": { + "type": "structure", + "members": { + "ActionNames": { + "shape": "__listOf__string", + "locationName": "actionNames" + } + }, + "required": [ + "ActionNames" + ] + }, + "BatchScheduleActionDeleteResult": { + "type": "structure", + "members": { + "ScheduleActions": { + "shape": "__listOfScheduleAction", + "locationName": "scheduleActions" + } + }, + "required": [ + "ScheduleActions" + ] + }, + "BatchStart": { + "type": "structure", + "members": { + "ChannelIds": { + "shape": "__listOf__string", + "locationName": "channelIds" + }, + "MultiplexIds": { + "shape": "__listOf__string", + "locationName": "multiplexIds" + } + } + }, + "BatchStartRequest": { + "type": "structure", + "members": { + "ChannelIds": { + "shape": "__listOf__string", + "locationName": "channelIds" + }, + "MultiplexIds": { + "shape": "__listOf__string", + "locationName": "multiplexIds" + } + } + }, + "BatchStartResponse": { + "type": "structure", + "members": { + "Failed": { + "shape": "__listOfBatchFailedResultModel", + "locationName": "failed" + }, + "Successful": { + "shape": "__listOfBatchSuccessfulResultModel", + "locationName": "successful" + } + } + }, + "BatchStartResultModel": { + "type": "structure", + "members": { + "Failed": { + "shape": "__listOfBatchFailedResultModel", + "locationName": "failed" + }, + "Successful": { + "shape": "__listOfBatchSuccessfulResultModel", + "locationName": "successful" + } + } + }, + "BatchStop": { + "type": "structure", + "members": { + "ChannelIds": { + "shape": "__listOf__string", + "locationName": "channelIds" + }, + "MultiplexIds": { + "shape": "__listOf__string", + "locationName": "multiplexIds" + } + } + }, + "BatchStopRequest": { + "type": "structure", + "members": { + "ChannelIds": { + "shape": "__listOf__string", + "locationName": "channelIds" + }, + "MultiplexIds": { + "shape": "__listOf__string", + "locationName": "multiplexIds" + } + } + }, + "BatchStopResponse": { + "type": "structure", + "members": { + "Failed": { + "shape": "__listOfBatchFailedResultModel", + "locationName": "failed" + }, + "Successful": { + "shape": "__listOfBatchSuccessfulResultModel", + "locationName": "successful" + } + } + }, + "BatchStopResultModel": { + "type": "structure", + "members": { + "Failed": { + "shape": "__listOfBatchFailedResultModel", + "locationName": "failed" + }, + "Successful": { + "shape": "__listOfBatchSuccessfulResultModel", + "locationName": "successful" + } + } + }, + "BatchSuccessfulResultModel": { + "type": "structure", + "members": { + "Arn": { + "shape": "__string", + "locationName": "arn" + }, + "Id": { + "shape": "__string", + "locationName": "id" + }, + "State": { + "shape": "__string", + "locationName": "state" + } + } + }, + "BatchUpdateScheduleRequest": { + "type": "structure", + "members": { + "ChannelId": { + "shape": "__string", + "location": "uri", + "locationName": "channelId" + }, + "Creates": { + "shape": "BatchScheduleActionCreateRequest", + "locationName": "creates" + }, + "Deletes": { + "shape": "BatchScheduleActionDeleteRequest", + "locationName": "deletes" + } + }, + "required": [ + "ChannelId" + ] + }, + "BatchUpdateScheduleResponse": { + "type": "structure", + "members": { + "Creates": { + "shape": "BatchScheduleActionCreateResult", + "locationName": "creates" + }, + "Deletes": { + "shape": "BatchScheduleActionDeleteResult", + "locationName": "deletes" + } + } + }, + "BatchUpdateScheduleResult": { "type": "structure", "members": { "Creates": { @@ -15018,340 +15891,4094 @@ ], "documentation": "Specifies the media type of the thumbnail." }, - "__timestamp": { - "type": "timestamp", - "documentation": "Placeholder documentation for __timestamp" + "__timestamp": { + "type": "timestamp", + "documentation": "Placeholder documentation for __timestamp" + }, + "InputDeviceConfigurableAudioChannelPairConfig": { + "type": "structure", + "members": { + "Id": { + "shape": "__integer", + "locationName": "id" + }, + "Profile": { + "shape": "InputDeviceConfigurableAudioChannelPairProfile", + "locationName": "profile" + } + } + }, + "InputDeviceConfigurableAudioChannelPairProfile": { + "type": "string", + "enum": [ + "DISABLED", + "VBR-AAC_HHE-16000", + "VBR-AAC_HE-64000", + "VBR-AAC_LC-128000", + "CBR-AAC_HQ-192000", + "CBR-AAC_HQ-256000", + "CBR-AAC_HQ-384000", + "CBR-AAC_HQ-512000" + ] + }, + "InputDeviceUhdAudioChannelPairConfig": { + "type": "structure", + "members": { + "Id": { + "shape": "__integer", + "locationName": "id" + }, + "Profile": { + "shape": "InputDeviceUhdAudioChannelPairProfile", + "locationName": "profile" + } + } + }, + "InputDeviceUhdAudioChannelPairProfile": { + "type": "string", + "enum": [ + "DISABLED", + "VBR-AAC_HHE-16000", + "VBR-AAC_HE-64000", + "VBR-AAC_LC-128000", + "CBR-AAC_HQ-192000", + "CBR-AAC_HQ-256000", + "CBR-AAC_HQ-384000", + "CBR-AAC_HQ-512000" + ] + }, + "__listOfInputDeviceConfigurableAudioChannelPairConfig": { + "type": "list", + "member": { + "shape": "InputDeviceConfigurableAudioChannelPairConfig" + } + }, + "__listOfInputDeviceUhdAudioChannelPairConfig": { + "type": "list", + "member": { + "shape": "InputDeviceUhdAudioChannelPairConfig" + } + }, + "ChannelPipelineIdToRestart": { + "type": "string", + "enum": [ + "PIPELINE_0", + "PIPELINE_1" + ] + }, + "RestartChannelPipelinesRequest": { + "type": "structure", + "members": { + "ChannelId": { + "shape": "__string", + "location": "uri", + "locationName": "channelId" + }, + "PipelineIds": { + "shape": "__listOfChannelPipelineIdToRestart", + "locationName": "pipelineIds" + } + }, + "required": [ + "ChannelId" + ] + }, + "RestartChannelPipelinesResponse": { + "type": "structure", + "members": { + "Arn": { + "shape": "__string", + "locationName": "arn" + }, + "CdiInputSpecification": { + "shape": "CdiInputSpecification", + "locationName": "cdiInputSpecification" + }, + "ChannelClass": { + "shape": "ChannelClass", + "locationName": "channelClass" + }, + "Destinations": { + "shape": "__listOfOutputDestination", + "locationName": "destinations" + }, + "EgressEndpoints": { + "shape": "__listOfChannelEgressEndpoint", + "locationName": "egressEndpoints" + }, + "EncoderSettings": { + "shape": "EncoderSettings", + "locationName": "encoderSettings" + }, + "Id": { + "shape": "__string", + "locationName": "id" + }, + "InputAttachments": { + "shape": "__listOfInputAttachment", + "locationName": "inputAttachments" + }, + "InputSpecification": { + "shape": "InputSpecification", + "locationName": "inputSpecification" + }, + "LogLevel": { + "shape": "LogLevel", + "locationName": "logLevel" + }, + "Maintenance": { + "shape": "MaintenanceStatus", + "locationName": "maintenance" + }, + "MaintenanceStatus": { + "shape": "__string", + "locationName": "maintenanceStatus" + }, + "Name": { + "shape": "__string", + "locationName": "name" + }, + "PipelineDetails": { + "shape": "__listOfPipelineDetail", + "locationName": "pipelineDetails" + }, + "PipelinesRunningCount": { + "shape": "__integer", + "locationName": "pipelinesRunningCount" + }, + "RoleArn": { + "shape": "__string", + "locationName": "roleArn" + }, + "State": { + "shape": "ChannelState", + "locationName": "state" + }, + "Tags": { + "shape": "Tags", + "locationName": "tags" + }, + "Vpc": { + "shape": "VpcOutputSettingsDescription", + "locationName": "vpc" + } + } + }, + "__listOfChannelPipelineIdToRestart": { + "type": "list", + "member": { + "shape": "ChannelPipelineIdToRestart" + } + }, + "H265MvOverPictureBoundaries": { + "type": "string", + "enum": [ + "DISABLED", + "ENABLED" + ] + }, + "H265MvTemporalPredictor": { + "type": "string", + "enum": [ + "DISABLED", + "ENABLED" + ] + }, + "H265TilePadding": { + "type": "string", + "enum": [ + "NONE", + "PADDED" + ] + }, + "H265TreeblockSize": { + "type": "string", + "enum": [ + "AUTO", + "TREE_SIZE_32X32" + ] + }, + "__integerMin256Max3840": { + "type": "integer", + "min": 256, + "max": 3840 + }, + "__integerMin64Max2160": { + "type": "integer", + "min": 64, + "max": 2160 + }, + "CmafIngestGroupSettings": { + "type": "structure", + "members": { + "Destination": { + "shape": "OutputLocationRef", + "locationName": "destination" + }, + "NielsenId3Behavior": { + "shape": "CmafNielsenId3Behavior", + "locationName": "nielsenId3Behavior" + }, + "Scte35Type": { + "shape": "Scte35Type", + "locationName": "scte35Type" + }, + "SegmentLength": { + "shape": "__integerMin1", + "locationName": "segmentLength" + }, + "SegmentLengthUnits": { + "shape": "CmafIngestSegmentLengthUnits", + "locationName": "segmentLengthUnits" + }, + "SendDelayMs": { + "shape": "__integerMin0Max2000", + "locationName": "sendDelayMs" + } + }, + "required": [ + "Destination" + ] + }, + "CmafIngestOutputSettings": { + "type": "structure", + "members": { + "NameModifier": { + "shape": "__string", + "locationName": "nameModifier" + } + } + }, + "CmafIngestSegmentLengthUnits": { + "type": "string", + "enum": [ + "MILLISECONDS", + "SECONDS" + ] + }, + "CmafNielsenId3Behavior": { + "type": "string", + "enum": [ + "NO_PASSTHROUGH", + "PASSTHROUGH" + ] + }, + "DashRoleAudio": { + "type": "string", + "enum": [ + "ALTERNATE", + "COMMENTARY", + "DESCRIPTION", + "DUB", + "EMERGENCY", + "ENHANCED-AUDIO-INTELLIGIBILITY", + "KARAOKE", + "MAIN", + "SUPPLEMENTARY" + ] + }, + "DashRoleCaption": { + "type": "string", + "enum": [ + "ALTERNATE", + "CAPTION", + "COMMENTARY", + "DESCRIPTION", + "DUB", + "EASYREADER", + "EMERGENCY", + "FORCED-SUBTITLE", + "KARAOKE", + "MAIN", + "METADATA", + "SUBTITLE", + "SUPPLEMENTARY" + ] + }, + "DvbDashAccessibility": { + "type": "string", + "enum": [ + "DVBDASH_1_VISUALLY_IMPAIRED", + "DVBDASH_2_HARD_OF_HEARING", + "DVBDASH_3_SUPPLEMENTAL_COMMENTARY", + "DVBDASH_4_DIRECTORS_COMMENTARY", + "DVBDASH_5_EDUCATIONAL_NOTES", + "DVBDASH_6_MAIN_PROGRAM", + "DVBDASH_7_CLEAN_FEED" + ] + }, + "__listOfDashRoleAudio": { + "type": "list", + "member": { + "shape": "DashRoleAudio" + } + }, + "__listOfDashRoleCaption": { + "type": "list", + "member": { + "shape": "DashRoleCaption" + } + }, + "Scte35Type": { + "type": "string", + "enum": [ + "NONE", + "SCTE_35_WITHOUT_SEGMENTATION" + ] + }, + "BadRequestExceptionResponseContent": { + "type": "structure", + "members": { + "Message": { + "shape": "__string", + "locationName": "message" + } + } + }, + "CloudWatchAlarmTemplateComparisonOperator": { + "type": "string", + "enum": [ + "GreaterThanOrEqualToThreshold", + "GreaterThanThreshold", + "LessThanThreshold", + "LessThanOrEqualToThreshold" + ] + }, + "CloudWatchAlarmTemplateGroupSummary": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplateGroup", + "locationName": "arn" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + }, + "TemplateCount": { + "shape": "__integer", + "locationName": "templateCount" + } + }, + "required": [ + "TemplateCount", + "CreatedAt", + "Id", + "Arn", + "Name" + ] + }, + "CloudWatchAlarmTemplateStatistic": { + "type": "string", + "enum": [ + "SampleCount", + "Average", + "Sum", + "Minimum", + "Maximum" + ] + }, + "CloudWatchAlarmTemplateSummary": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplate", + "locationName": "arn" + }, + "ComparisonOperator": { + "shape": "CloudWatchAlarmTemplateComparisonOperator", + "locationName": "comparisonOperator" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "DatapointsToAlarm": { + "shape": "__integerMin1", + "locationName": "datapointsToAlarm" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "EvaluationPeriods": { + "shape": "__integerMin1", + "locationName": "evaluationPeriods" + }, + "GroupId": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "groupId" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "MetricName": { + "shape": "__stringMax64", + "locationName": "metricName" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Period": { + "shape": "__integerMin10Max86400", + "locationName": "period" + }, + "Statistic": { + "shape": "CloudWatchAlarmTemplateStatistic", + "locationName": "statistic" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + }, + "TargetResourceType": { + "shape": "CloudWatchAlarmTemplateTargetResourceType", + "locationName": "targetResourceType" + }, + "Threshold": { + "shape": "__double", + "locationName": "threshold" + }, + "TreatMissingData": { + "shape": "CloudWatchAlarmTemplateTreatMissingData", + "locationName": "treatMissingData" + } + }, + "required": [ + "TargetResourceType", + "TreatMissingData", + "ComparisonOperator", + "CreatedAt", + "Period", + "EvaluationPeriods", + "Name", + "GroupId", + "MetricName", + "Statistic", + "Id", + "Arn", + "Threshold" + ] + }, + "CloudWatchAlarmTemplateTargetResourceType": { + "type": "string", + "enum": [ + "CLOUDFRONT_DISTRIBUTION", + "MEDIALIVE_MULTIPLEX", + "MEDIALIVE_CHANNEL", + "MEDIALIVE_INPUT_DEVICE", + "MEDIAPACKAGE_CHANNEL", + "MEDIAPACKAGE_ORIGIN_ENDPOINT", + "MEDIACONNECT_FLOW", + "S3_BUCKET" + ] + }, + "CloudWatchAlarmTemplateTreatMissingData": { + "type": "string", + "enum": [ + "notBreaching", + "breaching", + "ignore", + "missing" + ] + }, + "ConflictExceptionResponseContent": { + "type": "structure", + "members": { + "Message": { + "shape": "__string", + "locationName": "message" + } + } + }, + "CreateCloudWatchAlarmTemplateGroupRequest": { + "type": "structure", + "members": { + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + }, + "required": [ + "Name" + ] + }, + "CreateCloudWatchAlarmTemplateGroupRequestContent": { + "type": "structure", + "members": { + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + }, + "required": [ + "Name" + ] + }, + "CreateCloudWatchAlarmTemplateGroupResponse": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplateGroup", + "locationName": "arn" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + } + }, + "CreateCloudWatchAlarmTemplateGroupResponseContent": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplateGroup", + "locationName": "arn" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + }, + "required": [ + "CreatedAt", + "Id", + "Arn", + "Name" + ] + }, + "CreateCloudWatchAlarmTemplateRequest": { + "type": "structure", + "members": { + "ComparisonOperator": { + "shape": "CloudWatchAlarmTemplateComparisonOperator", + "locationName": "comparisonOperator" + }, + "DatapointsToAlarm": { + "shape": "__integerMin1", + "locationName": "datapointsToAlarm" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "EvaluationPeriods": { + "shape": "__integerMin1", + "locationName": "evaluationPeriods" + }, + "GroupIdentifier": { + "shape": "__stringPatternS", + "locationName": "groupIdentifier" + }, + "MetricName": { + "shape": "__stringMax64", + "locationName": "metricName" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Period": { + "shape": "__integerMin10Max86400", + "locationName": "period" + }, + "Statistic": { + "shape": "CloudWatchAlarmTemplateStatistic", + "locationName": "statistic" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + }, + "TargetResourceType": { + "shape": "CloudWatchAlarmTemplateTargetResourceType", + "locationName": "targetResourceType" + }, + "Threshold": { + "shape": "__double", + "locationName": "threshold" + }, + "TreatMissingData": { + "shape": "CloudWatchAlarmTemplateTreatMissingData", + "locationName": "treatMissingData" + } + }, + "required": [ + "TargetResourceType", + "MetricName", + "TreatMissingData", + "ComparisonOperator", + "Statistic", + "Period", + "EvaluationPeriods", + "Threshold", + "Name", + "GroupIdentifier" + ] + }, + "CreateCloudWatchAlarmTemplateRequestContent": { + "type": "structure", + "members": { + "ComparisonOperator": { + "shape": "CloudWatchAlarmTemplateComparisonOperator", + "locationName": "comparisonOperator" + }, + "DatapointsToAlarm": { + "shape": "__integerMin1", + "locationName": "datapointsToAlarm" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "EvaluationPeriods": { + "shape": "__integerMin1", + "locationName": "evaluationPeriods" + }, + "GroupIdentifier": { + "shape": "__stringPatternS", + "locationName": "groupIdentifier" + }, + "MetricName": { + "shape": "__stringMax64", + "locationName": "metricName" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Period": { + "shape": "__integerMin10Max86400", + "locationName": "period" + }, + "Statistic": { + "shape": "CloudWatchAlarmTemplateStatistic", + "locationName": "statistic" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + }, + "TargetResourceType": { + "shape": "CloudWatchAlarmTemplateTargetResourceType", + "locationName": "targetResourceType" + }, + "Threshold": { + "shape": "__double", + "locationName": "threshold" + }, + "TreatMissingData": { + "shape": "CloudWatchAlarmTemplateTreatMissingData", + "locationName": "treatMissingData" + } + }, + "required": [ + "TargetResourceType", + "MetricName", + "TreatMissingData", + "ComparisonOperator", + "Statistic", + "Period", + "EvaluationPeriods", + "Threshold", + "Name", + "GroupIdentifier" + ] + }, + "CreateCloudWatchAlarmTemplateResponse": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplate", + "locationName": "arn" + }, + "ComparisonOperator": { + "shape": "CloudWatchAlarmTemplateComparisonOperator", + "locationName": "comparisonOperator" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "DatapointsToAlarm": { + "shape": "__integerMin1", + "locationName": "datapointsToAlarm" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "EvaluationPeriods": { + "shape": "__integerMin1", + "locationName": "evaluationPeriods" + }, + "GroupId": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "groupId" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "MetricName": { + "shape": "__stringMax64", + "locationName": "metricName" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Period": { + "shape": "__integerMin10Max86400", + "locationName": "period" + }, + "Statistic": { + "shape": "CloudWatchAlarmTemplateStatistic", + "locationName": "statistic" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + }, + "TargetResourceType": { + "shape": "CloudWatchAlarmTemplateTargetResourceType", + "locationName": "targetResourceType" + }, + "Threshold": { + "shape": "__double", + "locationName": "threshold" + }, + "TreatMissingData": { + "shape": "CloudWatchAlarmTemplateTreatMissingData", + "locationName": "treatMissingData" + } + } + }, + "CreateCloudWatchAlarmTemplateResponseContent": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplate", + "locationName": "arn" + }, + "ComparisonOperator": { + "shape": "CloudWatchAlarmTemplateComparisonOperator", + "locationName": "comparisonOperator" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "DatapointsToAlarm": { + "shape": "__integerMin1", + "locationName": "datapointsToAlarm" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "EvaluationPeriods": { + "shape": "__integerMin1", + "locationName": "evaluationPeriods" + }, + "GroupId": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "groupId" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "MetricName": { + "shape": "__stringMax64", + "locationName": "metricName" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Period": { + "shape": "__integerMin10Max86400", + "locationName": "period" + }, + "Statistic": { + "shape": "CloudWatchAlarmTemplateStatistic", + "locationName": "statistic" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + }, + "TargetResourceType": { + "shape": "CloudWatchAlarmTemplateTargetResourceType", + "locationName": "targetResourceType" + }, + "Threshold": { + "shape": "__double", + "locationName": "threshold" + }, + "TreatMissingData": { + "shape": "CloudWatchAlarmTemplateTreatMissingData", + "locationName": "treatMissingData" + } + }, + "required": [ + "TargetResourceType", + "TreatMissingData", + "ComparisonOperator", + "CreatedAt", + "Period", + "EvaluationPeriods", + "Name", + "GroupId", + "MetricName", + "Statistic", + "Id", + "Arn", + "Threshold" + ] + }, + "CreateEventBridgeRuleTemplateGroupRequest": { + "type": "structure", + "members": { + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + }, + "required": [ + "Name" + ] + }, + "CreateEventBridgeRuleTemplateGroupRequestContent": { + "type": "structure", + "members": { + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + }, + "required": [ + "Name" + ] + }, + "CreateEventBridgeRuleTemplateGroupResponse": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplateGroup", + "locationName": "arn" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + } + }, + "CreateEventBridgeRuleTemplateGroupResponseContent": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplateGroup", + "locationName": "arn" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + }, + "required": [ + "CreatedAt", + "Id", + "Arn", + "Name" + ] + }, + "CreateEventBridgeRuleTemplateRequest": { + "type": "structure", + "members": { + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "EventTargets": { + "shape": "__listOfEventBridgeRuleTemplateTarget", + "locationName": "eventTargets" + }, + "EventType": { + "shape": "EventBridgeRuleTemplateEventType", + "locationName": "eventType" + }, + "GroupIdentifier": { + "shape": "__stringPatternS", + "locationName": "groupIdentifier" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + }, + "required": [ + "EventType", + "Name", + "GroupIdentifier" + ] + }, + "CreateEventBridgeRuleTemplateRequestContent": { + "type": "structure", + "members": { + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "EventTargets": { + "shape": "__listOfEventBridgeRuleTemplateTarget", + "locationName": "eventTargets" + }, + "EventType": { + "shape": "EventBridgeRuleTemplateEventType", + "locationName": "eventType" + }, + "GroupIdentifier": { + "shape": "__stringPatternS", + "locationName": "groupIdentifier" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + }, + "required": [ + "EventType", + "Name", + "GroupIdentifier" + ] + }, + "CreateEventBridgeRuleTemplateResponse": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplate", + "locationName": "arn" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "EventTargets": { + "shape": "__listOfEventBridgeRuleTemplateTarget", + "locationName": "eventTargets" + }, + "EventType": { + "shape": "EventBridgeRuleTemplateEventType", + "locationName": "eventType" + }, + "GroupId": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "groupId" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + } + }, + "CreateEventBridgeRuleTemplateResponseContent": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplate", + "locationName": "arn" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "EventTargets": { + "shape": "__listOfEventBridgeRuleTemplateTarget", + "locationName": "eventTargets" + }, + "EventType": { + "shape": "EventBridgeRuleTemplateEventType", + "locationName": "eventType" + }, + "GroupId": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "groupId" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + }, + "required": [ + "EventType", + "CreatedAt", + "Id", + "Arn", + "Name", + "GroupId" + ] + }, + "CreateSignalMapRequest": { + "type": "structure", + "members": { + "CloudWatchAlarmTemplateGroupIdentifiers": { + "shape": "__listOf__stringPatternS", + "locationName": "cloudWatchAlarmTemplateGroupIdentifiers" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "DiscoveryEntryPointArn": { + "shape": "__stringMin1Max2048", + "locationName": "discoveryEntryPointArn" + }, + "EventBridgeRuleTemplateGroupIdentifiers": { + "shape": "__listOf__stringPatternS", + "locationName": "eventBridgeRuleTemplateGroupIdentifiers" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + }, + "required": [ + "DiscoveryEntryPointArn", + "Name" + ] + }, + "CreateSignalMapRequestContent": { + "type": "structure", + "members": { + "CloudWatchAlarmTemplateGroupIdentifiers": { + "shape": "__listOf__stringPatternS", + "locationName": "cloudWatchAlarmTemplateGroupIdentifiers" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "DiscoveryEntryPointArn": { + "shape": "__stringMin1Max2048", + "locationName": "discoveryEntryPointArn" + }, + "EventBridgeRuleTemplateGroupIdentifiers": { + "shape": "__listOf__stringPatternS", + "locationName": "eventBridgeRuleTemplateGroupIdentifiers" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + }, + "required": [ + "DiscoveryEntryPointArn", + "Name" + ] + }, + "CreateSignalMapResponse": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveSignalMap", + "locationName": "arn" + }, + "CloudWatchAlarmTemplateGroupIds": { + "shape": "__listOf__stringMin7Max11PatternAws097", + "locationName": "cloudWatchAlarmTemplateGroupIds" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "DiscoveryEntryPointArn": { + "shape": "__stringMin1Max2048", + "locationName": "discoveryEntryPointArn" + }, + "ErrorMessage": { + "shape": "__stringMin1Max2048", + "locationName": "errorMessage" + }, + "EventBridgeRuleTemplateGroupIds": { + "shape": "__listOf__stringMin7Max11PatternAws097", + "locationName": "eventBridgeRuleTemplateGroupIds" + }, + "FailedMediaResourceMap": { + "shape": "FailedMediaResourceMap", + "locationName": "failedMediaResourceMap" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "LastDiscoveredAt": { + "shape": "__timestampIso8601", + "locationName": "lastDiscoveredAt" + }, + "LastSuccessfulMonitorDeployment": { + "shape": "SuccessfulMonitorDeployment", + "locationName": "lastSuccessfulMonitorDeployment" + }, + "MediaResourceMap": { + "shape": "MediaResourceMap", + "locationName": "mediaResourceMap" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "MonitorChangesPendingDeployment": { + "shape": "__boolean", + "locationName": "monitorChangesPendingDeployment" + }, + "MonitorDeployment": { + "shape": "MonitorDeployment", + "locationName": "monitorDeployment" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Status": { + "shape": "SignalMapStatus", + "locationName": "status" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + } + }, + "CreateSignalMapResponseContent": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveSignalMap", + "locationName": "arn" + }, + "CloudWatchAlarmTemplateGroupIds": { + "shape": "__listOf__stringMin7Max11PatternAws097", + "locationName": "cloudWatchAlarmTemplateGroupIds" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "DiscoveryEntryPointArn": { + "shape": "__stringMin1Max2048", + "locationName": "discoveryEntryPointArn" + }, + "ErrorMessage": { + "shape": "__stringMin1Max2048", + "locationName": "errorMessage" + }, + "EventBridgeRuleTemplateGroupIds": { + "shape": "__listOf__stringMin7Max11PatternAws097", + "locationName": "eventBridgeRuleTemplateGroupIds" + }, + "FailedMediaResourceMap": { + "shape": "FailedMediaResourceMap", + "locationName": "failedMediaResourceMap" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "LastDiscoveredAt": { + "shape": "__timestampIso8601", + "locationName": "lastDiscoveredAt" + }, + "LastSuccessfulMonitorDeployment": { + "shape": "SuccessfulMonitorDeployment", + "locationName": "lastSuccessfulMonitorDeployment" + }, + "MediaResourceMap": { + "shape": "MediaResourceMap", + "locationName": "mediaResourceMap" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "MonitorChangesPendingDeployment": { + "shape": "__boolean", + "locationName": "monitorChangesPendingDeployment" + }, + "MonitorDeployment": { + "shape": "MonitorDeployment", + "locationName": "monitorDeployment" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Status": { + "shape": "SignalMapStatus", + "locationName": "status" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + }, + "required": [ + "Status", + "CreatedAt", + "Name", + "Id", + "Arn", + "DiscoveryEntryPointArn", + "MonitorChangesPendingDeployment" + ] + }, + "DeleteCloudWatchAlarmTemplateGroupRequest": { + "type": "structure", + "members": { + "Identifier": { + "shape": "__string", + "location": "uri", + "locationName": "identifier" + } + }, + "required": [ + "Identifier" + ] + }, + "DeleteCloudWatchAlarmTemplateRequest": { + "type": "structure", + "members": { + "Identifier": { + "shape": "__string", + "location": "uri", + "locationName": "identifier" + } + }, + "required": [ + "Identifier" + ] + }, + "DeleteEventBridgeRuleTemplateGroupRequest": { + "type": "structure", + "members": { + "Identifier": { + "shape": "__string", + "location": "uri", + "locationName": "identifier" + } + }, + "required": [ + "Identifier" + ] + }, + "DeleteEventBridgeRuleTemplateRequest": { + "type": "structure", + "members": { + "Identifier": { + "shape": "__string", + "location": "uri", + "locationName": "identifier" + } + }, + "required": [ + "Identifier" + ] + }, + "DeleteSignalMapRequest": { + "type": "structure", + "members": { + "Identifier": { + "shape": "__string", + "location": "uri", + "locationName": "identifier" + } + }, + "required": [ + "Identifier" + ] + }, + "EventBridgeRuleTemplateEventType": { + "type": "string", + "enum": [ + "MEDIALIVE_MULTIPLEX_ALERT", + "MEDIALIVE_MULTIPLEX_STATE_CHANGE", + "MEDIALIVE_CHANNEL_ALERT", + "MEDIALIVE_CHANNEL_INPUT_CHANGE", + "MEDIALIVE_CHANNEL_STATE_CHANGE", + "MEDIAPACKAGE_INPUT_NOTIFICATION", + "MEDIAPACKAGE_KEY_PROVIDER_NOTIFICATION", + "MEDIAPACKAGE_HARVEST_JOB_NOTIFICATION", + "SIGNAL_MAP_ACTIVE_ALARM", + "MEDIACONNECT_ALERT", + "MEDIACONNECT_SOURCE_HEALTH", + "MEDIACONNECT_OUTPUT_HEALTH", + "MEDIACONNECT_FLOW_STATUS_CHANGE" + ] + }, + "EventBridgeRuleTemplateGroupSummary": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplateGroup", + "locationName": "arn" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + }, + "TemplateCount": { + "shape": "__integer", + "locationName": "templateCount" + } + }, + "required": [ + "TemplateCount", + "CreatedAt", + "Id", + "Arn", + "Name" + ] + }, + "EventBridgeRuleTemplateSummary": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplate", + "locationName": "arn" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "EventTargetCount": { + "shape": "__integerMax5", + "locationName": "eventTargetCount" + }, + "EventType": { + "shape": "EventBridgeRuleTemplateEventType", + "locationName": "eventType" + }, + "GroupId": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "groupId" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + }, + "required": [ + "EventType", + "CreatedAt", + "EventTargetCount", + "Id", + "Arn", + "Name", + "GroupId" + ] + }, + "EventBridgeRuleTemplateTarget": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringMin1Max2048PatternArn", + "locationName": "arn" + } + }, + "required": [ + "Arn" + ] + }, + "FailedMediaResourceMap": { + "type": "map", + "key": { + "shape": "__string" + }, + "value": { + "shape": "MediaResource" + } + }, + "ForbiddenExceptionResponseContent": { + "type": "structure", + "members": { + "Message": { + "shape": "__string", + "locationName": "message" + } + } + }, + "GetCloudWatchAlarmTemplateGroupRequest": { + "type": "structure", + "members": { + "Identifier": { + "shape": "__string", + "location": "uri", + "locationName": "identifier" + } + }, + "required": [ + "Identifier" + ] + }, + "GetCloudWatchAlarmTemplateGroupResponse": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplateGroup", + "locationName": "arn" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + } + }, + "GetCloudWatchAlarmTemplateGroupResponseContent": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplateGroup", + "locationName": "arn" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + }, + "required": [ + "CreatedAt", + "Id", + "Arn", + "Name" + ] + }, + "GetCloudWatchAlarmTemplateRequest": { + "type": "structure", + "members": { + "Identifier": { + "shape": "__string", + "location": "uri", + "locationName": "identifier" + } + }, + "required": [ + "Identifier" + ] + }, + "GetCloudWatchAlarmTemplateResponse": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplate", + "locationName": "arn" + }, + "ComparisonOperator": { + "shape": "CloudWatchAlarmTemplateComparisonOperator", + "locationName": "comparisonOperator" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "DatapointsToAlarm": { + "shape": "__integerMin1", + "locationName": "datapointsToAlarm" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "EvaluationPeriods": { + "shape": "__integerMin1", + "locationName": "evaluationPeriods" + }, + "GroupId": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "groupId" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "MetricName": { + "shape": "__stringMax64", + "locationName": "metricName" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Period": { + "shape": "__integerMin10Max86400", + "locationName": "period" + }, + "Statistic": { + "shape": "CloudWatchAlarmTemplateStatistic", + "locationName": "statistic" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + }, + "TargetResourceType": { + "shape": "CloudWatchAlarmTemplateTargetResourceType", + "locationName": "targetResourceType" + }, + "Threshold": { + "shape": "__double", + "locationName": "threshold" + }, + "TreatMissingData": { + "shape": "CloudWatchAlarmTemplateTreatMissingData", + "locationName": "treatMissingData" + } + } + }, + "GetCloudWatchAlarmTemplateResponseContent": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplate", + "locationName": "arn" + }, + "ComparisonOperator": { + "shape": "CloudWatchAlarmTemplateComparisonOperator", + "locationName": "comparisonOperator" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "DatapointsToAlarm": { + "shape": "__integerMin1", + "locationName": "datapointsToAlarm" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "EvaluationPeriods": { + "shape": "__integerMin1", + "locationName": "evaluationPeriods" + }, + "GroupId": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "groupId" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "MetricName": { + "shape": "__stringMax64", + "locationName": "metricName" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Period": { + "shape": "__integerMin10Max86400", + "locationName": "period" + }, + "Statistic": { + "shape": "CloudWatchAlarmTemplateStatistic", + "locationName": "statistic" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + }, + "TargetResourceType": { + "shape": "CloudWatchAlarmTemplateTargetResourceType", + "locationName": "targetResourceType" + }, + "Threshold": { + "shape": "__double", + "locationName": "threshold" + }, + "TreatMissingData": { + "shape": "CloudWatchAlarmTemplateTreatMissingData", + "locationName": "treatMissingData" + } + }, + "required": [ + "TargetResourceType", + "TreatMissingData", + "ComparisonOperator", + "CreatedAt", + "Period", + "EvaluationPeriods", + "Name", + "GroupId", + "MetricName", + "Statistic", + "Id", + "Arn", + "Threshold" + ] + }, + "GetEventBridgeRuleTemplateGroupRequest": { + "type": "structure", + "members": { + "Identifier": { + "shape": "__string", + "location": "uri", + "locationName": "identifier" + } + }, + "required": [ + "Identifier" + ] + }, + "GetEventBridgeRuleTemplateGroupResponse": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplateGroup", + "locationName": "arn" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + } + }, + "GetEventBridgeRuleTemplateGroupResponseContent": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplateGroup", + "locationName": "arn" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + }, + "required": [ + "CreatedAt", + "Id", + "Arn", + "Name" + ] + }, + "GetEventBridgeRuleTemplateRequest": { + "type": "structure", + "members": { + "Identifier": { + "shape": "__string", + "location": "uri", + "locationName": "identifier" + } + }, + "required": [ + "Identifier" + ] + }, + "GetEventBridgeRuleTemplateResponse": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplate", + "locationName": "arn" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "EventTargets": { + "shape": "__listOfEventBridgeRuleTemplateTarget", + "locationName": "eventTargets" + }, + "EventType": { + "shape": "EventBridgeRuleTemplateEventType", + "locationName": "eventType" + }, + "GroupId": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "groupId" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + } + }, + "GetEventBridgeRuleTemplateResponseContent": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplate", + "locationName": "arn" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "EventTargets": { + "shape": "__listOfEventBridgeRuleTemplateTarget", + "locationName": "eventTargets" + }, + "EventType": { + "shape": "EventBridgeRuleTemplateEventType", + "locationName": "eventType" + }, + "GroupId": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "groupId" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + }, + "required": [ + "EventType", + "CreatedAt", + "Id", + "Arn", + "Name", + "GroupId" + ] + }, + "GetSignalMapRequest": { + "type": "structure", + "members": { + "Identifier": { + "shape": "__string", + "location": "uri", + "locationName": "identifier" + } + }, + "required": [ + "Identifier" + ] + }, + "GetSignalMapResponse": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveSignalMap", + "locationName": "arn" + }, + "CloudWatchAlarmTemplateGroupIds": { + "shape": "__listOf__stringMin7Max11PatternAws097", + "locationName": "cloudWatchAlarmTemplateGroupIds" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "DiscoveryEntryPointArn": { + "shape": "__stringMin1Max2048", + "locationName": "discoveryEntryPointArn" + }, + "ErrorMessage": { + "shape": "__stringMin1Max2048", + "locationName": "errorMessage" + }, + "EventBridgeRuleTemplateGroupIds": { + "shape": "__listOf__stringMin7Max11PatternAws097", + "locationName": "eventBridgeRuleTemplateGroupIds" + }, + "FailedMediaResourceMap": { + "shape": "FailedMediaResourceMap", + "locationName": "failedMediaResourceMap" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "LastDiscoveredAt": { + "shape": "__timestampIso8601", + "locationName": "lastDiscoveredAt" + }, + "LastSuccessfulMonitorDeployment": { + "shape": "SuccessfulMonitorDeployment", + "locationName": "lastSuccessfulMonitorDeployment" + }, + "MediaResourceMap": { + "shape": "MediaResourceMap", + "locationName": "mediaResourceMap" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "MonitorChangesPendingDeployment": { + "shape": "__boolean", + "locationName": "monitorChangesPendingDeployment" + }, + "MonitorDeployment": { + "shape": "MonitorDeployment", + "locationName": "monitorDeployment" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Status": { + "shape": "SignalMapStatus", + "locationName": "status" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + } + }, + "GetSignalMapResponseContent": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveSignalMap", + "locationName": "arn" + }, + "CloudWatchAlarmTemplateGroupIds": { + "shape": "__listOf__stringMin7Max11PatternAws097", + "locationName": "cloudWatchAlarmTemplateGroupIds" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "DiscoveryEntryPointArn": { + "shape": "__stringMin1Max2048", + "locationName": "discoveryEntryPointArn" + }, + "ErrorMessage": { + "shape": "__stringMin1Max2048", + "locationName": "errorMessage" + }, + "EventBridgeRuleTemplateGroupIds": { + "shape": "__listOf__stringMin7Max11PatternAws097", + "locationName": "eventBridgeRuleTemplateGroupIds" + }, + "FailedMediaResourceMap": { + "shape": "FailedMediaResourceMap", + "locationName": "failedMediaResourceMap" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "LastDiscoveredAt": { + "shape": "__timestampIso8601", + "locationName": "lastDiscoveredAt" + }, + "LastSuccessfulMonitorDeployment": { + "shape": "SuccessfulMonitorDeployment", + "locationName": "lastSuccessfulMonitorDeployment" + }, + "MediaResourceMap": { + "shape": "MediaResourceMap", + "locationName": "mediaResourceMap" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "MonitorChangesPendingDeployment": { + "shape": "__boolean", + "locationName": "monitorChangesPendingDeployment" + }, + "MonitorDeployment": { + "shape": "MonitorDeployment", + "locationName": "monitorDeployment" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Status": { + "shape": "SignalMapStatus", + "locationName": "status" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + }, + "required": [ + "Status", + "CreatedAt", + "Name", + "Id", + "Arn", + "DiscoveryEntryPointArn", + "MonitorChangesPendingDeployment" + ] + }, + "InternalServerErrorExceptionResponseContent": { + "type": "structure", + "members": { + "Message": { + "shape": "__string", + "locationName": "message" + } + } + }, + "ListCloudWatchAlarmTemplateGroupsRequest": { + "type": "structure", + "members": { + "MaxResults": { + "shape": "MaxResults", + "location": "querystring", + "locationName": "maxResults" + }, + "NextToken": { + "shape": "__string", + "location": "querystring", + "locationName": "nextToken" + }, + "Scope": { + "shape": "__string", + "location": "querystring", + "locationName": "scope" + }, + "SignalMapIdentifier": { + "shape": "__string", + "location": "querystring", + "locationName": "signalMapIdentifier" + } + } + }, + "ListCloudWatchAlarmTemplateGroupsResponse": { + "type": "structure", + "members": { + "CloudWatchAlarmTemplateGroups": { + "shape": "__listOfCloudWatchAlarmTemplateGroupSummary", + "locationName": "cloudWatchAlarmTemplateGroups" + }, + "NextToken": { + "shape": "__stringMin1Max2048", + "locationName": "nextToken" + } + } + }, + "ListCloudWatchAlarmTemplateGroupsResponseContent": { + "type": "structure", + "members": { + "CloudWatchAlarmTemplateGroups": { + "shape": "__listOfCloudWatchAlarmTemplateGroupSummary", + "locationName": "cloudWatchAlarmTemplateGroups" + }, + "NextToken": { + "shape": "__stringMin1Max2048", + "locationName": "nextToken" + } + }, + "required": [ + "CloudWatchAlarmTemplateGroups" + ] + }, + "ListCloudWatchAlarmTemplatesRequest": { + "type": "structure", + "members": { + "GroupIdentifier": { + "shape": "__string", + "location": "querystring", + "locationName": "groupIdentifier" + }, + "MaxResults": { + "shape": "MaxResults", + "location": "querystring", + "locationName": "maxResults" + }, + "NextToken": { + "shape": "__string", + "location": "querystring", + "locationName": "nextToken" + }, + "Scope": { + "shape": "__string", + "location": "querystring", + "locationName": "scope" + }, + "SignalMapIdentifier": { + "shape": "__string", + "location": "querystring", + "locationName": "signalMapIdentifier" + } + } + }, + "ListCloudWatchAlarmTemplatesResponse": { + "type": "structure", + "members": { + "CloudWatchAlarmTemplates": { + "shape": "__listOfCloudWatchAlarmTemplateSummary", + "locationName": "cloudWatchAlarmTemplates" + }, + "NextToken": { + "shape": "__stringMin1Max2048", + "locationName": "nextToken" + } + } + }, + "ListCloudWatchAlarmTemplatesResponseContent": { + "type": "structure", + "members": { + "CloudWatchAlarmTemplates": { + "shape": "__listOfCloudWatchAlarmTemplateSummary", + "locationName": "cloudWatchAlarmTemplates" + }, + "NextToken": { + "shape": "__stringMin1Max2048", + "locationName": "nextToken" + } + }, + "required": [ + "CloudWatchAlarmTemplates" + ] + }, + "ListEventBridgeRuleTemplateGroupsRequest": { + "type": "structure", + "members": { + "MaxResults": { + "shape": "MaxResults", + "location": "querystring", + "locationName": "maxResults" + }, + "NextToken": { + "shape": "__string", + "location": "querystring", + "locationName": "nextToken" + }, + "SignalMapIdentifier": { + "shape": "__string", + "location": "querystring", + "locationName": "signalMapIdentifier" + } + } + }, + "ListEventBridgeRuleTemplateGroupsResponse": { + "type": "structure", + "members": { + "EventBridgeRuleTemplateGroups": { + "shape": "__listOfEventBridgeRuleTemplateGroupSummary", + "locationName": "eventBridgeRuleTemplateGroups" + }, + "NextToken": { + "shape": "__stringMin1Max2048", + "locationName": "nextToken" + } + } + }, + "ListEventBridgeRuleTemplateGroupsResponseContent": { + "type": "structure", + "members": { + "EventBridgeRuleTemplateGroups": { + "shape": "__listOfEventBridgeRuleTemplateGroupSummary", + "locationName": "eventBridgeRuleTemplateGroups" + }, + "NextToken": { + "shape": "__stringMin1Max2048", + "locationName": "nextToken" + } + }, + "required": [ + "EventBridgeRuleTemplateGroups" + ] + }, + "ListEventBridgeRuleTemplatesRequest": { + "type": "structure", + "members": { + "GroupIdentifier": { + "shape": "__string", + "location": "querystring", + "locationName": "groupIdentifier" + }, + "MaxResults": { + "shape": "MaxResults", + "location": "querystring", + "locationName": "maxResults" + }, + "NextToken": { + "shape": "__string", + "location": "querystring", + "locationName": "nextToken" + }, + "SignalMapIdentifier": { + "shape": "__string", + "location": "querystring", + "locationName": "signalMapIdentifier" + } + } + }, + "ListEventBridgeRuleTemplatesResponse": { + "type": "structure", + "members": { + "EventBridgeRuleTemplates": { + "shape": "__listOfEventBridgeRuleTemplateSummary", + "locationName": "eventBridgeRuleTemplates" + }, + "NextToken": { + "shape": "__stringMin1Max2048", + "locationName": "nextToken" + } + } + }, + "ListEventBridgeRuleTemplatesResponseContent": { + "type": "structure", + "members": { + "EventBridgeRuleTemplates": { + "shape": "__listOfEventBridgeRuleTemplateSummary", + "locationName": "eventBridgeRuleTemplates" + }, + "NextToken": { + "shape": "__stringMin1Max2048", + "locationName": "nextToken" + } + }, + "required": [ + "EventBridgeRuleTemplates" + ] + }, + "ListSignalMapsRequest": { + "type": "structure", + "members": { + "CloudWatchAlarmTemplateGroupIdentifier": { + "shape": "__string", + "location": "querystring", + "locationName": "cloudWatchAlarmTemplateGroupIdentifier" + }, + "EventBridgeRuleTemplateGroupIdentifier": { + "shape": "__string", + "location": "querystring", + "locationName": "eventBridgeRuleTemplateGroupIdentifier" + }, + "MaxResults": { + "shape": "MaxResults", + "location": "querystring", + "locationName": "maxResults" + }, + "NextToken": { + "shape": "__string", + "location": "querystring", + "locationName": "nextToken" + } + } + }, + "ListSignalMapsResponse": { + "type": "structure", + "members": { + "NextToken": { + "shape": "__stringMin1Max2048", + "locationName": "nextToken" + }, + "SignalMaps": { + "shape": "__listOfSignalMapSummary", + "locationName": "signalMaps" + } + } + }, + "ListSignalMapsResponseContent": { + "type": "structure", + "members": { + "NextToken": { + "shape": "__stringMin1Max2048", + "locationName": "nextToken" + }, + "SignalMaps": { + "shape": "__listOfSignalMapSummary", + "locationName": "signalMaps" + } + }, + "required": [ + "SignalMaps" + ] + }, + "MediaResource": { + "type": "structure", + "members": { + "Destinations": { + "shape": "__listOfMediaResourceNeighbor", + "locationName": "destinations" + }, + "Name": { + "shape": "__stringMin1Max256", + "locationName": "name" + }, + "Sources": { + "shape": "__listOfMediaResourceNeighbor", + "locationName": "sources" + } + } + }, + "MediaResourceMap": { + "type": "map", + "key": { + "shape": "__string" + }, + "value": { + "shape": "MediaResource" + } + }, + "MediaResourceNeighbor": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringMin1Max2048PatternArn", + "locationName": "arn" + }, + "Name": { + "shape": "__stringMin1Max256", + "locationName": "name" + } + }, + "required": [ + "Arn" + ] + }, + "MonitorDeployment": { + "type": "structure", + "members": { + "DetailsUri": { + "shape": "__stringMin1Max2048", + "locationName": "detailsUri" + }, + "ErrorMessage": { + "shape": "__stringMin1Max2048", + "locationName": "errorMessage" + }, + "Status": { + "shape": "SignalMapMonitorDeploymentStatus", + "locationName": "status" + } + }, + "required": [ + "Status" + ] + }, + "NotFoundExceptionResponseContent": { + "type": "structure", + "members": { + "Message": { + "shape": "__string", + "locationName": "message" + } + } + }, + "SignalMapMonitorDeploymentStatus": { + "type": "string", + "enum": [ + "NOT_DEPLOYED", + "DRY_RUN_DEPLOYMENT_COMPLETE", + "DRY_RUN_DEPLOYMENT_FAILED", + "DRY_RUN_DEPLOYMENT_IN_PROGRESS", + "DEPLOYMENT_COMPLETE", + "DEPLOYMENT_FAILED", + "DEPLOYMENT_IN_PROGRESS", + "DELETE_COMPLETE", + "DELETE_FAILED", + "DELETE_IN_PROGRESS" + ] + }, + "SignalMapStatus": { + "type": "string", + "enum": [ + "CREATE_IN_PROGRESS", + "CREATE_COMPLETE", + "CREATE_FAILED", + "UPDATE_IN_PROGRESS", + "UPDATE_COMPLETE", + "UPDATE_REVERTED", + "UPDATE_FAILED", + "READY", + "NOT_READY" + ] + }, + "SignalMapSummary": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveSignalMap", + "locationName": "arn" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "MonitorDeploymentStatus": { + "shape": "SignalMapMonitorDeploymentStatus", + "locationName": "monitorDeploymentStatus" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Status": { + "shape": "SignalMapStatus", + "locationName": "status" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + }, + "required": [ + "Status", + "MonitorDeploymentStatus", + "CreatedAt", + "Id", + "Arn", + "Name" + ] + }, + "StartDeleteMonitorDeploymentRequest": { + "type": "structure", + "members": { + "Identifier": { + "shape": "__string", + "location": "uri", + "locationName": "identifier" + } + }, + "required": [ + "Identifier" + ] + }, + "StartDeleteMonitorDeploymentResponse": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveSignalMap", + "locationName": "arn" + }, + "CloudWatchAlarmTemplateGroupIds": { + "shape": "__listOf__stringMin7Max11PatternAws097", + "locationName": "cloudWatchAlarmTemplateGroupIds" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "DiscoveryEntryPointArn": { + "shape": "__stringMin1Max2048", + "locationName": "discoveryEntryPointArn" + }, + "ErrorMessage": { + "shape": "__stringMin1Max2048", + "locationName": "errorMessage" + }, + "EventBridgeRuleTemplateGroupIds": { + "shape": "__listOf__stringMin7Max11PatternAws097", + "locationName": "eventBridgeRuleTemplateGroupIds" + }, + "FailedMediaResourceMap": { + "shape": "FailedMediaResourceMap", + "locationName": "failedMediaResourceMap" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "LastDiscoveredAt": { + "shape": "__timestampIso8601", + "locationName": "lastDiscoveredAt" + }, + "LastSuccessfulMonitorDeployment": { + "shape": "SuccessfulMonitorDeployment", + "locationName": "lastSuccessfulMonitorDeployment" + }, + "MediaResourceMap": { + "shape": "MediaResourceMap", + "locationName": "mediaResourceMap" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "MonitorChangesPendingDeployment": { + "shape": "__boolean", + "locationName": "monitorChangesPendingDeployment" + }, + "MonitorDeployment": { + "shape": "MonitorDeployment", + "locationName": "monitorDeployment" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Status": { + "shape": "SignalMapStatus", + "locationName": "status" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + } + }, + "StartDeleteMonitorDeploymentResponseContent": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveSignalMap", + "locationName": "arn" + }, + "CloudWatchAlarmTemplateGroupIds": { + "shape": "__listOf__stringMin7Max11PatternAws097", + "locationName": "cloudWatchAlarmTemplateGroupIds" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "DiscoveryEntryPointArn": { + "shape": "__stringMin1Max2048", + "locationName": "discoveryEntryPointArn" + }, + "ErrorMessage": { + "shape": "__stringMin1Max2048", + "locationName": "errorMessage" + }, + "EventBridgeRuleTemplateGroupIds": { + "shape": "__listOf__stringMin7Max11PatternAws097", + "locationName": "eventBridgeRuleTemplateGroupIds" + }, + "FailedMediaResourceMap": { + "shape": "FailedMediaResourceMap", + "locationName": "failedMediaResourceMap" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "LastDiscoveredAt": { + "shape": "__timestampIso8601", + "locationName": "lastDiscoveredAt" + }, + "LastSuccessfulMonitorDeployment": { + "shape": "SuccessfulMonitorDeployment", + "locationName": "lastSuccessfulMonitorDeployment" + }, + "MediaResourceMap": { + "shape": "MediaResourceMap", + "locationName": "mediaResourceMap" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "MonitorChangesPendingDeployment": { + "shape": "__boolean", + "locationName": "monitorChangesPendingDeployment" + }, + "MonitorDeployment": { + "shape": "MonitorDeployment", + "locationName": "monitorDeployment" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Status": { + "shape": "SignalMapStatus", + "locationName": "status" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + }, + "required": [ + "Status", + "CreatedAt", + "Name", + "Id", + "Arn", + "DiscoveryEntryPointArn", + "MonitorChangesPendingDeployment" + ] + }, + "StartMonitorDeploymentRequest": { + "type": "structure", + "members": { + "DryRun": { + "shape": "__boolean", + "locationName": "dryRun" + }, + "Identifier": { + "shape": "__string", + "location": "uri", + "locationName": "identifier" + } + }, + "required": [ + "Identifier" + ] + }, + "StartMonitorDeploymentRequestContent": { + "type": "structure", + "members": { + "DryRun": { + "shape": "__boolean", + "locationName": "dryRun" + } + } + }, + "StartMonitorDeploymentResponse": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveSignalMap", + "locationName": "arn" + }, + "CloudWatchAlarmTemplateGroupIds": { + "shape": "__listOf__stringMin7Max11PatternAws097", + "locationName": "cloudWatchAlarmTemplateGroupIds" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "DiscoveryEntryPointArn": { + "shape": "__stringMin1Max2048", + "locationName": "discoveryEntryPointArn" + }, + "ErrorMessage": { + "shape": "__stringMin1Max2048", + "locationName": "errorMessage" + }, + "EventBridgeRuleTemplateGroupIds": { + "shape": "__listOf__stringMin7Max11PatternAws097", + "locationName": "eventBridgeRuleTemplateGroupIds" + }, + "FailedMediaResourceMap": { + "shape": "FailedMediaResourceMap", + "locationName": "failedMediaResourceMap" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "LastDiscoveredAt": { + "shape": "__timestampIso8601", + "locationName": "lastDiscoveredAt" + }, + "LastSuccessfulMonitorDeployment": { + "shape": "SuccessfulMonitorDeployment", + "locationName": "lastSuccessfulMonitorDeployment" + }, + "MediaResourceMap": { + "shape": "MediaResourceMap", + "locationName": "mediaResourceMap" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "MonitorChangesPendingDeployment": { + "shape": "__boolean", + "locationName": "monitorChangesPendingDeployment" + }, + "MonitorDeployment": { + "shape": "MonitorDeployment", + "locationName": "monitorDeployment" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Status": { + "shape": "SignalMapStatus", + "locationName": "status" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + } + }, + "StartMonitorDeploymentResponseContent": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveSignalMap", + "locationName": "arn" + }, + "CloudWatchAlarmTemplateGroupIds": { + "shape": "__listOf__stringMin7Max11PatternAws097", + "locationName": "cloudWatchAlarmTemplateGroupIds" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "DiscoveryEntryPointArn": { + "shape": "__stringMin1Max2048", + "locationName": "discoveryEntryPointArn" + }, + "ErrorMessage": { + "shape": "__stringMin1Max2048", + "locationName": "errorMessage" + }, + "EventBridgeRuleTemplateGroupIds": { + "shape": "__listOf__stringMin7Max11PatternAws097", + "locationName": "eventBridgeRuleTemplateGroupIds" + }, + "FailedMediaResourceMap": { + "shape": "FailedMediaResourceMap", + "locationName": "failedMediaResourceMap" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "LastDiscoveredAt": { + "shape": "__timestampIso8601", + "locationName": "lastDiscoveredAt" + }, + "LastSuccessfulMonitorDeployment": { + "shape": "SuccessfulMonitorDeployment", + "locationName": "lastSuccessfulMonitorDeployment" + }, + "MediaResourceMap": { + "shape": "MediaResourceMap", + "locationName": "mediaResourceMap" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "MonitorChangesPendingDeployment": { + "shape": "__boolean", + "locationName": "monitorChangesPendingDeployment" + }, + "MonitorDeployment": { + "shape": "MonitorDeployment", + "locationName": "monitorDeployment" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Status": { + "shape": "SignalMapStatus", + "locationName": "status" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + }, + "required": [ + "Status", + "CreatedAt", + "Name", + "Id", + "Arn", + "DiscoveryEntryPointArn", + "MonitorChangesPendingDeployment" + ] + }, + "StartUpdateSignalMapRequest": { + "type": "structure", + "members": { + "CloudWatchAlarmTemplateGroupIdentifiers": { + "shape": "__listOf__stringPatternS", + "locationName": "cloudWatchAlarmTemplateGroupIdentifiers" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "DiscoveryEntryPointArn": { + "shape": "__stringMin1Max2048", + "locationName": "discoveryEntryPointArn" + }, + "EventBridgeRuleTemplateGroupIdentifiers": { + "shape": "__listOf__stringPatternS", + "locationName": "eventBridgeRuleTemplateGroupIdentifiers" + }, + "ForceRediscovery": { + "shape": "__boolean", + "locationName": "forceRediscovery" + }, + "Identifier": { + "shape": "__string", + "location": "uri", + "locationName": "identifier" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + } + }, + "required": [ + "Identifier" + ] + }, + "StartUpdateSignalMapRequestContent": { + "type": "structure", + "members": { + "CloudWatchAlarmTemplateGroupIdentifiers": { + "shape": "__listOf__stringPatternS", + "locationName": "cloudWatchAlarmTemplateGroupIdentifiers" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "DiscoveryEntryPointArn": { + "shape": "__stringMin1Max2048", + "locationName": "discoveryEntryPointArn" + }, + "EventBridgeRuleTemplateGroupIdentifiers": { + "shape": "__listOf__stringPatternS", + "locationName": "eventBridgeRuleTemplateGroupIdentifiers" + }, + "ForceRediscovery": { + "shape": "__boolean", + "locationName": "forceRediscovery" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + } + } + }, + "StartUpdateSignalMapResponse": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveSignalMap", + "locationName": "arn" + }, + "CloudWatchAlarmTemplateGroupIds": { + "shape": "__listOf__stringMin7Max11PatternAws097", + "locationName": "cloudWatchAlarmTemplateGroupIds" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "DiscoveryEntryPointArn": { + "shape": "__stringMin1Max2048", + "locationName": "discoveryEntryPointArn" + }, + "ErrorMessage": { + "shape": "__stringMin1Max2048", + "locationName": "errorMessage" + }, + "EventBridgeRuleTemplateGroupIds": { + "shape": "__listOf__stringMin7Max11PatternAws097", + "locationName": "eventBridgeRuleTemplateGroupIds" + }, + "FailedMediaResourceMap": { + "shape": "FailedMediaResourceMap", + "locationName": "failedMediaResourceMap" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "LastDiscoveredAt": { + "shape": "__timestampIso8601", + "locationName": "lastDiscoveredAt" + }, + "LastSuccessfulMonitorDeployment": { + "shape": "SuccessfulMonitorDeployment", + "locationName": "lastSuccessfulMonitorDeployment" + }, + "MediaResourceMap": { + "shape": "MediaResourceMap", + "locationName": "mediaResourceMap" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "MonitorChangesPendingDeployment": { + "shape": "__boolean", + "locationName": "monitorChangesPendingDeployment" + }, + "MonitorDeployment": { + "shape": "MonitorDeployment", + "locationName": "monitorDeployment" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Status": { + "shape": "SignalMapStatus", + "locationName": "status" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + } + }, + "StartUpdateSignalMapResponseContent": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveSignalMap", + "locationName": "arn" + }, + "CloudWatchAlarmTemplateGroupIds": { + "shape": "__listOf__stringMin7Max11PatternAws097", + "locationName": "cloudWatchAlarmTemplateGroupIds" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "DiscoveryEntryPointArn": { + "shape": "__stringMin1Max2048", + "locationName": "discoveryEntryPointArn" + }, + "ErrorMessage": { + "shape": "__stringMin1Max2048", + "locationName": "errorMessage" + }, + "EventBridgeRuleTemplateGroupIds": { + "shape": "__listOf__stringMin7Max11PatternAws097", + "locationName": "eventBridgeRuleTemplateGroupIds" + }, + "FailedMediaResourceMap": { + "shape": "FailedMediaResourceMap", + "locationName": "failedMediaResourceMap" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "LastDiscoveredAt": { + "shape": "__timestampIso8601", + "locationName": "lastDiscoveredAt" + }, + "LastSuccessfulMonitorDeployment": { + "shape": "SuccessfulMonitorDeployment", + "locationName": "lastSuccessfulMonitorDeployment" + }, + "MediaResourceMap": { + "shape": "MediaResourceMap", + "locationName": "mediaResourceMap" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "MonitorChangesPendingDeployment": { + "shape": "__boolean", + "locationName": "monitorChangesPendingDeployment" + }, + "MonitorDeployment": { + "shape": "MonitorDeployment", + "locationName": "monitorDeployment" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Status": { + "shape": "SignalMapStatus", + "locationName": "status" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + }, + "required": [ + "Status", + "CreatedAt", + "Name", + "Id", + "Arn", + "DiscoveryEntryPointArn", + "MonitorChangesPendingDeployment" + ] + }, + "SuccessfulMonitorDeployment": { + "type": "structure", + "members": { + "DetailsUri": { + "shape": "__stringMin1Max2048", + "locationName": "detailsUri" + }, + "Status": { + "shape": "SignalMapMonitorDeploymentStatus", + "locationName": "status" + } + }, + "required": [ + "DetailsUri", + "Status" + ] + }, + "TagMap": { + "type": "map", + "key": { + "shape": "__string" + }, + "value": { + "shape": "__string" + } + }, + "TooManyRequestsExceptionResponseContent": { + "type": "structure", + "members": { + "Message": { + "shape": "__string", + "locationName": "message" + } + } + }, + "UpdateCloudWatchAlarmTemplateGroupRequest": { + "type": "structure", + "members": { + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "Identifier": { + "shape": "__string", + "location": "uri", + "locationName": "identifier" + } + }, + "required": [ + "Identifier" + ] + }, + "UpdateCloudWatchAlarmTemplateGroupRequestContent": { + "type": "structure", + "members": { + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + } + } + }, + "UpdateCloudWatchAlarmTemplateGroupResponse": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplateGroup", + "locationName": "arn" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + } + }, + "UpdateCloudWatchAlarmTemplateGroupResponseContent": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplateGroup", + "locationName": "arn" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + }, + "required": [ + "CreatedAt", + "Id", + "Arn", + "Name" + ] + }, + "UpdateCloudWatchAlarmTemplateRequest": { + "type": "structure", + "members": { + "ComparisonOperator": { + "shape": "CloudWatchAlarmTemplateComparisonOperator", + "locationName": "comparisonOperator" + }, + "DatapointsToAlarm": { + "shape": "__integerMin1", + "locationName": "datapointsToAlarm" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "EvaluationPeriods": { + "shape": "__integerMin1", + "locationName": "evaluationPeriods" + }, + "GroupIdentifier": { + "shape": "__stringPatternS", + "locationName": "groupIdentifier" + }, + "Identifier": { + "shape": "__string", + "location": "uri", + "locationName": "identifier" + }, + "MetricName": { + "shape": "__stringMax64", + "locationName": "metricName" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Period": { + "shape": "__integerMin10Max86400", + "locationName": "period" + }, + "Statistic": { + "shape": "CloudWatchAlarmTemplateStatistic", + "locationName": "statistic" + }, + "TargetResourceType": { + "shape": "CloudWatchAlarmTemplateTargetResourceType", + "locationName": "targetResourceType" + }, + "Threshold": { + "shape": "__double", + "locationName": "threshold" + }, + "TreatMissingData": { + "shape": "CloudWatchAlarmTemplateTreatMissingData", + "locationName": "treatMissingData" + } + }, + "required": [ + "Identifier" + ] }, - "InputDeviceConfigurableAudioChannelPairConfig": { + "UpdateCloudWatchAlarmTemplateRequestContent": { + "type": "structure", + "members": { + "ComparisonOperator": { + "shape": "CloudWatchAlarmTemplateComparisonOperator", + "locationName": "comparisonOperator" + }, + "DatapointsToAlarm": { + "shape": "__integerMin1", + "locationName": "datapointsToAlarm" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "EvaluationPeriods": { + "shape": "__integerMin1", + "locationName": "evaluationPeriods" + }, + "GroupIdentifier": { + "shape": "__stringPatternS", + "locationName": "groupIdentifier" + }, + "MetricName": { + "shape": "__stringMax64", + "locationName": "metricName" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Period": { + "shape": "__integerMin10Max86400", + "locationName": "period" + }, + "Statistic": { + "shape": "CloudWatchAlarmTemplateStatistic", + "locationName": "statistic" + }, + "TargetResourceType": { + "shape": "CloudWatchAlarmTemplateTargetResourceType", + "locationName": "targetResourceType" + }, + "Threshold": { + "shape": "__double", + "locationName": "threshold" + }, + "TreatMissingData": { + "shape": "CloudWatchAlarmTemplateTreatMissingData", + "locationName": "treatMissingData" + } + } + }, + "UpdateCloudWatchAlarmTemplateResponse": { "type": "structure", "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplate", + "locationName": "arn" + }, + "ComparisonOperator": { + "shape": "CloudWatchAlarmTemplateComparisonOperator", + "locationName": "comparisonOperator" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "DatapointsToAlarm": { + "shape": "__integerMin1", + "locationName": "datapointsToAlarm" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "EvaluationPeriods": { + "shape": "__integerMin1", + "locationName": "evaluationPeriods" + }, + "GroupId": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "groupId" + }, "Id": { - "shape": "__integer", + "shape": "__stringMin7Max11PatternAws097", "locationName": "id" }, - "Profile": { - "shape": "InputDeviceConfigurableAudioChannelPairProfile", - "locationName": "profile" + "MetricName": { + "shape": "__stringMax64", + "locationName": "metricName" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Period": { + "shape": "__integerMin10Max86400", + "locationName": "period" + }, + "Statistic": { + "shape": "CloudWatchAlarmTemplateStatistic", + "locationName": "statistic" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + }, + "TargetResourceType": { + "shape": "CloudWatchAlarmTemplateTargetResourceType", + "locationName": "targetResourceType" + }, + "Threshold": { + "shape": "__double", + "locationName": "threshold" + }, + "TreatMissingData": { + "shape": "CloudWatchAlarmTemplateTreatMissingData", + "locationName": "treatMissingData" } } }, - "InputDeviceConfigurableAudioChannelPairProfile": { - "type": "string", - "enum": [ - "DISABLED", - "VBR-AAC_HHE-16000", - "VBR-AAC_HE-64000", - "VBR-AAC_LC-128000", - "CBR-AAC_HQ-192000", - "CBR-AAC_HQ-256000", - "CBR-AAC_HQ-384000", - "CBR-AAC_HQ-512000" - ] - }, - "InputDeviceUhdAudioChannelPairConfig": { + "UpdateCloudWatchAlarmTemplateResponseContent": { "type": "structure", "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplate", + "locationName": "arn" + }, + "ComparisonOperator": { + "shape": "CloudWatchAlarmTemplateComparisonOperator", + "locationName": "comparisonOperator" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "DatapointsToAlarm": { + "shape": "__integerMin1", + "locationName": "datapointsToAlarm" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "EvaluationPeriods": { + "shape": "__integerMin1", + "locationName": "evaluationPeriods" + }, + "GroupId": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "groupId" + }, "Id": { - "shape": "__integer", + "shape": "__stringMin7Max11PatternAws097", "locationName": "id" }, - "Profile": { - "shape": "InputDeviceUhdAudioChannelPairProfile", - "locationName": "profile" + "MetricName": { + "shape": "__stringMax64", + "locationName": "metricName" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Period": { + "shape": "__integerMin10Max86400", + "locationName": "period" + }, + "Statistic": { + "shape": "CloudWatchAlarmTemplateStatistic", + "locationName": "statistic" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + }, + "TargetResourceType": { + "shape": "CloudWatchAlarmTemplateTargetResourceType", + "locationName": "targetResourceType" + }, + "Threshold": { + "shape": "__double", + "locationName": "threshold" + }, + "TreatMissingData": { + "shape": "CloudWatchAlarmTemplateTreatMissingData", + "locationName": "treatMissingData" } - } + }, + "required": [ + "TargetResourceType", + "TreatMissingData", + "ComparisonOperator", + "CreatedAt", + "Period", + "EvaluationPeriods", + "Name", + "GroupId", + "MetricName", + "Statistic", + "Id", + "Arn", + "Threshold" + ] }, - "InputDeviceUhdAudioChannelPairProfile": { - "type": "string", - "enum": [ - "DISABLED", - "VBR-AAC_HHE-16000", - "VBR-AAC_HE-64000", - "VBR-AAC_LC-128000", - "CBR-AAC_HQ-192000", - "CBR-AAC_HQ-256000", - "CBR-AAC_HQ-384000", - "CBR-AAC_HQ-512000" + "UpdateEventBridgeRuleTemplateGroupRequest": { + "type": "structure", + "members": { + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "Identifier": { + "shape": "__string", + "location": "uri", + "locationName": "identifier" + } + }, + "required": [ + "Identifier" ] }, - "__listOfInputDeviceConfigurableAudioChannelPairConfig": { - "type": "list", - "member": { - "shape": "InputDeviceConfigurableAudioChannelPairConfig" + "UpdateEventBridgeRuleTemplateGroupRequestContent": { + "type": "structure", + "members": { + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + } } }, - "__listOfInputDeviceUhdAudioChannelPairConfig": { - "type": "list", - "member": { - "shape": "InputDeviceUhdAudioChannelPairConfig" + "UpdateEventBridgeRuleTemplateGroupResponse": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplateGroup", + "locationName": "arn" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } } }, - "ChannelPipelineIdToRestart": { - "type": "string", - "enum": [ - "PIPELINE_0", - "PIPELINE_1" + "UpdateEventBridgeRuleTemplateGroupResponseContent": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplateGroup", + "locationName": "arn" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" + } + }, + "required": [ + "CreatedAt", + "Id", + "Arn", + "Name" ] }, - "RestartChannelPipelinesRequest": { + "UpdateEventBridgeRuleTemplateRequest": { "type": "structure", "members": { - "ChannelId": { + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "EventTargets": { + "shape": "__listOfEventBridgeRuleTemplateTarget", + "locationName": "eventTargets" + }, + "EventType": { + "shape": "EventBridgeRuleTemplateEventType", + "locationName": "eventType" + }, + "GroupIdentifier": { + "shape": "__stringPatternS", + "locationName": "groupIdentifier" + }, + "Identifier": { "shape": "__string", "location": "uri", - "locationName": "channelId" + "locationName": "identifier" }, - "PipelineIds": { - "shape": "__listOfChannelPipelineIdToRestart", - "locationName": "pipelineIds" + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + } + }, + "required": [ + "Identifier" + ] + }, + "UpdateEventBridgeRuleTemplateRequestContent": { + "type": "structure", + "members": { + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "EventTargets": { + "shape": "__listOfEventBridgeRuleTemplateTarget", + "locationName": "eventTargets" + }, + "EventType": { + "shape": "EventBridgeRuleTemplateEventType", + "locationName": "eventType" + }, + "GroupIdentifier": { + "shape": "__stringPatternS", + "locationName": "groupIdentifier" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + } + } + }, + "UpdateEventBridgeRuleTemplateResponse": { + "type": "structure", + "members": { + "Arn": { + "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplate", + "locationName": "arn" + }, + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" + }, + "EventTargets": { + "shape": "__listOfEventBridgeRuleTemplateTarget", + "locationName": "eventTargets" + }, + "EventType": { + "shape": "EventBridgeRuleTemplateEventType", + "locationName": "eventType" + }, + "GroupId": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "groupId" + }, + "Id": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "id" + }, + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" + }, + "Name": { + "shape": "__stringMin1Max255PatternS", + "locationName": "name" + }, + "Tags": { + "shape": "TagMap", + "locationName": "tags" } - }, - "required": [ - "ChannelId" - ] + } }, - "RestartChannelPipelinesResponse": { + "UpdateEventBridgeRuleTemplateResponseContent": { "type": "structure", "members": { "Arn": { - "shape": "__string", + "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplate", "locationName": "arn" }, - "CdiInputSpecification": { - "shape": "CdiInputSpecification", - "locationName": "cdiInputSpecification" + "CreatedAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" }, - "ChannelClass": { - "shape": "ChannelClass", - "locationName": "channelClass" + "Description": { + "shape": "__stringMin0Max1024", + "locationName": "description" }, - "Destinations": { - "shape": "__listOfOutputDestination", - "locationName": "destinations" + "EventTargets": { + "shape": "__listOfEventBridgeRuleTemplateTarget", + "locationName": "eventTargets" }, - "EgressEndpoints": { - "shape": "__listOfChannelEgressEndpoint", - "locationName": "egressEndpoints" + "EventType": { + "shape": "EventBridgeRuleTemplateEventType", + "locationName": "eventType" }, - "EncoderSettings": { - "shape": "EncoderSettings", - "locationName": "encoderSettings" + "GroupId": { + "shape": "__stringMin7Max11PatternAws097", + "locationName": "groupId" }, "Id": { - "shape": "__string", + "shape": "__stringMin7Max11PatternAws097", "locationName": "id" }, - "InputAttachments": { - "shape": "__listOfInputAttachment", - "locationName": "inputAttachments" - }, - "InputSpecification": { - "shape": "InputSpecification", - "locationName": "inputSpecification" - }, - "LogLevel": { - "shape": "LogLevel", - "locationName": "logLevel" - }, - "Maintenance": { - "shape": "MaintenanceStatus", - "locationName": "maintenance" - }, - "MaintenanceStatus": { - "shape": "__string", - "locationName": "maintenanceStatus" + "ModifiedAt": { + "shape": "__timestampIso8601", + "locationName": "modifiedAt" }, "Name": { - "shape": "__string", + "shape": "__stringMin1Max255PatternS", "locationName": "name" }, - "PipelineDetails": { - "shape": "__listOfPipelineDetail", - "locationName": "pipelineDetails" - }, - "PipelinesRunningCount": { - "shape": "__integer", - "locationName": "pipelinesRunningCount" - }, - "RoleArn": { - "shape": "__string", - "locationName": "roleArn" - }, - "State": { - "shape": "ChannelState", - "locationName": "state" - }, "Tags": { - "shape": "Tags", + "shape": "TagMap", "locationName": "tags" - }, - "Vpc": { - "shape": "VpcOutputSettingsDescription", - "locationName": "vpc" } - } + }, + "required": [ + "EventType", + "CreatedAt", + "Id", + "Arn", + "Name", + "GroupId" + ] }, - "__listOfChannelPipelineIdToRestart": { + "__integerMax5": { + "type": "integer", + "max": 5 + }, + "__integerMin10Max86400": { + "type": "integer", + "min": 10, + "max": 86400 + }, + "__listOfCloudWatchAlarmTemplateGroupSummary": { "type": "list", "member": { - "shape": "ChannelPipelineIdToRestart" + "shape": "CloudWatchAlarmTemplateGroupSummary" } }, - "H265MvOverPictureBoundaries": { - "type": "string", - "enum": [ - "DISABLED", - "ENABLED" - ] + "__listOfCloudWatchAlarmTemplateSummary": { + "type": "list", + "member": { + "shape": "CloudWatchAlarmTemplateSummary" + } }, - "H265MvTemporalPredictor": { - "type": "string", - "enum": [ - "DISABLED", - "ENABLED" - ] + "__listOfEventBridgeRuleTemplateGroupSummary": { + "type": "list", + "member": { + "shape": "EventBridgeRuleTemplateGroupSummary" + } }, - "H265TilePadding": { - "type": "string", - "enum": [ - "NONE", - "PADDED" - ] + "__listOfEventBridgeRuleTemplateSummary": { + "type": "list", + "member": { + "shape": "EventBridgeRuleTemplateSummary" + } }, - "H265TreeblockSize": { - "type": "string", - "enum": [ - "AUTO", - "TREE_SIZE_32X32" - ] + "__listOfEventBridgeRuleTemplateTarget": { + "type": "list", + "member": { + "shape": "EventBridgeRuleTemplateTarget" + } }, - "__integerMin256Max3840": { - "type": "integer", - "min": 256, - "max": 3840 + "__listOfMediaResourceNeighbor": { + "type": "list", + "member": { + "shape": "MediaResourceNeighbor" + } }, - "__integerMin64Max2160": { - "type": "integer", - "min": 64, - "max": 2160 + "__listOfSignalMapSummary": { + "type": "list", + "member": { + "shape": "SignalMapSummary" + } }, - "CmafIngestGroupSettings": { - "type": "structure", - "members": { - "Destination": { - "shape": "OutputLocationRef", - "locationName": "destination" - }, - "NielsenId3Behavior": { - "shape": "CmafNielsenId3Behavior", - "locationName": "nielsenId3Behavior" - }, - "Scte35Type": { - "shape": "Scte35Type", - "locationName": "scte35Type" - }, - "SegmentLength": { - "shape": "__integerMin1", - "locationName": "segmentLength" - }, - "SegmentLengthUnits": { - "shape": "CmafIngestSegmentLengthUnits", - "locationName": "segmentLengthUnits" - }, - "SendDelayMs": { - "shape": "__integerMin0Max2000", - "locationName": "sendDelayMs" - } - }, - "required": [ - "Destination" - ] + "__listOf__stringMin7Max11PatternAws097": { + "type": "list", + "member": { + "shape": "__stringMin7Max11PatternAws097" + } }, - "CmafIngestOutputSettings": { - "type": "structure", - "members": { - "NameModifier": { - "shape": "__string", - "locationName": "nameModifier" - } + "__listOf__stringPatternS": { + "type": "list", + "member": { + "shape": "__stringPatternS" } }, - "CmafIngestSegmentLengthUnits": { + "__stringMax64": { "type": "string", - "enum": [ - "MILLISECONDS", - "SECONDS" - ] + "max": 64 }, - "CmafNielsenId3Behavior": { + "__stringMin0Max1024": { "type": "string", - "enum": [ - "NO_PASSTHROUGH", - "PASSTHROUGH" - ] + "min": 0, + "max": 1024 }, - "DashRoleAudio": { + "__stringMin1Max2048": { "type": "string", - "enum": [ - "ALTERNATE", - "COMMENTARY", - "DESCRIPTION", - "DUB", - "EMERGENCY", - "ENHANCED-AUDIO-INTELLIGIBILITY", - "KARAOKE", - "MAIN", - "SUPPLEMENTARY" - ] + "min": 1, + "max": 2048 }, - "DashRoleCaption": { + "__stringMin1Max2048PatternArn": { "type": "string", - "enum": [ - "ALTERNATE", - "CAPTION", - "COMMENTARY", - "DESCRIPTION", - "DUB", - "EASYREADER", - "EMERGENCY", - "FORCED-SUBTITLE", - "KARAOKE", - "MAIN", - "METADATA", - "SUBTITLE", - "SUPPLEMENTARY" - ] + "min": 1, + "max": 2048, + "pattern": "^arn.+$" }, - "DvbDashAccessibility": { + "__stringMin1Max255PatternS": { "type": "string", - "enum": [ - "DVBDASH_1_VISUALLY_IMPAIRED", - "DVBDASH_2_HARD_OF_HEARING", - "DVBDASH_3_SUPPLEMENTAL_COMMENTARY", - "DVBDASH_4_DIRECTORS_COMMENTARY", - "DVBDASH_5_EDUCATIONAL_NOTES", - "DVBDASH_6_MAIN_PROGRAM", - "DVBDASH_7_CLEAN_FEED" - ] + "min": 1, + "max": 255, + "pattern": "^[^\\s]+$" }, - "__listOfDashRoleAudio": { - "type": "list", - "member": { - "shape": "DashRoleAudio" - } + "__stringMin7Max11PatternAws097": { + "type": "string", + "min": 7, + "max": 11, + "pattern": "^(aws-)?[0-9]{7}$" }, - "__listOfDashRoleCaption": { - "type": "list", - "member": { - "shape": "DashRoleCaption" - } + "__stringPatternArnMedialiveCloudwatchAlarmTemplate": { + "type": "string", + "pattern": "^arn:.+:medialive:.+:cloudwatch-alarm-template:.+$" }, - "Scte35Type": { + "__stringPatternArnMedialiveCloudwatchAlarmTemplateGroup": { "type": "string", - "enum": [ - "NONE", - "SCTE_35_WITHOUT_SEGMENTATION" - ] + "pattern": "^arn:.+:medialive:.+:cloudwatch-alarm-template-group:.+$" + }, + "__stringPatternArnMedialiveEventbridgeRuleTemplate": { + "type": "string", + "pattern": "^arn:.+:medialive:.+:eventbridge-rule-template:.+$" + }, + "__stringPatternArnMedialiveEventbridgeRuleTemplateGroup": { + "type": "string", + "pattern": "^arn:.+:medialive:.+:eventbridge-rule-template-group:.+$" + }, + "__stringPatternArnMedialiveSignalMap": { + "type": "string", + "pattern": "^arn:.+:medialive:.+:signal-map:.+$" + }, + "__stringPatternS": { + "type": "string", + "pattern": "^[^\\s]+$" } } } diff --git a/models/apis/medialive/2017-10-14/docs-2.json b/models/apis/medialive/2017-10-14/docs-2.json index 8e76cac0b79..6636dffcbbf 100644 --- a/models/apis/medialive/2017-10-14/docs-2.json +++ b/models/apis/medialive/2017-10-14/docs-2.json @@ -66,7 +66,34 @@ "UpdateMultiplex": "Updates a multiplex.", "UpdateMultiplexProgram": "Update a program in a multiplex.", "UpdateReservation": "Update reservation.", - "RestartChannelPipelines": "Restart pipelines in one channel that is currently running." + "RestartChannelPipelines": "Restart pipelines in one channel that is currently running.", + "CreateCloudWatchAlarmTemplate": "Creates a cloudwatch alarm template to dynamically generate cloudwatch metric alarms on targeted resource types.", + "CreateCloudWatchAlarmTemplateGroup": "Creates a cloudwatch alarm template group to group your cloudwatch alarm templates and to attach to signal maps for dynamically creating alarms.", + "CreateEventBridgeRuleTemplate": "Creates an eventbridge rule template to monitor events and send notifications to your targeted resources.", + "CreateEventBridgeRuleTemplateGroup": "Creates an eventbridge rule template group to group your eventbridge rule templates and to attach to signal maps for dynamically creating notification rules.", + "CreateSignalMap": "Initiates the creation of a new signal map. Will discover a new mediaResourceMap based on the provided discoveryEntryPointArn.", + "DeleteCloudWatchAlarmTemplate": "Deletes a cloudwatch alarm template.", + "DeleteCloudWatchAlarmTemplateGroup": "Deletes a cloudwatch alarm template group. You must detach this group from all signal maps and ensure its existing templates are moved to another group or deleted.", + "DeleteEventBridgeRuleTemplate": "Deletes an eventbridge rule template.", + "DeleteEventBridgeRuleTemplateGroup": "Deletes an eventbridge rule template group. You must detach this group from all signal maps and ensure its existing templates are moved to another group or deleted.", + "DeleteSignalMap": "Deletes the specified signal map.", + "GetCloudWatchAlarmTemplate": "Retrieves the specified cloudwatch alarm template.", + "GetCloudWatchAlarmTemplateGroup": "Retrieves the specified cloudwatch alarm template group.", + "GetEventBridgeRuleTemplate": "Retrieves the specified eventbridge rule template.", + "GetEventBridgeRuleTemplateGroup": "Retrieves the specified eventbridge rule template group.", + "GetSignalMap": "Retrieves the specified signal map.", + "ListCloudWatchAlarmTemplateGroups": "Lists cloudwatch alarm template groups.", + "ListCloudWatchAlarmTemplates": "Lists cloudwatch alarm templates.", + "ListEventBridgeRuleTemplateGroups": "Lists eventbridge rule template groups.", + "ListEventBridgeRuleTemplates": "Lists eventbridge rule templates.", + "ListSignalMaps": "Lists signal maps.", + "StartDeleteMonitorDeployment": "Initiates a deployment to delete the monitor of the specified signal map.", + "StartMonitorDeployment": "Initiates a deployment to deploy the latest monitor of the specified signal map.", + "StartUpdateSignalMap": "Initiates an update for the specified signal map. Will discover a new signal map if a changed discoveryEntryPointArn is provided.", + "UpdateCloudWatchAlarmTemplate": "Updates the specified cloudwatch alarm template.", + "UpdateCloudWatchAlarmTemplateGroup": "Updates the specified cloudwatch alarm template group.", + "UpdateEventBridgeRuleTemplate": "Updates the specified eventbridge rule template.", + "UpdateEventBridgeRuleTemplateGroup": "Updates the specified eventbridge rule template group." }, "shapes": { "AacCodingMode": { @@ -3704,6 +3731,13 @@ "__boolean": { "base": null, "refs": { + "CreateSignalMapResponseContent$MonitorChangesPendingDeployment": "If true, there are pending monitor changes for this signal map that can be deployed.", + "GetSignalMapResponseContent$MonitorChangesPendingDeployment": "If true, there are pending monitor changes for this signal map that can be deployed.", + "StartDeleteMonitorDeploymentResponseContent$MonitorChangesPendingDeployment": "If true, there are pending monitor changes for this signal map that can be deployed.", + "StartMonitorDeploymentRequestContent$DryRun": null, + "StartMonitorDeploymentResponseContent$MonitorChangesPendingDeployment": "If true, there are pending monitor changes for this signal map that can be deployed.", + "StartUpdateSignalMapRequestContent$ForceRediscovery": "If true, will force a rediscovery of a signal map if an unchanged discoveryEntryPointArn is provided.", + "StartUpdateSignalMapResponseContent$MonitorChangesPendingDeployment": "If true, there are pending monitor changes for this signal map that can be deployed." } }, "__double": { @@ -3732,7 +3766,13 @@ "Reservation$FixedPrice": "One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering", "Reservation$UsagePrice": "Recurring usage charge for each reserved resource, e.g. '157.0'", "WavSettings$BitDepth": "Bits per sample.", - "WavSettings$SampleRate": "Sample rate in Hz." + "WavSettings$SampleRate": "Sample rate in Hz.", + "CloudWatchAlarmTemplateSummary$Threshold": "The threshold value to compare with the specified statistic.", + "CreateCloudWatchAlarmTemplateRequestContent$Threshold": "The threshold value to compare with the specified statistic.", + "CreateCloudWatchAlarmTemplateResponseContent$Threshold": "The threshold value to compare with the specified statistic.", + "GetCloudWatchAlarmTemplateResponseContent$Threshold": "The threshold value to compare with the specified statistic.", + "UpdateCloudWatchAlarmTemplateRequestContent$Threshold": "The threshold value to compare with the specified statistic.", + "UpdateCloudWatchAlarmTemplateResponseContent$Threshold": "The threshold value to compare with the specified statistic." } }, "__doubleMin0": { @@ -3838,7 +3878,9 @@ "VideoDescription$Width": "Output video width, in pixels. Must be an even number. For most codecs, you can leave this field and height blank in order to use the height and width (resolution) from the source. Note, however, that leaving blank is not recommended. For the Frame Capture codec, height and width are required.", "__listOf__integer$member": null, "InputDeviceConfigurableAudioChannelPairConfig$Id": "The ID for one audio pair configuration, a value from 1 to 8.", - "InputDeviceUhdAudioChannelPairConfig$Id": "The ID for one audio pair configuration, a value from 1 to 8." + "InputDeviceUhdAudioChannelPairConfig$Id": "The ID for one audio pair configuration, a value from 1 to 8.", + "CloudWatchAlarmTemplateGroupSummary$TemplateCount": "The number of templates in a group.", + "EventBridgeRuleTemplateGroupSummary$TemplateCount": "The number of templates in a group." } }, "__integerMin0": { @@ -4077,7 +4119,19 @@ "StaticImageActivateScheduleActionSettings$Width": "The width of the image when inserted into the video, in pixels. The overlay will be scaled up or down to the specified width. Leave blank to use the native width of the overlay.", "StaticImageOutputActivateScheduleActionSettings$Height": "The height of the image when inserted into the video, in pixels. The overlay will be scaled up or down to the specified height. Leave blank to use the native height of the overlay.", "StaticImageOutputActivateScheduleActionSettings$Width": "The width of the image when inserted into the video, in pixels. The overlay will be scaled up or down to the specified width. Leave blank to use the native width of the overlay.", - "CmafIngestGroupSettings$SegmentLength": "The nominal duration of segments. The units are specified in SegmentLengthUnits. The segments will end on the next keyframe after the specified duration, so the actual segment length might be longer, and it might be a fraction of the units." + "CmafIngestGroupSettings$SegmentLength": "The nominal duration of segments. The units are specified in SegmentLengthUnits. The segments will end on the next keyframe after the specified duration, so the actual segment length might be longer, and it might be a fraction of the units.", + "CloudWatchAlarmTemplateSummary$DatapointsToAlarm": "The number of datapoints within the evaluation period that must be breaching to trigger the alarm.", + "CloudWatchAlarmTemplateSummary$EvaluationPeriods": "The number of periods over which data is compared to the specified threshold.", + "CreateCloudWatchAlarmTemplateRequestContent$DatapointsToAlarm": "The number of datapoints within the evaluation period that must be breaching to trigger the alarm.", + "CreateCloudWatchAlarmTemplateRequestContent$EvaluationPeriods": "The number of periods over which data is compared to the specified threshold.", + "CreateCloudWatchAlarmTemplateResponseContent$DatapointsToAlarm": "The number of datapoints within the evaluation period that must be breaching to trigger the alarm.", + "CreateCloudWatchAlarmTemplateResponseContent$EvaluationPeriods": "The number of periods over which data is compared to the specified threshold.", + "GetCloudWatchAlarmTemplateResponseContent$DatapointsToAlarm": "The number of datapoints within the evaluation period that must be breaching to trigger the alarm.", + "GetCloudWatchAlarmTemplateResponseContent$EvaluationPeriods": "The number of periods over which data is compared to the specified threshold.", + "UpdateCloudWatchAlarmTemplateRequestContent$DatapointsToAlarm": "The number of datapoints within the evaluation period that must be breaching to trigger the alarm.", + "UpdateCloudWatchAlarmTemplateRequestContent$EvaluationPeriods": "The number of periods over which data is compared to the specified threshold.", + "UpdateCloudWatchAlarmTemplateResponseContent$DatapointsToAlarm": "The number of datapoints within the evaluation period that must be breaching to trigger the alarm.", + "UpdateCloudWatchAlarmTemplateResponseContent$EvaluationPeriods": "The number of periods over which data is compared to the specified threshold." } }, "__integerMin100": { @@ -4948,7 +5002,14 @@ "ValidationError$ErrorMessage": "The error message.", "VideoDescription$Name": "The name of this VideoDescription. Outputs will use this name to uniquely identify this Description. Description names should be unique within this Live Event.", "__listOf__string$member": null, - "CmafIngestOutputSettings$NameModifier": "String concatenated to the end of the destination filename. Required for multiple outputs of the same type." + "CmafIngestOutputSettings$NameModifier": "String concatenated to the end of the destination filename. Required for multiple outputs of the same type.", + "BadRequestExceptionResponseContent$Message": "Exception error message.", + "ConflictExceptionResponseContent$Message": "Exception error message.", + "ForbiddenExceptionResponseContent$Message": "Exception error message.", + "InternalServerErrorExceptionResponseContent$Message": "Exception error message.", + "NotFoundExceptionResponseContent$Message": "Exception error message.", + "TagMap$member": null, + "TooManyRequestsExceptionResponseContent$Message": "Exception error message." } }, "__stringMax1000": { @@ -5012,7 +5073,9 @@ "refs": { "DvbNitSettings$NetworkName": "The network name text placed in the networkNameDescriptor inside the Network Information Table. Maximum length is 256 characters.", "DvbSdtSettings$ServiceName": "The service name placed in the serviceDescriptor in the Service Description Table. Maximum length is 256 characters.", - "DvbSdtSettings$ServiceProviderName": "The service provider name placed in the serviceDescriptor in the Service Description Table. Maximum length is 256 characters." + "DvbSdtSettings$ServiceProviderName": "The service provider name placed in the serviceDescriptor in the Service Description Table. Maximum length is 256 characters.", + "MediaResource$Name": "The logical name of an AWS media resource.", + "MediaResourceNeighbor$Name": "The logical name of an AWS media resource." } }, "__stringMin1Max35": { @@ -5215,6 +5278,692 @@ "refs": { "CmafIngestGroupSettings$Scte35Type": "Type of scte35 track to add. none or scte35WithoutSegmentation" } + }, + "BadRequestExceptionResponseContent": { + "base": "The input fails to satisfy the constraints specified by an AWS service.", + "refs": { + } + }, + "CloudWatchAlarmTemplateComparisonOperator": { + "base": "The comparison operator used to compare the specified statistic and the threshold.", + "refs": { + "CloudWatchAlarmTemplateSummary$ComparisonOperator": null, + "CreateCloudWatchAlarmTemplateRequestContent$ComparisonOperator": null, + "CreateCloudWatchAlarmTemplateResponseContent$ComparisonOperator": null, + "GetCloudWatchAlarmTemplateResponseContent$ComparisonOperator": null, + "UpdateCloudWatchAlarmTemplateRequestContent$ComparisonOperator": null, + "UpdateCloudWatchAlarmTemplateResponseContent$ComparisonOperator": null + } + }, + "CloudWatchAlarmTemplateGroupSummary": { + "base": null, + "refs": { + "__listOfCloudWatchAlarmTemplateGroupSummary$member": null + } + }, + "CloudWatchAlarmTemplateStatistic": { + "base": "The statistic to apply to the alarm's metric data.", + "refs": { + "CloudWatchAlarmTemplateSummary$Statistic": null, + "CreateCloudWatchAlarmTemplateRequestContent$Statistic": null, + "CreateCloudWatchAlarmTemplateResponseContent$Statistic": null, + "GetCloudWatchAlarmTemplateResponseContent$Statistic": null, + "UpdateCloudWatchAlarmTemplateRequestContent$Statistic": null, + "UpdateCloudWatchAlarmTemplateResponseContent$Statistic": null + } + }, + "CloudWatchAlarmTemplateSummary": { + "base": null, + "refs": { + "__listOfCloudWatchAlarmTemplateSummary$member": null + } + }, + "CloudWatchAlarmTemplateTargetResourceType": { + "base": "The resource type this template should dynamically generate cloudwatch metric alarms for.", + "refs": { + "CloudWatchAlarmTemplateSummary$TargetResourceType": null, + "CreateCloudWatchAlarmTemplateRequestContent$TargetResourceType": null, + "CreateCloudWatchAlarmTemplateResponseContent$TargetResourceType": null, + "GetCloudWatchAlarmTemplateResponseContent$TargetResourceType": null, + "UpdateCloudWatchAlarmTemplateRequestContent$TargetResourceType": null, + "UpdateCloudWatchAlarmTemplateResponseContent$TargetResourceType": null + } + }, + "CloudWatchAlarmTemplateTreatMissingData": { + "base": "Specifies how missing data points are treated when evaluating the alarm's condition.", + "refs": { + "CloudWatchAlarmTemplateSummary$TreatMissingData": null, + "CreateCloudWatchAlarmTemplateRequestContent$TreatMissingData": null, + "CreateCloudWatchAlarmTemplateResponseContent$TreatMissingData": null, + "GetCloudWatchAlarmTemplateResponseContent$TreatMissingData": null, + "UpdateCloudWatchAlarmTemplateRequestContent$TreatMissingData": null, + "UpdateCloudWatchAlarmTemplateResponseContent$TreatMissingData": null + } + }, + "ConflictExceptionResponseContent": { + "base": "Updating or deleting a resource can cause an inconsistent state.", + "refs": { + } + }, + "CreateCloudWatchAlarmTemplateGroupRequestContent": { + "base": null, + "refs": { + } + }, + "CreateCloudWatchAlarmTemplateGroupResponseContent": { + "base": null, + "refs": { + } + }, + "CreateCloudWatchAlarmTemplateRequestContent": { + "base": null, + "refs": { + } + }, + "CreateCloudWatchAlarmTemplateResponseContent": { + "base": null, + "refs": { + } + }, + "CreateEventBridgeRuleTemplateGroupRequestContent": { + "base": null, + "refs": { + } + }, + "CreateEventBridgeRuleTemplateGroupResponseContent": { + "base": null, + "refs": { + } + }, + "CreateEventBridgeRuleTemplateRequestContent": { + "base": null, + "refs": { + } + }, + "CreateEventBridgeRuleTemplateResponseContent": { + "base": null, + "refs": { + } + }, + "CreateSignalMapRequestContent": { + "base": null, + "refs": { + } + }, + "CreateSignalMapResponseContent": { + "base": null, + "refs": { + } + }, + "EventBridgeRuleTemplateEventType": { + "base": "The type of event to match with the rule.", + "refs": { + "CreateEventBridgeRuleTemplateRequestContent$EventType": null, + "CreateEventBridgeRuleTemplateResponseContent$EventType": null, + "EventBridgeRuleTemplateSummary$EventType": null, + "GetEventBridgeRuleTemplateResponseContent$EventType": null, + "UpdateEventBridgeRuleTemplateRequestContent$EventType": null, + "UpdateEventBridgeRuleTemplateResponseContent$EventType": null + } + }, + "EventBridgeRuleTemplateGroupSummary": { + "base": null, + "refs": { + "__listOfEventBridgeRuleTemplateGroupSummary$member": null + } + }, + "EventBridgeRuleTemplateSummary": { + "base": null, + "refs": { + "__listOfEventBridgeRuleTemplateSummary$member": null + } + }, + "EventBridgeRuleTemplateTarget": { + "base": "The target to which to send matching events.", + "refs": { + "__listOfEventBridgeRuleTemplateTarget$member": null + } + }, + "FailedMediaResourceMap": { + "base": "A map representing an incomplete AWS media workflow as a graph.", + "refs": { + "CreateSignalMapResponseContent$FailedMediaResourceMap": null, + "GetSignalMapResponseContent$FailedMediaResourceMap": null, + "StartDeleteMonitorDeploymentResponseContent$FailedMediaResourceMap": null, + "StartMonitorDeploymentResponseContent$FailedMediaResourceMap": null, + "StartUpdateSignalMapResponseContent$FailedMediaResourceMap": null + } + }, + "ForbiddenExceptionResponseContent": { + "base": "User does not have sufficient access to perform this action.", + "refs": { + } + }, + "GetCloudWatchAlarmTemplateGroupResponseContent": { + "base": null, + "refs": { + } + }, + "GetCloudWatchAlarmTemplateResponseContent": { + "base": null, + "refs": { + } + }, + "GetEventBridgeRuleTemplateGroupResponseContent": { + "base": null, + "refs": { + } + }, + "GetEventBridgeRuleTemplateResponseContent": { + "base": null, + "refs": { + } + }, + "GetSignalMapResponseContent": { + "base": null, + "refs": { + } + }, + "InternalServerErrorExceptionResponseContent": { + "base": "Unexpected error during processing of request.", + "refs": { + } + }, + "ListCloudWatchAlarmTemplateGroupsResponseContent": { + "base": null, + "refs": { + } + }, + "ListCloudWatchAlarmTemplatesResponseContent": { + "base": null, + "refs": { + } + }, + "ListEventBridgeRuleTemplateGroupsResponseContent": { + "base": null, + "refs": { + } + }, + "ListEventBridgeRuleTemplatesResponseContent": { + "base": null, + "refs": { + } + }, + "ListSignalMapsResponseContent": { + "base": null, + "refs": { + } + }, + "MediaResource": { + "base": "An AWS resource used in media workflows.", + "refs": { + "FailedMediaResourceMap$member": null, + "MediaResourceMap$member": null + } + }, + "MediaResourceMap": { + "base": "A map representing an AWS media workflow as a graph.", + "refs": { + "CreateSignalMapResponseContent$MediaResourceMap": null, + "GetSignalMapResponseContent$MediaResourceMap": null, + "StartDeleteMonitorDeploymentResponseContent$MediaResourceMap": null, + "StartMonitorDeploymentResponseContent$MediaResourceMap": null, + "StartUpdateSignalMapResponseContent$MediaResourceMap": null + } + }, + "MediaResourceNeighbor": { + "base": "A direct source or destination neighbor to an AWS media resource.", + "refs": { + "__listOfMediaResourceNeighbor$member": null + } + }, + "MonitorDeployment": { + "base": "Represents the latest monitor deployment of a signal map.", + "refs": { + "CreateSignalMapResponseContent$MonitorDeployment": null, + "GetSignalMapResponseContent$MonitorDeployment": null, + "StartDeleteMonitorDeploymentResponseContent$MonitorDeployment": null, + "StartMonitorDeploymentResponseContent$MonitorDeployment": null, + "StartUpdateSignalMapResponseContent$MonitorDeployment": null + } + }, + "NotFoundExceptionResponseContent": { + "base": "Request references a resource which does not exist.", + "refs": { + } + }, + "SignalMapMonitorDeploymentStatus": { + "base": "A signal map's monitor deployment status.", + "refs": { + "MonitorDeployment$Status": null, + "SignalMapSummary$MonitorDeploymentStatus": null, + "SuccessfulMonitorDeployment$Status": null + } + }, + "SignalMapStatus": { + "base": "A signal map's current status which is dependent on its lifecycle actions or associated jobs.", + "refs": { + "CreateSignalMapResponseContent$Status": null, + "GetSignalMapResponseContent$Status": null, + "SignalMapSummary$Status": null, + "StartDeleteMonitorDeploymentResponseContent$Status": null, + "StartMonitorDeploymentResponseContent$Status": null, + "StartUpdateSignalMapResponseContent$Status": null + } + }, + "SignalMapSummary": { + "base": null, + "refs": { + "__listOfSignalMapSummary$member": null + } + }, + "StartDeleteMonitorDeploymentResponseContent": { + "base": null, + "refs": { + } + }, + "StartMonitorDeploymentRequestContent": { + "base": null, + "refs": { + } + }, + "StartMonitorDeploymentResponseContent": { + "base": null, + "refs": { + } + }, + "StartUpdateSignalMapRequestContent": { + "base": null, + "refs": { + } + }, + "StartUpdateSignalMapResponseContent": { + "base": null, + "refs": { + } + }, + "SuccessfulMonitorDeployment": { + "base": "Represents the latest successful monitor deployment of a signal map.", + "refs": { + "CreateSignalMapResponseContent$LastSuccessfulMonitorDeployment": null, + "GetSignalMapResponseContent$LastSuccessfulMonitorDeployment": null, + "StartDeleteMonitorDeploymentResponseContent$LastSuccessfulMonitorDeployment": null, + "StartMonitorDeploymentResponseContent$LastSuccessfulMonitorDeployment": null, + "StartUpdateSignalMapResponseContent$LastSuccessfulMonitorDeployment": null + } + }, + "TagMap": { + "base": "Represents the tags associated with a resource.", + "refs": { + "CloudWatchAlarmTemplateGroupSummary$Tags": null, + "CloudWatchAlarmTemplateSummary$Tags": null, + "CreateCloudWatchAlarmTemplateGroupRequestContent$Tags": null, + "CreateCloudWatchAlarmTemplateGroupResponseContent$Tags": null, + "CreateCloudWatchAlarmTemplateRequestContent$Tags": null, + "CreateCloudWatchAlarmTemplateResponseContent$Tags": null, + "CreateEventBridgeRuleTemplateGroupRequestContent$Tags": null, + "CreateEventBridgeRuleTemplateGroupResponseContent$Tags": null, + "CreateEventBridgeRuleTemplateRequestContent$Tags": null, + "CreateEventBridgeRuleTemplateResponseContent$Tags": null, + "CreateSignalMapRequestContent$Tags": null, + "CreateSignalMapResponseContent$Tags": null, + "EventBridgeRuleTemplateGroupSummary$Tags": null, + "EventBridgeRuleTemplateSummary$Tags": null, + "GetCloudWatchAlarmTemplateGroupResponseContent$Tags": null, + "GetCloudWatchAlarmTemplateResponseContent$Tags": null, + "GetEventBridgeRuleTemplateGroupResponseContent$Tags": null, + "GetEventBridgeRuleTemplateResponseContent$Tags": null, + "GetSignalMapResponseContent$Tags": null, + "SignalMapSummary$Tags": null, + "StartDeleteMonitorDeploymentResponseContent$Tags": null, + "StartMonitorDeploymentResponseContent$Tags": null, + "StartUpdateSignalMapResponseContent$Tags": null, + "UpdateCloudWatchAlarmTemplateGroupResponseContent$Tags": null, + "UpdateCloudWatchAlarmTemplateResponseContent$Tags": null, + "UpdateEventBridgeRuleTemplateGroupResponseContent$Tags": null, + "UpdateEventBridgeRuleTemplateResponseContent$Tags": null + } + }, + "TooManyRequestsExceptionResponseContent": { + "base": "Request was denied due to request throttling.", + "refs": { + } + }, + "UpdateCloudWatchAlarmTemplateGroupRequestContent": { + "base": null, + "refs": { + } + }, + "UpdateCloudWatchAlarmTemplateGroupResponseContent": { + "base": null, + "refs": { + } + }, + "UpdateCloudWatchAlarmTemplateRequestContent": { + "base": null, + "refs": { + } + }, + "UpdateCloudWatchAlarmTemplateResponseContent": { + "base": null, + "refs": { + } + }, + "UpdateEventBridgeRuleTemplateGroupRequestContent": { + "base": null, + "refs": { + } + }, + "UpdateEventBridgeRuleTemplateGroupResponseContent": { + "base": null, + "refs": { + } + }, + "UpdateEventBridgeRuleTemplateRequestContent": { + "base": null, + "refs": { + } + }, + "UpdateEventBridgeRuleTemplateResponseContent": { + "base": null, + "refs": { + } + }, + "__integerMax5": { + "base": null, + "refs": { + "EventBridgeRuleTemplateSummary$EventTargetCount": "The number of targets configured to send matching events." + } + }, + "__integerMin10Max86400": { + "base": null, + "refs": { + "CloudWatchAlarmTemplateSummary$Period": "The period, in seconds, over which the specified statistic is applied.", + "CreateCloudWatchAlarmTemplateRequestContent$Period": "The period, in seconds, over which the specified statistic is applied.", + "CreateCloudWatchAlarmTemplateResponseContent$Period": "The period, in seconds, over which the specified statistic is applied.", + "GetCloudWatchAlarmTemplateResponseContent$Period": "The period, in seconds, over which the specified statistic is applied.", + "UpdateCloudWatchAlarmTemplateRequestContent$Period": "The period, in seconds, over which the specified statistic is applied.", + "UpdateCloudWatchAlarmTemplateResponseContent$Period": "The period, in seconds, over which the specified statistic is applied." + } + }, + "__listOfCloudWatchAlarmTemplateGroupSummary": { + "base": null, + "refs": { + "ListCloudWatchAlarmTemplateGroupsResponseContent$CloudWatchAlarmTemplateGroups": null + } + }, + "__listOfCloudWatchAlarmTemplateSummary": { + "base": null, + "refs": { + "ListCloudWatchAlarmTemplatesResponseContent$CloudWatchAlarmTemplates": null + } + }, + "__listOfEventBridgeRuleTemplateGroupSummary": { + "base": null, + "refs": { + "ListEventBridgeRuleTemplateGroupsResponseContent$EventBridgeRuleTemplateGroups": null + } + }, + "__listOfEventBridgeRuleTemplateSummary": { + "base": null, + "refs": { + "ListEventBridgeRuleTemplatesResponseContent$EventBridgeRuleTemplates": null + } + }, + "__listOfEventBridgeRuleTemplateTarget": { + "base": null, + "refs": { + "CreateEventBridgeRuleTemplateRequestContent$EventTargets": null, + "CreateEventBridgeRuleTemplateResponseContent$EventTargets": null, + "GetEventBridgeRuleTemplateResponseContent$EventTargets": null, + "UpdateEventBridgeRuleTemplateRequestContent$EventTargets": null, + "UpdateEventBridgeRuleTemplateResponseContent$EventTargets": null + } + }, + "__listOfMediaResourceNeighbor": { + "base": null, + "refs": { + "MediaResource$Destinations": null, + "MediaResource$Sources": null + } + }, + "__listOfSignalMapSummary": { + "base": null, + "refs": { + "ListSignalMapsResponseContent$SignalMaps": null + } + }, + "__listOf__stringMin7Max11PatternAws097": { + "base": null, + "refs": { + "CreateSignalMapResponseContent$CloudWatchAlarmTemplateGroupIds": null, + "CreateSignalMapResponseContent$EventBridgeRuleTemplateGroupIds": null, + "GetSignalMapResponseContent$CloudWatchAlarmTemplateGroupIds": null, + "GetSignalMapResponseContent$EventBridgeRuleTemplateGroupIds": null, + "StartDeleteMonitorDeploymentResponseContent$CloudWatchAlarmTemplateGroupIds": null, + "StartDeleteMonitorDeploymentResponseContent$EventBridgeRuleTemplateGroupIds": null, + "StartMonitorDeploymentResponseContent$CloudWatchAlarmTemplateGroupIds": null, + "StartMonitorDeploymentResponseContent$EventBridgeRuleTemplateGroupIds": null, + "StartUpdateSignalMapResponseContent$CloudWatchAlarmTemplateGroupIds": null, + "StartUpdateSignalMapResponseContent$EventBridgeRuleTemplateGroupIds": null + } + }, + "__listOf__stringPatternS": { + "base": null, + "refs": { + "CreateSignalMapRequestContent$CloudWatchAlarmTemplateGroupIdentifiers": null, + "CreateSignalMapRequestContent$EventBridgeRuleTemplateGroupIdentifiers": null, + "StartUpdateSignalMapRequestContent$CloudWatchAlarmTemplateGroupIdentifiers": null, + "StartUpdateSignalMapRequestContent$EventBridgeRuleTemplateGroupIdentifiers": null + } + }, + "__stringMax64": { + "base": null, + "refs": { + "CloudWatchAlarmTemplateSummary$MetricName": "The name of the metric associated with the alarm. Must be compatible with targetResourceType.", + "CreateCloudWatchAlarmTemplateRequestContent$MetricName": "The name of the metric associated with the alarm. Must be compatible with targetResourceType.", + "CreateCloudWatchAlarmTemplateResponseContent$MetricName": "The name of the metric associated with the alarm. Must be compatible with targetResourceType.", + "GetCloudWatchAlarmTemplateResponseContent$MetricName": "The name of the metric associated with the alarm. Must be compatible with targetResourceType.", + "UpdateCloudWatchAlarmTemplateRequestContent$MetricName": "The name of the metric associated with the alarm. Must be compatible with targetResourceType.", + "UpdateCloudWatchAlarmTemplateResponseContent$MetricName": "The name of the metric associated with the alarm. Must be compatible with targetResourceType." + } + }, + "__stringMin0Max1024": { + "base": null, + "refs": { + "CloudWatchAlarmTemplateGroupSummary$Description": "A resource's optional description.", + "CloudWatchAlarmTemplateSummary$Description": "A resource's optional description.", + "CreateCloudWatchAlarmTemplateGroupRequestContent$Description": "A resource's optional description.", + "CreateCloudWatchAlarmTemplateGroupResponseContent$Description": "A resource's optional description.", + "CreateCloudWatchAlarmTemplateRequestContent$Description": "A resource's optional description.", + "CreateCloudWatchAlarmTemplateResponseContent$Description": "A resource's optional description.", + "CreateEventBridgeRuleTemplateGroupRequestContent$Description": "A resource's optional description.", + "CreateEventBridgeRuleTemplateGroupResponseContent$Description": "A resource's optional description.", + "CreateEventBridgeRuleTemplateRequestContent$Description": "A resource's optional description.", + "CreateEventBridgeRuleTemplateResponseContent$Description": "A resource's optional description.", + "CreateSignalMapRequestContent$Description": "A resource's optional description.", + "CreateSignalMapResponseContent$Description": "A resource's optional description.", + "EventBridgeRuleTemplateGroupSummary$Description": "A resource's optional description.", + "EventBridgeRuleTemplateSummary$Description": "A resource's optional description.", + "GetCloudWatchAlarmTemplateGroupResponseContent$Description": "A resource's optional description.", + "GetCloudWatchAlarmTemplateResponseContent$Description": "A resource's optional description.", + "GetEventBridgeRuleTemplateGroupResponseContent$Description": "A resource's optional description.", + "GetEventBridgeRuleTemplateResponseContent$Description": "A resource's optional description.", + "GetSignalMapResponseContent$Description": "A resource's optional description.", + "SignalMapSummary$Description": "A resource's optional description.", + "StartDeleteMonitorDeploymentResponseContent$Description": "A resource's optional description.", + "StartMonitorDeploymentResponseContent$Description": "A resource's optional description.", + "StartUpdateSignalMapRequestContent$Description": "A resource's optional description.", + "StartUpdateSignalMapResponseContent$Description": "A resource's optional description.", + "UpdateCloudWatchAlarmTemplateGroupRequestContent$Description": "A resource's optional description.", + "UpdateCloudWatchAlarmTemplateGroupResponseContent$Description": "A resource's optional description.", + "UpdateCloudWatchAlarmTemplateRequestContent$Description": "A resource's optional description.", + "UpdateCloudWatchAlarmTemplateResponseContent$Description": "A resource's optional description.", + "UpdateEventBridgeRuleTemplateGroupRequestContent$Description": "A resource's optional description.", + "UpdateEventBridgeRuleTemplateGroupResponseContent$Description": "A resource's optional description.", + "UpdateEventBridgeRuleTemplateRequestContent$Description": "A resource's optional description.", + "UpdateEventBridgeRuleTemplateResponseContent$Description": "A resource's optional description." + } + }, + "__stringMin1Max2048": { + "base": null, + "refs": { + "CreateSignalMapRequestContent$DiscoveryEntryPointArn": "A top-level supported AWS resource ARN to discovery a signal map from.", + "CreateSignalMapResponseContent$DiscoveryEntryPointArn": "A top-level supported AWS resource ARN to discovery a signal map from.", + "CreateSignalMapResponseContent$ErrorMessage": "Error message associated with a failed creation or failed update attempt of a signal map.", + "GetSignalMapResponseContent$DiscoveryEntryPointArn": "A top-level supported AWS resource ARN to discovery a signal map from.", + "GetSignalMapResponseContent$ErrorMessage": "Error message associated with a failed creation or failed update attempt of a signal map.", + "ListCloudWatchAlarmTemplateGroupsResponseContent$NextToken": "A token used to retrieve the next set of results in paginated list responses.", + "ListCloudWatchAlarmTemplatesResponseContent$NextToken": "A token used to retrieve the next set of results in paginated list responses.", + "ListEventBridgeRuleTemplateGroupsResponseContent$NextToken": "A token used to retrieve the next set of results in paginated list responses.", + "ListEventBridgeRuleTemplatesResponseContent$NextToken": "A token used to retrieve the next set of results in paginated list responses.", + "ListSignalMapsResponseContent$NextToken": "A token used to retrieve the next set of results in paginated list responses.", + "MonitorDeployment$DetailsUri": "URI associated with a signal map's monitor deployment.", + "MonitorDeployment$ErrorMessage": "Error message associated with a failed monitor deployment of a signal map.", + "StartDeleteMonitorDeploymentResponseContent$DiscoveryEntryPointArn": "A top-level supported AWS resource ARN to discovery a signal map from.", + "StartDeleteMonitorDeploymentResponseContent$ErrorMessage": "Error message associated with a failed creation or failed update attempt of a signal map.", + "StartMonitorDeploymentResponseContent$DiscoveryEntryPointArn": "A top-level supported AWS resource ARN to discovery a signal map from.", + "StartMonitorDeploymentResponseContent$ErrorMessage": "Error message associated with a failed creation or failed update attempt of a signal map.", + "StartUpdateSignalMapRequestContent$DiscoveryEntryPointArn": "A top-level supported AWS resource ARN to discovery a signal map from.", + "StartUpdateSignalMapResponseContent$DiscoveryEntryPointArn": "A top-level supported AWS resource ARN to discovery a signal map from.", + "StartUpdateSignalMapResponseContent$ErrorMessage": "Error message associated with a failed creation or failed update attempt of a signal map.", + "SuccessfulMonitorDeployment$DetailsUri": "URI associated with a signal map's monitor deployment." + } + }, + "__stringMin1Max2048PatternArn": { + "base": null, + "refs": { + "EventBridgeRuleTemplateTarget$Arn": "Target ARNs must be either an SNS topic or CloudWatch log group.", + "MediaResourceNeighbor$Arn": "The ARN of a resource used in AWS media workflows." + } + }, + "__stringMin1Max255PatternS": { + "base": null, + "refs": { + "CloudWatchAlarmTemplateGroupSummary$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "CloudWatchAlarmTemplateSummary$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "CreateCloudWatchAlarmTemplateGroupRequestContent$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "CreateCloudWatchAlarmTemplateGroupResponseContent$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "CreateCloudWatchAlarmTemplateRequestContent$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "CreateCloudWatchAlarmTemplateResponseContent$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "CreateEventBridgeRuleTemplateGroupRequestContent$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "CreateEventBridgeRuleTemplateGroupResponseContent$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "CreateEventBridgeRuleTemplateRequestContent$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "CreateEventBridgeRuleTemplateResponseContent$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "CreateSignalMapRequestContent$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "CreateSignalMapResponseContent$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "EventBridgeRuleTemplateGroupSummary$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "EventBridgeRuleTemplateSummary$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "GetCloudWatchAlarmTemplateGroupResponseContent$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "GetCloudWatchAlarmTemplateResponseContent$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "GetEventBridgeRuleTemplateGroupResponseContent$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "GetEventBridgeRuleTemplateResponseContent$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "GetSignalMapResponseContent$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "SignalMapSummary$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "StartDeleteMonitorDeploymentResponseContent$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "StartMonitorDeploymentResponseContent$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "StartUpdateSignalMapRequestContent$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "StartUpdateSignalMapResponseContent$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "UpdateCloudWatchAlarmTemplateGroupResponseContent$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "UpdateCloudWatchAlarmTemplateRequestContent$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "UpdateCloudWatchAlarmTemplateResponseContent$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "UpdateEventBridgeRuleTemplateGroupResponseContent$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "UpdateEventBridgeRuleTemplateRequestContent$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region.", + "UpdateEventBridgeRuleTemplateResponseContent$Name": "A resource's name. Names must be unique within the scope of a resource type in a specific region." + } + }, + "__stringMin7Max11PatternAws097": { + "base": null, + "refs": { + "CloudWatchAlarmTemplateGroupSummary$Id": "A cloudwatch alarm template group's id. AWS provided template groups have ids that start with `aws-`", + "CloudWatchAlarmTemplateSummary$GroupId": "A cloudwatch alarm template group's id. AWS provided template groups have ids that start with `aws-`", + "CloudWatchAlarmTemplateSummary$Id": "A cloudwatch alarm template's id. AWS provided templates have ids that start with `aws-`", + "CreateCloudWatchAlarmTemplateGroupResponseContent$Id": "A cloudwatch alarm template group's id. AWS provided template groups have ids that start with `aws-`", + "CreateCloudWatchAlarmTemplateResponseContent$GroupId": "A cloudwatch alarm template group's id. AWS provided template groups have ids that start with `aws-`", + "CreateCloudWatchAlarmTemplateResponseContent$Id": "A cloudwatch alarm template's id. AWS provided templates have ids that start with `aws-`", + "CreateEventBridgeRuleTemplateGroupResponseContent$Id": "An eventbridge rule template group's id. AWS provided template groups have ids that start with `aws-`", + "CreateEventBridgeRuleTemplateResponseContent$GroupId": "An eventbridge rule template group's id. AWS provided template groups have ids that start with `aws-`", + "CreateEventBridgeRuleTemplateResponseContent$Id": "An eventbridge rule template's id. AWS provided templates have ids that start with `aws-`", + "CreateSignalMapResponseContent$Id": "A signal map's id.", + "EventBridgeRuleTemplateGroupSummary$Id": "An eventbridge rule template group's id. AWS provided template groups have ids that start with `aws-`", + "EventBridgeRuleTemplateSummary$GroupId": "An eventbridge rule template group's id. AWS provided template groups have ids that start with `aws-`", + "EventBridgeRuleTemplateSummary$Id": "An eventbridge rule template's id. AWS provided templates have ids that start with `aws-`", + "GetCloudWatchAlarmTemplateGroupResponseContent$Id": "A cloudwatch alarm template group's id. AWS provided template groups have ids that start with `aws-`", + "GetCloudWatchAlarmTemplateResponseContent$GroupId": "A cloudwatch alarm template group's id. AWS provided template groups have ids that start with `aws-`", + "GetCloudWatchAlarmTemplateResponseContent$Id": "A cloudwatch alarm template's id. AWS provided templates have ids that start with `aws-`", + "GetEventBridgeRuleTemplateGroupResponseContent$Id": "An eventbridge rule template group's id. AWS provided template groups have ids that start with `aws-`", + "GetEventBridgeRuleTemplateResponseContent$GroupId": "An eventbridge rule template group's id. AWS provided template groups have ids that start with `aws-`", + "GetEventBridgeRuleTemplateResponseContent$Id": "An eventbridge rule template's id. AWS provided templates have ids that start with `aws-`", + "GetSignalMapResponseContent$Id": "A signal map's id.", + "SignalMapSummary$Id": "A signal map's id.", + "StartDeleteMonitorDeploymentResponseContent$Id": "A signal map's id.", + "StartMonitorDeploymentResponseContent$Id": "A signal map's id.", + "StartUpdateSignalMapResponseContent$Id": "A signal map's id.", + "UpdateCloudWatchAlarmTemplateGroupResponseContent$Id": "A cloudwatch alarm template group's id. AWS provided template groups have ids that start with `aws-`", + "UpdateCloudWatchAlarmTemplateResponseContent$GroupId": "A cloudwatch alarm template group's id. AWS provided template groups have ids that start with `aws-`", + "UpdateCloudWatchAlarmTemplateResponseContent$Id": "A cloudwatch alarm template's id. AWS provided templates have ids that start with `aws-`", + "UpdateEventBridgeRuleTemplateGroupResponseContent$Id": "An eventbridge rule template group's id. AWS provided template groups have ids that start with `aws-`", + "UpdateEventBridgeRuleTemplateResponseContent$GroupId": "An eventbridge rule template group's id. AWS provided template groups have ids that start with `aws-`", + "UpdateEventBridgeRuleTemplateResponseContent$Id": "An eventbridge rule template's id. AWS provided templates have ids that start with `aws-`", + "__listOf__stringMin7Max11PatternAws097$member": null + } + }, + "__stringPatternArnMedialiveCloudwatchAlarmTemplate": { + "base": null, + "refs": { + "CloudWatchAlarmTemplateSummary$Arn": "A cloudwatch alarm template's ARN (Amazon Resource Name)", + "CreateCloudWatchAlarmTemplateResponseContent$Arn": "A cloudwatch alarm template's ARN (Amazon Resource Name)", + "GetCloudWatchAlarmTemplateResponseContent$Arn": "A cloudwatch alarm template's ARN (Amazon Resource Name)", + "UpdateCloudWatchAlarmTemplateResponseContent$Arn": "A cloudwatch alarm template's ARN (Amazon Resource Name)" + } + }, + "__stringPatternArnMedialiveCloudwatchAlarmTemplateGroup": { + "base": null, + "refs": { + "CloudWatchAlarmTemplateGroupSummary$Arn": "A cloudwatch alarm template group's ARN (Amazon Resource Name)", + "CreateCloudWatchAlarmTemplateGroupResponseContent$Arn": "A cloudwatch alarm template group's ARN (Amazon Resource Name)", + "GetCloudWatchAlarmTemplateGroupResponseContent$Arn": "A cloudwatch alarm template group's ARN (Amazon Resource Name)", + "UpdateCloudWatchAlarmTemplateGroupResponseContent$Arn": "A cloudwatch alarm template group's ARN (Amazon Resource Name)" + } + }, + "__stringPatternArnMedialiveEventbridgeRuleTemplate": { + "base": null, + "refs": { + "CreateEventBridgeRuleTemplateResponseContent$Arn": "An eventbridge rule template's ARN (Amazon Resource Name)", + "EventBridgeRuleTemplateSummary$Arn": "An eventbridge rule template's ARN (Amazon Resource Name)", + "GetEventBridgeRuleTemplateResponseContent$Arn": "An eventbridge rule template's ARN (Amazon Resource Name)", + "UpdateEventBridgeRuleTemplateResponseContent$Arn": "An eventbridge rule template's ARN (Amazon Resource Name)" + } + }, + "__stringPatternArnMedialiveEventbridgeRuleTemplateGroup": { + "base": null, + "refs": { + "CreateEventBridgeRuleTemplateGroupResponseContent$Arn": "An eventbridge rule template group's ARN (Amazon Resource Name)", + "EventBridgeRuleTemplateGroupSummary$Arn": "An eventbridge rule template group's ARN (Amazon Resource Name)", + "GetEventBridgeRuleTemplateGroupResponseContent$Arn": "An eventbridge rule template group's ARN (Amazon Resource Name)", + "UpdateEventBridgeRuleTemplateGroupResponseContent$Arn": "An eventbridge rule template group's ARN (Amazon Resource Name)" + } + }, + "__stringPatternArnMedialiveSignalMap": { + "base": null, + "refs": { + "CreateSignalMapResponseContent$Arn": "A signal map's ARN (Amazon Resource Name)", + "GetSignalMapResponseContent$Arn": "A signal map's ARN (Amazon Resource Name)", + "SignalMapSummary$Arn": "A signal map's ARN (Amazon Resource Name)", + "StartDeleteMonitorDeploymentResponseContent$Arn": "A signal map's ARN (Amazon Resource Name)", + "StartMonitorDeploymentResponseContent$Arn": "A signal map's ARN (Amazon Resource Name)", + "StartUpdateSignalMapResponseContent$Arn": "A signal map's ARN (Amazon Resource Name)" + } + }, + "__stringPatternS": { + "base": null, + "refs": { + "CreateCloudWatchAlarmTemplateRequestContent$GroupIdentifier": "A cloudwatch alarm template group's identifier. Can be either be its id or current name.", + "CreateEventBridgeRuleTemplateRequestContent$GroupIdentifier": "An eventbridge rule template group's identifier. Can be either be its id or current name.", + "UpdateCloudWatchAlarmTemplateRequestContent$GroupIdentifier": "A cloudwatch alarm template group's identifier. Can be either be its id or current name.", + "UpdateEventBridgeRuleTemplateRequestContent$GroupIdentifier": "An eventbridge rule template group's identifier. Can be either be its id or current name.", + "__listOf__stringPatternS$member": null + } } }, "documentation": "API for AWS Elemental MediaLive" diff --git a/models/apis/medialive/2017-10-14/paginators-1.json b/models/apis/medialive/2017-10-14/paginators-1.json index a01ca8f87c7..2047b6faf6e 100644 --- a/models/apis/medialive/2017-10-14/paginators-1.json +++ b/models/apis/medialive/2017-10-14/paginators-1.json @@ -59,6 +59,36 @@ "output_token": "NextToken", "limit_key": "MaxResults", "result_key": "InputDeviceTransfers" + }, + "ListSignalMaps": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "SignalMaps" + }, + "ListCloudWatchAlarmTemplates": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "CloudWatchAlarmTemplates" + }, + "ListCloudWatchAlarmTemplateGroups": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "CloudWatchAlarmTemplateGroups" + }, + "ListEventBridgeRuleTemplates": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "EventBridgeRuleTemplates" + }, + "ListEventBridgeRuleTemplateGroups": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "EventBridgeRuleTemplateGroups" } } } diff --git a/models/apis/medialive/2017-10-14/waiters-2.json b/models/apis/medialive/2017-10-14/waiters-2.json index c0e618d7b05..dcff01bb8d9 100644 --- a/models/apis/medialive/2017-10-14/waiters-2.json +++ b/models/apis/medialive/2017-10-14/waiters-2.json @@ -293,6 +293,134 @@ "expected": 500 } ] + }, + "SignalMapCreated": { + "description": "Wait until a signal map has been created", + "delay": 5, + "maxAttempts": 60, + "operation": "GetSignalMap", + "acceptors": [ + { + "matcher": "path", + "argument": "Status", + "state": "success", + "expected": "CREATE_COMPLETE" + }, + { + "matcher": "path", + "argument": "Status", + "state": "retry", + "expected": "CREATE_IN_PROGRESS" + }, + { + "matcher": "path", + "argument": "Status", + "state": "failure", + "expected": "CREATE_FAILED" + } + ] + }, + "SignalMapMonitorDeleted": { + "description": "Wait until a signal map's monitor has been deleted", + "delay": 5, + "maxAttempts": 120, + "operation": "GetSignalMap", + "acceptors": [ + { + "matcher": "path", + "argument": "MonitorDeployment.Status", + "state": "success", + "expected": "DELETE_COMPLETE" + }, + { + "matcher": "path", + "argument": "MonitorDeployment.Status", + "state": "retry", + "expected": "DELETE_IN_PROGRESS" + }, + { + "matcher": "path", + "argument": "MonitorDeployment.Status", + "state": "failure", + "expected": "DELETE_FAILED" + } + ] + }, + "SignalMapMonitorDeployed": { + "description": "Wait until a signal map's monitor has been deployed", + "delay": 5, + "maxAttempts": 120, + "operation": "GetSignalMap", + "acceptors": [ + { + "matcher": "path", + "argument": "MonitorDeployment.Status", + "state": "success", + "expected": "DRY_RUN_DEPLOYMENT_COMPLETE" + }, + { + "matcher": "path", + "argument": "MonitorDeployment.Status", + "state": "success", + "expected": "DEPLOYMENT_COMPLETE" + }, + { + "matcher": "path", + "argument": "MonitorDeployment.Status", + "state": "retry", + "expected": "DRY_RUN_DEPLOYMENT_IN_PROGRESS" + }, + { + "matcher": "path", + "argument": "MonitorDeployment.Status", + "state": "retry", + "expected": "DEPLOYMENT_IN_PROGRESS" + }, + { + "matcher": "path", + "argument": "MonitorDeployment.Status", + "state": "failure", + "expected": "DRY_RUN_DEPLOYMENT_FAILED" + }, + { + "matcher": "path", + "argument": "MonitorDeployment.Status", + "state": "failure", + "expected": "DEPLOYMENT_FAILED" + } + ] + }, + "SignalMapUpdated": { + "description": "Wait until a signal map has been updated", + "delay": 5, + "maxAttempts": 60, + "operation": "GetSignalMap", + "acceptors": [ + { + "matcher": "path", + "argument": "Status", + "state": "success", + "expected": "UPDATE_COMPLETE" + }, + { + "matcher": "path", + "argument": "Status", + "state": "retry", + "expected": "UPDATE_IN_PROGRESS" + }, + { + "matcher": "path", + "argument": "Status", + "state": "failure", + "expected": "UPDATE_FAILED" + }, + { + "matcher": "path", + "argument": "Status", + "state": "failure", + "expected": "UPDATE_REVERTED" + } + ] } } } diff --git a/models/apis/monitoring/2010-08-01/api-2.json b/models/apis/monitoring/2010-08-01/api-2.json index e05dd08331f..bf5d98574a6 100644 --- a/models/apis/monitoring/2010-08-01/api-2.json +++ b/models/apis/monitoring/2010-08-01/api-2.json @@ -716,6 +716,7 @@ }, "Configuration":{"shape":"AnomalyDetectorConfiguration"}, "StateValue":{"shape":"AnomalyDetectorStateValue"}, + "MetricCharacteristics":{"shape":"MetricCharacteristics"}, "SingleMetricAnomalyDetector":{"shape":"SingleMetricAnomalyDetector"}, "MetricMathAnomalyDetector":{"shape":"MetricMathAnomalyDetector"} } @@ -1836,6 +1837,12 @@ "type":"list", "member":{"shape":"MetricAlarm"} }, + "MetricCharacteristics":{ + "type":"structure", + "members":{ + "PeriodicSpikes":{"shape":"PeriodicSpikes"} + } + }, "MetricData":{ "type":"list", "member":{"shape":"MetricDatum"} @@ -2057,6 +2064,7 @@ "type":"integer", "min":1 }, + "PeriodicSpikes":{"type":"boolean"}, "PutAnomalyDetectorInput":{ "type":"structure", "members":{ @@ -2081,6 +2089,7 @@ "deprecatedMessage":"Use SingleMetricAnomalyDetector." }, "Configuration":{"shape":"AnomalyDetectorConfiguration"}, + "MetricCharacteristics":{"shape":"MetricCharacteristics"}, "SingleMetricAnomalyDetector":{"shape":"SingleMetricAnomalyDetector"}, "MetricMathAnomalyDetector":{"shape":"MetricMathAnomalyDetector"} } diff --git a/models/apis/monitoring/2010-08-01/docs-2.json b/models/apis/monitoring/2010-08-01/docs-2.json index 936d0ed19e8..f206082c33e 100644 --- a/models/apis/monitoring/2010-08-01/docs-2.json +++ b/models/apis/monitoring/2010-08-01/docs-2.json @@ -215,7 +215,7 @@ "AnomalyDetectorStateValue": { "base": null, "refs": { - "AnomalyDetector$StateValue": "

The current status of the anomaly detector's training. The possible values are TRAINED | PENDING_TRAINING | TRAINED_INSUFFICIENT_DATA

" + "AnomalyDetector$StateValue": "

The current status of the anomaly detector's training.

" } }, "AnomalyDetectorType": { @@ -1134,6 +1134,13 @@ "DescribeAlarmsOutput$MetricAlarms": "

The information about any metric alarms returned by the operation.

" } }, + "MetricCharacteristics": { + "base": "

This object includes parameters that you can use to provide information to CloudWatch to help it build more accurate anomaly detection models.

", + "refs": { + "AnomalyDetector$MetricCharacteristics": "

This object includes parameters that you can use to provide information about your metric to CloudWatch to help it build more accurate anomaly detection models. Currently, it includes the PeriodicSpikes parameter.

", + "PutAnomalyDetectorInput$MetricCharacteristics": "

Use this object to include parameters to provide information about your metric to CloudWatch to help it build more accurate anomaly detection models. Currently, it includes the PeriodicSpikes parameter.

" + } + }, "MetricData": { "base": null, "refs": { @@ -1434,6 +1441,12 @@ "PutMetricAlarmInput$Period": "

The length, in seconds, used each time the metric specified in MetricName is evaluated. Valid values are 10, 30, and any multiple of 60.

Period is required for alarms based on static thresholds. If you are creating an alarm based on a metric math expression, you specify the period for each metric within the objects in the Metrics array.

Be sure to specify 10 or 30 only for metrics that are stored by a PutMetricData call with a StorageResolution of 1. If you specify a period of 10 or 30 for a metric that does not have sub-minute resolution, the alarm still attempts to gather data at the period rate that you specify. In this case, it does not receive data for the attempts that do not correspond to a one-minute data resolution, and the alarm might often lapse into INSUFFICENT_DATA status. Specifying 10 or 30 also sets this alarm as a high-resolution alarm, which has a higher charge than other alarms. For more information about pricing, see Amazon CloudWatch Pricing.

An alarm's total current evaluation period can be no longer than one day, so Period multiplied by EvaluationPeriods cannot be more than 86,400 seconds.

" } }, + "PeriodicSpikes": { + "base": null, + "refs": { + "MetricCharacteristics$PeriodicSpikes": "

Set this parameter to true if values for this metric consistently include spikes that should not be considered to be anomalies. With this set to true, CloudWatch will expect to see spikes that occurred consistently during the model training period, and won't flag future similar spikes as anomalies.

" + } + }, "PutAnomalyDetectorInput": { "base": null, "refs": { diff --git a/models/apis/omics/2022-11-28/api-2.json b/models/apis/omics/2022-11-28/api-2.json index 8dd8de3bd40..81549e113ea 100644 --- a/models/apis/omics/2022-11-28/api-2.json +++ b/models/apis/omics/2022-11-28/api-2.json @@ -3734,7 +3734,7 @@ "CompleteReadSetUploadPartListItem": { "members": { "checksum": { - "shape": "String" + "shape": "CompleteReadSetUploadPartListItemChecksumString" }, "partNumber": { "shape": "CompleteReadSetUploadPartListItemPartNumberInteger" @@ -3750,6 +3750,12 @@ ], "type": "structure" }, + "CompleteReadSetUploadPartListItemChecksumString": { + "max": 100, + "min": 1, + "pattern": "[\\p{L}||\\p{M}||\\p{Z}||\\p{S}||\\p{N}||\\p{P}]+", + "type": "string" + }, "CompleteReadSetUploadPartListItemPartNumberInteger": { "box": true, "max": 10000, @@ -4122,6 +4128,9 @@ "description": { "shape": "SequenceStoreDescription" }, + "eTagAlgorithmFamily": { + "shape": "ETagAlgorithmFamily" + }, "fallbackLocation": { "shape": "S3Destination" }, @@ -4151,6 +4160,9 @@ "description": { "shape": "SequenceStoreDescription" }, + "eTagAlgorithmFamily": { + "shape": "ETagAlgorithmFamily" + }, "fallbackLocation": { "shape": "S3Destination" }, @@ -4556,7 +4568,21 @@ "enum": [ "FASTQ_MD5up", "BAM_MD5up", - "CRAM_MD5up" + "CRAM_MD5up", + "FASTQ_SHA256up", + "BAM_SHA256up", + "CRAM_SHA256up", + "FASTQ_SHA512up", + "BAM_SHA512up", + "CRAM_SHA512up" + ], + "type": "string" + }, + "ETagAlgorithmFamily": { + "enum": [ + "MD5up", + "SHA256up", + "SHA512up" ], "type": "string" }, @@ -4682,6 +4708,9 @@ "partSize": { "shape": "FileInformationPartSizeLong" }, + "s3Access": { + "shape": "ReadSetS3Access" + }, "totalParts": { "shape": "FileInformationTotalPartsInteger" } @@ -5781,6 +5810,9 @@ "description": { "shape": "SequenceStoreDescription" }, + "eTagAlgorithmFamily": { + "shape": "ETagAlgorithmFamily" + }, "fallbackLocation": { "shape": "S3Destination" }, @@ -5790,6 +5822,9 @@ "name": { "shape": "SequenceStoreName" }, + "s3Access": { + "shape": "SequenceStoreS3Access" + }, "sseConfig": { "shape": "SseConfig" } @@ -7645,6 +7680,14 @@ "streaming": true, "type": "blob" }, + "ReadSetS3Access": { + "members": { + "s3Uri": { + "shape": "S3Uri" + } + }, + "type": "structure" + }, "ReadSetStatus": { "enum": [ "ARCHIVED", @@ -8307,6 +8350,12 @@ "pattern": "[\\p{L}||\\p{M}||\\p{Z}||\\p{S}||\\p{N}||\\p{P}]+", "type": "string" }, + "S3AccessPointArn": { + "max": 1024, + "min": 1, + "pattern": "arn:[^:]*:s3:[^:]*:[^:]*:accesspoint/.*", + "type": "string" + }, "S3Destination": { "pattern": "s3://([a-z0-9][a-z0-9-.]{1,61}[a-z0-9])/?((.{1,1024})/)?", "type": "string" @@ -8392,6 +8441,9 @@ "description": { "shape": "SequenceStoreDescription" }, + "eTagAlgorithmFamily": { + "shape": "ETagAlgorithmFamily" + }, "fallbackLocation": { "shape": "S3Destination" }, @@ -8444,6 +8496,17 @@ "pattern": "[\\p{L}||\\p{M}||\\p{Z}||\\p{S}||\\p{N}||\\p{P}]+", "type": "string" }, + "SequenceStoreS3Access": { + "members": { + "s3AccessPointArn": { + "shape": "S3AccessPointArn" + }, + "s3Uri": { + "shape": "S3Uri" + } + }, + "type": "structure" + }, "ServiceQuotaExceededException": { "error": { "httpStatusCode": 402, diff --git a/models/apis/omics/2022-11-28/docs-2.json b/models/apis/omics/2022-11-28/docs-2.json index 65ed71cdabd..885ce45af16 100644 --- a/models/apis/omics/2022-11-28/docs-2.json +++ b/models/apis/omics/2022-11-28/docs-2.json @@ -2,16 +2,16 @@ "version": "2.0", "service": "

This is the AWS HealthOmics API Reference. For an introduction to the service, see What is AWS HealthOmics? in the AWS HealthOmics User Guide.

", "operations": { - "AbortMultipartReadSetUpload": "

Stops a multipart upload.

", + "AbortMultipartReadSetUpload": "

Stops a multipart upload.

", "AcceptShare": "

Accepts a share for an analytics store.

", "BatchDeleteReadSet": "

Deletes one or more read sets.

", "CancelAnnotationImportJob": "

Cancels an annotation import job.

", "CancelRun": "

Cancels a run.

", "CancelVariantImportJob": "

Cancels a variant import job.

", - "CompleteMultipartReadSetUpload": "

Concludes a multipart upload once you have uploaded all the components.

", + "CompleteMultipartReadSetUpload": "

Concludes a multipart upload once you have uploaded all the components.

", "CreateAnnotationStore": "

Creates an annotation store.

", "CreateAnnotationStoreVersion": "

Creates a new version of an annotation store.

", - "CreateMultipartReadSetUpload": "

Begins a multipart read set upload.

", + "CreateMultipartReadSetUpload": "

Begins a multipart read set upload.

", "CreateReferenceStore": "

Creates a reference store.

", "CreateRunGroup": "

Creates a run group.

", "CreateSequenceStore": "

Creates a sequence store.

", @@ -51,11 +51,11 @@ "ListAnnotationImportJobs": "

Retrieves a list of annotation import jobs.

", "ListAnnotationStoreVersions": "

Lists the versions of an annotation store.

", "ListAnnotationStores": "

Retrieves a list of annotation stores.

", - "ListMultipartReadSetUploads": "

Lists multipart read set uploads and for in progress uploads. Once the upload is completed, a read set is created and the upload will no longer be returned in the respone.

", + "ListMultipartReadSetUploads": "

Lists multipart read set uploads and for in progress uploads. Once the upload is completed, a read set is created and the upload will no longer be returned in the response.

", "ListReadSetActivationJobs": "

Retrieves a list of read set activation jobs.

", "ListReadSetExportJobs": "

Retrieves a list of read set export jobs.

", "ListReadSetImportJobs": "

Retrieves a list of read set import jobs.

", - "ListReadSetUploadParts": "

This operation will list all parts in a requested multipart upload for a sequence store.

", + "ListReadSetUploadParts": "

This operation will list all parts in a requested multipart upload for a sequence store.

", "ListReadSets": "

Retrieves a list of read sets.

", "ListReferenceImportJobs": "

Retrieves a list of reference import jobs.

", "ListReferenceStores": "

Retrieves a list of reference stores.

", @@ -83,7 +83,7 @@ "UpdateRunGroup": "

Updates a run group.

", "UpdateVariantStore": "

Updates a variant store.

", "UpdateWorkflow": "

Updates a workflow.

", - "UploadReadSetPart": "

This operation uploads a specific part of a read set. If you upload a new part using a previously used part number, the previously uploaded part will be overwritten.

" + "UploadReadSetPart": "

This operation uploads a specific part of a read set. If you upload a new part using a previously used part number, the previously uploaded part will be overwritten.

" }, "shapes": { "AbortMultipartReadSetUploadRequest": { @@ -99,9 +99,9 @@ "Accelerators": { "base": null, "refs": { - "CreateWorkflowRequest$accelerators": "

The computational accelerator specified to run the workflow.

", - "GetRunResponse$accelerators": "

The computational accelerator used to run the workflow.

", - "GetWorkflowResponse$accelerators": "

The computational accelerator specified to run the workflow.

" + "CreateWorkflowRequest$accelerators": "

The computational accelerator specified to run the workflow.

", + "GetRunResponse$accelerators": "

The computational accelerator used to run the workflow.

", + "GetWorkflowResponse$accelerators": "

The computational accelerator specified to run the workflow.

" } }, "AcceptShareRequest": { @@ -162,10 +162,10 @@ "base": null, "refs": { "AnnotationImportJobItem$annotationFields": "

The annotation schema generated by the parsed annotation data.

", - "GetAnnotationImportResponse$annotationFields": "

The annotation schema generated by the parsed annotation data.

", - "GetVariantImportResponse$annotationFields": "

The annotation schema generated by the parsed annotation data.

", - "StartAnnotationImportRequest$annotationFields": "

The annotation schema generated by the parsed annotation data.

", - "StartVariantImportRequest$annotationFields": "

The annotation schema generated by the parsed annotation data.

", + "GetAnnotationImportResponse$annotationFields": "

The annotation schema generated by the parsed annotation data.

", + "GetVariantImportResponse$annotationFields": "

The annotation schema generated by the parsed annotation data.

", + "StartAnnotationImportRequest$annotationFields": "

The annotation schema generated by the parsed annotation data.

", + "StartVariantImportRequest$annotationFields": "

The annotation schema generated by the parsed annotation data.

", "VariantImportJobItem$annotationFields": "

The annotation schema generated by the parsed annotation data.

" } }, @@ -323,7 +323,7 @@ "ClientToken": { "base": null, "refs": { - "CreateMultipartReadSetUploadRequest$clientToken": "

An idempotency token that can be used to avoid triggering multiple multipart uploads.

", + "CreateMultipartReadSetUploadRequest$clientToken": "

An idempotency token that can be used to avoid triggering multiple multipart uploads.

", "CreateReferenceStoreRequest$clientToken": "

To ensure that requests don't run multiple times, specify a unique token for each request.

", "CreateSequenceStoreRequest$clientToken": "

To ensure that requests don't run multiple times, specify a unique token for each request.

", "StartReadSetActivationJobRequest$clientToken": "

To ensure that jobs don't run multiple times, specify a unique token for each job.

", @@ -351,7 +351,7 @@ "CompleteReadSetUploadPartList": { "base": null, "refs": { - "CompleteMultipartReadSetUploadRequest$parts": "

The individual uploads or parts of a multipart upload.

" + "CompleteMultipartReadSetUploadRequest$parts": "

The individual uploads or parts of a multipart upload.

" } }, "CompleteReadSetUploadPartListItem": { @@ -360,6 +360,12 @@ "CompleteReadSetUploadPartList$member": null } }, + "CompleteReadSetUploadPartListItemChecksumString": { + "base": null, + "refs": { + "CompleteReadSetUploadPartListItem$checksum": "

A unique identifier used to confirm that parts are being added to the correct upload.

" + } + }, "CompleteReadSetUploadPartListItemPartNumberInteger": { "base": null, "refs": { @@ -440,7 +446,7 @@ "CreateRunGroupRequestMaxGpusInteger": { "base": null, "refs": { - "CreateRunGroupRequest$maxGpus": "

The maximum GPUs that can be used by a run group.

" + "CreateRunGroupRequest$maxGpus": "

The maximum GPUs that can be used by a run group.

" } }, "CreateRunGroupRequestMaxRunsInteger": { @@ -636,16 +642,25 @@ } }, "ETag": { - "base": "

The entity tag (ETag) is a hash of the object representing its semantic content.

", + "base": "

The entity tag (ETag) is a hash of the object representing its semantic content.

", "refs": { - "GetReadSetMetadataResponse$etag": "

The entity tag (ETag) is a hash of the object meant to represent its semantic content.

", - "ReadSetListItem$etag": "

The entity tag (ETag) is a hash of the object representing its semantic content.

" + "GetReadSetMetadataResponse$etag": "

The entity tag (ETag) is a hash of the object meant to represent its semantic content.

", + "ReadSetListItem$etag": "

The entity tag (ETag) is a hash of the object representing its semantic content.

" } }, "ETagAlgorithm": { "base": null, "refs": { - "ETag$algorithm": "

The algorithm used to calculate the read set’s ETag(s).

" + "ETag$algorithm": "

The algorithm used to calculate the read set’s ETag(s).

" + } + }, + "ETagAlgorithmFamily": { + "base": null, + "refs": { + "CreateSequenceStoreRequest$eTagAlgorithmFamily": "

The ETag algorithm family to use for ingested read sets.

", + "CreateSequenceStoreResponse$eTagAlgorithmFamily": "

The algorithm family of the ETag.

", + "GetSequenceStoreResponse$eTagAlgorithmFamily": "

The algorithm family of the ETag.

", + "SequenceStoreDetail$eTagAlgorithmFamily": "

The algorithm family of the ETag.

" } }, "Encoding": { @@ -663,7 +678,7 @@ "EngineLogStream": { "base": null, "refs": { - "RunLogLocation$engineLogStream": "

The log stream ARN for the engine log.

" + "RunLogLocation$engineLogStream": "

The log stream ARN for the engine log.

" } }, "EscapeChar": { @@ -754,8 +769,8 @@ "FileType": { "base": null, "refs": { - "CreateMultipartReadSetUploadRequest$sourceFileType": "

The type of file being uploaded.

", - "CreateMultipartReadSetUploadResponse$sourceFileType": "

The file type of the read set source.

", + "CreateMultipartReadSetUploadRequest$sourceFileType": "

The type of file being uploaded.

", + "CreateMultipartReadSetUploadResponse$sourceFileType": "

The file type of the read set source.

", "GetReadSetMetadataResponse$fileType": "

The read set's file type.

", "ImportReadSetSourceItem$sourceFileType": "

The source's file type.

", "MultipartReadSetUploadListItem$sourceFileType": "

The type of file the read set originated from.

", @@ -798,8 +813,8 @@ "GeneratedFrom": { "base": null, "refs": { - "CreateMultipartReadSetUploadRequest$generatedFrom": "

Where the source originated.

", - "CreateMultipartReadSetUploadResponse$generatedFrom": "

The source of the read set.

", + "CreateMultipartReadSetUploadRequest$generatedFrom": "

Where the source originated.

", + "CreateMultipartReadSetUploadResponse$generatedFrom": "

The source of the read set.

", "ImportReadSetSourceItem$generatedFrom": "

Where the source originated.

", "MultipartReadSetUploadListItem$generatedFrom": "

The source of an uploaded part.

", "ReadSetFilter$generatedFrom": "

Where the source originated.

", @@ -964,7 +979,7 @@ "GetRunGroupResponseMaxGpusInteger": { "base": null, "refs": { - "GetRunGroupResponse$maxGpus": "

The maximum GPUs that can be used by a run group.

" + "GetRunGroupResponse$maxGpus": "

The maximum GPUs that can be used by a run group.

" } }, "GetRunGroupResponseMaxRunsInteger": { @@ -1014,7 +1029,7 @@ "GetRunTaskResponseGpusInteger": { "base": null, "refs": { - "GetRunTaskResponse$gpus": "

The number of Graphics Processing Units (GPU) specified in the task.

" + "GetRunTaskResponse$gpus": "

The number of Graphics Processing Units (GPU) specified in the task.

" } }, "GetRunTaskResponseMemoryInteger": { @@ -1314,7 +1329,7 @@ "ListMultipartReadSetUploadsRequestMaxResultsInteger": { "base": null, "refs": { - "ListMultipartReadSetUploadsRequest$maxResults": "

The maximum number of multipart uploads returned in a page.

" + "ListMultipartReadSetUploadsRequest$maxResults": "

The maximum number of multipart uploads returned in a page.

" } }, "ListMultipartReadSetUploadsResponse": { @@ -1378,7 +1393,7 @@ "ListReadSetUploadPartsRequestMaxResultsInteger": { "base": null, "refs": { - "ListReadSetUploadPartsRequest$maxResults": "

The maximum number of read set upload parts returned in a page.

" + "ListReadSetUploadPartsRequest$maxResults": "

The maximum number of read set upload parts returned in a page.

" } }, "ListReadSetUploadPartsResponse": { @@ -1642,7 +1657,7 @@ "MultipartReadSetUploadList": { "base": null, "refs": { - "ListMultipartReadSetUploadsResponse$uploads": "

An array of multipart uploads.

" + "ListMultipartReadSetUploadsResponse$uploads": "

An array of multipart uploads.

" } }, "MultipartReadSetUploadListItem": { @@ -1654,16 +1669,16 @@ "NextToken": { "base": null, "refs": { - "ListMultipartReadSetUploadsRequest$nextToken": "

Next token returned in the response of a previous ListMultipartReadSetUploads call. Used to get the next page of results.

", - "ListMultipartReadSetUploadsResponse$nextToken": "

Next token returned in the response of a previous ListMultipartReadSetUploads call. Used to get the next page of results.

", + "ListMultipartReadSetUploadsRequest$nextToken": "

Next token returned in the response of a previous ListMultipartReadSetUploads call. Used to get the next page of results.

", + "ListMultipartReadSetUploadsResponse$nextToken": "

Next token returned in the response of a previous ListMultipartReadSetUploads call. Used to get the next page of results.

", "ListReadSetActivationJobsRequest$nextToken": "

Specify the pagination token from a previous request to retrieve the next page of results.

", "ListReadSetActivationJobsResponse$nextToken": "

A pagination token that's included if more results are available.

", "ListReadSetExportJobsRequest$nextToken": "

Specify the pagination token from a previous request to retrieve the next page of results.

", "ListReadSetExportJobsResponse$nextToken": "

A pagination token that's included if more results are available.

", "ListReadSetImportJobsRequest$nextToken": "

Specify the pagination token from a previous request to retrieve the next page of results.

", "ListReadSetImportJobsResponse$nextToken": "

A pagination token that's included if more results are available.

", - "ListReadSetUploadPartsRequest$nextToken": "

Next token returned in the response of a previous ListReadSetUploadPartsRequest call. Used to get the next page of results.

", - "ListReadSetUploadPartsResponse$nextToken": "

Next token returned in the response of a previous ListReadSetUploadParts call. Used to get the next page of results.

", + "ListReadSetUploadPartsRequest$nextToken": "

Next token returned in the response of a previous ListReadSetUploadPartsRequest call. Used to get the next page of results.

", + "ListReadSetUploadPartsResponse$nextToken": "

Next token returned in the response of a previous ListReadSetUploadParts call. Used to get the next page of results.

", "ListReadSetsRequest$nextToken": "

Specify the pagination token from a previous request to retrieve the next page of results.

", "ListReadSetsResponse$nextToken": "

A pagination token that's included if more results are available.

", "ListReferenceImportJobsRequest$nextToken": "

Specify the pagination token from a previous request to retrieve the next page of results.

", @@ -1755,8 +1770,8 @@ "ReadSetDescription": { "base": null, "refs": { - "CreateMultipartReadSetUploadRequest$description": "

The description of the read set.

", - "CreateMultipartReadSetUploadResponse$description": "

The description of the read set.

", + "CreateMultipartReadSetUploadRequest$description": "

The description of the read set.

", + "CreateMultipartReadSetUploadResponse$description": "

The description of the read set.

", "GetReadSetMetadataResponse$description": "

The read set's description.

", "ImportReadSetSourceItem$description": "

The source's description.

", "MultipartReadSetUploadListItem$description": "

The description of a read set.

", @@ -1801,7 +1816,7 @@ "base": null, "refs": { "ActivateReadSetSourceItem$readSetId": "

The source's read set ID.

", - "CompleteMultipartReadSetUploadResponse$readSetId": "

The read set ID created for an uploaded read set.

", + "CompleteMultipartReadSetUploadResponse$readSetId": "

The read set ID created for an uploaded read set.

", "ExportReadSet$readSetId": "

The set's ID.

", "ExportReadSetDetail$id": "

The set's ID.

", "GetReadSetMetadataRequest$id": "

The read set's ID.

", @@ -1849,8 +1864,8 @@ "ReadSetName": { "base": null, "refs": { - "CreateMultipartReadSetUploadRequest$name": "

The name of the read set.

", - "CreateMultipartReadSetUploadResponse$name": "

The name of the read set.

", + "CreateMultipartReadSetUploadRequest$name": "

The name of the read set.

", + "CreateMultipartReadSetUploadResponse$name": "

The name of the read set.

", "GetReadSetMetadataResponse$name": "

The read set's name.

", "ImportReadSetSourceItem$name": "

The source's name.

", "MultipartReadSetUploadListItem$name": "

The name of a read set.

", @@ -1863,15 +1878,21 @@ "base": null, "refs": { "CompleteReadSetUploadPartListItem$partSource": "

The source file of the part being uploaded.

", - "ListReadSetUploadPartsRequest$partSource": "

The source file for the upload part.

", + "ListReadSetUploadPartsRequest$partSource": "

The source file for the upload part.

", "ReadSetUploadPartListItem$partSource": "

The origin of the part being direct uploaded.

", - "UploadReadSetPartRequest$partSource": "

The source file for an upload part.

" + "UploadReadSetPartRequest$partSource": "

The source file for an upload part.

" } }, "ReadSetPartStreamingBlob": { "base": null, "refs": { - "UploadReadSetPartRequest$payload": "

The read set data to upload for a part.

" + "UploadReadSetPartRequest$payload": "

The read set data to upload for a part.

" + } + }, + "ReadSetS3Access": { + "base": "

The S3 URI for each read set file.

", + "refs": { + "FileInformation$s3Access": "

The S3 URI metadata of a sequence store.

" } }, "ReadSetStatus": { @@ -1885,7 +1906,7 @@ "ReadSetStatusMessage": { "base": null, "refs": { - "GetReadSetMetadataResponse$statusMessage": "

The status message for a read set. It provides more detail as to why the read set has a status.

", + "GetReadSetMetadataResponse$statusMessage": "

The status message for a read set. It provides more detail as to why the read set has a status.

", "ReadSetListItem$statusMessage": "

The status for a read set. It provides more detail as to why the read set has a status.

" } }, @@ -1898,13 +1919,13 @@ "ReadSetUploadPartList": { "base": null, "refs": { - "ListReadSetUploadPartsResponse$parts": "

An array of upload parts.

" + "ListReadSetUploadPartsResponse$parts": "

An array of upload parts.

" } }, "ReadSetUploadPartListFilter": { "base": "

Filter settings that select for read set upload parts of interest.

", "refs": { - "ListReadSetUploadPartsRequest$filter": "

Attributes used to filter for a specific subset of read set part uploads.

" + "ListReadSetUploadPartsRequest$filter": "

Attributes used to filter for a specific subset of read set part uploads.

" } }, "ReadSetUploadPartListItem": { @@ -1928,8 +1949,8 @@ "ReferenceArn": { "base": null, "refs": { - "CreateMultipartReadSetUploadRequest$referenceArn": "

The ARN of the reference.

", - "CreateMultipartReadSetUploadResponse$referenceArn": "

The read set source's reference ARN.

", + "CreateMultipartReadSetUploadRequest$referenceArn": "

The ARN of the reference.

", + "CreateMultipartReadSetUploadResponse$referenceArn": "

The read set source's reference ARN.

", "GetReadSetMetadataResponse$referenceArn": "

The read set's genome reference ARN.

", "GetReferenceMetadataResponse$arn": "

The reference's ARN.

", "ImportReadSetSourceItem$referenceArn": "

The source's genome reference ARN.

", @@ -2206,7 +2227,7 @@ "RunFailureReason": { "base": null, "refs": { - "GetRunResponse$failureReason": "

The reason a run has failed.

" + "GetRunResponse$failureReason": "

The reason a run has failed.

" } }, "RunGroupArn": { @@ -2362,15 +2383,15 @@ } }, "RunLogLocation": { - "base": "

The URI for the run log.

", + "base": "

The URI for the run log.

", "refs": { - "GetRunResponse$logLocation": "

The location of the run log.

" + "GetRunResponse$logLocation": "

The location of the run log.

" } }, "RunLogStream": { "base": null, "refs": { - "RunLogLocation$runLogStream": "

The log stream ARN for the run log.

" + "RunLogLocation$runLogStream": "

The log stream ARN for the run log.

" } }, "RunName": { @@ -2386,9 +2407,9 @@ "base": null, "refs": { "GetRunResponse$outputUri": "

The run's output URI.

", - "GetRunResponse$runOutputUri": "

The destination for workflow outputs.

", + "GetRunResponse$runOutputUri": "

The destination for workflow outputs.

", "StartRunRequest$outputUri": "

An output URI for the run.

", - "StartRunResponse$runOutputUri": "

The destination for workflow outputs.

" + "StartRunResponse$runOutputUri": "

The destination for workflow outputs.

" } }, "RunParameters": { @@ -2446,7 +2467,7 @@ "base": null, "refs": { "GetRunResponse$status": "

The run's status.

", - "ListRunsRequest$status": "

The status of a run.

", + "ListRunsRequest$status": "

The status of a run.

", "RunListItem$status": "

The run's status.

", "StartRunResponse$status": "

The run's status.

" } @@ -2471,18 +2492,24 @@ "RunUuid": { "base": null, "refs": { - "GetRunResponse$uuid": "

The universally unique identifier for a run.

", - "StartRunResponse$uuid": "

The universally unique identifier for a run.

" + "GetRunResponse$uuid": "

The universally unique identifier for a run.

", + "StartRunResponse$uuid": "

The universally unique identifier for a run.

" + } + }, + "S3AccessPointArn": { + "base": null, + "refs": { + "SequenceStoreS3Access$s3AccessPointArn": "

This is ARN of the access point associated with the S3 bucket storing read sets.

" } }, "S3Destination": { "base": null, "refs": { - "CreateSequenceStoreRequest$fallbackLocation": "

An S3 location that is used to store files that have failed a direct upload.

", - "CreateSequenceStoreResponse$fallbackLocation": "

An S3 location that is used to store files that have failed a direct upload.

", + "CreateSequenceStoreRequest$fallbackLocation": "

An S3 location that is used to store files that have failed a direct upload.

", + "CreateSequenceStoreResponse$fallbackLocation": "

An S3 location that is used to store files that have failed a direct upload.

", "ExportReadSetJobDetail$destination": "

The job's destination in Amazon S3.

", "GetReadSetExportJobResponse$destination": "

The job's destination in Amazon S3.

", - "GetSequenceStoreResponse$fallbackLocation": "

An S3 location that is used to store files that have failed a direct upload.

", + "GetSequenceStoreResponse$fallbackLocation": "

An S3 location that is used to store files that have failed a direct upload.

", "SequenceStoreDetail$fallbackLocation": "

An S3 location that is used to store files that have failed a direct upload.

", "StartReadSetExportJobRequest$destination": "

A location for exported files in Amazon S3.

", "StartReadSetExportJobResponse$destination": "

The job's output location.

" @@ -2494,6 +2521,8 @@ "AnnotationImportItemDetail$source": "

The source file's location in Amazon S3.

", "AnnotationImportItemSource$source": "

The source file's location in Amazon S3.

", "ImportReferenceSourceItem$sourceFile": "

The source file's location in Amazon S3.

", + "ReadSetS3Access$s3Uri": "

The S3 URI for each read set file.

", + "SequenceStoreS3Access$s3Uri": "

The S3 URI of the sequence store.

", "SourceFiles$source1": "

The location of the first file in Amazon S3.

", "SourceFiles$source2": "

The location of the second file in Amazon S3.

", "StartReferenceImportJobSourceItem$sourceFile": "

The source file's location in Amazon S3.

", @@ -2504,8 +2533,8 @@ "SampleId": { "base": null, "refs": { - "CreateMultipartReadSetUploadRequest$sampleId": "

The source's sample ID.

", - "CreateMultipartReadSetUploadResponse$sampleId": "

The source's sample ID.

", + "CreateMultipartReadSetUploadRequest$sampleId": "

The source's sample ID.

", + "CreateMultipartReadSetUploadResponse$sampleId": "

The source's sample ID.

", "GetReadSetMetadataResponse$sampleId": "

The read set's sample ID.

", "ImportReadSetSourceItem$sampleId": "

The source's sample ID.

", "MultipartReadSetUploadListItem$sampleId": "

The read set source's sample ID.

", @@ -2584,12 +2613,12 @@ "SequenceStoreId": { "base": null, "refs": { - "AbortMultipartReadSetUploadRequest$sequenceStoreId": "

The sequence store ID for the store involved in the multipart upload.

", + "AbortMultipartReadSetUploadRequest$sequenceStoreId": "

The sequence store ID for the store involved in the multipart upload.

", "ActivateReadSetJobItem$sequenceStoreId": "

The job's sequence store ID.

", "BatchDeleteReadSetRequest$sequenceStoreId": "

The read sets' sequence store ID.

", - "CompleteMultipartReadSetUploadRequest$sequenceStoreId": "

The sequence store ID for the store involved in the multipart upload.

", - "CreateMultipartReadSetUploadRequest$sequenceStoreId": "

The sequence store ID for the store that is the destination of the multipart uploads.

", - "CreateMultipartReadSetUploadResponse$sequenceStoreId": "

The sequence store ID for the store that the read set will be created in.

", + "CompleteMultipartReadSetUploadRequest$sequenceStoreId": "

The sequence store ID for the store involved in the multipart upload.

", + "CreateMultipartReadSetUploadRequest$sequenceStoreId": "

The sequence store ID for the store that is the destination of the multipart uploads.

", + "CreateMultipartReadSetUploadResponse$sequenceStoreId": "

The sequence store ID for the store that the read set will be created in.

", "CreateSequenceStoreResponse$id": "

The store's ID.

", "DeleteSequenceStoreRequest$id": "

The sequence store's ID.

", "ExportReadSetJobDetail$sequenceStoreId": "

The job's sequence store ID.

", @@ -2605,11 +2634,11 @@ "GetSequenceStoreRequest$id": "

The store's ID.

", "GetSequenceStoreResponse$id": "

The store's ID.

", "ImportReadSetJobItem$sequenceStoreId": "

The job's sequence store ID.

", - "ListMultipartReadSetUploadsRequest$sequenceStoreId": "

The Sequence Store ID used for the multipart uploads.

", + "ListMultipartReadSetUploadsRequest$sequenceStoreId": "

The Sequence Store ID used for the multipart uploads.

", "ListReadSetActivationJobsRequest$sequenceStoreId": "

The read set's sequence store ID.

", "ListReadSetExportJobsRequest$sequenceStoreId": "

The jobs' sequence store ID.

", "ListReadSetImportJobsRequest$sequenceStoreId": "

The jobs' sequence store ID.

", - "ListReadSetUploadPartsRequest$sequenceStoreId": "

The Sequence Store ID used for the multipart uploads.

", + "ListReadSetUploadPartsRequest$sequenceStoreId": "

The Sequence Store ID used for the multipart uploads.

", "ListReadSetsRequest$sequenceStoreId": "

The jobs' sequence store ID.

", "MultipartReadSetUploadListItem$sequenceStoreId": "

The sequence store ID used for the multipart upload.

", "ReadSetListItem$sequenceStoreId": "

The read set's sequence store ID.

", @@ -2620,7 +2649,7 @@ "StartReadSetExportJobResponse$sequenceStoreId": "

The read set's sequence store ID.

", "StartReadSetImportJobRequest$sequenceStoreId": "

The read set's sequence store ID.

", "StartReadSetImportJobResponse$sequenceStoreId": "

The read set's sequence store ID.

", - "UploadReadSetPartRequest$sequenceStoreId": "

The Sequence Store ID used for the multipart upload.

" + "UploadReadSetPartRequest$sequenceStoreId": "

The Sequence Store ID used for the multipart upload.

" } }, "SequenceStoreName": { @@ -2633,6 +2662,12 @@ "SequenceStoreFilter$name": "

A name to filter on.

" } }, + "SequenceStoreS3Access": { + "base": "

The S3 access metadata of the sequence store.

", + "refs": { + "GetSequenceStoreResponse$s3Access": "

The S3 metadata of a sequence store, including the ARN and S3 URI of the S3 bucket.

" + } + }, "ServiceQuotaExceededException": { "base": "

The request exceeds a service quota.

", "refs": { @@ -2807,7 +2842,7 @@ "StartRunRequestStorageCapacityInteger": { "base": null, "refs": { - "StartRunRequest$storageCapacity": "

A storage capacity for the run in gigabytes.

" + "StartRunRequest$storageCapacity": "

A storage capacity for the run in gibibytes.

" } }, "StartRunResponse": { @@ -2904,7 +2939,6 @@ "AnnotationImportJobItem$destinationName": "

The job's destination annotation store.

", "AnnotationStoreItem$name": "

The store's name.

", "ArnList$member": null, - "CompleteReadSetUploadPartListItem$checksum": "

A unique identifier used to confirm that parts are being added to the correct upload.

", "ConflictException$message": null, "CreateAnnotationStoreResponse$name": "

The store's name.

", "CreateShareRequest$resourceArn": "

The resource ARN for the analytics store to be shared.

", @@ -2915,8 +2949,8 @@ "DeleteAnnotationStoreVersionsRequest$name": "

The name of the annotation store from which versions are being deleted.

", "DeleteShareRequest$shareId": "

The ID for the share request to be deleted.

", "DeleteVariantStoreRequest$name": "

The store's name.

", - "ETag$source1": "

The ETag hash calculated on Source1 of the read set.

", - "ETag$source2": "

The ETag hash calculated on Source2 of the read set.

", + "ETag$source1": "

The ETag hash calculated on Source1 of the read set.

", + "ETag$source2": "

The ETag hash calculated on Source2 of the read set.

", "GetAnnotationStoreRequest$name": "

The store's name.

", "GetAnnotationStoreResponse$name": "

The store's name.

", "GetAnnotationStoreVersionRequest$name": "

The name given to an annotation store version to distinguish it from others.

", @@ -2955,7 +2989,7 @@ "UpdateAnnotationStoreVersionRequest$versionName": "

The name of an annotation store version.

", "UpdateVariantStoreRequest$name": "

A name for the store.

", "UpdateVariantStoreResponse$name": "

The store's name.

", - "UploadReadSetPartResponse$checksum": "

An identifier used to confirm that parts are being added to the intended upload.

", + "UploadReadSetPartResponse$checksum": "

An identifier used to confirm that parts are being added to the intended upload.

", "ValidationException$message": null, "VariantImportJobItem$id": "

The job's ID.

", "VariantImportJobItem$destinationName": "

The job's destination variant store.

", @@ -2966,8 +3000,8 @@ "SubjectId": { "base": null, "refs": { - "CreateMultipartReadSetUploadRequest$subjectId": "

The source's subject ID.

", - "CreateMultipartReadSetUploadResponse$subjectId": "

The source's subject ID.

", + "CreateMultipartReadSetUploadRequest$subjectId": "

The source's subject ID.

", + "CreateMultipartReadSetUploadResponse$subjectId": "

The source's subject ID.

", "GetReadSetMetadataResponse$subjectId": "

The read set's subject ID.

", "ImportReadSetSourceItem$subjectId": "

The source's subject ID.

", "MultipartReadSetUploadListItem$subjectId": "

The read set source's subject ID.

", @@ -2983,7 +3017,7 @@ "ActivateReadSetFilter$createdBefore": "

The filter's end date.

", "ActivateReadSetJobItem$creationTime": "

When the job was created.

", "ActivateReadSetJobItem$completionTime": "

When the job completed.

", - "CreateMultipartReadSetUploadResponse$creationTime": "

The creation time of the multipart upload.

", + "CreateMultipartReadSetUploadResponse$creationTime": "

The creation time of the multipart upload.

", "CreateReferenceStoreResponse$creationTime": "

When the store was created.

", "CreateSequenceStoreResponse$creationTime": "

When the store was created.

", "ExportReadSetFilter$createdAfter": "

The filter's start date.

", @@ -3062,8 +3096,8 @@ "refs": { "CreateAnnotationStoreRequest$tags": "

Tags for the store.

", "CreateAnnotationStoreVersionRequest$tags": "

Any tags added to annotation store version.

", - "CreateMultipartReadSetUploadRequest$tags": "

Any tags to add to the read set.

", - "CreateMultipartReadSetUploadResponse$tags": "

The tags to add to the read set.

", + "CreateMultipartReadSetUploadRequest$tags": "

Any tags to add to the read set.

", + "CreateMultipartReadSetUploadResponse$tags": "

The tags to add to the read set.

", "CreateReferenceStoreRequest$tags": "

Tags for the store.

", "CreateRunGroupRequest$tags": "

Tags for the group.

", "CreateRunGroupResponse$tags": "

Tags for the run group.

", @@ -3113,7 +3147,7 @@ "TaskFailureReason": { "base": null, "refs": { - "GetRunTaskResponse$failureReason": "

The reason a task has failed.

" + "GetRunTaskResponse$failureReason": "

The reason a task has failed.

" } }, "TaskId": { @@ -3127,8 +3161,8 @@ "TaskInstanceType": { "base": null, "refs": { - "GetRunTaskResponse$instanceType": "

The instance type for a task.

", - "TaskListItem$instanceType": "

The instance type for a task.

" + "GetRunTaskResponse$instanceType": "

The instance type for a task.

", + "TaskListItem$instanceType": "

The instance type for a task.

" } }, "TaskList": { @@ -3291,7 +3325,7 @@ "UpdateRunGroupRequestMaxGpusInteger": { "base": null, "refs": { - "UpdateRunGroupRequest$maxGpus": "

The maximum GPUs that can be used by a run group.

" + "UpdateRunGroupRequest$maxGpus": "

The maximum GPUs that can be used by a run group.

" } }, "UpdateRunGroupRequestMaxRunsInteger": { @@ -3337,12 +3371,12 @@ "UploadId": { "base": null, "refs": { - "AbortMultipartReadSetUploadRequest$uploadId": "

The ID for the multipart upload.

", - "CompleteMultipartReadSetUploadRequest$uploadId": "

The ID for the multipart upload.

", - "CreateMultipartReadSetUploadResponse$uploadId": "

he ID for the initiated multipart upload.

", - "ListReadSetUploadPartsRequest$uploadId": "

The ID for the initiated multipart upload.

", + "AbortMultipartReadSetUploadRequest$uploadId": "

The ID for the multipart upload.

", + "CompleteMultipartReadSetUploadRequest$uploadId": "

The ID for the multipart upload.

", + "CreateMultipartReadSetUploadResponse$uploadId": "

The ID for the initiated multipart upload.

", + "ListReadSetUploadPartsRequest$uploadId": "

The ID for the initiated multipart upload.

", "MultipartReadSetUploadListItem$uploadId": "

The ID for the initiated multipart upload.

", - "UploadReadSetPartRequest$uploadId": "

The ID for the initiated multipart upload.

" + "UploadReadSetPartRequest$uploadId": "

The ID for the initiated multipart upload.

" } }, "UploadReadSetPartRequest": { @@ -3353,7 +3387,7 @@ "UploadReadSetPartRequestPartNumberInteger": { "base": null, "refs": { - "UploadReadSetPartRequest$partNumber": "

The number of the part being uploaded.

" + "UploadReadSetPartRequest$partNumber": "

The number of the part being uploaded.

" } }, "UploadReadSetPartResponse": { @@ -3567,7 +3601,7 @@ "WorkflowMetadata": { "base": null, "refs": { - "GetWorkflowResponse$metadata": "

Gets metadata for workflow.

", + "GetWorkflowResponse$metadata": "

Gets metadata for workflow.

", "WorkflowListItem$metadata": "

Any metadata available for workflow. The information listed may vary depending on the workflow, and there may also be no metadata to return.

" } }, diff --git a/models/apis/pipes/2015-10-07/api-2.json b/models/apis/pipes/2015-10-07/api-2.json index f4953568026..1a3f3e9763e 100644 --- a/models/apis/pipes/2015-10-07/api-2.json +++ b/models/apis/pipes/2015-10-07/api-2.json @@ -343,7 +343,7 @@ "type":"string", "max":1600, "min":1, - "pattern":"^(^arn:aws([a-z]|\\-)*:logs:([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}):(\\d{12}):log-group:.+)$" + "pattern":"^(^arn:aws([a-z]|\\-)*:logs:([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}):(\\d{12}):log-group:[\\.\\-_/#A-Za-z0-9]{1,512}(:\\*)?)$" }, "CloudwatchLogsLogDestination":{ "type":"structure", @@ -661,7 +661,7 @@ "type":"string", "max":1600, "min":1, - "pattern":"^(^arn:aws([a-z]|\\-)*:firehose:([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}):(\\d{12}):deliverystream/.+)$" + "pattern":"^(^arn:aws([a-z]|\\-)*:firehose:([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}):(\\d{12}):deliverystream/[a-zA-Z0-9_.-]{1,64})$" }, "FirehoseLogDestination":{ "type":"structure", diff --git a/models/apis/rds/2014-10-31/docs-2.json b/models/apis/rds/2014-10-31/docs-2.json index d68818191e4..65f99f8c27a 100644 --- a/models/apis/rds/2014-10-31/docs-2.json +++ b/models/apis/rds/2014-10-31/docs-2.json @@ -1103,9 +1103,9 @@ "CustomEngineName": { "base": null, "refs": { - "CreateCustomDBEngineVersionMessage$Engine": "

The database engine to use for your custom engine version (CEV). The only supported value is custom-oracle-ee.

", - "DeleteCustomDBEngineVersionMessage$Engine": "

The database engine. The only supported engines are custom-oracle-ee and custom-oracle-ee-cdb.

", - "ModifyCustomDBEngineVersionMessage$Engine": "

The DB engine. The only supported values are custom-oracle-ee and custom-oracle-ee-cdb.

" + "CreateCustomDBEngineVersionMessage$Engine": "

The database engine. RDS Custom for Oracle supports the following values:

", + "DeleteCustomDBEngineVersionMessage$Engine": "

The database engine. RDS Custom for Oracle supports the following values:

", + "ModifyCustomDBEngineVersionMessage$Engine": "

The database engine. RDS Custom for Oracle supports the following values:

" } }, "CustomEngineVersion": { @@ -3072,7 +3072,7 @@ "DescribeIntegrationsMessage$MaxRecords": "

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the remaining results.

Default: 100

Constraints: Minimum 20, maximum 100.

", "DescribeOptionGroupOptionsMessage$MaxRecords": "

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the remaining results.

Default: 100

Constraints: Minimum 20, maximum 100.

", "DescribeOptionGroupsMessage$MaxRecords": "

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the remaining results.

Default: 100

Constraints: Minimum 20, maximum 100.

", - "DescribeOrderableDBInstanceOptionsMessage$MaxRecords": "

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the remaining results.

Default: 100

Constraints: Minimum 20, maximum 10000.

", + "DescribeOrderableDBInstanceOptionsMessage$MaxRecords": "

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the remaining results.

Default: 100

Constraints: Minimum 20, maximum 1000.

", "DescribePendingMaintenanceActionsMessage$MaxRecords": "

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the remaining results.

Default: 100

Constraints: Minimum 20, maximum 100.

", "DescribeReservedDBInstancesMessage$MaxRecords": "

The maximum number of records to include in the response. If more than the MaxRecords value is available, a pagination token called a marker is included in the response so you can retrieve the remaining results.

Default: 100

Constraints: Minimum 20, maximum 100.

", "DescribeReservedDBInstancesOfferingsMessage$MaxRecords": "

The maximum number of records to include in the response. If more than the MaxRecords value is available, a pagination token called a marker is included in the response so you can retrieve the remaining results.

Default: 100

Constraints: Minimum 20, maximum 100.

", @@ -3086,9 +3086,9 @@ "ModifyDBClusterMessage$Iops": "

The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for each DB instance in the Multi-AZ DB cluster.

For information about valid IOPS values, see Amazon RDS Provisioned IOPS storage in the Amazon RDS User Guide.

Valid for Cluster Type: Multi-AZ DB clusters only

Constraints:

", "ModifyDBClusterMessage$MonitoringInterval": "

The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster. To turn off collecting Enhanced Monitoring metrics, specify 0.

If MonitoringRoleArn is specified, also set MonitoringInterval to a value other than 0.

Valid for Cluster Type: Multi-AZ DB clusters only

Valid Values: 0 | 1 | 5 | 10 | 15 | 30 | 60

Default: 0

", "ModifyDBClusterMessage$PerformanceInsightsRetentionPeriod": "

The number of days to retain Performance Insights data.

Valid for Cluster Type: Multi-AZ DB clusters only

Valid Values:

Default: 7 days

If you specify a retention period that isn't valid, such as 94, Amazon RDS issues an error.

", - "ModifyDBInstanceMessage$AllocatedStorage": "

The new amount of storage in gibibytes (GiB) to allocate for the DB instance.

For RDS for Db2, MariaDB, RDS for MySQL, RDS for Oracle, and RDS for PostgreSQL, the value supplied must be at least 10% greater than the current value. Values that are not at least 10% greater than the existing value are rounded up so that they are 10% greater than the current value.

For the valid values for allocated storage for each engine, see CreateDBInstance.

", + "ModifyDBInstanceMessage$AllocatedStorage": "

The new amount of storage in gibibytes (GiB) to allocate for the DB instance.

For RDS for Db2, MariaDB, RDS for MySQL, RDS for Oracle, and RDS for PostgreSQL, the value supplied must be at least 10% greater than the current value. Values that are not at least 10% greater than the existing value are rounded up so that they are 10% greater than the current value.

For the valid values for allocated storage for each engine, see CreateDBInstance.

Constraints:

", "ModifyDBInstanceMessage$BackupRetentionPeriod": "

The number of days to retain automated backups. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups.

Enabling and disabling backups can result in a brief I/O suspension that lasts from a few seconds to a few minutes, depending on the size and class of your DB instance.

These changes are applied during the next maintenance window unless the ApplyImmediately parameter is enabled for this request. If you change the parameter from one non-zero value to another non-zero value, the change is asynchronously applied as soon as possible.

This setting doesn't apply to Amazon Aurora DB instances. The retention period for automated backups is managed by the DB cluster. For more information, see ModifyDBCluster.

Default: Uses existing setting

Constraints:

", - "ModifyDBInstanceMessage$Iops": "

The new Provisioned IOPS (I/O operations per second) value for the RDS instance.

Changing this setting doesn't result in an outage and the change is applied during the next maintenance window unless the ApplyImmediately parameter is enabled for this request. If you are migrating from Provisioned IOPS to standard storage, set this value to 0. The DB instance will require a reboot for the change in storage type to take effect.

If you choose to migrate your DB instance from using standard storage to using Provisioned IOPS, or from using Provisioned IOPS to using standard storage, the process can take time. The duration of the migration depends on several factors such as database load, storage size, storage type (standard or Provisioned IOPS), amount of IOPS provisioned (if any), and the number of prior scale storage operations. Typical migration times are under 24 hours, but the process can take up to several days in some cases. During the migration, the DB instance is available for use, but might experience performance degradation. While the migration takes place, nightly backups for the instance are suspended. No other Amazon RDS operations can take place for the instance, including modifying the instance, rebooting the instance, deleting the instance, creating a read replica for the instance, and creating a DB snapshot of the instance.

Constraints:

Default: Uses existing setting

", + "ModifyDBInstanceMessage$Iops": "

The new Provisioned IOPS (I/O operations per second) value for the RDS instance.

Changing this setting doesn't result in an outage and the change is applied during the next maintenance window unless the ApplyImmediately parameter is enabled for this request. If you are migrating from Provisioned IOPS to standard storage, set this value to 0. The DB instance will require a reboot for the change in storage type to take effect.

If you choose to migrate your DB instance from using standard storage to using Provisioned IOPS, or from using Provisioned IOPS to using standard storage, the process can take time. The duration of the migration depends on several factors such as database load, storage size, storage type (standard or Provisioned IOPS), amount of IOPS provisioned (if any), and the number of prior scale storage operations. Typical migration times are under 24 hours, but the process can take up to several days in some cases. During the migration, the DB instance is available for use, but might experience performance degradation. While the migration takes place, nightly backups for the instance are suspended. No other Amazon RDS operations can take place for the instance, including modifying the instance, rebooting the instance, deleting the instance, creating a read replica for the instance, and creating a DB snapshot of the instance.

Constraints:

Default: Uses existing setting

", "ModifyDBInstanceMessage$MonitoringInterval": "

The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collection of Enhanced Monitoring metrics, specify 0.

If MonitoringRoleArn is specified, set MonitoringInterval to a value other than 0.

This setting doesn't apply to RDS Custom DB instances.

Valid Values: 0 | 1 | 5 | 10 | 15 | 30 | 60

Default: 0

", "ModifyDBInstanceMessage$DBPortNumber": "

The port number on which the database accepts connections.

The value of the DBPortNumber parameter must not match any of the port values specified for options in the option group for the DB instance.

If you change the DBPortNumber value, your database restarts regardless of the value of the ApplyImmediately parameter.

This setting doesn't apply to RDS Custom DB instances.

Valid Values: 1150-65535

Default:

Constraints:

", "ModifyDBInstanceMessage$PromotionTier": "

The order of priority in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User Guide.

This setting doesn't apply to RDS Custom DB instances.

Default: 1

Valid Values: 0 - 15

", @@ -4710,7 +4710,7 @@ "CreateDBInstanceMessage$DBName": "

The meaning of this parameter differs according to the database engine you use.

Amazon Aurora MySQL

The name of the database to create when the primary DB instance of the Aurora MySQL DB cluster is created. If this parameter isn't specified for an Aurora MySQL DB cluster, no database is created in the DB cluster.

Constraints:

Amazon Aurora PostgreSQL

The name of the database to create when the primary DB instance of the Aurora PostgreSQL DB cluster is created. If this parameter isn't specified for an Aurora PostgreSQL DB cluster, a database named postgres is created in the DB cluster.

Constraints:

Amazon RDS Custom for Oracle

The Oracle System ID (SID) of the created RDS Custom DB instance. If you don't specify a value, the default value is ORCL for non-CDBs and RDSCDB for CDBs.

Default: ORCL

Constraints:

Amazon RDS Custom for SQL Server

Not applicable. Must be null.

RDS for Db2

The name of the database to create when the DB instance is created. If this parameter isn't specified, no database is created in the DB instance. In some cases, we recommend that you don't add a database name. For more information, see Additional considerations in the Amazon RDS User Guide.

Constraints:

RDS for MariaDB

The name of the database to create when the DB instance is created. If this parameter isn't specified, no database is created in the DB instance.

Constraints:

RDS for MySQL

The name of the database to create when the DB instance is created. If this parameter isn't specified, no database is created in the DB instance.

Constraints:

RDS for Oracle

The Oracle System ID (SID) of the created DB instance. If you don't specify a value, the default value is ORCL. You can't specify the string null, or any other reserved word, for DBName.

Default: ORCL

Constraints:

RDS for PostgreSQL

The name of the database to create when the DB instance is created. If this parameter isn't specified, a database named postgres is created in the DB instance.

Constraints:

RDS for SQL Server

Not applicable. Must be null.

", "CreateDBInstanceMessage$DBInstanceIdentifier": "

The identifier for this DB instance. This parameter is stored as a lowercase string.

Constraints:

Example: mydbinstance

", "CreateDBInstanceMessage$DBInstanceClass": "

The compute and memory capacity of the DB instance, for example db.m5.large. Not all DB instance classes are available in all Amazon Web Services Regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see DB instance classes in the Amazon RDS User Guide or Aurora DB instance classes in the Amazon Aurora User Guide.

", - "CreateDBInstanceMessage$Engine": "

The database engine to use for this DB instance.

Not every database engine is available in every Amazon Web Services Region.

Valid Values:

", + "CreateDBInstanceMessage$Engine": "

The database engine to use for this DB instance.

Not every database engine is available in every Amazon Web Services Region.

Valid Values:

", "CreateDBInstanceMessage$MasterUsername": "

The name for the master user.

This setting doesn't apply to Amazon Aurora DB instances. The name for the master user is managed by the DB cluster.

This setting is required for RDS DB instances.

Constraints:

", "CreateDBInstanceMessage$MasterUserPassword": "

The password for the master user.

This setting doesn't apply to Amazon Aurora DB instances. The password for the master user is managed by the DB cluster.

Constraints:

Length Constraints:

", "CreateDBInstanceMessage$AvailabilityZone": "

The Availability Zone (AZ) where the database will be created. For information on Amazon Web Services Regions and Availability Zones, see Regions and Availability Zones.

For Amazon Aurora, each Aurora DB cluster hosts copies of its storage in three separate Availability Zones. Specify one of these Availability Zones. Aurora automatically chooses an appropriate Availability Zone if you don't specify one.

Default: A random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region.

Constraints:

Example: us-east-1d

", @@ -5118,7 +5118,7 @@ "DescribeDBClusterSnapshotsMessage$DbClusterResourceId": "

A specific DB cluster resource ID to describe.

", "DescribeDBClustersMessage$DBClusterIdentifier": "

The user-supplied DB cluster identifier or the Amazon Resource Name (ARN) of the DB cluster. If this parameter is specified, information for only the specific DB cluster is returned. This parameter isn't case-sensitive.

Constraints:

", "DescribeDBClustersMessage$Marker": "

An optional pagination token provided by a previous DescribeDBClusters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

", - "DescribeDBEngineVersionsMessage$Engine": "

The database engine to return version details for.

Valid Values:

", + "DescribeDBEngineVersionsMessage$Engine": "

The database engine to return version details for.

Valid Values:

", "DescribeDBEngineVersionsMessage$EngineVersion": "

A specific database engine version to return details for.

Example: 5.1.49

", "DescribeDBEngineVersionsMessage$DBParameterGroupFamily": "

The name of a specific DB parameter group family to return details for.

Constraints:

", "DescribeDBEngineVersionsMessage$Marker": "

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

", @@ -5172,7 +5172,7 @@ "DescribeDBSubnetGroupsMessage$Marker": "

An optional pagination token provided by a previous DescribeDBSubnetGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

", "DescribeEngineDefaultClusterParametersMessage$DBParameterGroupFamily": "

The name of the DB cluster parameter group family to return engine parameter information for.

", "DescribeEngineDefaultClusterParametersMessage$Marker": "

An optional pagination token provided by a previous DescribeEngineDefaultClusterParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

", - "DescribeEngineDefaultParametersMessage$DBParameterGroupFamily": "

The name of the DB parameter group family.

Valid Values:

", + "DescribeEngineDefaultParametersMessage$DBParameterGroupFamily": "

The name of the DB parameter group family.

Valid Values:

", "DescribeEngineDefaultParametersMessage$Marker": "

An optional pagination token provided by a previous DescribeEngineDefaultParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

", "DescribeEventCategoriesMessage$SourceType": "

The type of source that is generating the events. For RDS Proxy events, specify db-proxy.

Valid Values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot | db-proxy

", "DescribeEventSubscriptionsMessage$SubscriptionName": "

The name of the RDS event notification subscription you want to describe.

", @@ -5191,7 +5191,7 @@ "DescribeOptionGroupsMessage$Marker": "

An optional pagination token provided by a previous DescribeOptionGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

", "DescribeOptionGroupsMessage$EngineName": "

A filter to only include option groups associated with this database engine.

Valid Values:

", "DescribeOptionGroupsMessage$MajorEngineVersion": "

Filters the list of option groups to only include groups associated with a specific database engine version. If specified, then EngineName must also be specified.

", - "DescribeOrderableDBInstanceOptionsMessage$Engine": "

The name of the engine to describe DB instance options for.

Valid Values:

", + "DescribeOrderableDBInstanceOptionsMessage$Engine": "

The name of the database engine to describe DB instance options for.

Valid Values:

", "DescribeOrderableDBInstanceOptionsMessage$EngineVersion": "

A filter to include only the available options for the specified engine version.

", "DescribeOrderableDBInstanceOptionsMessage$DBInstanceClass": "

A filter to include only the available options for the specified DB instance class.

", "DescribeOrderableDBInstanceOptionsMessage$LicenseModel": "

A filter to include only the available options for the specified license model.

RDS Custom supports only the BYOL licensing model.

", diff --git a/models/apis/s3control/2018-08-20/docs-2.json b/models/apis/s3control/2018-08-20/docs-2.json index 055c4a280d9..d4dfd79de43 100644 --- a/models/apis/s3control/2018-08-20/docs-2.json +++ b/models/apis/s3control/2018-08-20/docs-2.json @@ -9,8 +9,8 @@ "CreateAccessPoint": "

This operation is not supported by directory buckets.

Creates an access point and associates it with the specified bucket. For more information, see Managing Data Access with Amazon S3 Access Points in the Amazon S3 User Guide.

S3 on Outposts only supports VPC-style access points.

For more information, see Accessing Amazon S3 on Outposts using virtual private cloud (VPC) only access points in the Amazon S3 User Guide.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section.

The following actions are related to CreateAccessPoint:

", "CreateAccessPointForObjectLambda": "

This operation is not supported by directory buckets.

Creates an Object Lambda Access Point. For more information, see Transforming objects with Object Lambda Access Points in the Amazon S3 User Guide.

The following actions are related to CreateAccessPointForObjectLambda:

", "CreateBucket": "

This action creates an Amazon S3 on Outposts bucket. To create an S3 bucket, see Create Bucket in the Amazon S3 API Reference.

Creates a new Outposts bucket. By creating the bucket, you become the bucket owner. To create an Outposts bucket, you must have S3 on Outposts. For more information, see Using Amazon S3 on Outposts in Amazon S3 User Guide.

Not every string is an acceptable bucket name. For information on bucket naming restrictions, see Working with Amazon S3 Buckets.

S3 on Outposts buckets support:

For a complete list of restrictions and Amazon S3 feature limitations on S3 on Outposts, see Amazon S3 on Outposts Restrictions and Limitations.

For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and x-amz-outpost-id in your API request, see the Examples section.

The following actions are related to CreateBucket for Amazon S3 on Outposts:

", - "CreateJob": "

This operation creates an S3 Batch Operations job.

You can use S3 Batch Operations to perform large-scale batch actions on Amazon S3 objects. Batch Operations can run a single action on lists of Amazon S3 objects that you specify. For more information, see S3 Batch Operations in the Amazon S3 User Guide.

Permissions

For information about permissions required to use the Batch Operations, see Granting permissions for S3 Batch Operations in the Amazon S3 User Guide.

Related actions include:

", - "CreateMultiRegionAccessPoint": "

This operation is not supported by directory buckets.

Creates a Multi-Region Access Point and associates it with the specified buckets. For more information about creating Multi-Region Access Points, see Creating Multi-Region Access Points in the Amazon S3 User Guide.

This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around managing Multi-Region Access Points, see Managing Multi-Region Access Points in the Amazon S3 User Guide.

This request is asynchronous, meaning that you might receive a response before the command has completed. When this request provides a response, it provides a token that you can use to monitor the status of the request with DescribeMultiRegionAccessPointOperation.

The following actions are related to CreateMultiRegionAccessPoint:

", + "CreateJob": "

This operation creates an S3 Batch Operations job.

You can use S3 Batch Operations to perform large-scale batch actions on Amazon S3 objects. Batch Operations can run a single action on lists of Amazon S3 objects that you specify. For more information, see S3 Batch Operations in the Amazon S3 User Guide.

Permissions

For information about permissions required to use the Batch Operations, see Granting permissions for S3 Batch Operations in the Amazon S3 User Guide.

Related actions include:

", + "CreateMultiRegionAccessPoint": "

This operation is not supported by directory buckets.

Creates a Multi-Region Access Point and associates it with the specified buckets. For more information about creating Multi-Region Access Points, see Creating Multi-Region Access Points in the Amazon S3 User Guide.

This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around working with Multi-Region Access Points, see Multi-Region Access Point restrictions and limitations in the Amazon S3 User Guide.

This request is asynchronous, meaning that you might receive a response before the command has completed. When this request provides a response, it provides a token that you can use to monitor the status of the request with DescribeMultiRegionAccessPointOperation.

The following actions are related to CreateMultiRegionAccessPoint:

", "CreateStorageLensGroup": "

Creates a new S3 Storage Lens group and associates it with the specified Amazon Web Services account ID. An S3 Storage Lens group is a custom grouping of objects based on prefix, suffix, object tags, object size, object age, or a combination of these filters. For each Storage Lens group that you’ve created, you can also optionally add Amazon Web Services resource tags. For more information about S3 Storage Lens groups, see Working with S3 Storage Lens groups.

To use this operation, you must have the permission to perform the s3:CreateStorageLensGroup action. If you’re trying to create a Storage Lens group with Amazon Web Services resource tags, you must also have permission to perform the s3:TagResource action. For more information about the required Storage Lens Groups permissions, see Setting account permissions to use S3 Storage Lens groups.

For information about Storage Lens groups errors, see List of Amazon S3 Storage Lens error codes.

", "DeleteAccessGrant": "

Deletes the access grant from the S3 Access Grants instance. You cannot undo an access grant deletion and the grantee will no longer have access to the S3 data.

Permissions

You must have the s3:DeleteAccessGrant permission to use this operation.

", "DeleteAccessGrantsInstance": "

Deletes your S3 Access Grants instance. You must first delete the access grants and locations before S3 Access Grants can delete the instance. See DeleteAccessGrant and DeleteAccessGrantsLocation. If you have associated an IAM Identity Center instance with your S3 Access Grants instance, you must first dissassociate the Identity Center instance from the S3 Access Grants instance before you can delete the S3 Access Grants instance. See AssociateAccessGrantsIdentityCenter and DissociateAccessGrantsIdentityCenter.

Permissions

You must have the s3:DeleteAccessGrantsInstance permission to use this operation.

", @@ -26,13 +26,13 @@ "DeleteBucketReplication": "

This operation deletes an Amazon S3 on Outposts bucket's replication configuration. To delete an S3 bucket's replication configuration, see DeleteBucketReplication in the Amazon S3 API Reference.

Deletes the replication configuration from the specified S3 on Outposts bucket.

To use this operation, you must have permissions to perform the s3-outposts:PutReplicationConfiguration action. The Outposts bucket owner has this permission by default and can grant it to others. For more information about permissions, see Setting up IAM with S3 on Outposts and Managing access to S3 on Outposts buckets in the Amazon S3 User Guide.

It can take a while to propagate PUT or DELETE requests for a replication configuration to all S3 on Outposts systems. Therefore, the replication configuration that's returned by a GET request soon after a PUT or DELETE request might return a more recent result than what's on the Outpost. If an Outpost is offline, the delay in updating the replication configuration on that Outpost can be significant.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section.

For information about S3 replication on Outposts configuration, see Replicating objects for S3 on Outposts in the Amazon S3 User Guide.

The following operations are related to DeleteBucketReplication:

", "DeleteBucketTagging": "

This action deletes an Amazon S3 on Outposts bucket's tags. To delete an S3 bucket tags, see DeleteBucketTagging in the Amazon S3 API Reference.

Deletes the tags from the Outposts bucket. For more information, see Using Amazon S3 on Outposts in Amazon S3 User Guide.

To use this action, you must have permission to perform the PutBucketTagging action. By default, the bucket owner has this permission and can grant this permission to others.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section.

The following actions are related to DeleteBucketTagging:

", "DeleteJobTagging": "

Removes the entire tag set from the specified S3 Batch Operations job.

Permissions

To use the DeleteJobTagging operation, you must have permission to perform the s3:DeleteJobTagging action. For more information, see Controlling access and labeling jobs using tags in the Amazon S3 User Guide.

Related actions include:

", - "DeleteMultiRegionAccessPoint": "

This operation is not supported by directory buckets.

Deletes a Multi-Region Access Point. This action does not delete the buckets associated with the Multi-Region Access Point, only the Multi-Region Access Point itself.

This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around managing Multi-Region Access Points, see Managing Multi-Region Access Points in the Amazon S3 User Guide.

This request is asynchronous, meaning that you might receive a response before the command has completed. When this request provides a response, it provides a token that you can use to monitor the status of the request with DescribeMultiRegionAccessPointOperation.

The following actions are related to DeleteMultiRegionAccessPoint:

", + "DeleteMultiRegionAccessPoint": "

This operation is not supported by directory buckets.

Deletes a Multi-Region Access Point. This action does not delete the buckets associated with the Multi-Region Access Point, only the Multi-Region Access Point itself.

This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around working with Multi-Region Access Points, see Multi-Region Access Point restrictions and limitations in the Amazon S3 User Guide.

This request is asynchronous, meaning that you might receive a response before the command has completed. When this request provides a response, it provides a token that you can use to monitor the status of the request with DescribeMultiRegionAccessPointOperation.

The following actions are related to DeleteMultiRegionAccessPoint:

", "DeletePublicAccessBlock": "

This operation is not supported by directory buckets.

Removes the PublicAccessBlock configuration for an Amazon Web Services account. For more information, see Using Amazon S3 block public access.

Related actions include:

", "DeleteStorageLensConfiguration": "

This operation is not supported by directory buckets.

Deletes the Amazon S3 Storage Lens configuration. For more information about S3 Storage Lens, see Assessing your storage activity and usage with Amazon S3 Storage Lens in the Amazon S3 User Guide.

To use this action, you must have permission to perform the s3:DeleteStorageLensConfiguration action. For more information, see Setting permissions to use Amazon S3 Storage Lens in the Amazon S3 User Guide.

", "DeleteStorageLensConfigurationTagging": "

This operation is not supported by directory buckets.

Deletes the Amazon S3 Storage Lens configuration tags. For more information about S3 Storage Lens, see Assessing your storage activity and usage with Amazon S3 Storage Lens in the Amazon S3 User Guide.

To use this action, you must have permission to perform the s3:DeleteStorageLensConfigurationTagging action. For more information, see Setting permissions to use Amazon S3 Storage Lens in the Amazon S3 User Guide.

", "DeleteStorageLensGroup": "

Deletes an existing S3 Storage Lens group.

To use this operation, you must have the permission to perform the s3:DeleteStorageLensGroup action. For more information about the required Storage Lens Groups permissions, see Setting account permissions to use S3 Storage Lens groups.

For information about Storage Lens groups errors, see List of Amazon S3 Storage Lens error codes.

", "DescribeJob": "

Retrieves the configuration parameters and status for a Batch Operations job. For more information, see S3 Batch Operations in the Amazon S3 User Guide.

Permissions

To use the DescribeJob operation, you must have permission to perform the s3:DescribeJob action.

Related actions include:

", - "DescribeMultiRegionAccessPointOperation": "

This operation is not supported by directory buckets.

Retrieves the status of an asynchronous request to manage a Multi-Region Access Point. For more information about managing Multi-Region Access Points and how asynchronous requests work, see Managing Multi-Region Access Points in the Amazon S3 User Guide.

The following actions are related to GetMultiRegionAccessPoint:

", + "DescribeMultiRegionAccessPointOperation": "

This operation is not supported by directory buckets.

Retrieves the status of an asynchronous request to manage a Multi-Region Access Point. For more information about managing Multi-Region Access Points and how asynchronous requests work, see Using Multi-Region Access Points in the Amazon S3 User Guide.

The following actions are related to GetMultiRegionAccessPoint:

", "DissociateAccessGrantsIdentityCenter": "

Dissociates the Amazon Web Services IAM Identity Center instance from the S3 Access Grants instance.

Permissions

You must have the s3:DissociateAccessGrantsIdentityCenter permission to use this operation.

Additional Permissions

You must have the sso:DeleteApplication permission to use this operation.

", "GetAccessGrant": "

Get the details of an access grant from your S3 Access Grants instance.

Permissions

You must have the s3:GetAccessGrant permission to use this operation.

", "GetAccessGrantsInstance": "

Retrieves the S3 Access Grants instance for a Region in your account.

Permissions

You must have the s3:GetAccessGrantsInstance permission to use this operation.

", @@ -46,18 +46,18 @@ "GetAccessPointPolicyForObjectLambda": "

This operation is not supported by directory buckets.

Returns the resource policy for an Object Lambda Access Point.

The following actions are related to GetAccessPointPolicyForObjectLambda:

", "GetAccessPointPolicyStatus": "

This operation is not supported by directory buckets.

Indicates whether the specified access point currently has a policy that allows public access. For more information about public access through access points, see Managing Data Access with Amazon S3 access points in the Amazon S3 User Guide.

", "GetAccessPointPolicyStatusForObjectLambda": "

This operation is not supported by directory buckets.

Returns the status of the resource policy associated with an Object Lambda Access Point.

", - "GetBucket": "

Gets an Amazon S3 on Outposts bucket. For more information, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.

If you are using an identity other than the root user of the Amazon Web Services account that owns the Outposts bucket, the calling identity must have the s3-outposts:GetBucket permissions on the specified Outposts bucket and belong to the Outposts bucket owner's account in order to use this action. Only users from Outposts bucket owner account with the right permissions can perform actions on an Outposts bucket.

If you don't have s3-outposts:GetBucket permissions or you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a 403 Access Denied error.

The following actions are related to GetBucket for Amazon S3 on Outposts:

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section.

", + "GetBucket": "

Gets an Amazon S3 on Outposts bucket. For more information, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.

If you are using an identity other than the root user of the Amazon Web Services account that owns the Outposts bucket, the calling identity must have the s3-outposts:GetBucket permissions on the specified Outposts bucket and belong to the Outposts bucket owner's account in order to use this action. Only users from Outposts bucket owner account with the right permissions can perform actions on an Outposts bucket.

If you don't have s3-outposts:GetBucket permissions or you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a 403 Access Denied error.

The following actions are related to GetBucket for Amazon S3 on Outposts:

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section.

", "GetBucketLifecycleConfiguration": "

This action gets an Amazon S3 on Outposts bucket's lifecycle configuration. To get an S3 bucket's lifecycle configuration, see GetBucketLifecycleConfiguration in the Amazon S3 API Reference.

Returns the lifecycle configuration information set on the Outposts bucket. For more information, see Using Amazon S3 on Outposts and for information about lifecycle configuration, see Object Lifecycle Management in Amazon S3 User Guide.

To use this action, you must have permission to perform the s3-outposts:GetLifecycleConfiguration action. The Outposts bucket owner has this permission, by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section.

GetBucketLifecycleConfiguration has the following special error:

The following actions are related to GetBucketLifecycleConfiguration:

", "GetBucketPolicy": "

This action gets a bucket policy for an Amazon S3 on Outposts bucket. To get a policy for an S3 bucket, see GetBucketPolicy in the Amazon S3 API Reference.

Returns the policy of a specified Outposts bucket. For more information, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.

If you are using an identity other than the root user of the Amazon Web Services account that owns the bucket, the calling identity must have the GetBucketPolicy permissions on the specified bucket and belong to the bucket owner's account in order to use this action.

Only users from Outposts bucket owner account with the right permissions can perform actions on an Outposts bucket. If you don't have s3-outposts:GetBucketPolicy permissions or you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a 403 Access Denied error.

As a security precaution, the root user of the Amazon Web Services account that owns a bucket can always use this action, even if the policy explicitly denies the root user the ability to perform this action.

For more information about bucket policies, see Using Bucket Policies and User Policies.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section.

The following actions are related to GetBucketPolicy:

", "GetBucketReplication": "

This operation gets an Amazon S3 on Outposts bucket's replication configuration. To get an S3 bucket's replication configuration, see GetBucketReplication in the Amazon S3 API Reference.

Returns the replication configuration of an S3 on Outposts bucket. For more information about S3 on Outposts, see Using Amazon S3 on Outposts in the Amazon S3 User Guide. For information about S3 replication on Outposts configuration, see Replicating objects for S3 on Outposts in the Amazon S3 User Guide.

It can take a while to propagate PUT or DELETE requests for a replication configuration to all S3 on Outposts systems. Therefore, the replication configuration that's returned by a GET request soon after a PUT or DELETE request might return a more recent result than what's on the Outpost. If an Outpost is offline, the delay in updating the replication configuration on that Outpost can be significant.

This action requires permissions for the s3-outposts:GetReplicationConfiguration action. The Outposts bucket owner has this permission by default and can grant it to others. For more information about permissions, see Setting up IAM with S3 on Outposts and Managing access to S3 on Outposts bucket in the Amazon S3 User Guide.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section.

If you include the Filter element in a replication configuration, you must also include the DeleteMarkerReplication, Status, and Priority elements. The response also returns those elements.

For information about S3 on Outposts replication failure reasons, see Replication failure reasons in the Amazon S3 User Guide.

The following operations are related to GetBucketReplication:

", "GetBucketTagging": "

This action gets an Amazon S3 on Outposts bucket's tags. To get an S3 bucket tags, see GetBucketTagging in the Amazon S3 API Reference.

Returns the tag set associated with the Outposts bucket. For more information, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.

To use this action, you must have permission to perform the GetBucketTagging action. By default, the bucket owner has this permission and can grant this permission to others.

GetBucketTagging has the following special error:

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section.

The following actions are related to GetBucketTagging:

", "GetBucketVersioning": "

This operation returns the versioning state for S3 on Outposts buckets only. To return the versioning state for an S3 bucket, see GetBucketVersioning in the Amazon S3 API Reference.

Returns the versioning state for an S3 on Outposts bucket. With S3 Versioning, you can save multiple distinct copies of your objects and recover from unintended user actions and application failures.

If you've never set versioning on your bucket, it has no versioning state. In that case, the GetBucketVersioning request does not return a versioning state value.

For more information about versioning, see Versioning in the Amazon S3 User Guide.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section.

The following operations are related to GetBucketVersioning for S3 on Outposts.

", - "GetDataAccess": "

Returns a temporary access credential from S3 Access Grants to the grantee or client application. The temporary credential is an Amazon Web Services STS token that grants them access to the S3 data.

Permissions

You must have the s3:GetDataAccess permission to use this operation.

Additional Permissions

The IAM role that S3 Access Grants assumes must have the following permissions specified in the trust policy when registering the location: sts:AssumeRole, for directory users or groups sts:SetContext, and for IAM users or roles sts:SourceIdentity.

", + "GetDataAccess": "

Returns a temporary access credential from S3 Access Grants to the grantee or client application. The temporary credential is an Amazon Web Services STS token that grants them access to the S3 data.

Permissions

You must have the s3:GetDataAccess permission to use this operation.

Additional Permissions

The IAM role that S3 Access Grants assumes must have the following permissions specified in the trust policy when registering the location: sts:AssumeRole, for directory users or groups sts:SetContext, and for IAM users or roles sts:SetSourceIdentity.

", "GetJobTagging": "

Returns the tags on an S3 Batch Operations job.

Permissions

To use the GetJobTagging operation, you must have permission to perform the s3:GetJobTagging action. For more information, see Controlling access and labeling jobs using tags in the Amazon S3 User Guide.

Related actions include:

", - "GetMultiRegionAccessPoint": "

This operation is not supported by directory buckets.

Returns configuration information about the specified Multi-Region Access Point.

This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around managing Multi-Region Access Points, see Managing Multi-Region Access Points in the Amazon S3 User Guide.

The following actions are related to GetMultiRegionAccessPoint:

", - "GetMultiRegionAccessPointPolicy": "

This operation is not supported by directory buckets.

Returns the access control policy of the specified Multi-Region Access Point.

This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around managing Multi-Region Access Points, see Managing Multi-Region Access Points in the Amazon S3 User Guide.

The following actions are related to GetMultiRegionAccessPointPolicy:

", - "GetMultiRegionAccessPointPolicyStatus": "

This operation is not supported by directory buckets.

Indicates whether the specified Multi-Region Access Point has an access control policy that allows public access.

This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around managing Multi-Region Access Points, see Managing Multi-Region Access Points in the Amazon S3 User Guide.

The following actions are related to GetMultiRegionAccessPointPolicyStatus:

", - "GetMultiRegionAccessPointRoutes": "

This operation is not supported by directory buckets.

Returns the routing configuration for a Multi-Region Access Point, indicating which Regions are active or passive.

To obtain routing control changes and failover requests, use the Amazon S3 failover control infrastructure endpoints in these five Amazon Web Services Regions:

Your Amazon S3 bucket does not need to be in these five Regions.

", + "GetMultiRegionAccessPoint": "

This operation is not supported by directory buckets.

Returns configuration information about the specified Multi-Region Access Point.

This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around working with Multi-Region Access Points, see Multi-Region Access Point restrictions and limitations in the Amazon S3 User Guide.

The following actions are related to GetMultiRegionAccessPoint:

", + "GetMultiRegionAccessPointPolicy": "

This operation is not supported by directory buckets.

Returns the access control policy of the specified Multi-Region Access Point.

This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around working with Multi-Region Access Points, see Multi-Region Access Point restrictions and limitations in the Amazon S3 User Guide.

The following actions are related to GetMultiRegionAccessPointPolicy:

", + "GetMultiRegionAccessPointPolicyStatus": "

This operation is not supported by directory buckets.

Indicates whether the specified Multi-Region Access Point has an access control policy that allows public access.

This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around working with Multi-Region Access Points, see Multi-Region Access Point restrictions and limitations in the Amazon S3 User Guide.

The following actions are related to GetMultiRegionAccessPointPolicyStatus:

", + "GetMultiRegionAccessPointRoutes": "

This operation is not supported by directory buckets.

Returns the routing configuration for a Multi-Region Access Point, indicating which Regions are active or passive.

To obtain routing control changes and failover requests, use the Amazon S3 failover control infrastructure endpoints in these five Amazon Web Services Regions:

", "GetPublicAccessBlock": "

This operation is not supported by directory buckets.

Retrieves the PublicAccessBlock configuration for an Amazon Web Services account. For more information, see Using Amazon S3 block public access.

Related actions include:

", "GetStorageLensConfiguration": "

This operation is not supported by directory buckets.

Gets the Amazon S3 Storage Lens configuration. For more information, see Assessing your storage activity and usage with Amazon S3 Storage Lens in the Amazon S3 User Guide. For a complete list of S3 Storage Lens metrics, see S3 Storage Lens metrics glossary in the Amazon S3 User Guide.

To use this action, you must have permission to perform the s3:GetStorageLensConfiguration action. For more information, see Setting permissions to use Amazon S3 Storage Lens in the Amazon S3 User Guide.

", "GetStorageLensConfigurationTagging": "

This operation is not supported by directory buckets.

Gets the tags of Amazon S3 Storage Lens configuration. For more information about S3 Storage Lens, see Assessing your storage activity and usage with Amazon S3 Storage Lens in the Amazon S3 User Guide.

To use this action, you must have permission to perform the s3:GetStorageLensConfigurationTagging action. For more information, see Setting permissions to use Amazon S3 Storage Lens in the Amazon S3 User Guide.

", @@ -67,8 +67,8 @@ "ListAccessGrantsLocations": "

Returns a list of the locations registered in your S3 Access Grants instance.

Permissions

You must have the s3:ListAccessGrantsLocations permission to use this operation.

", "ListAccessPoints": "

This operation is not supported by directory buckets.

Returns a list of the access points that are owned by the current account that's associated with the specified bucket. You can retrieve up to 1000 access points per call. If the specified bucket has more than 1,000 access points (or the number specified in maxResults, whichever is less), the response will include a continuation token that you can use to list the additional access points.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section.

The following actions are related to ListAccessPoints:

", "ListAccessPointsForObjectLambda": "

This operation is not supported by directory buckets.

Returns some or all (up to 1,000) access points associated with the Object Lambda Access Point per call. If there are more access points than what can be returned in one call, the response will include a continuation token that you can use to list the additional access points.

The following actions are related to ListAccessPointsForObjectLambda:

", - "ListJobs": "

Lists current S3 Batch Operations jobs as well as the jobs that have ended within the last 30 days for the Amazon Web Services account making the request. For more information, see S3 Batch Operations in the Amazon S3 User Guide.

Permissions

To use the ListJobs operation, you must have permission to perform the s3:ListJobs action.

Related actions include:

", - "ListMultiRegionAccessPoints": "

This operation is not supported by directory buckets.

Returns a list of the Multi-Region Access Points currently associated with the specified Amazon Web Services account. Each call can return up to 100 Multi-Region Access Points, the maximum number of Multi-Region Access Points that can be associated with a single account.

This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around managing Multi-Region Access Points, see Managing Multi-Region Access Points in the Amazon S3 User Guide.

The following actions are related to ListMultiRegionAccessPoint:

", + "ListJobs": "

Lists current S3 Batch Operations jobs as well as the jobs that have ended within the last 90 days for the Amazon Web Services account making the request. For more information, see S3 Batch Operations in the Amazon S3 User Guide.

Permissions

To use the ListJobs operation, you must have permission to perform the s3:ListJobs action.

Related actions include:

", + "ListMultiRegionAccessPoints": "

This operation is not supported by directory buckets.

Returns a list of the Multi-Region Access Points currently associated with the specified Amazon Web Services account. Each call can return up to 100 Multi-Region Access Points, the maximum number of Multi-Region Access Points that can be associated with a single account.

This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around working with Multi-Region Access Points, see Multi-Region Access Point restrictions and limitations in the Amazon S3 User Guide.

The following actions are related to ListMultiRegionAccessPoint:

", "ListRegionalBuckets": "

This operation is not supported by directory buckets.

Returns a list of all Outposts buckets in an Outpost that are owned by the authenticated sender of the request. For more information, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.

For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and x-amz-outpost-id in your request, see the Examples section.

", "ListStorageLensConfigurations": "

This operation is not supported by directory buckets.

Gets a list of Amazon S3 Storage Lens configurations. For more information about S3 Storage Lens, see Assessing your storage activity and usage with Amazon S3 Storage Lens in the Amazon S3 User Guide.

To use this action, you must have permission to perform the s3:ListStorageLensConfigurations action. For more information, see Setting permissions to use Amazon S3 Storage Lens in the Amazon S3 User Guide.

", "ListStorageLensGroups": "

Lists all the Storage Lens groups in the specified home Region.

To use this operation, you must have the permission to perform the s3:ListStorageLensGroups action. For more information about the required Storage Lens Groups permissions, see Setting account permissions to use S3 Storage Lens groups.

For information about Storage Lens groups errors, see List of Amazon S3 Storage Lens error codes.

", @@ -83,11 +83,11 @@ "PutBucketTagging": "

This action puts tags on an Amazon S3 on Outposts bucket. To put tags on an S3 bucket, see PutBucketTagging in the Amazon S3 API Reference.

Sets the tags for an S3 on Outposts bucket. For more information, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.

Use tags to organize your Amazon Web Services bill to reflect your own cost structure. To do this, sign up to get your Amazon Web Services account bill with tag key values included. Then, to see the cost of combined resources, organize your billing information according to resources with the same tag key values. For example, you can tag several resources with a specific application name, and then organize your billing information to see the total cost of that application across several services. For more information, see Cost allocation and tagging.

Within a bucket, if you add a tag that has the same key as an existing tag, the new value overwrites the old value. For more information, see Using cost allocation in Amazon S3 bucket tags.

To use this action, you must have permissions to perform the s3-outposts:PutBucketTagging action. The Outposts bucket owner has this permission by default and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing access permissions to your Amazon S3 resources.

PutBucketTagging has the following special errors:

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section.

The following actions are related to PutBucketTagging:

", "PutBucketVersioning": "

This operation sets the versioning state for S3 on Outposts buckets only. To set the versioning state for an S3 bucket, see PutBucketVersioning in the Amazon S3 API Reference.

Sets the versioning state for an S3 on Outposts bucket. With S3 Versioning, you can save multiple distinct copies of your objects and recover from unintended user actions and application failures.

You can set the versioning state to one of the following:

If you've never set versioning on your bucket, it has no versioning state. In that case, a GetBucketVersioning request does not return a versioning state value.

When you enable S3 Versioning, for each object in your bucket, you have a current version and zero or more noncurrent versions. You can configure your bucket S3 Lifecycle rules to expire noncurrent versions after a specified time period. For more information, see Creating and managing a lifecycle configuration for your S3 on Outposts bucket in the Amazon S3 User Guide.

If you have an object expiration lifecycle configuration in your non-versioned bucket and you want to maintain the same permanent delete behavior when you enable versioning, you must add a noncurrent expiration policy. The noncurrent expiration lifecycle configuration will manage the deletes of the noncurrent object versions in the version-enabled bucket. For more information, see Versioning in the Amazon S3 User Guide.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section.

The following operations are related to PutBucketVersioning for S3 on Outposts.

", "PutJobTagging": "

Sets the supplied tag-set on an S3 Batch Operations job.

A tag is a key-value pair. You can associate S3 Batch Operations tags with any job by sending a PUT request against the tagging subresource that is associated with the job. To modify the existing tag set, you can either replace the existing tag set entirely, or make changes within the existing tag set by retrieving the existing tag set using GetJobTagging, modify that tag set, and use this operation to replace the tag set with the one you modified. For more information, see Controlling access and labeling jobs using tags in the Amazon S3 User Guide.

Permissions

To use the PutJobTagging operation, you must have permission to perform the s3:PutJobTagging action.

Related actions include:

", - "PutMultiRegionAccessPointPolicy": "

This operation is not supported by directory buckets.

Associates an access control policy with the specified Multi-Region Access Point. Each Multi-Region Access Point can have only one policy, so a request made to this action replaces any existing policy that is associated with the specified Multi-Region Access Point.

This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around managing Multi-Region Access Points, see Managing Multi-Region Access Points in the Amazon S3 User Guide.

The following actions are related to PutMultiRegionAccessPointPolicy:

", + "PutMultiRegionAccessPointPolicy": "

This operation is not supported by directory buckets.

Associates an access control policy with the specified Multi-Region Access Point. Each Multi-Region Access Point can have only one policy, so a request made to this action replaces any existing policy that is associated with the specified Multi-Region Access Point.

This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around working with Multi-Region Access Points, see Multi-Region Access Point restrictions and limitations in the Amazon S3 User Guide.

The following actions are related to PutMultiRegionAccessPointPolicy:

", "PutPublicAccessBlock": "

This operation is not supported by directory buckets.

Creates or modifies the PublicAccessBlock configuration for an Amazon Web Services account. For this operation, users must have the s3:PutAccountPublicAccessBlock permission. For more information, see Using Amazon S3 block public access.

Related actions include:

", "PutStorageLensConfiguration": "

This operation is not supported by directory buckets.

Puts an Amazon S3 Storage Lens configuration. For more information about S3 Storage Lens, see Working with Amazon S3 Storage Lens in the Amazon S3 User Guide. For a complete list of S3 Storage Lens metrics, see S3 Storage Lens metrics glossary in the Amazon S3 User Guide.

To use this action, you must have permission to perform the s3:PutStorageLensConfiguration action. For more information, see Setting permissions to use Amazon S3 Storage Lens in the Amazon S3 User Guide.

", "PutStorageLensConfigurationTagging": "

This operation is not supported by directory buckets.

Put or replace tags on an existing Amazon S3 Storage Lens configuration. For more information about S3 Storage Lens, see Assessing your storage activity and usage with Amazon S3 Storage Lens in the Amazon S3 User Guide.

To use this action, you must have permission to perform the s3:PutStorageLensConfigurationTagging action. For more information, see Setting permissions to use Amazon S3 Storage Lens in the Amazon S3 User Guide.

", - "SubmitMultiRegionAccessPointRoutes": "

This operation is not supported by directory buckets.

Submits an updated route configuration for a Multi-Region Access Point. This API operation updates the routing status for the specified Regions from active to passive, or from passive to active. A value of 0 indicates a passive status, which means that traffic won't be routed to the specified Region. A value of 100 indicates an active status, which means that traffic will be routed to the specified Region. At least one Region must be active at all times.

When the routing configuration is changed, any in-progress operations (uploads, copies, deletes, and so on) to formerly active Regions will continue to run to their final completion state (success or failure). The routing configurations of any Regions that aren’t specified remain unchanged.

Updated routing configurations might not be immediately applied. It can take up to 2 minutes for your changes to take effect.

To submit routing control changes and failover requests, use the Amazon S3 failover control infrastructure endpoints in these five Amazon Web Services Regions:

Your Amazon S3 bucket does not need to be in these five Regions.

", + "SubmitMultiRegionAccessPointRoutes": "

This operation is not supported by directory buckets.

Submits an updated route configuration for a Multi-Region Access Point. This API operation updates the routing status for the specified Regions from active to passive, or from passive to active. A value of 0 indicates a passive status, which means that traffic won't be routed to the specified Region. A value of 100 indicates an active status, which means that traffic will be routed to the specified Region. At least one Region must be active at all times.

When the routing configuration is changed, any in-progress operations (uploads, copies, deletes, and so on) to formerly active Regions will continue to run to their final completion state (success or failure). The routing configurations of any Regions that aren’t specified remain unchanged.

Updated routing configurations might not be immediately applied. It can take up to 2 minutes for your changes to take effect.

To submit routing control changes and failover requests, use the Amazon S3 failover control infrastructure endpoints in these five Amazon Web Services Regions:

", "TagResource": "

Creates a new Amazon Web Services resource tag or updates an existing resource tag. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources. You can add up to 50 Amazon Web Services resource tags for each S3 resource.

This operation is only supported for S3 Storage Lens groups and for S3 Access Grants. The tagged resource can be an S3 Storage Lens group or S3 Access Grants instance, registered location, or grant.

Permissions

You must have the s3:TagResource permission to use this operation.

For more information about the required Storage Lens Groups permissions, see Setting account permissions to use S3 Storage Lens groups.

For information about S3 Tagging errors, see List of Amazon S3 Tagging error codes.

", "UntagResource": "

This operation removes the specified Amazon Web Services resource tags from an S3 resource. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.

This operation is only supported for S3 Storage Lens groups and for S3 Access Grants. The tagged resource can be an S3 Storage Lens group or S3 Access Grants instance, registered location, or grant.

Permissions

You must have the s3:UntagResource permission to use this operation.

For more information about the required Storage Lens Groups permissions, see Setting account permissions to use S3 Storage Lens groups.

For information about S3 Tagging errors, see List of Amazon S3 Tagging error codes.

", "UpdateAccessGrantsLocation": "

Updates the IAM role of a registered location in your S3 Access Grants instance.

Permissions

You must have the s3:UpdateAccessGrantsLocation permission to use this operation.

Additional Permissions

You must also have the following permission: iam:PassRole

", @@ -238,7 +238,7 @@ "CreateAccessGrantsLocationRequest$AccountId": "

The ID of the Amazon Web Services account that is making this request.

", "CreateAccessPointForObjectLambdaRequest$AccountId": "

The Amazon Web Services account ID for owner of the specified Object Lambda Access Point.

", "CreateAccessPointRequest$AccountId": "

The Amazon Web Services account ID for the account that owns the specified access point.

", - "CreateAccessPointRequest$BucketAccountId": "

The Amazon Web Services account ID associated with the S3 bucket associated with this access point.

", + "CreateAccessPointRequest$BucketAccountId": "

The Amazon Web Services account ID associated with the S3 bucket associated with this access point.

For same account access point when your bucket and access point belong to the same account owner, the BucketAccountId is not required. For cross-account access point when your bucket and access point are not in the same account, the BucketAccountId is required.

", "CreateJobRequest$AccountId": "

The Amazon Web Services account ID that creates the job.

", "CreateMultiRegionAccessPointRequest$AccountId": "

The Amazon Web Services account ID for the owner of the Multi-Region Access Point. The owner of the Multi-Region Access Point also must own the underlying buckets.

", "CreateStorageLensGroupRequest$AccountId": "

The Amazon Web Services account ID that the Storage Lens group is created from and associated with.

", @@ -1974,7 +1974,7 @@ "MultiRegionAccessPointAlias": { "base": null, "refs": { - "MultiRegionAccessPointReport$Alias": "

The alias for the Multi-Region Access Point. For more information about the distinction between the name and the alias of an Multi-Region Access Point, see Managing Multi-Region Access Points.

" + "MultiRegionAccessPointReport$Alias": "

The alias for the Multi-Region Access Point. For more information about the distinction between the name and the alias of an Multi-Region Access Point, see Rules for naming Amazon S3 Multi-Region Access Points.

" } }, "MultiRegionAccessPointClientToken": { @@ -1998,9 +1998,9 @@ "refs": { "CreateMultiRegionAccessPointInput$Name": "

The name of the Multi-Region Access Point associated with this request.

", "DeleteMultiRegionAccessPointInput$Name": "

The name of the Multi-Region Access Point associated with this request.

", - "GetMultiRegionAccessPointPolicyRequest$Name": "

Specifies the Multi-Region Access Point. The name of the Multi-Region Access Point is different from the alias. For more information about the distinction between the name and the alias of an Multi-Region Access Point, see Managing Multi-Region Access Points in the Amazon S3 User Guide.

", - "GetMultiRegionAccessPointPolicyStatusRequest$Name": "

Specifies the Multi-Region Access Point. The name of the Multi-Region Access Point is different from the alias. For more information about the distinction between the name and the alias of an Multi-Region Access Point, see Managing Multi-Region Access Points in the Amazon S3 User Guide.

", - "GetMultiRegionAccessPointRequest$Name": "

The name of the Multi-Region Access Point whose configuration information you want to receive. The name of the Multi-Region Access Point is different from the alias. For more information about the distinction between the name and the alias of an Multi-Region Access Point, see Managing Multi-Region Access Points in the Amazon S3 User Guide.

", + "GetMultiRegionAccessPointPolicyRequest$Name": "

Specifies the Multi-Region Access Point. The name of the Multi-Region Access Point is different from the alias. For more information about the distinction between the name and the alias of an Multi-Region Access Point, see Rules for naming Amazon S3 Multi-Region Access Points in the Amazon S3 User Guide.

", + "GetMultiRegionAccessPointPolicyStatusRequest$Name": "

Specifies the Multi-Region Access Point. The name of the Multi-Region Access Point is different from the alias. For more information about the distinction between the name and the alias of an Multi-Region Access Point, see Rules for naming Amazon S3 Multi-Region Access Points in the Amazon S3 User Guide.

", + "GetMultiRegionAccessPointRequest$Name": "

The name of the Multi-Region Access Point whose configuration information you want to receive. The name of the Multi-Region Access Point is different from the alias. For more information about the distinction between the name and the alias of an Multi-Region Access Point, see Rules for naming Amazon S3 Multi-Region Access Points in the Amazon S3 User Guide.

", "MultiRegionAccessPointReport$Name": "

The name of the Multi-Region Access Point.

", "PutMultiRegionAccessPointPolicyInput$Name": "

The name of the Multi-Region Access Point associated with the request.

" } @@ -2128,7 +2128,7 @@ "CreateBucketRequest$OutpostId": "

The ID of the Outposts where the bucket is being created.

This ID is required by Amazon S3 on Outposts buckets.

", "CreateJobRequest$ClientRequestToken": "

An idempotency token to ensure that you don't accidentally submit the same request twice. You can use any string up to the maximum length.

", "Endpoints$key": null, - "LambdaInvokeOperation$InvocationSchemaVersion": "

Specifies the schema version for the payload that Batch Operations sends when invoking an Lambda function. Version 1.0 is the default. Version 2.0 is required when you use Batch Operations to invoke Lambda functions that act on directory buckets, or if you need to specify UserArguments. For more information, see Using Lambda with Amazon S3 Batch Operations and Amazon S3 Express One Zone in the Amazon Web Services Storage Blog.

Ensure that your Lambda function code expects InvocationSchemaVersion 2.0 and uses bucket name rather than bucket ARN. If the InvocationSchemaVersion does not match what your Lambda function expects, your function might not work as expected.

Directory buckets - To initiate Amazon Web Services Lambda function to perform custom actions on objects in directory buckets, you must specify 2.0.

", + "LambdaInvokeOperation$InvocationSchemaVersion": "

Specifies the schema version for the payload that Batch Operations sends when invoking an Lambda function. Version 1.0 is the default. Version 2.0 is required when you use Batch Operations to invoke Lambda functions that act on directory buckets, or if you need to specify UserArguments. For more information, see Automate object processing in Amazon S3 directory buckets with S3 Batch Operations and Lambda in the Amazon Web Services Storage Blog.

Ensure that your Lambda function code expects InvocationSchemaVersion 2.0 and uses bucket name rather than bucket ARN. If the InvocationSchemaVersion does not match what your Lambda function expects, your function might not work as expected.

Directory buckets - To initiate Amazon Web Services Lambda function to perform custom actions on objects in directory buckets, you must specify 2.0.

", "ListRegionalBucketsRequest$OutpostId": "

The ID of the Outposts resource.

This ID is required by Amazon S3 on Outposts buckets.

", "RegionalBucket$OutpostId": "

The Outposts ID of the regional bucket.

", "UserArguments$key": null @@ -2305,7 +2305,7 @@ "base": null, "refs": { "JobManifestGeneratorFilter$ObjectSizeGreaterThanBytes": "

If provided, the generated manifest includes only source bucket objects whose file size is greater than the specified number of bytes.

", - "LifecycleRuleAndOperator$ObjectSizeGreaterThan": "

Minimum object size to which the rule applies.

", + "LifecycleRuleAndOperator$ObjectSizeGreaterThan": "

The non-inclusive minimum object size for the lifecycle rule. Setting this property to 7 means the rule applies to objects with a size that is greater than 7.

", "LifecycleRuleFilter$ObjectSizeGreaterThan": "

Minimum object size to which the rule applies.

" } }, @@ -2313,7 +2313,7 @@ "base": null, "refs": { "JobManifestGeneratorFilter$ObjectSizeLessThanBytes": "

If provided, the generated manifest includes only source bucket objects whose file size is less than the specified number of bytes.

", - "LifecycleRuleAndOperator$ObjectSizeLessThan": "

Maximum object size to which the rule applies.

", + "LifecycleRuleAndOperator$ObjectSizeLessThan": "

The non-inclusive maximum object size for the lifecycle rule. Setting this property to 77 means the rule applies to objects with a size that is less than 77.

", "LifecycleRuleFilter$ObjectSizeLessThan": "

Maximum object size to which the rule applies.

" } }, @@ -2948,7 +2948,7 @@ "S3RegionalOrS3ExpressBucketArnString": { "base": null, "refs": { - "S3CopyObjectOperation$TargetResource": "

Specifies the destination bucket Amazon Resource Name (ARN) for the batch copy operation.

" + "S3CopyObjectOperation$TargetResource": "

Specifies the destination bucket Amazon Resource Name (ARN) for the batch copy operation.

" } }, "S3ReplicateObjectOperation": { @@ -3441,7 +3441,7 @@ "UserArguments": { "base": null, "refs": { - "LambdaInvokeOperation$UserArguments": "

Key-value pairs that are passed in the payload that Batch Operations sends when invoking an Lambda function. You must specify InvocationSchemaVersion 2.0 for LambdaInvoke operations that include UserArguments. For more information, see Using Lambda with Amazon S3 Batch Operations and Amazon S3 Express One Zone in the Amazon Web Services Storage Blog.

" + "LambdaInvokeOperation$UserArguments": "

Key-value pairs that are passed in the payload that Batch Operations sends when invoking an Lambda function. You must specify InvocationSchemaVersion 2.0 for LambdaInvoke operations that include UserArguments. For more information, see Automate object processing in Amazon S3 directory buckets with S3 Batch Operations and Lambda in the Amazon Web Services Storage Blog.

" } }, "VersioningConfiguration": { diff --git a/models/apis/wafv2/2019-07-29/smoke-2.json b/models/apis/wafv2/2019-07-29/smoke-2.json new file mode 100644 index 00000000000..eaeb1277533 --- /dev/null +++ b/models/apis/wafv2/2019-07-29/smoke-2.json @@ -0,0 +1,17 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListWebACLsSuccess", + "operationName": "ListWebACLs", + "input": { + "Scope": "REGIONAL", + "Limit": 20 + }, + "expectation": { + "success": {} + }, + "config": { "region": "us-east-1" } + } + ] +} diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 7201fc96511..994ca376cce 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -3840,6 +3840,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -16426,16 +16427,60 @@ "protocols" : [ "https" ] }, "us-east-1" : { - "protocols" : [ "https" ] + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "serverlessrepo-fips.us-east-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-east-1-fips" : { + "credentialScope" : { + "region" : "us-east-1" + }, + "deprecated" : true, + "hostname" : "serverlessrepo-fips.us-east-1.amazonaws.com" }, "us-east-2" : { - "protocols" : [ "https" ] + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "serverlessrepo-fips.us-east-2.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-east-2-fips" : { + "credentialScope" : { + "region" : "us-east-2" + }, + "deprecated" : true, + "hostname" : "serverlessrepo-fips.us-east-2.amazonaws.com" }, "us-west-1" : { - "protocols" : [ "https" ] + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "serverlessrepo-fips.us-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-west-1-fips" : { + "credentialScope" : { + "region" : "us-west-1" + }, + "deprecated" : true, + "hostname" : "serverlessrepo-fips.us-west-1.amazonaws.com" }, "us-west-2" : { - "protocols" : [ "https" ] + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "serverlessrepo-fips.us-west-2.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-west-2-fips" : { + "credentialScope" : { + "region" : "us-west-2" + }, + "deprecated" : true, + "hostname" : "serverlessrepo-fips.us-west-2.amazonaws.com" } } }, @@ -19057,6 +19102,12 @@ "tags" : [ "fips" ] } ] }, + "ca-west-1" : { + "variants" : [ { + "hostname" : "verifiedpermissions-fips.ca-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -19072,6 +19123,13 @@ "deprecated" : true, "hostname" : "verifiedpermissions-fips.ca-central-1.amazonaws.com" }, + "fips-ca-west-1" : { + "credentialScope" : { + "region" : "ca-west-1" + }, + "deprecated" : true, + "hostname" : "verifiedpermissions-fips.ca-west-1.amazonaws.com" + }, "fips-us-east-1" : { "credentialScope" : { "region" : "us-east-1" @@ -19100,6 +19158,7 @@ "deprecated" : true, "hostname" : "verifiedpermissions-fips.us-west-2.amazonaws.com" }, + "il-central-1" : { }, "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, @@ -26661,6 +26720,36 @@ } } }, + "verifiedpermissions" : { + "endpoints" : { + "fips-us-gov-east-1" : { + "credentialScope" : { + "region" : "us-gov-east-1" + }, + "deprecated" : true, + "hostname" : "verifiedpermissions-fips.us-gov-east-1.amazonaws.com" + }, + "fips-us-gov-west-1" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "deprecated" : true, + "hostname" : "verifiedpermissions-fips.us-gov-west-1.amazonaws.com" + }, + "us-gov-east-1" : { + "variants" : [ { + "hostname" : "verifiedpermissions-fips.us-gov-east-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-gov-west-1" : { + "variants" : [ { + "hostname" : "verifiedpermissions-fips.us-gov-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + } + } + }, "waf-regional" : { "endpoints" : { "fips-us-gov-east-1" : { diff --git a/service/batch/api.go b/service/batch/api.go index b6f4ad5f462..4788e4d3ddb 100644 --- a/service/batch/api.go +++ b/service/batch/api.go @@ -2734,6 +2734,10 @@ type AttemptDetail struct { // the attempt transitioned from the RUNNING state to a terminal state, such // as SUCCEEDED or FAILED). StoppedAt *int64 `locationName:"stoppedAt" type:"long"` + + // The properties for a task definition that describes the container and volume + // definitions of an Amazon ECS task. + TaskProperties []*AttemptEcsTaskDetails `locationName:"taskProperties" type:"list"` } // String returns the string representation. @@ -2778,6 +2782,135 @@ func (s *AttemptDetail) SetStoppedAt(v int64) *AttemptDetail { return s } +// SetTaskProperties sets the TaskProperties field's value. +func (s *AttemptDetail) SetTaskProperties(v []*AttemptEcsTaskDetails) *AttemptDetail { + s.TaskProperties = v + return s +} + +// An object that represents the details of a task. +type AttemptEcsTaskDetails struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the container instance that hosts the task. + ContainerInstanceArn *string `locationName:"containerInstanceArn" type:"string"` + + // A list of containers that are included in the taskProperties list. + Containers []*AttemptTaskContainerDetails `locationName:"containers" type:"list"` + + // The ARN of the Amazon ECS task. + TaskArn *string `locationName:"taskArn" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AttemptEcsTaskDetails) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AttemptEcsTaskDetails) GoString() string { + return s.String() +} + +// SetContainerInstanceArn sets the ContainerInstanceArn field's value. +func (s *AttemptEcsTaskDetails) SetContainerInstanceArn(v string) *AttemptEcsTaskDetails { + s.ContainerInstanceArn = &v + return s +} + +// SetContainers sets the Containers field's value. +func (s *AttemptEcsTaskDetails) SetContainers(v []*AttemptTaskContainerDetails) *AttemptEcsTaskDetails { + s.Containers = v + return s +} + +// SetTaskArn sets the TaskArn field's value. +func (s *AttemptEcsTaskDetails) SetTaskArn(v string) *AttemptEcsTaskDetails { + s.TaskArn = &v + return s +} + +// An object that represents the details of a container that's part of a job +// attempt. +type AttemptTaskContainerDetails struct { + _ struct{} `type:"structure"` + + // The exit code for the container’s attempt. A non-zero exit code is considered + // failed. + ExitCode *int64 `locationName:"exitCode" type:"integer"` + + // The name of the Amazon CloudWatch Logs log stream that's associated with + // the container. The log group for Batch jobs is /aws/batch/job. Each container + // attempt receives a log stream name when they reach the RUNNING status. + LogStreamName *string `locationName:"logStreamName" type:"string"` + + // The name of a container. + Name *string `locationName:"name" type:"string"` + + // The network interfaces that are associated with the job attempt. + NetworkInterfaces []*NetworkInterface `locationName:"networkInterfaces" type:"list"` + + // A short (255 max characters) string that's easy to understand and provides + // additional details for a running or stopped container. + Reason *string `locationName:"reason" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AttemptTaskContainerDetails) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AttemptTaskContainerDetails) GoString() string { + return s.String() +} + +// SetExitCode sets the ExitCode field's value. +func (s *AttemptTaskContainerDetails) SetExitCode(v int64) *AttemptTaskContainerDetails { + s.ExitCode = &v + return s +} + +// SetLogStreamName sets the LogStreamName field's value. +func (s *AttemptTaskContainerDetails) SetLogStreamName(v string) *AttemptTaskContainerDetails { + s.LogStreamName = &v + return s +} + +// SetName sets the Name field's value. +func (s *AttemptTaskContainerDetails) SetName(v string) *AttemptTaskContainerDetails { + s.Name = &v + return s +} + +// SetNetworkInterfaces sets the NetworkInterfaces field's value. +func (s *AttemptTaskContainerDetails) SetNetworkInterfaces(v []*NetworkInterface) *AttemptTaskContainerDetails { + s.NetworkInterfaces = v + return s +} + +// SetReason sets the Reason field's value. +func (s *AttemptTaskContainerDetails) SetReason(v string) *AttemptTaskContainerDetails { + s.Reason = &v + return s +} + // Contains the parameters for CancelJob. type CancelJobInput struct { _ struct{} `type:"structure"` @@ -7245,6 +7378,9 @@ type EksAttemptContainerDetail struct { // failed. ExitCode *int64 `locationName:"exitCode" type:"integer"` + // The name of a container. + Name *string `locationName:"name" type:"string"` + // A short (255 max characters) human-readable string to provide additional // details for a running or stopped container. Reason *string `locationName:"reason" type:"string"` @@ -7274,6 +7410,12 @@ func (s *EksAttemptContainerDetail) SetExitCode(v int64) *EksAttemptContainerDet return s } +// SetName sets the Name field's value. +func (s *EksAttemptContainerDetail) SetName(v string) *EksAttemptContainerDetail { + s.Name = &v + return s +} + // SetReason sets the Reason field's value. func (s *EksAttemptContainerDetail) SetReason(v string) *EksAttemptContainerDetail { s.Reason = &v @@ -8372,9 +8514,8 @@ type EksPodProperties struct { // in the Kubernetes documentation. HostNetwork *bool `locationName:"hostNetwork" type:"boolean"` - // References a Kubernetes secret resource. This object must start and end with - // an alphanumeric character, is required to be lowercase, can include periods - // (.) and hyphens (-), and can't contain more than 253 characters. + // References a Kubernetes secret resource. It holds a list of secrets. These + // secrets help to gain access to pull an images from a private registry. // // ImagePullSecret$name is required when this object is used. ImagePullSecrets []*ImagePullSecret `locationName:"imagePullSecrets" type:"list"` @@ -8564,7 +8705,8 @@ type EksPodPropertiesDetail struct { // in the Kubernetes documentation. HostNetwork *bool `locationName:"hostNetwork" type:"boolean"` - // Displays the reference pointer to the Kubernetes secret resource. + // Displays the reference pointer to the Kubernetes secret resource. These secrets + // help to gain access to pull an images from a private registry. ImagePullSecrets []*ImagePullSecret `locationName:"imagePullSecrets" type:"list"` // The container registered with the Amazon EKS Connector agent and persists @@ -9364,8 +9506,9 @@ func (s *Host) SetSourcePath(v string) *Host { return s } -// References a Kubernetes configuration resource that holds a list of secrets. -// These secrets help to gain access to pull an image from a private registry. +// References a Kubernetes secret resource. This name of the secret must start +// and end with an alphanumeric character, is required to be lowercase, can +// include periods (.) and hyphens (-), and can't contain more than 253 characters. type ImagePullSecret struct { _ struct{} `type:"structure"` @@ -10151,7 +10294,7 @@ type JobStateTimeLimitAction struct { _ struct{} `type:"structure"` // The action to take when a job is at the head of the job queue in the specified - // state for the specified period of time. The only supported value is "CANCEL", + // state for the specified period of time. The only supported value is CANCEL, // which will cancel the job. // // Action is a required field @@ -10170,7 +10313,7 @@ type JobStateTimeLimitAction struct { Reason *string `locationName:"reason" type:"string" required:"true"` // The state of the job needed to trigger the action. The only supported value - // is "RUNNABLE". + // is RUNNABLE. // // State is a required field State *string `locationName:"state" type:"string" required:"true" enum:"JobStateTimeLimitActionsState"` diff --git a/service/batch/doc.go b/service/batch/doc.go index 067e13420a1..b327cc277db 100644 --- a/service/batch/doc.go +++ b/service/batch/doc.go @@ -9,8 +9,8 @@ // of the batch computing to remove the undifferentiated heavy lifting of configuring // and managing required infrastructure. At the same time, it also adopts a // familiar batch computing software approach. You can use Batch to efficiently -// provision resources d, and work toward eliminating capacity constraints, -// reducing your overall compute costs, and delivering results more quickly. +// provision resources, and work toward eliminating capacity constraints, reducing +// your overall compute costs, and delivering results more quickly. // // As a fully managed service, Batch can run batch computing workloads of any // scale. Batch automatically provisions compute resources and optimizes workload diff --git a/service/cloudfront/api.go b/service/cloudfront/api.go index 6dc4e72ec8c..11144308b1d 100644 --- a/service/cloudfront/api.go +++ b/service/cloudfront/api.go @@ -1775,7 +1775,8 @@ func (c *CloudFront) CreateInvalidationRequest(input *CreateInvalidationInput) ( // CreateInvalidation API operation for Amazon CloudFront. // -// Create a new invalidation. +// Create a new invalidation. For more information, see Invalidating files (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html) +// in the Amazon CloudFront Developer Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1978,8 +1979,8 @@ func (c *CloudFront) CreateKeyValueStoreRequest(input *CreateKeyValueStoreInput) // CreateKeyValueStore API operation for Amazon CloudFront. // -// Specifies the Key Value Store resource to add to your account. In your account, -// the Key Value Store names must be unique. You can also import Key Value Store +// Specifies the key value store resource to add to your account. In your account, +// the key value store names must be unique. You can also import key value store // data in JSON format from an S3 bucket by providing a valid ImportSource that // you own. // @@ -1996,18 +1997,21 @@ func (c *CloudFront) CreateKeyValueStoreRequest(input *CreateKeyValueStoreInput) // Access denied. // // - ErrCodeEntityLimitExceeded "EntityLimitExceeded" -// The Key Value Store entity limit has been exceeded. +// The key value store entity limit has been exceeded. // // - ErrCodeEntityAlreadyExists "EntityAlreadyExists" -// The Key Value Store entity already exists. You must provide a unique Key -// Value Store entity. +// The key value store entity already exists. You must provide a unique key +// value store entity. // // - ErrCodeEntitySizeLimitExceeded "EntitySizeLimitExceeded" -// The Key Value Store entity size limit was exceeded. +// The key value store entity size limit was exceeded. // // - ErrCodeInvalidArgument "InvalidArgument" // An argument is invalid. // +// - ErrCodeUnsupportedOperation "UnsupportedOperation" +// This operation is not supported in this region. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateKeyValueStore func (c *CloudFront) CreateKeyValueStore(input *CreateKeyValueStoreInput) (*CreateKeyValueStoreOutput, error) { req, out := c.CreateKeyValueStoreRequest(input) @@ -3731,7 +3735,7 @@ func (c *CloudFront) DeleteKeyValueStoreRequest(input *DeleteKeyValueStoreInput) // DeleteKeyValueStore API operation for Amazon CloudFront. // -// Specifies the Key Value Store to delete. +// Specifies the key value store to delete. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3749,14 +3753,17 @@ func (c *CloudFront) DeleteKeyValueStoreRequest(input *DeleteKeyValueStoreInput) // The If-Match version is missing or not valid. // // - ErrCodeEntityNotFound "EntityNotFound" -// The Key Value Store entity was not found. +// The key value store entity was not found. // // - ErrCodeCannotDeleteEntityWhileInUse "CannotDeleteEntityWhileInUse" -// The Key Value Store entity cannot be deleted while it is in use. +// The key value store entity cannot be deleted while it is in use. // // - ErrCodePreconditionFailed "PreconditionFailed" // The precondition in one or more of the request fields evaluated to false. // +// - ErrCodeUnsupportedOperation "UnsupportedOperation" +// This operation is not supported in this region. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteKeyValueStore func (c *CloudFront) DeleteKeyValueStore(input *DeleteKeyValueStoreInput) (*DeleteKeyValueStoreOutput, error) { req, out := c.DeleteKeyValueStoreRequest(input) @@ -4621,7 +4628,7 @@ func (c *CloudFront) DescribeKeyValueStoreRequest(input *DescribeKeyValueStoreIn // DescribeKeyValueStore API operation for Amazon CloudFront. // -// Specifies the Key Value Store and its configuration. +// Specifies the key value store and its configuration. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4639,7 +4646,10 @@ func (c *CloudFront) DescribeKeyValueStoreRequest(input *DescribeKeyValueStoreIn // An argument is invalid. // // - ErrCodeEntityNotFound "EntityNotFound" -// The Key Value Store entity was not found. +// The key value store entity was not found. +// +// - ErrCodeUnsupportedOperation "UnsupportedOperation" +// This operation is not supported in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DescribeKeyValueStore func (c *CloudFront) DescribeKeyValueStore(input *DescribeKeyValueStoreInput) (*DescribeKeyValueStoreOutput, error) { @@ -8661,7 +8671,7 @@ func (c *CloudFront) ListKeyValueStoresRequest(input *ListKeyValueStoresInput) ( // ListKeyValueStores API operation for Amazon CloudFront. // -// Specifies the Key Value Stores to list. +// Specifies the key value stores to list. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -8678,6 +8688,9 @@ func (c *CloudFront) ListKeyValueStoresRequest(input *ListKeyValueStoresInput) ( // - ErrCodeInvalidArgument "InvalidArgument" // An argument is invalid. // +// - ErrCodeUnsupportedOperation "UnsupportedOperation" +// This operation is not supported in this region. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListKeyValueStores func (c *CloudFront) ListKeyValueStores(input *ListKeyValueStoresInput) (*ListKeyValueStoresOutput, error) { req, out := c.ListKeyValueStoresRequest(input) @@ -11273,7 +11286,7 @@ func (c *CloudFront) UpdateKeyValueStoreRequest(input *UpdateKeyValueStoreInput) // UpdateKeyValueStore API operation for Amazon CloudFront. // -// Specifies the Key Value Store to update. +// Specifies the key value store to update. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -11291,7 +11304,7 @@ func (c *CloudFront) UpdateKeyValueStoreRequest(input *UpdateKeyValueStoreInput) // An argument is invalid. // // - ErrCodeEntityNotFound "EntityNotFound" -// The Key Value Store entity was not found. +// The key value store entity was not found. // // - ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" // The If-Match version is missing or not valid. @@ -11299,6 +11312,9 @@ func (c *CloudFront) UpdateKeyValueStoreRequest(input *UpdateKeyValueStoreInput) // - ErrCodePreconditionFailed "PreconditionFailed" // The precondition in one or more of the request fields evaluated to false. // +// - ErrCodeUnsupportedOperation "UnsupportedOperation" +// This operation is not supported in this region. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateKeyValueStore func (c *CloudFront) UpdateKeyValueStore(input *UpdateKeyValueStoreInput) (*UpdateKeyValueStoreOutput, error) { req, out := c.UpdateKeyValueStoreRequest(input) @@ -12443,7 +12459,8 @@ func (s AssociateAliasOutput) GoString() string { // in the Amazon CloudFront Developer Guide. // // If you don't want to specify any cache behaviors, include only an empty CacheBehaviors -// element. Don't include an empty CacheBehavior element because this is invalid. +// element. For more information, see CacheBehaviors (https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CacheBehaviors.html). +// Don't include an empty CacheBehavior element because this is invalid. // // To delete all cache behaviors in an existing distribution, update the distribution // configuration and include only an empty CacheBehaviors element. @@ -14212,7 +14229,8 @@ type ContinuousDeploymentSingleWeightConfig struct { SessionStickinessConfig *SessionStickinessConfig `type:"structure"` // The percentage of traffic to send to a staging distribution, expressed as - // a decimal number between 0 and .15. + // a decimal number between 0 and 0.15. For example, a value of 0.10 means 10% + // of traffic is sent to the staging distribution. // // Weight is a required field Weight *float64 `type:"float" required:"true"` @@ -15658,14 +15676,15 @@ func (s *CreateKeyGroupOutput) SetLocation(v string) *CreateKeyGroupOutput { type CreateKeyValueStoreInput struct { _ struct{} `locationName:"CreateKeyValueStoreRequest" type:"structure" xmlURI:"http://cloudfront.amazonaws.com/doc/2020-05-31/"` - // The comment of the Key Value Store. + // The comment of the key value store. Comment *string `type:"string"` // The S3 bucket that provides the source for the import. The source must be // in a valid JSON format. ImportSource *ImportSource `type:"structure"` - // The name of the Key Value Store. The maximum length of the name is 32 characters. + // The name of the key value store. The minimum length is 1 character and the + // maximum length is 64 characters. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` @@ -15731,13 +15750,13 @@ func (s *CreateKeyValueStoreInput) SetName(v string) *CreateKeyValueStoreInput { type CreateKeyValueStoreOutput struct { _ struct{} `type:"structure" payload:"KeyValueStore"` - // The ETag in the resulting Key Value Store. + // The ETag in the resulting key value store. ETag *string `location:"header" locationName:"ETag" type:"string"` - // The resulting Key Value Store. + // The resulting key value store. KeyValueStore *KeyValueStore `type:"structure"` - // The location of the resulting Key Value Store. + // The location of the resulting key value store. Location *string `location:"header" locationName:"Location" type:"string"` } @@ -16201,9 +16220,9 @@ type CreateRealtimeLogConfigInput struct { // Name is a required field Name *string `type:"string" required:"true"` - // The sampling rate for this real-time log configuration. The sampling rate - // determines the percentage of viewer requests that are represented in the - // real-time log data. You must provide an integer between 1 and 100, inclusive. + // The sampling rate for this real-time log configuration. You can specify a + // whole number between 1 and 100 (inclusive) to determine the percentage of + // viewer requests that are represented in the real-time log data. // // SamplingRate is a required field SamplingRate *int64 `type:"long" required:"true"` @@ -17117,8 +17136,8 @@ type DefaultCacheBehavior struct { ForwardedValues *ForwardedValues `deprecated:"true" type:"structure"` // A list of CloudFront functions that are associated with this cache behavior. - // CloudFront functions must be published to the LIVE stage to associate them - // with a cache behavior. + // Your functions must be published to the LIVE stage to associate them with + // a cache behavior. FunctionAssociations *FunctionAssociations `type:"structure"` // A complex type that contains zero or more Lambda@Edge function associations @@ -18114,12 +18133,12 @@ func (s DeleteKeyGroupOutput) GoString() string { type DeleteKeyValueStoreInput struct { _ struct{} `locationName:"DeleteKeyValueStoreRequest" type:"structure"` - // The Key Value Store to delete, if a match occurs. + // The key value store to delete, if a match occurs. // // IfMatch is a required field IfMatch *string `location:"header" locationName:"If-Match" type:"string" required:"true"` - // The name of the Key Value Store. + // The name of the key value store. // // Name is a required field Name *string `location:"uri" locationName:"Name" min:"1" type:"string" required:"true"` @@ -18842,7 +18861,7 @@ func (s *DescribeFunctionOutput) SetFunctionSummary(v *FunctionSummary) *Describ type DescribeKeyValueStoreInput struct { _ struct{} `locationName:"DescribeKeyValueStoreRequest" type:"structure"` - // The name of the Key Value Store. + // The name of the key value store. // // Name is a required field Name *string `location:"uri" locationName:"Name" min:"1" type:"string" required:"true"` @@ -18891,10 +18910,10 @@ func (s *DescribeKeyValueStoreInput) SetName(v string) *DescribeKeyValueStoreInp type DescribeKeyValueStoreOutput struct { _ struct{} `type:"structure" payload:"KeyValueStore"` - // The ETag of the resulting Key Value Store. + // The ETag of the resulting key value store. ETag *string `location:"header" locationName:"ETag" type:"string"` - // The resulting Key Value Store. + // The resulting key value store. KeyValueStore *KeyValueStore `type:"structure"` } @@ -19156,10 +19175,9 @@ type DistributionConfig struct { // Enabled is a required field Enabled *bool `type:"boolean" required:"true"` - // (Optional) Specify the maximum HTTP version(s) that you want viewers to use - // to communicate with CloudFront. The default value for new web distributions - // is http2. Viewers that don't support HTTP/2 automatically use an earlier - // HTTP version. + // (Optional) Specify the HTTP version(s) that you want viewers to use to communicate + // with CloudFront. The default value for new web distributions is http2. Viewers + // that don't support HTTP/2 automatically use an earlier HTTP version. // // For viewers and CloudFront to use HTTP/2, viewers must support TLSv1.2 or // later, and must support Server Name Indication (SNI). @@ -19253,9 +19271,9 @@ type DistributionConfig struct { // A unique identifier that specifies the WAF web ACL, if any, to associate // with this distribution. To specify a web ACL created using the latest version - // of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. + // of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111. // To specify a web ACL created using WAF Classic, use the ACL ID, for example - // 473e64fd-f30b-4765-81a0-62ad96dd167a. + // a1b2c3d4-5678-90ab-cdef-EXAMPLE11111. // // WAF is a web application firewall that lets you monitor the HTTP and HTTPS // requests that are forwarded to CloudFront, and lets you control access to @@ -19819,7 +19837,9 @@ type DistributionSummary struct { // Restrictions is a required field Restrictions *Restrictions `type:"structure" required:"true"` - // Whether the primary distribution has a staging distribution enabled. + // A Boolean that indicates whether this is a staging distribution. When this + // value is true, this is a staging distribution. When this value is false, + // this is not a staging distribution. // // Staging is a required field Staging *bool `type:"boolean" required:"true"` @@ -21100,14 +21120,14 @@ func (s *FunctionAssociation) SetFunctionARN(v string) *FunctionAssociation { } // A list of CloudFront functions that are associated with a cache behavior -// in a CloudFront distribution. CloudFront functions must be published to the -// LIVE stage to associate them with a cache behavior. +// in a CloudFront distribution. Your functions must be published to the LIVE +// stage to associate them with a cache behavior. type FunctionAssociations struct { _ struct{} `type:"structure"` // The CloudFront functions that are associated with a cache behavior in a CloudFront - // distribution. CloudFront functions must be published to the LIVE stage to - // associate them with a cache behavior. + // distribution. Your functions must be published to the LIVE stage to associate + // them with a cache behavior. Items []*FunctionAssociation `locationNameList:"FunctionAssociation" type:"list"` // The number of CloudFront functions in the list. @@ -21178,7 +21198,7 @@ type FunctionConfig struct { // Comment is a required field Comment *string `type:"string" required:"true"` - // The configuration for the Key Value Store associations. + // The configuration for the key value store associations. KeyValueStoreAssociations *KeyValueStoreAssociations `type:"structure"` // The function's runtime environment version. @@ -24143,16 +24163,16 @@ func (s *Headers) SetQuantity(v int64) *Headers { return s } -// The import source for the Key Value Store. +// The import source for the key value store. type ImportSource struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the import source for the Key Value Store. + // The Amazon Resource Name (ARN) of the import source for the key value store. // // SourceARN is a required field SourceARN *string `type:"string" required:"true"` - // The source type of the import source for the Key Value Store. + // The source type of the import source for the key value store. // // SourceType is a required field SourceType *string `type:"string" required:"true" enum:"ImportSourceType"` @@ -24823,38 +24843,38 @@ func (s *KeyPairIds) SetQuantity(v int64) *KeyPairIds { return s } -// The Key Value Store. Use this to separate data from function code, allowing +// The key value store. Use this to separate data from function code, allowing // you to update data without having to publish a new version of a function. -// The Key Value Store holds keys and their corresponding values. +// The key value store holds keys and their corresponding values. type KeyValueStore struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the Key Value Store. + // The Amazon Resource Name (ARN) of the key value store. // // ARN is a required field ARN *string `type:"string" required:"true"` - // A comment for the Key Value Store. + // A comment for the key value store. // // Comment is a required field Comment *string `type:"string" required:"true"` - // The unique Id for the Key Value Store. + // The unique Id for the key value store. // // Id is a required field Id *string `type:"string" required:"true"` - // The last-modified time of the Key Value Store. + // The last-modified time of the key value store. // // LastModifiedTime is a required field LastModifiedTime *time.Time `type:"timestamp" required:"true"` - // The name of the Key Value Store. + // The name of the key value store. // // Name is a required field Name *string `type:"string" required:"true"` - // The status of the Key Value Store. + // The status of the key value store. Status *string `type:"string"` } @@ -24912,11 +24932,11 @@ func (s *KeyValueStore) SetStatus(v string) *KeyValueStore { return s } -// The Key Value Store association. +// The key value store association. type KeyValueStoreAssociation struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the Key Value Store association. + // The Amazon Resource Name (ARN) of the key value store association. // // KeyValueStoreARN is a required field KeyValueStoreARN *string `type:"string" required:"true"` @@ -24959,14 +24979,14 @@ func (s *KeyValueStoreAssociation) SetKeyValueStoreARN(v string) *KeyValueStoreA return s } -// The Key Value Store associations. +// The key value store associations. type KeyValueStoreAssociations struct { _ struct{} `type:"structure"` - // The items of the Key Value Store association. + // The items of the key value store association. Items []*KeyValueStoreAssociation `locationNameList:"KeyValueStoreAssociation" type:"list"` - // The quantity of Key Value Store associations. + // The quantity of key value store associations. // // Quantity is a required field Quantity *int64 `type:"integer" required:"true"` @@ -25025,22 +25045,22 @@ func (s *KeyValueStoreAssociations) SetQuantity(v int64) *KeyValueStoreAssociati return s } -// The Key Value Store list. +// The key value store list. type KeyValueStoreList struct { _ struct{} `type:"structure"` - // The items of the Key Value Store list. + // The items of the key value store list. Items []*KeyValueStore `locationNameList:"KeyValueStore" type:"list"` - // The maximum number of items in the Key Value Store list. + // The maximum number of items in the key value store list. // // MaxItems is a required field MaxItems *int64 `type:"integer" required:"true"` - // The next marker associated with the Key Value Store list. + // The next marker associated with the key value store list. NextMarker *string `type:"string"` - // The quantity of the Key Value Store list. + // The quantity of the key value store list. // // Quantity is a required field Quantity *int64 `type:"integer" required:"true"` @@ -26202,6 +26222,10 @@ type ListDistributionsByWebACLIdInput struct { // If you specify "null" for the ID, the request returns a list of the distributions // that aren't associated with a web ACL. // + // For WAFV2, this is the ARN of the web ACL, such as arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111. + // + // For WAF Classic, this is the ID of the web ACL, such as a1b2c3d4-5678-90ab-cdef-EXAMPLE11111. + // // WebACLId is a required field WebACLId *string `location:"uri" locationName:"WebACLId" type:"string" required:"true"` } @@ -26790,13 +26814,13 @@ func (s *ListKeyGroupsOutput) SetKeyGroupList(v *KeyGroupList) *ListKeyGroupsOut type ListKeyValueStoresInput struct { _ struct{} `locationName:"ListKeyValueStoresRequest" type:"structure"` - // The marker associated with the Key Value Stores list. + // The marker associated with the key value stores list. Marker *string `location:"querystring" locationName:"Marker" type:"string"` - // The maximum number of items in the Key Value Stores list. + // The maximum number of items in the key value stores list. MaxItems *int64 `location:"querystring" locationName:"MaxItems" type:"integer"` - // The status of the request for the Key Value Stores list. + // The status of the request for the key value stores list. Status *string `location:"querystring" locationName:"Status" type:"string"` } @@ -26839,7 +26863,7 @@ func (s *ListKeyValueStoresInput) SetStatus(v string) *ListKeyValueStoresInput { type ListKeyValueStoresOutput struct { _ struct{} `type:"structure" payload:"KeyValueStoreList"` - // The resulting Key Value Stores list. + // The resulting key value stores list. KeyValueStoreList *KeyValueStoreList `type:"structure"` } @@ -27840,7 +27864,7 @@ type OriginAccessControlConfig struct { // A description of the origin access control. Description *string `type:"string"` - // A name to identify the origin access control. + // A name to identify the origin access control. You can specify up to 64 characters. // // Name is a required field Name *string `type:"string" required:"true"` @@ -32093,7 +32117,8 @@ type ResponseHeadersPolicySecurityHeadersConfig struct { // response header and the header's value. // // For more information about the Strict-Transport-Security HTTP response header, - // see Strict-Transport-Security (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security) + // see Security headers (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/understanding-response-headers-policies.html#understanding-response-headers-policies-security) + // in the Amazon CloudFront Developer Guide and Strict-Transport-Security (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security) // in the MDN Web Docs. StrictTransportSecurity *ResponseHeadersPolicyStrictTransportSecurity `type:"structure"` @@ -32651,6 +32676,12 @@ func (s *S3Origin) SetOriginAccessIdentity(v string) *S3Origin { type S3OriginConfig struct { _ struct{} `type:"structure"` + // + // If you're using origin access control (OAC) instead of origin access identity, + // specify an empty OriginAccessIdentity element. For more information, see + // Restricting access to an Amazon Web Services (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-origin.html) + // in the Amazon CloudFront Developer Guide. + // // The CloudFront origin access identity to associate with the origin. Use an // origin access identity to configure the origin so that viewers can only access // objects in an Amazon S3 bucket through CloudFront. The format of the value @@ -32658,8 +32689,8 @@ type S3OriginConfig struct { // // origin-access-identity/cloudfront/ID-of-origin-access-identity // - // where ID-of-origin-access-identity is the value that CloudFront returned - // in the ID element when you created the origin access identity. + // The ID-of-origin-access-identity is the value that CloudFront returned in + // the ID element when you created the origin access identity. // // If you want viewers to be able to access objects using either the CloudFront // URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. @@ -32735,7 +32766,7 @@ type SessionStickinessConfig struct { // The maximum amount of time to consider requests from the viewer as being // part of the same session. Allowed values are 300–3600 seconds (5–60 minutes). // - // The value must be less than or equal to IdleTTL. + // The value must be greater than or equal to IdleTTL. // // MaximumTTL is a required field MaximumTTL *int64 `type:"integer" required:"true"` @@ -35502,17 +35533,17 @@ func (s *UpdateKeyGroupOutput) SetKeyGroup(v *KeyGroup) *UpdateKeyGroupOutput { type UpdateKeyValueStoreInput struct { _ struct{} `locationName:"UpdateKeyValueStoreRequest" type:"structure" xmlURI:"http://cloudfront.amazonaws.com/doc/2020-05-31/"` - // The comment of the Key Value Store to update. + // The comment of the key value store to update. // // Comment is a required field Comment *string `type:"string" required:"true"` - // The Key Value Store to update, if a match occurs. + // The key value store to update, if a match occurs. // // IfMatch is a required field IfMatch *string `location:"header" locationName:"If-Match" type:"string" required:"true"` - // The name of the Key Value Store to update. + // The name of the key value store to update. // // Name is a required field Name *string `location:"uri" locationName:"Name" min:"1" type:"string" required:"true"` @@ -35579,10 +35610,10 @@ func (s *UpdateKeyValueStoreInput) SetName(v string) *UpdateKeyValueStoreInput { type UpdateKeyValueStoreOutput struct { _ struct{} `type:"structure" payload:"KeyValueStore"` - // The ETag of the resulting Key Value Store. + // The ETag of the resulting key value store. ETag *string `location:"header" locationName:"ETag" type:"string"` - // The resulting Key Value Store to update. + // The resulting key value store to update. KeyValueStore *KeyValueStore `type:"structure"` } @@ -36912,6 +36943,12 @@ const ( // OriginAccessControlOriginTypesMediastore is a OriginAccessControlOriginTypes enum value OriginAccessControlOriginTypesMediastore = "mediastore" + + // OriginAccessControlOriginTypesMediapackagev2 is a OriginAccessControlOriginTypes enum value + OriginAccessControlOriginTypesMediapackagev2 = "mediapackagev2" + + // OriginAccessControlOriginTypesLambda is a OriginAccessControlOriginTypes enum value + OriginAccessControlOriginTypesLambda = "lambda" ) // OriginAccessControlOriginTypes_Values returns all elements of the OriginAccessControlOriginTypes enum @@ -36919,6 +36956,8 @@ func OriginAccessControlOriginTypes_Values() []string { return []string{ OriginAccessControlOriginTypesS3, OriginAccessControlOriginTypesMediastore, + OriginAccessControlOriginTypesMediapackagev2, + OriginAccessControlOriginTypesLambda, } } diff --git a/service/cloudfront/doc.go b/service/cloudfront/doc.go index 24c74857552..29fdafa6979 100644 --- a/service/cloudfront/doc.go +++ b/service/cloudfront/doc.go @@ -6,7 +6,7 @@ // This is the Amazon CloudFront API Reference. This guide is for developers // who need detailed information about CloudFront API actions, data types, and // errors. For detailed information about CloudFront features, see the Amazon -// CloudFront Developer Guide. +// CloudFront Developer Guide (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Introduction.html). // // See https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31 for more information on this service. // diff --git a/service/cloudfront/errors.go b/service/cloudfront/errors.go index 4a78b75da6e..66e8b17a9f7 100644 --- a/service/cloudfront/errors.go +++ b/service/cloudfront/errors.go @@ -45,7 +45,7 @@ const ( // ErrCodeCannotDeleteEntityWhileInUse for service response error code // "CannotDeleteEntityWhileInUse". // - // The Key Value Store entity cannot be deleted while it is in use. + // The key value store entity cannot be deleted while it is in use. ErrCodeCannotDeleteEntityWhileInUse = "CannotDeleteEntityWhileInUse" // ErrCodeContinuousDeploymentPolicyAlreadyExists for service response error code @@ -78,26 +78,26 @@ const ( // ErrCodeEntityAlreadyExists for service response error code // "EntityAlreadyExists". // - // The Key Value Store entity already exists. You must provide a unique Key - // Value Store entity. + // The key value store entity already exists. You must provide a unique key + // value store entity. ErrCodeEntityAlreadyExists = "EntityAlreadyExists" // ErrCodeEntityLimitExceeded for service response error code // "EntityLimitExceeded". // - // The Key Value Store entity limit has been exceeded. + // The key value store entity limit has been exceeded. ErrCodeEntityLimitExceeded = "EntityLimitExceeded" // ErrCodeEntityNotFound for service response error code // "EntityNotFound". // - // The Key Value Store entity was not found. + // The key value store entity was not found. ErrCodeEntityNotFound = "EntityNotFound" // ErrCodeEntitySizeLimitExceeded for service response error code // "EntitySizeLimitExceeded". // - // The Key Value Store entity size limit was exceeded. + // The key value store entity size limit was exceeded. ErrCodeEntitySizeLimitExceeded = "EntitySizeLimitExceeded" // ErrCodeFieldLevelEncryptionConfigAlreadyExists for service response error code diff --git a/service/cloudfront/examples_test.go b/service/cloudfront/examples_test.go index f5d3278b6da..e2fad461f87 100644 --- a/service/cloudfront/examples_test.go +++ b/service/cloudfront/examples_test.go @@ -101,6 +101,8 @@ func ExampleCloudFront_CreateKeyValueStore_shared00() { fmt.Println(cloudfront.ErrCodeEntitySizeLimitExceeded, aerr.Error()) case cloudfront.ErrCodeInvalidArgument: fmt.Println(cloudfront.ErrCodeInvalidArgument, aerr.Error()) + case cloudfront.ErrCodeUnsupportedOperation: + fmt.Println(cloudfront.ErrCodeUnsupportedOperation, aerr.Error()) default: fmt.Println(aerr.Error()) } @@ -138,6 +140,8 @@ func ExampleCloudFront_DeleteKeyValueStore_shared00() { fmt.Println(cloudfront.ErrCodeCannotDeleteEntityWhileInUse, aerr.Error()) case cloudfront.ErrCodePreconditionFailed: fmt.Println(cloudfront.ErrCodePreconditionFailed, aerr.Error()) + case cloudfront.ErrCodeUnsupportedOperation: + fmt.Println(cloudfront.ErrCodeUnsupportedOperation, aerr.Error()) default: fmt.Println(aerr.Error()) } @@ -170,6 +174,8 @@ func ExampleCloudFront_DescribeKeyValueStore_shared00() { fmt.Println(cloudfront.ErrCodeInvalidArgument, aerr.Error()) case cloudfront.ErrCodeEntityNotFound: fmt.Println(cloudfront.ErrCodeEntityNotFound, aerr.Error()) + case cloudfront.ErrCodeUnsupportedOperation: + fmt.Println(cloudfront.ErrCodeUnsupportedOperation, aerr.Error()) default: fmt.Println(aerr.Error()) } @@ -202,6 +208,8 @@ func ExampleCloudFront_ListKeyValueStores_shared00() { fmt.Println(cloudfront.ErrCodeAccessDenied, aerr.Error()) case cloudfront.ErrCodeInvalidArgument: fmt.Println(cloudfront.ErrCodeInvalidArgument, aerr.Error()) + case cloudfront.ErrCodeUnsupportedOperation: + fmt.Println(cloudfront.ErrCodeUnsupportedOperation, aerr.Error()) default: fmt.Println(aerr.Error()) } @@ -292,6 +300,8 @@ func ExampleCloudFront_UpdateKeyValueStore_shared00() { fmt.Println(cloudfront.ErrCodeInvalidIfMatchVersion, aerr.Error()) case cloudfront.ErrCodePreconditionFailed: fmt.Println(cloudfront.ErrCodePreconditionFailed, aerr.Error()) + case cloudfront.ErrCodeUnsupportedOperation: + fmt.Println(cloudfront.ErrCodeUnsupportedOperation, aerr.Error()) default: fmt.Println(aerr.Error()) } diff --git a/service/cloudwatch/api.go b/service/cloudwatch/api.go index 8dee18983b2..21eef059513 100644 --- a/service/cloudwatch/api.go +++ b/service/cloudwatch/api.go @@ -4299,6 +4299,11 @@ type AnomalyDetector struct { // Deprecated: Use SingleMetricAnomalyDetector.Dimensions property. Dimensions []*Dimension `deprecated:"true" type:"list"` + // This object includes parameters that you can use to provide information about + // your metric to CloudWatch to help it build more accurate anomaly detection + // models. Currently, it includes the PeriodicSpikes parameter. + MetricCharacteristics *MetricCharacteristics `type:"structure"` + // The CloudWatch metric math expression for this anomaly detector. MetricMathAnomalyDetector *MetricMathAnomalyDetector `type:"structure"` @@ -4320,8 +4325,7 @@ type AnomalyDetector struct { // Deprecated: Use SingleMetricAnomalyDetector.Stat property. Stat *string `deprecated:"true" type:"string"` - // The current status of the anomaly detector's training. The possible values - // are TRAINED | PENDING_TRAINING | TRAINED_INSUFFICIENT_DATA + // The current status of the anomaly detector's training. StateValue *string `type:"string" enum:"AnomalyDetectorStateValue"` } @@ -4355,6 +4359,12 @@ func (s *AnomalyDetector) SetDimensions(v []*Dimension) *AnomalyDetector { return s } +// SetMetricCharacteristics sets the MetricCharacteristics field's value. +func (s *AnomalyDetector) SetMetricCharacteristics(v *MetricCharacteristics) *AnomalyDetector { + s.MetricCharacteristics = v + return s +} + // SetMetricMathAnomalyDetector sets the MetricMathAnomalyDetector field's value. func (s *AnomalyDetector) SetMetricMathAnomalyDetector(v *MetricMathAnomalyDetector) *AnomalyDetector { s.MetricMathAnomalyDetector = v @@ -9262,6 +9272,42 @@ func (s *MetricAlarm) SetUnit(v string) *MetricAlarm { return s } +// This object includes parameters that you can use to provide information to +// CloudWatch to help it build more accurate anomaly detection models. +type MetricCharacteristics struct { + _ struct{} `type:"structure"` + + // Set this parameter to true if values for this metric consistently include + // spikes that should not be considered to be anomalies. With this set to true, + // CloudWatch will expect to see spikes that occurred consistently during the + // model training period, and won't flag future similar spikes as anomalies. + PeriodicSpikes *bool `type:"boolean"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MetricCharacteristics) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MetricCharacteristics) GoString() string { + return s.String() +} + +// SetPeriodicSpikes sets the PeriodicSpikes field's value. +func (s *MetricCharacteristics) SetPeriodicSpikes(v bool) *MetricCharacteristics { + s.PeriodicSpikes = &v + return s +} + // This structure is used in both GetMetricData and PutMetricAlarm. The supported // use of this structure is different for those two operations. // @@ -10286,6 +10332,11 @@ type PutAnomalyDetectorInput struct { // Deprecated: Use SingleMetricAnomalyDetector. Dimensions []*Dimension `deprecated:"true" type:"list"` + // Use this object to include parameters to provide information about your metric + // to CloudWatch to help it build more accurate anomaly detection models. Currently, + // it includes the PeriodicSpikes parameter. + MetricCharacteristics *MetricCharacteristics `type:"structure"` + // The metric math anomaly detector to be created. // // When using MetricMathAnomalyDetector, you cannot include the following parameters @@ -10411,6 +10462,12 @@ func (s *PutAnomalyDetectorInput) SetDimensions(v []*Dimension) *PutAnomalyDetec return s } +// SetMetricCharacteristics sets the MetricCharacteristics field's value. +func (s *PutAnomalyDetectorInput) SetMetricCharacteristics(v *MetricCharacteristics) *PutAnomalyDetectorInput { + s.MetricCharacteristics = v + return s +} + // SetMetricMathAnomalyDetector sets the MetricMathAnomalyDetector field's value. func (s *PutAnomalyDetectorInput) SetMetricMathAnomalyDetector(v *MetricMathAnomalyDetector) *PutAnomalyDetectorInput { s.MetricMathAnomalyDetector = v diff --git a/service/codebuild/api.go b/service/codebuild/api.go index b8248a1e2d3..c5d48fd9e72 100644 --- a/service/codebuild/api.go +++ b/service/codebuild/api.go @@ -10048,7 +10048,7 @@ type ImportSourceCredentialsInput struct { ShouldOverwrite *bool `locationName:"shouldOverwrite" type:"boolean"` // For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, - // this is the app password. + // this is either the access token or the app password. // // Token is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by ImportSourceCredentialsInput's diff --git a/service/iam/api.go b/service/iam/api.go index 389613848bf..4b9f6181b11 100644 --- a/service/iam/api.go +++ b/service/iam/api.go @@ -1400,6 +1400,10 @@ func (c *IAM) CreateOpenIDConnectProviderRequest(input *CreateOpenIDConnectProvi // The request processing has failed because of an unknown error, exception // or failure. // +// - ErrCodeOpenIdIdpCommunicationErrorException "OpenIdIdpCommunicationError" +// The request failed because IAM cannot connect to the OpenID Connect identity +// provider URL. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateOpenIDConnectProvider func (c *IAM) CreateOpenIDConnectProvider(input *CreateOpenIDConnectProviderInput) (*CreateOpenIDConnectProviderOutput, error) { req, out := c.CreateOpenIDConnectProviderRequest(input) @@ -13673,7 +13677,7 @@ func (c *IAM) RemoveRoleFromInstanceProfileRequest(input *RemoveRoleFromInstance // RemoveRoleFromInstanceProfile API operation for AWS Identity and Access Management. // -// Removes the specified IAM role from the specified EC2 instance profile. +// Removes the specified IAM role from the specified Amazon EC2 instance profile. // // Make sure that you do not have any Amazon EC2 instances running with the // role you are about to remove from the instance profile. Removing a role from @@ -19920,11 +19924,14 @@ type CreateOpenIDConnectProviderInput struct { // lets you maintain multiple thumbprints if the identity provider is rotating // certificates. // + // This parameter is optional. If it is not included, IAM will retrieve and + // use the top intermediate certificate authority (CA) thumbprint of the OpenID + // Connect identity provider server certificate. + // // The server certificate thumbprint is the hex-encoded SHA-1 hash value of // the X.509 certificate used by the domain where the OpenID Connect provider // makes its keys available. It is always a 40-character string. // - // You must provide at least one thumbprint when creating an IAM OIDC provider. // For example, assume that the OIDC provider is server.example.com and the // provider stores its keys at https://keys.server.example.com/openid-connect. // In that case, the thumbprint string would be the hex-encoded SHA-1 hash value @@ -19933,9 +19940,7 @@ type CreateOpenIDConnectProviderInput struct { // For more information about obtaining the OIDC provider thumbprint, see Obtaining // the thumbprint for an OpenID Connect provider (https://docs.aws.amazon.com/IAM/latest/UserGuide/identity-providers-oidc-obtain-thumbprint.html) // in the IAM user Guide. - // - // ThumbprintList is a required field - ThumbprintList []*string `type:"list" required:"true"` + ThumbprintList []*string `type:"list"` // The URL of the identity provider. The URL must begin with https:// and should // correspond to the iss claim in the provider's OpenID Connect ID tokens. Per @@ -19973,9 +19978,6 @@ func (s CreateOpenIDConnectProviderInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *CreateOpenIDConnectProviderInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "CreateOpenIDConnectProviderInput"} - if s.ThumbprintList == nil { - invalidParams.Add(request.NewErrParamRequired("ThumbprintList")) - } if s.Url == nil { invalidParams.Add(request.NewErrParamRequired("Url")) } @@ -36400,12 +36402,12 @@ type SimulateCustomPolicyInput struct { // can omit this parameter. The following list shows each of the supported scenario // values and the resources that you must define to run the simulation. // - // Each of the EC2 scenarios requires that you specify instance, image, and - // security group resources. If your scenario includes an EBS volume, then you - // must specify that volume as a resource. If the EC2 scenario includes VPC, - // then you must supply the network interface resource. If it includes an IP - // subnet, then you must specify the subnet resource. For more information on - // the EC2 scenario options, see Supported platforms (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html) + // Each of the Amazon EC2 scenarios requires that you specify instance, image, + // and security group resources. If your scenario includes an EBS volume, then + // you must specify that volume as a resource. If the Amazon EC2 scenario includes + // VPC, then you must supply the network interface resource. If it includes + // an IP subnet, then you must specify the subnet resource. For more information + // on the Amazon EC2 scenario options, see Supported platforms (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html) // in the Amazon EC2 User Guide. // // * EC2-VPC-InstanceStore instance, image, security group, network interface @@ -36783,12 +36785,12 @@ type SimulatePrincipalPolicyInput struct { // can omit this parameter. The following list shows each of the supported scenario // values and the resources that you must define to run the simulation. // - // Each of the EC2 scenarios requires that you specify instance, image, and - // security group resources. If your scenario includes an EBS volume, then you - // must specify that volume as a resource. If the EC2 scenario includes VPC, - // then you must supply the network interface resource. If it includes an IP - // subnet, then you must specify the subnet resource. For more information on - // the EC2 scenario options, see Supported platforms (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html) + // Each of the Amazon EC2 scenarios requires that you specify instance, image, + // and security group resources. If your scenario includes an EBS volume, then + // you must specify that volume as a resource. If the Amazon EC2 scenario includes + // VPC, then you must supply the network interface resource. If it includes + // an IP subnet, then you must specify the subnet resource. For more information + // on the Amazon EC2 scenario options, see Supported platforms (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html) // in the Amazon EC2 User Guide. // // * EC2-VPC-InstanceStore instance, image, security group, network interface @@ -39565,6 +39567,9 @@ type UpdateRoleInput struct { // operations to create a console URL. For more information, see Using IAM roles // (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html) in the // IAM User Guide. + // + // IAM role credentials provided by Amazon EC2 instances assigned to the role + // are not subject to the specified maximum session duration. MaxSessionDuration *int64 `min:"3600" type:"integer"` // The name of the role that you want to modify. diff --git a/service/iam/errors.go b/service/iam/errors.go index de6dfec0225..c46f6dfc603 100644 --- a/service/iam/errors.go +++ b/service/iam/errors.go @@ -142,6 +142,13 @@ const ( // not exist. The error message describes the resource. ErrCodeNoSuchEntityException = "NoSuchEntity" + // ErrCodeOpenIdIdpCommunicationErrorException for service response error code + // "OpenIdIdpCommunicationError". + // + // The request failed because IAM cannot connect to the OpenID Connect identity + // provider URL. + ErrCodeOpenIdIdpCommunicationErrorException = "OpenIdIdpCommunicationError" + // ErrCodePasswordPolicyViolationException for service response error code // "PasswordPolicyViolation". // diff --git a/service/iam/examples_test.go b/service/iam/examples_test.go index 22ba82a868f..baa75636266 100644 --- a/service/iam/examples_test.go +++ b/service/iam/examples_test.go @@ -493,6 +493,8 @@ func ExampleIAM_CreateOpenIDConnectProvider_shared00() { fmt.Println(iam.ErrCodeConcurrentModificationException, aerr.Error()) case iam.ErrCodeServiceFailureException: fmt.Println(iam.ErrCodeServiceFailureException, aerr.Error()) + case iam.ErrCodeOpenIdIdpCommunicationErrorException: + fmt.Println(iam.ErrCodeOpenIdIdpCommunicationErrorException, aerr.Error()) default: fmt.Println(aerr.Error()) } diff --git a/service/medialive/api.go b/service/medialive/api.go index 592ceafc9eb..a45c6dc2253 100644 --- a/service/medialive/api.go +++ b/service/medialive/api.go @@ -759,6 +759,363 @@ func (c *MediaLive) CreateChannelWithContext(ctx aws.Context, input *CreateChann return out, req.Send() } +const opCreateCloudWatchAlarmTemplate = "CreateCloudWatchAlarmTemplate" + +// CreateCloudWatchAlarmTemplateRequest generates a "aws/request.Request" representing the +// client's request for the CreateCloudWatchAlarmTemplate operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateCloudWatchAlarmTemplate for more information on using the CreateCloudWatchAlarmTemplate +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CreateCloudWatchAlarmTemplateRequest method. +// req, resp := client.CreateCloudWatchAlarmTemplateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateCloudWatchAlarmTemplate +func (c *MediaLive) CreateCloudWatchAlarmTemplateRequest(input *CreateCloudWatchAlarmTemplateInput) (req *request.Request, output *CreateCloudWatchAlarmTemplateOutput) { + op := &request.Operation{ + Name: opCreateCloudWatchAlarmTemplate, + HTTPMethod: "POST", + HTTPPath: "/prod/cloudwatch-alarm-templates", + } + + if input == nil { + input = &CreateCloudWatchAlarmTemplateInput{} + } + + output = &CreateCloudWatchAlarmTemplateOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateCloudWatchAlarmTemplate API operation for AWS Elemental MediaLive. +// +// Creates a cloudwatch alarm template to dynamically generate cloudwatch metric +// alarms on targeted resource types. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation CreateCloudWatchAlarmTemplate for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// - NotFoundException +// +// - TooManyRequestsException +// +// - ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateCloudWatchAlarmTemplate +func (c *MediaLive) CreateCloudWatchAlarmTemplate(input *CreateCloudWatchAlarmTemplateInput) (*CreateCloudWatchAlarmTemplateOutput, error) { + req, out := c.CreateCloudWatchAlarmTemplateRequest(input) + return out, req.Send() +} + +// CreateCloudWatchAlarmTemplateWithContext is the same as CreateCloudWatchAlarmTemplate with the addition of +// the ability to pass a context and additional request options. +// +// See CreateCloudWatchAlarmTemplate for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) CreateCloudWatchAlarmTemplateWithContext(ctx aws.Context, input *CreateCloudWatchAlarmTemplateInput, opts ...request.Option) (*CreateCloudWatchAlarmTemplateOutput, error) { + req, out := c.CreateCloudWatchAlarmTemplateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateCloudWatchAlarmTemplateGroup = "CreateCloudWatchAlarmTemplateGroup" + +// CreateCloudWatchAlarmTemplateGroupRequest generates a "aws/request.Request" representing the +// client's request for the CreateCloudWatchAlarmTemplateGroup operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateCloudWatchAlarmTemplateGroup for more information on using the CreateCloudWatchAlarmTemplateGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CreateCloudWatchAlarmTemplateGroupRequest method. +// req, resp := client.CreateCloudWatchAlarmTemplateGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateCloudWatchAlarmTemplateGroup +func (c *MediaLive) CreateCloudWatchAlarmTemplateGroupRequest(input *CreateCloudWatchAlarmTemplateGroupInput) (req *request.Request, output *CreateCloudWatchAlarmTemplateGroupOutput) { + op := &request.Operation{ + Name: opCreateCloudWatchAlarmTemplateGroup, + HTTPMethod: "POST", + HTTPPath: "/prod/cloudwatch-alarm-template-groups", + } + + if input == nil { + input = &CreateCloudWatchAlarmTemplateGroupInput{} + } + + output = &CreateCloudWatchAlarmTemplateGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateCloudWatchAlarmTemplateGroup API operation for AWS Elemental MediaLive. +// +// Creates a cloudwatch alarm template group to group your cloudwatch alarm +// templates and to attach to signal maps for dynamically creating alarms. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation CreateCloudWatchAlarmTemplateGroup for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// - NotFoundException +// +// - TooManyRequestsException +// +// - ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateCloudWatchAlarmTemplateGroup +func (c *MediaLive) CreateCloudWatchAlarmTemplateGroup(input *CreateCloudWatchAlarmTemplateGroupInput) (*CreateCloudWatchAlarmTemplateGroupOutput, error) { + req, out := c.CreateCloudWatchAlarmTemplateGroupRequest(input) + return out, req.Send() +} + +// CreateCloudWatchAlarmTemplateGroupWithContext is the same as CreateCloudWatchAlarmTemplateGroup with the addition of +// the ability to pass a context and additional request options. +// +// See CreateCloudWatchAlarmTemplateGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) CreateCloudWatchAlarmTemplateGroupWithContext(ctx aws.Context, input *CreateCloudWatchAlarmTemplateGroupInput, opts ...request.Option) (*CreateCloudWatchAlarmTemplateGroupOutput, error) { + req, out := c.CreateCloudWatchAlarmTemplateGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateEventBridgeRuleTemplate = "CreateEventBridgeRuleTemplate" + +// CreateEventBridgeRuleTemplateRequest generates a "aws/request.Request" representing the +// client's request for the CreateEventBridgeRuleTemplate operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateEventBridgeRuleTemplate for more information on using the CreateEventBridgeRuleTemplate +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CreateEventBridgeRuleTemplateRequest method. +// req, resp := client.CreateEventBridgeRuleTemplateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateEventBridgeRuleTemplate +func (c *MediaLive) CreateEventBridgeRuleTemplateRequest(input *CreateEventBridgeRuleTemplateInput) (req *request.Request, output *CreateEventBridgeRuleTemplateOutput) { + op := &request.Operation{ + Name: opCreateEventBridgeRuleTemplate, + HTTPMethod: "POST", + HTTPPath: "/prod/eventbridge-rule-templates", + } + + if input == nil { + input = &CreateEventBridgeRuleTemplateInput{} + } + + output = &CreateEventBridgeRuleTemplateOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateEventBridgeRuleTemplate API operation for AWS Elemental MediaLive. +// +// Creates an eventbridge rule template to monitor events and send notifications +// to your targeted resources. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation CreateEventBridgeRuleTemplate for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// - NotFoundException +// +// - TooManyRequestsException +// +// - ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateEventBridgeRuleTemplate +func (c *MediaLive) CreateEventBridgeRuleTemplate(input *CreateEventBridgeRuleTemplateInput) (*CreateEventBridgeRuleTemplateOutput, error) { + req, out := c.CreateEventBridgeRuleTemplateRequest(input) + return out, req.Send() +} + +// CreateEventBridgeRuleTemplateWithContext is the same as CreateEventBridgeRuleTemplate with the addition of +// the ability to pass a context and additional request options. +// +// See CreateEventBridgeRuleTemplate for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) CreateEventBridgeRuleTemplateWithContext(ctx aws.Context, input *CreateEventBridgeRuleTemplateInput, opts ...request.Option) (*CreateEventBridgeRuleTemplateOutput, error) { + req, out := c.CreateEventBridgeRuleTemplateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateEventBridgeRuleTemplateGroup = "CreateEventBridgeRuleTemplateGroup" + +// CreateEventBridgeRuleTemplateGroupRequest generates a "aws/request.Request" representing the +// client's request for the CreateEventBridgeRuleTemplateGroup operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateEventBridgeRuleTemplateGroup for more information on using the CreateEventBridgeRuleTemplateGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CreateEventBridgeRuleTemplateGroupRequest method. +// req, resp := client.CreateEventBridgeRuleTemplateGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateEventBridgeRuleTemplateGroup +func (c *MediaLive) CreateEventBridgeRuleTemplateGroupRequest(input *CreateEventBridgeRuleTemplateGroupInput) (req *request.Request, output *CreateEventBridgeRuleTemplateGroupOutput) { + op := &request.Operation{ + Name: opCreateEventBridgeRuleTemplateGroup, + HTTPMethod: "POST", + HTTPPath: "/prod/eventbridge-rule-template-groups", + } + + if input == nil { + input = &CreateEventBridgeRuleTemplateGroupInput{} + } + + output = &CreateEventBridgeRuleTemplateGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateEventBridgeRuleTemplateGroup API operation for AWS Elemental MediaLive. +// +// Creates an eventbridge rule template group to group your eventbridge rule +// templates and to attach to signal maps for dynamically creating notification +// rules. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation CreateEventBridgeRuleTemplateGroup for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// - NotFoundException +// +// - TooManyRequestsException +// +// - ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateEventBridgeRuleTemplateGroup +func (c *MediaLive) CreateEventBridgeRuleTemplateGroup(input *CreateEventBridgeRuleTemplateGroupInput) (*CreateEventBridgeRuleTemplateGroupOutput, error) { + req, out := c.CreateEventBridgeRuleTemplateGroupRequest(input) + return out, req.Send() +} + +// CreateEventBridgeRuleTemplateGroupWithContext is the same as CreateEventBridgeRuleTemplateGroup with the addition of +// the ability to pass a context and additional request options. +// +// See CreateEventBridgeRuleTemplateGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) CreateEventBridgeRuleTemplateGroupWithContext(ctx aws.Context, input *CreateEventBridgeRuleTemplateGroupInput, opts ...request.Option) (*CreateEventBridgeRuleTemplateGroupOutput, error) { + req, out := c.CreateEventBridgeRuleTemplateGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateInput = "CreateInput" // CreateInputRequest generates a "aws/request.Request" representing the @@ -1207,6 +1564,95 @@ func (c *MediaLive) CreatePartnerInputWithContext(ctx aws.Context, input *Create return out, req.Send() } +const opCreateSignalMap = "CreateSignalMap" + +// CreateSignalMapRequest generates a "aws/request.Request" representing the +// client's request for the CreateSignalMap operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateSignalMap for more information on using the CreateSignalMap +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CreateSignalMapRequest method. +// req, resp := client.CreateSignalMapRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateSignalMap +func (c *MediaLive) CreateSignalMapRequest(input *CreateSignalMapInput) (req *request.Request, output *CreateSignalMapOutput) { + op := &request.Operation{ + Name: opCreateSignalMap, + HTTPMethod: "POST", + HTTPPath: "/prod/signal-maps", + } + + if input == nil { + input = &CreateSignalMapInput{} + } + + output = &CreateSignalMapOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateSignalMap API operation for AWS Elemental MediaLive. +// +// Initiates the creation of a new signal map. Will discover a new mediaResourceMap +// based on the provided discoveryEntryPointArn. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation CreateSignalMap for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// - NotFoundException +// +// - TooManyRequestsException +// +// - ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateSignalMap +func (c *MediaLive) CreateSignalMap(input *CreateSignalMapInput) (*CreateSignalMapOutput, error) { + req, out := c.CreateSignalMapRequest(input) + return out, req.Send() +} + +// CreateSignalMapWithContext is the same as CreateSignalMap with the addition of +// the ability to pass a context and additional request options. +// +// See CreateSignalMap for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) CreateSignalMapWithContext(ctx aws.Context, input *CreateSignalMapInput, opts ...request.Option) (*CreateSignalMapOutput, error) { + req, out := c.CreateSignalMapRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateTags = "CreateTags" // CreateTagsRequest generates a "aws/request.Request" representing the @@ -1384,58 +1830,58 @@ func (c *MediaLive) DeleteChannelWithContext(ctx aws.Context, input *DeleteChann return out, req.Send() } -const opDeleteInput = "DeleteInput" +const opDeleteCloudWatchAlarmTemplate = "DeleteCloudWatchAlarmTemplate" -// DeleteInputRequest generates a "aws/request.Request" representing the -// client's request for the DeleteInput operation. The "output" return +// DeleteCloudWatchAlarmTemplateRequest generates a "aws/request.Request" representing the +// client's request for the DeleteCloudWatchAlarmTemplate operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DeleteInput for more information on using the DeleteInput +// See DeleteCloudWatchAlarmTemplate for more information on using the DeleteCloudWatchAlarmTemplate // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the DeleteInputRequest method. -// req, resp := client.DeleteInputRequest(params) +// // Example sending a request using the DeleteCloudWatchAlarmTemplateRequest method. +// req, resp := client.DeleteCloudWatchAlarmTemplateRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInput -func (c *MediaLive) DeleteInputRequest(input *DeleteInputInput) (req *request.Request, output *DeleteInputOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteCloudWatchAlarmTemplate +func (c *MediaLive) DeleteCloudWatchAlarmTemplateRequest(input *DeleteCloudWatchAlarmTemplateInput) (req *request.Request, output *DeleteCloudWatchAlarmTemplateOutput) { op := &request.Operation{ - Name: opDeleteInput, + Name: opDeleteCloudWatchAlarmTemplate, HTTPMethod: "DELETE", - HTTPPath: "/prod/inputs/{inputId}", + HTTPPath: "/prod/cloudwatch-alarm-templates/{identifier}", } if input == nil { - input = &DeleteInputInput{} + input = &DeleteCloudWatchAlarmTemplateInput{} } - output = &DeleteInputOutput{} + output = &DeleteCloudWatchAlarmTemplateOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// DeleteInput API operation for AWS Elemental MediaLive. +// DeleteCloudWatchAlarmTemplate API operation for AWS Elemental MediaLive. // -// # Deletes the input end point +// Deletes a cloudwatch alarm template. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation DeleteInput for usage and error information. +// API operation DeleteCloudWatchAlarmTemplate for usage and error information. // // Returned Error Types: // @@ -1445,90 +1891,88 @@ func (c *MediaLive) DeleteInputRequest(input *DeleteInputInput) (req *request.Re // // - ForbiddenException // -// - BadGatewayException -// // - NotFoundException // -// - GatewayTimeoutException -// // - TooManyRequestsException // // - ConflictException // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInput -func (c *MediaLive) DeleteInput(input *DeleteInputInput) (*DeleteInputOutput, error) { - req, out := c.DeleteInputRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteCloudWatchAlarmTemplate +func (c *MediaLive) DeleteCloudWatchAlarmTemplate(input *DeleteCloudWatchAlarmTemplateInput) (*DeleteCloudWatchAlarmTemplateOutput, error) { + req, out := c.DeleteCloudWatchAlarmTemplateRequest(input) return out, req.Send() } -// DeleteInputWithContext is the same as DeleteInput with the addition of +// DeleteCloudWatchAlarmTemplateWithContext is the same as DeleteCloudWatchAlarmTemplate with the addition of // the ability to pass a context and additional request options. // -// See DeleteInput for details on how to use this API operation. +// See DeleteCloudWatchAlarmTemplate for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) DeleteInputWithContext(ctx aws.Context, input *DeleteInputInput, opts ...request.Option) (*DeleteInputOutput, error) { - req, out := c.DeleteInputRequest(input) +func (c *MediaLive) DeleteCloudWatchAlarmTemplateWithContext(ctx aws.Context, input *DeleteCloudWatchAlarmTemplateInput, opts ...request.Option) (*DeleteCloudWatchAlarmTemplateOutput, error) { + req, out := c.DeleteCloudWatchAlarmTemplateRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDeleteInputSecurityGroup = "DeleteInputSecurityGroup" +const opDeleteCloudWatchAlarmTemplateGroup = "DeleteCloudWatchAlarmTemplateGroup" -// DeleteInputSecurityGroupRequest generates a "aws/request.Request" representing the -// client's request for the DeleteInputSecurityGroup operation. The "output" return +// DeleteCloudWatchAlarmTemplateGroupRequest generates a "aws/request.Request" representing the +// client's request for the DeleteCloudWatchAlarmTemplateGroup operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DeleteInputSecurityGroup for more information on using the DeleteInputSecurityGroup +// See DeleteCloudWatchAlarmTemplateGroup for more information on using the DeleteCloudWatchAlarmTemplateGroup // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the DeleteInputSecurityGroupRequest method. -// req, resp := client.DeleteInputSecurityGroupRequest(params) +// // Example sending a request using the DeleteCloudWatchAlarmTemplateGroupRequest method. +// req, resp := client.DeleteCloudWatchAlarmTemplateGroupRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInputSecurityGroup -func (c *MediaLive) DeleteInputSecurityGroupRequest(input *DeleteInputSecurityGroupInput) (req *request.Request, output *DeleteInputSecurityGroupOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteCloudWatchAlarmTemplateGroup +func (c *MediaLive) DeleteCloudWatchAlarmTemplateGroupRequest(input *DeleteCloudWatchAlarmTemplateGroupInput) (req *request.Request, output *DeleteCloudWatchAlarmTemplateGroupOutput) { op := &request.Operation{ - Name: opDeleteInputSecurityGroup, + Name: opDeleteCloudWatchAlarmTemplateGroup, HTTPMethod: "DELETE", - HTTPPath: "/prod/inputSecurityGroups/{inputSecurityGroupId}", + HTTPPath: "/prod/cloudwatch-alarm-template-groups/{identifier}", } if input == nil { - input = &DeleteInputSecurityGroupInput{} + input = &DeleteCloudWatchAlarmTemplateGroupInput{} } - output = &DeleteInputSecurityGroupOutput{} + output = &DeleteCloudWatchAlarmTemplateGroupOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// DeleteInputSecurityGroup API operation for AWS Elemental MediaLive. +// DeleteCloudWatchAlarmTemplateGroup API operation for AWS Elemental MediaLive. // -// # Deletes an Input Security Group +// Deletes a cloudwatch alarm template group. You must detach this group from +// all signal maps and ensure its existing templates are moved to another group +// or deleted. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation DeleteInputSecurityGroup for usage and error information. +// API operation DeleteCloudWatchAlarmTemplateGroup for usage and error information. // // Returned Error Types: // @@ -1538,87 +1982,86 @@ func (c *MediaLive) DeleteInputSecurityGroupRequest(input *DeleteInputSecurityGr // // - ForbiddenException // -// - BadGatewayException -// // - NotFoundException // -// - GatewayTimeoutException -// // - TooManyRequestsException // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInputSecurityGroup -func (c *MediaLive) DeleteInputSecurityGroup(input *DeleteInputSecurityGroupInput) (*DeleteInputSecurityGroupOutput, error) { - req, out := c.DeleteInputSecurityGroupRequest(input) +// - ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteCloudWatchAlarmTemplateGroup +func (c *MediaLive) DeleteCloudWatchAlarmTemplateGroup(input *DeleteCloudWatchAlarmTemplateGroupInput) (*DeleteCloudWatchAlarmTemplateGroupOutput, error) { + req, out := c.DeleteCloudWatchAlarmTemplateGroupRequest(input) return out, req.Send() } -// DeleteInputSecurityGroupWithContext is the same as DeleteInputSecurityGroup with the addition of +// DeleteCloudWatchAlarmTemplateGroupWithContext is the same as DeleteCloudWatchAlarmTemplateGroup with the addition of // the ability to pass a context and additional request options. // -// See DeleteInputSecurityGroup for details on how to use this API operation. +// See DeleteCloudWatchAlarmTemplateGroup for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) DeleteInputSecurityGroupWithContext(ctx aws.Context, input *DeleteInputSecurityGroupInput, opts ...request.Option) (*DeleteInputSecurityGroupOutput, error) { - req, out := c.DeleteInputSecurityGroupRequest(input) +func (c *MediaLive) DeleteCloudWatchAlarmTemplateGroupWithContext(ctx aws.Context, input *DeleteCloudWatchAlarmTemplateGroupInput, opts ...request.Option) (*DeleteCloudWatchAlarmTemplateGroupOutput, error) { + req, out := c.DeleteCloudWatchAlarmTemplateGroupRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDeleteMultiplex = "DeleteMultiplex" +const opDeleteEventBridgeRuleTemplate = "DeleteEventBridgeRuleTemplate" -// DeleteMultiplexRequest generates a "aws/request.Request" representing the -// client's request for the DeleteMultiplex operation. The "output" return +// DeleteEventBridgeRuleTemplateRequest generates a "aws/request.Request" representing the +// client's request for the DeleteEventBridgeRuleTemplate operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DeleteMultiplex for more information on using the DeleteMultiplex +// See DeleteEventBridgeRuleTemplate for more information on using the DeleteEventBridgeRuleTemplate // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the DeleteMultiplexRequest method. -// req, resp := client.DeleteMultiplexRequest(params) +// // Example sending a request using the DeleteEventBridgeRuleTemplateRequest method. +// req, resp := client.DeleteEventBridgeRuleTemplateRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteMultiplex -func (c *MediaLive) DeleteMultiplexRequest(input *DeleteMultiplexInput) (req *request.Request, output *DeleteMultiplexOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteEventBridgeRuleTemplate +func (c *MediaLive) DeleteEventBridgeRuleTemplateRequest(input *DeleteEventBridgeRuleTemplateInput) (req *request.Request, output *DeleteEventBridgeRuleTemplateOutput) { op := &request.Operation{ - Name: opDeleteMultiplex, + Name: opDeleteEventBridgeRuleTemplate, HTTPMethod: "DELETE", - HTTPPath: "/prod/multiplexes/{multiplexId}", + HTTPPath: "/prod/eventbridge-rule-templates/{identifier}", } if input == nil { - input = &DeleteMultiplexInput{} + input = &DeleteEventBridgeRuleTemplateInput{} } - output = &DeleteMultiplexOutput{} + output = &DeleteEventBridgeRuleTemplateOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// DeleteMultiplex API operation for AWS Elemental MediaLive. +// DeleteEventBridgeRuleTemplate API operation for AWS Elemental MediaLive. // -// Delete a multiplex. The multiplex must be idle. +// Deletes an eventbridge rule template. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation DeleteMultiplex for usage and error information. +// API operation DeleteEventBridgeRuleTemplate for usage and error information. // // Returned Error Types: // @@ -1628,89 +2071,88 @@ func (c *MediaLive) DeleteMultiplexRequest(input *DeleteMultiplexInput) (req *re // // - ForbiddenException // -// - BadGatewayException -// // - NotFoundException // -// - GatewayTimeoutException -// // - TooManyRequestsException // // - ConflictException // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteMultiplex -func (c *MediaLive) DeleteMultiplex(input *DeleteMultiplexInput) (*DeleteMultiplexOutput, error) { - req, out := c.DeleteMultiplexRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteEventBridgeRuleTemplate +func (c *MediaLive) DeleteEventBridgeRuleTemplate(input *DeleteEventBridgeRuleTemplateInput) (*DeleteEventBridgeRuleTemplateOutput, error) { + req, out := c.DeleteEventBridgeRuleTemplateRequest(input) return out, req.Send() } -// DeleteMultiplexWithContext is the same as DeleteMultiplex with the addition of +// DeleteEventBridgeRuleTemplateWithContext is the same as DeleteEventBridgeRuleTemplate with the addition of // the ability to pass a context and additional request options. // -// See DeleteMultiplex for details on how to use this API operation. +// See DeleteEventBridgeRuleTemplate for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) DeleteMultiplexWithContext(ctx aws.Context, input *DeleteMultiplexInput, opts ...request.Option) (*DeleteMultiplexOutput, error) { - req, out := c.DeleteMultiplexRequest(input) +func (c *MediaLive) DeleteEventBridgeRuleTemplateWithContext(ctx aws.Context, input *DeleteEventBridgeRuleTemplateInput, opts ...request.Option) (*DeleteEventBridgeRuleTemplateOutput, error) { + req, out := c.DeleteEventBridgeRuleTemplateRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDeleteMultiplexProgram = "DeleteMultiplexProgram" +const opDeleteEventBridgeRuleTemplateGroup = "DeleteEventBridgeRuleTemplateGroup" -// DeleteMultiplexProgramRequest generates a "aws/request.Request" representing the -// client's request for the DeleteMultiplexProgram operation. The "output" return +// DeleteEventBridgeRuleTemplateGroupRequest generates a "aws/request.Request" representing the +// client's request for the DeleteEventBridgeRuleTemplateGroup operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DeleteMultiplexProgram for more information on using the DeleteMultiplexProgram +// See DeleteEventBridgeRuleTemplateGroup for more information on using the DeleteEventBridgeRuleTemplateGroup // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the DeleteMultiplexProgramRequest method. -// req, resp := client.DeleteMultiplexProgramRequest(params) +// // Example sending a request using the DeleteEventBridgeRuleTemplateGroupRequest method. +// req, resp := client.DeleteEventBridgeRuleTemplateGroupRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteMultiplexProgram -func (c *MediaLive) DeleteMultiplexProgramRequest(input *DeleteMultiplexProgramInput) (req *request.Request, output *DeleteMultiplexProgramOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteEventBridgeRuleTemplateGroup +func (c *MediaLive) DeleteEventBridgeRuleTemplateGroupRequest(input *DeleteEventBridgeRuleTemplateGroupInput) (req *request.Request, output *DeleteEventBridgeRuleTemplateGroupOutput) { op := &request.Operation{ - Name: opDeleteMultiplexProgram, + Name: opDeleteEventBridgeRuleTemplateGroup, HTTPMethod: "DELETE", - HTTPPath: "/prod/multiplexes/{multiplexId}/programs/{programName}", + HTTPPath: "/prod/eventbridge-rule-template-groups/{identifier}", } if input == nil { - input = &DeleteMultiplexProgramInput{} + input = &DeleteEventBridgeRuleTemplateGroupInput{} } - output = &DeleteMultiplexProgramOutput{} + output = &DeleteEventBridgeRuleTemplateGroupOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// DeleteMultiplexProgram API operation for AWS Elemental MediaLive. +// DeleteEventBridgeRuleTemplateGroup API operation for AWS Elemental MediaLive. // -// Delete a program from a multiplex. +// Deletes an eventbridge rule template group. You must detach this group from +// all signal maps and ensure its existing templates are moved to another group +// or deleted. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation DeleteMultiplexProgram for usage and error information. +// API operation DeleteEventBridgeRuleTemplateGroup for usage and error information. // // Returned Error Types: // @@ -1720,89 +2162,86 @@ func (c *MediaLive) DeleteMultiplexProgramRequest(input *DeleteMultiplexProgramI // // - ForbiddenException // -// - BadGatewayException -// // - NotFoundException // -// - GatewayTimeoutException -// // - TooManyRequestsException // // - ConflictException // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteMultiplexProgram -func (c *MediaLive) DeleteMultiplexProgram(input *DeleteMultiplexProgramInput) (*DeleteMultiplexProgramOutput, error) { - req, out := c.DeleteMultiplexProgramRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteEventBridgeRuleTemplateGroup +func (c *MediaLive) DeleteEventBridgeRuleTemplateGroup(input *DeleteEventBridgeRuleTemplateGroupInput) (*DeleteEventBridgeRuleTemplateGroupOutput, error) { + req, out := c.DeleteEventBridgeRuleTemplateGroupRequest(input) return out, req.Send() } -// DeleteMultiplexProgramWithContext is the same as DeleteMultiplexProgram with the addition of +// DeleteEventBridgeRuleTemplateGroupWithContext is the same as DeleteEventBridgeRuleTemplateGroup with the addition of // the ability to pass a context and additional request options. // -// See DeleteMultiplexProgram for details on how to use this API operation. +// See DeleteEventBridgeRuleTemplateGroup for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) DeleteMultiplexProgramWithContext(ctx aws.Context, input *DeleteMultiplexProgramInput, opts ...request.Option) (*DeleteMultiplexProgramOutput, error) { - req, out := c.DeleteMultiplexProgramRequest(input) +func (c *MediaLive) DeleteEventBridgeRuleTemplateGroupWithContext(ctx aws.Context, input *DeleteEventBridgeRuleTemplateGroupInput, opts ...request.Option) (*DeleteEventBridgeRuleTemplateGroupOutput, error) { + req, out := c.DeleteEventBridgeRuleTemplateGroupRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDeleteReservation = "DeleteReservation" +const opDeleteInput = "DeleteInput" -// DeleteReservationRequest generates a "aws/request.Request" representing the -// client's request for the DeleteReservation operation. The "output" return +// DeleteInputRequest generates a "aws/request.Request" representing the +// client's request for the DeleteInput operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DeleteReservation for more information on using the DeleteReservation +// See DeleteInput for more information on using the DeleteInput // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the DeleteReservationRequest method. -// req, resp := client.DeleteReservationRequest(params) +// // Example sending a request using the DeleteInputRequest method. +// req, resp := client.DeleteInputRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteReservation -func (c *MediaLive) DeleteReservationRequest(input *DeleteReservationInput) (req *request.Request, output *DeleteReservationOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInput +func (c *MediaLive) DeleteInputRequest(input *DeleteInputInput) (req *request.Request, output *DeleteInputOutput) { op := &request.Operation{ - Name: opDeleteReservation, + Name: opDeleteInput, HTTPMethod: "DELETE", - HTTPPath: "/prod/reservations/{reservationId}", + HTTPPath: "/prod/inputs/{inputId}", } if input == nil { - input = &DeleteReservationInput{} + input = &DeleteInputInput{} } - output = &DeleteReservationOutput{} + output = &DeleteInputOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// DeleteReservation API operation for AWS Elemental MediaLive. +// DeleteInput API operation for AWS Elemental MediaLive. // -// Delete an expired reservation. +// # Deletes the input end point // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation DeleteReservation for usage and error information. +// API operation DeleteInput for usage and error information. // // Returned Error Types: // @@ -1822,80 +2261,447 @@ func (c *MediaLive) DeleteReservationRequest(input *DeleteReservationInput) (req // // - ConflictException // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteReservation -func (c *MediaLive) DeleteReservation(input *DeleteReservationInput) (*DeleteReservationOutput, error) { - req, out := c.DeleteReservationRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInput +func (c *MediaLive) DeleteInput(input *DeleteInputInput) (*DeleteInputOutput, error) { + req, out := c.DeleteInputRequest(input) return out, req.Send() } -// DeleteReservationWithContext is the same as DeleteReservation with the addition of +// DeleteInputWithContext is the same as DeleteInput with the addition of // the ability to pass a context and additional request options. // -// See DeleteReservation for details on how to use this API operation. +// See DeleteInput for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) DeleteReservationWithContext(ctx aws.Context, input *DeleteReservationInput, opts ...request.Option) (*DeleteReservationOutput, error) { - req, out := c.DeleteReservationRequest(input) +func (c *MediaLive) DeleteInputWithContext(ctx aws.Context, input *DeleteInputInput, opts ...request.Option) (*DeleteInputOutput, error) { + req, out := c.DeleteInputRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDeleteSchedule = "DeleteSchedule" +const opDeleteInputSecurityGroup = "DeleteInputSecurityGroup" -// DeleteScheduleRequest generates a "aws/request.Request" representing the -// client's request for the DeleteSchedule operation. The "output" return +// DeleteInputSecurityGroupRequest generates a "aws/request.Request" representing the +// client's request for the DeleteInputSecurityGroup operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DeleteSchedule for more information on using the DeleteSchedule +// See DeleteInputSecurityGroup for more information on using the DeleteInputSecurityGroup // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the DeleteScheduleRequest method. -// req, resp := client.DeleteScheduleRequest(params) +// // Example sending a request using the DeleteInputSecurityGroupRequest method. +// req, resp := client.DeleteInputSecurityGroupRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteSchedule -func (c *MediaLive) DeleteScheduleRequest(input *DeleteScheduleInput) (req *request.Request, output *DeleteScheduleOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInputSecurityGroup +func (c *MediaLive) DeleteInputSecurityGroupRequest(input *DeleteInputSecurityGroupInput) (req *request.Request, output *DeleteInputSecurityGroupOutput) { op := &request.Operation{ - Name: opDeleteSchedule, + Name: opDeleteInputSecurityGroup, HTTPMethod: "DELETE", - HTTPPath: "/prod/channels/{channelId}/schedule", + HTTPPath: "/prod/inputSecurityGroups/{inputSecurityGroupId}", } if input == nil { - input = &DeleteScheduleInput{} + input = &DeleteInputSecurityGroupInput{} } - output = &DeleteScheduleOutput{} + output = &DeleteInputSecurityGroupOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// DeleteSchedule API operation for AWS Elemental MediaLive. +// DeleteInputSecurityGroup API operation for AWS Elemental MediaLive. // -// Delete all schedule actions on a channel. +// # Deletes an Input Security Group // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation DeleteSchedule for usage and error information. +// API operation DeleteInputSecurityGroup for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// - BadGatewayException +// +// - NotFoundException +// +// - GatewayTimeoutException +// +// - TooManyRequestsException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInputSecurityGroup +func (c *MediaLive) DeleteInputSecurityGroup(input *DeleteInputSecurityGroupInput) (*DeleteInputSecurityGroupOutput, error) { + req, out := c.DeleteInputSecurityGroupRequest(input) + return out, req.Send() +} + +// DeleteInputSecurityGroupWithContext is the same as DeleteInputSecurityGroup with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteInputSecurityGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) DeleteInputSecurityGroupWithContext(ctx aws.Context, input *DeleteInputSecurityGroupInput, opts ...request.Option) (*DeleteInputSecurityGroupOutput, error) { + req, out := c.DeleteInputSecurityGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteMultiplex = "DeleteMultiplex" + +// DeleteMultiplexRequest generates a "aws/request.Request" representing the +// client's request for the DeleteMultiplex operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteMultiplex for more information on using the DeleteMultiplex +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteMultiplexRequest method. +// req, resp := client.DeleteMultiplexRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteMultiplex +func (c *MediaLive) DeleteMultiplexRequest(input *DeleteMultiplexInput) (req *request.Request, output *DeleteMultiplexOutput) { + op := &request.Operation{ + Name: opDeleteMultiplex, + HTTPMethod: "DELETE", + HTTPPath: "/prod/multiplexes/{multiplexId}", + } + + if input == nil { + input = &DeleteMultiplexInput{} + } + + output = &DeleteMultiplexOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteMultiplex API operation for AWS Elemental MediaLive. +// +// Delete a multiplex. The multiplex must be idle. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation DeleteMultiplex for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// - BadGatewayException +// +// - NotFoundException +// +// - GatewayTimeoutException +// +// - TooManyRequestsException +// +// - ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteMultiplex +func (c *MediaLive) DeleteMultiplex(input *DeleteMultiplexInput) (*DeleteMultiplexOutput, error) { + req, out := c.DeleteMultiplexRequest(input) + return out, req.Send() +} + +// DeleteMultiplexWithContext is the same as DeleteMultiplex with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteMultiplex for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) DeleteMultiplexWithContext(ctx aws.Context, input *DeleteMultiplexInput, opts ...request.Option) (*DeleteMultiplexOutput, error) { + req, out := c.DeleteMultiplexRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteMultiplexProgram = "DeleteMultiplexProgram" + +// DeleteMultiplexProgramRequest generates a "aws/request.Request" representing the +// client's request for the DeleteMultiplexProgram operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteMultiplexProgram for more information on using the DeleteMultiplexProgram +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteMultiplexProgramRequest method. +// req, resp := client.DeleteMultiplexProgramRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteMultiplexProgram +func (c *MediaLive) DeleteMultiplexProgramRequest(input *DeleteMultiplexProgramInput) (req *request.Request, output *DeleteMultiplexProgramOutput) { + op := &request.Operation{ + Name: opDeleteMultiplexProgram, + HTTPMethod: "DELETE", + HTTPPath: "/prod/multiplexes/{multiplexId}/programs/{programName}", + } + + if input == nil { + input = &DeleteMultiplexProgramInput{} + } + + output = &DeleteMultiplexProgramOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteMultiplexProgram API operation for AWS Elemental MediaLive. +// +// Delete a program from a multiplex. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation DeleteMultiplexProgram for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// - BadGatewayException +// +// - NotFoundException +// +// - GatewayTimeoutException +// +// - TooManyRequestsException +// +// - ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteMultiplexProgram +func (c *MediaLive) DeleteMultiplexProgram(input *DeleteMultiplexProgramInput) (*DeleteMultiplexProgramOutput, error) { + req, out := c.DeleteMultiplexProgramRequest(input) + return out, req.Send() +} + +// DeleteMultiplexProgramWithContext is the same as DeleteMultiplexProgram with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteMultiplexProgram for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) DeleteMultiplexProgramWithContext(ctx aws.Context, input *DeleteMultiplexProgramInput, opts ...request.Option) (*DeleteMultiplexProgramOutput, error) { + req, out := c.DeleteMultiplexProgramRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteReservation = "DeleteReservation" + +// DeleteReservationRequest generates a "aws/request.Request" representing the +// client's request for the DeleteReservation operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteReservation for more information on using the DeleteReservation +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteReservationRequest method. +// req, resp := client.DeleteReservationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteReservation +func (c *MediaLive) DeleteReservationRequest(input *DeleteReservationInput) (req *request.Request, output *DeleteReservationOutput) { + op := &request.Operation{ + Name: opDeleteReservation, + HTTPMethod: "DELETE", + HTTPPath: "/prod/reservations/{reservationId}", + } + + if input == nil { + input = &DeleteReservationInput{} + } + + output = &DeleteReservationOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteReservation API operation for AWS Elemental MediaLive. +// +// Delete an expired reservation. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation DeleteReservation for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// - BadGatewayException +// +// - NotFoundException +// +// - GatewayTimeoutException +// +// - TooManyRequestsException +// +// - ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteReservation +func (c *MediaLive) DeleteReservation(input *DeleteReservationInput) (*DeleteReservationOutput, error) { + req, out := c.DeleteReservationRequest(input) + return out, req.Send() +} + +// DeleteReservationWithContext is the same as DeleteReservation with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteReservation for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) DeleteReservationWithContext(ctx aws.Context, input *DeleteReservationInput, opts ...request.Option) (*DeleteReservationOutput, error) { + req, out := c.DeleteReservationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteSchedule = "DeleteSchedule" + +// DeleteScheduleRequest generates a "aws/request.Request" representing the +// client's request for the DeleteSchedule operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteSchedule for more information on using the DeleteSchedule +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteScheduleRequest method. +// req, resp := client.DeleteScheduleRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteSchedule +func (c *MediaLive) DeleteScheduleRequest(input *DeleteScheduleInput) (req *request.Request, output *DeleteScheduleOutput) { + op := &request.Operation{ + Name: opDeleteSchedule, + HTTPMethod: "DELETE", + HTTPPath: "/prod/channels/{channelId}/schedule", + } + + if input == nil { + input = &DeleteScheduleInput{} + } + + output = &DeleteScheduleOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteSchedule API operation for AWS Elemental MediaLive. +// +// Delete all schedule actions on a channel. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation DeleteSchedule for usage and error information. // // Returned Error Types: // @@ -1935,6 +2741,95 @@ func (c *MediaLive) DeleteScheduleWithContext(ctx aws.Context, input *DeleteSche return out, req.Send() } +const opDeleteSignalMap = "DeleteSignalMap" + +// DeleteSignalMapRequest generates a "aws/request.Request" representing the +// client's request for the DeleteSignalMap operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteSignalMap for more information on using the DeleteSignalMap +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteSignalMapRequest method. +// req, resp := client.DeleteSignalMapRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteSignalMap +func (c *MediaLive) DeleteSignalMapRequest(input *DeleteSignalMapInput) (req *request.Request, output *DeleteSignalMapOutput) { + op := &request.Operation{ + Name: opDeleteSignalMap, + HTTPMethod: "DELETE", + HTTPPath: "/prod/signal-maps/{identifier}", + } + + if input == nil { + input = &DeleteSignalMapInput{} + } + + output = &DeleteSignalMapOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteSignalMap API operation for AWS Elemental MediaLive. +// +// Deletes the specified signal map. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation DeleteSignalMap for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// - NotFoundException +// +// - TooManyRequestsException +// +// - ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteSignalMap +func (c *MediaLive) DeleteSignalMap(input *DeleteSignalMapInput) (*DeleteSignalMapOutput, error) { + req, out := c.DeleteSignalMapRequest(input) + return out, req.Send() +} + +// DeleteSignalMapWithContext is the same as DeleteSignalMap with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteSignalMap for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) DeleteSignalMapWithContext(ctx aws.Context, input *DeleteSignalMapInput, opts ...request.Option) (*DeleteSignalMapOutput, error) { + req, out := c.DeleteSignalMapRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteTags = "DeleteTags" // DeleteTagsRequest generates a "aws/request.Request" representing the @@ -3157,6 +4052,436 @@ func (c *MediaLive) DescribeThumbnailsWithContext(ctx aws.Context, input *Descri return out, req.Send() } +const opGetCloudWatchAlarmTemplate = "GetCloudWatchAlarmTemplate" + +// GetCloudWatchAlarmTemplateRequest generates a "aws/request.Request" representing the +// client's request for the GetCloudWatchAlarmTemplate operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetCloudWatchAlarmTemplate for more information on using the GetCloudWatchAlarmTemplate +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetCloudWatchAlarmTemplateRequest method. +// req, resp := client.GetCloudWatchAlarmTemplateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/GetCloudWatchAlarmTemplate +func (c *MediaLive) GetCloudWatchAlarmTemplateRequest(input *GetCloudWatchAlarmTemplateInput) (req *request.Request, output *GetCloudWatchAlarmTemplateOutput) { + op := &request.Operation{ + Name: opGetCloudWatchAlarmTemplate, + HTTPMethod: "GET", + HTTPPath: "/prod/cloudwatch-alarm-templates/{identifier}", + } + + if input == nil { + input = &GetCloudWatchAlarmTemplateInput{} + } + + output = &GetCloudWatchAlarmTemplateOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetCloudWatchAlarmTemplate API operation for AWS Elemental MediaLive. +// +// Retrieves the specified cloudwatch alarm template. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation GetCloudWatchAlarmTemplate for usage and error information. +// +// Returned Error Types: +// +// - NotFoundException +// +// - TooManyRequestsException +// +// - BadRequestException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/GetCloudWatchAlarmTemplate +func (c *MediaLive) GetCloudWatchAlarmTemplate(input *GetCloudWatchAlarmTemplateInput) (*GetCloudWatchAlarmTemplateOutput, error) { + req, out := c.GetCloudWatchAlarmTemplateRequest(input) + return out, req.Send() +} + +// GetCloudWatchAlarmTemplateWithContext is the same as GetCloudWatchAlarmTemplate with the addition of +// the ability to pass a context and additional request options. +// +// See GetCloudWatchAlarmTemplate for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) GetCloudWatchAlarmTemplateWithContext(ctx aws.Context, input *GetCloudWatchAlarmTemplateInput, opts ...request.Option) (*GetCloudWatchAlarmTemplateOutput, error) { + req, out := c.GetCloudWatchAlarmTemplateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetCloudWatchAlarmTemplateGroup = "GetCloudWatchAlarmTemplateGroup" + +// GetCloudWatchAlarmTemplateGroupRequest generates a "aws/request.Request" representing the +// client's request for the GetCloudWatchAlarmTemplateGroup operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetCloudWatchAlarmTemplateGroup for more information on using the GetCloudWatchAlarmTemplateGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetCloudWatchAlarmTemplateGroupRequest method. +// req, resp := client.GetCloudWatchAlarmTemplateGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/GetCloudWatchAlarmTemplateGroup +func (c *MediaLive) GetCloudWatchAlarmTemplateGroupRequest(input *GetCloudWatchAlarmTemplateGroupInput) (req *request.Request, output *GetCloudWatchAlarmTemplateGroupOutput) { + op := &request.Operation{ + Name: opGetCloudWatchAlarmTemplateGroup, + HTTPMethod: "GET", + HTTPPath: "/prod/cloudwatch-alarm-template-groups/{identifier}", + } + + if input == nil { + input = &GetCloudWatchAlarmTemplateGroupInput{} + } + + output = &GetCloudWatchAlarmTemplateGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetCloudWatchAlarmTemplateGroup API operation for AWS Elemental MediaLive. +// +// Retrieves the specified cloudwatch alarm template group. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation GetCloudWatchAlarmTemplateGroup for usage and error information. +// +// Returned Error Types: +// +// - NotFoundException +// +// - TooManyRequestsException +// +// - BadRequestException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/GetCloudWatchAlarmTemplateGroup +func (c *MediaLive) GetCloudWatchAlarmTemplateGroup(input *GetCloudWatchAlarmTemplateGroupInput) (*GetCloudWatchAlarmTemplateGroupOutput, error) { + req, out := c.GetCloudWatchAlarmTemplateGroupRequest(input) + return out, req.Send() +} + +// GetCloudWatchAlarmTemplateGroupWithContext is the same as GetCloudWatchAlarmTemplateGroup with the addition of +// the ability to pass a context and additional request options. +// +// See GetCloudWatchAlarmTemplateGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) GetCloudWatchAlarmTemplateGroupWithContext(ctx aws.Context, input *GetCloudWatchAlarmTemplateGroupInput, opts ...request.Option) (*GetCloudWatchAlarmTemplateGroupOutput, error) { + req, out := c.GetCloudWatchAlarmTemplateGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetEventBridgeRuleTemplate = "GetEventBridgeRuleTemplate" + +// GetEventBridgeRuleTemplateRequest generates a "aws/request.Request" representing the +// client's request for the GetEventBridgeRuleTemplate operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetEventBridgeRuleTemplate for more information on using the GetEventBridgeRuleTemplate +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetEventBridgeRuleTemplateRequest method. +// req, resp := client.GetEventBridgeRuleTemplateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/GetEventBridgeRuleTemplate +func (c *MediaLive) GetEventBridgeRuleTemplateRequest(input *GetEventBridgeRuleTemplateInput) (req *request.Request, output *GetEventBridgeRuleTemplateOutput) { + op := &request.Operation{ + Name: opGetEventBridgeRuleTemplate, + HTTPMethod: "GET", + HTTPPath: "/prod/eventbridge-rule-templates/{identifier}", + } + + if input == nil { + input = &GetEventBridgeRuleTemplateInput{} + } + + output = &GetEventBridgeRuleTemplateOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetEventBridgeRuleTemplate API operation for AWS Elemental MediaLive. +// +// Retrieves the specified eventbridge rule template. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation GetEventBridgeRuleTemplate for usage and error information. +// +// Returned Error Types: +// +// - NotFoundException +// +// - TooManyRequestsException +// +// - BadRequestException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/GetEventBridgeRuleTemplate +func (c *MediaLive) GetEventBridgeRuleTemplate(input *GetEventBridgeRuleTemplateInput) (*GetEventBridgeRuleTemplateOutput, error) { + req, out := c.GetEventBridgeRuleTemplateRequest(input) + return out, req.Send() +} + +// GetEventBridgeRuleTemplateWithContext is the same as GetEventBridgeRuleTemplate with the addition of +// the ability to pass a context and additional request options. +// +// See GetEventBridgeRuleTemplate for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) GetEventBridgeRuleTemplateWithContext(ctx aws.Context, input *GetEventBridgeRuleTemplateInput, opts ...request.Option) (*GetEventBridgeRuleTemplateOutput, error) { + req, out := c.GetEventBridgeRuleTemplateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetEventBridgeRuleTemplateGroup = "GetEventBridgeRuleTemplateGroup" + +// GetEventBridgeRuleTemplateGroupRequest generates a "aws/request.Request" representing the +// client's request for the GetEventBridgeRuleTemplateGroup operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetEventBridgeRuleTemplateGroup for more information on using the GetEventBridgeRuleTemplateGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetEventBridgeRuleTemplateGroupRequest method. +// req, resp := client.GetEventBridgeRuleTemplateGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/GetEventBridgeRuleTemplateGroup +func (c *MediaLive) GetEventBridgeRuleTemplateGroupRequest(input *GetEventBridgeRuleTemplateGroupInput) (req *request.Request, output *GetEventBridgeRuleTemplateGroupOutput) { + op := &request.Operation{ + Name: opGetEventBridgeRuleTemplateGroup, + HTTPMethod: "GET", + HTTPPath: "/prod/eventbridge-rule-template-groups/{identifier}", + } + + if input == nil { + input = &GetEventBridgeRuleTemplateGroupInput{} + } + + output = &GetEventBridgeRuleTemplateGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetEventBridgeRuleTemplateGroup API operation for AWS Elemental MediaLive. +// +// Retrieves the specified eventbridge rule template group. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation GetEventBridgeRuleTemplateGroup for usage and error information. +// +// Returned Error Types: +// +// - NotFoundException +// +// - TooManyRequestsException +// +// - BadRequestException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/GetEventBridgeRuleTemplateGroup +func (c *MediaLive) GetEventBridgeRuleTemplateGroup(input *GetEventBridgeRuleTemplateGroupInput) (*GetEventBridgeRuleTemplateGroupOutput, error) { + req, out := c.GetEventBridgeRuleTemplateGroupRequest(input) + return out, req.Send() +} + +// GetEventBridgeRuleTemplateGroupWithContext is the same as GetEventBridgeRuleTemplateGroup with the addition of +// the ability to pass a context and additional request options. +// +// See GetEventBridgeRuleTemplateGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) GetEventBridgeRuleTemplateGroupWithContext(ctx aws.Context, input *GetEventBridgeRuleTemplateGroupInput, opts ...request.Option) (*GetEventBridgeRuleTemplateGroupOutput, error) { + req, out := c.GetEventBridgeRuleTemplateGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetSignalMap = "GetSignalMap" + +// GetSignalMapRequest generates a "aws/request.Request" representing the +// client's request for the GetSignalMap operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetSignalMap for more information on using the GetSignalMap +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetSignalMapRequest method. +// req, resp := client.GetSignalMapRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/GetSignalMap +func (c *MediaLive) GetSignalMapRequest(input *GetSignalMapInput) (req *request.Request, output *GetSignalMapOutput) { + op := &request.Operation{ + Name: opGetSignalMap, + HTTPMethod: "GET", + HTTPPath: "/prod/signal-maps/{identifier}", + } + + if input == nil { + input = &GetSignalMapInput{} + } + + output = &GetSignalMapOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetSignalMap API operation for AWS Elemental MediaLive. +// +// Retrieves the specified signal map. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation GetSignalMap for usage and error information. +// +// Returned Error Types: +// +// - NotFoundException +// +// - TooManyRequestsException +// +// - BadRequestException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/GetSignalMap +func (c *MediaLive) GetSignalMap(input *GetSignalMapInput) (*GetSignalMapOutput, error) { + req, out := c.GetSignalMapRequest(input) + return out, req.Send() +} + +// GetSignalMapWithContext is the same as GetSignalMap with the addition of +// the ability to pass a context and additional request options. +// +// See GetSignalMap for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) GetSignalMapWithContext(ctx aws.Context, input *GetSignalMapInput, opts ...request.Option) (*GetSignalMapOutput, error) { + req, out := c.GetSignalMapRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opListChannels = "ListChannels" // ListChannelsRequest generates a "aws/request.Request" representing the @@ -3302,36 +4627,36 @@ func (c *MediaLive) ListChannelsPagesWithContext(ctx aws.Context, input *ListCha return p.Err() } -const opListInputDeviceTransfers = "ListInputDeviceTransfers" +const opListCloudWatchAlarmTemplateGroups = "ListCloudWatchAlarmTemplateGroups" -// ListInputDeviceTransfersRequest generates a "aws/request.Request" representing the -// client's request for the ListInputDeviceTransfers operation. The "output" return +// ListCloudWatchAlarmTemplateGroupsRequest generates a "aws/request.Request" representing the +// client's request for the ListCloudWatchAlarmTemplateGroups operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListInputDeviceTransfers for more information on using the ListInputDeviceTransfers +// See ListCloudWatchAlarmTemplateGroups for more information on using the ListCloudWatchAlarmTemplateGroups // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListInputDeviceTransfersRequest method. -// req, resp := client.ListInputDeviceTransfersRequest(params) +// // Example sending a request using the ListCloudWatchAlarmTemplateGroupsRequest method. +// req, resp := client.ListCloudWatchAlarmTemplateGroupsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputDeviceTransfers -func (c *MediaLive) ListInputDeviceTransfersRequest(input *ListInputDeviceTransfersInput) (req *request.Request, output *ListInputDeviceTransfersOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListCloudWatchAlarmTemplateGroups +func (c *MediaLive) ListCloudWatchAlarmTemplateGroupsRequest(input *ListCloudWatchAlarmTemplateGroupsInput) (req *request.Request, output *ListCloudWatchAlarmTemplateGroupsOutput) { op := &request.Operation{ - Name: opListInputDeviceTransfers, + Name: opListCloudWatchAlarmTemplateGroups, HTTPMethod: "GET", - HTTPPath: "/prod/inputDeviceTransfers", + HTTPPath: "/prod/cloudwatch-alarm-template-groups", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, @@ -3341,101 +4666,95 @@ func (c *MediaLive) ListInputDeviceTransfersRequest(input *ListInputDeviceTransf } if input == nil { - input = &ListInputDeviceTransfersInput{} + input = &ListCloudWatchAlarmTemplateGroupsInput{} } - output = &ListInputDeviceTransfersOutput{} + output = &ListCloudWatchAlarmTemplateGroupsOutput{} req = c.newRequest(op, input, output) return } -// ListInputDeviceTransfers API operation for AWS Elemental MediaLive. +// ListCloudWatchAlarmTemplateGroups API operation for AWS Elemental MediaLive. // -// List input devices that are currently being transferred. List input devices -// that you are transferring from your AWS account or input devices that another -// AWS account is transferring to you. +// Lists cloudwatch alarm template groups. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation ListInputDeviceTransfers for usage and error information. +// API operation ListCloudWatchAlarmTemplateGroups for usage and error information. // // Returned Error Types: // -// - BadRequestException +// - NotFoundException // -// - UnprocessableEntityException +// - TooManyRequestsException +// +// - BadRequestException // // - InternalServerErrorException // // - ForbiddenException // -// - BadGatewayException -// -// - GatewayTimeoutException -// -// - TooManyRequestsException -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputDeviceTransfers -func (c *MediaLive) ListInputDeviceTransfers(input *ListInputDeviceTransfersInput) (*ListInputDeviceTransfersOutput, error) { - req, out := c.ListInputDeviceTransfersRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListCloudWatchAlarmTemplateGroups +func (c *MediaLive) ListCloudWatchAlarmTemplateGroups(input *ListCloudWatchAlarmTemplateGroupsInput) (*ListCloudWatchAlarmTemplateGroupsOutput, error) { + req, out := c.ListCloudWatchAlarmTemplateGroupsRequest(input) return out, req.Send() } -// ListInputDeviceTransfersWithContext is the same as ListInputDeviceTransfers with the addition of +// ListCloudWatchAlarmTemplateGroupsWithContext is the same as ListCloudWatchAlarmTemplateGroups with the addition of // the ability to pass a context and additional request options. // -// See ListInputDeviceTransfers for details on how to use this API operation. +// See ListCloudWatchAlarmTemplateGroups for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) ListInputDeviceTransfersWithContext(ctx aws.Context, input *ListInputDeviceTransfersInput, opts ...request.Option) (*ListInputDeviceTransfersOutput, error) { - req, out := c.ListInputDeviceTransfersRequest(input) +func (c *MediaLive) ListCloudWatchAlarmTemplateGroupsWithContext(ctx aws.Context, input *ListCloudWatchAlarmTemplateGroupsInput, opts ...request.Option) (*ListCloudWatchAlarmTemplateGroupsOutput, error) { + req, out := c.ListCloudWatchAlarmTemplateGroupsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListInputDeviceTransfersPages iterates over the pages of a ListInputDeviceTransfers operation, +// ListCloudWatchAlarmTemplateGroupsPages iterates over the pages of a ListCloudWatchAlarmTemplateGroups operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See ListInputDeviceTransfers method for more information on how to use this operation. +// See ListCloudWatchAlarmTemplateGroups method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInputDeviceTransfers operation. +// // Example iterating over at most 3 pages of a ListCloudWatchAlarmTemplateGroups operation. // pageNum := 0 -// err := client.ListInputDeviceTransfersPages(params, -// func(page *medialive.ListInputDeviceTransfersOutput, lastPage bool) bool { +// err := client.ListCloudWatchAlarmTemplateGroupsPages(params, +// func(page *medialive.ListCloudWatchAlarmTemplateGroupsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) -func (c *MediaLive) ListInputDeviceTransfersPages(input *ListInputDeviceTransfersInput, fn func(*ListInputDeviceTransfersOutput, bool) bool) error { - return c.ListInputDeviceTransfersPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *MediaLive) ListCloudWatchAlarmTemplateGroupsPages(input *ListCloudWatchAlarmTemplateGroupsInput, fn func(*ListCloudWatchAlarmTemplateGroupsOutput, bool) bool) error { + return c.ListCloudWatchAlarmTemplateGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } -// ListInputDeviceTransfersPagesWithContext same as ListInputDeviceTransfersPages except +// ListCloudWatchAlarmTemplateGroupsPagesWithContext same as ListCloudWatchAlarmTemplateGroupsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) ListInputDeviceTransfersPagesWithContext(ctx aws.Context, input *ListInputDeviceTransfersInput, fn func(*ListInputDeviceTransfersOutput, bool) bool, opts ...request.Option) error { +func (c *MediaLive) ListCloudWatchAlarmTemplateGroupsPagesWithContext(ctx aws.Context, input *ListCloudWatchAlarmTemplateGroupsInput, fn func(*ListCloudWatchAlarmTemplateGroupsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *ListInputDeviceTransfersInput + var inCpy *ListCloudWatchAlarmTemplateGroupsInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.ListInputDeviceTransfersRequest(inCpy) + req, _ := c.ListCloudWatchAlarmTemplateGroupsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -3443,7 +4762,7 @@ func (c *MediaLive) ListInputDeviceTransfersPagesWithContext(ctx aws.Context, in } for p.Next() { - if !fn(p.Page().(*ListInputDeviceTransfersOutput), !p.HasNextPage()) { + if !fn(p.Page().(*ListCloudWatchAlarmTemplateGroupsOutput), !p.HasNextPage()) { break } } @@ -3451,36 +4770,36 @@ func (c *MediaLive) ListInputDeviceTransfersPagesWithContext(ctx aws.Context, in return p.Err() } -const opListInputDevices = "ListInputDevices" +const opListCloudWatchAlarmTemplates = "ListCloudWatchAlarmTemplates" -// ListInputDevicesRequest generates a "aws/request.Request" representing the -// client's request for the ListInputDevices operation. The "output" return +// ListCloudWatchAlarmTemplatesRequest generates a "aws/request.Request" representing the +// client's request for the ListCloudWatchAlarmTemplates operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListInputDevices for more information on using the ListInputDevices +// See ListCloudWatchAlarmTemplates for more information on using the ListCloudWatchAlarmTemplates // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListInputDevicesRequest method. -// req, resp := client.ListInputDevicesRequest(params) +// // Example sending a request using the ListCloudWatchAlarmTemplatesRequest method. +// req, resp := client.ListCloudWatchAlarmTemplatesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputDevices -func (c *MediaLive) ListInputDevicesRequest(input *ListInputDevicesInput) (req *request.Request, output *ListInputDevicesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListCloudWatchAlarmTemplates +func (c *MediaLive) ListCloudWatchAlarmTemplatesRequest(input *ListCloudWatchAlarmTemplatesInput) (req *request.Request, output *ListCloudWatchAlarmTemplatesOutput) { op := &request.Operation{ - Name: opListInputDevices, + Name: opListCloudWatchAlarmTemplates, HTTPMethod: "GET", - HTTPPath: "/prod/inputDevices", + HTTPPath: "/prod/cloudwatch-alarm-templates", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, @@ -3490,97 +4809,95 @@ func (c *MediaLive) ListInputDevicesRequest(input *ListInputDevicesInput) (req * } if input == nil { - input = &ListInputDevicesInput{} + input = &ListCloudWatchAlarmTemplatesInput{} } - output = &ListInputDevicesOutput{} + output = &ListCloudWatchAlarmTemplatesOutput{} req = c.newRequest(op, input, output) return } -// ListInputDevices API operation for AWS Elemental MediaLive. +// ListCloudWatchAlarmTemplates API operation for AWS Elemental MediaLive. // -// # List input devices +// Lists cloudwatch alarm templates. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation ListInputDevices for usage and error information. +// API operation ListCloudWatchAlarmTemplates for usage and error information. // // Returned Error Types: // +// - NotFoundException +// +// - TooManyRequestsException +// // - BadRequestException // // - InternalServerErrorException // // - ForbiddenException // -// - BadGatewayException -// -// - GatewayTimeoutException -// -// - TooManyRequestsException -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputDevices -func (c *MediaLive) ListInputDevices(input *ListInputDevicesInput) (*ListInputDevicesOutput, error) { - req, out := c.ListInputDevicesRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListCloudWatchAlarmTemplates +func (c *MediaLive) ListCloudWatchAlarmTemplates(input *ListCloudWatchAlarmTemplatesInput) (*ListCloudWatchAlarmTemplatesOutput, error) { + req, out := c.ListCloudWatchAlarmTemplatesRequest(input) return out, req.Send() } -// ListInputDevicesWithContext is the same as ListInputDevices with the addition of +// ListCloudWatchAlarmTemplatesWithContext is the same as ListCloudWatchAlarmTemplates with the addition of // the ability to pass a context and additional request options. // -// See ListInputDevices for details on how to use this API operation. +// See ListCloudWatchAlarmTemplates for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) ListInputDevicesWithContext(ctx aws.Context, input *ListInputDevicesInput, opts ...request.Option) (*ListInputDevicesOutput, error) { - req, out := c.ListInputDevicesRequest(input) +func (c *MediaLive) ListCloudWatchAlarmTemplatesWithContext(ctx aws.Context, input *ListCloudWatchAlarmTemplatesInput, opts ...request.Option) (*ListCloudWatchAlarmTemplatesOutput, error) { + req, out := c.ListCloudWatchAlarmTemplatesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListInputDevicesPages iterates over the pages of a ListInputDevices operation, +// ListCloudWatchAlarmTemplatesPages iterates over the pages of a ListCloudWatchAlarmTemplates operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See ListInputDevices method for more information on how to use this operation. +// See ListCloudWatchAlarmTemplates method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInputDevices operation. +// // Example iterating over at most 3 pages of a ListCloudWatchAlarmTemplates operation. // pageNum := 0 -// err := client.ListInputDevicesPages(params, -// func(page *medialive.ListInputDevicesOutput, lastPage bool) bool { +// err := client.ListCloudWatchAlarmTemplatesPages(params, +// func(page *medialive.ListCloudWatchAlarmTemplatesOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) -func (c *MediaLive) ListInputDevicesPages(input *ListInputDevicesInput, fn func(*ListInputDevicesOutput, bool) bool) error { - return c.ListInputDevicesPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *MediaLive) ListCloudWatchAlarmTemplatesPages(input *ListCloudWatchAlarmTemplatesInput, fn func(*ListCloudWatchAlarmTemplatesOutput, bool) bool) error { + return c.ListCloudWatchAlarmTemplatesPagesWithContext(aws.BackgroundContext(), input, fn) } -// ListInputDevicesPagesWithContext same as ListInputDevicesPages except +// ListCloudWatchAlarmTemplatesPagesWithContext same as ListCloudWatchAlarmTemplatesPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) ListInputDevicesPagesWithContext(ctx aws.Context, input *ListInputDevicesInput, fn func(*ListInputDevicesOutput, bool) bool, opts ...request.Option) error { +func (c *MediaLive) ListCloudWatchAlarmTemplatesPagesWithContext(ctx aws.Context, input *ListCloudWatchAlarmTemplatesInput, fn func(*ListCloudWatchAlarmTemplatesOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *ListInputDevicesInput + var inCpy *ListCloudWatchAlarmTemplatesInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.ListInputDevicesRequest(inCpy) + req, _ := c.ListCloudWatchAlarmTemplatesRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -3588,7 +4905,7 @@ func (c *MediaLive) ListInputDevicesPagesWithContext(ctx aws.Context, input *Lis } for p.Next() { - if !fn(p.Page().(*ListInputDevicesOutput), !p.HasNextPage()) { + if !fn(p.Page().(*ListCloudWatchAlarmTemplatesOutput), !p.HasNextPage()) { break } } @@ -3596,36 +4913,36 @@ func (c *MediaLive) ListInputDevicesPagesWithContext(ctx aws.Context, input *Lis return p.Err() } -const opListInputSecurityGroups = "ListInputSecurityGroups" +const opListEventBridgeRuleTemplateGroups = "ListEventBridgeRuleTemplateGroups" -// ListInputSecurityGroupsRequest generates a "aws/request.Request" representing the -// client's request for the ListInputSecurityGroups operation. The "output" return +// ListEventBridgeRuleTemplateGroupsRequest generates a "aws/request.Request" representing the +// client's request for the ListEventBridgeRuleTemplateGroups operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListInputSecurityGroups for more information on using the ListInputSecurityGroups +// See ListEventBridgeRuleTemplateGroups for more information on using the ListEventBridgeRuleTemplateGroups // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListInputSecurityGroupsRequest method. -// req, resp := client.ListInputSecurityGroupsRequest(params) +// // Example sending a request using the ListEventBridgeRuleTemplateGroupsRequest method. +// req, resp := client.ListEventBridgeRuleTemplateGroupsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputSecurityGroups -func (c *MediaLive) ListInputSecurityGroupsRequest(input *ListInputSecurityGroupsInput) (req *request.Request, output *ListInputSecurityGroupsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListEventBridgeRuleTemplateGroups +func (c *MediaLive) ListEventBridgeRuleTemplateGroupsRequest(input *ListEventBridgeRuleTemplateGroupsInput) (req *request.Request, output *ListEventBridgeRuleTemplateGroupsOutput) { op := &request.Operation{ - Name: opListInputSecurityGroups, + Name: opListEventBridgeRuleTemplateGroups, HTTPMethod: "GET", - HTTPPath: "/prod/inputSecurityGroups", + HTTPPath: "/prod/eventbridge-rule-template-groups", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, @@ -3635,97 +4952,95 @@ func (c *MediaLive) ListInputSecurityGroupsRequest(input *ListInputSecurityGroup } if input == nil { - input = &ListInputSecurityGroupsInput{} + input = &ListEventBridgeRuleTemplateGroupsInput{} } - output = &ListInputSecurityGroupsOutput{} + output = &ListEventBridgeRuleTemplateGroupsOutput{} req = c.newRequest(op, input, output) return } -// ListInputSecurityGroups API operation for AWS Elemental MediaLive. +// ListEventBridgeRuleTemplateGroups API operation for AWS Elemental MediaLive. // -// # Produces a list of Input Security Groups for an account +// Lists eventbridge rule template groups. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation ListInputSecurityGroups for usage and error information. +// API operation ListEventBridgeRuleTemplateGroups for usage and error information. // // Returned Error Types: // +// - NotFoundException +// +// - TooManyRequestsException +// // - BadRequestException // // - InternalServerErrorException // // - ForbiddenException // -// - BadGatewayException -// -// - GatewayTimeoutException -// -// - TooManyRequestsException -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputSecurityGroups -func (c *MediaLive) ListInputSecurityGroups(input *ListInputSecurityGroupsInput) (*ListInputSecurityGroupsOutput, error) { - req, out := c.ListInputSecurityGroupsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListEventBridgeRuleTemplateGroups +func (c *MediaLive) ListEventBridgeRuleTemplateGroups(input *ListEventBridgeRuleTemplateGroupsInput) (*ListEventBridgeRuleTemplateGroupsOutput, error) { + req, out := c.ListEventBridgeRuleTemplateGroupsRequest(input) return out, req.Send() } -// ListInputSecurityGroupsWithContext is the same as ListInputSecurityGroups with the addition of +// ListEventBridgeRuleTemplateGroupsWithContext is the same as ListEventBridgeRuleTemplateGroups with the addition of // the ability to pass a context and additional request options. // -// See ListInputSecurityGroups for details on how to use this API operation. +// See ListEventBridgeRuleTemplateGroups for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) ListInputSecurityGroupsWithContext(ctx aws.Context, input *ListInputSecurityGroupsInput, opts ...request.Option) (*ListInputSecurityGroupsOutput, error) { - req, out := c.ListInputSecurityGroupsRequest(input) +func (c *MediaLive) ListEventBridgeRuleTemplateGroupsWithContext(ctx aws.Context, input *ListEventBridgeRuleTemplateGroupsInput, opts ...request.Option) (*ListEventBridgeRuleTemplateGroupsOutput, error) { + req, out := c.ListEventBridgeRuleTemplateGroupsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListInputSecurityGroupsPages iterates over the pages of a ListInputSecurityGroups operation, +// ListEventBridgeRuleTemplateGroupsPages iterates over the pages of a ListEventBridgeRuleTemplateGroups operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See ListInputSecurityGroups method for more information on how to use this operation. +// See ListEventBridgeRuleTemplateGroups method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInputSecurityGroups operation. +// // Example iterating over at most 3 pages of a ListEventBridgeRuleTemplateGroups operation. // pageNum := 0 -// err := client.ListInputSecurityGroupsPages(params, -// func(page *medialive.ListInputSecurityGroupsOutput, lastPage bool) bool { +// err := client.ListEventBridgeRuleTemplateGroupsPages(params, +// func(page *medialive.ListEventBridgeRuleTemplateGroupsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) -func (c *MediaLive) ListInputSecurityGroupsPages(input *ListInputSecurityGroupsInput, fn func(*ListInputSecurityGroupsOutput, bool) bool) error { - return c.ListInputSecurityGroupsPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *MediaLive) ListEventBridgeRuleTemplateGroupsPages(input *ListEventBridgeRuleTemplateGroupsInput, fn func(*ListEventBridgeRuleTemplateGroupsOutput, bool) bool) error { + return c.ListEventBridgeRuleTemplateGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } -// ListInputSecurityGroupsPagesWithContext same as ListInputSecurityGroupsPages except +// ListEventBridgeRuleTemplateGroupsPagesWithContext same as ListEventBridgeRuleTemplateGroupsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) ListInputSecurityGroupsPagesWithContext(ctx aws.Context, input *ListInputSecurityGroupsInput, fn func(*ListInputSecurityGroupsOutput, bool) bool, opts ...request.Option) error { +func (c *MediaLive) ListEventBridgeRuleTemplateGroupsPagesWithContext(ctx aws.Context, input *ListEventBridgeRuleTemplateGroupsInput, fn func(*ListEventBridgeRuleTemplateGroupsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *ListInputSecurityGroupsInput + var inCpy *ListEventBridgeRuleTemplateGroupsInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.ListInputSecurityGroupsRequest(inCpy) + req, _ := c.ListEventBridgeRuleTemplateGroupsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -3733,7 +5048,7 @@ func (c *MediaLive) ListInputSecurityGroupsPagesWithContext(ctx aws.Context, inp } for p.Next() { - if !fn(p.Page().(*ListInputSecurityGroupsOutput), !p.HasNextPage()) { + if !fn(p.Page().(*ListEventBridgeRuleTemplateGroupsOutput), !p.HasNextPage()) { break } } @@ -3741,36 +5056,36 @@ func (c *MediaLive) ListInputSecurityGroupsPagesWithContext(ctx aws.Context, inp return p.Err() } -const opListInputs = "ListInputs" +const opListEventBridgeRuleTemplates = "ListEventBridgeRuleTemplates" -// ListInputsRequest generates a "aws/request.Request" representing the -// client's request for the ListInputs operation. The "output" return +// ListEventBridgeRuleTemplatesRequest generates a "aws/request.Request" representing the +// client's request for the ListEventBridgeRuleTemplates operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListInputs for more information on using the ListInputs +// See ListEventBridgeRuleTemplates for more information on using the ListEventBridgeRuleTemplates // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListInputsRequest method. -// req, resp := client.ListInputsRequest(params) +// // Example sending a request using the ListEventBridgeRuleTemplatesRequest method. +// req, resp := client.ListEventBridgeRuleTemplatesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputs -func (c *MediaLive) ListInputsRequest(input *ListInputsInput) (req *request.Request, output *ListInputsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListEventBridgeRuleTemplates +func (c *MediaLive) ListEventBridgeRuleTemplatesRequest(input *ListEventBridgeRuleTemplatesInput) (req *request.Request, output *ListEventBridgeRuleTemplatesOutput) { op := &request.Operation{ - Name: opListInputs, + Name: opListEventBridgeRuleTemplates, HTTPMethod: "GET", - HTTPPath: "/prod/inputs", + HTTPPath: "/prod/eventbridge-rule-templates", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, @@ -3780,97 +5095,95 @@ func (c *MediaLive) ListInputsRequest(input *ListInputsInput) (req *request.Requ } if input == nil { - input = &ListInputsInput{} + input = &ListEventBridgeRuleTemplatesInput{} } - output = &ListInputsOutput{} + output = &ListEventBridgeRuleTemplatesOutput{} req = c.newRequest(op, input, output) return } -// ListInputs API operation for AWS Elemental MediaLive. +// ListEventBridgeRuleTemplates API operation for AWS Elemental MediaLive. // -// # Produces list of inputs that have been created +// Lists eventbridge rule templates. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation ListInputs for usage and error information. +// API operation ListEventBridgeRuleTemplates for usage and error information. // // Returned Error Types: // +// - NotFoundException +// +// - TooManyRequestsException +// // - BadRequestException // // - InternalServerErrorException // // - ForbiddenException // -// - BadGatewayException -// -// - GatewayTimeoutException -// -// - TooManyRequestsException -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputs -func (c *MediaLive) ListInputs(input *ListInputsInput) (*ListInputsOutput, error) { - req, out := c.ListInputsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListEventBridgeRuleTemplates +func (c *MediaLive) ListEventBridgeRuleTemplates(input *ListEventBridgeRuleTemplatesInput) (*ListEventBridgeRuleTemplatesOutput, error) { + req, out := c.ListEventBridgeRuleTemplatesRequest(input) return out, req.Send() } -// ListInputsWithContext is the same as ListInputs with the addition of +// ListEventBridgeRuleTemplatesWithContext is the same as ListEventBridgeRuleTemplates with the addition of // the ability to pass a context and additional request options. // -// See ListInputs for details on how to use this API operation. +// See ListEventBridgeRuleTemplates for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) ListInputsWithContext(ctx aws.Context, input *ListInputsInput, opts ...request.Option) (*ListInputsOutput, error) { - req, out := c.ListInputsRequest(input) +func (c *MediaLive) ListEventBridgeRuleTemplatesWithContext(ctx aws.Context, input *ListEventBridgeRuleTemplatesInput, opts ...request.Option) (*ListEventBridgeRuleTemplatesOutput, error) { + req, out := c.ListEventBridgeRuleTemplatesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListInputsPages iterates over the pages of a ListInputs operation, +// ListEventBridgeRuleTemplatesPages iterates over the pages of a ListEventBridgeRuleTemplates operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See ListInputs method for more information on how to use this operation. +// See ListEventBridgeRuleTemplates method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInputs operation. +// // Example iterating over at most 3 pages of a ListEventBridgeRuleTemplates operation. // pageNum := 0 -// err := client.ListInputsPages(params, -// func(page *medialive.ListInputsOutput, lastPage bool) bool { +// err := client.ListEventBridgeRuleTemplatesPages(params, +// func(page *medialive.ListEventBridgeRuleTemplatesOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) -func (c *MediaLive) ListInputsPages(input *ListInputsInput, fn func(*ListInputsOutput, bool) bool) error { - return c.ListInputsPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *MediaLive) ListEventBridgeRuleTemplatesPages(input *ListEventBridgeRuleTemplatesInput, fn func(*ListEventBridgeRuleTemplatesOutput, bool) bool) error { + return c.ListEventBridgeRuleTemplatesPagesWithContext(aws.BackgroundContext(), input, fn) } -// ListInputsPagesWithContext same as ListInputsPages except +// ListEventBridgeRuleTemplatesPagesWithContext same as ListEventBridgeRuleTemplatesPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) ListInputsPagesWithContext(ctx aws.Context, input *ListInputsInput, fn func(*ListInputsOutput, bool) bool, opts ...request.Option) error { +func (c *MediaLive) ListEventBridgeRuleTemplatesPagesWithContext(ctx aws.Context, input *ListEventBridgeRuleTemplatesInput, fn func(*ListEventBridgeRuleTemplatesOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *ListInputsInput + var inCpy *ListEventBridgeRuleTemplatesInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.ListInputsRequest(inCpy) + req, _ := c.ListEventBridgeRuleTemplatesRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -3878,7 +5191,7 @@ func (c *MediaLive) ListInputsPagesWithContext(ctx aws.Context, input *ListInput } for p.Next() { - if !fn(p.Page().(*ListInputsOutput), !p.HasNextPage()) { + if !fn(p.Page().(*ListEventBridgeRuleTemplatesOutput), !p.HasNextPage()) { break } } @@ -3886,36 +5199,36 @@ func (c *MediaLive) ListInputsPagesWithContext(ctx aws.Context, input *ListInput return p.Err() } -const opListMultiplexPrograms = "ListMultiplexPrograms" +const opListInputDeviceTransfers = "ListInputDeviceTransfers" -// ListMultiplexProgramsRequest generates a "aws/request.Request" representing the -// client's request for the ListMultiplexPrograms operation. The "output" return +// ListInputDeviceTransfersRequest generates a "aws/request.Request" representing the +// client's request for the ListInputDeviceTransfers operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListMultiplexPrograms for more information on using the ListMultiplexPrograms +// See ListInputDeviceTransfers for more information on using the ListInputDeviceTransfers // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListMultiplexProgramsRequest method. -// req, resp := client.ListMultiplexProgramsRequest(params) +// // Example sending a request using the ListInputDeviceTransfersRequest method. +// req, resp := client.ListInputDeviceTransfersRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListMultiplexPrograms -func (c *MediaLive) ListMultiplexProgramsRequest(input *ListMultiplexProgramsInput) (req *request.Request, output *ListMultiplexProgramsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputDeviceTransfers +func (c *MediaLive) ListInputDeviceTransfersRequest(input *ListInputDeviceTransfersInput) (req *request.Request, output *ListInputDeviceTransfersOutput) { op := &request.Operation{ - Name: opListMultiplexPrograms, + Name: opListInputDeviceTransfers, HTTPMethod: "GET", - HTTPPath: "/prod/multiplexes/{multiplexId}/programs", + HTTPPath: "/prod/inputDeviceTransfers", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, @@ -3925,99 +5238,101 @@ func (c *MediaLive) ListMultiplexProgramsRequest(input *ListMultiplexProgramsInp } if input == nil { - input = &ListMultiplexProgramsInput{} + input = &ListInputDeviceTransfersInput{} } - output = &ListMultiplexProgramsOutput{} + output = &ListInputDeviceTransfersOutput{} req = c.newRequest(op, input, output) return } -// ListMultiplexPrograms API operation for AWS Elemental MediaLive. +// ListInputDeviceTransfers API operation for AWS Elemental MediaLive. // -// List the programs that currently exist for a specific multiplex. +// List input devices that are currently being transferred. List input devices +// that you are transferring from your AWS account or input devices that another +// AWS account is transferring to you. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation ListMultiplexPrograms for usage and error information. +// API operation ListInputDeviceTransfers for usage and error information. // // Returned Error Types: // // - BadRequestException // +// - UnprocessableEntityException +// // - InternalServerErrorException // // - ForbiddenException // // - BadGatewayException // -// - NotFoundException -// // - GatewayTimeoutException // // - TooManyRequestsException // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListMultiplexPrograms -func (c *MediaLive) ListMultiplexPrograms(input *ListMultiplexProgramsInput) (*ListMultiplexProgramsOutput, error) { - req, out := c.ListMultiplexProgramsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputDeviceTransfers +func (c *MediaLive) ListInputDeviceTransfers(input *ListInputDeviceTransfersInput) (*ListInputDeviceTransfersOutput, error) { + req, out := c.ListInputDeviceTransfersRequest(input) return out, req.Send() } -// ListMultiplexProgramsWithContext is the same as ListMultiplexPrograms with the addition of +// ListInputDeviceTransfersWithContext is the same as ListInputDeviceTransfers with the addition of // the ability to pass a context and additional request options. // -// See ListMultiplexPrograms for details on how to use this API operation. +// See ListInputDeviceTransfers for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) ListMultiplexProgramsWithContext(ctx aws.Context, input *ListMultiplexProgramsInput, opts ...request.Option) (*ListMultiplexProgramsOutput, error) { - req, out := c.ListMultiplexProgramsRequest(input) +func (c *MediaLive) ListInputDeviceTransfersWithContext(ctx aws.Context, input *ListInputDeviceTransfersInput, opts ...request.Option) (*ListInputDeviceTransfersOutput, error) { + req, out := c.ListInputDeviceTransfersRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListMultiplexProgramsPages iterates over the pages of a ListMultiplexPrograms operation, +// ListInputDeviceTransfersPages iterates over the pages of a ListInputDeviceTransfers operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See ListMultiplexPrograms method for more information on how to use this operation. +// See ListInputDeviceTransfers method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMultiplexPrograms operation. +// // Example iterating over at most 3 pages of a ListInputDeviceTransfers operation. // pageNum := 0 -// err := client.ListMultiplexProgramsPages(params, -// func(page *medialive.ListMultiplexProgramsOutput, lastPage bool) bool { +// err := client.ListInputDeviceTransfersPages(params, +// func(page *medialive.ListInputDeviceTransfersOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) -func (c *MediaLive) ListMultiplexProgramsPages(input *ListMultiplexProgramsInput, fn func(*ListMultiplexProgramsOutput, bool) bool) error { - return c.ListMultiplexProgramsPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *MediaLive) ListInputDeviceTransfersPages(input *ListInputDeviceTransfersInput, fn func(*ListInputDeviceTransfersOutput, bool) bool) error { + return c.ListInputDeviceTransfersPagesWithContext(aws.BackgroundContext(), input, fn) } -// ListMultiplexProgramsPagesWithContext same as ListMultiplexProgramsPages except +// ListInputDeviceTransfersPagesWithContext same as ListInputDeviceTransfersPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) ListMultiplexProgramsPagesWithContext(ctx aws.Context, input *ListMultiplexProgramsInput, fn func(*ListMultiplexProgramsOutput, bool) bool, opts ...request.Option) error { +func (c *MediaLive) ListInputDeviceTransfersPagesWithContext(ctx aws.Context, input *ListInputDeviceTransfersInput, fn func(*ListInputDeviceTransfersOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *ListMultiplexProgramsInput + var inCpy *ListInputDeviceTransfersInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.ListMultiplexProgramsRequest(inCpy) + req, _ := c.ListInputDeviceTransfersRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -4025,7 +5340,7 @@ func (c *MediaLive) ListMultiplexProgramsPagesWithContext(ctx aws.Context, input } for p.Next() { - if !fn(p.Page().(*ListMultiplexProgramsOutput), !p.HasNextPage()) { + if !fn(p.Page().(*ListInputDeviceTransfersOutput), !p.HasNextPage()) { break } } @@ -4033,36 +5348,36 @@ func (c *MediaLive) ListMultiplexProgramsPagesWithContext(ctx aws.Context, input return p.Err() } -const opListMultiplexes = "ListMultiplexes" +const opListInputDevices = "ListInputDevices" -// ListMultiplexesRequest generates a "aws/request.Request" representing the -// client's request for the ListMultiplexes operation. The "output" return +// ListInputDevicesRequest generates a "aws/request.Request" representing the +// client's request for the ListInputDevices operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListMultiplexes for more information on using the ListMultiplexes +// See ListInputDevices for more information on using the ListInputDevices // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListMultiplexesRequest method. -// req, resp := client.ListMultiplexesRequest(params) +// // Example sending a request using the ListInputDevicesRequest method. +// req, resp := client.ListInputDevicesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListMultiplexes -func (c *MediaLive) ListMultiplexesRequest(input *ListMultiplexesInput) (req *request.Request, output *ListMultiplexesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputDevices +func (c *MediaLive) ListInputDevicesRequest(input *ListInputDevicesInput) (req *request.Request, output *ListInputDevicesOutput) { op := &request.Operation{ - Name: opListMultiplexes, + Name: opListInputDevices, HTTPMethod: "GET", - HTTPPath: "/prod/multiplexes", + HTTPPath: "/prod/inputDevices", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, @@ -4072,24 +5387,24 @@ func (c *MediaLive) ListMultiplexesRequest(input *ListMultiplexesInput) (req *re } if input == nil { - input = &ListMultiplexesInput{} + input = &ListInputDevicesInput{} } - output = &ListMultiplexesOutput{} + output = &ListInputDevicesOutput{} req = c.newRequest(op, input, output) return } -// ListMultiplexes API operation for AWS Elemental MediaLive. +// ListInputDevices API operation for AWS Elemental MediaLive. // -// Retrieve a list of the existing multiplexes. +// # List input devices // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation ListMultiplexes for usage and error information. +// API operation ListInputDevices for usage and error information. // // Returned Error Types: // @@ -4105,64 +5420,64 @@ func (c *MediaLive) ListMultiplexesRequest(input *ListMultiplexesInput) (req *re // // - TooManyRequestsException // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListMultiplexes -func (c *MediaLive) ListMultiplexes(input *ListMultiplexesInput) (*ListMultiplexesOutput, error) { - req, out := c.ListMultiplexesRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputDevices +func (c *MediaLive) ListInputDevices(input *ListInputDevicesInput) (*ListInputDevicesOutput, error) { + req, out := c.ListInputDevicesRequest(input) return out, req.Send() } -// ListMultiplexesWithContext is the same as ListMultiplexes with the addition of +// ListInputDevicesWithContext is the same as ListInputDevices with the addition of // the ability to pass a context and additional request options. // -// See ListMultiplexes for details on how to use this API operation. +// See ListInputDevices for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) ListMultiplexesWithContext(ctx aws.Context, input *ListMultiplexesInput, opts ...request.Option) (*ListMultiplexesOutput, error) { - req, out := c.ListMultiplexesRequest(input) +func (c *MediaLive) ListInputDevicesWithContext(ctx aws.Context, input *ListInputDevicesInput, opts ...request.Option) (*ListInputDevicesOutput, error) { + req, out := c.ListInputDevicesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListMultiplexesPages iterates over the pages of a ListMultiplexes operation, +// ListInputDevicesPages iterates over the pages of a ListInputDevices operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See ListMultiplexes method for more information on how to use this operation. +// See ListInputDevices method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMultiplexes operation. +// // Example iterating over at most 3 pages of a ListInputDevices operation. // pageNum := 0 -// err := client.ListMultiplexesPages(params, -// func(page *medialive.ListMultiplexesOutput, lastPage bool) bool { +// err := client.ListInputDevicesPages(params, +// func(page *medialive.ListInputDevicesOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) -func (c *MediaLive) ListMultiplexesPages(input *ListMultiplexesInput, fn func(*ListMultiplexesOutput, bool) bool) error { - return c.ListMultiplexesPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *MediaLive) ListInputDevicesPages(input *ListInputDevicesInput, fn func(*ListInputDevicesOutput, bool) bool) error { + return c.ListInputDevicesPagesWithContext(aws.BackgroundContext(), input, fn) } -// ListMultiplexesPagesWithContext same as ListMultiplexesPages except +// ListInputDevicesPagesWithContext same as ListInputDevicesPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) ListMultiplexesPagesWithContext(ctx aws.Context, input *ListMultiplexesInput, fn func(*ListMultiplexesOutput, bool) bool, opts ...request.Option) error { +func (c *MediaLive) ListInputDevicesPagesWithContext(ctx aws.Context, input *ListInputDevicesInput, fn func(*ListInputDevicesOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *ListMultiplexesInput + var inCpy *ListInputDevicesInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.ListMultiplexesRequest(inCpy) + req, _ := c.ListInputDevicesRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -4170,7 +5485,7 @@ func (c *MediaLive) ListMultiplexesPagesWithContext(ctx aws.Context, input *List } for p.Next() { - if !fn(p.Page().(*ListMultiplexesOutput), !p.HasNextPage()) { + if !fn(p.Page().(*ListInputDevicesOutput), !p.HasNextPage()) { break } } @@ -4178,36 +5493,36 @@ func (c *MediaLive) ListMultiplexesPagesWithContext(ctx aws.Context, input *List return p.Err() } -const opListOfferings = "ListOfferings" +const opListInputSecurityGroups = "ListInputSecurityGroups" -// ListOfferingsRequest generates a "aws/request.Request" representing the -// client's request for the ListOfferings operation. The "output" return +// ListInputSecurityGroupsRequest generates a "aws/request.Request" representing the +// client's request for the ListInputSecurityGroups operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListOfferings for more information on using the ListOfferings +// See ListInputSecurityGroups for more information on using the ListInputSecurityGroups // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListOfferingsRequest method. -// req, resp := client.ListOfferingsRequest(params) +// // Example sending a request using the ListInputSecurityGroupsRequest method. +// req, resp := client.ListInputSecurityGroupsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListOfferings -func (c *MediaLive) ListOfferingsRequest(input *ListOfferingsInput) (req *request.Request, output *ListOfferingsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputSecurityGroups +func (c *MediaLive) ListInputSecurityGroupsRequest(input *ListInputSecurityGroupsInput) (req *request.Request, output *ListInputSecurityGroupsOutput) { op := &request.Operation{ - Name: opListOfferings, + Name: opListInputSecurityGroups, HTTPMethod: "GET", - HTTPPath: "/prod/offerings", + HTTPPath: "/prod/inputSecurityGroups", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, @@ -4217,24 +5532,24 @@ func (c *MediaLive) ListOfferingsRequest(input *ListOfferingsInput) (req *reques } if input == nil { - input = &ListOfferingsInput{} + input = &ListInputSecurityGroupsInput{} } - output = &ListOfferingsOutput{} + output = &ListInputSecurityGroupsOutput{} req = c.newRequest(op, input, output) return } -// ListOfferings API operation for AWS Elemental MediaLive. +// ListInputSecurityGroups API operation for AWS Elemental MediaLive. // -// List offerings available for purchase. +// # Produces a list of Input Security Groups for an account // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation ListOfferings for usage and error information. +// API operation ListInputSecurityGroups for usage and error information. // // Returned Error Types: // @@ -4250,64 +5565,64 @@ func (c *MediaLive) ListOfferingsRequest(input *ListOfferingsInput) (req *reques // // - TooManyRequestsException // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListOfferings -func (c *MediaLive) ListOfferings(input *ListOfferingsInput) (*ListOfferingsOutput, error) { - req, out := c.ListOfferingsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputSecurityGroups +func (c *MediaLive) ListInputSecurityGroups(input *ListInputSecurityGroupsInput) (*ListInputSecurityGroupsOutput, error) { + req, out := c.ListInputSecurityGroupsRequest(input) return out, req.Send() } -// ListOfferingsWithContext is the same as ListOfferings with the addition of +// ListInputSecurityGroupsWithContext is the same as ListInputSecurityGroups with the addition of // the ability to pass a context and additional request options. // -// See ListOfferings for details on how to use this API operation. +// See ListInputSecurityGroups for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) ListOfferingsWithContext(ctx aws.Context, input *ListOfferingsInput, opts ...request.Option) (*ListOfferingsOutput, error) { - req, out := c.ListOfferingsRequest(input) +func (c *MediaLive) ListInputSecurityGroupsWithContext(ctx aws.Context, input *ListInputSecurityGroupsInput, opts ...request.Option) (*ListInputSecurityGroupsOutput, error) { + req, out := c.ListInputSecurityGroupsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListOfferingsPages iterates over the pages of a ListOfferings operation, +// ListInputSecurityGroupsPages iterates over the pages of a ListInputSecurityGroups operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See ListOfferings method for more information on how to use this operation. +// See ListInputSecurityGroups method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListOfferings operation. +// // Example iterating over at most 3 pages of a ListInputSecurityGroups operation. // pageNum := 0 -// err := client.ListOfferingsPages(params, -// func(page *medialive.ListOfferingsOutput, lastPage bool) bool { +// err := client.ListInputSecurityGroupsPages(params, +// func(page *medialive.ListInputSecurityGroupsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) -func (c *MediaLive) ListOfferingsPages(input *ListOfferingsInput, fn func(*ListOfferingsOutput, bool) bool) error { - return c.ListOfferingsPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *MediaLive) ListInputSecurityGroupsPages(input *ListInputSecurityGroupsInput, fn func(*ListInputSecurityGroupsOutput, bool) bool) error { + return c.ListInputSecurityGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } -// ListOfferingsPagesWithContext same as ListOfferingsPages except +// ListInputSecurityGroupsPagesWithContext same as ListInputSecurityGroupsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) ListOfferingsPagesWithContext(ctx aws.Context, input *ListOfferingsInput, fn func(*ListOfferingsOutput, bool) bool, opts ...request.Option) error { +func (c *MediaLive) ListInputSecurityGroupsPagesWithContext(ctx aws.Context, input *ListInputSecurityGroupsInput, fn func(*ListInputSecurityGroupsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *ListOfferingsInput + var inCpy *ListInputSecurityGroupsInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.ListOfferingsRequest(inCpy) + req, _ := c.ListInputSecurityGroupsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -4315,7 +5630,7 @@ func (c *MediaLive) ListOfferingsPagesWithContext(ctx aws.Context, input *ListOf } for p.Next() { - if !fn(p.Page().(*ListOfferingsOutput), !p.HasNextPage()) { + if !fn(p.Page().(*ListInputSecurityGroupsOutput), !p.HasNextPage()) { break } } @@ -4323,36 +5638,36 @@ func (c *MediaLive) ListOfferingsPagesWithContext(ctx aws.Context, input *ListOf return p.Err() } -const opListReservations = "ListReservations" +const opListInputs = "ListInputs" -// ListReservationsRequest generates a "aws/request.Request" representing the -// client's request for the ListReservations operation. The "output" return +// ListInputsRequest generates a "aws/request.Request" representing the +// client's request for the ListInputs operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListReservations for more information on using the ListReservations +// See ListInputs for more information on using the ListInputs // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListReservationsRequest method. -// req, resp := client.ListReservationsRequest(params) +// // Example sending a request using the ListInputsRequest method. +// req, resp := client.ListInputsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListReservations -func (c *MediaLive) ListReservationsRequest(input *ListReservationsInput) (req *request.Request, output *ListReservationsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputs +func (c *MediaLive) ListInputsRequest(input *ListInputsInput) (req *request.Request, output *ListInputsOutput) { op := &request.Operation{ - Name: opListReservations, + Name: opListInputs, HTTPMethod: "GET", - HTTPPath: "/prod/reservations", + HTTPPath: "/prod/inputs", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, @@ -4362,24 +5677,24 @@ func (c *MediaLive) ListReservationsRequest(input *ListReservationsInput) (req * } if input == nil { - input = &ListReservationsInput{} + input = &ListInputsInput{} } - output = &ListReservationsOutput{} + output = &ListInputsOutput{} req = c.newRequest(op, input, output) return } -// ListReservations API operation for AWS Elemental MediaLive. +// ListInputs API operation for AWS Elemental MediaLive. // -// List purchased reservations. +// # Produces list of inputs that have been created // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation ListReservations for usage and error information. +// API operation ListInputs for usage and error information. // // Returned Error Types: // @@ -4395,64 +5710,64 @@ func (c *MediaLive) ListReservationsRequest(input *ListReservationsInput) (req * // // - TooManyRequestsException // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListReservations -func (c *MediaLive) ListReservations(input *ListReservationsInput) (*ListReservationsOutput, error) { - req, out := c.ListReservationsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputs +func (c *MediaLive) ListInputs(input *ListInputsInput) (*ListInputsOutput, error) { + req, out := c.ListInputsRequest(input) return out, req.Send() } -// ListReservationsWithContext is the same as ListReservations with the addition of +// ListInputsWithContext is the same as ListInputs with the addition of // the ability to pass a context and additional request options. // -// See ListReservations for details on how to use this API operation. +// See ListInputs for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) ListReservationsWithContext(ctx aws.Context, input *ListReservationsInput, opts ...request.Option) (*ListReservationsOutput, error) { - req, out := c.ListReservationsRequest(input) +func (c *MediaLive) ListInputsWithContext(ctx aws.Context, input *ListInputsInput, opts ...request.Option) (*ListInputsOutput, error) { + req, out := c.ListInputsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListReservationsPages iterates over the pages of a ListReservations operation, +// ListInputsPages iterates over the pages of a ListInputs operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See ListReservations method for more information on how to use this operation. +// See ListInputs method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListReservations operation. +// // Example iterating over at most 3 pages of a ListInputs operation. // pageNum := 0 -// err := client.ListReservationsPages(params, -// func(page *medialive.ListReservationsOutput, lastPage bool) bool { +// err := client.ListInputsPages(params, +// func(page *medialive.ListInputsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) -func (c *MediaLive) ListReservationsPages(input *ListReservationsInput, fn func(*ListReservationsOutput, bool) bool) error { - return c.ListReservationsPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *MediaLive) ListInputsPages(input *ListInputsInput, fn func(*ListInputsOutput, bool) bool) error { + return c.ListInputsPagesWithContext(aws.BackgroundContext(), input, fn) } -// ListReservationsPagesWithContext same as ListReservationsPages except +// ListInputsPagesWithContext same as ListInputsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) ListReservationsPagesWithContext(ctx aws.Context, input *ListReservationsInput, fn func(*ListReservationsOutput, bool) bool, opts ...request.Option) error { +func (c *MediaLive) ListInputsPagesWithContext(ctx aws.Context, input *ListInputsInput, fn func(*ListInputsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *ListReservationsInput + var inCpy *ListInputsInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.ListReservationsRequest(inCpy) + req, _ := c.ListInputsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -4460,7 +5775,7 @@ func (c *MediaLive) ListReservationsPagesWithContext(ctx aws.Context, input *Lis } for p.Next() { - if !fn(p.Page().(*ListReservationsOutput), !p.HasNextPage()) { + if !fn(p.Page().(*ListInputsOutput), !p.HasNextPage()) { break } } @@ -4468,141 +5783,210 @@ func (c *MediaLive) ListReservationsPagesWithContext(ctx aws.Context, input *Lis return p.Err() } -const opListTagsForResource = "ListTagsForResource" +const opListMultiplexPrograms = "ListMultiplexPrograms" -// ListTagsForResourceRequest generates a "aws/request.Request" representing the -// client's request for the ListTagsForResource operation. The "output" return +// ListMultiplexProgramsRequest generates a "aws/request.Request" representing the +// client's request for the ListMultiplexPrograms operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListTagsForResource for more information on using the ListTagsForResource +// See ListMultiplexPrograms for more information on using the ListMultiplexPrograms // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) +// // Example sending a request using the ListMultiplexProgramsRequest method. +// req, resp := client.ListMultiplexProgramsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListTagsForResource -func (c *MediaLive) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListMultiplexPrograms +func (c *MediaLive) ListMultiplexProgramsRequest(input *ListMultiplexProgramsInput) (req *request.Request, output *ListMultiplexProgramsOutput) { op := &request.Operation{ - Name: opListTagsForResource, + Name: opListMultiplexPrograms, HTTPMethod: "GET", - HTTPPath: "/prod/tags/{resource-arn}", + HTTPPath: "/prod/multiplexes/{multiplexId}/programs", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, } if input == nil { - input = &ListTagsForResourceInput{} + input = &ListMultiplexProgramsInput{} } - output = &ListTagsForResourceOutput{} + output = &ListMultiplexProgramsOutput{} req = c.newRequest(op, input, output) return } -// ListTagsForResource API operation for AWS Elemental MediaLive. +// ListMultiplexPrograms API operation for AWS Elemental MediaLive. // -// # Produces list of tags that have been created for a resource +// List the programs that currently exist for a specific multiplex. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation ListTagsForResource for usage and error information. +// API operation ListMultiplexPrograms for usage and error information. // // Returned Error Types: // -// - NotFoundException -// // - BadRequestException // // - InternalServerErrorException // // - ForbiddenException // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListTagsForResource -func (c *MediaLive) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { - req, out := c.ListTagsForResourceRequest(input) +// - BadGatewayException +// +// - NotFoundException +// +// - GatewayTimeoutException +// +// - TooManyRequestsException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListMultiplexPrograms +func (c *MediaLive) ListMultiplexPrograms(input *ListMultiplexProgramsInput) (*ListMultiplexProgramsOutput, error) { + req, out := c.ListMultiplexProgramsRequest(input) return out, req.Send() } -// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of +// ListMultiplexProgramsWithContext is the same as ListMultiplexPrograms with the addition of // the ability to pass a context and additional request options. // -// See ListTagsForResource for details on how to use this API operation. +// See ListMultiplexPrograms for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { - req, out := c.ListTagsForResourceRequest(input) +func (c *MediaLive) ListMultiplexProgramsWithContext(ctx aws.Context, input *ListMultiplexProgramsInput, opts ...request.Option) (*ListMultiplexProgramsOutput, error) { + req, out := c.ListMultiplexProgramsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opPurchaseOffering = "PurchaseOffering" +// ListMultiplexProgramsPages iterates over the pages of a ListMultiplexPrograms operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListMultiplexPrograms method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListMultiplexPrograms operation. +// pageNum := 0 +// err := client.ListMultiplexProgramsPages(params, +// func(page *medialive.ListMultiplexProgramsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *MediaLive) ListMultiplexProgramsPages(input *ListMultiplexProgramsInput, fn func(*ListMultiplexProgramsOutput, bool) bool) error { + return c.ListMultiplexProgramsPagesWithContext(aws.BackgroundContext(), input, fn) +} -// PurchaseOfferingRequest generates a "aws/request.Request" representing the -// client's request for the PurchaseOffering operation. The "output" return +// ListMultiplexProgramsPagesWithContext same as ListMultiplexProgramsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) ListMultiplexProgramsPagesWithContext(ctx aws.Context, input *ListMultiplexProgramsInput, fn func(*ListMultiplexProgramsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListMultiplexProgramsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListMultiplexProgramsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListMultiplexProgramsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListMultiplexes = "ListMultiplexes" + +// ListMultiplexesRequest generates a "aws/request.Request" representing the +// client's request for the ListMultiplexes operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See PurchaseOffering for more information on using the PurchaseOffering +// See ListMultiplexes for more information on using the ListMultiplexes // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the PurchaseOfferingRequest method. -// req, resp := client.PurchaseOfferingRequest(params) +// // Example sending a request using the ListMultiplexesRequest method. +// req, resp := client.ListMultiplexesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/PurchaseOffering -func (c *MediaLive) PurchaseOfferingRequest(input *PurchaseOfferingInput) (req *request.Request, output *PurchaseOfferingOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListMultiplexes +func (c *MediaLive) ListMultiplexesRequest(input *ListMultiplexesInput) (req *request.Request, output *ListMultiplexesOutput) { op := &request.Operation{ - Name: opPurchaseOffering, - HTTPMethod: "POST", - HTTPPath: "/prod/offerings/{offeringId}/purchase", + Name: opListMultiplexes, + HTTPMethod: "GET", + HTTPPath: "/prod/multiplexes", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, } if input == nil { - input = &PurchaseOfferingInput{} + input = &ListMultiplexesInput{} } - output = &PurchaseOfferingOutput{} + output = &ListMultiplexesOutput{} req = c.newRequest(op, input, output) return } -// PurchaseOffering API operation for AWS Elemental MediaLive. +// ListMultiplexes API operation for AWS Elemental MediaLive. // -// Purchase an offering and create a reservation. +// Retrieve a list of the existing multiplexes. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation PurchaseOffering for usage and error information. +// API operation ListMultiplexes for usage and error information. // // Returned Error Types: // @@ -4614,471 +5998,656 @@ func (c *MediaLive) PurchaseOfferingRequest(input *PurchaseOfferingInput) (req * // // - BadGatewayException // -// - NotFoundException -// // - GatewayTimeoutException // // - TooManyRequestsException // -// - ConflictException -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/PurchaseOffering -func (c *MediaLive) PurchaseOffering(input *PurchaseOfferingInput) (*PurchaseOfferingOutput, error) { - req, out := c.PurchaseOfferingRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListMultiplexes +func (c *MediaLive) ListMultiplexes(input *ListMultiplexesInput) (*ListMultiplexesOutput, error) { + req, out := c.ListMultiplexesRequest(input) return out, req.Send() } -// PurchaseOfferingWithContext is the same as PurchaseOffering with the addition of +// ListMultiplexesWithContext is the same as ListMultiplexes with the addition of // the ability to pass a context and additional request options. // -// See PurchaseOffering for details on how to use this API operation. +// See ListMultiplexes for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) PurchaseOfferingWithContext(ctx aws.Context, input *PurchaseOfferingInput, opts ...request.Option) (*PurchaseOfferingOutput, error) { - req, out := c.PurchaseOfferingRequest(input) +func (c *MediaLive) ListMultiplexesWithContext(ctx aws.Context, input *ListMultiplexesInput, opts ...request.Option) (*ListMultiplexesOutput, error) { + req, out := c.ListMultiplexesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opRebootInputDevice = "RebootInputDevice" +// ListMultiplexesPages iterates over the pages of a ListMultiplexes operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListMultiplexes method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListMultiplexes operation. +// pageNum := 0 +// err := client.ListMultiplexesPages(params, +// func(page *medialive.ListMultiplexesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *MediaLive) ListMultiplexesPages(input *ListMultiplexesInput, fn func(*ListMultiplexesOutput, bool) bool) error { + return c.ListMultiplexesPagesWithContext(aws.BackgroundContext(), input, fn) +} -// RebootInputDeviceRequest generates a "aws/request.Request" representing the -// client's request for the RebootInputDevice operation. The "output" return +// ListMultiplexesPagesWithContext same as ListMultiplexesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) ListMultiplexesPagesWithContext(ctx aws.Context, input *ListMultiplexesInput, fn func(*ListMultiplexesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListMultiplexesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListMultiplexesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListMultiplexesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListOfferings = "ListOfferings" + +// ListOfferingsRequest generates a "aws/request.Request" representing the +// client's request for the ListOfferings operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See RebootInputDevice for more information on using the RebootInputDevice +// See ListOfferings for more information on using the ListOfferings // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the RebootInputDeviceRequest method. -// req, resp := client.RebootInputDeviceRequest(params) +// // Example sending a request using the ListOfferingsRequest method. +// req, resp := client.ListOfferingsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/RebootInputDevice -func (c *MediaLive) RebootInputDeviceRequest(input *RebootInputDeviceInput) (req *request.Request, output *RebootInputDeviceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListOfferings +func (c *MediaLive) ListOfferingsRequest(input *ListOfferingsInput) (req *request.Request, output *ListOfferingsOutput) { op := &request.Operation{ - Name: opRebootInputDevice, - HTTPMethod: "POST", - HTTPPath: "/prod/inputDevices/{inputDeviceId}/reboot", + Name: opListOfferings, + HTTPMethod: "GET", + HTTPPath: "/prod/offerings", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, } if input == nil { - input = &RebootInputDeviceInput{} + input = &ListOfferingsInput{} } - output = &RebootInputDeviceOutput{} + output = &ListOfferingsOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// RebootInputDevice API operation for AWS Elemental MediaLive. +// ListOfferings API operation for AWS Elemental MediaLive. // -// Send a reboot command to the specified input device. The device will begin -// rebooting within a few seconds of sending the command. When the reboot is -// complete, the device’s connection status will change to connected. +// List offerings available for purchase. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation RebootInputDevice for usage and error information. +// API operation ListOfferings for usage and error information. // // Returned Error Types: // // - BadRequestException // -// - UnprocessableEntityException -// // - InternalServerErrorException // // - ForbiddenException // // - BadGatewayException // -// - NotFoundException -// // - GatewayTimeoutException // // - TooManyRequestsException // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/RebootInputDevice -func (c *MediaLive) RebootInputDevice(input *RebootInputDeviceInput) (*RebootInputDeviceOutput, error) { - req, out := c.RebootInputDeviceRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListOfferings +func (c *MediaLive) ListOfferings(input *ListOfferingsInput) (*ListOfferingsOutput, error) { + req, out := c.ListOfferingsRequest(input) return out, req.Send() } -// RebootInputDeviceWithContext is the same as RebootInputDevice with the addition of +// ListOfferingsWithContext is the same as ListOfferings with the addition of // the ability to pass a context and additional request options. // -// See RebootInputDevice for details on how to use this API operation. +// See ListOfferings for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) RebootInputDeviceWithContext(ctx aws.Context, input *RebootInputDeviceInput, opts ...request.Option) (*RebootInputDeviceOutput, error) { - req, out := c.RebootInputDeviceRequest(input) +func (c *MediaLive) ListOfferingsWithContext(ctx aws.Context, input *ListOfferingsInput, opts ...request.Option) (*ListOfferingsOutput, error) { + req, out := c.ListOfferingsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opRejectInputDeviceTransfer = "RejectInputDeviceTransfer" +// ListOfferingsPages iterates over the pages of a ListOfferings operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListOfferings method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListOfferings operation. +// pageNum := 0 +// err := client.ListOfferingsPages(params, +// func(page *medialive.ListOfferingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *MediaLive) ListOfferingsPages(input *ListOfferingsInput, fn func(*ListOfferingsOutput, bool) bool) error { + return c.ListOfferingsPagesWithContext(aws.BackgroundContext(), input, fn) +} -// RejectInputDeviceTransferRequest generates a "aws/request.Request" representing the -// client's request for the RejectInputDeviceTransfer operation. The "output" return +// ListOfferingsPagesWithContext same as ListOfferingsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) ListOfferingsPagesWithContext(ctx aws.Context, input *ListOfferingsInput, fn func(*ListOfferingsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListOfferingsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListOfferingsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListOfferingsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListReservations = "ListReservations" + +// ListReservationsRequest generates a "aws/request.Request" representing the +// client's request for the ListReservations operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See RejectInputDeviceTransfer for more information on using the RejectInputDeviceTransfer +// See ListReservations for more information on using the ListReservations // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the RejectInputDeviceTransferRequest method. -// req, resp := client.RejectInputDeviceTransferRequest(params) +// // Example sending a request using the ListReservationsRequest method. +// req, resp := client.ListReservationsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/RejectInputDeviceTransfer -func (c *MediaLive) RejectInputDeviceTransferRequest(input *RejectInputDeviceTransferInput) (req *request.Request, output *RejectInputDeviceTransferOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListReservations +func (c *MediaLive) ListReservationsRequest(input *ListReservationsInput) (req *request.Request, output *ListReservationsOutput) { op := &request.Operation{ - Name: opRejectInputDeviceTransfer, - HTTPMethod: "POST", - HTTPPath: "/prod/inputDevices/{inputDeviceId}/reject", + Name: opListReservations, + HTTPMethod: "GET", + HTTPPath: "/prod/reservations", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, } if input == nil { - input = &RejectInputDeviceTransferInput{} + input = &ListReservationsInput{} } - output = &RejectInputDeviceTransferOutput{} + output = &ListReservationsOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// RejectInputDeviceTransfer API operation for AWS Elemental MediaLive. +// ListReservations API operation for AWS Elemental MediaLive. // -// Reject the transfer of the specified input device to your AWS account. +// List purchased reservations. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation RejectInputDeviceTransfer for usage and error information. +// API operation ListReservations for usage and error information. // // Returned Error Types: // // - BadRequestException // -// - UnprocessableEntityException -// // - InternalServerErrorException // // - ForbiddenException // // - BadGatewayException // -// - NotFoundException -// // - GatewayTimeoutException // // - TooManyRequestsException // -// - ConflictException -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/RejectInputDeviceTransfer -func (c *MediaLive) RejectInputDeviceTransfer(input *RejectInputDeviceTransferInput) (*RejectInputDeviceTransferOutput, error) { - req, out := c.RejectInputDeviceTransferRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListReservations +func (c *MediaLive) ListReservations(input *ListReservationsInput) (*ListReservationsOutput, error) { + req, out := c.ListReservationsRequest(input) return out, req.Send() } -// RejectInputDeviceTransferWithContext is the same as RejectInputDeviceTransfer with the addition of +// ListReservationsWithContext is the same as ListReservations with the addition of // the ability to pass a context and additional request options. // -// See RejectInputDeviceTransfer for details on how to use this API operation. +// See ListReservations for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) RejectInputDeviceTransferWithContext(ctx aws.Context, input *RejectInputDeviceTransferInput, opts ...request.Option) (*RejectInputDeviceTransferOutput, error) { - req, out := c.RejectInputDeviceTransferRequest(input) +func (c *MediaLive) ListReservationsWithContext(ctx aws.Context, input *ListReservationsInput, opts ...request.Option) (*ListReservationsOutput, error) { + req, out := c.ListReservationsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opRestartChannelPipelines = "RestartChannelPipelines" +// ListReservationsPages iterates over the pages of a ListReservations operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListReservations method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListReservations operation. +// pageNum := 0 +// err := client.ListReservationsPages(params, +// func(page *medialive.ListReservationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *MediaLive) ListReservationsPages(input *ListReservationsInput, fn func(*ListReservationsOutput, bool) bool) error { + return c.ListReservationsPagesWithContext(aws.BackgroundContext(), input, fn) +} -// RestartChannelPipelinesRequest generates a "aws/request.Request" representing the -// client's request for the RestartChannelPipelines operation. The "output" return +// ListReservationsPagesWithContext same as ListReservationsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) ListReservationsPagesWithContext(ctx aws.Context, input *ListReservationsInput, fn func(*ListReservationsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListReservationsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListReservationsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListReservationsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListSignalMaps = "ListSignalMaps" + +// ListSignalMapsRequest generates a "aws/request.Request" representing the +// client's request for the ListSignalMaps operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See RestartChannelPipelines for more information on using the RestartChannelPipelines +// See ListSignalMaps for more information on using the ListSignalMaps // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the RestartChannelPipelinesRequest method. -// req, resp := client.RestartChannelPipelinesRequest(params) +// // Example sending a request using the ListSignalMapsRequest method. +// req, resp := client.ListSignalMapsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/RestartChannelPipelines -func (c *MediaLive) RestartChannelPipelinesRequest(input *RestartChannelPipelinesInput) (req *request.Request, output *RestartChannelPipelinesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListSignalMaps +func (c *MediaLive) ListSignalMapsRequest(input *ListSignalMapsInput) (req *request.Request, output *ListSignalMapsOutput) { op := &request.Operation{ - Name: opRestartChannelPipelines, - HTTPMethod: "POST", - HTTPPath: "/prod/channels/{channelId}/restartChannelPipelines", + Name: opListSignalMaps, + HTTPMethod: "GET", + HTTPPath: "/prod/signal-maps", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, } if input == nil { - input = &RestartChannelPipelinesInput{} + input = &ListSignalMapsInput{} } - output = &RestartChannelPipelinesOutput{} + output = &ListSignalMapsOutput{} req = c.newRequest(op, input, output) return } -// RestartChannelPipelines API operation for AWS Elemental MediaLive. +// ListSignalMaps API operation for AWS Elemental MediaLive. // -// Restart pipelines in one channel that is currently running. +// Lists signal maps. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation RestartChannelPipelines for usage and error information. +// API operation ListSignalMaps for usage and error information. // // Returned Error Types: // +// - NotFoundException +// +// - TooManyRequestsException +// // - BadRequestException // // - InternalServerErrorException // // - ForbiddenException // -// - BadGatewayException -// -// - NotFoundException -// -// - GatewayTimeoutException -// -// - TooManyRequestsException -// -// - ConflictException -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/RestartChannelPipelines -func (c *MediaLive) RestartChannelPipelines(input *RestartChannelPipelinesInput) (*RestartChannelPipelinesOutput, error) { - req, out := c.RestartChannelPipelinesRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListSignalMaps +func (c *MediaLive) ListSignalMaps(input *ListSignalMapsInput) (*ListSignalMapsOutput, error) { + req, out := c.ListSignalMapsRequest(input) return out, req.Send() } -// RestartChannelPipelinesWithContext is the same as RestartChannelPipelines with the addition of +// ListSignalMapsWithContext is the same as ListSignalMaps with the addition of // the ability to pass a context and additional request options. // -// See RestartChannelPipelines for details on how to use this API operation. +// See ListSignalMaps for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) RestartChannelPipelinesWithContext(ctx aws.Context, input *RestartChannelPipelinesInput, opts ...request.Option) (*RestartChannelPipelinesOutput, error) { - req, out := c.RestartChannelPipelinesRequest(input) +func (c *MediaLive) ListSignalMapsWithContext(ctx aws.Context, input *ListSignalMapsInput, opts ...request.Option) (*ListSignalMapsOutput, error) { + req, out := c.ListSignalMapsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opStartChannel = "StartChannel" +// ListSignalMapsPages iterates over the pages of a ListSignalMaps operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListSignalMaps method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListSignalMaps operation. +// pageNum := 0 +// err := client.ListSignalMapsPages(params, +// func(page *medialive.ListSignalMapsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *MediaLive) ListSignalMapsPages(input *ListSignalMapsInput, fn func(*ListSignalMapsOutput, bool) bool) error { + return c.ListSignalMapsPagesWithContext(aws.BackgroundContext(), input, fn) +} -// StartChannelRequest generates a "aws/request.Request" representing the -// client's request for the StartChannel operation. The "output" return +// ListSignalMapsPagesWithContext same as ListSignalMapsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) ListSignalMapsPagesWithContext(ctx aws.Context, input *ListSignalMapsInput, fn func(*ListSignalMapsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListSignalMapsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListSignalMapsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListSignalMapsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListTagsForResource = "ListTagsForResource" + +// ListTagsForResourceRequest generates a "aws/request.Request" representing the +// client's request for the ListTagsForResource operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See StartChannel for more information on using the StartChannel +// See ListTagsForResource for more information on using the ListTagsForResource // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the StartChannelRequest method. -// req, resp := client.StartChannelRequest(params) +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartChannel -func (c *MediaLive) StartChannelRequest(input *StartChannelInput) (req *request.Request, output *StartChannelOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListTagsForResource +func (c *MediaLive) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { op := &request.Operation{ - Name: opStartChannel, - HTTPMethod: "POST", - HTTPPath: "/prod/channels/{channelId}/start", + Name: opListTagsForResource, + HTTPMethod: "GET", + HTTPPath: "/prod/tags/{resource-arn}", } if input == nil { - input = &StartChannelInput{} + input = &ListTagsForResourceInput{} } - output = &StartChannelOutput{} + output = &ListTagsForResourceOutput{} req = c.newRequest(op, input, output) return } -// StartChannel API operation for AWS Elemental MediaLive. +// ListTagsForResource API operation for AWS Elemental MediaLive. // -// # Starts an existing channel +// # Produces list of tags that have been created for a resource // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation StartChannel for usage and error information. +// API operation ListTagsForResource for usage and error information. // // Returned Error Types: // +// - NotFoundException +// // - BadRequestException // // - InternalServerErrorException // // - ForbiddenException // -// - BadGatewayException -// -// - NotFoundException -// -// - GatewayTimeoutException -// -// - TooManyRequestsException -// -// - ConflictException -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartChannel -func (c *MediaLive) StartChannel(input *StartChannelInput) (*StartChannelOutput, error) { - req, out := c.StartChannelRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListTagsForResource +func (c *MediaLive) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) return out, req.Send() } -// StartChannelWithContext is the same as StartChannel with the addition of +// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of // the ability to pass a context and additional request options. // -// See StartChannel for details on how to use this API operation. +// See ListTagsForResource for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) StartChannelWithContext(ctx aws.Context, input *StartChannelInput, opts ...request.Option) (*StartChannelOutput, error) { - req, out := c.StartChannelRequest(input) +func (c *MediaLive) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opStartInputDevice = "StartInputDevice" +const opPurchaseOffering = "PurchaseOffering" -// StartInputDeviceRequest generates a "aws/request.Request" representing the -// client's request for the StartInputDevice operation. The "output" return +// PurchaseOfferingRequest generates a "aws/request.Request" representing the +// client's request for the PurchaseOffering operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See StartInputDevice for more information on using the StartInputDevice +// See PurchaseOffering for more information on using the PurchaseOffering // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the StartInputDeviceRequest method. -// req, resp := client.StartInputDeviceRequest(params) +// // Example sending a request using the PurchaseOfferingRequest method. +// req, resp := client.PurchaseOfferingRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartInputDevice -func (c *MediaLive) StartInputDeviceRequest(input *StartInputDeviceInput) (req *request.Request, output *StartInputDeviceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/PurchaseOffering +func (c *MediaLive) PurchaseOfferingRequest(input *PurchaseOfferingInput) (req *request.Request, output *PurchaseOfferingOutput) { op := &request.Operation{ - Name: opStartInputDevice, + Name: opPurchaseOffering, HTTPMethod: "POST", - HTTPPath: "/prod/inputDevices/{inputDeviceId}/start", + HTTPPath: "/prod/offerings/{offeringId}/purchase", } if input == nil { - input = &StartInputDeviceInput{} + input = &PurchaseOfferingInput{} } - output = &StartInputDeviceOutput{} + output = &PurchaseOfferingOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// StartInputDevice API operation for AWS Elemental MediaLive. +// PurchaseOffering API operation for AWS Elemental MediaLive. // -// Start an input device that is attached to a MediaConnect flow. (There is -// no need to start a device that is attached to a MediaLive input; MediaLive -// starts the device when the channel starts.) +// Purchase an offering and create a reservation. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation StartInputDevice for usage and error information. +// API operation PurchaseOffering for usage and error information. // // Returned Error Types: // // - BadRequestException // -// - UnprocessableEntityException -// // - InternalServerErrorException // // - ForbiddenException @@ -5091,87 +6660,84 @@ func (c *MediaLive) StartInputDeviceRequest(input *StartInputDeviceInput) (req * // // - TooManyRequestsException // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartInputDevice -func (c *MediaLive) StartInputDevice(input *StartInputDeviceInput) (*StartInputDeviceOutput, error) { - req, out := c.StartInputDeviceRequest(input) +// - ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/PurchaseOffering +func (c *MediaLive) PurchaseOffering(input *PurchaseOfferingInput) (*PurchaseOfferingOutput, error) { + req, out := c.PurchaseOfferingRequest(input) return out, req.Send() } -// StartInputDeviceWithContext is the same as StartInputDevice with the addition of +// PurchaseOfferingWithContext is the same as PurchaseOffering with the addition of // the ability to pass a context and additional request options. // -// See StartInputDevice for details on how to use this API operation. +// See PurchaseOffering for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) StartInputDeviceWithContext(ctx aws.Context, input *StartInputDeviceInput, opts ...request.Option) (*StartInputDeviceOutput, error) { - req, out := c.StartInputDeviceRequest(input) +func (c *MediaLive) PurchaseOfferingWithContext(ctx aws.Context, input *PurchaseOfferingInput, opts ...request.Option) (*PurchaseOfferingOutput, error) { + req, out := c.PurchaseOfferingRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opStartInputDeviceMaintenanceWindow = "StartInputDeviceMaintenanceWindow" +const opRebootInputDevice = "RebootInputDevice" -// StartInputDeviceMaintenanceWindowRequest generates a "aws/request.Request" representing the -// client's request for the StartInputDeviceMaintenanceWindow operation. The "output" return +// RebootInputDeviceRequest generates a "aws/request.Request" representing the +// client's request for the RebootInputDevice operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See StartInputDeviceMaintenanceWindow for more information on using the StartInputDeviceMaintenanceWindow +// See RebootInputDevice for more information on using the RebootInputDevice // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the StartInputDeviceMaintenanceWindowRequest method. -// req, resp := client.StartInputDeviceMaintenanceWindowRequest(params) +// // Example sending a request using the RebootInputDeviceRequest method. +// req, resp := client.RebootInputDeviceRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartInputDeviceMaintenanceWindow -func (c *MediaLive) StartInputDeviceMaintenanceWindowRequest(input *StartInputDeviceMaintenanceWindowInput) (req *request.Request, output *StartInputDeviceMaintenanceWindowOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/RebootInputDevice +func (c *MediaLive) RebootInputDeviceRequest(input *RebootInputDeviceInput) (req *request.Request, output *RebootInputDeviceOutput) { op := &request.Operation{ - Name: opStartInputDeviceMaintenanceWindow, + Name: opRebootInputDevice, HTTPMethod: "POST", - HTTPPath: "/prod/inputDevices/{inputDeviceId}/startInputDeviceMaintenanceWindow", + HTTPPath: "/prod/inputDevices/{inputDeviceId}/reboot", } if input == nil { - input = &StartInputDeviceMaintenanceWindowInput{} + input = &RebootInputDeviceInput{} } - output = &StartInputDeviceMaintenanceWindowOutput{} + output = &RebootInputDeviceOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// StartInputDeviceMaintenanceWindow API operation for AWS Elemental MediaLive. +// RebootInputDevice API operation for AWS Elemental MediaLive. // -// Start a maintenance window for the specified input device. Starting a maintenance -// window will give the device up to two hours to install software. If the device -// was streaming prior to the maintenance, it will resume streaming when the -// software is fully installed. Devices automatically install updates while -// they are powered on and their MediaLive channels are stopped. A maintenance -// window allows you to update a device without having to stop MediaLive channels -// that use the device. The device must remain powered on and connected to the -// internet for the duration of the maintenance. +// Send a reboot command to the specified input device. The device will begin +// rebooting within a few seconds of sending the command. When the reboot is +// complete, the device’s connection status will change to connected. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation StartInputDeviceMaintenanceWindow for usage and error information. +// API operation RebootInputDevice for usage and error information. // // Returned Error Types: // @@ -5191,85 +6757,87 @@ func (c *MediaLive) StartInputDeviceMaintenanceWindowRequest(input *StartInputDe // // - TooManyRequestsException // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartInputDeviceMaintenanceWindow -func (c *MediaLive) StartInputDeviceMaintenanceWindow(input *StartInputDeviceMaintenanceWindowInput) (*StartInputDeviceMaintenanceWindowOutput, error) { - req, out := c.StartInputDeviceMaintenanceWindowRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/RebootInputDevice +func (c *MediaLive) RebootInputDevice(input *RebootInputDeviceInput) (*RebootInputDeviceOutput, error) { + req, out := c.RebootInputDeviceRequest(input) return out, req.Send() } -// StartInputDeviceMaintenanceWindowWithContext is the same as StartInputDeviceMaintenanceWindow with the addition of +// RebootInputDeviceWithContext is the same as RebootInputDevice with the addition of // the ability to pass a context and additional request options. // -// See StartInputDeviceMaintenanceWindow for details on how to use this API operation. +// See RebootInputDevice for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) StartInputDeviceMaintenanceWindowWithContext(ctx aws.Context, input *StartInputDeviceMaintenanceWindowInput, opts ...request.Option) (*StartInputDeviceMaintenanceWindowOutput, error) { - req, out := c.StartInputDeviceMaintenanceWindowRequest(input) +func (c *MediaLive) RebootInputDeviceWithContext(ctx aws.Context, input *RebootInputDeviceInput, opts ...request.Option) (*RebootInputDeviceOutput, error) { + req, out := c.RebootInputDeviceRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opStartMultiplex = "StartMultiplex" +const opRejectInputDeviceTransfer = "RejectInputDeviceTransfer" -// StartMultiplexRequest generates a "aws/request.Request" representing the -// client's request for the StartMultiplex operation. The "output" return +// RejectInputDeviceTransferRequest generates a "aws/request.Request" representing the +// client's request for the RejectInputDeviceTransfer operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See StartMultiplex for more information on using the StartMultiplex +// See RejectInputDeviceTransfer for more information on using the RejectInputDeviceTransfer // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the StartMultiplexRequest method. -// req, resp := client.StartMultiplexRequest(params) +// // Example sending a request using the RejectInputDeviceTransferRequest method. +// req, resp := client.RejectInputDeviceTransferRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartMultiplex -func (c *MediaLive) StartMultiplexRequest(input *StartMultiplexInput) (req *request.Request, output *StartMultiplexOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/RejectInputDeviceTransfer +func (c *MediaLive) RejectInputDeviceTransferRequest(input *RejectInputDeviceTransferInput) (req *request.Request, output *RejectInputDeviceTransferOutput) { op := &request.Operation{ - Name: opStartMultiplex, + Name: opRejectInputDeviceTransfer, HTTPMethod: "POST", - HTTPPath: "/prod/multiplexes/{multiplexId}/start", + HTTPPath: "/prod/inputDevices/{inputDeviceId}/reject", } if input == nil { - input = &StartMultiplexInput{} + input = &RejectInputDeviceTransferInput{} } - output = &StartMultiplexOutput{} + output = &RejectInputDeviceTransferOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// StartMultiplex API operation for AWS Elemental MediaLive. +// RejectInputDeviceTransfer API operation for AWS Elemental MediaLive. // -// Start (run) the multiplex. Starting the multiplex does not start the channels. -// You must explicitly start each channel. +// Reject the transfer of the specified input device to your AWS account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation StartMultiplex for usage and error information. +// API operation RejectInputDeviceTransfer for usage and error information. // // Returned Error Types: // // - BadRequestException // +// - UnprocessableEntityException +// // - InternalServerErrorException // // - ForbiddenException @@ -5284,79 +6852,79 @@ func (c *MediaLive) StartMultiplexRequest(input *StartMultiplexInput) (req *requ // // - ConflictException // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartMultiplex -func (c *MediaLive) StartMultiplex(input *StartMultiplexInput) (*StartMultiplexOutput, error) { - req, out := c.StartMultiplexRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/RejectInputDeviceTransfer +func (c *MediaLive) RejectInputDeviceTransfer(input *RejectInputDeviceTransferInput) (*RejectInputDeviceTransferOutput, error) { + req, out := c.RejectInputDeviceTransferRequest(input) return out, req.Send() } -// StartMultiplexWithContext is the same as StartMultiplex with the addition of +// RejectInputDeviceTransferWithContext is the same as RejectInputDeviceTransfer with the addition of // the ability to pass a context and additional request options. // -// See StartMultiplex for details on how to use this API operation. +// See RejectInputDeviceTransfer for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) StartMultiplexWithContext(ctx aws.Context, input *StartMultiplexInput, opts ...request.Option) (*StartMultiplexOutput, error) { - req, out := c.StartMultiplexRequest(input) +func (c *MediaLive) RejectInputDeviceTransferWithContext(ctx aws.Context, input *RejectInputDeviceTransferInput, opts ...request.Option) (*RejectInputDeviceTransferOutput, error) { + req, out := c.RejectInputDeviceTransferRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opStopChannel = "StopChannel" +const opRestartChannelPipelines = "RestartChannelPipelines" -// StopChannelRequest generates a "aws/request.Request" representing the -// client's request for the StopChannel operation. The "output" return +// RestartChannelPipelinesRequest generates a "aws/request.Request" representing the +// client's request for the RestartChannelPipelines operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See StopChannel for more information on using the StopChannel +// See RestartChannelPipelines for more information on using the RestartChannelPipelines // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the StopChannelRequest method. -// req, resp := client.StopChannelRequest(params) +// // Example sending a request using the RestartChannelPipelinesRequest method. +// req, resp := client.RestartChannelPipelinesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopChannel -func (c *MediaLive) StopChannelRequest(input *StopChannelInput) (req *request.Request, output *StopChannelOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/RestartChannelPipelines +func (c *MediaLive) RestartChannelPipelinesRequest(input *RestartChannelPipelinesInput) (req *request.Request, output *RestartChannelPipelinesOutput) { op := &request.Operation{ - Name: opStopChannel, + Name: opRestartChannelPipelines, HTTPMethod: "POST", - HTTPPath: "/prod/channels/{channelId}/stop", + HTTPPath: "/prod/channels/{channelId}/restartChannelPipelines", } if input == nil { - input = &StopChannelInput{} + input = &RestartChannelPipelinesInput{} } - output = &StopChannelOutput{} + output = &RestartChannelPipelinesOutput{} req = c.newRequest(op, input, output) return } -// StopChannel API operation for AWS Elemental MediaLive. +// RestartChannelPipelines API operation for AWS Elemental MediaLive. // -// # Stops a running channel +// Restart pipelines in one channel that is currently running. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation StopChannel for usage and error information. +// API operation RestartChannelPipelines for usage and error information. // // Returned Error Types: // @@ -5376,89 +6944,84 @@ func (c *MediaLive) StopChannelRequest(input *StopChannelInput) (req *request.Re // // - ConflictException // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopChannel -func (c *MediaLive) StopChannel(input *StopChannelInput) (*StopChannelOutput, error) { - req, out := c.StopChannelRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/RestartChannelPipelines +func (c *MediaLive) RestartChannelPipelines(input *RestartChannelPipelinesInput) (*RestartChannelPipelinesOutput, error) { + req, out := c.RestartChannelPipelinesRequest(input) return out, req.Send() } -// StopChannelWithContext is the same as StopChannel with the addition of +// RestartChannelPipelinesWithContext is the same as RestartChannelPipelines with the addition of // the ability to pass a context and additional request options. // -// See StopChannel for details on how to use this API operation. +// See RestartChannelPipelines for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) StopChannelWithContext(ctx aws.Context, input *StopChannelInput, opts ...request.Option) (*StopChannelOutput, error) { - req, out := c.StopChannelRequest(input) +func (c *MediaLive) RestartChannelPipelinesWithContext(ctx aws.Context, input *RestartChannelPipelinesInput, opts ...request.Option) (*RestartChannelPipelinesOutput, error) { + req, out := c.RestartChannelPipelinesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opStopInputDevice = "StopInputDevice" +const opStartChannel = "StartChannel" -// StopInputDeviceRequest generates a "aws/request.Request" representing the -// client's request for the StopInputDevice operation. The "output" return +// StartChannelRequest generates a "aws/request.Request" representing the +// client's request for the StartChannel operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See StopInputDevice for more information on using the StopInputDevice +// See StartChannel for more information on using the StartChannel // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the StopInputDeviceRequest method. -// req, resp := client.StopInputDeviceRequest(params) +// // Example sending a request using the StartChannelRequest method. +// req, resp := client.StartChannelRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopInputDevice -func (c *MediaLive) StopInputDeviceRequest(input *StopInputDeviceInput) (req *request.Request, output *StopInputDeviceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartChannel +func (c *MediaLive) StartChannelRequest(input *StartChannelInput) (req *request.Request, output *StartChannelOutput) { op := &request.Operation{ - Name: opStopInputDevice, + Name: opStartChannel, HTTPMethod: "POST", - HTTPPath: "/prod/inputDevices/{inputDeviceId}/stop", + HTTPPath: "/prod/channels/{channelId}/start", } if input == nil { - input = &StopInputDeviceInput{} + input = &StartChannelInput{} } - output = &StopInputDeviceOutput{} + output = &StartChannelOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// StopInputDevice API operation for AWS Elemental MediaLive. +// StartChannel API operation for AWS Elemental MediaLive. // -// Stop an input device that is attached to a MediaConnect flow. (There is no -// need to stop a device that is attached to a MediaLive input; MediaLive automatically -// stops the device when the channel stops.) +// # Starts an existing channel // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation StopInputDevice for usage and error information. +// API operation StartChannel for usage and error information. // // Returned Error Types: // // - BadRequestException // -// - UnprocessableEntityException -// // - InternalServerErrorException // // - ForbiddenException @@ -5471,80 +7034,81 @@ func (c *MediaLive) StopInputDeviceRequest(input *StopInputDeviceInput) (req *re // // - TooManyRequestsException // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopInputDevice -func (c *MediaLive) StopInputDevice(input *StopInputDeviceInput) (*StopInputDeviceOutput, error) { - req, out := c.StopInputDeviceRequest(input) +// - ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartChannel +func (c *MediaLive) StartChannel(input *StartChannelInput) (*StartChannelOutput, error) { + req, out := c.StartChannelRequest(input) return out, req.Send() } -// StopInputDeviceWithContext is the same as StopInputDevice with the addition of +// StartChannelWithContext is the same as StartChannel with the addition of // the ability to pass a context and additional request options. // -// See StopInputDevice for details on how to use this API operation. +// See StartChannel for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) StopInputDeviceWithContext(ctx aws.Context, input *StopInputDeviceInput, opts ...request.Option) (*StopInputDeviceOutput, error) { - req, out := c.StopInputDeviceRequest(input) +func (c *MediaLive) StartChannelWithContext(ctx aws.Context, input *StartChannelInput, opts ...request.Option) (*StartChannelOutput, error) { + req, out := c.StartChannelRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opStopMultiplex = "StopMultiplex" +const opStartDeleteMonitorDeployment = "StartDeleteMonitorDeployment" -// StopMultiplexRequest generates a "aws/request.Request" representing the -// client's request for the StopMultiplex operation. The "output" return +// StartDeleteMonitorDeploymentRequest generates a "aws/request.Request" representing the +// client's request for the StartDeleteMonitorDeployment operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See StopMultiplex for more information on using the StopMultiplex +// See StartDeleteMonitorDeployment for more information on using the StartDeleteMonitorDeployment // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the StopMultiplexRequest method. -// req, resp := client.StopMultiplexRequest(params) +// // Example sending a request using the StartDeleteMonitorDeploymentRequest method. +// req, resp := client.StartDeleteMonitorDeploymentRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopMultiplex -func (c *MediaLive) StopMultiplexRequest(input *StopMultiplexInput) (req *request.Request, output *StopMultiplexOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartDeleteMonitorDeployment +func (c *MediaLive) StartDeleteMonitorDeploymentRequest(input *StartDeleteMonitorDeploymentInput) (req *request.Request, output *StartDeleteMonitorDeploymentOutput) { op := &request.Operation{ - Name: opStopMultiplex, - HTTPMethod: "POST", - HTTPPath: "/prod/multiplexes/{multiplexId}/stop", + Name: opStartDeleteMonitorDeployment, + HTTPMethod: "DELETE", + HTTPPath: "/prod/signal-maps/{identifier}/monitor-deployment", } if input == nil { - input = &StopMultiplexInput{} + input = &StartDeleteMonitorDeploymentInput{} } - output = &StopMultiplexOutput{} + output = &StartDeleteMonitorDeploymentOutput{} req = c.newRequest(op, input, output) return } -// StopMultiplex API operation for AWS Elemental MediaLive. +// StartDeleteMonitorDeployment API operation for AWS Elemental MediaLive. // -// Stops a running multiplex. If the multiplex isn't running, this action has -// no effect. +// Initiates a deployment to delete the monitor of the specified signal map. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation StopMultiplex for usage and error information. +// API operation StartDeleteMonitorDeployment for usage and error information. // // Returned Error Types: // @@ -5554,91 +7118,88 @@ func (c *MediaLive) StopMultiplexRequest(input *StopMultiplexInput) (req *reques // // - ForbiddenException // -// - BadGatewayException -// // - NotFoundException // -// - GatewayTimeoutException -// // - TooManyRequestsException // // - ConflictException // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopMultiplex -func (c *MediaLive) StopMultiplex(input *StopMultiplexInput) (*StopMultiplexOutput, error) { - req, out := c.StopMultiplexRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartDeleteMonitorDeployment +func (c *MediaLive) StartDeleteMonitorDeployment(input *StartDeleteMonitorDeploymentInput) (*StartDeleteMonitorDeploymentOutput, error) { + req, out := c.StartDeleteMonitorDeploymentRequest(input) return out, req.Send() } -// StopMultiplexWithContext is the same as StopMultiplex with the addition of +// StartDeleteMonitorDeploymentWithContext is the same as StartDeleteMonitorDeployment with the addition of // the ability to pass a context and additional request options. // -// See StopMultiplex for details on how to use this API operation. +// See StartDeleteMonitorDeployment for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) StopMultiplexWithContext(ctx aws.Context, input *StopMultiplexInput, opts ...request.Option) (*StopMultiplexOutput, error) { - req, out := c.StopMultiplexRequest(input) +func (c *MediaLive) StartDeleteMonitorDeploymentWithContext(ctx aws.Context, input *StartDeleteMonitorDeploymentInput, opts ...request.Option) (*StartDeleteMonitorDeploymentOutput, error) { + req, out := c.StartDeleteMonitorDeploymentRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opTransferInputDevice = "TransferInputDevice" +const opStartInputDevice = "StartInputDevice" -// TransferInputDeviceRequest generates a "aws/request.Request" representing the -// client's request for the TransferInputDevice operation. The "output" return +// StartInputDeviceRequest generates a "aws/request.Request" representing the +// client's request for the StartInputDevice operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See TransferInputDevice for more information on using the TransferInputDevice +// See StartInputDevice for more information on using the StartInputDevice // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the TransferInputDeviceRequest method. -// req, resp := client.TransferInputDeviceRequest(params) +// // Example sending a request using the StartInputDeviceRequest method. +// req, resp := client.StartInputDeviceRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/TransferInputDevice -func (c *MediaLive) TransferInputDeviceRequest(input *TransferInputDeviceInput) (req *request.Request, output *TransferInputDeviceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartInputDevice +func (c *MediaLive) StartInputDeviceRequest(input *StartInputDeviceInput) (req *request.Request, output *StartInputDeviceOutput) { op := &request.Operation{ - Name: opTransferInputDevice, + Name: opStartInputDevice, HTTPMethod: "POST", - HTTPPath: "/prod/inputDevices/{inputDeviceId}/transfer", + HTTPPath: "/prod/inputDevices/{inputDeviceId}/start", } if input == nil { - input = &TransferInputDeviceInput{} + input = &StartInputDeviceInput{} } - output = &TransferInputDeviceOutput{} + output = &StartInputDeviceOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// TransferInputDevice API operation for AWS Elemental MediaLive. +// StartInputDevice API operation for AWS Elemental MediaLive. // -// Start an input device transfer to another AWS account. After you make the -// request, the other account must accept or reject the transfer. +// Start an input device that is attached to a MediaConnect flow. (There is +// no need to start a device that is attached to a MediaLive input; MediaLive +// starts the device when the channel starts.) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation TransferInputDevice for usage and error information. +// API operation StartInputDevice for usage and error information. // // Returned Error Types: // @@ -5658,81 +7219,87 @@ func (c *MediaLive) TransferInputDeviceRequest(input *TransferInputDeviceInput) // // - TooManyRequestsException // -// - ConflictException -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/TransferInputDevice -func (c *MediaLive) TransferInputDevice(input *TransferInputDeviceInput) (*TransferInputDeviceOutput, error) { - req, out := c.TransferInputDeviceRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartInputDevice +func (c *MediaLive) StartInputDevice(input *StartInputDeviceInput) (*StartInputDeviceOutput, error) { + req, out := c.StartInputDeviceRequest(input) return out, req.Send() } -// TransferInputDeviceWithContext is the same as TransferInputDevice with the addition of +// StartInputDeviceWithContext is the same as StartInputDevice with the addition of // the ability to pass a context and additional request options. // -// See TransferInputDevice for details on how to use this API operation. +// See StartInputDevice for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) TransferInputDeviceWithContext(ctx aws.Context, input *TransferInputDeviceInput, opts ...request.Option) (*TransferInputDeviceOutput, error) { - req, out := c.TransferInputDeviceRequest(input) +func (c *MediaLive) StartInputDeviceWithContext(ctx aws.Context, input *StartInputDeviceInput, opts ...request.Option) (*StartInputDeviceOutput, error) { + req, out := c.StartInputDeviceRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateAccountConfiguration = "UpdateAccountConfiguration" +const opStartInputDeviceMaintenanceWindow = "StartInputDeviceMaintenanceWindow" -// UpdateAccountConfigurationRequest generates a "aws/request.Request" representing the -// client's request for the UpdateAccountConfiguration operation. The "output" return +// StartInputDeviceMaintenanceWindowRequest generates a "aws/request.Request" representing the +// client's request for the StartInputDeviceMaintenanceWindow operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateAccountConfiguration for more information on using the UpdateAccountConfiguration +// See StartInputDeviceMaintenanceWindow for more information on using the StartInputDeviceMaintenanceWindow // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UpdateAccountConfigurationRequest method. -// req, resp := client.UpdateAccountConfigurationRequest(params) +// // Example sending a request using the StartInputDeviceMaintenanceWindowRequest method. +// req, resp := client.StartInputDeviceMaintenanceWindowRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateAccountConfiguration -func (c *MediaLive) UpdateAccountConfigurationRequest(input *UpdateAccountConfigurationInput) (req *request.Request, output *UpdateAccountConfigurationOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartInputDeviceMaintenanceWindow +func (c *MediaLive) StartInputDeviceMaintenanceWindowRequest(input *StartInputDeviceMaintenanceWindowInput) (req *request.Request, output *StartInputDeviceMaintenanceWindowOutput) { op := &request.Operation{ - Name: opUpdateAccountConfiguration, - HTTPMethod: "PUT", - HTTPPath: "/prod/accountConfiguration", + Name: opStartInputDeviceMaintenanceWindow, + HTTPMethod: "POST", + HTTPPath: "/prod/inputDevices/{inputDeviceId}/startInputDeviceMaintenanceWindow", } if input == nil { - input = &UpdateAccountConfigurationInput{} + input = &StartInputDeviceMaintenanceWindowInput{} } - output = &UpdateAccountConfigurationOutput{} + output = &StartInputDeviceMaintenanceWindowOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpdateAccountConfiguration API operation for AWS Elemental MediaLive. +// StartInputDeviceMaintenanceWindow API operation for AWS Elemental MediaLive. // -// # Update account configuration +// Start a maintenance window for the specified input device. Starting a maintenance +// window will give the device up to two hours to install software. If the device +// was streaming prior to the maintenance, it will resume streaming when the +// software is fully installed. Devices automatically install updates while +// they are powered on and their MediaLive channels are stopped. A maintenance +// window allows you to update a device without having to stop MediaLive channels +// that use the device. The device must remain powered on and connected to the +// internet for the duration of the maintenance. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation UpdateAccountConfiguration for usage and error information. +// API operation StartInputDeviceMaintenanceWindow for usage and error information. // // Returned Error Types: // @@ -5746,180 +7313,180 @@ func (c *MediaLive) UpdateAccountConfigurationRequest(input *UpdateAccountConfig // // - BadGatewayException // +// - NotFoundException +// // - GatewayTimeoutException // // - TooManyRequestsException // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateAccountConfiguration -func (c *MediaLive) UpdateAccountConfiguration(input *UpdateAccountConfigurationInput) (*UpdateAccountConfigurationOutput, error) { - req, out := c.UpdateAccountConfigurationRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartInputDeviceMaintenanceWindow +func (c *MediaLive) StartInputDeviceMaintenanceWindow(input *StartInputDeviceMaintenanceWindowInput) (*StartInputDeviceMaintenanceWindowOutput, error) { + req, out := c.StartInputDeviceMaintenanceWindowRequest(input) return out, req.Send() } -// UpdateAccountConfigurationWithContext is the same as UpdateAccountConfiguration with the addition of +// StartInputDeviceMaintenanceWindowWithContext is the same as StartInputDeviceMaintenanceWindow with the addition of // the ability to pass a context and additional request options. // -// See UpdateAccountConfiguration for details on how to use this API operation. +// See StartInputDeviceMaintenanceWindow for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) UpdateAccountConfigurationWithContext(ctx aws.Context, input *UpdateAccountConfigurationInput, opts ...request.Option) (*UpdateAccountConfigurationOutput, error) { - req, out := c.UpdateAccountConfigurationRequest(input) +func (c *MediaLive) StartInputDeviceMaintenanceWindowWithContext(ctx aws.Context, input *StartInputDeviceMaintenanceWindowInput, opts ...request.Option) (*StartInputDeviceMaintenanceWindowOutput, error) { + req, out := c.StartInputDeviceMaintenanceWindowRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateChannel = "UpdateChannel" +const opStartMonitorDeployment = "StartMonitorDeployment" -// UpdateChannelRequest generates a "aws/request.Request" representing the -// client's request for the UpdateChannel operation. The "output" return +// StartMonitorDeploymentRequest generates a "aws/request.Request" representing the +// client's request for the StartMonitorDeployment operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateChannel for more information on using the UpdateChannel +// See StartMonitorDeployment for more information on using the StartMonitorDeployment // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UpdateChannelRequest method. -// req, resp := client.UpdateChannelRequest(params) +// // Example sending a request using the StartMonitorDeploymentRequest method. +// req, resp := client.StartMonitorDeploymentRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateChannel -func (c *MediaLive) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Request, output *UpdateChannelOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartMonitorDeployment +func (c *MediaLive) StartMonitorDeploymentRequest(input *StartMonitorDeploymentInput) (req *request.Request, output *StartMonitorDeploymentOutput) { op := &request.Operation{ - Name: opUpdateChannel, - HTTPMethod: "PUT", - HTTPPath: "/prod/channels/{channelId}", + Name: opStartMonitorDeployment, + HTTPMethod: "POST", + HTTPPath: "/prod/signal-maps/{identifier}/monitor-deployment", } if input == nil { - input = &UpdateChannelInput{} + input = &StartMonitorDeploymentInput{} } - output = &UpdateChannelOutput{} + output = &StartMonitorDeploymentOutput{} req = c.newRequest(op, input, output) return } -// UpdateChannel API operation for AWS Elemental MediaLive. +// StartMonitorDeployment API operation for AWS Elemental MediaLive. // -// Updates a channel. +// Initiates a deployment to deploy the latest monitor of the specified signal +// map. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation UpdateChannel for usage and error information. +// API operation StartMonitorDeployment for usage and error information. // // Returned Error Types: // // - BadRequestException // -// - UnprocessableEntityException -// // - InternalServerErrorException // // - ForbiddenException // -// - BadGatewayException +// - NotFoundException // -// - GatewayTimeoutException +// - TooManyRequestsException // // - ConflictException // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateChannel -func (c *MediaLive) UpdateChannel(input *UpdateChannelInput) (*UpdateChannelOutput, error) { - req, out := c.UpdateChannelRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartMonitorDeployment +func (c *MediaLive) StartMonitorDeployment(input *StartMonitorDeploymentInput) (*StartMonitorDeploymentOutput, error) { + req, out := c.StartMonitorDeploymentRequest(input) return out, req.Send() } -// UpdateChannelWithContext is the same as UpdateChannel with the addition of +// StartMonitorDeploymentWithContext is the same as StartMonitorDeployment with the addition of // the ability to pass a context and additional request options. // -// See UpdateChannel for details on how to use this API operation. +// See StartMonitorDeployment for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) UpdateChannelWithContext(ctx aws.Context, input *UpdateChannelInput, opts ...request.Option) (*UpdateChannelOutput, error) { - req, out := c.UpdateChannelRequest(input) +func (c *MediaLive) StartMonitorDeploymentWithContext(ctx aws.Context, input *StartMonitorDeploymentInput, opts ...request.Option) (*StartMonitorDeploymentOutput, error) { + req, out := c.StartMonitorDeploymentRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateChannelClass = "UpdateChannelClass" +const opStartMultiplex = "StartMultiplex" -// UpdateChannelClassRequest generates a "aws/request.Request" representing the -// client's request for the UpdateChannelClass operation. The "output" return +// StartMultiplexRequest generates a "aws/request.Request" representing the +// client's request for the StartMultiplex operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateChannelClass for more information on using the UpdateChannelClass +// See StartMultiplex for more information on using the StartMultiplex // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UpdateChannelClassRequest method. -// req, resp := client.UpdateChannelClassRequest(params) +// // Example sending a request using the StartMultiplexRequest method. +// req, resp := client.StartMultiplexRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateChannelClass -func (c *MediaLive) UpdateChannelClassRequest(input *UpdateChannelClassInput) (req *request.Request, output *UpdateChannelClassOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartMultiplex +func (c *MediaLive) StartMultiplexRequest(input *StartMultiplexInput) (req *request.Request, output *StartMultiplexOutput) { op := &request.Operation{ - Name: opUpdateChannelClass, - HTTPMethod: "PUT", - HTTPPath: "/prod/channels/{channelId}/channelClass", + Name: opStartMultiplex, + HTTPMethod: "POST", + HTTPPath: "/prod/multiplexes/{multiplexId}/start", } if input == nil { - input = &UpdateChannelClassInput{} + input = &StartMultiplexInput{} } - output = &UpdateChannelClassOutput{} + output = &StartMultiplexOutput{} req = c.newRequest(op, input, output) return } -// UpdateChannelClass API operation for AWS Elemental MediaLive. +// StartMultiplex API operation for AWS Elemental MediaLive. // -// Changes the class of the channel. +// Start (run) the multiplex. Starting the multiplex does not start the channels. +// You must explicitly start each channel. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation UpdateChannelClass for usage and error information. +// API operation StartMultiplex for usage and error information. // // Returned Error Types: // // - BadRequestException // -// - UnprocessableEntityException -// // - InternalServerErrorException // // - ForbiddenException @@ -5934,79 +7501,80 @@ func (c *MediaLive) UpdateChannelClassRequest(input *UpdateChannelClassInput) (r // // - ConflictException // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateChannelClass -func (c *MediaLive) UpdateChannelClass(input *UpdateChannelClassInput) (*UpdateChannelClassOutput, error) { - req, out := c.UpdateChannelClassRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartMultiplex +func (c *MediaLive) StartMultiplex(input *StartMultiplexInput) (*StartMultiplexOutput, error) { + req, out := c.StartMultiplexRequest(input) return out, req.Send() } -// UpdateChannelClassWithContext is the same as UpdateChannelClass with the addition of +// StartMultiplexWithContext is the same as StartMultiplex with the addition of // the ability to pass a context and additional request options. // -// See UpdateChannelClass for details on how to use this API operation. +// See StartMultiplex for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) UpdateChannelClassWithContext(ctx aws.Context, input *UpdateChannelClassInput, opts ...request.Option) (*UpdateChannelClassOutput, error) { - req, out := c.UpdateChannelClassRequest(input) +func (c *MediaLive) StartMultiplexWithContext(ctx aws.Context, input *StartMultiplexInput, opts ...request.Option) (*StartMultiplexOutput, error) { + req, out := c.StartMultiplexRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateInput = "UpdateInput" +const opStartUpdateSignalMap = "StartUpdateSignalMap" -// UpdateInputRequest generates a "aws/request.Request" representing the -// client's request for the UpdateInput operation. The "output" return +// StartUpdateSignalMapRequest generates a "aws/request.Request" representing the +// client's request for the StartUpdateSignalMap operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateInput for more information on using the UpdateInput +// See StartUpdateSignalMap for more information on using the StartUpdateSignalMap // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UpdateInputRequest method. -// req, resp := client.UpdateInputRequest(params) +// // Example sending a request using the StartUpdateSignalMapRequest method. +// req, resp := client.StartUpdateSignalMapRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInput -func (c *MediaLive) UpdateInputRequest(input *UpdateInputInput) (req *request.Request, output *UpdateInputOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartUpdateSignalMap +func (c *MediaLive) StartUpdateSignalMapRequest(input *StartUpdateSignalMapInput) (req *request.Request, output *StartUpdateSignalMapOutput) { op := &request.Operation{ - Name: opUpdateInput, - HTTPMethod: "PUT", - HTTPPath: "/prod/inputs/{inputId}", + Name: opStartUpdateSignalMap, + HTTPMethod: "PATCH", + HTTPPath: "/prod/signal-maps/{identifier}", } if input == nil { - input = &UpdateInputInput{} + input = &StartUpdateSignalMapInput{} } - output = &UpdateInputOutput{} + output = &StartUpdateSignalMapOutput{} req = c.newRequest(op, input, output) return } -// UpdateInput API operation for AWS Elemental MediaLive. +// StartUpdateSignalMap API operation for AWS Elemental MediaLive. // -// Updates an input. +// Initiates an update for the specified signal map. Will discover a new signal +// map if a changed discoveryEntryPointArn is provided. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation UpdateInput for usage and error information. +// API operation StartUpdateSignalMap for usage and error information. // // Returned Error Types: // @@ -6016,94 +7584,90 @@ func (c *MediaLive) UpdateInputRequest(input *UpdateInputInput) (req *request.Re // // - ForbiddenException // -// - BadGatewayException -// // - NotFoundException // -// - GatewayTimeoutException +// - TooManyRequestsException // // - ConflictException // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInput -func (c *MediaLive) UpdateInput(input *UpdateInputInput) (*UpdateInputOutput, error) { - req, out := c.UpdateInputRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartUpdateSignalMap +func (c *MediaLive) StartUpdateSignalMap(input *StartUpdateSignalMapInput) (*StartUpdateSignalMapOutput, error) { + req, out := c.StartUpdateSignalMapRequest(input) return out, req.Send() } -// UpdateInputWithContext is the same as UpdateInput with the addition of +// StartUpdateSignalMapWithContext is the same as StartUpdateSignalMap with the addition of // the ability to pass a context and additional request options. // -// See UpdateInput for details on how to use this API operation. +// See StartUpdateSignalMap for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) UpdateInputWithContext(ctx aws.Context, input *UpdateInputInput, opts ...request.Option) (*UpdateInputOutput, error) { - req, out := c.UpdateInputRequest(input) +func (c *MediaLive) StartUpdateSignalMapWithContext(ctx aws.Context, input *StartUpdateSignalMapInput, opts ...request.Option) (*StartUpdateSignalMapOutput, error) { + req, out := c.StartUpdateSignalMapRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateInputDevice = "UpdateInputDevice" +const opStopChannel = "StopChannel" -// UpdateInputDeviceRequest generates a "aws/request.Request" representing the -// client's request for the UpdateInputDevice operation. The "output" return +// StopChannelRequest generates a "aws/request.Request" representing the +// client's request for the StopChannel operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateInputDevice for more information on using the UpdateInputDevice +// See StopChannel for more information on using the StopChannel // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UpdateInputDeviceRequest method. -// req, resp := client.UpdateInputDeviceRequest(params) +// // Example sending a request using the StopChannelRequest method. +// req, resp := client.StopChannelRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInputDevice -func (c *MediaLive) UpdateInputDeviceRequest(input *UpdateInputDeviceInput) (req *request.Request, output *UpdateInputDeviceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopChannel +func (c *MediaLive) StopChannelRequest(input *StopChannelInput) (req *request.Request, output *StopChannelOutput) { op := &request.Operation{ - Name: opUpdateInputDevice, - HTTPMethod: "PUT", - HTTPPath: "/prod/inputDevices/{inputDeviceId}", + Name: opStopChannel, + HTTPMethod: "POST", + HTTPPath: "/prod/channels/{channelId}/stop", } if input == nil { - input = &UpdateInputDeviceInput{} + input = &StopChannelInput{} } - output = &UpdateInputDeviceOutput{} + output = &StopChannelOutput{} req = c.newRequest(op, input, output) return } -// UpdateInputDevice API operation for AWS Elemental MediaLive. +// StopChannel API operation for AWS Elemental MediaLive. // -// Updates the parameters for the input device. +// # Stops a running channel // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation UpdateInputDevice for usage and error information. +// API operation StopChannel for usage and error information. // // Returned Error Types: // // - BadRequestException // -// - UnprocessableEntityException -// // - InternalServerErrorException // // - ForbiddenException @@ -6116,84 +7680,91 @@ func (c *MediaLive) UpdateInputDeviceRequest(input *UpdateInputDeviceInput) (req // // - TooManyRequestsException // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInputDevice -func (c *MediaLive) UpdateInputDevice(input *UpdateInputDeviceInput) (*UpdateInputDeviceOutput, error) { - req, out := c.UpdateInputDeviceRequest(input) +// - ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopChannel +func (c *MediaLive) StopChannel(input *StopChannelInput) (*StopChannelOutput, error) { + req, out := c.StopChannelRequest(input) return out, req.Send() } -// UpdateInputDeviceWithContext is the same as UpdateInputDevice with the addition of +// StopChannelWithContext is the same as StopChannel with the addition of // the ability to pass a context and additional request options. // -// See UpdateInputDevice for details on how to use this API operation. +// See StopChannel for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) UpdateInputDeviceWithContext(ctx aws.Context, input *UpdateInputDeviceInput, opts ...request.Option) (*UpdateInputDeviceOutput, error) { - req, out := c.UpdateInputDeviceRequest(input) +func (c *MediaLive) StopChannelWithContext(ctx aws.Context, input *StopChannelInput, opts ...request.Option) (*StopChannelOutput, error) { + req, out := c.StopChannelRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateInputSecurityGroup = "UpdateInputSecurityGroup" +const opStopInputDevice = "StopInputDevice" -// UpdateInputSecurityGroupRequest generates a "aws/request.Request" representing the -// client's request for the UpdateInputSecurityGroup operation. The "output" return +// StopInputDeviceRequest generates a "aws/request.Request" representing the +// client's request for the StopInputDevice operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateInputSecurityGroup for more information on using the UpdateInputSecurityGroup +// See StopInputDevice for more information on using the StopInputDevice // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UpdateInputSecurityGroupRequest method. -// req, resp := client.UpdateInputSecurityGroupRequest(params) +// // Example sending a request using the StopInputDeviceRequest method. +// req, resp := client.StopInputDeviceRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInputSecurityGroup -func (c *MediaLive) UpdateInputSecurityGroupRequest(input *UpdateInputSecurityGroupInput) (req *request.Request, output *UpdateInputSecurityGroupOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopInputDevice +func (c *MediaLive) StopInputDeviceRequest(input *StopInputDeviceInput) (req *request.Request, output *StopInputDeviceOutput) { op := &request.Operation{ - Name: opUpdateInputSecurityGroup, - HTTPMethod: "PUT", - HTTPPath: "/prod/inputSecurityGroups/{inputSecurityGroupId}", + Name: opStopInputDevice, + HTTPMethod: "POST", + HTTPPath: "/prod/inputDevices/{inputDeviceId}/stop", } if input == nil { - input = &UpdateInputSecurityGroupInput{} + input = &StopInputDeviceInput{} } - output = &UpdateInputSecurityGroupOutput{} + output = &StopInputDeviceOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpdateInputSecurityGroup API operation for AWS Elemental MediaLive. +// StopInputDevice API operation for AWS Elemental MediaLive. // -// Update an Input Security Group's Whilelists. +// Stop an input device that is attached to a MediaConnect flow. (There is no +// need to stop a device that is attached to a MediaLive input; MediaLive automatically +// stops the device when the channel stops.) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation UpdateInputSecurityGroup for usage and error information. +// API operation StopInputDevice for usage and error information. // // Returned Error Types: // // - BadRequestException // +// - UnprocessableEntityException +// // - InternalServerErrorException // // - ForbiddenException @@ -6204,88 +7775,87 @@ func (c *MediaLive) UpdateInputSecurityGroupRequest(input *UpdateInputSecurityGr // // - GatewayTimeoutException // -// - ConflictException +// - TooManyRequestsException // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInputSecurityGroup -func (c *MediaLive) UpdateInputSecurityGroup(input *UpdateInputSecurityGroupInput) (*UpdateInputSecurityGroupOutput, error) { - req, out := c.UpdateInputSecurityGroupRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopInputDevice +func (c *MediaLive) StopInputDevice(input *StopInputDeviceInput) (*StopInputDeviceOutput, error) { + req, out := c.StopInputDeviceRequest(input) return out, req.Send() } -// UpdateInputSecurityGroupWithContext is the same as UpdateInputSecurityGroup with the addition of +// StopInputDeviceWithContext is the same as StopInputDevice with the addition of // the ability to pass a context and additional request options. // -// See UpdateInputSecurityGroup for details on how to use this API operation. +// See StopInputDevice for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) UpdateInputSecurityGroupWithContext(ctx aws.Context, input *UpdateInputSecurityGroupInput, opts ...request.Option) (*UpdateInputSecurityGroupOutput, error) { - req, out := c.UpdateInputSecurityGroupRequest(input) +func (c *MediaLive) StopInputDeviceWithContext(ctx aws.Context, input *StopInputDeviceInput, opts ...request.Option) (*StopInputDeviceOutput, error) { + req, out := c.StopInputDeviceRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateMultiplex = "UpdateMultiplex" +const opStopMultiplex = "StopMultiplex" -// UpdateMultiplexRequest generates a "aws/request.Request" representing the -// client's request for the UpdateMultiplex operation. The "output" return +// StopMultiplexRequest generates a "aws/request.Request" representing the +// client's request for the StopMultiplex operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateMultiplex for more information on using the UpdateMultiplex +// See StopMultiplex for more information on using the StopMultiplex // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UpdateMultiplexRequest method. -// req, resp := client.UpdateMultiplexRequest(params) +// // Example sending a request using the StopMultiplexRequest method. +// req, resp := client.StopMultiplexRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateMultiplex -func (c *MediaLive) UpdateMultiplexRequest(input *UpdateMultiplexInput) (req *request.Request, output *UpdateMultiplexOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopMultiplex +func (c *MediaLive) StopMultiplexRequest(input *StopMultiplexInput) (req *request.Request, output *StopMultiplexOutput) { op := &request.Operation{ - Name: opUpdateMultiplex, - HTTPMethod: "PUT", - HTTPPath: "/prod/multiplexes/{multiplexId}", + Name: opStopMultiplex, + HTTPMethod: "POST", + HTTPPath: "/prod/multiplexes/{multiplexId}/stop", } if input == nil { - input = &UpdateMultiplexInput{} + input = &StopMultiplexInput{} } - output = &UpdateMultiplexOutput{} + output = &StopMultiplexOutput{} req = c.newRequest(op, input, output) return } -// UpdateMultiplex API operation for AWS Elemental MediaLive. +// StopMultiplex API operation for AWS Elemental MediaLive. // -// Updates a multiplex. +// Stops a running multiplex. If the multiplex isn't running, this action has +// no effect. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation UpdateMultiplex for usage and error information. +// API operation StopMultiplex for usage and error information. // // Returned Error Types: // // - BadRequestException // -// - UnprocessableEntityException -// // - InternalServerErrorException // // - ForbiddenException @@ -6296,81 +7866,85 @@ func (c *MediaLive) UpdateMultiplexRequest(input *UpdateMultiplexInput) (req *re // // - GatewayTimeoutException // +// - TooManyRequestsException +// // - ConflictException // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateMultiplex -func (c *MediaLive) UpdateMultiplex(input *UpdateMultiplexInput) (*UpdateMultiplexOutput, error) { - req, out := c.UpdateMultiplexRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopMultiplex +func (c *MediaLive) StopMultiplex(input *StopMultiplexInput) (*StopMultiplexOutput, error) { + req, out := c.StopMultiplexRequest(input) return out, req.Send() } -// UpdateMultiplexWithContext is the same as UpdateMultiplex with the addition of +// StopMultiplexWithContext is the same as StopMultiplex with the addition of // the ability to pass a context and additional request options. // -// See UpdateMultiplex for details on how to use this API operation. +// See StopMultiplex for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) UpdateMultiplexWithContext(ctx aws.Context, input *UpdateMultiplexInput, opts ...request.Option) (*UpdateMultiplexOutput, error) { - req, out := c.UpdateMultiplexRequest(input) +func (c *MediaLive) StopMultiplexWithContext(ctx aws.Context, input *StopMultiplexInput, opts ...request.Option) (*StopMultiplexOutput, error) { + req, out := c.StopMultiplexRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateMultiplexProgram = "UpdateMultiplexProgram" +const opTransferInputDevice = "TransferInputDevice" -// UpdateMultiplexProgramRequest generates a "aws/request.Request" representing the -// client's request for the UpdateMultiplexProgram operation. The "output" return +// TransferInputDeviceRequest generates a "aws/request.Request" representing the +// client's request for the TransferInputDevice operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateMultiplexProgram for more information on using the UpdateMultiplexProgram +// See TransferInputDevice for more information on using the TransferInputDevice // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UpdateMultiplexProgramRequest method. -// req, resp := client.UpdateMultiplexProgramRequest(params) +// // Example sending a request using the TransferInputDeviceRequest method. +// req, resp := client.TransferInputDeviceRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateMultiplexProgram -func (c *MediaLive) UpdateMultiplexProgramRequest(input *UpdateMultiplexProgramInput) (req *request.Request, output *UpdateMultiplexProgramOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/TransferInputDevice +func (c *MediaLive) TransferInputDeviceRequest(input *TransferInputDeviceInput) (req *request.Request, output *TransferInputDeviceOutput) { op := &request.Operation{ - Name: opUpdateMultiplexProgram, - HTTPMethod: "PUT", - HTTPPath: "/prod/multiplexes/{multiplexId}/programs/{programName}", + Name: opTransferInputDevice, + HTTPMethod: "POST", + HTTPPath: "/prod/inputDevices/{inputDeviceId}/transfer", } if input == nil { - input = &UpdateMultiplexProgramInput{} + input = &TransferInputDeviceInput{} } - output = &UpdateMultiplexProgramOutput{} + output = &TransferInputDeviceOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpdateMultiplexProgram API operation for AWS Elemental MediaLive. +// TransferInputDevice API operation for AWS Elemental MediaLive. // -// Update a program in a multiplex. +// Start an input device transfer to another AWS account. After you make the +// request, the other account must accept or reject the transfer. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation UpdateMultiplexProgram for usage and error information. +// API operation TransferInputDevice for usage and error information. // // Returned Error Types: // @@ -6388,334 +7962,1418 @@ func (c *MediaLive) UpdateMultiplexProgramRequest(input *UpdateMultiplexProgramI // // - GatewayTimeoutException // +// - TooManyRequestsException +// // - ConflictException // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateMultiplexProgram -func (c *MediaLive) UpdateMultiplexProgram(input *UpdateMultiplexProgramInput) (*UpdateMultiplexProgramOutput, error) { - req, out := c.UpdateMultiplexProgramRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/TransferInputDevice +func (c *MediaLive) TransferInputDevice(input *TransferInputDeviceInput) (*TransferInputDeviceOutput, error) { + req, out := c.TransferInputDeviceRequest(input) return out, req.Send() } -// UpdateMultiplexProgramWithContext is the same as UpdateMultiplexProgram with the addition of +// TransferInputDeviceWithContext is the same as TransferInputDevice with the addition of // the ability to pass a context and additional request options. // -// See UpdateMultiplexProgram for details on how to use this API operation. +// See TransferInputDevice for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) UpdateMultiplexProgramWithContext(ctx aws.Context, input *UpdateMultiplexProgramInput, opts ...request.Option) (*UpdateMultiplexProgramOutput, error) { - req, out := c.UpdateMultiplexProgramRequest(input) +func (c *MediaLive) TransferInputDeviceWithContext(ctx aws.Context, input *TransferInputDeviceInput, opts ...request.Option) (*TransferInputDeviceOutput, error) { + req, out := c.TransferInputDeviceRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateReservation = "UpdateReservation" +const opUpdateAccountConfiguration = "UpdateAccountConfiguration" -// UpdateReservationRequest generates a "aws/request.Request" representing the -// client's request for the UpdateReservation operation. The "output" return +// UpdateAccountConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the UpdateAccountConfiguration operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateReservation for more information on using the UpdateReservation +// See UpdateAccountConfiguration for more information on using the UpdateAccountConfiguration // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UpdateReservationRequest method. -// req, resp := client.UpdateReservationRequest(params) +// // Example sending a request using the UpdateAccountConfigurationRequest method. +// req, resp := client.UpdateAccountConfigurationRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateReservation -func (c *MediaLive) UpdateReservationRequest(input *UpdateReservationInput) (req *request.Request, output *UpdateReservationOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateAccountConfiguration +func (c *MediaLive) UpdateAccountConfigurationRequest(input *UpdateAccountConfigurationInput) (req *request.Request, output *UpdateAccountConfigurationOutput) { op := &request.Operation{ - Name: opUpdateReservation, + Name: opUpdateAccountConfiguration, HTTPMethod: "PUT", - HTTPPath: "/prod/reservations/{reservationId}", + HTTPPath: "/prod/accountConfiguration", } if input == nil { - input = &UpdateReservationInput{} + input = &UpdateAccountConfigurationInput{} } - output = &UpdateReservationOutput{} + output = &UpdateAccountConfigurationOutput{} req = c.newRequest(op, input, output) return } -// UpdateReservation API operation for AWS Elemental MediaLive. +// UpdateAccountConfiguration API operation for AWS Elemental MediaLive. // -// Update reservation. +// # Update account configuration // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Elemental MediaLive's -// API operation UpdateReservation for usage and error information. +// API operation UpdateAccountConfiguration for usage and error information. // // Returned Error Types: // // - BadRequestException // +// - UnprocessableEntityException +// // - InternalServerErrorException // // - ForbiddenException // // - BadGatewayException // -// - NotFoundException -// // - GatewayTimeoutException // // - TooManyRequestsException // -// - ConflictException -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateReservation -func (c *MediaLive) UpdateReservation(input *UpdateReservationInput) (*UpdateReservationOutput, error) { - req, out := c.UpdateReservationRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateAccountConfiguration +func (c *MediaLive) UpdateAccountConfiguration(input *UpdateAccountConfigurationInput) (*UpdateAccountConfigurationOutput, error) { + req, out := c.UpdateAccountConfigurationRequest(input) return out, req.Send() } -// UpdateReservationWithContext is the same as UpdateReservation with the addition of +// UpdateAccountConfigurationWithContext is the same as UpdateAccountConfiguration with the addition of // the ability to pass a context and additional request options. // -// See UpdateReservation for details on how to use this API operation. +// See UpdateAccountConfiguration for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *MediaLive) UpdateReservationWithContext(ctx aws.Context, input *UpdateReservationInput, opts ...request.Option) (*UpdateReservationOutput, error) { - req, out := c.UpdateReservationRequest(input) +func (c *MediaLive) UpdateAccountConfigurationWithContext(ctx aws.Context, input *UpdateAccountConfigurationInput, opts ...request.Option) (*UpdateAccountConfigurationOutput, error) { + req, out := c.UpdateAccountConfigurationRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// Aac Settings -type AacSettings struct { - _ struct{} `type:"structure"` - - // Average bitrate in bits/second. Valid values depend on rate control mode - // and profile. - Bitrate *float64 `locationName:"bitrate" type:"double"` - - // Mono, Stereo, or 5.1 channel layout. Valid values depend on rate control - // mode and profile. The adReceiverMix setting receives a stereo description - // plus control track and emits a mono AAC encode of the description track, - // with control data emitted in the PES header as per ETSI TS 101 154 Annex - // E. - CodingMode *string `locationName:"codingMode" type:"string" enum:"AacCodingMode"` - - // Set to "broadcasterMixedAd" when input contains pre-mixed main audio + AD - // (narration) as a stereo pair. The Audio Type field (audioType) will be set - // to 3, which signals to downstream systems that this stream contains "broadcaster - // mixed AD". Note that the input received by the encoder must contain pre-mixed - // audio; the encoder does not perform the mixing. The values in audioTypeControl - // and audioType (in AudioDescription) are ignored when set to broadcasterMixedAd.Leave - // set to "normal" when input does not contain pre-mixed audio + AD. - InputType *string `locationName:"inputType" type:"string" enum:"AacInputType"` - - // AAC Profile. - Profile *string `locationName:"profile" type:"string" enum:"AacProfile"` - - // Rate Control Mode. - RateControlMode *string `locationName:"rateControlMode" type:"string" enum:"AacRateControlMode"` - - // Sets LATM / LOAS AAC output for raw containers. - RawFormat *string `locationName:"rawFormat" type:"string" enum:"AacRawFormat"` +const opUpdateChannel = "UpdateChannel" - // Sample rate in Hz. Valid values depend on rate control mode and profile. - SampleRate *float64 `locationName:"sampleRate" type:"double"` +// UpdateChannelRequest generates a "aws/request.Request" representing the +// client's request for the UpdateChannel operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateChannel for more information on using the UpdateChannel +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateChannelRequest method. +// req, resp := client.UpdateChannelRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateChannel +func (c *MediaLive) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Request, output *UpdateChannelOutput) { + op := &request.Operation{ + Name: opUpdateChannel, + HTTPMethod: "PUT", + HTTPPath: "/prod/channels/{channelId}", + } - // Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport - // Stream containers. - Spec *string `locationName:"spec" type:"string" enum:"AacSpec"` + if input == nil { + input = &UpdateChannelInput{} + } - // VBR Quality Level - Only used if rateControlMode is VBR. - VbrQuality *string `locationName:"vbrQuality" type:"string" enum:"AacVbrQuality"` + output = &UpdateChannelOutput{} + req = c.newRequest(op, input, output) + return } -// String returns the string representation. +// UpdateChannel API operation for AWS Elemental MediaLive. // -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AacSettings) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. +// Updates a channel. // -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AacSettings) GoString() string { - return s.String() -} - -// SetBitrate sets the Bitrate field's value. -func (s *AacSettings) SetBitrate(v float64) *AacSettings { - s.Bitrate = &v - return s -} - -// SetCodingMode sets the CodingMode field's value. -func (s *AacSettings) SetCodingMode(v string) *AacSettings { - s.CodingMode = &v - return s +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation UpdateChannel for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// +// - UnprocessableEntityException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// - BadGatewayException +// +// - GatewayTimeoutException +// +// - ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateChannel +func (c *MediaLive) UpdateChannel(input *UpdateChannelInput) (*UpdateChannelOutput, error) { + req, out := c.UpdateChannelRequest(input) + return out, req.Send() } -// SetInputType sets the InputType field's value. -func (s *AacSettings) SetInputType(v string) *AacSettings { - s.InputType = &v - return s +// UpdateChannelWithContext is the same as UpdateChannel with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateChannel for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) UpdateChannelWithContext(ctx aws.Context, input *UpdateChannelInput, opts ...request.Option) (*UpdateChannelOutput, error) { + req, out := c.UpdateChannelRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() } -// SetProfile sets the Profile field's value. -func (s *AacSettings) SetProfile(v string) *AacSettings { - s.Profile = &v - return s -} +const opUpdateChannelClass = "UpdateChannelClass" -// SetRateControlMode sets the RateControlMode field's value. -func (s *AacSettings) SetRateControlMode(v string) *AacSettings { - s.RateControlMode = &v - return s -} +// UpdateChannelClassRequest generates a "aws/request.Request" representing the +// client's request for the UpdateChannelClass operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateChannelClass for more information on using the UpdateChannelClass +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateChannelClassRequest method. +// req, resp := client.UpdateChannelClassRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateChannelClass +func (c *MediaLive) UpdateChannelClassRequest(input *UpdateChannelClassInput) (req *request.Request, output *UpdateChannelClassOutput) { + op := &request.Operation{ + Name: opUpdateChannelClass, + HTTPMethod: "PUT", + HTTPPath: "/prod/channels/{channelId}/channelClass", + } -// SetRawFormat sets the RawFormat field's value. -func (s *AacSettings) SetRawFormat(v string) *AacSettings { - s.RawFormat = &v - return s -} + if input == nil { + input = &UpdateChannelClassInput{} + } -// SetSampleRate sets the SampleRate field's value. -func (s *AacSettings) SetSampleRate(v float64) *AacSettings { - s.SampleRate = &v - return s + output = &UpdateChannelClassOutput{} + req = c.newRequest(op, input, output) + return } -// SetSpec sets the Spec field's value. -func (s *AacSettings) SetSpec(v string) *AacSettings { - s.Spec = &v - return s +// UpdateChannelClass API operation for AWS Elemental MediaLive. +// +// Changes the class of the channel. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation UpdateChannelClass for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// +// - UnprocessableEntityException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// - BadGatewayException +// +// - NotFoundException +// +// - GatewayTimeoutException +// +// - TooManyRequestsException +// +// - ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateChannelClass +func (c *MediaLive) UpdateChannelClass(input *UpdateChannelClassInput) (*UpdateChannelClassOutput, error) { + req, out := c.UpdateChannelClassRequest(input) + return out, req.Send() } -// SetVbrQuality sets the VbrQuality field's value. -func (s *AacSettings) SetVbrQuality(v string) *AacSettings { - s.VbrQuality = &v - return s +// UpdateChannelClassWithContext is the same as UpdateChannelClass with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateChannelClass for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) UpdateChannelClassWithContext(ctx aws.Context, input *UpdateChannelClassInput, opts ...request.Option) (*UpdateChannelClassOutput, error) { + req, out := c.UpdateChannelClassRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() } -// Ac3 Settings -type Ac3Settings struct { - _ struct{} `type:"structure"` - - // Applies a 3 dB attenuation to the surround channels. Applies only when the - // coding mode parameter is CODING_MODE_3_2_LFE. - AttenuationControl *string `locationName:"attenuationControl" type:"string" enum:"Ac3AttenuationControl"` - - // Average bitrate in bits/second. Valid bitrates depend on the coding mode. - Bitrate *float64 `locationName:"bitrate" type:"double"` - - // Specifies the bitstream mode (bsmod) for the emitted AC-3 stream. See ATSC - // A/52-2012 for background on these values. - BitstreamMode *string `locationName:"bitstreamMode" type:"string" enum:"Ac3BitstreamMode"` - - // Dolby Digital coding mode. Determines number of channels. - CodingMode *string `locationName:"codingMode" type:"string" enum:"Ac3CodingMode"` - - // Sets the dialnorm for the output. If excluded and input audio is Dolby Digital, - // dialnorm will be passed through. - Dialnorm *int64 `locationName:"dialnorm" min:"1" type:"integer"` +const opUpdateCloudWatchAlarmTemplate = "UpdateCloudWatchAlarmTemplate" - // If set to filmStandard, adds dynamic range compression signaling to the output - // bitstream as defined in the Dolby Digital specification. - DrcProfile *string `locationName:"drcProfile" type:"string" enum:"Ac3DrcProfile"` +// UpdateCloudWatchAlarmTemplateRequest generates a "aws/request.Request" representing the +// client's request for the UpdateCloudWatchAlarmTemplate operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateCloudWatchAlarmTemplate for more information on using the UpdateCloudWatchAlarmTemplate +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateCloudWatchAlarmTemplateRequest method. +// req, resp := client.UpdateCloudWatchAlarmTemplateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateCloudWatchAlarmTemplate +func (c *MediaLive) UpdateCloudWatchAlarmTemplateRequest(input *UpdateCloudWatchAlarmTemplateInput) (req *request.Request, output *UpdateCloudWatchAlarmTemplateOutput) { + op := &request.Operation{ + Name: opUpdateCloudWatchAlarmTemplate, + HTTPMethod: "PATCH", + HTTPPath: "/prod/cloudwatch-alarm-templates/{identifier}", + } - // When set to enabled, applies a 120Hz lowpass filter to the LFE channel prior - // to encoding. Only valid in codingMode32Lfe mode. - LfeFilter *string `locationName:"lfeFilter" type:"string" enum:"Ac3LfeFilter"` + if input == nil { + input = &UpdateCloudWatchAlarmTemplateInput{} + } - // When set to "followInput", encoder metadata will be sourced from the DD, - // DD+, or DolbyE decoder that supplied this audio data. If audio was not supplied - // from one of these streams, then the static metadata settings will be used. - MetadataControl *string `locationName:"metadataControl" type:"string" enum:"Ac3MetadataControl"` + output = &UpdateCloudWatchAlarmTemplateOutput{} + req = c.newRequest(op, input, output) + return } -// String returns the string representation. +// UpdateCloudWatchAlarmTemplate API operation for AWS Elemental MediaLive. // -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s Ac3Settings) String() string { - return awsutil.Prettify(s) +// Updates the specified cloudwatch alarm template. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation UpdateCloudWatchAlarmTemplate for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// - NotFoundException +// +// - TooManyRequestsException +// +// - ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateCloudWatchAlarmTemplate +func (c *MediaLive) UpdateCloudWatchAlarmTemplate(input *UpdateCloudWatchAlarmTemplateInput) (*UpdateCloudWatchAlarmTemplateOutput, error) { + req, out := c.UpdateCloudWatchAlarmTemplateRequest(input) + return out, req.Send() } -// GoString returns the string representation. +// UpdateCloudWatchAlarmTemplateWithContext is the same as UpdateCloudWatchAlarmTemplate with the addition of +// the ability to pass a context and additional request options. // -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s Ac3Settings) GoString() string { - return s.String() +// See UpdateCloudWatchAlarmTemplate for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) UpdateCloudWatchAlarmTemplateWithContext(ctx aws.Context, input *UpdateCloudWatchAlarmTemplateInput, opts ...request.Option) (*UpdateCloudWatchAlarmTemplateOutput, error) { + req, out := c.UpdateCloudWatchAlarmTemplateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *Ac3Settings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "Ac3Settings"} - if s.Dialnorm != nil && *s.Dialnorm < 1 { - invalidParams.Add(request.NewErrParamMinValue("Dialnorm", 1)) +const opUpdateCloudWatchAlarmTemplateGroup = "UpdateCloudWatchAlarmTemplateGroup" + +// UpdateCloudWatchAlarmTemplateGroupRequest generates a "aws/request.Request" representing the +// client's request for the UpdateCloudWatchAlarmTemplateGroup operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateCloudWatchAlarmTemplateGroup for more information on using the UpdateCloudWatchAlarmTemplateGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateCloudWatchAlarmTemplateGroupRequest method. +// req, resp := client.UpdateCloudWatchAlarmTemplateGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateCloudWatchAlarmTemplateGroup +func (c *MediaLive) UpdateCloudWatchAlarmTemplateGroupRequest(input *UpdateCloudWatchAlarmTemplateGroupInput) (req *request.Request, output *UpdateCloudWatchAlarmTemplateGroupOutput) { + op := &request.Operation{ + Name: opUpdateCloudWatchAlarmTemplateGroup, + HTTPMethod: "PATCH", + HTTPPath: "/prod/cloudwatch-alarm-template-groups/{identifier}", } - if invalidParams.Len() > 0 { - return invalidParams + if input == nil { + input = &UpdateCloudWatchAlarmTemplateGroupInput{} } - return nil -} -// SetAttenuationControl sets the AttenuationControl field's value. -func (s *Ac3Settings) SetAttenuationControl(v string) *Ac3Settings { - s.AttenuationControl = &v - return s + output = &UpdateCloudWatchAlarmTemplateGroupOutput{} + req = c.newRequest(op, input, output) + return } -// SetBitrate sets the Bitrate field's value. -func (s *Ac3Settings) SetBitrate(v float64) *Ac3Settings { - s.Bitrate = &v - return s +// UpdateCloudWatchAlarmTemplateGroup API operation for AWS Elemental MediaLive. +// +// Updates the specified cloudwatch alarm template group. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation UpdateCloudWatchAlarmTemplateGroup for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// - NotFoundException +// +// - TooManyRequestsException +// +// - ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateCloudWatchAlarmTemplateGroup +func (c *MediaLive) UpdateCloudWatchAlarmTemplateGroup(input *UpdateCloudWatchAlarmTemplateGroupInput) (*UpdateCloudWatchAlarmTemplateGroupOutput, error) { + req, out := c.UpdateCloudWatchAlarmTemplateGroupRequest(input) + return out, req.Send() } -// SetBitstreamMode sets the BitstreamMode field's value. -func (s *Ac3Settings) SetBitstreamMode(v string) *Ac3Settings { - s.BitstreamMode = &v - return s +// UpdateCloudWatchAlarmTemplateGroupWithContext is the same as UpdateCloudWatchAlarmTemplateGroup with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateCloudWatchAlarmTemplateGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) UpdateCloudWatchAlarmTemplateGroupWithContext(ctx aws.Context, input *UpdateCloudWatchAlarmTemplateGroupInput, opts ...request.Option) (*UpdateCloudWatchAlarmTemplateGroupOutput, error) { + req, out := c.UpdateCloudWatchAlarmTemplateGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() } -// SetCodingMode sets the CodingMode field's value. -func (s *Ac3Settings) SetCodingMode(v string) *Ac3Settings { - s.CodingMode = &v - return s -} +const opUpdateEventBridgeRuleTemplate = "UpdateEventBridgeRuleTemplate" -// SetDialnorm sets the Dialnorm field's value. -func (s *Ac3Settings) SetDialnorm(v int64) *Ac3Settings { - s.Dialnorm = &v - return s -} +// UpdateEventBridgeRuleTemplateRequest generates a "aws/request.Request" representing the +// client's request for the UpdateEventBridgeRuleTemplate operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateEventBridgeRuleTemplate for more information on using the UpdateEventBridgeRuleTemplate +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateEventBridgeRuleTemplateRequest method. +// req, resp := client.UpdateEventBridgeRuleTemplateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateEventBridgeRuleTemplate +func (c *MediaLive) UpdateEventBridgeRuleTemplateRequest(input *UpdateEventBridgeRuleTemplateInput) (req *request.Request, output *UpdateEventBridgeRuleTemplateOutput) { + op := &request.Operation{ + Name: opUpdateEventBridgeRuleTemplate, + HTTPMethod: "PATCH", + HTTPPath: "/prod/eventbridge-rule-templates/{identifier}", + } + + if input == nil { + input = &UpdateEventBridgeRuleTemplateInput{} + } + + output = &UpdateEventBridgeRuleTemplateOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateEventBridgeRuleTemplate API operation for AWS Elemental MediaLive. +// +// Updates the specified eventbridge rule template. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation UpdateEventBridgeRuleTemplate for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// - NotFoundException +// +// - TooManyRequestsException +// +// - ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateEventBridgeRuleTemplate +func (c *MediaLive) UpdateEventBridgeRuleTemplate(input *UpdateEventBridgeRuleTemplateInput) (*UpdateEventBridgeRuleTemplateOutput, error) { + req, out := c.UpdateEventBridgeRuleTemplateRequest(input) + return out, req.Send() +} + +// UpdateEventBridgeRuleTemplateWithContext is the same as UpdateEventBridgeRuleTemplate with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateEventBridgeRuleTemplate for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) UpdateEventBridgeRuleTemplateWithContext(ctx aws.Context, input *UpdateEventBridgeRuleTemplateInput, opts ...request.Option) (*UpdateEventBridgeRuleTemplateOutput, error) { + req, out := c.UpdateEventBridgeRuleTemplateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateEventBridgeRuleTemplateGroup = "UpdateEventBridgeRuleTemplateGroup" + +// UpdateEventBridgeRuleTemplateGroupRequest generates a "aws/request.Request" representing the +// client's request for the UpdateEventBridgeRuleTemplateGroup operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateEventBridgeRuleTemplateGroup for more information on using the UpdateEventBridgeRuleTemplateGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateEventBridgeRuleTemplateGroupRequest method. +// req, resp := client.UpdateEventBridgeRuleTemplateGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateEventBridgeRuleTemplateGroup +func (c *MediaLive) UpdateEventBridgeRuleTemplateGroupRequest(input *UpdateEventBridgeRuleTemplateGroupInput) (req *request.Request, output *UpdateEventBridgeRuleTemplateGroupOutput) { + op := &request.Operation{ + Name: opUpdateEventBridgeRuleTemplateGroup, + HTTPMethod: "PATCH", + HTTPPath: "/prod/eventbridge-rule-template-groups/{identifier}", + } + + if input == nil { + input = &UpdateEventBridgeRuleTemplateGroupInput{} + } + + output = &UpdateEventBridgeRuleTemplateGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateEventBridgeRuleTemplateGroup API operation for AWS Elemental MediaLive. +// +// Updates the specified eventbridge rule template group. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation UpdateEventBridgeRuleTemplateGroup for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// - NotFoundException +// +// - TooManyRequestsException +// +// - ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateEventBridgeRuleTemplateGroup +func (c *MediaLive) UpdateEventBridgeRuleTemplateGroup(input *UpdateEventBridgeRuleTemplateGroupInput) (*UpdateEventBridgeRuleTemplateGroupOutput, error) { + req, out := c.UpdateEventBridgeRuleTemplateGroupRequest(input) + return out, req.Send() +} + +// UpdateEventBridgeRuleTemplateGroupWithContext is the same as UpdateEventBridgeRuleTemplateGroup with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateEventBridgeRuleTemplateGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) UpdateEventBridgeRuleTemplateGroupWithContext(ctx aws.Context, input *UpdateEventBridgeRuleTemplateGroupInput, opts ...request.Option) (*UpdateEventBridgeRuleTemplateGroupOutput, error) { + req, out := c.UpdateEventBridgeRuleTemplateGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateInput = "UpdateInput" + +// UpdateInputRequest generates a "aws/request.Request" representing the +// client's request for the UpdateInput operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateInput for more information on using the UpdateInput +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateInputRequest method. +// req, resp := client.UpdateInputRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInput +func (c *MediaLive) UpdateInputRequest(input *UpdateInputInput) (req *request.Request, output *UpdateInputOutput) { + op := &request.Operation{ + Name: opUpdateInput, + HTTPMethod: "PUT", + HTTPPath: "/prod/inputs/{inputId}", + } + + if input == nil { + input = &UpdateInputInput{} + } + + output = &UpdateInputOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateInput API operation for AWS Elemental MediaLive. +// +// Updates an input. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation UpdateInput for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// - BadGatewayException +// +// - NotFoundException +// +// - GatewayTimeoutException +// +// - ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInput +func (c *MediaLive) UpdateInput(input *UpdateInputInput) (*UpdateInputOutput, error) { + req, out := c.UpdateInputRequest(input) + return out, req.Send() +} + +// UpdateInputWithContext is the same as UpdateInput with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateInput for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) UpdateInputWithContext(ctx aws.Context, input *UpdateInputInput, opts ...request.Option) (*UpdateInputOutput, error) { + req, out := c.UpdateInputRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateInputDevice = "UpdateInputDevice" + +// UpdateInputDeviceRequest generates a "aws/request.Request" representing the +// client's request for the UpdateInputDevice operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateInputDevice for more information on using the UpdateInputDevice +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateInputDeviceRequest method. +// req, resp := client.UpdateInputDeviceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInputDevice +func (c *MediaLive) UpdateInputDeviceRequest(input *UpdateInputDeviceInput) (req *request.Request, output *UpdateInputDeviceOutput) { + op := &request.Operation{ + Name: opUpdateInputDevice, + HTTPMethod: "PUT", + HTTPPath: "/prod/inputDevices/{inputDeviceId}", + } + + if input == nil { + input = &UpdateInputDeviceInput{} + } + + output = &UpdateInputDeviceOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateInputDevice API operation for AWS Elemental MediaLive. +// +// Updates the parameters for the input device. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation UpdateInputDevice for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// +// - UnprocessableEntityException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// - BadGatewayException +// +// - NotFoundException +// +// - GatewayTimeoutException +// +// - TooManyRequestsException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInputDevice +func (c *MediaLive) UpdateInputDevice(input *UpdateInputDeviceInput) (*UpdateInputDeviceOutput, error) { + req, out := c.UpdateInputDeviceRequest(input) + return out, req.Send() +} + +// UpdateInputDeviceWithContext is the same as UpdateInputDevice with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateInputDevice for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) UpdateInputDeviceWithContext(ctx aws.Context, input *UpdateInputDeviceInput, opts ...request.Option) (*UpdateInputDeviceOutput, error) { + req, out := c.UpdateInputDeviceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateInputSecurityGroup = "UpdateInputSecurityGroup" + +// UpdateInputSecurityGroupRequest generates a "aws/request.Request" representing the +// client's request for the UpdateInputSecurityGroup operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateInputSecurityGroup for more information on using the UpdateInputSecurityGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateInputSecurityGroupRequest method. +// req, resp := client.UpdateInputSecurityGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInputSecurityGroup +func (c *MediaLive) UpdateInputSecurityGroupRequest(input *UpdateInputSecurityGroupInput) (req *request.Request, output *UpdateInputSecurityGroupOutput) { + op := &request.Operation{ + Name: opUpdateInputSecurityGroup, + HTTPMethod: "PUT", + HTTPPath: "/prod/inputSecurityGroups/{inputSecurityGroupId}", + } + + if input == nil { + input = &UpdateInputSecurityGroupInput{} + } + + output = &UpdateInputSecurityGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateInputSecurityGroup API operation for AWS Elemental MediaLive. +// +// Update an Input Security Group's Whilelists. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation UpdateInputSecurityGroup for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// - BadGatewayException +// +// - NotFoundException +// +// - GatewayTimeoutException +// +// - ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInputSecurityGroup +func (c *MediaLive) UpdateInputSecurityGroup(input *UpdateInputSecurityGroupInput) (*UpdateInputSecurityGroupOutput, error) { + req, out := c.UpdateInputSecurityGroupRequest(input) + return out, req.Send() +} + +// UpdateInputSecurityGroupWithContext is the same as UpdateInputSecurityGroup with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateInputSecurityGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) UpdateInputSecurityGroupWithContext(ctx aws.Context, input *UpdateInputSecurityGroupInput, opts ...request.Option) (*UpdateInputSecurityGroupOutput, error) { + req, out := c.UpdateInputSecurityGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateMultiplex = "UpdateMultiplex" + +// UpdateMultiplexRequest generates a "aws/request.Request" representing the +// client's request for the UpdateMultiplex operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateMultiplex for more information on using the UpdateMultiplex +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateMultiplexRequest method. +// req, resp := client.UpdateMultiplexRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateMultiplex +func (c *MediaLive) UpdateMultiplexRequest(input *UpdateMultiplexInput) (req *request.Request, output *UpdateMultiplexOutput) { + op := &request.Operation{ + Name: opUpdateMultiplex, + HTTPMethod: "PUT", + HTTPPath: "/prod/multiplexes/{multiplexId}", + } + + if input == nil { + input = &UpdateMultiplexInput{} + } + + output = &UpdateMultiplexOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateMultiplex API operation for AWS Elemental MediaLive. +// +// Updates a multiplex. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation UpdateMultiplex for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// +// - UnprocessableEntityException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// - BadGatewayException +// +// - NotFoundException +// +// - GatewayTimeoutException +// +// - ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateMultiplex +func (c *MediaLive) UpdateMultiplex(input *UpdateMultiplexInput) (*UpdateMultiplexOutput, error) { + req, out := c.UpdateMultiplexRequest(input) + return out, req.Send() +} + +// UpdateMultiplexWithContext is the same as UpdateMultiplex with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateMultiplex for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) UpdateMultiplexWithContext(ctx aws.Context, input *UpdateMultiplexInput, opts ...request.Option) (*UpdateMultiplexOutput, error) { + req, out := c.UpdateMultiplexRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateMultiplexProgram = "UpdateMultiplexProgram" + +// UpdateMultiplexProgramRequest generates a "aws/request.Request" representing the +// client's request for the UpdateMultiplexProgram operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateMultiplexProgram for more information on using the UpdateMultiplexProgram +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateMultiplexProgramRequest method. +// req, resp := client.UpdateMultiplexProgramRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateMultiplexProgram +func (c *MediaLive) UpdateMultiplexProgramRequest(input *UpdateMultiplexProgramInput) (req *request.Request, output *UpdateMultiplexProgramOutput) { + op := &request.Operation{ + Name: opUpdateMultiplexProgram, + HTTPMethod: "PUT", + HTTPPath: "/prod/multiplexes/{multiplexId}/programs/{programName}", + } + + if input == nil { + input = &UpdateMultiplexProgramInput{} + } + + output = &UpdateMultiplexProgramOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateMultiplexProgram API operation for AWS Elemental MediaLive. +// +// Update a program in a multiplex. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation UpdateMultiplexProgram for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// +// - UnprocessableEntityException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// - BadGatewayException +// +// - NotFoundException +// +// - GatewayTimeoutException +// +// - ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateMultiplexProgram +func (c *MediaLive) UpdateMultiplexProgram(input *UpdateMultiplexProgramInput) (*UpdateMultiplexProgramOutput, error) { + req, out := c.UpdateMultiplexProgramRequest(input) + return out, req.Send() +} + +// UpdateMultiplexProgramWithContext is the same as UpdateMultiplexProgram with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateMultiplexProgram for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) UpdateMultiplexProgramWithContext(ctx aws.Context, input *UpdateMultiplexProgramInput, opts ...request.Option) (*UpdateMultiplexProgramOutput, error) { + req, out := c.UpdateMultiplexProgramRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateReservation = "UpdateReservation" + +// UpdateReservationRequest generates a "aws/request.Request" representing the +// client's request for the UpdateReservation operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateReservation for more information on using the UpdateReservation +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateReservationRequest method. +// req, resp := client.UpdateReservationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateReservation +func (c *MediaLive) UpdateReservationRequest(input *UpdateReservationInput) (req *request.Request, output *UpdateReservationOutput) { + op := &request.Operation{ + Name: opUpdateReservation, + HTTPMethod: "PUT", + HTTPPath: "/prod/reservations/{reservationId}", + } + + if input == nil { + input = &UpdateReservationInput{} + } + + output = &UpdateReservationOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateReservation API operation for AWS Elemental MediaLive. +// +// Update reservation. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation UpdateReservation for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// +// - InternalServerErrorException +// +// - ForbiddenException +// +// - BadGatewayException +// +// - NotFoundException +// +// - GatewayTimeoutException +// +// - TooManyRequestsException +// +// - ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateReservation +func (c *MediaLive) UpdateReservation(input *UpdateReservationInput) (*UpdateReservationOutput, error) { + req, out := c.UpdateReservationRequest(input) + return out, req.Send() +} + +// UpdateReservationWithContext is the same as UpdateReservation with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateReservation for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) UpdateReservationWithContext(ctx aws.Context, input *UpdateReservationInput, opts ...request.Option) (*UpdateReservationOutput, error) { + req, out := c.UpdateReservationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// Aac Settings +type AacSettings struct { + _ struct{} `type:"structure"` + + // Average bitrate in bits/second. Valid values depend on rate control mode + // and profile. + Bitrate *float64 `locationName:"bitrate" type:"double"` + + // Mono, Stereo, or 5.1 channel layout. Valid values depend on rate control + // mode and profile. The adReceiverMix setting receives a stereo description + // plus control track and emits a mono AAC encode of the description track, + // with control data emitted in the PES header as per ETSI TS 101 154 Annex + // E. + CodingMode *string `locationName:"codingMode" type:"string" enum:"AacCodingMode"` + + // Set to "broadcasterMixedAd" when input contains pre-mixed main audio + AD + // (narration) as a stereo pair. The Audio Type field (audioType) will be set + // to 3, which signals to downstream systems that this stream contains "broadcaster + // mixed AD". Note that the input received by the encoder must contain pre-mixed + // audio; the encoder does not perform the mixing. The values in audioTypeControl + // and audioType (in AudioDescription) are ignored when set to broadcasterMixedAd.Leave + // set to "normal" when input does not contain pre-mixed audio + AD. + InputType *string `locationName:"inputType" type:"string" enum:"AacInputType"` + + // AAC Profile. + Profile *string `locationName:"profile" type:"string" enum:"AacProfile"` + + // Rate Control Mode. + RateControlMode *string `locationName:"rateControlMode" type:"string" enum:"AacRateControlMode"` + + // Sets LATM / LOAS AAC output for raw containers. + RawFormat *string `locationName:"rawFormat" type:"string" enum:"AacRawFormat"` + + // Sample rate in Hz. Valid values depend on rate control mode and profile. + SampleRate *float64 `locationName:"sampleRate" type:"double"` + + // Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport + // Stream containers. + Spec *string `locationName:"spec" type:"string" enum:"AacSpec"` + + // VBR Quality Level - Only used if rateControlMode is VBR. + VbrQuality *string `locationName:"vbrQuality" type:"string" enum:"AacVbrQuality"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AacSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AacSettings) GoString() string { + return s.String() +} + +// SetBitrate sets the Bitrate field's value. +func (s *AacSettings) SetBitrate(v float64) *AacSettings { + s.Bitrate = &v + return s +} + +// SetCodingMode sets the CodingMode field's value. +func (s *AacSettings) SetCodingMode(v string) *AacSettings { + s.CodingMode = &v + return s +} + +// SetInputType sets the InputType field's value. +func (s *AacSettings) SetInputType(v string) *AacSettings { + s.InputType = &v + return s +} + +// SetProfile sets the Profile field's value. +func (s *AacSettings) SetProfile(v string) *AacSettings { + s.Profile = &v + return s +} + +// SetRateControlMode sets the RateControlMode field's value. +func (s *AacSettings) SetRateControlMode(v string) *AacSettings { + s.RateControlMode = &v + return s +} + +// SetRawFormat sets the RawFormat field's value. +func (s *AacSettings) SetRawFormat(v string) *AacSettings { + s.RawFormat = &v + return s +} + +// SetSampleRate sets the SampleRate field's value. +func (s *AacSettings) SetSampleRate(v float64) *AacSettings { + s.SampleRate = &v + return s +} + +// SetSpec sets the Spec field's value. +func (s *AacSettings) SetSpec(v string) *AacSettings { + s.Spec = &v + return s +} + +// SetVbrQuality sets the VbrQuality field's value. +func (s *AacSettings) SetVbrQuality(v string) *AacSettings { + s.VbrQuality = &v + return s +} + +// Ac3 Settings +type Ac3Settings struct { + _ struct{} `type:"structure"` + + // Applies a 3 dB attenuation to the surround channels. Applies only when the + // coding mode parameter is CODING_MODE_3_2_LFE. + AttenuationControl *string `locationName:"attenuationControl" type:"string" enum:"Ac3AttenuationControl"` + + // Average bitrate in bits/second. Valid bitrates depend on the coding mode. + Bitrate *float64 `locationName:"bitrate" type:"double"` + + // Specifies the bitstream mode (bsmod) for the emitted AC-3 stream. See ATSC + // A/52-2012 for background on these values. + BitstreamMode *string `locationName:"bitstreamMode" type:"string" enum:"Ac3BitstreamMode"` + + // Dolby Digital coding mode. Determines number of channels. + CodingMode *string `locationName:"codingMode" type:"string" enum:"Ac3CodingMode"` + + // Sets the dialnorm for the output. If excluded and input audio is Dolby Digital, + // dialnorm will be passed through. + Dialnorm *int64 `locationName:"dialnorm" min:"1" type:"integer"` + + // If set to filmStandard, adds dynamic range compression signaling to the output + // bitstream as defined in the Dolby Digital specification. + DrcProfile *string `locationName:"drcProfile" type:"string" enum:"Ac3DrcProfile"` + + // When set to enabled, applies a 120Hz lowpass filter to the LFE channel prior + // to encoding. Only valid in codingMode32Lfe mode. + LfeFilter *string `locationName:"lfeFilter" type:"string" enum:"Ac3LfeFilter"` + + // When set to "followInput", encoder metadata will be sourced from the DD, + // DD+, or DolbyE decoder that supplied this audio data. If audio was not supplied + // from one of these streams, then the static metadata settings will be used. + MetadataControl *string `locationName:"metadataControl" type:"string" enum:"Ac3MetadataControl"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Ac3Settings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Ac3Settings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Ac3Settings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Ac3Settings"} + if s.Dialnorm != nil && *s.Dialnorm < 1 { + invalidParams.Add(request.NewErrParamMinValue("Dialnorm", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAttenuationControl sets the AttenuationControl field's value. +func (s *Ac3Settings) SetAttenuationControl(v string) *Ac3Settings { + s.AttenuationControl = &v + return s +} + +// SetBitrate sets the Bitrate field's value. +func (s *Ac3Settings) SetBitrate(v float64) *Ac3Settings { + s.Bitrate = &v + return s +} + +// SetBitstreamMode sets the BitstreamMode field's value. +func (s *Ac3Settings) SetBitstreamMode(v string) *Ac3Settings { + s.BitstreamMode = &v + return s +} + +// SetCodingMode sets the CodingMode field's value. +func (s *Ac3Settings) SetCodingMode(v string) *Ac3Settings { + s.CodingMode = &v + return s +} + +// SetDialnorm sets the Dialnorm field's value. +func (s *Ac3Settings) SetDialnorm(v int64) *Ac3Settings { + s.Dialnorm = &v + return s +} // SetDrcProfile sets the DrcProfile field's value. func (s *Ac3Settings) SetDrcProfile(v string) *Ac3Settings { @@ -6723,23 +9381,4929 @@ func (s *Ac3Settings) SetDrcProfile(v string) *Ac3Settings { return s } -// SetLfeFilter sets the LfeFilter field's value. -func (s *Ac3Settings) SetLfeFilter(v string) *Ac3Settings { - s.LfeFilter = &v - return s -} +// SetLfeFilter sets the LfeFilter field's value. +func (s *Ac3Settings) SetLfeFilter(v string) *Ac3Settings { + s.LfeFilter = &v + return s +} + +// SetMetadataControl sets the MetadataControl field's value. +func (s *Ac3Settings) SetMetadataControl(v string) *Ac3Settings { + s.MetadataControl = &v + return s +} + +type AcceptInputDeviceTransferInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // InputDeviceId is a required field + InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AcceptInputDeviceTransferInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AcceptInputDeviceTransferInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AcceptInputDeviceTransferInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AcceptInputDeviceTransferInput"} + if s.InputDeviceId == nil { + invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) + } + if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInputDeviceId sets the InputDeviceId field's value. +func (s *AcceptInputDeviceTransferInput) SetInputDeviceId(v string) *AcceptInputDeviceTransferInput { + s.InputDeviceId = &v + return s +} + +type AcceptInputDeviceTransferOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AcceptInputDeviceTransferOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AcceptInputDeviceTransferOutput) GoString() string { + return s.String() +} + +type AccountConfiguration struct { + _ struct{} `type:"structure"` + + // Specifies the KMS key to use for all features that use key encryption. Specify + // the ARN of a KMS key that you have created. Or leave blank to use the key + // that MediaLive creates and manages for you. + KmsKeyId *string `locationName:"kmsKeyId" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AccountConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AccountConfiguration) GoString() string { + return s.String() +} + +// SetKmsKeyId sets the KmsKeyId field's value. +func (s *AccountConfiguration) SetKmsKeyId(v string) *AccountConfiguration { + s.KmsKeyId = &v + return s +} + +// Ancillary Source Settings +type AncillarySourceSettings struct { + _ struct{} `type:"structure"` + + // Specifies the number (1 to 4) of the captions channel you want to extract + // from the ancillary captions. If you plan to convert the ancillary captions + // to another format, complete this field. If you plan to choose Embedded as + // the captions destination in the output (to pass through all the channels + // in the ancillary captions), leave this field blank because MediaLive ignores + // the field. + SourceAncillaryChannelNumber *int64 `locationName:"sourceAncillaryChannelNumber" min:"1" type:"integer"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AncillarySourceSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AncillarySourceSettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AncillarySourceSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AncillarySourceSettings"} + if s.SourceAncillaryChannelNumber != nil && *s.SourceAncillaryChannelNumber < 1 { + invalidParams.Add(request.NewErrParamMinValue("SourceAncillaryChannelNumber", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSourceAncillaryChannelNumber sets the SourceAncillaryChannelNumber field's value. +func (s *AncillarySourceSettings) SetSourceAncillaryChannelNumber(v int64) *AncillarySourceSettings { + s.SourceAncillaryChannelNumber = &v + return s +} + +// Archive Cdn Settings +type ArchiveCdnSettings struct { + _ struct{} `type:"structure"` + + // Archive S3 Settings + ArchiveS3Settings *ArchiveS3Settings `locationName:"archiveS3Settings" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ArchiveCdnSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ArchiveCdnSettings) GoString() string { + return s.String() +} + +// SetArchiveS3Settings sets the ArchiveS3Settings field's value. +func (s *ArchiveCdnSettings) SetArchiveS3Settings(v *ArchiveS3Settings) *ArchiveCdnSettings { + s.ArchiveS3Settings = v + return s +} + +// Archive Container Settings +type ArchiveContainerSettings struct { + _ struct{} `type:"structure"` + + // M2ts Settings + M2tsSettings *M2tsSettings `locationName:"m2tsSettings" type:"structure"` + + // Raw Settings + RawSettings *RawSettings `locationName:"rawSettings" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ArchiveContainerSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ArchiveContainerSettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ArchiveContainerSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ArchiveContainerSettings"} + if s.M2tsSettings != nil { + if err := s.M2tsSettings.Validate(); err != nil { + invalidParams.AddNested("M2tsSettings", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetM2tsSettings sets the M2tsSettings field's value. +func (s *ArchiveContainerSettings) SetM2tsSettings(v *M2tsSettings) *ArchiveContainerSettings { + s.M2tsSettings = v + return s +} + +// SetRawSettings sets the RawSettings field's value. +func (s *ArchiveContainerSettings) SetRawSettings(v *RawSettings) *ArchiveContainerSettings { + s.RawSettings = v + return s +} + +// Archive Group Settings +type ArchiveGroupSettings struct { + _ struct{} `type:"structure"` + + // Parameters that control interactions with the CDN. + ArchiveCdnSettings *ArchiveCdnSettings `locationName:"archiveCdnSettings" type:"structure"` + + // A directory and base filename where archive files should be written. + // + // Destination is a required field + Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` + + // Number of seconds to write to archive file before closing and starting a + // new one. + RolloverInterval *int64 `locationName:"rolloverInterval" min:"1" type:"integer"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ArchiveGroupSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ArchiveGroupSettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ArchiveGroupSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ArchiveGroupSettings"} + if s.Destination == nil { + invalidParams.Add(request.NewErrParamRequired("Destination")) + } + if s.RolloverInterval != nil && *s.RolloverInterval < 1 { + invalidParams.Add(request.NewErrParamMinValue("RolloverInterval", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetArchiveCdnSettings sets the ArchiveCdnSettings field's value. +func (s *ArchiveGroupSettings) SetArchiveCdnSettings(v *ArchiveCdnSettings) *ArchiveGroupSettings { + s.ArchiveCdnSettings = v + return s +} + +// SetDestination sets the Destination field's value. +func (s *ArchiveGroupSettings) SetDestination(v *OutputLocationRef) *ArchiveGroupSettings { + s.Destination = v + return s +} + +// SetRolloverInterval sets the RolloverInterval field's value. +func (s *ArchiveGroupSettings) SetRolloverInterval(v int64) *ArchiveGroupSettings { + s.RolloverInterval = &v + return s +} + +// Archive Output Settings +type ArchiveOutputSettings struct { + _ struct{} `type:"structure"` + + // Settings specific to the container type of the file. + // + // ContainerSettings is a required field + ContainerSettings *ArchiveContainerSettings `locationName:"containerSettings" type:"structure" required:"true"` + + // Output file extension. If excluded, this will be auto-selected from the container + // type. + Extension *string `locationName:"extension" type:"string"` + + // String concatenated to the end of the destination filename. Required for + // multiple outputs of the same type. + NameModifier *string `locationName:"nameModifier" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ArchiveOutputSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ArchiveOutputSettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ArchiveOutputSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ArchiveOutputSettings"} + if s.ContainerSettings == nil { + invalidParams.Add(request.NewErrParamRequired("ContainerSettings")) + } + if s.ContainerSettings != nil { + if err := s.ContainerSettings.Validate(); err != nil { + invalidParams.AddNested("ContainerSettings", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetContainerSettings sets the ContainerSettings field's value. +func (s *ArchiveOutputSettings) SetContainerSettings(v *ArchiveContainerSettings) *ArchiveOutputSettings { + s.ContainerSettings = v + return s +} + +// SetExtension sets the Extension field's value. +func (s *ArchiveOutputSettings) SetExtension(v string) *ArchiveOutputSettings { + s.Extension = &v + return s +} + +// SetNameModifier sets the NameModifier field's value. +func (s *ArchiveOutputSettings) SetNameModifier(v string) *ArchiveOutputSettings { + s.NameModifier = &v + return s +} + +// Archive S3 Settings +type ArchiveS3Settings struct { + _ struct{} `type:"structure"` + + // Specify the canned ACL to apply to each S3 request. Defaults to none. + CannedAcl *string `locationName:"cannedAcl" type:"string" enum:"S3CannedAcl"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ArchiveS3Settings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ArchiveS3Settings) GoString() string { + return s.String() +} + +// SetCannedAcl sets the CannedAcl field's value. +func (s *ArchiveS3Settings) SetCannedAcl(v string) *ArchiveS3Settings { + s.CannedAcl = &v + return s +} + +// Arib Destination Settings +type AribDestinationSettings struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AribDestinationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AribDestinationSettings) GoString() string { + return s.String() +} + +// Arib Source Settings +type AribSourceSettings struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AribSourceSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AribSourceSettings) GoString() string { + return s.String() +} + +// Audio Channel Mapping +type AudioChannelMapping struct { + _ struct{} `type:"structure"` + + // Indices and gain values for each input channel that should be remixed into + // this output channel. + // + // InputChannelLevels is a required field + InputChannelLevels []*InputChannelLevel `locationName:"inputChannelLevels" type:"list" required:"true"` + + // The index of the output channel being produced. + // + // OutputChannel is a required field + OutputChannel *int64 `locationName:"outputChannel" type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioChannelMapping) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioChannelMapping) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AudioChannelMapping) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AudioChannelMapping"} + if s.InputChannelLevels == nil { + invalidParams.Add(request.NewErrParamRequired("InputChannelLevels")) + } + if s.OutputChannel == nil { + invalidParams.Add(request.NewErrParamRequired("OutputChannel")) + } + if s.InputChannelLevels != nil { + for i, v := range s.InputChannelLevels { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputChannelLevels", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInputChannelLevels sets the InputChannelLevels field's value. +func (s *AudioChannelMapping) SetInputChannelLevels(v []*InputChannelLevel) *AudioChannelMapping { + s.InputChannelLevels = v + return s +} + +// SetOutputChannel sets the OutputChannel field's value. +func (s *AudioChannelMapping) SetOutputChannel(v int64) *AudioChannelMapping { + s.OutputChannel = &v + return s +} + +// Audio Codec Settings +type AudioCodecSettings struct { + _ struct{} `type:"structure"` + + // Aac Settings + AacSettings *AacSettings `locationName:"aacSettings" type:"structure"` + + // Ac3 Settings + Ac3Settings *Ac3Settings `locationName:"ac3Settings" type:"structure"` + + // Eac3 Atmos Settings + Eac3AtmosSettings *Eac3AtmosSettings `locationName:"eac3AtmosSettings" type:"structure"` + + // Eac3 Settings + Eac3Settings *Eac3Settings `locationName:"eac3Settings" type:"structure"` + + // Mp2 Settings + Mp2Settings *Mp2Settings `locationName:"mp2Settings" type:"structure"` + + // Pass Through Settings + PassThroughSettings *PassThroughSettings `locationName:"passThroughSettings" type:"structure"` + + // Wav Settings + WavSettings *WavSettings `locationName:"wavSettings" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioCodecSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioCodecSettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AudioCodecSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AudioCodecSettings"} + if s.Ac3Settings != nil { + if err := s.Ac3Settings.Validate(); err != nil { + invalidParams.AddNested("Ac3Settings", err.(request.ErrInvalidParams)) + } + } + if s.Eac3AtmosSettings != nil { + if err := s.Eac3AtmosSettings.Validate(); err != nil { + invalidParams.AddNested("Eac3AtmosSettings", err.(request.ErrInvalidParams)) + } + } + if s.Eac3Settings != nil { + if err := s.Eac3Settings.Validate(); err != nil { + invalidParams.AddNested("Eac3Settings", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAacSettings sets the AacSettings field's value. +func (s *AudioCodecSettings) SetAacSettings(v *AacSettings) *AudioCodecSettings { + s.AacSettings = v + return s +} + +// SetAc3Settings sets the Ac3Settings field's value. +func (s *AudioCodecSettings) SetAc3Settings(v *Ac3Settings) *AudioCodecSettings { + s.Ac3Settings = v + return s +} + +// SetEac3AtmosSettings sets the Eac3AtmosSettings field's value. +func (s *AudioCodecSettings) SetEac3AtmosSettings(v *Eac3AtmosSettings) *AudioCodecSettings { + s.Eac3AtmosSettings = v + return s +} + +// SetEac3Settings sets the Eac3Settings field's value. +func (s *AudioCodecSettings) SetEac3Settings(v *Eac3Settings) *AudioCodecSettings { + s.Eac3Settings = v + return s +} + +// SetMp2Settings sets the Mp2Settings field's value. +func (s *AudioCodecSettings) SetMp2Settings(v *Mp2Settings) *AudioCodecSettings { + s.Mp2Settings = v + return s +} + +// SetPassThroughSettings sets the PassThroughSettings field's value. +func (s *AudioCodecSettings) SetPassThroughSettings(v *PassThroughSettings) *AudioCodecSettings { + s.PassThroughSettings = v + return s +} + +// SetWavSettings sets the WavSettings field's value. +func (s *AudioCodecSettings) SetWavSettings(v *WavSettings) *AudioCodecSettings { + s.WavSettings = v + return s +} + +// Audio Description +type AudioDescription struct { + _ struct{} `type:"structure"` + + // Identifies the DASH roles to assign to this audio output. Applies only when + // the audio output is configured for DVB DASH accessibility signaling. + AudioDashRoles []*string `locationName:"audioDashRoles" type:"list" enum:"DashRoleAudio"` + + // Advanced audio normalization settings. + AudioNormalizationSettings *AudioNormalizationSettings `locationName:"audioNormalizationSettings" type:"structure"` + + // The name of the AudioSelector used as the source for this AudioDescription. + // + // AudioSelectorName is a required field + AudioSelectorName *string `locationName:"audioSelectorName" type:"string" required:"true"` + + // Applies only if audioTypeControl is useConfigured. The values for audioType + // are defined in ISO-IEC 13818-1. + AudioType *string `locationName:"audioType" type:"string" enum:"AudioType"` + + // Determines how audio type is determined. followInput: If the input contains + // an ISO 639 audioType, then that value is passed through to the output. If + // the input contains no ISO 639 audioType, the value in Audio Type is included + // in the output. useConfigured: The value in Audio Type is included in the + // output.Note that this field and audioType are both ignored if inputType is + // broadcasterMixedAd. + AudioTypeControl *string `locationName:"audioTypeControl" type:"string" enum:"AudioDescriptionAudioTypeControl"` + + // Settings to configure one or more solutions that insert audio watermarks + // in the audio encode + AudioWatermarkingSettings *AudioWatermarkSettings `locationName:"audioWatermarkingSettings" type:"structure"` + + // Audio codec settings. + CodecSettings *AudioCodecSettings `locationName:"codecSettings" type:"structure"` + + // Identifies DVB DASH accessibility signaling in this audio output. Used in + // Microsoft Smooth Streaming outputs to signal accessibility information to + // packagers. + DvbDashAccessibility *string `locationName:"dvbDashAccessibility" type:"string" enum:"DvbDashAccessibility"` + + // RFC 5646 language code representing the language of the audio output track. + // Only used if languageControlMode is useConfigured, or there is no ISO 639 + // language code specified in the input. + LanguageCode *string `locationName:"languageCode" min:"1" type:"string"` + + // Choosing followInput will cause the ISO 639 language code of the output to + // follow the ISO 639 language code of the input. The languageCode will be used + // when useConfigured is set, or when followInput is selected but there is no + // ISO 639 language code specified by the input. + LanguageCodeControl *string `locationName:"languageCodeControl" type:"string" enum:"AudioDescriptionLanguageCodeControl"` + + // The name of this AudioDescription. Outputs will use this name to uniquely + // identify this AudioDescription. Description names should be unique within + // this Live Event. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // Settings that control how input audio channels are remixed into the output + // audio channels. + RemixSettings *RemixSettings `locationName:"remixSettings" type:"structure"` + + // Used for MS Smooth and Apple HLS outputs. Indicates the name displayed by + // the player (eg. English, or Director Commentary). + StreamName *string `locationName:"streamName" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioDescription) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioDescription) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AudioDescription) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AudioDescription"} + if s.AudioSelectorName == nil { + invalidParams.Add(request.NewErrParamRequired("AudioSelectorName")) + } + if s.LanguageCode != nil && len(*s.LanguageCode) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LanguageCode", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.AudioWatermarkingSettings != nil { + if err := s.AudioWatermarkingSettings.Validate(); err != nil { + invalidParams.AddNested("AudioWatermarkingSettings", err.(request.ErrInvalidParams)) + } + } + if s.CodecSettings != nil { + if err := s.CodecSettings.Validate(); err != nil { + invalidParams.AddNested("CodecSettings", err.(request.ErrInvalidParams)) + } + } + if s.RemixSettings != nil { + if err := s.RemixSettings.Validate(); err != nil { + invalidParams.AddNested("RemixSettings", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAudioDashRoles sets the AudioDashRoles field's value. +func (s *AudioDescription) SetAudioDashRoles(v []*string) *AudioDescription { + s.AudioDashRoles = v + return s +} + +// SetAudioNormalizationSettings sets the AudioNormalizationSettings field's value. +func (s *AudioDescription) SetAudioNormalizationSettings(v *AudioNormalizationSettings) *AudioDescription { + s.AudioNormalizationSettings = v + return s +} + +// SetAudioSelectorName sets the AudioSelectorName field's value. +func (s *AudioDescription) SetAudioSelectorName(v string) *AudioDescription { + s.AudioSelectorName = &v + return s +} + +// SetAudioType sets the AudioType field's value. +func (s *AudioDescription) SetAudioType(v string) *AudioDescription { + s.AudioType = &v + return s +} + +// SetAudioTypeControl sets the AudioTypeControl field's value. +func (s *AudioDescription) SetAudioTypeControl(v string) *AudioDescription { + s.AudioTypeControl = &v + return s +} + +// SetAudioWatermarkingSettings sets the AudioWatermarkingSettings field's value. +func (s *AudioDescription) SetAudioWatermarkingSettings(v *AudioWatermarkSettings) *AudioDescription { + s.AudioWatermarkingSettings = v + return s +} + +// SetCodecSettings sets the CodecSettings field's value. +func (s *AudioDescription) SetCodecSettings(v *AudioCodecSettings) *AudioDescription { + s.CodecSettings = v + return s +} + +// SetDvbDashAccessibility sets the DvbDashAccessibility field's value. +func (s *AudioDescription) SetDvbDashAccessibility(v string) *AudioDescription { + s.DvbDashAccessibility = &v + return s +} + +// SetLanguageCode sets the LanguageCode field's value. +func (s *AudioDescription) SetLanguageCode(v string) *AudioDescription { + s.LanguageCode = &v + return s +} + +// SetLanguageCodeControl sets the LanguageCodeControl field's value. +func (s *AudioDescription) SetLanguageCodeControl(v string) *AudioDescription { + s.LanguageCodeControl = &v + return s +} + +// SetName sets the Name field's value. +func (s *AudioDescription) SetName(v string) *AudioDescription { + s.Name = &v + return s +} + +// SetRemixSettings sets the RemixSettings field's value. +func (s *AudioDescription) SetRemixSettings(v *RemixSettings) *AudioDescription { + s.RemixSettings = v + return s +} + +// SetStreamName sets the StreamName field's value. +func (s *AudioDescription) SetStreamName(v string) *AudioDescription { + s.StreamName = &v + return s +} + +// Audio Dolby EDecode +type AudioDolbyEDecode struct { + _ struct{} `type:"structure"` + + // Applies only to Dolby E. Enter the program ID (according to the metadata + // in the audio) of the Dolby E program to extract from the specified track. + // One program extracted per audio selector. To select multiple programs, create + // multiple selectors with the same Track and different Program numbers. “All + // channels” means to ignore the program IDs and include all the channels + // in this selector; useful if metadata is known to be incorrect. + // + // ProgramSelection is a required field + ProgramSelection *string `locationName:"programSelection" type:"string" required:"true" enum:"DolbyEProgramSelection"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioDolbyEDecode) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioDolbyEDecode) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AudioDolbyEDecode) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AudioDolbyEDecode"} + if s.ProgramSelection == nil { + invalidParams.Add(request.NewErrParamRequired("ProgramSelection")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetProgramSelection sets the ProgramSelection field's value. +func (s *AudioDolbyEDecode) SetProgramSelection(v string) *AudioDolbyEDecode { + s.ProgramSelection = &v + return s +} + +// Audio Hls Rendition Selection +type AudioHlsRenditionSelection struct { + _ struct{} `type:"structure"` + + // Specifies the GROUP-ID in the #EXT-X-MEDIA tag of the target HLS audio rendition. + // + // GroupId is a required field + GroupId *string `locationName:"groupId" min:"1" type:"string" required:"true"` + + // Specifies the NAME in the #EXT-X-MEDIA tag of the target HLS audio rendition. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioHlsRenditionSelection) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioHlsRenditionSelection) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AudioHlsRenditionSelection) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AudioHlsRenditionSelection"} + if s.GroupId == nil { + invalidParams.Add(request.NewErrParamRequired("GroupId")) + } + if s.GroupId != nil && len(*s.GroupId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GroupId", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetGroupId sets the GroupId field's value. +func (s *AudioHlsRenditionSelection) SetGroupId(v string) *AudioHlsRenditionSelection { + s.GroupId = &v + return s +} + +// SetName sets the Name field's value. +func (s *AudioHlsRenditionSelection) SetName(v string) *AudioHlsRenditionSelection { + s.Name = &v + return s +} + +// Audio Language Selection +type AudioLanguageSelection struct { + _ struct{} `type:"structure"` + + // Selects a specific three-letter language code from within an audio source. + // + // LanguageCode is a required field + LanguageCode *string `locationName:"languageCode" type:"string" required:"true"` + + // When set to "strict", the transport stream demux strictly identifies audio + // streams by their language descriptor. If a PMT update occurs such that an + // audio stream matching the initially selected language is no longer present + // then mute will be encoded until the language returns. If "loose", then on + // a PMT update the demux will choose another audio stream in the program with + // the same stream type if it can't find one with the same language. + LanguageSelectionPolicy *string `locationName:"languageSelectionPolicy" type:"string" enum:"AudioLanguageSelectionPolicy"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioLanguageSelection) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioLanguageSelection) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AudioLanguageSelection) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AudioLanguageSelection"} + if s.LanguageCode == nil { + invalidParams.Add(request.NewErrParamRequired("LanguageCode")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLanguageCode sets the LanguageCode field's value. +func (s *AudioLanguageSelection) SetLanguageCode(v string) *AudioLanguageSelection { + s.LanguageCode = &v + return s +} + +// SetLanguageSelectionPolicy sets the LanguageSelectionPolicy field's value. +func (s *AudioLanguageSelection) SetLanguageSelectionPolicy(v string) *AudioLanguageSelection { + s.LanguageSelectionPolicy = &v + return s +} + +// Audio Normalization Settings +type AudioNormalizationSettings struct { + _ struct{} `type:"structure"` + + // Audio normalization algorithm to use. itu17701 conforms to the CALM Act specification, + // itu17702 conforms to the EBU R-128 specification. + Algorithm *string `locationName:"algorithm" type:"string" enum:"AudioNormalizationAlgorithm"` + + // When set to correctAudio the output audio is corrected using the chosen algorithm. + // If set to measureOnly, the audio will be measured but not adjusted. + AlgorithmControl *string `locationName:"algorithmControl" type:"string" enum:"AudioNormalizationAlgorithmControl"` + + // Target LKFS(loudness) to adjust volume to. If no value is entered, a default + // value will be used according to the chosen algorithm. The CALM Act (1770-1) + // recommends a target of -24 LKFS. The EBU R-128 specification (1770-2) recommends + // a target of -23 LKFS. + TargetLkfs *float64 `locationName:"targetLkfs" type:"double"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioNormalizationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioNormalizationSettings) GoString() string { + return s.String() +} + +// SetAlgorithm sets the Algorithm field's value. +func (s *AudioNormalizationSettings) SetAlgorithm(v string) *AudioNormalizationSettings { + s.Algorithm = &v + return s +} + +// SetAlgorithmControl sets the AlgorithmControl field's value. +func (s *AudioNormalizationSettings) SetAlgorithmControl(v string) *AudioNormalizationSettings { + s.AlgorithmControl = &v + return s +} + +// SetTargetLkfs sets the TargetLkfs field's value. +func (s *AudioNormalizationSettings) SetTargetLkfs(v float64) *AudioNormalizationSettings { + s.TargetLkfs = &v + return s +} + +// Audio Only Hls Settings +type AudioOnlyHlsSettings struct { + _ struct{} `type:"structure"` + + // Specifies the group to which the audio Rendition belongs. + AudioGroupId *string `locationName:"audioGroupId" type:"string"` + + // Optional. Specifies the .jpg or .png image to use as the cover art for an + // audio-only output. We recommend a low bit-size file because the image increases + // the output audio bandwidth.The image is attached to the audio as an ID3 tag, + // frame type APIC, picture type 0x10, as per the "ID3 tag version 2.4.0 - Native + // Frames" standard. + AudioOnlyImage *InputLocation `locationName:"audioOnlyImage" type:"structure"` + + // Four types of audio-only tracks are supported:Audio-Only Variant StreamThe + // client can play back this audio-only stream instead of video in low-bandwidth + // scenarios. Represented as an EXT-X-STREAM-INF in the HLS manifest.Alternate + // Audio, Auto Select, DefaultAlternate rendition that the client should try + // to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest + // with DEFAULT=YES, AUTOSELECT=YESAlternate Audio, Auto Select, Not DefaultAlternate + // rendition that the client may try to play back by default. Represented as + // an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=YESAlternate + // Audio, not Auto SelectAlternate rendition that the client will not try to + // play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with + // DEFAULT=NO, AUTOSELECT=NO + AudioTrackType *string `locationName:"audioTrackType" type:"string" enum:"AudioOnlyHlsTrackType"` + + // Specifies the segment type. + SegmentType *string `locationName:"segmentType" type:"string" enum:"AudioOnlyHlsSegmentType"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioOnlyHlsSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioOnlyHlsSettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AudioOnlyHlsSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AudioOnlyHlsSettings"} + if s.AudioOnlyImage != nil { + if err := s.AudioOnlyImage.Validate(); err != nil { + invalidParams.AddNested("AudioOnlyImage", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAudioGroupId sets the AudioGroupId field's value. +func (s *AudioOnlyHlsSettings) SetAudioGroupId(v string) *AudioOnlyHlsSettings { + s.AudioGroupId = &v + return s +} + +// SetAudioOnlyImage sets the AudioOnlyImage field's value. +func (s *AudioOnlyHlsSettings) SetAudioOnlyImage(v *InputLocation) *AudioOnlyHlsSettings { + s.AudioOnlyImage = v + return s +} + +// SetAudioTrackType sets the AudioTrackType field's value. +func (s *AudioOnlyHlsSettings) SetAudioTrackType(v string) *AudioOnlyHlsSettings { + s.AudioTrackType = &v + return s +} + +// SetSegmentType sets the SegmentType field's value. +func (s *AudioOnlyHlsSettings) SetSegmentType(v string) *AudioOnlyHlsSettings { + s.SegmentType = &v + return s +} + +// Audio Pid Selection +type AudioPidSelection struct { + _ struct{} `type:"structure"` + + // Selects a specific PID from within a source. + // + // Pid is a required field + Pid *int64 `locationName:"pid" type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioPidSelection) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioPidSelection) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AudioPidSelection) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AudioPidSelection"} + if s.Pid == nil { + invalidParams.Add(request.NewErrParamRequired("Pid")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPid sets the Pid field's value. +func (s *AudioPidSelection) SetPid(v int64) *AudioPidSelection { + s.Pid = &v + return s +} + +// Audio Selector +type AudioSelector struct { + _ struct{} `type:"structure"` + + // The name of this AudioSelector. AudioDescriptions will use this name to uniquely + // identify this Selector. Selector names should be unique per input. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // The audio selector settings. + SelectorSettings *AudioSelectorSettings `locationName:"selectorSettings" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioSelector) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioSelector) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AudioSelector) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AudioSelector"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.SelectorSettings != nil { + if err := s.SelectorSettings.Validate(); err != nil { + invalidParams.AddNested("SelectorSettings", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *AudioSelector) SetName(v string) *AudioSelector { + s.Name = &v + return s +} + +// SetSelectorSettings sets the SelectorSettings field's value. +func (s *AudioSelector) SetSelectorSettings(v *AudioSelectorSettings) *AudioSelector { + s.SelectorSettings = v + return s +} + +// Audio Selector Settings +type AudioSelectorSettings struct { + _ struct{} `type:"structure"` + + // Audio Hls Rendition Selection + AudioHlsRenditionSelection *AudioHlsRenditionSelection `locationName:"audioHlsRenditionSelection" type:"structure"` + + // Audio Language Selection + AudioLanguageSelection *AudioLanguageSelection `locationName:"audioLanguageSelection" type:"structure"` + + // Audio Pid Selection + AudioPidSelection *AudioPidSelection `locationName:"audioPidSelection" type:"structure"` + + // Audio Track Selection + AudioTrackSelection *AudioTrackSelection `locationName:"audioTrackSelection" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioSelectorSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioSelectorSettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AudioSelectorSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AudioSelectorSettings"} + if s.AudioHlsRenditionSelection != nil { + if err := s.AudioHlsRenditionSelection.Validate(); err != nil { + invalidParams.AddNested("AudioHlsRenditionSelection", err.(request.ErrInvalidParams)) + } + } + if s.AudioLanguageSelection != nil { + if err := s.AudioLanguageSelection.Validate(); err != nil { + invalidParams.AddNested("AudioLanguageSelection", err.(request.ErrInvalidParams)) + } + } + if s.AudioPidSelection != nil { + if err := s.AudioPidSelection.Validate(); err != nil { + invalidParams.AddNested("AudioPidSelection", err.(request.ErrInvalidParams)) + } + } + if s.AudioTrackSelection != nil { + if err := s.AudioTrackSelection.Validate(); err != nil { + invalidParams.AddNested("AudioTrackSelection", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAudioHlsRenditionSelection sets the AudioHlsRenditionSelection field's value. +func (s *AudioSelectorSettings) SetAudioHlsRenditionSelection(v *AudioHlsRenditionSelection) *AudioSelectorSettings { + s.AudioHlsRenditionSelection = v + return s +} + +// SetAudioLanguageSelection sets the AudioLanguageSelection field's value. +func (s *AudioSelectorSettings) SetAudioLanguageSelection(v *AudioLanguageSelection) *AudioSelectorSettings { + s.AudioLanguageSelection = v + return s +} + +// SetAudioPidSelection sets the AudioPidSelection field's value. +func (s *AudioSelectorSettings) SetAudioPidSelection(v *AudioPidSelection) *AudioSelectorSettings { + s.AudioPidSelection = v + return s +} + +// SetAudioTrackSelection sets the AudioTrackSelection field's value. +func (s *AudioSelectorSettings) SetAudioTrackSelection(v *AudioTrackSelection) *AudioSelectorSettings { + s.AudioTrackSelection = v + return s +} + +type AudioSilenceFailoverSettings struct { + _ struct{} `type:"structure"` + + // The name of the audio selector in the input that MediaLive should monitor + // to detect silence. Select your most important rendition. If you didn't create + // an audio selector in this input, leave blank. + // + // AudioSelectorName is a required field + AudioSelectorName *string `locationName:"audioSelectorName" type:"string" required:"true"` + + // The amount of time (in milliseconds) that the active input must be silent + // before automatic input failover occurs. Silence is defined as audio loss + // or audio quieter than -50 dBFS. + AudioSilenceThresholdMsec *int64 `locationName:"audioSilenceThresholdMsec" min:"1000" type:"integer"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioSilenceFailoverSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioSilenceFailoverSettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AudioSilenceFailoverSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AudioSilenceFailoverSettings"} + if s.AudioSelectorName == nil { + invalidParams.Add(request.NewErrParamRequired("AudioSelectorName")) + } + if s.AudioSilenceThresholdMsec != nil && *s.AudioSilenceThresholdMsec < 1000 { + invalidParams.Add(request.NewErrParamMinValue("AudioSilenceThresholdMsec", 1000)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAudioSelectorName sets the AudioSelectorName field's value. +func (s *AudioSilenceFailoverSettings) SetAudioSelectorName(v string) *AudioSilenceFailoverSettings { + s.AudioSelectorName = &v + return s +} + +// SetAudioSilenceThresholdMsec sets the AudioSilenceThresholdMsec field's value. +func (s *AudioSilenceFailoverSettings) SetAudioSilenceThresholdMsec(v int64) *AudioSilenceFailoverSettings { + s.AudioSilenceThresholdMsec = &v + return s +} + +// Audio Track +type AudioTrack struct { + _ struct{} `type:"structure"` + + // 1-based integer value that maps to a specific audio track + // + // Track is a required field + Track *int64 `locationName:"track" min:"1" type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioTrack) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioTrack) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AudioTrack) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AudioTrack"} + if s.Track == nil { + invalidParams.Add(request.NewErrParamRequired("Track")) + } + if s.Track != nil && *s.Track < 1 { + invalidParams.Add(request.NewErrParamMinValue("Track", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTrack sets the Track field's value. +func (s *AudioTrack) SetTrack(v int64) *AudioTrack { + s.Track = &v + return s +} + +// Audio Track Selection +type AudioTrackSelection struct { + _ struct{} `type:"structure"` + + // Configure decoding options for Dolby E streams - these should be Dolby E + // frames carried in PCM streams tagged with SMPTE-337 + DolbyEDecode *AudioDolbyEDecode `locationName:"dolbyEDecode" type:"structure"` + + // Selects one or more unique audio tracks from within a source. + // + // Tracks is a required field + Tracks []*AudioTrack `locationName:"tracks" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioTrackSelection) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioTrackSelection) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AudioTrackSelection) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AudioTrackSelection"} + if s.Tracks == nil { + invalidParams.Add(request.NewErrParamRequired("Tracks")) + } + if s.DolbyEDecode != nil { + if err := s.DolbyEDecode.Validate(); err != nil { + invalidParams.AddNested("DolbyEDecode", err.(request.ErrInvalidParams)) + } + } + if s.Tracks != nil { + for i, v := range s.Tracks { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tracks", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDolbyEDecode sets the DolbyEDecode field's value. +func (s *AudioTrackSelection) SetDolbyEDecode(v *AudioDolbyEDecode) *AudioTrackSelection { + s.DolbyEDecode = v + return s +} + +// SetTracks sets the Tracks field's value. +func (s *AudioTrackSelection) SetTracks(v []*AudioTrack) *AudioTrackSelection { + s.Tracks = v + return s +} + +// Audio Watermark Settings +type AudioWatermarkSettings struct { + _ struct{} `type:"structure"` + + // Settings to configure Nielsen Watermarks in the audio encode + NielsenWatermarksSettings *NielsenWatermarksSettings `locationName:"nielsenWatermarksSettings" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioWatermarkSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioWatermarkSettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AudioWatermarkSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AudioWatermarkSettings"} + if s.NielsenWatermarksSettings != nil { + if err := s.NielsenWatermarksSettings.Validate(); err != nil { + invalidParams.AddNested("NielsenWatermarksSettings", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetNielsenWatermarksSettings sets the NielsenWatermarksSettings field's value. +func (s *AudioWatermarkSettings) SetNielsenWatermarksSettings(v *NielsenWatermarksSettings) *AudioWatermarkSettings { + s.NielsenWatermarksSettings = v + return s +} + +// The settings for Automatic Input Failover. +type AutomaticInputFailoverSettings struct { + _ struct{} `type:"structure"` + + // This clear time defines the requirement a recovered input must meet to be + // considered healthy. The input must have no failover conditions for this length + // of time. Enter a time in milliseconds. This value is particularly important + // if the input_preference for the failover pair is set to PRIMARY_INPUT_PREFERRED, + // because after this time, MediaLive will switch back to the primary input. + ErrorClearTimeMsec *int64 `locationName:"errorClearTimeMsec" min:"1" type:"integer"` + + // A list of failover conditions. If any of these conditions occur, MediaLive + // will perform a failover to the other input. + FailoverConditions []*FailoverCondition `locationName:"failoverConditions" type:"list"` + + // Input preference when deciding which input to make active when a previously + // failed input has recovered. + InputPreference *string `locationName:"inputPreference" type:"string" enum:"InputPreference"` + + // The input ID of the secondary input in the automatic input failover pair. + // + // SecondaryInputId is a required field + SecondaryInputId *string `locationName:"secondaryInputId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AutomaticInputFailoverSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AutomaticInputFailoverSettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AutomaticInputFailoverSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AutomaticInputFailoverSettings"} + if s.ErrorClearTimeMsec != nil && *s.ErrorClearTimeMsec < 1 { + invalidParams.Add(request.NewErrParamMinValue("ErrorClearTimeMsec", 1)) + } + if s.SecondaryInputId == nil { + invalidParams.Add(request.NewErrParamRequired("SecondaryInputId")) + } + if s.FailoverConditions != nil { + for i, v := range s.FailoverConditions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "FailoverConditions", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetErrorClearTimeMsec sets the ErrorClearTimeMsec field's value. +func (s *AutomaticInputFailoverSettings) SetErrorClearTimeMsec(v int64) *AutomaticInputFailoverSettings { + s.ErrorClearTimeMsec = &v + return s +} + +// SetFailoverConditions sets the FailoverConditions field's value. +func (s *AutomaticInputFailoverSettings) SetFailoverConditions(v []*FailoverCondition) *AutomaticInputFailoverSettings { + s.FailoverConditions = v + return s +} + +// SetInputPreference sets the InputPreference field's value. +func (s *AutomaticInputFailoverSettings) SetInputPreference(v string) *AutomaticInputFailoverSettings { + s.InputPreference = &v + return s +} + +// SetSecondaryInputId sets the SecondaryInputId field's value. +func (s *AutomaticInputFailoverSettings) SetSecondaryInputId(v string) *AutomaticInputFailoverSettings { + s.SecondaryInputId = &v + return s +} + +// Avail Blanking +type AvailBlanking struct { + _ struct{} `type:"structure"` + + // Blanking image to be used. Leave empty for solid black. Only bmp and png + // images are supported. + AvailBlankingImage *InputLocation `locationName:"availBlankingImage" type:"structure"` + + // When set to enabled, causes video, audio and captions to be blanked when + // insertion metadata is added. + State *string `locationName:"state" type:"string" enum:"AvailBlankingState"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AvailBlanking) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AvailBlanking) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AvailBlanking) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AvailBlanking"} + if s.AvailBlankingImage != nil { + if err := s.AvailBlankingImage.Validate(); err != nil { + invalidParams.AddNested("AvailBlankingImage", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAvailBlankingImage sets the AvailBlankingImage field's value. +func (s *AvailBlanking) SetAvailBlankingImage(v *InputLocation) *AvailBlanking { + s.AvailBlankingImage = v + return s +} + +// SetState sets the State field's value. +func (s *AvailBlanking) SetState(v string) *AvailBlanking { + s.State = &v + return s +} + +// Avail Configuration +type AvailConfiguration struct { + _ struct{} `type:"structure"` + + // Controls how SCTE-35 messages create cues. Splice Insert mode treats all + // segmentation signals traditionally. With Time Signal APOS mode only Time + // Signal Placement Opportunity and Break messages create segment breaks. With + // ESAM mode, signals are forwarded to an ESAM server for possible update. + AvailSettings *AvailSettings `locationName:"availSettings" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AvailConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AvailConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AvailConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AvailConfiguration"} + if s.AvailSettings != nil { + if err := s.AvailSettings.Validate(); err != nil { + invalidParams.AddNested("AvailSettings", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAvailSettings sets the AvailSettings field's value. +func (s *AvailConfiguration) SetAvailSettings(v *AvailSettings) *AvailConfiguration { + s.AvailSettings = v + return s +} + +// Avail Settings +type AvailSettings struct { + _ struct{} `type:"structure"` + + // Esam + Esam *Esam `locationName:"esam" type:"structure"` + + // Typical configuration that applies breaks on splice inserts in addition to + // time signal placement opportunities, breaks, and advertisements. + Scte35SpliceInsert *Scte35SpliceInsert `locationName:"scte35SpliceInsert" type:"structure"` + + // Atypical configuration that applies segment breaks only on SCTE-35 time signal + // placement opportunities and breaks. + Scte35TimeSignalApos *Scte35TimeSignalApos `locationName:"scte35TimeSignalApos" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AvailSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AvailSettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AvailSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AvailSettings"} + if s.Esam != nil { + if err := s.Esam.Validate(); err != nil { + invalidParams.AddNested("Esam", err.(request.ErrInvalidParams)) + } + } + if s.Scte35SpliceInsert != nil { + if err := s.Scte35SpliceInsert.Validate(); err != nil { + invalidParams.AddNested("Scte35SpliceInsert", err.(request.ErrInvalidParams)) + } + } + if s.Scte35TimeSignalApos != nil { + if err := s.Scte35TimeSignalApos.Validate(); err != nil { + invalidParams.AddNested("Scte35TimeSignalApos", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEsam sets the Esam field's value. +func (s *AvailSettings) SetEsam(v *Esam) *AvailSettings { + s.Esam = v + return s +} + +// SetScte35SpliceInsert sets the Scte35SpliceInsert field's value. +func (s *AvailSettings) SetScte35SpliceInsert(v *Scte35SpliceInsert) *AvailSettings { + s.Scte35SpliceInsert = v + return s +} + +// SetScte35TimeSignalApos sets the Scte35TimeSignalApos field's value. +func (s *AvailSettings) SetScte35TimeSignalApos(v *Scte35TimeSignalApos) *AvailSettings { + s.Scte35TimeSignalApos = v + return s +} + +type BadGatewayException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BadGatewayException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BadGatewayException) GoString() string { + return s.String() +} + +func newErrorBadGatewayException(v protocol.ResponseMetadata) error { + return &BadGatewayException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *BadGatewayException) Code() string { + return "BadGatewayException" +} + +// Message returns the exception's message. +func (s *BadGatewayException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *BadGatewayException) OrigErr() error { + return nil +} + +func (s *BadGatewayException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *BadGatewayException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *BadGatewayException) RequestID() string { + return s.RespMetadata.RequestID +} + +type BadRequestException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BadRequestException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BadRequestException) GoString() string { + return s.String() +} + +func newErrorBadRequestException(v protocol.ResponseMetadata) error { + return &BadRequestException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *BadRequestException) Code() string { + return "BadRequestException" +} + +// Message returns the exception's message. +func (s *BadRequestException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *BadRequestException) OrigErr() error { + return nil +} + +func (s *BadRequestException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *BadRequestException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *BadRequestException) RequestID() string { + return s.RespMetadata.RequestID +} + +type BatchDeleteInput struct { + _ struct{} `type:"structure"` + + ChannelIds []*string `locationName:"channelIds" type:"list"` + + InputIds []*string `locationName:"inputIds" type:"list"` + + InputSecurityGroupIds []*string `locationName:"inputSecurityGroupIds" type:"list"` + + MultiplexIds []*string `locationName:"multiplexIds" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchDeleteInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchDeleteInput) GoString() string { + return s.String() +} + +// SetChannelIds sets the ChannelIds field's value. +func (s *BatchDeleteInput) SetChannelIds(v []*string) *BatchDeleteInput { + s.ChannelIds = v + return s +} + +// SetInputIds sets the InputIds field's value. +func (s *BatchDeleteInput) SetInputIds(v []*string) *BatchDeleteInput { + s.InputIds = v + return s +} + +// SetInputSecurityGroupIds sets the InputSecurityGroupIds field's value. +func (s *BatchDeleteInput) SetInputSecurityGroupIds(v []*string) *BatchDeleteInput { + s.InputSecurityGroupIds = v + return s +} + +// SetMultiplexIds sets the MultiplexIds field's value. +func (s *BatchDeleteInput) SetMultiplexIds(v []*string) *BatchDeleteInput { + s.MultiplexIds = v + return s +} + +type BatchDeleteOutput struct { + _ struct{} `type:"structure"` + + Failed []*BatchFailedResultModel `locationName:"failed" type:"list"` + + Successful []*BatchSuccessfulResultModel `locationName:"successful" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchDeleteOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchDeleteOutput) GoString() string { + return s.String() +} + +// SetFailed sets the Failed field's value. +func (s *BatchDeleteOutput) SetFailed(v []*BatchFailedResultModel) *BatchDeleteOutput { + s.Failed = v + return s +} + +// SetSuccessful sets the Successful field's value. +func (s *BatchDeleteOutput) SetSuccessful(v []*BatchSuccessfulResultModel) *BatchDeleteOutput { + s.Successful = v + return s +} + +// Details from a failed operation +type BatchFailedResultModel struct { + _ struct{} `type:"structure"` + + // ARN of the resource + Arn *string `locationName:"arn" type:"string"` + + // Error code for the failed operation + Code *string `locationName:"code" type:"string"` + + // ID of the resource + Id *string `locationName:"id" type:"string"` + + // Error message for the failed operation + Message *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchFailedResultModel) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchFailedResultModel) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *BatchFailedResultModel) SetArn(v string) *BatchFailedResultModel { + s.Arn = &v + return s +} + +// SetCode sets the Code field's value. +func (s *BatchFailedResultModel) SetCode(v string) *BatchFailedResultModel { + s.Code = &v + return s +} + +// SetId sets the Id field's value. +func (s *BatchFailedResultModel) SetId(v string) *BatchFailedResultModel { + s.Id = &v + return s +} + +// SetMessage sets the Message field's value. +func (s *BatchFailedResultModel) SetMessage(v string) *BatchFailedResultModel { + s.Message = &v + return s +} + +// A list of schedule actions to create (in a request) or that have been created +// (in a response). +type BatchScheduleActionCreateRequest struct { + _ struct{} `type:"structure"` + + // A list of schedule actions to create. + // + // ScheduleActions is a required field + ScheduleActions []*ScheduleAction `locationName:"scheduleActions" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchScheduleActionCreateRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchScheduleActionCreateRequest) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BatchScheduleActionCreateRequest) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BatchScheduleActionCreateRequest"} + if s.ScheduleActions == nil { + invalidParams.Add(request.NewErrParamRequired("ScheduleActions")) + } + if s.ScheduleActions != nil { + for i, v := range s.ScheduleActions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ScheduleActions", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetScheduleActions sets the ScheduleActions field's value. +func (s *BatchScheduleActionCreateRequest) SetScheduleActions(v []*ScheduleAction) *BatchScheduleActionCreateRequest { + s.ScheduleActions = v + return s +} + +// List of actions that have been created in the schedule. +type BatchScheduleActionCreateResult struct { + _ struct{} `type:"structure"` + + // List of actions that have been created in the schedule. + // + // ScheduleActions is a required field + ScheduleActions []*ScheduleAction `locationName:"scheduleActions" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchScheduleActionCreateResult) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchScheduleActionCreateResult) GoString() string { + return s.String() +} + +// SetScheduleActions sets the ScheduleActions field's value. +func (s *BatchScheduleActionCreateResult) SetScheduleActions(v []*ScheduleAction) *BatchScheduleActionCreateResult { + s.ScheduleActions = v + return s +} + +// A list of schedule actions to delete. +type BatchScheduleActionDeleteRequest struct { + _ struct{} `type:"structure"` + + // A list of schedule actions to delete. + // + // ActionNames is a required field + ActionNames []*string `locationName:"actionNames" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchScheduleActionDeleteRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchScheduleActionDeleteRequest) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BatchScheduleActionDeleteRequest) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BatchScheduleActionDeleteRequest"} + if s.ActionNames == nil { + invalidParams.Add(request.NewErrParamRequired("ActionNames")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActionNames sets the ActionNames field's value. +func (s *BatchScheduleActionDeleteRequest) SetActionNames(v []*string) *BatchScheduleActionDeleteRequest { + s.ActionNames = v + return s +} + +// List of actions that have been deleted from the schedule. +type BatchScheduleActionDeleteResult struct { + _ struct{} `type:"structure"` + + // List of actions that have been deleted from the schedule. + // + // ScheduleActions is a required field + ScheduleActions []*ScheduleAction `locationName:"scheduleActions" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchScheduleActionDeleteResult) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchScheduleActionDeleteResult) GoString() string { + return s.String() +} + +// SetScheduleActions sets the ScheduleActions field's value. +func (s *BatchScheduleActionDeleteResult) SetScheduleActions(v []*ScheduleAction) *BatchScheduleActionDeleteResult { + s.ScheduleActions = v + return s +} + +type BatchStartInput struct { + _ struct{} `type:"structure"` + + ChannelIds []*string `locationName:"channelIds" type:"list"` + + MultiplexIds []*string `locationName:"multiplexIds" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchStartInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchStartInput) GoString() string { + return s.String() +} + +// SetChannelIds sets the ChannelIds field's value. +func (s *BatchStartInput) SetChannelIds(v []*string) *BatchStartInput { + s.ChannelIds = v + return s +} + +// SetMultiplexIds sets the MultiplexIds field's value. +func (s *BatchStartInput) SetMultiplexIds(v []*string) *BatchStartInput { + s.MultiplexIds = v + return s +} + +type BatchStartOutput struct { + _ struct{} `type:"structure"` + + Failed []*BatchFailedResultModel `locationName:"failed" type:"list"` + + Successful []*BatchSuccessfulResultModel `locationName:"successful" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchStartOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchStartOutput) GoString() string { + return s.String() +} + +// SetFailed sets the Failed field's value. +func (s *BatchStartOutput) SetFailed(v []*BatchFailedResultModel) *BatchStartOutput { + s.Failed = v + return s +} + +// SetSuccessful sets the Successful field's value. +func (s *BatchStartOutput) SetSuccessful(v []*BatchSuccessfulResultModel) *BatchStartOutput { + s.Successful = v + return s +} + +type BatchStopInput struct { + _ struct{} `type:"structure"` + + ChannelIds []*string `locationName:"channelIds" type:"list"` + + MultiplexIds []*string `locationName:"multiplexIds" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchStopInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchStopInput) GoString() string { + return s.String() +} + +// SetChannelIds sets the ChannelIds field's value. +func (s *BatchStopInput) SetChannelIds(v []*string) *BatchStopInput { + s.ChannelIds = v + return s +} + +// SetMultiplexIds sets the MultiplexIds field's value. +func (s *BatchStopInput) SetMultiplexIds(v []*string) *BatchStopInput { + s.MultiplexIds = v + return s +} + +type BatchStopOutput struct { + _ struct{} `type:"structure"` + + Failed []*BatchFailedResultModel `locationName:"failed" type:"list"` + + Successful []*BatchSuccessfulResultModel `locationName:"successful" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchStopOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchStopOutput) GoString() string { + return s.String() +} + +// SetFailed sets the Failed field's value. +func (s *BatchStopOutput) SetFailed(v []*BatchFailedResultModel) *BatchStopOutput { + s.Failed = v + return s +} + +// SetSuccessful sets the Successful field's value. +func (s *BatchStopOutput) SetSuccessful(v []*BatchSuccessfulResultModel) *BatchStopOutput { + s.Successful = v + return s +} + +// Details from a successful operation +type BatchSuccessfulResultModel struct { + _ struct{} `type:"structure"` + + // ARN of the resource + Arn *string `locationName:"arn" type:"string"` + + // ID of the resource + Id *string `locationName:"id" type:"string"` + + // Current state of the resource + State *string `locationName:"state" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchSuccessfulResultModel) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchSuccessfulResultModel) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *BatchSuccessfulResultModel) SetArn(v string) *BatchSuccessfulResultModel { + s.Arn = &v + return s +} + +// SetId sets the Id field's value. +func (s *BatchSuccessfulResultModel) SetId(v string) *BatchSuccessfulResultModel { + s.Id = &v + return s +} + +// SetState sets the State field's value. +func (s *BatchSuccessfulResultModel) SetState(v string) *BatchSuccessfulResultModel { + s.State = &v + return s +} + +// A request to create actions (add actions to the schedule), delete actions +// (remove actions from the schedule), or both create and delete actions. +type BatchUpdateScheduleInput struct { + _ struct{} `type:"structure"` + + // ChannelId is a required field + ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` + + // Schedule actions to create in the schedule. + Creates *BatchScheduleActionCreateRequest `locationName:"creates" type:"structure"` + + // Schedule actions to delete from the schedule. + Deletes *BatchScheduleActionDeleteRequest `locationName:"deletes" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchUpdateScheduleInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchUpdateScheduleInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BatchUpdateScheduleInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BatchUpdateScheduleInput"} + if s.ChannelId == nil { + invalidParams.Add(request.NewErrParamRequired("ChannelId")) + } + if s.ChannelId != nil && len(*s.ChannelId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) + } + if s.Creates != nil { + if err := s.Creates.Validate(); err != nil { + invalidParams.AddNested("Creates", err.(request.ErrInvalidParams)) + } + } + if s.Deletes != nil { + if err := s.Deletes.Validate(); err != nil { + invalidParams.AddNested("Deletes", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChannelId sets the ChannelId field's value. +func (s *BatchUpdateScheduleInput) SetChannelId(v string) *BatchUpdateScheduleInput { + s.ChannelId = &v + return s +} + +// SetCreates sets the Creates field's value. +func (s *BatchUpdateScheduleInput) SetCreates(v *BatchScheduleActionCreateRequest) *BatchUpdateScheduleInput { + s.Creates = v + return s +} + +// SetDeletes sets the Deletes field's value. +func (s *BatchUpdateScheduleInput) SetDeletes(v *BatchScheduleActionDeleteRequest) *BatchUpdateScheduleInput { + s.Deletes = v + return s +} + +type BatchUpdateScheduleOutput struct { + _ struct{} `type:"structure"` + + // List of actions that have been created in the schedule. + Creates *BatchScheduleActionCreateResult `locationName:"creates" type:"structure"` + + // List of actions that have been deleted from the schedule. + Deletes *BatchScheduleActionDeleteResult `locationName:"deletes" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchUpdateScheduleOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchUpdateScheduleOutput) GoString() string { + return s.String() +} + +// SetCreates sets the Creates field's value. +func (s *BatchUpdateScheduleOutput) SetCreates(v *BatchScheduleActionCreateResult) *BatchUpdateScheduleOutput { + s.Creates = v + return s +} + +// SetDeletes sets the Deletes field's value. +func (s *BatchUpdateScheduleOutput) SetDeletes(v *BatchScheduleActionDeleteResult) *BatchUpdateScheduleOutput { + s.Deletes = v + return s +} + +// Blackout Slate +type BlackoutSlate struct { + _ struct{} `type:"structure"` + + // Blackout slate image to be used. Leave empty for solid black. Only bmp and + // png images are supported. + BlackoutSlateImage *InputLocation `locationName:"blackoutSlateImage" type:"structure"` + + // Setting to enabled causes the encoder to blackout the video, audio, and captions, + // and raise the "Network Blackout Image" slate when an SCTE104/35 Network End + // Segmentation Descriptor is encountered. The blackout will be lifted when + // the Network Start Segmentation Descriptor is encountered. The Network End + // and Network Start descriptors must contain a network ID that matches the + // value entered in "Network ID". + NetworkEndBlackout *string `locationName:"networkEndBlackout" type:"string" enum:"BlackoutSlateNetworkEndBlackout"` + + // Path to local file to use as Network End Blackout image. Image will be scaled + // to fill the entire output raster. + NetworkEndBlackoutImage *InputLocation `locationName:"networkEndBlackoutImage" type:"structure"` + + // Provides Network ID that matches EIDR ID format (e.g., "10.XXXX/XXXX-XXXX-XXXX-XXXX-XXXX-C"). + NetworkId *string `locationName:"networkId" min:"34" type:"string"` + + // When set to enabled, causes video, audio and captions to be blanked when + // indicated by program metadata. + State *string `locationName:"state" type:"string" enum:"BlackoutSlateState"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BlackoutSlate) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BlackoutSlate) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BlackoutSlate) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BlackoutSlate"} + if s.NetworkId != nil && len(*s.NetworkId) < 34 { + invalidParams.Add(request.NewErrParamMinLen("NetworkId", 34)) + } + if s.BlackoutSlateImage != nil { + if err := s.BlackoutSlateImage.Validate(); err != nil { + invalidParams.AddNested("BlackoutSlateImage", err.(request.ErrInvalidParams)) + } + } + if s.NetworkEndBlackoutImage != nil { + if err := s.NetworkEndBlackoutImage.Validate(); err != nil { + invalidParams.AddNested("NetworkEndBlackoutImage", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBlackoutSlateImage sets the BlackoutSlateImage field's value. +func (s *BlackoutSlate) SetBlackoutSlateImage(v *InputLocation) *BlackoutSlate { + s.BlackoutSlateImage = v + return s +} + +// SetNetworkEndBlackout sets the NetworkEndBlackout field's value. +func (s *BlackoutSlate) SetNetworkEndBlackout(v string) *BlackoutSlate { + s.NetworkEndBlackout = &v + return s +} + +// SetNetworkEndBlackoutImage sets the NetworkEndBlackoutImage field's value. +func (s *BlackoutSlate) SetNetworkEndBlackoutImage(v *InputLocation) *BlackoutSlate { + s.NetworkEndBlackoutImage = v + return s +} + +// SetNetworkId sets the NetworkId field's value. +func (s *BlackoutSlate) SetNetworkId(v string) *BlackoutSlate { + s.NetworkId = &v + return s +} + +// SetState sets the State field's value. +func (s *BlackoutSlate) SetState(v string) *BlackoutSlate { + s.State = &v + return s +} + +// Burn In Destination Settings +type BurnInDestinationSettings struct { + _ struct{} `type:"structure"` + + // If no explicit xPosition or yPosition is provided, setting alignment to centered + // will place the captions at the bottom center of the output. Similarly, setting + // a left alignment will align captions to the bottom left of the output. If + // x and y positions are given in conjunction with the alignment parameter, + // the font will be justified (either left or centered) relative to those coordinates. + // Selecting "smart" justification will left-justify live subtitles and center-justify + // pre-recorded subtitles. All burn-in and DVB-Sub font settings must match. + Alignment *string `locationName:"alignment" type:"string" enum:"BurnInAlignment"` + + // Specifies the color of the rectangle behind the captions. All burn-in and + // DVB-Sub font settings must match. + BackgroundColor *string `locationName:"backgroundColor" type:"string" enum:"BurnInBackgroundColor"` + + // Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. + // Leaving this parameter out is equivalent to setting it to 0 (transparent). + // All burn-in and DVB-Sub font settings must match. + BackgroundOpacity *int64 `locationName:"backgroundOpacity" type:"integer"` + + // External font file used for caption burn-in. File extension must be 'ttf' + // or 'tte'. Although the user can select output fonts for many different types + // of input captions, embedded, STL and teletext sources use a strict grid system. + // Using external fonts with these caption sources could cause unexpected display + // of proportional fonts. All burn-in and DVB-Sub font settings must match. + Font *InputLocation `locationName:"font" type:"structure"` + + // Specifies the color of the burned-in captions. This option is not valid for + // source captions that are STL, 608/embedded or teletext. These source settings + // are already pre-defined by the caption stream. All burn-in and DVB-Sub font + // settings must match. + FontColor *string `locationName:"fontColor" type:"string" enum:"BurnInFontColor"` + + // Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent. + // All burn-in and DVB-Sub font settings must match. + FontOpacity *int64 `locationName:"fontOpacity" type:"integer"` + + // Font resolution in DPI (dots per inch); default is 96 dpi. All burn-in and + // DVB-Sub font settings must match. + FontResolution *int64 `locationName:"fontResolution" min:"96" type:"integer"` + + // When set to 'auto' fontSize will scale depending on the size of the output. + // Giving a positive integer will specify the exact font size in points. All + // burn-in and DVB-Sub font settings must match. + FontSize *string `locationName:"fontSize" type:"string"` + + // Specifies font outline color. This option is not valid for source captions + // that are either 608/embedded or teletext. These source settings are already + // pre-defined by the caption stream. All burn-in and DVB-Sub font settings + // must match. + OutlineColor *string `locationName:"outlineColor" type:"string" enum:"BurnInOutlineColor"` + + // Specifies font outline size in pixels. This option is not valid for source + // captions that are either 608/embedded or teletext. These source settings + // are already pre-defined by the caption stream. All burn-in and DVB-Sub font + // settings must match. + OutlineSize *int64 `locationName:"outlineSize" type:"integer"` + + // Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub + // font settings must match. + ShadowColor *string `locationName:"shadowColor" type:"string" enum:"BurnInShadowColor"` + + // Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving + // this parameter out is equivalent to setting it to 0 (transparent). All burn-in + // and DVB-Sub font settings must match. + ShadowOpacity *int64 `locationName:"shadowOpacity" type:"integer"` + + // Specifies the horizontal offset of the shadow relative to the captions in + // pixels. A value of -2 would result in a shadow offset 2 pixels to the left. + // All burn-in and DVB-Sub font settings must match. + ShadowXOffset *int64 `locationName:"shadowXOffset" type:"integer"` + + // Specifies the vertical offset of the shadow relative to the captions in pixels. + // A value of -2 would result in a shadow offset 2 pixels above the text. All + // burn-in and DVB-Sub font settings must match. + ShadowYOffset *int64 `locationName:"shadowYOffset" type:"integer"` + + // Controls whether a fixed grid size will be used to generate the output subtitles + // bitmap. Only applicable for Teletext inputs and DVB-Sub/Burn-in outputs. + TeletextGridControl *string `locationName:"teletextGridControl" type:"string" enum:"BurnInTeletextGridControl"` + + // Specifies the horizontal position of the caption relative to the left side + // of the output in pixels. A value of 10 would result in the captions starting + // 10 pixels from the left of the output. If no explicit xPosition is provided, + // the horizontal caption position will be determined by the alignment parameter. + // All burn-in and DVB-Sub font settings must match. + XPosition *int64 `locationName:"xPosition" type:"integer"` + + // Specifies the vertical position of the caption relative to the top of the + // output in pixels. A value of 10 would result in the captions starting 10 + // pixels from the top of the output. If no explicit yPosition is provided, + // the caption will be positioned towards the bottom of the output. All burn-in + // and DVB-Sub font settings must match. + YPosition *int64 `locationName:"yPosition" type:"integer"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BurnInDestinationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BurnInDestinationSettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BurnInDestinationSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BurnInDestinationSettings"} + if s.FontResolution != nil && *s.FontResolution < 96 { + invalidParams.Add(request.NewErrParamMinValue("FontResolution", 96)) + } + if s.Font != nil { + if err := s.Font.Validate(); err != nil { + invalidParams.AddNested("Font", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAlignment sets the Alignment field's value. +func (s *BurnInDestinationSettings) SetAlignment(v string) *BurnInDestinationSettings { + s.Alignment = &v + return s +} + +// SetBackgroundColor sets the BackgroundColor field's value. +func (s *BurnInDestinationSettings) SetBackgroundColor(v string) *BurnInDestinationSettings { + s.BackgroundColor = &v + return s +} + +// SetBackgroundOpacity sets the BackgroundOpacity field's value. +func (s *BurnInDestinationSettings) SetBackgroundOpacity(v int64) *BurnInDestinationSettings { + s.BackgroundOpacity = &v + return s +} + +// SetFont sets the Font field's value. +func (s *BurnInDestinationSettings) SetFont(v *InputLocation) *BurnInDestinationSettings { + s.Font = v + return s +} + +// SetFontColor sets the FontColor field's value. +func (s *BurnInDestinationSettings) SetFontColor(v string) *BurnInDestinationSettings { + s.FontColor = &v + return s +} + +// SetFontOpacity sets the FontOpacity field's value. +func (s *BurnInDestinationSettings) SetFontOpacity(v int64) *BurnInDestinationSettings { + s.FontOpacity = &v + return s +} + +// SetFontResolution sets the FontResolution field's value. +func (s *BurnInDestinationSettings) SetFontResolution(v int64) *BurnInDestinationSettings { + s.FontResolution = &v + return s +} + +// SetFontSize sets the FontSize field's value. +func (s *BurnInDestinationSettings) SetFontSize(v string) *BurnInDestinationSettings { + s.FontSize = &v + return s +} + +// SetOutlineColor sets the OutlineColor field's value. +func (s *BurnInDestinationSettings) SetOutlineColor(v string) *BurnInDestinationSettings { + s.OutlineColor = &v + return s +} + +// SetOutlineSize sets the OutlineSize field's value. +func (s *BurnInDestinationSettings) SetOutlineSize(v int64) *BurnInDestinationSettings { + s.OutlineSize = &v + return s +} + +// SetShadowColor sets the ShadowColor field's value. +func (s *BurnInDestinationSettings) SetShadowColor(v string) *BurnInDestinationSettings { + s.ShadowColor = &v + return s +} + +// SetShadowOpacity sets the ShadowOpacity field's value. +func (s *BurnInDestinationSettings) SetShadowOpacity(v int64) *BurnInDestinationSettings { + s.ShadowOpacity = &v + return s +} + +// SetShadowXOffset sets the ShadowXOffset field's value. +func (s *BurnInDestinationSettings) SetShadowXOffset(v int64) *BurnInDestinationSettings { + s.ShadowXOffset = &v + return s +} + +// SetShadowYOffset sets the ShadowYOffset field's value. +func (s *BurnInDestinationSettings) SetShadowYOffset(v int64) *BurnInDestinationSettings { + s.ShadowYOffset = &v + return s +} + +// SetTeletextGridControl sets the TeletextGridControl field's value. +func (s *BurnInDestinationSettings) SetTeletextGridControl(v string) *BurnInDestinationSettings { + s.TeletextGridControl = &v + return s +} + +// SetXPosition sets the XPosition field's value. +func (s *BurnInDestinationSettings) SetXPosition(v int64) *BurnInDestinationSettings { + s.XPosition = &v + return s +} + +// SetYPosition sets the YPosition field's value. +func (s *BurnInDestinationSettings) SetYPosition(v int64) *BurnInDestinationSettings { + s.YPosition = &v + return s +} + +type CancelInputDeviceTransferInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // InputDeviceId is a required field + InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CancelInputDeviceTransferInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CancelInputDeviceTransferInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CancelInputDeviceTransferInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CancelInputDeviceTransferInput"} + if s.InputDeviceId == nil { + invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) + } + if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInputDeviceId sets the InputDeviceId field's value. +func (s *CancelInputDeviceTransferInput) SetInputDeviceId(v string) *CancelInputDeviceTransferInput { + s.InputDeviceId = &v + return s +} + +type CancelInputDeviceTransferOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CancelInputDeviceTransferOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CancelInputDeviceTransferOutput) GoString() string { + return s.String() +} + +// Caption Description +type CaptionDescription struct { + _ struct{} `type:"structure"` + + // Indicates whether the caption track implements accessibility features such + // as written descriptions of spoken dialog, music, and sounds. This signaling + // is added to HLS output group and MediaPackage output group. + Accessibility *string `locationName:"accessibility" type:"string" enum:"AccessibilityType"` + + // Identifies the DASH roles to assign to this captions output. Applies only + // when the captions output is configured for DVB DASH accessibility signaling. + CaptionDashRoles []*string `locationName:"captionDashRoles" type:"list" enum:"DashRoleCaption"` + + // Specifies which input caption selector to use as a caption source when generating + // output captions. This field should match a captionSelector name. + // + // CaptionSelectorName is a required field + CaptionSelectorName *string `locationName:"captionSelectorName" type:"string" required:"true"` + + // Additional settings for captions destination that depend on the destination + // type. + DestinationSettings *CaptionDestinationSettings `locationName:"destinationSettings" type:"structure"` + + // Identifies DVB DASH accessibility signaling in this captions output. Used + // in Microsoft Smooth Streaming outputs to signal accessibility information + // to packagers. + DvbDashAccessibility *string `locationName:"dvbDashAccessibility" type:"string" enum:"DvbDashAccessibility"` + + // ISO 639-2 three-digit code: http://www.loc.gov/standards/iso639-2/ + LanguageCode *string `locationName:"languageCode" type:"string"` + + // Human readable information to indicate captions available for players (eg. + // English, or Spanish). + LanguageDescription *string `locationName:"languageDescription" type:"string"` + + // Name of the caption description. Used to associate a caption description + // with an output. Names must be unique within an event. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CaptionDescription) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CaptionDescription) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CaptionDescription) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CaptionDescription"} + if s.CaptionSelectorName == nil { + invalidParams.Add(request.NewErrParamRequired("CaptionSelectorName")) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.DestinationSettings != nil { + if err := s.DestinationSettings.Validate(); err != nil { + invalidParams.AddNested("DestinationSettings", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccessibility sets the Accessibility field's value. +func (s *CaptionDescription) SetAccessibility(v string) *CaptionDescription { + s.Accessibility = &v + return s +} + +// SetCaptionDashRoles sets the CaptionDashRoles field's value. +func (s *CaptionDescription) SetCaptionDashRoles(v []*string) *CaptionDescription { + s.CaptionDashRoles = v + return s +} + +// SetCaptionSelectorName sets the CaptionSelectorName field's value. +func (s *CaptionDescription) SetCaptionSelectorName(v string) *CaptionDescription { + s.CaptionSelectorName = &v + return s +} + +// SetDestinationSettings sets the DestinationSettings field's value. +func (s *CaptionDescription) SetDestinationSettings(v *CaptionDestinationSettings) *CaptionDescription { + s.DestinationSettings = v + return s +} + +// SetDvbDashAccessibility sets the DvbDashAccessibility field's value. +func (s *CaptionDescription) SetDvbDashAccessibility(v string) *CaptionDescription { + s.DvbDashAccessibility = &v + return s +} + +// SetLanguageCode sets the LanguageCode field's value. +func (s *CaptionDescription) SetLanguageCode(v string) *CaptionDescription { + s.LanguageCode = &v + return s +} + +// SetLanguageDescription sets the LanguageDescription field's value. +func (s *CaptionDescription) SetLanguageDescription(v string) *CaptionDescription { + s.LanguageDescription = &v + return s +} + +// SetName sets the Name field's value. +func (s *CaptionDescription) SetName(v string) *CaptionDescription { + s.Name = &v + return s +} + +// Caption Destination Settings +type CaptionDestinationSettings struct { + _ struct{} `type:"structure"` + + // Arib Destination Settings + AribDestinationSettings *AribDestinationSettings `locationName:"aribDestinationSettings" type:"structure"` + + // Burn In Destination Settings + BurnInDestinationSettings *BurnInDestinationSettings `locationName:"burnInDestinationSettings" type:"structure"` + + // Dvb Sub Destination Settings + DvbSubDestinationSettings *DvbSubDestinationSettings `locationName:"dvbSubDestinationSettings" type:"structure"` + + // Ebu Tt DDestination Settings + EbuTtDDestinationSettings *EbuTtDDestinationSettings `locationName:"ebuTtDDestinationSettings" type:"structure"` + + // Embedded Destination Settings + EmbeddedDestinationSettings *EmbeddedDestinationSettings `locationName:"embeddedDestinationSettings" type:"structure"` + + // Embedded Plus Scte20 Destination Settings + EmbeddedPlusScte20DestinationSettings *EmbeddedPlusScte20DestinationSettings `locationName:"embeddedPlusScte20DestinationSettings" type:"structure"` + + // Rtmp Caption Info Destination Settings + RtmpCaptionInfoDestinationSettings *RtmpCaptionInfoDestinationSettings `locationName:"rtmpCaptionInfoDestinationSettings" type:"structure"` + + // Scte20 Plus Embedded Destination Settings + Scte20PlusEmbeddedDestinationSettings *Scte20PlusEmbeddedDestinationSettings `locationName:"scte20PlusEmbeddedDestinationSettings" type:"structure"` + + // Scte27 Destination Settings + Scte27DestinationSettings *Scte27DestinationSettings `locationName:"scte27DestinationSettings" type:"structure"` + + // Smpte Tt Destination Settings + SmpteTtDestinationSettings *SmpteTtDestinationSettings `locationName:"smpteTtDestinationSettings" type:"structure"` + + // Teletext Destination Settings + TeletextDestinationSettings *TeletextDestinationSettings `locationName:"teletextDestinationSettings" type:"structure"` + + // Ttml Destination Settings + TtmlDestinationSettings *TtmlDestinationSettings `locationName:"ttmlDestinationSettings" type:"structure"` + + // Webvtt Destination Settings + WebvttDestinationSettings *WebvttDestinationSettings `locationName:"webvttDestinationSettings" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CaptionDestinationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CaptionDestinationSettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CaptionDestinationSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CaptionDestinationSettings"} + if s.BurnInDestinationSettings != nil { + if err := s.BurnInDestinationSettings.Validate(); err != nil { + invalidParams.AddNested("BurnInDestinationSettings", err.(request.ErrInvalidParams)) + } + } + if s.DvbSubDestinationSettings != nil { + if err := s.DvbSubDestinationSettings.Validate(); err != nil { + invalidParams.AddNested("DvbSubDestinationSettings", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAribDestinationSettings sets the AribDestinationSettings field's value. +func (s *CaptionDestinationSettings) SetAribDestinationSettings(v *AribDestinationSettings) *CaptionDestinationSettings { + s.AribDestinationSettings = v + return s +} + +// SetBurnInDestinationSettings sets the BurnInDestinationSettings field's value. +func (s *CaptionDestinationSettings) SetBurnInDestinationSettings(v *BurnInDestinationSettings) *CaptionDestinationSettings { + s.BurnInDestinationSettings = v + return s +} + +// SetDvbSubDestinationSettings sets the DvbSubDestinationSettings field's value. +func (s *CaptionDestinationSettings) SetDvbSubDestinationSettings(v *DvbSubDestinationSettings) *CaptionDestinationSettings { + s.DvbSubDestinationSettings = v + return s +} + +// SetEbuTtDDestinationSettings sets the EbuTtDDestinationSettings field's value. +func (s *CaptionDestinationSettings) SetEbuTtDDestinationSettings(v *EbuTtDDestinationSettings) *CaptionDestinationSettings { + s.EbuTtDDestinationSettings = v + return s +} + +// SetEmbeddedDestinationSettings sets the EmbeddedDestinationSettings field's value. +func (s *CaptionDestinationSettings) SetEmbeddedDestinationSettings(v *EmbeddedDestinationSettings) *CaptionDestinationSettings { + s.EmbeddedDestinationSettings = v + return s +} + +// SetEmbeddedPlusScte20DestinationSettings sets the EmbeddedPlusScte20DestinationSettings field's value. +func (s *CaptionDestinationSettings) SetEmbeddedPlusScte20DestinationSettings(v *EmbeddedPlusScte20DestinationSettings) *CaptionDestinationSettings { + s.EmbeddedPlusScte20DestinationSettings = v + return s +} + +// SetRtmpCaptionInfoDestinationSettings sets the RtmpCaptionInfoDestinationSettings field's value. +func (s *CaptionDestinationSettings) SetRtmpCaptionInfoDestinationSettings(v *RtmpCaptionInfoDestinationSettings) *CaptionDestinationSettings { + s.RtmpCaptionInfoDestinationSettings = v + return s +} + +// SetScte20PlusEmbeddedDestinationSettings sets the Scte20PlusEmbeddedDestinationSettings field's value. +func (s *CaptionDestinationSettings) SetScte20PlusEmbeddedDestinationSettings(v *Scte20PlusEmbeddedDestinationSettings) *CaptionDestinationSettings { + s.Scte20PlusEmbeddedDestinationSettings = v + return s +} + +// SetScte27DestinationSettings sets the Scte27DestinationSettings field's value. +func (s *CaptionDestinationSettings) SetScte27DestinationSettings(v *Scte27DestinationSettings) *CaptionDestinationSettings { + s.Scte27DestinationSettings = v + return s +} + +// SetSmpteTtDestinationSettings sets the SmpteTtDestinationSettings field's value. +func (s *CaptionDestinationSettings) SetSmpteTtDestinationSettings(v *SmpteTtDestinationSettings) *CaptionDestinationSettings { + s.SmpteTtDestinationSettings = v + return s +} + +// SetTeletextDestinationSettings sets the TeletextDestinationSettings field's value. +func (s *CaptionDestinationSettings) SetTeletextDestinationSettings(v *TeletextDestinationSettings) *CaptionDestinationSettings { + s.TeletextDestinationSettings = v + return s +} + +// SetTtmlDestinationSettings sets the TtmlDestinationSettings field's value. +func (s *CaptionDestinationSettings) SetTtmlDestinationSettings(v *TtmlDestinationSettings) *CaptionDestinationSettings { + s.TtmlDestinationSettings = v + return s +} + +// SetWebvttDestinationSettings sets the WebvttDestinationSettings field's value. +func (s *CaptionDestinationSettings) SetWebvttDestinationSettings(v *WebvttDestinationSettings) *CaptionDestinationSettings { + s.WebvttDestinationSettings = v + return s +} + +// Maps a caption channel to an ISO 693-2 language code (http://www.loc.gov/standards/iso639-2), +// with an optional description. +type CaptionLanguageMapping struct { + _ struct{} `type:"structure"` + + // The closed caption channel being described by this CaptionLanguageMapping. + // Each channel mapping must have a unique channel number (maximum of 4) + // + // CaptionChannel is a required field + CaptionChannel *int64 `locationName:"captionChannel" min:"1" type:"integer" required:"true"` + + // Three character ISO 639-2 language code (see http://www.loc.gov/standards/iso639-2) + // + // LanguageCode is a required field + LanguageCode *string `locationName:"languageCode" min:"3" type:"string" required:"true"` + + // Textual description of language + // + // LanguageDescription is a required field + LanguageDescription *string `locationName:"languageDescription" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CaptionLanguageMapping) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CaptionLanguageMapping) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CaptionLanguageMapping) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CaptionLanguageMapping"} + if s.CaptionChannel == nil { + invalidParams.Add(request.NewErrParamRequired("CaptionChannel")) + } + if s.CaptionChannel != nil && *s.CaptionChannel < 1 { + invalidParams.Add(request.NewErrParamMinValue("CaptionChannel", 1)) + } + if s.LanguageCode == nil { + invalidParams.Add(request.NewErrParamRequired("LanguageCode")) + } + if s.LanguageCode != nil && len(*s.LanguageCode) < 3 { + invalidParams.Add(request.NewErrParamMinLen("LanguageCode", 3)) + } + if s.LanguageDescription == nil { + invalidParams.Add(request.NewErrParamRequired("LanguageDescription")) + } + if s.LanguageDescription != nil && len(*s.LanguageDescription) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LanguageDescription", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCaptionChannel sets the CaptionChannel field's value. +func (s *CaptionLanguageMapping) SetCaptionChannel(v int64) *CaptionLanguageMapping { + s.CaptionChannel = &v + return s +} + +// SetLanguageCode sets the LanguageCode field's value. +func (s *CaptionLanguageMapping) SetLanguageCode(v string) *CaptionLanguageMapping { + s.LanguageCode = &v + return s +} + +// SetLanguageDescription sets the LanguageDescription field's value. +func (s *CaptionLanguageMapping) SetLanguageDescription(v string) *CaptionLanguageMapping { + s.LanguageDescription = &v + return s +} + +// Caption Rectangle +type CaptionRectangle struct { + _ struct{} `type:"structure"` + + // See the description in leftOffset.For height, specify the entire height of + // the rectangle as a percentage of the underlying frame height. For example, + // \"80\" means the rectangle height is 80% of the underlying frame height. + // The topOffset and rectangleHeight must add up to 100% or less.This field + // corresponds to tts:extent - Y in the TTML standard. + // + // Height is a required field + Height *float64 `locationName:"height" type:"double" required:"true"` + + // Applies only if you plan to convert these source captions to EBU-TT-D or + // TTML in an output. (Make sure to leave the default if you don't have either + // of these formats in the output.) You can define a display rectangle for the + // captions that is smaller than the underlying video frame. You define the + // rectangle by specifying the position of the left edge, top edge, bottom edge, + // and right edge of the rectangle, all within the underlying video frame. The + // units for the measurements are percentages.If you specify a value for one + // of these fields, you must specify a value for all of them.For leftOffset, + // specify the position of the left edge of the rectangle, as a percentage of + // the underlying frame width, and relative to the left edge of the frame. For + // example, \"10\" means the measurement is 10% of the underlying frame width. + // The rectangle left edge starts at that position from the left edge of the + // frame.This field corresponds to tts:origin - X in the TTML standard. + // + // LeftOffset is a required field + LeftOffset *float64 `locationName:"leftOffset" type:"double" required:"true"` + + // See the description in leftOffset.For topOffset, specify the position of + // the top edge of the rectangle, as a percentage of the underlying frame height, + // and relative to the top edge of the frame. For example, \"10\" means the + // measurement is 10% of the underlying frame height. The rectangle top edge + // starts at that position from the top edge of the frame.This field corresponds + // to tts:origin - Y in the TTML standard. + // + // TopOffset is a required field + TopOffset *float64 `locationName:"topOffset" type:"double" required:"true"` + + // See the description in leftOffset.For width, specify the entire width of + // the rectangle as a percentage of the underlying frame width. For example, + // \"80\" means the rectangle width is 80% of the underlying frame width. The + // leftOffset and rectangleWidth must add up to 100% or less.This field corresponds + // to tts:extent - X in the TTML standard. + // + // Width is a required field + Width *float64 `locationName:"width" type:"double" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CaptionRectangle) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CaptionRectangle) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CaptionRectangle) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CaptionRectangle"} + if s.Height == nil { + invalidParams.Add(request.NewErrParamRequired("Height")) + } + if s.LeftOffset == nil { + invalidParams.Add(request.NewErrParamRequired("LeftOffset")) + } + if s.TopOffset == nil { + invalidParams.Add(request.NewErrParamRequired("TopOffset")) + } + if s.Width == nil { + invalidParams.Add(request.NewErrParamRequired("Width")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetHeight sets the Height field's value. +func (s *CaptionRectangle) SetHeight(v float64) *CaptionRectangle { + s.Height = &v + return s +} + +// SetLeftOffset sets the LeftOffset field's value. +func (s *CaptionRectangle) SetLeftOffset(v float64) *CaptionRectangle { + s.LeftOffset = &v + return s +} + +// SetTopOffset sets the TopOffset field's value. +func (s *CaptionRectangle) SetTopOffset(v float64) *CaptionRectangle { + s.TopOffset = &v + return s +} + +// SetWidth sets the Width field's value. +func (s *CaptionRectangle) SetWidth(v float64) *CaptionRectangle { + s.Width = &v + return s +} + +// Caption Selector +type CaptionSelector struct { + _ struct{} `type:"structure"` + + // When specified this field indicates the three letter language code of the + // caption track to extract from the source. + LanguageCode *string `locationName:"languageCode" type:"string"` + + // Name identifier for a caption selector. This name is used to associate this + // caption selector with one or more caption descriptions. Names must be unique + // within an event. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // Caption selector settings. + SelectorSettings *CaptionSelectorSettings `locationName:"selectorSettings" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CaptionSelector) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CaptionSelector) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CaptionSelector) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CaptionSelector"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.SelectorSettings != nil { + if err := s.SelectorSettings.Validate(); err != nil { + invalidParams.AddNested("SelectorSettings", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLanguageCode sets the LanguageCode field's value. +func (s *CaptionSelector) SetLanguageCode(v string) *CaptionSelector { + s.LanguageCode = &v + return s +} + +// SetName sets the Name field's value. +func (s *CaptionSelector) SetName(v string) *CaptionSelector { + s.Name = &v + return s +} + +// SetSelectorSettings sets the SelectorSettings field's value. +func (s *CaptionSelector) SetSelectorSettings(v *CaptionSelectorSettings) *CaptionSelector { + s.SelectorSettings = v + return s +} + +// Caption Selector Settings +type CaptionSelectorSettings struct { + _ struct{} `type:"structure"` + + // Ancillary Source Settings + AncillarySourceSettings *AncillarySourceSettings `locationName:"ancillarySourceSettings" type:"structure"` + + // Arib Source Settings + AribSourceSettings *AribSourceSettings `locationName:"aribSourceSettings" type:"structure"` + + // Dvb Sub Source Settings + DvbSubSourceSettings *DvbSubSourceSettings `locationName:"dvbSubSourceSettings" type:"structure"` + + // Embedded Source Settings + EmbeddedSourceSettings *EmbeddedSourceSettings `locationName:"embeddedSourceSettings" type:"structure"` + + // Scte20 Source Settings + Scte20SourceSettings *Scte20SourceSettings `locationName:"scte20SourceSettings" type:"structure"` + + // Scte27 Source Settings + Scte27SourceSettings *Scte27SourceSettings `locationName:"scte27SourceSettings" type:"structure"` + + // Teletext Source Settings + TeletextSourceSettings *TeletextSourceSettings `locationName:"teletextSourceSettings" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CaptionSelectorSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CaptionSelectorSettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CaptionSelectorSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CaptionSelectorSettings"} + if s.AncillarySourceSettings != nil { + if err := s.AncillarySourceSettings.Validate(); err != nil { + invalidParams.AddNested("AncillarySourceSettings", err.(request.ErrInvalidParams)) + } + } + if s.DvbSubSourceSettings != nil { + if err := s.DvbSubSourceSettings.Validate(); err != nil { + invalidParams.AddNested("DvbSubSourceSettings", err.(request.ErrInvalidParams)) + } + } + if s.EmbeddedSourceSettings != nil { + if err := s.EmbeddedSourceSettings.Validate(); err != nil { + invalidParams.AddNested("EmbeddedSourceSettings", err.(request.ErrInvalidParams)) + } + } + if s.Scte20SourceSettings != nil { + if err := s.Scte20SourceSettings.Validate(); err != nil { + invalidParams.AddNested("Scte20SourceSettings", err.(request.ErrInvalidParams)) + } + } + if s.Scte27SourceSettings != nil { + if err := s.Scte27SourceSettings.Validate(); err != nil { + invalidParams.AddNested("Scte27SourceSettings", err.(request.ErrInvalidParams)) + } + } + if s.TeletextSourceSettings != nil { + if err := s.TeletextSourceSettings.Validate(); err != nil { + invalidParams.AddNested("TeletextSourceSettings", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAncillarySourceSettings sets the AncillarySourceSettings field's value. +func (s *CaptionSelectorSettings) SetAncillarySourceSettings(v *AncillarySourceSettings) *CaptionSelectorSettings { + s.AncillarySourceSettings = v + return s +} + +// SetAribSourceSettings sets the AribSourceSettings field's value. +func (s *CaptionSelectorSettings) SetAribSourceSettings(v *AribSourceSettings) *CaptionSelectorSettings { + s.AribSourceSettings = v + return s +} + +// SetDvbSubSourceSettings sets the DvbSubSourceSettings field's value. +func (s *CaptionSelectorSettings) SetDvbSubSourceSettings(v *DvbSubSourceSettings) *CaptionSelectorSettings { + s.DvbSubSourceSettings = v + return s +} + +// SetEmbeddedSourceSettings sets the EmbeddedSourceSettings field's value. +func (s *CaptionSelectorSettings) SetEmbeddedSourceSettings(v *EmbeddedSourceSettings) *CaptionSelectorSettings { + s.EmbeddedSourceSettings = v + return s +} + +// SetScte20SourceSettings sets the Scte20SourceSettings field's value. +func (s *CaptionSelectorSettings) SetScte20SourceSettings(v *Scte20SourceSettings) *CaptionSelectorSettings { + s.Scte20SourceSettings = v + return s +} + +// SetScte27SourceSettings sets the Scte27SourceSettings field's value. +func (s *CaptionSelectorSettings) SetScte27SourceSettings(v *Scte27SourceSettings) *CaptionSelectorSettings { + s.Scte27SourceSettings = v + return s +} + +// SetTeletextSourceSettings sets the TeletextSourceSettings field's value. +func (s *CaptionSelectorSettings) SetTeletextSourceSettings(v *TeletextSourceSettings) *CaptionSelectorSettings { + s.TeletextSourceSettings = v + return s +} + +type CdiInputSpecification struct { + _ struct{} `type:"structure"` + + // Maximum CDI input resolution + Resolution *string `locationName:"resolution" type:"string" enum:"CdiInputResolution"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CdiInputSpecification) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CdiInputSpecification) GoString() string { + return s.String() +} + +// SetResolution sets the Resolution field's value. +func (s *CdiInputSpecification) SetResolution(v string) *CdiInputSpecification { + s.Resolution = &v + return s +} + +type Channel struct { + _ struct{} `type:"structure"` + + // The unique arn of the channel. + Arn *string `locationName:"arn" type:"string"` + + // Specification of CDI inputs for this channel + CdiInputSpecification *CdiInputSpecification `locationName:"cdiInputSpecification" type:"structure"` + + // The class for this channel. STANDARD for a channel with two pipelines or + // SINGLE_PIPELINE for a channel with one pipeline. + ChannelClass *string `locationName:"channelClass" type:"string" enum:"ChannelClass"` + + // A list of destinations of the channel. For UDP outputs, there is onedestination + // per output. For other types (HLS, for example), there isone destination per + // packager. + Destinations []*OutputDestination `locationName:"destinations" type:"list"` + + // The endpoints where outgoing connections initiate from + EgressEndpoints []*ChannelEgressEndpoint `locationName:"egressEndpoints" type:"list"` + + // Encoder Settings + EncoderSettings *EncoderSettings `locationName:"encoderSettings" type:"structure"` + + // The unique id of the channel. + Id *string `locationName:"id" type:"string"` + + // List of input attachments for channel. + InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` + + // Specification of network and file inputs for this channel + InputSpecification *InputSpecification `locationName:"inputSpecification" type:"structure"` + + // The log level being written to CloudWatch Logs. + LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` + + // Maintenance settings for this channel. + Maintenance *MaintenanceStatus `locationName:"maintenance" type:"structure"` + + // The name of the channel. (user-mutable) + Name *string `locationName:"name" type:"string"` + + // Runtime details for the pipelines of a running channel. + PipelineDetails []*PipelineDetail `locationName:"pipelineDetails" type:"list"` + + // The number of currently healthy pipelines. + PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` + + // The Amazon Resource Name (ARN) of the role assumed when running the Channel. + RoleArn *string `locationName:"roleArn" type:"string"` + + State *string `locationName:"state" type:"string" enum:"ChannelState"` + + // A collection of key-value pairs. + Tags map[string]*string `locationName:"tags" type:"map"` + + // Settings for VPC output + Vpc *VpcOutputSettingsDescription `locationName:"vpc" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Channel) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Channel) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *Channel) SetArn(v string) *Channel { + s.Arn = &v + return s +} + +// SetCdiInputSpecification sets the CdiInputSpecification field's value. +func (s *Channel) SetCdiInputSpecification(v *CdiInputSpecification) *Channel { + s.CdiInputSpecification = v + return s +} + +// SetChannelClass sets the ChannelClass field's value. +func (s *Channel) SetChannelClass(v string) *Channel { + s.ChannelClass = &v + return s +} + +// SetDestinations sets the Destinations field's value. +func (s *Channel) SetDestinations(v []*OutputDestination) *Channel { + s.Destinations = v + return s +} + +// SetEgressEndpoints sets the EgressEndpoints field's value. +func (s *Channel) SetEgressEndpoints(v []*ChannelEgressEndpoint) *Channel { + s.EgressEndpoints = v + return s +} + +// SetEncoderSettings sets the EncoderSettings field's value. +func (s *Channel) SetEncoderSettings(v *EncoderSettings) *Channel { + s.EncoderSettings = v + return s +} + +// SetId sets the Id field's value. +func (s *Channel) SetId(v string) *Channel { + s.Id = &v + return s +} + +// SetInputAttachments sets the InputAttachments field's value. +func (s *Channel) SetInputAttachments(v []*InputAttachment) *Channel { + s.InputAttachments = v + return s +} + +// SetInputSpecification sets the InputSpecification field's value. +func (s *Channel) SetInputSpecification(v *InputSpecification) *Channel { + s.InputSpecification = v + return s +} + +// SetLogLevel sets the LogLevel field's value. +func (s *Channel) SetLogLevel(v string) *Channel { + s.LogLevel = &v + return s +} + +// SetMaintenance sets the Maintenance field's value. +func (s *Channel) SetMaintenance(v *MaintenanceStatus) *Channel { + s.Maintenance = v + return s +} + +// SetName sets the Name field's value. +func (s *Channel) SetName(v string) *Channel { + s.Name = &v + return s +} + +// SetPipelineDetails sets the PipelineDetails field's value. +func (s *Channel) SetPipelineDetails(v []*PipelineDetail) *Channel { + s.PipelineDetails = v + return s +} + +// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. +func (s *Channel) SetPipelinesRunningCount(v int64) *Channel { + s.PipelinesRunningCount = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *Channel) SetRoleArn(v string) *Channel { + s.RoleArn = &v + return s +} + +// SetState sets the State field's value. +func (s *Channel) SetState(v string) *Channel { + s.State = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *Channel) SetTags(v map[string]*string) *Channel { + s.Tags = v + return s +} + +// SetVpc sets the Vpc field's value. +func (s *Channel) SetVpc(v *VpcOutputSettingsDescription) *Channel { + s.Vpc = v + return s +} + +type ChannelEgressEndpoint struct { + _ struct{} `type:"structure"` + + // Public IP of where a channel's output comes from + SourceIp *string `locationName:"sourceIp" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ChannelEgressEndpoint) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ChannelEgressEndpoint) GoString() string { + return s.String() +} + +// SetSourceIp sets the SourceIp field's value. +func (s *ChannelEgressEndpoint) SetSourceIp(v string) *ChannelEgressEndpoint { + s.SourceIp = &v + return s +} + +type ChannelSummary struct { + _ struct{} `type:"structure"` + + // The unique arn of the channel. + Arn *string `locationName:"arn" type:"string"` + + // Specification of CDI inputs for this channel + CdiInputSpecification *CdiInputSpecification `locationName:"cdiInputSpecification" type:"structure"` + + // The class for this channel. STANDARD for a channel with two pipelines or + // SINGLE_PIPELINE for a channel with one pipeline. + ChannelClass *string `locationName:"channelClass" type:"string" enum:"ChannelClass"` + + // A list of destinations of the channel. For UDP outputs, there is onedestination + // per output. For other types (HLS, for example), there isone destination per + // packager. + Destinations []*OutputDestination `locationName:"destinations" type:"list"` + + // The endpoints where outgoing connections initiate from + EgressEndpoints []*ChannelEgressEndpoint `locationName:"egressEndpoints" type:"list"` + + // The unique id of the channel. + Id *string `locationName:"id" type:"string"` + + // List of input attachments for channel. + InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` + + // Specification of network and file inputs for this channel + InputSpecification *InputSpecification `locationName:"inputSpecification" type:"structure"` + + // The log level being written to CloudWatch Logs. + LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` + + // Maintenance settings for this channel. + Maintenance *MaintenanceStatus `locationName:"maintenance" type:"structure"` + + // The name of the channel. (user-mutable) + Name *string `locationName:"name" type:"string"` + + // The number of currently healthy pipelines. + PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` + + // The Amazon Resource Name (ARN) of the role assumed when running the Channel. + RoleArn *string `locationName:"roleArn" type:"string"` + + State *string `locationName:"state" type:"string" enum:"ChannelState"` + + // A collection of key-value pairs. + Tags map[string]*string `locationName:"tags" type:"map"` + + // Settings for any VPC outputs. + Vpc *VpcOutputSettingsDescription `locationName:"vpc" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ChannelSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ChannelSummary) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *ChannelSummary) SetArn(v string) *ChannelSummary { + s.Arn = &v + return s +} + +// SetCdiInputSpecification sets the CdiInputSpecification field's value. +func (s *ChannelSummary) SetCdiInputSpecification(v *CdiInputSpecification) *ChannelSummary { + s.CdiInputSpecification = v + return s +} + +// SetChannelClass sets the ChannelClass field's value. +func (s *ChannelSummary) SetChannelClass(v string) *ChannelSummary { + s.ChannelClass = &v + return s +} + +// SetDestinations sets the Destinations field's value. +func (s *ChannelSummary) SetDestinations(v []*OutputDestination) *ChannelSummary { + s.Destinations = v + return s +} + +// SetEgressEndpoints sets the EgressEndpoints field's value. +func (s *ChannelSummary) SetEgressEndpoints(v []*ChannelEgressEndpoint) *ChannelSummary { + s.EgressEndpoints = v + return s +} + +// SetId sets the Id field's value. +func (s *ChannelSummary) SetId(v string) *ChannelSummary { + s.Id = &v + return s +} + +// SetInputAttachments sets the InputAttachments field's value. +func (s *ChannelSummary) SetInputAttachments(v []*InputAttachment) *ChannelSummary { + s.InputAttachments = v + return s +} + +// SetInputSpecification sets the InputSpecification field's value. +func (s *ChannelSummary) SetInputSpecification(v *InputSpecification) *ChannelSummary { + s.InputSpecification = v + return s +} + +// SetLogLevel sets the LogLevel field's value. +func (s *ChannelSummary) SetLogLevel(v string) *ChannelSummary { + s.LogLevel = &v + return s +} + +// SetMaintenance sets the Maintenance field's value. +func (s *ChannelSummary) SetMaintenance(v *MaintenanceStatus) *ChannelSummary { + s.Maintenance = v + return s +} + +// SetName sets the Name field's value. +func (s *ChannelSummary) SetName(v string) *ChannelSummary { + s.Name = &v + return s +} + +// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. +func (s *ChannelSummary) SetPipelinesRunningCount(v int64) *ChannelSummary { + s.PipelinesRunningCount = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *ChannelSummary) SetRoleArn(v string) *ChannelSummary { + s.RoleArn = &v + return s +} + +// SetState sets the State field's value. +func (s *ChannelSummary) SetState(v string) *ChannelSummary { + s.State = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *ChannelSummary) SetTags(v map[string]*string) *ChannelSummary { + s.Tags = v + return s +} + +// SetVpc sets the Vpc field's value. +func (s *ChannelSummary) SetVpc(v *VpcOutputSettingsDescription) *ChannelSummary { + s.Vpc = v + return s +} + +// Request to claim an AWS Elemental device that you have purchased from a third-party +// vendor. +type ClaimDeviceInput struct { + _ struct{} `type:"structure"` + + // The id of the device you want to claim. + Id *string `locationName:"id" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ClaimDeviceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ClaimDeviceInput) GoString() string { + return s.String() +} + +// SetId sets the Id field's value. +func (s *ClaimDeviceInput) SetId(v string) *ClaimDeviceInput { + s.Id = &v + return s +} + +type ClaimDeviceOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ClaimDeviceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ClaimDeviceOutput) GoString() string { + return s.String() +} + +type CloudWatchAlarmTemplateGroupSummary struct { + _ struct{} `type:"structure"` + + // A cloudwatch alarm template group's ARN (Amazon Resource Name) + // + // Arn is a required field + Arn *string `locationName:"arn" type:"string" required:"true"` + + // CreatedAt is a required field + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // A resource's optional description. + Description *string `locationName:"description" type:"string"` + + // A cloudwatch alarm template group's id. AWS provided template groups have + // ids that start with `aws-` + // + // Id is a required field + Id *string `locationName:"id" min:"7" type:"string" required:"true"` + + ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp" timestampFormat:"iso8601"` + + // A resource's name. Names must be unique within the scope of a resource type + // in a specific region. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // Represents the tags associated with a resource. + Tags map[string]*string `locationName:"tags" type:"map"` + + // The number of templates in a group. + // + // TemplateCount is a required field + TemplateCount *int64 `locationName:"templateCount" type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CloudWatchAlarmTemplateGroupSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CloudWatchAlarmTemplateGroupSummary) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *CloudWatchAlarmTemplateGroupSummary) SetArn(v string) *CloudWatchAlarmTemplateGroupSummary { + s.Arn = &v + return s +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *CloudWatchAlarmTemplateGroupSummary) SetCreatedAt(v time.Time) *CloudWatchAlarmTemplateGroupSummary { + s.CreatedAt = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CloudWatchAlarmTemplateGroupSummary) SetDescription(v string) *CloudWatchAlarmTemplateGroupSummary { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *CloudWatchAlarmTemplateGroupSummary) SetId(v string) *CloudWatchAlarmTemplateGroupSummary { + s.Id = &v + return s +} + +// SetModifiedAt sets the ModifiedAt field's value. +func (s *CloudWatchAlarmTemplateGroupSummary) SetModifiedAt(v time.Time) *CloudWatchAlarmTemplateGroupSummary { + s.ModifiedAt = &v + return s +} + +// SetName sets the Name field's value. +func (s *CloudWatchAlarmTemplateGroupSummary) SetName(v string) *CloudWatchAlarmTemplateGroupSummary { + s.Name = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CloudWatchAlarmTemplateGroupSummary) SetTags(v map[string]*string) *CloudWatchAlarmTemplateGroupSummary { + s.Tags = v + return s +} + +// SetTemplateCount sets the TemplateCount field's value. +func (s *CloudWatchAlarmTemplateGroupSummary) SetTemplateCount(v int64) *CloudWatchAlarmTemplateGroupSummary { + s.TemplateCount = &v + return s +} + +type CloudWatchAlarmTemplateSummary struct { + _ struct{} `type:"structure"` + + // A cloudwatch alarm template's ARN (Amazon Resource Name) + // + // Arn is a required field + Arn *string `locationName:"arn" type:"string" required:"true"` + + // The comparison operator used to compare the specified statistic and the threshold. + // + // ComparisonOperator is a required field + ComparisonOperator *string `locationName:"comparisonOperator" type:"string" required:"true" enum:"CloudWatchAlarmTemplateComparisonOperator"` + + // CreatedAt is a required field + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The number of datapoints within the evaluation period that must be breaching + // to trigger the alarm. + DatapointsToAlarm *int64 `locationName:"datapointsToAlarm" min:"1" type:"integer"` + + // A resource's optional description. + Description *string `locationName:"description" type:"string"` + + // The number of periods over which data is compared to the specified threshold. + // + // EvaluationPeriods is a required field + EvaluationPeriods *int64 `locationName:"evaluationPeriods" min:"1" type:"integer" required:"true"` + + // A cloudwatch alarm template group's id. AWS provided template groups have + // ids that start with `aws-` + // + // GroupId is a required field + GroupId *string `locationName:"groupId" min:"7" type:"string" required:"true"` + + // A cloudwatch alarm template's id. AWS provided templates have ids that start + // with `aws-` + // + // Id is a required field + Id *string `locationName:"id" min:"7" type:"string" required:"true"` + + // The name of the metric associated with the alarm. Must be compatible with + // targetResourceType. + // + // MetricName is a required field + MetricName *string `locationName:"metricName" type:"string" required:"true"` + + ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp" timestampFormat:"iso8601"` + + // A resource's name. Names must be unique within the scope of a resource type + // in a specific region. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // The period, in seconds, over which the specified statistic is applied. + // + // Period is a required field + Period *int64 `locationName:"period" min:"10" type:"integer" required:"true"` + + // The statistic to apply to the alarm's metric data. + // + // Statistic is a required field + Statistic *string `locationName:"statistic" type:"string" required:"true" enum:"CloudWatchAlarmTemplateStatistic"` + + // Represents the tags associated with a resource. + Tags map[string]*string `locationName:"tags" type:"map"` + + // The resource type this template should dynamically generate cloudwatch metric + // alarms for. + // + // TargetResourceType is a required field + TargetResourceType *string `locationName:"targetResourceType" type:"string" required:"true" enum:"CloudWatchAlarmTemplateTargetResourceType"` + + // The threshold value to compare with the specified statistic. + // + // Threshold is a required field + Threshold *float64 `locationName:"threshold" type:"double" required:"true"` + + // Specifies how missing data points are treated when evaluating the alarm's + // condition. + // + // TreatMissingData is a required field + TreatMissingData *string `locationName:"treatMissingData" type:"string" required:"true" enum:"CloudWatchAlarmTemplateTreatMissingData"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CloudWatchAlarmTemplateSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CloudWatchAlarmTemplateSummary) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *CloudWatchAlarmTemplateSummary) SetArn(v string) *CloudWatchAlarmTemplateSummary { + s.Arn = &v + return s +} + +// SetComparisonOperator sets the ComparisonOperator field's value. +func (s *CloudWatchAlarmTemplateSummary) SetComparisonOperator(v string) *CloudWatchAlarmTemplateSummary { + s.ComparisonOperator = &v + return s +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *CloudWatchAlarmTemplateSummary) SetCreatedAt(v time.Time) *CloudWatchAlarmTemplateSummary { + s.CreatedAt = &v + return s +} + +// SetDatapointsToAlarm sets the DatapointsToAlarm field's value. +func (s *CloudWatchAlarmTemplateSummary) SetDatapointsToAlarm(v int64) *CloudWatchAlarmTemplateSummary { + s.DatapointsToAlarm = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CloudWatchAlarmTemplateSummary) SetDescription(v string) *CloudWatchAlarmTemplateSummary { + s.Description = &v + return s +} + +// SetEvaluationPeriods sets the EvaluationPeriods field's value. +func (s *CloudWatchAlarmTemplateSummary) SetEvaluationPeriods(v int64) *CloudWatchAlarmTemplateSummary { + s.EvaluationPeriods = &v + return s +} + +// SetGroupId sets the GroupId field's value. +func (s *CloudWatchAlarmTemplateSummary) SetGroupId(v string) *CloudWatchAlarmTemplateSummary { + s.GroupId = &v + return s +} + +// SetId sets the Id field's value. +func (s *CloudWatchAlarmTemplateSummary) SetId(v string) *CloudWatchAlarmTemplateSummary { + s.Id = &v + return s +} + +// SetMetricName sets the MetricName field's value. +func (s *CloudWatchAlarmTemplateSummary) SetMetricName(v string) *CloudWatchAlarmTemplateSummary { + s.MetricName = &v + return s +} + +// SetModifiedAt sets the ModifiedAt field's value. +func (s *CloudWatchAlarmTemplateSummary) SetModifiedAt(v time.Time) *CloudWatchAlarmTemplateSummary { + s.ModifiedAt = &v + return s +} + +// SetName sets the Name field's value. +func (s *CloudWatchAlarmTemplateSummary) SetName(v string) *CloudWatchAlarmTemplateSummary { + s.Name = &v + return s +} + +// SetPeriod sets the Period field's value. +func (s *CloudWatchAlarmTemplateSummary) SetPeriod(v int64) *CloudWatchAlarmTemplateSummary { + s.Period = &v + return s +} + +// SetStatistic sets the Statistic field's value. +func (s *CloudWatchAlarmTemplateSummary) SetStatistic(v string) *CloudWatchAlarmTemplateSummary { + s.Statistic = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CloudWatchAlarmTemplateSummary) SetTags(v map[string]*string) *CloudWatchAlarmTemplateSummary { + s.Tags = v + return s +} + +// SetTargetResourceType sets the TargetResourceType field's value. +func (s *CloudWatchAlarmTemplateSummary) SetTargetResourceType(v string) *CloudWatchAlarmTemplateSummary { + s.TargetResourceType = &v + return s +} + +// SetThreshold sets the Threshold field's value. +func (s *CloudWatchAlarmTemplateSummary) SetThreshold(v float64) *CloudWatchAlarmTemplateSummary { + s.Threshold = &v + return s +} + +// SetTreatMissingData sets the TreatMissingData field's value. +func (s *CloudWatchAlarmTemplateSummary) SetTreatMissingData(v string) *CloudWatchAlarmTemplateSummary { + s.TreatMissingData = &v + return s +} + +// Cmaf Ingest Group Settings +type CmafIngestGroupSettings struct { + _ struct{} `type:"structure"` + + // A HTTP destination for the tracks + // + // Destination is a required field + Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` + + // If set to passthrough, Nielsen inaudible tones for media tracking will be + // detected in the input audio and an equivalent ID3 tag will be inserted in + // the output. + NielsenId3Behavior *string `locationName:"nielsenId3Behavior" type:"string" enum:"CmafNielsenId3Behavior"` + + // Type of scte35 track to add. none or scte35WithoutSegmentation + Scte35Type *string `locationName:"scte35Type" type:"string" enum:"Scte35Type"` + + // The nominal duration of segments. The units are specified in SegmentLengthUnits. + // The segments will end on the next keyframe after the specified duration, + // so the actual segment length might be longer, and it might be a fraction + // of the units. + SegmentLength *int64 `locationName:"segmentLength" min:"1" type:"integer"` + + // Time unit for segment length parameter. + SegmentLengthUnits *string `locationName:"segmentLengthUnits" type:"string" enum:"CmafIngestSegmentLengthUnits"` + + // Number of milliseconds to delay the output from the second pipeline. + SendDelayMs *int64 `locationName:"sendDelayMs" type:"integer"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CmafIngestGroupSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CmafIngestGroupSettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CmafIngestGroupSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CmafIngestGroupSettings"} + if s.Destination == nil { + invalidParams.Add(request.NewErrParamRequired("Destination")) + } + if s.SegmentLength != nil && *s.SegmentLength < 1 { + invalidParams.Add(request.NewErrParamMinValue("SegmentLength", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDestination sets the Destination field's value. +func (s *CmafIngestGroupSettings) SetDestination(v *OutputLocationRef) *CmafIngestGroupSettings { + s.Destination = v + return s +} + +// SetNielsenId3Behavior sets the NielsenId3Behavior field's value. +func (s *CmafIngestGroupSettings) SetNielsenId3Behavior(v string) *CmafIngestGroupSettings { + s.NielsenId3Behavior = &v + return s +} + +// SetScte35Type sets the Scte35Type field's value. +func (s *CmafIngestGroupSettings) SetScte35Type(v string) *CmafIngestGroupSettings { + s.Scte35Type = &v + return s +} + +// SetSegmentLength sets the SegmentLength field's value. +func (s *CmafIngestGroupSettings) SetSegmentLength(v int64) *CmafIngestGroupSettings { + s.SegmentLength = &v + return s +} + +// SetSegmentLengthUnits sets the SegmentLengthUnits field's value. +func (s *CmafIngestGroupSettings) SetSegmentLengthUnits(v string) *CmafIngestGroupSettings { + s.SegmentLengthUnits = &v + return s +} + +// SetSendDelayMs sets the SendDelayMs field's value. +func (s *CmafIngestGroupSettings) SetSendDelayMs(v int64) *CmafIngestGroupSettings { + s.SendDelayMs = &v + return s +} + +// Cmaf Ingest Output Settings +type CmafIngestOutputSettings struct { + _ struct{} `type:"structure"` + + // String concatenated to the end of the destination filename. Required for + // multiple outputs of the same type. + NameModifier *string `locationName:"nameModifier" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CmafIngestOutputSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CmafIngestOutputSettings) GoString() string { + return s.String() +} + +// SetNameModifier sets the NameModifier field's value. +func (s *CmafIngestOutputSettings) SetNameModifier(v string) *CmafIngestOutputSettings { + s.NameModifier = &v + return s +} + +// Property of ColorCorrectionSettings. Used for custom color space conversion. +// The object identifies one 3D LUT file and specifies the input/output color +// space combination that the file will be used for. +type ColorCorrection struct { + _ struct{} `type:"structure"` + + // The color space of the input. + // + // InputColorSpace is a required field + InputColorSpace *string `locationName:"inputColorSpace" type:"string" required:"true" enum:"ColorSpace"` + + // The color space of the output. + // + // OutputColorSpace is a required field + OutputColorSpace *string `locationName:"outputColorSpace" type:"string" required:"true" enum:"ColorSpace"` + + // The URI of the 3D LUT file. The protocol must be 's3:' or 's3ssl:':. + // + // Uri is a required field + Uri *string `locationName:"uri" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ColorCorrection) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ColorCorrection) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ColorCorrection) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ColorCorrection"} + if s.InputColorSpace == nil { + invalidParams.Add(request.NewErrParamRequired("InputColorSpace")) + } + if s.OutputColorSpace == nil { + invalidParams.Add(request.NewErrParamRequired("OutputColorSpace")) + } + if s.Uri == nil { + invalidParams.Add(request.NewErrParamRequired("Uri")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInputColorSpace sets the InputColorSpace field's value. +func (s *ColorCorrection) SetInputColorSpace(v string) *ColorCorrection { + s.InputColorSpace = &v + return s +} + +// SetOutputColorSpace sets the OutputColorSpace field's value. +func (s *ColorCorrection) SetOutputColorSpace(v string) *ColorCorrection { + s.OutputColorSpace = &v + return s +} + +// SetUri sets the Uri field's value. +func (s *ColorCorrection) SetUri(v string) *ColorCorrection { + s.Uri = &v + return s +} + +// Property of encoderSettings. Controls color conversion when you are using +// 3D LUT files to perform color conversion on video. +type ColorCorrectionSettings struct { + _ struct{} `type:"structure"` + + // An array of colorCorrections that applies when you are using 3D LUT files + // to perform color conversion on video. Each colorCorrection contains one 3D + // LUT file (that defines the color mapping for converting an input color space + // to an output color space), and the input/output combination that this 3D + // LUT file applies to. MediaLive reads the color space in the input metadata, + // determines the color space that you have specified for the output, and finds + // and uses the LUT file that applies to this combination. + // + // GlobalColorCorrections is a required field + GlobalColorCorrections []*ColorCorrection `locationName:"globalColorCorrections" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ColorCorrectionSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ColorCorrectionSettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ColorCorrectionSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ColorCorrectionSettings"} + if s.GlobalColorCorrections == nil { + invalidParams.Add(request.NewErrParamRequired("GlobalColorCorrections")) + } + if s.GlobalColorCorrections != nil { + for i, v := range s.GlobalColorCorrections { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GlobalColorCorrections", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetGlobalColorCorrections sets the GlobalColorCorrections field's value. +func (s *ColorCorrectionSettings) SetGlobalColorCorrections(v []*ColorCorrection) *ColorCorrectionSettings { + s.GlobalColorCorrections = v + return s +} + +// Passthrough applies no color space conversion to the output +type ColorSpacePassthroughSettings struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ColorSpacePassthroughSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ColorSpacePassthroughSettings) GoString() string { + return s.String() +} + +type ConflictException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ConflictException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ConflictException) GoString() string { + return s.String() +} + +func newErrorConflictException(v protocol.ResponseMetadata) error { + return &ConflictException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ConflictException) Code() string { + return "ConflictException" +} + +// Message returns the exception's message. +func (s *ConflictException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ConflictException) OrigErr() error { + return nil +} + +func (s *ConflictException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ConflictException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ConflictException) RequestID() string { + return s.RespMetadata.RequestID +} + +type CreateChannelInput struct { + _ struct{} `type:"structure"` + + CdiInputSpecification *CdiInputSpecification `locationName:"cdiInputSpecification" type:"structure"` + + // A standard channel has two encoding pipelines and a single pipeline channel + // only has one. + ChannelClass *string `locationName:"channelClass" type:"string" enum:"ChannelClass"` + + Destinations []*OutputDestination `locationName:"destinations" type:"list"` + + // Encoder Settings + EncoderSettings *EncoderSettings `locationName:"encoderSettings" type:"structure"` + + InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` + + InputSpecification *InputSpecification `locationName:"inputSpecification" type:"structure"` + + // The log level the user wants for their channel. + LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` + + Maintenance *MaintenanceCreateSettings `locationName:"maintenance" type:"structure"` + + Name *string `locationName:"name" type:"string"` + + RequestId *string `locationName:"requestId" type:"string" idempotencyToken:"true"` + + Reserved *string `locationName:"reserved" deprecated:"true" type:"string"` -// SetMetadataControl sets the MetadataControl field's value. -func (s *Ac3Settings) SetMetadataControl(v string) *Ac3Settings { - s.MetadataControl = &v - return s -} + RoleArn *string `locationName:"roleArn" type:"string"` -type AcceptInputDeviceTransferInput struct { - _ struct{} `type:"structure" nopayload:"true"` + Tags map[string]*string `locationName:"tags" type:"map"` - // InputDeviceId is a required field - InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` + // The properties for a private VPC OutputWhen this property is specified, the + // output egress addresses will be created in a user specified VPC + Vpc *VpcOutputSettings `locationName:"vpc" type:"structure"` } // String returns the string representation. @@ -6747,7 +14311,7 @@ type AcceptInputDeviceTransferInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AcceptInputDeviceTransferInput) String() string { +func (s CreateChannelInput) String() string { return awsutil.Prettify(s) } @@ -6756,18 +14320,42 @@ func (s AcceptInputDeviceTransferInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AcceptInputDeviceTransferInput) GoString() string { +func (s CreateChannelInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AcceptInputDeviceTransferInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AcceptInputDeviceTransferInput"} - if s.InputDeviceId == nil { - invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) +func (s *CreateChannelInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateChannelInput"} + if s.Destinations != nil { + for i, v := range s.Destinations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Destinations", i), err.(request.ErrInvalidParams)) + } + } } - if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) + if s.EncoderSettings != nil { + if err := s.EncoderSettings.Validate(); err != nil { + invalidParams.AddNested("EncoderSettings", err.(request.ErrInvalidParams)) + } + } + if s.InputAttachments != nil { + for i, v := range s.InputAttachments { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputAttachments", i), err.(request.ErrInvalidParams)) + } + } + } + if s.Vpc != nil { + if err := s.Vpc.Validate(); err != nil { + invalidParams.AddNested("Vpc", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -6776,123 +14364,94 @@ func (s *AcceptInputDeviceTransferInput) Validate() error { return nil } -// SetInputDeviceId sets the InputDeviceId field's value. -func (s *AcceptInputDeviceTransferInput) SetInputDeviceId(v string) *AcceptInputDeviceTransferInput { - s.InputDeviceId = &v +// SetCdiInputSpecification sets the CdiInputSpecification field's value. +func (s *CreateChannelInput) SetCdiInputSpecification(v *CdiInputSpecification) *CreateChannelInput { + s.CdiInputSpecification = v return s } -type AcceptInputDeviceTransferOutput struct { - _ struct{} `type:"structure"` +// SetChannelClass sets the ChannelClass field's value. +func (s *CreateChannelInput) SetChannelClass(v string) *CreateChannelInput { + s.ChannelClass = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AcceptInputDeviceTransferOutput) String() string { - return awsutil.Prettify(s) +// SetDestinations sets the Destinations field's value. +func (s *CreateChannelInput) SetDestinations(v []*OutputDestination) *CreateChannelInput { + s.Destinations = v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AcceptInputDeviceTransferOutput) GoString() string { - return s.String() +// SetEncoderSettings sets the EncoderSettings field's value. +func (s *CreateChannelInput) SetEncoderSettings(v *EncoderSettings) *CreateChannelInput { + s.EncoderSettings = v + return s } -type AccountConfiguration struct { - _ struct{} `type:"structure"` - - // Specifies the KMS key to use for all features that use key encryption. Specify - // the ARN of a KMS key that you have created. Or leave blank to use the key - // that MediaLive creates and manages for you. - KmsKeyId *string `locationName:"kmsKeyId" type:"string"` +// SetInputAttachments sets the InputAttachments field's value. +func (s *CreateChannelInput) SetInputAttachments(v []*InputAttachment) *CreateChannelInput { + s.InputAttachments = v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AccountConfiguration) String() string { - return awsutil.Prettify(s) +// SetInputSpecification sets the InputSpecification field's value. +func (s *CreateChannelInput) SetInputSpecification(v *InputSpecification) *CreateChannelInput { + s.InputSpecification = v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AccountConfiguration) GoString() string { - return s.String() +// SetLogLevel sets the LogLevel field's value. +func (s *CreateChannelInput) SetLogLevel(v string) *CreateChannelInput { + s.LogLevel = &v + return s } -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *AccountConfiguration) SetKmsKeyId(v string) *AccountConfiguration { - s.KmsKeyId = &v +// SetMaintenance sets the Maintenance field's value. +func (s *CreateChannelInput) SetMaintenance(v *MaintenanceCreateSettings) *CreateChannelInput { + s.Maintenance = v return s } -// Ancillary Source Settings -type AncillarySourceSettings struct { - _ struct{} `type:"structure"` - - // Specifies the number (1 to 4) of the captions channel you want to extract - // from the ancillary captions. If you plan to convert the ancillary captions - // to another format, complete this field. If you plan to choose Embedded as - // the captions destination in the output (to pass through all the channels - // in the ancillary captions), leave this field blank because MediaLive ignores - // the field. - SourceAncillaryChannelNumber *int64 `locationName:"sourceAncillaryChannelNumber" min:"1" type:"integer"` +// SetName sets the Name field's value. +func (s *CreateChannelInput) SetName(v string) *CreateChannelInput { + s.Name = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AncillarySourceSettings) String() string { - return awsutil.Prettify(s) +// SetRequestId sets the RequestId field's value. +func (s *CreateChannelInput) SetRequestId(v string) *CreateChannelInput { + s.RequestId = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AncillarySourceSettings) GoString() string { - return s.String() +// SetReserved sets the Reserved field's value. +func (s *CreateChannelInput) SetReserved(v string) *CreateChannelInput { + s.Reserved = &v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *AncillarySourceSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AncillarySourceSettings"} - if s.SourceAncillaryChannelNumber != nil && *s.SourceAncillaryChannelNumber < 1 { - invalidParams.Add(request.NewErrParamMinValue("SourceAncillaryChannelNumber", 1)) - } +// SetRoleArn sets the RoleArn field's value. +func (s *CreateChannelInput) SetRoleArn(v string) *CreateChannelInput { + s.RoleArn = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetTags sets the Tags field's value. +func (s *CreateChannelInput) SetTags(v map[string]*string) *CreateChannelInput { + s.Tags = v + return s } -// SetSourceAncillaryChannelNumber sets the SourceAncillaryChannelNumber field's value. -func (s *AncillarySourceSettings) SetSourceAncillaryChannelNumber(v int64) *AncillarySourceSettings { - s.SourceAncillaryChannelNumber = &v +// SetVpc sets the Vpc field's value. +func (s *CreateChannelInput) SetVpc(v *VpcOutputSettings) *CreateChannelInput { + s.Vpc = v return s } -// Archive Cdn Settings -type ArchiveCdnSettings struct { +type CreateChannelOutput struct { _ struct{} `type:"structure"` - // Archive S3 Settings - ArchiveS3Settings *ArchiveS3Settings `locationName:"archiveS3Settings" type:"structure"` + Channel *Channel `locationName:"channel" type:"structure"` } // String returns the string representation. @@ -6900,7 +14459,7 @@ type ArchiveCdnSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ArchiveCdnSettings) String() string { +func (s CreateChannelOutput) String() string { return awsutil.Prettify(s) } @@ -6909,25 +14468,26 @@ func (s ArchiveCdnSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ArchiveCdnSettings) GoString() string { +func (s CreateChannelOutput) GoString() string { return s.String() } -// SetArchiveS3Settings sets the ArchiveS3Settings field's value. -func (s *ArchiveCdnSettings) SetArchiveS3Settings(v *ArchiveS3Settings) *ArchiveCdnSettings { - s.ArchiveS3Settings = v +// SetChannel sets the Channel field's value. +func (s *CreateChannelOutput) SetChannel(v *Channel) *CreateChannelOutput { + s.Channel = v return s } -// Archive Container Settings -type ArchiveContainerSettings struct { +type CreateCloudWatchAlarmTemplateGroupInput struct { _ struct{} `type:"structure"` - // M2ts Settings - M2tsSettings *M2tsSettings `locationName:"m2tsSettings" type:"structure"` + Description *string `locationName:"description" type:"string"` - // Raw Settings - RawSettings *RawSettings `locationName:"rawSettings" type:"structure"` + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // Represents the tags associated with a resource. + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -6935,7 +14495,7 @@ type ArchiveContainerSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ArchiveContainerSettings) String() string { +func (s CreateCloudWatchAlarmTemplateGroupInput) String() string { return awsutil.Prettify(s) } @@ -6944,17 +14504,18 @@ func (s ArchiveContainerSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ArchiveContainerSettings) GoString() string { +func (s CreateCloudWatchAlarmTemplateGroupInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ArchiveContainerSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ArchiveContainerSettings"} - if s.M2tsSettings != nil { - if err := s.M2tsSettings.Validate(); err != nil { - invalidParams.AddNested("M2tsSettings", err.(request.ErrInvalidParams)) - } +func (s *CreateCloudWatchAlarmTemplateGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateCloudWatchAlarmTemplateGroupInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) } if invalidParams.Len() > 0 { @@ -6963,33 +14524,41 @@ func (s *ArchiveContainerSettings) Validate() error { return nil } -// SetM2tsSettings sets the M2tsSettings field's value. -func (s *ArchiveContainerSettings) SetM2tsSettings(v *M2tsSettings) *ArchiveContainerSettings { - s.M2tsSettings = v +// SetDescription sets the Description field's value. +func (s *CreateCloudWatchAlarmTemplateGroupInput) SetDescription(v string) *CreateCloudWatchAlarmTemplateGroupInput { + s.Description = &v return s } -// SetRawSettings sets the RawSettings field's value. -func (s *ArchiveContainerSettings) SetRawSettings(v *RawSettings) *ArchiveContainerSettings { - s.RawSettings = v +// SetName sets the Name field's value. +func (s *CreateCloudWatchAlarmTemplateGroupInput) SetName(v string) *CreateCloudWatchAlarmTemplateGroupInput { + s.Name = &v return s } -// Archive Group Settings -type ArchiveGroupSettings struct { +// SetTags sets the Tags field's value. +func (s *CreateCloudWatchAlarmTemplateGroupInput) SetTags(v map[string]*string) *CreateCloudWatchAlarmTemplateGroupInput { + s.Tags = v + return s +} + +type CreateCloudWatchAlarmTemplateGroupOutput struct { _ struct{} `type:"structure"` - // Parameters that control interactions with the CDN. - ArchiveCdnSettings *ArchiveCdnSettings `locationName:"archiveCdnSettings" type:"structure"` + Arn *string `locationName:"arn" type:"string"` - // A directory and base filename where archive files should be written. - // - // Destination is a required field - Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` - // Number of seconds to write to archive file before closing and starting a - // new one. - RolloverInterval *int64 `locationName:"rolloverInterval" min:"1" type:"integer"` + Description *string `locationName:"description" type:"string"` + + Id *string `locationName:"id" min:"7" type:"string"` + + ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp" timestampFormat:"iso8601"` + + Name *string `locationName:"name" min:"1" type:"string"` + + // Represents the tags associated with a resource. + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -6997,7 +14566,7 @@ type ArchiveGroupSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ArchiveGroupSettings) String() string { +func (s CreateCloudWatchAlarmTemplateGroupOutput) String() string { return awsutil.Prettify(s) } @@ -7006,60 +14575,101 @@ func (s ArchiveGroupSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ArchiveGroupSettings) GoString() string { +func (s CreateCloudWatchAlarmTemplateGroupOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ArchiveGroupSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ArchiveGroupSettings"} - if s.Destination == nil { - invalidParams.Add(request.NewErrParamRequired("Destination")) - } - if s.RolloverInterval != nil && *s.RolloverInterval < 1 { - invalidParams.Add(request.NewErrParamMinValue("RolloverInterval", 1)) - } +// SetArn sets the Arn field's value. +func (s *CreateCloudWatchAlarmTemplateGroupOutput) SetArn(v string) *CreateCloudWatchAlarmTemplateGroupOutput { + s.Arn = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetCreatedAt sets the CreatedAt field's value. +func (s *CreateCloudWatchAlarmTemplateGroupOutput) SetCreatedAt(v time.Time) *CreateCloudWatchAlarmTemplateGroupOutput { + s.CreatedAt = &v + return s } -// SetArchiveCdnSettings sets the ArchiveCdnSettings field's value. -func (s *ArchiveGroupSettings) SetArchiveCdnSettings(v *ArchiveCdnSettings) *ArchiveGroupSettings { - s.ArchiveCdnSettings = v +// SetDescription sets the Description field's value. +func (s *CreateCloudWatchAlarmTemplateGroupOutput) SetDescription(v string) *CreateCloudWatchAlarmTemplateGroupOutput { + s.Description = &v return s } -// SetDestination sets the Destination field's value. -func (s *ArchiveGroupSettings) SetDestination(v *OutputLocationRef) *ArchiveGroupSettings { - s.Destination = v +// SetId sets the Id field's value. +func (s *CreateCloudWatchAlarmTemplateGroupOutput) SetId(v string) *CreateCloudWatchAlarmTemplateGroupOutput { + s.Id = &v return s } -// SetRolloverInterval sets the RolloverInterval field's value. -func (s *ArchiveGroupSettings) SetRolloverInterval(v int64) *ArchiveGroupSettings { - s.RolloverInterval = &v +// SetModifiedAt sets the ModifiedAt field's value. +func (s *CreateCloudWatchAlarmTemplateGroupOutput) SetModifiedAt(v time.Time) *CreateCloudWatchAlarmTemplateGroupOutput { + s.ModifiedAt = &v return s } -// Archive Output Settings -type ArchiveOutputSettings struct { +// SetName sets the Name field's value. +func (s *CreateCloudWatchAlarmTemplateGroupOutput) SetName(v string) *CreateCloudWatchAlarmTemplateGroupOutput { + s.Name = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateCloudWatchAlarmTemplateGroupOutput) SetTags(v map[string]*string) *CreateCloudWatchAlarmTemplateGroupOutput { + s.Tags = v + return s +} + +type CreateCloudWatchAlarmTemplateInput struct { _ struct{} `type:"structure"` - // Settings specific to the container type of the file. + // The comparison operator used to compare the specified statistic and the threshold. // - // ContainerSettings is a required field - ContainerSettings *ArchiveContainerSettings `locationName:"containerSettings" type:"structure" required:"true"` + // ComparisonOperator is a required field + ComparisonOperator *string `locationName:"comparisonOperator" type:"string" required:"true" enum:"CloudWatchAlarmTemplateComparisonOperator"` - // Output file extension. If excluded, this will be auto-selected from the container - // type. - Extension *string `locationName:"extension" type:"string"` + DatapointsToAlarm *int64 `locationName:"datapointsToAlarm" min:"1" type:"integer"` - // String concatenated to the end of the destination filename. Required for - // multiple outputs of the same type. - NameModifier *string `locationName:"nameModifier" type:"string"` + Description *string `locationName:"description" type:"string"` + + // EvaluationPeriods is a required field + EvaluationPeriods *int64 `locationName:"evaluationPeriods" min:"1" type:"integer" required:"true"` + + // GroupIdentifier is a required field + GroupIdentifier *string `locationName:"groupIdentifier" type:"string" required:"true"` + + // MetricName is a required field + MetricName *string `locationName:"metricName" type:"string" required:"true"` + + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // Period is a required field + Period *int64 `locationName:"period" min:"10" type:"integer" required:"true"` + + // The statistic to apply to the alarm's metric data. + // + // Statistic is a required field + Statistic *string `locationName:"statistic" type:"string" required:"true" enum:"CloudWatchAlarmTemplateStatistic"` + + // Represents the tags associated with a resource. + Tags map[string]*string `locationName:"tags" type:"map"` + + // The resource type this template should dynamically generate cloudwatch metric + // alarms for. + // + // TargetResourceType is a required field + TargetResourceType *string `locationName:"targetResourceType" type:"string" required:"true" enum:"CloudWatchAlarmTemplateTargetResourceType"` + + // Threshold is a required field + Threshold *float64 `locationName:"threshold" type:"double" required:"true"` + + // Specifies how missing data points are treated when evaluating the alarm's + // condition. + // + // TreatMissingData is a required field + TreatMissingData *string `locationName:"treatMissingData" type:"string" required:"true" enum:"CloudWatchAlarmTemplateTreatMissingData"` } // String returns the string representation. @@ -7067,7 +14677,7 @@ type ArchiveOutputSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ArchiveOutputSettings) String() string { +func (s CreateCloudWatchAlarmTemplateInput) String() string { return awsutil.Prettify(s) } @@ -7076,20 +14686,54 @@ func (s ArchiveOutputSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ArchiveOutputSettings) GoString() string { +func (s CreateCloudWatchAlarmTemplateInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ArchiveOutputSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ArchiveOutputSettings"} - if s.ContainerSettings == nil { - invalidParams.Add(request.NewErrParamRequired("ContainerSettings")) +func (s *CreateCloudWatchAlarmTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateCloudWatchAlarmTemplateInput"} + if s.ComparisonOperator == nil { + invalidParams.Add(request.NewErrParamRequired("ComparisonOperator")) } - if s.ContainerSettings != nil { - if err := s.ContainerSettings.Validate(); err != nil { - invalidParams.AddNested("ContainerSettings", err.(request.ErrInvalidParams)) - } + if s.DatapointsToAlarm != nil && *s.DatapointsToAlarm < 1 { + invalidParams.Add(request.NewErrParamMinValue("DatapointsToAlarm", 1)) + } + if s.EvaluationPeriods == nil { + invalidParams.Add(request.NewErrParamRequired("EvaluationPeriods")) + } + if s.EvaluationPeriods != nil && *s.EvaluationPeriods < 1 { + invalidParams.Add(request.NewErrParamMinValue("EvaluationPeriods", 1)) + } + if s.GroupIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("GroupIdentifier")) + } + if s.MetricName == nil { + invalidParams.Add(request.NewErrParamRequired("MetricName")) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Period == nil { + invalidParams.Add(request.NewErrParamRequired("Period")) + } + if s.Period != nil && *s.Period < 10 { + invalidParams.Add(request.NewErrParamMinValue("Period", 10)) + } + if s.Statistic == nil { + invalidParams.Add(request.NewErrParamRequired("Statistic")) + } + if s.TargetResourceType == nil { + invalidParams.Add(request.NewErrParamRequired("TargetResourceType")) + } + if s.Threshold == nil { + invalidParams.Add(request.NewErrParamRequired("Threshold")) + } + if s.TreatMissingData == nil { + invalidParams.Add(request.NewErrParamRequired("TreatMissingData")) } if invalidParams.Len() > 0 { @@ -7098,82 +14742,127 @@ func (s *ArchiveOutputSettings) Validate() error { return nil } -// SetContainerSettings sets the ContainerSettings field's value. -func (s *ArchiveOutputSettings) SetContainerSettings(v *ArchiveContainerSettings) *ArchiveOutputSettings { - s.ContainerSettings = v +// SetComparisonOperator sets the ComparisonOperator field's value. +func (s *CreateCloudWatchAlarmTemplateInput) SetComparisonOperator(v string) *CreateCloudWatchAlarmTemplateInput { + s.ComparisonOperator = &v return s } -// SetExtension sets the Extension field's value. -func (s *ArchiveOutputSettings) SetExtension(v string) *ArchiveOutputSettings { - s.Extension = &v +// SetDatapointsToAlarm sets the DatapointsToAlarm field's value. +func (s *CreateCloudWatchAlarmTemplateInput) SetDatapointsToAlarm(v int64) *CreateCloudWatchAlarmTemplateInput { + s.DatapointsToAlarm = &v return s } -// SetNameModifier sets the NameModifier field's value. -func (s *ArchiveOutputSettings) SetNameModifier(v string) *ArchiveOutputSettings { - s.NameModifier = &v +// SetDescription sets the Description field's value. +func (s *CreateCloudWatchAlarmTemplateInput) SetDescription(v string) *CreateCloudWatchAlarmTemplateInput { + s.Description = &v return s } -// Archive S3 Settings -type ArchiveS3Settings struct { - _ struct{} `type:"structure"` +// SetEvaluationPeriods sets the EvaluationPeriods field's value. +func (s *CreateCloudWatchAlarmTemplateInput) SetEvaluationPeriods(v int64) *CreateCloudWatchAlarmTemplateInput { + s.EvaluationPeriods = &v + return s +} - // Specify the canned ACL to apply to each S3 request. Defaults to none. - CannedAcl *string `locationName:"cannedAcl" type:"string" enum:"S3CannedAcl"` +// SetGroupIdentifier sets the GroupIdentifier field's value. +func (s *CreateCloudWatchAlarmTemplateInput) SetGroupIdentifier(v string) *CreateCloudWatchAlarmTemplateInput { + s.GroupIdentifier = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ArchiveS3Settings) String() string { - return awsutil.Prettify(s) +// SetMetricName sets the MetricName field's value. +func (s *CreateCloudWatchAlarmTemplateInput) SetMetricName(v string) *CreateCloudWatchAlarmTemplateInput { + s.MetricName = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ArchiveS3Settings) GoString() string { - return s.String() +// SetName sets the Name field's value. +func (s *CreateCloudWatchAlarmTemplateInput) SetName(v string) *CreateCloudWatchAlarmTemplateInput { + s.Name = &v + return s } -// SetCannedAcl sets the CannedAcl field's value. -func (s *ArchiveS3Settings) SetCannedAcl(v string) *ArchiveS3Settings { - s.CannedAcl = &v +// SetPeriod sets the Period field's value. +func (s *CreateCloudWatchAlarmTemplateInput) SetPeriod(v int64) *CreateCloudWatchAlarmTemplateInput { + s.Period = &v return s } -// Arib Destination Settings -type AribDestinationSettings struct { - _ struct{} `type:"structure"` +// SetStatistic sets the Statistic field's value. +func (s *CreateCloudWatchAlarmTemplateInput) SetStatistic(v string) *CreateCloudWatchAlarmTemplateInput { + s.Statistic = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AribDestinationSettings) String() string { - return awsutil.Prettify(s) +// SetTags sets the Tags field's value. +func (s *CreateCloudWatchAlarmTemplateInput) SetTags(v map[string]*string) *CreateCloudWatchAlarmTemplateInput { + s.Tags = v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AribDestinationSettings) GoString() string { - return s.String() +// SetTargetResourceType sets the TargetResourceType field's value. +func (s *CreateCloudWatchAlarmTemplateInput) SetTargetResourceType(v string) *CreateCloudWatchAlarmTemplateInput { + s.TargetResourceType = &v + return s } -// Arib Source Settings -type AribSourceSettings struct { +// SetThreshold sets the Threshold field's value. +func (s *CreateCloudWatchAlarmTemplateInput) SetThreshold(v float64) *CreateCloudWatchAlarmTemplateInput { + s.Threshold = &v + return s +} + +// SetTreatMissingData sets the TreatMissingData field's value. +func (s *CreateCloudWatchAlarmTemplateInput) SetTreatMissingData(v string) *CreateCloudWatchAlarmTemplateInput { + s.TreatMissingData = &v + return s +} + +type CreateCloudWatchAlarmTemplateOutput struct { _ struct{} `type:"structure"` + + Arn *string `locationName:"arn" type:"string"` + + // The comparison operator used to compare the specified statistic and the threshold. + ComparisonOperator *string `locationName:"comparisonOperator" type:"string" enum:"CloudWatchAlarmTemplateComparisonOperator"` + + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` + + DatapointsToAlarm *int64 `locationName:"datapointsToAlarm" min:"1" type:"integer"` + + Description *string `locationName:"description" type:"string"` + + EvaluationPeriods *int64 `locationName:"evaluationPeriods" min:"1" type:"integer"` + + GroupId *string `locationName:"groupId" min:"7" type:"string"` + + Id *string `locationName:"id" min:"7" type:"string"` + + MetricName *string `locationName:"metricName" type:"string"` + + ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp" timestampFormat:"iso8601"` + + Name *string `locationName:"name" min:"1" type:"string"` + + Period *int64 `locationName:"period" min:"10" type:"integer"` + + // The statistic to apply to the alarm's metric data. + Statistic *string `locationName:"statistic" type:"string" enum:"CloudWatchAlarmTemplateStatistic"` + + // Represents the tags associated with a resource. + Tags map[string]*string `locationName:"tags" type:"map"` + + // The resource type this template should dynamically generate cloudwatch metric + // alarms for. + TargetResourceType *string `locationName:"targetResourceType" type:"string" enum:"CloudWatchAlarmTemplateTargetResourceType"` + + Threshold *float64 `locationName:"threshold" type:"double"` + + // Specifies how missing data points are treated when evaluating the alarm's + // condition. + TreatMissingData *string `locationName:"treatMissingData" type:"string" enum:"CloudWatchAlarmTemplateTreatMissingData"` } // String returns the string representation. @@ -7181,7 +14870,7 @@ type AribSourceSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AribSourceSettings) String() string { +func (s CreateCloudWatchAlarmTemplateOutput) String() string { return awsutil.Prettify(s) } @@ -7190,24 +14879,122 @@ func (s AribSourceSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AribSourceSettings) GoString() string { +func (s CreateCloudWatchAlarmTemplateOutput) GoString() string { return s.String() } -// Audio Channel Mapping -type AudioChannelMapping struct { +// SetArn sets the Arn field's value. +func (s *CreateCloudWatchAlarmTemplateOutput) SetArn(v string) *CreateCloudWatchAlarmTemplateOutput { + s.Arn = &v + return s +} + +// SetComparisonOperator sets the ComparisonOperator field's value. +func (s *CreateCloudWatchAlarmTemplateOutput) SetComparisonOperator(v string) *CreateCloudWatchAlarmTemplateOutput { + s.ComparisonOperator = &v + return s +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *CreateCloudWatchAlarmTemplateOutput) SetCreatedAt(v time.Time) *CreateCloudWatchAlarmTemplateOutput { + s.CreatedAt = &v + return s +} + +// SetDatapointsToAlarm sets the DatapointsToAlarm field's value. +func (s *CreateCloudWatchAlarmTemplateOutput) SetDatapointsToAlarm(v int64) *CreateCloudWatchAlarmTemplateOutput { + s.DatapointsToAlarm = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateCloudWatchAlarmTemplateOutput) SetDescription(v string) *CreateCloudWatchAlarmTemplateOutput { + s.Description = &v + return s +} + +// SetEvaluationPeriods sets the EvaluationPeriods field's value. +func (s *CreateCloudWatchAlarmTemplateOutput) SetEvaluationPeriods(v int64) *CreateCloudWatchAlarmTemplateOutput { + s.EvaluationPeriods = &v + return s +} + +// SetGroupId sets the GroupId field's value. +func (s *CreateCloudWatchAlarmTemplateOutput) SetGroupId(v string) *CreateCloudWatchAlarmTemplateOutput { + s.GroupId = &v + return s +} + +// SetId sets the Id field's value. +func (s *CreateCloudWatchAlarmTemplateOutput) SetId(v string) *CreateCloudWatchAlarmTemplateOutput { + s.Id = &v + return s +} + +// SetMetricName sets the MetricName field's value. +func (s *CreateCloudWatchAlarmTemplateOutput) SetMetricName(v string) *CreateCloudWatchAlarmTemplateOutput { + s.MetricName = &v + return s +} + +// SetModifiedAt sets the ModifiedAt field's value. +func (s *CreateCloudWatchAlarmTemplateOutput) SetModifiedAt(v time.Time) *CreateCloudWatchAlarmTemplateOutput { + s.ModifiedAt = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateCloudWatchAlarmTemplateOutput) SetName(v string) *CreateCloudWatchAlarmTemplateOutput { + s.Name = &v + return s +} + +// SetPeriod sets the Period field's value. +func (s *CreateCloudWatchAlarmTemplateOutput) SetPeriod(v int64) *CreateCloudWatchAlarmTemplateOutput { + s.Period = &v + return s +} + +// SetStatistic sets the Statistic field's value. +func (s *CreateCloudWatchAlarmTemplateOutput) SetStatistic(v string) *CreateCloudWatchAlarmTemplateOutput { + s.Statistic = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateCloudWatchAlarmTemplateOutput) SetTags(v map[string]*string) *CreateCloudWatchAlarmTemplateOutput { + s.Tags = v + return s +} + +// SetTargetResourceType sets the TargetResourceType field's value. +func (s *CreateCloudWatchAlarmTemplateOutput) SetTargetResourceType(v string) *CreateCloudWatchAlarmTemplateOutput { + s.TargetResourceType = &v + return s +} + +// SetThreshold sets the Threshold field's value. +func (s *CreateCloudWatchAlarmTemplateOutput) SetThreshold(v float64) *CreateCloudWatchAlarmTemplateOutput { + s.Threshold = &v + return s +} + +// SetTreatMissingData sets the TreatMissingData field's value. +func (s *CreateCloudWatchAlarmTemplateOutput) SetTreatMissingData(v string) *CreateCloudWatchAlarmTemplateOutput { + s.TreatMissingData = &v + return s +} + +type CreateEventBridgeRuleTemplateGroupInput struct { _ struct{} `type:"structure"` - // Indices and gain values for each input channel that should be remixed into - // this output channel. - // - // InputChannelLevels is a required field - InputChannelLevels []*InputChannelLevel `locationName:"inputChannelLevels" type:"list" required:"true"` + Description *string `locationName:"description" type:"string"` + + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` - // The index of the output channel being produced. - // - // OutputChannel is a required field - OutputChannel *int64 `locationName:"outputChannel" type:"integer" required:"true"` + // Represents the tags associated with a resource. + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -7215,7 +15002,7 @@ type AudioChannelMapping struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioChannelMapping) String() string { +func (s CreateEventBridgeRuleTemplateGroupInput) String() string { return awsutil.Prettify(s) } @@ -7224,28 +15011,18 @@ func (s AudioChannelMapping) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioChannelMapping) GoString() string { +func (s CreateEventBridgeRuleTemplateGroupInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AudioChannelMapping) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AudioChannelMapping"} - if s.InputChannelLevels == nil { - invalidParams.Add(request.NewErrParamRequired("InputChannelLevels")) - } - if s.OutputChannel == nil { - invalidParams.Add(request.NewErrParamRequired("OutputChannel")) +func (s *CreateEventBridgeRuleTemplateGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateEventBridgeRuleTemplateGroupInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) } - if s.InputChannelLevels != nil { - for i, v := range s.InputChannelLevels { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputChannelLevels", i), err.(request.ErrInvalidParams)) - } - } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) } if invalidParams.Len() > 0 { @@ -7254,42 +15031,41 @@ func (s *AudioChannelMapping) Validate() error { return nil } -// SetInputChannelLevels sets the InputChannelLevels field's value. -func (s *AudioChannelMapping) SetInputChannelLevels(v []*InputChannelLevel) *AudioChannelMapping { - s.InputChannelLevels = v +// SetDescription sets the Description field's value. +func (s *CreateEventBridgeRuleTemplateGroupInput) SetDescription(v string) *CreateEventBridgeRuleTemplateGroupInput { + s.Description = &v return s } -// SetOutputChannel sets the OutputChannel field's value. -func (s *AudioChannelMapping) SetOutputChannel(v int64) *AudioChannelMapping { - s.OutputChannel = &v +// SetName sets the Name field's value. +func (s *CreateEventBridgeRuleTemplateGroupInput) SetName(v string) *CreateEventBridgeRuleTemplateGroupInput { + s.Name = &v return s } -// Audio Codec Settings -type AudioCodecSettings struct { +// SetTags sets the Tags field's value. +func (s *CreateEventBridgeRuleTemplateGroupInput) SetTags(v map[string]*string) *CreateEventBridgeRuleTemplateGroupInput { + s.Tags = v + return s +} + +type CreateEventBridgeRuleTemplateGroupOutput struct { _ struct{} `type:"structure"` - // Aac Settings - AacSettings *AacSettings `locationName:"aacSettings" type:"structure"` + Arn *string `locationName:"arn" type:"string"` - // Ac3 Settings - Ac3Settings *Ac3Settings `locationName:"ac3Settings" type:"structure"` + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` - // Eac3 Atmos Settings - Eac3AtmosSettings *Eac3AtmosSettings `locationName:"eac3AtmosSettings" type:"structure"` + Description *string `locationName:"description" type:"string"` - // Eac3 Settings - Eac3Settings *Eac3Settings `locationName:"eac3Settings" type:"structure"` + Id *string `locationName:"id" min:"7" type:"string"` - // Mp2 Settings - Mp2Settings *Mp2Settings `locationName:"mp2Settings" type:"structure"` + ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp" timestampFormat:"iso8601"` - // Pass Through Settings - PassThroughSettings *PassThroughSettings `locationName:"passThroughSettings" type:"structure"` + Name *string `locationName:"name" min:"1" type:"string"` - // Wav Settings - WavSettings *WavSettings `locationName:"wavSettings" type:"structure"` + // Represents the tags associated with a resource. + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -7297,7 +15073,7 @@ type AudioCodecSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioCodecSettings) String() string { +func (s CreateEventBridgeRuleTemplateGroupOutput) String() string { return awsutil.Prettify(s) } @@ -7306,142 +15082,72 @@ func (s AudioCodecSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioCodecSettings) GoString() string { +func (s CreateEventBridgeRuleTemplateGroupOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *AudioCodecSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AudioCodecSettings"} - if s.Ac3Settings != nil { - if err := s.Ac3Settings.Validate(); err != nil { - invalidParams.AddNested("Ac3Settings", err.(request.ErrInvalidParams)) - } - } - if s.Eac3AtmosSettings != nil { - if err := s.Eac3AtmosSettings.Validate(); err != nil { - invalidParams.AddNested("Eac3AtmosSettings", err.(request.ErrInvalidParams)) - } - } - if s.Eac3Settings != nil { - if err := s.Eac3Settings.Validate(); err != nil { - invalidParams.AddNested("Eac3Settings", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAacSettings sets the AacSettings field's value. -func (s *AudioCodecSettings) SetAacSettings(v *AacSettings) *AudioCodecSettings { - s.AacSettings = v +// SetArn sets the Arn field's value. +func (s *CreateEventBridgeRuleTemplateGroupOutput) SetArn(v string) *CreateEventBridgeRuleTemplateGroupOutput { + s.Arn = &v return s } -// SetAc3Settings sets the Ac3Settings field's value. -func (s *AudioCodecSettings) SetAc3Settings(v *Ac3Settings) *AudioCodecSettings { - s.Ac3Settings = v +// SetCreatedAt sets the CreatedAt field's value. +func (s *CreateEventBridgeRuleTemplateGroupOutput) SetCreatedAt(v time.Time) *CreateEventBridgeRuleTemplateGroupOutput { + s.CreatedAt = &v return s } -// SetEac3AtmosSettings sets the Eac3AtmosSettings field's value. -func (s *AudioCodecSettings) SetEac3AtmosSettings(v *Eac3AtmosSettings) *AudioCodecSettings { - s.Eac3AtmosSettings = v +// SetDescription sets the Description field's value. +func (s *CreateEventBridgeRuleTemplateGroupOutput) SetDescription(v string) *CreateEventBridgeRuleTemplateGroupOutput { + s.Description = &v return s } -// SetEac3Settings sets the Eac3Settings field's value. -func (s *AudioCodecSettings) SetEac3Settings(v *Eac3Settings) *AudioCodecSettings { - s.Eac3Settings = v +// SetId sets the Id field's value. +func (s *CreateEventBridgeRuleTemplateGroupOutput) SetId(v string) *CreateEventBridgeRuleTemplateGroupOutput { + s.Id = &v return s } -// SetMp2Settings sets the Mp2Settings field's value. -func (s *AudioCodecSettings) SetMp2Settings(v *Mp2Settings) *AudioCodecSettings { - s.Mp2Settings = v +// SetModifiedAt sets the ModifiedAt field's value. +func (s *CreateEventBridgeRuleTemplateGroupOutput) SetModifiedAt(v time.Time) *CreateEventBridgeRuleTemplateGroupOutput { + s.ModifiedAt = &v return s } -// SetPassThroughSettings sets the PassThroughSettings field's value. -func (s *AudioCodecSettings) SetPassThroughSettings(v *PassThroughSettings) *AudioCodecSettings { - s.PassThroughSettings = v +// SetName sets the Name field's value. +func (s *CreateEventBridgeRuleTemplateGroupOutput) SetName(v string) *CreateEventBridgeRuleTemplateGroupOutput { + s.Name = &v return s } -// SetWavSettings sets the WavSettings field's value. -func (s *AudioCodecSettings) SetWavSettings(v *WavSettings) *AudioCodecSettings { - s.WavSettings = v +// SetTags sets the Tags field's value. +func (s *CreateEventBridgeRuleTemplateGroupOutput) SetTags(v map[string]*string) *CreateEventBridgeRuleTemplateGroupOutput { + s.Tags = v return s } -// Audio Description -type AudioDescription struct { +type CreateEventBridgeRuleTemplateInput struct { _ struct{} `type:"structure"` - // Identifies the DASH roles to assign to this audio output. Applies only when - // the audio output is configured for DVB DASH accessibility signaling. - AudioDashRoles []*string `locationName:"audioDashRoles" type:"list" enum:"DashRoleAudio"` + Description *string `locationName:"description" type:"string"` - // Advanced audio normalization settings. - AudioNormalizationSettings *AudioNormalizationSettings `locationName:"audioNormalizationSettings" type:"structure"` + EventTargets []*EventBridgeRuleTemplateTarget `locationName:"eventTargets" type:"list"` - // The name of the AudioSelector used as the source for this AudioDescription. + // The type of event to match with the rule. // - // AudioSelectorName is a required field - AudioSelectorName *string `locationName:"audioSelectorName" type:"string" required:"true"` - - // Applies only if audioTypeControl is useConfigured. The values for audioType - // are defined in ISO-IEC 13818-1. - AudioType *string `locationName:"audioType" type:"string" enum:"AudioType"` - - // Determines how audio type is determined. followInput: If the input contains - // an ISO 639 audioType, then that value is passed through to the output. If - // the input contains no ISO 639 audioType, the value in Audio Type is included - // in the output. useConfigured: The value in Audio Type is included in the - // output.Note that this field and audioType are both ignored if inputType is - // broadcasterMixedAd. - AudioTypeControl *string `locationName:"audioTypeControl" type:"string" enum:"AudioDescriptionAudioTypeControl"` - - // Settings to configure one or more solutions that insert audio watermarks - // in the audio encode - AudioWatermarkingSettings *AudioWatermarkSettings `locationName:"audioWatermarkingSettings" type:"structure"` - - // Audio codec settings. - CodecSettings *AudioCodecSettings `locationName:"codecSettings" type:"structure"` - - // Identifies DVB DASH accessibility signaling in this audio output. Used in - // Microsoft Smooth Streaming outputs to signal accessibility information to - // packagers. - DvbDashAccessibility *string `locationName:"dvbDashAccessibility" type:"string" enum:"DvbDashAccessibility"` - - // RFC 5646 language code representing the language of the audio output track. - // Only used if languageControlMode is useConfigured, or there is no ISO 639 - // language code specified in the input. - LanguageCode *string `locationName:"languageCode" min:"1" type:"string"` + // EventType is a required field + EventType *string `locationName:"eventType" type:"string" required:"true" enum:"EventBridgeRuleTemplateEventType"` - // Choosing followInput will cause the ISO 639 language code of the output to - // follow the ISO 639 language code of the input. The languageCode will be used - // when useConfigured is set, or when followInput is selected but there is no - // ISO 639 language code specified by the input. - LanguageCodeControl *string `locationName:"languageCodeControl" type:"string" enum:"AudioDescriptionLanguageCodeControl"` + // GroupIdentifier is a required field + GroupIdentifier *string `locationName:"groupIdentifier" type:"string" required:"true"` - // The name of this AudioDescription. Outputs will use this name to uniquely - // identify this AudioDescription. Description names should be unique within - // this Live Event. - // // Name is a required field - Name *string `locationName:"name" type:"string" required:"true"` - - // Settings that control how input audio channels are remixed into the output - // audio channels. - RemixSettings *RemixSettings `locationName:"remixSettings" type:"structure"` + Name *string `locationName:"name" min:"1" type:"string" required:"true"` - // Used for MS Smooth and Apple HLS outputs. Indicates the name displayed by - // the player (eg. English, or Director Commentary). - StreamName *string `locationName:"streamName" type:"string"` + // Represents the tags associated with a resource. + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -7449,7 +15155,7 @@ type AudioDescription struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioDescription) String() string { +func (s CreateEventBridgeRuleTemplateInput) String() string { return awsutil.Prettify(s) } @@ -7458,35 +15164,33 @@ func (s AudioDescription) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioDescription) GoString() string { +func (s CreateEventBridgeRuleTemplateInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AudioDescription) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AudioDescription"} - if s.AudioSelectorName == nil { - invalidParams.Add(request.NewErrParamRequired("AudioSelectorName")) +func (s *CreateEventBridgeRuleTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateEventBridgeRuleTemplateInput"} + if s.EventType == nil { + invalidParams.Add(request.NewErrParamRequired("EventType")) } - if s.LanguageCode != nil && len(*s.LanguageCode) < 1 { - invalidParams.Add(request.NewErrParamMinLen("LanguageCode", 1)) + if s.GroupIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("GroupIdentifier")) } if s.Name == nil { invalidParams.Add(request.NewErrParamRequired("Name")) } - if s.AudioWatermarkingSettings != nil { - if err := s.AudioWatermarkingSettings.Validate(); err != nil { - invalidParams.AddNested("AudioWatermarkingSettings", err.(request.ErrInvalidParams)) - } - } - if s.CodecSettings != nil { - if err := s.CodecSettings.Validate(); err != nil { - invalidParams.AddNested("CodecSettings", err.(request.ErrInvalidParams)) - } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) } - if s.RemixSettings != nil { - if err := s.RemixSettings.Validate(); err != nil { - invalidParams.AddNested("RemixSettings", err.(request.ErrInvalidParams)) + if s.EventTargets != nil { + for i, v := range s.EventTargets { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "EventTargets", i), err.(request.ErrInvalidParams)) + } } } @@ -7496,97 +15200,175 @@ func (s *AudioDescription) Validate() error { return nil } -// SetAudioDashRoles sets the AudioDashRoles field's value. -func (s *AudioDescription) SetAudioDashRoles(v []*string) *AudioDescription { - s.AudioDashRoles = v +// SetDescription sets the Description field's value. +func (s *CreateEventBridgeRuleTemplateInput) SetDescription(v string) *CreateEventBridgeRuleTemplateInput { + s.Description = &v return s } -// SetAudioNormalizationSettings sets the AudioNormalizationSettings field's value. -func (s *AudioDescription) SetAudioNormalizationSettings(v *AudioNormalizationSettings) *AudioDescription { - s.AudioNormalizationSettings = v +// SetEventTargets sets the EventTargets field's value. +func (s *CreateEventBridgeRuleTemplateInput) SetEventTargets(v []*EventBridgeRuleTemplateTarget) *CreateEventBridgeRuleTemplateInput { + s.EventTargets = v return s } -// SetAudioSelectorName sets the AudioSelectorName field's value. -func (s *AudioDescription) SetAudioSelectorName(v string) *AudioDescription { - s.AudioSelectorName = &v +// SetEventType sets the EventType field's value. +func (s *CreateEventBridgeRuleTemplateInput) SetEventType(v string) *CreateEventBridgeRuleTemplateInput { + s.EventType = &v return s } -// SetAudioType sets the AudioType field's value. -func (s *AudioDescription) SetAudioType(v string) *AudioDescription { - s.AudioType = &v +// SetGroupIdentifier sets the GroupIdentifier field's value. +func (s *CreateEventBridgeRuleTemplateInput) SetGroupIdentifier(v string) *CreateEventBridgeRuleTemplateInput { + s.GroupIdentifier = &v return s } -// SetAudioTypeControl sets the AudioTypeControl field's value. -func (s *AudioDescription) SetAudioTypeControl(v string) *AudioDescription { - s.AudioTypeControl = &v +// SetName sets the Name field's value. +func (s *CreateEventBridgeRuleTemplateInput) SetName(v string) *CreateEventBridgeRuleTemplateInput { + s.Name = &v return s } -// SetAudioWatermarkingSettings sets the AudioWatermarkingSettings field's value. -func (s *AudioDescription) SetAudioWatermarkingSettings(v *AudioWatermarkSettings) *AudioDescription { - s.AudioWatermarkingSettings = v +// SetTags sets the Tags field's value. +func (s *CreateEventBridgeRuleTemplateInput) SetTags(v map[string]*string) *CreateEventBridgeRuleTemplateInput { + s.Tags = v return s } -// SetCodecSettings sets the CodecSettings field's value. -func (s *AudioDescription) SetCodecSettings(v *AudioCodecSettings) *AudioDescription { - s.CodecSettings = v +type CreateEventBridgeRuleTemplateOutput struct { + _ struct{} `type:"structure"` + + Arn *string `locationName:"arn" type:"string"` + + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` + + Description *string `locationName:"description" type:"string"` + + EventTargets []*EventBridgeRuleTemplateTarget `locationName:"eventTargets" type:"list"` + + // The type of event to match with the rule. + EventType *string `locationName:"eventType" type:"string" enum:"EventBridgeRuleTemplateEventType"` + + GroupId *string `locationName:"groupId" min:"7" type:"string"` + + Id *string `locationName:"id" min:"7" type:"string"` + + ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp" timestampFormat:"iso8601"` + + Name *string `locationName:"name" min:"1" type:"string"` + + // Represents the tags associated with a resource. + Tags map[string]*string `locationName:"tags" type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateEventBridgeRuleTemplateOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateEventBridgeRuleTemplateOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *CreateEventBridgeRuleTemplateOutput) SetArn(v string) *CreateEventBridgeRuleTemplateOutput { + s.Arn = &v return s } -// SetDvbDashAccessibility sets the DvbDashAccessibility field's value. -func (s *AudioDescription) SetDvbDashAccessibility(v string) *AudioDescription { - s.DvbDashAccessibility = &v +// SetCreatedAt sets the CreatedAt field's value. +func (s *CreateEventBridgeRuleTemplateOutput) SetCreatedAt(v time.Time) *CreateEventBridgeRuleTemplateOutput { + s.CreatedAt = &v return s } -// SetLanguageCode sets the LanguageCode field's value. -func (s *AudioDescription) SetLanguageCode(v string) *AudioDescription { - s.LanguageCode = &v +// SetDescription sets the Description field's value. +func (s *CreateEventBridgeRuleTemplateOutput) SetDescription(v string) *CreateEventBridgeRuleTemplateOutput { + s.Description = &v return s } -// SetLanguageCodeControl sets the LanguageCodeControl field's value. -func (s *AudioDescription) SetLanguageCodeControl(v string) *AudioDescription { - s.LanguageCodeControl = &v +// SetEventTargets sets the EventTargets field's value. +func (s *CreateEventBridgeRuleTemplateOutput) SetEventTargets(v []*EventBridgeRuleTemplateTarget) *CreateEventBridgeRuleTemplateOutput { + s.EventTargets = v return s } -// SetName sets the Name field's value. -func (s *AudioDescription) SetName(v string) *AudioDescription { - s.Name = &v +// SetEventType sets the EventType field's value. +func (s *CreateEventBridgeRuleTemplateOutput) SetEventType(v string) *CreateEventBridgeRuleTemplateOutput { + s.EventType = &v return s } -// SetRemixSettings sets the RemixSettings field's value. -func (s *AudioDescription) SetRemixSettings(v *RemixSettings) *AudioDescription { - s.RemixSettings = v +// SetGroupId sets the GroupId field's value. +func (s *CreateEventBridgeRuleTemplateOutput) SetGroupId(v string) *CreateEventBridgeRuleTemplateOutput { + s.GroupId = &v return s } -// SetStreamName sets the StreamName field's value. -func (s *AudioDescription) SetStreamName(v string) *AudioDescription { - s.StreamName = &v +// SetId sets the Id field's value. +func (s *CreateEventBridgeRuleTemplateOutput) SetId(v string) *CreateEventBridgeRuleTemplateOutput { + s.Id = &v return s } -// Audio Dolby EDecode -type AudioDolbyEDecode struct { +// SetModifiedAt sets the ModifiedAt field's value. +func (s *CreateEventBridgeRuleTemplateOutput) SetModifiedAt(v time.Time) *CreateEventBridgeRuleTemplateOutput { + s.ModifiedAt = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateEventBridgeRuleTemplateOutput) SetName(v string) *CreateEventBridgeRuleTemplateOutput { + s.Name = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateEventBridgeRuleTemplateOutput) SetTags(v map[string]*string) *CreateEventBridgeRuleTemplateOutput { + s.Tags = v + return s +} + +type CreateInputInput struct { _ struct{} `type:"structure"` - // Applies only to Dolby E. Enter the program ID (according to the metadata - // in the audio) of the Dolby E program to extract from the specified track. - // One program extracted per audio selector. To select multiple programs, create - // multiple selectors with the same Track and different Program numbers. “All - // channels” means to ignore the program IDs and include all the channels - // in this selector; useful if metadata is known to be incorrect. - // - // ProgramSelection is a required field - ProgramSelection *string `locationName:"programSelection" type:"string" required:"true" enum:"DolbyEProgramSelection"` + Destinations []*InputDestinationRequest `locationName:"destinations" type:"list"` + + InputDevices []*InputDeviceSettings `locationName:"inputDevices" type:"list"` + + InputSecurityGroups []*string `locationName:"inputSecurityGroups" type:"list"` + + MediaConnectFlows []*MediaConnectFlowRequest `locationName:"mediaConnectFlows" type:"list"` + + Name *string `locationName:"name" type:"string"` + + RequestId *string `locationName:"requestId" type:"string" idempotencyToken:"true"` + + RoleArn *string `locationName:"roleArn" type:"string"` + + Sources []*InputSourceRequest `locationName:"sources" type:"list"` + + Tags map[string]*string `locationName:"tags" type:"map"` + + // The different types of inputs that AWS Elemental MediaLive supports. + Type *string `locationName:"type" type:"string" enum:"InputType"` + + // Settings for a private VPC Input.When this property is specified, the input + // destination addresses will be created in a VPC rather than with public Internet + // addresses.This property requires setting the roleArn property on Input creation.Not + // compatible with the inputSecurityGroups property. + Vpc *InputVpcRequest `locationName:"vpc" type:"structure"` } // String returns the string representation. @@ -7594,7 +15376,7 @@ type AudioDolbyEDecode struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioDolbyEDecode) String() string { +func (s CreateInputInput) String() string { return awsutil.Prettify(s) } @@ -7603,15 +15385,17 @@ func (s AudioDolbyEDecode) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioDolbyEDecode) GoString() string { +func (s CreateInputInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AudioDolbyEDecode) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AudioDolbyEDecode"} - if s.ProgramSelection == nil { - invalidParams.Add(request.NewErrParamRequired("ProgramSelection")) +func (s *CreateInputInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateInputInput"} + if s.Vpc != nil { + if err := s.Vpc.Validate(); err != nil { + invalidParams.AddNested("Vpc", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -7620,25 +15404,76 @@ func (s *AudioDolbyEDecode) Validate() error { return nil } -// SetProgramSelection sets the ProgramSelection field's value. -func (s *AudioDolbyEDecode) SetProgramSelection(v string) *AudioDolbyEDecode { - s.ProgramSelection = &v +// SetDestinations sets the Destinations field's value. +func (s *CreateInputInput) SetDestinations(v []*InputDestinationRequest) *CreateInputInput { + s.Destinations = v return s } -// Audio Hls Rendition Selection -type AudioHlsRenditionSelection struct { - _ struct{} `type:"structure"` +// SetInputDevices sets the InputDevices field's value. +func (s *CreateInputInput) SetInputDevices(v []*InputDeviceSettings) *CreateInputInput { + s.InputDevices = v + return s +} - // Specifies the GROUP-ID in the #EXT-X-MEDIA tag of the target HLS audio rendition. - // - // GroupId is a required field - GroupId *string `locationName:"groupId" min:"1" type:"string" required:"true"` +// SetInputSecurityGroups sets the InputSecurityGroups field's value. +func (s *CreateInputInput) SetInputSecurityGroups(v []*string) *CreateInputInput { + s.InputSecurityGroups = v + return s +} - // Specifies the NAME in the #EXT-X-MEDIA tag of the target HLS audio rendition. - // - // Name is a required field - Name *string `locationName:"name" min:"1" type:"string" required:"true"` +// SetMediaConnectFlows sets the MediaConnectFlows field's value. +func (s *CreateInputInput) SetMediaConnectFlows(v []*MediaConnectFlowRequest) *CreateInputInput { + s.MediaConnectFlows = v + return s +} + +// SetName sets the Name field's value. +func (s *CreateInputInput) SetName(v string) *CreateInputInput { + s.Name = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *CreateInputInput) SetRequestId(v string) *CreateInputInput { + s.RequestId = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *CreateInputInput) SetRoleArn(v string) *CreateInputInput { + s.RoleArn = &v + return s +} + +// SetSources sets the Sources field's value. +func (s *CreateInputInput) SetSources(v []*InputSourceRequest) *CreateInputInput { + s.Sources = v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateInputInput) SetTags(v map[string]*string) *CreateInputInput { + s.Tags = v + return s +} + +// SetType sets the Type field's value. +func (s *CreateInputInput) SetType(v string) *CreateInputInput { + s.Type = &v + return s +} + +// SetVpc sets the Vpc field's value. +func (s *CreateInputInput) SetVpc(v *InputVpcRequest) *CreateInputInput { + s.Vpc = v + return s +} + +type CreateInputOutput struct { + _ struct{} `type:"structure"` + + Input *Input `locationName:"input" type:"structure"` } // String returns the string representation. @@ -7646,7 +15481,7 @@ type AudioHlsRenditionSelection struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioHlsRenditionSelection) String() string { +func (s CreateInputOutput) String() string { return awsutil.Prettify(s) } @@ -7655,60 +15490,22 @@ func (s AudioHlsRenditionSelection) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioHlsRenditionSelection) GoString() string { +func (s CreateInputOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *AudioHlsRenditionSelection) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AudioHlsRenditionSelection"} - if s.GroupId == nil { - invalidParams.Add(request.NewErrParamRequired("GroupId")) - } - if s.GroupId != nil && len(*s.GroupId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("GroupId", 1)) - } - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) - } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetGroupId sets the GroupId field's value. -func (s *AudioHlsRenditionSelection) SetGroupId(v string) *AudioHlsRenditionSelection { - s.GroupId = &v - return s -} - -// SetName sets the Name field's value. -func (s *AudioHlsRenditionSelection) SetName(v string) *AudioHlsRenditionSelection { - s.Name = &v +// SetInput sets the Input field's value. +func (s *CreateInputOutput) SetInput(v *Input) *CreateInputOutput { + s.Input = v return s } -// Audio Language Selection -type AudioLanguageSelection struct { +type CreateInputSecurityGroupInput struct { _ struct{} `type:"structure"` - // Selects a specific three-letter language code from within an audio source. - // - // LanguageCode is a required field - LanguageCode *string `locationName:"languageCode" type:"string" required:"true"` + Tags map[string]*string `locationName:"tags" type:"map"` - // When set to "strict", the transport stream demux strictly identifies audio - // streams by their language descriptor. If a PMT update occurs such that an - // audio stream matching the initially selected language is no longer present - // then mute will be encoded until the language returns. If "loose", then on - // a PMT update the demux will choose another audio stream in the program with - // the same stream type if it can't find one with the same language. - LanguageSelectionPolicy *string `locationName:"languageSelectionPolicy" type:"string" enum:"AudioLanguageSelectionPolicy"` + WhitelistRules []*InputWhitelistRuleCidr `locationName:"whitelistRules" type:"list"` } // String returns the string representation. @@ -7716,7 +15513,7 @@ type AudioLanguageSelection struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioLanguageSelection) String() string { +func (s CreateInputSecurityGroupInput) String() string { return awsutil.Prettify(s) } @@ -7725,52 +15522,27 @@ func (s AudioLanguageSelection) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioLanguageSelection) GoString() string { +func (s CreateInputSecurityGroupInput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *AudioLanguageSelection) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AudioLanguageSelection"} - if s.LanguageCode == nil { - invalidParams.Add(request.NewErrParamRequired("LanguageCode")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetLanguageCode sets the LanguageCode field's value. -func (s *AudioLanguageSelection) SetLanguageCode(v string) *AudioLanguageSelection { - s.LanguageCode = &v +// SetTags sets the Tags field's value. +func (s *CreateInputSecurityGroupInput) SetTags(v map[string]*string) *CreateInputSecurityGroupInput { + s.Tags = v return s } -// SetLanguageSelectionPolicy sets the LanguageSelectionPolicy field's value. -func (s *AudioLanguageSelection) SetLanguageSelectionPolicy(v string) *AudioLanguageSelection { - s.LanguageSelectionPolicy = &v +// SetWhitelistRules sets the WhitelistRules field's value. +func (s *CreateInputSecurityGroupInput) SetWhitelistRules(v []*InputWhitelistRuleCidr) *CreateInputSecurityGroupInput { + s.WhitelistRules = v return s } -// Audio Normalization Settings -type AudioNormalizationSettings struct { +type CreateInputSecurityGroupOutput struct { _ struct{} `type:"structure"` - // Audio normalization algorithm to use. itu17701 conforms to the CALM Act specification, - // itu17702 conforms to the EBU R-128 specification. - Algorithm *string `locationName:"algorithm" type:"string" enum:"AudioNormalizationAlgorithm"` - - // When set to correctAudio the output audio is corrected using the chosen algorithm. - // If set to measureOnly, the audio will be measured but not adjusted. - AlgorithmControl *string `locationName:"algorithmControl" type:"string" enum:"AudioNormalizationAlgorithmControl"` - - // Target LKFS(loudness) to adjust volume to. If no value is entered, a default - // value will be used according to the chosen algorithm. The CALM Act (1770-1) - // recommends a target of -24 LKFS. The EBU R-128 specification (1770-2) recommends - // a target of -23 LKFS. - TargetLkfs *float64 `locationName:"targetLkfs" type:"double"` + // An Input Security Group + SecurityGroup *InputSecurityGroup `locationName:"securityGroup" type:"structure"` } // String returns the string representation. @@ -7778,7 +15550,7 @@ type AudioNormalizationSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioNormalizationSettings) String() string { +func (s CreateInputSecurityGroupOutput) String() string { return awsutil.Prettify(s) } @@ -7787,57 +15559,33 @@ func (s AudioNormalizationSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioNormalizationSettings) GoString() string { +func (s CreateInputSecurityGroupOutput) GoString() string { return s.String() } -// SetAlgorithm sets the Algorithm field's value. -func (s *AudioNormalizationSettings) SetAlgorithm(v string) *AudioNormalizationSettings { - s.Algorithm = &v - return s -} - -// SetAlgorithmControl sets the AlgorithmControl field's value. -func (s *AudioNormalizationSettings) SetAlgorithmControl(v string) *AudioNormalizationSettings { - s.AlgorithmControl = &v - return s -} - -// SetTargetLkfs sets the TargetLkfs field's value. -func (s *AudioNormalizationSettings) SetTargetLkfs(v float64) *AudioNormalizationSettings { - s.TargetLkfs = &v +// SetSecurityGroup sets the SecurityGroup field's value. +func (s *CreateInputSecurityGroupOutput) SetSecurityGroup(v *InputSecurityGroup) *CreateInputSecurityGroupOutput { + s.SecurityGroup = v return s } -// Audio Only Hls Settings -type AudioOnlyHlsSettings struct { +type CreateMultiplexInput struct { _ struct{} `type:"structure"` - // Specifies the group to which the audio Rendition belongs. - AudioGroupId *string `locationName:"audioGroupId" type:"string"` + // AvailabilityZones is a required field + AvailabilityZones []*string `locationName:"availabilityZones" type:"list" required:"true"` - // Optional. Specifies the .jpg or .png image to use as the cover art for an - // audio-only output. We recommend a low bit-size file because the image increases - // the output audio bandwidth.The image is attached to the audio as an ID3 tag, - // frame type APIC, picture type 0x10, as per the "ID3 tag version 2.4.0 - Native - // Frames" standard. - AudioOnlyImage *InputLocation `locationName:"audioOnlyImage" type:"structure"` + // Contains configuration for a Multiplex event + // + // MultiplexSettings is a required field + MultiplexSettings *MultiplexSettings `locationName:"multiplexSettings" type:"structure" required:"true"` - // Four types of audio-only tracks are supported:Audio-Only Variant StreamThe - // client can play back this audio-only stream instead of video in low-bandwidth - // scenarios. Represented as an EXT-X-STREAM-INF in the HLS manifest.Alternate - // Audio, Auto Select, DefaultAlternate rendition that the client should try - // to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest - // with DEFAULT=YES, AUTOSELECT=YESAlternate Audio, Auto Select, Not DefaultAlternate - // rendition that the client may try to play back by default. Represented as - // an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=YESAlternate - // Audio, not Auto SelectAlternate rendition that the client will not try to - // play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with - // DEFAULT=NO, AUTOSELECT=NO - AudioTrackType *string `locationName:"audioTrackType" type:"string" enum:"AudioOnlyHlsTrackType"` + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` - // Specifies the segment type. - SegmentType *string `locationName:"segmentType" type:"string" enum:"AudioOnlyHlsSegmentType"` + RequestId *string `locationName:"requestId" type:"string" idempotencyToken:"true"` + + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -7845,7 +15593,7 @@ type AudioOnlyHlsSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioOnlyHlsSettings) String() string { +func (s CreateMultiplexInput) String() string { return awsutil.Prettify(s) } @@ -7854,16 +15602,25 @@ func (s AudioOnlyHlsSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioOnlyHlsSettings) GoString() string { +func (s CreateMultiplexInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AudioOnlyHlsSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AudioOnlyHlsSettings"} - if s.AudioOnlyImage != nil { - if err := s.AudioOnlyImage.Validate(); err != nil { - invalidParams.AddNested("AudioOnlyImage", err.(request.ErrInvalidParams)) +func (s *CreateMultiplexInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateMultiplexInput"} + if s.AvailabilityZones == nil { + invalidParams.Add(request.NewErrParamRequired("AvailabilityZones")) + } + if s.MultiplexSettings == nil { + invalidParams.Add(request.NewErrParamRequired("MultiplexSettings")) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.MultiplexSettings != nil { + if err := s.MultiplexSettings.Validate(); err != nil { + invalidParams.AddNested("MultiplexSettings", err.(request.ErrInvalidParams)) } } @@ -7873,38 +15630,41 @@ func (s *AudioOnlyHlsSettings) Validate() error { return nil } -// SetAudioGroupId sets the AudioGroupId field's value. -func (s *AudioOnlyHlsSettings) SetAudioGroupId(v string) *AudioOnlyHlsSettings { - s.AudioGroupId = &v +// SetAvailabilityZones sets the AvailabilityZones field's value. +func (s *CreateMultiplexInput) SetAvailabilityZones(v []*string) *CreateMultiplexInput { + s.AvailabilityZones = v return s } -// SetAudioOnlyImage sets the AudioOnlyImage field's value. -func (s *AudioOnlyHlsSettings) SetAudioOnlyImage(v *InputLocation) *AudioOnlyHlsSettings { - s.AudioOnlyImage = v +// SetMultiplexSettings sets the MultiplexSettings field's value. +func (s *CreateMultiplexInput) SetMultiplexSettings(v *MultiplexSettings) *CreateMultiplexInput { + s.MultiplexSettings = v return s } -// SetAudioTrackType sets the AudioTrackType field's value. -func (s *AudioOnlyHlsSettings) SetAudioTrackType(v string) *AudioOnlyHlsSettings { - s.AudioTrackType = &v +// SetName sets the Name field's value. +func (s *CreateMultiplexInput) SetName(v string) *CreateMultiplexInput { + s.Name = &v return s } -// SetSegmentType sets the SegmentType field's value. -func (s *AudioOnlyHlsSettings) SetSegmentType(v string) *AudioOnlyHlsSettings { - s.SegmentType = &v +// SetRequestId sets the RequestId field's value. +func (s *CreateMultiplexInput) SetRequestId(v string) *CreateMultiplexInput { + s.RequestId = &v return s } -// Audio Pid Selection -type AudioPidSelection struct { +// SetTags sets the Tags field's value. +func (s *CreateMultiplexInput) SetTags(v map[string]*string) *CreateMultiplexInput { + s.Tags = v + return s +} + +type CreateMultiplexOutput struct { _ struct{} `type:"structure"` - // Selects a specific PID from within a source. - // - // Pid is a required field - Pid *int64 `locationName:"pid" type:"integer" required:"true"` + // The multiplex object. + Multiplex *Multiplex `locationName:"multiplex" type:"structure"` } // String returns the string representation. @@ -7912,7 +15672,7 @@ type AudioPidSelection struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioPidSelection) String() string { +func (s CreateMultiplexOutput) String() string { return awsutil.Prettify(s) } @@ -7921,41 +15681,31 @@ func (s AudioPidSelection) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioPidSelection) GoString() string { +func (s CreateMultiplexOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *AudioPidSelection) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AudioPidSelection"} - if s.Pid == nil { - invalidParams.Add(request.NewErrParamRequired("Pid")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetPid sets the Pid field's value. -func (s *AudioPidSelection) SetPid(v int64) *AudioPidSelection { - s.Pid = &v +// SetMultiplex sets the Multiplex field's value. +func (s *CreateMultiplexOutput) SetMultiplex(v *Multiplex) *CreateMultiplexOutput { + s.Multiplex = v return s } -// Audio Selector -type AudioSelector struct { +type CreateMultiplexProgramInput struct { _ struct{} `type:"structure"` - // The name of this AudioSelector. AudioDescriptions will use this name to uniquely - // identify this Selector. Selector names should be unique per input. + // MultiplexId is a required field + MultiplexId *string `location:"uri" locationName:"multiplexId" type:"string" required:"true"` + + // Multiplex Program settings configuration. // - // Name is a required field - Name *string `locationName:"name" min:"1" type:"string" required:"true"` + // MultiplexProgramSettings is a required field + MultiplexProgramSettings *MultiplexProgramSettings `locationName:"multiplexProgramSettings" type:"structure" required:"true"` - // The audio selector settings. - SelectorSettings *AudioSelectorSettings `locationName:"selectorSettings" type:"structure"` + // ProgramName is a required field + ProgramName *string `locationName:"programName" type:"string" required:"true"` + + RequestId *string `locationName:"requestId" type:"string" idempotencyToken:"true"` } // String returns the string representation. @@ -7963,7 +15713,7 @@ type AudioSelector struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioSelector) String() string { +func (s CreateMultiplexProgramInput) String() string { return awsutil.Prettify(s) } @@ -7972,22 +15722,28 @@ func (s AudioSelector) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioSelector) GoString() string { +func (s CreateMultiplexProgramInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AudioSelector) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AudioSelector"} - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) +func (s *CreateMultiplexProgramInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateMultiplexProgramInput"} + if s.MultiplexId == nil { + invalidParams.Add(request.NewErrParamRequired("MultiplexId")) } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) } - if s.SelectorSettings != nil { - if err := s.SelectorSettings.Validate(); err != nil { - invalidParams.AddNested("SelectorSettings", err.(request.ErrInvalidParams)) + if s.MultiplexProgramSettings == nil { + invalidParams.Add(request.NewErrParamRequired("MultiplexProgramSettings")) + } + if s.ProgramName == nil { + invalidParams.Add(request.NewErrParamRequired("ProgramName")) + } + if s.MultiplexProgramSettings != nil { + if err := s.MultiplexProgramSettings.Validate(); err != nil { + invalidParams.AddNested("MultiplexProgramSettings", err.(request.ErrInvalidParams)) } } @@ -7997,33 +15753,35 @@ func (s *AudioSelector) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *AudioSelector) SetName(v string) *AudioSelector { - s.Name = &v +// SetMultiplexId sets the MultiplexId field's value. +func (s *CreateMultiplexProgramInput) SetMultiplexId(v string) *CreateMultiplexProgramInput { + s.MultiplexId = &v return s } -// SetSelectorSettings sets the SelectorSettings field's value. -func (s *AudioSelector) SetSelectorSettings(v *AudioSelectorSettings) *AudioSelector { - s.SelectorSettings = v +// SetMultiplexProgramSettings sets the MultiplexProgramSettings field's value. +func (s *CreateMultiplexProgramInput) SetMultiplexProgramSettings(v *MultiplexProgramSettings) *CreateMultiplexProgramInput { + s.MultiplexProgramSettings = v return s } -// Audio Selector Settings -type AudioSelectorSettings struct { - _ struct{} `type:"structure"` - - // Audio Hls Rendition Selection - AudioHlsRenditionSelection *AudioHlsRenditionSelection `locationName:"audioHlsRenditionSelection" type:"structure"` +// SetProgramName sets the ProgramName field's value. +func (s *CreateMultiplexProgramInput) SetProgramName(v string) *CreateMultiplexProgramInput { + s.ProgramName = &v + return s +} - // Audio Language Selection - AudioLanguageSelection *AudioLanguageSelection `locationName:"audioLanguageSelection" type:"structure"` +// SetRequestId sets the RequestId field's value. +func (s *CreateMultiplexProgramInput) SetRequestId(v string) *CreateMultiplexProgramInput { + s.RequestId = &v + return s +} - // Audio Pid Selection - AudioPidSelection *AudioPidSelection `locationName:"audioPidSelection" type:"structure"` +type CreateMultiplexProgramOutput struct { + _ struct{} `type:"structure"` - // Audio Track Selection - AudioTrackSelection *AudioTrackSelection `locationName:"audioTrackSelection" type:"structure"` + // The multiplex program object. + MultiplexProgram *MultiplexProgram `locationName:"multiplexProgram" type:"structure"` } // String returns the string representation. @@ -8031,7 +15789,7 @@ type AudioSelectorSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioSelectorSettings) String() string { +func (s CreateMultiplexProgramOutput) String() string { return awsutil.Prettify(s) } @@ -8040,78 +15798,25 @@ func (s AudioSelectorSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioSelectorSettings) GoString() string { +func (s CreateMultiplexProgramOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *AudioSelectorSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AudioSelectorSettings"} - if s.AudioHlsRenditionSelection != nil { - if err := s.AudioHlsRenditionSelection.Validate(); err != nil { - invalidParams.AddNested("AudioHlsRenditionSelection", err.(request.ErrInvalidParams)) - } - } - if s.AudioLanguageSelection != nil { - if err := s.AudioLanguageSelection.Validate(); err != nil { - invalidParams.AddNested("AudioLanguageSelection", err.(request.ErrInvalidParams)) - } - } - if s.AudioPidSelection != nil { - if err := s.AudioPidSelection.Validate(); err != nil { - invalidParams.AddNested("AudioPidSelection", err.(request.ErrInvalidParams)) - } - } - if s.AudioTrackSelection != nil { - if err := s.AudioTrackSelection.Validate(); err != nil { - invalidParams.AddNested("AudioTrackSelection", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAudioHlsRenditionSelection sets the AudioHlsRenditionSelection field's value. -func (s *AudioSelectorSettings) SetAudioHlsRenditionSelection(v *AudioHlsRenditionSelection) *AudioSelectorSettings { - s.AudioHlsRenditionSelection = v - return s -} - -// SetAudioLanguageSelection sets the AudioLanguageSelection field's value. -func (s *AudioSelectorSettings) SetAudioLanguageSelection(v *AudioLanguageSelection) *AudioSelectorSettings { - s.AudioLanguageSelection = v - return s -} - -// SetAudioPidSelection sets the AudioPidSelection field's value. -func (s *AudioSelectorSettings) SetAudioPidSelection(v *AudioPidSelection) *AudioSelectorSettings { - s.AudioPidSelection = v - return s -} - -// SetAudioTrackSelection sets the AudioTrackSelection field's value. -func (s *AudioSelectorSettings) SetAudioTrackSelection(v *AudioTrackSelection) *AudioSelectorSettings { - s.AudioTrackSelection = v +// SetMultiplexProgram sets the MultiplexProgram field's value. +func (s *CreateMultiplexProgramOutput) SetMultiplexProgram(v *MultiplexProgram) *CreateMultiplexProgramOutput { + s.MultiplexProgram = v return s } -type AudioSilenceFailoverSettings struct { +type CreatePartnerInputInput struct { _ struct{} `type:"structure"` - // The name of the audio selector in the input that MediaLive should monitor - // to detect silence. Select your most important rendition. If you didn't create - // an audio selector in this input, leave blank. - // - // AudioSelectorName is a required field - AudioSelectorName *string `locationName:"audioSelectorName" type:"string" required:"true"` + // InputId is a required field + InputId *string `location:"uri" locationName:"inputId" type:"string" required:"true"` - // The amount of time (in milliseconds) that the active input must be silent - // before automatic input failover occurs. Silence is defined as audio loss - // or audio quieter than -50 dBFS. - AudioSilenceThresholdMsec *int64 `locationName:"audioSilenceThresholdMsec" min:"1000" type:"integer"` + RequestId *string `locationName:"requestId" type:"string" idempotencyToken:"true"` + + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -8119,7 +15824,7 @@ type AudioSilenceFailoverSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioSilenceFailoverSettings) String() string { +func (s CreatePartnerInputInput) String() string { return awsutil.Prettify(s) } @@ -8128,18 +15833,18 @@ func (s AudioSilenceFailoverSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioSilenceFailoverSettings) GoString() string { +func (s CreatePartnerInputInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AudioSilenceFailoverSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AudioSilenceFailoverSettings"} - if s.AudioSelectorName == nil { - invalidParams.Add(request.NewErrParamRequired("AudioSelectorName")) +func (s *CreatePartnerInputInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreatePartnerInputInput"} + if s.InputId == nil { + invalidParams.Add(request.NewErrParamRequired("InputId")) } - if s.AudioSilenceThresholdMsec != nil && *s.AudioSilenceThresholdMsec < 1000 { - invalidParams.Add(request.NewErrParamMinValue("AudioSilenceThresholdMsec", 1000)) + if s.InputId != nil && len(*s.InputId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InputId", 1)) } if invalidParams.Len() > 0 { @@ -8148,26 +15853,28 @@ func (s *AudioSilenceFailoverSettings) Validate() error { return nil } -// SetAudioSelectorName sets the AudioSelectorName field's value. -func (s *AudioSilenceFailoverSettings) SetAudioSelectorName(v string) *AudioSilenceFailoverSettings { - s.AudioSelectorName = &v +// SetInputId sets the InputId field's value. +func (s *CreatePartnerInputInput) SetInputId(v string) *CreatePartnerInputInput { + s.InputId = &v return s } -// SetAudioSilenceThresholdMsec sets the AudioSilenceThresholdMsec field's value. -func (s *AudioSilenceFailoverSettings) SetAudioSilenceThresholdMsec(v int64) *AudioSilenceFailoverSettings { - s.AudioSilenceThresholdMsec = &v +// SetRequestId sets the RequestId field's value. +func (s *CreatePartnerInputInput) SetRequestId(v string) *CreatePartnerInputInput { + s.RequestId = &v return s } -// Audio Track -type AudioTrack struct { +// SetTags sets the Tags field's value. +func (s *CreatePartnerInputInput) SetTags(v map[string]*string) *CreatePartnerInputInput { + s.Tags = v + return s +} + +type CreatePartnerInputOutput struct { _ struct{} `type:"structure"` - // 1-based integer value that maps to a specific audio track - // - // Track is a required field - Track *int64 `locationName:"track" min:"1" type:"integer" required:"true"` + Input *Input `locationName:"input" type:"structure"` } // String returns the string representation. @@ -8175,7 +15882,7 @@ type AudioTrack struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioTrack) String() string { +func (s CreatePartnerInputOutput) String() string { return awsutil.Prettify(s) } @@ -8184,44 +15891,33 @@ func (s AudioTrack) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioTrack) GoString() string { +func (s CreatePartnerInputOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *AudioTrack) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AudioTrack"} - if s.Track == nil { - invalidParams.Add(request.NewErrParamRequired("Track")) - } - if s.Track != nil && *s.Track < 1 { - invalidParams.Add(request.NewErrParamMinValue("Track", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetTrack sets the Track field's value. -func (s *AudioTrack) SetTrack(v int64) *AudioTrack { - s.Track = &v +// SetInput sets the Input field's value. +func (s *CreatePartnerInputOutput) SetInput(v *Input) *CreatePartnerInputOutput { + s.Input = v return s } -// Audio Track Selection -type AudioTrackSelection struct { +type CreateSignalMapInput struct { _ struct{} `type:"structure"` - // Configure decoding options for Dolby E streams - these should be Dolby E - // frames carried in PCM streams tagged with SMPTE-337 - DolbyEDecode *AudioDolbyEDecode `locationName:"dolbyEDecode" type:"structure"` + CloudWatchAlarmTemplateGroupIdentifiers []*string `locationName:"cloudWatchAlarmTemplateGroupIdentifiers" type:"list"` - // Selects one or more unique audio tracks from within a source. - // - // Tracks is a required field - Tracks []*AudioTrack `locationName:"tracks" type:"list" required:"true"` + Description *string `locationName:"description" type:"string"` + + // DiscoveryEntryPointArn is a required field + DiscoveryEntryPointArn *string `locationName:"discoveryEntryPointArn" min:"1" type:"string" required:"true"` + + EventBridgeRuleTemplateGroupIdentifiers []*string `locationName:"eventBridgeRuleTemplateGroupIdentifiers" type:"list"` + + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // Represents the tags associated with a resource. + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -8229,7 +15925,7 @@ type AudioTrackSelection struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioTrackSelection) String() string { +func (s CreateSignalMapInput) String() string { return awsutil.Prettify(s) } @@ -8238,30 +15934,24 @@ func (s AudioTrackSelection) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AudioTrackSelection) GoString() string { +func (s CreateSignalMapInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AudioTrackSelection) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AudioTrackSelection"} - if s.Tracks == nil { - invalidParams.Add(request.NewErrParamRequired("Tracks")) +func (s *CreateSignalMapInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateSignalMapInput"} + if s.DiscoveryEntryPointArn == nil { + invalidParams.Add(request.NewErrParamRequired("DiscoveryEntryPointArn")) } - if s.DolbyEDecode != nil { - if err := s.DolbyEDecode.Validate(); err != nil { - invalidParams.AddNested("DolbyEDecode", err.(request.ErrInvalidParams)) - } + if s.DiscoveryEntryPointArn != nil && len(*s.DiscoveryEntryPointArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DiscoveryEntryPointArn", 1)) } - if s.Tracks != nil { - for i, v := range s.Tracks { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tracks", i), err.(request.ErrInvalidParams)) - } - } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) } if invalidParams.Len() > 0 { @@ -8270,88 +15960,87 @@ func (s *AudioTrackSelection) Validate() error { return nil } -// SetDolbyEDecode sets the DolbyEDecode field's value. -func (s *AudioTrackSelection) SetDolbyEDecode(v *AudioDolbyEDecode) *AudioTrackSelection { - s.DolbyEDecode = v +// SetCloudWatchAlarmTemplateGroupIdentifiers sets the CloudWatchAlarmTemplateGroupIdentifiers field's value. +func (s *CreateSignalMapInput) SetCloudWatchAlarmTemplateGroupIdentifiers(v []*string) *CreateSignalMapInput { + s.CloudWatchAlarmTemplateGroupIdentifiers = v return s } -// SetTracks sets the Tracks field's value. -func (s *AudioTrackSelection) SetTracks(v []*AudioTrack) *AudioTrackSelection { - s.Tracks = v +// SetDescription sets the Description field's value. +func (s *CreateSignalMapInput) SetDescription(v string) *CreateSignalMapInput { + s.Description = &v return s } -// Audio Watermark Settings -type AudioWatermarkSettings struct { - _ struct{} `type:"structure"` - - // Settings to configure Nielsen Watermarks in the audio encode - NielsenWatermarksSettings *NielsenWatermarksSettings `locationName:"nielsenWatermarksSettings" type:"structure"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AudioWatermarkSettings) String() string { - return awsutil.Prettify(s) +// SetDiscoveryEntryPointArn sets the DiscoveryEntryPointArn field's value. +func (s *CreateSignalMapInput) SetDiscoveryEntryPointArn(v string) *CreateSignalMapInput { + s.DiscoveryEntryPointArn = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AudioWatermarkSettings) GoString() string { - return s.String() +// SetEventBridgeRuleTemplateGroupIdentifiers sets the EventBridgeRuleTemplateGroupIdentifiers field's value. +func (s *CreateSignalMapInput) SetEventBridgeRuleTemplateGroupIdentifiers(v []*string) *CreateSignalMapInput { + s.EventBridgeRuleTemplateGroupIdentifiers = v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *AudioWatermarkSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AudioWatermarkSettings"} - if s.NielsenWatermarksSettings != nil { - if err := s.NielsenWatermarksSettings.Validate(); err != nil { - invalidParams.AddNested("NielsenWatermarksSettings", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetName sets the Name field's value. +func (s *CreateSignalMapInput) SetName(v string) *CreateSignalMapInput { + s.Name = &v + return s } -// SetNielsenWatermarksSettings sets the NielsenWatermarksSettings field's value. -func (s *AudioWatermarkSettings) SetNielsenWatermarksSettings(v *NielsenWatermarksSettings) *AudioWatermarkSettings { - s.NielsenWatermarksSettings = v +// SetTags sets the Tags field's value. +func (s *CreateSignalMapInput) SetTags(v map[string]*string) *CreateSignalMapInput { + s.Tags = v return s } -// The settings for Automatic Input Failover. -type AutomaticInputFailoverSettings struct { +type CreateSignalMapOutput struct { _ struct{} `type:"structure"` - // This clear time defines the requirement a recovered input must meet to be - // considered healthy. The input must have no failover conditions for this length - // of time. Enter a time in milliseconds. This value is particularly important - // if the input_preference for the failover pair is set to PRIMARY_INPUT_PREFERRED, - // because after this time, MediaLive will switch back to the primary input. - ErrorClearTimeMsec *int64 `locationName:"errorClearTimeMsec" min:"1" type:"integer"` + Arn *string `locationName:"arn" type:"string"` - // A list of failover conditions. If any of these conditions occur, MediaLive - // will perform a failover to the other input. - FailoverConditions []*FailoverCondition `locationName:"failoverConditions" type:"list"` + CloudWatchAlarmTemplateGroupIds []*string `locationName:"cloudWatchAlarmTemplateGroupIds" type:"list"` - // Input preference when deciding which input to make active when a previously - // failed input has recovered. - InputPreference *string `locationName:"inputPreference" type:"string" enum:"InputPreference"` + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` - // The input ID of the secondary input in the automatic input failover pair. - // - // SecondaryInputId is a required field - SecondaryInputId *string `locationName:"secondaryInputId" type:"string" required:"true"` + Description *string `locationName:"description" type:"string"` + + DiscoveryEntryPointArn *string `locationName:"discoveryEntryPointArn" min:"1" type:"string"` + + ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string"` + + EventBridgeRuleTemplateGroupIds []*string `locationName:"eventBridgeRuleTemplateGroupIds" type:"list"` + + // A map representing an incomplete AWS media workflow as a graph. + FailedMediaResourceMap map[string]*MediaResource `locationName:"failedMediaResourceMap" type:"map"` + + Id *string `locationName:"id" min:"7" type:"string"` + + LastDiscoveredAt *time.Time `locationName:"lastDiscoveredAt" type:"timestamp" timestampFormat:"iso8601"` + + // Represents the latest successful monitor deployment of a signal map. + LastSuccessfulMonitorDeployment *SuccessfulMonitorDeployment `locationName:"lastSuccessfulMonitorDeployment" type:"structure"` + + // A map representing an AWS media workflow as a graph. + MediaResourceMap map[string]*MediaResource `locationName:"mediaResourceMap" type:"map"` + + ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp" timestampFormat:"iso8601"` + + MonitorChangesPendingDeployment *bool `locationName:"monitorChangesPendingDeployment" type:"boolean"` + + // Represents the latest monitor deployment of a signal map. + MonitorDeployment *MonitorDeployment `locationName:"monitorDeployment" type:"structure"` + + Name *string `locationName:"name" min:"1" type:"string"` + + // A signal map's current status which is dependent on its lifecycle actions + // or associated jobs. + Status *string `locationName:"status" type:"string" enum:"SignalMapStatus"` + + // Represents the tags associated with a resource. + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -8359,7 +16048,7 @@ type AutomaticInputFailoverSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AutomaticInputFailoverSettings) String() string { +func (s CreateSignalMapOutput) String() string { return awsutil.Prettify(s) } @@ -8368,71 +16057,125 @@ func (s AutomaticInputFailoverSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AutomaticInputFailoverSettings) GoString() string { +func (s CreateSignalMapOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *AutomaticInputFailoverSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AutomaticInputFailoverSettings"} - if s.ErrorClearTimeMsec != nil && *s.ErrorClearTimeMsec < 1 { - invalidParams.Add(request.NewErrParamMinValue("ErrorClearTimeMsec", 1)) - } - if s.SecondaryInputId == nil { - invalidParams.Add(request.NewErrParamRequired("SecondaryInputId")) - } - if s.FailoverConditions != nil { - for i, v := range s.FailoverConditions { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "FailoverConditions", i), err.(request.ErrInvalidParams)) - } - } - } +// SetArn sets the Arn field's value. +func (s *CreateSignalMapOutput) SetArn(v string) *CreateSignalMapOutput { + s.Arn = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetCloudWatchAlarmTemplateGroupIds sets the CloudWatchAlarmTemplateGroupIds field's value. +func (s *CreateSignalMapOutput) SetCloudWatchAlarmTemplateGroupIds(v []*string) *CreateSignalMapOutput { + s.CloudWatchAlarmTemplateGroupIds = v + return s } -// SetErrorClearTimeMsec sets the ErrorClearTimeMsec field's value. -func (s *AutomaticInputFailoverSettings) SetErrorClearTimeMsec(v int64) *AutomaticInputFailoverSettings { - s.ErrorClearTimeMsec = &v +// SetCreatedAt sets the CreatedAt field's value. +func (s *CreateSignalMapOutput) SetCreatedAt(v time.Time) *CreateSignalMapOutput { + s.CreatedAt = &v return s } -// SetFailoverConditions sets the FailoverConditions field's value. -func (s *AutomaticInputFailoverSettings) SetFailoverConditions(v []*FailoverCondition) *AutomaticInputFailoverSettings { - s.FailoverConditions = v +// SetDescription sets the Description field's value. +func (s *CreateSignalMapOutput) SetDescription(v string) *CreateSignalMapOutput { + s.Description = &v return s } -// SetInputPreference sets the InputPreference field's value. -func (s *AutomaticInputFailoverSettings) SetInputPreference(v string) *AutomaticInputFailoverSettings { - s.InputPreference = &v +// SetDiscoveryEntryPointArn sets the DiscoveryEntryPointArn field's value. +func (s *CreateSignalMapOutput) SetDiscoveryEntryPointArn(v string) *CreateSignalMapOutput { + s.DiscoveryEntryPointArn = &v return s } -// SetSecondaryInputId sets the SecondaryInputId field's value. -func (s *AutomaticInputFailoverSettings) SetSecondaryInputId(v string) *AutomaticInputFailoverSettings { - s.SecondaryInputId = &v +// SetErrorMessage sets the ErrorMessage field's value. +func (s *CreateSignalMapOutput) SetErrorMessage(v string) *CreateSignalMapOutput { + s.ErrorMessage = &v return s } -// Avail Blanking -type AvailBlanking struct { +// SetEventBridgeRuleTemplateGroupIds sets the EventBridgeRuleTemplateGroupIds field's value. +func (s *CreateSignalMapOutput) SetEventBridgeRuleTemplateGroupIds(v []*string) *CreateSignalMapOutput { + s.EventBridgeRuleTemplateGroupIds = v + return s +} + +// SetFailedMediaResourceMap sets the FailedMediaResourceMap field's value. +func (s *CreateSignalMapOutput) SetFailedMediaResourceMap(v map[string]*MediaResource) *CreateSignalMapOutput { + s.FailedMediaResourceMap = v + return s +} + +// SetId sets the Id field's value. +func (s *CreateSignalMapOutput) SetId(v string) *CreateSignalMapOutput { + s.Id = &v + return s +} + +// SetLastDiscoveredAt sets the LastDiscoveredAt field's value. +func (s *CreateSignalMapOutput) SetLastDiscoveredAt(v time.Time) *CreateSignalMapOutput { + s.LastDiscoveredAt = &v + return s +} + +// SetLastSuccessfulMonitorDeployment sets the LastSuccessfulMonitorDeployment field's value. +func (s *CreateSignalMapOutput) SetLastSuccessfulMonitorDeployment(v *SuccessfulMonitorDeployment) *CreateSignalMapOutput { + s.LastSuccessfulMonitorDeployment = v + return s +} + +// SetMediaResourceMap sets the MediaResourceMap field's value. +func (s *CreateSignalMapOutput) SetMediaResourceMap(v map[string]*MediaResource) *CreateSignalMapOutput { + s.MediaResourceMap = v + return s +} + +// SetModifiedAt sets the ModifiedAt field's value. +func (s *CreateSignalMapOutput) SetModifiedAt(v time.Time) *CreateSignalMapOutput { + s.ModifiedAt = &v + return s +} + +// SetMonitorChangesPendingDeployment sets the MonitorChangesPendingDeployment field's value. +func (s *CreateSignalMapOutput) SetMonitorChangesPendingDeployment(v bool) *CreateSignalMapOutput { + s.MonitorChangesPendingDeployment = &v + return s +} + +// SetMonitorDeployment sets the MonitorDeployment field's value. +func (s *CreateSignalMapOutput) SetMonitorDeployment(v *MonitorDeployment) *CreateSignalMapOutput { + s.MonitorDeployment = v + return s +} + +// SetName sets the Name field's value. +func (s *CreateSignalMapOutput) SetName(v string) *CreateSignalMapOutput { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateSignalMapOutput) SetStatus(v string) *CreateSignalMapOutput { + s.Status = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateSignalMapOutput) SetTags(v map[string]*string) *CreateSignalMapOutput { + s.Tags = v + return s +} + +type CreateTagsInput struct { _ struct{} `type:"structure"` - // Blanking image to be used. Leave empty for solid black. Only bmp and png - // images are supported. - AvailBlankingImage *InputLocation `locationName:"availBlankingImage" type:"structure"` + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"` - // When set to enabled, causes video, audio and captions to be blanked when - // insertion metadata is added. - State *string `locationName:"state" type:"string" enum:"AvailBlankingState"` + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -8440,7 +16183,7 @@ type AvailBlanking struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AvailBlanking) String() string { +func (s CreateTagsInput) String() string { return awsutil.Prettify(s) } @@ -8449,17 +16192,18 @@ func (s AvailBlanking) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AvailBlanking) GoString() string { +func (s CreateTagsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AvailBlanking) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AvailBlanking"} - if s.AvailBlankingImage != nil { - if err := s.AvailBlankingImage.Validate(); err != nil { - invalidParams.AddNested("AvailBlankingImage", err.(request.ErrInvalidParams)) - } +func (s *CreateTagsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateTagsInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) } if invalidParams.Len() > 0 { @@ -8468,27 +16212,20 @@ func (s *AvailBlanking) Validate() error { return nil } -// SetAvailBlankingImage sets the AvailBlankingImage field's value. -func (s *AvailBlanking) SetAvailBlankingImage(v *InputLocation) *AvailBlanking { - s.AvailBlankingImage = v +// SetResourceArn sets the ResourceArn field's value. +func (s *CreateTagsInput) SetResourceArn(v string) *CreateTagsInput { + s.ResourceArn = &v return s } -// SetState sets the State field's value. -func (s *AvailBlanking) SetState(v string) *AvailBlanking { - s.State = &v +// SetTags sets the Tags field's value. +func (s *CreateTagsInput) SetTags(v map[string]*string) *CreateTagsInput { + s.Tags = v return s } -// Avail Configuration -type AvailConfiguration struct { +type CreateTagsOutput struct { _ struct{} `type:"structure"` - - // Controls how SCTE-35 messages create cues. Splice Insert mode treats all - // segmentation signals traditionally. With Time Signal APOS mode only Time - // Signal Placement Opportunity and Break messages create segment breaks. With - // ESAM mode, signals are forwarded to an ESAM server for possible update. - AvailSettings *AvailSettings `locationName:"availSettings" type:"structure"` } // String returns the string representation. @@ -8496,7 +16233,7 @@ type AvailConfiguration struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AvailConfiguration) String() string { +func (s CreateTagsOutput) String() string { return awsutil.Prettify(s) } @@ -8505,45 +16242,15 @@ func (s AvailConfiguration) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AvailConfiguration) GoString() string { +func (s CreateTagsOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *AvailConfiguration) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AvailConfiguration"} - if s.AvailSettings != nil { - if err := s.AvailSettings.Validate(); err != nil { - invalidParams.AddNested("AvailSettings", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAvailSettings sets the AvailSettings field's value. -func (s *AvailConfiguration) SetAvailSettings(v *AvailSettings) *AvailConfiguration { - s.AvailSettings = v - return s -} - -// Avail Settings -type AvailSettings struct { - _ struct{} `type:"structure"` - - // Esam - Esam *Esam `locationName:"esam" type:"structure"` - - // Typical configuration that applies breaks on splice inserts in addition to - // time signal placement opportunities, breaks, and advertisements. - Scte35SpliceInsert *Scte35SpliceInsert `locationName:"scte35SpliceInsert" type:"structure"` +type DeleteChannelInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // Atypical configuration that applies segment breaks only on SCTE-35 time signal - // placement opportunities and breaks. - Scte35TimeSignalApos *Scte35TimeSignalApos `locationName:"scte35TimeSignalApos" type:"structure"` + // ChannelId is a required field + ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` } // String returns the string representation. @@ -8551,7 +16258,7 @@ type AvailSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AvailSettings) String() string { +func (s DeleteChannelInput) String() string { return awsutil.Prettify(s) } @@ -8560,27 +16267,18 @@ func (s AvailSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AvailSettings) GoString() string { +func (s DeleteChannelInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AvailSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AvailSettings"} - if s.Esam != nil { - if err := s.Esam.Validate(); err != nil { - invalidParams.AddNested("Esam", err.(request.ErrInvalidParams)) - } - } - if s.Scte35SpliceInsert != nil { - if err := s.Scte35SpliceInsert.Validate(); err != nil { - invalidParams.AddNested("Scte35SpliceInsert", err.(request.ErrInvalidParams)) - } +func (s *DeleteChannelInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteChannelInput"} + if s.ChannelId == nil { + invalidParams.Add(request.NewErrParamRequired("ChannelId")) } - if s.Scte35TimeSignalApos != nil { - if err := s.Scte35TimeSignalApos.Validate(); err != nil { - invalidParams.AddNested("Scte35TimeSignalApos", err.(request.ErrInvalidParams)) - } + if s.ChannelId != nil && len(*s.ChannelId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) } if invalidParams.Len() > 0 { @@ -8589,29 +16287,55 @@ func (s *AvailSettings) Validate() error { return nil } -// SetEsam sets the Esam field's value. -func (s *AvailSettings) SetEsam(v *Esam) *AvailSettings { - s.Esam = v +// SetChannelId sets the ChannelId field's value. +func (s *DeleteChannelInput) SetChannelId(v string) *DeleteChannelInput { + s.ChannelId = &v return s } -// SetScte35SpliceInsert sets the Scte35SpliceInsert field's value. -func (s *AvailSettings) SetScte35SpliceInsert(v *Scte35SpliceInsert) *AvailSettings { - s.Scte35SpliceInsert = v - return s -} +type DeleteChannelOutput struct { + _ struct{} `type:"structure"` -// SetScte35TimeSignalApos sets the Scte35TimeSignalApos field's value. -func (s *AvailSettings) SetScte35TimeSignalApos(v *Scte35TimeSignalApos) *AvailSettings { - s.Scte35TimeSignalApos = v - return s -} + Arn *string `locationName:"arn" type:"string"` -type BadGatewayException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + CdiInputSpecification *CdiInputSpecification `locationName:"cdiInputSpecification" type:"structure"` - Message_ *string `locationName:"message" type:"string"` + // A standard channel has two encoding pipelines and a single pipeline channel + // only has one. + ChannelClass *string `locationName:"channelClass" type:"string" enum:"ChannelClass"` + + Destinations []*OutputDestination `locationName:"destinations" type:"list"` + + EgressEndpoints []*ChannelEgressEndpoint `locationName:"egressEndpoints" type:"list"` + + // Encoder Settings + EncoderSettings *EncoderSettings `locationName:"encoderSettings" type:"structure"` + + Id *string `locationName:"id" type:"string"` + + InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` + + InputSpecification *InputSpecification `locationName:"inputSpecification" type:"structure"` + + // The log level the user wants for their channel. + LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` + + Maintenance *MaintenanceStatus `locationName:"maintenance" type:"structure"` + + Name *string `locationName:"name" type:"string"` + + PipelineDetails []*PipelineDetail `locationName:"pipelineDetails" type:"list"` + + PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` + + RoleArn *string `locationName:"roleArn" type:"string"` + + State *string `locationName:"state" type:"string" enum:"ChannelState"` + + Tags map[string]*string `locationName:"tags" type:"map"` + + // The properties for a private VPC Output + Vpc *VpcOutputSettingsDescription `locationName:"vpc" type:"structure"` } // String returns the string representation. @@ -8619,7 +16343,7 @@ type BadGatewayException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BadGatewayException) String() string { +func (s DeleteChannelOutput) String() string { return awsutil.Prettify(s) } @@ -8628,121 +16352,123 @@ func (s BadGatewayException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BadGatewayException) GoString() string { +func (s DeleteChannelOutput) GoString() string { return s.String() } -func newErrorBadGatewayException(v protocol.ResponseMetadata) error { - return &BadGatewayException{ - RespMetadata: v, - } +// SetArn sets the Arn field's value. +func (s *DeleteChannelOutput) SetArn(v string) *DeleteChannelOutput { + s.Arn = &v + return s } -// Code returns the exception type name. -func (s *BadGatewayException) Code() string { - return "BadGatewayException" +// SetCdiInputSpecification sets the CdiInputSpecification field's value. +func (s *DeleteChannelOutput) SetCdiInputSpecification(v *CdiInputSpecification) *DeleteChannelOutput { + s.CdiInputSpecification = v + return s } -// Message returns the exception's message. -func (s *BadGatewayException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetChannelClass sets the ChannelClass field's value. +func (s *DeleteChannelOutput) SetChannelClass(v string) *DeleteChannelOutput { + s.ChannelClass = &v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *BadGatewayException) OrigErr() error { - return nil +// SetDestinations sets the Destinations field's value. +func (s *DeleteChannelOutput) SetDestinations(v []*OutputDestination) *DeleteChannelOutput { + s.Destinations = v + return s } -func (s *BadGatewayException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +// SetEgressEndpoints sets the EgressEndpoints field's value. +func (s *DeleteChannelOutput) SetEgressEndpoints(v []*ChannelEgressEndpoint) *DeleteChannelOutput { + s.EgressEndpoints = v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *BadGatewayException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetEncoderSettings sets the EncoderSettings field's value. +func (s *DeleteChannelOutput) SetEncoderSettings(v *EncoderSettings) *DeleteChannelOutput { + s.EncoderSettings = v + return s } -// RequestID returns the service's response RequestID for request. -func (s *BadGatewayException) RequestID() string { - return s.RespMetadata.RequestID +// SetId sets the Id field's value. +func (s *DeleteChannelOutput) SetId(v string) *DeleteChannelOutput { + s.Id = &v + return s } -type BadRequestException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - - Message_ *string `locationName:"message" type:"string"` +// SetInputAttachments sets the InputAttachments field's value. +func (s *DeleteChannelOutput) SetInputAttachments(v []*InputAttachment) *DeleteChannelOutput { + s.InputAttachments = v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s BadRequestException) String() string { - return awsutil.Prettify(s) +// SetInputSpecification sets the InputSpecification field's value. +func (s *DeleteChannelOutput) SetInputSpecification(v *InputSpecification) *DeleteChannelOutput { + s.InputSpecification = v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s BadRequestException) GoString() string { - return s.String() +// SetLogLevel sets the LogLevel field's value. +func (s *DeleteChannelOutput) SetLogLevel(v string) *DeleteChannelOutput { + s.LogLevel = &v + return s } -func newErrorBadRequestException(v protocol.ResponseMetadata) error { - return &BadRequestException{ - RespMetadata: v, - } +// SetMaintenance sets the Maintenance field's value. +func (s *DeleteChannelOutput) SetMaintenance(v *MaintenanceStatus) *DeleteChannelOutput { + s.Maintenance = v + return s } -// Code returns the exception type name. -func (s *BadRequestException) Code() string { - return "BadRequestException" +// SetName sets the Name field's value. +func (s *DeleteChannelOutput) SetName(v string) *DeleteChannelOutput { + s.Name = &v + return s } -// Message returns the exception's message. -func (s *BadRequestException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetPipelineDetails sets the PipelineDetails field's value. +func (s *DeleteChannelOutput) SetPipelineDetails(v []*PipelineDetail) *DeleteChannelOutput { + s.PipelineDetails = v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *BadRequestException) OrigErr() error { - return nil +// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. +func (s *DeleteChannelOutput) SetPipelinesRunningCount(v int64) *DeleteChannelOutput { + s.PipelinesRunningCount = &v + return s } -func (s *BadRequestException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +// SetRoleArn sets the RoleArn field's value. +func (s *DeleteChannelOutput) SetRoleArn(v string) *DeleteChannelOutput { + s.RoleArn = &v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *BadRequestException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetState sets the State field's value. +func (s *DeleteChannelOutput) SetState(v string) *DeleteChannelOutput { + s.State = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *BadRequestException) RequestID() string { - return s.RespMetadata.RequestID +// SetTags sets the Tags field's value. +func (s *DeleteChannelOutput) SetTags(v map[string]*string) *DeleteChannelOutput { + s.Tags = v + return s } -type BatchDeleteInput struct { - _ struct{} `type:"structure"` - - ChannelIds []*string `locationName:"channelIds" type:"list"` - - InputIds []*string `locationName:"inputIds" type:"list"` +// SetVpc sets the Vpc field's value. +func (s *DeleteChannelOutput) SetVpc(v *VpcOutputSettingsDescription) *DeleteChannelOutput { + s.Vpc = v + return s +} - InputSecurityGroupIds []*string `locationName:"inputSecurityGroupIds" type:"list"` +type DeleteCloudWatchAlarmTemplateGroupInput struct { + _ struct{} `type:"structure" nopayload:"true"` - MultiplexIds []*string `locationName:"multiplexIds" type:"list"` + // Identifier is a required field + Identifier *string `location:"uri" locationName:"identifier" type:"string" required:"true"` } // String returns the string representation. @@ -8750,7 +16476,7 @@ type BatchDeleteInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchDeleteInput) String() string { +func (s DeleteCloudWatchAlarmTemplateGroupInput) String() string { return awsutil.Prettify(s) } @@ -8759,40 +16485,34 @@ func (s BatchDeleteInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchDeleteInput) GoString() string { +func (s DeleteCloudWatchAlarmTemplateGroupInput) GoString() string { return s.String() } -// SetChannelIds sets the ChannelIds field's value. -func (s *BatchDeleteInput) SetChannelIds(v []*string) *BatchDeleteInput { - s.ChannelIds = v - return s -} - -// SetInputIds sets the InputIds field's value. -func (s *BatchDeleteInput) SetInputIds(v []*string) *BatchDeleteInput { - s.InputIds = v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteCloudWatchAlarmTemplateGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteCloudWatchAlarmTemplateGroupInput"} + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) + } + if s.Identifier != nil && len(*s.Identifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) + } -// SetInputSecurityGroupIds sets the InputSecurityGroupIds field's value. -func (s *BatchDeleteInput) SetInputSecurityGroupIds(v []*string) *BatchDeleteInput { - s.InputSecurityGroupIds = v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetMultiplexIds sets the MultiplexIds field's value. -func (s *BatchDeleteInput) SetMultiplexIds(v []*string) *BatchDeleteInput { - s.MultiplexIds = v +// SetIdentifier sets the Identifier field's value. +func (s *DeleteCloudWatchAlarmTemplateGroupInput) SetIdentifier(v string) *DeleteCloudWatchAlarmTemplateGroupInput { + s.Identifier = &v return s } -type BatchDeleteOutput struct { +type DeleteCloudWatchAlarmTemplateGroupOutput struct { _ struct{} `type:"structure"` - - Failed []*BatchFailedResultModel `locationName:"failed" type:"list"` - - Successful []*BatchSuccessfulResultModel `locationName:"successful" type:"list"` } // String returns the string representation. @@ -8800,7 +16520,7 @@ type BatchDeleteOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchDeleteOutput) String() string { +func (s DeleteCloudWatchAlarmTemplateGroupOutput) String() string { return awsutil.Prettify(s) } @@ -8809,37 +16529,15 @@ func (s BatchDeleteOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchDeleteOutput) GoString() string { +func (s DeleteCloudWatchAlarmTemplateGroupOutput) GoString() string { return s.String() } -// SetFailed sets the Failed field's value. -func (s *BatchDeleteOutput) SetFailed(v []*BatchFailedResultModel) *BatchDeleteOutput { - s.Failed = v - return s -} - -// SetSuccessful sets the Successful field's value. -func (s *BatchDeleteOutput) SetSuccessful(v []*BatchSuccessfulResultModel) *BatchDeleteOutput { - s.Successful = v - return s -} - -// Details from a failed operation -type BatchFailedResultModel struct { - _ struct{} `type:"structure"` - - // ARN of the resource - Arn *string `locationName:"arn" type:"string"` - - // Error code for the failed operation - Code *string `locationName:"code" type:"string"` - - // ID of the resource - Id *string `locationName:"id" type:"string"` +type DeleteCloudWatchAlarmTemplateInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // Error message for the failed operation - Message *string `locationName:"message" type:"string"` + // Identifier is a required field + Identifier *string `location:"uri" locationName:"identifier" type:"string" required:"true"` } // String returns the string representation. @@ -8847,7 +16545,7 @@ type BatchFailedResultModel struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchFailedResultModel) String() string { +func (s DeleteCloudWatchAlarmTemplateInput) String() string { return awsutil.Prettify(s) } @@ -8856,43 +16554,59 @@ func (s BatchFailedResultModel) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchFailedResultModel) GoString() string { +func (s DeleteCloudWatchAlarmTemplateInput) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *BatchFailedResultModel) SetArn(v string) *BatchFailedResultModel { - s.Arn = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteCloudWatchAlarmTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteCloudWatchAlarmTemplateInput"} + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) + } + if s.Identifier != nil && len(*s.Identifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetCode sets the Code field's value. -func (s *BatchFailedResultModel) SetCode(v string) *BatchFailedResultModel { - s.Code = &v +// SetIdentifier sets the Identifier field's value. +func (s *DeleteCloudWatchAlarmTemplateInput) SetIdentifier(v string) *DeleteCloudWatchAlarmTemplateInput { + s.Identifier = &v return s } -// SetId sets the Id field's value. -func (s *BatchFailedResultModel) SetId(v string) *BatchFailedResultModel { - s.Id = &v - return s +type DeleteCloudWatchAlarmTemplateOutput struct { + _ struct{} `type:"structure"` } -// SetMessage sets the Message field's value. -func (s *BatchFailedResultModel) SetMessage(v string) *BatchFailedResultModel { - s.Message = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteCloudWatchAlarmTemplateOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteCloudWatchAlarmTemplateOutput) GoString() string { + return s.String() } -// A list of schedule actions to create (in a request) or that have been created -// (in a response). -type BatchScheduleActionCreateRequest struct { - _ struct{} `type:"structure"` +type DeleteEventBridgeRuleTemplateGroupInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // A list of schedule actions to create. - // - // ScheduleActions is a required field - ScheduleActions []*ScheduleAction `locationName:"scheduleActions" type:"list" required:"true"` + // Identifier is a required field + Identifier *string `location:"uri" locationName:"identifier" type:"string" required:"true"` } // String returns the string representation. @@ -8900,7 +16614,7 @@ type BatchScheduleActionCreateRequest struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchScheduleActionCreateRequest) String() string { +func (s DeleteEventBridgeRuleTemplateGroupInput) String() string { return awsutil.Prettify(s) } @@ -8909,25 +16623,18 @@ func (s BatchScheduleActionCreateRequest) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchScheduleActionCreateRequest) GoString() string { +func (s DeleteEventBridgeRuleTemplateGroupInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *BatchScheduleActionCreateRequest) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "BatchScheduleActionCreateRequest"} - if s.ScheduleActions == nil { - invalidParams.Add(request.NewErrParamRequired("ScheduleActions")) +func (s *DeleteEventBridgeRuleTemplateGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteEventBridgeRuleTemplateGroupInput"} + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) } - if s.ScheduleActions != nil { - for i, v := range s.ScheduleActions { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ScheduleActions", i), err.(request.ErrInvalidParams)) - } - } + if s.Identifier != nil && len(*s.Identifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) } if invalidParams.Len() > 0 { @@ -8936,20 +16643,14 @@ func (s *BatchScheduleActionCreateRequest) Validate() error { return nil } -// SetScheduleActions sets the ScheduleActions field's value. -func (s *BatchScheduleActionCreateRequest) SetScheduleActions(v []*ScheduleAction) *BatchScheduleActionCreateRequest { - s.ScheduleActions = v +// SetIdentifier sets the Identifier field's value. +func (s *DeleteEventBridgeRuleTemplateGroupInput) SetIdentifier(v string) *DeleteEventBridgeRuleTemplateGroupInput { + s.Identifier = &v return s } -// List of actions that have been created in the schedule. -type BatchScheduleActionCreateResult struct { +type DeleteEventBridgeRuleTemplateGroupOutput struct { _ struct{} `type:"structure"` - - // List of actions that have been created in the schedule. - // - // ScheduleActions is a required field - ScheduleActions []*ScheduleAction `locationName:"scheduleActions" type:"list" required:"true"` } // String returns the string representation. @@ -8957,7 +16658,7 @@ type BatchScheduleActionCreateResult struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchScheduleActionCreateResult) String() string { +func (s DeleteEventBridgeRuleTemplateGroupOutput) String() string { return awsutil.Prettify(s) } @@ -8966,24 +16667,15 @@ func (s BatchScheduleActionCreateResult) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchScheduleActionCreateResult) GoString() string { +func (s DeleteEventBridgeRuleTemplateGroupOutput) GoString() string { return s.String() } -// SetScheduleActions sets the ScheduleActions field's value. -func (s *BatchScheduleActionCreateResult) SetScheduleActions(v []*ScheduleAction) *BatchScheduleActionCreateResult { - s.ScheduleActions = v - return s -} - -// A list of schedule actions to delete. -type BatchScheduleActionDeleteRequest struct { - _ struct{} `type:"structure"` +type DeleteEventBridgeRuleTemplateInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // A list of schedule actions to delete. - // - // ActionNames is a required field - ActionNames []*string `locationName:"actionNames" type:"list" required:"true"` + // Identifier is a required field + Identifier *string `location:"uri" locationName:"identifier" type:"string" required:"true"` } // String returns the string representation. @@ -8991,7 +16683,7 @@ type BatchScheduleActionDeleteRequest struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchScheduleActionDeleteRequest) String() string { +func (s DeleteEventBridgeRuleTemplateInput) String() string { return awsutil.Prettify(s) } @@ -9000,15 +16692,18 @@ func (s BatchScheduleActionDeleteRequest) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchScheduleActionDeleteRequest) GoString() string { +func (s DeleteEventBridgeRuleTemplateInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *BatchScheduleActionDeleteRequest) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "BatchScheduleActionDeleteRequest"} - if s.ActionNames == nil { - invalidParams.Add(request.NewErrParamRequired("ActionNames")) +func (s *DeleteEventBridgeRuleTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteEventBridgeRuleTemplateInput"} + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) + } + if s.Identifier != nil && len(*s.Identifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) } if invalidParams.Len() > 0 { @@ -9017,20 +16712,14 @@ func (s *BatchScheduleActionDeleteRequest) Validate() error { return nil } -// SetActionNames sets the ActionNames field's value. -func (s *BatchScheduleActionDeleteRequest) SetActionNames(v []*string) *BatchScheduleActionDeleteRequest { - s.ActionNames = v +// SetIdentifier sets the Identifier field's value. +func (s *DeleteEventBridgeRuleTemplateInput) SetIdentifier(v string) *DeleteEventBridgeRuleTemplateInput { + s.Identifier = &v return s } -// List of actions that have been deleted from the schedule. -type BatchScheduleActionDeleteResult struct { +type DeleteEventBridgeRuleTemplateOutput struct { _ struct{} `type:"structure"` - - // List of actions that have been deleted from the schedule. - // - // ScheduleActions is a required field - ScheduleActions []*ScheduleAction `locationName:"scheduleActions" type:"list" required:"true"` } // String returns the string representation. @@ -9038,7 +16727,7 @@ type BatchScheduleActionDeleteResult struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchScheduleActionDeleteResult) String() string { +func (s DeleteEventBridgeRuleTemplateOutput) String() string { return awsutil.Prettify(s) } @@ -9047,22 +16736,15 @@ func (s BatchScheduleActionDeleteResult) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchScheduleActionDeleteResult) GoString() string { +func (s DeleteEventBridgeRuleTemplateOutput) GoString() string { return s.String() } -// SetScheduleActions sets the ScheduleActions field's value. -func (s *BatchScheduleActionDeleteResult) SetScheduleActions(v []*ScheduleAction) *BatchScheduleActionDeleteResult { - s.ScheduleActions = v - return s -} - -type BatchStartInput struct { - _ struct{} `type:"structure"` - - ChannelIds []*string `locationName:"channelIds" type:"list"` +type DeleteInputInput struct { + _ struct{} `type:"structure" nopayload:"true"` - MultiplexIds []*string `locationName:"multiplexIds" type:"list"` + // InputId is a required field + InputId *string `location:"uri" locationName:"inputId" type:"string" required:"true"` } // String returns the string representation. @@ -9070,7 +16752,7 @@ type BatchStartInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchStartInput) String() string { +func (s DeleteInputInput) String() string { return awsutil.Prettify(s) } @@ -9079,28 +16761,34 @@ func (s BatchStartInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchStartInput) GoString() string { +func (s DeleteInputInput) GoString() string { return s.String() } -// SetChannelIds sets the ChannelIds field's value. -func (s *BatchStartInput) SetChannelIds(v []*string) *BatchStartInput { - s.ChannelIds = v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteInputInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteInputInput"} + if s.InputId == nil { + invalidParams.Add(request.NewErrParamRequired("InputId")) + } + if s.InputId != nil && len(*s.InputId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InputId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetMultiplexIds sets the MultiplexIds field's value. -func (s *BatchStartInput) SetMultiplexIds(v []*string) *BatchStartInput { - s.MultiplexIds = v +// SetInputId sets the InputId field's value. +func (s *DeleteInputInput) SetInputId(v string) *DeleteInputInput { + s.InputId = &v return s } -type BatchStartOutput struct { +type DeleteInputOutput struct { _ struct{} `type:"structure"` - - Failed []*BatchFailedResultModel `locationName:"failed" type:"list"` - - Successful []*BatchSuccessfulResultModel `locationName:"successful" type:"list"` } // String returns the string representation. @@ -9108,7 +16796,7 @@ type BatchStartOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchStartOutput) String() string { +func (s DeleteInputOutput) String() string { return awsutil.Prettify(s) } @@ -9117,28 +16805,15 @@ func (s BatchStartOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchStartOutput) GoString() string { +func (s DeleteInputOutput) GoString() string { return s.String() } -// SetFailed sets the Failed field's value. -func (s *BatchStartOutput) SetFailed(v []*BatchFailedResultModel) *BatchStartOutput { - s.Failed = v - return s -} - -// SetSuccessful sets the Successful field's value. -func (s *BatchStartOutput) SetSuccessful(v []*BatchSuccessfulResultModel) *BatchStartOutput { - s.Successful = v - return s -} - -type BatchStopInput struct { - _ struct{} `type:"structure"` - - ChannelIds []*string `locationName:"channelIds" type:"list"` +type DeleteInputSecurityGroupInput struct { + _ struct{} `type:"structure" nopayload:"true"` - MultiplexIds []*string `locationName:"multiplexIds" type:"list"` + // InputSecurityGroupId is a required field + InputSecurityGroupId *string `location:"uri" locationName:"inputSecurityGroupId" type:"string" required:"true"` } // String returns the string representation. @@ -9146,7 +16821,7 @@ type BatchStopInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchStopInput) String() string { +func (s DeleteInputSecurityGroupInput) String() string { return awsutil.Prettify(s) } @@ -9155,28 +16830,59 @@ func (s BatchStopInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchStopInput) GoString() string { +func (s DeleteInputSecurityGroupInput) GoString() string { return s.String() } -// SetChannelIds sets the ChannelIds field's value. -func (s *BatchStopInput) SetChannelIds(v []*string) *BatchStopInput { - s.ChannelIds = v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteInputSecurityGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteInputSecurityGroupInput"} + if s.InputSecurityGroupId == nil { + invalidParams.Add(request.NewErrParamRequired("InputSecurityGroupId")) + } + if s.InputSecurityGroupId != nil && len(*s.InputSecurityGroupId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InputSecurityGroupId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetMultiplexIds sets the MultiplexIds field's value. -func (s *BatchStopInput) SetMultiplexIds(v []*string) *BatchStopInput { - s.MultiplexIds = v +// SetInputSecurityGroupId sets the InputSecurityGroupId field's value. +func (s *DeleteInputSecurityGroupInput) SetInputSecurityGroupId(v string) *DeleteInputSecurityGroupInput { + s.InputSecurityGroupId = &v return s } -type BatchStopOutput struct { +type DeleteInputSecurityGroupOutput struct { _ struct{} `type:"structure"` +} - Failed []*BatchFailedResultModel `locationName:"failed" type:"list"` +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteInputSecurityGroupOutput) String() string { + return awsutil.Prettify(s) +} - Successful []*BatchSuccessfulResultModel `locationName:"successful" type:"list"` +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteInputSecurityGroupOutput) GoString() string { + return s.String() +} + +type DeleteMultiplexInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // MultiplexId is a required field + MultiplexId *string `location:"uri" locationName:"multiplexId" type:"string" required:"true"` } // String returns the string representation. @@ -9184,7 +16890,7 @@ type BatchStopOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchStopOutput) String() string { +func (s DeleteMultiplexInput) String() string { return awsutil.Prettify(s) } @@ -9193,34 +16899,56 @@ func (s BatchStopOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchStopOutput) GoString() string { +func (s DeleteMultiplexInput) GoString() string { return s.String() } -// SetFailed sets the Failed field's value. -func (s *BatchStopOutput) SetFailed(v []*BatchFailedResultModel) *BatchStopOutput { - s.Failed = v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteMultiplexInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteMultiplexInput"} + if s.MultiplexId == nil { + invalidParams.Add(request.NewErrParamRequired("MultiplexId")) + } + if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetSuccessful sets the Successful field's value. -func (s *BatchStopOutput) SetSuccessful(v []*BatchSuccessfulResultModel) *BatchStopOutput { - s.Successful = v +// SetMultiplexId sets the MultiplexId field's value. +func (s *DeleteMultiplexInput) SetMultiplexId(v string) *DeleteMultiplexInput { + s.MultiplexId = &v return s } -// Details from a successful operation -type BatchSuccessfulResultModel struct { +type DeleteMultiplexOutput struct { _ struct{} `type:"structure"` - // ARN of the resource Arn *string `locationName:"arn" type:"string"` - // ID of the resource + AvailabilityZones []*string `locationName:"availabilityZones" type:"list"` + + Destinations []*MultiplexOutputDestination `locationName:"destinations" type:"list"` + Id *string `locationName:"id" type:"string"` - // Current state of the resource - State *string `locationName:"state" type:"string"` + // Contains configuration for a Multiplex event + MultiplexSettings *MultiplexSettings `locationName:"multiplexSettings" type:"structure"` + + Name *string `locationName:"name" type:"string"` + + PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` + + ProgramCount *int64 `locationName:"programCount" type:"integer"` + + // The current state of the multiplex. + State *string `locationName:"state" type:"string" enum:"MultiplexState"` + + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -9228,7 +16956,7 @@ type BatchSuccessfulResultModel struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchSuccessfulResultModel) String() string { +func (s DeleteMultiplexOutput) String() string { return awsutil.Prettify(s) } @@ -9237,41 +16965,78 @@ func (s BatchSuccessfulResultModel) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchSuccessfulResultModel) GoString() string { +func (s DeleteMultiplexOutput) GoString() string { return s.String() } // SetArn sets the Arn field's value. -func (s *BatchSuccessfulResultModel) SetArn(v string) *BatchSuccessfulResultModel { +func (s *DeleteMultiplexOutput) SetArn(v string) *DeleteMultiplexOutput { s.Arn = &v return s } +// SetAvailabilityZones sets the AvailabilityZones field's value. +func (s *DeleteMultiplexOutput) SetAvailabilityZones(v []*string) *DeleteMultiplexOutput { + s.AvailabilityZones = v + return s +} + +// SetDestinations sets the Destinations field's value. +func (s *DeleteMultiplexOutput) SetDestinations(v []*MultiplexOutputDestination) *DeleteMultiplexOutput { + s.Destinations = v + return s +} + // SetId sets the Id field's value. -func (s *BatchSuccessfulResultModel) SetId(v string) *BatchSuccessfulResultModel { +func (s *DeleteMultiplexOutput) SetId(v string) *DeleteMultiplexOutput { s.Id = &v return s } +// SetMultiplexSettings sets the MultiplexSettings field's value. +func (s *DeleteMultiplexOutput) SetMultiplexSettings(v *MultiplexSettings) *DeleteMultiplexOutput { + s.MultiplexSettings = v + return s +} + +// SetName sets the Name field's value. +func (s *DeleteMultiplexOutput) SetName(v string) *DeleteMultiplexOutput { + s.Name = &v + return s +} + +// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. +func (s *DeleteMultiplexOutput) SetPipelinesRunningCount(v int64) *DeleteMultiplexOutput { + s.PipelinesRunningCount = &v + return s +} + +// SetProgramCount sets the ProgramCount field's value. +func (s *DeleteMultiplexOutput) SetProgramCount(v int64) *DeleteMultiplexOutput { + s.ProgramCount = &v + return s +} + // SetState sets the State field's value. -func (s *BatchSuccessfulResultModel) SetState(v string) *BatchSuccessfulResultModel { +func (s *DeleteMultiplexOutput) SetState(v string) *DeleteMultiplexOutput { s.State = &v return s } -// A request to create actions (add actions to the schedule), delete actions -// (remove actions from the schedule), or both create and delete actions. -type BatchUpdateScheduleInput struct { - _ struct{} `type:"structure"` +// SetTags sets the Tags field's value. +func (s *DeleteMultiplexOutput) SetTags(v map[string]*string) *DeleteMultiplexOutput { + s.Tags = v + return s +} - // ChannelId is a required field - ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` +type DeleteMultiplexProgramInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // Schedule actions to create in the schedule. - Creates *BatchScheduleActionCreateRequest `locationName:"creates" type:"structure"` + // MultiplexId is a required field + MultiplexId *string `location:"uri" locationName:"multiplexId" type:"string" required:"true"` - // Schedule actions to delete from the schedule. - Deletes *BatchScheduleActionDeleteRequest `locationName:"deletes" type:"structure"` + // ProgramName is a required field + ProgramName *string `location:"uri" locationName:"programName" type:"string" required:"true"` } // String returns the string representation. @@ -9279,7 +17044,7 @@ type BatchUpdateScheduleInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchUpdateScheduleInput) String() string { +func (s DeleteMultiplexProgramInput) String() string { return awsutil.Prettify(s) } @@ -9288,28 +17053,24 @@ func (s BatchUpdateScheduleInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchUpdateScheduleInput) GoString() string { +func (s DeleteMultiplexProgramInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *BatchUpdateScheduleInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "BatchUpdateScheduleInput"} - if s.ChannelId == nil { - invalidParams.Add(request.NewErrParamRequired("ChannelId")) +func (s *DeleteMultiplexProgramInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteMultiplexProgramInput"} + if s.MultiplexId == nil { + invalidParams.Add(request.NewErrParamRequired("MultiplexId")) } - if s.ChannelId != nil && len(*s.ChannelId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) + if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) } - if s.Creates != nil { - if err := s.Creates.Validate(); err != nil { - invalidParams.AddNested("Creates", err.(request.ErrInvalidParams)) - } + if s.ProgramName == nil { + invalidParams.Add(request.NewErrParamRequired("ProgramName")) } - if s.Deletes != nil { - if err := s.Deletes.Validate(); err != nil { - invalidParams.AddNested("Deletes", err.(request.ErrInvalidParams)) - } + if s.ProgramName != nil && len(*s.ProgramName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ProgramName", 1)) } if invalidParams.Len() > 0 { @@ -9318,32 +17079,32 @@ func (s *BatchUpdateScheduleInput) Validate() error { return nil } -// SetChannelId sets the ChannelId field's value. -func (s *BatchUpdateScheduleInput) SetChannelId(v string) *BatchUpdateScheduleInput { - s.ChannelId = &v - return s -} - -// SetCreates sets the Creates field's value. -func (s *BatchUpdateScheduleInput) SetCreates(v *BatchScheduleActionCreateRequest) *BatchUpdateScheduleInput { - s.Creates = v +// SetMultiplexId sets the MultiplexId field's value. +func (s *DeleteMultiplexProgramInput) SetMultiplexId(v string) *DeleteMultiplexProgramInput { + s.MultiplexId = &v return s } -// SetDeletes sets the Deletes field's value. -func (s *BatchUpdateScheduleInput) SetDeletes(v *BatchScheduleActionDeleteRequest) *BatchUpdateScheduleInput { - s.Deletes = v +// SetProgramName sets the ProgramName field's value. +func (s *DeleteMultiplexProgramInput) SetProgramName(v string) *DeleteMultiplexProgramInput { + s.ProgramName = &v return s } -type BatchUpdateScheduleOutput struct { +type DeleteMultiplexProgramOutput struct { _ struct{} `type:"structure"` - // List of actions that have been created in the schedule. - Creates *BatchScheduleActionCreateResult `locationName:"creates" type:"structure"` + ChannelId *string `locationName:"channelId" type:"string"` - // List of actions that have been deleted from the schedule. - Deletes *BatchScheduleActionDeleteResult `locationName:"deletes" type:"structure"` + // Multiplex Program settings configuration. + MultiplexProgramSettings *MultiplexProgramSettings `locationName:"multiplexProgramSettings" type:"structure"` + + // Packet identifiers map for a given Multiplex program. + PacketIdentifiersMap *MultiplexProgramPacketIdentifiersMap `locationName:"packetIdentifiersMap" type:"structure"` + + PipelineDetails []*MultiplexProgramPipelineDetail `locationName:"pipelineDetails" type:"list"` + + ProgramName *string `locationName:"programName" type:"string"` } // String returns the string representation. @@ -9351,7 +17112,7 @@ type BatchUpdateScheduleOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchUpdateScheduleOutput) String() string { +func (s DeleteMultiplexProgramOutput) String() string { return awsutil.Prettify(s) } @@ -9360,48 +17121,45 @@ func (s BatchUpdateScheduleOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchUpdateScheduleOutput) GoString() string { +func (s DeleteMultiplexProgramOutput) GoString() string { return s.String() } -// SetCreates sets the Creates field's value. -func (s *BatchUpdateScheduleOutput) SetCreates(v *BatchScheduleActionCreateResult) *BatchUpdateScheduleOutput { - s.Creates = v +// SetChannelId sets the ChannelId field's value. +func (s *DeleteMultiplexProgramOutput) SetChannelId(v string) *DeleteMultiplexProgramOutput { + s.ChannelId = &v return s } -// SetDeletes sets the Deletes field's value. -func (s *BatchUpdateScheduleOutput) SetDeletes(v *BatchScheduleActionDeleteResult) *BatchUpdateScheduleOutput { - s.Deletes = v +// SetMultiplexProgramSettings sets the MultiplexProgramSettings field's value. +func (s *DeleteMultiplexProgramOutput) SetMultiplexProgramSettings(v *MultiplexProgramSettings) *DeleteMultiplexProgramOutput { + s.MultiplexProgramSettings = v return s } -// Blackout Slate -type BlackoutSlate struct { - _ struct{} `type:"structure"` - - // Blackout slate image to be used. Leave empty for solid black. Only bmp and - // png images are supported. - BlackoutSlateImage *InputLocation `locationName:"blackoutSlateImage" type:"structure"` +// SetPacketIdentifiersMap sets the PacketIdentifiersMap field's value. +func (s *DeleteMultiplexProgramOutput) SetPacketIdentifiersMap(v *MultiplexProgramPacketIdentifiersMap) *DeleteMultiplexProgramOutput { + s.PacketIdentifiersMap = v + return s +} - // Setting to enabled causes the encoder to blackout the video, audio, and captions, - // and raise the "Network Blackout Image" slate when an SCTE104/35 Network End - // Segmentation Descriptor is encountered. The blackout will be lifted when - // the Network Start Segmentation Descriptor is encountered. The Network End - // and Network Start descriptors must contain a network ID that matches the - // value entered in "Network ID". - NetworkEndBlackout *string `locationName:"networkEndBlackout" type:"string" enum:"BlackoutSlateNetworkEndBlackout"` +// SetPipelineDetails sets the PipelineDetails field's value. +func (s *DeleteMultiplexProgramOutput) SetPipelineDetails(v []*MultiplexProgramPipelineDetail) *DeleteMultiplexProgramOutput { + s.PipelineDetails = v + return s +} - // Path to local file to use as Network End Blackout image. Image will be scaled - // to fill the entire output raster. - NetworkEndBlackoutImage *InputLocation `locationName:"networkEndBlackoutImage" type:"structure"` +// SetProgramName sets the ProgramName field's value. +func (s *DeleteMultiplexProgramOutput) SetProgramName(v string) *DeleteMultiplexProgramOutput { + s.ProgramName = &v + return s +} - // Provides Network ID that matches EIDR ID format (e.g., "10.XXXX/XXXX-XXXX-XXXX-XXXX-XXXX-C"). - NetworkId *string `locationName:"networkId" min:"34" type:"string"` +type DeleteReservationInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // When set to enabled, causes video, audio and captions to be blanked when - // indicated by program metadata. - State *string `locationName:"state" type:"string" enum:"BlackoutSlateState"` + // ReservationId is a required field + ReservationId *string `location:"uri" locationName:"reservationId" type:"string" required:"true"` } // String returns the string representation. @@ -9409,7 +17167,7 @@ type BlackoutSlate struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BlackoutSlate) String() string { +func (s DeleteReservationInput) String() string { return awsutil.Prettify(s) } @@ -9418,25 +17176,18 @@ func (s BlackoutSlate) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BlackoutSlate) GoString() string { +func (s DeleteReservationInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *BlackoutSlate) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "BlackoutSlate"} - if s.NetworkId != nil && len(*s.NetworkId) < 34 { - invalidParams.Add(request.NewErrParamMinLen("NetworkId", 34)) - } - if s.BlackoutSlateImage != nil { - if err := s.BlackoutSlateImage.Validate(); err != nil { - invalidParams.AddNested("BlackoutSlateImage", err.(request.ErrInvalidParams)) - } +func (s *DeleteReservationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteReservationInput"} + if s.ReservationId == nil { + invalidParams.Add(request.NewErrParamRequired("ReservationId")) } - if s.NetworkEndBlackoutImage != nil { - if err := s.NetworkEndBlackoutImage.Validate(); err != nil { - invalidParams.AddNested("NetworkEndBlackoutImage", err.(request.ErrInvalidParams)) - } + if s.ReservationId != nil && len(*s.ReservationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ReservationId", 1)) } if invalidParams.Len() > 0 { @@ -9445,132 +17196,57 @@ func (s *BlackoutSlate) Validate() error { return nil } -// SetBlackoutSlateImage sets the BlackoutSlateImage field's value. -func (s *BlackoutSlate) SetBlackoutSlateImage(v *InputLocation) *BlackoutSlate { - s.BlackoutSlateImage = v - return s -} - -// SetNetworkEndBlackout sets the NetworkEndBlackout field's value. -func (s *BlackoutSlate) SetNetworkEndBlackout(v string) *BlackoutSlate { - s.NetworkEndBlackout = &v - return s -} - -// SetNetworkEndBlackoutImage sets the NetworkEndBlackoutImage field's value. -func (s *BlackoutSlate) SetNetworkEndBlackoutImage(v *InputLocation) *BlackoutSlate { - s.NetworkEndBlackoutImage = v - return s -} - -// SetNetworkId sets the NetworkId field's value. -func (s *BlackoutSlate) SetNetworkId(v string) *BlackoutSlate { - s.NetworkId = &v - return s -} - -// SetState sets the State field's value. -func (s *BlackoutSlate) SetState(v string) *BlackoutSlate { - s.State = &v +// SetReservationId sets the ReservationId field's value. +func (s *DeleteReservationInput) SetReservationId(v string) *DeleteReservationInput { + s.ReservationId = &v return s } -// Burn In Destination Settings -type BurnInDestinationSettings struct { +type DeleteReservationOutput struct { _ struct{} `type:"structure"` - // If no explicit xPosition or yPosition is provided, setting alignment to centered - // will place the captions at the bottom center of the output. Similarly, setting - // a left alignment will align captions to the bottom left of the output. If - // x and y positions are given in conjunction with the alignment parameter, - // the font will be justified (either left or centered) relative to those coordinates. - // Selecting "smart" justification will left-justify live subtitles and center-justify - // pre-recorded subtitles. All burn-in and DVB-Sub font settings must match. - Alignment *string `locationName:"alignment" type:"string" enum:"BurnInAlignment"` + Arn *string `locationName:"arn" type:"string"` - // Specifies the color of the rectangle behind the captions. All burn-in and - // DVB-Sub font settings must match. - BackgroundColor *string `locationName:"backgroundColor" type:"string" enum:"BurnInBackgroundColor"` + Count *int64 `locationName:"count" type:"integer"` + + CurrencyCode *string `locationName:"currencyCode" type:"string"` - // Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. - // Leaving this parameter out is equivalent to setting it to 0 (transparent). - // All burn-in and DVB-Sub font settings must match. - BackgroundOpacity *int64 `locationName:"backgroundOpacity" type:"integer"` + Duration *int64 `locationName:"duration" type:"integer"` - // External font file used for caption burn-in. File extension must be 'ttf' - // or 'tte'. Although the user can select output fonts for many different types - // of input captions, embedded, STL and teletext sources use a strict grid system. - // Using external fonts with these caption sources could cause unexpected display - // of proportional fonts. All burn-in and DVB-Sub font settings must match. - Font *InputLocation `locationName:"font" type:"structure"` + // Units for duration, e.g. 'MONTHS' + DurationUnits *string `locationName:"durationUnits" type:"string" enum:"OfferingDurationUnits"` - // Specifies the color of the burned-in captions. This option is not valid for - // source captions that are STL, 608/embedded or teletext. These source settings - // are already pre-defined by the caption stream. All burn-in and DVB-Sub font - // settings must match. - FontColor *string `locationName:"fontColor" type:"string" enum:"BurnInFontColor"` + End *string `locationName:"end" type:"string"` - // Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent. - // All burn-in and DVB-Sub font settings must match. - FontOpacity *int64 `locationName:"fontOpacity" type:"integer"` + FixedPrice *float64 `locationName:"fixedPrice" type:"double"` - // Font resolution in DPI (dots per inch); default is 96 dpi. All burn-in and - // DVB-Sub font settings must match. - FontResolution *int64 `locationName:"fontResolution" min:"96" type:"integer"` + Name *string `locationName:"name" type:"string"` - // When set to 'auto' fontSize will scale depending on the size of the output. - // Giving a positive integer will specify the exact font size in points. All - // burn-in and DVB-Sub font settings must match. - FontSize *string `locationName:"fontSize" type:"string"` + OfferingDescription *string `locationName:"offeringDescription" type:"string"` - // Specifies font outline color. This option is not valid for source captions - // that are either 608/embedded or teletext. These source settings are already - // pre-defined by the caption stream. All burn-in and DVB-Sub font settings - // must match. - OutlineColor *string `locationName:"outlineColor" type:"string" enum:"BurnInOutlineColor"` + OfferingId *string `locationName:"offeringId" type:"string"` - // Specifies font outline size in pixels. This option is not valid for source - // captions that are either 608/embedded or teletext. These source settings - // are already pre-defined by the caption stream. All burn-in and DVB-Sub font - // settings must match. - OutlineSize *int64 `locationName:"outlineSize" type:"integer"` + // Offering type, e.g. 'NO_UPFRONT' + OfferingType *string `locationName:"offeringType" type:"string" enum:"OfferingType"` - // Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub - // font settings must match. - ShadowColor *string `locationName:"shadowColor" type:"string" enum:"BurnInShadowColor"` + Region *string `locationName:"region" type:"string"` - // Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving - // this parameter out is equivalent to setting it to 0 (transparent). All burn-in - // and DVB-Sub font settings must match. - ShadowOpacity *int64 `locationName:"shadowOpacity" type:"integer"` + // The Renewal settings for Reservations + RenewalSettings *RenewalSettings `locationName:"renewalSettings" type:"structure"` - // Specifies the horizontal offset of the shadow relative to the captions in - // pixels. A value of -2 would result in a shadow offset 2 pixels to the left. - // All burn-in and DVB-Sub font settings must match. - ShadowXOffset *int64 `locationName:"shadowXOffset" type:"integer"` + ReservationId *string `locationName:"reservationId" type:"string"` - // Specifies the vertical offset of the shadow relative to the captions in pixels. - // A value of -2 would result in a shadow offset 2 pixels above the text. All - // burn-in and DVB-Sub font settings must match. - ShadowYOffset *int64 `locationName:"shadowYOffset" type:"integer"` + // Resource configuration (codec, resolution, bitrate, ...) + ResourceSpecification *ReservationResourceSpecification `locationName:"resourceSpecification" type:"structure"` - // Controls whether a fixed grid size will be used to generate the output subtitles - // bitmap. Only applicable for Teletext inputs and DVB-Sub/Burn-in outputs. - TeletextGridControl *string `locationName:"teletextGridControl" type:"string" enum:"BurnInTeletextGridControl"` + Start *string `locationName:"start" type:"string"` - // Specifies the horizontal position of the caption relative to the left side - // of the output in pixels. A value of 10 would result in the captions starting - // 10 pixels from the left of the output. If no explicit xPosition is provided, - // the horizontal caption position will be determined by the alignment parameter. - // All burn-in and DVB-Sub font settings must match. - XPosition *int64 `locationName:"xPosition" type:"integer"` + // Current reservation state + State *string `locationName:"state" type:"string" enum:"ReservationState"` - // Specifies the vertical position of the caption relative to the top of the - // output in pixels. A value of 10 would result in the captions starting 10 - // pixels from the top of the output. If no explicit yPosition is provided, - // the caption will be positioned towards the bottom of the output. All burn-in - // and DVB-Sub font settings must match. - YPosition *int64 `locationName:"yPosition" type:"integer"` + Tags map[string]*string `locationName:"tags" type:"map"` + + UsagePrice *float64 `locationName:"usagePrice" type:"double"` } // String returns the string representation. @@ -9578,7 +17254,7 @@ type BurnInDestinationSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BurnInDestinationSettings) String() string { +func (s DeleteReservationOutput) String() string { return awsutil.Prettify(s) } @@ -9587,135 +17263,129 @@ func (s BurnInDestinationSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BurnInDestinationSettings) GoString() string { +func (s DeleteReservationOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *BurnInDestinationSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "BurnInDestinationSettings"} - if s.FontResolution != nil && *s.FontResolution < 96 { - invalidParams.Add(request.NewErrParamMinValue("FontResolution", 96)) - } - if s.Font != nil { - if err := s.Font.Validate(); err != nil { - invalidParams.AddNested("Font", err.(request.ErrInvalidParams)) - } - } +// SetArn sets the Arn field's value. +func (s *DeleteReservationOutput) SetArn(v string) *DeleteReservationOutput { + s.Arn = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetCount sets the Count field's value. +func (s *DeleteReservationOutput) SetCount(v int64) *DeleteReservationOutput { + s.Count = &v + return s } -// SetAlignment sets the Alignment field's value. -func (s *BurnInDestinationSettings) SetAlignment(v string) *BurnInDestinationSettings { - s.Alignment = &v +// SetCurrencyCode sets the CurrencyCode field's value. +func (s *DeleteReservationOutput) SetCurrencyCode(v string) *DeleteReservationOutput { + s.CurrencyCode = &v return s } -// SetBackgroundColor sets the BackgroundColor field's value. -func (s *BurnInDestinationSettings) SetBackgroundColor(v string) *BurnInDestinationSettings { - s.BackgroundColor = &v +// SetDuration sets the Duration field's value. +func (s *DeleteReservationOutput) SetDuration(v int64) *DeleteReservationOutput { + s.Duration = &v return s } -// SetBackgroundOpacity sets the BackgroundOpacity field's value. -func (s *BurnInDestinationSettings) SetBackgroundOpacity(v int64) *BurnInDestinationSettings { - s.BackgroundOpacity = &v +// SetDurationUnits sets the DurationUnits field's value. +func (s *DeleteReservationOutput) SetDurationUnits(v string) *DeleteReservationOutput { + s.DurationUnits = &v return s } -// SetFont sets the Font field's value. -func (s *BurnInDestinationSettings) SetFont(v *InputLocation) *BurnInDestinationSettings { - s.Font = v +// SetEnd sets the End field's value. +func (s *DeleteReservationOutput) SetEnd(v string) *DeleteReservationOutput { + s.End = &v return s } -// SetFontColor sets the FontColor field's value. -func (s *BurnInDestinationSettings) SetFontColor(v string) *BurnInDestinationSettings { - s.FontColor = &v +// SetFixedPrice sets the FixedPrice field's value. +func (s *DeleteReservationOutput) SetFixedPrice(v float64) *DeleteReservationOutput { + s.FixedPrice = &v return s } -// SetFontOpacity sets the FontOpacity field's value. -func (s *BurnInDestinationSettings) SetFontOpacity(v int64) *BurnInDestinationSettings { - s.FontOpacity = &v +// SetName sets the Name field's value. +func (s *DeleteReservationOutput) SetName(v string) *DeleteReservationOutput { + s.Name = &v return s } -// SetFontResolution sets the FontResolution field's value. -func (s *BurnInDestinationSettings) SetFontResolution(v int64) *BurnInDestinationSettings { - s.FontResolution = &v +// SetOfferingDescription sets the OfferingDescription field's value. +func (s *DeleteReservationOutput) SetOfferingDescription(v string) *DeleteReservationOutput { + s.OfferingDescription = &v return s } -// SetFontSize sets the FontSize field's value. -func (s *BurnInDestinationSettings) SetFontSize(v string) *BurnInDestinationSettings { - s.FontSize = &v +// SetOfferingId sets the OfferingId field's value. +func (s *DeleteReservationOutput) SetOfferingId(v string) *DeleteReservationOutput { + s.OfferingId = &v return s } -// SetOutlineColor sets the OutlineColor field's value. -func (s *BurnInDestinationSettings) SetOutlineColor(v string) *BurnInDestinationSettings { - s.OutlineColor = &v +// SetOfferingType sets the OfferingType field's value. +func (s *DeleteReservationOutput) SetOfferingType(v string) *DeleteReservationOutput { + s.OfferingType = &v return s } -// SetOutlineSize sets the OutlineSize field's value. -func (s *BurnInDestinationSettings) SetOutlineSize(v int64) *BurnInDestinationSettings { - s.OutlineSize = &v +// SetRegion sets the Region field's value. +func (s *DeleteReservationOutput) SetRegion(v string) *DeleteReservationOutput { + s.Region = &v return s } -// SetShadowColor sets the ShadowColor field's value. -func (s *BurnInDestinationSettings) SetShadowColor(v string) *BurnInDestinationSettings { - s.ShadowColor = &v +// SetRenewalSettings sets the RenewalSettings field's value. +func (s *DeleteReservationOutput) SetRenewalSettings(v *RenewalSettings) *DeleteReservationOutput { + s.RenewalSettings = v return s } -// SetShadowOpacity sets the ShadowOpacity field's value. -func (s *BurnInDestinationSettings) SetShadowOpacity(v int64) *BurnInDestinationSettings { - s.ShadowOpacity = &v +// SetReservationId sets the ReservationId field's value. +func (s *DeleteReservationOutput) SetReservationId(v string) *DeleteReservationOutput { + s.ReservationId = &v return s } -// SetShadowXOffset sets the ShadowXOffset field's value. -func (s *BurnInDestinationSettings) SetShadowXOffset(v int64) *BurnInDestinationSettings { - s.ShadowXOffset = &v +// SetResourceSpecification sets the ResourceSpecification field's value. +func (s *DeleteReservationOutput) SetResourceSpecification(v *ReservationResourceSpecification) *DeleteReservationOutput { + s.ResourceSpecification = v return s } -// SetShadowYOffset sets the ShadowYOffset field's value. -func (s *BurnInDestinationSettings) SetShadowYOffset(v int64) *BurnInDestinationSettings { - s.ShadowYOffset = &v +// SetStart sets the Start field's value. +func (s *DeleteReservationOutput) SetStart(v string) *DeleteReservationOutput { + s.Start = &v return s } -// SetTeletextGridControl sets the TeletextGridControl field's value. -func (s *BurnInDestinationSettings) SetTeletextGridControl(v string) *BurnInDestinationSettings { - s.TeletextGridControl = &v +// SetState sets the State field's value. +func (s *DeleteReservationOutput) SetState(v string) *DeleteReservationOutput { + s.State = &v return s } -// SetXPosition sets the XPosition field's value. -func (s *BurnInDestinationSettings) SetXPosition(v int64) *BurnInDestinationSettings { - s.XPosition = &v +// SetTags sets the Tags field's value. +func (s *DeleteReservationOutput) SetTags(v map[string]*string) *DeleteReservationOutput { + s.Tags = v return s } -// SetYPosition sets the YPosition field's value. -func (s *BurnInDestinationSettings) SetYPosition(v int64) *BurnInDestinationSettings { - s.YPosition = &v +// SetUsagePrice sets the UsagePrice field's value. +func (s *DeleteReservationOutput) SetUsagePrice(v float64) *DeleteReservationOutput { + s.UsagePrice = &v return s } -type CancelInputDeviceTransferInput struct { +type DeleteScheduleInput struct { _ struct{} `type:"structure" nopayload:"true"` - // InputDeviceId is a required field - InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` + // ChannelId is a required field + ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` } // String returns the string representation. @@ -9723,7 +17393,7 @@ type CancelInputDeviceTransferInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CancelInputDeviceTransferInput) String() string { +func (s DeleteScheduleInput) String() string { return awsutil.Prettify(s) } @@ -9732,18 +17402,18 @@ func (s CancelInputDeviceTransferInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CancelInputDeviceTransferInput) GoString() string { +func (s DeleteScheduleInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CancelInputDeviceTransferInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CancelInputDeviceTransferInput"} - if s.InputDeviceId == nil { - invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) +func (s *DeleteScheduleInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteScheduleInput"} + if s.ChannelId == nil { + invalidParams.Add(request.NewErrParamRequired("ChannelId")) } - if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) + if s.ChannelId != nil && len(*s.ChannelId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) } if invalidParams.Len() > 0 { @@ -9752,13 +17422,13 @@ func (s *CancelInputDeviceTransferInput) Validate() error { return nil } -// SetInputDeviceId sets the InputDeviceId field's value. -func (s *CancelInputDeviceTransferInput) SetInputDeviceId(v string) *CancelInputDeviceTransferInput { - s.InputDeviceId = &v +// SetChannelId sets the ChannelId field's value. +func (s *DeleteScheduleInput) SetChannelId(v string) *DeleteScheduleInput { + s.ChannelId = &v return s } -type CancelInputDeviceTransferOutput struct { +type DeleteScheduleOutput struct { _ struct{} `type:"structure"` } @@ -9767,7 +17437,7 @@ type CancelInputDeviceTransferOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CancelInputDeviceTransferOutput) String() string { +func (s DeleteScheduleOutput) String() string { return awsutil.Prettify(s) } @@ -9776,50 +17446,87 @@ func (s CancelInputDeviceTransferOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CancelInputDeviceTransferOutput) GoString() string { +func (s DeleteScheduleOutput) GoString() string { return s.String() } -// Caption Description -type CaptionDescription struct { - _ struct{} `type:"structure"` +type DeleteSignalMapInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // Indicates whether the caption track implements accessibility features such - // as written descriptions of spoken dialog, music, and sounds. This signaling - // is added to HLS output group and MediaPackage output group. - Accessibility *string `locationName:"accessibility" type:"string" enum:"AccessibilityType"` + // Identifier is a required field + Identifier *string `location:"uri" locationName:"identifier" type:"string" required:"true"` +} - // Identifies the DASH roles to assign to this captions output. Applies only - // when the captions output is configured for DVB DASH accessibility signaling. - CaptionDashRoles []*string `locationName:"captionDashRoles" type:"list" enum:"DashRoleCaption"` +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteSignalMapInput) String() string { + return awsutil.Prettify(s) +} - // Specifies which input caption selector to use as a caption source when generating - // output captions. This field should match a captionSelector name. - // - // CaptionSelectorName is a required field - CaptionSelectorName *string `locationName:"captionSelectorName" type:"string" required:"true"` +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteSignalMapInput) GoString() string { + return s.String() +} - // Additional settings for captions destination that depend on the destination - // type. - DestinationSettings *CaptionDestinationSettings `locationName:"destinationSettings" type:"structure"` +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteSignalMapInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteSignalMapInput"} + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) + } + if s.Identifier != nil && len(*s.Identifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) + } - // Identifies DVB DASH accessibility signaling in this captions output. Used - // in Microsoft Smooth Streaming outputs to signal accessibility information - // to packagers. - DvbDashAccessibility *string `locationName:"dvbDashAccessibility" type:"string" enum:"DvbDashAccessibility"` + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} - // ISO 639-2 three-digit code: http://www.loc.gov/standards/iso639-2/ - LanguageCode *string `locationName:"languageCode" type:"string"` +// SetIdentifier sets the Identifier field's value. +func (s *DeleteSignalMapInput) SetIdentifier(v string) *DeleteSignalMapInput { + s.Identifier = &v + return s +} - // Human readable information to indicate captions available for players (eg. - // English, or Spanish). - LanguageDescription *string `locationName:"languageDescription" type:"string"` +type DeleteSignalMapOutput struct { + _ struct{} `type:"structure"` +} - // Name of the caption description. Used to associate a caption description - // with an output. Names must be unique within an event. - // - // Name is a required field - Name *string `locationName:"name" type:"string" required:"true"` +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteSignalMapOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteSignalMapOutput) GoString() string { + return s.String() +} + +type DeleteTagsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"` + + // TagKeys is a required field + TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"` } // String returns the string representation. @@ -9827,7 +17534,7 @@ type CaptionDescription struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CaptionDescription) String() string { +func (s DeleteTagsInput) String() string { return awsutil.Prettify(s) } @@ -9836,23 +17543,21 @@ func (s CaptionDescription) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CaptionDescription) GoString() string { +func (s DeleteTagsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CaptionDescription) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CaptionDescription"} - if s.CaptionSelectorName == nil { - invalidParams.Add(request.NewErrParamRequired("CaptionSelectorName")) +func (s *DeleteTagsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteTagsInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) } - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) } - if s.DestinationSettings != nil { - if err := s.DestinationSettings.Validate(); err != nil { - invalidParams.AddNested("DestinationSettings", err.(request.ErrInvalidParams)) - } + if s.TagKeys == nil { + invalidParams.Add(request.NewErrParamRequired("TagKeys")) } if invalidParams.Len() > 0 { @@ -9861,96 +17566,182 @@ func (s *CaptionDescription) Validate() error { return nil } -// SetAccessibility sets the Accessibility field's value. -func (s *CaptionDescription) SetAccessibility(v string) *CaptionDescription { - s.Accessibility = &v +// SetResourceArn sets the ResourceArn field's value. +func (s *DeleteTagsInput) SetResourceArn(v string) *DeleteTagsInput { + s.ResourceArn = &v return s } -// SetCaptionDashRoles sets the CaptionDashRoles field's value. -func (s *CaptionDescription) SetCaptionDashRoles(v []*string) *CaptionDescription { - s.CaptionDashRoles = v +// SetTagKeys sets the TagKeys field's value. +func (s *DeleteTagsInput) SetTagKeys(v []*string) *DeleteTagsInput { + s.TagKeys = v return s } -// SetCaptionSelectorName sets the CaptionSelectorName field's value. -func (s *CaptionDescription) SetCaptionSelectorName(v string) *CaptionDescription { - s.CaptionSelectorName = &v - return s +type DeleteTagsOutput struct { + _ struct{} `type:"structure"` } -// SetDestinationSettings sets the DestinationSettings field's value. -func (s *CaptionDescription) SetDestinationSettings(v *CaptionDestinationSettings) *CaptionDescription { - s.DestinationSettings = v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteTagsOutput) String() string { + return awsutil.Prettify(s) } -// SetDvbDashAccessibility sets the DvbDashAccessibility field's value. -func (s *CaptionDescription) SetDvbDashAccessibility(v string) *CaptionDescription { - s.DvbDashAccessibility = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteTagsOutput) GoString() string { + return s.String() } -// SetLanguageCode sets the LanguageCode field's value. -func (s *CaptionDescription) SetLanguageCode(v string) *CaptionDescription { - s.LanguageCode = &v - return s +type DescribeAccountConfigurationInput struct { + _ struct{} `type:"structure" nopayload:"true"` } -// SetLanguageDescription sets the LanguageDescription field's value. -func (s *CaptionDescription) SetLanguageDescription(v string) *CaptionDescription { - s.LanguageDescription = &v +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeAccountConfigurationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeAccountConfigurationInput) GoString() string { + return s.String() +} + +type DescribeAccountConfigurationOutput struct { + _ struct{} `type:"structure"` + + AccountConfiguration *AccountConfiguration `locationName:"accountConfiguration" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeAccountConfigurationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeAccountConfigurationOutput) GoString() string { + return s.String() +} + +// SetAccountConfiguration sets the AccountConfiguration field's value. +func (s *DescribeAccountConfigurationOutput) SetAccountConfiguration(v *AccountConfiguration) *DescribeAccountConfigurationOutput { + s.AccountConfiguration = v return s } -// SetName sets the Name field's value. -func (s *CaptionDescription) SetName(v string) *CaptionDescription { - s.Name = &v +type DescribeChannelInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // ChannelId is a required field + ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeChannelInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeChannelInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeChannelInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeChannelInput"} + if s.ChannelId == nil { + invalidParams.Add(request.NewErrParamRequired("ChannelId")) + } + if s.ChannelId != nil && len(*s.ChannelId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChannelId sets the ChannelId field's value. +func (s *DescribeChannelInput) SetChannelId(v string) *DescribeChannelInput { + s.ChannelId = &v return s } -// Caption Destination Settings -type CaptionDestinationSettings struct { +type DescribeChannelOutput struct { _ struct{} `type:"structure"` - // Arib Destination Settings - AribDestinationSettings *AribDestinationSettings `locationName:"aribDestinationSettings" type:"structure"` + Arn *string `locationName:"arn" type:"string"` + + CdiInputSpecification *CdiInputSpecification `locationName:"cdiInputSpecification" type:"structure"` + + // A standard channel has two encoding pipelines and a single pipeline channel + // only has one. + ChannelClass *string `locationName:"channelClass" type:"string" enum:"ChannelClass"` + + Destinations []*OutputDestination `locationName:"destinations" type:"list"` + + EgressEndpoints []*ChannelEgressEndpoint `locationName:"egressEndpoints" type:"list"` - // Burn In Destination Settings - BurnInDestinationSettings *BurnInDestinationSettings `locationName:"burnInDestinationSettings" type:"structure"` + // Encoder Settings + EncoderSettings *EncoderSettings `locationName:"encoderSettings" type:"structure"` - // Dvb Sub Destination Settings - DvbSubDestinationSettings *DvbSubDestinationSettings `locationName:"dvbSubDestinationSettings" type:"structure"` + Id *string `locationName:"id" type:"string"` - // Ebu Tt DDestination Settings - EbuTtDDestinationSettings *EbuTtDDestinationSettings `locationName:"ebuTtDDestinationSettings" type:"structure"` + InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` - // Embedded Destination Settings - EmbeddedDestinationSettings *EmbeddedDestinationSettings `locationName:"embeddedDestinationSettings" type:"structure"` + InputSpecification *InputSpecification `locationName:"inputSpecification" type:"structure"` - // Embedded Plus Scte20 Destination Settings - EmbeddedPlusScte20DestinationSettings *EmbeddedPlusScte20DestinationSettings `locationName:"embeddedPlusScte20DestinationSettings" type:"structure"` + // The log level the user wants for their channel. + LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` - // Rtmp Caption Info Destination Settings - RtmpCaptionInfoDestinationSettings *RtmpCaptionInfoDestinationSettings `locationName:"rtmpCaptionInfoDestinationSettings" type:"structure"` + Maintenance *MaintenanceStatus `locationName:"maintenance" type:"structure"` - // Scte20 Plus Embedded Destination Settings - Scte20PlusEmbeddedDestinationSettings *Scte20PlusEmbeddedDestinationSettings `locationName:"scte20PlusEmbeddedDestinationSettings" type:"structure"` + Name *string `locationName:"name" type:"string"` - // Scte27 Destination Settings - Scte27DestinationSettings *Scte27DestinationSettings `locationName:"scte27DestinationSettings" type:"structure"` + PipelineDetails []*PipelineDetail `locationName:"pipelineDetails" type:"list"` - // Smpte Tt Destination Settings - SmpteTtDestinationSettings *SmpteTtDestinationSettings `locationName:"smpteTtDestinationSettings" type:"structure"` + PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` - // Teletext Destination Settings - TeletextDestinationSettings *TeletextDestinationSettings `locationName:"teletextDestinationSettings" type:"structure"` + RoleArn *string `locationName:"roleArn" type:"string"` - // Ttml Destination Settings - TtmlDestinationSettings *TtmlDestinationSettings `locationName:"ttmlDestinationSettings" type:"structure"` + State *string `locationName:"state" type:"string" enum:"ChannelState"` - // Webvtt Destination Settings - WebvttDestinationSettings *WebvttDestinationSettings `locationName:"webvttDestinationSettings" type:"structure"` + Tags map[string]*string `locationName:"tags" type:"map"` + + // The properties for a private VPC Output + Vpc *VpcOutputSettingsDescription `locationName:"vpc" type:"structure"` } // String returns the string representation. @@ -9958,7 +17749,7 @@ type CaptionDestinationSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CaptionDestinationSettings) String() string { +func (s DescribeChannelOutput) String() string { return awsutil.Prettify(s) } @@ -9967,128 +17758,123 @@ func (s CaptionDestinationSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CaptionDestinationSettings) GoString() string { +func (s DescribeChannelOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *CaptionDestinationSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CaptionDestinationSettings"} - if s.BurnInDestinationSettings != nil { - if err := s.BurnInDestinationSettings.Validate(); err != nil { - invalidParams.AddNested("BurnInDestinationSettings", err.(request.ErrInvalidParams)) - } - } - if s.DvbSubDestinationSettings != nil { - if err := s.DvbSubDestinationSettings.Validate(); err != nil { - invalidParams.AddNested("DvbSubDestinationSettings", err.(request.ErrInvalidParams)) - } - } +// SetArn sets the Arn field's value. +func (s *DescribeChannelOutput) SetArn(v string) *DescribeChannelOutput { + s.Arn = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetCdiInputSpecification sets the CdiInputSpecification field's value. +func (s *DescribeChannelOutput) SetCdiInputSpecification(v *CdiInputSpecification) *DescribeChannelOutput { + s.CdiInputSpecification = v + return s } -// SetAribDestinationSettings sets the AribDestinationSettings field's value. -func (s *CaptionDestinationSettings) SetAribDestinationSettings(v *AribDestinationSettings) *CaptionDestinationSettings { - s.AribDestinationSettings = v +// SetChannelClass sets the ChannelClass field's value. +func (s *DescribeChannelOutput) SetChannelClass(v string) *DescribeChannelOutput { + s.ChannelClass = &v return s } -// SetBurnInDestinationSettings sets the BurnInDestinationSettings field's value. -func (s *CaptionDestinationSettings) SetBurnInDestinationSettings(v *BurnInDestinationSettings) *CaptionDestinationSettings { - s.BurnInDestinationSettings = v +// SetDestinations sets the Destinations field's value. +func (s *DescribeChannelOutput) SetDestinations(v []*OutputDestination) *DescribeChannelOutput { + s.Destinations = v return s } -// SetDvbSubDestinationSettings sets the DvbSubDestinationSettings field's value. -func (s *CaptionDestinationSettings) SetDvbSubDestinationSettings(v *DvbSubDestinationSettings) *CaptionDestinationSettings { - s.DvbSubDestinationSettings = v +// SetEgressEndpoints sets the EgressEndpoints field's value. +func (s *DescribeChannelOutput) SetEgressEndpoints(v []*ChannelEgressEndpoint) *DescribeChannelOutput { + s.EgressEndpoints = v return s } -// SetEbuTtDDestinationSettings sets the EbuTtDDestinationSettings field's value. -func (s *CaptionDestinationSettings) SetEbuTtDDestinationSettings(v *EbuTtDDestinationSettings) *CaptionDestinationSettings { - s.EbuTtDDestinationSettings = v +// SetEncoderSettings sets the EncoderSettings field's value. +func (s *DescribeChannelOutput) SetEncoderSettings(v *EncoderSettings) *DescribeChannelOutput { + s.EncoderSettings = v return s } -// SetEmbeddedDestinationSettings sets the EmbeddedDestinationSettings field's value. -func (s *CaptionDestinationSettings) SetEmbeddedDestinationSettings(v *EmbeddedDestinationSettings) *CaptionDestinationSettings { - s.EmbeddedDestinationSettings = v +// SetId sets the Id field's value. +func (s *DescribeChannelOutput) SetId(v string) *DescribeChannelOutput { + s.Id = &v return s } -// SetEmbeddedPlusScte20DestinationSettings sets the EmbeddedPlusScte20DestinationSettings field's value. -func (s *CaptionDestinationSettings) SetEmbeddedPlusScte20DestinationSettings(v *EmbeddedPlusScte20DestinationSettings) *CaptionDestinationSettings { - s.EmbeddedPlusScte20DestinationSettings = v +// SetInputAttachments sets the InputAttachments field's value. +func (s *DescribeChannelOutput) SetInputAttachments(v []*InputAttachment) *DescribeChannelOutput { + s.InputAttachments = v return s } -// SetRtmpCaptionInfoDestinationSettings sets the RtmpCaptionInfoDestinationSettings field's value. -func (s *CaptionDestinationSettings) SetRtmpCaptionInfoDestinationSettings(v *RtmpCaptionInfoDestinationSettings) *CaptionDestinationSettings { - s.RtmpCaptionInfoDestinationSettings = v +// SetInputSpecification sets the InputSpecification field's value. +func (s *DescribeChannelOutput) SetInputSpecification(v *InputSpecification) *DescribeChannelOutput { + s.InputSpecification = v return s } -// SetScte20PlusEmbeddedDestinationSettings sets the Scte20PlusEmbeddedDestinationSettings field's value. -func (s *CaptionDestinationSettings) SetScte20PlusEmbeddedDestinationSettings(v *Scte20PlusEmbeddedDestinationSettings) *CaptionDestinationSettings { - s.Scte20PlusEmbeddedDestinationSettings = v +// SetLogLevel sets the LogLevel field's value. +func (s *DescribeChannelOutput) SetLogLevel(v string) *DescribeChannelOutput { + s.LogLevel = &v return s } -// SetScte27DestinationSettings sets the Scte27DestinationSettings field's value. -func (s *CaptionDestinationSettings) SetScte27DestinationSettings(v *Scte27DestinationSettings) *CaptionDestinationSettings { - s.Scte27DestinationSettings = v +// SetMaintenance sets the Maintenance field's value. +func (s *DescribeChannelOutput) SetMaintenance(v *MaintenanceStatus) *DescribeChannelOutput { + s.Maintenance = v return s } -// SetSmpteTtDestinationSettings sets the SmpteTtDestinationSettings field's value. -func (s *CaptionDestinationSettings) SetSmpteTtDestinationSettings(v *SmpteTtDestinationSettings) *CaptionDestinationSettings { - s.SmpteTtDestinationSettings = v +// SetName sets the Name field's value. +func (s *DescribeChannelOutput) SetName(v string) *DescribeChannelOutput { + s.Name = &v return s } -// SetTeletextDestinationSettings sets the TeletextDestinationSettings field's value. -func (s *CaptionDestinationSettings) SetTeletextDestinationSettings(v *TeletextDestinationSettings) *CaptionDestinationSettings { - s.TeletextDestinationSettings = v +// SetPipelineDetails sets the PipelineDetails field's value. +func (s *DescribeChannelOutput) SetPipelineDetails(v []*PipelineDetail) *DescribeChannelOutput { + s.PipelineDetails = v return s } -// SetTtmlDestinationSettings sets the TtmlDestinationSettings field's value. -func (s *CaptionDestinationSettings) SetTtmlDestinationSettings(v *TtmlDestinationSettings) *CaptionDestinationSettings { - s.TtmlDestinationSettings = v +// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. +func (s *DescribeChannelOutput) SetPipelinesRunningCount(v int64) *DescribeChannelOutput { + s.PipelinesRunningCount = &v return s } -// SetWebvttDestinationSettings sets the WebvttDestinationSettings field's value. -func (s *CaptionDestinationSettings) SetWebvttDestinationSettings(v *WebvttDestinationSettings) *CaptionDestinationSettings { - s.WebvttDestinationSettings = v +// SetRoleArn sets the RoleArn field's value. +func (s *DescribeChannelOutput) SetRoleArn(v string) *DescribeChannelOutput { + s.RoleArn = &v return s } -// Maps a caption channel to an ISO 693-2 language code (http://www.loc.gov/standards/iso639-2), -// with an optional description. -type CaptionLanguageMapping struct { - _ struct{} `type:"structure"` +// SetState sets the State field's value. +func (s *DescribeChannelOutput) SetState(v string) *DescribeChannelOutput { + s.State = &v + return s +} - // The closed caption channel being described by this CaptionLanguageMapping. - // Each channel mapping must have a unique channel number (maximum of 4) - // - // CaptionChannel is a required field - CaptionChannel *int64 `locationName:"captionChannel" min:"1" type:"integer" required:"true"` +// SetTags sets the Tags field's value. +func (s *DescribeChannelOutput) SetTags(v map[string]*string) *DescribeChannelOutput { + s.Tags = v + return s +} - // Three character ISO 639-2 language code (see http://www.loc.gov/standards/iso639-2) - // - // LanguageCode is a required field - LanguageCode *string `locationName:"languageCode" min:"3" type:"string" required:"true"` +// SetVpc sets the Vpc field's value. +func (s *DescribeChannelOutput) SetVpc(v *VpcOutputSettingsDescription) *DescribeChannelOutput { + s.Vpc = v + return s +} - // Textual description of language - // - // LanguageDescription is a required field - LanguageDescription *string `locationName:"languageDescription" min:"1" type:"string" required:"true"` +type DescribeInputDeviceInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // InputDeviceId is a required field + InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` } // String returns the string representation. @@ -10096,7 +17882,7 @@ type CaptionLanguageMapping struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CaptionLanguageMapping) String() string { +func (s DescribeInputDeviceInput) String() string { return awsutil.Prettify(s) } @@ -10105,30 +17891,18 @@ func (s CaptionLanguageMapping) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CaptionLanguageMapping) GoString() string { +func (s DescribeInputDeviceInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CaptionLanguageMapping) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CaptionLanguageMapping"} - if s.CaptionChannel == nil { - invalidParams.Add(request.NewErrParamRequired("CaptionChannel")) - } - if s.CaptionChannel != nil && *s.CaptionChannel < 1 { - invalidParams.Add(request.NewErrParamMinValue("CaptionChannel", 1)) - } - if s.LanguageCode == nil { - invalidParams.Add(request.NewErrParamRequired("LanguageCode")) - } - if s.LanguageCode != nil && len(*s.LanguageCode) < 3 { - invalidParams.Add(request.NewErrParamMinLen("LanguageCode", 3)) - } - if s.LanguageDescription == nil { - invalidParams.Add(request.NewErrParamRequired("LanguageDescription")) +func (s *DescribeInputDeviceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeInputDeviceInput"} + if s.InputDeviceId == nil { + invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) } - if s.LanguageDescription != nil && len(*s.LanguageDescription) < 1 { - invalidParams.Add(request.NewErrParamMinLen("LanguageDescription", 1)) + if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) } if invalidParams.Len() > 0 { @@ -10137,72 +17911,61 @@ func (s *CaptionLanguageMapping) Validate() error { return nil } -// SetCaptionChannel sets the CaptionChannel field's value. -func (s *CaptionLanguageMapping) SetCaptionChannel(v int64) *CaptionLanguageMapping { - s.CaptionChannel = &v +// SetInputDeviceId sets the InputDeviceId field's value. +func (s *DescribeInputDeviceInput) SetInputDeviceId(v string) *DescribeInputDeviceInput { + s.InputDeviceId = &v return s } -// SetLanguageCode sets the LanguageCode field's value. -func (s *CaptionLanguageMapping) SetLanguageCode(v string) *CaptionLanguageMapping { - s.LanguageCode = &v - return s -} +type DescribeInputDeviceOutput struct { + _ struct{} `type:"structure"` -// SetLanguageDescription sets the LanguageDescription field's value. -func (s *CaptionLanguageMapping) SetLanguageDescription(v string) *CaptionLanguageMapping { - s.LanguageDescription = &v - return s -} + Arn *string `locationName:"arn" type:"string"` -// Caption Rectangle -type CaptionRectangle struct { - _ struct{} `type:"structure"` + AvailabilityZone *string `locationName:"availabilityZone" type:"string"` - // See the description in leftOffset.For height, specify the entire height of - // the rectangle as a percentage of the underlying frame height. For example, - // \"80\" means the rectangle height is 80% of the underlying frame height. - // The topOffset and rectangleHeight must add up to 100% or less.This field - // corresponds to tts:extent - Y in the TTML standard. - // - // Height is a required field - Height *float64 `locationName:"height" type:"double" required:"true"` + // The state of the connection between the input device and AWS. + ConnectionState *string `locationName:"connectionState" type:"string" enum:"InputDeviceConnectionState"` - // Applies only if you plan to convert these source captions to EBU-TT-D or - // TTML in an output. (Make sure to leave the default if you don't have either - // of these formats in the output.) You can define a display rectangle for the - // captions that is smaller than the underlying video frame. You define the - // rectangle by specifying the position of the left edge, top edge, bottom edge, - // and right edge of the rectangle, all within the underlying video frame. The - // units for the measurements are percentages.If you specify a value for one - // of these fields, you must specify a value for all of them.For leftOffset, - // specify the position of the left edge of the rectangle, as a percentage of - // the underlying frame width, and relative to the left edge of the frame. For - // example, \"10\" means the measurement is 10% of the underlying frame width. - // The rectangle left edge starts at that position from the left edge of the - // frame.This field corresponds to tts:origin - X in the TTML standard. - // - // LeftOffset is a required field - LeftOffset *float64 `locationName:"leftOffset" type:"double" required:"true"` + // The status of the action to synchronize the device configuration. If you + // change the configuration of the input device (for example, the maximum bitrate), + // MediaLive sends the new data to the device. The device might not update itself + // immediately. SYNCED means the device has updated its configuration. SYNCING + // means that it has not updated its configuration. + DeviceSettingsSyncState *string `locationName:"deviceSettingsSyncState" type:"string" enum:"DeviceSettingsSyncState"` - // See the description in leftOffset.For topOffset, specify the position of - // the top edge of the rectangle, as a percentage of the underlying frame height, - // and relative to the top edge of the frame. For example, \"10\" means the - // measurement is 10% of the underlying frame height. The rectangle top edge - // starts at that position from the top edge of the frame.This field corresponds - // to tts:origin - Y in the TTML standard. - // - // TopOffset is a required field - TopOffset *float64 `locationName:"topOffset" type:"double" required:"true"` + // The status of software on the input device. + DeviceUpdateStatus *string `locationName:"deviceUpdateStatus" type:"string" enum:"DeviceUpdateStatus"` - // See the description in leftOffset.For width, specify the entire width of - // the rectangle as a percentage of the underlying frame width. For example, - // \"80\" means the rectangle width is 80% of the underlying frame width. The - // leftOffset and rectangleWidth must add up to 100% or less.This field corresponds - // to tts:extent - X in the TTML standard. - // - // Width is a required field - Width *float64 `locationName:"width" type:"double" required:"true"` + // Settings that describe the active source from the input device, and the video + // characteristics of that source. + HdDeviceSettings *InputDeviceHdSettings `locationName:"hdDeviceSettings" type:"structure"` + + Id *string `locationName:"id" type:"string"` + + MacAddress *string `locationName:"macAddress" type:"string"` + + MedialiveInputArns []*string `locationName:"medialiveInputArns" type:"list"` + + Name *string `locationName:"name" type:"string"` + + // The network settings for the input device. + NetworkSettings *InputDeviceNetworkSettings `locationName:"networkSettings" type:"structure"` + + // The output attachment type of the input device. + OutputType *string `locationName:"outputType" type:"string" enum:"InputDeviceOutputType"` + + SerialNumber *string `locationName:"serialNumber" type:"string"` + + Tags map[string]*string `locationName:"tags" type:"map"` + + // The type of the input device. For an AWS Elemental Link device that outputs + // resolutions up to 1080, choose "HD". + Type *string `locationName:"type" type:"string" enum:"InputDeviceType"` + + // Settings that describe the active source from the input device, and the video + // characteristics of that source. + UhdDeviceSettings *InputDeviceUhdSettings `locationName:"uhdDeviceSettings" type:"structure"` } // String returns the string representation. @@ -10210,7 +17973,7 @@ type CaptionRectangle struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CaptionRectangle) String() string { +func (s DescribeInputDeviceOutput) String() string { return awsutil.Prettify(s) } @@ -10219,73 +17982,114 @@ func (s CaptionRectangle) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CaptionRectangle) GoString() string { +func (s DescribeInputDeviceOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *CaptionRectangle) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CaptionRectangle"} - if s.Height == nil { - invalidParams.Add(request.NewErrParamRequired("Height")) - } - if s.LeftOffset == nil { - invalidParams.Add(request.NewErrParamRequired("LeftOffset")) - } - if s.TopOffset == nil { - invalidParams.Add(request.NewErrParamRequired("TopOffset")) - } - if s.Width == nil { - invalidParams.Add(request.NewErrParamRequired("Width")) - } +// SetArn sets the Arn field's value. +func (s *DescribeInputDeviceOutput) SetArn(v string) *DescribeInputDeviceOutput { + s.Arn = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetAvailabilityZone sets the AvailabilityZone field's value. +func (s *DescribeInputDeviceOutput) SetAvailabilityZone(v string) *DescribeInputDeviceOutput { + s.AvailabilityZone = &v + return s } -// SetHeight sets the Height field's value. -func (s *CaptionRectangle) SetHeight(v float64) *CaptionRectangle { - s.Height = &v +// SetConnectionState sets the ConnectionState field's value. +func (s *DescribeInputDeviceOutput) SetConnectionState(v string) *DescribeInputDeviceOutput { + s.ConnectionState = &v return s } -// SetLeftOffset sets the LeftOffset field's value. -func (s *CaptionRectangle) SetLeftOffset(v float64) *CaptionRectangle { - s.LeftOffset = &v +// SetDeviceSettingsSyncState sets the DeviceSettingsSyncState field's value. +func (s *DescribeInputDeviceOutput) SetDeviceSettingsSyncState(v string) *DescribeInputDeviceOutput { + s.DeviceSettingsSyncState = &v return s } -// SetTopOffset sets the TopOffset field's value. -func (s *CaptionRectangle) SetTopOffset(v float64) *CaptionRectangle { - s.TopOffset = &v +// SetDeviceUpdateStatus sets the DeviceUpdateStatus field's value. +func (s *DescribeInputDeviceOutput) SetDeviceUpdateStatus(v string) *DescribeInputDeviceOutput { + s.DeviceUpdateStatus = &v return s } -// SetWidth sets the Width field's value. -func (s *CaptionRectangle) SetWidth(v float64) *CaptionRectangle { - s.Width = &v +// SetHdDeviceSettings sets the HdDeviceSettings field's value. +func (s *DescribeInputDeviceOutput) SetHdDeviceSettings(v *InputDeviceHdSettings) *DescribeInputDeviceOutput { + s.HdDeviceSettings = v return s } -// Caption Selector -type CaptionSelector struct { - _ struct{} `type:"structure"` +// SetId sets the Id field's value. +func (s *DescribeInputDeviceOutput) SetId(v string) *DescribeInputDeviceOutput { + s.Id = &v + return s +} - // When specified this field indicates the three letter language code of the - // caption track to extract from the source. - LanguageCode *string `locationName:"languageCode" type:"string"` +// SetMacAddress sets the MacAddress field's value. +func (s *DescribeInputDeviceOutput) SetMacAddress(v string) *DescribeInputDeviceOutput { + s.MacAddress = &v + return s +} - // Name identifier for a caption selector. This name is used to associate this - // caption selector with one or more caption descriptions. Names must be unique - // within an event. - // - // Name is a required field - Name *string `locationName:"name" min:"1" type:"string" required:"true"` +// SetMedialiveInputArns sets the MedialiveInputArns field's value. +func (s *DescribeInputDeviceOutput) SetMedialiveInputArns(v []*string) *DescribeInputDeviceOutput { + s.MedialiveInputArns = v + return s +} - // Caption selector settings. - SelectorSettings *CaptionSelectorSettings `locationName:"selectorSettings" type:"structure"` +// SetName sets the Name field's value. +func (s *DescribeInputDeviceOutput) SetName(v string) *DescribeInputDeviceOutput { + s.Name = &v + return s +} + +// SetNetworkSettings sets the NetworkSettings field's value. +func (s *DescribeInputDeviceOutput) SetNetworkSettings(v *InputDeviceNetworkSettings) *DescribeInputDeviceOutput { + s.NetworkSettings = v + return s +} + +// SetOutputType sets the OutputType field's value. +func (s *DescribeInputDeviceOutput) SetOutputType(v string) *DescribeInputDeviceOutput { + s.OutputType = &v + return s +} + +// SetSerialNumber sets the SerialNumber field's value. +func (s *DescribeInputDeviceOutput) SetSerialNumber(v string) *DescribeInputDeviceOutput { + s.SerialNumber = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *DescribeInputDeviceOutput) SetTags(v map[string]*string) *DescribeInputDeviceOutput { + s.Tags = v + return s +} + +// SetType sets the Type field's value. +func (s *DescribeInputDeviceOutput) SetType(v string) *DescribeInputDeviceOutput { + s.Type = &v + return s +} + +// SetUhdDeviceSettings sets the UhdDeviceSettings field's value. +func (s *DescribeInputDeviceOutput) SetUhdDeviceSettings(v *InputDeviceUhdSettings) *DescribeInputDeviceOutput { + s.UhdDeviceSettings = v + return s +} + +type DescribeInputDeviceThumbnailInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // Accept is a required field + Accept *string `location:"header" locationName:"accept" type:"string" required:"true" enum:"AcceptHeader"` + + // InputDeviceId is a required field + InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` } // String returns the string representation. @@ -10293,7 +18097,7 @@ type CaptionSelector struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CaptionSelector) String() string { +func (s DescribeInputDeviceThumbnailInput) String() string { return awsutil.Prettify(s) } @@ -10302,23 +18106,21 @@ func (s CaptionSelector) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CaptionSelector) GoString() string { +func (s DescribeInputDeviceThumbnailInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CaptionSelector) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CaptionSelector"} - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) +func (s *DescribeInputDeviceThumbnailInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeInputDeviceThumbnailInput"} + if s.Accept == nil { + invalidParams.Add(request.NewErrParamRequired("Accept")) } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + if s.InputDeviceId == nil { + invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) } - if s.SelectorSettings != nil { - if err := s.SelectorSettings.Validate(); err != nil { - invalidParams.AddNested("SelectorSettings", err.(request.ErrInvalidParams)) - } + if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) } if invalidParams.Len() > 0 { @@ -10327,48 +18129,30 @@ func (s *CaptionSelector) Validate() error { return nil } -// SetLanguageCode sets the LanguageCode field's value. -func (s *CaptionSelector) SetLanguageCode(v string) *CaptionSelector { - s.LanguageCode = &v - return s -} - -// SetName sets the Name field's value. -func (s *CaptionSelector) SetName(v string) *CaptionSelector { - s.Name = &v +// SetAccept sets the Accept field's value. +func (s *DescribeInputDeviceThumbnailInput) SetAccept(v string) *DescribeInputDeviceThumbnailInput { + s.Accept = &v return s } -// SetSelectorSettings sets the SelectorSettings field's value. -func (s *CaptionSelector) SetSelectorSettings(v *CaptionSelectorSettings) *CaptionSelector { - s.SelectorSettings = v +// SetInputDeviceId sets the InputDeviceId field's value. +func (s *DescribeInputDeviceThumbnailInput) SetInputDeviceId(v string) *DescribeInputDeviceThumbnailInput { + s.InputDeviceId = &v return s } -// Caption Selector Settings -type CaptionSelectorSettings struct { - _ struct{} `type:"structure"` - - // Ancillary Source Settings - AncillarySourceSettings *AncillarySourceSettings `locationName:"ancillarySourceSettings" type:"structure"` - - // Arib Source Settings - AribSourceSettings *AribSourceSettings `locationName:"aribSourceSettings" type:"structure"` - - // Dvb Sub Source Settings - DvbSubSourceSettings *DvbSubSourceSettings `locationName:"dvbSubSourceSettings" type:"structure"` +type DescribeInputDeviceThumbnailOutput struct { + _ struct{} `type:"structure" payload:"Body"` - // Embedded Source Settings - EmbeddedSourceSettings *EmbeddedSourceSettings `locationName:"embeddedSourceSettings" type:"structure"` + Body io.ReadCloser `locationName:"body" type:"blob"` - // Scte20 Source Settings - Scte20SourceSettings *Scte20SourceSettings `locationName:"scte20SourceSettings" type:"structure"` + ContentLength *int64 `location:"header" locationName:"Content-Length" type:"long"` - // Scte27 Source Settings - Scte27SourceSettings *Scte27SourceSettings `locationName:"scte27SourceSettings" type:"structure"` + ContentType *string `location:"header" locationName:"Content-Type" type:"string" enum:"ContentType"` - // Teletext Source Settings - TeletextSourceSettings *TeletextSourceSettings `locationName:"teletextSourceSettings" type:"structure"` + ETag *string `location:"header" locationName:"ETag" type:"string"` + + LastModified *time.Time `location:"header" locationName:"Last-Modified" type:"timestamp"` } // String returns the string representation. @@ -10376,7 +18160,7 @@ type CaptionSelectorSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CaptionSelectorSettings) String() string { +func (s DescribeInputDeviceThumbnailOutput) String() string { return awsutil.Prettify(s) } @@ -10385,97 +18169,45 @@ func (s CaptionSelectorSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CaptionSelectorSettings) GoString() string { +func (s DescribeInputDeviceThumbnailOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *CaptionSelectorSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CaptionSelectorSettings"} - if s.AncillarySourceSettings != nil { - if err := s.AncillarySourceSettings.Validate(); err != nil { - invalidParams.AddNested("AncillarySourceSettings", err.(request.ErrInvalidParams)) - } - } - if s.DvbSubSourceSettings != nil { - if err := s.DvbSubSourceSettings.Validate(); err != nil { - invalidParams.AddNested("DvbSubSourceSettings", err.(request.ErrInvalidParams)) - } - } - if s.EmbeddedSourceSettings != nil { - if err := s.EmbeddedSourceSettings.Validate(); err != nil { - invalidParams.AddNested("EmbeddedSourceSettings", err.(request.ErrInvalidParams)) - } - } - if s.Scte20SourceSettings != nil { - if err := s.Scte20SourceSettings.Validate(); err != nil { - invalidParams.AddNested("Scte20SourceSettings", err.(request.ErrInvalidParams)) - } - } - if s.Scte27SourceSettings != nil { - if err := s.Scte27SourceSettings.Validate(); err != nil { - invalidParams.AddNested("Scte27SourceSettings", err.(request.ErrInvalidParams)) - } - } - if s.TeletextSourceSettings != nil { - if err := s.TeletextSourceSettings.Validate(); err != nil { - invalidParams.AddNested("TeletextSourceSettings", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAncillarySourceSettings sets the AncillarySourceSettings field's value. -func (s *CaptionSelectorSettings) SetAncillarySourceSettings(v *AncillarySourceSettings) *CaptionSelectorSettings { - s.AncillarySourceSettings = v - return s -} - -// SetAribSourceSettings sets the AribSourceSettings field's value. -func (s *CaptionSelectorSettings) SetAribSourceSettings(v *AribSourceSettings) *CaptionSelectorSettings { - s.AribSourceSettings = v - return s -} - -// SetDvbSubSourceSettings sets the DvbSubSourceSettings field's value. -func (s *CaptionSelectorSettings) SetDvbSubSourceSettings(v *DvbSubSourceSettings) *CaptionSelectorSettings { - s.DvbSubSourceSettings = v +// SetBody sets the Body field's value. +func (s *DescribeInputDeviceThumbnailOutput) SetBody(v io.ReadCloser) *DescribeInputDeviceThumbnailOutput { + s.Body = v return s } -// SetEmbeddedSourceSettings sets the EmbeddedSourceSettings field's value. -func (s *CaptionSelectorSettings) SetEmbeddedSourceSettings(v *EmbeddedSourceSettings) *CaptionSelectorSettings { - s.EmbeddedSourceSettings = v +// SetContentLength sets the ContentLength field's value. +func (s *DescribeInputDeviceThumbnailOutput) SetContentLength(v int64) *DescribeInputDeviceThumbnailOutput { + s.ContentLength = &v return s } -// SetScte20SourceSettings sets the Scte20SourceSettings field's value. -func (s *CaptionSelectorSettings) SetScte20SourceSettings(v *Scte20SourceSettings) *CaptionSelectorSettings { - s.Scte20SourceSettings = v +// SetContentType sets the ContentType field's value. +func (s *DescribeInputDeviceThumbnailOutput) SetContentType(v string) *DescribeInputDeviceThumbnailOutput { + s.ContentType = &v return s } -// SetScte27SourceSettings sets the Scte27SourceSettings field's value. -func (s *CaptionSelectorSettings) SetScte27SourceSettings(v *Scte27SourceSettings) *CaptionSelectorSettings { - s.Scte27SourceSettings = v +// SetETag sets the ETag field's value. +func (s *DescribeInputDeviceThumbnailOutput) SetETag(v string) *DescribeInputDeviceThumbnailOutput { + s.ETag = &v return s } -// SetTeletextSourceSettings sets the TeletextSourceSettings field's value. -func (s *CaptionSelectorSettings) SetTeletextSourceSettings(v *TeletextSourceSettings) *CaptionSelectorSettings { - s.TeletextSourceSettings = v +// SetLastModified sets the LastModified field's value. +func (s *DescribeInputDeviceThumbnailOutput) SetLastModified(v time.Time) *DescribeInputDeviceThumbnailOutput { + s.LastModified = &v return s } -type CdiInputSpecification struct { - _ struct{} `type:"structure"` +type DescribeInputInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // Maximum CDI input resolution - Resolution *string `locationName:"resolution" type:"string" enum:"CdiInputResolution"` + // InputId is a required field + InputId *string `location:"uri" locationName:"inputId" type:"string" required:"true"` } // String returns the string representation. @@ -10483,7 +18215,7 @@ type CdiInputSpecification struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CdiInputSpecification) String() string { +func (s DescribeInputInput) String() string { return awsutil.Prettify(s) } @@ -10492,74 +18224,72 @@ func (s CdiInputSpecification) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CdiInputSpecification) GoString() string { +func (s DescribeInputInput) GoString() string { return s.String() } -// SetResolution sets the Resolution field's value. -func (s *CdiInputSpecification) SetResolution(v string) *CdiInputSpecification { - s.Resolution = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeInputInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeInputInput"} + if s.InputId == nil { + invalidParams.Add(request.NewErrParamRequired("InputId")) + } + if s.InputId != nil && len(*s.InputId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InputId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInputId sets the InputId field's value. +func (s *DescribeInputInput) SetInputId(v string) *DescribeInputInput { + s.InputId = &v return s } -type Channel struct { +type DescribeInputOutput struct { _ struct{} `type:"structure"` - // The unique arn of the channel. Arn *string `locationName:"arn" type:"string"` - // Specification of CDI inputs for this channel - CdiInputSpecification *CdiInputSpecification `locationName:"cdiInputSpecification" type:"structure"` - - // The class for this channel. STANDARD for a channel with two pipelines or - // SINGLE_PIPELINE for a channel with one pipeline. - ChannelClass *string `locationName:"channelClass" type:"string" enum:"ChannelClass"` - - // A list of destinations of the channel. For UDP outputs, there is onedestination - // per output. For other types (HLS, for example), there isone destination per - // packager. - Destinations []*OutputDestination `locationName:"destinations" type:"list"` - - // The endpoints where outgoing connections initiate from - EgressEndpoints []*ChannelEgressEndpoint `locationName:"egressEndpoints" type:"list"` + AttachedChannels []*string `locationName:"attachedChannels" type:"list"` - // Encoder Settings - EncoderSettings *EncoderSettings `locationName:"encoderSettings" type:"structure"` + Destinations []*InputDestination `locationName:"destinations" type:"list"` - // The unique id of the channel. Id *string `locationName:"id" type:"string"` - // List of input attachments for channel. - InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` + // A standard input has two sources and a single pipeline input only has one. + InputClass *string `locationName:"inputClass" type:"string" enum:"InputClass"` - // Specification of network and file inputs for this channel - InputSpecification *InputSpecification `locationName:"inputSpecification" type:"structure"` + InputDevices []*InputDeviceSettings `locationName:"inputDevices" type:"list"` - // The log level being written to CloudWatch Logs. - LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` + InputPartnerIds []*string `locationName:"inputPartnerIds" type:"list"` - // Maintenance settings for this channel. - Maintenance *MaintenanceStatus `locationName:"maintenance" type:"structure"` + // There are two types of input sources, static and dynamic. If an input source + // is dynamic you canchange the source url of the input dynamically using an + // input switch action. Currently, two input typessupport a dynamic url at this + // time, MP4_FILE and TS_FILE. By default all input sources are static. + InputSourceType *string `locationName:"inputSourceType" type:"string" enum:"InputSourceType"` + + MediaConnectFlows []*MediaConnectFlow `locationName:"mediaConnectFlows" type:"list"` - // The name of the channel. (user-mutable) Name *string `locationName:"name" type:"string"` - // Runtime details for the pipelines of a running channel. - PipelineDetails []*PipelineDetail `locationName:"pipelineDetails" type:"list"` + RoleArn *string `locationName:"roleArn" type:"string"` - // The number of currently healthy pipelines. - PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` + SecurityGroups []*string `locationName:"securityGroups" type:"list"` - // The Amazon Resource Name (ARN) of the role assumed when running the Channel. - RoleArn *string `locationName:"roleArn" type:"string"` + Sources []*InputSource `locationName:"sources" type:"list"` - State *string `locationName:"state" type:"string" enum:"ChannelState"` + State *string `locationName:"state" type:"string" enum:"InputState"` - // A collection of key-value pairs. Tags map[string]*string `locationName:"tags" type:"map"` - // Settings for VPC output - Vpc *VpcOutputSettingsDescription `locationName:"vpc" type:"structure"` + // The different types of inputs that AWS Elemental MediaLive supports. + Type *string `locationName:"type" type:"string" enum:"InputType"` } // String returns the string representation. @@ -10567,7 +18297,7 @@ type Channel struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Channel) String() string { +func (s DescribeInputOutput) String() string { return awsutil.Prettify(s) } @@ -10576,123 +18306,111 @@ func (s Channel) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Channel) GoString() string { +func (s DescribeInputOutput) GoString() string { return s.String() } // SetArn sets the Arn field's value. -func (s *Channel) SetArn(v string) *Channel { +func (s *DescribeInputOutput) SetArn(v string) *DescribeInputOutput { s.Arn = &v return s } -// SetCdiInputSpecification sets the CdiInputSpecification field's value. -func (s *Channel) SetCdiInputSpecification(v *CdiInputSpecification) *Channel { - s.CdiInputSpecification = v - return s -} - -// SetChannelClass sets the ChannelClass field's value. -func (s *Channel) SetChannelClass(v string) *Channel { - s.ChannelClass = &v +// SetAttachedChannels sets the AttachedChannels field's value. +func (s *DescribeInputOutput) SetAttachedChannels(v []*string) *DescribeInputOutput { + s.AttachedChannels = v return s } // SetDestinations sets the Destinations field's value. -func (s *Channel) SetDestinations(v []*OutputDestination) *Channel { +func (s *DescribeInputOutput) SetDestinations(v []*InputDestination) *DescribeInputOutput { s.Destinations = v return s } -// SetEgressEndpoints sets the EgressEndpoints field's value. -func (s *Channel) SetEgressEndpoints(v []*ChannelEgressEndpoint) *Channel { - s.EgressEndpoints = v - return s -} - -// SetEncoderSettings sets the EncoderSettings field's value. -func (s *Channel) SetEncoderSettings(v *EncoderSettings) *Channel { - s.EncoderSettings = v +// SetId sets the Id field's value. +func (s *DescribeInputOutput) SetId(v string) *DescribeInputOutput { + s.Id = &v return s } -// SetId sets the Id field's value. -func (s *Channel) SetId(v string) *Channel { - s.Id = &v +// SetInputClass sets the InputClass field's value. +func (s *DescribeInputOutput) SetInputClass(v string) *DescribeInputOutput { + s.InputClass = &v return s } -// SetInputAttachments sets the InputAttachments field's value. -func (s *Channel) SetInputAttachments(v []*InputAttachment) *Channel { - s.InputAttachments = v +// SetInputDevices sets the InputDevices field's value. +func (s *DescribeInputOutput) SetInputDevices(v []*InputDeviceSettings) *DescribeInputOutput { + s.InputDevices = v return s } -// SetInputSpecification sets the InputSpecification field's value. -func (s *Channel) SetInputSpecification(v *InputSpecification) *Channel { - s.InputSpecification = v +// SetInputPartnerIds sets the InputPartnerIds field's value. +func (s *DescribeInputOutput) SetInputPartnerIds(v []*string) *DescribeInputOutput { + s.InputPartnerIds = v return s } -// SetLogLevel sets the LogLevel field's value. -func (s *Channel) SetLogLevel(v string) *Channel { - s.LogLevel = &v +// SetInputSourceType sets the InputSourceType field's value. +func (s *DescribeInputOutput) SetInputSourceType(v string) *DescribeInputOutput { + s.InputSourceType = &v return s } -// SetMaintenance sets the Maintenance field's value. -func (s *Channel) SetMaintenance(v *MaintenanceStatus) *Channel { - s.Maintenance = v +// SetMediaConnectFlows sets the MediaConnectFlows field's value. +func (s *DescribeInputOutput) SetMediaConnectFlows(v []*MediaConnectFlow) *DescribeInputOutput { + s.MediaConnectFlows = v return s } // SetName sets the Name field's value. -func (s *Channel) SetName(v string) *Channel { +func (s *DescribeInputOutput) SetName(v string) *DescribeInputOutput { s.Name = &v return s } -// SetPipelineDetails sets the PipelineDetails field's value. -func (s *Channel) SetPipelineDetails(v []*PipelineDetail) *Channel { - s.PipelineDetails = v +// SetRoleArn sets the RoleArn field's value. +func (s *DescribeInputOutput) SetRoleArn(v string) *DescribeInputOutput { + s.RoleArn = &v return s } -// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. -func (s *Channel) SetPipelinesRunningCount(v int64) *Channel { - s.PipelinesRunningCount = &v +// SetSecurityGroups sets the SecurityGroups field's value. +func (s *DescribeInputOutput) SetSecurityGroups(v []*string) *DescribeInputOutput { + s.SecurityGroups = v return s } -// SetRoleArn sets the RoleArn field's value. -func (s *Channel) SetRoleArn(v string) *Channel { - s.RoleArn = &v +// SetSources sets the Sources field's value. +func (s *DescribeInputOutput) SetSources(v []*InputSource) *DescribeInputOutput { + s.Sources = v return s } // SetState sets the State field's value. -func (s *Channel) SetState(v string) *Channel { +func (s *DescribeInputOutput) SetState(v string) *DescribeInputOutput { s.State = &v return s } // SetTags sets the Tags field's value. -func (s *Channel) SetTags(v map[string]*string) *Channel { +func (s *DescribeInputOutput) SetTags(v map[string]*string) *DescribeInputOutput { s.Tags = v return s } -// SetVpc sets the Vpc field's value. -func (s *Channel) SetVpc(v *VpcOutputSettingsDescription) *Channel { - s.Vpc = v +// SetType sets the Type field's value. +func (s *DescribeInputOutput) SetType(v string) *DescribeInputOutput { + s.Type = &v return s } -type ChannelEgressEndpoint struct { - _ struct{} `type:"structure"` +type DescribeInputSecurityGroupInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // Public IP of where a channel's output comes from - SourceIp *string `locationName:"sourceIp" type:"string"` + // InputSecurityGroupId is a required field + InputSecurityGroupId *string `location:"uri" locationName:"inputSecurityGroupId" type:"string" required:"true"` } // String returns the string representation. @@ -10700,7 +18418,7 @@ type ChannelEgressEndpoint struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ChannelEgressEndpoint) String() string { +func (s DescribeInputSecurityGroupInput) String() string { return awsutil.Prettify(s) } @@ -10709,68 +18427,46 @@ func (s ChannelEgressEndpoint) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ChannelEgressEndpoint) GoString() string { +func (s DescribeInputSecurityGroupInput) GoString() string { return s.String() } -// SetSourceIp sets the SourceIp field's value. -func (s *ChannelEgressEndpoint) SetSourceIp(v string) *ChannelEgressEndpoint { - s.SourceIp = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeInputSecurityGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeInputSecurityGroupInput"} + if s.InputSecurityGroupId == nil { + invalidParams.Add(request.NewErrParamRequired("InputSecurityGroupId")) + } + if s.InputSecurityGroupId != nil && len(*s.InputSecurityGroupId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InputSecurityGroupId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInputSecurityGroupId sets the InputSecurityGroupId field's value. +func (s *DescribeInputSecurityGroupInput) SetInputSecurityGroupId(v string) *DescribeInputSecurityGroupInput { + s.InputSecurityGroupId = &v return s } -type ChannelSummary struct { +type DescribeInputSecurityGroupOutput struct { _ struct{} `type:"structure"` - // The unique arn of the channel. Arn *string `locationName:"arn" type:"string"` - // Specification of CDI inputs for this channel - CdiInputSpecification *CdiInputSpecification `locationName:"cdiInputSpecification" type:"structure"` - - // The class for this channel. STANDARD for a channel with two pipelines or - // SINGLE_PIPELINE for a channel with one pipeline. - ChannelClass *string `locationName:"channelClass" type:"string" enum:"ChannelClass"` - - // A list of destinations of the channel. For UDP outputs, there is onedestination - // per output. For other types (HLS, for example), there isone destination per - // packager. - Destinations []*OutputDestination `locationName:"destinations" type:"list"` - - // The endpoints where outgoing connections initiate from - EgressEndpoints []*ChannelEgressEndpoint `locationName:"egressEndpoints" type:"list"` - - // The unique id of the channel. Id *string `locationName:"id" type:"string"` - // List of input attachments for channel. - InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` - - // Specification of network and file inputs for this channel - InputSpecification *InputSpecification `locationName:"inputSpecification" type:"structure"` - - // The log level being written to CloudWatch Logs. - LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` - - // Maintenance settings for this channel. - Maintenance *MaintenanceStatus `locationName:"maintenance" type:"structure"` - - // The name of the channel. (user-mutable) - Name *string `locationName:"name" type:"string"` - - // The number of currently healthy pipelines. - PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` - - // The Amazon Resource Name (ARN) of the role assumed when running the Channel. - RoleArn *string `locationName:"roleArn" type:"string"` + Inputs []*string `locationName:"inputs" type:"list"` - State *string `locationName:"state" type:"string" enum:"ChannelState"` + State *string `locationName:"state" type:"string" enum:"InputSecurityGroupState"` - // A collection of key-value pairs. Tags map[string]*string `locationName:"tags" type:"map"` - // Settings for any VPC outputs. - Vpc *VpcOutputSettingsDescription `locationName:"vpc" type:"structure"` + WhitelistRules []*InputWhitelistRule `locationName:"whitelistRules" type:"list"` } // String returns the string representation. @@ -10778,7 +18474,7 @@ type ChannelSummary struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ChannelSummary) String() string { +func (s DescribeInputSecurityGroupOutput) String() string { return awsutil.Prettify(s) } @@ -10787,113 +18483,51 @@ func (s ChannelSummary) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ChannelSummary) GoString() string { +func (s DescribeInputSecurityGroupOutput) GoString() string { return s.String() } // SetArn sets the Arn field's value. -func (s *ChannelSummary) SetArn(v string) *ChannelSummary { +func (s *DescribeInputSecurityGroupOutput) SetArn(v string) *DescribeInputSecurityGroupOutput { s.Arn = &v return s } -// SetCdiInputSpecification sets the CdiInputSpecification field's value. -func (s *ChannelSummary) SetCdiInputSpecification(v *CdiInputSpecification) *ChannelSummary { - s.CdiInputSpecification = v - return s -} - -// SetChannelClass sets the ChannelClass field's value. -func (s *ChannelSummary) SetChannelClass(v string) *ChannelSummary { - s.ChannelClass = &v - return s -} - -// SetDestinations sets the Destinations field's value. -func (s *ChannelSummary) SetDestinations(v []*OutputDestination) *ChannelSummary { - s.Destinations = v - return s -} - -// SetEgressEndpoints sets the EgressEndpoints field's value. -func (s *ChannelSummary) SetEgressEndpoints(v []*ChannelEgressEndpoint) *ChannelSummary { - s.EgressEndpoints = v - return s -} - // SetId sets the Id field's value. -func (s *ChannelSummary) SetId(v string) *ChannelSummary { +func (s *DescribeInputSecurityGroupOutput) SetId(v string) *DescribeInputSecurityGroupOutput { s.Id = &v return s } -// SetInputAttachments sets the InputAttachments field's value. -func (s *ChannelSummary) SetInputAttachments(v []*InputAttachment) *ChannelSummary { - s.InputAttachments = v - return s -} - -// SetInputSpecification sets the InputSpecification field's value. -func (s *ChannelSummary) SetInputSpecification(v *InputSpecification) *ChannelSummary { - s.InputSpecification = v - return s -} - -// SetLogLevel sets the LogLevel field's value. -func (s *ChannelSummary) SetLogLevel(v string) *ChannelSummary { - s.LogLevel = &v - return s -} - -// SetMaintenance sets the Maintenance field's value. -func (s *ChannelSummary) SetMaintenance(v *MaintenanceStatus) *ChannelSummary { - s.Maintenance = v - return s -} - -// SetName sets the Name field's value. -func (s *ChannelSummary) SetName(v string) *ChannelSummary { - s.Name = &v - return s -} - -// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. -func (s *ChannelSummary) SetPipelinesRunningCount(v int64) *ChannelSummary { - s.PipelinesRunningCount = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *ChannelSummary) SetRoleArn(v string) *ChannelSummary { - s.RoleArn = &v +// SetInputs sets the Inputs field's value. +func (s *DescribeInputSecurityGroupOutput) SetInputs(v []*string) *DescribeInputSecurityGroupOutput { + s.Inputs = v return s } // SetState sets the State field's value. -func (s *ChannelSummary) SetState(v string) *ChannelSummary { +func (s *DescribeInputSecurityGroupOutput) SetState(v string) *DescribeInputSecurityGroupOutput { s.State = &v return s } // SetTags sets the Tags field's value. -func (s *ChannelSummary) SetTags(v map[string]*string) *ChannelSummary { +func (s *DescribeInputSecurityGroupOutput) SetTags(v map[string]*string) *DescribeInputSecurityGroupOutput { s.Tags = v return s } -// SetVpc sets the Vpc field's value. -func (s *ChannelSummary) SetVpc(v *VpcOutputSettingsDescription) *ChannelSummary { - s.Vpc = v +// SetWhitelistRules sets the WhitelistRules field's value. +func (s *DescribeInputSecurityGroupOutput) SetWhitelistRules(v []*InputWhitelistRule) *DescribeInputSecurityGroupOutput { + s.WhitelistRules = v return s } -// Request to claim an AWS Elemental device that you have purchased from a third-party -// vendor. -type ClaimDeviceInput struct { - _ struct{} `type:"structure"` +type DescribeMultiplexInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // The id of the device you want to claim. - Id *string `locationName:"id" type:"string"` + // MultiplexId is a required field + MultiplexId *string `location:"uri" locationName:"multiplexId" type:"string" required:"true"` } // String returns the string representation. @@ -10901,7 +18535,7 @@ type ClaimDeviceInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ClaimDeviceInput) String() string { +func (s DescribeMultiplexInput) String() string { return awsutil.Prettify(s) } @@ -10910,66 +18544,56 @@ func (s ClaimDeviceInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ClaimDeviceInput) GoString() string { +func (s DescribeMultiplexInput) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *ClaimDeviceInput) SetId(v string) *ClaimDeviceInput { - s.Id = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeMultiplexInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeMultiplexInput"} + if s.MultiplexId == nil { + invalidParams.Add(request.NewErrParamRequired("MultiplexId")) + } + if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMultiplexId sets the MultiplexId field's value. +func (s *DescribeMultiplexInput) SetMultiplexId(v string) *DescribeMultiplexInput { + s.MultiplexId = &v return s } -type ClaimDeviceOutput struct { +type DescribeMultiplexOutput struct { _ struct{} `type:"structure"` -} -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ClaimDeviceOutput) String() string { - return awsutil.Prettify(s) -} + Arn *string `locationName:"arn" type:"string"` -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ClaimDeviceOutput) GoString() string { - return s.String() -} + AvailabilityZones []*string `locationName:"availabilityZones" type:"list"` -// Cmaf Ingest Group Settings -type CmafIngestGroupSettings struct { - _ struct{} `type:"structure"` + Destinations []*MultiplexOutputDestination `locationName:"destinations" type:"list"` - // A HTTP destination for the tracks - // - // Destination is a required field - Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` + Id *string `locationName:"id" type:"string"` + + // Contains configuration for a Multiplex event + MultiplexSettings *MultiplexSettings `locationName:"multiplexSettings" type:"structure"` - // If set to passthrough, Nielsen inaudible tones for media tracking will be - // detected in the input audio and an equivalent ID3 tag will be inserted in - // the output. - NielsenId3Behavior *string `locationName:"nielsenId3Behavior" type:"string" enum:"CmafNielsenId3Behavior"` + Name *string `locationName:"name" type:"string"` - // Type of scte35 track to add. none or scte35WithoutSegmentation - Scte35Type *string `locationName:"scte35Type" type:"string" enum:"Scte35Type"` + PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` - // The nominal duration of segments. The units are specified in SegmentLengthUnits. - // The segments will end on the next keyframe after the specified duration, - // so the actual segment length might be longer, and it might be a fraction - // of the units. - SegmentLength *int64 `locationName:"segmentLength" min:"1" type:"integer"` + ProgramCount *int64 `locationName:"programCount" type:"integer"` - // Time unit for segment length parameter. - SegmentLengthUnits *string `locationName:"segmentLengthUnits" type:"string" enum:"CmafIngestSegmentLengthUnits"` + // The current state of the multiplex. + State *string `locationName:"state" type:"string" enum:"MultiplexState"` - // Number of milliseconds to delay the output from the second pipeline. - SendDelayMs *int64 `locationName:"sendDelayMs" type:"integer"` + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -10977,7 +18601,7 @@ type CmafIngestGroupSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CmafIngestGroupSettings) String() string { +func (s DescribeMultiplexOutput) String() string { return awsutil.Prettify(s) } @@ -10986,69 +18610,78 @@ func (s CmafIngestGroupSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CmafIngestGroupSettings) GoString() string { +func (s DescribeMultiplexOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *CmafIngestGroupSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CmafIngestGroupSettings"} - if s.Destination == nil { - invalidParams.Add(request.NewErrParamRequired("Destination")) - } - if s.SegmentLength != nil && *s.SegmentLength < 1 { - invalidParams.Add(request.NewErrParamMinValue("SegmentLength", 1)) - } +// SetArn sets the Arn field's value. +func (s *DescribeMultiplexOutput) SetArn(v string) *DescribeMultiplexOutput { + s.Arn = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetAvailabilityZones sets the AvailabilityZones field's value. +func (s *DescribeMultiplexOutput) SetAvailabilityZones(v []*string) *DescribeMultiplexOutput { + s.AvailabilityZones = v + return s } -// SetDestination sets the Destination field's value. -func (s *CmafIngestGroupSettings) SetDestination(v *OutputLocationRef) *CmafIngestGroupSettings { - s.Destination = v +// SetDestinations sets the Destinations field's value. +func (s *DescribeMultiplexOutput) SetDestinations(v []*MultiplexOutputDestination) *DescribeMultiplexOutput { + s.Destinations = v return s } -// SetNielsenId3Behavior sets the NielsenId3Behavior field's value. -func (s *CmafIngestGroupSettings) SetNielsenId3Behavior(v string) *CmafIngestGroupSettings { - s.NielsenId3Behavior = &v +// SetId sets the Id field's value. +func (s *DescribeMultiplexOutput) SetId(v string) *DescribeMultiplexOutput { + s.Id = &v return s } -// SetScte35Type sets the Scte35Type field's value. -func (s *CmafIngestGroupSettings) SetScte35Type(v string) *CmafIngestGroupSettings { - s.Scte35Type = &v +// SetMultiplexSettings sets the MultiplexSettings field's value. +func (s *DescribeMultiplexOutput) SetMultiplexSettings(v *MultiplexSettings) *DescribeMultiplexOutput { + s.MultiplexSettings = v return s } -// SetSegmentLength sets the SegmentLength field's value. -func (s *CmafIngestGroupSettings) SetSegmentLength(v int64) *CmafIngestGroupSettings { - s.SegmentLength = &v +// SetName sets the Name field's value. +func (s *DescribeMultiplexOutput) SetName(v string) *DescribeMultiplexOutput { + s.Name = &v return s } -// SetSegmentLengthUnits sets the SegmentLengthUnits field's value. -func (s *CmafIngestGroupSettings) SetSegmentLengthUnits(v string) *CmafIngestGroupSettings { - s.SegmentLengthUnits = &v +// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. +func (s *DescribeMultiplexOutput) SetPipelinesRunningCount(v int64) *DescribeMultiplexOutput { + s.PipelinesRunningCount = &v return s } -// SetSendDelayMs sets the SendDelayMs field's value. -func (s *CmafIngestGroupSettings) SetSendDelayMs(v int64) *CmafIngestGroupSettings { - s.SendDelayMs = &v +// SetProgramCount sets the ProgramCount field's value. +func (s *DescribeMultiplexOutput) SetProgramCount(v int64) *DescribeMultiplexOutput { + s.ProgramCount = &v return s } -// Cmaf Ingest Output Settings -type CmafIngestOutputSettings struct { - _ struct{} `type:"structure"` +// SetState sets the State field's value. +func (s *DescribeMultiplexOutput) SetState(v string) *DescribeMultiplexOutput { + s.State = &v + return s +} - // String concatenated to the end of the destination filename. Required for - // multiple outputs of the same type. - NameModifier *string `locationName:"nameModifier" type:"string"` +// SetTags sets the Tags field's value. +func (s *DescribeMultiplexOutput) SetTags(v map[string]*string) *DescribeMultiplexOutput { + s.Tags = v + return s +} + +type DescribeMultiplexProgramInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // MultiplexId is a required field + MultiplexId *string `location:"uri" locationName:"multiplexId" type:"string" required:"true"` + + // ProgramName is a required field + ProgramName *string `location:"uri" locationName:"programName" type:"string" required:"true"` } // String returns the string representation. @@ -11056,7 +18689,7 @@ type CmafIngestOutputSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CmafIngestOutputSettings) String() string { +func (s DescribeMultiplexProgramInput) String() string { return awsutil.Prettify(s) } @@ -11065,36 +18698,58 @@ func (s CmafIngestOutputSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CmafIngestOutputSettings) GoString() string { +func (s DescribeMultiplexProgramInput) GoString() string { return s.String() } -// SetNameModifier sets the NameModifier field's value. -func (s *CmafIngestOutputSettings) SetNameModifier(v string) *CmafIngestOutputSettings { - s.NameModifier = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeMultiplexProgramInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeMultiplexProgramInput"} + if s.MultiplexId == nil { + invalidParams.Add(request.NewErrParamRequired("MultiplexId")) + } + if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) + } + if s.ProgramName == nil { + invalidParams.Add(request.NewErrParamRequired("ProgramName")) + } + if s.ProgramName != nil && len(*s.ProgramName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ProgramName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMultiplexId sets the MultiplexId field's value. +func (s *DescribeMultiplexProgramInput) SetMultiplexId(v string) *DescribeMultiplexProgramInput { + s.MultiplexId = &v return s } -// Property of ColorCorrectionSettings. Used for custom color space conversion. -// The object identifies one 3D LUT file and specifies the input/output color -// space combination that the file will be used for. -type ColorCorrection struct { +// SetProgramName sets the ProgramName field's value. +func (s *DescribeMultiplexProgramInput) SetProgramName(v string) *DescribeMultiplexProgramInput { + s.ProgramName = &v + return s +} + +type DescribeMultiplexProgramOutput struct { _ struct{} `type:"structure"` - // The color space of the input. - // - // InputColorSpace is a required field - InputColorSpace *string `locationName:"inputColorSpace" type:"string" required:"true" enum:"ColorSpace"` + ChannelId *string `locationName:"channelId" type:"string"` - // The color space of the output. - // - // OutputColorSpace is a required field - OutputColorSpace *string `locationName:"outputColorSpace" type:"string" required:"true" enum:"ColorSpace"` + // Multiplex Program settings configuration. + MultiplexProgramSettings *MultiplexProgramSettings `locationName:"multiplexProgramSettings" type:"structure"` - // The URI of the 3D LUT file. The protocol must be 's3:' or 's3ssl:':. - // - // Uri is a required field - Uri *string `locationName:"uri" type:"string" required:"true"` + // Packet identifiers map for a given Multiplex program. + PacketIdentifiersMap *MultiplexProgramPacketIdentifiersMap `locationName:"packetIdentifiersMap" type:"structure"` + + PipelineDetails []*MultiplexProgramPipelineDetail `locationName:"pipelineDetails" type:"list"` + + ProgramName *string `locationName:"programName" type:"string"` } // String returns the string representation. @@ -11102,7 +18757,7 @@ type ColorCorrection struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ColorCorrection) String() string { +func (s DescribeMultiplexProgramOutput) String() string { return awsutil.Prettify(s) } @@ -11111,62 +18766,45 @@ func (s ColorCorrection) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ColorCorrection) GoString() string { +func (s DescribeMultiplexProgramOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ColorCorrection) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ColorCorrection"} - if s.InputColorSpace == nil { - invalidParams.Add(request.NewErrParamRequired("InputColorSpace")) - } - if s.OutputColorSpace == nil { - invalidParams.Add(request.NewErrParamRequired("OutputColorSpace")) - } - if s.Uri == nil { - invalidParams.Add(request.NewErrParamRequired("Uri")) - } +// SetChannelId sets the ChannelId field's value. +func (s *DescribeMultiplexProgramOutput) SetChannelId(v string) *DescribeMultiplexProgramOutput { + s.ChannelId = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetMultiplexProgramSettings sets the MultiplexProgramSettings field's value. +func (s *DescribeMultiplexProgramOutput) SetMultiplexProgramSettings(v *MultiplexProgramSettings) *DescribeMultiplexProgramOutput { + s.MultiplexProgramSettings = v + return s } -// SetInputColorSpace sets the InputColorSpace field's value. -func (s *ColorCorrection) SetInputColorSpace(v string) *ColorCorrection { - s.InputColorSpace = &v +// SetPacketIdentifiersMap sets the PacketIdentifiersMap field's value. +func (s *DescribeMultiplexProgramOutput) SetPacketIdentifiersMap(v *MultiplexProgramPacketIdentifiersMap) *DescribeMultiplexProgramOutput { + s.PacketIdentifiersMap = v return s } -// SetOutputColorSpace sets the OutputColorSpace field's value. -func (s *ColorCorrection) SetOutputColorSpace(v string) *ColorCorrection { - s.OutputColorSpace = &v +// SetPipelineDetails sets the PipelineDetails field's value. +func (s *DescribeMultiplexProgramOutput) SetPipelineDetails(v []*MultiplexProgramPipelineDetail) *DescribeMultiplexProgramOutput { + s.PipelineDetails = v return s } -// SetUri sets the Uri field's value. -func (s *ColorCorrection) SetUri(v string) *ColorCorrection { - s.Uri = &v +// SetProgramName sets the ProgramName field's value. +func (s *DescribeMultiplexProgramOutput) SetProgramName(v string) *DescribeMultiplexProgramOutput { + s.ProgramName = &v return s } -// Property of encoderSettings. Controls color conversion when you are using -// 3D LUT files to perform color conversion on video. -type ColorCorrectionSettings struct { - _ struct{} `type:"structure"` +type DescribeOfferingInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // An array of colorCorrections that applies when you are using 3D LUT files - // to perform color conversion on video. Each colorCorrection contains one 3D - // LUT file (that defines the color mapping for converting an input color space - // to an output color space), and the input/output combination that this 3D - // LUT file applies to. MediaLive reads the color space in the input metadata, - // determines the color space that you have specified for the output, and finds - // and uses the LUT file that applies to this combination. - // - // GlobalColorCorrections is a required field - GlobalColorCorrections []*ColorCorrection `locationName:"globalColorCorrections" type:"list" required:"true"` + // OfferingId is a required field + OfferingId *string `location:"uri" locationName:"offeringId" type:"string" required:"true"` } // String returns the string representation. @@ -11174,7 +18812,7 @@ type ColorCorrectionSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ColorCorrectionSettings) String() string { +func (s DescribeOfferingInput) String() string { return awsutil.Prettify(s) } @@ -11183,25 +18821,18 @@ func (s ColorCorrectionSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ColorCorrectionSettings) GoString() string { +func (s DescribeOfferingInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ColorCorrectionSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ColorCorrectionSettings"} - if s.GlobalColorCorrections == nil { - invalidParams.Add(request.NewErrParamRequired("GlobalColorCorrections")) +func (s *DescribeOfferingInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeOfferingInput"} + if s.OfferingId == nil { + invalidParams.Add(request.NewErrParamRequired("OfferingId")) } - if s.GlobalColorCorrections != nil { - for i, v := range s.GlobalColorCorrections { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GlobalColorCorrections", i), err.(request.ErrInvalidParams)) - } - } + if s.OfferingId != nil && len(*s.OfferingId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("OfferingId", 1)) } if invalidParams.Len() > 0 { @@ -11210,15 +18841,39 @@ func (s *ColorCorrectionSettings) Validate() error { return nil } -// SetGlobalColorCorrections sets the GlobalColorCorrections field's value. -func (s *ColorCorrectionSettings) SetGlobalColorCorrections(v []*ColorCorrection) *ColorCorrectionSettings { - s.GlobalColorCorrections = v +// SetOfferingId sets the OfferingId field's value. +func (s *DescribeOfferingInput) SetOfferingId(v string) *DescribeOfferingInput { + s.OfferingId = &v return s } -// Passthrough applies no color space conversion to the output -type ColorSpacePassthroughSettings struct { +type DescribeOfferingOutput struct { _ struct{} `type:"structure"` + + Arn *string `locationName:"arn" type:"string"` + + CurrencyCode *string `locationName:"currencyCode" type:"string"` + + Duration *int64 `locationName:"duration" type:"integer"` + + // Units for duration, e.g. 'MONTHS' + DurationUnits *string `locationName:"durationUnits" type:"string" enum:"OfferingDurationUnits"` + + FixedPrice *float64 `locationName:"fixedPrice" type:"double"` + + OfferingDescription *string `locationName:"offeringDescription" type:"string"` + + OfferingId *string `locationName:"offeringId" type:"string"` + + // Offering type, e.g. 'NO_UPFRONT' + OfferingType *string `locationName:"offeringType" type:"string" enum:"OfferingType"` + + Region *string `locationName:"region" type:"string"` + + // Resource configuration (codec, resolution, bitrate, ...) + ResourceSpecification *ReservationResourceSpecification `locationName:"resourceSpecification" type:"structure"` + + UsagePrice *float64 `locationName:"usagePrice" type:"double"` } // String returns the string representation. @@ -11226,7 +18881,7 @@ type ColorSpacePassthroughSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ColorSpacePassthroughSettings) String() string { +func (s DescribeOfferingOutput) String() string { return awsutil.Prettify(s) } @@ -11235,15 +18890,81 @@ func (s ColorSpacePassthroughSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ColorSpacePassthroughSettings) GoString() string { +func (s DescribeOfferingOutput) GoString() string { return s.String() } -type ConflictException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// SetArn sets the Arn field's value. +func (s *DescribeOfferingOutput) SetArn(v string) *DescribeOfferingOutput { + s.Arn = &v + return s +} - Message_ *string `locationName:"message" type:"string"` +// SetCurrencyCode sets the CurrencyCode field's value. +func (s *DescribeOfferingOutput) SetCurrencyCode(v string) *DescribeOfferingOutput { + s.CurrencyCode = &v + return s +} + +// SetDuration sets the Duration field's value. +func (s *DescribeOfferingOutput) SetDuration(v int64) *DescribeOfferingOutput { + s.Duration = &v + return s +} + +// SetDurationUnits sets the DurationUnits field's value. +func (s *DescribeOfferingOutput) SetDurationUnits(v string) *DescribeOfferingOutput { + s.DurationUnits = &v + return s +} + +// SetFixedPrice sets the FixedPrice field's value. +func (s *DescribeOfferingOutput) SetFixedPrice(v float64) *DescribeOfferingOutput { + s.FixedPrice = &v + return s +} + +// SetOfferingDescription sets the OfferingDescription field's value. +func (s *DescribeOfferingOutput) SetOfferingDescription(v string) *DescribeOfferingOutput { + s.OfferingDescription = &v + return s +} + +// SetOfferingId sets the OfferingId field's value. +func (s *DescribeOfferingOutput) SetOfferingId(v string) *DescribeOfferingOutput { + s.OfferingId = &v + return s +} + +// SetOfferingType sets the OfferingType field's value. +func (s *DescribeOfferingOutput) SetOfferingType(v string) *DescribeOfferingOutput { + s.OfferingType = &v + return s +} + +// SetRegion sets the Region field's value. +func (s *DescribeOfferingOutput) SetRegion(v string) *DescribeOfferingOutput { + s.Region = &v + return s +} + +// SetResourceSpecification sets the ResourceSpecification field's value. +func (s *DescribeOfferingOutput) SetResourceSpecification(v *ReservationResourceSpecification) *DescribeOfferingOutput { + s.ResourceSpecification = v + return s +} + +// SetUsagePrice sets the UsagePrice field's value. +func (s *DescribeOfferingOutput) SetUsagePrice(v float64) *DescribeOfferingOutput { + s.UsagePrice = &v + return s +} + +type DescribeReservationInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // ReservationId is a required field + ReservationId *string `location:"uri" locationName:"reservationId" type:"string" required:"true"` } // String returns the string representation. @@ -11251,7 +18972,7 @@ type ConflictException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ConflictException) String() string { +func (s DescribeReservationInput) String() string { return awsutil.Prettify(s) } @@ -11260,84 +18981,77 @@ func (s ConflictException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ConflictException) GoString() string { +func (s DescribeReservationInput) GoString() string { return s.String() } -func newErrorConflictException(v protocol.ResponseMetadata) error { - return &ConflictException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeReservationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeReservationInput"} + if s.ReservationId == nil { + invalidParams.Add(request.NewErrParamRequired("ReservationId")) } -} - -// Code returns the exception type name. -func (s *ConflictException) Code() string { - return "ConflictException" -} - -// Message returns the exception's message. -func (s *ConflictException) Message() string { - if s.Message_ != nil { - return *s.Message_ + if s.ReservationId != nil && len(*s.ReservationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ReservationId", 1)) } - return "" -} -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ConflictException) OrigErr() error { + if invalidParams.Len() > 0 { + return invalidParams + } return nil } -func (s *ConflictException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +// SetReservationId sets the ReservationId field's value. +func (s *DescribeReservationInput) SetReservationId(v string) *DescribeReservationInput { + s.ReservationId = &v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *ConflictException) StatusCode() int { - return s.RespMetadata.StatusCode -} +type DescribeReservationOutput struct { + _ struct{} `type:"structure"` -// RequestID returns the service's response RequestID for request. -func (s *ConflictException) RequestID() string { - return s.RespMetadata.RequestID -} + Arn *string `locationName:"arn" type:"string"` -type CreateChannelInput struct { - _ struct{} `type:"structure"` + Count *int64 `locationName:"count" type:"integer"` - CdiInputSpecification *CdiInputSpecification `locationName:"cdiInputSpecification" type:"structure"` + CurrencyCode *string `locationName:"currencyCode" type:"string"` - // A standard channel has two encoding pipelines and a single pipeline channel - // only has one. - ChannelClass *string `locationName:"channelClass" type:"string" enum:"ChannelClass"` + Duration *int64 `locationName:"duration" type:"integer"` - Destinations []*OutputDestination `locationName:"destinations" type:"list"` + // Units for duration, e.g. 'MONTHS' + DurationUnits *string `locationName:"durationUnits" type:"string" enum:"OfferingDurationUnits"` - // Encoder Settings - EncoderSettings *EncoderSettings `locationName:"encoderSettings" type:"structure"` + End *string `locationName:"end" type:"string"` - InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` + FixedPrice *float64 `locationName:"fixedPrice" type:"double"` - InputSpecification *InputSpecification `locationName:"inputSpecification" type:"structure"` + Name *string `locationName:"name" type:"string"` - // The log level the user wants for their channel. - LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` + OfferingDescription *string `locationName:"offeringDescription" type:"string"` - Maintenance *MaintenanceCreateSettings `locationName:"maintenance" type:"structure"` + OfferingId *string `locationName:"offeringId" type:"string"` - Name *string `locationName:"name" type:"string"` + // Offering type, e.g. 'NO_UPFRONT' + OfferingType *string `locationName:"offeringType" type:"string" enum:"OfferingType"` - RequestId *string `locationName:"requestId" type:"string" idempotencyToken:"true"` + Region *string `locationName:"region" type:"string"` - Reserved *string `locationName:"reserved" deprecated:"true" type:"string"` + // The Renewal settings for Reservations + RenewalSettings *RenewalSettings `locationName:"renewalSettings" type:"structure"` - RoleArn *string `locationName:"roleArn" type:"string"` + ReservationId *string `locationName:"reservationId" type:"string"` + + // Resource configuration (codec, resolution, bitrate, ...) + ResourceSpecification *ReservationResourceSpecification `locationName:"resourceSpecification" type:"structure"` + + Start *string `locationName:"start" type:"string"` + + // Current reservation state + State *string `locationName:"state" type:"string" enum:"ReservationState"` Tags map[string]*string `locationName:"tags" type:"map"` - // The properties for a private VPC OutputWhen this property is specified, the - // output egress addresses will be created in a user specified VPC - Vpc *VpcOutputSettings `locationName:"vpc" type:"structure"` + UsagePrice *float64 `locationName:"usagePrice" type:"double"` } // String returns the string representation. @@ -11345,7 +19059,7 @@ type CreateChannelInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateChannelInput) String() string { +func (s DescribeReservationOutput) String() string { return awsutil.Prettify(s) } @@ -11354,138 +19068,133 @@ func (s CreateChannelInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateChannelInput) GoString() string { +func (s DescribeReservationOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *CreateChannelInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateChannelInput"} - if s.Destinations != nil { - for i, v := range s.Destinations { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Destinations", i), err.(request.ErrInvalidParams)) - } - } - } - if s.EncoderSettings != nil { - if err := s.EncoderSettings.Validate(); err != nil { - invalidParams.AddNested("EncoderSettings", err.(request.ErrInvalidParams)) - } - } - if s.InputAttachments != nil { - for i, v := range s.InputAttachments { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputAttachments", i), err.(request.ErrInvalidParams)) - } - } - } - if s.Vpc != nil { - if err := s.Vpc.Validate(); err != nil { - invalidParams.AddNested("Vpc", err.(request.ErrInvalidParams)) - } - } +// SetArn sets the Arn field's value. +func (s *DescribeReservationOutput) SetArn(v string) *DescribeReservationOutput { + s.Arn = &v + return s +} + +// SetCount sets the Count field's value. +func (s *DescribeReservationOutput) SetCount(v int64) *DescribeReservationOutput { + s.Count = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetCurrencyCode sets the CurrencyCode field's value. +func (s *DescribeReservationOutput) SetCurrencyCode(v string) *DescribeReservationOutput { + s.CurrencyCode = &v + return s } -// SetCdiInputSpecification sets the CdiInputSpecification field's value. -func (s *CreateChannelInput) SetCdiInputSpecification(v *CdiInputSpecification) *CreateChannelInput { - s.CdiInputSpecification = v +// SetDuration sets the Duration field's value. +func (s *DescribeReservationOutput) SetDuration(v int64) *DescribeReservationOutput { + s.Duration = &v return s } -// SetChannelClass sets the ChannelClass field's value. -func (s *CreateChannelInput) SetChannelClass(v string) *CreateChannelInput { - s.ChannelClass = &v +// SetDurationUnits sets the DurationUnits field's value. +func (s *DescribeReservationOutput) SetDurationUnits(v string) *DescribeReservationOutput { + s.DurationUnits = &v return s } -// SetDestinations sets the Destinations field's value. -func (s *CreateChannelInput) SetDestinations(v []*OutputDestination) *CreateChannelInput { - s.Destinations = v +// SetEnd sets the End field's value. +func (s *DescribeReservationOutput) SetEnd(v string) *DescribeReservationOutput { + s.End = &v return s } -// SetEncoderSettings sets the EncoderSettings field's value. -func (s *CreateChannelInput) SetEncoderSettings(v *EncoderSettings) *CreateChannelInput { - s.EncoderSettings = v +// SetFixedPrice sets the FixedPrice field's value. +func (s *DescribeReservationOutput) SetFixedPrice(v float64) *DescribeReservationOutput { + s.FixedPrice = &v return s } -// SetInputAttachments sets the InputAttachments field's value. -func (s *CreateChannelInput) SetInputAttachments(v []*InputAttachment) *CreateChannelInput { - s.InputAttachments = v +// SetName sets the Name field's value. +func (s *DescribeReservationOutput) SetName(v string) *DescribeReservationOutput { + s.Name = &v return s } -// SetInputSpecification sets the InputSpecification field's value. -func (s *CreateChannelInput) SetInputSpecification(v *InputSpecification) *CreateChannelInput { - s.InputSpecification = v +// SetOfferingDescription sets the OfferingDescription field's value. +func (s *DescribeReservationOutput) SetOfferingDescription(v string) *DescribeReservationOutput { + s.OfferingDescription = &v return s } -// SetLogLevel sets the LogLevel field's value. -func (s *CreateChannelInput) SetLogLevel(v string) *CreateChannelInput { - s.LogLevel = &v +// SetOfferingId sets the OfferingId field's value. +func (s *DescribeReservationOutput) SetOfferingId(v string) *DescribeReservationOutput { + s.OfferingId = &v return s } -// SetMaintenance sets the Maintenance field's value. -func (s *CreateChannelInput) SetMaintenance(v *MaintenanceCreateSettings) *CreateChannelInput { - s.Maintenance = v +// SetOfferingType sets the OfferingType field's value. +func (s *DescribeReservationOutput) SetOfferingType(v string) *DescribeReservationOutput { + s.OfferingType = &v return s } -// SetName sets the Name field's value. -func (s *CreateChannelInput) SetName(v string) *CreateChannelInput { - s.Name = &v +// SetRegion sets the Region field's value. +func (s *DescribeReservationOutput) SetRegion(v string) *DescribeReservationOutput { + s.Region = &v return s } -// SetRequestId sets the RequestId field's value. -func (s *CreateChannelInput) SetRequestId(v string) *CreateChannelInput { - s.RequestId = &v +// SetRenewalSettings sets the RenewalSettings field's value. +func (s *DescribeReservationOutput) SetRenewalSettings(v *RenewalSettings) *DescribeReservationOutput { + s.RenewalSettings = v return s } -// SetReserved sets the Reserved field's value. -func (s *CreateChannelInput) SetReserved(v string) *CreateChannelInput { - s.Reserved = &v +// SetReservationId sets the ReservationId field's value. +func (s *DescribeReservationOutput) SetReservationId(v string) *DescribeReservationOutput { + s.ReservationId = &v return s } -// SetRoleArn sets the RoleArn field's value. -func (s *CreateChannelInput) SetRoleArn(v string) *CreateChannelInput { - s.RoleArn = &v +// SetResourceSpecification sets the ResourceSpecification field's value. +func (s *DescribeReservationOutput) SetResourceSpecification(v *ReservationResourceSpecification) *DescribeReservationOutput { + s.ResourceSpecification = v + return s +} + +// SetStart sets the Start field's value. +func (s *DescribeReservationOutput) SetStart(v string) *DescribeReservationOutput { + s.Start = &v + return s +} + +// SetState sets the State field's value. +func (s *DescribeReservationOutput) SetState(v string) *DescribeReservationOutput { + s.State = &v return s } // SetTags sets the Tags field's value. -func (s *CreateChannelInput) SetTags(v map[string]*string) *CreateChannelInput { +func (s *DescribeReservationOutput) SetTags(v map[string]*string) *DescribeReservationOutput { s.Tags = v return s } -// SetVpc sets the Vpc field's value. -func (s *CreateChannelInput) SetVpc(v *VpcOutputSettings) *CreateChannelInput { - s.Vpc = v +// SetUsagePrice sets the UsagePrice field's value. +func (s *DescribeReservationOutput) SetUsagePrice(v float64) *DescribeReservationOutput { + s.UsagePrice = &v return s } -type CreateChannelOutput struct { - _ struct{} `type:"structure"` +type DescribeScheduleInput struct { + _ struct{} `type:"structure" nopayload:"true"` - Channel *Channel `locationName:"channel" type:"structure"` + // ChannelId is a required field + ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` + + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -11493,7 +19202,7 @@ type CreateChannelOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateChannelOutput) String() string { +func (s DescribeScheduleInput) String() string { return awsutil.Prettify(s) } @@ -11502,45 +19211,96 @@ func (s CreateChannelOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateChannelOutput) GoString() string { +func (s DescribeScheduleInput) GoString() string { return s.String() } -// SetChannel sets the Channel field's value. -func (s *CreateChannelOutput) SetChannel(v *Channel) *CreateChannelOutput { - s.Channel = v +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeScheduleInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeScheduleInput"} + if s.ChannelId == nil { + invalidParams.Add(request.NewErrParamRequired("ChannelId")) + } + if s.ChannelId != nil && len(*s.ChannelId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChannelId sets the ChannelId field's value. +func (s *DescribeScheduleInput) SetChannelId(v string) *DescribeScheduleInput { + s.ChannelId = &v return s } -type CreateInputInput struct { - _ struct{} `type:"structure"` +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeScheduleInput) SetMaxResults(v int64) *DescribeScheduleInput { + s.MaxResults = &v + return s +} - Destinations []*InputDestinationRequest `locationName:"destinations" type:"list"` +// SetNextToken sets the NextToken field's value. +func (s *DescribeScheduleInput) SetNextToken(v string) *DescribeScheduleInput { + s.NextToken = &v + return s +} - InputDevices []*InputDeviceSettings `locationName:"inputDevices" type:"list"` +type DescribeScheduleOutput struct { + _ struct{} `type:"structure"` - InputSecurityGroups []*string `locationName:"inputSecurityGroups" type:"list"` + NextToken *string `locationName:"nextToken" type:"string"` - MediaConnectFlows []*MediaConnectFlowRequest `locationName:"mediaConnectFlows" type:"list"` + ScheduleActions []*ScheduleAction `locationName:"scheduleActions" type:"list"` +} - Name *string `locationName:"name" type:"string"` +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeScheduleOutput) String() string { + return awsutil.Prettify(s) +} - RequestId *string `locationName:"requestId" type:"string" idempotencyToken:"true"` +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeScheduleOutput) GoString() string { + return s.String() +} - RoleArn *string `locationName:"roleArn" type:"string"` +// SetNextToken sets the NextToken field's value. +func (s *DescribeScheduleOutput) SetNextToken(v string) *DescribeScheduleOutput { + s.NextToken = &v + return s +} - Sources []*InputSourceRequest `locationName:"sources" type:"list"` +// SetScheduleActions sets the ScheduleActions field's value. +func (s *DescribeScheduleOutput) SetScheduleActions(v []*ScheduleAction) *DescribeScheduleOutput { + s.ScheduleActions = v + return s +} - Tags map[string]*string `locationName:"tags" type:"map"` +type DescribeThumbnailsInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // The different types of inputs that AWS Elemental MediaLive supports. - Type *string `locationName:"type" type:"string" enum:"InputType"` + // ChannelId is a required field + ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` - // Settings for a private VPC Input.When this property is specified, the input - // destination addresses will be created in a VPC rather than with public Internet - // addresses.This property requires setting the roleArn property on Input creation.Not - // compatible with the inputSecurityGroups property. - Vpc *InputVpcRequest `locationName:"vpc" type:"structure"` + // PipelineId is a required field + PipelineId *string `location:"querystring" locationName:"pipelineId" type:"string" required:"true"` + + // ThumbnailType is a required field + ThumbnailType *string `location:"querystring" locationName:"thumbnailType" type:"string" required:"true"` } // String returns the string representation. @@ -11548,7 +19308,7 @@ type CreateInputInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateInputInput) String() string { +func (s DescribeThumbnailsInput) String() string { return awsutil.Prettify(s) } @@ -11557,17 +19317,24 @@ func (s CreateInputInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateInputInput) GoString() string { +func (s DescribeThumbnailsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateInputInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateInputInput"} - if s.Vpc != nil { - if err := s.Vpc.Validate(); err != nil { - invalidParams.AddNested("Vpc", err.(request.ErrInvalidParams)) - } +func (s *DescribeThumbnailsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeThumbnailsInput"} + if s.ChannelId == nil { + invalidParams.Add(request.NewErrParamRequired("ChannelId")) + } + if s.ChannelId != nil && len(*s.ChannelId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) + } + if s.PipelineId == nil { + invalidParams.Add(request.NewErrParamRequired("PipelineId")) + } + if s.ThumbnailType == nil { + invalidParams.Add(request.NewErrParamRequired("ThumbnailType")) } if invalidParams.Len() > 0 { @@ -11576,76 +19343,57 @@ func (s *CreateInputInput) Validate() error { return nil } -// SetDestinations sets the Destinations field's value. -func (s *CreateInputInput) SetDestinations(v []*InputDestinationRequest) *CreateInputInput { - s.Destinations = v - return s -} - -// SetInputDevices sets the InputDevices field's value. -func (s *CreateInputInput) SetInputDevices(v []*InputDeviceSettings) *CreateInputInput { - s.InputDevices = v - return s -} - -// SetInputSecurityGroups sets the InputSecurityGroups field's value. -func (s *CreateInputInput) SetInputSecurityGroups(v []*string) *CreateInputInput { - s.InputSecurityGroups = v - return s -} - -// SetMediaConnectFlows sets the MediaConnectFlows field's value. -func (s *CreateInputInput) SetMediaConnectFlows(v []*MediaConnectFlowRequest) *CreateInputInput { - s.MediaConnectFlows = v +// SetChannelId sets the ChannelId field's value. +func (s *DescribeThumbnailsInput) SetChannelId(v string) *DescribeThumbnailsInput { + s.ChannelId = &v return s } -// SetName sets the Name field's value. -func (s *CreateInputInput) SetName(v string) *CreateInputInput { - s.Name = &v +// SetPipelineId sets the PipelineId field's value. +func (s *DescribeThumbnailsInput) SetPipelineId(v string) *DescribeThumbnailsInput { + s.PipelineId = &v return s } -// SetRequestId sets the RequestId field's value. -func (s *CreateInputInput) SetRequestId(v string) *CreateInputInput { - s.RequestId = &v +// SetThumbnailType sets the ThumbnailType field's value. +func (s *DescribeThumbnailsInput) SetThumbnailType(v string) *DescribeThumbnailsInput { + s.ThumbnailType = &v return s } -// SetRoleArn sets the RoleArn field's value. -func (s *CreateInputInput) SetRoleArn(v string) *CreateInputInput { - s.RoleArn = &v - return s -} +type DescribeThumbnailsOutput struct { + _ struct{} `type:"structure"` -// SetSources sets the Sources field's value. -func (s *CreateInputInput) SetSources(v []*InputSourceRequest) *CreateInputInput { - s.Sources = v - return s + ThumbnailDetails []*ThumbnailDetail `locationName:"thumbnailDetails" type:"list"` } -// SetTags sets the Tags field's value. -func (s *CreateInputInput) SetTags(v map[string]*string) *CreateInputInput { - s.Tags = v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeThumbnailsOutput) String() string { + return awsutil.Prettify(s) } -// SetType sets the Type field's value. -func (s *CreateInputInput) SetType(v string) *CreateInputInput { - s.Type = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeThumbnailsOutput) GoString() string { + return s.String() } -// SetVpc sets the Vpc field's value. -func (s *CreateInputInput) SetVpc(v *InputVpcRequest) *CreateInputInput { - s.Vpc = v +// SetThumbnailDetails sets the ThumbnailDetails field's value. +func (s *DescribeThumbnailsOutput) SetThumbnailDetails(v []*ThumbnailDetail) *DescribeThumbnailsOutput { + s.ThumbnailDetails = v return s } -type CreateInputOutput struct { +// Dolby Vision81 Settings +type DolbyVision81Settings struct { _ struct{} `type:"structure"` - - Input *Input `locationName:"input" type:"structure"` } // String returns the string representation. @@ -11653,7 +19401,7 @@ type CreateInputOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateInputOutput) String() string { +func (s DolbyVision81Settings) String() string { return awsutil.Prettify(s) } @@ -11662,22 +19410,28 @@ func (s CreateInputOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateInputOutput) GoString() string { +func (s DolbyVision81Settings) GoString() string { return s.String() } -// SetInput sets the Input field's value. -func (s *CreateInputOutput) SetInput(v *Input) *CreateInputOutput { - s.Input = v - return s -} - -type CreateInputSecurityGroupInput struct { +// DVB Network Information Table (NIT) +type DvbNitSettings struct { _ struct{} `type:"structure"` - Tags map[string]*string `locationName:"tags" type:"map"` + // The numeric value placed in the Network Information Table (NIT). + // + // NetworkId is a required field + NetworkId *int64 `locationName:"networkId" type:"integer" required:"true"` - WhitelistRules []*InputWhitelistRuleCidr `locationName:"whitelistRules" type:"list"` + // The network name text placed in the networkNameDescriptor inside the Network + // Information Table. Maximum length is 256 characters. + // + // NetworkName is a required field + NetworkName *string `locationName:"networkName" min:"1" type:"string" required:"true"` + + // The number of milliseconds between instances of this table in the output + // transport stream. + RepInterval *int64 `locationName:"repInterval" min:"25" type:"integer"` } // String returns the string representation. @@ -11685,7 +19439,7 @@ type CreateInputSecurityGroupInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateInputSecurityGroupInput) String() string { +func (s DvbNitSettings) String() string { return awsutil.Prettify(s) } @@ -11694,27 +19448,73 @@ func (s CreateInputSecurityGroupInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateInputSecurityGroupInput) GoString() string { +func (s DvbNitSettings) GoString() string { return s.String() } -// SetTags sets the Tags field's value. -func (s *CreateInputSecurityGroupInput) SetTags(v map[string]*string) *CreateInputSecurityGroupInput { - s.Tags = v +// Validate inspects the fields of the type to determine if they are valid. +func (s *DvbNitSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DvbNitSettings"} + if s.NetworkId == nil { + invalidParams.Add(request.NewErrParamRequired("NetworkId")) + } + if s.NetworkName == nil { + invalidParams.Add(request.NewErrParamRequired("NetworkName")) + } + if s.NetworkName != nil && len(*s.NetworkName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NetworkName", 1)) + } + if s.RepInterval != nil && *s.RepInterval < 25 { + invalidParams.Add(request.NewErrParamMinValue("RepInterval", 25)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetNetworkId sets the NetworkId field's value. +func (s *DvbNitSettings) SetNetworkId(v int64) *DvbNitSettings { + s.NetworkId = &v return s } -// SetWhitelistRules sets the WhitelistRules field's value. -func (s *CreateInputSecurityGroupInput) SetWhitelistRules(v []*InputWhitelistRuleCidr) *CreateInputSecurityGroupInput { - s.WhitelistRules = v +// SetNetworkName sets the NetworkName field's value. +func (s *DvbNitSettings) SetNetworkName(v string) *DvbNitSettings { + s.NetworkName = &v return s } -type CreateInputSecurityGroupOutput struct { +// SetRepInterval sets the RepInterval field's value. +func (s *DvbNitSettings) SetRepInterval(v int64) *DvbNitSettings { + s.RepInterval = &v + return s +} + +// DVB Service Description Table (SDT) +type DvbSdtSettings struct { _ struct{} `type:"structure"` - // An Input Security Group - SecurityGroup *InputSecurityGroup `locationName:"securityGroup" type:"structure"` + // Selects method of inserting SDT information into output stream. The sdtFollow + // setting copies SDT information from input stream to output stream. The sdtFollowIfPresent + // setting copies SDT information from input stream to output stream if SDT + // information is present in the input, otherwise it will fall back on the user-defined + // values. The sdtManual setting means user will enter the SDT information. + // The sdtNone setting means output stream will not contain SDT information. + OutputSdt *string `locationName:"outputSdt" type:"string" enum:"DvbSdtOutputSdt"` + + // The number of milliseconds between instances of this table in the output + // transport stream. + RepInterval *int64 `locationName:"repInterval" min:"25" type:"integer"` + + // The service name placed in the serviceDescriptor in the Service Description + // Table. Maximum length is 256 characters. + ServiceName *string `locationName:"serviceName" min:"1" type:"string"` + + // The service provider name placed in the serviceDescriptor in the Service + // Description Table. Maximum length is 256 characters. + ServiceProviderName *string `locationName:"serviceProviderName" min:"1" type:"string"` } // String returns the string representation. @@ -11722,7 +19522,7 @@ type CreateInputSecurityGroupOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateInputSecurityGroupOutput) String() string { +func (s DvbSdtSettings) String() string { return awsutil.Prettify(s) } @@ -11731,33 +19531,155 @@ func (s CreateInputSecurityGroupOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateInputSecurityGroupOutput) GoString() string { +func (s DvbSdtSettings) GoString() string { return s.String() } -// SetSecurityGroup sets the SecurityGroup field's value. -func (s *CreateInputSecurityGroupOutput) SetSecurityGroup(v *InputSecurityGroup) *CreateInputSecurityGroupOutput { - s.SecurityGroup = v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *DvbSdtSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DvbSdtSettings"} + if s.RepInterval != nil && *s.RepInterval < 25 { + invalidParams.Add(request.NewErrParamMinValue("RepInterval", 25)) + } + if s.ServiceName != nil && len(*s.ServiceName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ServiceName", 1)) + } + if s.ServiceProviderName != nil && len(*s.ServiceProviderName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ServiceProviderName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetOutputSdt sets the OutputSdt field's value. +func (s *DvbSdtSettings) SetOutputSdt(v string) *DvbSdtSettings { + s.OutputSdt = &v + return s +} + +// SetRepInterval sets the RepInterval field's value. +func (s *DvbSdtSettings) SetRepInterval(v int64) *DvbSdtSettings { + s.RepInterval = &v + return s +} + +// SetServiceName sets the ServiceName field's value. +func (s *DvbSdtSettings) SetServiceName(v string) *DvbSdtSettings { + s.ServiceName = &v + return s +} + +// SetServiceProviderName sets the ServiceProviderName field's value. +func (s *DvbSdtSettings) SetServiceProviderName(v string) *DvbSdtSettings { + s.ServiceProviderName = &v + return s +} + +// Dvb Sub Destination Settings +type DvbSubDestinationSettings struct { + _ struct{} `type:"structure"` + + // If no explicit xPosition or yPosition is provided, setting alignment to centered + // will place the captions at the bottom center of the output. Similarly, setting + // a left alignment will align captions to the bottom left of the output. If + // x and y positions are given in conjunction with the alignment parameter, + // the font will be justified (either left or centered) relative to those coordinates. + // Selecting "smart" justification will left-justify live subtitles and center-justify + // pre-recorded subtitles. This option is not valid for source captions that + // are STL or 608/embedded. These source settings are already pre-defined by + // the caption stream. All burn-in and DVB-Sub font settings must match. + Alignment *string `locationName:"alignment" type:"string" enum:"DvbSubDestinationAlignment"` + + // Specifies the color of the rectangle behind the captions. All burn-in and + // DVB-Sub font settings must match. + BackgroundColor *string `locationName:"backgroundColor" type:"string" enum:"DvbSubDestinationBackgroundColor"` + + // Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. + // Leaving this parameter blank is equivalent to setting it to 0 (transparent). + // All burn-in and DVB-Sub font settings must match. + BackgroundOpacity *int64 `locationName:"backgroundOpacity" type:"integer"` + + // External font file used for caption burn-in. File extension must be 'ttf' + // or 'tte'. Although the user can select output fonts for many different types + // of input captions, embedded, STL and teletext sources use a strict grid system. + // Using external fonts with these caption sources could cause unexpected display + // of proportional fonts. All burn-in and DVB-Sub font settings must match. + Font *InputLocation `locationName:"font" type:"structure"` + + // Specifies the color of the burned-in captions. This option is not valid for + // source captions that are STL, 608/embedded or teletext. These source settings + // are already pre-defined by the caption stream. All burn-in and DVB-Sub font + // settings must match. + FontColor *string `locationName:"fontColor" type:"string" enum:"DvbSubDestinationFontColor"` + + // Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent. + // All burn-in and DVB-Sub font settings must match. + FontOpacity *int64 `locationName:"fontOpacity" type:"integer"` + + // Font resolution in DPI (dots per inch); default is 96 dpi. All burn-in and + // DVB-Sub font settings must match. + FontResolution *int64 `locationName:"fontResolution" min:"96" type:"integer"` + + // When set to auto fontSize will scale depending on the size of the output. + // Giving a positive integer will specify the exact font size in points. All + // burn-in and DVB-Sub font settings must match. + FontSize *string `locationName:"fontSize" type:"string"` + + // Specifies font outline color. This option is not valid for source captions + // that are either 608/embedded or teletext. These source settings are already + // pre-defined by the caption stream. All burn-in and DVB-Sub font settings + // must match. + OutlineColor *string `locationName:"outlineColor" type:"string" enum:"DvbSubDestinationOutlineColor"` + + // Specifies font outline size in pixels. This option is not valid for source + // captions that are either 608/embedded or teletext. These source settings + // are already pre-defined by the caption stream. All burn-in and DVB-Sub font + // settings must match. + OutlineSize *int64 `locationName:"outlineSize" type:"integer"` -type CreateMultiplexInput struct { - _ struct{} `type:"structure"` + // Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub + // font settings must match. + ShadowColor *string `locationName:"shadowColor" type:"string" enum:"DvbSubDestinationShadowColor"` - // AvailabilityZones is a required field - AvailabilityZones []*string `locationName:"availabilityZones" type:"list" required:"true"` + // Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving + // this parameter blank is equivalent to setting it to 0 (transparent). All + // burn-in and DVB-Sub font settings must match. + ShadowOpacity *int64 `locationName:"shadowOpacity" type:"integer"` - // Contains configuration for a Multiplex event - // - // MultiplexSettings is a required field - MultiplexSettings *MultiplexSettings `locationName:"multiplexSettings" type:"structure" required:"true"` + // Specifies the horizontal offset of the shadow relative to the captions in + // pixels. A value of -2 would result in a shadow offset 2 pixels to the left. + // All burn-in and DVB-Sub font settings must match. + ShadowXOffset *int64 `locationName:"shadowXOffset" type:"integer"` - // Name is a required field - Name *string `locationName:"name" type:"string" required:"true"` + // Specifies the vertical offset of the shadow relative to the captions in pixels. + // A value of -2 would result in a shadow offset 2 pixels above the text. All + // burn-in and DVB-Sub font settings must match. + ShadowYOffset *int64 `locationName:"shadowYOffset" type:"integer"` - RequestId *string `locationName:"requestId" type:"string" idempotencyToken:"true"` + // Controls whether a fixed grid size will be used to generate the output subtitles + // bitmap. Only applicable for Teletext inputs and DVB-Sub/Burn-in outputs. + TeletextGridControl *string `locationName:"teletextGridControl" type:"string" enum:"DvbSubDestinationTeletextGridControl"` - Tags map[string]*string `locationName:"tags" type:"map"` + // Specifies the horizontal position of the caption relative to the left side + // of the output in pixels. A value of 10 would result in the captions starting + // 10 pixels from the left of the output. If no explicit xPosition is provided, + // the horizontal caption position will be determined by the alignment parameter. + // This option is not valid for source captions that are STL, 608/embedded or + // teletext. These source settings are already pre-defined by the caption stream. + // All burn-in and DVB-Sub font settings must match. + XPosition *int64 `locationName:"xPosition" type:"integer"` + + // Specifies the vertical position of the caption relative to the top of the + // output in pixels. A value of 10 would result in the captions starting 10 + // pixels from the top of the output. If no explicit yPosition is provided, + // the caption will be positioned towards the bottom of the output. This option + // is not valid for source captions that are STL, 608/embedded or teletext. + // These source settings are already pre-defined by the caption stream. All + // burn-in and DVB-Sub font settings must match. + YPosition *int64 `locationName:"yPosition" type:"integer"` } // String returns the string representation. @@ -11765,7 +19687,7 @@ type CreateMultiplexInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateMultiplexInput) String() string { +func (s DvbSubDestinationSettings) String() string { return awsutil.Prettify(s) } @@ -11774,25 +19696,19 @@ func (s CreateMultiplexInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateMultiplexInput) GoString() string { +func (s DvbSubDestinationSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateMultiplexInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateMultiplexInput"} - if s.AvailabilityZones == nil { - invalidParams.Add(request.NewErrParamRequired("AvailabilityZones")) - } - if s.MultiplexSettings == nil { - invalidParams.Add(request.NewErrParamRequired("MultiplexSettings")) - } - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) +func (s *DvbSubDestinationSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DvbSubDestinationSettings"} + if s.FontResolution != nil && *s.FontResolution < 96 { + invalidParams.Add(request.NewErrParamMinValue("FontResolution", 96)) } - if s.MultiplexSettings != nil { - if err := s.MultiplexSettings.Validate(); err != nil { - invalidParams.AddNested("MultiplexSettings", err.(request.ErrInvalidParams)) + if s.Font != nil { + if err := s.Font.Validate(); err != nil { + invalidParams.AddNested("Font", err.(request.ErrInvalidParams)) } } @@ -11802,193 +19718,121 @@ func (s *CreateMultiplexInput) Validate() error { return nil } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *CreateMultiplexInput) SetAvailabilityZones(v []*string) *CreateMultiplexInput { - s.AvailabilityZones = v +// SetAlignment sets the Alignment field's value. +func (s *DvbSubDestinationSettings) SetAlignment(v string) *DvbSubDestinationSettings { + s.Alignment = &v return s } -// SetMultiplexSettings sets the MultiplexSettings field's value. -func (s *CreateMultiplexInput) SetMultiplexSettings(v *MultiplexSettings) *CreateMultiplexInput { - s.MultiplexSettings = v +// SetBackgroundColor sets the BackgroundColor field's value. +func (s *DvbSubDestinationSettings) SetBackgroundColor(v string) *DvbSubDestinationSettings { + s.BackgroundColor = &v return s } -// SetName sets the Name field's value. -func (s *CreateMultiplexInput) SetName(v string) *CreateMultiplexInput { - s.Name = &v +// SetBackgroundOpacity sets the BackgroundOpacity field's value. +func (s *DvbSubDestinationSettings) SetBackgroundOpacity(v int64) *DvbSubDestinationSettings { + s.BackgroundOpacity = &v return s } -// SetRequestId sets the RequestId field's value. -func (s *CreateMultiplexInput) SetRequestId(v string) *CreateMultiplexInput { - s.RequestId = &v +// SetFont sets the Font field's value. +func (s *DvbSubDestinationSettings) SetFont(v *InputLocation) *DvbSubDestinationSettings { + s.Font = v return s } -// SetTags sets the Tags field's value. -func (s *CreateMultiplexInput) SetTags(v map[string]*string) *CreateMultiplexInput { - s.Tags = v +// SetFontColor sets the FontColor field's value. +func (s *DvbSubDestinationSettings) SetFontColor(v string) *DvbSubDestinationSettings { + s.FontColor = &v return s } -type CreateMultiplexOutput struct { - _ struct{} `type:"structure"` - - // The multiplex object. - Multiplex *Multiplex `locationName:"multiplex" type:"structure"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s CreateMultiplexOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s CreateMultiplexOutput) GoString() string { - return s.String() -} - -// SetMultiplex sets the Multiplex field's value. -func (s *CreateMultiplexOutput) SetMultiplex(v *Multiplex) *CreateMultiplexOutput { - s.Multiplex = v +// SetFontOpacity sets the FontOpacity field's value. +func (s *DvbSubDestinationSettings) SetFontOpacity(v int64) *DvbSubDestinationSettings { + s.FontOpacity = &v return s } -type CreateMultiplexProgramInput struct { - _ struct{} `type:"structure"` - - // MultiplexId is a required field - MultiplexId *string `location:"uri" locationName:"multiplexId" type:"string" required:"true"` - - // Multiplex Program settings configuration. - // - // MultiplexProgramSettings is a required field - MultiplexProgramSettings *MultiplexProgramSettings `locationName:"multiplexProgramSettings" type:"structure" required:"true"` - - // ProgramName is a required field - ProgramName *string `locationName:"programName" type:"string" required:"true"` - - RequestId *string `locationName:"requestId" type:"string" idempotencyToken:"true"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s CreateMultiplexProgramInput) String() string { - return awsutil.Prettify(s) +// SetFontResolution sets the FontResolution field's value. +func (s *DvbSubDestinationSettings) SetFontResolution(v int64) *DvbSubDestinationSettings { + s.FontResolution = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s CreateMultiplexProgramInput) GoString() string { - return s.String() +// SetFontSize sets the FontSize field's value. +func (s *DvbSubDestinationSettings) SetFontSize(v string) *DvbSubDestinationSettings { + s.FontSize = &v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *CreateMultiplexProgramInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateMultiplexProgramInput"} - if s.MultiplexId == nil { - invalidParams.Add(request.NewErrParamRequired("MultiplexId")) - } - if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) - } - if s.MultiplexProgramSettings == nil { - invalidParams.Add(request.NewErrParamRequired("MultiplexProgramSettings")) - } - if s.ProgramName == nil { - invalidParams.Add(request.NewErrParamRequired("ProgramName")) - } - if s.MultiplexProgramSettings != nil { - if err := s.MultiplexProgramSettings.Validate(); err != nil { - invalidParams.AddNested("MultiplexProgramSettings", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetOutlineColor sets the OutlineColor field's value. +func (s *DvbSubDestinationSettings) SetOutlineColor(v string) *DvbSubDestinationSettings { + s.OutlineColor = &v + return s } -// SetMultiplexId sets the MultiplexId field's value. -func (s *CreateMultiplexProgramInput) SetMultiplexId(v string) *CreateMultiplexProgramInput { - s.MultiplexId = &v +// SetOutlineSize sets the OutlineSize field's value. +func (s *DvbSubDestinationSettings) SetOutlineSize(v int64) *DvbSubDestinationSettings { + s.OutlineSize = &v return s } -// SetMultiplexProgramSettings sets the MultiplexProgramSettings field's value. -func (s *CreateMultiplexProgramInput) SetMultiplexProgramSettings(v *MultiplexProgramSettings) *CreateMultiplexProgramInput { - s.MultiplexProgramSettings = v +// SetShadowColor sets the ShadowColor field's value. +func (s *DvbSubDestinationSettings) SetShadowColor(v string) *DvbSubDestinationSettings { + s.ShadowColor = &v return s } -// SetProgramName sets the ProgramName field's value. -func (s *CreateMultiplexProgramInput) SetProgramName(v string) *CreateMultiplexProgramInput { - s.ProgramName = &v +// SetShadowOpacity sets the ShadowOpacity field's value. +func (s *DvbSubDestinationSettings) SetShadowOpacity(v int64) *DvbSubDestinationSettings { + s.ShadowOpacity = &v return s } -// SetRequestId sets the RequestId field's value. -func (s *CreateMultiplexProgramInput) SetRequestId(v string) *CreateMultiplexProgramInput { - s.RequestId = &v +// SetShadowXOffset sets the ShadowXOffset field's value. +func (s *DvbSubDestinationSettings) SetShadowXOffset(v int64) *DvbSubDestinationSettings { + s.ShadowXOffset = &v return s } -type CreateMultiplexProgramOutput struct { - _ struct{} `type:"structure"` - - // The multiplex program object. - MultiplexProgram *MultiplexProgram `locationName:"multiplexProgram" type:"structure"` +// SetShadowYOffset sets the ShadowYOffset field's value. +func (s *DvbSubDestinationSettings) SetShadowYOffset(v int64) *DvbSubDestinationSettings { + s.ShadowYOffset = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s CreateMultiplexProgramOutput) String() string { - return awsutil.Prettify(s) +// SetTeletextGridControl sets the TeletextGridControl field's value. +func (s *DvbSubDestinationSettings) SetTeletextGridControl(v string) *DvbSubDestinationSettings { + s.TeletextGridControl = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s CreateMultiplexProgramOutput) GoString() string { - return s.String() +// SetXPosition sets the XPosition field's value. +func (s *DvbSubDestinationSettings) SetXPosition(v int64) *DvbSubDestinationSettings { + s.XPosition = &v + return s } -// SetMultiplexProgram sets the MultiplexProgram field's value. -func (s *CreateMultiplexProgramOutput) SetMultiplexProgram(v *MultiplexProgram) *CreateMultiplexProgramOutput { - s.MultiplexProgram = v +// SetYPosition sets the YPosition field's value. +func (s *DvbSubDestinationSettings) SetYPosition(v int64) *DvbSubDestinationSettings { + s.YPosition = &v return s } -type CreatePartnerInputInput struct { +// Dvb Sub Source Settings +type DvbSubSourceSettings struct { _ struct{} `type:"structure"` - // InputId is a required field - InputId *string `location:"uri" locationName:"inputId" type:"string" required:"true"` - - RequestId *string `locationName:"requestId" type:"string" idempotencyToken:"true"` + // If you will configure a WebVTT caption description that references this caption + // selector, use this field toprovide the language to consider when translating + // the image-based source to text. + OcrLanguage *string `locationName:"ocrLanguage" type:"string" enum:"DvbSubOcrLanguage"` - Tags map[string]*string `locationName:"tags" type:"map"` + // When using DVB-Sub with Burn-In or SMPTE-TT, use this PID for the source + // content. Unused for DVB-Sub passthrough. All DVB-Sub content is passed through, + // regardless of selectors. + Pid *int64 `locationName:"pid" min:"1" type:"integer"` } // String returns the string representation. @@ -11996,7 +19840,7 @@ type CreatePartnerInputInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreatePartnerInputInput) String() string { +func (s DvbSubSourceSettings) String() string { return awsutil.Prettify(s) } @@ -12005,18 +19849,15 @@ func (s CreatePartnerInputInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreatePartnerInputInput) GoString() string { +func (s DvbSubSourceSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreatePartnerInputInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreatePartnerInputInput"} - if s.InputId == nil { - invalidParams.Add(request.NewErrParamRequired("InputId")) - } - if s.InputId != nil && len(*s.InputId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InputId", 1)) +func (s *DvbSubSourceSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DvbSubSourceSettings"} + if s.Pid != nil && *s.Pid < 1 { + invalidParams.Add(request.NewErrParamMinValue("Pid", 1)) } if invalidParams.Len() > 0 { @@ -12025,28 +19866,25 @@ func (s *CreatePartnerInputInput) Validate() error { return nil } -// SetInputId sets the InputId field's value. -func (s *CreatePartnerInputInput) SetInputId(v string) *CreatePartnerInputInput { - s.InputId = &v - return s -} - -// SetRequestId sets the RequestId field's value. -func (s *CreatePartnerInputInput) SetRequestId(v string) *CreatePartnerInputInput { - s.RequestId = &v +// SetOcrLanguage sets the OcrLanguage field's value. +func (s *DvbSubSourceSettings) SetOcrLanguage(v string) *DvbSubSourceSettings { + s.OcrLanguage = &v return s } -// SetTags sets the Tags field's value. -func (s *CreatePartnerInputInput) SetTags(v map[string]*string) *CreatePartnerInputInput { - s.Tags = v +// SetPid sets the Pid field's value. +func (s *DvbSubSourceSettings) SetPid(v int64) *DvbSubSourceSettings { + s.Pid = &v return s } -type CreatePartnerInputOutput struct { +// DVB Time and Date Table (SDT) +type DvbTdtSettings struct { _ struct{} `type:"structure"` - Input *Input `locationName:"input" type:"structure"` + // The number of milliseconds between instances of this table in the output + // transport stream. + RepInterval *int64 `locationName:"repInterval" min:"1000" type:"integer"` } // String returns the string representation. @@ -12054,7 +19892,7 @@ type CreatePartnerInputOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreatePartnerInputOutput) String() string { +func (s DvbTdtSettings) String() string { return awsutil.Prettify(s) } @@ -12063,23 +19901,59 @@ func (s CreatePartnerInputOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreatePartnerInputOutput) GoString() string { +func (s DvbTdtSettings) GoString() string { return s.String() } -// SetInput sets the Input field's value. -func (s *CreatePartnerInputOutput) SetInput(v *Input) *CreatePartnerInputOutput { - s.Input = v +// Validate inspects the fields of the type to determine if they are valid. +func (s *DvbTdtSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DvbTdtSettings"} + if s.RepInterval != nil && *s.RepInterval < 1000 { + invalidParams.Add(request.NewErrParamMinValue("RepInterval", 1000)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetRepInterval sets the RepInterval field's value. +func (s *DvbTdtSettings) SetRepInterval(v int64) *DvbTdtSettings { + s.RepInterval = &v return s } -type CreateTagsInput struct { +// Eac3 Atmos Settings +type Eac3AtmosSettings struct { _ struct{} `type:"structure"` - // ResourceArn is a required field - ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"` + // Average bitrate in bits/second. Valid bitrates depend on the coding mode.// + // * @affectsRightSizing true + Bitrate *float64 `locationName:"bitrate" type:"double"` - Tags map[string]*string `locationName:"tags" type:"map"` + // Dolby Digital Plus with Dolby Atmos coding mode. Determines number of channels. + CodingMode *string `locationName:"codingMode" type:"string" enum:"Eac3AtmosCodingMode"` + + // Sets the dialnorm for the output. Default 23. + Dialnorm *int64 `locationName:"dialnorm" min:"1" type:"integer"` + + // Sets the Dolby dynamic range compression profile. + DrcLine *string `locationName:"drcLine" type:"string" enum:"Eac3AtmosDrcLine"` + + // Sets the profile for heavy Dolby dynamic range compression, ensures that + // the instantaneous signal peaks do not exceed specified levels. + DrcRf *string `locationName:"drcRf" type:"string" enum:"Eac3AtmosDrcRf"` + + // Height dimensional trim. Sets the maximum amount to attenuate the height + // channels when the downstream player isn??t configured to handle Dolby Digital + // Plus with Dolby Atmos and must remix the channels. + HeightTrim *float64 `locationName:"heightTrim" type:"double"` + + // Surround dimensional trim. Sets the maximum amount to attenuate the surround + // channels when the downstream player isn't configured to handle Dolby Digital + // Plus with Dolby Atmos and must remix the channels. + SurroundTrim *float64 `locationName:"surroundTrim" type:"double"` } // String returns the string representation. @@ -12087,7 +19961,7 @@ type CreateTagsInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateTagsInput) String() string { +func (s Eac3AtmosSettings) String() string { return awsutil.Prettify(s) } @@ -12096,18 +19970,15 @@ func (s CreateTagsInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateTagsInput) GoString() string { +func (s Eac3AtmosSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateTagsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateTagsInput"} - if s.ResourceArn == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceArn")) - } - if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) +func (s *Eac3AtmosSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Eac3AtmosSettings"} + if s.Dialnorm != nil && *s.Dialnorm < 1 { + invalidParams.Add(request.NewErrParamMinValue("Dialnorm", 1)) } if invalidParams.Len() > 0 { @@ -12116,130 +19987,124 @@ func (s *CreateTagsInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *CreateTagsInput) SetResourceArn(v string) *CreateTagsInput { - s.ResourceArn = &v +// SetBitrate sets the Bitrate field's value. +func (s *Eac3AtmosSettings) SetBitrate(v float64) *Eac3AtmosSettings { + s.Bitrate = &v return s } -// SetTags sets the Tags field's value. -func (s *CreateTagsInput) SetTags(v map[string]*string) *CreateTagsInput { - s.Tags = v +// SetCodingMode sets the CodingMode field's value. +func (s *Eac3AtmosSettings) SetCodingMode(v string) *Eac3AtmosSettings { + s.CodingMode = &v return s } -type CreateTagsOutput struct { - _ struct{} `type:"structure"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s CreateTagsOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s CreateTagsOutput) GoString() string { - return s.String() -} - -type DeleteChannelInput struct { - _ struct{} `type:"structure" nopayload:"true"` - - // ChannelId is a required field - ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` +// SetDialnorm sets the Dialnorm field's value. +func (s *Eac3AtmosSettings) SetDialnorm(v int64) *Eac3AtmosSettings { + s.Dialnorm = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DeleteChannelInput) String() string { - return awsutil.Prettify(s) +// SetDrcLine sets the DrcLine field's value. +func (s *Eac3AtmosSettings) SetDrcLine(v string) *Eac3AtmosSettings { + s.DrcLine = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DeleteChannelInput) GoString() string { - return s.String() +// SetDrcRf sets the DrcRf field's value. +func (s *Eac3AtmosSettings) SetDrcRf(v string) *Eac3AtmosSettings { + s.DrcRf = &v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteChannelInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteChannelInput"} - if s.ChannelId == nil { - invalidParams.Add(request.NewErrParamRequired("ChannelId")) - } - if s.ChannelId != nil && len(*s.ChannelId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetHeightTrim sets the HeightTrim field's value. +func (s *Eac3AtmosSettings) SetHeightTrim(v float64) *Eac3AtmosSettings { + s.HeightTrim = &v + return s } -// SetChannelId sets the ChannelId field's value. -func (s *DeleteChannelInput) SetChannelId(v string) *DeleteChannelInput { - s.ChannelId = &v +// SetSurroundTrim sets the SurroundTrim field's value. +func (s *Eac3AtmosSettings) SetSurroundTrim(v float64) *Eac3AtmosSettings { + s.SurroundTrim = &v return s } -type DeleteChannelOutput struct { +// Eac3 Settings +type Eac3Settings struct { _ struct{} `type:"structure"` - Arn *string `locationName:"arn" type:"string"` + // When set to attenuate3Db, applies a 3 dB attenuation to the surround channels. + // Only used for 3/2 coding mode. + AttenuationControl *string `locationName:"attenuationControl" type:"string" enum:"Eac3AttenuationControl"` - CdiInputSpecification *CdiInputSpecification `locationName:"cdiInputSpecification" type:"structure"` + // Average bitrate in bits/second. Valid bitrates depend on the coding mode. + Bitrate *float64 `locationName:"bitrate" type:"double"` - // A standard channel has two encoding pipelines and a single pipeline channel - // only has one. - ChannelClass *string `locationName:"channelClass" type:"string" enum:"ChannelClass"` + // Specifies the bitstream mode (bsmod) for the emitted E-AC-3 stream. See ATSC + // A/52-2012 (Annex E) for background on these values. + BitstreamMode *string `locationName:"bitstreamMode" type:"string" enum:"Eac3BitstreamMode"` - Destinations []*OutputDestination `locationName:"destinations" type:"list"` + // Dolby Digital Plus coding mode. Determines number of channels. + CodingMode *string `locationName:"codingMode" type:"string" enum:"Eac3CodingMode"` + + // When set to enabled, activates a DC highpass filter for all input channels. + DcFilter *string `locationName:"dcFilter" type:"string" enum:"Eac3DcFilter"` + + // Sets the dialnorm for the output. If blank and input audio is Dolby Digital + // Plus, dialnorm will be passed through. + Dialnorm *int64 `locationName:"dialnorm" min:"1" type:"integer"` - EgressEndpoints []*ChannelEgressEndpoint `locationName:"egressEndpoints" type:"list"` + // Sets the Dolby dynamic range compression profile. + DrcLine *string `locationName:"drcLine" type:"string" enum:"Eac3DrcLine"` - // Encoder Settings - EncoderSettings *EncoderSettings `locationName:"encoderSettings" type:"structure"` + // Sets the profile for heavy Dolby dynamic range compression, ensures that + // the instantaneous signal peaks do not exceed specified levels. + DrcRf *string `locationName:"drcRf" type:"string" enum:"Eac3DrcRf"` - Id *string `locationName:"id" type:"string"` + // When encoding 3/2 audio, setting to lfe enables the LFE channel + LfeControl *string `locationName:"lfeControl" type:"string" enum:"Eac3LfeControl"` - InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` + // When set to enabled, applies a 120Hz lowpass filter to the LFE channel prior + // to encoding. Only valid with codingMode32 coding mode. + LfeFilter *string `locationName:"lfeFilter" type:"string" enum:"Eac3LfeFilter"` - InputSpecification *InputSpecification `locationName:"inputSpecification" type:"structure"` + // Left only/Right only center mix level. Only used for 3/2 coding mode. + LoRoCenterMixLevel *float64 `locationName:"loRoCenterMixLevel" type:"double"` - // The log level the user wants for their channel. - LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` + // Left only/Right only surround mix level. Only used for 3/2 coding mode. + LoRoSurroundMixLevel *float64 `locationName:"loRoSurroundMixLevel" type:"double"` - Maintenance *MaintenanceStatus `locationName:"maintenance" type:"structure"` + // Left total/Right total center mix level. Only used for 3/2 coding mode. + LtRtCenterMixLevel *float64 `locationName:"ltRtCenterMixLevel" type:"double"` - Name *string `locationName:"name" type:"string"` + // Left total/Right total surround mix level. Only used for 3/2 coding mode. + LtRtSurroundMixLevel *float64 `locationName:"ltRtSurroundMixLevel" type:"double"` - PipelineDetails []*PipelineDetail `locationName:"pipelineDetails" type:"list"` + // When set to followInput, encoder metadata will be sourced from the DD, DD+, + // or DolbyE decoder that supplied this audio data. If audio was not supplied + // from one of these streams, then the static metadata settings will be used. + MetadataControl *string `locationName:"metadataControl" type:"string" enum:"Eac3MetadataControl"` - PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` + // When set to whenPossible, input DD+ audio will be passed through if it is + // present on the input. This detection is dynamic over the life of the transcode. + // Inputs that alternate between DD+ and non-DD+ content will have a consistent + // DD+ output as the system alternates between passthrough and encoding. + PassthroughControl *string `locationName:"passthroughControl" type:"string" enum:"Eac3PassthroughControl"` - RoleArn *string `locationName:"roleArn" type:"string"` + // When set to shift90Degrees, applies a 90-degree phase shift to the surround + // channels. Only used for 3/2 coding mode. + PhaseControl *string `locationName:"phaseControl" type:"string" enum:"Eac3PhaseControl"` - State *string `locationName:"state" type:"string" enum:"ChannelState"` + // Stereo downmix preference. Only used for 3/2 coding mode. + StereoDownmix *string `locationName:"stereoDownmix" type:"string" enum:"Eac3StereoDownmix"` - Tags map[string]*string `locationName:"tags" type:"map"` + // When encoding 3/2 audio, sets whether an extra center back surround channel + // is matrix encoded into the left and right surround channels. + SurroundExMode *string `locationName:"surroundExMode" type:"string" enum:"Eac3SurroundExMode"` - // The properties for a private VPC Output - Vpc *VpcOutputSettingsDescription `locationName:"vpc" type:"structure"` + // When encoding 2/0 audio, sets whether Dolby Surround is matrix encoded into + // the two channels. + SurroundMode *string `locationName:"surroundMode" type:"string" enum:"Eac3SurroundMode"` } // String returns the string representation. @@ -12247,7 +20112,7 @@ type DeleteChannelOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteChannelOutput) String() string { +func (s Eac3Settings) String() string { return awsutil.Prettify(s) } @@ -12256,123 +20121,177 @@ func (s DeleteChannelOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteChannelOutput) GoString() string { +func (s Eac3Settings) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *DeleteChannelOutput) SetArn(v string) *DeleteChannelOutput { - s.Arn = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *Eac3Settings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Eac3Settings"} + if s.Dialnorm != nil && *s.Dialnorm < 1 { + invalidParams.Add(request.NewErrParamMinValue("Dialnorm", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAttenuationControl sets the AttenuationControl field's value. +func (s *Eac3Settings) SetAttenuationControl(v string) *Eac3Settings { + s.AttenuationControl = &v return s } -// SetCdiInputSpecification sets the CdiInputSpecification field's value. -func (s *DeleteChannelOutput) SetCdiInputSpecification(v *CdiInputSpecification) *DeleteChannelOutput { - s.CdiInputSpecification = v +// SetBitrate sets the Bitrate field's value. +func (s *Eac3Settings) SetBitrate(v float64) *Eac3Settings { + s.Bitrate = &v return s } -// SetChannelClass sets the ChannelClass field's value. -func (s *DeleteChannelOutput) SetChannelClass(v string) *DeleteChannelOutput { - s.ChannelClass = &v +// SetBitstreamMode sets the BitstreamMode field's value. +func (s *Eac3Settings) SetBitstreamMode(v string) *Eac3Settings { + s.BitstreamMode = &v return s } -// SetDestinations sets the Destinations field's value. -func (s *DeleteChannelOutput) SetDestinations(v []*OutputDestination) *DeleteChannelOutput { - s.Destinations = v +// SetCodingMode sets the CodingMode field's value. +func (s *Eac3Settings) SetCodingMode(v string) *Eac3Settings { + s.CodingMode = &v return s } -// SetEgressEndpoints sets the EgressEndpoints field's value. -func (s *DeleteChannelOutput) SetEgressEndpoints(v []*ChannelEgressEndpoint) *DeleteChannelOutput { - s.EgressEndpoints = v +// SetDcFilter sets the DcFilter field's value. +func (s *Eac3Settings) SetDcFilter(v string) *Eac3Settings { + s.DcFilter = &v return s } -// SetEncoderSettings sets the EncoderSettings field's value. -func (s *DeleteChannelOutput) SetEncoderSettings(v *EncoderSettings) *DeleteChannelOutput { - s.EncoderSettings = v +// SetDialnorm sets the Dialnorm field's value. +func (s *Eac3Settings) SetDialnorm(v int64) *Eac3Settings { + s.Dialnorm = &v return s } -// SetId sets the Id field's value. -func (s *DeleteChannelOutput) SetId(v string) *DeleteChannelOutput { - s.Id = &v +// SetDrcLine sets the DrcLine field's value. +func (s *Eac3Settings) SetDrcLine(v string) *Eac3Settings { + s.DrcLine = &v return s } -// SetInputAttachments sets the InputAttachments field's value. -func (s *DeleteChannelOutput) SetInputAttachments(v []*InputAttachment) *DeleteChannelOutput { - s.InputAttachments = v +// SetDrcRf sets the DrcRf field's value. +func (s *Eac3Settings) SetDrcRf(v string) *Eac3Settings { + s.DrcRf = &v return s } -// SetInputSpecification sets the InputSpecification field's value. -func (s *DeleteChannelOutput) SetInputSpecification(v *InputSpecification) *DeleteChannelOutput { - s.InputSpecification = v +// SetLfeControl sets the LfeControl field's value. +func (s *Eac3Settings) SetLfeControl(v string) *Eac3Settings { + s.LfeControl = &v return s } -// SetLogLevel sets the LogLevel field's value. -func (s *DeleteChannelOutput) SetLogLevel(v string) *DeleteChannelOutput { - s.LogLevel = &v +// SetLfeFilter sets the LfeFilter field's value. +func (s *Eac3Settings) SetLfeFilter(v string) *Eac3Settings { + s.LfeFilter = &v return s } -// SetMaintenance sets the Maintenance field's value. -func (s *DeleteChannelOutput) SetMaintenance(v *MaintenanceStatus) *DeleteChannelOutput { - s.Maintenance = v +// SetLoRoCenterMixLevel sets the LoRoCenterMixLevel field's value. +func (s *Eac3Settings) SetLoRoCenterMixLevel(v float64) *Eac3Settings { + s.LoRoCenterMixLevel = &v return s } -// SetName sets the Name field's value. -func (s *DeleteChannelOutput) SetName(v string) *DeleteChannelOutput { - s.Name = &v +// SetLoRoSurroundMixLevel sets the LoRoSurroundMixLevel field's value. +func (s *Eac3Settings) SetLoRoSurroundMixLevel(v float64) *Eac3Settings { + s.LoRoSurroundMixLevel = &v return s } -// SetPipelineDetails sets the PipelineDetails field's value. -func (s *DeleteChannelOutput) SetPipelineDetails(v []*PipelineDetail) *DeleteChannelOutput { - s.PipelineDetails = v +// SetLtRtCenterMixLevel sets the LtRtCenterMixLevel field's value. +func (s *Eac3Settings) SetLtRtCenterMixLevel(v float64) *Eac3Settings { + s.LtRtCenterMixLevel = &v return s } -// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. -func (s *DeleteChannelOutput) SetPipelinesRunningCount(v int64) *DeleteChannelOutput { - s.PipelinesRunningCount = &v +// SetLtRtSurroundMixLevel sets the LtRtSurroundMixLevel field's value. +func (s *Eac3Settings) SetLtRtSurroundMixLevel(v float64) *Eac3Settings { + s.LtRtSurroundMixLevel = &v return s } -// SetRoleArn sets the RoleArn field's value. -func (s *DeleteChannelOutput) SetRoleArn(v string) *DeleteChannelOutput { - s.RoleArn = &v +// SetMetadataControl sets the MetadataControl field's value. +func (s *Eac3Settings) SetMetadataControl(v string) *Eac3Settings { + s.MetadataControl = &v return s } -// SetState sets the State field's value. -func (s *DeleteChannelOutput) SetState(v string) *DeleteChannelOutput { - s.State = &v +// SetPassthroughControl sets the PassthroughControl field's value. +func (s *Eac3Settings) SetPassthroughControl(v string) *Eac3Settings { + s.PassthroughControl = &v return s } -// SetTags sets the Tags field's value. -func (s *DeleteChannelOutput) SetTags(v map[string]*string) *DeleteChannelOutput { - s.Tags = v +// SetPhaseControl sets the PhaseControl field's value. +func (s *Eac3Settings) SetPhaseControl(v string) *Eac3Settings { + s.PhaseControl = &v return s } -// SetVpc sets the Vpc field's value. -func (s *DeleteChannelOutput) SetVpc(v *VpcOutputSettingsDescription) *DeleteChannelOutput { - s.Vpc = v +// SetStereoDownmix sets the StereoDownmix field's value. +func (s *Eac3Settings) SetStereoDownmix(v string) *Eac3Settings { + s.StereoDownmix = &v return s } -type DeleteInputInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetSurroundExMode sets the SurroundExMode field's value. +func (s *Eac3Settings) SetSurroundExMode(v string) *Eac3Settings { + s.SurroundExMode = &v + return s +} - // InputId is a required field - InputId *string `location:"uri" locationName:"inputId" type:"string" required:"true"` +// SetSurroundMode sets the SurroundMode field's value. +func (s *Eac3Settings) SetSurroundMode(v string) *Eac3Settings { + s.SurroundMode = &v + return s +} + +// Ebu Tt DDestination Settings +type EbuTtDDestinationSettings struct { + _ struct{} `type:"structure"` + + // Complete this field if you want to include the name of the copyright holder + // in the copyright tag in the captions metadata. + CopyrightHolder *string `locationName:"copyrightHolder" type:"string"` + + // Specifies how to handle the gap between the lines (in multi-line captions).- + // enabled: Fill with the captions background color (as specified in the input + // captions).- disabled: Leave the gap unfilled. + FillLineGap *string `locationName:"fillLineGap" type:"string" enum:"EbuTtDFillLineGapControl"` + + // Specifies the font family to include in the font data attached to the EBU-TT + // captions. Valid only if styleControl is set to include. If you leave this + // field empty, the font family is set to "monospaced". (If styleControl is + // set to exclude, the font family is always set to "monospaced".)You specify + // only the font family. All other style information (color, bold, position + // and so on) is copied from the input captions. The size is always set to 100% + // to allow the downstream player to choose the size.- Enter a list of font + // families, as a comma-separated list of font names, in order of preference. + // The name can be a font family (such as “Arial”), or a generic font family + // (such as “serif”), or “default” (to let the downstream player choose + // the font).- Leave blank to set the family to “monospace”. + FontFamily *string `locationName:"fontFamily" type:"string"` + + // Specifies the style information (font color, font position, and so on) to + // include in the font data that is attached to the EBU-TT captions.- include: + // Take the style information (font color, font position, and so on) from the + // source captions and include that information in the font data attached to + // the EBU-TT captions. This option is valid only if the source captions are + // Embedded or Teletext.- exclude: In the font data attached to the EBU-TT captions, + // set the font family to "monospaced". Do not include any other style information. + StyleControl *string `locationName:"styleControl" type:"string" enum:"EbuTtDDestinationStyleControl"` } // String returns the string representation. @@ -12380,7 +20299,7 @@ type DeleteInputInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteInputInput) String() string { +func (s EbuTtDDestinationSettings) String() string { return awsutil.Prettify(s) } @@ -12389,33 +20308,36 @@ func (s DeleteInputInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteInputInput) GoString() string { +func (s EbuTtDDestinationSettings) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteInputInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteInputInput"} - if s.InputId == nil { - invalidParams.Add(request.NewErrParamRequired("InputId")) - } - if s.InputId != nil && len(*s.InputId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InputId", 1)) - } +// SetCopyrightHolder sets the CopyrightHolder field's value. +func (s *EbuTtDDestinationSettings) SetCopyrightHolder(v string) *EbuTtDDestinationSettings { + s.CopyrightHolder = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetFillLineGap sets the FillLineGap field's value. +func (s *EbuTtDDestinationSettings) SetFillLineGap(v string) *EbuTtDDestinationSettings { + s.FillLineGap = &v + return s } -// SetInputId sets the InputId field's value. -func (s *DeleteInputInput) SetInputId(v string) *DeleteInputInput { - s.InputId = &v +// SetFontFamily sets the FontFamily field's value. +func (s *EbuTtDDestinationSettings) SetFontFamily(v string) *EbuTtDDestinationSettings { + s.FontFamily = &v return s } -type DeleteInputOutput struct { +// SetStyleControl sets the StyleControl field's value. +func (s *EbuTtDDestinationSettings) SetStyleControl(v string) *EbuTtDDestinationSettings { + s.StyleControl = &v + return s +} + +// Embedded Destination Settings +type EmbeddedDestinationSettings struct { _ struct{} `type:"structure"` } @@ -12424,7 +20346,7 @@ type DeleteInputOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteInputOutput) String() string { +func (s EmbeddedDestinationSettings) String() string { return awsutil.Prettify(s) } @@ -12433,15 +20355,13 @@ func (s DeleteInputOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteInputOutput) GoString() string { +func (s EmbeddedDestinationSettings) GoString() string { return s.String() } -type DeleteInputSecurityGroupInput struct { - _ struct{} `type:"structure" nopayload:"true"` - - // InputSecurityGroupId is a required field - InputSecurityGroupId *string `location:"uri" locationName:"inputSecurityGroupId" type:"string" required:"true"` +// Embedded Plus Scte20 Destination Settings +type EmbeddedPlusScte20DestinationSettings struct { + _ struct{} `type:"structure"` } // String returns the string representation. @@ -12449,7 +20369,7 @@ type DeleteInputSecurityGroupInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteInputSecurityGroupInput) String() string { +func (s EmbeddedPlusScte20DestinationSettings) String() string { return awsutil.Prettify(s) } @@ -12458,59 +20378,29 @@ func (s DeleteInputSecurityGroupInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteInputSecurityGroupInput) GoString() string { +func (s EmbeddedPlusScte20DestinationSettings) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteInputSecurityGroupInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteInputSecurityGroupInput"} - if s.InputSecurityGroupId == nil { - invalidParams.Add(request.NewErrParamRequired("InputSecurityGroupId")) - } - if s.InputSecurityGroupId != nil && len(*s.InputSecurityGroupId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InputSecurityGroupId", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetInputSecurityGroupId sets the InputSecurityGroupId field's value. -func (s *DeleteInputSecurityGroupInput) SetInputSecurityGroupId(v string) *DeleteInputSecurityGroupInput { - s.InputSecurityGroupId = &v - return s -} - -type DeleteInputSecurityGroupOutput struct { +// Embedded Source Settings +type EmbeddedSourceSettings struct { _ struct{} `type:"structure"` -} -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DeleteInputSecurityGroupOutput) String() string { - return awsutil.Prettify(s) -} + // If upconvert, 608 data is both passed through via the "608 compatibility + // bytes" fields of the 708 wrapper as well as translated into 708. 708 data + // present in the source content will be discarded. + Convert608To708 *string `locationName:"convert608To708" type:"string" enum:"EmbeddedConvert608To708"` -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DeleteInputSecurityGroupOutput) GoString() string { - return s.String() -} + // Set to "auto" to handle streams with intermittent and/or non-aligned SCTE-20 + // and Embedded captions. + Scte20Detection *string `locationName:"scte20Detection" type:"string" enum:"EmbeddedScte20Detection"` -type DeleteMultiplexInput struct { - _ struct{} `type:"structure" nopayload:"true"` + // Specifies the 608/708 channel number within the video track from which to + // extract captions. Unused for passthrough. + Source608ChannelNumber *int64 `locationName:"source608ChannelNumber" min:"1" type:"integer"` - // MultiplexId is a required field - MultiplexId *string `location:"uri" locationName:"multiplexId" type:"string" required:"true"` + // This field is unused and deprecated. + Source608TrackNumber *int64 `locationName:"source608TrackNumber" min:"1" type:"integer"` } // String returns the string representation. @@ -12518,7 +20408,7 @@ type DeleteMultiplexInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteMultiplexInput) String() string { +func (s EmbeddedSourceSettings) String() string { return awsutil.Prettify(s) } @@ -12527,18 +20417,18 @@ func (s DeleteMultiplexInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteMultiplexInput) GoString() string { +func (s EmbeddedSourceSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteMultiplexInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteMultiplexInput"} - if s.MultiplexId == nil { - invalidParams.Add(request.NewErrParamRequired("MultiplexId")) +func (s *EmbeddedSourceSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "EmbeddedSourceSettings"} + if s.Source608ChannelNumber != nil && *s.Source608ChannelNumber < 1 { + invalidParams.Add(request.NewErrParamMinValue("Source608ChannelNumber", 1)) } - if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) + if s.Source608TrackNumber != nil && *s.Source608TrackNumber < 1 { + invalidParams.Add(request.NewErrParamMinValue("Source608TrackNumber", 1)) } if invalidParams.Len() > 0 { @@ -12547,36 +20437,77 @@ func (s *DeleteMultiplexInput) Validate() error { return nil } -// SetMultiplexId sets the MultiplexId field's value. -func (s *DeleteMultiplexInput) SetMultiplexId(v string) *DeleteMultiplexInput { - s.MultiplexId = &v +// SetConvert608To708 sets the Convert608To708 field's value. +func (s *EmbeddedSourceSettings) SetConvert608To708(v string) *EmbeddedSourceSettings { + s.Convert608To708 = &v return s } -type DeleteMultiplexOutput struct { +// SetScte20Detection sets the Scte20Detection field's value. +func (s *EmbeddedSourceSettings) SetScte20Detection(v string) *EmbeddedSourceSettings { + s.Scte20Detection = &v + return s +} + +// SetSource608ChannelNumber sets the Source608ChannelNumber field's value. +func (s *EmbeddedSourceSettings) SetSource608ChannelNumber(v int64) *EmbeddedSourceSettings { + s.Source608ChannelNumber = &v + return s +} + +// SetSource608TrackNumber sets the Source608TrackNumber field's value. +func (s *EmbeddedSourceSettings) SetSource608TrackNumber(v int64) *EmbeddedSourceSettings { + s.Source608TrackNumber = &v + return s +} + +// Encoder Settings +type EncoderSettings struct { _ struct{} `type:"structure"` - Arn *string `locationName:"arn" type:"string"` + // AudioDescriptions is a required field + AudioDescriptions []*AudioDescription `locationName:"audioDescriptions" type:"list" required:"true"` - AvailabilityZones []*string `locationName:"availabilityZones" type:"list"` + // Settings for ad avail blanking. + AvailBlanking *AvailBlanking `locationName:"availBlanking" type:"structure"` - Destinations []*MultiplexOutputDestination `locationName:"destinations" type:"list"` + // Event-wide configuration settings for ad avail insertion. + AvailConfiguration *AvailConfiguration `locationName:"availConfiguration" type:"structure"` - Id *string `locationName:"id" type:"string"` + // Settings for blackout slate. + BlackoutSlate *BlackoutSlate `locationName:"blackoutSlate" type:"structure"` - // Contains configuration for a Multiplex event - MultiplexSettings *MultiplexSettings `locationName:"multiplexSettings" type:"structure"` + // Settings for caption decriptions + CaptionDescriptions []*CaptionDescription `locationName:"captionDescriptions" type:"list"` - Name *string `locationName:"name" type:"string"` + // Color Correction Settings + ColorCorrectionSettings *ColorCorrectionSettings `locationName:"colorCorrectionSettings" type:"structure"` - PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` + // Feature Activations + FeatureActivations *FeatureActivations `locationName:"featureActivations" type:"structure"` - ProgramCount *int64 `locationName:"programCount" type:"integer"` + // Configuration settings that apply to the event as a whole. + GlobalConfiguration *GlobalConfiguration `locationName:"globalConfiguration" type:"structure"` - // The current state of the multiplex. - State *string `locationName:"state" type:"string" enum:"MultiplexState"` + // Settings for motion graphics. + MotionGraphicsConfiguration *MotionGraphicsConfiguration `locationName:"motionGraphicsConfiguration" type:"structure"` - Tags map[string]*string `locationName:"tags" type:"map"` + // Nielsen configuration settings. + NielsenConfiguration *NielsenConfiguration `locationName:"nielsenConfiguration" type:"structure"` + + // OutputGroups is a required field + OutputGroups []*OutputGroup `locationName:"outputGroups" type:"list" required:"true"` + + // Thumbnail configuration settings. + ThumbnailConfiguration *ThumbnailConfiguration `locationName:"thumbnailConfiguration" type:"structure"` + + // Contains settings used to acquire and adjust timecode information from inputs. + // + // TimecodeConfig is a required field + TimecodeConfig *TimecodeConfig `locationName:"timecodeConfig" type:"structure" required:"true"` + + // VideoDescriptions is a required field + VideoDescriptions []*VideoDescription `locationName:"videoDescriptions" type:"list" required:"true"` } // String returns the string representation. @@ -12584,155 +20515,221 @@ type DeleteMultiplexOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteMultiplexOutput) String() string { +func (s EncoderSettings) String() string { return awsutil.Prettify(s) } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DeleteMultiplexOutput) GoString() string { - return s.String() +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s EncoderSettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *EncoderSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "EncoderSettings"} + if s.AudioDescriptions == nil { + invalidParams.Add(request.NewErrParamRequired("AudioDescriptions")) + } + if s.OutputGroups == nil { + invalidParams.Add(request.NewErrParamRequired("OutputGroups")) + } + if s.TimecodeConfig == nil { + invalidParams.Add(request.NewErrParamRequired("TimecodeConfig")) + } + if s.VideoDescriptions == nil { + invalidParams.Add(request.NewErrParamRequired("VideoDescriptions")) + } + if s.AudioDescriptions != nil { + for i, v := range s.AudioDescriptions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AudioDescriptions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.AvailBlanking != nil { + if err := s.AvailBlanking.Validate(); err != nil { + invalidParams.AddNested("AvailBlanking", err.(request.ErrInvalidParams)) + } + } + if s.AvailConfiguration != nil { + if err := s.AvailConfiguration.Validate(); err != nil { + invalidParams.AddNested("AvailConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.BlackoutSlate != nil { + if err := s.BlackoutSlate.Validate(); err != nil { + invalidParams.AddNested("BlackoutSlate", err.(request.ErrInvalidParams)) + } + } + if s.CaptionDescriptions != nil { + for i, v := range s.CaptionDescriptions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CaptionDescriptions", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ColorCorrectionSettings != nil { + if err := s.ColorCorrectionSettings.Validate(); err != nil { + invalidParams.AddNested("ColorCorrectionSettings", err.(request.ErrInvalidParams)) + } + } + if s.GlobalConfiguration != nil { + if err := s.GlobalConfiguration.Validate(); err != nil { + invalidParams.AddNested("GlobalConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.MotionGraphicsConfiguration != nil { + if err := s.MotionGraphicsConfiguration.Validate(); err != nil { + invalidParams.AddNested("MotionGraphicsConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.OutputGroups != nil { + for i, v := range s.OutputGroups { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OutputGroups", i), err.(request.ErrInvalidParams)) + } + } + } + if s.ThumbnailConfiguration != nil { + if err := s.ThumbnailConfiguration.Validate(); err != nil { + invalidParams.AddNested("ThumbnailConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.TimecodeConfig != nil { + if err := s.TimecodeConfig.Validate(); err != nil { + invalidParams.AddNested("TimecodeConfig", err.(request.ErrInvalidParams)) + } + } + if s.VideoDescriptions != nil { + for i, v := range s.VideoDescriptions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "VideoDescriptions", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetArn sets the Arn field's value. -func (s *DeleteMultiplexOutput) SetArn(v string) *DeleteMultiplexOutput { - s.Arn = &v +// SetAudioDescriptions sets the AudioDescriptions field's value. +func (s *EncoderSettings) SetAudioDescriptions(v []*AudioDescription) *EncoderSettings { + s.AudioDescriptions = v return s } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *DeleteMultiplexOutput) SetAvailabilityZones(v []*string) *DeleteMultiplexOutput { - s.AvailabilityZones = v +// SetAvailBlanking sets the AvailBlanking field's value. +func (s *EncoderSettings) SetAvailBlanking(v *AvailBlanking) *EncoderSettings { + s.AvailBlanking = v return s } -// SetDestinations sets the Destinations field's value. -func (s *DeleteMultiplexOutput) SetDestinations(v []*MultiplexOutputDestination) *DeleteMultiplexOutput { - s.Destinations = v +// SetAvailConfiguration sets the AvailConfiguration field's value. +func (s *EncoderSettings) SetAvailConfiguration(v *AvailConfiguration) *EncoderSettings { + s.AvailConfiguration = v return s } -// SetId sets the Id field's value. -func (s *DeleteMultiplexOutput) SetId(v string) *DeleteMultiplexOutput { - s.Id = &v +// SetBlackoutSlate sets the BlackoutSlate field's value. +func (s *EncoderSettings) SetBlackoutSlate(v *BlackoutSlate) *EncoderSettings { + s.BlackoutSlate = v return s } -// SetMultiplexSettings sets the MultiplexSettings field's value. -func (s *DeleteMultiplexOutput) SetMultiplexSettings(v *MultiplexSettings) *DeleteMultiplexOutput { - s.MultiplexSettings = v +// SetCaptionDescriptions sets the CaptionDescriptions field's value. +func (s *EncoderSettings) SetCaptionDescriptions(v []*CaptionDescription) *EncoderSettings { + s.CaptionDescriptions = v return s } -// SetName sets the Name field's value. -func (s *DeleteMultiplexOutput) SetName(v string) *DeleteMultiplexOutput { - s.Name = &v +// SetColorCorrectionSettings sets the ColorCorrectionSettings field's value. +func (s *EncoderSettings) SetColorCorrectionSettings(v *ColorCorrectionSettings) *EncoderSettings { + s.ColorCorrectionSettings = v return s } -// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. -func (s *DeleteMultiplexOutput) SetPipelinesRunningCount(v int64) *DeleteMultiplexOutput { - s.PipelinesRunningCount = &v +// SetFeatureActivations sets the FeatureActivations field's value. +func (s *EncoderSettings) SetFeatureActivations(v *FeatureActivations) *EncoderSettings { + s.FeatureActivations = v return s } -// SetProgramCount sets the ProgramCount field's value. -func (s *DeleteMultiplexOutput) SetProgramCount(v int64) *DeleteMultiplexOutput { - s.ProgramCount = &v +// SetGlobalConfiguration sets the GlobalConfiguration field's value. +func (s *EncoderSettings) SetGlobalConfiguration(v *GlobalConfiguration) *EncoderSettings { + s.GlobalConfiguration = v return s } -// SetState sets the State field's value. -func (s *DeleteMultiplexOutput) SetState(v string) *DeleteMultiplexOutput { - s.State = &v +// SetMotionGraphicsConfiguration sets the MotionGraphicsConfiguration field's value. +func (s *EncoderSettings) SetMotionGraphicsConfiguration(v *MotionGraphicsConfiguration) *EncoderSettings { + s.MotionGraphicsConfiguration = v return s } -// SetTags sets the Tags field's value. -func (s *DeleteMultiplexOutput) SetTags(v map[string]*string) *DeleteMultiplexOutput { - s.Tags = v +// SetNielsenConfiguration sets the NielsenConfiguration field's value. +func (s *EncoderSettings) SetNielsenConfiguration(v *NielsenConfiguration) *EncoderSettings { + s.NielsenConfiguration = v return s } -type DeleteMultiplexProgramInput struct { - _ struct{} `type:"structure" nopayload:"true"` - - // MultiplexId is a required field - MultiplexId *string `location:"uri" locationName:"multiplexId" type:"string" required:"true"` - - // ProgramName is a required field - ProgramName *string `location:"uri" locationName:"programName" type:"string" required:"true"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DeleteMultiplexProgramInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DeleteMultiplexProgramInput) GoString() string { - return s.String() +// SetOutputGroups sets the OutputGroups field's value. +func (s *EncoderSettings) SetOutputGroups(v []*OutputGroup) *EncoderSettings { + s.OutputGroups = v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteMultiplexProgramInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteMultiplexProgramInput"} - if s.MultiplexId == nil { - invalidParams.Add(request.NewErrParamRequired("MultiplexId")) - } - if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) - } - if s.ProgramName == nil { - invalidParams.Add(request.NewErrParamRequired("ProgramName")) - } - if s.ProgramName != nil && len(*s.ProgramName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ProgramName", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetThumbnailConfiguration sets the ThumbnailConfiguration field's value. +func (s *EncoderSettings) SetThumbnailConfiguration(v *ThumbnailConfiguration) *EncoderSettings { + s.ThumbnailConfiguration = v + return s } -// SetMultiplexId sets the MultiplexId field's value. -func (s *DeleteMultiplexProgramInput) SetMultiplexId(v string) *DeleteMultiplexProgramInput { - s.MultiplexId = &v +// SetTimecodeConfig sets the TimecodeConfig field's value. +func (s *EncoderSettings) SetTimecodeConfig(v *TimecodeConfig) *EncoderSettings { + s.TimecodeConfig = v return s } -// SetProgramName sets the ProgramName field's value. -func (s *DeleteMultiplexProgramInput) SetProgramName(v string) *DeleteMultiplexProgramInput { - s.ProgramName = &v +// SetVideoDescriptions sets the VideoDescriptions field's value. +func (s *EncoderSettings) SetVideoDescriptions(v []*VideoDescription) *EncoderSettings { + s.VideoDescriptions = v return s } -type DeleteMultiplexProgramOutput struct { +// Epoch Locking Settings +type EpochLockingSettings struct { _ struct{} `type:"structure"` - ChannelId *string `locationName:"channelId" type:"string"` - - // Multiplex Program settings configuration. - MultiplexProgramSettings *MultiplexProgramSettings `locationName:"multiplexProgramSettings" type:"structure"` - - // Packet identifiers map for a given Multiplex program. - PacketIdentifiersMap *MultiplexProgramPacketIdentifiersMap `locationName:"packetIdentifiersMap" type:"structure"` - - PipelineDetails []*MultiplexProgramPipelineDetail `locationName:"pipelineDetails" type:"list"` + // Optional. Enter a value here to use a custom epoch, instead of the standard + // epoch (which started at 1970-01-01T00:00:00 UTC). Specify the start time + // of the custom epoch, in YYYY-MM-DDTHH:MM:SS in UTC. The time must be 2000-01-01T00:00:00 + // or later. Always set the MM:SS portion to 00:00. + CustomEpoch *string `locationName:"customEpoch" type:"string"` - ProgramName *string `locationName:"programName" type:"string"` + // Optional. Enter a time for the jam sync. The default is midnight UTC. When + // epoch locking is enabled, MediaLive performs a daily jam sync on every output + // encode to ensure timecodes don’t diverge from the wall clock. The jam sync + // applies only to encodes with frame rate of 29.97 or 59.94 FPS. To override, + // enter a time in HH:MM:SS in UTC. Always set the MM:SS portion to 00:00. + JamSyncTime *string `locationName:"jamSyncTime" type:"string"` } // String returns the string representation. @@ -12740,7 +20737,7 @@ type DeleteMultiplexProgramOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteMultiplexProgramOutput) String() string { +func (s EpochLockingSettings) String() string { return awsutil.Prettify(s) } @@ -12749,45 +20746,58 @@ func (s DeleteMultiplexProgramOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteMultiplexProgramOutput) GoString() string { +func (s EpochLockingSettings) GoString() string { return s.String() } -// SetChannelId sets the ChannelId field's value. -func (s *DeleteMultiplexProgramOutput) SetChannelId(v string) *DeleteMultiplexProgramOutput { - s.ChannelId = &v +// SetCustomEpoch sets the CustomEpoch field's value. +func (s *EpochLockingSettings) SetCustomEpoch(v string) *EpochLockingSettings { + s.CustomEpoch = &v return s } -// SetMultiplexProgramSettings sets the MultiplexProgramSettings field's value. -func (s *DeleteMultiplexProgramOutput) SetMultiplexProgramSettings(v *MultiplexProgramSettings) *DeleteMultiplexProgramOutput { - s.MultiplexProgramSettings = v +// SetJamSyncTime sets the JamSyncTime field's value. +func (s *EpochLockingSettings) SetJamSyncTime(v string) *EpochLockingSettings { + s.JamSyncTime = &v return s } -// SetPacketIdentifiersMap sets the PacketIdentifiersMap field's value. -func (s *DeleteMultiplexProgramOutput) SetPacketIdentifiersMap(v *MultiplexProgramPacketIdentifiersMap) *DeleteMultiplexProgramOutput { - s.PacketIdentifiersMap = v - return s -} +// Esam +type Esam struct { + _ struct{} `type:"structure"` -// SetPipelineDetails sets the PipelineDetails field's value. -func (s *DeleteMultiplexProgramOutput) SetPipelineDetails(v []*MultiplexProgramPipelineDetail) *DeleteMultiplexProgramOutput { - s.PipelineDetails = v - return s -} + // Sent as acquisitionPointIdentity to identify the MediaLive channel to the + // POIS. + // + // AcquisitionPointId is a required field + AcquisitionPointId *string `locationName:"acquisitionPointId" type:"string" required:"true"` -// SetProgramName sets the ProgramName field's value. -func (s *DeleteMultiplexProgramOutput) SetProgramName(v string) *DeleteMultiplexProgramOutput { - s.ProgramName = &v - return s -} + // When specified, this offset (in milliseconds) is added to the input Ad Avail + // PTS time. This only applies to embedded SCTE 104/35 messages and does not + // apply to OOB messages. + AdAvailOffset *int64 `locationName:"adAvailOffset" type:"integer"` -type DeleteReservationInput struct { - _ struct{} `type:"structure" nopayload:"true"` + // Reference to an AWS parameter store name from which the password can be retrieved + // if credentials are required to access the POIS endpoint. AWS Parameter store + // format: "ssm://" + PasswordParam *string `locationName:"passwordParam" type:"string"` - // ReservationId is a required field - ReservationId *string `location:"uri" locationName:"reservationId" type:"string" required:"true"` + // The URL of the signal conditioner endpoint on the Placement Opportunity Information + // System (POIS). MediaLive sends SignalProcessingEvents here when SCTE-35 messages + // are read. + // + // PoisEndpoint is a required field + PoisEndpoint *string `locationName:"poisEndpoint" type:"string" required:"true"` + + // Username if credentials are required to access the POIS endpoint. This can + // be either a plaintext username, or a reference to an AWS parameter store + // name from which the username can be retrieved. AWS Parameter store format: + // "ssm://" + Username *string `locationName:"username" type:"string"` + + // Optional data sent as zoneIdentity to identify the MediaLive channel to the + // POIS. + ZoneIdentity *string `locationName:"zoneIdentity" type:"string"` } // String returns the string representation. @@ -12795,7 +20805,7 @@ type DeleteReservationInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteReservationInput) String() string { +func (s Esam) String() string { return awsutil.Prettify(s) } @@ -12804,18 +20814,21 @@ func (s DeleteReservationInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteReservationInput) GoString() string { +func (s Esam) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteReservationInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteReservationInput"} - if s.ReservationId == nil { - invalidParams.Add(request.NewErrParamRequired("ReservationId")) +func (s *Esam) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Esam"} + if s.AcquisitionPointId == nil { + invalidParams.Add(request.NewErrParamRequired("AcquisitionPointId")) } - if s.ReservationId != nil && len(*s.ReservationId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ReservationId", 1)) + if s.AdAvailOffset != nil && *s.AdAvailOffset < -1000 { + invalidParams.Add(request.NewErrParamMinValue("AdAvailOffset", -1000)) + } + if s.PoisEndpoint == nil { + invalidParams.Add(request.NewErrParamRequired("PoisEndpoint")) } if invalidParams.Len() > 0 { @@ -12824,57 +20837,77 @@ func (s *DeleteReservationInput) Validate() error { return nil } -// SetReservationId sets the ReservationId field's value. -func (s *DeleteReservationInput) SetReservationId(v string) *DeleteReservationInput { - s.ReservationId = &v +// SetAcquisitionPointId sets the AcquisitionPointId field's value. +func (s *Esam) SetAcquisitionPointId(v string) *Esam { + s.AcquisitionPointId = &v return s } -type DeleteReservationOutput struct { - _ struct{} `type:"structure"` - - Arn *string `locationName:"arn" type:"string"` - - Count *int64 `locationName:"count" type:"integer"` - - CurrencyCode *string `locationName:"currencyCode" type:"string"` - - Duration *int64 `locationName:"duration" type:"integer"` - - // Units for duration, e.g. 'MONTHS' - DurationUnits *string `locationName:"durationUnits" type:"string" enum:"OfferingDurationUnits"` - - End *string `locationName:"end" type:"string"` +// SetAdAvailOffset sets the AdAvailOffset field's value. +func (s *Esam) SetAdAvailOffset(v int64) *Esam { + s.AdAvailOffset = &v + return s +} - FixedPrice *float64 `locationName:"fixedPrice" type:"double"` +// SetPasswordParam sets the PasswordParam field's value. +func (s *Esam) SetPasswordParam(v string) *Esam { + s.PasswordParam = &v + return s +} - Name *string `locationName:"name" type:"string"` +// SetPoisEndpoint sets the PoisEndpoint field's value. +func (s *Esam) SetPoisEndpoint(v string) *Esam { + s.PoisEndpoint = &v + return s +} - OfferingDescription *string `locationName:"offeringDescription" type:"string"` +// SetUsername sets the Username field's value. +func (s *Esam) SetUsername(v string) *Esam { + s.Username = &v + return s +} - OfferingId *string `locationName:"offeringId" type:"string"` +// SetZoneIdentity sets the ZoneIdentity field's value. +func (s *Esam) SetZoneIdentity(v string) *Esam { + s.ZoneIdentity = &v + return s +} - // Offering type, e.g. 'NO_UPFRONT' - OfferingType *string `locationName:"offeringType" type:"string" enum:"OfferingType"` +type EventBridgeRuleTemplateGroupSummary struct { + _ struct{} `type:"structure"` - Region *string `locationName:"region" type:"string"` + // An eventbridge rule template group's ARN (Amazon Resource Name) + // + // Arn is a required field + Arn *string `locationName:"arn" type:"string" required:"true"` - // The Renewal settings for Reservations - RenewalSettings *RenewalSettings `locationName:"renewalSettings" type:"structure"` + // CreatedAt is a required field + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601" required:"true"` - ReservationId *string `locationName:"reservationId" type:"string"` + // A resource's optional description. + Description *string `locationName:"description" type:"string"` - // Resource configuration (codec, resolution, bitrate, ...) - ResourceSpecification *ReservationResourceSpecification `locationName:"resourceSpecification" type:"structure"` + // An eventbridge rule template group's id. AWS provided template groups have + // ids that start with `aws-` + // + // Id is a required field + Id *string `locationName:"id" min:"7" type:"string" required:"true"` - Start *string `locationName:"start" type:"string"` + ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp" timestampFormat:"iso8601"` - // Current reservation state - State *string `locationName:"state" type:"string" enum:"ReservationState"` + // A resource's name. Names must be unique within the scope of a resource type + // in a specific region. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + // Represents the tags associated with a resource. Tags map[string]*string `locationName:"tags" type:"map"` - UsagePrice *float64 `locationName:"usagePrice" type:"double"` + // The number of templates in a group. + // + // TemplateCount is a required field + TemplateCount *int64 `locationName:"templateCount" type:"integer" required:"true"` } // String returns the string representation. @@ -12882,7 +20915,7 @@ type DeleteReservationOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteReservationOutput) String() string { +func (s EventBridgeRuleTemplateGroupSummary) String() string { return awsutil.Prettify(s) } @@ -12891,129 +20924,104 @@ func (s DeleteReservationOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteReservationOutput) GoString() string { +func (s EventBridgeRuleTemplateGroupSummary) GoString() string { return s.String() } // SetArn sets the Arn field's value. -func (s *DeleteReservationOutput) SetArn(v string) *DeleteReservationOutput { +func (s *EventBridgeRuleTemplateGroupSummary) SetArn(v string) *EventBridgeRuleTemplateGroupSummary { s.Arn = &v return s } -// SetCount sets the Count field's value. -func (s *DeleteReservationOutput) SetCount(v int64) *DeleteReservationOutput { - s.Count = &v - return s -} - -// SetCurrencyCode sets the CurrencyCode field's value. -func (s *DeleteReservationOutput) SetCurrencyCode(v string) *DeleteReservationOutput { - s.CurrencyCode = &v - return s -} - -// SetDuration sets the Duration field's value. -func (s *DeleteReservationOutput) SetDuration(v int64) *DeleteReservationOutput { - s.Duration = &v +// SetCreatedAt sets the CreatedAt field's value. +func (s *EventBridgeRuleTemplateGroupSummary) SetCreatedAt(v time.Time) *EventBridgeRuleTemplateGroupSummary { + s.CreatedAt = &v return s } -// SetDurationUnits sets the DurationUnits field's value. -func (s *DeleteReservationOutput) SetDurationUnits(v string) *DeleteReservationOutput { - s.DurationUnits = &v +// SetDescription sets the Description field's value. +func (s *EventBridgeRuleTemplateGroupSummary) SetDescription(v string) *EventBridgeRuleTemplateGroupSummary { + s.Description = &v return s } -// SetEnd sets the End field's value. -func (s *DeleteReservationOutput) SetEnd(v string) *DeleteReservationOutput { - s.End = &v +// SetId sets the Id field's value. +func (s *EventBridgeRuleTemplateGroupSummary) SetId(v string) *EventBridgeRuleTemplateGroupSummary { + s.Id = &v return s } -// SetFixedPrice sets the FixedPrice field's value. -func (s *DeleteReservationOutput) SetFixedPrice(v float64) *DeleteReservationOutput { - s.FixedPrice = &v +// SetModifiedAt sets the ModifiedAt field's value. +func (s *EventBridgeRuleTemplateGroupSummary) SetModifiedAt(v time.Time) *EventBridgeRuleTemplateGroupSummary { + s.ModifiedAt = &v return s } // SetName sets the Name field's value. -func (s *DeleteReservationOutput) SetName(v string) *DeleteReservationOutput { +func (s *EventBridgeRuleTemplateGroupSummary) SetName(v string) *EventBridgeRuleTemplateGroupSummary { s.Name = &v return s } -// SetOfferingDescription sets the OfferingDescription field's value. -func (s *DeleteReservationOutput) SetOfferingDescription(v string) *DeleteReservationOutput { - s.OfferingDescription = &v +// SetTags sets the Tags field's value. +func (s *EventBridgeRuleTemplateGroupSummary) SetTags(v map[string]*string) *EventBridgeRuleTemplateGroupSummary { + s.Tags = v return s } -// SetOfferingId sets the OfferingId field's value. -func (s *DeleteReservationOutput) SetOfferingId(v string) *DeleteReservationOutput { - s.OfferingId = &v +// SetTemplateCount sets the TemplateCount field's value. +func (s *EventBridgeRuleTemplateGroupSummary) SetTemplateCount(v int64) *EventBridgeRuleTemplateGroupSummary { + s.TemplateCount = &v return s } -// SetOfferingType sets the OfferingType field's value. -func (s *DeleteReservationOutput) SetOfferingType(v string) *DeleteReservationOutput { - s.OfferingType = &v - return s -} +type EventBridgeRuleTemplateSummary struct { + _ struct{} `type:"structure"` -// SetRegion sets the Region field's value. -func (s *DeleteReservationOutput) SetRegion(v string) *DeleteReservationOutput { - s.Region = &v - return s -} + // An eventbridge rule template's ARN (Amazon Resource Name) + // + // Arn is a required field + Arn *string `locationName:"arn" type:"string" required:"true"` -// SetRenewalSettings sets the RenewalSettings field's value. -func (s *DeleteReservationOutput) SetRenewalSettings(v *RenewalSettings) *DeleteReservationOutput { - s.RenewalSettings = v - return s -} + // CreatedAt is a required field + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601" required:"true"` -// SetReservationId sets the ReservationId field's value. -func (s *DeleteReservationOutput) SetReservationId(v string) *DeleteReservationOutput { - s.ReservationId = &v - return s -} + // A resource's optional description. + Description *string `locationName:"description" type:"string"` -// SetResourceSpecification sets the ResourceSpecification field's value. -func (s *DeleteReservationOutput) SetResourceSpecification(v *ReservationResourceSpecification) *DeleteReservationOutput { - s.ResourceSpecification = v - return s -} + // The number of targets configured to send matching events. + // + // EventTargetCount is a required field + EventTargetCount *int64 `locationName:"eventTargetCount" type:"integer" required:"true"` -// SetStart sets the Start field's value. -func (s *DeleteReservationOutput) SetStart(v string) *DeleteReservationOutput { - s.Start = &v - return s -} + // The type of event to match with the rule. + // + // EventType is a required field + EventType *string `locationName:"eventType" type:"string" required:"true" enum:"EventBridgeRuleTemplateEventType"` -// SetState sets the State field's value. -func (s *DeleteReservationOutput) SetState(v string) *DeleteReservationOutput { - s.State = &v - return s -} + // An eventbridge rule template group's id. AWS provided template groups have + // ids that start with `aws-` + // + // GroupId is a required field + GroupId *string `locationName:"groupId" min:"7" type:"string" required:"true"` -// SetTags sets the Tags field's value. -func (s *DeleteReservationOutput) SetTags(v map[string]*string) *DeleteReservationOutput { - s.Tags = v - return s -} + // An eventbridge rule template's id. AWS provided templates have ids that start + // with `aws-` + // + // Id is a required field + Id *string `locationName:"id" min:"7" type:"string" required:"true"` -// SetUsagePrice sets the UsagePrice field's value. -func (s *DeleteReservationOutput) SetUsagePrice(v float64) *DeleteReservationOutput { - s.UsagePrice = &v - return s -} + ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp" timestampFormat:"iso8601"` -type DeleteScheduleInput struct { - _ struct{} `type:"structure" nopayload:"true"` + // A resource's name. Names must be unique within the scope of a resource type + // in a specific region. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` - // ChannelId is a required field - ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` + // Represents the tags associated with a resource. + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -13021,7 +21029,7 @@ type DeleteScheduleInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteScheduleInput) String() string { +func (s EventBridgeRuleTemplateSummary) String() string { return awsutil.Prettify(s) } @@ -13030,62 +21038,78 @@ func (s DeleteScheduleInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteScheduleInput) GoString() string { +func (s EventBridgeRuleTemplateSummary) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteScheduleInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteScheduleInput"} - if s.ChannelId == nil { - invalidParams.Add(request.NewErrParamRequired("ChannelId")) - } - if s.ChannelId != nil && len(*s.ChannelId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) - } +// SetArn sets the Arn field's value. +func (s *EventBridgeRuleTemplateSummary) SetArn(v string) *EventBridgeRuleTemplateSummary { + s.Arn = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetCreatedAt sets the CreatedAt field's value. +func (s *EventBridgeRuleTemplateSummary) SetCreatedAt(v time.Time) *EventBridgeRuleTemplateSummary { + s.CreatedAt = &v + return s } -// SetChannelId sets the ChannelId field's value. -func (s *DeleteScheduleInput) SetChannelId(v string) *DeleteScheduleInput { - s.ChannelId = &v +// SetDescription sets the Description field's value. +func (s *EventBridgeRuleTemplateSummary) SetDescription(v string) *EventBridgeRuleTemplateSummary { + s.Description = &v return s } -type DeleteScheduleOutput struct { - _ struct{} `type:"structure"` +// SetEventTargetCount sets the EventTargetCount field's value. +func (s *EventBridgeRuleTemplateSummary) SetEventTargetCount(v int64) *EventBridgeRuleTemplateSummary { + s.EventTargetCount = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DeleteScheduleOutput) String() string { - return awsutil.Prettify(s) +// SetEventType sets the EventType field's value. +func (s *EventBridgeRuleTemplateSummary) SetEventType(v string) *EventBridgeRuleTemplateSummary { + s.EventType = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DeleteScheduleOutput) GoString() string { - return s.String() +// SetGroupId sets the GroupId field's value. +func (s *EventBridgeRuleTemplateSummary) SetGroupId(v string) *EventBridgeRuleTemplateSummary { + s.GroupId = &v + return s } -type DeleteTagsInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetId sets the Id field's value. +func (s *EventBridgeRuleTemplateSummary) SetId(v string) *EventBridgeRuleTemplateSummary { + s.Id = &v + return s +} - // ResourceArn is a required field - ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"` +// SetModifiedAt sets the ModifiedAt field's value. +func (s *EventBridgeRuleTemplateSummary) SetModifiedAt(v time.Time) *EventBridgeRuleTemplateSummary { + s.ModifiedAt = &v + return s +} - // TagKeys is a required field - TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"` +// SetName sets the Name field's value. +func (s *EventBridgeRuleTemplateSummary) SetName(v string) *EventBridgeRuleTemplateSummary { + s.Name = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *EventBridgeRuleTemplateSummary) SetTags(v map[string]*string) *EventBridgeRuleTemplateSummary { + s.Tags = v + return s +} + +// The target to which to send matching events. +type EventBridgeRuleTemplateTarget struct { + _ struct{} `type:"structure"` + + // Target ARNs must be either an SNS topic or CloudWatch log group. + // + // Arn is a required field + Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -13093,7 +21117,7 @@ type DeleteTagsInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteTagsInput) String() string { +func (s EventBridgeRuleTemplateTarget) String() string { return awsutil.Prettify(s) } @@ -13102,21 +21126,18 @@ func (s DeleteTagsInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteTagsInput) GoString() string { +func (s EventBridgeRuleTemplateTarget) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteTagsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteTagsInput"} - if s.ResourceArn == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceArn")) +func (s *EventBridgeRuleTemplateTarget) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "EventBridgeRuleTemplateTarget"} + if s.Arn == nil { + invalidParams.Add(request.NewErrParamRequired("Arn")) } - if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) - } - if s.TagKeys == nil { - invalidParams.Add(request.NewErrParamRequired("TagKeys")) + if s.Arn != nil && len(*s.Arn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Arn", 1)) } if invalidParams.Len() > 0 { @@ -13125,20 +21146,19 @@ func (s *DeleteTagsInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *DeleteTagsInput) SetResourceArn(v string) *DeleteTagsInput { - s.ResourceArn = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *DeleteTagsInput) SetTagKeys(v []*string) *DeleteTagsInput { - s.TagKeys = v +// SetArn sets the Arn field's value. +func (s *EventBridgeRuleTemplateTarget) SetArn(v string) *EventBridgeRuleTemplateTarget { + s.Arn = &v return s } -type DeleteTagsOutput struct { +// Failover Condition settings. There can be multiple failover conditions inside +// AutomaticInputFailoverSettings. +type FailoverCondition struct { _ struct{} `type:"structure"` + + // Failover condition type-specific settings. + FailoverConditionSettings *FailoverConditionSettings `locationName:"failoverConditionSettings" type:"structure"` } // String returns the string representation. @@ -13146,7 +21166,7 @@ type DeleteTagsOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteTagsOutput) String() string { +func (s FailoverCondition) String() string { return awsutil.Prettify(s) } @@ -13155,12 +21175,46 @@ func (s DeleteTagsOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteTagsOutput) GoString() string { +func (s FailoverCondition) GoString() string { return s.String() } -type DescribeAccountConfigurationInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// Validate inspects the fields of the type to determine if they are valid. +func (s *FailoverCondition) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FailoverCondition"} + if s.FailoverConditionSettings != nil { + if err := s.FailoverConditionSettings.Validate(); err != nil { + invalidParams.AddNested("FailoverConditionSettings", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFailoverConditionSettings sets the FailoverConditionSettings field's value. +func (s *FailoverCondition) SetFailoverConditionSettings(v *FailoverConditionSettings) *FailoverCondition { + s.FailoverConditionSettings = v + return s +} + +// Settings for one failover condition. +type FailoverConditionSettings struct { + _ struct{} `type:"structure"` + + // MediaLive will perform a failover if the specified audio selector is silent + // for the specified period. + AudioSilenceSettings *AudioSilenceFailoverSettings `locationName:"audioSilenceSettings" type:"structure"` + + // MediaLive will perform a failover if content is not detected in this input + // for the specified period. + InputLossSettings *InputLossFailoverSettings `locationName:"inputLossSettings" type:"structure"` + + // MediaLive will perform a failover if content is considered black for the + // specified period. + VideoBlackSettings *VideoBlackFailoverSettings `locationName:"videoBlackSettings" type:"structure"` } // String returns the string representation. @@ -13168,7 +21222,7 @@ type DescribeAccountConfigurationInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeAccountConfigurationInput) String() string { +func (s FailoverConditionSettings) String() string { return awsutil.Prettify(s) } @@ -13177,14 +21231,67 @@ func (s DescribeAccountConfigurationInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeAccountConfigurationInput) GoString() string { +func (s FailoverConditionSettings) GoString() string { return s.String() } -type DescribeAccountConfigurationOutput struct { +// Validate inspects the fields of the type to determine if they are valid. +func (s *FailoverConditionSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FailoverConditionSettings"} + if s.AudioSilenceSettings != nil { + if err := s.AudioSilenceSettings.Validate(); err != nil { + invalidParams.AddNested("AudioSilenceSettings", err.(request.ErrInvalidParams)) + } + } + if s.InputLossSettings != nil { + if err := s.InputLossSettings.Validate(); err != nil { + invalidParams.AddNested("InputLossSettings", err.(request.ErrInvalidParams)) + } + } + if s.VideoBlackSettings != nil { + if err := s.VideoBlackSettings.Validate(); err != nil { + invalidParams.AddNested("VideoBlackSettings", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAudioSilenceSettings sets the AudioSilenceSettings field's value. +func (s *FailoverConditionSettings) SetAudioSilenceSettings(v *AudioSilenceFailoverSettings) *FailoverConditionSettings { + s.AudioSilenceSettings = v + return s +} + +// SetInputLossSettings sets the InputLossSettings field's value. +func (s *FailoverConditionSettings) SetInputLossSettings(v *InputLossFailoverSettings) *FailoverConditionSettings { + s.InputLossSettings = v + return s +} + +// SetVideoBlackSettings sets the VideoBlackSettings field's value. +func (s *FailoverConditionSettings) SetVideoBlackSettings(v *VideoBlackFailoverSettings) *FailoverConditionSettings { + s.VideoBlackSettings = v + return s +} + +// Feature Activations +type FeatureActivations struct { _ struct{} `type:"structure"` - AccountConfiguration *AccountConfiguration `locationName:"accountConfiguration" type:"structure"` + // Enables the Input Prepare feature. You can create Input Prepare actions in + // the schedule only if this feature is enabled.If you disable the feature on + // an existing schedule, make sure that you first delete all input prepare actions + // from the schedule. + InputPrepareScheduleActions *string `locationName:"inputPrepareScheduleActions" type:"string" enum:"FeatureActivationsInputPrepareScheduleActions"` + + // Enables the output static image overlay feature. Enabling this feature allows + // you to send channel schedule updatesto display/clear/modify image overlays + // on an output-by-output bases. + OutputStaticImageOverlayScheduleActions *string `locationName:"outputStaticImageOverlayScheduleActions" type:"string" enum:"FeatureActivationsOutputStaticImageOverlayScheduleActions"` } // String returns the string representation. @@ -13192,7 +21299,7 @@ type DescribeAccountConfigurationOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeAccountConfigurationOutput) String() string { +func (s FeatureActivations) String() string { return awsutil.Prettify(s) } @@ -13201,21 +21308,41 @@ func (s DescribeAccountConfigurationOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeAccountConfigurationOutput) GoString() string { +func (s FeatureActivations) GoString() string { return s.String() } -// SetAccountConfiguration sets the AccountConfiguration field's value. -func (s *DescribeAccountConfigurationOutput) SetAccountConfiguration(v *AccountConfiguration) *DescribeAccountConfigurationOutput { - s.AccountConfiguration = v +// SetInputPrepareScheduleActions sets the InputPrepareScheduleActions field's value. +func (s *FeatureActivations) SetInputPrepareScheduleActions(v string) *FeatureActivations { + s.InputPrepareScheduleActions = &v return s } -type DescribeChannelInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetOutputStaticImageOverlayScheduleActions sets the OutputStaticImageOverlayScheduleActions field's value. +func (s *FeatureActivations) SetOutputStaticImageOverlayScheduleActions(v string) *FeatureActivations { + s.OutputStaticImageOverlayScheduleActions = &v + return s +} - // ChannelId is a required field - ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` +// Fec Output Settings +type FecOutputSettings struct { + _ struct{} `type:"structure"` + + // Parameter D from SMPTE 2022-1. The height of the FEC protection matrix. The + // number of transport stream packets per column error correction packet. Must + // be between 4 and 20, inclusive. + ColumnDepth *int64 `locationName:"columnDepth" min:"4" type:"integer"` + + // Enables column only or column and row based FEC + IncludeFec *string `locationName:"includeFec" type:"string" enum:"FecOutputIncludeFec"` + + // Parameter L from SMPTE 2022-1. The width of the FEC protection matrix. Must + // be between 1 and 20, inclusive. If only Column FEC is used, then larger values + // increase robustness. If Row FEC is used, then this is the number of transport + // stream packets per row error correction packet, and the value must be between + // 4 and 20, inclusive, if includeFec is columnAndRow. If includeFec is column, + // this value must be 1 to 20, inclusive. + RowLength *int64 `locationName:"rowLength" min:"1" type:"integer"` } // String returns the string representation. @@ -13223,7 +21350,7 @@ type DescribeChannelInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeChannelInput) String() string { +func (s FecOutputSettings) String() string { return awsutil.Prettify(s) } @@ -13232,18 +21359,18 @@ func (s DescribeChannelInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeChannelInput) GoString() string { +func (s FecOutputSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeChannelInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeChannelInput"} - if s.ChannelId == nil { - invalidParams.Add(request.NewErrParamRequired("ChannelId")) +func (s *FecOutputSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FecOutputSettings"} + if s.ColumnDepth != nil && *s.ColumnDepth < 4 { + invalidParams.Add(request.NewErrParamMinValue("ColumnDepth", 4)) } - if s.ChannelId != nil && len(*s.ChannelId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) + if s.RowLength != nil && *s.RowLength < 1 { + invalidParams.Add(request.NewErrParamMinValue("RowLength", 1)) } if invalidParams.Len() > 0 { @@ -13252,55 +21379,36 @@ func (s *DescribeChannelInput) Validate() error { return nil } -// SetChannelId sets the ChannelId field's value. -func (s *DescribeChannelInput) SetChannelId(v string) *DescribeChannelInput { - s.ChannelId = &v +// SetColumnDepth sets the ColumnDepth field's value. +func (s *FecOutputSettings) SetColumnDepth(v int64) *FecOutputSettings { + s.ColumnDepth = &v return s } -type DescribeChannelOutput struct { - _ struct{} `type:"structure"` - - Arn *string `locationName:"arn" type:"string"` - - CdiInputSpecification *CdiInputSpecification `locationName:"cdiInputSpecification" type:"structure"` - - // A standard channel has two encoding pipelines and a single pipeline channel - // only has one. - ChannelClass *string `locationName:"channelClass" type:"string" enum:"ChannelClass"` - - Destinations []*OutputDestination `locationName:"destinations" type:"list"` - - EgressEndpoints []*ChannelEgressEndpoint `locationName:"egressEndpoints" type:"list"` - - // Encoder Settings - EncoderSettings *EncoderSettings `locationName:"encoderSettings" type:"structure"` - - Id *string `locationName:"id" type:"string"` - - InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` - - InputSpecification *InputSpecification `locationName:"inputSpecification" type:"structure"` - - // The log level the user wants for their channel. - LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` - - Maintenance *MaintenanceStatus `locationName:"maintenance" type:"structure"` - - Name *string `locationName:"name" type:"string"` - - PipelineDetails []*PipelineDetail `locationName:"pipelineDetails" type:"list"` - - PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` - - RoleArn *string `locationName:"roleArn" type:"string"` +// SetIncludeFec sets the IncludeFec field's value. +func (s *FecOutputSettings) SetIncludeFec(v string) *FecOutputSettings { + s.IncludeFec = &v + return s +} - State *string `locationName:"state" type:"string" enum:"ChannelState"` +// SetRowLength sets the RowLength field's value. +func (s *FecOutputSettings) SetRowLength(v int64) *FecOutputSettings { + s.RowLength = &v + return s +} - Tags map[string]*string `locationName:"tags" type:"map"` +// Start time for the action. +type FixedModeScheduleActionStartSettings struct { + _ struct{} `type:"structure"` - // The properties for a private VPC Output - Vpc *VpcOutputSettingsDescription `locationName:"vpc" type:"structure"` + // Start time for the action to start in the channel. (Not the time for the + // action to be added to the schedule: actions are always added to the schedule + // immediately.) UTC format: yyyy-mm-ddThh:mm:ss.nnnZ. All the letters are digits + // (for example, mm might be 01) except for the two constants "T" for time and + // "Z" for "UTC format". + // + // Time is a required field + Time *string `locationName:"time" type:"string" required:"true"` } // String returns the string representation. @@ -13308,7 +21416,7 @@ type DescribeChannelOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeChannelOutput) String() string { +func (s FixedModeScheduleActionStartSettings) String() string { return awsutil.Prettify(s) } @@ -13317,123 +21425,96 @@ func (s DescribeChannelOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeChannelOutput) GoString() string { +func (s FixedModeScheduleActionStartSettings) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *DescribeChannelOutput) SetArn(v string) *DescribeChannelOutput { - s.Arn = &v - return s -} - -// SetCdiInputSpecification sets the CdiInputSpecification field's value. -func (s *DescribeChannelOutput) SetCdiInputSpecification(v *CdiInputSpecification) *DescribeChannelOutput { - s.CdiInputSpecification = v - return s -} - -// SetChannelClass sets the ChannelClass field's value. -func (s *DescribeChannelOutput) SetChannelClass(v string) *DescribeChannelOutput { - s.ChannelClass = &v - return s -} - -// SetDestinations sets the Destinations field's value. -func (s *DescribeChannelOutput) SetDestinations(v []*OutputDestination) *DescribeChannelOutput { - s.Destinations = v - return s -} - -// SetEgressEndpoints sets the EgressEndpoints field's value. -func (s *DescribeChannelOutput) SetEgressEndpoints(v []*ChannelEgressEndpoint) *DescribeChannelOutput { - s.EgressEndpoints = v - return s -} - -// SetEncoderSettings sets the EncoderSettings field's value. -func (s *DescribeChannelOutput) SetEncoderSettings(v *EncoderSettings) *DescribeChannelOutput { - s.EncoderSettings = v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *FixedModeScheduleActionStartSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FixedModeScheduleActionStartSettings"} + if s.Time == nil { + invalidParams.Add(request.NewErrParamRequired("Time")) + } -// SetId sets the Id field's value. -func (s *DescribeChannelOutput) SetId(v string) *DescribeChannelOutput { - s.Id = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetInputAttachments sets the InputAttachments field's value. -func (s *DescribeChannelOutput) SetInputAttachments(v []*InputAttachment) *DescribeChannelOutput { - s.InputAttachments = v +// SetTime sets the Time field's value. +func (s *FixedModeScheduleActionStartSettings) SetTime(v string) *FixedModeScheduleActionStartSettings { + s.Time = &v return s } -// SetInputSpecification sets the InputSpecification field's value. -func (s *DescribeChannelOutput) SetInputSpecification(v *InputSpecification) *DescribeChannelOutput { - s.InputSpecification = v - return s -} +// Fmp4 Hls Settings +type Fmp4HlsSettings struct { + _ struct{} `type:"structure"` -// SetLogLevel sets the LogLevel field's value. -func (s *DescribeChannelOutput) SetLogLevel(v string) *DescribeChannelOutput { - s.LogLevel = &v - return s -} + // List all the audio groups that are used with the video output stream. Input + // all the audio GROUP-IDs that are associated to the video, separate by ','. + AudioRenditionSets *string `locationName:"audioRenditionSets" type:"string"` -// SetMaintenance sets the Maintenance field's value. -func (s *DescribeChannelOutput) SetMaintenance(v *MaintenanceStatus) *DescribeChannelOutput { - s.Maintenance = v - return s -} + // If set to passthrough, Nielsen inaudible tones for media tracking will be + // detected in the input audio and an equivalent ID3 tag will be inserted in + // the output. + NielsenId3Behavior *string `locationName:"nielsenId3Behavior" type:"string" enum:"Fmp4NielsenId3Behavior"` -// SetName sets the Name field's value. -func (s *DescribeChannelOutput) SetName(v string) *DescribeChannelOutput { - s.Name = &v - return s + // When set to passthrough, timed metadata is passed through from input to output. + TimedMetadataBehavior *string `locationName:"timedMetadataBehavior" type:"string" enum:"Fmp4TimedMetadataBehavior"` } -// SetPipelineDetails sets the PipelineDetails field's value. -func (s *DescribeChannelOutput) SetPipelineDetails(v []*PipelineDetail) *DescribeChannelOutput { - s.PipelineDetails = v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Fmp4HlsSettings) String() string { + return awsutil.Prettify(s) } -// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. -func (s *DescribeChannelOutput) SetPipelinesRunningCount(v int64) *DescribeChannelOutput { - s.PipelinesRunningCount = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Fmp4HlsSettings) GoString() string { + return s.String() } -// SetRoleArn sets the RoleArn field's value. -func (s *DescribeChannelOutput) SetRoleArn(v string) *DescribeChannelOutput { - s.RoleArn = &v +// SetAudioRenditionSets sets the AudioRenditionSets field's value. +func (s *Fmp4HlsSettings) SetAudioRenditionSets(v string) *Fmp4HlsSettings { + s.AudioRenditionSets = &v return s } -// SetState sets the State field's value. -func (s *DescribeChannelOutput) SetState(v string) *DescribeChannelOutput { - s.State = &v +// SetNielsenId3Behavior sets the NielsenId3Behavior field's value. +func (s *Fmp4HlsSettings) SetNielsenId3Behavior(v string) *Fmp4HlsSettings { + s.NielsenId3Behavior = &v return s } -// SetTags sets the Tags field's value. -func (s *DescribeChannelOutput) SetTags(v map[string]*string) *DescribeChannelOutput { - s.Tags = v +// SetTimedMetadataBehavior sets the TimedMetadataBehavior field's value. +func (s *Fmp4HlsSettings) SetTimedMetadataBehavior(v string) *Fmp4HlsSettings { + s.TimedMetadataBehavior = &v return s } -// SetVpc sets the Vpc field's value. -func (s *DescribeChannelOutput) SetVpc(v *VpcOutputSettingsDescription) *DescribeChannelOutput { - s.Vpc = v - return s -} +// Settings to specify if an action follows another. +type FollowModeScheduleActionStartSettings struct { + _ struct{} `type:"structure"` -type DescribeInputDeviceInput struct { - _ struct{} `type:"structure" nopayload:"true"` + // Identifies whether this action starts relative to the start or relative to + // the end of the reference action. + // + // FollowPoint is a required field + FollowPoint *string `locationName:"followPoint" type:"string" required:"true" enum:"FollowPoint"` - // InputDeviceId is a required field - InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` + // The action name of another action that this one refers to. + // + // ReferenceActionName is a required field + ReferenceActionName *string `locationName:"referenceActionName" type:"string" required:"true"` } // String returns the string representation. @@ -13441,7 +21522,7 @@ type DescribeInputDeviceInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeInputDeviceInput) String() string { +func (s FollowModeScheduleActionStartSettings) String() string { return awsutil.Prettify(s) } @@ -13450,18 +21531,18 @@ func (s DescribeInputDeviceInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeInputDeviceInput) GoString() string { +func (s FollowModeScheduleActionStartSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeInputDeviceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeInputDeviceInput"} - if s.InputDeviceId == nil { - invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) +func (s *FollowModeScheduleActionStartSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FollowModeScheduleActionStartSettings"} + if s.FollowPoint == nil { + invalidParams.Add(request.NewErrParamRequired("FollowPoint")) } - if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) + if s.ReferenceActionName == nil { + invalidParams.Add(request.NewErrParamRequired("ReferenceActionName")) } if invalidParams.Len() > 0 { @@ -13470,61 +21551,23 @@ func (s *DescribeInputDeviceInput) Validate() error { return nil } -// SetInputDeviceId sets the InputDeviceId field's value. -func (s *DescribeInputDeviceInput) SetInputDeviceId(v string) *DescribeInputDeviceInput { - s.InputDeviceId = &v +// SetFollowPoint sets the FollowPoint field's value. +func (s *FollowModeScheduleActionStartSettings) SetFollowPoint(v string) *FollowModeScheduleActionStartSettings { + s.FollowPoint = &v return s } -type DescribeInputDeviceOutput struct { - _ struct{} `type:"structure"` - - Arn *string `locationName:"arn" type:"string"` - - AvailabilityZone *string `locationName:"availabilityZone" type:"string"` - - // The state of the connection between the input device and AWS. - ConnectionState *string `locationName:"connectionState" type:"string" enum:"InputDeviceConnectionState"` - - // The status of the action to synchronize the device configuration. If you - // change the configuration of the input device (for example, the maximum bitrate), - // MediaLive sends the new data to the device. The device might not update itself - // immediately. SYNCED means the device has updated its configuration. SYNCING - // means that it has not updated its configuration. - DeviceSettingsSyncState *string `locationName:"deviceSettingsSyncState" type:"string" enum:"DeviceSettingsSyncState"` - - // The status of software on the input device. - DeviceUpdateStatus *string `locationName:"deviceUpdateStatus" type:"string" enum:"DeviceUpdateStatus"` - - // Settings that describe the active source from the input device, and the video - // characteristics of that source. - HdDeviceSettings *InputDeviceHdSettings `locationName:"hdDeviceSettings" type:"structure"` - - Id *string `locationName:"id" type:"string"` - - MacAddress *string `locationName:"macAddress" type:"string"` - - MedialiveInputArns []*string `locationName:"medialiveInputArns" type:"list"` - - Name *string `locationName:"name" type:"string"` - - // The network settings for the input device. - NetworkSettings *InputDeviceNetworkSettings `locationName:"networkSettings" type:"structure"` - - // The output attachment type of the input device. - OutputType *string `locationName:"outputType" type:"string" enum:"InputDeviceOutputType"` - - SerialNumber *string `locationName:"serialNumber" type:"string"` - - Tags map[string]*string `locationName:"tags" type:"map"` +// SetReferenceActionName sets the ReferenceActionName field's value. +func (s *FollowModeScheduleActionStartSettings) SetReferenceActionName(v string) *FollowModeScheduleActionStartSettings { + s.ReferenceActionName = &v + return s +} - // The type of the input device. For an AWS Elemental Link device that outputs - // resolutions up to 1080, choose "HD". - Type *string `locationName:"type" type:"string" enum:"InputDeviceType"` +type ForbiddenException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // Settings that describe the active source from the input device, and the video - // characteristics of that source. - UhdDeviceSettings *InputDeviceUhdSettings `locationName:"uhdDeviceSettings" type:"structure"` + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation. @@ -13532,7 +21575,7 @@ type DescribeInputDeviceOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeInputDeviceOutput) String() string { +func (s ForbiddenException) String() string { return awsutil.Prettify(s) } @@ -13541,114 +21584,97 @@ func (s DescribeInputDeviceOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeInputDeviceOutput) GoString() string { - return s.String() -} - -// SetArn sets the Arn field's value. -func (s *DescribeInputDeviceOutput) SetArn(v string) *DescribeInputDeviceOutput { - s.Arn = &v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *DescribeInputDeviceOutput) SetAvailabilityZone(v string) *DescribeInputDeviceOutput { - s.AvailabilityZone = &v - return s -} - -// SetConnectionState sets the ConnectionState field's value. -func (s *DescribeInputDeviceOutput) SetConnectionState(v string) *DescribeInputDeviceOutput { - s.ConnectionState = &v - return s -} - -// SetDeviceSettingsSyncState sets the DeviceSettingsSyncState field's value. -func (s *DescribeInputDeviceOutput) SetDeviceSettingsSyncState(v string) *DescribeInputDeviceOutput { - s.DeviceSettingsSyncState = &v - return s +func (s ForbiddenException) GoString() string { + return s.String() } -// SetDeviceUpdateStatus sets the DeviceUpdateStatus field's value. -func (s *DescribeInputDeviceOutput) SetDeviceUpdateStatus(v string) *DescribeInputDeviceOutput { - s.DeviceUpdateStatus = &v - return s +func newErrorForbiddenException(v protocol.ResponseMetadata) error { + return &ForbiddenException{ + RespMetadata: v, + } } -// SetHdDeviceSettings sets the HdDeviceSettings field's value. -func (s *DescribeInputDeviceOutput) SetHdDeviceSettings(v *InputDeviceHdSettings) *DescribeInputDeviceOutput { - s.HdDeviceSettings = v - return s +// Code returns the exception type name. +func (s *ForbiddenException) Code() string { + return "ForbiddenException" } -// SetId sets the Id field's value. -func (s *DescribeInputDeviceOutput) SetId(v string) *DescribeInputDeviceOutput { - s.Id = &v - return s +// Message returns the exception's message. +func (s *ForbiddenException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" } -// SetMacAddress sets the MacAddress field's value. -func (s *DescribeInputDeviceOutput) SetMacAddress(v string) *DescribeInputDeviceOutput { - s.MacAddress = &v - return s +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ForbiddenException) OrigErr() error { + return nil } -// SetMedialiveInputArns sets the MedialiveInputArns field's value. -func (s *DescribeInputDeviceOutput) SetMedialiveInputArns(v []*string) *DescribeInputDeviceOutput { - s.MedialiveInputArns = v - return s +func (s *ForbiddenException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) } -// SetName sets the Name field's value. -func (s *DescribeInputDeviceOutput) SetName(v string) *DescribeInputDeviceOutput { - s.Name = &v - return s +// Status code returns the HTTP status code for the request's response error. +func (s *ForbiddenException) StatusCode() int { + return s.RespMetadata.StatusCode } -// SetNetworkSettings sets the NetworkSettings field's value. -func (s *DescribeInputDeviceOutput) SetNetworkSettings(v *InputDeviceNetworkSettings) *DescribeInputDeviceOutput { - s.NetworkSettings = v - return s +// RequestID returns the service's response RequestID for request. +func (s *ForbiddenException) RequestID() string { + return s.RespMetadata.RequestID } -// SetOutputType sets the OutputType field's value. -func (s *DescribeInputDeviceOutput) SetOutputType(v string) *DescribeInputDeviceOutput { - s.OutputType = &v - return s -} +// Frame Capture Cdn Settings +type FrameCaptureCdnSettings struct { + _ struct{} `type:"structure"` -// SetSerialNumber sets the SerialNumber field's value. -func (s *DescribeInputDeviceOutput) SetSerialNumber(v string) *DescribeInputDeviceOutput { - s.SerialNumber = &v - return s + // Frame Capture S3 Settings + FrameCaptureS3Settings *FrameCaptureS3Settings `locationName:"frameCaptureS3Settings" type:"structure"` } -// SetTags sets the Tags field's value. -func (s *DescribeInputDeviceOutput) SetTags(v map[string]*string) *DescribeInputDeviceOutput { - s.Tags = v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FrameCaptureCdnSettings) String() string { + return awsutil.Prettify(s) } -// SetType sets the Type field's value. -func (s *DescribeInputDeviceOutput) SetType(v string) *DescribeInputDeviceOutput { - s.Type = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FrameCaptureCdnSettings) GoString() string { + return s.String() } -// SetUhdDeviceSettings sets the UhdDeviceSettings field's value. -func (s *DescribeInputDeviceOutput) SetUhdDeviceSettings(v *InputDeviceUhdSettings) *DescribeInputDeviceOutput { - s.UhdDeviceSettings = v +// SetFrameCaptureS3Settings sets the FrameCaptureS3Settings field's value. +func (s *FrameCaptureCdnSettings) SetFrameCaptureS3Settings(v *FrameCaptureS3Settings) *FrameCaptureCdnSettings { + s.FrameCaptureS3Settings = v return s } -type DescribeInputDeviceThumbnailInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// Frame Capture Group Settings +type FrameCaptureGroupSettings struct { + _ struct{} `type:"structure"` - // Accept is a required field - Accept *string `location:"header" locationName:"accept" type:"string" required:"true" enum:"AcceptHeader"` + // The destination for the frame capture files. Either the URI for an Amazon + // S3 bucket and object, plus a file name prefix (for example, s3ssl://sportsDelivery/highlights/20180820/curling-) + // or the URI for a MediaStore container, plus a file name prefix (for example, + // mediastoressl://sportsDelivery/20180820/curling-). The final file names consist + // of the prefix from the destination field (for example, "curling-") + name + // modifier + the counter (5 digits, starting from 00001) + extension (which + // is always .jpg). For example, curling-low.00001.jpg + // + // Destination is a required field + Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` - // InputDeviceId is a required field - InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` + // Parameters that control interactions with the CDN. + FrameCaptureCdnSettings *FrameCaptureCdnSettings `locationName:"frameCaptureCdnSettings" type:"structure"` } // String returns the string representation. @@ -13656,7 +21682,7 @@ type DescribeInputDeviceThumbnailInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeInputDeviceThumbnailInput) String() string { +func (s FrameCaptureGroupSettings) String() string { return awsutil.Prettify(s) } @@ -13665,21 +21691,15 @@ func (s DescribeInputDeviceThumbnailInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeInputDeviceThumbnailInput) GoString() string { +func (s FrameCaptureGroupSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeInputDeviceThumbnailInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeInputDeviceThumbnailInput"} - if s.Accept == nil { - invalidParams.Add(request.NewErrParamRequired("Accept")) - } - if s.InputDeviceId == nil { - invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) - } - if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) +func (s *FrameCaptureGroupSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FrameCaptureGroupSettings"} + if s.Destination == nil { + invalidParams.Add(request.NewErrParamRequired("Destination")) } if invalidParams.Len() > 0 { @@ -13688,30 +21708,21 @@ func (s *DescribeInputDeviceThumbnailInput) Validate() error { return nil } -// SetAccept sets the Accept field's value. -func (s *DescribeInputDeviceThumbnailInput) SetAccept(v string) *DescribeInputDeviceThumbnailInput { - s.Accept = &v +// SetDestination sets the Destination field's value. +func (s *FrameCaptureGroupSettings) SetDestination(v *OutputLocationRef) *FrameCaptureGroupSettings { + s.Destination = v return s } -// SetInputDeviceId sets the InputDeviceId field's value. -func (s *DescribeInputDeviceThumbnailInput) SetInputDeviceId(v string) *DescribeInputDeviceThumbnailInput { - s.InputDeviceId = &v +// SetFrameCaptureCdnSettings sets the FrameCaptureCdnSettings field's value. +func (s *FrameCaptureGroupSettings) SetFrameCaptureCdnSettings(v *FrameCaptureCdnSettings) *FrameCaptureGroupSettings { + s.FrameCaptureCdnSettings = v return s } -type DescribeInputDeviceThumbnailOutput struct { - _ struct{} `type:"structure" payload:"Body"` - - Body io.ReadCloser `locationName:"body" type:"blob"` - - ContentLength *int64 `location:"header" locationName:"Content-Length" type:"long"` - - ContentType *string `location:"header" locationName:"Content-Type" type:"string" enum:"ContentType"` - - ETag *string `location:"header" locationName:"ETag" type:"string"` - - LastModified *time.Time `location:"header" locationName:"Last-Modified" type:"timestamp"` +// Frame Capture Hls Settings +type FrameCaptureHlsSettings struct { + _ struct{} `type:"structure"` } // String returns the string representation. @@ -13719,7 +21730,7 @@ type DescribeInputDeviceThumbnailOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeInputDeviceThumbnailOutput) String() string { +func (s FrameCaptureHlsSettings) String() string { return awsutil.Prettify(s) } @@ -13728,45 +21739,49 @@ func (s DescribeInputDeviceThumbnailOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeInputDeviceThumbnailOutput) GoString() string { +func (s FrameCaptureHlsSettings) GoString() string { return s.String() } -// SetBody sets the Body field's value. -func (s *DescribeInputDeviceThumbnailOutput) SetBody(v io.ReadCloser) *DescribeInputDeviceThumbnailOutput { - s.Body = v - return s -} +// Frame Capture Output Settings +type FrameCaptureOutputSettings struct { + _ struct{} `type:"structure"` -// SetContentLength sets the ContentLength field's value. -func (s *DescribeInputDeviceThumbnailOutput) SetContentLength(v int64) *DescribeInputDeviceThumbnailOutput { - s.ContentLength = &v - return s + // Required if the output group contains more than one output. This modifier + // forms part of the output file name. + NameModifier *string `locationName:"nameModifier" type:"string"` } -// SetContentType sets the ContentType field's value. -func (s *DescribeInputDeviceThumbnailOutput) SetContentType(v string) *DescribeInputDeviceThumbnailOutput { - s.ContentType = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FrameCaptureOutputSettings) String() string { + return awsutil.Prettify(s) } -// SetETag sets the ETag field's value. -func (s *DescribeInputDeviceThumbnailOutput) SetETag(v string) *DescribeInputDeviceThumbnailOutput { - s.ETag = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FrameCaptureOutputSettings) GoString() string { + return s.String() } -// SetLastModified sets the LastModified field's value. -func (s *DescribeInputDeviceThumbnailOutput) SetLastModified(v time.Time) *DescribeInputDeviceThumbnailOutput { - s.LastModified = &v +// SetNameModifier sets the NameModifier field's value. +func (s *FrameCaptureOutputSettings) SetNameModifier(v string) *FrameCaptureOutputSettings { + s.NameModifier = &v return s } -type DescribeInputInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// Frame Capture S3 Settings +type FrameCaptureS3Settings struct { + _ struct{} `type:"structure"` - // InputId is a required field - InputId *string `location:"uri" locationName:"inputId" type:"string" required:"true"` + // Specify the canned ACL to apply to each S3 request. Defaults to none. + CannedAcl *string `locationName:"cannedAcl" type:"string" enum:"S3CannedAcl"` } // String returns the string representation. @@ -13774,7 +21789,7 @@ type DescribeInputInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeInputInput) String() string { +func (s FrameCaptureS3Settings) String() string { return awsutil.Prettify(s) } @@ -13783,72 +21798,29 @@ func (s DescribeInputInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeInputInput) GoString() string { +func (s FrameCaptureS3Settings) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeInputInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeInputInput"} - if s.InputId == nil { - invalidParams.Add(request.NewErrParamRequired("InputId")) - } - if s.InputId != nil && len(*s.InputId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InputId", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetInputId sets the InputId field's value. -func (s *DescribeInputInput) SetInputId(v string) *DescribeInputInput { - s.InputId = &v +// SetCannedAcl sets the CannedAcl field's value. +func (s *FrameCaptureS3Settings) SetCannedAcl(v string) *FrameCaptureS3Settings { + s.CannedAcl = &v return s } -type DescribeInputOutput struct { +// Frame Capture Settings +type FrameCaptureSettings struct { _ struct{} `type:"structure"` - Arn *string `locationName:"arn" type:"string"` - - AttachedChannels []*string `locationName:"attachedChannels" type:"list"` - - Destinations []*InputDestination `locationName:"destinations" type:"list"` - - Id *string `locationName:"id" type:"string"` - - // A standard input has two sources and a single pipeline input only has one. - InputClass *string `locationName:"inputClass" type:"string" enum:"InputClass"` - - InputDevices []*InputDeviceSettings `locationName:"inputDevices" type:"list"` - - InputPartnerIds []*string `locationName:"inputPartnerIds" type:"list"` - - // There are two types of input sources, static and dynamic. If an input source - // is dynamic you canchange the source url of the input dynamically using an - // input switch action. Currently, two input typessupport a dynamic url at this - // time, MP4_FILE and TS_FILE. By default all input sources are static. - InputSourceType *string `locationName:"inputSourceType" type:"string" enum:"InputSourceType"` - - MediaConnectFlows []*MediaConnectFlow `locationName:"mediaConnectFlows" type:"list"` - - Name *string `locationName:"name" type:"string"` - - RoleArn *string `locationName:"roleArn" type:"string"` - - SecurityGroups []*string `locationName:"securityGroups" type:"list"` - - Sources []*InputSource `locationName:"sources" type:"list"` - - State *string `locationName:"state" type:"string" enum:"InputState"` + // The frequency at which to capture frames for inclusion in the output. May + // be specified in either seconds or milliseconds, as specified by captureIntervalUnits. + CaptureInterval *int64 `locationName:"captureInterval" min:"1" type:"integer"` - Tags map[string]*string `locationName:"tags" type:"map"` + // Unit for the frame capture interval. + CaptureIntervalUnits *string `locationName:"captureIntervalUnits" type:"string" enum:"FrameCaptureIntervalUnit"` - // The different types of inputs that AWS Elemental MediaLive supports. - Type *string `locationName:"type" type:"string" enum:"InputType"` + // Timecode burn-in settings + TimecodeBurninSettings *TimecodeBurninSettings `locationName:"timecodeBurninSettings" type:"structure"` } // String returns the string representation. @@ -13856,7 +21828,7 @@ type DescribeInputOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeInputOutput) String() string { +func (s FrameCaptureSettings) String() string { return awsutil.Prettify(s) } @@ -13865,111 +21837,114 @@ func (s DescribeInputOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeInputOutput) GoString() string { +func (s FrameCaptureSettings) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *DescribeInputOutput) SetArn(v string) *DescribeInputOutput { - s.Arn = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *FrameCaptureSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FrameCaptureSettings"} + if s.CaptureInterval != nil && *s.CaptureInterval < 1 { + invalidParams.Add(request.NewErrParamMinValue("CaptureInterval", 1)) + } + if s.TimecodeBurninSettings != nil { + if err := s.TimecodeBurninSettings.Validate(); err != nil { + invalidParams.AddNested("TimecodeBurninSettings", err.(request.ErrInvalidParams)) + } + } -// SetAttachedChannels sets the AttachedChannels field's value. -func (s *DescribeInputOutput) SetAttachedChannels(v []*string) *DescribeInputOutput { - s.AttachedChannels = v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetDestinations sets the Destinations field's value. -func (s *DescribeInputOutput) SetDestinations(v []*InputDestination) *DescribeInputOutput { - s.Destinations = v +// SetCaptureInterval sets the CaptureInterval field's value. +func (s *FrameCaptureSettings) SetCaptureInterval(v int64) *FrameCaptureSettings { + s.CaptureInterval = &v return s } -// SetId sets the Id field's value. -func (s *DescribeInputOutput) SetId(v string) *DescribeInputOutput { - s.Id = &v +// SetCaptureIntervalUnits sets the CaptureIntervalUnits field's value. +func (s *FrameCaptureSettings) SetCaptureIntervalUnits(v string) *FrameCaptureSettings { + s.CaptureIntervalUnits = &v return s } -// SetInputClass sets the InputClass field's value. -func (s *DescribeInputOutput) SetInputClass(v string) *DescribeInputOutput { - s.InputClass = &v +// SetTimecodeBurninSettings sets the TimecodeBurninSettings field's value. +func (s *FrameCaptureSettings) SetTimecodeBurninSettings(v *TimecodeBurninSettings) *FrameCaptureSettings { + s.TimecodeBurninSettings = v return s } -// SetInputDevices sets the InputDevices field's value. -func (s *DescribeInputOutput) SetInputDevices(v []*InputDeviceSettings) *DescribeInputOutput { - s.InputDevices = v - return s -} +type GatewayTimeoutException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` -// SetInputPartnerIds sets the InputPartnerIds field's value. -func (s *DescribeInputOutput) SetInputPartnerIds(v []*string) *DescribeInputOutput { - s.InputPartnerIds = v - return s + Message_ *string `locationName:"message" type:"string"` } -// SetInputSourceType sets the InputSourceType field's value. -func (s *DescribeInputOutput) SetInputSourceType(v string) *DescribeInputOutput { - s.InputSourceType = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GatewayTimeoutException) String() string { + return awsutil.Prettify(s) } -// SetMediaConnectFlows sets the MediaConnectFlows field's value. -func (s *DescribeInputOutput) SetMediaConnectFlows(v []*MediaConnectFlow) *DescribeInputOutput { - s.MediaConnectFlows = v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GatewayTimeoutException) GoString() string { + return s.String() } -// SetName sets the Name field's value. -func (s *DescribeInputOutput) SetName(v string) *DescribeInputOutput { - s.Name = &v - return s +func newErrorGatewayTimeoutException(v protocol.ResponseMetadata) error { + return &GatewayTimeoutException{ + RespMetadata: v, + } } -// SetRoleArn sets the RoleArn field's value. -func (s *DescribeInputOutput) SetRoleArn(v string) *DescribeInputOutput { - s.RoleArn = &v - return s +// Code returns the exception type name. +func (s *GatewayTimeoutException) Code() string { + return "GatewayTimeoutException" } -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *DescribeInputOutput) SetSecurityGroups(v []*string) *DescribeInputOutput { - s.SecurityGroups = v - return s +// Message returns the exception's message. +func (s *GatewayTimeoutException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" } -// SetSources sets the Sources field's value. -func (s *DescribeInputOutput) SetSources(v []*InputSource) *DescribeInputOutput { - s.Sources = v - return s +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *GatewayTimeoutException) OrigErr() error { + return nil } -// SetState sets the State field's value. -func (s *DescribeInputOutput) SetState(v string) *DescribeInputOutput { - s.State = &v - return s +func (s *GatewayTimeoutException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) } -// SetTags sets the Tags field's value. -func (s *DescribeInputOutput) SetTags(v map[string]*string) *DescribeInputOutput { - s.Tags = v - return s +// Status code returns the HTTP status code for the request's response error. +func (s *GatewayTimeoutException) StatusCode() int { + return s.RespMetadata.StatusCode } -// SetType sets the Type field's value. -func (s *DescribeInputOutput) SetType(v string) *DescribeInputOutput { - s.Type = &v - return s +// RequestID returns the service's response RequestID for request. +func (s *GatewayTimeoutException) RequestID() string { + return s.RespMetadata.RequestID } -type DescribeInputSecurityGroupInput struct { +type GetCloudWatchAlarmTemplateGroupInput struct { _ struct{} `type:"structure" nopayload:"true"` - // InputSecurityGroupId is a required field - InputSecurityGroupId *string `location:"uri" locationName:"inputSecurityGroupId" type:"string" required:"true"` + // Identifier is a required field + Identifier *string `location:"uri" locationName:"identifier" type:"string" required:"true"` } // String returns the string representation. @@ -13977,7 +21952,7 @@ type DescribeInputSecurityGroupInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeInputSecurityGroupInput) String() string { +func (s GetCloudWatchAlarmTemplateGroupInput) String() string { return awsutil.Prettify(s) } @@ -13986,18 +21961,18 @@ func (s DescribeInputSecurityGroupInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeInputSecurityGroupInput) GoString() string { +func (s GetCloudWatchAlarmTemplateGroupInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeInputSecurityGroupInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeInputSecurityGroupInput"} - if s.InputSecurityGroupId == nil { - invalidParams.Add(request.NewErrParamRequired("InputSecurityGroupId")) +func (s *GetCloudWatchAlarmTemplateGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetCloudWatchAlarmTemplateGroupInput"} + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) } - if s.InputSecurityGroupId != nil && len(*s.InputSecurityGroupId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InputSecurityGroupId", 1)) + if s.Identifier != nil && len(*s.Identifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) } if invalidParams.Len() > 0 { @@ -14006,26 +21981,29 @@ func (s *DescribeInputSecurityGroupInput) Validate() error { return nil } -// SetInputSecurityGroupId sets the InputSecurityGroupId field's value. -func (s *DescribeInputSecurityGroupInput) SetInputSecurityGroupId(v string) *DescribeInputSecurityGroupInput { - s.InputSecurityGroupId = &v +// SetIdentifier sets the Identifier field's value. +func (s *GetCloudWatchAlarmTemplateGroupInput) SetIdentifier(v string) *GetCloudWatchAlarmTemplateGroupInput { + s.Identifier = &v return s } -type DescribeInputSecurityGroupOutput struct { +type GetCloudWatchAlarmTemplateGroupOutput struct { _ struct{} `type:"structure"` Arn *string `locationName:"arn" type:"string"` - Id *string `locationName:"id" type:"string"` + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` - Inputs []*string `locationName:"inputs" type:"list"` + Description *string `locationName:"description" type:"string"` - State *string `locationName:"state" type:"string" enum:"InputSecurityGroupState"` + Id *string `locationName:"id" min:"7" type:"string"` - Tags map[string]*string `locationName:"tags" type:"map"` + ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp" timestampFormat:"iso8601"` - WhitelistRules []*InputWhitelistRule `locationName:"whitelistRules" type:"list"` + Name *string `locationName:"name" min:"1" type:"string"` + + // Represents the tags associated with a resource. + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -14033,7 +22011,7 @@ type DescribeInputSecurityGroupOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeInputSecurityGroupOutput) String() string { +func (s GetCloudWatchAlarmTemplateGroupOutput) String() string { return awsutil.Prettify(s) } @@ -14042,51 +22020,57 @@ func (s DescribeInputSecurityGroupOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeInputSecurityGroupOutput) GoString() string { +func (s GetCloudWatchAlarmTemplateGroupOutput) GoString() string { return s.String() } // SetArn sets the Arn field's value. -func (s *DescribeInputSecurityGroupOutput) SetArn(v string) *DescribeInputSecurityGroupOutput { +func (s *GetCloudWatchAlarmTemplateGroupOutput) SetArn(v string) *GetCloudWatchAlarmTemplateGroupOutput { s.Arn = &v return s } +// SetCreatedAt sets the CreatedAt field's value. +func (s *GetCloudWatchAlarmTemplateGroupOutput) SetCreatedAt(v time.Time) *GetCloudWatchAlarmTemplateGroupOutput { + s.CreatedAt = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *GetCloudWatchAlarmTemplateGroupOutput) SetDescription(v string) *GetCloudWatchAlarmTemplateGroupOutput { + s.Description = &v + return s +} + // SetId sets the Id field's value. -func (s *DescribeInputSecurityGroupOutput) SetId(v string) *DescribeInputSecurityGroupOutput { +func (s *GetCloudWatchAlarmTemplateGroupOutput) SetId(v string) *GetCloudWatchAlarmTemplateGroupOutput { s.Id = &v return s } -// SetInputs sets the Inputs field's value. -func (s *DescribeInputSecurityGroupOutput) SetInputs(v []*string) *DescribeInputSecurityGroupOutput { - s.Inputs = v +// SetModifiedAt sets the ModifiedAt field's value. +func (s *GetCloudWatchAlarmTemplateGroupOutput) SetModifiedAt(v time.Time) *GetCloudWatchAlarmTemplateGroupOutput { + s.ModifiedAt = &v return s } -// SetState sets the State field's value. -func (s *DescribeInputSecurityGroupOutput) SetState(v string) *DescribeInputSecurityGroupOutput { - s.State = &v +// SetName sets the Name field's value. +func (s *GetCloudWatchAlarmTemplateGroupOutput) SetName(v string) *GetCloudWatchAlarmTemplateGroupOutput { + s.Name = &v return s } // SetTags sets the Tags field's value. -func (s *DescribeInputSecurityGroupOutput) SetTags(v map[string]*string) *DescribeInputSecurityGroupOutput { +func (s *GetCloudWatchAlarmTemplateGroupOutput) SetTags(v map[string]*string) *GetCloudWatchAlarmTemplateGroupOutput { s.Tags = v return s } -// SetWhitelistRules sets the WhitelistRules field's value. -func (s *DescribeInputSecurityGroupOutput) SetWhitelistRules(v []*InputWhitelistRule) *DescribeInputSecurityGroupOutput { - s.WhitelistRules = v - return s -} - -type DescribeMultiplexInput struct { +type GetCloudWatchAlarmTemplateInput struct { _ struct{} `type:"structure" nopayload:"true"` - // MultiplexId is a required field - MultiplexId *string `location:"uri" locationName:"multiplexId" type:"string" required:"true"` + // Identifier is a required field + Identifier *string `location:"uri" locationName:"identifier" type:"string" required:"true"` } // String returns the string representation. @@ -14094,7 +22078,7 @@ type DescribeMultiplexInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeMultiplexInput) String() string { +func (s GetCloudWatchAlarmTemplateInput) String() string { return awsutil.Prettify(s) } @@ -14103,18 +22087,18 @@ func (s DescribeMultiplexInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeMultiplexInput) GoString() string { +func (s GetCloudWatchAlarmTemplateInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeMultiplexInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeMultiplexInput"} - if s.MultiplexId == nil { - invalidParams.Add(request.NewErrParamRequired("MultiplexId")) +func (s *GetCloudWatchAlarmTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetCloudWatchAlarmTemplateInput"} + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) } - if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) + if s.Identifier != nil && len(*s.Identifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) } if invalidParams.Len() > 0 { @@ -14123,36 +22107,55 @@ func (s *DescribeMultiplexInput) Validate() error { return nil } -// SetMultiplexId sets the MultiplexId field's value. -func (s *DescribeMultiplexInput) SetMultiplexId(v string) *DescribeMultiplexInput { - s.MultiplexId = &v +// SetIdentifier sets the Identifier field's value. +func (s *GetCloudWatchAlarmTemplateInput) SetIdentifier(v string) *GetCloudWatchAlarmTemplateInput { + s.Identifier = &v return s } -type DescribeMultiplexOutput struct { +type GetCloudWatchAlarmTemplateOutput struct { _ struct{} `type:"structure"` Arn *string `locationName:"arn" type:"string"` - AvailabilityZones []*string `locationName:"availabilityZones" type:"list"` + // The comparison operator used to compare the specified statistic and the threshold. + ComparisonOperator *string `locationName:"comparisonOperator" type:"string" enum:"CloudWatchAlarmTemplateComparisonOperator"` - Destinations []*MultiplexOutputDestination `locationName:"destinations" type:"list"` + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` - Id *string `locationName:"id" type:"string"` + DatapointsToAlarm *int64 `locationName:"datapointsToAlarm" min:"1" type:"integer"` - // Contains configuration for a Multiplex event - MultiplexSettings *MultiplexSettings `locationName:"multiplexSettings" type:"structure"` + Description *string `locationName:"description" type:"string"` - Name *string `locationName:"name" type:"string"` + EvaluationPeriods *int64 `locationName:"evaluationPeriods" min:"1" type:"integer"` - PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` + GroupId *string `locationName:"groupId" min:"7" type:"string"` - ProgramCount *int64 `locationName:"programCount" type:"integer"` + Id *string `locationName:"id" min:"7" type:"string"` - // The current state of the multiplex. - State *string `locationName:"state" type:"string" enum:"MultiplexState"` + MetricName *string `locationName:"metricName" type:"string"` + + ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp" timestampFormat:"iso8601"` + + Name *string `locationName:"name" min:"1" type:"string"` + Period *int64 `locationName:"period" min:"10" type:"integer"` + + // The statistic to apply to the alarm's metric data. + Statistic *string `locationName:"statistic" type:"string" enum:"CloudWatchAlarmTemplateStatistic"` + + // Represents the tags associated with a resource. Tags map[string]*string `locationName:"tags" type:"map"` + + // The resource type this template should dynamically generate cloudwatch metric + // alarms for. + TargetResourceType *string `locationName:"targetResourceType" type:"string" enum:"CloudWatchAlarmTemplateTargetResourceType"` + + Threshold *float64 `locationName:"threshold" type:"double"` + + // Specifies how missing data points are treated when evaluating the alarm's + // condition. + TreatMissingData *string `locationName:"treatMissingData" type:"string" enum:"CloudWatchAlarmTemplateTreatMissingData"` } // String returns the string representation. @@ -14160,7 +22163,7 @@ type DescribeMultiplexOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeMultiplexOutput) String() string { +func (s GetCloudWatchAlarmTemplateOutput) String() string { return awsutil.Prettify(s) } @@ -14169,78 +22172,117 @@ func (s DescribeMultiplexOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeMultiplexOutput) GoString() string { +func (s GetCloudWatchAlarmTemplateOutput) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *DescribeMultiplexOutput) SetArn(v string) *DescribeMultiplexOutput { - s.Arn = &v +// SetArn sets the Arn field's value. +func (s *GetCloudWatchAlarmTemplateOutput) SetArn(v string) *GetCloudWatchAlarmTemplateOutput { + s.Arn = &v + return s +} + +// SetComparisonOperator sets the ComparisonOperator field's value. +func (s *GetCloudWatchAlarmTemplateOutput) SetComparisonOperator(v string) *GetCloudWatchAlarmTemplateOutput { + s.ComparisonOperator = &v + return s +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *GetCloudWatchAlarmTemplateOutput) SetCreatedAt(v time.Time) *GetCloudWatchAlarmTemplateOutput { + s.CreatedAt = &v + return s +} + +// SetDatapointsToAlarm sets the DatapointsToAlarm field's value. +func (s *GetCloudWatchAlarmTemplateOutput) SetDatapointsToAlarm(v int64) *GetCloudWatchAlarmTemplateOutput { + s.DatapointsToAlarm = &v return s } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *DescribeMultiplexOutput) SetAvailabilityZones(v []*string) *DescribeMultiplexOutput { - s.AvailabilityZones = v +// SetDescription sets the Description field's value. +func (s *GetCloudWatchAlarmTemplateOutput) SetDescription(v string) *GetCloudWatchAlarmTemplateOutput { + s.Description = &v return s } -// SetDestinations sets the Destinations field's value. -func (s *DescribeMultiplexOutput) SetDestinations(v []*MultiplexOutputDestination) *DescribeMultiplexOutput { - s.Destinations = v +// SetEvaluationPeriods sets the EvaluationPeriods field's value. +func (s *GetCloudWatchAlarmTemplateOutput) SetEvaluationPeriods(v int64) *GetCloudWatchAlarmTemplateOutput { + s.EvaluationPeriods = &v + return s +} + +// SetGroupId sets the GroupId field's value. +func (s *GetCloudWatchAlarmTemplateOutput) SetGroupId(v string) *GetCloudWatchAlarmTemplateOutput { + s.GroupId = &v return s } // SetId sets the Id field's value. -func (s *DescribeMultiplexOutput) SetId(v string) *DescribeMultiplexOutput { +func (s *GetCloudWatchAlarmTemplateOutput) SetId(v string) *GetCloudWatchAlarmTemplateOutput { s.Id = &v return s } -// SetMultiplexSettings sets the MultiplexSettings field's value. -func (s *DescribeMultiplexOutput) SetMultiplexSettings(v *MultiplexSettings) *DescribeMultiplexOutput { - s.MultiplexSettings = v +// SetMetricName sets the MetricName field's value. +func (s *GetCloudWatchAlarmTemplateOutput) SetMetricName(v string) *GetCloudWatchAlarmTemplateOutput { + s.MetricName = &v return s } -// SetName sets the Name field's value. -func (s *DescribeMultiplexOutput) SetName(v string) *DescribeMultiplexOutput { - s.Name = &v +// SetModifiedAt sets the ModifiedAt field's value. +func (s *GetCloudWatchAlarmTemplateOutput) SetModifiedAt(v time.Time) *GetCloudWatchAlarmTemplateOutput { + s.ModifiedAt = &v return s } -// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. -func (s *DescribeMultiplexOutput) SetPipelinesRunningCount(v int64) *DescribeMultiplexOutput { - s.PipelinesRunningCount = &v +// SetName sets the Name field's value. +func (s *GetCloudWatchAlarmTemplateOutput) SetName(v string) *GetCloudWatchAlarmTemplateOutput { + s.Name = &v return s } -// SetProgramCount sets the ProgramCount field's value. -func (s *DescribeMultiplexOutput) SetProgramCount(v int64) *DescribeMultiplexOutput { - s.ProgramCount = &v +// SetPeriod sets the Period field's value. +func (s *GetCloudWatchAlarmTemplateOutput) SetPeriod(v int64) *GetCloudWatchAlarmTemplateOutput { + s.Period = &v return s } -// SetState sets the State field's value. -func (s *DescribeMultiplexOutput) SetState(v string) *DescribeMultiplexOutput { - s.State = &v +// SetStatistic sets the Statistic field's value. +func (s *GetCloudWatchAlarmTemplateOutput) SetStatistic(v string) *GetCloudWatchAlarmTemplateOutput { + s.Statistic = &v return s } // SetTags sets the Tags field's value. -func (s *DescribeMultiplexOutput) SetTags(v map[string]*string) *DescribeMultiplexOutput { +func (s *GetCloudWatchAlarmTemplateOutput) SetTags(v map[string]*string) *GetCloudWatchAlarmTemplateOutput { s.Tags = v return s } -type DescribeMultiplexProgramInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetTargetResourceType sets the TargetResourceType field's value. +func (s *GetCloudWatchAlarmTemplateOutput) SetTargetResourceType(v string) *GetCloudWatchAlarmTemplateOutput { + s.TargetResourceType = &v + return s +} - // MultiplexId is a required field - MultiplexId *string `location:"uri" locationName:"multiplexId" type:"string" required:"true"` +// SetThreshold sets the Threshold field's value. +func (s *GetCloudWatchAlarmTemplateOutput) SetThreshold(v float64) *GetCloudWatchAlarmTemplateOutput { + s.Threshold = &v + return s +} - // ProgramName is a required field - ProgramName *string `location:"uri" locationName:"programName" type:"string" required:"true"` +// SetTreatMissingData sets the TreatMissingData field's value. +func (s *GetCloudWatchAlarmTemplateOutput) SetTreatMissingData(v string) *GetCloudWatchAlarmTemplateOutput { + s.TreatMissingData = &v + return s +} + +type GetEventBridgeRuleTemplateGroupInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // Identifier is a required field + Identifier *string `location:"uri" locationName:"identifier" type:"string" required:"true"` } // String returns the string representation. @@ -14248,7 +22290,7 @@ type DescribeMultiplexProgramInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeMultiplexProgramInput) String() string { +func (s GetEventBridgeRuleTemplateGroupInput) String() string { return awsutil.Prettify(s) } @@ -14257,24 +22299,18 @@ func (s DescribeMultiplexProgramInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeMultiplexProgramInput) GoString() string { +func (s GetEventBridgeRuleTemplateGroupInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeMultiplexProgramInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeMultiplexProgramInput"} - if s.MultiplexId == nil { - invalidParams.Add(request.NewErrParamRequired("MultiplexId")) +func (s *GetEventBridgeRuleTemplateGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetEventBridgeRuleTemplateGroupInput"} + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) } - if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) - } - if s.ProgramName == nil { - invalidParams.Add(request.NewErrParamRequired("ProgramName")) - } - if s.ProgramName != nil && len(*s.ProgramName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ProgramName", 1)) + if s.Identifier != nil && len(*s.Identifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) } if invalidParams.Len() > 0 { @@ -14283,32 +22319,29 @@ func (s *DescribeMultiplexProgramInput) Validate() error { return nil } -// SetMultiplexId sets the MultiplexId field's value. -func (s *DescribeMultiplexProgramInput) SetMultiplexId(v string) *DescribeMultiplexProgramInput { - s.MultiplexId = &v - return s -} - -// SetProgramName sets the ProgramName field's value. -func (s *DescribeMultiplexProgramInput) SetProgramName(v string) *DescribeMultiplexProgramInput { - s.ProgramName = &v +// SetIdentifier sets the Identifier field's value. +func (s *GetEventBridgeRuleTemplateGroupInput) SetIdentifier(v string) *GetEventBridgeRuleTemplateGroupInput { + s.Identifier = &v return s } -type DescribeMultiplexProgramOutput struct { +type GetEventBridgeRuleTemplateGroupOutput struct { _ struct{} `type:"structure"` - ChannelId *string `locationName:"channelId" type:"string"` + Arn *string `locationName:"arn" type:"string"` - // Multiplex Program settings configuration. - MultiplexProgramSettings *MultiplexProgramSettings `locationName:"multiplexProgramSettings" type:"structure"` + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` - // Packet identifiers map for a given Multiplex program. - PacketIdentifiersMap *MultiplexProgramPacketIdentifiersMap `locationName:"packetIdentifiersMap" type:"structure"` + Description *string `locationName:"description" type:"string"` - PipelineDetails []*MultiplexProgramPipelineDetail `locationName:"pipelineDetails" type:"list"` + Id *string `locationName:"id" min:"7" type:"string"` - ProgramName *string `locationName:"programName" type:"string"` + ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp" timestampFormat:"iso8601"` + + Name *string `locationName:"name" min:"1" type:"string"` + + // Represents the tags associated with a resource. + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -14316,7 +22349,7 @@ type DescribeMultiplexProgramOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeMultiplexProgramOutput) String() string { +func (s GetEventBridgeRuleTemplateGroupOutput) String() string { return awsutil.Prettify(s) } @@ -14325,45 +22358,57 @@ func (s DescribeMultiplexProgramOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeMultiplexProgramOutput) GoString() string { +func (s GetEventBridgeRuleTemplateGroupOutput) GoString() string { return s.String() } -// SetChannelId sets the ChannelId field's value. -func (s *DescribeMultiplexProgramOutput) SetChannelId(v string) *DescribeMultiplexProgramOutput { - s.ChannelId = &v +// SetArn sets the Arn field's value. +func (s *GetEventBridgeRuleTemplateGroupOutput) SetArn(v string) *GetEventBridgeRuleTemplateGroupOutput { + s.Arn = &v return s } -// SetMultiplexProgramSettings sets the MultiplexProgramSettings field's value. -func (s *DescribeMultiplexProgramOutput) SetMultiplexProgramSettings(v *MultiplexProgramSettings) *DescribeMultiplexProgramOutput { - s.MultiplexProgramSettings = v +// SetCreatedAt sets the CreatedAt field's value. +func (s *GetEventBridgeRuleTemplateGroupOutput) SetCreatedAt(v time.Time) *GetEventBridgeRuleTemplateGroupOutput { + s.CreatedAt = &v return s } -// SetPacketIdentifiersMap sets the PacketIdentifiersMap field's value. -func (s *DescribeMultiplexProgramOutput) SetPacketIdentifiersMap(v *MultiplexProgramPacketIdentifiersMap) *DescribeMultiplexProgramOutput { - s.PacketIdentifiersMap = v +// SetDescription sets the Description field's value. +func (s *GetEventBridgeRuleTemplateGroupOutput) SetDescription(v string) *GetEventBridgeRuleTemplateGroupOutput { + s.Description = &v return s } -// SetPipelineDetails sets the PipelineDetails field's value. -func (s *DescribeMultiplexProgramOutput) SetPipelineDetails(v []*MultiplexProgramPipelineDetail) *DescribeMultiplexProgramOutput { - s.PipelineDetails = v +// SetId sets the Id field's value. +func (s *GetEventBridgeRuleTemplateGroupOutput) SetId(v string) *GetEventBridgeRuleTemplateGroupOutput { + s.Id = &v return s } -// SetProgramName sets the ProgramName field's value. -func (s *DescribeMultiplexProgramOutput) SetProgramName(v string) *DescribeMultiplexProgramOutput { - s.ProgramName = &v +// SetModifiedAt sets the ModifiedAt field's value. +func (s *GetEventBridgeRuleTemplateGroupOutput) SetModifiedAt(v time.Time) *GetEventBridgeRuleTemplateGroupOutput { + s.ModifiedAt = &v return s } -type DescribeOfferingInput struct { +// SetName sets the Name field's value. +func (s *GetEventBridgeRuleTemplateGroupOutput) SetName(v string) *GetEventBridgeRuleTemplateGroupOutput { + s.Name = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *GetEventBridgeRuleTemplateGroupOutput) SetTags(v map[string]*string) *GetEventBridgeRuleTemplateGroupOutput { + s.Tags = v + return s +} + +type GetEventBridgeRuleTemplateInput struct { _ struct{} `type:"structure" nopayload:"true"` - // OfferingId is a required field - OfferingId *string `location:"uri" locationName:"offeringId" type:"string" required:"true"` + // Identifier is a required field + Identifier *string `location:"uri" locationName:"identifier" type:"string" required:"true"` } // String returns the string representation. @@ -14371,7 +22416,7 @@ type DescribeOfferingInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeOfferingInput) String() string { +func (s GetEventBridgeRuleTemplateInput) String() string { return awsutil.Prettify(s) } @@ -14380,18 +22425,18 @@ func (s DescribeOfferingInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeOfferingInput) GoString() string { +func (s GetEventBridgeRuleTemplateInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeOfferingInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeOfferingInput"} - if s.OfferingId == nil { - invalidParams.Add(request.NewErrParamRequired("OfferingId")) +func (s *GetEventBridgeRuleTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetEventBridgeRuleTemplateInput"} + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) } - if s.OfferingId != nil && len(*s.OfferingId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("OfferingId", 1)) + if s.Identifier != nil && len(*s.Identifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) } if invalidParams.Len() > 0 { @@ -14400,39 +22445,36 @@ func (s *DescribeOfferingInput) Validate() error { return nil } -// SetOfferingId sets the OfferingId field's value. -func (s *DescribeOfferingInput) SetOfferingId(v string) *DescribeOfferingInput { - s.OfferingId = &v +// SetIdentifier sets the Identifier field's value. +func (s *GetEventBridgeRuleTemplateInput) SetIdentifier(v string) *GetEventBridgeRuleTemplateInput { + s.Identifier = &v return s } -type DescribeOfferingOutput struct { +type GetEventBridgeRuleTemplateOutput struct { _ struct{} `type:"structure"` Arn *string `locationName:"arn" type:"string"` - CurrencyCode *string `locationName:"currencyCode" type:"string"` - - Duration *int64 `locationName:"duration" type:"integer"` + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` - // Units for duration, e.g. 'MONTHS' - DurationUnits *string `locationName:"durationUnits" type:"string" enum:"OfferingDurationUnits"` + Description *string `locationName:"description" type:"string"` - FixedPrice *float64 `locationName:"fixedPrice" type:"double"` + EventTargets []*EventBridgeRuleTemplateTarget `locationName:"eventTargets" type:"list"` - OfferingDescription *string `locationName:"offeringDescription" type:"string"` + // The type of event to match with the rule. + EventType *string `locationName:"eventType" type:"string" enum:"EventBridgeRuleTemplateEventType"` - OfferingId *string `locationName:"offeringId" type:"string"` + GroupId *string `locationName:"groupId" min:"7" type:"string"` - // Offering type, e.g. 'NO_UPFRONT' - OfferingType *string `locationName:"offeringType" type:"string" enum:"OfferingType"` + Id *string `locationName:"id" min:"7" type:"string"` - Region *string `locationName:"region" type:"string"` + ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp" timestampFormat:"iso8601"` - // Resource configuration (codec, resolution, bitrate, ...) - ResourceSpecification *ReservationResourceSpecification `locationName:"resourceSpecification" type:"structure"` + Name *string `locationName:"name" min:"1" type:"string"` - UsagePrice *float64 `locationName:"usagePrice" type:"double"` + // Represents the tags associated with a resource. + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -14440,7 +22482,7 @@ type DescribeOfferingOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeOfferingOutput) String() string { +func (s GetEventBridgeRuleTemplateOutput) String() string { return awsutil.Prettify(s) } @@ -14449,81 +22491,75 @@ func (s DescribeOfferingOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeOfferingOutput) GoString() string { +func (s GetEventBridgeRuleTemplateOutput) GoString() string { return s.String() } // SetArn sets the Arn field's value. -func (s *DescribeOfferingOutput) SetArn(v string) *DescribeOfferingOutput { +func (s *GetEventBridgeRuleTemplateOutput) SetArn(v string) *GetEventBridgeRuleTemplateOutput { s.Arn = &v return s } -// SetCurrencyCode sets the CurrencyCode field's value. -func (s *DescribeOfferingOutput) SetCurrencyCode(v string) *DescribeOfferingOutput { - s.CurrencyCode = &v - return s -} - -// SetDuration sets the Duration field's value. -func (s *DescribeOfferingOutput) SetDuration(v int64) *DescribeOfferingOutput { - s.Duration = &v +// SetCreatedAt sets the CreatedAt field's value. +func (s *GetEventBridgeRuleTemplateOutput) SetCreatedAt(v time.Time) *GetEventBridgeRuleTemplateOutput { + s.CreatedAt = &v return s } -// SetDurationUnits sets the DurationUnits field's value. -func (s *DescribeOfferingOutput) SetDurationUnits(v string) *DescribeOfferingOutput { - s.DurationUnits = &v +// SetDescription sets the Description field's value. +func (s *GetEventBridgeRuleTemplateOutput) SetDescription(v string) *GetEventBridgeRuleTemplateOutput { + s.Description = &v return s } -// SetFixedPrice sets the FixedPrice field's value. -func (s *DescribeOfferingOutput) SetFixedPrice(v float64) *DescribeOfferingOutput { - s.FixedPrice = &v +// SetEventTargets sets the EventTargets field's value. +func (s *GetEventBridgeRuleTemplateOutput) SetEventTargets(v []*EventBridgeRuleTemplateTarget) *GetEventBridgeRuleTemplateOutput { + s.EventTargets = v return s } -// SetOfferingDescription sets the OfferingDescription field's value. -func (s *DescribeOfferingOutput) SetOfferingDescription(v string) *DescribeOfferingOutput { - s.OfferingDescription = &v +// SetEventType sets the EventType field's value. +func (s *GetEventBridgeRuleTemplateOutput) SetEventType(v string) *GetEventBridgeRuleTemplateOutput { + s.EventType = &v return s } -// SetOfferingId sets the OfferingId field's value. -func (s *DescribeOfferingOutput) SetOfferingId(v string) *DescribeOfferingOutput { - s.OfferingId = &v +// SetGroupId sets the GroupId field's value. +func (s *GetEventBridgeRuleTemplateOutput) SetGroupId(v string) *GetEventBridgeRuleTemplateOutput { + s.GroupId = &v return s } -// SetOfferingType sets the OfferingType field's value. -func (s *DescribeOfferingOutput) SetOfferingType(v string) *DescribeOfferingOutput { - s.OfferingType = &v +// SetId sets the Id field's value. +func (s *GetEventBridgeRuleTemplateOutput) SetId(v string) *GetEventBridgeRuleTemplateOutput { + s.Id = &v return s } -// SetRegion sets the Region field's value. -func (s *DescribeOfferingOutput) SetRegion(v string) *DescribeOfferingOutput { - s.Region = &v +// SetModifiedAt sets the ModifiedAt field's value. +func (s *GetEventBridgeRuleTemplateOutput) SetModifiedAt(v time.Time) *GetEventBridgeRuleTemplateOutput { + s.ModifiedAt = &v return s } -// SetResourceSpecification sets the ResourceSpecification field's value. -func (s *DescribeOfferingOutput) SetResourceSpecification(v *ReservationResourceSpecification) *DescribeOfferingOutput { - s.ResourceSpecification = v +// SetName sets the Name field's value. +func (s *GetEventBridgeRuleTemplateOutput) SetName(v string) *GetEventBridgeRuleTemplateOutput { + s.Name = &v return s } -// SetUsagePrice sets the UsagePrice field's value. -func (s *DescribeOfferingOutput) SetUsagePrice(v float64) *DescribeOfferingOutput { - s.UsagePrice = &v +// SetTags sets the Tags field's value. +func (s *GetEventBridgeRuleTemplateOutput) SetTags(v map[string]*string) *GetEventBridgeRuleTemplateOutput { + s.Tags = v return s } -type DescribeReservationInput struct { +type GetSignalMapInput struct { _ struct{} `type:"structure" nopayload:"true"` - // ReservationId is a required field - ReservationId *string `location:"uri" locationName:"reservationId" type:"string" required:"true"` + // Identifier is a required field + Identifier *string `location:"uri" locationName:"identifier" type:"string" required:"true"` } // String returns the string representation. @@ -14531,7 +22567,7 @@ type DescribeReservationInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeReservationInput) String() string { +func (s GetSignalMapInput) String() string { return awsutil.Prettify(s) } @@ -14540,18 +22576,18 @@ func (s DescribeReservationInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeReservationInput) GoString() string { +func (s GetSignalMapInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeReservationInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeReservationInput"} - if s.ReservationId == nil { - invalidParams.Add(request.NewErrParamRequired("ReservationId")) +func (s *GetSignalMapInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetSignalMapInput"} + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) } - if s.ReservationId != nil && len(*s.ReservationId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ReservationId", 1)) + if s.Identifier != nil && len(*s.Identifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) } if invalidParams.Len() > 0 { @@ -14560,57 +22596,57 @@ func (s *DescribeReservationInput) Validate() error { return nil } -// SetReservationId sets the ReservationId field's value. -func (s *DescribeReservationInput) SetReservationId(v string) *DescribeReservationInput { - s.ReservationId = &v +// SetIdentifier sets the Identifier field's value. +func (s *GetSignalMapInput) SetIdentifier(v string) *GetSignalMapInput { + s.Identifier = &v return s } -type DescribeReservationOutput struct { +type GetSignalMapOutput struct { _ struct{} `type:"structure"` Arn *string `locationName:"arn" type:"string"` - Count *int64 `locationName:"count" type:"integer"` + CloudWatchAlarmTemplateGroupIds []*string `locationName:"cloudWatchAlarmTemplateGroupIds" type:"list"` - CurrencyCode *string `locationName:"currencyCode" type:"string"` + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` - Duration *int64 `locationName:"duration" type:"integer"` + Description *string `locationName:"description" type:"string"` - // Units for duration, e.g. 'MONTHS' - DurationUnits *string `locationName:"durationUnits" type:"string" enum:"OfferingDurationUnits"` + DiscoveryEntryPointArn *string `locationName:"discoveryEntryPointArn" min:"1" type:"string"` - End *string `locationName:"end" type:"string"` + ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string"` - FixedPrice *float64 `locationName:"fixedPrice" type:"double"` + EventBridgeRuleTemplateGroupIds []*string `locationName:"eventBridgeRuleTemplateGroupIds" type:"list"` - Name *string `locationName:"name" type:"string"` + // A map representing an incomplete AWS media workflow as a graph. + FailedMediaResourceMap map[string]*MediaResource `locationName:"failedMediaResourceMap" type:"map"` - OfferingDescription *string `locationName:"offeringDescription" type:"string"` + Id *string `locationName:"id" min:"7" type:"string"` - OfferingId *string `locationName:"offeringId" type:"string"` + LastDiscoveredAt *time.Time `locationName:"lastDiscoveredAt" type:"timestamp" timestampFormat:"iso8601"` - // Offering type, e.g. 'NO_UPFRONT' - OfferingType *string `locationName:"offeringType" type:"string" enum:"OfferingType"` + // Represents the latest successful monitor deployment of a signal map. + LastSuccessfulMonitorDeployment *SuccessfulMonitorDeployment `locationName:"lastSuccessfulMonitorDeployment" type:"structure"` - Region *string `locationName:"region" type:"string"` + // A map representing an AWS media workflow as a graph. + MediaResourceMap map[string]*MediaResource `locationName:"mediaResourceMap" type:"map"` - // The Renewal settings for Reservations - RenewalSettings *RenewalSettings `locationName:"renewalSettings" type:"structure"` + ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp" timestampFormat:"iso8601"` - ReservationId *string `locationName:"reservationId" type:"string"` + MonitorChangesPendingDeployment *bool `locationName:"monitorChangesPendingDeployment" type:"boolean"` - // Resource configuration (codec, resolution, bitrate, ...) - ResourceSpecification *ReservationResourceSpecification `locationName:"resourceSpecification" type:"structure"` + // Represents the latest monitor deployment of a signal map. + MonitorDeployment *MonitorDeployment `locationName:"monitorDeployment" type:"structure"` - Start *string `locationName:"start" type:"string"` + Name *string `locationName:"name" min:"1" type:"string"` - // Current reservation state - State *string `locationName:"state" type:"string" enum:"ReservationState"` + // A signal map's current status which is dependent on its lifecycle actions + // or associated jobs. + Status *string `locationName:"status" type:"string" enum:"SignalMapStatus"` + // Represents the tags associated with a resource. Tags map[string]*string `locationName:"tags" type:"map"` - - UsagePrice *float64 `locationName:"usagePrice" type:"double"` } // String returns the string representation. @@ -14618,7 +22654,7 @@ type DescribeReservationOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeReservationOutput) String() string { +func (s GetSignalMapOutput) String() string { return awsutil.Prettify(s) } @@ -14627,133 +22663,155 @@ func (s DescribeReservationOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeReservationOutput) GoString() string { +func (s GetSignalMapOutput) GoString() string { return s.String() } // SetArn sets the Arn field's value. -func (s *DescribeReservationOutput) SetArn(v string) *DescribeReservationOutput { +func (s *GetSignalMapOutput) SetArn(v string) *GetSignalMapOutput { s.Arn = &v return s } -// SetCount sets the Count field's value. -func (s *DescribeReservationOutput) SetCount(v int64) *DescribeReservationOutput { - s.Count = &v +// SetCloudWatchAlarmTemplateGroupIds sets the CloudWatchAlarmTemplateGroupIds field's value. +func (s *GetSignalMapOutput) SetCloudWatchAlarmTemplateGroupIds(v []*string) *GetSignalMapOutput { + s.CloudWatchAlarmTemplateGroupIds = v return s } -// SetCurrencyCode sets the CurrencyCode field's value. -func (s *DescribeReservationOutput) SetCurrencyCode(v string) *DescribeReservationOutput { - s.CurrencyCode = &v +// SetCreatedAt sets the CreatedAt field's value. +func (s *GetSignalMapOutput) SetCreatedAt(v time.Time) *GetSignalMapOutput { + s.CreatedAt = &v return s } -// SetDuration sets the Duration field's value. -func (s *DescribeReservationOutput) SetDuration(v int64) *DescribeReservationOutput { - s.Duration = &v +// SetDescription sets the Description field's value. +func (s *GetSignalMapOutput) SetDescription(v string) *GetSignalMapOutput { + s.Description = &v return s } -// SetDurationUnits sets the DurationUnits field's value. -func (s *DescribeReservationOutput) SetDurationUnits(v string) *DescribeReservationOutput { - s.DurationUnits = &v +// SetDiscoveryEntryPointArn sets the DiscoveryEntryPointArn field's value. +func (s *GetSignalMapOutput) SetDiscoveryEntryPointArn(v string) *GetSignalMapOutput { + s.DiscoveryEntryPointArn = &v return s } -// SetEnd sets the End field's value. -func (s *DescribeReservationOutput) SetEnd(v string) *DescribeReservationOutput { - s.End = &v +// SetErrorMessage sets the ErrorMessage field's value. +func (s *GetSignalMapOutput) SetErrorMessage(v string) *GetSignalMapOutput { + s.ErrorMessage = &v return s } -// SetFixedPrice sets the FixedPrice field's value. -func (s *DescribeReservationOutput) SetFixedPrice(v float64) *DescribeReservationOutput { - s.FixedPrice = &v +// SetEventBridgeRuleTemplateGroupIds sets the EventBridgeRuleTemplateGroupIds field's value. +func (s *GetSignalMapOutput) SetEventBridgeRuleTemplateGroupIds(v []*string) *GetSignalMapOutput { + s.EventBridgeRuleTemplateGroupIds = v return s } -// SetName sets the Name field's value. -func (s *DescribeReservationOutput) SetName(v string) *DescribeReservationOutput { - s.Name = &v +// SetFailedMediaResourceMap sets the FailedMediaResourceMap field's value. +func (s *GetSignalMapOutput) SetFailedMediaResourceMap(v map[string]*MediaResource) *GetSignalMapOutput { + s.FailedMediaResourceMap = v return s } -// SetOfferingDescription sets the OfferingDescription field's value. -func (s *DescribeReservationOutput) SetOfferingDescription(v string) *DescribeReservationOutput { - s.OfferingDescription = &v +// SetId sets the Id field's value. +func (s *GetSignalMapOutput) SetId(v string) *GetSignalMapOutput { + s.Id = &v return s } -// SetOfferingId sets the OfferingId field's value. -func (s *DescribeReservationOutput) SetOfferingId(v string) *DescribeReservationOutput { - s.OfferingId = &v +// SetLastDiscoveredAt sets the LastDiscoveredAt field's value. +func (s *GetSignalMapOutput) SetLastDiscoveredAt(v time.Time) *GetSignalMapOutput { + s.LastDiscoveredAt = &v return s } -// SetOfferingType sets the OfferingType field's value. -func (s *DescribeReservationOutput) SetOfferingType(v string) *DescribeReservationOutput { - s.OfferingType = &v +// SetLastSuccessfulMonitorDeployment sets the LastSuccessfulMonitorDeployment field's value. +func (s *GetSignalMapOutput) SetLastSuccessfulMonitorDeployment(v *SuccessfulMonitorDeployment) *GetSignalMapOutput { + s.LastSuccessfulMonitorDeployment = v return s } -// SetRegion sets the Region field's value. -func (s *DescribeReservationOutput) SetRegion(v string) *DescribeReservationOutput { - s.Region = &v +// SetMediaResourceMap sets the MediaResourceMap field's value. +func (s *GetSignalMapOutput) SetMediaResourceMap(v map[string]*MediaResource) *GetSignalMapOutput { + s.MediaResourceMap = v return s } -// SetRenewalSettings sets the RenewalSettings field's value. -func (s *DescribeReservationOutput) SetRenewalSettings(v *RenewalSettings) *DescribeReservationOutput { - s.RenewalSettings = v +// SetModifiedAt sets the ModifiedAt field's value. +func (s *GetSignalMapOutput) SetModifiedAt(v time.Time) *GetSignalMapOutput { + s.ModifiedAt = &v return s } -// SetReservationId sets the ReservationId field's value. -func (s *DescribeReservationOutput) SetReservationId(v string) *DescribeReservationOutput { - s.ReservationId = &v +// SetMonitorChangesPendingDeployment sets the MonitorChangesPendingDeployment field's value. +func (s *GetSignalMapOutput) SetMonitorChangesPendingDeployment(v bool) *GetSignalMapOutput { + s.MonitorChangesPendingDeployment = &v return s } -// SetResourceSpecification sets the ResourceSpecification field's value. -func (s *DescribeReservationOutput) SetResourceSpecification(v *ReservationResourceSpecification) *DescribeReservationOutput { - s.ResourceSpecification = v +// SetMonitorDeployment sets the MonitorDeployment field's value. +func (s *GetSignalMapOutput) SetMonitorDeployment(v *MonitorDeployment) *GetSignalMapOutput { + s.MonitorDeployment = v return s } -// SetStart sets the Start field's value. -func (s *DescribeReservationOutput) SetStart(v string) *DescribeReservationOutput { - s.Start = &v +// SetName sets the Name field's value. +func (s *GetSignalMapOutput) SetName(v string) *GetSignalMapOutput { + s.Name = &v return s } -// SetState sets the State field's value. -func (s *DescribeReservationOutput) SetState(v string) *DescribeReservationOutput { - s.State = &v +// SetStatus sets the Status field's value. +func (s *GetSignalMapOutput) SetStatus(v string) *GetSignalMapOutput { + s.Status = &v return s } // SetTags sets the Tags field's value. -func (s *DescribeReservationOutput) SetTags(v map[string]*string) *DescribeReservationOutput { +func (s *GetSignalMapOutput) SetTags(v map[string]*string) *GetSignalMapOutput { s.Tags = v return s } -// SetUsagePrice sets the UsagePrice field's value. -func (s *DescribeReservationOutput) SetUsagePrice(v float64) *DescribeReservationOutput { - s.UsagePrice = &v - return s -} +// Global Configuration +type GlobalConfiguration struct { + _ struct{} `type:"structure"` -type DescribeScheduleInput struct { - _ struct{} `type:"structure" nopayload:"true"` + // Value to set the initial audio gain for the Live Event. + InitialAudioGain *int64 `locationName:"initialAudioGain" type:"integer"` - // ChannelId is a required field - ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` + // Indicates the action to take when the current input completes (e.g. end-of-file). + // When switchAndLoopInputs is configured the encoder will restart at the beginning + // of the first input. When "none" is configured the encoder will transcode + // either black, a solid color, or a user specified slate images per the "Input + // Loss Behavior" configuration until the next input switch occurs (which is + // controlled through the Channel Schedule API). + InputEndAction *string `locationName:"inputEndAction" type:"string" enum:"GlobalConfigurationInputEndAction"` - MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + // Settings for system actions when input is lost. + InputLossBehavior *InputLossBehavior `locationName:"inputLossBehavior" type:"structure"` - NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + // Indicates how MediaLive pipelines are synchronized.PIPELINE_LOCKING - MediaLive + // will attempt to synchronize the output of each pipeline to the other.EPOCH_LOCKING + // - MediaLive will attempt to synchronize the output of each pipeline to the + // Unix epoch. + OutputLockingMode *string `locationName:"outputLockingMode" type:"string" enum:"GlobalConfigurationOutputLockingMode"` + + // Advanced output locking settings + OutputLockingSettings *OutputLockingSettings `locationName:"outputLockingSettings" type:"structure"` + + // Indicates whether the rate of frames emitted by the Live encoder should be + // paced by its system clock (which optionally may be locked to another source + // via NTP) or should be locked to the clock of the source that is providing + // the input stream. + OutputTimingSource *string `locationName:"outputTimingSource" type:"string" enum:"GlobalConfigurationOutputTimingSource"` + + // Adjusts video input buffer for streams with very low video framerates. This + // is commonly set to enabled for music channels with less than one video frame + // per second. + SupportLowFramerateInputs *string `locationName:"supportLowFramerateInputs" type:"string" enum:"GlobalConfigurationLowFramerateInputs"` } // String returns the string representation. @@ -14761,7 +22819,7 @@ type DescribeScheduleInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeScheduleInput) String() string { +func (s GlobalConfiguration) String() string { return awsutil.Prettify(s) } @@ -14770,21 +22828,20 @@ func (s DescribeScheduleInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeScheduleInput) GoString() string { +func (s GlobalConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeScheduleInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeScheduleInput"} - if s.ChannelId == nil { - invalidParams.Add(request.NewErrParamRequired("ChannelId")) - } - if s.ChannelId != nil && len(*s.ChannelId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) +func (s *GlobalConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GlobalConfiguration"} + if s.InitialAudioGain != nil && *s.InitialAudioGain < -60 { + invalidParams.Add(request.NewErrParamMinValue("InitialAudioGain", -60)) } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + if s.InputLossBehavior != nil { + if err := s.InputLossBehavior.Validate(); err != nil { + invalidParams.AddNested("InputLossBehavior", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -14793,166 +22850,60 @@ func (s *DescribeScheduleInput) Validate() error { return nil } -// SetChannelId sets the ChannelId field's value. -func (s *DescribeScheduleInput) SetChannelId(v string) *DescribeScheduleInput { - s.ChannelId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeScheduleInput) SetMaxResults(v int64) *DescribeScheduleInput { - s.MaxResults = &v +// SetInitialAudioGain sets the InitialAudioGain field's value. +func (s *GlobalConfiguration) SetInitialAudioGain(v int64) *GlobalConfiguration { + s.InitialAudioGain = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *DescribeScheduleInput) SetNextToken(v string) *DescribeScheduleInput { - s.NextToken = &v +// SetInputEndAction sets the InputEndAction field's value. +func (s *GlobalConfiguration) SetInputEndAction(v string) *GlobalConfiguration { + s.InputEndAction = &v return s } -type DescribeScheduleOutput struct { - _ struct{} `type:"structure"` - - NextToken *string `locationName:"nextToken" type:"string"` - - ScheduleActions []*ScheduleAction `locationName:"scheduleActions" type:"list"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DescribeScheduleOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DescribeScheduleOutput) GoString() string { - return s.String() -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeScheduleOutput) SetNextToken(v string) *DescribeScheduleOutput { - s.NextToken = &v +// SetInputLossBehavior sets the InputLossBehavior field's value. +func (s *GlobalConfiguration) SetInputLossBehavior(v *InputLossBehavior) *GlobalConfiguration { + s.InputLossBehavior = v return s } -// SetScheduleActions sets the ScheduleActions field's value. -func (s *DescribeScheduleOutput) SetScheduleActions(v []*ScheduleAction) *DescribeScheduleOutput { - s.ScheduleActions = v +// SetOutputLockingMode sets the OutputLockingMode field's value. +func (s *GlobalConfiguration) SetOutputLockingMode(v string) *GlobalConfiguration { + s.OutputLockingMode = &v return s } -type DescribeThumbnailsInput struct { - _ struct{} `type:"structure" nopayload:"true"` - - // ChannelId is a required field - ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` - - // PipelineId is a required field - PipelineId *string `location:"querystring" locationName:"pipelineId" type:"string" required:"true"` - - // ThumbnailType is a required field - ThumbnailType *string `location:"querystring" locationName:"thumbnailType" type:"string" required:"true"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DescribeThumbnailsInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DescribeThumbnailsInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeThumbnailsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeThumbnailsInput"} - if s.ChannelId == nil { - invalidParams.Add(request.NewErrParamRequired("ChannelId")) - } - if s.ChannelId != nil && len(*s.ChannelId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) - } - if s.PipelineId == nil { - invalidParams.Add(request.NewErrParamRequired("PipelineId")) - } - if s.ThumbnailType == nil { - invalidParams.Add(request.NewErrParamRequired("ThumbnailType")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetChannelId sets the ChannelId field's value. -func (s *DescribeThumbnailsInput) SetChannelId(v string) *DescribeThumbnailsInput { - s.ChannelId = &v +// SetOutputLockingSettings sets the OutputLockingSettings field's value. +func (s *GlobalConfiguration) SetOutputLockingSettings(v *OutputLockingSettings) *GlobalConfiguration { + s.OutputLockingSettings = v return s } -// SetPipelineId sets the PipelineId field's value. -func (s *DescribeThumbnailsInput) SetPipelineId(v string) *DescribeThumbnailsInput { - s.PipelineId = &v +// SetOutputTimingSource sets the OutputTimingSource field's value. +func (s *GlobalConfiguration) SetOutputTimingSource(v string) *GlobalConfiguration { + s.OutputTimingSource = &v return s } -// SetThumbnailType sets the ThumbnailType field's value. -func (s *DescribeThumbnailsInput) SetThumbnailType(v string) *DescribeThumbnailsInput { - s.ThumbnailType = &v +// SetSupportLowFramerateInputs sets the SupportLowFramerateInputs field's value. +func (s *GlobalConfiguration) SetSupportLowFramerateInputs(v string) *GlobalConfiguration { + s.SupportLowFramerateInputs = &v return s } -type DescribeThumbnailsOutput struct { +// H264 Color Space Settings +type H264ColorSpaceSettings struct { _ struct{} `type:"structure"` - ThumbnailDetails []*ThumbnailDetail `locationName:"thumbnailDetails" type:"list"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DescribeThumbnailsOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DescribeThumbnailsOutput) GoString() string { - return s.String() -} + // Passthrough applies no color space conversion to the output + ColorSpacePassthroughSettings *ColorSpacePassthroughSettings `locationName:"colorSpacePassthroughSettings" type:"structure"` -// SetThumbnailDetails sets the ThumbnailDetails field's value. -func (s *DescribeThumbnailsOutput) SetThumbnailDetails(v []*ThumbnailDetail) *DescribeThumbnailsOutput { - s.ThumbnailDetails = v - return s -} + // Rec601 Settings + Rec601Settings *Rec601Settings `locationName:"rec601Settings" type:"structure"` -// Dolby Vision81 Settings -type DolbyVision81Settings struct { - _ struct{} `type:"structure"` + // Rec709 Settings + Rec709Settings *Rec709Settings `locationName:"rec709Settings" type:"structure"` } // String returns the string representation. @@ -14960,7 +22911,7 @@ type DolbyVision81Settings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DolbyVision81Settings) String() string { +func (s H264ColorSpaceSettings) String() string { return awsutil.Prettify(s) } @@ -14969,28 +22920,34 @@ func (s DolbyVision81Settings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DolbyVision81Settings) GoString() string { +func (s H264ColorSpaceSettings) GoString() string { return s.String() } -// DVB Network Information Table (NIT) -type DvbNitSettings struct { - _ struct{} `type:"structure"` +// SetColorSpacePassthroughSettings sets the ColorSpacePassthroughSettings field's value. +func (s *H264ColorSpaceSettings) SetColorSpacePassthroughSettings(v *ColorSpacePassthroughSettings) *H264ColorSpaceSettings { + s.ColorSpacePassthroughSettings = v + return s +} - // The numeric value placed in the Network Information Table (NIT). - // - // NetworkId is a required field - NetworkId *int64 `locationName:"networkId" type:"integer" required:"true"` +// SetRec601Settings sets the Rec601Settings field's value. +func (s *H264ColorSpaceSettings) SetRec601Settings(v *Rec601Settings) *H264ColorSpaceSettings { + s.Rec601Settings = v + return s +} - // The network name text placed in the networkNameDescriptor inside the Network - // Information Table. Maximum length is 256 characters. - // - // NetworkName is a required field - NetworkName *string `locationName:"networkName" min:"1" type:"string" required:"true"` +// SetRec709Settings sets the Rec709Settings field's value. +func (s *H264ColorSpaceSettings) SetRec709Settings(v *Rec709Settings) *H264ColorSpaceSettings { + s.Rec709Settings = v + return s +} - // The number of milliseconds between instances of this table in the output - // transport stream. - RepInterval *int64 `locationName:"repInterval" min:"25" type:"integer"` +// H264 Filter Settings +type H264FilterSettings struct { + _ struct{} `type:"structure"` + + // Temporal Filter Settings + TemporalFilterSettings *TemporalFilterSettings `locationName:"temporalFilterSettings" type:"structure"` } // String returns the string representation. @@ -14998,7 +22955,7 @@ type DvbNitSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DvbNitSettings) String() string { +func (s H264FilterSettings) String() string { return awsutil.Prettify(s) } @@ -15007,73 +22964,250 @@ func (s DvbNitSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DvbNitSettings) GoString() string { +func (s H264FilterSettings) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DvbNitSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DvbNitSettings"} - if s.NetworkId == nil { - invalidParams.Add(request.NewErrParamRequired("NetworkId")) - } - if s.NetworkName == nil { - invalidParams.Add(request.NewErrParamRequired("NetworkName")) - } - if s.NetworkName != nil && len(*s.NetworkName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("NetworkName", 1)) - } - if s.RepInterval != nil && *s.RepInterval < 25 { - invalidParams.Add(request.NewErrParamMinValue("RepInterval", 25)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetNetworkId sets the NetworkId field's value. -func (s *DvbNitSettings) SetNetworkId(v int64) *DvbNitSettings { - s.NetworkId = &v +// SetTemporalFilterSettings sets the TemporalFilterSettings field's value. +func (s *H264FilterSettings) SetTemporalFilterSettings(v *TemporalFilterSettings) *H264FilterSettings { + s.TemporalFilterSettings = v return s } -// SetNetworkName sets the NetworkName field's value. -func (s *DvbNitSettings) SetNetworkName(v string) *DvbNitSettings { - s.NetworkName = &v - return s -} +// H264 Settings +type H264Settings struct { + _ struct{} `type:"structure"` -// SetRepInterval sets the RepInterval field's value. -func (s *DvbNitSettings) SetRepInterval(v int64) *DvbNitSettings { - s.RepInterval = &v - return s -} + // Enables or disables adaptive quantization, which is a technique MediaLive + // can apply to video on a frame-by-frame basis to produce more compression + // without losing quality. There are three types of adaptive quantization: flicker, + // spatial, and temporal. Set the field in one of these ways: Set to Auto. Recommended. + // For each type of AQ, MediaLive will determine if AQ is needed, and if so, + // the appropriate strength. Set a strength (a value other than Auto or Disable). + // This strength will apply to any of the AQ fields that you choose to enable. + // Set to Disabled to disable all types of adaptive quantization. + AdaptiveQuantization *string `locationName:"adaptiveQuantization" type:"string" enum:"H264AdaptiveQuantization"` -// DVB Service Description Table (SDT) -type DvbSdtSettings struct { - _ struct{} `type:"structure"` + // Indicates that AFD values will be written into the output stream. If afdSignaling + // is "auto", the system will try to preserve the input AFD value (in cases + // where multiple AFD values are valid). If set to "fixed", the AFD value will + // be the value configured in the fixedAfd parameter. + AfdSignaling *string `locationName:"afdSignaling" type:"string" enum:"AfdSignaling"` - // Selects method of inserting SDT information into output stream. The sdtFollow - // setting copies SDT information from input stream to output stream. The sdtFollowIfPresent - // setting copies SDT information from input stream to output stream if SDT - // information is present in the input, otherwise it will fall back on the user-defined - // values. The sdtManual setting means user will enter the SDT information. - // The sdtNone setting means output stream will not contain SDT information. - OutputSdt *string `locationName:"outputSdt" type:"string" enum:"DvbSdtOutputSdt"` + // Average bitrate in bits/second. Required when the rate control mode is VBR + // or CBR. Not used for QVBR. In an MS Smooth output group, each output must + // have a unique value when its bitrate is rounded down to the nearest multiple + // of 1000. + Bitrate *int64 `locationName:"bitrate" min:"1000" type:"integer"` - // The number of milliseconds between instances of this table in the output - // transport stream. - RepInterval *int64 `locationName:"repInterval" min:"25" type:"integer"` + // Percentage of the buffer that should initially be filled (HRD buffer model). + BufFillPct *int64 `locationName:"bufFillPct" type:"integer"` - // The service name placed in the serviceDescriptor in the Service Description - // Table. Maximum length is 256 characters. - ServiceName *string `locationName:"serviceName" min:"1" type:"string"` + // Size of buffer (HRD buffer model) in bits. + BufSize *int64 `locationName:"bufSize" type:"integer"` - // The service provider name placed in the serviceDescriptor in the Service - // Description Table. Maximum length is 256 characters. - ServiceProviderName *string `locationName:"serviceProviderName" min:"1" type:"string"` + // Includes colorspace metadata in the output. + ColorMetadata *string `locationName:"colorMetadata" type:"string" enum:"H264ColorMetadata"` + + // Color Space settings + ColorSpaceSettings *H264ColorSpaceSettings `locationName:"colorSpaceSettings" type:"structure"` + + // Entropy encoding mode. Use cabac (must be in Main or High profile) or cavlc. + EntropyEncoding *string `locationName:"entropyEncoding" type:"string" enum:"H264EntropyEncoding"` + + // Optional filters that you can apply to an encode. + FilterSettings *H264FilterSettings `locationName:"filterSettings" type:"structure"` + + // Four bit AFD value to write on all frames of video in the output stream. + // Only valid when afdSignaling is set to 'Fixed'. + FixedAfd *string `locationName:"fixedAfd" type:"string" enum:"FixedAfd"` + + // Flicker AQ makes adjustments within each frame to reduce flicker or 'pop' + // on I-frames. The value to enter in this field depends on the value in the + // Adaptive quantization field: If you have set the Adaptive quantization field + // to Auto, MediaLive ignores any value in this field. MediaLive will determine + // if flicker AQ is appropriate and will apply the appropriate strength. If + // you have set the Adaptive quantization field to a strength, you can set this + // field to Enabled or Disabled. Enabled: MediaLive will apply flicker AQ using + // the specified strength. Disabled: MediaLive won't apply flicker AQ. If you + // have set the Adaptive quantization to Disabled, MediaLive ignores any value + // in this field and doesn't apply flicker AQ. + FlickerAq *string `locationName:"flickerAq" type:"string" enum:"H264FlickerAq"` + + // This setting applies only when scan type is "interlaced." It controls whether + // coding is performed on a field basis or on a frame basis. (When the video + // is progressive, the coding is always performed on a frame basis.)enabled: + // Force MediaLive to code on a field basis, so that odd and even sets of fields + // are coded separately.disabled: Code the two sets of fields separately (on + // a field basis) or together (on a frame basis using PAFF), depending on what + // is most appropriate for the content. + ForceFieldPictures *string `locationName:"forceFieldPictures" type:"string" enum:"H264ForceFieldPictures"` + + // This field indicates how the output video frame rate is specified. If "specified" + // is selected then the output video frame rate is determined by framerateNumerator + // and framerateDenominator, else if "initializeFromSource" is selected then + // the output video frame rate will be set equal to the input video frame rate + // of the first input. + FramerateControl *string `locationName:"framerateControl" type:"string" enum:"H264FramerateControl"` + + // Framerate denominator. + FramerateDenominator *int64 `locationName:"framerateDenominator" min:"1" type:"integer"` + + // Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 + // fps. + FramerateNumerator *int64 `locationName:"framerateNumerator" min:"1" type:"integer"` + + // If enabled, use reference B frames for GOP structures that have B frames + // > 1. + GopBReference *string `locationName:"gopBReference" type:"string" enum:"H264GopBReference"` + + // Frequency of closed GOPs. In streaming applications, it is recommended that + // this be set to 1 so a decoder joining mid-stream will receive an IDR frame + // as quickly as possible. Setting this value to 0 will break output segmenting. + GopClosedCadence *int64 `locationName:"gopClosedCadence" type:"integer"` + + // Number of B-frames between reference frames. + GopNumBFrames *int64 `locationName:"gopNumBFrames" type:"integer"` + + // GOP size (keyframe interval) in units of either frames or seconds per gopSizeUnits.If + // gopSizeUnits is frames, gopSize must be an integer and must be greater than + // or equal to 1.If gopSizeUnits is seconds, gopSize must be greater than 0, + // but need not be an integer. + GopSize *float64 `locationName:"gopSize" type:"double"` + + // Indicates if the gopSize is specified in frames or seconds. If seconds the + // system will convert the gopSize into a frame count at run time. + GopSizeUnits *string `locationName:"gopSizeUnits" type:"string" enum:"H264GopSizeUnits"` + + // H.264 Level. + Level *string `locationName:"level" type:"string" enum:"H264Level"` + + // Amount of lookahead. A value of low can decrease latency and memory usage, + // while high can produce better quality for certain content. + LookAheadRateControl *string `locationName:"lookAheadRateControl" type:"string" enum:"H264LookAheadRateControl"` + + // For QVBR: See the tooltip for Quality levelFor VBR: Set the maximum bitrate + // in order to accommodate expected spikes in the complexity of the video. + MaxBitrate *int64 `locationName:"maxBitrate" min:"1000" type:"integer"` + + // Only meaningful if sceneChangeDetect is set to enabled. Defaults to 5 if + // multiplex rate control is used. Enforces separation between repeated (cadence) + // I-frames and I-frames inserted by Scene Change Detection. If a scene change + // I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk + // and/or stretched to the scene change I-frame. GOP stretch requires enabling + // lookahead as well as setting I-interval. The normal cadence resumes for the + // next GOP. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1 + MinIInterval *int64 `locationName:"minIInterval" type:"integer"` + + // Number of reference frames to use. The encoder may use more than requested + // if using B-frames and/or interlaced encoding. + NumRefFrames *int64 `locationName:"numRefFrames" min:"1" type:"integer"` + + // This field indicates how the output pixel aspect ratio is specified. If "specified" + // is selected then the output video pixel aspect ratio is determined by parNumerator + // and parDenominator, else if "initializeFromSource" is selected then the output + // pixsel aspect ratio will be set equal to the input video pixel aspect ratio + // of the first input. + ParControl *string `locationName:"parControl" type:"string" enum:"H264ParControl"` + + // Pixel Aspect Ratio denominator. + ParDenominator *int64 `locationName:"parDenominator" min:"1" type:"integer"` + + // Pixel Aspect Ratio numerator. + ParNumerator *int64 `locationName:"parNumerator" min:"1" type:"integer"` + + // H.264 Profile. + Profile *string `locationName:"profile" type:"string" enum:"H264Profile"` + + // Leave as STANDARD_QUALITY or choose a different value (which might result + // in additional costs to run the channel).- ENHANCED_QUALITY: Produces a slightly + // better video quality without an increase in the bitrate. Has an effect only + // when the Rate control mode is QVBR or CBR. If this channel is in a MediaLive + // multiplex, the value must be ENHANCED_QUALITY.- STANDARD_QUALITY: Valid for + // any Rate control mode. + QualityLevel *string `locationName:"qualityLevel" type:"string" enum:"H264QualityLevel"` + + // Controls the target quality for the video encode. Applies only when the rate + // control mode is QVBR. You can set a target quality or you can let MediaLive + // determine the best quality. To set a target quality, enter values in the + // QVBR quality level field and the Max bitrate field. Enter values that suit + // your most important viewing devices. Recommended values are:- Primary screen: + // Quality level: 8 to 10. Max bitrate: 4M- PC or tablet: Quality level: 7. + // Max bitrate: 1.5M to 3M- Smartphone: Quality level: 6. Max bitrate: 1M to + // 1.5MTo let MediaLive decide, leave the QVBR quality level field empty, and + // in Max bitrate enter the maximum rate you want in the video. For more information, + // see the section called "Video - rate control mode" in the MediaLive user + // guide + QvbrQualityLevel *int64 `locationName:"qvbrQualityLevel" min:"1" type:"integer"` + + // Rate control mode.QVBR: Quality will match the specified quality level except + // when it is constrained by themaximum bitrate. Recommended if you or your + // viewers pay for bandwidth.VBR: Quality and bitrate vary, depending on the + // video complexity. Recommended instead of QVBRif you want to maintain a specific + // average bitrate over the duration of the channel.CBR: Quality varies, depending + // on the video complexity. Recommended only if you distributeyour assets to + // devices that cannot handle variable bitrates.Multiplex: This rate control + // mode is only supported (and is required) when the video is beingdelivered + // to a MediaLive Multiplex in which case the rate control configuration is + // controlledby the properties within the Multiplex Program. + RateControlMode *string `locationName:"rateControlMode" type:"string" enum:"H264RateControlMode"` + + // Sets the scan type of the output to progressive or top-field-first interlaced. + ScanType *string `locationName:"scanType" type:"string" enum:"H264ScanType"` + + // Scene change detection.- On: inserts I-frames when scene change is detected.- + // Off: does not force an I-frame when scene change is detected. + SceneChangeDetect *string `locationName:"sceneChangeDetect" type:"string" enum:"H264SceneChangeDetect"` + + // Number of slices per picture. Must be less than or equal to the number of + // macroblock rows for progressive pictures, and less than or equal to half + // the number of macroblock rows for interlaced pictures.This field is optional; + // when no value is specified the encoder will choose the number of slices based + // on encode resolution. + Slices *int64 `locationName:"slices" min:"1" type:"integer"` + + // Softness. Selects quantizer matrix, larger values reduce high-frequency content + // in the encoded image. If not set to zero, must be greater than 15. + Softness *int64 `locationName:"softness" type:"integer"` + + // Spatial AQ makes adjustments within each frame based on spatial variation + // of content complexity. The value to enter in this field depends on the value + // in the Adaptive quantization field: If you have set the Adaptive quantization + // field to Auto, MediaLive ignores any value in this field. MediaLive will + // determine if spatial AQ is appropriate and will apply the appropriate strength. + // If you have set the Adaptive quantization field to a strength, you can set + // this field to Enabled or Disabled. Enabled: MediaLive will apply spatial + // AQ using the specified strength. Disabled: MediaLive won't apply spatial + // AQ. If you have set the Adaptive quantization to Disabled, MediaLive ignores + // any value in this field and doesn't apply spatial AQ. + SpatialAq *string `locationName:"spatialAq" type:"string" enum:"H264SpatialAq"` + + // If set to fixed, use gopNumBFrames B-frames per sub-GOP. If set to dynamic, + // optimize the number of B-frames used for each sub-GOP to improve visual quality. + SubgopLength *string `locationName:"subgopLength" type:"string" enum:"H264SubGopLength"` + + // Produces a bitstream compliant with SMPTE RP-2027. + Syntax *string `locationName:"syntax" type:"string" enum:"H264Syntax"` + + // Temporal makes adjustments within each frame based on temporal variation + // of content complexity. The value to enter in this field depends on the value + // in the Adaptive quantization field: If you have set the Adaptive quantization + // field to Auto, MediaLive ignores any value in this field. MediaLive will + // determine if temporal AQ is appropriate and will apply the appropriate strength. + // If you have set the Adaptive quantization field to a strength, you can set + // this field to Enabled or Disabled. Enabled: MediaLive will apply temporal + // AQ using the specified strength. Disabled: MediaLive won't apply temporal + // AQ. If you have set the Adaptive quantization to Disabled, MediaLive ignores + // any value in this field and doesn't apply temporal AQ. + TemporalAq *string `locationName:"temporalAq" type:"string" enum:"H264TemporalAq"` + + // Timecode burn-in settings + TimecodeBurninSettings *TimecodeBurninSettings `locationName:"timecodeBurninSettings" type:"structure"` + + // Determines how timecodes should be inserted into the video elementary stream.- + // 'disabled': Do not include timecodes- 'picTimingSei': Pass through picture + // timing SEI messages from the source specified in Timecode Config + TimecodeInsertion *string `locationName:"timecodeInsertion" type:"string" enum:"H264TimecodeInsertionBehavior"` } // String returns the string representation. @@ -15081,7 +23215,7 @@ type DvbSdtSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DvbSdtSettings) String() string { +func (s H264Settings) String() string { return awsutil.Prettify(s) } @@ -15090,21 +23224,44 @@ func (s DvbSdtSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DvbSdtSettings) GoString() string { +func (s H264Settings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DvbSdtSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DvbSdtSettings"} - if s.RepInterval != nil && *s.RepInterval < 25 { - invalidParams.Add(request.NewErrParamMinValue("RepInterval", 25)) +func (s *H264Settings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "H264Settings"} + if s.Bitrate != nil && *s.Bitrate < 1000 { + invalidParams.Add(request.NewErrParamMinValue("Bitrate", 1000)) } - if s.ServiceName != nil && len(*s.ServiceName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ServiceName", 1)) + if s.FramerateDenominator != nil && *s.FramerateDenominator < 1 { + invalidParams.Add(request.NewErrParamMinValue("FramerateDenominator", 1)) } - if s.ServiceProviderName != nil && len(*s.ServiceProviderName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ServiceProviderName", 1)) + if s.FramerateNumerator != nil && *s.FramerateNumerator < 1 { + invalidParams.Add(request.NewErrParamMinValue("FramerateNumerator", 1)) + } + if s.MaxBitrate != nil && *s.MaxBitrate < 1000 { + invalidParams.Add(request.NewErrParamMinValue("MaxBitrate", 1000)) + } + if s.NumRefFrames != nil && *s.NumRefFrames < 1 { + invalidParams.Add(request.NewErrParamMinValue("NumRefFrames", 1)) + } + if s.ParDenominator != nil && *s.ParDenominator < 1 { + invalidParams.Add(request.NewErrParamMinValue("ParDenominator", 1)) + } + if s.ParNumerator != nil && *s.ParNumerator < 1 { + invalidParams.Add(request.NewErrParamMinValue("ParNumerator", 1)) + } + if s.QvbrQualityLevel != nil && *s.QvbrQualityLevel < 1 { + invalidParams.Add(request.NewErrParamMinValue("QvbrQualityLevel", 1)) + } + if s.Slices != nil && *s.Slices < 1 { + invalidParams.Add(request.NewErrParamMinValue("Slices", 1)) + } + if s.TimecodeBurninSettings != nil { + if err := s.TimecodeBurninSettings.Validate(); err != nil { + invalidParams.AddNested("TimecodeBurninSettings", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -15113,285 +23270,276 @@ func (s *DvbSdtSettings) Validate() error { return nil } -// SetOutputSdt sets the OutputSdt field's value. -func (s *DvbSdtSettings) SetOutputSdt(v string) *DvbSdtSettings { - s.OutputSdt = &v +// SetAdaptiveQuantization sets the AdaptiveQuantization field's value. +func (s *H264Settings) SetAdaptiveQuantization(v string) *H264Settings { + s.AdaptiveQuantization = &v return s } -// SetRepInterval sets the RepInterval field's value. -func (s *DvbSdtSettings) SetRepInterval(v int64) *DvbSdtSettings { - s.RepInterval = &v +// SetAfdSignaling sets the AfdSignaling field's value. +func (s *H264Settings) SetAfdSignaling(v string) *H264Settings { + s.AfdSignaling = &v return s } -// SetServiceName sets the ServiceName field's value. -func (s *DvbSdtSettings) SetServiceName(v string) *DvbSdtSettings { - s.ServiceName = &v +// SetBitrate sets the Bitrate field's value. +func (s *H264Settings) SetBitrate(v int64) *H264Settings { + s.Bitrate = &v return s } -// SetServiceProviderName sets the ServiceProviderName field's value. -func (s *DvbSdtSettings) SetServiceProviderName(v string) *DvbSdtSettings { - s.ServiceProviderName = &v +// SetBufFillPct sets the BufFillPct field's value. +func (s *H264Settings) SetBufFillPct(v int64) *H264Settings { + s.BufFillPct = &v return s } -// Dvb Sub Destination Settings -type DvbSubDestinationSettings struct { - _ struct{} `type:"structure"` - - // If no explicit xPosition or yPosition is provided, setting alignment to centered - // will place the captions at the bottom center of the output. Similarly, setting - // a left alignment will align captions to the bottom left of the output. If - // x and y positions are given in conjunction with the alignment parameter, - // the font will be justified (either left or centered) relative to those coordinates. - // Selecting "smart" justification will left-justify live subtitles and center-justify - // pre-recorded subtitles. This option is not valid for source captions that - // are STL or 608/embedded. These source settings are already pre-defined by - // the caption stream. All burn-in and DVB-Sub font settings must match. - Alignment *string `locationName:"alignment" type:"string" enum:"DvbSubDestinationAlignment"` +// SetBufSize sets the BufSize field's value. +func (s *H264Settings) SetBufSize(v int64) *H264Settings { + s.BufSize = &v + return s +} - // Specifies the color of the rectangle behind the captions. All burn-in and - // DVB-Sub font settings must match. - BackgroundColor *string `locationName:"backgroundColor" type:"string" enum:"DvbSubDestinationBackgroundColor"` +// SetColorMetadata sets the ColorMetadata field's value. +func (s *H264Settings) SetColorMetadata(v string) *H264Settings { + s.ColorMetadata = &v + return s +} - // Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. - // Leaving this parameter blank is equivalent to setting it to 0 (transparent). - // All burn-in and DVB-Sub font settings must match. - BackgroundOpacity *int64 `locationName:"backgroundOpacity" type:"integer"` +// SetColorSpaceSettings sets the ColorSpaceSettings field's value. +func (s *H264Settings) SetColorSpaceSettings(v *H264ColorSpaceSettings) *H264Settings { + s.ColorSpaceSettings = v + return s +} - // External font file used for caption burn-in. File extension must be 'ttf' - // or 'tte'. Although the user can select output fonts for many different types - // of input captions, embedded, STL and teletext sources use a strict grid system. - // Using external fonts with these caption sources could cause unexpected display - // of proportional fonts. All burn-in and DVB-Sub font settings must match. - Font *InputLocation `locationName:"font" type:"structure"` +// SetEntropyEncoding sets the EntropyEncoding field's value. +func (s *H264Settings) SetEntropyEncoding(v string) *H264Settings { + s.EntropyEncoding = &v + return s +} - // Specifies the color of the burned-in captions. This option is not valid for - // source captions that are STL, 608/embedded or teletext. These source settings - // are already pre-defined by the caption stream. All burn-in and DVB-Sub font - // settings must match. - FontColor *string `locationName:"fontColor" type:"string" enum:"DvbSubDestinationFontColor"` +// SetFilterSettings sets the FilterSettings field's value. +func (s *H264Settings) SetFilterSettings(v *H264FilterSettings) *H264Settings { + s.FilterSettings = v + return s +} - // Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent. - // All burn-in and DVB-Sub font settings must match. - FontOpacity *int64 `locationName:"fontOpacity" type:"integer"` +// SetFixedAfd sets the FixedAfd field's value. +func (s *H264Settings) SetFixedAfd(v string) *H264Settings { + s.FixedAfd = &v + return s +} - // Font resolution in DPI (dots per inch); default is 96 dpi. All burn-in and - // DVB-Sub font settings must match. - FontResolution *int64 `locationName:"fontResolution" min:"96" type:"integer"` +// SetFlickerAq sets the FlickerAq field's value. +func (s *H264Settings) SetFlickerAq(v string) *H264Settings { + s.FlickerAq = &v + return s +} - // When set to auto fontSize will scale depending on the size of the output. - // Giving a positive integer will specify the exact font size in points. All - // burn-in and DVB-Sub font settings must match. - FontSize *string `locationName:"fontSize" type:"string"` +// SetForceFieldPictures sets the ForceFieldPictures field's value. +func (s *H264Settings) SetForceFieldPictures(v string) *H264Settings { + s.ForceFieldPictures = &v + return s +} - // Specifies font outline color. This option is not valid for source captions - // that are either 608/embedded or teletext. These source settings are already - // pre-defined by the caption stream. All burn-in and DVB-Sub font settings - // must match. - OutlineColor *string `locationName:"outlineColor" type:"string" enum:"DvbSubDestinationOutlineColor"` +// SetFramerateControl sets the FramerateControl field's value. +func (s *H264Settings) SetFramerateControl(v string) *H264Settings { + s.FramerateControl = &v + return s +} - // Specifies font outline size in pixels. This option is not valid for source - // captions that are either 608/embedded or teletext. These source settings - // are already pre-defined by the caption stream. All burn-in and DVB-Sub font - // settings must match. - OutlineSize *int64 `locationName:"outlineSize" type:"integer"` +// SetFramerateDenominator sets the FramerateDenominator field's value. +func (s *H264Settings) SetFramerateDenominator(v int64) *H264Settings { + s.FramerateDenominator = &v + return s +} - // Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub - // font settings must match. - ShadowColor *string `locationName:"shadowColor" type:"string" enum:"DvbSubDestinationShadowColor"` +// SetFramerateNumerator sets the FramerateNumerator field's value. +func (s *H264Settings) SetFramerateNumerator(v int64) *H264Settings { + s.FramerateNumerator = &v + return s +} - // Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving - // this parameter blank is equivalent to setting it to 0 (transparent). All - // burn-in and DVB-Sub font settings must match. - ShadowOpacity *int64 `locationName:"shadowOpacity" type:"integer"` +// SetGopBReference sets the GopBReference field's value. +func (s *H264Settings) SetGopBReference(v string) *H264Settings { + s.GopBReference = &v + return s +} - // Specifies the horizontal offset of the shadow relative to the captions in - // pixels. A value of -2 would result in a shadow offset 2 pixels to the left. - // All burn-in and DVB-Sub font settings must match. - ShadowXOffset *int64 `locationName:"shadowXOffset" type:"integer"` +// SetGopClosedCadence sets the GopClosedCadence field's value. +func (s *H264Settings) SetGopClosedCadence(v int64) *H264Settings { + s.GopClosedCadence = &v + return s +} - // Specifies the vertical offset of the shadow relative to the captions in pixels. - // A value of -2 would result in a shadow offset 2 pixels above the text. All - // burn-in and DVB-Sub font settings must match. - ShadowYOffset *int64 `locationName:"shadowYOffset" type:"integer"` +// SetGopNumBFrames sets the GopNumBFrames field's value. +func (s *H264Settings) SetGopNumBFrames(v int64) *H264Settings { + s.GopNumBFrames = &v + return s +} - // Controls whether a fixed grid size will be used to generate the output subtitles - // bitmap. Only applicable for Teletext inputs and DVB-Sub/Burn-in outputs. - TeletextGridControl *string `locationName:"teletextGridControl" type:"string" enum:"DvbSubDestinationTeletextGridControl"` +// SetGopSize sets the GopSize field's value. +func (s *H264Settings) SetGopSize(v float64) *H264Settings { + s.GopSize = &v + return s +} - // Specifies the horizontal position of the caption relative to the left side - // of the output in pixels. A value of 10 would result in the captions starting - // 10 pixels from the left of the output. If no explicit xPosition is provided, - // the horizontal caption position will be determined by the alignment parameter. - // This option is not valid for source captions that are STL, 608/embedded or - // teletext. These source settings are already pre-defined by the caption stream. - // All burn-in and DVB-Sub font settings must match. - XPosition *int64 `locationName:"xPosition" type:"integer"` +// SetGopSizeUnits sets the GopSizeUnits field's value. +func (s *H264Settings) SetGopSizeUnits(v string) *H264Settings { + s.GopSizeUnits = &v + return s +} - // Specifies the vertical position of the caption relative to the top of the - // output in pixels. A value of 10 would result in the captions starting 10 - // pixels from the top of the output. If no explicit yPosition is provided, - // the caption will be positioned towards the bottom of the output. This option - // is not valid for source captions that are STL, 608/embedded or teletext. - // These source settings are already pre-defined by the caption stream. All - // burn-in and DVB-Sub font settings must match. - YPosition *int64 `locationName:"yPosition" type:"integer"` +// SetLevel sets the Level field's value. +func (s *H264Settings) SetLevel(v string) *H264Settings { + s.Level = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DvbSubDestinationSettings) String() string { - return awsutil.Prettify(s) +// SetLookAheadRateControl sets the LookAheadRateControl field's value. +func (s *H264Settings) SetLookAheadRateControl(v string) *H264Settings { + s.LookAheadRateControl = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DvbSubDestinationSettings) GoString() string { - return s.String() +// SetMaxBitrate sets the MaxBitrate field's value. +func (s *H264Settings) SetMaxBitrate(v int64) *H264Settings { + s.MaxBitrate = &v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DvbSubDestinationSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DvbSubDestinationSettings"} - if s.FontResolution != nil && *s.FontResolution < 96 { - invalidParams.Add(request.NewErrParamMinValue("FontResolution", 96)) - } - if s.Font != nil { - if err := s.Font.Validate(); err != nil { - invalidParams.AddNested("Font", err.(request.ErrInvalidParams)) - } - } +// SetMinIInterval sets the MinIInterval field's value. +func (s *H264Settings) SetMinIInterval(v int64) *H264Settings { + s.MinIInterval = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetNumRefFrames sets the NumRefFrames field's value. +func (s *H264Settings) SetNumRefFrames(v int64) *H264Settings { + s.NumRefFrames = &v + return s } -// SetAlignment sets the Alignment field's value. -func (s *DvbSubDestinationSettings) SetAlignment(v string) *DvbSubDestinationSettings { - s.Alignment = &v +// SetParControl sets the ParControl field's value. +func (s *H264Settings) SetParControl(v string) *H264Settings { + s.ParControl = &v return s } -// SetBackgroundColor sets the BackgroundColor field's value. -func (s *DvbSubDestinationSettings) SetBackgroundColor(v string) *DvbSubDestinationSettings { - s.BackgroundColor = &v +// SetParDenominator sets the ParDenominator field's value. +func (s *H264Settings) SetParDenominator(v int64) *H264Settings { + s.ParDenominator = &v return s } -// SetBackgroundOpacity sets the BackgroundOpacity field's value. -func (s *DvbSubDestinationSettings) SetBackgroundOpacity(v int64) *DvbSubDestinationSettings { - s.BackgroundOpacity = &v +// SetParNumerator sets the ParNumerator field's value. +func (s *H264Settings) SetParNumerator(v int64) *H264Settings { + s.ParNumerator = &v return s } -// SetFont sets the Font field's value. -func (s *DvbSubDestinationSettings) SetFont(v *InputLocation) *DvbSubDestinationSettings { - s.Font = v +// SetProfile sets the Profile field's value. +func (s *H264Settings) SetProfile(v string) *H264Settings { + s.Profile = &v return s } -// SetFontColor sets the FontColor field's value. -func (s *DvbSubDestinationSettings) SetFontColor(v string) *DvbSubDestinationSettings { - s.FontColor = &v +// SetQualityLevel sets the QualityLevel field's value. +func (s *H264Settings) SetQualityLevel(v string) *H264Settings { + s.QualityLevel = &v return s } -// SetFontOpacity sets the FontOpacity field's value. -func (s *DvbSubDestinationSettings) SetFontOpacity(v int64) *DvbSubDestinationSettings { - s.FontOpacity = &v +// SetQvbrQualityLevel sets the QvbrQualityLevel field's value. +func (s *H264Settings) SetQvbrQualityLevel(v int64) *H264Settings { + s.QvbrQualityLevel = &v return s } -// SetFontResolution sets the FontResolution field's value. -func (s *DvbSubDestinationSettings) SetFontResolution(v int64) *DvbSubDestinationSettings { - s.FontResolution = &v +// SetRateControlMode sets the RateControlMode field's value. +func (s *H264Settings) SetRateControlMode(v string) *H264Settings { + s.RateControlMode = &v return s } -// SetFontSize sets the FontSize field's value. -func (s *DvbSubDestinationSettings) SetFontSize(v string) *DvbSubDestinationSettings { - s.FontSize = &v +// SetScanType sets the ScanType field's value. +func (s *H264Settings) SetScanType(v string) *H264Settings { + s.ScanType = &v return s } -// SetOutlineColor sets the OutlineColor field's value. -func (s *DvbSubDestinationSettings) SetOutlineColor(v string) *DvbSubDestinationSettings { - s.OutlineColor = &v +// SetSceneChangeDetect sets the SceneChangeDetect field's value. +func (s *H264Settings) SetSceneChangeDetect(v string) *H264Settings { + s.SceneChangeDetect = &v return s } -// SetOutlineSize sets the OutlineSize field's value. -func (s *DvbSubDestinationSettings) SetOutlineSize(v int64) *DvbSubDestinationSettings { - s.OutlineSize = &v +// SetSlices sets the Slices field's value. +func (s *H264Settings) SetSlices(v int64) *H264Settings { + s.Slices = &v return s } -// SetShadowColor sets the ShadowColor field's value. -func (s *DvbSubDestinationSettings) SetShadowColor(v string) *DvbSubDestinationSettings { - s.ShadowColor = &v +// SetSoftness sets the Softness field's value. +func (s *H264Settings) SetSoftness(v int64) *H264Settings { + s.Softness = &v return s } -// SetShadowOpacity sets the ShadowOpacity field's value. -func (s *DvbSubDestinationSettings) SetShadowOpacity(v int64) *DvbSubDestinationSettings { - s.ShadowOpacity = &v +// SetSpatialAq sets the SpatialAq field's value. +func (s *H264Settings) SetSpatialAq(v string) *H264Settings { + s.SpatialAq = &v return s } -// SetShadowXOffset sets the ShadowXOffset field's value. -func (s *DvbSubDestinationSettings) SetShadowXOffset(v int64) *DvbSubDestinationSettings { - s.ShadowXOffset = &v +// SetSubgopLength sets the SubgopLength field's value. +func (s *H264Settings) SetSubgopLength(v string) *H264Settings { + s.SubgopLength = &v return s } -// SetShadowYOffset sets the ShadowYOffset field's value. -func (s *DvbSubDestinationSettings) SetShadowYOffset(v int64) *DvbSubDestinationSettings { - s.ShadowYOffset = &v +// SetSyntax sets the Syntax field's value. +func (s *H264Settings) SetSyntax(v string) *H264Settings { + s.Syntax = &v return s } -// SetTeletextGridControl sets the TeletextGridControl field's value. -func (s *DvbSubDestinationSettings) SetTeletextGridControl(v string) *DvbSubDestinationSettings { - s.TeletextGridControl = &v +// SetTemporalAq sets the TemporalAq field's value. +func (s *H264Settings) SetTemporalAq(v string) *H264Settings { + s.TemporalAq = &v return s } -// SetXPosition sets the XPosition field's value. -func (s *DvbSubDestinationSettings) SetXPosition(v int64) *DvbSubDestinationSettings { - s.XPosition = &v +// SetTimecodeBurninSettings sets the TimecodeBurninSettings field's value. +func (s *H264Settings) SetTimecodeBurninSettings(v *TimecodeBurninSettings) *H264Settings { + s.TimecodeBurninSettings = v return s } -// SetYPosition sets the YPosition field's value. -func (s *DvbSubDestinationSettings) SetYPosition(v int64) *DvbSubDestinationSettings { - s.YPosition = &v +// SetTimecodeInsertion sets the TimecodeInsertion field's value. +func (s *H264Settings) SetTimecodeInsertion(v string) *H264Settings { + s.TimecodeInsertion = &v return s } -// Dvb Sub Source Settings -type DvbSubSourceSettings struct { +// H265 Color Space Settings +type H265ColorSpaceSettings struct { _ struct{} `type:"structure"` - // If you will configure a WebVTT caption description that references this caption - // selector, use this field toprovide the language to consider when translating - // the image-based source to text. - OcrLanguage *string `locationName:"ocrLanguage" type:"string" enum:"DvbSubOcrLanguage"` + // Passthrough applies no color space conversion to the output + ColorSpacePassthroughSettings *ColorSpacePassthroughSettings `locationName:"colorSpacePassthroughSettings" type:"structure"` - // When using DVB-Sub with Burn-In or SMPTE-TT, use this PID for the source - // content. Unused for DVB-Sub passthrough. All DVB-Sub content is passed through, - // regardless of selectors. - Pid *int64 `locationName:"pid" min:"1" type:"integer"` + // Dolby Vision81 Settings + DolbyVision81Settings *DolbyVision81Settings `locationName:"dolbyVision81Settings" type:"structure"` + + // Hdr10 Settings + Hdr10Settings *Hdr10Settings `locationName:"hdr10Settings" type:"structure"` + + // Rec601 Settings + Rec601Settings *Rec601Settings `locationName:"rec601Settings" type:"structure"` + + // Rec709 Settings + Rec709Settings *Rec709Settings `locationName:"rec709Settings" type:"structure"` } // String returns the string representation. @@ -15399,7 +23547,7 @@ type DvbSubSourceSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DvbSubSourceSettings) String() string { +func (s H265ColorSpaceSettings) String() string { return awsutil.Prettify(s) } @@ -15408,42 +23556,46 @@ func (s DvbSubSourceSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DvbSubSourceSettings) GoString() string { +func (s H265ColorSpaceSettings) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DvbSubSourceSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DvbSubSourceSettings"} - if s.Pid != nil && *s.Pid < 1 { - invalidParams.Add(request.NewErrParamMinValue("Pid", 1)) - } +// SetColorSpacePassthroughSettings sets the ColorSpacePassthroughSettings field's value. +func (s *H265ColorSpaceSettings) SetColorSpacePassthroughSettings(v *ColorSpacePassthroughSettings) *H265ColorSpaceSettings { + s.ColorSpacePassthroughSettings = v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetDolbyVision81Settings sets the DolbyVision81Settings field's value. +func (s *H265ColorSpaceSettings) SetDolbyVision81Settings(v *DolbyVision81Settings) *H265ColorSpaceSettings { + s.DolbyVision81Settings = v + return s } -// SetOcrLanguage sets the OcrLanguage field's value. -func (s *DvbSubSourceSettings) SetOcrLanguage(v string) *DvbSubSourceSettings { - s.OcrLanguage = &v +// SetHdr10Settings sets the Hdr10Settings field's value. +func (s *H265ColorSpaceSettings) SetHdr10Settings(v *Hdr10Settings) *H265ColorSpaceSettings { + s.Hdr10Settings = v return s } -// SetPid sets the Pid field's value. -func (s *DvbSubSourceSettings) SetPid(v int64) *DvbSubSourceSettings { - s.Pid = &v +// SetRec601Settings sets the Rec601Settings field's value. +func (s *H265ColorSpaceSettings) SetRec601Settings(v *Rec601Settings) *H265ColorSpaceSettings { + s.Rec601Settings = v return s } -// DVB Time and Date Table (SDT) -type DvbTdtSettings struct { +// SetRec709Settings sets the Rec709Settings field's value. +func (s *H265ColorSpaceSettings) SetRec709Settings(v *Rec709Settings) *H265ColorSpaceSettings { + s.Rec709Settings = v + return s +} + +// H265 Filter Settings +type H265FilterSettings struct { _ struct{} `type:"structure"` - // The number of milliseconds between instances of this table in the output - // transport stream. - RepInterval *int64 `locationName:"repInterval" min:"1000" type:"integer"` + // Temporal Filter Settings + TemporalFilterSettings *TemporalFilterSettings `locationName:"temporalFilterSettings" type:"structure"` } // String returns the string representation. @@ -15451,7 +23603,7 @@ type DvbTdtSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DvbTdtSettings) String() string { +func (s H265FilterSettings) String() string { return awsutil.Prettify(s) } @@ -15460,59 +23612,186 @@ func (s DvbTdtSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DvbTdtSettings) GoString() string { +func (s H265FilterSettings) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DvbTdtSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DvbTdtSettings"} - if s.RepInterval != nil && *s.RepInterval < 1000 { - invalidParams.Add(request.NewErrParamMinValue("RepInterval", 1000)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetRepInterval sets the RepInterval field's value. -func (s *DvbTdtSettings) SetRepInterval(v int64) *DvbTdtSettings { - s.RepInterval = &v +// SetTemporalFilterSettings sets the TemporalFilterSettings field's value. +func (s *H265FilterSettings) SetTemporalFilterSettings(v *TemporalFilterSettings) *H265FilterSettings { + s.TemporalFilterSettings = v return s } -// Eac3 Atmos Settings -type Eac3AtmosSettings struct { +// H265 Settings +type H265Settings struct { _ struct{} `type:"structure"` - // Average bitrate in bits/second. Valid bitrates depend on the coding mode.// - // * @affectsRightSizing true - Bitrate *float64 `locationName:"bitrate" type:"double"` + // Adaptive quantization. Allows intra-frame quantizers to vary to improve visual + // quality. + AdaptiveQuantization *string `locationName:"adaptiveQuantization" type:"string" enum:"H265AdaptiveQuantization"` - // Dolby Digital Plus with Dolby Atmos coding mode. Determines number of channels. - CodingMode *string `locationName:"codingMode" type:"string" enum:"Eac3AtmosCodingMode"` + // Indicates that AFD values will be written into the output stream. If afdSignaling + // is "auto", the system will try to preserve the input AFD value (in cases + // where multiple AFD values are valid). If set to "fixed", the AFD value will + // be the value configured in the fixedAfd parameter. + AfdSignaling *string `locationName:"afdSignaling" type:"string" enum:"AfdSignaling"` - // Sets the dialnorm for the output. Default 23. - Dialnorm *int64 `locationName:"dialnorm" min:"1" type:"integer"` + // Whether or not EML should insert an Alternative Transfer Function SEI message + // to support backwards compatibility with non-HDR decoders and displays. + AlternativeTransferFunction *string `locationName:"alternativeTransferFunction" type:"string" enum:"H265AlternativeTransferFunction"` - // Sets the Dolby dynamic range compression profile. - DrcLine *string `locationName:"drcLine" type:"string" enum:"Eac3AtmosDrcLine"` + // Average bitrate in bits/second. Required when the rate control mode is VBR + // or CBR. Not used for QVBR. In an MS Smooth output group, each output must + // have a unique value when its bitrate is rounded down to the nearest multiple + // of 1000. + Bitrate *int64 `locationName:"bitrate" min:"100000" type:"integer"` - // Sets the profile for heavy Dolby dynamic range compression, ensures that - // the instantaneous signal peaks do not exceed specified levels. - DrcRf *string `locationName:"drcRf" type:"string" enum:"Eac3AtmosDrcRf"` + // Size of buffer (HRD buffer model) in bits. + BufSize *int64 `locationName:"bufSize" min:"100000" type:"integer"` - // Height dimensional trim. Sets the maximum amount to attenuate the height - // channels when the downstream player isn??t configured to handle Dolby Digital - // Plus with Dolby Atmos and must remix the channels. - HeightTrim *float64 `locationName:"heightTrim" type:"double"` + // Includes colorspace metadata in the output. + ColorMetadata *string `locationName:"colorMetadata" type:"string" enum:"H265ColorMetadata"` - // Surround dimensional trim. Sets the maximum amount to attenuate the surround - // channels when the downstream player isn't configured to handle Dolby Digital - // Plus with Dolby Atmos and must remix the channels. - SurroundTrim *float64 `locationName:"surroundTrim" type:"double"` + // Color Space settings + ColorSpaceSettings *H265ColorSpaceSettings `locationName:"colorSpaceSettings" type:"structure"` + + // Optional filters that you can apply to an encode. + FilterSettings *H265FilterSettings `locationName:"filterSettings" type:"structure"` + + // Four bit AFD value to write on all frames of video in the output stream. + // Only valid when afdSignaling is set to 'Fixed'. + FixedAfd *string `locationName:"fixedAfd" type:"string" enum:"FixedAfd"` + + // If set to enabled, adjust quantization within each frame to reduce flicker + // or 'pop' on I-frames. + FlickerAq *string `locationName:"flickerAq" type:"string" enum:"H265FlickerAq"` + + // Framerate denominator. + // + // FramerateDenominator is a required field + FramerateDenominator *int64 `locationName:"framerateDenominator" min:"1" type:"integer" required:"true"` + + // Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 + // fps. + // + // FramerateNumerator is a required field + FramerateNumerator *int64 `locationName:"framerateNumerator" min:"1" type:"integer" required:"true"` + + // Frequency of closed GOPs. In streaming applications, it is recommended that + // this be set to 1 so a decoder joining mid-stream will receive an IDR frame + // as quickly as possible. Setting this value to 0 will break output segmenting. + GopClosedCadence *int64 `locationName:"gopClosedCadence" type:"integer"` + + // GOP size (keyframe interval) in units of either frames or seconds per gopSizeUnits.If + // gopSizeUnits is frames, gopSize must be an integer and must be greater than + // or equal to 1.If gopSizeUnits is seconds, gopSize must be greater than 0, + // but need not be an integer. + GopSize *float64 `locationName:"gopSize" type:"double"` + + // Indicates if the gopSize is specified in frames or seconds. If seconds the + // system will convert the gopSize into a frame count at run time. + GopSizeUnits *string `locationName:"gopSizeUnits" type:"string" enum:"H265GopSizeUnits"` + + // H.265 Level. + Level *string `locationName:"level" type:"string" enum:"H265Level"` + + // Amount of lookahead. A value of low can decrease latency and memory usage, + // while high can produce better quality for certain content. + LookAheadRateControl *string `locationName:"lookAheadRateControl" type:"string" enum:"H265LookAheadRateControl"` + + // For QVBR: See the tooltip for Quality level + MaxBitrate *int64 `locationName:"maxBitrate" min:"100000" type:"integer"` + + // Only meaningful if sceneChangeDetect is set to enabled. Defaults to 5 if + // multiplex rate control is used. Enforces separation between repeated (cadence) + // I-frames and I-frames inserted by Scene Change Detection. If a scene change + // I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk + // and/or stretched to the scene change I-frame. GOP stretch requires enabling + // lookahead as well as setting I-interval. The normal cadence resumes for the + // next GOP. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1 + MinIInterval *int64 `locationName:"minIInterval" type:"integer"` + + // If you are setting up the picture as a tile, you must set this to "disabled". + // In all other configurations, you typically enter "enabled". + MvOverPictureBoundaries *string `locationName:"mvOverPictureBoundaries" type:"string" enum:"H265MvOverPictureBoundaries"` + + // If you are setting up the picture as a tile, you must set this to "disabled". + // In other configurations, you typically enter "enabled". + MvTemporalPredictor *string `locationName:"mvTemporalPredictor" type:"string" enum:"H265MvTemporalPredictor"` + + // Pixel Aspect Ratio denominator. + ParDenominator *int64 `locationName:"parDenominator" min:"1" type:"integer"` + + // Pixel Aspect Ratio numerator. + ParNumerator *int64 `locationName:"parNumerator" min:"1" type:"integer"` + + // H.265 Profile. + Profile *string `locationName:"profile" type:"string" enum:"H265Profile"` + + // Controls the target quality for the video encode. Applies only when the rate + // control mode is QVBR. Set values for the QVBR quality level field and Max + // bitrate field that suit your most important viewing devices. Recommended + // values are:- Primary screen: Quality level: 8 to 10. Max bitrate: 4M- PC + // or tablet: Quality level: 7. Max bitrate: 1.5M to 3M- Smartphone: Quality + // level: 6. Max bitrate: 1M to 1.5M + QvbrQualityLevel *int64 `locationName:"qvbrQualityLevel" min:"1" type:"integer"` + + // Rate control mode.QVBR: Quality will match the specified quality level except + // when it is constrained by themaximum bitrate. Recommended if you or your + // viewers pay for bandwidth.CBR: Quality varies, depending on the video complexity. + // Recommended only if you distributeyour assets to devices that cannot handle + // variable bitrates.Multiplex: This rate control mode is only supported (and + // is required) when the video is beingdelivered to a MediaLive Multiplex in + // which case the rate control configuration is controlledby the properties + // within the Multiplex Program. + RateControlMode *string `locationName:"rateControlMode" type:"string" enum:"H265RateControlMode"` + + // Sets the scan type of the output to progressive or top-field-first interlaced. + ScanType *string `locationName:"scanType" type:"string" enum:"H265ScanType"` + + // Scene change detection. + SceneChangeDetect *string `locationName:"sceneChangeDetect" type:"string" enum:"H265SceneChangeDetect"` + + // Number of slices per picture. Must be less than or equal to the number of + // macroblock rows for progressive pictures, and less than or equal to half + // the number of macroblock rows for interlaced pictures.This field is optional; + // when no value is specified the encoder will choose the number of slices based + // on encode resolution. + Slices *int64 `locationName:"slices" min:"1" type:"integer"` + + // H.265 Tier. + Tier *string `locationName:"tier" type:"string" enum:"H265Tier"` + + // Set this field to set up the picture as a tile. You must also set tileWidth.The + // tile height must result in 22 or fewer rows in the frame. The tile widthmust + // result in 20 or fewer columns in the frame. And finally, the product of thecolumn + // count and row count must be 64 of less.If the tile width and height are specified, + // MediaLive will override the videocodec slices field with a value that MediaLive + // calculates + TileHeight *int64 `locationName:"tileHeight" min:"64" type:"integer"` + + // Set to "padded" to force MediaLive to add padding to the frame, to obtain + // a frame that is a whole multiple of the tile size.If you are setting up the + // picture as a tile, you must enter "padded".In all other configurations, you + // typically enter "none". + TilePadding *string `locationName:"tilePadding" type:"string" enum:"H265TilePadding"` + + // Set this field to set up the picture as a tile. See tileHeight for more information. + TileWidth *int64 `locationName:"tileWidth" min:"256" type:"integer"` + + // Timecode burn-in settings + TimecodeBurninSettings *TimecodeBurninSettings `locationName:"timecodeBurninSettings" type:"structure"` + + // Determines how timecodes should be inserted into the video elementary stream.- + // 'disabled': Do not include timecodes- 'picTimingSei': Pass through picture + // timing SEI messages from the source specified in Timecode Config + TimecodeInsertion *string `locationName:"timecodeInsertion" type:"string" enum:"H265TimecodeInsertionBehavior"` + + // Select the tree block size used for encoding. If you enter "auto", the encoder + // will pick the best size. If you are setting up the picture as a tile, you + // must set this to 32x32. In all other configurations, you typically enter + // "auto". + TreeblockSize *string `locationName:"treeblockSize" type:"string" enum:"H265TreeblockSize"` } // String returns the string representation. @@ -15520,7 +23799,7 @@ type Eac3AtmosSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Eac3AtmosSettings) String() string { +func (s H265Settings) String() string { return awsutil.Prettify(s) } @@ -15529,15 +23808,56 @@ func (s Eac3AtmosSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Eac3AtmosSettings) GoString() string { +func (s H265Settings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *Eac3AtmosSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "Eac3AtmosSettings"} - if s.Dialnorm != nil && *s.Dialnorm < 1 { - invalidParams.Add(request.NewErrParamMinValue("Dialnorm", 1)) +func (s *H265Settings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "H265Settings"} + if s.Bitrate != nil && *s.Bitrate < 100000 { + invalidParams.Add(request.NewErrParamMinValue("Bitrate", 100000)) + } + if s.BufSize != nil && *s.BufSize < 100000 { + invalidParams.Add(request.NewErrParamMinValue("BufSize", 100000)) + } + if s.FramerateDenominator == nil { + invalidParams.Add(request.NewErrParamRequired("FramerateDenominator")) + } + if s.FramerateDenominator != nil && *s.FramerateDenominator < 1 { + invalidParams.Add(request.NewErrParamMinValue("FramerateDenominator", 1)) + } + if s.FramerateNumerator == nil { + invalidParams.Add(request.NewErrParamRequired("FramerateNumerator")) + } + if s.FramerateNumerator != nil && *s.FramerateNumerator < 1 { + invalidParams.Add(request.NewErrParamMinValue("FramerateNumerator", 1)) + } + if s.MaxBitrate != nil && *s.MaxBitrate < 100000 { + invalidParams.Add(request.NewErrParamMinValue("MaxBitrate", 100000)) + } + if s.ParDenominator != nil && *s.ParDenominator < 1 { + invalidParams.Add(request.NewErrParamMinValue("ParDenominator", 1)) + } + if s.ParNumerator != nil && *s.ParNumerator < 1 { + invalidParams.Add(request.NewErrParamMinValue("ParNumerator", 1)) + } + if s.QvbrQualityLevel != nil && *s.QvbrQualityLevel < 1 { + invalidParams.Add(request.NewErrParamMinValue("QvbrQualityLevel", 1)) + } + if s.Slices != nil && *s.Slices < 1 { + invalidParams.Add(request.NewErrParamMinValue("Slices", 1)) + } + if s.TileHeight != nil && *s.TileHeight < 64 { + invalidParams.Add(request.NewErrParamMinValue("TileHeight", 64)) + } + if s.TileWidth != nil && *s.TileWidth < 256 { + invalidParams.Add(request.NewErrParamMinValue("TileWidth", 256)) + } + if s.TimecodeBurninSettings != nil { + if err := s.TimecodeBurninSettings.Validate(); err != nil { + invalidParams.AddNested("TimecodeBurninSettings", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -15546,311 +23866,235 @@ func (s *Eac3AtmosSettings) Validate() error { return nil } -// SetBitrate sets the Bitrate field's value. -func (s *Eac3AtmosSettings) SetBitrate(v float64) *Eac3AtmosSettings { - s.Bitrate = &v +// SetAdaptiveQuantization sets the AdaptiveQuantization field's value. +func (s *H265Settings) SetAdaptiveQuantization(v string) *H265Settings { + s.AdaptiveQuantization = &v return s } -// SetCodingMode sets the CodingMode field's value. -func (s *Eac3AtmosSettings) SetCodingMode(v string) *Eac3AtmosSettings { - s.CodingMode = &v +// SetAfdSignaling sets the AfdSignaling field's value. +func (s *H265Settings) SetAfdSignaling(v string) *H265Settings { + s.AfdSignaling = &v return s } -// SetDialnorm sets the Dialnorm field's value. -func (s *Eac3AtmosSettings) SetDialnorm(v int64) *Eac3AtmosSettings { - s.Dialnorm = &v +// SetAlternativeTransferFunction sets the AlternativeTransferFunction field's value. +func (s *H265Settings) SetAlternativeTransferFunction(v string) *H265Settings { + s.AlternativeTransferFunction = &v return s } -// SetDrcLine sets the DrcLine field's value. -func (s *Eac3AtmosSettings) SetDrcLine(v string) *Eac3AtmosSettings { - s.DrcLine = &v +// SetBitrate sets the Bitrate field's value. +func (s *H265Settings) SetBitrate(v int64) *H265Settings { + s.Bitrate = &v return s } -// SetDrcRf sets the DrcRf field's value. -func (s *Eac3AtmosSettings) SetDrcRf(v string) *Eac3AtmosSettings { - s.DrcRf = &v +// SetBufSize sets the BufSize field's value. +func (s *H265Settings) SetBufSize(v int64) *H265Settings { + s.BufSize = &v return s } -// SetHeightTrim sets the HeightTrim field's value. -func (s *Eac3AtmosSettings) SetHeightTrim(v float64) *Eac3AtmosSettings { - s.HeightTrim = &v +// SetColorMetadata sets the ColorMetadata field's value. +func (s *H265Settings) SetColorMetadata(v string) *H265Settings { + s.ColorMetadata = &v return s } -// SetSurroundTrim sets the SurroundTrim field's value. -func (s *Eac3AtmosSettings) SetSurroundTrim(v float64) *Eac3AtmosSettings { - s.SurroundTrim = &v +// SetColorSpaceSettings sets the ColorSpaceSettings field's value. +func (s *H265Settings) SetColorSpaceSettings(v *H265ColorSpaceSettings) *H265Settings { + s.ColorSpaceSettings = v return s } -// Eac3 Settings -type Eac3Settings struct { - _ struct{} `type:"structure"` - - // When set to attenuate3Db, applies a 3 dB attenuation to the surround channels. - // Only used for 3/2 coding mode. - AttenuationControl *string `locationName:"attenuationControl" type:"string" enum:"Eac3AttenuationControl"` - - // Average bitrate in bits/second. Valid bitrates depend on the coding mode. - Bitrate *float64 `locationName:"bitrate" type:"double"` - - // Specifies the bitstream mode (bsmod) for the emitted E-AC-3 stream. See ATSC - // A/52-2012 (Annex E) for background on these values. - BitstreamMode *string `locationName:"bitstreamMode" type:"string" enum:"Eac3BitstreamMode"` - - // Dolby Digital Plus coding mode. Determines number of channels. - CodingMode *string `locationName:"codingMode" type:"string" enum:"Eac3CodingMode"` - - // When set to enabled, activates a DC highpass filter for all input channels. - DcFilter *string `locationName:"dcFilter" type:"string" enum:"Eac3DcFilter"` - - // Sets the dialnorm for the output. If blank and input audio is Dolby Digital - // Plus, dialnorm will be passed through. - Dialnorm *int64 `locationName:"dialnorm" min:"1" type:"integer"` - - // Sets the Dolby dynamic range compression profile. - DrcLine *string `locationName:"drcLine" type:"string" enum:"Eac3DrcLine"` - - // Sets the profile for heavy Dolby dynamic range compression, ensures that - // the instantaneous signal peaks do not exceed specified levels. - DrcRf *string `locationName:"drcRf" type:"string" enum:"Eac3DrcRf"` - - // When encoding 3/2 audio, setting to lfe enables the LFE channel - LfeControl *string `locationName:"lfeControl" type:"string" enum:"Eac3LfeControl"` - - // When set to enabled, applies a 120Hz lowpass filter to the LFE channel prior - // to encoding. Only valid with codingMode32 coding mode. - LfeFilter *string `locationName:"lfeFilter" type:"string" enum:"Eac3LfeFilter"` - - // Left only/Right only center mix level. Only used for 3/2 coding mode. - LoRoCenterMixLevel *float64 `locationName:"loRoCenterMixLevel" type:"double"` - - // Left only/Right only surround mix level. Only used for 3/2 coding mode. - LoRoSurroundMixLevel *float64 `locationName:"loRoSurroundMixLevel" type:"double"` - - // Left total/Right total center mix level. Only used for 3/2 coding mode. - LtRtCenterMixLevel *float64 `locationName:"ltRtCenterMixLevel" type:"double"` - - // Left total/Right total surround mix level. Only used for 3/2 coding mode. - LtRtSurroundMixLevel *float64 `locationName:"ltRtSurroundMixLevel" type:"double"` - - // When set to followInput, encoder metadata will be sourced from the DD, DD+, - // or DolbyE decoder that supplied this audio data. If audio was not supplied - // from one of these streams, then the static metadata settings will be used. - MetadataControl *string `locationName:"metadataControl" type:"string" enum:"Eac3MetadataControl"` - - // When set to whenPossible, input DD+ audio will be passed through if it is - // present on the input. This detection is dynamic over the life of the transcode. - // Inputs that alternate between DD+ and non-DD+ content will have a consistent - // DD+ output as the system alternates between passthrough and encoding. - PassthroughControl *string `locationName:"passthroughControl" type:"string" enum:"Eac3PassthroughControl"` +// SetFilterSettings sets the FilterSettings field's value. +func (s *H265Settings) SetFilterSettings(v *H265FilterSettings) *H265Settings { + s.FilterSettings = v + return s +} - // When set to shift90Degrees, applies a 90-degree phase shift to the surround - // channels. Only used for 3/2 coding mode. - PhaseControl *string `locationName:"phaseControl" type:"string" enum:"Eac3PhaseControl"` +// SetFixedAfd sets the FixedAfd field's value. +func (s *H265Settings) SetFixedAfd(v string) *H265Settings { + s.FixedAfd = &v + return s +} - // Stereo downmix preference. Only used for 3/2 coding mode. - StereoDownmix *string `locationName:"stereoDownmix" type:"string" enum:"Eac3StereoDownmix"` +// SetFlickerAq sets the FlickerAq field's value. +func (s *H265Settings) SetFlickerAq(v string) *H265Settings { + s.FlickerAq = &v + return s +} - // When encoding 3/2 audio, sets whether an extra center back surround channel - // is matrix encoded into the left and right surround channels. - SurroundExMode *string `locationName:"surroundExMode" type:"string" enum:"Eac3SurroundExMode"` +// SetFramerateDenominator sets the FramerateDenominator field's value. +func (s *H265Settings) SetFramerateDenominator(v int64) *H265Settings { + s.FramerateDenominator = &v + return s +} - // When encoding 2/0 audio, sets whether Dolby Surround is matrix encoded into - // the two channels. - SurroundMode *string `locationName:"surroundMode" type:"string" enum:"Eac3SurroundMode"` +// SetFramerateNumerator sets the FramerateNumerator field's value. +func (s *H265Settings) SetFramerateNumerator(v int64) *H265Settings { + s.FramerateNumerator = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s Eac3Settings) String() string { - return awsutil.Prettify(s) +// SetGopClosedCadence sets the GopClosedCadence field's value. +func (s *H265Settings) SetGopClosedCadence(v int64) *H265Settings { + s.GopClosedCadence = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s Eac3Settings) GoString() string { - return s.String() +// SetGopSize sets the GopSize field's value. +func (s *H265Settings) SetGopSize(v float64) *H265Settings { + s.GopSize = &v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *Eac3Settings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "Eac3Settings"} - if s.Dialnorm != nil && *s.Dialnorm < 1 { - invalidParams.Add(request.NewErrParamMinValue("Dialnorm", 1)) - } +// SetGopSizeUnits sets the GopSizeUnits field's value. +func (s *H265Settings) SetGopSizeUnits(v string) *H265Settings { + s.GopSizeUnits = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetLevel sets the Level field's value. +func (s *H265Settings) SetLevel(v string) *H265Settings { + s.Level = &v + return s } -// SetAttenuationControl sets the AttenuationControl field's value. -func (s *Eac3Settings) SetAttenuationControl(v string) *Eac3Settings { - s.AttenuationControl = &v +// SetLookAheadRateControl sets the LookAheadRateControl field's value. +func (s *H265Settings) SetLookAheadRateControl(v string) *H265Settings { + s.LookAheadRateControl = &v return s } -// SetBitrate sets the Bitrate field's value. -func (s *Eac3Settings) SetBitrate(v float64) *Eac3Settings { - s.Bitrate = &v +// SetMaxBitrate sets the MaxBitrate field's value. +func (s *H265Settings) SetMaxBitrate(v int64) *H265Settings { + s.MaxBitrate = &v return s } -// SetBitstreamMode sets the BitstreamMode field's value. -func (s *Eac3Settings) SetBitstreamMode(v string) *Eac3Settings { - s.BitstreamMode = &v +// SetMinIInterval sets the MinIInterval field's value. +func (s *H265Settings) SetMinIInterval(v int64) *H265Settings { + s.MinIInterval = &v return s } -// SetCodingMode sets the CodingMode field's value. -func (s *Eac3Settings) SetCodingMode(v string) *Eac3Settings { - s.CodingMode = &v +// SetMvOverPictureBoundaries sets the MvOverPictureBoundaries field's value. +func (s *H265Settings) SetMvOverPictureBoundaries(v string) *H265Settings { + s.MvOverPictureBoundaries = &v return s } -// SetDcFilter sets the DcFilter field's value. -func (s *Eac3Settings) SetDcFilter(v string) *Eac3Settings { - s.DcFilter = &v +// SetMvTemporalPredictor sets the MvTemporalPredictor field's value. +func (s *H265Settings) SetMvTemporalPredictor(v string) *H265Settings { + s.MvTemporalPredictor = &v return s } -// SetDialnorm sets the Dialnorm field's value. -func (s *Eac3Settings) SetDialnorm(v int64) *Eac3Settings { - s.Dialnorm = &v +// SetParDenominator sets the ParDenominator field's value. +func (s *H265Settings) SetParDenominator(v int64) *H265Settings { + s.ParDenominator = &v return s } -// SetDrcLine sets the DrcLine field's value. -func (s *Eac3Settings) SetDrcLine(v string) *Eac3Settings { - s.DrcLine = &v +// SetParNumerator sets the ParNumerator field's value. +func (s *H265Settings) SetParNumerator(v int64) *H265Settings { + s.ParNumerator = &v return s } -// SetDrcRf sets the DrcRf field's value. -func (s *Eac3Settings) SetDrcRf(v string) *Eac3Settings { - s.DrcRf = &v +// SetProfile sets the Profile field's value. +func (s *H265Settings) SetProfile(v string) *H265Settings { + s.Profile = &v return s } -// SetLfeControl sets the LfeControl field's value. -func (s *Eac3Settings) SetLfeControl(v string) *Eac3Settings { - s.LfeControl = &v +// SetQvbrQualityLevel sets the QvbrQualityLevel field's value. +func (s *H265Settings) SetQvbrQualityLevel(v int64) *H265Settings { + s.QvbrQualityLevel = &v return s } -// SetLfeFilter sets the LfeFilter field's value. -func (s *Eac3Settings) SetLfeFilter(v string) *Eac3Settings { - s.LfeFilter = &v +// SetRateControlMode sets the RateControlMode field's value. +func (s *H265Settings) SetRateControlMode(v string) *H265Settings { + s.RateControlMode = &v return s } -// SetLoRoCenterMixLevel sets the LoRoCenterMixLevel field's value. -func (s *Eac3Settings) SetLoRoCenterMixLevel(v float64) *Eac3Settings { - s.LoRoCenterMixLevel = &v +// SetScanType sets the ScanType field's value. +func (s *H265Settings) SetScanType(v string) *H265Settings { + s.ScanType = &v return s } -// SetLoRoSurroundMixLevel sets the LoRoSurroundMixLevel field's value. -func (s *Eac3Settings) SetLoRoSurroundMixLevel(v float64) *Eac3Settings { - s.LoRoSurroundMixLevel = &v +// SetSceneChangeDetect sets the SceneChangeDetect field's value. +func (s *H265Settings) SetSceneChangeDetect(v string) *H265Settings { + s.SceneChangeDetect = &v return s } -// SetLtRtCenterMixLevel sets the LtRtCenterMixLevel field's value. -func (s *Eac3Settings) SetLtRtCenterMixLevel(v float64) *Eac3Settings { - s.LtRtCenterMixLevel = &v +// SetSlices sets the Slices field's value. +func (s *H265Settings) SetSlices(v int64) *H265Settings { + s.Slices = &v return s } -// SetLtRtSurroundMixLevel sets the LtRtSurroundMixLevel field's value. -func (s *Eac3Settings) SetLtRtSurroundMixLevel(v float64) *Eac3Settings { - s.LtRtSurroundMixLevel = &v +// SetTier sets the Tier field's value. +func (s *H265Settings) SetTier(v string) *H265Settings { + s.Tier = &v return s } -// SetMetadataControl sets the MetadataControl field's value. -func (s *Eac3Settings) SetMetadataControl(v string) *Eac3Settings { - s.MetadataControl = &v +// SetTileHeight sets the TileHeight field's value. +func (s *H265Settings) SetTileHeight(v int64) *H265Settings { + s.TileHeight = &v return s } -// SetPassthroughControl sets the PassthroughControl field's value. -func (s *Eac3Settings) SetPassthroughControl(v string) *Eac3Settings { - s.PassthroughControl = &v +// SetTilePadding sets the TilePadding field's value. +func (s *H265Settings) SetTilePadding(v string) *H265Settings { + s.TilePadding = &v return s } -// SetPhaseControl sets the PhaseControl field's value. -func (s *Eac3Settings) SetPhaseControl(v string) *Eac3Settings { - s.PhaseControl = &v +// SetTileWidth sets the TileWidth field's value. +func (s *H265Settings) SetTileWidth(v int64) *H265Settings { + s.TileWidth = &v return s } -// SetStereoDownmix sets the StereoDownmix field's value. -func (s *Eac3Settings) SetStereoDownmix(v string) *Eac3Settings { - s.StereoDownmix = &v +// SetTimecodeBurninSettings sets the TimecodeBurninSettings field's value. +func (s *H265Settings) SetTimecodeBurninSettings(v *TimecodeBurninSettings) *H265Settings { + s.TimecodeBurninSettings = v return s } -// SetSurroundExMode sets the SurroundExMode field's value. -func (s *Eac3Settings) SetSurroundExMode(v string) *Eac3Settings { - s.SurroundExMode = &v +// SetTimecodeInsertion sets the TimecodeInsertion field's value. +func (s *H265Settings) SetTimecodeInsertion(v string) *H265Settings { + s.TimecodeInsertion = &v return s } -// SetSurroundMode sets the SurroundMode field's value. -func (s *Eac3Settings) SetSurroundMode(v string) *Eac3Settings { - s.SurroundMode = &v +// SetTreeblockSize sets the TreeblockSize field's value. +func (s *H265Settings) SetTreeblockSize(v string) *H265Settings { + s.TreeblockSize = &v return s } -// Ebu Tt DDestination Settings -type EbuTtDDestinationSettings struct { +// Hdr10 Settings +type Hdr10Settings struct { _ struct{} `type:"structure"` - // Complete this field if you want to include the name of the copyright holder - // in the copyright tag in the captions metadata. - CopyrightHolder *string `locationName:"copyrightHolder" type:"string"` - - // Specifies how to handle the gap between the lines (in multi-line captions).- - // enabled: Fill with the captions background color (as specified in the input - // captions).- disabled: Leave the gap unfilled. - FillLineGap *string `locationName:"fillLineGap" type:"string" enum:"EbuTtDFillLineGapControl"` - - // Specifies the font family to include in the font data attached to the EBU-TT - // captions. Valid only if styleControl is set to include. If you leave this - // field empty, the font family is set to "monospaced". (If styleControl is - // set to exclude, the font family is always set to "monospaced".)You specify - // only the font family. All other style information (color, bold, position - // and so on) is copied from the input captions. The size is always set to 100% - // to allow the downstream player to choose the size.- Enter a list of font - // families, as a comma-separated list of font names, in order of preference. - // The name can be a font family (such as “Arial”), or a generic font family - // (such as “serif”), or “default” (to let the downstream player choose - // the font).- Leave blank to set the family to “monospace”. - FontFamily *string `locationName:"fontFamily" type:"string"` + // Maximum Content Light LevelAn integer metadata value defining the maximum + // light level, in nits,of any single pixel within an encoded HDR video stream + // or file. + MaxCll *int64 `locationName:"maxCll" type:"integer"` - // Specifies the style information (font color, font position, and so on) to - // include in the font data that is attached to the EBU-TT captions.- include: - // Take the style information (font color, font position, and so on) from the - // source captions and include that information in the font data attached to - // the EBU-TT captions. This option is valid only if the source captions are - // Embedded or Teletext.- exclude: In the font data attached to the EBU-TT captions, - // set the font family to "monospaced". Do not include any other style information. - StyleControl *string `locationName:"styleControl" type:"string" enum:"EbuTtDDestinationStyleControl"` + // Maximum Frame Average Light LevelAn integer metadata value defining the maximum + // average light level, in nits,for any single frame within an encoded HDR video + // stream or file. + MaxFall *int64 `locationName:"maxFall" type:"integer"` } // String returns the string representation. @@ -15858,7 +24102,7 @@ type EbuTtDDestinationSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s EbuTtDDestinationSettings) String() string { +func (s Hdr10Settings) String() string { return awsutil.Prettify(s) } @@ -15867,37 +24111,51 @@ func (s EbuTtDDestinationSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s EbuTtDDestinationSettings) GoString() string { +func (s Hdr10Settings) GoString() string { return s.String() } -// SetCopyrightHolder sets the CopyrightHolder field's value. -func (s *EbuTtDDestinationSettings) SetCopyrightHolder(v string) *EbuTtDDestinationSettings { - s.CopyrightHolder = &v +// SetMaxCll sets the MaxCll field's value. +func (s *Hdr10Settings) SetMaxCll(v int64) *Hdr10Settings { + s.MaxCll = &v return s } -// SetFillLineGap sets the FillLineGap field's value. -func (s *EbuTtDDestinationSettings) SetFillLineGap(v string) *EbuTtDDestinationSettings { - s.FillLineGap = &v +// SetMaxFall sets the MaxFall field's value. +func (s *Hdr10Settings) SetMaxFall(v int64) *Hdr10Settings { + s.MaxFall = &v return s } -// SetFontFamily sets the FontFamily field's value. -func (s *EbuTtDDestinationSettings) SetFontFamily(v string) *EbuTtDDestinationSettings { - s.FontFamily = &v - return s -} +// Hls Akamai Settings +type HlsAkamaiSettings struct { + _ struct{} `type:"structure"` -// SetStyleControl sets the StyleControl field's value. -func (s *EbuTtDDestinationSettings) SetStyleControl(v string) *EbuTtDDestinationSettings { - s.StyleControl = &v - return s -} + // Number of seconds to wait before retrying connection to the CDN if the connection + // is lost. + ConnectionRetryInterval *int64 `locationName:"connectionRetryInterval" type:"integer"` -// Embedded Destination Settings -type EmbeddedDestinationSettings struct { - _ struct{} `type:"structure"` + // Size in seconds of file cache for streaming outputs. + FilecacheDuration *int64 `locationName:"filecacheDuration" type:"integer"` + + // Specify whether or not to use chunked transfer encoding to Akamai. User should + // contact Akamai to enable this feature. + HttpTransferMode *string `locationName:"httpTransferMode" type:"string" enum:"HlsAkamaiHttpTransferMode"` + + // Number of retry attempts that will be made before the Live Event is put into + // an error state. Applies only if the CDN destination URI begins with "s3" + // or "mediastore". For other URIs, the value is always 3. + NumRetries *int64 `locationName:"numRetries" type:"integer"` + + // If a streaming output fails, number of seconds to wait until a restart is + // initiated. A value of 0 means never restart. + RestartDelay *int64 `locationName:"restartDelay" type:"integer"` + + // Salt for authenticated Akamai. + Salt *string `locationName:"salt" type:"string"` + + // Token parameter for authenticated akamai. If not specified, _gda_ is used. + Token *string `locationName:"token" type:"string"` } // String returns the string representation. @@ -15905,7 +24163,7 @@ type EmbeddedDestinationSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s EmbeddedDestinationSettings) String() string { +func (s HlsAkamaiSettings) String() string { return awsutil.Prettify(s) } @@ -15914,13 +24172,71 @@ func (s EmbeddedDestinationSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s EmbeddedDestinationSettings) GoString() string { +func (s HlsAkamaiSettings) GoString() string { return s.String() } -// Embedded Plus Scte20 Destination Settings -type EmbeddedPlusScte20DestinationSettings struct { +// SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. +func (s *HlsAkamaiSettings) SetConnectionRetryInterval(v int64) *HlsAkamaiSettings { + s.ConnectionRetryInterval = &v + return s +} + +// SetFilecacheDuration sets the FilecacheDuration field's value. +func (s *HlsAkamaiSettings) SetFilecacheDuration(v int64) *HlsAkamaiSettings { + s.FilecacheDuration = &v + return s +} + +// SetHttpTransferMode sets the HttpTransferMode field's value. +func (s *HlsAkamaiSettings) SetHttpTransferMode(v string) *HlsAkamaiSettings { + s.HttpTransferMode = &v + return s +} + +// SetNumRetries sets the NumRetries field's value. +func (s *HlsAkamaiSettings) SetNumRetries(v int64) *HlsAkamaiSettings { + s.NumRetries = &v + return s +} + +// SetRestartDelay sets the RestartDelay field's value. +func (s *HlsAkamaiSettings) SetRestartDelay(v int64) *HlsAkamaiSettings { + s.RestartDelay = &v + return s +} + +// SetSalt sets the Salt field's value. +func (s *HlsAkamaiSettings) SetSalt(v string) *HlsAkamaiSettings { + s.Salt = &v + return s +} + +// SetToken sets the Token field's value. +func (s *HlsAkamaiSettings) SetToken(v string) *HlsAkamaiSettings { + s.Token = &v + return s +} + +// Hls Basic Put Settings +type HlsBasicPutSettings struct { _ struct{} `type:"structure"` + + // Number of seconds to wait before retrying connection to the CDN if the connection + // is lost. + ConnectionRetryInterval *int64 `locationName:"connectionRetryInterval" type:"integer"` + + // Size in seconds of file cache for streaming outputs. + FilecacheDuration *int64 `locationName:"filecacheDuration" type:"integer"` + + // Number of retry attempts that will be made before the Live Event is put into + // an error state. Applies only if the CDN destination URI begins with "s3" + // or "mediastore". For other URIs, the value is always 3. + NumRetries *int64 `locationName:"numRetries" type:"integer"` + + // If a streaming output fails, number of seconds to wait until a restart is + // initiated. A value of 0 means never restart. + RestartDelay *int64 `locationName:"restartDelay" type:"integer"` } // String returns the string representation. @@ -15928,7 +24244,7 @@ type EmbeddedPlusScte20DestinationSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s EmbeddedPlusScte20DestinationSettings) String() string { +func (s HlsBasicPutSettings) String() string { return awsutil.Prettify(s) } @@ -15937,29 +24253,52 @@ func (s EmbeddedPlusScte20DestinationSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s EmbeddedPlusScte20DestinationSettings) GoString() string { +func (s HlsBasicPutSettings) GoString() string { return s.String() } -// Embedded Source Settings -type EmbeddedSourceSettings struct { +// SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. +func (s *HlsBasicPutSettings) SetConnectionRetryInterval(v int64) *HlsBasicPutSettings { + s.ConnectionRetryInterval = &v + return s +} + +// SetFilecacheDuration sets the FilecacheDuration field's value. +func (s *HlsBasicPutSettings) SetFilecacheDuration(v int64) *HlsBasicPutSettings { + s.FilecacheDuration = &v + return s +} + +// SetNumRetries sets the NumRetries field's value. +func (s *HlsBasicPutSettings) SetNumRetries(v int64) *HlsBasicPutSettings { + s.NumRetries = &v + return s +} + +// SetRestartDelay sets the RestartDelay field's value. +func (s *HlsBasicPutSettings) SetRestartDelay(v int64) *HlsBasicPutSettings { + s.RestartDelay = &v + return s +} + +// Hls Cdn Settings +type HlsCdnSettings struct { _ struct{} `type:"structure"` - // If upconvert, 608 data is both passed through via the "608 compatibility - // bytes" fields of the 708 wrapper as well as translated into 708. 708 data - // present in the source content will be discarded. - Convert608To708 *string `locationName:"convert608To708" type:"string" enum:"EmbeddedConvert608To708"` + // Hls Akamai Settings + HlsAkamaiSettings *HlsAkamaiSettings `locationName:"hlsAkamaiSettings" type:"structure"` - // Set to "auto" to handle streams with intermittent and/or non-aligned SCTE-20 - // and Embedded captions. - Scte20Detection *string `locationName:"scte20Detection" type:"string" enum:"EmbeddedScte20Detection"` + // Hls Basic Put Settings + HlsBasicPutSettings *HlsBasicPutSettings `locationName:"hlsBasicPutSettings" type:"structure"` - // Specifies the 608/708 channel number within the video track from which to - // extract captions. Unused for passthrough. - Source608ChannelNumber *int64 `locationName:"source608ChannelNumber" min:"1" type:"integer"` + // Hls Media Store Settings + HlsMediaStoreSettings *HlsMediaStoreSettings `locationName:"hlsMediaStoreSettings" type:"structure"` - // This field is unused and deprecated. - Source608TrackNumber *int64 `locationName:"source608TrackNumber" min:"1" type:"integer"` + // Hls S3 Settings + HlsS3Settings *HlsS3Settings `locationName:"hlsS3Settings" type:"structure"` + + // Hls Webdav Settings + HlsWebdavSettings *HlsWebdavSettings `locationName:"hlsWebdavSettings" type:"structure"` } // String returns the string representation. @@ -15967,7 +24306,7 @@ type EmbeddedSourceSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s EmbeddedSourceSettings) String() string { +func (s HlsCdnSettings) String() string { return awsutil.Prettify(s) } @@ -15976,97 +24315,274 @@ func (s EmbeddedSourceSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s EmbeddedSourceSettings) GoString() string { +func (s HlsCdnSettings) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *EmbeddedSourceSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "EmbeddedSourceSettings"} - if s.Source608ChannelNumber != nil && *s.Source608ChannelNumber < 1 { - invalidParams.Add(request.NewErrParamMinValue("Source608ChannelNumber", 1)) - } - if s.Source608TrackNumber != nil && *s.Source608TrackNumber < 1 { - invalidParams.Add(request.NewErrParamMinValue("Source608TrackNumber", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetHlsAkamaiSettings sets the HlsAkamaiSettings field's value. +func (s *HlsCdnSettings) SetHlsAkamaiSettings(v *HlsAkamaiSettings) *HlsCdnSettings { + s.HlsAkamaiSettings = v + return s } -// SetConvert608To708 sets the Convert608To708 field's value. -func (s *EmbeddedSourceSettings) SetConvert608To708(v string) *EmbeddedSourceSettings { - s.Convert608To708 = &v +// SetHlsBasicPutSettings sets the HlsBasicPutSettings field's value. +func (s *HlsCdnSettings) SetHlsBasicPutSettings(v *HlsBasicPutSettings) *HlsCdnSettings { + s.HlsBasicPutSettings = v return s } -// SetScte20Detection sets the Scte20Detection field's value. -func (s *EmbeddedSourceSettings) SetScte20Detection(v string) *EmbeddedSourceSettings { - s.Scte20Detection = &v +// SetHlsMediaStoreSettings sets the HlsMediaStoreSettings field's value. +func (s *HlsCdnSettings) SetHlsMediaStoreSettings(v *HlsMediaStoreSettings) *HlsCdnSettings { + s.HlsMediaStoreSettings = v return s } -// SetSource608ChannelNumber sets the Source608ChannelNumber field's value. -func (s *EmbeddedSourceSettings) SetSource608ChannelNumber(v int64) *EmbeddedSourceSettings { - s.Source608ChannelNumber = &v +// SetHlsS3Settings sets the HlsS3Settings field's value. +func (s *HlsCdnSettings) SetHlsS3Settings(v *HlsS3Settings) *HlsCdnSettings { + s.HlsS3Settings = v return s } -// SetSource608TrackNumber sets the Source608TrackNumber field's value. -func (s *EmbeddedSourceSettings) SetSource608TrackNumber(v int64) *EmbeddedSourceSettings { - s.Source608TrackNumber = &v +// SetHlsWebdavSettings sets the HlsWebdavSettings field's value. +func (s *HlsCdnSettings) SetHlsWebdavSettings(v *HlsWebdavSettings) *HlsCdnSettings { + s.HlsWebdavSettings = v return s } -// Encoder Settings -type EncoderSettings struct { +// Hls Group Settings +type HlsGroupSettings struct { _ struct{} `type:"structure"` - // AudioDescriptions is a required field - AudioDescriptions []*AudioDescription `locationName:"audioDescriptions" type:"list" required:"true"` + // Choose one or more ad marker types to pass SCTE35 signals through to this + // group of Apple HLS outputs. + AdMarkers []*string `locationName:"adMarkers" type:"list" enum:"HlsAdMarkers"` - // Settings for ad avail blanking. - AvailBlanking *AvailBlanking `locationName:"availBlanking" type:"structure"` + // A partial URI prefix that will be prepended to each output in the media .m3u8 + // file. Can be used if base manifest is delivered from a different URL than + // the main .m3u8 file. + BaseUrlContent *string `locationName:"baseUrlContent" type:"string"` - // Event-wide configuration settings for ad avail insertion. - AvailConfiguration *AvailConfiguration `locationName:"availConfiguration" type:"structure"` + // Optional. One value per output group.This field is required only if you are + // completing Base URL content A, and the downstream system has notified you + // that the media files for pipeline 1 of all outputs are in a location different + // from the media files for pipeline 0. + BaseUrlContent1 *string `locationName:"baseUrlContent1" type:"string"` - // Settings for blackout slate. - BlackoutSlate *BlackoutSlate `locationName:"blackoutSlate" type:"structure"` + // A partial URI prefix that will be prepended to each output in the media .m3u8 + // file. Can be used if base manifest is delivered from a different URL than + // the main .m3u8 file. + BaseUrlManifest *string `locationName:"baseUrlManifest" type:"string"` - // Settings for caption decriptions - CaptionDescriptions []*CaptionDescription `locationName:"captionDescriptions" type:"list"` + // Optional. One value per output group.Complete this field only if you are + // completing Base URL manifest A, and the downstream system has notified you + // that the child manifest files for pipeline 1 of all outputs are in a location + // different from the child manifest files for pipeline 0. + BaseUrlManifest1 *string `locationName:"baseUrlManifest1" type:"string"` - // Color Correction Settings - ColorCorrectionSettings *ColorCorrectionSettings `locationName:"colorCorrectionSettings" type:"structure"` + // Mapping of up to 4 caption channels to caption languages. Is only meaningful + // if captionLanguageSetting is set to "insert". + CaptionLanguageMappings []*CaptionLanguageMapping `locationName:"captionLanguageMappings" type:"list"` - // Feature Activations - FeatureActivations *FeatureActivations `locationName:"featureActivations" type:"structure"` + // Applies only to 608 Embedded output captions.insert: Include CLOSED-CAPTIONS + // lines in the manifest. Specify at least one language in the CC1 Language + // Code field. One CLOSED-CAPTION line is added for each Language Code you specify. + // Make sure to specify the languages in the order in which they appear in the + // original source (if the source is embedded format) or the order of the caption + // selectors (if the source is other than embedded). Otherwise, languages in + // the manifest will not match up properly with the output captions.none: Include + // CLOSED-CAPTIONS=NONE line in the manifest.omit: Omit any CLOSED-CAPTIONS + // line from the manifest. + CaptionLanguageSetting *string `locationName:"captionLanguageSetting" type:"string" enum:"HlsCaptionLanguageSetting"` - // Configuration settings that apply to the event as a whole. - GlobalConfiguration *GlobalConfiguration `locationName:"globalConfiguration" type:"structure"` + // When set to "disabled", sets the #EXT-X-ALLOW-CACHE:no tag in the manifest, + // which prevents clients from saving media segments for later replay. + ClientCache *string `locationName:"clientCache" type:"string" enum:"HlsClientCache"` - // Settings for motion graphics. - MotionGraphicsConfiguration *MotionGraphicsConfiguration `locationName:"motionGraphicsConfiguration" type:"structure"` + // Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist + // generation. + CodecSpecification *string `locationName:"codecSpecification" type:"string" enum:"HlsCodecSpecification"` - // Nielsen configuration settings. - NielsenConfiguration *NielsenConfiguration `locationName:"nielsenConfiguration" type:"structure"` + // For use with encryptionType. This is a 128-bit, 16-byte hex value represented + // by a 32-character text string. If ivSource is set to "explicit" then this + // parameter is required and is used as the IV for encryption. + ConstantIv *string `locationName:"constantIv" min:"32" type:"string"` - // OutputGroups is a required field - OutputGroups []*OutputGroup `locationName:"outputGroups" type:"list" required:"true"` + // A directory or HTTP destination for the HLS segments, manifest files, and + // encryption keys (if enabled). + // + // Destination is a required field + Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` - // Thumbnail configuration settings. - ThumbnailConfiguration *ThumbnailConfiguration `locationName:"thumbnailConfiguration" type:"structure"` + // Place segments in subdirectories. + DirectoryStructure *string `locationName:"directoryStructure" type:"string" enum:"HlsDirectoryStructure"` - // Contains settings used to acquire and adjust timecode information from inputs. - // - // TimecodeConfig is a required field - TimecodeConfig *TimecodeConfig `locationName:"timecodeConfig" type:"structure" required:"true"` + // Specifies whether to insert EXT-X-DISCONTINUITY tags in the HLS child manifests + // for this output group.Typically, choose Insert because these tags are required + // in the manifest (according to the HLS specification) and serve an important + // purpose.Choose Never Insert only if the downstream system is doing real-time + // failover (without using the MediaLive automatic failover feature) and only + // if that downstream system has advised you to exclude the tags. + DiscontinuityTags *string `locationName:"discontinuityTags" type:"string" enum:"HlsDiscontinuityTags"` - // VideoDescriptions is a required field - VideoDescriptions []*VideoDescription `locationName:"videoDescriptions" type:"list" required:"true"` + // Encrypts the segments with the given encryption scheme. Exclude this parameter + // if no encryption is desired. + EncryptionType *string `locationName:"encryptionType" type:"string" enum:"HlsEncryptionType"` + + // Parameters that control interactions with the CDN. + HlsCdnSettings *HlsCdnSettings `locationName:"hlsCdnSettings" type:"structure"` + + // State of HLS ID3 Segment Tagging + HlsId3SegmentTagging *string `locationName:"hlsId3SegmentTagging" type:"string" enum:"HlsId3SegmentTaggingState"` + + // DISABLED: Do not create an I-frame-only manifest, but do create the master + // and media manifests (according to the Output Selection field).STANDARD: Create + // an I-frame-only manifest for each output that contains video, as well as + // the other manifests (according to the Output Selection field). The I-frame + // manifest contains a #EXT-X-I-FRAMES-ONLY tag to indicate it is I-frame only, + // and one or more #EXT-X-BYTERANGE entries identifying the I-frame position. + // For example, #EXT-X-BYTERANGE:160364@1461888" + IFrameOnlyPlaylists *string `locationName:"iFrameOnlyPlaylists" type:"string" enum:"IFrameOnlyPlaylistType"` + + // Specifies whether to include the final (incomplete) segment in the media + // output when the pipeline stops producing output because of a channel stop, + // a channel pause or a loss of input to the pipeline.Auto means that MediaLive + // decides whether to include the final segment, depending on the channel class + // and the types of output groups.Suppress means to never include the incomplete + // segment. We recommend you choose Auto and let MediaLive control the behavior. + IncompleteSegmentBehavior *string `locationName:"incompleteSegmentBehavior" type:"string" enum:"HlsIncompleteSegmentBehavior"` + + // Applies only if Mode field is LIVE.Specifies the maximum number of segments + // in the media manifest file. After this maximum, older segments are removed + // from the media manifest. This number must be smaller than the number in the + // Keep Segments field. + IndexNSegments *int64 `locationName:"indexNSegments" min:"3" type:"integer"` + + // Parameter that control output group behavior on input loss. + InputLossAction *string `locationName:"inputLossAction" type:"string" enum:"InputLossActionForHlsOut"` + + // For use with encryptionType. The IV (Initialization Vector) is a 128-bit + // number used in conjunction with the key for encrypting blocks. If set to + // "include", IV is listed in the manifest, otherwise the IV is not in the manifest. + IvInManifest *string `locationName:"ivInManifest" type:"string" enum:"HlsIvInManifest"` + + // For use with encryptionType. The IV (Initialization Vector) is a 128-bit + // number used in conjunction with the key for encrypting blocks. If this setting + // is "followsSegmentNumber", it will cause the IV to change every segment (to + // match the segment number). If this is set to "explicit", you must enter a + // constantIv value. + IvSource *string `locationName:"ivSource" type:"string" enum:"HlsIvSource"` + + // Applies only if Mode field is LIVE.Specifies the number of media segments + // to retain in the destination directory. This number should be bigger than + // indexNSegments (Num segments). We recommend (value = (2 x indexNsegments) + // + 1).If this "keep segments" number is too low, the following might happen: + // the player is still reading a media manifest file that lists this segment, + // but that segment has been removed from the destination directory (as directed + // by indexNSegments). This situation would result in a 404 HTTP error on the + // player. + KeepSegments *int64 `locationName:"keepSegments" min:"1" type:"integer"` + + // The value specifies how the key is represented in the resource identified + // by the URI. If parameter is absent, an implicit value of "identity" is used. + // A reverse DNS string can also be given. + KeyFormat *string `locationName:"keyFormat" type:"string"` + + // Either a single positive integer version value or a slash delimited list + // of version values (1/2/3). + KeyFormatVersions *string `locationName:"keyFormatVersions" type:"string"` + + // The key provider settings. + KeyProviderSettings *KeyProviderSettings `locationName:"keyProviderSettings" type:"structure"` + + // When set to gzip, compresses HLS playlist. + ManifestCompression *string `locationName:"manifestCompression" type:"string" enum:"HlsManifestCompression"` + + // Indicates whether the output manifest should use floating point or integer + // values for segment duration. + ManifestDurationFormat *string `locationName:"manifestDurationFormat" type:"string" enum:"HlsManifestDurationFormat"` + + // Minimum length of MPEG-2 Transport Stream segments in seconds. When set, + // minimum segment length is enforced by looking ahead and back within the specified + // range for a nearby avail and extending the segment size if needed. + MinSegmentLength *int64 `locationName:"minSegmentLength" type:"integer"` + + // If "vod", all segments are indexed and kept permanently in the destination + // and manifest. If "live", only the number segments specified in keepSegments + // and indexNSegments are kept; newer segments replace older segments, which + // may prevent players from rewinding all the way to the beginning of the event.VOD + // mode uses HLS EXT-X-PLAYLIST-TYPE of EVENT while the channel is running, + // converting it to a "VOD" type manifest on completion of the stream. + Mode *string `locationName:"mode" type:"string" enum:"HlsMode"` + + // MANIFESTS_AND_SEGMENTS: Generates manifests (master manifest, if applicable, + // and media manifests) for this output group.VARIANT_MANIFESTS_AND_SEGMENTS: + // Generates media manifests for this output group, but not a master manifest.SEGMENTS_ONLY: + // Does not generate any manifests for this output group. + OutputSelection *string `locationName:"outputSelection" type:"string" enum:"HlsOutputSelection"` + + // Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files. + // The value is calculated using the program date time clock. + ProgramDateTime *string `locationName:"programDateTime" type:"string" enum:"HlsProgramDateTime"` + + // Specifies the algorithm used to drive the HLS EXT-X-PROGRAM-DATE-TIME clock. + // Options include:INITIALIZE_FROM_OUTPUT_TIMECODE: The PDT clock is initialized + // as a function of the first output timecode, then incremented by the EXTINF + // duration of each encoded segment.SYSTEM_CLOCK: The PDT clock is initialized + // as a function of the UTC wall clock, then incremented by the EXTINF duration + // of each encoded segment. If the PDT clock diverges from the wall clock by + // more than 500ms, it is resynchronized to the wall clock. + ProgramDateTimeClock *string `locationName:"programDateTimeClock" type:"string" enum:"HlsProgramDateTimeClock"` + + // Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds. + ProgramDateTimePeriod *int64 `locationName:"programDateTimePeriod" type:"integer"` + + // ENABLED: The master manifest (.m3u8 file) for each pipeline includes information + // about both pipelines: first its own media files, then the media files of + // the other pipeline. This feature allows playout device that support stale + // manifest detection to switch from one manifest to the other, when the current + // manifest seems to be stale. There are still two destinations and two master + // manifests, but both master manifests reference the media files from both + // pipelines.DISABLED: The master manifest (.m3u8 file) for each pipeline includes + // information about its own pipeline only.For an HLS output group with MediaPackage + // as the destination, the DISABLED behavior is always followed. MediaPackage + // regenerates the manifests it serves to players so a redundant manifest from + // MediaLive is irrelevant. + RedundantManifest *string `locationName:"redundantManifest" type:"string" enum:"HlsRedundantManifest"` + + // Length of MPEG-2 Transport Stream segments to create in seconds. Note that + // segments will end on the next keyframe after this duration, so actual segment + // length may be longer. + SegmentLength *int64 `locationName:"segmentLength" min:"1" type:"integer"` + + // useInputSegmentation has been deprecated. The configured segment size is + // always used. + SegmentationMode *string `locationName:"segmentationMode" type:"string" enum:"HlsSegmentationMode"` + + // Number of segments to write to a subdirectory before starting a new one. + // directoryStructure must be subdirectoryPerStream for this setting to have + // an effect. + SegmentsPerSubdirectory *int64 `locationName:"segmentsPerSubdirectory" min:"1" type:"integer"` + + // Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag + // of variant manifest. + StreamInfResolution *string `locationName:"streamInfResolution" type:"string" enum:"HlsStreamInfResolution"` + + // Indicates ID3 frame that has the timecode. + TimedMetadataId3Frame *string `locationName:"timedMetadataId3Frame" type:"string" enum:"HlsTimedMetadataId3Frame"` + + // Timed Metadata interval in seconds. + TimedMetadataId3Period *int64 `locationName:"timedMetadataId3Period" type:"integer"` + + // Provides an extra millisecond delta offset to fine tune the timestamps. + TimestampDeltaMilliseconds *int64 `locationName:"timestampDeltaMilliseconds" type:"integer"` + + // SEGMENTED_FILES: Emit the program as segments - multiple .ts media files.SINGLE_FILE: + // Applies only if Mode field is VOD. Emit the program as a single .ts media + // file. The media manifest includes #EXT-X-BYTERANGE tags to index segments + // for playback. A typical use for this value is when sending the output to + // AWS Elemental MediaConvert, which can accept only a single media file. Playback + // while the channel is running is not guaranteed due to HTTP server caching. + TsFileMode *string `locationName:"tsFileMode" type:"string" enum:"HlsTsFileMode"` } // String returns the string representation. @@ -16074,7 +24590,7 @@ type EncoderSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s EncoderSettings) String() string { +func (s HlsGroupSettings) String() string { return awsutil.Prettify(s) } @@ -16083,212 +24599,322 @@ func (s EncoderSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s EncoderSettings) GoString() string { +func (s HlsGroupSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *EncoderSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "EncoderSettings"} - if s.AudioDescriptions == nil { - invalidParams.Add(request.NewErrParamRequired("AudioDescriptions")) - } - if s.OutputGroups == nil { - invalidParams.Add(request.NewErrParamRequired("OutputGroups")) - } - if s.TimecodeConfig == nil { - invalidParams.Add(request.NewErrParamRequired("TimecodeConfig")) - } - if s.VideoDescriptions == nil { - invalidParams.Add(request.NewErrParamRequired("VideoDescriptions")) - } - if s.AudioDescriptions != nil { - for i, v := range s.AudioDescriptions { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AudioDescriptions", i), err.(request.ErrInvalidParams)) - } - } - } - if s.AvailBlanking != nil { - if err := s.AvailBlanking.Validate(); err != nil { - invalidParams.AddNested("AvailBlanking", err.(request.ErrInvalidParams)) - } - } - if s.AvailConfiguration != nil { - if err := s.AvailConfiguration.Validate(); err != nil { - invalidParams.AddNested("AvailConfiguration", err.(request.ErrInvalidParams)) - } +func (s *HlsGroupSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "HlsGroupSettings"} + if s.ConstantIv != nil && len(*s.ConstantIv) < 32 { + invalidParams.Add(request.NewErrParamMinLen("ConstantIv", 32)) } - if s.BlackoutSlate != nil { - if err := s.BlackoutSlate.Validate(); err != nil { - invalidParams.AddNested("BlackoutSlate", err.(request.ErrInvalidParams)) - } + if s.Destination == nil { + invalidParams.Add(request.NewErrParamRequired("Destination")) } - if s.CaptionDescriptions != nil { - for i, v := range s.CaptionDescriptions { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CaptionDescriptions", i), err.(request.ErrInvalidParams)) - } - } + if s.IndexNSegments != nil && *s.IndexNSegments < 3 { + invalidParams.Add(request.NewErrParamMinValue("IndexNSegments", 3)) } - if s.ColorCorrectionSettings != nil { - if err := s.ColorCorrectionSettings.Validate(); err != nil { - invalidParams.AddNested("ColorCorrectionSettings", err.(request.ErrInvalidParams)) - } + if s.KeepSegments != nil && *s.KeepSegments < 1 { + invalidParams.Add(request.NewErrParamMinValue("KeepSegments", 1)) } - if s.GlobalConfiguration != nil { - if err := s.GlobalConfiguration.Validate(); err != nil { - invalidParams.AddNested("GlobalConfiguration", err.(request.ErrInvalidParams)) - } + if s.SegmentLength != nil && *s.SegmentLength < 1 { + invalidParams.Add(request.NewErrParamMinValue("SegmentLength", 1)) } - if s.MotionGraphicsConfiguration != nil { - if err := s.MotionGraphicsConfiguration.Validate(); err != nil { - invalidParams.AddNested("MotionGraphicsConfiguration", err.(request.ErrInvalidParams)) - } + if s.SegmentsPerSubdirectory != nil && *s.SegmentsPerSubdirectory < 1 { + invalidParams.Add(request.NewErrParamMinValue("SegmentsPerSubdirectory", 1)) } - if s.OutputGroups != nil { - for i, v := range s.OutputGroups { + if s.CaptionLanguageMappings != nil { + for i, v := range s.CaptionLanguageMappings { if v == nil { continue } if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OutputGroups", i), err.(request.ErrInvalidParams)) + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CaptionLanguageMappings", i), err.(request.ErrInvalidParams)) } } } - if s.ThumbnailConfiguration != nil { - if err := s.ThumbnailConfiguration.Validate(); err != nil { - invalidParams.AddNested("ThumbnailConfiguration", err.(request.ErrInvalidParams)) - } - } - if s.TimecodeConfig != nil { - if err := s.TimecodeConfig.Validate(); err != nil { - invalidParams.AddNested("TimecodeConfig", err.(request.ErrInvalidParams)) + if s.KeyProviderSettings != nil { + if err := s.KeyProviderSettings.Validate(); err != nil { + invalidParams.AddNested("KeyProviderSettings", err.(request.ErrInvalidParams)) } } - if s.VideoDescriptions != nil { - for i, v := range s.VideoDescriptions { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "VideoDescriptions", i), err.(request.ErrInvalidParams)) - } - } + + if invalidParams.Len() > 0 { + return invalidParams } + return nil +} + +// SetAdMarkers sets the AdMarkers field's value. +func (s *HlsGroupSettings) SetAdMarkers(v []*string) *HlsGroupSettings { + s.AdMarkers = v + return s +} + +// SetBaseUrlContent sets the BaseUrlContent field's value. +func (s *HlsGroupSettings) SetBaseUrlContent(v string) *HlsGroupSettings { + s.BaseUrlContent = &v + return s +} + +// SetBaseUrlContent1 sets the BaseUrlContent1 field's value. +func (s *HlsGroupSettings) SetBaseUrlContent1(v string) *HlsGroupSettings { + s.BaseUrlContent1 = &v + return s +} + +// SetBaseUrlManifest sets the BaseUrlManifest field's value. +func (s *HlsGroupSettings) SetBaseUrlManifest(v string) *HlsGroupSettings { + s.BaseUrlManifest = &v + return s +} + +// SetBaseUrlManifest1 sets the BaseUrlManifest1 field's value. +func (s *HlsGroupSettings) SetBaseUrlManifest1(v string) *HlsGroupSettings { + s.BaseUrlManifest1 = &v + return s +} + +// SetCaptionLanguageMappings sets the CaptionLanguageMappings field's value. +func (s *HlsGroupSettings) SetCaptionLanguageMappings(v []*CaptionLanguageMapping) *HlsGroupSettings { + s.CaptionLanguageMappings = v + return s +} + +// SetCaptionLanguageSetting sets the CaptionLanguageSetting field's value. +func (s *HlsGroupSettings) SetCaptionLanguageSetting(v string) *HlsGroupSettings { + s.CaptionLanguageSetting = &v + return s +} + +// SetClientCache sets the ClientCache field's value. +func (s *HlsGroupSettings) SetClientCache(v string) *HlsGroupSettings { + s.ClientCache = &v + return s +} + +// SetCodecSpecification sets the CodecSpecification field's value. +func (s *HlsGroupSettings) SetCodecSpecification(v string) *HlsGroupSettings { + s.CodecSpecification = &v + return s +} + +// SetConstantIv sets the ConstantIv field's value. +func (s *HlsGroupSettings) SetConstantIv(v string) *HlsGroupSettings { + s.ConstantIv = &v + return s +} + +// SetDestination sets the Destination field's value. +func (s *HlsGroupSettings) SetDestination(v *OutputLocationRef) *HlsGroupSettings { + s.Destination = v + return s +} + +// SetDirectoryStructure sets the DirectoryStructure field's value. +func (s *HlsGroupSettings) SetDirectoryStructure(v string) *HlsGroupSettings { + s.DirectoryStructure = &v + return s +} + +// SetDiscontinuityTags sets the DiscontinuityTags field's value. +func (s *HlsGroupSettings) SetDiscontinuityTags(v string) *HlsGroupSettings { + s.DiscontinuityTags = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetEncryptionType sets the EncryptionType field's value. +func (s *HlsGroupSettings) SetEncryptionType(v string) *HlsGroupSettings { + s.EncryptionType = &v + return s } -// SetAudioDescriptions sets the AudioDescriptions field's value. -func (s *EncoderSettings) SetAudioDescriptions(v []*AudioDescription) *EncoderSettings { - s.AudioDescriptions = v +// SetHlsCdnSettings sets the HlsCdnSettings field's value. +func (s *HlsGroupSettings) SetHlsCdnSettings(v *HlsCdnSettings) *HlsGroupSettings { + s.HlsCdnSettings = v return s } -// SetAvailBlanking sets the AvailBlanking field's value. -func (s *EncoderSettings) SetAvailBlanking(v *AvailBlanking) *EncoderSettings { - s.AvailBlanking = v +// SetHlsId3SegmentTagging sets the HlsId3SegmentTagging field's value. +func (s *HlsGroupSettings) SetHlsId3SegmentTagging(v string) *HlsGroupSettings { + s.HlsId3SegmentTagging = &v return s } -// SetAvailConfiguration sets the AvailConfiguration field's value. -func (s *EncoderSettings) SetAvailConfiguration(v *AvailConfiguration) *EncoderSettings { - s.AvailConfiguration = v +// SetIFrameOnlyPlaylists sets the IFrameOnlyPlaylists field's value. +func (s *HlsGroupSettings) SetIFrameOnlyPlaylists(v string) *HlsGroupSettings { + s.IFrameOnlyPlaylists = &v return s } -// SetBlackoutSlate sets the BlackoutSlate field's value. -func (s *EncoderSettings) SetBlackoutSlate(v *BlackoutSlate) *EncoderSettings { - s.BlackoutSlate = v +// SetIncompleteSegmentBehavior sets the IncompleteSegmentBehavior field's value. +func (s *HlsGroupSettings) SetIncompleteSegmentBehavior(v string) *HlsGroupSettings { + s.IncompleteSegmentBehavior = &v return s } -// SetCaptionDescriptions sets the CaptionDescriptions field's value. -func (s *EncoderSettings) SetCaptionDescriptions(v []*CaptionDescription) *EncoderSettings { - s.CaptionDescriptions = v +// SetIndexNSegments sets the IndexNSegments field's value. +func (s *HlsGroupSettings) SetIndexNSegments(v int64) *HlsGroupSettings { + s.IndexNSegments = &v return s } -// SetColorCorrectionSettings sets the ColorCorrectionSettings field's value. -func (s *EncoderSettings) SetColorCorrectionSettings(v *ColorCorrectionSettings) *EncoderSettings { - s.ColorCorrectionSettings = v +// SetInputLossAction sets the InputLossAction field's value. +func (s *HlsGroupSettings) SetInputLossAction(v string) *HlsGroupSettings { + s.InputLossAction = &v return s } -// SetFeatureActivations sets the FeatureActivations field's value. -func (s *EncoderSettings) SetFeatureActivations(v *FeatureActivations) *EncoderSettings { - s.FeatureActivations = v +// SetIvInManifest sets the IvInManifest field's value. +func (s *HlsGroupSettings) SetIvInManifest(v string) *HlsGroupSettings { + s.IvInManifest = &v return s } -// SetGlobalConfiguration sets the GlobalConfiguration field's value. -func (s *EncoderSettings) SetGlobalConfiguration(v *GlobalConfiguration) *EncoderSettings { - s.GlobalConfiguration = v +// SetIvSource sets the IvSource field's value. +func (s *HlsGroupSettings) SetIvSource(v string) *HlsGroupSettings { + s.IvSource = &v return s } -// SetMotionGraphicsConfiguration sets the MotionGraphicsConfiguration field's value. -func (s *EncoderSettings) SetMotionGraphicsConfiguration(v *MotionGraphicsConfiguration) *EncoderSettings { - s.MotionGraphicsConfiguration = v +// SetKeepSegments sets the KeepSegments field's value. +func (s *HlsGroupSettings) SetKeepSegments(v int64) *HlsGroupSettings { + s.KeepSegments = &v return s } -// SetNielsenConfiguration sets the NielsenConfiguration field's value. -func (s *EncoderSettings) SetNielsenConfiguration(v *NielsenConfiguration) *EncoderSettings { - s.NielsenConfiguration = v +// SetKeyFormat sets the KeyFormat field's value. +func (s *HlsGroupSettings) SetKeyFormat(v string) *HlsGroupSettings { + s.KeyFormat = &v return s } -// SetOutputGroups sets the OutputGroups field's value. -func (s *EncoderSettings) SetOutputGroups(v []*OutputGroup) *EncoderSettings { - s.OutputGroups = v +// SetKeyFormatVersions sets the KeyFormatVersions field's value. +func (s *HlsGroupSettings) SetKeyFormatVersions(v string) *HlsGroupSettings { + s.KeyFormatVersions = &v return s } -// SetThumbnailConfiguration sets the ThumbnailConfiguration field's value. -func (s *EncoderSettings) SetThumbnailConfiguration(v *ThumbnailConfiguration) *EncoderSettings { - s.ThumbnailConfiguration = v +// SetKeyProviderSettings sets the KeyProviderSettings field's value. +func (s *HlsGroupSettings) SetKeyProviderSettings(v *KeyProviderSettings) *HlsGroupSettings { + s.KeyProviderSettings = v return s } -// SetTimecodeConfig sets the TimecodeConfig field's value. -func (s *EncoderSettings) SetTimecodeConfig(v *TimecodeConfig) *EncoderSettings { - s.TimecodeConfig = v +// SetManifestCompression sets the ManifestCompression field's value. +func (s *HlsGroupSettings) SetManifestCompression(v string) *HlsGroupSettings { + s.ManifestCompression = &v return s } -// SetVideoDescriptions sets the VideoDescriptions field's value. -func (s *EncoderSettings) SetVideoDescriptions(v []*VideoDescription) *EncoderSettings { - s.VideoDescriptions = v +// SetManifestDurationFormat sets the ManifestDurationFormat field's value. +func (s *HlsGroupSettings) SetManifestDurationFormat(v string) *HlsGroupSettings { + s.ManifestDurationFormat = &v return s } -// Epoch Locking Settings -type EpochLockingSettings struct { +// SetMinSegmentLength sets the MinSegmentLength field's value. +func (s *HlsGroupSettings) SetMinSegmentLength(v int64) *HlsGroupSettings { + s.MinSegmentLength = &v + return s +} + +// SetMode sets the Mode field's value. +func (s *HlsGroupSettings) SetMode(v string) *HlsGroupSettings { + s.Mode = &v + return s +} + +// SetOutputSelection sets the OutputSelection field's value. +func (s *HlsGroupSettings) SetOutputSelection(v string) *HlsGroupSettings { + s.OutputSelection = &v + return s +} + +// SetProgramDateTime sets the ProgramDateTime field's value. +func (s *HlsGroupSettings) SetProgramDateTime(v string) *HlsGroupSettings { + s.ProgramDateTime = &v + return s +} + +// SetProgramDateTimeClock sets the ProgramDateTimeClock field's value. +func (s *HlsGroupSettings) SetProgramDateTimeClock(v string) *HlsGroupSettings { + s.ProgramDateTimeClock = &v + return s +} + +// SetProgramDateTimePeriod sets the ProgramDateTimePeriod field's value. +func (s *HlsGroupSettings) SetProgramDateTimePeriod(v int64) *HlsGroupSettings { + s.ProgramDateTimePeriod = &v + return s +} + +// SetRedundantManifest sets the RedundantManifest field's value. +func (s *HlsGroupSettings) SetRedundantManifest(v string) *HlsGroupSettings { + s.RedundantManifest = &v + return s +} + +// SetSegmentLength sets the SegmentLength field's value. +func (s *HlsGroupSettings) SetSegmentLength(v int64) *HlsGroupSettings { + s.SegmentLength = &v + return s +} + +// SetSegmentationMode sets the SegmentationMode field's value. +func (s *HlsGroupSettings) SetSegmentationMode(v string) *HlsGroupSettings { + s.SegmentationMode = &v + return s +} + +// SetSegmentsPerSubdirectory sets the SegmentsPerSubdirectory field's value. +func (s *HlsGroupSettings) SetSegmentsPerSubdirectory(v int64) *HlsGroupSettings { + s.SegmentsPerSubdirectory = &v + return s +} + +// SetStreamInfResolution sets the StreamInfResolution field's value. +func (s *HlsGroupSettings) SetStreamInfResolution(v string) *HlsGroupSettings { + s.StreamInfResolution = &v + return s +} + +// SetTimedMetadataId3Frame sets the TimedMetadataId3Frame field's value. +func (s *HlsGroupSettings) SetTimedMetadataId3Frame(v string) *HlsGroupSettings { + s.TimedMetadataId3Frame = &v + return s +} + +// SetTimedMetadataId3Period sets the TimedMetadataId3Period field's value. +func (s *HlsGroupSettings) SetTimedMetadataId3Period(v int64) *HlsGroupSettings { + s.TimedMetadataId3Period = &v + return s +} + +// SetTimestampDeltaMilliseconds sets the TimestampDeltaMilliseconds field's value. +func (s *HlsGroupSettings) SetTimestampDeltaMilliseconds(v int64) *HlsGroupSettings { + s.TimestampDeltaMilliseconds = &v + return s +} + +// SetTsFileMode sets the TsFileMode field's value. +func (s *HlsGroupSettings) SetTsFileMode(v string) *HlsGroupSettings { + s.TsFileMode = &v + return s +} + +// Settings for the action to insert a user-defined ID3 tag in each HLS segment +type HlsId3SegmentTaggingScheduleActionSettings struct { _ struct{} `type:"structure"` - // Optional. Enter a value here to use a custom epoch, instead of the standard - // epoch (which started at 1970-01-01T00:00:00 UTC). Specify the start time - // of the custom epoch, in YYYY-MM-DDTHH:MM:SS in UTC. The time must be 2000-01-01T00:00:00 - // or later. Always set the MM:SS portion to 00:00. - CustomEpoch *string `locationName:"customEpoch" type:"string"` + // Base64 string formatted according to the ID3 specification: http://id3.org/id3v2.4.0-structure + Id3 *string `locationName:"id3" type:"string"` - // Optional. Enter a time for the jam sync. The default is midnight UTC. When - // epoch locking is enabled, MediaLive performs a daily jam sync on every output - // encode to ensure timecodes don’t diverge from the wall clock. The jam sync - // applies only to encodes with frame rate of 29.97 or 59.94 FPS. To override, - // enter a time in HH:MM:SS in UTC. Always set the MM:SS portion to 00:00. - JamSyncTime *string `locationName:"jamSyncTime" type:"string"` + // ID3 tag to insert into each segment. Supports special keyword identifiers + // to substitute in segment-related values.\nSupported keyword identifiers: + // https://docs.aws.amazon.com/medialive/latest/ug/variable-data-identifiers.html + Tag *string `locationName:"tag" type:"string"` } // String returns the string representation. @@ -16296,7 +24922,7 @@ type EpochLockingSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s EpochLockingSettings) String() string { +func (s HlsId3SegmentTaggingScheduleActionSettings) String() string { return awsutil.Prettify(s) } @@ -16305,58 +24931,50 @@ func (s EpochLockingSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s EpochLockingSettings) GoString() string { +func (s HlsId3SegmentTaggingScheduleActionSettings) GoString() string { return s.String() } -// SetCustomEpoch sets the CustomEpoch field's value. -func (s *EpochLockingSettings) SetCustomEpoch(v string) *EpochLockingSettings { - s.CustomEpoch = &v +// SetId3 sets the Id3 field's value. +func (s *HlsId3SegmentTaggingScheduleActionSettings) SetId3(v string) *HlsId3SegmentTaggingScheduleActionSettings { + s.Id3 = &v return s } -// SetJamSyncTime sets the JamSyncTime field's value. -func (s *EpochLockingSettings) SetJamSyncTime(v string) *EpochLockingSettings { - s.JamSyncTime = &v +// SetTag sets the Tag field's value. +func (s *HlsId3SegmentTaggingScheduleActionSettings) SetTag(v string) *HlsId3SegmentTaggingScheduleActionSettings { + s.Tag = &v return s } -// Esam -type Esam struct { +// Hls Input Settings +type HlsInputSettings struct { _ struct{} `type:"structure"` - // Sent as acquisitionPointIdentity to identify the MediaLive channel to the - // POIS. - // - // AcquisitionPointId is a required field - AcquisitionPointId *string `locationName:"acquisitionPointId" type:"string" required:"true"` - - // When specified, this offset (in milliseconds) is added to the input Ad Avail - // PTS time. This only applies to embedded SCTE 104/35 messages and does not - // apply to OOB messages. - AdAvailOffset *int64 `locationName:"adAvailOffset" type:"integer"` + // When specified the HLS stream with the m3u8 BANDWIDTH that most closely matches + // this value will be chosen, otherwise the highest bandwidth stream in the + // m3u8 will be chosen. The bitrate is specified in bits per second, as in an + // HLS manifest. + Bandwidth *int64 `locationName:"bandwidth" type:"integer"` - // Reference to an AWS parameter store name from which the password can be retrieved - // if credentials are required to access the POIS endpoint. AWS Parameter store - // format: "ssm://" - PasswordParam *string `locationName:"passwordParam" type:"string"` + // When specified, reading of the HLS input will begin this many buffer segments + // from the end (most recently written segment). When not specified, the HLS + // input will begin with the first segment specified in the m3u8. + BufferSegments *int64 `locationName:"bufferSegments" type:"integer"` - // The URL of the signal conditioner endpoint on the Placement Opportunity Information - // System (POIS). MediaLive sends SignalProcessingEvents here when SCTE-35 messages - // are read. - // - // PoisEndpoint is a required field - PoisEndpoint *string `locationName:"poisEndpoint" type:"string" required:"true"` + // The number of consecutive times that attempts to read a manifest or segment + // must fail before the input is considered unavailable. + Retries *int64 `locationName:"retries" type:"integer"` - // Username if credentials are required to access the POIS endpoint. This can - // be either a plaintext username, or a reference to an AWS parameter store - // name from which the username can be retrieved. AWS Parameter store format: - // "ssm://" - Username *string `locationName:"username" type:"string"` + // The number of seconds between retries when an attempt to read a manifest + // or segment fails. + RetryInterval *int64 `locationName:"retryInterval" type:"integer"` - // Optional data sent as zoneIdentity to identify the MediaLive channel to the - // POIS. - ZoneIdentity *string `locationName:"zoneIdentity" type:"string"` + // Identifies the source for the SCTE-35 messages that MediaLive will ingest. + // Messages can be ingested from the content segments (in the stream) or from + // tags in the playlist (the HLS manifest). MediaLive ignores SCTE-35 information + // in the source that is not selected. + Scte35Source *string `locationName:"scte35Source" type:"string" enum:"HlsScte35SourceType"` } // String returns the string representation. @@ -16364,7 +24982,7 @@ type Esam struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Esam) String() string { +func (s HlsInputSettings) String() string { return awsutil.Prettify(s) } @@ -16373,72 +24991,63 @@ func (s Esam) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Esam) GoString() string { +func (s HlsInputSettings) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *Esam) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "Esam"} - if s.AcquisitionPointId == nil { - invalidParams.Add(request.NewErrParamRequired("AcquisitionPointId")) - } - if s.AdAvailOffset != nil && *s.AdAvailOffset < -1000 { - invalidParams.Add(request.NewErrParamMinValue("AdAvailOffset", -1000)) - } - if s.PoisEndpoint == nil { - invalidParams.Add(request.NewErrParamRequired("PoisEndpoint")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAcquisitionPointId sets the AcquisitionPointId field's value. -func (s *Esam) SetAcquisitionPointId(v string) *Esam { - s.AcquisitionPointId = &v - return s -} - -// SetAdAvailOffset sets the AdAvailOffset field's value. -func (s *Esam) SetAdAvailOffset(v int64) *Esam { - s.AdAvailOffset = &v +// SetBandwidth sets the Bandwidth field's value. +func (s *HlsInputSettings) SetBandwidth(v int64) *HlsInputSettings { + s.Bandwidth = &v return s } -// SetPasswordParam sets the PasswordParam field's value. -func (s *Esam) SetPasswordParam(v string) *Esam { - s.PasswordParam = &v +// SetBufferSegments sets the BufferSegments field's value. +func (s *HlsInputSettings) SetBufferSegments(v int64) *HlsInputSettings { + s.BufferSegments = &v return s } -// SetPoisEndpoint sets the PoisEndpoint field's value. -func (s *Esam) SetPoisEndpoint(v string) *Esam { - s.PoisEndpoint = &v +// SetRetries sets the Retries field's value. +func (s *HlsInputSettings) SetRetries(v int64) *HlsInputSettings { + s.Retries = &v return s } -// SetUsername sets the Username field's value. -func (s *Esam) SetUsername(v string) *Esam { - s.Username = &v +// SetRetryInterval sets the RetryInterval field's value. +func (s *HlsInputSettings) SetRetryInterval(v int64) *HlsInputSettings { + s.RetryInterval = &v return s } -// SetZoneIdentity sets the ZoneIdentity field's value. -func (s *Esam) SetZoneIdentity(v string) *Esam { - s.ZoneIdentity = &v +// SetScte35Source sets the Scte35Source field's value. +func (s *HlsInputSettings) SetScte35Source(v string) *HlsInputSettings { + s.Scte35Source = &v return s } -// Failover Condition settings. There can be multiple failover conditions inside -// AutomaticInputFailoverSettings. -type FailoverCondition struct { +// Hls Media Store Settings +type HlsMediaStoreSettings struct { _ struct{} `type:"structure"` - // Failover condition type-specific settings. - FailoverConditionSettings *FailoverConditionSettings `locationName:"failoverConditionSettings" type:"structure"` + // Number of seconds to wait before retrying connection to the CDN if the connection + // is lost. + ConnectionRetryInterval *int64 `locationName:"connectionRetryInterval" type:"integer"` + + // Size in seconds of file cache for streaming outputs. + FilecacheDuration *int64 `locationName:"filecacheDuration" type:"integer"` + + // When set to temporal, output files are stored in non-persistent memory for + // faster reading and writing. + MediaStoreStorageClass *string `locationName:"mediaStoreStorageClass" type:"string" enum:"HlsMediaStoreStorageClass"` + + // Number of retry attempts that will be made before the Live Event is put into + // an error state. Applies only if the CDN destination URI begins with "s3" + // or "mediastore". For other URIs, the value is always 3. + NumRetries *int64 `locationName:"numRetries" type:"integer"` + + // If a streaming output fails, number of seconds to wait until a restart is + // initiated. A value of 0 means never restart. + RestartDelay *int64 `locationName:"restartDelay" type:"integer"` } // String returns the string representation. @@ -16446,7 +25055,7 @@ type FailoverCondition struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FailoverCondition) String() string { +func (s HlsMediaStoreSettings) String() string { return awsutil.Prettify(s) } @@ -16455,46 +25064,60 @@ func (s FailoverCondition) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FailoverCondition) GoString() string { +func (s HlsMediaStoreSettings) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *FailoverCondition) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "FailoverCondition"} - if s.FailoverConditionSettings != nil { - if err := s.FailoverConditionSettings.Validate(); err != nil { - invalidParams.AddNested("FailoverConditionSettings", err.(request.ErrInvalidParams)) - } - } +// SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. +func (s *HlsMediaStoreSettings) SetConnectionRetryInterval(v int64) *HlsMediaStoreSettings { + s.ConnectionRetryInterval = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetFilecacheDuration sets the FilecacheDuration field's value. +func (s *HlsMediaStoreSettings) SetFilecacheDuration(v int64) *HlsMediaStoreSettings { + s.FilecacheDuration = &v + return s } -// SetFailoverConditionSettings sets the FailoverConditionSettings field's value. -func (s *FailoverCondition) SetFailoverConditionSettings(v *FailoverConditionSettings) *FailoverCondition { - s.FailoverConditionSettings = v +// SetMediaStoreStorageClass sets the MediaStoreStorageClass field's value. +func (s *HlsMediaStoreSettings) SetMediaStoreStorageClass(v string) *HlsMediaStoreSettings { + s.MediaStoreStorageClass = &v return s } -// Settings for one failover condition. -type FailoverConditionSettings struct { +// SetNumRetries sets the NumRetries field's value. +func (s *HlsMediaStoreSettings) SetNumRetries(v int64) *HlsMediaStoreSettings { + s.NumRetries = &v + return s +} + +// SetRestartDelay sets the RestartDelay field's value. +func (s *HlsMediaStoreSettings) SetRestartDelay(v int64) *HlsMediaStoreSettings { + s.RestartDelay = &v + return s +} + +// Hls Output Settings +type HlsOutputSettings struct { _ struct{} `type:"structure"` - // MediaLive will perform a failover if the specified audio selector is silent - // for the specified period. - AudioSilenceSettings *AudioSilenceFailoverSettings `locationName:"audioSilenceSettings" type:"structure"` + // Only applicable when this output is referencing an H.265 video description.Specifies + // whether MP4 segments should be packaged as HEV1 or HVC1. + H265PackagingType *string `locationName:"h265PackagingType" type:"string" enum:"HlsH265PackagingType"` - // MediaLive will perform a failover if content is not detected in this input - // for the specified period. - InputLossSettings *InputLossFailoverSettings `locationName:"inputLossSettings" type:"structure"` + // Settings regarding the underlying stream. These settings are different for + // audio-only outputs. + // + // HlsSettings is a required field + HlsSettings *HlsSettings `locationName:"hlsSettings" type:"structure" required:"true"` - // MediaLive will perform a failover if content is considered black for the - // specified period. - VideoBlackSettings *VideoBlackFailoverSettings `locationName:"videoBlackSettings" type:"structure"` + // String concatenated to the end of the destination filename. Accepts \"Format + // Identifiers\":#formatIdentifierParameters. + NameModifier *string `locationName:"nameModifier" min:"1" type:"string"` + + // String concatenated to end of segment filenames. + SegmentModifier *string `locationName:"segmentModifier" type:"string"` } // String returns the string representation. @@ -16502,7 +25125,7 @@ type FailoverConditionSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FailoverConditionSettings) String() string { +func (s HlsOutputSettings) String() string { return awsutil.Prettify(s) } @@ -16511,26 +25134,22 @@ func (s FailoverConditionSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FailoverConditionSettings) GoString() string { +func (s HlsOutputSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *FailoverConditionSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "FailoverConditionSettings"} - if s.AudioSilenceSettings != nil { - if err := s.AudioSilenceSettings.Validate(); err != nil { - invalidParams.AddNested("AudioSilenceSettings", err.(request.ErrInvalidParams)) - } +func (s *HlsOutputSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "HlsOutputSettings"} + if s.HlsSettings == nil { + invalidParams.Add(request.NewErrParamRequired("HlsSettings")) } - if s.InputLossSettings != nil { - if err := s.InputLossSettings.Validate(); err != nil { - invalidParams.AddNested("InputLossSettings", err.(request.ErrInvalidParams)) - } + if s.NameModifier != nil && len(*s.NameModifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NameModifier", 1)) } - if s.VideoBlackSettings != nil { - if err := s.VideoBlackSettings.Validate(); err != nil { - invalidParams.AddNested("VideoBlackSettings", err.(request.ErrInvalidParams)) + if s.HlsSettings != nil { + if err := s.HlsSettings.Validate(); err != nil { + invalidParams.AddNested("HlsSettings", err.(request.ErrInvalidParams)) } } @@ -16540,38 +25159,36 @@ func (s *FailoverConditionSettings) Validate() error { return nil } -// SetAudioSilenceSettings sets the AudioSilenceSettings field's value. -func (s *FailoverConditionSettings) SetAudioSilenceSettings(v *AudioSilenceFailoverSettings) *FailoverConditionSettings { - s.AudioSilenceSettings = v +// SetH265PackagingType sets the H265PackagingType field's value. +func (s *HlsOutputSettings) SetH265PackagingType(v string) *HlsOutputSettings { + s.H265PackagingType = &v return s } -// SetInputLossSettings sets the InputLossSettings field's value. -func (s *FailoverConditionSettings) SetInputLossSettings(v *InputLossFailoverSettings) *FailoverConditionSettings { - s.InputLossSettings = v +// SetHlsSettings sets the HlsSettings field's value. +func (s *HlsOutputSettings) SetHlsSettings(v *HlsSettings) *HlsOutputSettings { + s.HlsSettings = v return s } -// SetVideoBlackSettings sets the VideoBlackSettings field's value. -func (s *FailoverConditionSettings) SetVideoBlackSettings(v *VideoBlackFailoverSettings) *FailoverConditionSettings { - s.VideoBlackSettings = v +// SetNameModifier sets the NameModifier field's value. +func (s *HlsOutputSettings) SetNameModifier(v string) *HlsOutputSettings { + s.NameModifier = &v return s } -// Feature Activations -type FeatureActivations struct { - _ struct{} `type:"structure"` +// SetSegmentModifier sets the SegmentModifier field's value. +func (s *HlsOutputSettings) SetSegmentModifier(v string) *HlsOutputSettings { + s.SegmentModifier = &v + return s +} - // Enables the Input Prepare feature. You can create Input Prepare actions in - // the schedule only if this feature is enabled.If you disable the feature on - // an existing schedule, make sure that you first delete all input prepare actions - // from the schedule. - InputPrepareScheduleActions *string `locationName:"inputPrepareScheduleActions" type:"string" enum:"FeatureActivationsInputPrepareScheduleActions"` +// Hls S3 Settings +type HlsS3Settings struct { + _ struct{} `type:"structure"` - // Enables the output static image overlay feature. Enabling this feature allows - // you to send channel schedule updatesto display/clear/modify image overlays - // on an output-by-output bases. - OutputStaticImageOverlayScheduleActions *string `locationName:"outputStaticImageOverlayScheduleActions" type:"string" enum:"FeatureActivationsOutputStaticImageOverlayScheduleActions"` + // Specify the canned ACL to apply to each S3 request. Defaults to none. + CannedAcl *string `locationName:"cannedAcl" type:"string" enum:"S3CannedAcl"` } // String returns the string representation. @@ -16579,7 +25196,7 @@ type FeatureActivations struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FeatureActivations) String() string { +func (s HlsS3Settings) String() string { return awsutil.Prettify(s) } @@ -16588,41 +25205,31 @@ func (s FeatureActivations) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FeatureActivations) GoString() string { +func (s HlsS3Settings) GoString() string { return s.String() } -// SetInputPrepareScheduleActions sets the InputPrepareScheduleActions field's value. -func (s *FeatureActivations) SetInputPrepareScheduleActions(v string) *FeatureActivations { - s.InputPrepareScheduleActions = &v - return s -} - -// SetOutputStaticImageOverlayScheduleActions sets the OutputStaticImageOverlayScheduleActions field's value. -func (s *FeatureActivations) SetOutputStaticImageOverlayScheduleActions(v string) *FeatureActivations { - s.OutputStaticImageOverlayScheduleActions = &v +// SetCannedAcl sets the CannedAcl field's value. +func (s *HlsS3Settings) SetCannedAcl(v string) *HlsS3Settings { + s.CannedAcl = &v return s } -// Fec Output Settings -type FecOutputSettings struct { +// Hls Settings +type HlsSettings struct { _ struct{} `type:"structure"` - // Parameter D from SMPTE 2022-1. The height of the FEC protection matrix. The - // number of transport stream packets per column error correction packet. Must - // be between 4 and 20, inclusive. - ColumnDepth *int64 `locationName:"columnDepth" min:"4" type:"integer"` + // Audio Only Hls Settings + AudioOnlyHlsSettings *AudioOnlyHlsSettings `locationName:"audioOnlyHlsSettings" type:"structure"` - // Enables column only or column and row based FEC - IncludeFec *string `locationName:"includeFec" type:"string" enum:"FecOutputIncludeFec"` + // Fmp4 Hls Settings + Fmp4HlsSettings *Fmp4HlsSettings `locationName:"fmp4HlsSettings" type:"structure"` - // Parameter L from SMPTE 2022-1. The width of the FEC protection matrix. Must - // be between 1 and 20, inclusive. If only Column FEC is used, then larger values - // increase robustness. If Row FEC is used, then this is the number of transport - // stream packets per row error correction packet, and the value must be between - // 4 and 20, inclusive, if includeFec is columnAndRow. If includeFec is column, - // this value must be 1 to 20, inclusive. - RowLength *int64 `locationName:"rowLength" min:"1" type:"integer"` + // Frame Capture Hls Settings + FrameCaptureHlsSettings *FrameCaptureHlsSettings `locationName:"frameCaptureHlsSettings" type:"structure"` + + // Standard Hls Settings + StandardHlsSettings *StandardHlsSettings `locationName:"standardHlsSettings" type:"structure"` } // String returns the string representation. @@ -16630,7 +25237,7 @@ type FecOutputSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FecOutputSettings) String() string { +func (s HlsSettings) String() string { return awsutil.Prettify(s) } @@ -16639,18 +25246,22 @@ func (s FecOutputSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FecOutputSettings) GoString() string { +func (s HlsSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *FecOutputSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "FecOutputSettings"} - if s.ColumnDepth != nil && *s.ColumnDepth < 4 { - invalidParams.Add(request.NewErrParamMinValue("ColumnDepth", 4)) +func (s *HlsSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "HlsSettings"} + if s.AudioOnlyHlsSettings != nil { + if err := s.AudioOnlyHlsSettings.Validate(); err != nil { + invalidParams.AddNested("AudioOnlyHlsSettings", err.(request.ErrInvalidParams)) + } } - if s.RowLength != nil && *s.RowLength < 1 { - invalidParams.Add(request.NewErrParamMinValue("RowLength", 1)) + if s.StandardHlsSettings != nil { + if err := s.StandardHlsSettings.Validate(); err != nil { + invalidParams.AddNested("StandardHlsSettings", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -16659,36 +25270,38 @@ func (s *FecOutputSettings) Validate() error { return nil } -// SetColumnDepth sets the ColumnDepth field's value. -func (s *FecOutputSettings) SetColumnDepth(v int64) *FecOutputSettings { - s.ColumnDepth = &v +// SetAudioOnlyHlsSettings sets the AudioOnlyHlsSettings field's value. +func (s *HlsSettings) SetAudioOnlyHlsSettings(v *AudioOnlyHlsSettings) *HlsSettings { + s.AudioOnlyHlsSettings = v return s } -// SetIncludeFec sets the IncludeFec field's value. -func (s *FecOutputSettings) SetIncludeFec(v string) *FecOutputSettings { - s.IncludeFec = &v +// SetFmp4HlsSettings sets the Fmp4HlsSettings field's value. +func (s *HlsSettings) SetFmp4HlsSettings(v *Fmp4HlsSettings) *HlsSettings { + s.Fmp4HlsSettings = v return s } -// SetRowLength sets the RowLength field's value. -func (s *FecOutputSettings) SetRowLength(v int64) *FecOutputSettings { - s.RowLength = &v +// SetFrameCaptureHlsSettings sets the FrameCaptureHlsSettings field's value. +func (s *HlsSettings) SetFrameCaptureHlsSettings(v *FrameCaptureHlsSettings) *HlsSettings { + s.FrameCaptureHlsSettings = v return s } -// Start time for the action. -type FixedModeScheduleActionStartSettings struct { +// SetStandardHlsSettings sets the StandardHlsSettings field's value. +func (s *HlsSettings) SetStandardHlsSettings(v *StandardHlsSettings) *HlsSettings { + s.StandardHlsSettings = v + return s +} + +// Settings for the action to emit HLS metadata +type HlsTimedMetadataScheduleActionSettings struct { _ struct{} `type:"structure"` - // Start time for the action to start in the channel. (Not the time for the - // action to be added to the schedule: actions are always added to the schedule - // immediately.) UTC format: yyyy-mm-ddThh:mm:ss.nnnZ. All the letters are digits - // (for example, mm might be 01) except for the two constants "T" for time and - // "Z" for "UTC format". + // Base64 string formatted according to the ID3 specification: http://id3.org/id3v2.4.0-structure // - // Time is a required field - Time *string `locationName:"time" type:"string" required:"true"` + // Id3 is a required field + Id3 *string `locationName:"id3" type:"string" required:"true"` } // String returns the string representation. @@ -16696,7 +25309,7 @@ type FixedModeScheduleActionStartSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FixedModeScheduleActionStartSettings) String() string { +func (s HlsTimedMetadataScheduleActionSettings) String() string { return awsutil.Prettify(s) } @@ -16705,15 +25318,15 @@ func (s FixedModeScheduleActionStartSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FixedModeScheduleActionStartSettings) GoString() string { +func (s HlsTimedMetadataScheduleActionSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *FixedModeScheduleActionStartSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "FixedModeScheduleActionStartSettings"} - if s.Time == nil { - invalidParams.Add(request.NewErrParamRequired("Time")) +func (s *HlsTimedMetadataScheduleActionSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "HlsTimedMetadataScheduleActionSettings"} + if s.Id3 == nil { + invalidParams.Add(request.NewErrParamRequired("Id3")) } if invalidParams.Len() > 0 { @@ -16722,27 +25335,34 @@ func (s *FixedModeScheduleActionStartSettings) Validate() error { return nil } -// SetTime sets the Time field's value. -func (s *FixedModeScheduleActionStartSettings) SetTime(v string) *FixedModeScheduleActionStartSettings { - s.Time = &v +// SetId3 sets the Id3 field's value. +func (s *HlsTimedMetadataScheduleActionSettings) SetId3(v string) *HlsTimedMetadataScheduleActionSettings { + s.Id3 = &v return s } -// Fmp4 Hls Settings -type Fmp4HlsSettings struct { +// Hls Webdav Settings +type HlsWebdavSettings struct { _ struct{} `type:"structure"` - // List all the audio groups that are used with the video output stream. Input - // all the audio GROUP-IDs that are associated to the video, separate by ','. - AudioRenditionSets *string `locationName:"audioRenditionSets" type:"string"` + // Number of seconds to wait before retrying connection to the CDN if the connection + // is lost. + ConnectionRetryInterval *int64 `locationName:"connectionRetryInterval" type:"integer"` - // If set to passthrough, Nielsen inaudible tones for media tracking will be - // detected in the input audio and an equivalent ID3 tag will be inserted in - // the output. - NielsenId3Behavior *string `locationName:"nielsenId3Behavior" type:"string" enum:"Fmp4NielsenId3Behavior"` + // Size in seconds of file cache for streaming outputs. + FilecacheDuration *int64 `locationName:"filecacheDuration" type:"integer"` - // When set to passthrough, timed metadata is passed through from input to output. - TimedMetadataBehavior *string `locationName:"timedMetadataBehavior" type:"string" enum:"Fmp4TimedMetadataBehavior"` + // Specify whether or not to use chunked transfer encoding to WebDAV. + HttpTransferMode *string `locationName:"httpTransferMode" type:"string" enum:"HlsWebdavHttpTransferMode"` + + // Number of retry attempts that will be made before the Live Event is put into + // an error state. Applies only if the CDN destination URI begins with "s3" + // or "mediastore". For other URIs, the value is always 3. + NumRetries *int64 `locationName:"numRetries" type:"integer"` + + // If a streaming output fails, number of seconds to wait until a restart is + // initiated. A value of 0 means never restart. + RestartDelay *int64 `locationName:"restartDelay" type:"integer"` } // String returns the string representation. @@ -16750,7 +25370,7 @@ type Fmp4HlsSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Fmp4HlsSettings) String() string { +func (s HlsWebdavSettings) String() string { return awsutil.Prettify(s) } @@ -16759,42 +25379,43 @@ func (s Fmp4HlsSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Fmp4HlsSettings) GoString() string { +func (s HlsWebdavSettings) GoString() string { return s.String() } -// SetAudioRenditionSets sets the AudioRenditionSets field's value. -func (s *Fmp4HlsSettings) SetAudioRenditionSets(v string) *Fmp4HlsSettings { - s.AudioRenditionSets = &v +// SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. +func (s *HlsWebdavSettings) SetConnectionRetryInterval(v int64) *HlsWebdavSettings { + s.ConnectionRetryInterval = &v return s } -// SetNielsenId3Behavior sets the NielsenId3Behavior field's value. -func (s *Fmp4HlsSettings) SetNielsenId3Behavior(v string) *Fmp4HlsSettings { - s.NielsenId3Behavior = &v +// SetFilecacheDuration sets the FilecacheDuration field's value. +func (s *HlsWebdavSettings) SetFilecacheDuration(v int64) *HlsWebdavSettings { + s.FilecacheDuration = &v return s } -// SetTimedMetadataBehavior sets the TimedMetadataBehavior field's value. -func (s *Fmp4HlsSettings) SetTimedMetadataBehavior(v string) *Fmp4HlsSettings { - s.TimedMetadataBehavior = &v +// SetHttpTransferMode sets the HttpTransferMode field's value. +func (s *HlsWebdavSettings) SetHttpTransferMode(v string) *HlsWebdavSettings { + s.HttpTransferMode = &v return s } -// Settings to specify if an action follows another. -type FollowModeScheduleActionStartSettings struct { - _ struct{} `type:"structure"` +// SetNumRetries sets the NumRetries field's value. +func (s *HlsWebdavSettings) SetNumRetries(v int64) *HlsWebdavSettings { + s.NumRetries = &v + return s +} - // Identifies whether this action starts relative to the start or relative to - // the end of the reference action. - // - // FollowPoint is a required field - FollowPoint *string `locationName:"followPoint" type:"string" required:"true" enum:"FollowPoint"` +// SetRestartDelay sets the RestartDelay field's value. +func (s *HlsWebdavSettings) SetRestartDelay(v int64) *HlsWebdavSettings { + s.RestartDelay = &v + return s +} - // The action name of another action that this one refers to. - // - // ReferenceActionName is a required field - ReferenceActionName *string `locationName:"referenceActionName" type:"string" required:"true"` +// Html Motion Graphics Settings +type HtmlMotionGraphicsSettings struct { + _ struct{} `type:"structure"` } // String returns the string representation. @@ -16802,7 +25423,7 @@ type FollowModeScheduleActionStartSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FollowModeScheduleActionStartSettings) String() string { +func (s HtmlMotionGraphicsSettings) String() string { return awsutil.Prettify(s) } @@ -16811,43 +25432,13 @@ func (s FollowModeScheduleActionStartSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FollowModeScheduleActionStartSettings) GoString() string { +func (s HtmlMotionGraphicsSettings) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *FollowModeScheduleActionStartSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "FollowModeScheduleActionStartSettings"} - if s.FollowPoint == nil { - invalidParams.Add(request.NewErrParamRequired("FollowPoint")) - } - if s.ReferenceActionName == nil { - invalidParams.Add(request.NewErrParamRequired("ReferenceActionName")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetFollowPoint sets the FollowPoint field's value. -func (s *FollowModeScheduleActionStartSettings) SetFollowPoint(v string) *FollowModeScheduleActionStartSettings { - s.FollowPoint = &v - return s -} - -// SetReferenceActionName sets the ReferenceActionName field's value. -func (s *FollowModeScheduleActionStartSettings) SetReferenceActionName(v string) *FollowModeScheduleActionStartSettings { - s.ReferenceActionName = &v - return s -} - -type ForbiddenException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - - Message_ *string `locationName:"message" type:"string"` +// Settings to configure an action so that it occurs as soon as possible. +type ImmediateModeScheduleActionStartSettings struct { + _ struct{} `type:"structure"` } // String returns the string representation. @@ -16855,7 +25446,7 @@ type ForbiddenException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ForbiddenException) String() string { +func (s ImmediateModeScheduleActionStartSettings) String() string { return awsutil.Prettify(s) } @@ -16864,97 +25455,69 @@ func (s ForbiddenException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ForbiddenException) GoString() string { +func (s ImmediateModeScheduleActionStartSettings) GoString() string { return s.String() } -func newErrorForbiddenException(v protocol.ResponseMetadata) error { - return &ForbiddenException{ - RespMetadata: v, - } -} +type Input struct { + _ struct{} `type:"structure"` -// Code returns the exception type name. -func (s *ForbiddenException) Code() string { - return "ForbiddenException" -} + // The Unique ARN of the input (generated, immutable). + Arn *string `locationName:"arn" type:"string"` -// Message returns the exception's message. -func (s *ForbiddenException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" -} + // A list of channel IDs that that input is attached to (currently an input + // can only be attached to one channel). + AttachedChannels []*string `locationName:"attachedChannels" type:"list"` -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ForbiddenException) OrigErr() error { - return nil -} + // A list of the destinations of the input (PUSH-type). + Destinations []*InputDestination `locationName:"destinations" type:"list"` -func (s *ForbiddenException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) -} + // The generated ID of the input (unique for user account, immutable). + Id *string `locationName:"id" type:"string"` -// Status code returns the HTTP status code for the request's response error. -func (s *ForbiddenException) StatusCode() int { - return s.RespMetadata.StatusCode -} + // STANDARD - MediaLive expects two sources to be connected to this input. If + // the channel is also STANDARD, both sources will be ingested. If the channel + // is SINGLE_PIPELINE, only the first source will be ingested; the second source + // will always be ignored, even if the first source fails.SINGLE_PIPELINE - + // You can connect only one source to this input. If the ChannelClass is also + // SINGLE_PIPELINE, this value is valid. If the ChannelClass is STANDARD, this + // value is not valid because the channel requires two sources in the input. + InputClass *string `locationName:"inputClass" type:"string" enum:"InputClass"` -// RequestID returns the service's response RequestID for request. -func (s *ForbiddenException) RequestID() string { - return s.RespMetadata.RequestID -} + // Settings for the input devices. + InputDevices []*InputDeviceSettings `locationName:"inputDevices" type:"list"` -// Frame Capture Cdn Settings -type FrameCaptureCdnSettings struct { - _ struct{} `type:"structure"` + // A list of IDs for all Inputs which are partners of this one. + InputPartnerIds []*string `locationName:"inputPartnerIds" type:"list"` - // Frame Capture S3 Settings - FrameCaptureS3Settings *FrameCaptureS3Settings `locationName:"frameCaptureS3Settings" type:"structure"` -} + // Certain pull input sources can be dynamic, meaning that they can have their + // URL's dynamically changesduring input switch actions. Presently, this functionality + // only works with MP4_FILE and TS_FILE inputs. + InputSourceType *string `locationName:"inputSourceType" type:"string" enum:"InputSourceType"` -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s FrameCaptureCdnSettings) String() string { - return awsutil.Prettify(s) -} + // A list of MediaConnect Flows for this input. + MediaConnectFlows []*MediaConnectFlow `locationName:"mediaConnectFlows" type:"list"` -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s FrameCaptureCdnSettings) GoString() string { - return s.String() -} + // The user-assigned name (This is a mutable value). + Name *string `locationName:"name" type:"string"` -// SetFrameCaptureS3Settings sets the FrameCaptureS3Settings field's value. -func (s *FrameCaptureCdnSettings) SetFrameCaptureS3Settings(v *FrameCaptureS3Settings) *FrameCaptureCdnSettings { - s.FrameCaptureS3Settings = v - return s -} + // The Amazon Resource Name (ARN) of the role this input assumes during and + // after creation. + RoleArn *string `locationName:"roleArn" type:"string"` -// Frame Capture Group Settings -type FrameCaptureGroupSettings struct { - _ struct{} `type:"structure"` + // A list of IDs for all the Input Security Groups attached to the input. + SecurityGroups []*string `locationName:"securityGroups" type:"list"` - // The destination for the frame capture files. Either the URI for an Amazon - // S3 bucket and object, plus a file name prefix (for example, s3ssl://sportsDelivery/highlights/20180820/curling-) - // or the URI for a MediaStore container, plus a file name prefix (for example, - // mediastoressl://sportsDelivery/20180820/curling-). The final file names consist - // of the prefix from the destination field (for example, "curling-") + name - // modifier + the counter (5 digits, starting from 00001) + extension (which - // is always .jpg). For example, curling-low.00001.jpg - // - // Destination is a required field - Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` + // A list of the sources of the input (PULL-type). + Sources []*InputSource `locationName:"sources" type:"list"` - // Parameters that control interactions with the CDN. - FrameCaptureCdnSettings *FrameCaptureCdnSettings `locationName:"frameCaptureCdnSettings" type:"structure"` + State *string `locationName:"state" type:"string" enum:"InputState"` + + // A collection of key-value pairs. + Tags map[string]*string `locationName:"tags" type:"map"` + + // The different types of inputs that AWS Elemental MediaLive supports. + Type *string `locationName:"type" type:"string" enum:"InputType"` } // String returns the string representation. @@ -16962,7 +25525,7 @@ type FrameCaptureGroupSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FrameCaptureGroupSettings) String() string { +func (s Input) String() string { return awsutil.Prettify(s) } @@ -16971,136 +25534,122 @@ func (s FrameCaptureGroupSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FrameCaptureGroupSettings) GoString() string { +func (s Input) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *FrameCaptureGroupSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "FrameCaptureGroupSettings"} - if s.Destination == nil { - invalidParams.Add(request.NewErrParamRequired("Destination")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetArn sets the Arn field's value. +func (s *Input) SetArn(v string) *Input { + s.Arn = &v + return s } -// SetDestination sets the Destination field's value. -func (s *FrameCaptureGroupSettings) SetDestination(v *OutputLocationRef) *FrameCaptureGroupSettings { - s.Destination = v +// SetAttachedChannels sets the AttachedChannels field's value. +func (s *Input) SetAttachedChannels(v []*string) *Input { + s.AttachedChannels = v return s } -// SetFrameCaptureCdnSettings sets the FrameCaptureCdnSettings field's value. -func (s *FrameCaptureGroupSettings) SetFrameCaptureCdnSettings(v *FrameCaptureCdnSettings) *FrameCaptureGroupSettings { - s.FrameCaptureCdnSettings = v +// SetDestinations sets the Destinations field's value. +func (s *Input) SetDestinations(v []*InputDestination) *Input { + s.Destinations = v return s } -// Frame Capture Hls Settings -type FrameCaptureHlsSettings struct { - _ struct{} `type:"structure"` +// SetId sets the Id field's value. +func (s *Input) SetId(v string) *Input { + s.Id = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s FrameCaptureHlsSettings) String() string { - return awsutil.Prettify(s) +// SetInputClass sets the InputClass field's value. +func (s *Input) SetInputClass(v string) *Input { + s.InputClass = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s FrameCaptureHlsSettings) GoString() string { - return s.String() +// SetInputDevices sets the InputDevices field's value. +func (s *Input) SetInputDevices(v []*InputDeviceSettings) *Input { + s.InputDevices = v + return s } -// Frame Capture Output Settings -type FrameCaptureOutputSettings struct { - _ struct{} `type:"structure"` +// SetInputPartnerIds sets the InputPartnerIds field's value. +func (s *Input) SetInputPartnerIds(v []*string) *Input { + s.InputPartnerIds = v + return s +} - // Required if the output group contains more than one output. This modifier - // forms part of the output file name. - NameModifier *string `locationName:"nameModifier" type:"string"` +// SetInputSourceType sets the InputSourceType field's value. +func (s *Input) SetInputSourceType(v string) *Input { + s.InputSourceType = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s FrameCaptureOutputSettings) String() string { - return awsutil.Prettify(s) +// SetMediaConnectFlows sets the MediaConnectFlows field's value. +func (s *Input) SetMediaConnectFlows(v []*MediaConnectFlow) *Input { + s.MediaConnectFlows = v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s FrameCaptureOutputSettings) GoString() string { - return s.String() +// SetName sets the Name field's value. +func (s *Input) SetName(v string) *Input { + s.Name = &v + return s } -// SetNameModifier sets the NameModifier field's value. -func (s *FrameCaptureOutputSettings) SetNameModifier(v string) *FrameCaptureOutputSettings { - s.NameModifier = &v +// SetRoleArn sets the RoleArn field's value. +func (s *Input) SetRoleArn(v string) *Input { + s.RoleArn = &v return s } -// Frame Capture S3 Settings -type FrameCaptureS3Settings struct { - _ struct{} `type:"structure"` +// SetSecurityGroups sets the SecurityGroups field's value. +func (s *Input) SetSecurityGroups(v []*string) *Input { + s.SecurityGroups = v + return s +} - // Specify the canned ACL to apply to each S3 request. Defaults to none. - CannedAcl *string `locationName:"cannedAcl" type:"string" enum:"S3CannedAcl"` +// SetSources sets the Sources field's value. +func (s *Input) SetSources(v []*InputSource) *Input { + s.Sources = v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s FrameCaptureS3Settings) String() string { - return awsutil.Prettify(s) +// SetState sets the State field's value. +func (s *Input) SetState(v string) *Input { + s.State = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s FrameCaptureS3Settings) GoString() string { - return s.String() +// SetTags sets the Tags field's value. +func (s *Input) SetTags(v map[string]*string) *Input { + s.Tags = v + return s } -// SetCannedAcl sets the CannedAcl field's value. -func (s *FrameCaptureS3Settings) SetCannedAcl(v string) *FrameCaptureS3Settings { - s.CannedAcl = &v +// SetType sets the Type field's value. +func (s *Input) SetType(v string) *Input { + s.Type = &v return s } -// Frame Capture Settings -type FrameCaptureSettings struct { +type InputAttachment struct { _ struct{} `type:"structure"` - // The frequency at which to capture frames for inclusion in the output. May - // be specified in either seconds or milliseconds, as specified by captureIntervalUnits. - CaptureInterval *int64 `locationName:"captureInterval" min:"1" type:"integer"` + // User-specified settings for defining what the conditions are for declaring + // the input unhealthy and failing over to a different input. + AutomaticInputFailoverSettings *AutomaticInputFailoverSettings `locationName:"automaticInputFailoverSettings" type:"structure"` - // Unit for the frame capture interval. - CaptureIntervalUnits *string `locationName:"captureIntervalUnits" type:"string" enum:"FrameCaptureIntervalUnit"` + // User-specified name for the attachment. This is required if the user wants + // to use this input in an input switch action. + InputAttachmentName *string `locationName:"inputAttachmentName" type:"string"` - // Timecode burn-in settings - TimecodeBurninSettings *TimecodeBurninSettings `locationName:"timecodeBurninSettings" type:"structure"` + // The ID of the input + InputId *string `locationName:"inputId" type:"string"` + + // Settings of an input (caption selector, etc.) + InputSettings *InputSettings `locationName:"inputSettings" type:"structure"` } // String returns the string representation. @@ -17108,7 +25657,7 @@ type FrameCaptureSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FrameCaptureSettings) String() string { +func (s InputAttachment) String() string { return awsutil.Prettify(s) } @@ -17117,19 +25666,21 @@ func (s FrameCaptureSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FrameCaptureSettings) GoString() string { +func (s InputAttachment) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *FrameCaptureSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "FrameCaptureSettings"} - if s.CaptureInterval != nil && *s.CaptureInterval < 1 { - invalidParams.Add(request.NewErrParamMinValue("CaptureInterval", 1)) +// Validate inspects the fields of the type to determine if they are valid. +func (s *InputAttachment) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "InputAttachment"} + if s.AutomaticInputFailoverSettings != nil { + if err := s.AutomaticInputFailoverSettings.Validate(); err != nil { + invalidParams.AddNested("AutomaticInputFailoverSettings", err.(request.ErrInvalidParams)) + } } - if s.TimecodeBurninSettings != nil { - if err := s.TimecodeBurninSettings.Validate(); err != nil { - invalidParams.AddNested("TimecodeBurninSettings", err.(request.ErrInvalidParams)) + if s.InputSettings != nil { + if err := s.InputSettings.Validate(); err != nil { + invalidParams.AddNested("InputSettings", err.(request.ErrInvalidParams)) } } @@ -17139,29 +25690,44 @@ func (s *FrameCaptureSettings) Validate() error { return nil } -// SetCaptureInterval sets the CaptureInterval field's value. -func (s *FrameCaptureSettings) SetCaptureInterval(v int64) *FrameCaptureSettings { - s.CaptureInterval = &v +// SetAutomaticInputFailoverSettings sets the AutomaticInputFailoverSettings field's value. +func (s *InputAttachment) SetAutomaticInputFailoverSettings(v *AutomaticInputFailoverSettings) *InputAttachment { + s.AutomaticInputFailoverSettings = v return s } -// SetCaptureIntervalUnits sets the CaptureIntervalUnits field's value. -func (s *FrameCaptureSettings) SetCaptureIntervalUnits(v string) *FrameCaptureSettings { - s.CaptureIntervalUnits = &v +// SetInputAttachmentName sets the InputAttachmentName field's value. +func (s *InputAttachment) SetInputAttachmentName(v string) *InputAttachment { + s.InputAttachmentName = &v return s } -// SetTimecodeBurninSettings sets the TimecodeBurninSettings field's value. -func (s *FrameCaptureSettings) SetTimecodeBurninSettings(v *TimecodeBurninSettings) *FrameCaptureSettings { - s.TimecodeBurninSettings = v +// SetInputId sets the InputId field's value. +func (s *InputAttachment) SetInputId(v string) *InputAttachment { + s.InputId = &v return s } -type GatewayTimeoutException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// SetInputSettings sets the InputSettings field's value. +func (s *InputAttachment) SetInputSettings(v *InputSettings) *InputAttachment { + s.InputSettings = v + return s +} - Message_ *string `locationName:"message" type:"string"` +// Input Channel Level +type InputChannelLevel struct { + _ struct{} `type:"structure"` + + // Remixing value. Units are in dB and acceptable values are within the range + // from -60 (mute) and 6 dB. + // + // Gain is a required field + Gain *int64 `locationName:"gain" type:"integer" required:"true"` + + // The index of the input channel used as a source. + // + // InputChannel is a required field + InputChannel *int64 `locationName:"inputChannel" type:"integer" required:"true"` } // String returns the string representation. @@ -17169,7 +25735,7 @@ type GatewayTimeoutException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GatewayTimeoutException) String() string { +func (s InputChannelLevel) String() string { return awsutil.Prettify(s) } @@ -17178,85 +25744,56 @@ func (s GatewayTimeoutException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GatewayTimeoutException) GoString() string { +func (s InputChannelLevel) GoString() string { return s.String() } -func newErrorGatewayTimeoutException(v protocol.ResponseMetadata) error { - return &GatewayTimeoutException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *InputChannelLevel) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "InputChannelLevel"} + if s.Gain == nil { + invalidParams.Add(request.NewErrParamRequired("Gain")) } -} - -// Code returns the exception type name. -func (s *GatewayTimeoutException) Code() string { - return "GatewayTimeoutException" -} - -// Message returns the exception's message. -func (s *GatewayTimeoutException) Message() string { - if s.Message_ != nil { - return *s.Message_ + if s.Gain != nil && *s.Gain < -60 { + invalidParams.Add(request.NewErrParamMinValue("Gain", -60)) + } + if s.InputChannel == nil { + invalidParams.Add(request.NewErrParamRequired("InputChannel")) } - return "" -} -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *GatewayTimeoutException) OrigErr() error { + if invalidParams.Len() > 0 { + return invalidParams + } return nil } -func (s *GatewayTimeoutException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) -} - -// Status code returns the HTTP status code for the request's response error. -func (s *GatewayTimeoutException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetGain sets the Gain field's value. +func (s *InputChannelLevel) SetGain(v int64) *InputChannelLevel { + s.Gain = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *GatewayTimeoutException) RequestID() string { - return s.RespMetadata.RequestID +// SetInputChannel sets the InputChannel field's value. +func (s *InputChannelLevel) SetInputChannel(v int64) *InputChannelLevel { + s.InputChannel = &v + return s } -// Global Configuration -type GlobalConfiguration struct { +// Settings to let you create a clip of the file input, in order to set up the +// input to ingest only a portion of the file. +type InputClippingSettings struct { _ struct{} `type:"structure"` - // Value to set the initial audio gain for the Live Event. - InitialAudioGain *int64 `locationName:"initialAudioGain" type:"integer"` - - // Indicates the action to take when the current input completes (e.g. end-of-file). - // When switchAndLoopInputs is configured the encoder will restart at the beginning - // of the first input. When "none" is configured the encoder will transcode - // either black, a solid color, or a user specified slate images per the "Input - // Loss Behavior" configuration until the next input switch occurs (which is - // controlled through the Channel Schedule API). - InputEndAction *string `locationName:"inputEndAction" type:"string" enum:"GlobalConfigurationInputEndAction"` - - // Settings for system actions when input is lost. - InputLossBehavior *InputLossBehavior `locationName:"inputLossBehavior" type:"structure"` - - // Indicates how MediaLive pipelines are synchronized.PIPELINE_LOCKING - MediaLive - // will attempt to synchronize the output of each pipeline to the other.EPOCH_LOCKING - // - MediaLive will attempt to synchronize the output of each pipeline to the - // Unix epoch. - OutputLockingMode *string `locationName:"outputLockingMode" type:"string" enum:"GlobalConfigurationOutputLockingMode"` - - // Advanced output locking settings - OutputLockingSettings *OutputLockingSettings `locationName:"outputLockingSettings" type:"structure"` + // The source of the timecodes in the source being clipped. + // + // InputTimecodeSource is a required field + InputTimecodeSource *string `locationName:"inputTimecodeSource" type:"string" required:"true" enum:"InputTimecodeSource"` - // Indicates whether the rate of frames emitted by the Live encoder should be - // paced by its system clock (which optionally may be locked to another source - // via NTP) or should be locked to the clock of the source that is providing - // the input stream. - OutputTimingSource *string `locationName:"outputTimingSource" type:"string" enum:"GlobalConfigurationOutputTimingSource"` + // Settings to identify the start of the clip. + StartTimecode *StartTimecode `locationName:"startTimecode" type:"structure"` - // Adjusts video input buffer for streams with very low video framerates. This - // is commonly set to enabled for music channels with less than one video frame - // per second. - SupportLowFramerateInputs *string `locationName:"supportLowFramerateInputs" type:"string" enum:"GlobalConfigurationLowFramerateInputs"` + // Settings to identify the end of the clip. + StopTimecode *StopTimecode `locationName:"stopTimecode" type:"structure"` } // String returns the string representation. @@ -17264,7 +25801,7 @@ type GlobalConfiguration struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GlobalConfiguration) String() string { +func (s InputClippingSettings) String() string { return awsutil.Prettify(s) } @@ -17273,20 +25810,15 @@ func (s GlobalConfiguration) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GlobalConfiguration) GoString() string { +func (s InputClippingSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GlobalConfiguration) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GlobalConfiguration"} - if s.InitialAudioGain != nil && *s.InitialAudioGain < -60 { - invalidParams.Add(request.NewErrParamMinValue("InitialAudioGain", -60)) - } - if s.InputLossBehavior != nil { - if err := s.InputLossBehavior.Validate(); err != nil { - invalidParams.AddNested("InputLossBehavior", err.(request.ErrInvalidParams)) - } +func (s *InputClippingSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "InputClippingSettings"} + if s.InputTimecodeSource == nil { + invalidParams.Add(request.NewErrParamRequired("InputTimecodeSource")) } if invalidParams.Len() > 0 { @@ -17295,60 +25827,40 @@ func (s *GlobalConfiguration) Validate() error { return nil } -// SetInitialAudioGain sets the InitialAudioGain field's value. -func (s *GlobalConfiguration) SetInitialAudioGain(v int64) *GlobalConfiguration { - s.InitialAudioGain = &v - return s -} - -// SetInputEndAction sets the InputEndAction field's value. -func (s *GlobalConfiguration) SetInputEndAction(v string) *GlobalConfiguration { - s.InputEndAction = &v - return s -} - -// SetInputLossBehavior sets the InputLossBehavior field's value. -func (s *GlobalConfiguration) SetInputLossBehavior(v *InputLossBehavior) *GlobalConfiguration { - s.InputLossBehavior = v - return s -} - -// SetOutputLockingMode sets the OutputLockingMode field's value. -func (s *GlobalConfiguration) SetOutputLockingMode(v string) *GlobalConfiguration { - s.OutputLockingMode = &v - return s -} - -// SetOutputLockingSettings sets the OutputLockingSettings field's value. -func (s *GlobalConfiguration) SetOutputLockingSettings(v *OutputLockingSettings) *GlobalConfiguration { - s.OutputLockingSettings = v +// SetInputTimecodeSource sets the InputTimecodeSource field's value. +func (s *InputClippingSettings) SetInputTimecodeSource(v string) *InputClippingSettings { + s.InputTimecodeSource = &v return s } -// SetOutputTimingSource sets the OutputTimingSource field's value. -func (s *GlobalConfiguration) SetOutputTimingSource(v string) *GlobalConfiguration { - s.OutputTimingSource = &v +// SetStartTimecode sets the StartTimecode field's value. +func (s *InputClippingSettings) SetStartTimecode(v *StartTimecode) *InputClippingSettings { + s.StartTimecode = v return s } -// SetSupportLowFramerateInputs sets the SupportLowFramerateInputs field's value. -func (s *GlobalConfiguration) SetSupportLowFramerateInputs(v string) *GlobalConfiguration { - s.SupportLowFramerateInputs = &v +// SetStopTimecode sets the StopTimecode field's value. +func (s *InputClippingSettings) SetStopTimecode(v *StopTimecode) *InputClippingSettings { + s.StopTimecode = v return s } -// H264 Color Space Settings -type H264ColorSpaceSettings struct { +// The settings for a PUSH type input. +type InputDestination struct { _ struct{} `type:"structure"` - // Passthrough applies no color space conversion to the output - ColorSpacePassthroughSettings *ColorSpacePassthroughSettings `locationName:"colorSpacePassthroughSettings" type:"structure"` + // The system-generated static IP address of endpoint.It remains fixed for the + // lifetime of the input. + Ip *string `locationName:"ip" type:"string"` - // Rec601 Settings - Rec601Settings *Rec601Settings `locationName:"rec601Settings" type:"structure"` + // The port number for the input. + Port *string `locationName:"port" type:"string"` - // Rec709 Settings - Rec709Settings *Rec709Settings `locationName:"rec709Settings" type:"structure"` + // This represents the endpoint that the customer stream will bepushed to. + Url *string `locationName:"url" type:"string"` + + // The properties for a VPC type input destination. + Vpc *InputDestinationVpc `locationName:"vpc" type:"structure"` } // String returns the string representation. @@ -17356,7 +25868,7 @@ type H264ColorSpaceSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s H264ColorSpaceSettings) String() string { +func (s InputDestination) String() string { return awsutil.Prettify(s) } @@ -17365,34 +25877,40 @@ func (s H264ColorSpaceSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s H264ColorSpaceSettings) GoString() string { +func (s InputDestination) GoString() string { return s.String() } -// SetColorSpacePassthroughSettings sets the ColorSpacePassthroughSettings field's value. -func (s *H264ColorSpaceSettings) SetColorSpacePassthroughSettings(v *ColorSpacePassthroughSettings) *H264ColorSpaceSettings { - s.ColorSpacePassthroughSettings = v +// SetIp sets the Ip field's value. +func (s *InputDestination) SetIp(v string) *InputDestination { + s.Ip = &v return s } -// SetRec601Settings sets the Rec601Settings field's value. -func (s *H264ColorSpaceSettings) SetRec601Settings(v *Rec601Settings) *H264ColorSpaceSettings { - s.Rec601Settings = v +// SetPort sets the Port field's value. +func (s *InputDestination) SetPort(v string) *InputDestination { + s.Port = &v return s } -// SetRec709Settings sets the Rec709Settings field's value. -func (s *H264ColorSpaceSettings) SetRec709Settings(v *Rec709Settings) *H264ColorSpaceSettings { - s.Rec709Settings = v +// SetUrl sets the Url field's value. +func (s *InputDestination) SetUrl(v string) *InputDestination { + s.Url = &v return s } -// H264 Filter Settings -type H264FilterSettings struct { +// SetVpc sets the Vpc field's value. +func (s *InputDestination) SetVpc(v *InputDestinationVpc) *InputDestination { + s.Vpc = v + return s +} + +// Endpoint settings for a PUSH type input. +type InputDestinationRequest struct { _ struct{} `type:"structure"` - // Temporal Filter Settings - TemporalFilterSettings *TemporalFilterSettings `locationName:"temporalFilterSettings" type:"structure"` + // A unique name for the location the RTMP stream is being pushedto. + StreamName *string `locationName:"streamName" type:"string"` } // String returns the string representation. @@ -17400,7 +25918,7 @@ type H264FilterSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s H264FilterSettings) String() string { +func (s InputDestinationRequest) String() string { return awsutil.Prettify(s) } @@ -17409,250 +25927,25 @@ func (s H264FilterSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s H264FilterSettings) GoString() string { +func (s InputDestinationRequest) GoString() string { return s.String() } -// SetTemporalFilterSettings sets the TemporalFilterSettings field's value. -func (s *H264FilterSettings) SetTemporalFilterSettings(v *TemporalFilterSettings) *H264FilterSettings { - s.TemporalFilterSettings = v +// SetStreamName sets the StreamName field's value. +func (s *InputDestinationRequest) SetStreamName(v string) *InputDestinationRequest { + s.StreamName = &v return s } -// H264 Settings -type H264Settings struct { +// The properties for a VPC type input destination. +type InputDestinationVpc struct { _ struct{} `type:"structure"` - // Enables or disables adaptive quantization, which is a technique MediaLive - // can apply to video on a frame-by-frame basis to produce more compression - // without losing quality. There are three types of adaptive quantization: flicker, - // spatial, and temporal. Set the field in one of these ways: Set to Auto. Recommended. - // For each type of AQ, MediaLive will determine if AQ is needed, and if so, - // the appropriate strength. Set a strength (a value other than Auto or Disable). - // This strength will apply to any of the AQ fields that you choose to enable. - // Set to Disabled to disable all types of adaptive quantization. - AdaptiveQuantization *string `locationName:"adaptiveQuantization" type:"string" enum:"H264AdaptiveQuantization"` - - // Indicates that AFD values will be written into the output stream. If afdSignaling - // is "auto", the system will try to preserve the input AFD value (in cases - // where multiple AFD values are valid). If set to "fixed", the AFD value will - // be the value configured in the fixedAfd parameter. - AfdSignaling *string `locationName:"afdSignaling" type:"string" enum:"AfdSignaling"` - - // Average bitrate in bits/second. Required when the rate control mode is VBR - // or CBR. Not used for QVBR. In an MS Smooth output group, each output must - // have a unique value when its bitrate is rounded down to the nearest multiple - // of 1000. - Bitrate *int64 `locationName:"bitrate" min:"1000" type:"integer"` - - // Percentage of the buffer that should initially be filled (HRD buffer model). - BufFillPct *int64 `locationName:"bufFillPct" type:"integer"` - - // Size of buffer (HRD buffer model) in bits. - BufSize *int64 `locationName:"bufSize" type:"integer"` - - // Includes colorspace metadata in the output. - ColorMetadata *string `locationName:"colorMetadata" type:"string" enum:"H264ColorMetadata"` - - // Color Space settings - ColorSpaceSettings *H264ColorSpaceSettings `locationName:"colorSpaceSettings" type:"structure"` - - // Entropy encoding mode. Use cabac (must be in Main or High profile) or cavlc. - EntropyEncoding *string `locationName:"entropyEncoding" type:"string" enum:"H264EntropyEncoding"` - - // Optional filters that you can apply to an encode. - FilterSettings *H264FilterSettings `locationName:"filterSettings" type:"structure"` - - // Four bit AFD value to write on all frames of video in the output stream. - // Only valid when afdSignaling is set to 'Fixed'. - FixedAfd *string `locationName:"fixedAfd" type:"string" enum:"FixedAfd"` - - // Flicker AQ makes adjustments within each frame to reduce flicker or 'pop' - // on I-frames. The value to enter in this field depends on the value in the - // Adaptive quantization field: If you have set the Adaptive quantization field - // to Auto, MediaLive ignores any value in this field. MediaLive will determine - // if flicker AQ is appropriate and will apply the appropriate strength. If - // you have set the Adaptive quantization field to a strength, you can set this - // field to Enabled or Disabled. Enabled: MediaLive will apply flicker AQ using - // the specified strength. Disabled: MediaLive won't apply flicker AQ. If you - // have set the Adaptive quantization to Disabled, MediaLive ignores any value - // in this field and doesn't apply flicker AQ. - FlickerAq *string `locationName:"flickerAq" type:"string" enum:"H264FlickerAq"` - - // This setting applies only when scan type is "interlaced." It controls whether - // coding is performed on a field basis or on a frame basis. (When the video - // is progressive, the coding is always performed on a frame basis.)enabled: - // Force MediaLive to code on a field basis, so that odd and even sets of fields - // are coded separately.disabled: Code the two sets of fields separately (on - // a field basis) or together (on a frame basis using PAFF), depending on what - // is most appropriate for the content. - ForceFieldPictures *string `locationName:"forceFieldPictures" type:"string" enum:"H264ForceFieldPictures"` - - // This field indicates how the output video frame rate is specified. If "specified" - // is selected then the output video frame rate is determined by framerateNumerator - // and framerateDenominator, else if "initializeFromSource" is selected then - // the output video frame rate will be set equal to the input video frame rate - // of the first input. - FramerateControl *string `locationName:"framerateControl" type:"string" enum:"H264FramerateControl"` - - // Framerate denominator. - FramerateDenominator *int64 `locationName:"framerateDenominator" min:"1" type:"integer"` - - // Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 - // fps. - FramerateNumerator *int64 `locationName:"framerateNumerator" min:"1" type:"integer"` - - // If enabled, use reference B frames for GOP structures that have B frames - // > 1. - GopBReference *string `locationName:"gopBReference" type:"string" enum:"H264GopBReference"` - - // Frequency of closed GOPs. In streaming applications, it is recommended that - // this be set to 1 so a decoder joining mid-stream will receive an IDR frame - // as quickly as possible. Setting this value to 0 will break output segmenting. - GopClosedCadence *int64 `locationName:"gopClosedCadence" type:"integer"` - - // Number of B-frames between reference frames. - GopNumBFrames *int64 `locationName:"gopNumBFrames" type:"integer"` - - // GOP size (keyframe interval) in units of either frames or seconds per gopSizeUnits.If - // gopSizeUnits is frames, gopSize must be an integer and must be greater than - // or equal to 1.If gopSizeUnits is seconds, gopSize must be greater than 0, - // but need not be an integer. - GopSize *float64 `locationName:"gopSize" type:"double"` - - // Indicates if the gopSize is specified in frames or seconds. If seconds the - // system will convert the gopSize into a frame count at run time. - GopSizeUnits *string `locationName:"gopSizeUnits" type:"string" enum:"H264GopSizeUnits"` - - // H.264 Level. - Level *string `locationName:"level" type:"string" enum:"H264Level"` - - // Amount of lookahead. A value of low can decrease latency and memory usage, - // while high can produce better quality for certain content. - LookAheadRateControl *string `locationName:"lookAheadRateControl" type:"string" enum:"H264LookAheadRateControl"` - - // For QVBR: See the tooltip for Quality levelFor VBR: Set the maximum bitrate - // in order to accommodate expected spikes in the complexity of the video. - MaxBitrate *int64 `locationName:"maxBitrate" min:"1000" type:"integer"` - - // Only meaningful if sceneChangeDetect is set to enabled. Defaults to 5 if - // multiplex rate control is used. Enforces separation between repeated (cadence) - // I-frames and I-frames inserted by Scene Change Detection. If a scene change - // I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk - // and/or stretched to the scene change I-frame. GOP stretch requires enabling - // lookahead as well as setting I-interval. The normal cadence resumes for the - // next GOP. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1 - MinIInterval *int64 `locationName:"minIInterval" type:"integer"` - - // Number of reference frames to use. The encoder may use more than requested - // if using B-frames and/or interlaced encoding. - NumRefFrames *int64 `locationName:"numRefFrames" min:"1" type:"integer"` - - // This field indicates how the output pixel aspect ratio is specified. If "specified" - // is selected then the output video pixel aspect ratio is determined by parNumerator - // and parDenominator, else if "initializeFromSource" is selected then the output - // pixsel aspect ratio will be set equal to the input video pixel aspect ratio - // of the first input. - ParControl *string `locationName:"parControl" type:"string" enum:"H264ParControl"` - - // Pixel Aspect Ratio denominator. - ParDenominator *int64 `locationName:"parDenominator" min:"1" type:"integer"` - - // Pixel Aspect Ratio numerator. - ParNumerator *int64 `locationName:"parNumerator" min:"1" type:"integer"` - - // H.264 Profile. - Profile *string `locationName:"profile" type:"string" enum:"H264Profile"` - - // Leave as STANDARD_QUALITY or choose a different value (which might result - // in additional costs to run the channel).- ENHANCED_QUALITY: Produces a slightly - // better video quality without an increase in the bitrate. Has an effect only - // when the Rate control mode is QVBR or CBR. If this channel is in a MediaLive - // multiplex, the value must be ENHANCED_QUALITY.- STANDARD_QUALITY: Valid for - // any Rate control mode. - QualityLevel *string `locationName:"qualityLevel" type:"string" enum:"H264QualityLevel"` - - // Controls the target quality for the video encode. Applies only when the rate - // control mode is QVBR. You can set a target quality or you can let MediaLive - // determine the best quality. To set a target quality, enter values in the - // QVBR quality level field and the Max bitrate field. Enter values that suit - // your most important viewing devices. Recommended values are:- Primary screen: - // Quality level: 8 to 10. Max bitrate: 4M- PC or tablet: Quality level: 7. - // Max bitrate: 1.5M to 3M- Smartphone: Quality level: 6. Max bitrate: 1M to - // 1.5MTo let MediaLive decide, leave the QVBR quality level field empty, and - // in Max bitrate enter the maximum rate you want in the video. For more information, - // see the section called "Video - rate control mode" in the MediaLive user - // guide - QvbrQualityLevel *int64 `locationName:"qvbrQualityLevel" min:"1" type:"integer"` - - // Rate control mode.QVBR: Quality will match the specified quality level except - // when it is constrained by themaximum bitrate. Recommended if you or your - // viewers pay for bandwidth.VBR: Quality and bitrate vary, depending on the - // video complexity. Recommended instead of QVBRif you want to maintain a specific - // average bitrate over the duration of the channel.CBR: Quality varies, depending - // on the video complexity. Recommended only if you distributeyour assets to - // devices that cannot handle variable bitrates.Multiplex: This rate control - // mode is only supported (and is required) when the video is beingdelivered - // to a MediaLive Multiplex in which case the rate control configuration is - // controlledby the properties within the Multiplex Program. - RateControlMode *string `locationName:"rateControlMode" type:"string" enum:"H264RateControlMode"` - - // Sets the scan type of the output to progressive or top-field-first interlaced. - ScanType *string `locationName:"scanType" type:"string" enum:"H264ScanType"` - - // Scene change detection.- On: inserts I-frames when scene change is detected.- - // Off: does not force an I-frame when scene change is detected. - SceneChangeDetect *string `locationName:"sceneChangeDetect" type:"string" enum:"H264SceneChangeDetect"` - - // Number of slices per picture. Must be less than or equal to the number of - // macroblock rows for progressive pictures, and less than or equal to half - // the number of macroblock rows for interlaced pictures.This field is optional; - // when no value is specified the encoder will choose the number of slices based - // on encode resolution. - Slices *int64 `locationName:"slices" min:"1" type:"integer"` - - // Softness. Selects quantizer matrix, larger values reduce high-frequency content - // in the encoded image. If not set to zero, must be greater than 15. - Softness *int64 `locationName:"softness" type:"integer"` - - // Spatial AQ makes adjustments within each frame based on spatial variation - // of content complexity. The value to enter in this field depends on the value - // in the Adaptive quantization field: If you have set the Adaptive quantization - // field to Auto, MediaLive ignores any value in this field. MediaLive will - // determine if spatial AQ is appropriate and will apply the appropriate strength. - // If you have set the Adaptive quantization field to a strength, you can set - // this field to Enabled or Disabled. Enabled: MediaLive will apply spatial - // AQ using the specified strength. Disabled: MediaLive won't apply spatial - // AQ. If you have set the Adaptive quantization to Disabled, MediaLive ignores - // any value in this field and doesn't apply spatial AQ. - SpatialAq *string `locationName:"spatialAq" type:"string" enum:"H264SpatialAq"` - - // If set to fixed, use gopNumBFrames B-frames per sub-GOP. If set to dynamic, - // optimize the number of B-frames used for each sub-GOP to improve visual quality. - SubgopLength *string `locationName:"subgopLength" type:"string" enum:"H264SubGopLength"` - - // Produces a bitstream compliant with SMPTE RP-2027. - Syntax *string `locationName:"syntax" type:"string" enum:"H264Syntax"` - - // Temporal makes adjustments within each frame based on temporal variation - // of content complexity. The value to enter in this field depends on the value - // in the Adaptive quantization field: If you have set the Adaptive quantization - // field to Auto, MediaLive ignores any value in this field. MediaLive will - // determine if temporal AQ is appropriate and will apply the appropriate strength. - // If you have set the Adaptive quantization field to a strength, you can set - // this field to Enabled or Disabled. Enabled: MediaLive will apply temporal - // AQ using the specified strength. Disabled: MediaLive won't apply temporal - // AQ. If you have set the Adaptive quantization to Disabled, MediaLive ignores - // any value in this field and doesn't apply temporal AQ. - TemporalAq *string `locationName:"temporalAq" type:"string" enum:"H264TemporalAq"` - - // Timecode burn-in settings - TimecodeBurninSettings *TimecodeBurninSettings `locationName:"timecodeBurninSettings" type:"structure"` + // The availability zone of the Input destination. + AvailabilityZone *string `locationName:"availabilityZone" type:"string"` - // Determines how timecodes should be inserted into the video elementary stream.- - // 'disabled': Do not include timecodes- 'picTimingSei': Pass through picture - // timing SEI messages from the source specified in Timecode Config - TimecodeInsertion *string `locationName:"timecodeInsertion" type:"string" enum:"H264TimecodeInsertionBehavior"` + // The network interface ID of the Input destination in the VPC. + NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` } // String returns the string representation. @@ -17660,7 +25953,7 @@ type H264Settings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s H264Settings) String() string { +func (s InputDestinationVpc) String() string { return awsutil.Prettify(s) } @@ -17669,322 +25962,463 @@ func (s H264Settings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s H264Settings) GoString() string { +func (s InputDestinationVpc) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *H264Settings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "H264Settings"} - if s.Bitrate != nil && *s.Bitrate < 1000 { - invalidParams.Add(request.NewErrParamMinValue("Bitrate", 1000)) - } - if s.FramerateDenominator != nil && *s.FramerateDenominator < 1 { - invalidParams.Add(request.NewErrParamMinValue("FramerateDenominator", 1)) - } - if s.FramerateNumerator != nil && *s.FramerateNumerator < 1 { - invalidParams.Add(request.NewErrParamMinValue("FramerateNumerator", 1)) - } - if s.MaxBitrate != nil && *s.MaxBitrate < 1000 { - invalidParams.Add(request.NewErrParamMinValue("MaxBitrate", 1000)) - } - if s.NumRefFrames != nil && *s.NumRefFrames < 1 { - invalidParams.Add(request.NewErrParamMinValue("NumRefFrames", 1)) - } - if s.ParDenominator != nil && *s.ParDenominator < 1 { - invalidParams.Add(request.NewErrParamMinValue("ParDenominator", 1)) - } - if s.ParNumerator != nil && *s.ParNumerator < 1 { - invalidParams.Add(request.NewErrParamMinValue("ParNumerator", 1)) - } - if s.QvbrQualityLevel != nil && *s.QvbrQualityLevel < 1 { - invalidParams.Add(request.NewErrParamMinValue("QvbrQualityLevel", 1)) - } - if s.Slices != nil && *s.Slices < 1 { - invalidParams.Add(request.NewErrParamMinValue("Slices", 1)) - } - if s.TimecodeBurninSettings != nil { - if err := s.TimecodeBurninSettings.Validate(); err != nil { - invalidParams.AddNested("TimecodeBurninSettings", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetAvailabilityZone sets the AvailabilityZone field's value. +func (s *InputDestinationVpc) SetAvailabilityZone(v string) *InputDestinationVpc { + s.AvailabilityZone = &v + return s } -// SetAdaptiveQuantization sets the AdaptiveQuantization field's value. -func (s *H264Settings) SetAdaptiveQuantization(v string) *H264Settings { - s.AdaptiveQuantization = &v +// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. +func (s *InputDestinationVpc) SetNetworkInterfaceId(v string) *InputDestinationVpc { + s.NetworkInterfaceId = &v return s } -// SetAfdSignaling sets the AfdSignaling field's value. -func (s *H264Settings) SetAfdSignaling(v string) *H264Settings { - s.AfdSignaling = &v - return s +// One audio configuration that specifies the format for one audio pair that +// the device produces as output. +type InputDeviceConfigurableAudioChannelPairConfig struct { + _ struct{} `type:"structure"` + + // The ID for one audio pair configuration, a value from 1 to 8. + Id *int64 `locationName:"id" type:"integer"` + + // The profile to set for one audio pair configuration. Choose an enumeration + // value. Each value describes one audio configuration using the format (rate + // control algorithm)-(codec)_(quality)-(bitrate in bytes). For example, CBR-AAC_HQ-192000. + // Or choose DISABLED, in which case the device won't produce audio for this + // pair. + Profile *string `locationName:"profile" type:"string" enum:"InputDeviceConfigurableAudioChannelPairProfile"` } -// SetBitrate sets the Bitrate field's value. -func (s *H264Settings) SetBitrate(v int64) *H264Settings { - s.Bitrate = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputDeviceConfigurableAudioChannelPairConfig) String() string { + return awsutil.Prettify(s) } -// SetBufFillPct sets the BufFillPct field's value. -func (s *H264Settings) SetBufFillPct(v int64) *H264Settings { - s.BufFillPct = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputDeviceConfigurableAudioChannelPairConfig) GoString() string { + return s.String() } -// SetBufSize sets the BufSize field's value. -func (s *H264Settings) SetBufSize(v int64) *H264Settings { - s.BufSize = &v +// SetId sets the Id field's value. +func (s *InputDeviceConfigurableAudioChannelPairConfig) SetId(v int64) *InputDeviceConfigurableAudioChannelPairConfig { + s.Id = &v return s } -// SetColorMetadata sets the ColorMetadata field's value. -func (s *H264Settings) SetColorMetadata(v string) *H264Settings { - s.ColorMetadata = &v +// SetProfile sets the Profile field's value. +func (s *InputDeviceConfigurableAudioChannelPairConfig) SetProfile(v string) *InputDeviceConfigurableAudioChannelPairConfig { + s.Profile = &v return s } -// SetColorSpaceSettings sets the ColorSpaceSettings field's value. -func (s *H264Settings) SetColorSpaceSettings(v *H264ColorSpaceSettings) *H264Settings { - s.ColorSpaceSettings = v - return s +// Configurable settings for the input device. +type InputDeviceConfigurableSettings struct { + _ struct{} `type:"structure"` + + // An array of eight audio configurations, one for each audio pair in the source. + // Set up each audio configuration either to exclude the pair, or to format + // it and include it in the output from the device. This parameter applies only + // to UHD devices, and only when the device is configured as the source for + // a MediaConnect flow. For an HD device, you configure the audio by setting + // up audio selectors in the channel configuration. + AudioChannelPairs []*InputDeviceConfigurableAudioChannelPairConfig `locationName:"audioChannelPairs" type:"list"` + + // Choose the codec for the video that the device produces. Only UHD devices + // can specify this parameter. + Codec *string `locationName:"codec" type:"string" enum:"InputDeviceCodec"` + + // The input source that you want to use. If the device has a source connected + // to only one of its input ports, or if you don't care which source the device + // sends, specify Auto. If the device has sources connected to both its input + // ports, and you want to use a specific source, specify the source. + ConfiguredInput *string `locationName:"configuredInput" type:"string" enum:"InputDeviceConfiguredInput"` + + // The Link device's buffer size (latency) in milliseconds (ms). + LatencyMs *int64 `locationName:"latencyMs" type:"integer"` + + // The maximum bitrate in bits per second. Set a value here to throttle the + // bitrate of the source video. + MaxBitrate *int64 `locationName:"maxBitrate" type:"integer"` + + // To attach this device to a MediaConnect flow, specify these parameters. To + // detach an existing flow, enter {} for the value of mediaconnectSettings. + // Only UHD devices can specify this parameter. + MediaconnectSettings *InputDeviceMediaConnectConfigurableSettings `locationName:"mediaconnectSettings" type:"structure"` } -// SetEntropyEncoding sets the EntropyEncoding field's value. -func (s *H264Settings) SetEntropyEncoding(v string) *H264Settings { - s.EntropyEncoding = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputDeviceConfigurableSettings) String() string { + return awsutil.Prettify(s) } -// SetFilterSettings sets the FilterSettings field's value. -func (s *H264Settings) SetFilterSettings(v *H264FilterSettings) *H264Settings { - s.FilterSettings = v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputDeviceConfigurableSettings) GoString() string { + return s.String() } -// SetFixedAfd sets the FixedAfd field's value. -func (s *H264Settings) SetFixedAfd(v string) *H264Settings { - s.FixedAfd = &v +// SetAudioChannelPairs sets the AudioChannelPairs field's value. +func (s *InputDeviceConfigurableSettings) SetAudioChannelPairs(v []*InputDeviceConfigurableAudioChannelPairConfig) *InputDeviceConfigurableSettings { + s.AudioChannelPairs = v return s } -// SetFlickerAq sets the FlickerAq field's value. -func (s *H264Settings) SetFlickerAq(v string) *H264Settings { - s.FlickerAq = &v +// SetCodec sets the Codec field's value. +func (s *InputDeviceConfigurableSettings) SetCodec(v string) *InputDeviceConfigurableSettings { + s.Codec = &v return s } -// SetForceFieldPictures sets the ForceFieldPictures field's value. -func (s *H264Settings) SetForceFieldPictures(v string) *H264Settings { - s.ForceFieldPictures = &v +// SetConfiguredInput sets the ConfiguredInput field's value. +func (s *InputDeviceConfigurableSettings) SetConfiguredInput(v string) *InputDeviceConfigurableSettings { + s.ConfiguredInput = &v return s } -// SetFramerateControl sets the FramerateControl field's value. -func (s *H264Settings) SetFramerateControl(v string) *H264Settings { - s.FramerateControl = &v +// SetLatencyMs sets the LatencyMs field's value. +func (s *InputDeviceConfigurableSettings) SetLatencyMs(v int64) *InputDeviceConfigurableSettings { + s.LatencyMs = &v return s } -// SetFramerateDenominator sets the FramerateDenominator field's value. -func (s *H264Settings) SetFramerateDenominator(v int64) *H264Settings { - s.FramerateDenominator = &v +// SetMaxBitrate sets the MaxBitrate field's value. +func (s *InputDeviceConfigurableSettings) SetMaxBitrate(v int64) *InputDeviceConfigurableSettings { + s.MaxBitrate = &v return s } -// SetFramerateNumerator sets the FramerateNumerator field's value. -func (s *H264Settings) SetFramerateNumerator(v int64) *H264Settings { - s.FramerateNumerator = &v +// SetMediaconnectSettings sets the MediaconnectSettings field's value. +func (s *InputDeviceConfigurableSettings) SetMediaconnectSettings(v *InputDeviceMediaConnectConfigurableSettings) *InputDeviceConfigurableSettings { + s.MediaconnectSettings = v return s } -// SetGopBReference sets the GopBReference field's value. -func (s *H264Settings) SetGopBReference(v string) *H264Settings { - s.GopBReference = &v - return s +// Settings that describe the active source from the input device, and the video +// characteristics of that source. +type InputDeviceHdSettings struct { + _ struct{} `type:"structure"` + + // If you specified Auto as the configured input, specifies which of the sources + // is currently active (SDI or HDMI). + ActiveInput *string `locationName:"activeInput" type:"string" enum:"InputDeviceActiveInput"` + + // The source at the input device that is currently active. You can specify + // this source. + ConfiguredInput *string `locationName:"configuredInput" type:"string" enum:"InputDeviceConfiguredInput"` + + // The state of the input device. + DeviceState *string `locationName:"deviceState" type:"string" enum:"InputDeviceState"` + + // The frame rate of the video source. + Framerate *float64 `locationName:"framerate" type:"double"` + + // The height of the video source, in pixels. + Height *int64 `locationName:"height" type:"integer"` + + // The Link device's buffer size (latency) in milliseconds (ms). You can specify + // this value. + LatencyMs *int64 `locationName:"latencyMs" type:"integer"` + + // The current maximum bitrate for ingesting this source, in bits per second. + // You can specify this maximum. + MaxBitrate *int64 `locationName:"maxBitrate" type:"integer"` + + // The scan type of the video source. + ScanType *string `locationName:"scanType" type:"string" enum:"InputDeviceScanType"` + + // The width of the video source, in pixels. + Width *int64 `locationName:"width" type:"integer"` } -// SetGopClosedCadence sets the GopClosedCadence field's value. -func (s *H264Settings) SetGopClosedCadence(v int64) *H264Settings { - s.GopClosedCadence = &v +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputDeviceHdSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputDeviceHdSettings) GoString() string { + return s.String() +} + +// SetActiveInput sets the ActiveInput field's value. +func (s *InputDeviceHdSettings) SetActiveInput(v string) *InputDeviceHdSettings { + s.ActiveInput = &v return s } -// SetGopNumBFrames sets the GopNumBFrames field's value. -func (s *H264Settings) SetGopNumBFrames(v int64) *H264Settings { - s.GopNumBFrames = &v +// SetConfiguredInput sets the ConfiguredInput field's value. +func (s *InputDeviceHdSettings) SetConfiguredInput(v string) *InputDeviceHdSettings { + s.ConfiguredInput = &v return s } -// SetGopSize sets the GopSize field's value. -func (s *H264Settings) SetGopSize(v float64) *H264Settings { - s.GopSize = &v +// SetDeviceState sets the DeviceState field's value. +func (s *InputDeviceHdSettings) SetDeviceState(v string) *InputDeviceHdSettings { + s.DeviceState = &v return s } -// SetGopSizeUnits sets the GopSizeUnits field's value. -func (s *H264Settings) SetGopSizeUnits(v string) *H264Settings { - s.GopSizeUnits = &v +// SetFramerate sets the Framerate field's value. +func (s *InputDeviceHdSettings) SetFramerate(v float64) *InputDeviceHdSettings { + s.Framerate = &v return s } -// SetLevel sets the Level field's value. -func (s *H264Settings) SetLevel(v string) *H264Settings { - s.Level = &v +// SetHeight sets the Height field's value. +func (s *InputDeviceHdSettings) SetHeight(v int64) *InputDeviceHdSettings { + s.Height = &v return s } -// SetLookAheadRateControl sets the LookAheadRateControl field's value. -func (s *H264Settings) SetLookAheadRateControl(v string) *H264Settings { - s.LookAheadRateControl = &v +// SetLatencyMs sets the LatencyMs field's value. +func (s *InputDeviceHdSettings) SetLatencyMs(v int64) *InputDeviceHdSettings { + s.LatencyMs = &v return s } // SetMaxBitrate sets the MaxBitrate field's value. -func (s *H264Settings) SetMaxBitrate(v int64) *H264Settings { +func (s *InputDeviceHdSettings) SetMaxBitrate(v int64) *InputDeviceHdSettings { s.MaxBitrate = &v return s } -// SetMinIInterval sets the MinIInterval field's value. -func (s *H264Settings) SetMinIInterval(v int64) *H264Settings { - s.MinIInterval = &v +// SetScanType sets the ScanType field's value. +func (s *InputDeviceHdSettings) SetScanType(v string) *InputDeviceHdSettings { + s.ScanType = &v return s } -// SetNumRefFrames sets the NumRefFrames field's value. -func (s *H264Settings) SetNumRefFrames(v int64) *H264Settings { - s.NumRefFrames = &v +// SetWidth sets the Width field's value. +func (s *InputDeviceHdSettings) SetWidth(v int64) *InputDeviceHdSettings { + s.Width = &v return s } -// SetParControl sets the ParControl field's value. -func (s *H264Settings) SetParControl(v string) *H264Settings { - s.ParControl = &v - return s +// Parameters required to attach a MediaConnect flow to the device. +type InputDeviceMediaConnectConfigurableSettings struct { + _ struct{} `type:"structure"` + + // The ARN of the MediaConnect flow to attach this device to. + FlowArn *string `locationName:"flowArn" type:"string"` + + // The ARN for the role that MediaLive assumes to access the attached flow and + // secret. For more information about how to create this role, see the MediaLive + // user guide. + RoleArn *string `locationName:"roleArn" type:"string"` + + // The ARN for the secret that holds the encryption key to encrypt the content + // output by the device. + SecretArn *string `locationName:"secretArn" type:"string"` + + // The name of the MediaConnect Flow source to stream to. + SourceName *string `locationName:"sourceName" type:"string"` } -// SetParDenominator sets the ParDenominator field's value. -func (s *H264Settings) SetParDenominator(v int64) *H264Settings { - s.ParDenominator = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputDeviceMediaConnectConfigurableSettings) String() string { + return awsutil.Prettify(s) } -// SetParNumerator sets the ParNumerator field's value. -func (s *H264Settings) SetParNumerator(v int64) *H264Settings { - s.ParNumerator = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputDeviceMediaConnectConfigurableSettings) GoString() string { + return s.String() } -// SetProfile sets the Profile field's value. -func (s *H264Settings) SetProfile(v string) *H264Settings { - s.Profile = &v +// SetFlowArn sets the FlowArn field's value. +func (s *InputDeviceMediaConnectConfigurableSettings) SetFlowArn(v string) *InputDeviceMediaConnectConfigurableSettings { + s.FlowArn = &v return s } -// SetQualityLevel sets the QualityLevel field's value. -func (s *H264Settings) SetQualityLevel(v string) *H264Settings { - s.QualityLevel = &v +// SetRoleArn sets the RoleArn field's value. +func (s *InputDeviceMediaConnectConfigurableSettings) SetRoleArn(v string) *InputDeviceMediaConnectConfigurableSettings { + s.RoleArn = &v return s } -// SetQvbrQualityLevel sets the QvbrQualityLevel field's value. -func (s *H264Settings) SetQvbrQualityLevel(v int64) *H264Settings { - s.QvbrQualityLevel = &v +// SetSecretArn sets the SecretArn field's value. +func (s *InputDeviceMediaConnectConfigurableSettings) SetSecretArn(v string) *InputDeviceMediaConnectConfigurableSettings { + s.SecretArn = &v return s } -// SetRateControlMode sets the RateControlMode field's value. -func (s *H264Settings) SetRateControlMode(v string) *H264Settings { - s.RateControlMode = &v +// SetSourceName sets the SourceName field's value. +func (s *InputDeviceMediaConnectConfigurableSettings) SetSourceName(v string) *InputDeviceMediaConnectConfigurableSettings { + s.SourceName = &v return s } -// SetScanType sets the ScanType field's value. -func (s *H264Settings) SetScanType(v string) *H264Settings { - s.ScanType = &v - return s +// Information about the MediaConnect flow attached to the device. +type InputDeviceMediaConnectSettings struct { + _ struct{} `type:"structure"` + + // The ARN of the MediaConnect flow. + FlowArn *string `locationName:"flowArn" type:"string"` + + // The ARN for the role that MediaLive assumes to access the attached flow and + // secret. + RoleArn *string `locationName:"roleArn" type:"string"` + + // The ARN of the secret used to encrypt the stream. + SecretArn *string `locationName:"secretArn" type:"string"` + + // The name of the MediaConnect flow source. + SourceName *string `locationName:"sourceName" type:"string"` } -// SetSceneChangeDetect sets the SceneChangeDetect field's value. -func (s *H264Settings) SetSceneChangeDetect(v string) *H264Settings { - s.SceneChangeDetect = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputDeviceMediaConnectSettings) String() string { + return awsutil.Prettify(s) } -// SetSlices sets the Slices field's value. -func (s *H264Settings) SetSlices(v int64) *H264Settings { - s.Slices = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputDeviceMediaConnectSettings) GoString() string { + return s.String() } -// SetSoftness sets the Softness field's value. -func (s *H264Settings) SetSoftness(v int64) *H264Settings { - s.Softness = &v +// SetFlowArn sets the FlowArn field's value. +func (s *InputDeviceMediaConnectSettings) SetFlowArn(v string) *InputDeviceMediaConnectSettings { + s.FlowArn = &v return s } -// SetSpatialAq sets the SpatialAq field's value. -func (s *H264Settings) SetSpatialAq(v string) *H264Settings { - s.SpatialAq = &v +// SetRoleArn sets the RoleArn field's value. +func (s *InputDeviceMediaConnectSettings) SetRoleArn(v string) *InputDeviceMediaConnectSettings { + s.RoleArn = &v return s } -// SetSubgopLength sets the SubgopLength field's value. -func (s *H264Settings) SetSubgopLength(v string) *H264Settings { - s.SubgopLength = &v +// SetSecretArn sets the SecretArn field's value. +func (s *InputDeviceMediaConnectSettings) SetSecretArn(v string) *InputDeviceMediaConnectSettings { + s.SecretArn = &v return s } -// SetSyntax sets the Syntax field's value. -func (s *H264Settings) SetSyntax(v string) *H264Settings { - s.Syntax = &v +// SetSourceName sets the SourceName field's value. +func (s *InputDeviceMediaConnectSettings) SetSourceName(v string) *InputDeviceMediaConnectSettings { + s.SourceName = &v return s } -// SetTemporalAq sets the TemporalAq field's value. -func (s *H264Settings) SetTemporalAq(v string) *H264Settings { - s.TemporalAq = &v - return s +// The network settings for the input device. +type InputDeviceNetworkSettings struct { + _ struct{} `type:"structure"` + + // The DNS addresses of the input device. + DnsAddresses []*string `locationName:"dnsAddresses" type:"list"` + + // The network gateway IP address. + Gateway *string `locationName:"gateway" type:"string"` + + // The IP address of the input device. + IpAddress *string `locationName:"ipAddress" type:"string"` + + // Specifies whether the input device has been configured (outside of MediaLive) + // to use a dynamic IP address assignment (DHCP) or a static IP address. + IpScheme *string `locationName:"ipScheme" type:"string" enum:"InputDeviceIpScheme"` + + // The subnet mask of the input device. + SubnetMask *string `locationName:"subnetMask" type:"string"` } -// SetTimecodeBurninSettings sets the TimecodeBurninSettings field's value. -func (s *H264Settings) SetTimecodeBurninSettings(v *TimecodeBurninSettings) *H264Settings { - s.TimecodeBurninSettings = v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputDeviceNetworkSettings) String() string { + return awsutil.Prettify(s) } -// SetTimecodeInsertion sets the TimecodeInsertion field's value. -func (s *H264Settings) SetTimecodeInsertion(v string) *H264Settings { - s.TimecodeInsertion = &v +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputDeviceNetworkSettings) GoString() string { + return s.String() +} + +// SetDnsAddresses sets the DnsAddresses field's value. +func (s *InputDeviceNetworkSettings) SetDnsAddresses(v []*string) *InputDeviceNetworkSettings { + s.DnsAddresses = v return s } -// H265 Color Space Settings -type H265ColorSpaceSettings struct { - _ struct{} `type:"structure"` +// SetGateway sets the Gateway field's value. +func (s *InputDeviceNetworkSettings) SetGateway(v string) *InputDeviceNetworkSettings { + s.Gateway = &v + return s +} - // Passthrough applies no color space conversion to the output - ColorSpacePassthroughSettings *ColorSpacePassthroughSettings `locationName:"colorSpacePassthroughSettings" type:"structure"` +// SetIpAddress sets the IpAddress field's value. +func (s *InputDeviceNetworkSettings) SetIpAddress(v string) *InputDeviceNetworkSettings { + s.IpAddress = &v + return s +} - // Dolby Vision81 Settings - DolbyVision81Settings *DolbyVision81Settings `locationName:"dolbyVision81Settings" type:"structure"` +// SetIpScheme sets the IpScheme field's value. +func (s *InputDeviceNetworkSettings) SetIpScheme(v string) *InputDeviceNetworkSettings { + s.IpScheme = &v + return s +} - // Hdr10 Settings - Hdr10Settings *Hdr10Settings `locationName:"hdr10Settings" type:"structure"` +// SetSubnetMask sets the SubnetMask field's value. +func (s *InputDeviceNetworkSettings) SetSubnetMask(v string) *InputDeviceNetworkSettings { + s.SubnetMask = &v + return s +} - // Rec601 Settings - Rec601Settings *Rec601Settings `locationName:"rec601Settings" type:"structure"` +// Settings for an input device. +type InputDeviceRequest struct { + _ struct{} `type:"structure"` - // Rec709 Settings - Rec709Settings *Rec709Settings `locationName:"rec709Settings" type:"structure"` + // The unique ID for the device. + Id *string `locationName:"id" type:"string"` } // String returns the string representation. @@ -17992,7 +26426,7 @@ type H265ColorSpaceSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s H265ColorSpaceSettings) String() string { +func (s InputDeviceRequest) String() string { return awsutil.Prettify(s) } @@ -18001,46 +26435,22 @@ func (s H265ColorSpaceSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s H265ColorSpaceSettings) GoString() string { +func (s InputDeviceRequest) GoString() string { return s.String() } -// SetColorSpacePassthroughSettings sets the ColorSpacePassthroughSettings field's value. -func (s *H265ColorSpaceSettings) SetColorSpacePassthroughSettings(v *ColorSpacePassthroughSettings) *H265ColorSpaceSettings { - s.ColorSpacePassthroughSettings = v - return s -} - -// SetDolbyVision81Settings sets the DolbyVision81Settings field's value. -func (s *H265ColorSpaceSettings) SetDolbyVision81Settings(v *DolbyVision81Settings) *H265ColorSpaceSettings { - s.DolbyVision81Settings = v - return s -} - -// SetHdr10Settings sets the Hdr10Settings field's value. -func (s *H265ColorSpaceSettings) SetHdr10Settings(v *Hdr10Settings) *H265ColorSpaceSettings { - s.Hdr10Settings = v - return s -} - -// SetRec601Settings sets the Rec601Settings field's value. -func (s *H265ColorSpaceSettings) SetRec601Settings(v *Rec601Settings) *H265ColorSpaceSettings { - s.Rec601Settings = v - return s -} - -// SetRec709Settings sets the Rec709Settings field's value. -func (s *H265ColorSpaceSettings) SetRec709Settings(v *Rec709Settings) *H265ColorSpaceSettings { - s.Rec709Settings = v +// SetId sets the Id field's value. +func (s *InputDeviceRequest) SetId(v string) *InputDeviceRequest { + s.Id = &v return s } -// H265 Filter Settings -type H265FilterSettings struct { +// Settings for an input device. +type InputDeviceSettings struct { _ struct{} `type:"structure"` - // Temporal Filter Settings - TemporalFilterSettings *TemporalFilterSettings `locationName:"temporalFilterSettings" type:"structure"` + // The unique ID for the device. + Id *string `locationName:"id" type:"string"` } // String returns the string representation. @@ -18048,7 +26458,7 @@ type H265FilterSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s H265FilterSettings) String() string { +func (s InputDeviceSettings) String() string { return awsutil.Prettify(s) } @@ -18057,186 +26467,74 @@ func (s H265FilterSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s H265FilterSettings) GoString() string { +func (s InputDeviceSettings) GoString() string { return s.String() } -// SetTemporalFilterSettings sets the TemporalFilterSettings field's value. -func (s *H265FilterSettings) SetTemporalFilterSettings(v *TemporalFilterSettings) *H265FilterSettings { - s.TemporalFilterSettings = v +// SetId sets the Id field's value. +func (s *InputDeviceSettings) SetId(v string) *InputDeviceSettings { + s.Id = &v return s } -// H265 Settings -type H265Settings struct { +// Details of the input device. +type InputDeviceSummary struct { _ struct{} `type:"structure"` - // Adaptive quantization. Allows intra-frame quantizers to vary to improve visual - // quality. - AdaptiveQuantization *string `locationName:"adaptiveQuantization" type:"string" enum:"H265AdaptiveQuantization"` - - // Indicates that AFD values will be written into the output stream. If afdSignaling - // is "auto", the system will try to preserve the input AFD value (in cases - // where multiple AFD values are valid). If set to "fixed", the AFD value will - // be the value configured in the fixedAfd parameter. - AfdSignaling *string `locationName:"afdSignaling" type:"string" enum:"AfdSignaling"` - - // Whether or not EML should insert an Alternative Transfer Function SEI message - // to support backwards compatibility with non-HDR decoders and displays. - AlternativeTransferFunction *string `locationName:"alternativeTransferFunction" type:"string" enum:"H265AlternativeTransferFunction"` - - // Average bitrate in bits/second. Required when the rate control mode is VBR - // or CBR. Not used for QVBR. In an MS Smooth output group, each output must - // have a unique value when its bitrate is rounded down to the nearest multiple - // of 1000. - Bitrate *int64 `locationName:"bitrate" min:"100000" type:"integer"` - - // Size of buffer (HRD buffer model) in bits. - BufSize *int64 `locationName:"bufSize" min:"100000" type:"integer"` - - // Includes colorspace metadata in the output. - ColorMetadata *string `locationName:"colorMetadata" type:"string" enum:"H265ColorMetadata"` - - // Color Space settings - ColorSpaceSettings *H265ColorSpaceSettings `locationName:"colorSpaceSettings" type:"structure"` - - // Optional filters that you can apply to an encode. - FilterSettings *H265FilterSettings `locationName:"filterSettings" type:"structure"` - - // Four bit AFD value to write on all frames of video in the output stream. - // Only valid when afdSignaling is set to 'Fixed'. - FixedAfd *string `locationName:"fixedAfd" type:"string" enum:"FixedAfd"` - - // If set to enabled, adjust quantization within each frame to reduce flicker - // or 'pop' on I-frames. - FlickerAq *string `locationName:"flickerAq" type:"string" enum:"H265FlickerAq"` - - // Framerate denominator. - // - // FramerateDenominator is a required field - FramerateDenominator *int64 `locationName:"framerateDenominator" min:"1" type:"integer" required:"true"` - - // Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 - // fps. - // - // FramerateNumerator is a required field - FramerateNumerator *int64 `locationName:"framerateNumerator" min:"1" type:"integer" required:"true"` - - // Frequency of closed GOPs. In streaming applications, it is recommended that - // this be set to 1 so a decoder joining mid-stream will receive an IDR frame - // as quickly as possible. Setting this value to 0 will break output segmenting. - GopClosedCadence *int64 `locationName:"gopClosedCadence" type:"integer"` - - // GOP size (keyframe interval) in units of either frames or seconds per gopSizeUnits.If - // gopSizeUnits is frames, gopSize must be an integer and must be greater than - // or equal to 1.If gopSizeUnits is seconds, gopSize must be greater than 0, - // but need not be an integer. - GopSize *float64 `locationName:"gopSize" type:"double"` - - // Indicates if the gopSize is specified in frames or seconds. If seconds the - // system will convert the gopSize into a frame count at run time. - GopSizeUnits *string `locationName:"gopSizeUnits" type:"string" enum:"H265GopSizeUnits"` - - // H.265 Level. - Level *string `locationName:"level" type:"string" enum:"H265Level"` - - // Amount of lookahead. A value of low can decrease latency and memory usage, - // while high can produce better quality for certain content. - LookAheadRateControl *string `locationName:"lookAheadRateControl" type:"string" enum:"H265LookAheadRateControl"` - - // For QVBR: See the tooltip for Quality level - MaxBitrate *int64 `locationName:"maxBitrate" min:"100000" type:"integer"` - - // Only meaningful if sceneChangeDetect is set to enabled. Defaults to 5 if - // multiplex rate control is used. Enforces separation between repeated (cadence) - // I-frames and I-frames inserted by Scene Change Detection. If a scene change - // I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk - // and/or stretched to the scene change I-frame. GOP stretch requires enabling - // lookahead as well as setting I-interval. The normal cadence resumes for the - // next GOP. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1 - MinIInterval *int64 `locationName:"minIInterval" type:"integer"` - - // If you are setting up the picture as a tile, you must set this to "disabled". - // In all other configurations, you typically enter "enabled". - MvOverPictureBoundaries *string `locationName:"mvOverPictureBoundaries" type:"string" enum:"H265MvOverPictureBoundaries"` - - // If you are setting up the picture as a tile, you must set this to "disabled". - // In other configurations, you typically enter "enabled". - MvTemporalPredictor *string `locationName:"mvTemporalPredictor" type:"string" enum:"H265MvTemporalPredictor"` + // The unique ARN of the input device. + Arn *string `locationName:"arn" type:"string"` - // Pixel Aspect Ratio denominator. - ParDenominator *int64 `locationName:"parDenominator" min:"1" type:"integer"` + // The Availability Zone associated with this input device. + AvailabilityZone *string `locationName:"availabilityZone" type:"string"` - // Pixel Aspect Ratio numerator. - ParNumerator *int64 `locationName:"parNumerator" min:"1" type:"integer"` + // The state of the connection between the input device and AWS. + ConnectionState *string `locationName:"connectionState" type:"string" enum:"InputDeviceConnectionState"` - // H.265 Profile. - Profile *string `locationName:"profile" type:"string" enum:"H265Profile"` + // The status of the action to synchronize the device configuration. If you + // change the configuration of the input device (for example, the maximum bitrate), + // MediaLive sends the new data to the device. The device might not update itself + // immediately. SYNCED means the device has updated its configuration. SYNCING + // means that it has not updated its configuration. + DeviceSettingsSyncState *string `locationName:"deviceSettingsSyncState" type:"string" enum:"DeviceSettingsSyncState"` - // Controls the target quality for the video encode. Applies only when the rate - // control mode is QVBR. Set values for the QVBR quality level field and Max - // bitrate field that suit your most important viewing devices. Recommended - // values are:- Primary screen: Quality level: 8 to 10. Max bitrate: 4M- PC - // or tablet: Quality level: 7. Max bitrate: 1.5M to 3M- Smartphone: Quality - // level: 6. Max bitrate: 1M to 1.5M - QvbrQualityLevel *int64 `locationName:"qvbrQualityLevel" min:"1" type:"integer"` + // The status of software on the input device. + DeviceUpdateStatus *string `locationName:"deviceUpdateStatus" type:"string" enum:"DeviceUpdateStatus"` - // Rate control mode.QVBR: Quality will match the specified quality level except - // when it is constrained by themaximum bitrate. Recommended if you or your - // viewers pay for bandwidth.CBR: Quality varies, depending on the video complexity. - // Recommended only if you distributeyour assets to devices that cannot handle - // variable bitrates.Multiplex: This rate control mode is only supported (and - // is required) when the video is beingdelivered to a MediaLive Multiplex in - // which case the rate control configuration is controlledby the properties - // within the Multiplex Program. - RateControlMode *string `locationName:"rateControlMode" type:"string" enum:"H265RateControlMode"` + // Settings that describe an input device that is type HD. + HdDeviceSettings *InputDeviceHdSettings `locationName:"hdDeviceSettings" type:"structure"` - // Sets the scan type of the output to progressive or top-field-first interlaced. - ScanType *string `locationName:"scanType" type:"string" enum:"H265ScanType"` + // The unique ID of the input device. + Id *string `locationName:"id" type:"string"` - // Scene change detection. - SceneChangeDetect *string `locationName:"sceneChangeDetect" type:"string" enum:"H265SceneChangeDetect"` + // The network MAC address of the input device. + MacAddress *string `locationName:"macAddress" type:"string"` - // Number of slices per picture. Must be less than or equal to the number of - // macroblock rows for progressive pictures, and less than or equal to half - // the number of macroblock rows for interlaced pictures.This field is optional; - // when no value is specified the encoder will choose the number of slices based - // on encode resolution. - Slices *int64 `locationName:"slices" min:"1" type:"integer"` + // An array of the ARNs for the MediaLive inputs attached to the device. Returned + // only if the outputType is MEDIALIVE_INPUT. + MedialiveInputArns []*string `locationName:"medialiveInputArns" type:"list"` - // H.265 Tier. - Tier *string `locationName:"tier" type:"string" enum:"H265Tier"` + // A name that you specify for the input device. + Name *string `locationName:"name" type:"string"` - // Set this field to set up the picture as a tile. You must also set tileWidth.The - // tile height must result in 22 or fewer rows in the frame. The tile widthmust - // result in 20 or fewer columns in the frame. And finally, the product of thecolumn - // count and row count must be 64 of less.If the tile width and height are specified, - // MediaLive will override the videocodec slices field with a value that MediaLive - // calculates - TileHeight *int64 `locationName:"tileHeight" min:"64" type:"integer"` + // Network settings for the input device. + NetworkSettings *InputDeviceNetworkSettings `locationName:"networkSettings" type:"structure"` - // Set to "padded" to force MediaLive to add padding to the frame, to obtain - // a frame that is a whole multiple of the tile size.If you are setting up the - // picture as a tile, you must enter "padded".In all other configurations, you - // typically enter "none". - TilePadding *string `locationName:"tilePadding" type:"string" enum:"H265TilePadding"` + // The output attachment type of the input device. Specifies MEDIACONNECT_FLOW + // if this device is the source for a MediaConnect flow. Specifies MEDIALIVE_INPUT + // if this device is the source for a MediaLive input. + OutputType *string `locationName:"outputType" type:"string" enum:"InputDeviceOutputType"` - // Set this field to set up the picture as a tile. See tileHeight for more information. - TileWidth *int64 `locationName:"tileWidth" min:"256" type:"integer"` + // The unique serial number of the input device. + SerialNumber *string `locationName:"serialNumber" type:"string"` - // Timecode burn-in settings - TimecodeBurninSettings *TimecodeBurninSettings `locationName:"timecodeBurninSettings" type:"structure"` + // A collection of key-value pairs. + Tags map[string]*string `locationName:"tags" type:"map"` - // Determines how timecodes should be inserted into the video elementary stream.- - // 'disabled': Do not include timecodes- 'picTimingSei': Pass through picture - // timing SEI messages from the source specified in Timecode Config - TimecodeInsertion *string `locationName:"timecodeInsertion" type:"string" enum:"H265TimecodeInsertionBehavior"` + // The type of the input device. + Type *string `locationName:"type" type:"string" enum:"InputDeviceType"` - // Select the tree block size used for encoding. If you enter "auto", the encoder - // will pick the best size. If you are setting up the picture as a tile, you - // must set this to 32x32. In all other configurations, you typically enter - // "auto". - TreeblockSize *string `locationName:"treeblockSize" type:"string" enum:"H265TreeblockSize"` + // Settings that describe an input device that is type UHD. + UhdDeviceSettings *InputDeviceUhdSettings `locationName:"uhdDeviceSettings" type:"structure"` } // String returns the string representation. @@ -18244,7 +26542,7 @@ type H265Settings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s H265Settings) String() string { +func (s InputDeviceSummary) String() string { return awsutil.Prettify(s) } @@ -18253,293 +26551,310 @@ func (s H265Settings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s H265Settings) GoString() string { +func (s InputDeviceSummary) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *H265Settings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "H265Settings"} - if s.Bitrate != nil && *s.Bitrate < 100000 { - invalidParams.Add(request.NewErrParamMinValue("Bitrate", 100000)) - } - if s.BufSize != nil && *s.BufSize < 100000 { - invalidParams.Add(request.NewErrParamMinValue("BufSize", 100000)) - } - if s.FramerateDenominator == nil { - invalidParams.Add(request.NewErrParamRequired("FramerateDenominator")) - } - if s.FramerateDenominator != nil && *s.FramerateDenominator < 1 { - invalidParams.Add(request.NewErrParamMinValue("FramerateDenominator", 1)) - } - if s.FramerateNumerator == nil { - invalidParams.Add(request.NewErrParamRequired("FramerateNumerator")) - } - if s.FramerateNumerator != nil && *s.FramerateNumerator < 1 { - invalidParams.Add(request.NewErrParamMinValue("FramerateNumerator", 1)) - } - if s.MaxBitrate != nil && *s.MaxBitrate < 100000 { - invalidParams.Add(request.NewErrParamMinValue("MaxBitrate", 100000)) - } - if s.ParDenominator != nil && *s.ParDenominator < 1 { - invalidParams.Add(request.NewErrParamMinValue("ParDenominator", 1)) - } - if s.ParNumerator != nil && *s.ParNumerator < 1 { - invalidParams.Add(request.NewErrParamMinValue("ParNumerator", 1)) - } - if s.QvbrQualityLevel != nil && *s.QvbrQualityLevel < 1 { - invalidParams.Add(request.NewErrParamMinValue("QvbrQualityLevel", 1)) - } - if s.Slices != nil && *s.Slices < 1 { - invalidParams.Add(request.NewErrParamMinValue("Slices", 1)) - } - if s.TileHeight != nil && *s.TileHeight < 64 { - invalidParams.Add(request.NewErrParamMinValue("TileHeight", 64)) - } - if s.TileWidth != nil && *s.TileWidth < 256 { - invalidParams.Add(request.NewErrParamMinValue("TileWidth", 256)) - } - if s.TimecodeBurninSettings != nil { - if err := s.TimecodeBurninSettings.Validate(); err != nil { - invalidParams.AddNested("TimecodeBurninSettings", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAdaptiveQuantization sets the AdaptiveQuantization field's value. -func (s *H265Settings) SetAdaptiveQuantization(v string) *H265Settings { - s.AdaptiveQuantization = &v +// SetArn sets the Arn field's value. +func (s *InputDeviceSummary) SetArn(v string) *InputDeviceSummary { + s.Arn = &v return s } -// SetAfdSignaling sets the AfdSignaling field's value. -func (s *H265Settings) SetAfdSignaling(v string) *H265Settings { - s.AfdSignaling = &v +// SetAvailabilityZone sets the AvailabilityZone field's value. +func (s *InputDeviceSummary) SetAvailabilityZone(v string) *InputDeviceSummary { + s.AvailabilityZone = &v return s } -// SetAlternativeTransferFunction sets the AlternativeTransferFunction field's value. -func (s *H265Settings) SetAlternativeTransferFunction(v string) *H265Settings { - s.AlternativeTransferFunction = &v +// SetConnectionState sets the ConnectionState field's value. +func (s *InputDeviceSummary) SetConnectionState(v string) *InputDeviceSummary { + s.ConnectionState = &v return s } -// SetBitrate sets the Bitrate field's value. -func (s *H265Settings) SetBitrate(v int64) *H265Settings { - s.Bitrate = &v +// SetDeviceSettingsSyncState sets the DeviceSettingsSyncState field's value. +func (s *InputDeviceSummary) SetDeviceSettingsSyncState(v string) *InputDeviceSummary { + s.DeviceSettingsSyncState = &v return s } -// SetBufSize sets the BufSize field's value. -func (s *H265Settings) SetBufSize(v int64) *H265Settings { - s.BufSize = &v +// SetDeviceUpdateStatus sets the DeviceUpdateStatus field's value. +func (s *InputDeviceSummary) SetDeviceUpdateStatus(v string) *InputDeviceSummary { + s.DeviceUpdateStatus = &v return s } -// SetColorMetadata sets the ColorMetadata field's value. -func (s *H265Settings) SetColorMetadata(v string) *H265Settings { - s.ColorMetadata = &v +// SetHdDeviceSettings sets the HdDeviceSettings field's value. +func (s *InputDeviceSummary) SetHdDeviceSettings(v *InputDeviceHdSettings) *InputDeviceSummary { + s.HdDeviceSettings = v return s } -// SetColorSpaceSettings sets the ColorSpaceSettings field's value. -func (s *H265Settings) SetColorSpaceSettings(v *H265ColorSpaceSettings) *H265Settings { - s.ColorSpaceSettings = v +// SetId sets the Id field's value. +func (s *InputDeviceSummary) SetId(v string) *InputDeviceSummary { + s.Id = &v return s } -// SetFilterSettings sets the FilterSettings field's value. -func (s *H265Settings) SetFilterSettings(v *H265FilterSettings) *H265Settings { - s.FilterSettings = v +// SetMacAddress sets the MacAddress field's value. +func (s *InputDeviceSummary) SetMacAddress(v string) *InputDeviceSummary { + s.MacAddress = &v return s } -// SetFixedAfd sets the FixedAfd field's value. -func (s *H265Settings) SetFixedAfd(v string) *H265Settings { - s.FixedAfd = &v +// SetMedialiveInputArns sets the MedialiveInputArns field's value. +func (s *InputDeviceSummary) SetMedialiveInputArns(v []*string) *InputDeviceSummary { + s.MedialiveInputArns = v return s } -// SetFlickerAq sets the FlickerAq field's value. -func (s *H265Settings) SetFlickerAq(v string) *H265Settings { - s.FlickerAq = &v +// SetName sets the Name field's value. +func (s *InputDeviceSummary) SetName(v string) *InputDeviceSummary { + s.Name = &v return s } -// SetFramerateDenominator sets the FramerateDenominator field's value. -func (s *H265Settings) SetFramerateDenominator(v int64) *H265Settings { - s.FramerateDenominator = &v +// SetNetworkSettings sets the NetworkSettings field's value. +func (s *InputDeviceSummary) SetNetworkSettings(v *InputDeviceNetworkSettings) *InputDeviceSummary { + s.NetworkSettings = v return s } -// SetFramerateNumerator sets the FramerateNumerator field's value. -func (s *H265Settings) SetFramerateNumerator(v int64) *H265Settings { - s.FramerateNumerator = &v +// SetOutputType sets the OutputType field's value. +func (s *InputDeviceSummary) SetOutputType(v string) *InputDeviceSummary { + s.OutputType = &v return s } -// SetGopClosedCadence sets the GopClosedCadence field's value. -func (s *H265Settings) SetGopClosedCadence(v int64) *H265Settings { - s.GopClosedCadence = &v +// SetSerialNumber sets the SerialNumber field's value. +func (s *InputDeviceSummary) SetSerialNumber(v string) *InputDeviceSummary { + s.SerialNumber = &v return s } -// SetGopSize sets the GopSize field's value. -func (s *H265Settings) SetGopSize(v float64) *H265Settings { - s.GopSize = &v +// SetTags sets the Tags field's value. +func (s *InputDeviceSummary) SetTags(v map[string]*string) *InputDeviceSummary { + s.Tags = v return s } -// SetGopSizeUnits sets the GopSizeUnits field's value. -func (s *H265Settings) SetGopSizeUnits(v string) *H265Settings { - s.GopSizeUnits = &v +// SetType sets the Type field's value. +func (s *InputDeviceSummary) SetType(v string) *InputDeviceSummary { + s.Type = &v return s } -// SetLevel sets the Level field's value. -func (s *H265Settings) SetLevel(v string) *H265Settings { - s.Level = &v +// SetUhdDeviceSettings sets the UhdDeviceSettings field's value. +func (s *InputDeviceSummary) SetUhdDeviceSettings(v *InputDeviceUhdSettings) *InputDeviceSummary { + s.UhdDeviceSettings = v return s } -// SetLookAheadRateControl sets the LookAheadRateControl field's value. -func (s *H265Settings) SetLookAheadRateControl(v string) *H265Settings { - s.LookAheadRateControl = &v - return s +// One audio configuration that specifies the format for one audio pair that +// the device produces as output. +type InputDeviceUhdAudioChannelPairConfig struct { + _ struct{} `type:"structure"` + + // The ID for one audio pair configuration, a value from 1 to 8. + Id *int64 `locationName:"id" type:"integer"` + + // The profile for one audio pair configuration. This property describes one + // audio configuration in the format (rate control algorithm)-(codec)_(quality)-(bitrate + // in bytes). For example, CBR-AAC_HQ-192000. Or DISABLED, in which case the + // device won't produce audio for this pair. + Profile *string `locationName:"profile" type:"string" enum:"InputDeviceUhdAudioChannelPairProfile"` } -// SetMaxBitrate sets the MaxBitrate field's value. -func (s *H265Settings) SetMaxBitrate(v int64) *H265Settings { - s.MaxBitrate = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputDeviceUhdAudioChannelPairConfig) String() string { + return awsutil.Prettify(s) } -// SetMinIInterval sets the MinIInterval field's value. -func (s *H265Settings) SetMinIInterval(v int64) *H265Settings { - s.MinIInterval = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputDeviceUhdAudioChannelPairConfig) GoString() string { + return s.String() } -// SetMvOverPictureBoundaries sets the MvOverPictureBoundaries field's value. -func (s *H265Settings) SetMvOverPictureBoundaries(v string) *H265Settings { - s.MvOverPictureBoundaries = &v +// SetId sets the Id field's value. +func (s *InputDeviceUhdAudioChannelPairConfig) SetId(v int64) *InputDeviceUhdAudioChannelPairConfig { + s.Id = &v return s } -// SetMvTemporalPredictor sets the MvTemporalPredictor field's value. -func (s *H265Settings) SetMvTemporalPredictor(v string) *H265Settings { - s.MvTemporalPredictor = &v +// SetProfile sets the Profile field's value. +func (s *InputDeviceUhdAudioChannelPairConfig) SetProfile(v string) *InputDeviceUhdAudioChannelPairConfig { + s.Profile = &v return s } -// SetParDenominator sets the ParDenominator field's value. -func (s *H265Settings) SetParDenominator(v int64) *H265Settings { - s.ParDenominator = &v - return s +// Settings that describe the active source from the input device, and the video +// characteristics of that source. +type InputDeviceUhdSettings struct { + _ struct{} `type:"structure"` + + // If you specified Auto as the configured input, specifies which of the sources + // is currently active (SDI or HDMI). + ActiveInput *string `locationName:"activeInput" type:"string" enum:"InputDeviceActiveInput"` + + // An array of eight audio configurations, one for each audio pair in the source. + // Each audio configuration specifies either to exclude the pair, or to format + // it and include it in the output from the UHD device. Applies only when the + // device is configured as the source for a MediaConnect flow. + AudioChannelPairs []*InputDeviceUhdAudioChannelPairConfig `locationName:"audioChannelPairs" type:"list"` + + // The codec for the video that the device produces. + Codec *string `locationName:"codec" type:"string" enum:"InputDeviceCodec"` + + // The source at the input device that is currently active. You can specify + // this source. + ConfiguredInput *string `locationName:"configuredInput" type:"string" enum:"InputDeviceConfiguredInput"` + + // The state of the input device. + DeviceState *string `locationName:"deviceState" type:"string" enum:"InputDeviceState"` + + // The frame rate of the video source. + Framerate *float64 `locationName:"framerate" type:"double"` + + // The height of the video source, in pixels. + Height *int64 `locationName:"height" type:"integer"` + + // The Link device's buffer size (latency) in milliseconds (ms). You can specify + // this value. + LatencyMs *int64 `locationName:"latencyMs" type:"integer"` + + // The current maximum bitrate for ingesting this source, in bits per second. + // You can specify this maximum. + MaxBitrate *int64 `locationName:"maxBitrate" type:"integer"` + + // Information about the MediaConnect flow attached to the device. Returned + // only if the outputType is MEDIACONNECT_FLOW. + MediaconnectSettings *InputDeviceMediaConnectSettings `locationName:"mediaconnectSettings" type:"structure"` + + // The scan type of the video source. + ScanType *string `locationName:"scanType" type:"string" enum:"InputDeviceScanType"` + + // The width of the video source, in pixels. + Width *int64 `locationName:"width" type:"integer"` } -// SetParNumerator sets the ParNumerator field's value. -func (s *H265Settings) SetParNumerator(v int64) *H265Settings { - s.ParNumerator = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputDeviceUhdSettings) String() string { + return awsutil.Prettify(s) } -// SetProfile sets the Profile field's value. -func (s *H265Settings) SetProfile(v string) *H265Settings { - s.Profile = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputDeviceUhdSettings) GoString() string { + return s.String() } -// SetQvbrQualityLevel sets the QvbrQualityLevel field's value. -func (s *H265Settings) SetQvbrQualityLevel(v int64) *H265Settings { - s.QvbrQualityLevel = &v +// SetActiveInput sets the ActiveInput field's value. +func (s *InputDeviceUhdSettings) SetActiveInput(v string) *InputDeviceUhdSettings { + s.ActiveInput = &v return s } -// SetRateControlMode sets the RateControlMode field's value. -func (s *H265Settings) SetRateControlMode(v string) *H265Settings { - s.RateControlMode = &v +// SetAudioChannelPairs sets the AudioChannelPairs field's value. +func (s *InputDeviceUhdSettings) SetAudioChannelPairs(v []*InputDeviceUhdAudioChannelPairConfig) *InputDeviceUhdSettings { + s.AudioChannelPairs = v return s } -// SetScanType sets the ScanType field's value. -func (s *H265Settings) SetScanType(v string) *H265Settings { - s.ScanType = &v +// SetCodec sets the Codec field's value. +func (s *InputDeviceUhdSettings) SetCodec(v string) *InputDeviceUhdSettings { + s.Codec = &v return s } -// SetSceneChangeDetect sets the SceneChangeDetect field's value. -func (s *H265Settings) SetSceneChangeDetect(v string) *H265Settings { - s.SceneChangeDetect = &v +// SetConfiguredInput sets the ConfiguredInput field's value. +func (s *InputDeviceUhdSettings) SetConfiguredInput(v string) *InputDeviceUhdSettings { + s.ConfiguredInput = &v return s } -// SetSlices sets the Slices field's value. -func (s *H265Settings) SetSlices(v int64) *H265Settings { - s.Slices = &v +// SetDeviceState sets the DeviceState field's value. +func (s *InputDeviceUhdSettings) SetDeviceState(v string) *InputDeviceUhdSettings { + s.DeviceState = &v return s } -// SetTier sets the Tier field's value. -func (s *H265Settings) SetTier(v string) *H265Settings { - s.Tier = &v +// SetFramerate sets the Framerate field's value. +func (s *InputDeviceUhdSettings) SetFramerate(v float64) *InputDeviceUhdSettings { + s.Framerate = &v return s } -// SetTileHeight sets the TileHeight field's value. -func (s *H265Settings) SetTileHeight(v int64) *H265Settings { - s.TileHeight = &v +// SetHeight sets the Height field's value. +func (s *InputDeviceUhdSettings) SetHeight(v int64) *InputDeviceUhdSettings { + s.Height = &v return s } -// SetTilePadding sets the TilePadding field's value. -func (s *H265Settings) SetTilePadding(v string) *H265Settings { - s.TilePadding = &v +// SetLatencyMs sets the LatencyMs field's value. +func (s *InputDeviceUhdSettings) SetLatencyMs(v int64) *InputDeviceUhdSettings { + s.LatencyMs = &v return s } -// SetTileWidth sets the TileWidth field's value. -func (s *H265Settings) SetTileWidth(v int64) *H265Settings { - s.TileWidth = &v +// SetMaxBitrate sets the MaxBitrate field's value. +func (s *InputDeviceUhdSettings) SetMaxBitrate(v int64) *InputDeviceUhdSettings { + s.MaxBitrate = &v return s } -// SetTimecodeBurninSettings sets the TimecodeBurninSettings field's value. -func (s *H265Settings) SetTimecodeBurninSettings(v *TimecodeBurninSettings) *H265Settings { - s.TimecodeBurninSettings = v +// SetMediaconnectSettings sets the MediaconnectSettings field's value. +func (s *InputDeviceUhdSettings) SetMediaconnectSettings(v *InputDeviceMediaConnectSettings) *InputDeviceUhdSettings { + s.MediaconnectSettings = v return s } -// SetTimecodeInsertion sets the TimecodeInsertion field's value. -func (s *H265Settings) SetTimecodeInsertion(v string) *H265Settings { - s.TimecodeInsertion = &v +// SetScanType sets the ScanType field's value. +func (s *InputDeviceUhdSettings) SetScanType(v string) *InputDeviceUhdSettings { + s.ScanType = &v return s } -// SetTreeblockSize sets the TreeblockSize field's value. -func (s *H265Settings) SetTreeblockSize(v string) *H265Settings { - s.TreeblockSize = &v +// SetWidth sets the Width field's value. +func (s *InputDeviceUhdSettings) SetWidth(v int64) *InputDeviceUhdSettings { + s.Width = &v return s } -// Hdr10 Settings -type Hdr10Settings struct { +// Input Location +type InputLocation struct { _ struct{} `type:"structure"` - // Maximum Content Light LevelAn integer metadata value defining the maximum - // light level, in nits,of any single pixel within an encoded HDR video stream - // or file. - MaxCll *int64 `locationName:"maxCll" type:"integer"` + // key used to extract the password from EC2 Parameter store + PasswordParam *string `locationName:"passwordParam" type:"string"` - // Maximum Frame Average Light LevelAn integer metadata value defining the maximum - // average light level, in nits,for any single frame within an encoded HDR video - // stream or file. - MaxFall *int64 `locationName:"maxFall" type:"integer"` + // Uniform Resource Identifier - This should be a path to a file accessible + // to the Live system (eg. a http:// URI) depending on the output type. For + // example, a RTMP destination should have a uri simliar to: "rtmp://fmsserver/live". + // + // Uri is a required field + Uri *string `locationName:"uri" type:"string" required:"true"` + + // Username if credentials are required to access a file or publishing point. + // This can be either a plaintext username, or a reference to an AWS parameter + // store name from which the username can be retrieved. AWS Parameter store + // format: "ssm://" + Username *string `locationName:"username" type:"string"` } // String returns the string representation. @@ -18547,7 +26862,7 @@ type Hdr10Settings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Hdr10Settings) String() string { +func (s InputLocation) String() string { return awsutil.Prettify(s) } @@ -18556,51 +26871,67 @@ func (s Hdr10Settings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Hdr10Settings) GoString() string { +func (s InputLocation) GoString() string { return s.String() } -// SetMaxCll sets the MaxCll field's value. -func (s *Hdr10Settings) SetMaxCll(v int64) *Hdr10Settings { - s.MaxCll = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *InputLocation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "InputLocation"} + if s.Uri == nil { + invalidParams.Add(request.NewErrParamRequired("Uri")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetMaxFall sets the MaxFall field's value. -func (s *Hdr10Settings) SetMaxFall(v int64) *Hdr10Settings { - s.MaxFall = &v +// SetPasswordParam sets the PasswordParam field's value. +func (s *InputLocation) SetPasswordParam(v string) *InputLocation { + s.PasswordParam = &v return s } -// Hls Akamai Settings -type HlsAkamaiSettings struct { - _ struct{} `type:"structure"` +// SetUri sets the Uri field's value. +func (s *InputLocation) SetUri(v string) *InputLocation { + s.Uri = &v + return s +} - // Number of seconds to wait before retrying connection to the CDN if the connection - // is lost. - ConnectionRetryInterval *int64 `locationName:"connectionRetryInterval" type:"integer"` +// SetUsername sets the Username field's value. +func (s *InputLocation) SetUsername(v string) *InputLocation { + s.Username = &v + return s +} - // Size in seconds of file cache for streaming outputs. - FilecacheDuration *int64 `locationName:"filecacheDuration" type:"integer"` +// Input Loss Behavior +type InputLossBehavior struct { + _ struct{} `type:"structure"` - // Specify whether or not to use chunked transfer encoding to Akamai. User should - // contact Akamai to enable this feature. - HttpTransferMode *string `locationName:"httpTransferMode" type:"string" enum:"HlsAkamaiHttpTransferMode"` + // On input loss, the number of milliseconds to substitute black into the output + // before switching to the frame specified by inputLossImageType. A value x, + // where 0 <= x <= 1,000,000 and a value of 1,000,000 will be interpreted as + // infinite. + BlackFrameMsec *int64 `locationName:"blackFrameMsec" type:"integer"` - // Number of retry attempts that will be made before the Live Event is put into - // an error state. Applies only if the CDN destination URI begins with "s3" - // or "mediastore". For other URIs, the value is always 3. - NumRetries *int64 `locationName:"numRetries" type:"integer"` + // When input loss image type is "color" this field specifies the color to use. + // Value: 6 hex characters representing the values of RGB. + InputLossImageColor *string `locationName:"inputLossImageColor" min:"6" type:"string"` - // If a streaming output fails, number of seconds to wait until a restart is - // initiated. A value of 0 means never restart. - RestartDelay *int64 `locationName:"restartDelay" type:"integer"` + // When input loss image type is "slate" these fields specify the parameters + // for accessing the slate. + InputLossImageSlate *InputLocation `locationName:"inputLossImageSlate" type:"structure"` - // Salt for authenticated Akamai. - Salt *string `locationName:"salt" type:"string"` + // Indicates whether to substitute a solid color or a slate into the output + // after input loss exceeds blackFrameMsec. + InputLossImageType *string `locationName:"inputLossImageType" type:"string" enum:"InputLossImageType"` - // Token parameter for authenticated akamai. If not specified, _gda_ is used. - Token *string `locationName:"token" type:"string"` + // On input loss, the number of milliseconds to repeat the previous picture + // before substituting black into the output. A value x, where 0 <= x <= 1,000,000 + // and a value of 1,000,000 will be interpreted as infinite. + RepeatFrameMsec *int64 `locationName:"repeatFrameMsec" type:"integer"` } // String returns the string representation. @@ -18608,7 +26939,7 @@ type HlsAkamaiSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s HlsAkamaiSettings) String() string { +func (s InputLossBehavior) String() string { return awsutil.Prettify(s) } @@ -18617,71 +26948,66 @@ func (s HlsAkamaiSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s HlsAkamaiSettings) GoString() string { +func (s InputLossBehavior) GoString() string { return s.String() } -// SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. -func (s *HlsAkamaiSettings) SetConnectionRetryInterval(v int64) *HlsAkamaiSettings { - s.ConnectionRetryInterval = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *InputLossBehavior) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "InputLossBehavior"} + if s.InputLossImageColor != nil && len(*s.InputLossImageColor) < 6 { + invalidParams.Add(request.NewErrParamMinLen("InputLossImageColor", 6)) + } + if s.InputLossImageSlate != nil { + if err := s.InputLossImageSlate.Validate(); err != nil { + invalidParams.AddNested("InputLossImageSlate", err.(request.ErrInvalidParams)) + } + } -// SetFilecacheDuration sets the FilecacheDuration field's value. -func (s *HlsAkamaiSettings) SetFilecacheDuration(v int64) *HlsAkamaiSettings { - s.FilecacheDuration = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetHttpTransferMode sets the HttpTransferMode field's value. -func (s *HlsAkamaiSettings) SetHttpTransferMode(v string) *HlsAkamaiSettings { - s.HttpTransferMode = &v +// SetBlackFrameMsec sets the BlackFrameMsec field's value. +func (s *InputLossBehavior) SetBlackFrameMsec(v int64) *InputLossBehavior { + s.BlackFrameMsec = &v return s } -// SetNumRetries sets the NumRetries field's value. -func (s *HlsAkamaiSettings) SetNumRetries(v int64) *HlsAkamaiSettings { - s.NumRetries = &v +// SetInputLossImageColor sets the InputLossImageColor field's value. +func (s *InputLossBehavior) SetInputLossImageColor(v string) *InputLossBehavior { + s.InputLossImageColor = &v return s } -// SetRestartDelay sets the RestartDelay field's value. -func (s *HlsAkamaiSettings) SetRestartDelay(v int64) *HlsAkamaiSettings { - s.RestartDelay = &v +// SetInputLossImageSlate sets the InputLossImageSlate field's value. +func (s *InputLossBehavior) SetInputLossImageSlate(v *InputLocation) *InputLossBehavior { + s.InputLossImageSlate = v return s } -// SetSalt sets the Salt field's value. -func (s *HlsAkamaiSettings) SetSalt(v string) *HlsAkamaiSettings { - s.Salt = &v +// SetInputLossImageType sets the InputLossImageType field's value. +func (s *InputLossBehavior) SetInputLossImageType(v string) *InputLossBehavior { + s.InputLossImageType = &v return s } -// SetToken sets the Token field's value. -func (s *HlsAkamaiSettings) SetToken(v string) *HlsAkamaiSettings { - s.Token = &v +// SetRepeatFrameMsec sets the RepeatFrameMsec field's value. +func (s *InputLossBehavior) SetRepeatFrameMsec(v int64) *InputLossBehavior { + s.RepeatFrameMsec = &v return s } -// Hls Basic Put Settings -type HlsBasicPutSettings struct { +// MediaLive will perform a failover if content is not detected in this input +// for the specified period. +type InputLossFailoverSettings struct { _ struct{} `type:"structure"` - // Number of seconds to wait before retrying connection to the CDN if the connection - // is lost. - ConnectionRetryInterval *int64 `locationName:"connectionRetryInterval" type:"integer"` - - // Size in seconds of file cache for streaming outputs. - FilecacheDuration *int64 `locationName:"filecacheDuration" type:"integer"` - - // Number of retry attempts that will be made before the Live Event is put into - // an error state. Applies only if the CDN destination URI begins with "s3" - // or "mediastore". For other URIs, the value is always 3. - NumRetries *int64 `locationName:"numRetries" type:"integer"` - - // If a streaming output fails, number of seconds to wait until a restart is - // initiated. A value of 0 means never restart. - RestartDelay *int64 `locationName:"restartDelay" type:"integer"` + // The amount of time (in milliseconds) that no input is detected. After that + // time, an input failover will occur. + InputLossThresholdMsec *int64 `locationName:"inputLossThresholdMsec" min:"100" type:"integer"` } // String returns the string representation. @@ -18689,7 +27015,7 @@ type HlsBasicPutSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s HlsBasicPutSettings) String() string { +func (s InputLossFailoverSettings) String() string { return awsutil.Prettify(s) } @@ -18698,52 +27024,47 @@ func (s HlsBasicPutSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s HlsBasicPutSettings) GoString() string { +func (s InputLossFailoverSettings) GoString() string { return s.String() } -// SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. -func (s *HlsBasicPutSettings) SetConnectionRetryInterval(v int64) *HlsBasicPutSettings { - s.ConnectionRetryInterval = &v - return s -} - -// SetFilecacheDuration sets the FilecacheDuration field's value. -func (s *HlsBasicPutSettings) SetFilecacheDuration(v int64) *HlsBasicPutSettings { - s.FilecacheDuration = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *InputLossFailoverSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "InputLossFailoverSettings"} + if s.InputLossThresholdMsec != nil && *s.InputLossThresholdMsec < 100 { + invalidParams.Add(request.NewErrParamMinValue("InputLossThresholdMsec", 100)) + } -// SetNumRetries sets the NumRetries field's value. -func (s *HlsBasicPutSettings) SetNumRetries(v int64) *HlsBasicPutSettings { - s.NumRetries = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetRestartDelay sets the RestartDelay field's value. -func (s *HlsBasicPutSettings) SetRestartDelay(v int64) *HlsBasicPutSettings { - s.RestartDelay = &v +// SetInputLossThresholdMsec sets the InputLossThresholdMsec field's value. +func (s *InputLossFailoverSettings) SetInputLossThresholdMsec(v int64) *InputLossFailoverSettings { + s.InputLossThresholdMsec = &v return s } -// Hls Cdn Settings -type HlsCdnSettings struct { +// Action to prepare an input for a future immediate input switch. +type InputPrepareScheduleActionSettings struct { _ struct{} `type:"structure"` - // Hls Akamai Settings - HlsAkamaiSettings *HlsAkamaiSettings `locationName:"hlsAkamaiSettings" type:"structure"` - - // Hls Basic Put Settings - HlsBasicPutSettings *HlsBasicPutSettings `locationName:"hlsBasicPutSettings" type:"structure"` - - // Hls Media Store Settings - HlsMediaStoreSettings *HlsMediaStoreSettings `locationName:"hlsMediaStoreSettings" type:"structure"` + // The name of the input attachment that should be prepared by this action. + // If no name is provided, the action will stop the most recent prepare (if + // any) when activated. + InputAttachmentNameReference *string `locationName:"inputAttachmentNameReference" type:"string"` - // Hls S3 Settings - HlsS3Settings *HlsS3Settings `locationName:"hlsS3Settings" type:"structure"` + // Settings to let you create a clip of the file input, in order to set up the + // input to ingest only a portion of the file. + InputClippingSettings *InputClippingSettings `locationName:"inputClippingSettings" type:"structure"` - // Hls Webdav Settings - HlsWebdavSettings *HlsWebdavSettings `locationName:"hlsWebdavSettings" type:"structure"` + // The value for the variable portion of the URL for the dynamic input, for + // this instance of the input. Each time you use the same dynamic input in an + // input switch action, you can provide a different value, in order to connect + // the input to a different content source. + UrlPath []*string `locationName:"urlPath" type:"list"` } // String returns the string representation. @@ -18751,7 +27072,7 @@ type HlsCdnSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s HlsCdnSettings) String() string { +func (s InputPrepareScheduleActionSettings) String() string { return awsutil.Prettify(s) } @@ -18760,274 +27081,166 @@ func (s HlsCdnSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s HlsCdnSettings) GoString() string { +func (s InputPrepareScheduleActionSettings) GoString() string { return s.String() } -// SetHlsAkamaiSettings sets the HlsAkamaiSettings field's value. -func (s *HlsCdnSettings) SetHlsAkamaiSettings(v *HlsAkamaiSettings) *HlsCdnSettings { - s.HlsAkamaiSettings = v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *InputPrepareScheduleActionSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "InputPrepareScheduleActionSettings"} + if s.InputClippingSettings != nil { + if err := s.InputClippingSettings.Validate(); err != nil { + invalidParams.AddNested("InputClippingSettings", err.(request.ErrInvalidParams)) + } + } -// SetHlsBasicPutSettings sets the HlsBasicPutSettings field's value. -func (s *HlsCdnSettings) SetHlsBasicPutSettings(v *HlsBasicPutSettings) *HlsCdnSettings { - s.HlsBasicPutSettings = v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetHlsMediaStoreSettings sets the HlsMediaStoreSettings field's value. -func (s *HlsCdnSettings) SetHlsMediaStoreSettings(v *HlsMediaStoreSettings) *HlsCdnSettings { - s.HlsMediaStoreSettings = v +// SetInputAttachmentNameReference sets the InputAttachmentNameReference field's value. +func (s *InputPrepareScheduleActionSettings) SetInputAttachmentNameReference(v string) *InputPrepareScheduleActionSettings { + s.InputAttachmentNameReference = &v return s } -// SetHlsS3Settings sets the HlsS3Settings field's value. -func (s *HlsCdnSettings) SetHlsS3Settings(v *HlsS3Settings) *HlsCdnSettings { - s.HlsS3Settings = v +// SetInputClippingSettings sets the InputClippingSettings field's value. +func (s *InputPrepareScheduleActionSettings) SetInputClippingSettings(v *InputClippingSettings) *InputPrepareScheduleActionSettings { + s.InputClippingSettings = v return s } -// SetHlsWebdavSettings sets the HlsWebdavSettings field's value. -func (s *HlsCdnSettings) SetHlsWebdavSettings(v *HlsWebdavSettings) *HlsCdnSettings { - s.HlsWebdavSettings = v +// SetUrlPath sets the UrlPath field's value. +func (s *InputPrepareScheduleActionSettings) SetUrlPath(v []*string) *InputPrepareScheduleActionSettings { + s.UrlPath = v return s } -// Hls Group Settings -type HlsGroupSettings struct { +// An Input Security Group +type InputSecurityGroup struct { _ struct{} `type:"structure"` - // Choose one or more ad marker types to pass SCTE35 signals through to this - // group of Apple HLS outputs. - AdMarkers []*string `locationName:"adMarkers" type:"list" enum:"HlsAdMarkers"` - - // A partial URI prefix that will be prepended to each output in the media .m3u8 - // file. Can be used if base manifest is delivered from a different URL than - // the main .m3u8 file. - BaseUrlContent *string `locationName:"baseUrlContent" type:"string"` - - // Optional. One value per output group.This field is required only if you are - // completing Base URL content A, and the downstream system has notified you - // that the media files for pipeline 1 of all outputs are in a location different - // from the media files for pipeline 0. - BaseUrlContent1 *string `locationName:"baseUrlContent1" type:"string"` - - // A partial URI prefix that will be prepended to each output in the media .m3u8 - // file. Can be used if base manifest is delivered from a different URL than - // the main .m3u8 file. - BaseUrlManifest *string `locationName:"baseUrlManifest" type:"string"` - - // Optional. One value per output group.Complete this field only if you are - // completing Base URL manifest A, and the downstream system has notified you - // that the child manifest files for pipeline 1 of all outputs are in a location - // different from the child manifest files for pipeline 0. - BaseUrlManifest1 *string `locationName:"baseUrlManifest1" type:"string"` - - // Mapping of up to 4 caption channels to caption languages. Is only meaningful - // if captionLanguageSetting is set to "insert". - CaptionLanguageMappings []*CaptionLanguageMapping `locationName:"captionLanguageMappings" type:"list"` - - // Applies only to 608 Embedded output captions.insert: Include CLOSED-CAPTIONS - // lines in the manifest. Specify at least one language in the CC1 Language - // Code field. One CLOSED-CAPTION line is added for each Language Code you specify. - // Make sure to specify the languages in the order in which they appear in the - // original source (if the source is embedded format) or the order of the caption - // selectors (if the source is other than embedded). Otherwise, languages in - // the manifest will not match up properly with the output captions.none: Include - // CLOSED-CAPTIONS=NONE line in the manifest.omit: Omit any CLOSED-CAPTIONS - // line from the manifest. - CaptionLanguageSetting *string `locationName:"captionLanguageSetting" type:"string" enum:"HlsCaptionLanguageSetting"` - - // When set to "disabled", sets the #EXT-X-ALLOW-CACHE:no tag in the manifest, - // which prevents clients from saving media segments for later replay. - ClientCache *string `locationName:"clientCache" type:"string" enum:"HlsClientCache"` - - // Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist - // generation. - CodecSpecification *string `locationName:"codecSpecification" type:"string" enum:"HlsCodecSpecification"` - - // For use with encryptionType. This is a 128-bit, 16-byte hex value represented - // by a 32-character text string. If ivSource is set to "explicit" then this - // parameter is required and is used as the IV for encryption. - ConstantIv *string `locationName:"constantIv" min:"32" type:"string"` - - // A directory or HTTP destination for the HLS segments, manifest files, and - // encryption keys (if enabled). - // - // Destination is a required field - Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` - - // Place segments in subdirectories. - DirectoryStructure *string `locationName:"directoryStructure" type:"string" enum:"HlsDirectoryStructure"` - - // Specifies whether to insert EXT-X-DISCONTINUITY tags in the HLS child manifests - // for this output group.Typically, choose Insert because these tags are required - // in the manifest (according to the HLS specification) and serve an important - // purpose.Choose Never Insert only if the downstream system is doing real-time - // failover (without using the MediaLive automatic failover feature) and only - // if that downstream system has advised you to exclude the tags. - DiscontinuityTags *string `locationName:"discontinuityTags" type:"string" enum:"HlsDiscontinuityTags"` - - // Encrypts the segments with the given encryption scheme. Exclude this parameter - // if no encryption is desired. - EncryptionType *string `locationName:"encryptionType" type:"string" enum:"HlsEncryptionType"` - - // Parameters that control interactions with the CDN. - HlsCdnSettings *HlsCdnSettings `locationName:"hlsCdnSettings" type:"structure"` - - // State of HLS ID3 Segment Tagging - HlsId3SegmentTagging *string `locationName:"hlsId3SegmentTagging" type:"string" enum:"HlsId3SegmentTaggingState"` - - // DISABLED: Do not create an I-frame-only manifest, but do create the master - // and media manifests (according to the Output Selection field).STANDARD: Create - // an I-frame-only manifest for each output that contains video, as well as - // the other manifests (according to the Output Selection field). The I-frame - // manifest contains a #EXT-X-I-FRAMES-ONLY tag to indicate it is I-frame only, - // and one or more #EXT-X-BYTERANGE entries identifying the I-frame position. - // For example, #EXT-X-BYTERANGE:160364@1461888" - IFrameOnlyPlaylists *string `locationName:"iFrameOnlyPlaylists" type:"string" enum:"IFrameOnlyPlaylistType"` - - // Specifies whether to include the final (incomplete) segment in the media - // output when the pipeline stops producing output because of a channel stop, - // a channel pause or a loss of input to the pipeline.Auto means that MediaLive - // decides whether to include the final segment, depending on the channel class - // and the types of output groups.Suppress means to never include the incomplete - // segment. We recommend you choose Auto and let MediaLive control the behavior. - IncompleteSegmentBehavior *string `locationName:"incompleteSegmentBehavior" type:"string" enum:"HlsIncompleteSegmentBehavior"` - - // Applies only if Mode field is LIVE.Specifies the maximum number of segments - // in the media manifest file. After this maximum, older segments are removed - // from the media manifest. This number must be smaller than the number in the - // Keep Segments field. - IndexNSegments *int64 `locationName:"indexNSegments" min:"3" type:"integer"` + // Unique ARN of Input Security Group + Arn *string `locationName:"arn" type:"string"` - // Parameter that control output group behavior on input loss. - InputLossAction *string `locationName:"inputLossAction" type:"string" enum:"InputLossActionForHlsOut"` + // The Id of the Input Security Group + Id *string `locationName:"id" type:"string"` - // For use with encryptionType. The IV (Initialization Vector) is a 128-bit - // number used in conjunction with the key for encrypting blocks. If set to - // "include", IV is listed in the manifest, otherwise the IV is not in the manifest. - IvInManifest *string `locationName:"ivInManifest" type:"string" enum:"HlsIvInManifest"` + // The list of inputs currently using this Input Security Group. + Inputs []*string `locationName:"inputs" type:"list"` - // For use with encryptionType. The IV (Initialization Vector) is a 128-bit - // number used in conjunction with the key for encrypting blocks. If this setting - // is "followsSegmentNumber", it will cause the IV to change every segment (to - // match the segment number). If this is set to "explicit", you must enter a - // constantIv value. - IvSource *string `locationName:"ivSource" type:"string" enum:"HlsIvSource"` + // The current state of the Input Security Group. + State *string `locationName:"state" type:"string" enum:"InputSecurityGroupState"` - // Applies only if Mode field is LIVE.Specifies the number of media segments - // to retain in the destination directory. This number should be bigger than - // indexNSegments (Num segments). We recommend (value = (2 x indexNsegments) - // + 1).If this "keep segments" number is too low, the following might happen: - // the player is still reading a media manifest file that lists this segment, - // but that segment has been removed from the destination directory (as directed - // by indexNSegments). This situation would result in a 404 HTTP error on the - // player. - KeepSegments *int64 `locationName:"keepSegments" min:"1" type:"integer"` + // A collection of key-value pairs. + Tags map[string]*string `locationName:"tags" type:"map"` - // The value specifies how the key is represented in the resource identified - // by the URI. If parameter is absent, an implicit value of "identity" is used. - // A reverse DNS string can also be given. - KeyFormat *string `locationName:"keyFormat" type:"string"` + // Whitelist rules and their sync status + WhitelistRules []*InputWhitelistRule `locationName:"whitelistRules" type:"list"` +} - // Either a single positive integer version value or a slash delimited list - // of version values (1/2/3). - KeyFormatVersions *string `locationName:"keyFormatVersions" type:"string"` +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputSecurityGroup) String() string { + return awsutil.Prettify(s) +} - // The key provider settings. - KeyProviderSettings *KeyProviderSettings `locationName:"keyProviderSettings" type:"structure"` +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputSecurityGroup) GoString() string { + return s.String() +} - // When set to gzip, compresses HLS playlist. - ManifestCompression *string `locationName:"manifestCompression" type:"string" enum:"HlsManifestCompression"` +// SetArn sets the Arn field's value. +func (s *InputSecurityGroup) SetArn(v string) *InputSecurityGroup { + s.Arn = &v + return s +} - // Indicates whether the output manifest should use floating point or integer - // values for segment duration. - ManifestDurationFormat *string `locationName:"manifestDurationFormat" type:"string" enum:"HlsManifestDurationFormat"` +// SetId sets the Id field's value. +func (s *InputSecurityGroup) SetId(v string) *InputSecurityGroup { + s.Id = &v + return s +} - // Minimum length of MPEG-2 Transport Stream segments in seconds. When set, - // minimum segment length is enforced by looking ahead and back within the specified - // range for a nearby avail and extending the segment size if needed. - MinSegmentLength *int64 `locationName:"minSegmentLength" type:"integer"` +// SetInputs sets the Inputs field's value. +func (s *InputSecurityGroup) SetInputs(v []*string) *InputSecurityGroup { + s.Inputs = v + return s +} - // If "vod", all segments are indexed and kept permanently in the destination - // and manifest. If "live", only the number segments specified in keepSegments - // and indexNSegments are kept; newer segments replace older segments, which - // may prevent players from rewinding all the way to the beginning of the event.VOD - // mode uses HLS EXT-X-PLAYLIST-TYPE of EVENT while the channel is running, - // converting it to a "VOD" type manifest on completion of the stream. - Mode *string `locationName:"mode" type:"string" enum:"HlsMode"` +// SetState sets the State field's value. +func (s *InputSecurityGroup) SetState(v string) *InputSecurityGroup { + s.State = &v + return s +} - // MANIFESTS_AND_SEGMENTS: Generates manifests (master manifest, if applicable, - // and media manifests) for this output group.VARIANT_MANIFESTS_AND_SEGMENTS: - // Generates media manifests for this output group, but not a master manifest.SEGMENTS_ONLY: - // Does not generate any manifests for this output group. - OutputSelection *string `locationName:"outputSelection" type:"string" enum:"HlsOutputSelection"` +// SetTags sets the Tags field's value. +func (s *InputSecurityGroup) SetTags(v map[string]*string) *InputSecurityGroup { + s.Tags = v + return s +} - // Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files. - // The value is calculated using the program date time clock. - ProgramDateTime *string `locationName:"programDateTime" type:"string" enum:"HlsProgramDateTime"` +// SetWhitelistRules sets the WhitelistRules field's value. +func (s *InputSecurityGroup) SetWhitelistRules(v []*InputWhitelistRule) *InputSecurityGroup { + s.WhitelistRules = v + return s +} - // Specifies the algorithm used to drive the HLS EXT-X-PROGRAM-DATE-TIME clock. - // Options include:INITIALIZE_FROM_OUTPUT_TIMECODE: The PDT clock is initialized - // as a function of the first output timecode, then incremented by the EXTINF - // duration of each encoded segment.SYSTEM_CLOCK: The PDT clock is initialized - // as a function of the UTC wall clock, then incremented by the EXTINF duration - // of each encoded segment. If the PDT clock diverges from the wall clock by - // more than 500ms, it is resynchronized to the wall clock. - ProgramDateTimeClock *string `locationName:"programDateTimeClock" type:"string" enum:"HlsProgramDateTimeClock"` +// Live Event input parameters. There can be multiple inputs in a single Live +// Event. +type InputSettings struct { + _ struct{} `type:"structure"` - // Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds. - ProgramDateTimePeriod *int64 `locationName:"programDateTimePeriod" type:"integer"` + // Used to select the audio stream to decode for inputs that have multiple available. + AudioSelectors []*AudioSelector `locationName:"audioSelectors" type:"list"` - // ENABLED: The master manifest (.m3u8 file) for each pipeline includes information - // about both pipelines: first its own media files, then the media files of - // the other pipeline. This feature allows playout device that support stale - // manifest detection to switch from one manifest to the other, when the current - // manifest seems to be stale. There are still two destinations and two master - // manifests, but both master manifests reference the media files from both - // pipelines.DISABLED: The master manifest (.m3u8 file) for each pipeline includes - // information about its own pipeline only.For an HLS output group with MediaPackage - // as the destination, the DISABLED behavior is always followed. MediaPackage - // regenerates the manifests it serves to players so a redundant manifest from - // MediaLive is irrelevant. - RedundantManifest *string `locationName:"redundantManifest" type:"string" enum:"HlsRedundantManifest"` + // Used to select the caption input to use for inputs that have multiple available. + CaptionSelectors []*CaptionSelector `locationName:"captionSelectors" type:"list"` - // Length of MPEG-2 Transport Stream segments to create in seconds. Note that - // segments will end on the next keyframe after this duration, so actual segment - // length may be longer. - SegmentLength *int64 `locationName:"segmentLength" min:"1" type:"integer"` + // Enable or disable the deblock filter when filtering. + DeblockFilter *string `locationName:"deblockFilter" type:"string" enum:"InputDeblockFilter"` - // useInputSegmentation has been deprecated. The configured segment size is - // always used. - SegmentationMode *string `locationName:"segmentationMode" type:"string" enum:"HlsSegmentationMode"` + // Enable or disable the denoise filter when filtering. + DenoiseFilter *string `locationName:"denoiseFilter" type:"string" enum:"InputDenoiseFilter"` - // Number of segments to write to a subdirectory before starting a new one. - // directoryStructure must be subdirectoryPerStream for this setting to have - // an effect. - SegmentsPerSubdirectory *int64 `locationName:"segmentsPerSubdirectory" min:"1" type:"integer"` + // Adjusts the magnitude of filtering from 1 (minimal) to 5 (strongest). + FilterStrength *int64 `locationName:"filterStrength" min:"1" type:"integer"` - // Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag - // of variant manifest. - StreamInfResolution *string `locationName:"streamInfResolution" type:"string" enum:"HlsStreamInfResolution"` + // Turns on the filter for this input. MPEG-2 inputs have the deblocking filter + // enabled by default.1) auto - filtering will be applied depending on input + // type/quality2) disabled - no filtering will be applied to the input3) forced + // - filtering will be applied regardless of input type + InputFilter *string `locationName:"inputFilter" type:"string" enum:"InputFilter"` - // Indicates ID3 frame that has the timecode. - TimedMetadataId3Frame *string `locationName:"timedMetadataId3Frame" type:"string" enum:"HlsTimedMetadataId3Frame"` + // Input settings. + NetworkInputSettings *NetworkInputSettings `locationName:"networkInputSettings" type:"structure"` - // Timed Metadata interval in seconds. - TimedMetadataId3Period *int64 `locationName:"timedMetadataId3Period" type:"integer"` + // PID from which to read SCTE-35 messages. If left undefined, EML will select + // the first SCTE-35 PID found in the input. + Scte35Pid *int64 `locationName:"scte35Pid" min:"32" type:"integer"` - // Provides an extra millisecond delta offset to fine tune the timestamps. - TimestampDeltaMilliseconds *int64 `locationName:"timestampDeltaMilliseconds" type:"integer"` + // Specifies whether to extract applicable ancillary data from a SMPTE-2038 + // source in this input. Applicable data types are captions, timecode, AFD, + // and SCTE-104 messages.- PREFER: Extract from SMPTE-2038 if present in this + // input, otherwise extract from another source (if any).- IGNORE: Never extract + // any ancillary data from SMPTE-2038. + Smpte2038DataPreference *string `locationName:"smpte2038DataPreference" type:"string" enum:"Smpte2038DataPreference"` - // SEGMENTED_FILES: Emit the program as segments - multiple .ts media files.SINGLE_FILE: - // Applies only if Mode field is VOD. Emit the program as a single .ts media - // file. The media manifest includes #EXT-X-BYTERANGE tags to index segments - // for playback. A typical use for this value is when sending the output to - // AWS Elemental MediaConvert, which can accept only a single media file. Playback - // while the channel is running is not guaranteed due to HTTP server caching. - TsFileMode *string `locationName:"tsFileMode" type:"string" enum:"HlsTsFileMode"` + // Loop input if it is a file. This allows a file input to be streamed indefinitely. + SourceEndBehavior *string `locationName:"sourceEndBehavior" type:"string" enum:"InputSourceEndBehavior"` + + // Informs which video elementary stream to decode for input types that have + // multiple available. + VideoSelector *VideoSelector `locationName:"videoSelector" type:"structure"` } // String returns the string representation. @@ -19035,7 +27248,7 @@ type HlsGroupSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s HlsGroupSettings) String() string { +func (s InputSettings) String() string { return awsutil.Prettify(s) } @@ -19044,44 +27257,37 @@ func (s HlsGroupSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s HlsGroupSettings) GoString() string { +func (s InputSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *HlsGroupSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "HlsGroupSettings"} - if s.ConstantIv != nil && len(*s.ConstantIv) < 32 { - invalidParams.Add(request.NewErrParamMinLen("ConstantIv", 32)) - } - if s.Destination == nil { - invalidParams.Add(request.NewErrParamRequired("Destination")) - } - if s.IndexNSegments != nil && *s.IndexNSegments < 3 { - invalidParams.Add(request.NewErrParamMinValue("IndexNSegments", 3)) - } - if s.KeepSegments != nil && *s.KeepSegments < 1 { - invalidParams.Add(request.NewErrParamMinValue("KeepSegments", 1)) - } - if s.SegmentLength != nil && *s.SegmentLength < 1 { - invalidParams.Add(request.NewErrParamMinValue("SegmentLength", 1)) +func (s *InputSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "InputSettings"} + if s.FilterStrength != nil && *s.FilterStrength < 1 { + invalidParams.Add(request.NewErrParamMinValue("FilterStrength", 1)) } - if s.SegmentsPerSubdirectory != nil && *s.SegmentsPerSubdirectory < 1 { - invalidParams.Add(request.NewErrParamMinValue("SegmentsPerSubdirectory", 1)) + if s.Scte35Pid != nil && *s.Scte35Pid < 32 { + invalidParams.Add(request.NewErrParamMinValue("Scte35Pid", 32)) } - if s.CaptionLanguageMappings != nil { - for i, v := range s.CaptionLanguageMappings { + if s.AudioSelectors != nil { + for i, v := range s.AudioSelectors { if v == nil { continue } if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CaptionLanguageMappings", i), err.(request.ErrInvalidParams)) + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AudioSelectors", i), err.(request.ErrInvalidParams)) } } } - if s.KeyProviderSettings != nil { - if err := s.KeyProviderSettings.Validate(); err != nil { - invalidParams.AddNested("KeyProviderSettings", err.(request.ErrInvalidParams)) + if s.CaptionSelectors != nil { + for i, v := range s.CaptionSelectors { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CaptionSelectors", i), err.(request.ErrInvalidParams)) + } } } @@ -19091,275 +27297,314 @@ func (s *HlsGroupSettings) Validate() error { return nil } -// SetAdMarkers sets the AdMarkers field's value. -func (s *HlsGroupSettings) SetAdMarkers(v []*string) *HlsGroupSettings { - s.AdMarkers = v +// SetAudioSelectors sets the AudioSelectors field's value. +func (s *InputSettings) SetAudioSelectors(v []*AudioSelector) *InputSettings { + s.AudioSelectors = v return s } -// SetBaseUrlContent sets the BaseUrlContent field's value. -func (s *HlsGroupSettings) SetBaseUrlContent(v string) *HlsGroupSettings { - s.BaseUrlContent = &v +// SetCaptionSelectors sets the CaptionSelectors field's value. +func (s *InputSettings) SetCaptionSelectors(v []*CaptionSelector) *InputSettings { + s.CaptionSelectors = v return s } -// SetBaseUrlContent1 sets the BaseUrlContent1 field's value. -func (s *HlsGroupSettings) SetBaseUrlContent1(v string) *HlsGroupSettings { - s.BaseUrlContent1 = &v +// SetDeblockFilter sets the DeblockFilter field's value. +func (s *InputSettings) SetDeblockFilter(v string) *InputSettings { + s.DeblockFilter = &v return s } -// SetBaseUrlManifest sets the BaseUrlManifest field's value. -func (s *HlsGroupSettings) SetBaseUrlManifest(v string) *HlsGroupSettings { - s.BaseUrlManifest = &v +// SetDenoiseFilter sets the DenoiseFilter field's value. +func (s *InputSettings) SetDenoiseFilter(v string) *InputSettings { + s.DenoiseFilter = &v return s } -// SetBaseUrlManifest1 sets the BaseUrlManifest1 field's value. -func (s *HlsGroupSettings) SetBaseUrlManifest1(v string) *HlsGroupSettings { - s.BaseUrlManifest1 = &v +// SetFilterStrength sets the FilterStrength field's value. +func (s *InputSettings) SetFilterStrength(v int64) *InputSettings { + s.FilterStrength = &v return s } -// SetCaptionLanguageMappings sets the CaptionLanguageMappings field's value. -func (s *HlsGroupSettings) SetCaptionLanguageMappings(v []*CaptionLanguageMapping) *HlsGroupSettings { - s.CaptionLanguageMappings = v +// SetInputFilter sets the InputFilter field's value. +func (s *InputSettings) SetInputFilter(v string) *InputSettings { + s.InputFilter = &v return s } -// SetCaptionLanguageSetting sets the CaptionLanguageSetting field's value. -func (s *HlsGroupSettings) SetCaptionLanguageSetting(v string) *HlsGroupSettings { - s.CaptionLanguageSetting = &v +// SetNetworkInputSettings sets the NetworkInputSettings field's value. +func (s *InputSettings) SetNetworkInputSettings(v *NetworkInputSettings) *InputSettings { + s.NetworkInputSettings = v return s } -// SetClientCache sets the ClientCache field's value. -func (s *HlsGroupSettings) SetClientCache(v string) *HlsGroupSettings { - s.ClientCache = &v +// SetScte35Pid sets the Scte35Pid field's value. +func (s *InputSettings) SetScte35Pid(v int64) *InputSettings { + s.Scte35Pid = &v return s } -// SetCodecSpecification sets the CodecSpecification field's value. -func (s *HlsGroupSettings) SetCodecSpecification(v string) *HlsGroupSettings { - s.CodecSpecification = &v +// SetSmpte2038DataPreference sets the Smpte2038DataPreference field's value. +func (s *InputSettings) SetSmpte2038DataPreference(v string) *InputSettings { + s.Smpte2038DataPreference = &v return s } -// SetConstantIv sets the ConstantIv field's value. -func (s *HlsGroupSettings) SetConstantIv(v string) *HlsGroupSettings { - s.ConstantIv = &v +// SetSourceEndBehavior sets the SourceEndBehavior field's value. +func (s *InputSettings) SetSourceEndBehavior(v string) *InputSettings { + s.SourceEndBehavior = &v return s } -// SetDestination sets the Destination field's value. -func (s *HlsGroupSettings) SetDestination(v *OutputLocationRef) *HlsGroupSettings { - s.Destination = v +// SetVideoSelector sets the VideoSelector field's value. +func (s *InputSettings) SetVideoSelector(v *VideoSelector) *InputSettings { + s.VideoSelector = v return s } -// SetDirectoryStructure sets the DirectoryStructure field's value. -func (s *HlsGroupSettings) SetDirectoryStructure(v string) *HlsGroupSettings { - s.DirectoryStructure = &v - return s -} +// The settings for a PULL type input. +type InputSource struct { + _ struct{} `type:"structure"` -// SetDiscontinuityTags sets the DiscontinuityTags field's value. -func (s *HlsGroupSettings) SetDiscontinuityTags(v string) *HlsGroupSettings { - s.DiscontinuityTags = &v - return s -} + // The key used to extract the password from EC2 Parameter store. + PasswordParam *string `locationName:"passwordParam" type:"string"` -// SetEncryptionType sets the EncryptionType field's value. -func (s *HlsGroupSettings) SetEncryptionType(v string) *HlsGroupSettings { - s.EncryptionType = &v - return s -} + // This represents the customer's source URL where stream ispulled from. + Url *string `locationName:"url" type:"string"` -// SetHlsCdnSettings sets the HlsCdnSettings field's value. -func (s *HlsGroupSettings) SetHlsCdnSettings(v *HlsCdnSettings) *HlsGroupSettings { - s.HlsCdnSettings = v - return s + // The username for the input source. + Username *string `locationName:"username" type:"string"` } -// SetHlsId3SegmentTagging sets the HlsId3SegmentTagging field's value. -func (s *HlsGroupSettings) SetHlsId3SegmentTagging(v string) *HlsGroupSettings { - s.HlsId3SegmentTagging = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputSource) String() string { + return awsutil.Prettify(s) } -// SetIFrameOnlyPlaylists sets the IFrameOnlyPlaylists field's value. -func (s *HlsGroupSettings) SetIFrameOnlyPlaylists(v string) *HlsGroupSettings { - s.IFrameOnlyPlaylists = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputSource) GoString() string { + return s.String() } -// SetIncompleteSegmentBehavior sets the IncompleteSegmentBehavior field's value. -func (s *HlsGroupSettings) SetIncompleteSegmentBehavior(v string) *HlsGroupSettings { - s.IncompleteSegmentBehavior = &v +// SetPasswordParam sets the PasswordParam field's value. +func (s *InputSource) SetPasswordParam(v string) *InputSource { + s.PasswordParam = &v return s } -// SetIndexNSegments sets the IndexNSegments field's value. -func (s *HlsGroupSettings) SetIndexNSegments(v int64) *HlsGroupSettings { - s.IndexNSegments = &v +// SetUrl sets the Url field's value. +func (s *InputSource) SetUrl(v string) *InputSource { + s.Url = &v return s } -// SetInputLossAction sets the InputLossAction field's value. -func (s *HlsGroupSettings) SetInputLossAction(v string) *HlsGroupSettings { - s.InputLossAction = &v +// SetUsername sets the Username field's value. +func (s *InputSource) SetUsername(v string) *InputSource { + s.Username = &v return s } -// SetIvInManifest sets the IvInManifest field's value. -func (s *HlsGroupSettings) SetIvInManifest(v string) *HlsGroupSettings { - s.IvInManifest = &v - return s -} +// Settings for for a PULL type input. +type InputSourceRequest struct { + _ struct{} `type:"structure"` -// SetIvSource sets the IvSource field's value. -func (s *HlsGroupSettings) SetIvSource(v string) *HlsGroupSettings { - s.IvSource = &v - return s -} + // The key used to extract the password from EC2 Parameter store. + PasswordParam *string `locationName:"passwordParam" type:"string"` -// SetKeepSegments sets the KeepSegments field's value. -func (s *HlsGroupSettings) SetKeepSegments(v int64) *HlsGroupSettings { - s.KeepSegments = &v - return s -} + // This represents the customer's source URL where stream ispulled from. + Url *string `locationName:"url" type:"string"` -// SetKeyFormat sets the KeyFormat field's value. -func (s *HlsGroupSettings) SetKeyFormat(v string) *HlsGroupSettings { - s.KeyFormat = &v - return s + // The username for the input source. + Username *string `locationName:"username" type:"string"` } -// SetKeyFormatVersions sets the KeyFormatVersions field's value. -func (s *HlsGroupSettings) SetKeyFormatVersions(v string) *HlsGroupSettings { - s.KeyFormatVersions = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputSourceRequest) String() string { + return awsutil.Prettify(s) } -// SetKeyProviderSettings sets the KeyProviderSettings field's value. -func (s *HlsGroupSettings) SetKeyProviderSettings(v *KeyProviderSettings) *HlsGroupSettings { - s.KeyProviderSettings = v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputSourceRequest) GoString() string { + return s.String() } -// SetManifestCompression sets the ManifestCompression field's value. -func (s *HlsGroupSettings) SetManifestCompression(v string) *HlsGroupSettings { - s.ManifestCompression = &v +// SetPasswordParam sets the PasswordParam field's value. +func (s *InputSourceRequest) SetPasswordParam(v string) *InputSourceRequest { + s.PasswordParam = &v return s } -// SetManifestDurationFormat sets the ManifestDurationFormat field's value. -func (s *HlsGroupSettings) SetManifestDurationFormat(v string) *HlsGroupSettings { - s.ManifestDurationFormat = &v +// SetUrl sets the Url field's value. +func (s *InputSourceRequest) SetUrl(v string) *InputSourceRequest { + s.Url = &v return s } -// SetMinSegmentLength sets the MinSegmentLength field's value. -func (s *HlsGroupSettings) SetMinSegmentLength(v int64) *HlsGroupSettings { - s.MinSegmentLength = &v +// SetUsername sets the Username field's value. +func (s *InputSourceRequest) SetUsername(v string) *InputSourceRequest { + s.Username = &v return s } -// SetMode sets the Mode field's value. -func (s *HlsGroupSettings) SetMode(v string) *HlsGroupSettings { - s.Mode = &v - return s +type InputSpecification struct { + _ struct{} `type:"structure"` + + // Input codec + Codec *string `locationName:"codec" type:"string" enum:"InputCodec"` + + // Maximum input bitrate, categorized coarsely + MaximumBitrate *string `locationName:"maximumBitrate" type:"string" enum:"InputMaximumBitrate"` + + // Input resolution, categorized coarsely + Resolution *string `locationName:"resolution" type:"string" enum:"InputResolution"` } -// SetOutputSelection sets the OutputSelection field's value. -func (s *HlsGroupSettings) SetOutputSelection(v string) *HlsGroupSettings { - s.OutputSelection = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputSpecification) String() string { + return awsutil.Prettify(s) } -// SetProgramDateTime sets the ProgramDateTime field's value. -func (s *HlsGroupSettings) SetProgramDateTime(v string) *HlsGroupSettings { - s.ProgramDateTime = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputSpecification) GoString() string { + return s.String() } -// SetProgramDateTimeClock sets the ProgramDateTimeClock field's value. -func (s *HlsGroupSettings) SetProgramDateTimeClock(v string) *HlsGroupSettings { - s.ProgramDateTimeClock = &v +// SetCodec sets the Codec field's value. +func (s *InputSpecification) SetCodec(v string) *InputSpecification { + s.Codec = &v return s } -// SetProgramDateTimePeriod sets the ProgramDateTimePeriod field's value. -func (s *HlsGroupSettings) SetProgramDateTimePeriod(v int64) *HlsGroupSettings { - s.ProgramDateTimePeriod = &v +// SetMaximumBitrate sets the MaximumBitrate field's value. +func (s *InputSpecification) SetMaximumBitrate(v string) *InputSpecification { + s.MaximumBitrate = &v return s } -// SetRedundantManifest sets the RedundantManifest field's value. -func (s *HlsGroupSettings) SetRedundantManifest(v string) *HlsGroupSettings { - s.RedundantManifest = &v +// SetResolution sets the Resolution field's value. +func (s *InputSpecification) SetResolution(v string) *InputSpecification { + s.Resolution = &v return s } -// SetSegmentLength sets the SegmentLength field's value. -func (s *HlsGroupSettings) SetSegmentLength(v int64) *HlsGroupSettings { - s.SegmentLength = &v - return s +// Settings for the "switch input" action: to switch from ingesting one input +// to ingesting another input. +type InputSwitchScheduleActionSettings struct { + _ struct{} `type:"structure"` + + // The name of the input attachment (not the name of the input!) to switch to. + // The name is specified in the channel configuration. + // + // InputAttachmentNameReference is a required field + InputAttachmentNameReference *string `locationName:"inputAttachmentNameReference" type:"string" required:"true"` + + // Settings to let you create a clip of the file input, in order to set up the + // input to ingest only a portion of the file. + InputClippingSettings *InputClippingSettings `locationName:"inputClippingSettings" type:"structure"` + + // The value for the variable portion of the URL for the dynamic input, for + // this instance of the input. Each time you use the same dynamic input in an + // input switch action, you can provide a different value, in order to connect + // the input to a different content source. + UrlPath []*string `locationName:"urlPath" type:"list"` } -// SetSegmentationMode sets the SegmentationMode field's value. -func (s *HlsGroupSettings) SetSegmentationMode(v string) *HlsGroupSettings { - s.SegmentationMode = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputSwitchScheduleActionSettings) String() string { + return awsutil.Prettify(s) } -// SetSegmentsPerSubdirectory sets the SegmentsPerSubdirectory field's value. -func (s *HlsGroupSettings) SetSegmentsPerSubdirectory(v int64) *HlsGroupSettings { - s.SegmentsPerSubdirectory = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputSwitchScheduleActionSettings) GoString() string { + return s.String() } -// SetStreamInfResolution sets the StreamInfResolution field's value. -func (s *HlsGroupSettings) SetStreamInfResolution(v string) *HlsGroupSettings { - s.StreamInfResolution = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *InputSwitchScheduleActionSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "InputSwitchScheduleActionSettings"} + if s.InputAttachmentNameReference == nil { + invalidParams.Add(request.NewErrParamRequired("InputAttachmentNameReference")) + } + if s.InputClippingSettings != nil { + if err := s.InputClippingSettings.Validate(); err != nil { + invalidParams.AddNested("InputClippingSettings", err.(request.ErrInvalidParams)) + } + } -// SetTimedMetadataId3Frame sets the TimedMetadataId3Frame field's value. -func (s *HlsGroupSettings) SetTimedMetadataId3Frame(v string) *HlsGroupSettings { - s.TimedMetadataId3Frame = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetTimedMetadataId3Period sets the TimedMetadataId3Period field's value. -func (s *HlsGroupSettings) SetTimedMetadataId3Period(v int64) *HlsGroupSettings { - s.TimedMetadataId3Period = &v +// SetInputAttachmentNameReference sets the InputAttachmentNameReference field's value. +func (s *InputSwitchScheduleActionSettings) SetInputAttachmentNameReference(v string) *InputSwitchScheduleActionSettings { + s.InputAttachmentNameReference = &v return s } -// SetTimestampDeltaMilliseconds sets the TimestampDeltaMilliseconds field's value. -func (s *HlsGroupSettings) SetTimestampDeltaMilliseconds(v int64) *HlsGroupSettings { - s.TimestampDeltaMilliseconds = &v +// SetInputClippingSettings sets the InputClippingSettings field's value. +func (s *InputSwitchScheduleActionSettings) SetInputClippingSettings(v *InputClippingSettings) *InputSwitchScheduleActionSettings { + s.InputClippingSettings = v return s } -// SetTsFileMode sets the TsFileMode field's value. -func (s *HlsGroupSettings) SetTsFileMode(v string) *HlsGroupSettings { - s.TsFileMode = &v +// SetUrlPath sets the UrlPath field's value. +func (s *InputSwitchScheduleActionSettings) SetUrlPath(v []*string) *InputSwitchScheduleActionSettings { + s.UrlPath = v return s } -// Settings for the action to insert a user-defined ID3 tag in each HLS segment -type HlsId3SegmentTaggingScheduleActionSettings struct { +// Settings for a private VPC Input.When this property is specified, the input +// destination addresses will be created in a VPC rather than with public Internet +// addresses.This property requires setting the roleArn property on Input creation.Not +// compatible with the inputSecurityGroups property. +type InputVpcRequest struct { _ struct{} `type:"structure"` - // Base64 string formatted according to the ID3 specification: http://id3.org/id3v2.4.0-structure - Id3 *string `locationName:"id3" type:"string"` + // A list of up to 5 EC2 VPC security group IDs to attach to the Input VPC network + // interfaces.Requires subnetIds. If none are specified then the VPC default + // security group will be used. + SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"` - // ID3 tag to insert into each segment. Supports special keyword identifiers - // to substitute in segment-related values.\nSupported keyword identifiers: - // https://docs.aws.amazon.com/medialive/latest/ug/variable-data-identifiers.html - Tag *string `locationName:"tag" type:"string"` + // A list of 2 VPC subnet IDs from the same VPC.Subnet IDs must be mapped to + // two unique availability zones (AZ). + // + // SubnetIds is a required field + SubnetIds []*string `locationName:"subnetIds" type:"list" required:"true"` } // String returns the string representation. @@ -19367,7 +27612,7 @@ type HlsId3SegmentTaggingScheduleActionSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s HlsId3SegmentTaggingScheduleActionSettings) String() string { +func (s InputVpcRequest) String() string { return awsutil.Prettify(s) } @@ -19376,50 +27621,41 @@ func (s HlsId3SegmentTaggingScheduleActionSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s HlsId3SegmentTaggingScheduleActionSettings) GoString() string { +func (s InputVpcRequest) GoString() string { return s.String() } -// SetId3 sets the Id3 field's value. -func (s *HlsId3SegmentTaggingScheduleActionSettings) SetId3(v string) *HlsId3SegmentTaggingScheduleActionSettings { - s.Id3 = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *InputVpcRequest) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "InputVpcRequest"} + if s.SubnetIds == nil { + invalidParams.Add(request.NewErrParamRequired("SubnetIds")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSecurityGroupIds sets the SecurityGroupIds field's value. +func (s *InputVpcRequest) SetSecurityGroupIds(v []*string) *InputVpcRequest { + s.SecurityGroupIds = v return s } -// SetTag sets the Tag field's value. -func (s *HlsId3SegmentTaggingScheduleActionSettings) SetTag(v string) *HlsId3SegmentTaggingScheduleActionSettings { - s.Tag = &v +// SetSubnetIds sets the SubnetIds field's value. +func (s *InputVpcRequest) SetSubnetIds(v []*string) *InputVpcRequest { + s.SubnetIds = v return s } -// Hls Input Settings -type HlsInputSettings struct { +// Whitelist rule +type InputWhitelistRule struct { _ struct{} `type:"structure"` - // When specified the HLS stream with the m3u8 BANDWIDTH that most closely matches - // this value will be chosen, otherwise the highest bandwidth stream in the - // m3u8 will be chosen. The bitrate is specified in bits per second, as in an - // HLS manifest. - Bandwidth *int64 `locationName:"bandwidth" type:"integer"` - - // When specified, reading of the HLS input will begin this many buffer segments - // from the end (most recently written segment). When not specified, the HLS - // input will begin with the first segment specified in the m3u8. - BufferSegments *int64 `locationName:"bufferSegments" type:"integer"` - - // The number of consecutive times that attempts to read a manifest or segment - // must fail before the input is considered unavailable. - Retries *int64 `locationName:"retries" type:"integer"` - - // The number of seconds between retries when an attempt to read a manifest - // or segment fails. - RetryInterval *int64 `locationName:"retryInterval" type:"integer"` - - // Identifies the source for the SCTE-35 messages that MediaLive will ingest. - // Messages can be ingested from the content segments (in the stream) or from - // tags in the playlist (the HLS manifest). MediaLive ignores SCTE-35 information - // in the source that is not selected. - Scte35Source *string `locationName:"scte35Source" type:"string" enum:"HlsScte35SourceType"` + // The IPv4 CIDR that's whitelisted. + Cidr *string `locationName:"cidr" type:"string"` } // String returns the string representation. @@ -19427,7 +27663,7 @@ type HlsInputSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s HlsInputSettings) String() string { +func (s InputWhitelistRule) String() string { return awsutil.Prettify(s) } @@ -19436,63 +27672,53 @@ func (s HlsInputSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s HlsInputSettings) GoString() string { +func (s InputWhitelistRule) GoString() string { return s.String() } -// SetBandwidth sets the Bandwidth field's value. -func (s *HlsInputSettings) SetBandwidth(v int64) *HlsInputSettings { - s.Bandwidth = &v +// SetCidr sets the Cidr field's value. +func (s *InputWhitelistRule) SetCidr(v string) *InputWhitelistRule { + s.Cidr = &v return s } -// SetBufferSegments sets the BufferSegments field's value. -func (s *HlsInputSettings) SetBufferSegments(v int64) *HlsInputSettings { - s.BufferSegments = &v - return s +// An IPv4 CIDR to whitelist. +type InputWhitelistRuleCidr struct { + _ struct{} `type:"structure"` + + // The IPv4 CIDR to whitelist. + Cidr *string `locationName:"cidr" type:"string"` } -// SetRetries sets the Retries field's value. -func (s *HlsInputSettings) SetRetries(v int64) *HlsInputSettings { - s.Retries = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputWhitelistRuleCidr) String() string { + return awsutil.Prettify(s) } -// SetRetryInterval sets the RetryInterval field's value. -func (s *HlsInputSettings) SetRetryInterval(v int64) *HlsInputSettings { - s.RetryInterval = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InputWhitelistRuleCidr) GoString() string { + return s.String() } -// SetScte35Source sets the Scte35Source field's value. -func (s *HlsInputSettings) SetScte35Source(v string) *HlsInputSettings { - s.Scte35Source = &v +// SetCidr sets the Cidr field's value. +func (s *InputWhitelistRuleCidr) SetCidr(v string) *InputWhitelistRuleCidr { + s.Cidr = &v return s } -// Hls Media Store Settings -type HlsMediaStoreSettings struct { - _ struct{} `type:"structure"` - - // Number of seconds to wait before retrying connection to the CDN if the connection - // is lost. - ConnectionRetryInterval *int64 `locationName:"connectionRetryInterval" type:"integer"` - - // Size in seconds of file cache for streaming outputs. - FilecacheDuration *int64 `locationName:"filecacheDuration" type:"integer"` - - // When set to temporal, output files are stored in non-persistent memory for - // faster reading and writing. - MediaStoreStorageClass *string `locationName:"mediaStoreStorageClass" type:"string" enum:"HlsMediaStoreStorageClass"` - - // Number of retry attempts that will be made before the Live Event is put into - // an error state. Applies only if the CDN destination URI begins with "s3" - // or "mediastore". For other URIs, the value is always 3. - NumRetries *int64 `locationName:"numRetries" type:"integer"` +type InternalServerErrorException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // If a streaming output fails, number of seconds to wait until a restart is - // initiated. A value of 0 means never restart. - RestartDelay *int64 `locationName:"restartDelay" type:"integer"` + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation. @@ -19500,7 +27726,7 @@ type HlsMediaStoreSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s HlsMediaStoreSettings) String() string { +func (s InternalServerErrorException) String() string { return awsutil.Prettify(s) } @@ -19509,60 +27735,54 @@ func (s HlsMediaStoreSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s HlsMediaStoreSettings) GoString() string { +func (s InternalServerErrorException) GoString() string { return s.String() } -// SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. -func (s *HlsMediaStoreSettings) SetConnectionRetryInterval(v int64) *HlsMediaStoreSettings { - s.ConnectionRetryInterval = &v - return s +func newErrorInternalServerErrorException(v protocol.ResponseMetadata) error { + return &InternalServerErrorException{ + RespMetadata: v, + } } -// SetFilecacheDuration sets the FilecacheDuration field's value. -func (s *HlsMediaStoreSettings) SetFilecacheDuration(v int64) *HlsMediaStoreSettings { - s.FilecacheDuration = &v - return s +// Code returns the exception type name. +func (s *InternalServerErrorException) Code() string { + return "InternalServerErrorException" } -// SetMediaStoreStorageClass sets the MediaStoreStorageClass field's value. -func (s *HlsMediaStoreSettings) SetMediaStoreStorageClass(v string) *HlsMediaStoreSettings { - s.MediaStoreStorageClass = &v - return s +// Message returns the exception's message. +func (s *InternalServerErrorException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" } -// SetNumRetries sets the NumRetries field's value. -func (s *HlsMediaStoreSettings) SetNumRetries(v int64) *HlsMediaStoreSettings { - s.NumRetries = &v - return s +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InternalServerErrorException) OrigErr() error { + return nil } -// SetRestartDelay sets the RestartDelay field's value. -func (s *HlsMediaStoreSettings) SetRestartDelay(v int64) *HlsMediaStoreSettings { - s.RestartDelay = &v - return s +func (s *InternalServerErrorException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) } -// Hls Output Settings -type HlsOutputSettings struct { - _ struct{} `type:"structure"` - - // Only applicable when this output is referencing an H.265 video description.Specifies - // whether MP4 segments should be packaged as HEV1 or HVC1. - H265PackagingType *string `locationName:"h265PackagingType" type:"string" enum:"HlsH265PackagingType"` +// Status code returns the HTTP status code for the request's response error. +func (s *InternalServerErrorException) StatusCode() int { + return s.RespMetadata.StatusCode +} - // Settings regarding the underlying stream. These settings are different for - // audio-only outputs. - // - // HlsSettings is a required field - HlsSettings *HlsSettings `locationName:"hlsSettings" type:"structure" required:"true"` +// RequestID returns the service's response RequestID for request. +func (s *InternalServerErrorException) RequestID() string { + return s.RespMetadata.RequestID +} - // String concatenated to the end of the destination filename. Accepts \"Format - // Identifiers\":#formatIdentifierParameters. - NameModifier *string `locationName:"nameModifier" min:"1" type:"string"` +// Key Provider Settings +type KeyProviderSettings struct { + _ struct{} `type:"structure"` - // String concatenated to end of segment filenames. - SegmentModifier *string `locationName:"segmentModifier" type:"string"` + // Static Key Settings + StaticKeySettings *StaticKeySettings `locationName:"staticKeySettings" type:"structure"` } // String returns the string representation. @@ -19570,7 +27790,7 @@ type HlsOutputSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s HlsOutputSettings) String() string { +func (s KeyProviderSettings) String() string { return awsutil.Prettify(s) } @@ -19579,22 +27799,16 @@ func (s HlsOutputSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s HlsOutputSettings) GoString() string { +func (s KeyProviderSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *HlsOutputSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "HlsOutputSettings"} - if s.HlsSettings == nil { - invalidParams.Add(request.NewErrParamRequired("HlsSettings")) - } - if s.NameModifier != nil && len(*s.NameModifier) < 1 { - invalidParams.Add(request.NewErrParamMinLen("NameModifier", 1)) - } - if s.HlsSettings != nil { - if err := s.HlsSettings.Validate(); err != nil { - invalidParams.AddNested("HlsSettings", err.(request.ErrInvalidParams)) +func (s *KeyProviderSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KeyProviderSettings"} + if s.StaticKeySettings != nil { + if err := s.StaticKeySettings.Validate(); err != nil { + invalidParams.AddNested("StaticKeySettings", err.(request.ErrInvalidParams)) } } @@ -19604,36 +27818,69 @@ func (s *HlsOutputSettings) Validate() error { return nil } -// SetH265PackagingType sets the H265PackagingType field's value. -func (s *HlsOutputSettings) SetH265PackagingType(v string) *HlsOutputSettings { - s.H265PackagingType = &v +// SetStaticKeySettings sets the StaticKeySettings field's value. +func (s *KeyProviderSettings) SetStaticKeySettings(v *StaticKeySettings) *KeyProviderSettings { + s.StaticKeySettings = v return s } -// SetHlsSettings sets the HlsSettings field's value. -func (s *HlsOutputSettings) SetHlsSettings(v *HlsSettings) *HlsOutputSettings { - s.HlsSettings = v - return s +type ListChannelsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } -// SetNameModifier sets the NameModifier field's value. -func (s *HlsOutputSettings) SetNameModifier(v string) *HlsOutputSettings { - s.NameModifier = &v +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListChannelsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListChannelsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListChannelsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListChannelsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListChannelsInput) SetMaxResults(v int64) *ListChannelsInput { + s.MaxResults = &v return s } -// SetSegmentModifier sets the SegmentModifier field's value. -func (s *HlsOutputSettings) SetSegmentModifier(v string) *HlsOutputSettings { - s.SegmentModifier = &v +// SetNextToken sets the NextToken field's value. +func (s *ListChannelsInput) SetNextToken(v string) *ListChannelsInput { + s.NextToken = &v return s } -// Hls S3 Settings -type HlsS3Settings struct { +type ListChannelsOutput struct { _ struct{} `type:"structure"` - // Specify the canned ACL to apply to each S3 request. Defaults to none. - CannedAcl *string `locationName:"cannedAcl" type:"string" enum:"S3CannedAcl"` + Channels []*ChannelSummary `locationName:"channels" type:"list"` + + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -19641,7 +27888,7 @@ type HlsS3Settings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s HlsS3Settings) String() string { +func (s ListChannelsOutput) String() string { return awsutil.Prettify(s) } @@ -19650,31 +27897,32 @@ func (s HlsS3Settings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s HlsS3Settings) GoString() string { +func (s ListChannelsOutput) GoString() string { return s.String() } -// SetCannedAcl sets the CannedAcl field's value. -func (s *HlsS3Settings) SetCannedAcl(v string) *HlsS3Settings { - s.CannedAcl = &v +// SetChannels sets the Channels field's value. +func (s *ListChannelsOutput) SetChannels(v []*ChannelSummary) *ListChannelsOutput { + s.Channels = v return s } -// Hls Settings -type HlsSettings struct { - _ struct{} `type:"structure"` +// SetNextToken sets the NextToken field's value. +func (s *ListChannelsOutput) SetNextToken(v string) *ListChannelsOutput { + s.NextToken = &v + return s +} - // Audio Only Hls Settings - AudioOnlyHlsSettings *AudioOnlyHlsSettings `locationName:"audioOnlyHlsSettings" type:"structure"` +type ListCloudWatchAlarmTemplateGroupsInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // Fmp4 Hls Settings - Fmp4HlsSettings *Fmp4HlsSettings `locationName:"fmp4HlsSettings" type:"structure"` + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // Frame Capture Hls Settings - FrameCaptureHlsSettings *FrameCaptureHlsSettings `locationName:"frameCaptureHlsSettings" type:"structure"` + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` - // Standard Hls Settings - StandardHlsSettings *StandardHlsSettings `locationName:"standardHlsSettings" type:"structure"` + Scope *string `location:"querystring" locationName:"scope" type:"string"` + + SignalMapIdentifier *string `location:"querystring" locationName:"signalMapIdentifier" type:"string"` } // String returns the string representation. @@ -19682,7 +27930,7 @@ type HlsSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s HlsSettings) String() string { +func (s ListCloudWatchAlarmTemplateGroupsInput) String() string { return awsutil.Prettify(s) } @@ -19691,22 +27939,15 @@ func (s HlsSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s HlsSettings) GoString() string { +func (s ListCloudWatchAlarmTemplateGroupsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *HlsSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "HlsSettings"} - if s.AudioOnlyHlsSettings != nil { - if err := s.AudioOnlyHlsSettings.Validate(); err != nil { - invalidParams.AddNested("AudioOnlyHlsSettings", err.(request.ErrInvalidParams)) - } - } - if s.StandardHlsSettings != nil { - if err := s.StandardHlsSettings.Validate(); err != nil { - invalidParams.AddNested("StandardHlsSettings", err.(request.ErrInvalidParams)) - } +func (s *ListCloudWatchAlarmTemplateGroupsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListCloudWatchAlarmTemplateGroupsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { @@ -19715,38 +27956,36 @@ func (s *HlsSettings) Validate() error { return nil } -// SetAudioOnlyHlsSettings sets the AudioOnlyHlsSettings field's value. -func (s *HlsSettings) SetAudioOnlyHlsSettings(v *AudioOnlyHlsSettings) *HlsSettings { - s.AudioOnlyHlsSettings = v +// SetMaxResults sets the MaxResults field's value. +func (s *ListCloudWatchAlarmTemplateGroupsInput) SetMaxResults(v int64) *ListCloudWatchAlarmTemplateGroupsInput { + s.MaxResults = &v return s } -// SetFmp4HlsSettings sets the Fmp4HlsSettings field's value. -func (s *HlsSettings) SetFmp4HlsSettings(v *Fmp4HlsSettings) *HlsSettings { - s.Fmp4HlsSettings = v +// SetNextToken sets the NextToken field's value. +func (s *ListCloudWatchAlarmTemplateGroupsInput) SetNextToken(v string) *ListCloudWatchAlarmTemplateGroupsInput { + s.NextToken = &v return s } -// SetFrameCaptureHlsSettings sets the FrameCaptureHlsSettings field's value. -func (s *HlsSettings) SetFrameCaptureHlsSettings(v *FrameCaptureHlsSettings) *HlsSettings { - s.FrameCaptureHlsSettings = v +// SetScope sets the Scope field's value. +func (s *ListCloudWatchAlarmTemplateGroupsInput) SetScope(v string) *ListCloudWatchAlarmTemplateGroupsInput { + s.Scope = &v return s } -// SetStandardHlsSettings sets the StandardHlsSettings field's value. -func (s *HlsSettings) SetStandardHlsSettings(v *StandardHlsSettings) *HlsSettings { - s.StandardHlsSettings = v +// SetSignalMapIdentifier sets the SignalMapIdentifier field's value. +func (s *ListCloudWatchAlarmTemplateGroupsInput) SetSignalMapIdentifier(v string) *ListCloudWatchAlarmTemplateGroupsInput { + s.SignalMapIdentifier = &v return s } -// Settings for the action to emit HLS metadata -type HlsTimedMetadataScheduleActionSettings struct { +type ListCloudWatchAlarmTemplateGroupsOutput struct { _ struct{} `type:"structure"` - // Base64 string formatted according to the ID3 specification: http://id3.org/id3v2.4.0-structure - // - // Id3 is a required field - Id3 *string `locationName:"id3" type:"string" required:"true"` + CloudWatchAlarmTemplateGroups []*CloudWatchAlarmTemplateGroupSummary `locationName:"cloudWatchAlarmTemplateGroups" type:"list"` + + NextToken *string `locationName:"nextToken" min:"1" type:"string"` } // String returns the string representation. @@ -19754,7 +27993,7 @@ type HlsTimedMetadataScheduleActionSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s HlsTimedMetadataScheduleActionSettings) String() string { +func (s ListCloudWatchAlarmTemplateGroupsOutput) String() string { return awsutil.Prettify(s) } @@ -19763,15 +28002,59 @@ func (s HlsTimedMetadataScheduleActionSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s HlsTimedMetadataScheduleActionSettings) GoString() string { +func (s ListCloudWatchAlarmTemplateGroupsOutput) GoString() string { + return s.String() +} + +// SetCloudWatchAlarmTemplateGroups sets the CloudWatchAlarmTemplateGroups field's value. +func (s *ListCloudWatchAlarmTemplateGroupsOutput) SetCloudWatchAlarmTemplateGroups(v []*CloudWatchAlarmTemplateGroupSummary) *ListCloudWatchAlarmTemplateGroupsOutput { + s.CloudWatchAlarmTemplateGroups = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListCloudWatchAlarmTemplateGroupsOutput) SetNextToken(v string) *ListCloudWatchAlarmTemplateGroupsOutput { + s.NextToken = &v + return s +} + +type ListCloudWatchAlarmTemplatesInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + GroupIdentifier *string `location:"querystring" locationName:"groupIdentifier" type:"string"` + + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + Scope *string `location:"querystring" locationName:"scope" type:"string"` + + SignalMapIdentifier *string `location:"querystring" locationName:"signalMapIdentifier" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListCloudWatchAlarmTemplatesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListCloudWatchAlarmTemplatesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *HlsTimedMetadataScheduleActionSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "HlsTimedMetadataScheduleActionSettings"} - if s.Id3 == nil { - invalidParams.Add(request.NewErrParamRequired("Id3")) +func (s *ListCloudWatchAlarmTemplatesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListCloudWatchAlarmTemplatesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { @@ -19780,34 +28063,42 @@ func (s *HlsTimedMetadataScheduleActionSettings) Validate() error { return nil } -// SetId3 sets the Id3 field's value. -func (s *HlsTimedMetadataScheduleActionSettings) SetId3(v string) *HlsTimedMetadataScheduleActionSettings { - s.Id3 = &v +// SetGroupIdentifier sets the GroupIdentifier field's value. +func (s *ListCloudWatchAlarmTemplatesInput) SetGroupIdentifier(v string) *ListCloudWatchAlarmTemplatesInput { + s.GroupIdentifier = &v return s } -// Hls Webdav Settings -type HlsWebdavSettings struct { - _ struct{} `type:"structure"` +// SetMaxResults sets the MaxResults field's value. +func (s *ListCloudWatchAlarmTemplatesInput) SetMaxResults(v int64) *ListCloudWatchAlarmTemplatesInput { + s.MaxResults = &v + return s +} - // Number of seconds to wait before retrying connection to the CDN if the connection - // is lost. - ConnectionRetryInterval *int64 `locationName:"connectionRetryInterval" type:"integer"` +// SetNextToken sets the NextToken field's value. +func (s *ListCloudWatchAlarmTemplatesInput) SetNextToken(v string) *ListCloudWatchAlarmTemplatesInput { + s.NextToken = &v + return s +} - // Size in seconds of file cache for streaming outputs. - FilecacheDuration *int64 `locationName:"filecacheDuration" type:"integer"` +// SetScope sets the Scope field's value. +func (s *ListCloudWatchAlarmTemplatesInput) SetScope(v string) *ListCloudWatchAlarmTemplatesInput { + s.Scope = &v + return s +} + +// SetSignalMapIdentifier sets the SignalMapIdentifier field's value. +func (s *ListCloudWatchAlarmTemplatesInput) SetSignalMapIdentifier(v string) *ListCloudWatchAlarmTemplatesInput { + s.SignalMapIdentifier = &v + return s +} - // Specify whether or not to use chunked transfer encoding to WebDAV. - HttpTransferMode *string `locationName:"httpTransferMode" type:"string" enum:"HlsWebdavHttpTransferMode"` +type ListCloudWatchAlarmTemplatesOutput struct { + _ struct{} `type:"structure"` - // Number of retry attempts that will be made before the Live Event is put into - // an error state. Applies only if the CDN destination URI begins with "s3" - // or "mediastore". For other URIs, the value is always 3. - NumRetries *int64 `locationName:"numRetries" type:"integer"` + CloudWatchAlarmTemplates []*CloudWatchAlarmTemplateSummary `locationName:"cloudWatchAlarmTemplates" type:"list"` - // If a streaming output fails, number of seconds to wait until a restart is - // initiated. A value of 0 means never restart. - RestartDelay *int64 `locationName:"restartDelay" type:"integer"` + NextToken *string `locationName:"nextToken" min:"1" type:"string"` } // String returns the string representation. @@ -19815,7 +28106,7 @@ type HlsWebdavSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s HlsWebdavSettings) String() string { +func (s ListCloudWatchAlarmTemplatesOutput) String() string { return awsutil.Prettify(s) } @@ -19824,43 +28115,30 @@ func (s HlsWebdavSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s HlsWebdavSettings) GoString() string { +func (s ListCloudWatchAlarmTemplatesOutput) GoString() string { return s.String() } -// SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. -func (s *HlsWebdavSettings) SetConnectionRetryInterval(v int64) *HlsWebdavSettings { - s.ConnectionRetryInterval = &v +// SetCloudWatchAlarmTemplates sets the CloudWatchAlarmTemplates field's value. +func (s *ListCloudWatchAlarmTemplatesOutput) SetCloudWatchAlarmTemplates(v []*CloudWatchAlarmTemplateSummary) *ListCloudWatchAlarmTemplatesOutput { + s.CloudWatchAlarmTemplates = v return s } -// SetFilecacheDuration sets the FilecacheDuration field's value. -func (s *HlsWebdavSettings) SetFilecacheDuration(v int64) *HlsWebdavSettings { - s.FilecacheDuration = &v +// SetNextToken sets the NextToken field's value. +func (s *ListCloudWatchAlarmTemplatesOutput) SetNextToken(v string) *ListCloudWatchAlarmTemplatesOutput { + s.NextToken = &v return s } -// SetHttpTransferMode sets the HttpTransferMode field's value. -func (s *HlsWebdavSettings) SetHttpTransferMode(v string) *HlsWebdavSettings { - s.HttpTransferMode = &v - return s -} +type ListEventBridgeRuleTemplateGroupsInput struct { + _ struct{} `type:"structure" nopayload:"true"` -// SetNumRetries sets the NumRetries field's value. -func (s *HlsWebdavSettings) SetNumRetries(v int64) *HlsWebdavSettings { - s.NumRetries = &v - return s -} + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` -// SetRestartDelay sets the RestartDelay field's value. -func (s *HlsWebdavSettings) SetRestartDelay(v int64) *HlsWebdavSettings { - s.RestartDelay = &v - return s -} + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` -// Html Motion Graphics Settings -type HtmlMotionGraphicsSettings struct { - _ struct{} `type:"structure"` + SignalMapIdentifier *string `location:"querystring" locationName:"signalMapIdentifier" type:"string"` } // String returns the string representation. @@ -19868,7 +28146,7 @@ type HtmlMotionGraphicsSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s HtmlMotionGraphicsSettings) String() string { +func (s ListEventBridgeRuleTemplateGroupsInput) String() string { return awsutil.Prettify(s) } @@ -19877,13 +28155,47 @@ func (s HtmlMotionGraphicsSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s HtmlMotionGraphicsSettings) GoString() string { +func (s ListEventBridgeRuleTemplateGroupsInput) GoString() string { return s.String() } -// Settings to configure an action so that it occurs as soon as possible. -type ImmediateModeScheduleActionStartSettings struct { +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListEventBridgeRuleTemplateGroupsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListEventBridgeRuleTemplateGroupsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListEventBridgeRuleTemplateGroupsInput) SetMaxResults(v int64) *ListEventBridgeRuleTemplateGroupsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListEventBridgeRuleTemplateGroupsInput) SetNextToken(v string) *ListEventBridgeRuleTemplateGroupsInput { + s.NextToken = &v + return s +} + +// SetSignalMapIdentifier sets the SignalMapIdentifier field's value. +func (s *ListEventBridgeRuleTemplateGroupsInput) SetSignalMapIdentifier(v string) *ListEventBridgeRuleTemplateGroupsInput { + s.SignalMapIdentifier = &v + return s +} + +type ListEventBridgeRuleTemplateGroupsOutput struct { _ struct{} `type:"structure"` + + EventBridgeRuleTemplateGroups []*EventBridgeRuleTemplateGroupSummary `locationName:"eventBridgeRuleTemplateGroups" type:"list"` + + NextToken *string `locationName:"nextToken" min:"1" type:"string"` } // String returns the string representation. @@ -19891,7 +28203,7 @@ type ImmediateModeScheduleActionStartSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ImmediateModeScheduleActionStartSettings) String() string { +func (s ListEventBridgeRuleTemplateGroupsOutput) String() string { return awsutil.Prettify(s) } @@ -19900,69 +28212,32 @@ func (s ImmediateModeScheduleActionStartSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ImmediateModeScheduleActionStartSettings) GoString() string { +func (s ListEventBridgeRuleTemplateGroupsOutput) GoString() string { return s.String() } -type Input struct { - _ struct{} `type:"structure"` - - // The Unique ARN of the input (generated, immutable). - Arn *string `locationName:"arn" type:"string"` - - // A list of channel IDs that that input is attached to (currently an input - // can only be attached to one channel). - AttachedChannels []*string `locationName:"attachedChannels" type:"list"` - - // A list of the destinations of the input (PUSH-type). - Destinations []*InputDestination `locationName:"destinations" type:"list"` - - // The generated ID of the input (unique for user account, immutable). - Id *string `locationName:"id" type:"string"` - - // STANDARD - MediaLive expects two sources to be connected to this input. If - // the channel is also STANDARD, both sources will be ingested. If the channel - // is SINGLE_PIPELINE, only the first source will be ingested; the second source - // will always be ignored, even if the first source fails.SINGLE_PIPELINE - - // You can connect only one source to this input. If the ChannelClass is also - // SINGLE_PIPELINE, this value is valid. If the ChannelClass is STANDARD, this - // value is not valid because the channel requires two sources in the input. - InputClass *string `locationName:"inputClass" type:"string" enum:"InputClass"` - - // Settings for the input devices. - InputDevices []*InputDeviceSettings `locationName:"inputDevices" type:"list"` - - // A list of IDs for all Inputs which are partners of this one. - InputPartnerIds []*string `locationName:"inputPartnerIds" type:"list"` - - // Certain pull input sources can be dynamic, meaning that they can have their - // URL's dynamically changesduring input switch actions. Presently, this functionality - // only works with MP4_FILE and TS_FILE inputs. - InputSourceType *string `locationName:"inputSourceType" type:"string" enum:"InputSourceType"` - - // A list of MediaConnect Flows for this input. - MediaConnectFlows []*MediaConnectFlow `locationName:"mediaConnectFlows" type:"list"` - - // The user-assigned name (This is a mutable value). - Name *string `locationName:"name" type:"string"` +// SetEventBridgeRuleTemplateGroups sets the EventBridgeRuleTemplateGroups field's value. +func (s *ListEventBridgeRuleTemplateGroupsOutput) SetEventBridgeRuleTemplateGroups(v []*EventBridgeRuleTemplateGroupSummary) *ListEventBridgeRuleTemplateGroupsOutput { + s.EventBridgeRuleTemplateGroups = v + return s +} - // The Amazon Resource Name (ARN) of the role this input assumes during and - // after creation. - RoleArn *string `locationName:"roleArn" type:"string"` +// SetNextToken sets the NextToken field's value. +func (s *ListEventBridgeRuleTemplateGroupsOutput) SetNextToken(v string) *ListEventBridgeRuleTemplateGroupsOutput { + s.NextToken = &v + return s +} - // A list of IDs for all the Input Security Groups attached to the input. - SecurityGroups []*string `locationName:"securityGroups" type:"list"` +type ListEventBridgeRuleTemplatesInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // A list of the sources of the input (PULL-type). - Sources []*InputSource `locationName:"sources" type:"list"` + GroupIdentifier *string `location:"querystring" locationName:"groupIdentifier" type:"string"` - State *string `locationName:"state" type:"string" enum:"InputState"` + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // A collection of key-value pairs. - Tags map[string]*string `locationName:"tags" type:"map"` + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` - // The different types of inputs that AWS Elemental MediaLive supports. - Type *string `locationName:"type" type:"string" enum:"InputType"` + SignalMapIdentifier *string `location:"querystring" locationName:"signalMapIdentifier" type:"string"` } // String returns the string representation. @@ -19970,7 +28245,7 @@ type Input struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Input) String() string { +func (s ListEventBridgeRuleTemplatesInput) String() string { return awsutil.Prettify(s) } @@ -19979,122 +28254,94 @@ func (s Input) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Input) GoString() string { +func (s ListEventBridgeRuleTemplatesInput) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Input) SetArn(v string) *Input { - s.Arn = &v - return s -} - -// SetAttachedChannels sets the AttachedChannels field's value. -func (s *Input) SetAttachedChannels(v []*string) *Input { - s.AttachedChannels = v - return s -} - -// SetDestinations sets the Destinations field's value. -func (s *Input) SetDestinations(v []*InputDestination) *Input { - s.Destinations = v - return s -} - -// SetId sets the Id field's value. -func (s *Input) SetId(v string) *Input { - s.Id = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListEventBridgeRuleTemplatesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListEventBridgeRuleTemplatesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } -// SetInputClass sets the InputClass field's value. -func (s *Input) SetInputClass(v string) *Input { - s.InputClass = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetInputDevices sets the InputDevices field's value. -func (s *Input) SetInputDevices(v []*InputDeviceSettings) *Input { - s.InputDevices = v +// SetGroupIdentifier sets the GroupIdentifier field's value. +func (s *ListEventBridgeRuleTemplatesInput) SetGroupIdentifier(v string) *ListEventBridgeRuleTemplatesInput { + s.GroupIdentifier = &v return s } -// SetInputPartnerIds sets the InputPartnerIds field's value. -func (s *Input) SetInputPartnerIds(v []*string) *Input { - s.InputPartnerIds = v +// SetMaxResults sets the MaxResults field's value. +func (s *ListEventBridgeRuleTemplatesInput) SetMaxResults(v int64) *ListEventBridgeRuleTemplatesInput { + s.MaxResults = &v return s } -// SetInputSourceType sets the InputSourceType field's value. -func (s *Input) SetInputSourceType(v string) *Input { - s.InputSourceType = &v +// SetNextToken sets the NextToken field's value. +func (s *ListEventBridgeRuleTemplatesInput) SetNextToken(v string) *ListEventBridgeRuleTemplatesInput { + s.NextToken = &v return s } -// SetMediaConnectFlows sets the MediaConnectFlows field's value. -func (s *Input) SetMediaConnectFlows(v []*MediaConnectFlow) *Input { - s.MediaConnectFlows = v +// SetSignalMapIdentifier sets the SignalMapIdentifier field's value. +func (s *ListEventBridgeRuleTemplatesInput) SetSignalMapIdentifier(v string) *ListEventBridgeRuleTemplatesInput { + s.SignalMapIdentifier = &v return s } -// SetName sets the Name field's value. -func (s *Input) SetName(v string) *Input { - s.Name = &v - return s -} +type ListEventBridgeRuleTemplatesOutput struct { + _ struct{} `type:"structure"` -// SetRoleArn sets the RoleArn field's value. -func (s *Input) SetRoleArn(v string) *Input { - s.RoleArn = &v - return s -} + EventBridgeRuleTemplates []*EventBridgeRuleTemplateSummary `locationName:"eventBridgeRuleTemplates" type:"list"` -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *Input) SetSecurityGroups(v []*string) *Input { - s.SecurityGroups = v - return s + NextToken *string `locationName:"nextToken" min:"1" type:"string"` } -// SetSources sets the Sources field's value. -func (s *Input) SetSources(v []*InputSource) *Input { - s.Sources = v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListEventBridgeRuleTemplatesOutput) String() string { + return awsutil.Prettify(s) } -// SetState sets the State field's value. -func (s *Input) SetState(v string) *Input { - s.State = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListEventBridgeRuleTemplatesOutput) GoString() string { + return s.String() } -// SetTags sets the Tags field's value. -func (s *Input) SetTags(v map[string]*string) *Input { - s.Tags = v +// SetEventBridgeRuleTemplates sets the EventBridgeRuleTemplates field's value. +func (s *ListEventBridgeRuleTemplatesOutput) SetEventBridgeRuleTemplates(v []*EventBridgeRuleTemplateSummary) *ListEventBridgeRuleTemplatesOutput { + s.EventBridgeRuleTemplates = v return s } -// SetType sets the Type field's value. -func (s *Input) SetType(v string) *Input { - s.Type = &v +// SetNextToken sets the NextToken field's value. +func (s *ListEventBridgeRuleTemplatesOutput) SetNextToken(v string) *ListEventBridgeRuleTemplatesOutput { + s.NextToken = &v return s } -type InputAttachment struct { - _ struct{} `type:"structure"` - - // User-specified settings for defining what the conditions are for declaring - // the input unhealthy and failing over to a different input. - AutomaticInputFailoverSettings *AutomaticInputFailoverSettings `locationName:"automaticInputFailoverSettings" type:"structure"` +type ListInputDeviceTransfersInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // User-specified name for the attachment. This is required if the user wants - // to use this input in an input switch action. - InputAttachmentName *string `locationName:"inputAttachmentName" type:"string"` + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // The ID of the input - InputId *string `locationName:"inputId" type:"string"` + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` - // Settings of an input (caption selector, etc.) - InputSettings *InputSettings `locationName:"inputSettings" type:"structure"` + // TransferType is a required field + TransferType *string `location:"querystring" locationName:"transferType" type:"string" required:"true"` } // String returns the string representation. @@ -20102,7 +28349,7 @@ type InputAttachment struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputAttachment) String() string { +func (s ListInputDeviceTransfersInput) String() string { return awsutil.Prettify(s) } @@ -20111,22 +28358,18 @@ func (s InputAttachment) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputAttachment) GoString() string { +func (s ListInputDeviceTransfersInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *InputAttachment) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "InputAttachment"} - if s.AutomaticInputFailoverSettings != nil { - if err := s.AutomaticInputFailoverSettings.Validate(); err != nil { - invalidParams.AddNested("AutomaticInputFailoverSettings", err.(request.ErrInvalidParams)) - } +func (s *ListInputDeviceTransfersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListInputDeviceTransfersInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } - if s.InputSettings != nil { - if err := s.InputSettings.Validate(); err != nil { - invalidParams.AddNested("InputSettings", err.(request.ErrInvalidParams)) - } + if s.TransferType == nil { + invalidParams.Add(request.NewErrParamRequired("TransferType")) } if invalidParams.Len() > 0 { @@ -20135,44 +28378,30 @@ func (s *InputAttachment) Validate() error { return nil } -// SetAutomaticInputFailoverSettings sets the AutomaticInputFailoverSettings field's value. -func (s *InputAttachment) SetAutomaticInputFailoverSettings(v *AutomaticInputFailoverSettings) *InputAttachment { - s.AutomaticInputFailoverSettings = v - return s -} - -// SetInputAttachmentName sets the InputAttachmentName field's value. -func (s *InputAttachment) SetInputAttachmentName(v string) *InputAttachment { - s.InputAttachmentName = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListInputDeviceTransfersInput) SetMaxResults(v int64) *ListInputDeviceTransfersInput { + s.MaxResults = &v return s } -// SetInputId sets the InputId field's value. -func (s *InputAttachment) SetInputId(v string) *InputAttachment { - s.InputId = &v +// SetNextToken sets the NextToken field's value. +func (s *ListInputDeviceTransfersInput) SetNextToken(v string) *ListInputDeviceTransfersInput { + s.NextToken = &v return s } -// SetInputSettings sets the InputSettings field's value. -func (s *InputAttachment) SetInputSettings(v *InputSettings) *InputAttachment { - s.InputSettings = v +// SetTransferType sets the TransferType field's value. +func (s *ListInputDeviceTransfersInput) SetTransferType(v string) *ListInputDeviceTransfersInput { + s.TransferType = &v return s } -// Input Channel Level -type InputChannelLevel struct { +type ListInputDeviceTransfersOutput struct { _ struct{} `type:"structure"` - // Remixing value. Units are in dB and acceptable values are within the range - // from -60 (mute) and 6 dB. - // - // Gain is a required field - Gain *int64 `locationName:"gain" type:"integer" required:"true"` + InputDeviceTransfers []*TransferringInputDeviceSummary `locationName:"inputDeviceTransfers" type:"list"` - // The index of the input channel used as a source. - // - // InputChannel is a required field - InputChannel *int64 `locationName:"inputChannel" type:"integer" required:"true"` + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -20180,7 +28409,7 @@ type InputChannelLevel struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputChannelLevel) String() string { +func (s ListInputDeviceTransfersOutput) String() string { return awsutil.Prettify(s) } @@ -20189,56 +28418,28 @@ func (s InputChannelLevel) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputChannelLevel) GoString() string { +func (s ListInputDeviceTransfersOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *InputChannelLevel) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "InputChannelLevel"} - if s.Gain == nil { - invalidParams.Add(request.NewErrParamRequired("Gain")) - } - if s.Gain != nil && *s.Gain < -60 { - invalidParams.Add(request.NewErrParamMinValue("Gain", -60)) - } - if s.InputChannel == nil { - invalidParams.Add(request.NewErrParamRequired("InputChannel")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetGain sets the Gain field's value. -func (s *InputChannelLevel) SetGain(v int64) *InputChannelLevel { - s.Gain = &v +// SetInputDeviceTransfers sets the InputDeviceTransfers field's value. +func (s *ListInputDeviceTransfersOutput) SetInputDeviceTransfers(v []*TransferringInputDeviceSummary) *ListInputDeviceTransfersOutput { + s.InputDeviceTransfers = v return s } -// SetInputChannel sets the InputChannel field's value. -func (s *InputChannelLevel) SetInputChannel(v int64) *InputChannelLevel { - s.InputChannel = &v +// SetNextToken sets the NextToken field's value. +func (s *ListInputDeviceTransfersOutput) SetNextToken(v string) *ListInputDeviceTransfersOutput { + s.NextToken = &v return s } -// Settings to let you create a clip of the file input, in order to set up the -// input to ingest only a portion of the file. -type InputClippingSettings struct { - _ struct{} `type:"structure"` - - // The source of the timecodes in the source being clipped. - // - // InputTimecodeSource is a required field - InputTimecodeSource *string `locationName:"inputTimecodeSource" type:"string" required:"true" enum:"InputTimecodeSource"` +type ListInputDevicesInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // Settings to identify the start of the clip. - StartTimecode *StartTimecode `locationName:"startTimecode" type:"structure"` + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // Settings to identify the end of the clip. - StopTimecode *StopTimecode `locationName:"stopTimecode" type:"structure"` + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -20246,7 +28447,7 @@ type InputClippingSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputClippingSettings) String() string { +func (s ListInputDevicesInput) String() string { return awsutil.Prettify(s) } @@ -20255,15 +28456,15 @@ func (s InputClippingSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputClippingSettings) GoString() string { +func (s ListInputDevicesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *InputClippingSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "InputClippingSettings"} - if s.InputTimecodeSource == nil { - invalidParams.Add(request.NewErrParamRequired("InputTimecodeSource")) +func (s *ListInputDevicesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListInputDevicesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { @@ -20272,40 +28473,24 @@ func (s *InputClippingSettings) Validate() error { return nil } -// SetInputTimecodeSource sets the InputTimecodeSource field's value. -func (s *InputClippingSettings) SetInputTimecodeSource(v string) *InputClippingSettings { - s.InputTimecodeSource = &v - return s -} - -// SetStartTimecode sets the StartTimecode field's value. -func (s *InputClippingSettings) SetStartTimecode(v *StartTimecode) *InputClippingSettings { - s.StartTimecode = v +// SetMaxResults sets the MaxResults field's value. +func (s *ListInputDevicesInput) SetMaxResults(v int64) *ListInputDevicesInput { + s.MaxResults = &v return s } -// SetStopTimecode sets the StopTimecode field's value. -func (s *InputClippingSettings) SetStopTimecode(v *StopTimecode) *InputClippingSettings { - s.StopTimecode = v +// SetNextToken sets the NextToken field's value. +func (s *ListInputDevicesInput) SetNextToken(v string) *ListInputDevicesInput { + s.NextToken = &v return s } -// The settings for a PUSH type input. -type InputDestination struct { +type ListInputDevicesOutput struct { _ struct{} `type:"structure"` - // The system-generated static IP address of endpoint.It remains fixed for the - // lifetime of the input. - Ip *string `locationName:"ip" type:"string"` - - // The port number for the input. - Port *string `locationName:"port" type:"string"` - - // This represents the endpoint that the customer stream will bepushed to. - Url *string `locationName:"url" type:"string"` + InputDevices []*InputDeviceSummary `locationName:"inputDevices" type:"list"` - // The properties for a VPC type input destination. - Vpc *InputDestinationVpc `locationName:"vpc" type:"structure"` + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -20313,7 +28498,7 @@ type InputDestination struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputDestination) String() string { +func (s ListInputDevicesOutput) String() string { return awsutil.Prettify(s) } @@ -20322,40 +28507,28 @@ func (s InputDestination) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputDestination) GoString() string { +func (s ListInputDevicesOutput) GoString() string { return s.String() } -// SetIp sets the Ip field's value. -func (s *InputDestination) SetIp(v string) *InputDestination { - s.Ip = &v - return s -} - -// SetPort sets the Port field's value. -func (s *InputDestination) SetPort(v string) *InputDestination { - s.Port = &v +// SetInputDevices sets the InputDevices field's value. +func (s *ListInputDevicesOutput) SetInputDevices(v []*InputDeviceSummary) *ListInputDevicesOutput { + s.InputDevices = v return s } -// SetUrl sets the Url field's value. -func (s *InputDestination) SetUrl(v string) *InputDestination { - s.Url = &v +// SetNextToken sets the NextToken field's value. +func (s *ListInputDevicesOutput) SetNextToken(v string) *ListInputDevicesOutput { + s.NextToken = &v return s } -// SetVpc sets the Vpc field's value. -func (s *InputDestination) SetVpc(v *InputDestinationVpc) *InputDestination { - s.Vpc = v - return s -} +type ListInputSecurityGroupsInput struct { + _ struct{} `type:"structure" nopayload:"true"` -// Endpoint settings for a PUSH type input. -type InputDestinationRequest struct { - _ struct{} `type:"structure"` + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // A unique name for the location the RTMP stream is being pushedto. - StreamName *string `locationName:"streamName" type:"string"` + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -20363,7 +28536,7 @@ type InputDestinationRequest struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputDestinationRequest) String() string { +func (s ListInputSecurityGroupsInput) String() string { return awsutil.Prettify(s) } @@ -20372,25 +28545,41 @@ func (s InputDestinationRequest) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputDestinationRequest) GoString() string { +func (s ListInputSecurityGroupsInput) GoString() string { return s.String() } -// SetStreamName sets the StreamName field's value. -func (s *InputDestinationRequest) SetStreamName(v string) *InputDestinationRequest { - s.StreamName = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListInputSecurityGroupsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListInputSecurityGroupsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListInputSecurityGroupsInput) SetMaxResults(v int64) *ListInputSecurityGroupsInput { + s.MaxResults = &v return s } -// The properties for a VPC type input destination. -type InputDestinationVpc struct { +// SetNextToken sets the NextToken field's value. +func (s *ListInputSecurityGroupsInput) SetNextToken(v string) *ListInputSecurityGroupsInput { + s.NextToken = &v + return s +} + +type ListInputSecurityGroupsOutput struct { _ struct{} `type:"structure"` - // The availability zone of the Input destination. - AvailabilityZone *string `locationName:"availabilityZone" type:"string"` + InputSecurityGroups []*InputSecurityGroup `locationName:"inputSecurityGroups" type:"list"` - // The network interface ID of the Input destination in the VPC. - NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -20398,7 +28587,7 @@ type InputDestinationVpc struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputDestinationVpc) String() string { +func (s ListInputSecurityGroupsOutput) String() string { return awsutil.Prettify(s) } @@ -20407,36 +28596,28 @@ func (s InputDestinationVpc) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputDestinationVpc) GoString() string { +func (s ListInputSecurityGroupsOutput) GoString() string { return s.String() } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *InputDestinationVpc) SetAvailabilityZone(v string) *InputDestinationVpc { - s.AvailabilityZone = &v +// SetInputSecurityGroups sets the InputSecurityGroups field's value. +func (s *ListInputSecurityGroupsOutput) SetInputSecurityGroups(v []*InputSecurityGroup) *ListInputSecurityGroupsOutput { + s.InputSecurityGroups = v return s } -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *InputDestinationVpc) SetNetworkInterfaceId(v string) *InputDestinationVpc { - s.NetworkInterfaceId = &v +// SetNextToken sets the NextToken field's value. +func (s *ListInputSecurityGroupsOutput) SetNextToken(v string) *ListInputSecurityGroupsOutput { + s.NextToken = &v return s } -// One audio configuration that specifies the format for one audio pair that -// the device produces as output. -type InputDeviceConfigurableAudioChannelPairConfig struct { - _ struct{} `type:"structure"` - - // The ID for one audio pair configuration, a value from 1 to 8. - Id *int64 `locationName:"id" type:"integer"` - - // The profile to set for one audio pair configuration. Choose an enumeration - // value. Each value describes one audio configuration using the format (rate - // control algorithm)-(codec)_(quality)-(bitrate in bytes). For example, CBR-AAC_HQ-192000. - // Or choose DISABLED, in which case the device won't produce audio for this - // pair. - Profile *string `locationName:"profile" type:"string" enum:"InputDeviceConfigurableAudioChannelPairProfile"` +type ListInputsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -20444,7 +28625,7 @@ type InputDeviceConfigurableAudioChannelPairConfig struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputDeviceConfigurableAudioChannelPairConfig) String() string { +func (s ListInputsInput) String() string { return awsutil.Prettify(s) } @@ -20453,55 +28634,41 @@ func (s InputDeviceConfigurableAudioChannelPairConfig) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputDeviceConfigurableAudioChannelPairConfig) GoString() string { +func (s ListInputsInput) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *InputDeviceConfigurableAudioChannelPairConfig) SetId(v int64) *InputDeviceConfigurableAudioChannelPairConfig { - s.Id = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListInputsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListInputsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListInputsInput) SetMaxResults(v int64) *ListInputsInput { + s.MaxResults = &v return s } -// SetProfile sets the Profile field's value. -func (s *InputDeviceConfigurableAudioChannelPairConfig) SetProfile(v string) *InputDeviceConfigurableAudioChannelPairConfig { - s.Profile = &v +// SetNextToken sets the NextToken field's value. +func (s *ListInputsInput) SetNextToken(v string) *ListInputsInput { + s.NextToken = &v return s } -// Configurable settings for the input device. -type InputDeviceConfigurableSettings struct { +type ListInputsOutput struct { _ struct{} `type:"structure"` - // An array of eight audio configurations, one for each audio pair in the source. - // Set up each audio configuration either to exclude the pair, or to format - // it and include it in the output from the device. This parameter applies only - // to UHD devices, and only when the device is configured as the source for - // a MediaConnect flow. For an HD device, you configure the audio by setting - // up audio selectors in the channel configuration. - AudioChannelPairs []*InputDeviceConfigurableAudioChannelPairConfig `locationName:"audioChannelPairs" type:"list"` - - // Choose the codec for the video that the device produces. Only UHD devices - // can specify this parameter. - Codec *string `locationName:"codec" type:"string" enum:"InputDeviceCodec"` - - // The input source that you want to use. If the device has a source connected - // to only one of its input ports, or if you don't care which source the device - // sends, specify Auto. If the device has sources connected to both its input - // ports, and you want to use a specific source, specify the source. - ConfiguredInput *string `locationName:"configuredInput" type:"string" enum:"InputDeviceConfiguredInput"` - - // The Link device's buffer size (latency) in milliseconds (ms). - LatencyMs *int64 `locationName:"latencyMs" type:"integer"` - - // The maximum bitrate in bits per second. Set a value here to throttle the - // bitrate of the source video. - MaxBitrate *int64 `locationName:"maxBitrate" type:"integer"` + Inputs []*Input `locationName:"inputs" type:"list"` - // To attach this device to a MediaConnect flow, specify these parameters. To - // detach an existing flow, enter {} for the value of mediaconnectSettings. - // Only UHD devices can specify this parameter. - MediaconnectSettings *InputDeviceMediaConnectConfigurableSettings `locationName:"mediaconnectSettings" type:"structure"` + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -20509,7 +28676,7 @@ type InputDeviceConfigurableSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputDeviceConfigurableSettings) String() string { +func (s ListInputsOutput) String() string { return awsutil.Prettify(s) } @@ -20518,81 +28685,31 @@ func (s InputDeviceConfigurableSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputDeviceConfigurableSettings) GoString() string { +func (s ListInputsOutput) GoString() string { return s.String() } -// SetAudioChannelPairs sets the AudioChannelPairs field's value. -func (s *InputDeviceConfigurableSettings) SetAudioChannelPairs(v []*InputDeviceConfigurableAudioChannelPairConfig) *InputDeviceConfigurableSettings { - s.AudioChannelPairs = v - return s -} - -// SetCodec sets the Codec field's value. -func (s *InputDeviceConfigurableSettings) SetCodec(v string) *InputDeviceConfigurableSettings { - s.Codec = &v - return s -} - -// SetConfiguredInput sets the ConfiguredInput field's value. -func (s *InputDeviceConfigurableSettings) SetConfiguredInput(v string) *InputDeviceConfigurableSettings { - s.ConfiguredInput = &v - return s -} - -// SetLatencyMs sets the LatencyMs field's value. -func (s *InputDeviceConfigurableSettings) SetLatencyMs(v int64) *InputDeviceConfigurableSettings { - s.LatencyMs = &v - return s -} - -// SetMaxBitrate sets the MaxBitrate field's value. -func (s *InputDeviceConfigurableSettings) SetMaxBitrate(v int64) *InputDeviceConfigurableSettings { - s.MaxBitrate = &v +// SetInputs sets the Inputs field's value. +func (s *ListInputsOutput) SetInputs(v []*Input) *ListInputsOutput { + s.Inputs = v return s } -// SetMediaconnectSettings sets the MediaconnectSettings field's value. -func (s *InputDeviceConfigurableSettings) SetMediaconnectSettings(v *InputDeviceMediaConnectConfigurableSettings) *InputDeviceConfigurableSettings { - s.MediaconnectSettings = v +// SetNextToken sets the NextToken field's value. +func (s *ListInputsOutput) SetNextToken(v string) *ListInputsOutput { + s.NextToken = &v return s } -// Settings that describe the active source from the input device, and the video -// characteristics of that source. -type InputDeviceHdSettings struct { - _ struct{} `type:"structure"` - - // If you specified Auto as the configured input, specifies which of the sources - // is currently active (SDI or HDMI). - ActiveInput *string `locationName:"activeInput" type:"string" enum:"InputDeviceActiveInput"` - - // The source at the input device that is currently active. You can specify - // this source. - ConfiguredInput *string `locationName:"configuredInput" type:"string" enum:"InputDeviceConfiguredInput"` - - // The state of the input device. - DeviceState *string `locationName:"deviceState" type:"string" enum:"InputDeviceState"` - - // The frame rate of the video source. - Framerate *float64 `locationName:"framerate" type:"double"` - - // The height of the video source, in pixels. - Height *int64 `locationName:"height" type:"integer"` - - // The Link device's buffer size (latency) in milliseconds (ms). You can specify - // this value. - LatencyMs *int64 `locationName:"latencyMs" type:"integer"` +type ListMultiplexProgramsInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // The current maximum bitrate for ingesting this source, in bits per second. - // You can specify this maximum. - MaxBitrate *int64 `locationName:"maxBitrate" type:"integer"` + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // The scan type of the video source. - ScanType *string `locationName:"scanType" type:"string" enum:"InputDeviceScanType"` + // MultiplexId is a required field + MultiplexId *string `location:"uri" locationName:"multiplexId" type:"string" required:"true"` - // The width of the video source, in pixels. - Width *int64 `locationName:"width" type:"integer"` + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -20600,7 +28717,7 @@ type InputDeviceHdSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputDeviceHdSettings) String() string { +func (s ListMultiplexProgramsInput) String() string { return awsutil.Prettify(s) } @@ -20609,82 +28726,91 @@ func (s InputDeviceHdSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputDeviceHdSettings) GoString() string { +func (s ListMultiplexProgramsInput) GoString() string { return s.String() } -// SetActiveInput sets the ActiveInput field's value. -func (s *InputDeviceHdSettings) SetActiveInput(v string) *InputDeviceHdSettings { - s.ActiveInput = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListMultiplexProgramsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListMultiplexProgramsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.MultiplexId == nil { + invalidParams.Add(request.NewErrParamRequired("MultiplexId")) + } + if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetConfiguredInput sets the ConfiguredInput field's value. -func (s *InputDeviceHdSettings) SetConfiguredInput(v string) *InputDeviceHdSettings { - s.ConfiguredInput = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListMultiplexProgramsInput) SetMaxResults(v int64) *ListMultiplexProgramsInput { + s.MaxResults = &v return s } -// SetDeviceState sets the DeviceState field's value. -func (s *InputDeviceHdSettings) SetDeviceState(v string) *InputDeviceHdSettings { - s.DeviceState = &v +// SetMultiplexId sets the MultiplexId field's value. +func (s *ListMultiplexProgramsInput) SetMultiplexId(v string) *ListMultiplexProgramsInput { + s.MultiplexId = &v return s } -// SetFramerate sets the Framerate field's value. -func (s *InputDeviceHdSettings) SetFramerate(v float64) *InputDeviceHdSettings { - s.Framerate = &v +// SetNextToken sets the NextToken field's value. +func (s *ListMultiplexProgramsInput) SetNextToken(v string) *ListMultiplexProgramsInput { + s.NextToken = &v return s } -// SetHeight sets the Height field's value. -func (s *InputDeviceHdSettings) SetHeight(v int64) *InputDeviceHdSettings { - s.Height = &v - return s +type ListMultiplexProgramsOutput struct { + _ struct{} `type:"structure"` + + MultiplexPrograms []*MultiplexProgramSummary `locationName:"multiplexPrograms" type:"list"` + + NextToken *string `locationName:"nextToken" type:"string"` } -// SetLatencyMs sets the LatencyMs field's value. -func (s *InputDeviceHdSettings) SetLatencyMs(v int64) *InputDeviceHdSettings { - s.LatencyMs = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListMultiplexProgramsOutput) String() string { + return awsutil.Prettify(s) } -// SetMaxBitrate sets the MaxBitrate field's value. -func (s *InputDeviceHdSettings) SetMaxBitrate(v int64) *InputDeviceHdSettings { - s.MaxBitrate = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListMultiplexProgramsOutput) GoString() string { + return s.String() } -// SetScanType sets the ScanType field's value. -func (s *InputDeviceHdSettings) SetScanType(v string) *InputDeviceHdSettings { - s.ScanType = &v +// SetMultiplexPrograms sets the MultiplexPrograms field's value. +func (s *ListMultiplexProgramsOutput) SetMultiplexPrograms(v []*MultiplexProgramSummary) *ListMultiplexProgramsOutput { + s.MultiplexPrograms = v return s } -// SetWidth sets the Width field's value. -func (s *InputDeviceHdSettings) SetWidth(v int64) *InputDeviceHdSettings { - s.Width = &v +// SetNextToken sets the NextToken field's value. +func (s *ListMultiplexProgramsOutput) SetNextToken(v string) *ListMultiplexProgramsOutput { + s.NextToken = &v return s } -// Parameters required to attach a MediaConnect flow to the device. -type InputDeviceMediaConnectConfigurableSettings struct { - _ struct{} `type:"structure"` - - // The ARN of the MediaConnect flow to attach this device to. - FlowArn *string `locationName:"flowArn" type:"string"` - - // The ARN for the role that MediaLive assumes to access the attached flow and - // secret. For more information about how to create this role, see the MediaLive - // user guide. - RoleArn *string `locationName:"roleArn" type:"string"` +type ListMultiplexesInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // The ARN for the secret that holds the encryption key to encrypt the content - // output by the device. - SecretArn *string `locationName:"secretArn" type:"string"` + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // The name of the MediaConnect Flow source to stream to. - SourceName *string `locationName:"sourceName" type:"string"` + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -20692,7 +28818,7 @@ type InputDeviceMediaConnectConfigurableSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputDeviceMediaConnectConfigurableSettings) String() string { +func (s ListMultiplexesInput) String() string { return awsutil.Prettify(s) } @@ -20701,50 +28827,41 @@ func (s InputDeviceMediaConnectConfigurableSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputDeviceMediaConnectConfigurableSettings) GoString() string { +func (s ListMultiplexesInput) GoString() string { return s.String() } -// SetFlowArn sets the FlowArn field's value. -func (s *InputDeviceMediaConnectConfigurableSettings) SetFlowArn(v string) *InputDeviceMediaConnectConfigurableSettings { - s.FlowArn = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListMultiplexesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListMultiplexesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } -// SetRoleArn sets the RoleArn field's value. -func (s *InputDeviceMediaConnectConfigurableSettings) SetRoleArn(v string) *InputDeviceMediaConnectConfigurableSettings { - s.RoleArn = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetSecretArn sets the SecretArn field's value. -func (s *InputDeviceMediaConnectConfigurableSettings) SetSecretArn(v string) *InputDeviceMediaConnectConfigurableSettings { - s.SecretArn = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListMultiplexesInput) SetMaxResults(v int64) *ListMultiplexesInput { + s.MaxResults = &v return s } -// SetSourceName sets the SourceName field's value. -func (s *InputDeviceMediaConnectConfigurableSettings) SetSourceName(v string) *InputDeviceMediaConnectConfigurableSettings { - s.SourceName = &v +// SetNextToken sets the NextToken field's value. +func (s *ListMultiplexesInput) SetNextToken(v string) *ListMultiplexesInput { + s.NextToken = &v return s } -// Information about the MediaConnect flow attached to the device. -type InputDeviceMediaConnectSettings struct { +type ListMultiplexesOutput struct { _ struct{} `type:"structure"` - // The ARN of the MediaConnect flow. - FlowArn *string `locationName:"flowArn" type:"string"` - - // The ARN for the role that MediaLive assumes to access the attached flow and - // secret. - RoleArn *string `locationName:"roleArn" type:"string"` - - // The ARN of the secret used to encrypt the stream. - SecretArn *string `locationName:"secretArn" type:"string"` + Multiplexes []*MultiplexSummary `locationName:"multiplexes" type:"list"` - // The name of the MediaConnect flow source. - SourceName *string `locationName:"sourceName" type:"string"` + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -20752,7 +28869,7 @@ type InputDeviceMediaConnectSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputDeviceMediaConnectSettings) String() string { +func (s ListMultiplexesOutput) String() string { return awsutil.Prettify(s) } @@ -20761,53 +28878,48 @@ func (s InputDeviceMediaConnectSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputDeviceMediaConnectSettings) GoString() string { +func (s ListMultiplexesOutput) GoString() string { return s.String() } -// SetFlowArn sets the FlowArn field's value. -func (s *InputDeviceMediaConnectSettings) SetFlowArn(v string) *InputDeviceMediaConnectSettings { - s.FlowArn = &v +// SetMultiplexes sets the Multiplexes field's value. +func (s *ListMultiplexesOutput) SetMultiplexes(v []*MultiplexSummary) *ListMultiplexesOutput { + s.Multiplexes = v return s } -// SetRoleArn sets the RoleArn field's value. -func (s *InputDeviceMediaConnectSettings) SetRoleArn(v string) *InputDeviceMediaConnectSettings { - s.RoleArn = &v +// SetNextToken sets the NextToken field's value. +func (s *ListMultiplexesOutput) SetNextToken(v string) *ListMultiplexesOutput { + s.NextToken = &v return s } -// SetSecretArn sets the SecretArn field's value. -func (s *InputDeviceMediaConnectSettings) SetSecretArn(v string) *InputDeviceMediaConnectSettings { - s.SecretArn = &v - return s -} +type ListOfferingsInput struct { + _ struct{} `type:"structure" nopayload:"true"` -// SetSourceName sets the SourceName field's value. -func (s *InputDeviceMediaConnectSettings) SetSourceName(v string) *InputDeviceMediaConnectSettings { - s.SourceName = &v - return s -} + ChannelClass *string `location:"querystring" locationName:"channelClass" type:"string"` -// The network settings for the input device. -type InputDeviceNetworkSettings struct { - _ struct{} `type:"structure"` + ChannelConfiguration *string `location:"querystring" locationName:"channelConfiguration" type:"string"` - // The DNS addresses of the input device. - DnsAddresses []*string `locationName:"dnsAddresses" type:"list"` + Codec *string `location:"querystring" locationName:"codec" type:"string"` - // The network gateway IP address. - Gateway *string `locationName:"gateway" type:"string"` + Duration *string `location:"querystring" locationName:"duration" type:"string"` - // The IP address of the input device. - IpAddress *string `locationName:"ipAddress" type:"string"` + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // Specifies whether the input device has been configured (outside of MediaLive) - // to use a dynamic IP address assignment (DHCP) or a static IP address. - IpScheme *string `locationName:"ipScheme" type:"string" enum:"InputDeviceIpScheme"` + MaximumBitrate *string `location:"querystring" locationName:"maximumBitrate" type:"string"` - // The subnet mask of the input device. - SubnetMask *string `locationName:"subnetMask" type:"string"` + MaximumFramerate *string `location:"querystring" locationName:"maximumFramerate" type:"string"` + + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + Resolution *string `location:"querystring" locationName:"resolution" type:"string"` + + ResourceType *string `location:"querystring" locationName:"resourceType" type:"string"` + + SpecialFeature *string `location:"querystring" locationName:"specialFeature" type:"string"` + + VideoQuality *string `location:"querystring" locationName:"videoQuality" type:"string"` } // String returns the string representation. @@ -20815,7 +28927,7 @@ type InputDeviceNetworkSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputDeviceNetworkSettings) String() string { +func (s ListOfferingsInput) String() string { return awsutil.Prettify(s) } @@ -20824,78 +28936,101 @@ func (s InputDeviceNetworkSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputDeviceNetworkSettings) GoString() string { +func (s ListOfferingsInput) GoString() string { return s.String() } -// SetDnsAddresses sets the DnsAddresses field's value. -func (s *InputDeviceNetworkSettings) SetDnsAddresses(v []*string) *InputDeviceNetworkSettings { - s.DnsAddresses = v +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListOfferingsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListOfferingsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChannelClass sets the ChannelClass field's value. +func (s *ListOfferingsInput) SetChannelClass(v string) *ListOfferingsInput { + s.ChannelClass = &v return s } -// SetGateway sets the Gateway field's value. -func (s *InputDeviceNetworkSettings) SetGateway(v string) *InputDeviceNetworkSettings { - s.Gateway = &v +// SetChannelConfiguration sets the ChannelConfiguration field's value. +func (s *ListOfferingsInput) SetChannelConfiguration(v string) *ListOfferingsInput { + s.ChannelConfiguration = &v return s } -// SetIpAddress sets the IpAddress field's value. -func (s *InputDeviceNetworkSettings) SetIpAddress(v string) *InputDeviceNetworkSettings { - s.IpAddress = &v +// SetCodec sets the Codec field's value. +func (s *ListOfferingsInput) SetCodec(v string) *ListOfferingsInput { + s.Codec = &v return s } -// SetIpScheme sets the IpScheme field's value. -func (s *InputDeviceNetworkSettings) SetIpScheme(v string) *InputDeviceNetworkSettings { - s.IpScheme = &v +// SetDuration sets the Duration field's value. +func (s *ListOfferingsInput) SetDuration(v string) *ListOfferingsInput { + s.Duration = &v return s } -// SetSubnetMask sets the SubnetMask field's value. -func (s *InputDeviceNetworkSettings) SetSubnetMask(v string) *InputDeviceNetworkSettings { - s.SubnetMask = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListOfferingsInput) SetMaxResults(v int64) *ListOfferingsInput { + s.MaxResults = &v return s } -// Settings for an input device. -type InputDeviceRequest struct { - _ struct{} `type:"structure"` +// SetMaximumBitrate sets the MaximumBitrate field's value. +func (s *ListOfferingsInput) SetMaximumBitrate(v string) *ListOfferingsInput { + s.MaximumBitrate = &v + return s +} - // The unique ID for the device. - Id *string `locationName:"id" type:"string"` +// SetMaximumFramerate sets the MaximumFramerate field's value. +func (s *ListOfferingsInput) SetMaximumFramerate(v string) *ListOfferingsInput { + s.MaximumFramerate = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s InputDeviceRequest) String() string { - return awsutil.Prettify(s) +// SetNextToken sets the NextToken field's value. +func (s *ListOfferingsInput) SetNextToken(v string) *ListOfferingsInput { + s.NextToken = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s InputDeviceRequest) GoString() string { - return s.String() +// SetResolution sets the Resolution field's value. +func (s *ListOfferingsInput) SetResolution(v string) *ListOfferingsInput { + s.Resolution = &v + return s } -// SetId sets the Id field's value. -func (s *InputDeviceRequest) SetId(v string) *InputDeviceRequest { - s.Id = &v +// SetResourceType sets the ResourceType field's value. +func (s *ListOfferingsInput) SetResourceType(v string) *ListOfferingsInput { + s.ResourceType = &v return s } -// Settings for an input device. -type InputDeviceSettings struct { +// SetSpecialFeature sets the SpecialFeature field's value. +func (s *ListOfferingsInput) SetSpecialFeature(v string) *ListOfferingsInput { + s.SpecialFeature = &v + return s +} + +// SetVideoQuality sets the VideoQuality field's value. +func (s *ListOfferingsInput) SetVideoQuality(v string) *ListOfferingsInput { + s.VideoQuality = &v + return s +} + +type ListOfferingsOutput struct { _ struct{} `type:"structure"` - // The unique ID for the device. - Id *string `locationName:"id" type:"string"` + NextToken *string `locationName:"nextToken" type:"string"` + + Offerings []*Offering `locationName:"offerings" type:"list"` } // String returns the string representation. @@ -20903,7 +29038,7 @@ type InputDeviceSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputDeviceSettings) String() string { +func (s ListOfferingsOutput) String() string { return awsutil.Prettify(s) } @@ -20912,74 +29047,44 @@ func (s InputDeviceSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputDeviceSettings) GoString() string { +func (s ListOfferingsOutput) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *InputDeviceSettings) SetId(v string) *InputDeviceSettings { - s.Id = &v +// SetNextToken sets the NextToken field's value. +func (s *ListOfferingsOutput) SetNextToken(v string) *ListOfferingsOutput { + s.NextToken = &v return s } -// Details of the input device. -type InputDeviceSummary struct { - _ struct{} `type:"structure"` - - // The unique ARN of the input device. - Arn *string `locationName:"arn" type:"string"` - - // The Availability Zone associated with this input device. - AvailabilityZone *string `locationName:"availabilityZone" type:"string"` - - // The state of the connection between the input device and AWS. - ConnectionState *string `locationName:"connectionState" type:"string" enum:"InputDeviceConnectionState"` - - // The status of the action to synchronize the device configuration. If you - // change the configuration of the input device (for example, the maximum bitrate), - // MediaLive sends the new data to the device. The device might not update itself - // immediately. SYNCED means the device has updated its configuration. SYNCING - // means that it has not updated its configuration. - DeviceSettingsSyncState *string `locationName:"deviceSettingsSyncState" type:"string" enum:"DeviceSettingsSyncState"` - - // The status of software on the input device. - DeviceUpdateStatus *string `locationName:"deviceUpdateStatus" type:"string" enum:"DeviceUpdateStatus"` +// SetOfferings sets the Offerings field's value. +func (s *ListOfferingsOutput) SetOfferings(v []*Offering) *ListOfferingsOutput { + s.Offerings = v + return s +} - // Settings that describe an input device that is type HD. - HdDeviceSettings *InputDeviceHdSettings `locationName:"hdDeviceSettings" type:"structure"` +type ListReservationsInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // The unique ID of the input device. - Id *string `locationName:"id" type:"string"` + ChannelClass *string `location:"querystring" locationName:"channelClass" type:"string"` - // The network MAC address of the input device. - MacAddress *string `locationName:"macAddress" type:"string"` + Codec *string `location:"querystring" locationName:"codec" type:"string"` - // An array of the ARNs for the MediaLive inputs attached to the device. Returned - // only if the outputType is MEDIALIVE_INPUT. - MedialiveInputArns []*string `locationName:"medialiveInputArns" type:"list"` + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // A name that you specify for the input device. - Name *string `locationName:"name" type:"string"` + MaximumBitrate *string `location:"querystring" locationName:"maximumBitrate" type:"string"` - // Network settings for the input device. - NetworkSettings *InputDeviceNetworkSettings `locationName:"networkSettings" type:"structure"` + MaximumFramerate *string `location:"querystring" locationName:"maximumFramerate" type:"string"` - // The output attachment type of the input device. Specifies MEDIACONNECT_FLOW - // if this device is the source for a MediaConnect flow. Specifies MEDIALIVE_INPUT - // if this device is the source for a MediaLive input. - OutputType *string `locationName:"outputType" type:"string" enum:"InputDeviceOutputType"` + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` - // The unique serial number of the input device. - SerialNumber *string `locationName:"serialNumber" type:"string"` + Resolution *string `location:"querystring" locationName:"resolution" type:"string"` - // A collection of key-value pairs. - Tags map[string]*string `locationName:"tags" type:"map"` + ResourceType *string `location:"querystring" locationName:"resourceType" type:"string"` - // The type of the input device. - Type *string `locationName:"type" type:"string" enum:"InputDeviceType"` + SpecialFeature *string `location:"querystring" locationName:"specialFeature" type:"string"` - // Settings that describe an input device that is type UHD. - UhdDeviceSettings *InputDeviceUhdSettings `locationName:"uhdDeviceSettings" type:"structure"` + VideoQuality *string `location:"querystring" locationName:"videoQuality" type:"string"` } // String returns the string representation. @@ -20987,7 +29092,7 @@ type InputDeviceSummary struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputDeviceSummary) String() string { +func (s ListReservationsInput) String() string { return awsutil.Prettify(s) } @@ -20996,119 +29101,131 @@ func (s InputDeviceSummary) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputDeviceSummary) GoString() string { +func (s ListReservationsInput) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *InputDeviceSummary) SetArn(v string) *InputDeviceSummary { - s.Arn = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListReservationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListReservationsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *InputDeviceSummary) SetAvailabilityZone(v string) *InputDeviceSummary { - s.AvailabilityZone = &v +// SetChannelClass sets the ChannelClass field's value. +func (s *ListReservationsInput) SetChannelClass(v string) *ListReservationsInput { + s.ChannelClass = &v return s } -// SetConnectionState sets the ConnectionState field's value. -func (s *InputDeviceSummary) SetConnectionState(v string) *InputDeviceSummary { - s.ConnectionState = &v +// SetCodec sets the Codec field's value. +func (s *ListReservationsInput) SetCodec(v string) *ListReservationsInput { + s.Codec = &v return s } -// SetDeviceSettingsSyncState sets the DeviceSettingsSyncState field's value. -func (s *InputDeviceSummary) SetDeviceSettingsSyncState(v string) *InputDeviceSummary { - s.DeviceSettingsSyncState = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListReservationsInput) SetMaxResults(v int64) *ListReservationsInput { + s.MaxResults = &v return s } -// SetDeviceUpdateStatus sets the DeviceUpdateStatus field's value. -func (s *InputDeviceSummary) SetDeviceUpdateStatus(v string) *InputDeviceSummary { - s.DeviceUpdateStatus = &v +// SetMaximumBitrate sets the MaximumBitrate field's value. +func (s *ListReservationsInput) SetMaximumBitrate(v string) *ListReservationsInput { + s.MaximumBitrate = &v return s } -// SetHdDeviceSettings sets the HdDeviceSettings field's value. -func (s *InputDeviceSummary) SetHdDeviceSettings(v *InputDeviceHdSettings) *InputDeviceSummary { - s.HdDeviceSettings = v +// SetMaximumFramerate sets the MaximumFramerate field's value. +func (s *ListReservationsInput) SetMaximumFramerate(v string) *ListReservationsInput { + s.MaximumFramerate = &v return s } -// SetId sets the Id field's value. -func (s *InputDeviceSummary) SetId(v string) *InputDeviceSummary { - s.Id = &v +// SetNextToken sets the NextToken field's value. +func (s *ListReservationsInput) SetNextToken(v string) *ListReservationsInput { + s.NextToken = &v return s } -// SetMacAddress sets the MacAddress field's value. -func (s *InputDeviceSummary) SetMacAddress(v string) *InputDeviceSummary { - s.MacAddress = &v +// SetResolution sets the Resolution field's value. +func (s *ListReservationsInput) SetResolution(v string) *ListReservationsInput { + s.Resolution = &v return s } -// SetMedialiveInputArns sets the MedialiveInputArns field's value. -func (s *InputDeviceSummary) SetMedialiveInputArns(v []*string) *InputDeviceSummary { - s.MedialiveInputArns = v +// SetResourceType sets the ResourceType field's value. +func (s *ListReservationsInput) SetResourceType(v string) *ListReservationsInput { + s.ResourceType = &v return s } -// SetName sets the Name field's value. -func (s *InputDeviceSummary) SetName(v string) *InputDeviceSummary { - s.Name = &v +// SetSpecialFeature sets the SpecialFeature field's value. +func (s *ListReservationsInput) SetSpecialFeature(v string) *ListReservationsInput { + s.SpecialFeature = &v return s } -// SetNetworkSettings sets the NetworkSettings field's value. -func (s *InputDeviceSummary) SetNetworkSettings(v *InputDeviceNetworkSettings) *InputDeviceSummary { - s.NetworkSettings = v +// SetVideoQuality sets the VideoQuality field's value. +func (s *ListReservationsInput) SetVideoQuality(v string) *ListReservationsInput { + s.VideoQuality = &v return s } -// SetOutputType sets the OutputType field's value. -func (s *InputDeviceSummary) SetOutputType(v string) *InputDeviceSummary { - s.OutputType = &v - return s +type ListReservationsOutput struct { + _ struct{} `type:"structure"` + + NextToken *string `locationName:"nextToken" type:"string"` + + Reservations []*Reservation `locationName:"reservations" type:"list"` } -// SetSerialNumber sets the SerialNumber field's value. -func (s *InputDeviceSummary) SetSerialNumber(v string) *InputDeviceSummary { - s.SerialNumber = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReservationsOutput) String() string { + return awsutil.Prettify(s) } -// SetTags sets the Tags field's value. -func (s *InputDeviceSummary) SetTags(v map[string]*string) *InputDeviceSummary { - s.Tags = v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReservationsOutput) GoString() string { + return s.String() } -// SetType sets the Type field's value. -func (s *InputDeviceSummary) SetType(v string) *InputDeviceSummary { - s.Type = &v +// SetNextToken sets the NextToken field's value. +func (s *ListReservationsOutput) SetNextToken(v string) *ListReservationsOutput { + s.NextToken = &v return s } -// SetUhdDeviceSettings sets the UhdDeviceSettings field's value. -func (s *InputDeviceSummary) SetUhdDeviceSettings(v *InputDeviceUhdSettings) *InputDeviceSummary { - s.UhdDeviceSettings = v +// SetReservations sets the Reservations field's value. +func (s *ListReservationsOutput) SetReservations(v []*Reservation) *ListReservationsOutput { + s.Reservations = v return s } -// One audio configuration that specifies the format for one audio pair that -// the device produces as output. -type InputDeviceUhdAudioChannelPairConfig struct { - _ struct{} `type:"structure"` +type ListSignalMapsInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // The ID for one audio pair configuration, a value from 1 to 8. - Id *int64 `locationName:"id" type:"integer"` + CloudWatchAlarmTemplateGroupIdentifier *string `location:"querystring" locationName:"cloudWatchAlarmTemplateGroupIdentifier" type:"string"` - // The profile for one audio pair configuration. This property describes one - // audio configuration in the format (rate control algorithm)-(codec)_(quality)-(bitrate - // in bytes). For example, CBR-AAC_HQ-192000. Or DISABLED, in which case the - // device won't produce audio for this pair. - Profile *string `locationName:"profile" type:"string" enum:"InputDeviceUhdAudioChannelPairProfile"` + EventBridgeRuleTemplateGroupIdentifier *string `location:"querystring" locationName:"eventBridgeRuleTemplateGroupIdentifier" type:"string"` + + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -21116,7 +29233,7 @@ type InputDeviceUhdAudioChannelPairConfig struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputDeviceUhdAudioChannelPairConfig) String() string { +func (s ListSignalMapsInput) String() string { return awsutil.Prettify(s) } @@ -21125,70 +29242,53 @@ func (s InputDeviceUhdAudioChannelPairConfig) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputDeviceUhdAudioChannelPairConfig) GoString() string { +func (s ListSignalMapsInput) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *InputDeviceUhdAudioChannelPairConfig) SetId(v int64) *InputDeviceUhdAudioChannelPairConfig { - s.Id = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListSignalMapsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListSignalMapsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetProfile sets the Profile field's value. -func (s *InputDeviceUhdAudioChannelPairConfig) SetProfile(v string) *InputDeviceUhdAudioChannelPairConfig { - s.Profile = &v +// SetCloudWatchAlarmTemplateGroupIdentifier sets the CloudWatchAlarmTemplateGroupIdentifier field's value. +func (s *ListSignalMapsInput) SetCloudWatchAlarmTemplateGroupIdentifier(v string) *ListSignalMapsInput { + s.CloudWatchAlarmTemplateGroupIdentifier = &v return s } -// Settings that describe the active source from the input device, and the video -// characteristics of that source. -type InputDeviceUhdSettings struct { - _ struct{} `type:"structure"` - - // If you specified Auto as the configured input, specifies which of the sources - // is currently active (SDI or HDMI). - ActiveInput *string `locationName:"activeInput" type:"string" enum:"InputDeviceActiveInput"` - - // An array of eight audio configurations, one for each audio pair in the source. - // Each audio configuration specifies either to exclude the pair, or to format - // it and include it in the output from the UHD device. Applies only when the - // device is configured as the source for a MediaConnect flow. - AudioChannelPairs []*InputDeviceUhdAudioChannelPairConfig `locationName:"audioChannelPairs" type:"list"` - - // The codec for the video that the device produces. - Codec *string `locationName:"codec" type:"string" enum:"InputDeviceCodec"` - - // The source at the input device that is currently active. You can specify - // this source. - ConfiguredInput *string `locationName:"configuredInput" type:"string" enum:"InputDeviceConfiguredInput"` - - // The state of the input device. - DeviceState *string `locationName:"deviceState" type:"string" enum:"InputDeviceState"` - - // The frame rate of the video source. - Framerate *float64 `locationName:"framerate" type:"double"` - - // The height of the video source, in pixels. - Height *int64 `locationName:"height" type:"integer"` +// SetEventBridgeRuleTemplateGroupIdentifier sets the EventBridgeRuleTemplateGroupIdentifier field's value. +func (s *ListSignalMapsInput) SetEventBridgeRuleTemplateGroupIdentifier(v string) *ListSignalMapsInput { + s.EventBridgeRuleTemplateGroupIdentifier = &v + return s +} - // The Link device's buffer size (latency) in milliseconds (ms). You can specify - // this value. - LatencyMs *int64 `locationName:"latencyMs" type:"integer"` +// SetMaxResults sets the MaxResults field's value. +func (s *ListSignalMapsInput) SetMaxResults(v int64) *ListSignalMapsInput { + s.MaxResults = &v + return s +} - // The current maximum bitrate for ingesting this source, in bits per second. - // You can specify this maximum. - MaxBitrate *int64 `locationName:"maxBitrate" type:"integer"` +// SetNextToken sets the NextToken field's value. +func (s *ListSignalMapsInput) SetNextToken(v string) *ListSignalMapsInput { + s.NextToken = &v + return s +} - // Information about the MediaConnect flow attached to the device. Returned - // only if the outputType is MEDIACONNECT_FLOW. - MediaconnectSettings *InputDeviceMediaConnectSettings `locationName:"mediaconnectSettings" type:"structure"` +type ListSignalMapsOutput struct { + _ struct{} `type:"structure"` - // The scan type of the video source. - ScanType *string `locationName:"scanType" type:"string" enum:"InputDeviceScanType"` + NextToken *string `locationName:"nextToken" min:"1" type:"string"` - // The width of the video source, in pixels. - Width *int64 `locationName:"width" type:"integer"` + SignalMaps []*SignalMapSummary `locationName:"signalMaps" type:"list"` } // String returns the string representation. @@ -21196,7 +29296,7 @@ type InputDeviceUhdSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputDeviceUhdSettings) String() string { +func (s ListSignalMapsOutput) String() string { return awsutil.Prettify(s) } @@ -21205,178 +29305,338 @@ func (s InputDeviceUhdSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputDeviceUhdSettings) GoString() string { +func (s ListSignalMapsOutput) GoString() string { return s.String() } -// SetActiveInput sets the ActiveInput field's value. -func (s *InputDeviceUhdSettings) SetActiveInput(v string) *InputDeviceUhdSettings { - s.ActiveInput = &v +// SetNextToken sets the NextToken field's value. +func (s *ListSignalMapsOutput) SetNextToken(v string) *ListSignalMapsOutput { + s.NextToken = &v return s } -// SetAudioChannelPairs sets the AudioChannelPairs field's value. -func (s *InputDeviceUhdSettings) SetAudioChannelPairs(v []*InputDeviceUhdAudioChannelPairConfig) *InputDeviceUhdSettings { - s.AudioChannelPairs = v +// SetSignalMaps sets the SignalMaps field's value. +func (s *ListSignalMapsOutput) SetSignalMaps(v []*SignalMapSummary) *ListSignalMapsOutput { + s.SignalMaps = v return s } -// SetCodec sets the Codec field's value. -func (s *InputDeviceUhdSettings) SetCodec(v string) *InputDeviceUhdSettings { - s.Codec = &v - return s -} +type ListTagsForResourceInput struct { + _ struct{} `type:"structure" nopayload:"true"` -// SetConfiguredInput sets the ConfiguredInput field's value. -func (s *InputDeviceUhdSettings) SetConfiguredInput(v string) *InputDeviceUhdSettings { - s.ConfiguredInput = &v - return s + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"` } -// SetDeviceState sets the DeviceState field's value. -func (s *InputDeviceUhdSettings) SetDeviceState(v string) *InputDeviceUhdSettings { - s.DeviceState = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTagsForResourceInput) String() string { + return awsutil.Prettify(s) } -// SetFramerate sets the Framerate field's value. -func (s *InputDeviceUhdSettings) SetFramerate(v float64) *InputDeviceUhdSettings { - s.Framerate = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTagsForResourceInput) GoString() string { + return s.String() } -// SetHeight sets the Height field's value. -func (s *InputDeviceUhdSettings) SetHeight(v int64) *InputDeviceUhdSettings { - s.Height = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListTagsForResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetLatencyMs sets the LatencyMs field's value. -func (s *InputDeviceUhdSettings) SetLatencyMs(v int64) *InputDeviceUhdSettings { - s.LatencyMs = &v +// SetResourceArn sets the ResourceArn field's value. +func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput { + s.ResourceArn = &v return s } -// SetMaxBitrate sets the MaxBitrate field's value. -func (s *InputDeviceUhdSettings) SetMaxBitrate(v int64) *InputDeviceUhdSettings { - s.MaxBitrate = &v - return s +type ListTagsForResourceOutput struct { + _ struct{} `type:"structure"` + + Tags map[string]*string `locationName:"tags" type:"map"` } -// SetMediaconnectSettings sets the MediaconnectSettings field's value. -func (s *InputDeviceUhdSettings) SetMediaconnectSettings(v *InputDeviceMediaConnectSettings) *InputDeviceUhdSettings { - s.MediaconnectSettings = v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTagsForResourceOutput) String() string { + return awsutil.Prettify(s) } -// SetScanType sets the ScanType field's value. -func (s *InputDeviceUhdSettings) SetScanType(v string) *InputDeviceUhdSettings { - s.ScanType = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTagsForResourceOutput) GoString() string { + return s.String() } -// SetWidth sets the Width field's value. -func (s *InputDeviceUhdSettings) SetWidth(v int64) *InputDeviceUhdSettings { - s.Width = &v +// SetTags sets the Tags field's value. +func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput { + s.Tags = v return s } -// Input Location -type InputLocation struct { +// M2ts Settings +type M2tsSettings struct { _ struct{} `type:"structure"` - // key used to extract the password from EC2 Parameter store - PasswordParam *string `locationName:"passwordParam" type:"string"` + // When set to drop, output audio streams will be removed from the program if + // the selected input audio stream is removed from the input. This allows the + // output audio configuration to dynamically change based on input configuration. + // If this is set to encodeSilence, all output audio streams will output encoded + // silence when not connected to an active input stream. + AbsentInputAudioBehavior *string `locationName:"absentInputAudioBehavior" type:"string" enum:"M2tsAbsentInputAudioBehavior"` - // Uniform Resource Identifier - This should be a path to a file accessible - // to the Live system (eg. a http:// URI) depending on the output type. For - // example, a RTMP destination should have a uri simliar to: "rtmp://fmsserver/live". - // - // Uri is a required field - Uri *string `locationName:"uri" type:"string" required:"true"` + // When set to enabled, uses ARIB-compliant field muxing and removes video descriptor. + Arib *string `locationName:"arib" type:"string" enum:"M2tsArib"` + + // Packet Identifier (PID) for ARIB Captions in the transport stream. Can be + // entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 + // (or 0x1ff6). + AribCaptionsPid *string `locationName:"aribCaptionsPid" type:"string"` + + // If set to auto, pid number used for ARIB Captions will be auto-selected from + // unused pids. If set to useConfigured, ARIB Captions will be on the configured + // pid number. + AribCaptionsPidControl *string `locationName:"aribCaptionsPidControl" type:"string" enum:"M2tsAribCaptionsPidControl"` + + // When set to dvb, uses DVB buffer model for Dolby Digital audio. When set + // to atsc, the ATSC model is used. + AudioBufferModel *string `locationName:"audioBufferModel" type:"string" enum:"M2tsAudioBufferModel"` + + // The number of audio frames to insert for each PES packet. + AudioFramesPerPes *int64 `locationName:"audioFramesPerPes" type:"integer"` + + // Packet Identifier (PID) of the elementary audio stream(s) in the transport + // stream. Multiple values are accepted, and can be entered in ranges and/or + // by comma separation. Can be entered as decimal or hexadecimal values. Each + // PID specified must be in the range of 32 (or 0x20)..8182 (or 0x1ff6). + AudioPids *string `locationName:"audioPids" type:"string"` + + // When set to atsc, uses stream type = 0x81 for AC3 and stream type = 0x87 + // for EAC3. When set to dvb, uses stream type = 0x06. + AudioStreamType *string `locationName:"audioStreamType" type:"string" enum:"M2tsAudioStreamType"` + + // The output bitrate of the transport stream in bits per second. Setting to + // 0 lets the muxer automatically determine the appropriate bitrate. + Bitrate *int64 `locationName:"bitrate" type:"integer"` + + // Controls the timing accuracy for output network traffic. Leave as MULTIPLEX + // to ensure accurate network packet timing. Or set to NONE, which might result + // in lower latency but will result in more variability in output network packet + // timing. This variability might cause interruptions, jitter, or bursty behavior + // in your playback or receiving devices. + BufferModel *string `locationName:"bufferModel" type:"string" enum:"M2tsBufferModel"` + + // When set to enabled, generates captionServiceDescriptor in PMT. + CcDescriptor *string `locationName:"ccDescriptor" type:"string" enum:"M2tsCcDescriptor"` + + // Inserts DVB Network Information Table (NIT) at the specified table repetition + // interval. + DvbNitSettings *DvbNitSettings `locationName:"dvbNitSettings" type:"structure"` + + // Inserts DVB Service Description Table (SDT) at the specified table repetition + // interval. + DvbSdtSettings *DvbSdtSettings `locationName:"dvbSdtSettings" type:"structure"` + + // Packet Identifier (PID) for input source DVB Subtitle data to this output. + // Multiple values are accepted, and can be entered in ranges and/or by comma + // separation. Can be entered as decimal or hexadecimal values. Each PID specified + // must be in the range of 32 (or 0x20)..8182 (or 0x1ff6). + DvbSubPids *string `locationName:"dvbSubPids" type:"string"` + + // Inserts DVB Time and Date Table (TDT) at the specified table repetition interval. + DvbTdtSettings *DvbTdtSettings `locationName:"dvbTdtSettings" type:"structure"` + + // Packet Identifier (PID) for input source DVB Teletext data to this output. + // Can be entered as a decimal or hexadecimal value. Valid values are 32 (or + // 0x20)..8182 (or 0x1ff6). + DvbTeletextPid *string `locationName:"dvbTeletextPid" type:"string"` + + // If set to passthrough, passes any EBIF data from the input source to this + // output. + Ebif *string `locationName:"ebif" type:"string" enum:"M2tsEbifControl"` + + // When videoAndFixedIntervals is selected, audio EBP markers will be added + // to partitions 3 and 4. The interval between these additional markers will + // be fixed, and will be slightly shorter than the video EBP marker interval. + // Only available when EBP Cablelabs segmentation markers are selected. Partitions + // 1 and 2 will always follow the video interval. + EbpAudioInterval *string `locationName:"ebpAudioInterval" type:"string" enum:"M2tsAudioInterval"` + + // When set, enforces that Encoder Boundary Points do not come within the specified + // time interval of each other by looking ahead at input video. If another EBP + // is going to come in within the specified time interval, the current EBP is + // not emitted, and the segment is "stretched" to the next marker. The lookahead + // value does not add latency to the system. The Live Event must be configured + // elsewhere to create sufficient latency to make the lookahead accurate. + EbpLookaheadMs *int64 `locationName:"ebpLookaheadMs" type:"integer"` + + // Controls placement of EBP on Audio PIDs. If set to videoAndAudioPids, EBP + // markers will be placed on the video PID and all audio PIDs. If set to videoPid, + // EBP markers will be placed on only the video PID. + EbpPlacement *string `locationName:"ebpPlacement" type:"string" enum:"M2tsEbpPlacement"` + + // This field is unused and deprecated. + EcmPid *string `locationName:"ecmPid" type:"string"` + + // Include or exclude the ES Rate field in the PES header. + EsRateInPes *string `locationName:"esRateInPes" type:"string" enum:"M2tsEsRateInPes"` + + // Packet Identifier (PID) for input source ETV Platform data to this output. + // Can be entered as a decimal or hexadecimal value. Valid values are 32 (or + // 0x20)..8182 (or 0x1ff6). + EtvPlatformPid *string `locationName:"etvPlatformPid" type:"string"` + + // Packet Identifier (PID) for input source ETV Signal data to this output. + // Can be entered as a decimal or hexadecimal value. Valid values are 32 (or + // 0x20)..8182 (or 0x1ff6). + EtvSignalPid *string `locationName:"etvSignalPid" type:"string"` + + // The length in seconds of each fragment. Only used with EBP markers. + FragmentTime *float64 `locationName:"fragmentTime" type:"double"` + + // If set to passthrough, passes any KLV data from the input source to this + // output. + Klv *string `locationName:"klv" type:"string" enum:"M2tsKlv"` + + // Packet Identifier (PID) for input source KLV data to this output. Multiple + // values are accepted, and can be entered in ranges and/or by comma separation. + // Can be entered as decimal or hexadecimal values. Each PID specified must + // be in the range of 32 (or 0x20)..8182 (or 0x1ff6). + KlvDataPids *string `locationName:"klvDataPids" type:"string"` + + // If set to passthrough, Nielsen inaudible tones for media tracking will be + // detected in the input audio and an equivalent ID3 tag will be inserted in + // the output. + NielsenId3Behavior *string `locationName:"nielsenId3Behavior" type:"string" enum:"M2tsNielsenId3Behavior"` + + // Value in bits per second of extra null packets to insert into the transport + // stream. This can be used if a downstream encryption system requires periodic + // null packets. + NullPacketBitrate *float64 `locationName:"nullPacketBitrate" type:"double"` + + // The number of milliseconds between instances of this table in the output + // transport stream. Valid values are 0, 10..1000. + PatInterval *int64 `locationName:"patInterval" type:"integer"` + + // When set to pcrEveryPesPacket, a Program Clock Reference value is inserted + // for every Packetized Elementary Stream (PES) header. This parameter is effective + // only when the PCR PID is the same as the video or audio elementary stream. + PcrControl *string `locationName:"pcrControl" type:"string" enum:"M2tsPcrControl"` + + // Maximum time in milliseconds between Program Clock Reference (PCRs) inserted + // into the transport stream. + PcrPeriod *int64 `locationName:"pcrPeriod" type:"integer"` + + // Packet Identifier (PID) of the Program Clock Reference (PCR) in the transport + // stream. When no value is given, the encoder will assign the same value as + // the Video PID. Can be entered as a decimal or hexadecimal value. Valid values + // are 32 (or 0x20)..8182 (or 0x1ff6). + PcrPid *string `locationName:"pcrPid" type:"string"` - // Username if credentials are required to access a file or publishing point. - // This can be either a plaintext username, or a reference to an AWS parameter - // store name from which the username can be retrieved. AWS Parameter store - // format: "ssm://" - Username *string `locationName:"username" type:"string"` -} + // The number of milliseconds between instances of this table in the output + // transport stream. Valid values are 0, 10..1000. + PmtInterval *int64 `locationName:"pmtInterval" type:"integer"` -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s InputLocation) String() string { - return awsutil.Prettify(s) -} + // Packet Identifier (PID) for the Program Map Table (PMT) in the transport + // stream. Can be entered as a decimal or hexadecimal value. Valid values are + // 32 (or 0x20)..8182 (or 0x1ff6). + PmtPid *string `locationName:"pmtPid" type:"string"` -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s InputLocation) GoString() string { - return s.String() -} + // The value of the program number field in the Program Map Table. + ProgramNum *int64 `locationName:"programNum" type:"integer"` -// Validate inspects the fields of the type to determine if they are valid. -func (s *InputLocation) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "InputLocation"} - if s.Uri == nil { - invalidParams.Add(request.NewErrParamRequired("Uri")) - } + // When vbr, does not insert null packets into transport stream to fill specified + // bitrate. The bitrate setting acts as the maximum bitrate when vbr is set. + RateMode *string `locationName:"rateMode" type:"string" enum:"M2tsRateMode"` - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} + // Packet Identifier (PID) for input source SCTE-27 data to this output. Multiple + // values are accepted, and can be entered in ranges and/or by comma separation. + // Can be entered as decimal or hexadecimal values. Each PID specified must + // be in the range of 32 (or 0x20)..8182 (or 0x1ff6). + Scte27Pids *string `locationName:"scte27Pids" type:"string"` -// SetPasswordParam sets the PasswordParam field's value. -func (s *InputLocation) SetPasswordParam(v string) *InputLocation { - s.PasswordParam = &v - return s -} + // Optionally pass SCTE-35 signals from the input source to this output. + Scte35Control *string `locationName:"scte35Control" type:"string" enum:"M2tsScte35Control"` -// SetUri sets the Uri field's value. -func (s *InputLocation) SetUri(v string) *InputLocation { - s.Uri = &v - return s -} + // Packet Identifier (PID) of the SCTE-35 stream in the transport stream. Can + // be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 + // (or 0x1ff6). + Scte35Pid *string `locationName:"scte35Pid" type:"string"` -// SetUsername sets the Username field's value. -func (s *InputLocation) SetUsername(v string) *InputLocation { - s.Username = &v - return s -} + // Defines the amount SCTE-35 preroll will be increased (in milliseconds) on + // the output. Preroll is the amount of time between the presence of a SCTE-35 + // indication in a transport stream and the PTS of the video frame it references. + // Zero means don't add pullup (it doesn't mean set the preroll to zero). Negative + // pullup is not supported, which means that you can't make the preroll shorter. + // Be aware that latency in the output will increase by the pullup amount. + Scte35PrerollPullupMilliseconds *float64 `locationName:"scte35PrerollPullupMilliseconds" type:"double"` -// Input Loss Behavior -type InputLossBehavior struct { - _ struct{} `type:"structure"` + // Inserts segmentation markers at each segmentationTime period. raiSegstart + // sets the Random Access Indicator bit in the adaptation field. raiAdapt sets + // the RAI bit and adds the current timecode in the private data bytes. psiSegstart + // inserts PAT and PMT tables at the start of segments. ebp adds Encoder Boundary + // Point information to the adaptation field as per OpenCable specification + // OC-SP-EBP-I01-130118. ebpLegacy adds Encoder Boundary Point information to + // the adaptation field using a legacy proprietary format. + SegmentationMarkers *string `locationName:"segmentationMarkers" type:"string" enum:"M2tsSegmentationMarkers"` - // On input loss, the number of milliseconds to substitute black into the output - // before switching to the frame specified by inputLossImageType. A value x, - // where 0 <= x <= 1,000,000 and a value of 1,000,000 will be interpreted as - // infinite. - BlackFrameMsec *int64 `locationName:"blackFrameMsec" type:"integer"` + // The segmentation style parameter controls how segmentation markers are inserted + // into the transport stream. With avails, it is possible that segments may + // be truncated, which can influence where future segmentation markers are inserted.When + // a segmentation style of "resetCadence" is selected and a segment is truncated + // due to an avail, we will reset the segmentation cadence. This means the subsequent + // segment will have a duration of $segmentationTime seconds.When a segmentation + // style of "maintainCadence" is selected and a segment is truncated due to + // an avail, we will not reset the segmentation cadence. This means the subsequent + // segment will likely be truncated as well. However, all segments after that + // will have a duration of $segmentationTime seconds. Note that EBP lookahead + // is a slight exception to this rule. + SegmentationStyle *string `locationName:"segmentationStyle" type:"string" enum:"M2tsSegmentationStyle"` - // When input loss image type is "color" this field specifies the color to use. - // Value: 6 hex characters representing the values of RGB. - InputLossImageColor *string `locationName:"inputLossImageColor" min:"6" type:"string"` + // The length in seconds of each segment. Required unless markers is set to + // _none_. + SegmentationTime *float64 `locationName:"segmentationTime" type:"double"` - // When input loss image type is "slate" these fields specify the parameters - // for accessing the slate. - InputLossImageSlate *InputLocation `locationName:"inputLossImageSlate" type:"structure"` + // When set to passthrough, timed metadata will be passed through from input + // to output. + TimedMetadataBehavior *string `locationName:"timedMetadataBehavior" type:"string" enum:"M2tsTimedMetadataBehavior"` - // Indicates whether to substitute a solid color or a slate into the output - // after input loss exceeds blackFrameMsec. - InputLossImageType *string `locationName:"inputLossImageType" type:"string" enum:"InputLossImageType"` + // Packet Identifier (PID) of the timed metadata stream in the transport stream. + // Can be entered as a decimal or hexadecimal value. Valid values are 32 (or + // 0x20)..8182 (or 0x1ff6). + TimedMetadataPid *string `locationName:"timedMetadataPid" type:"string"` - // On input loss, the number of milliseconds to repeat the previous picture - // before substituting black into the output. A value x, where 0 <= x <= 1,000,000 - // and a value of 1,000,000 will be interpreted as infinite. - RepeatFrameMsec *int64 `locationName:"repeatFrameMsec" type:"integer"` + // The value of the transport stream ID field in the Program Map Table. + TransportStreamId *int64 `locationName:"transportStreamId" type:"integer"` + + // Packet Identifier (PID) of the elementary video stream in the transport stream. + // Can be entered as a decimal or hexadecimal value. Valid values are 32 (or + // 0x20)..8182 (or 0x1ff6). + VideoPid *string `locationName:"videoPid" type:"string"` } // String returns the string representation. @@ -21384,7 +29644,7 @@ type InputLossBehavior struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputLossBehavior) String() string { +func (s M2tsSettings) String() string { return awsutil.Prettify(s) } @@ -21393,19 +29653,26 @@ func (s InputLossBehavior) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputLossBehavior) GoString() string { +func (s M2tsSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *InputLossBehavior) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "InputLossBehavior"} - if s.InputLossImageColor != nil && len(*s.InputLossImageColor) < 6 { - invalidParams.Add(request.NewErrParamMinLen("InputLossImageColor", 6)) +func (s *M2tsSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "M2tsSettings"} + if s.DvbNitSettings != nil { + if err := s.DvbNitSettings.Validate(); err != nil { + invalidParams.AddNested("DvbNitSettings", err.(request.ErrInvalidParams)) + } } - if s.InputLossImageSlate != nil { - if err := s.InputLossImageSlate.Validate(); err != nil { - invalidParams.AddNested("InputLossImageSlate", err.(request.ErrInvalidParams)) + if s.DvbSdtSettings != nil { + if err := s.DvbSdtSettings.Validate(); err != nil { + invalidParams.AddNested("DvbSdtSettings", err.(request.ErrInvalidParams)) + } + } + if s.DvbTdtSettings != nil { + if err := s.DvbTdtSettings.Validate(); err != nil { + invalidParams.AddNested("DvbTdtSettings", err.(request.ErrInvalidParams)) } } @@ -21415,411 +29682,375 @@ func (s *InputLossBehavior) Validate() error { return nil } -// SetBlackFrameMsec sets the BlackFrameMsec field's value. -func (s *InputLossBehavior) SetBlackFrameMsec(v int64) *InputLossBehavior { - s.BlackFrameMsec = &v +// SetAbsentInputAudioBehavior sets the AbsentInputAudioBehavior field's value. +func (s *M2tsSettings) SetAbsentInputAudioBehavior(v string) *M2tsSettings { + s.AbsentInputAudioBehavior = &v return s } -// SetInputLossImageColor sets the InputLossImageColor field's value. -func (s *InputLossBehavior) SetInputLossImageColor(v string) *InputLossBehavior { - s.InputLossImageColor = &v +// SetArib sets the Arib field's value. +func (s *M2tsSettings) SetArib(v string) *M2tsSettings { + s.Arib = &v return s } -// SetInputLossImageSlate sets the InputLossImageSlate field's value. -func (s *InputLossBehavior) SetInputLossImageSlate(v *InputLocation) *InputLossBehavior { - s.InputLossImageSlate = v +// SetAribCaptionsPid sets the AribCaptionsPid field's value. +func (s *M2tsSettings) SetAribCaptionsPid(v string) *M2tsSettings { + s.AribCaptionsPid = &v return s } -// SetInputLossImageType sets the InputLossImageType field's value. -func (s *InputLossBehavior) SetInputLossImageType(v string) *InputLossBehavior { - s.InputLossImageType = &v +// SetAribCaptionsPidControl sets the AribCaptionsPidControl field's value. +func (s *M2tsSettings) SetAribCaptionsPidControl(v string) *M2tsSettings { + s.AribCaptionsPidControl = &v return s } -// SetRepeatFrameMsec sets the RepeatFrameMsec field's value. -func (s *InputLossBehavior) SetRepeatFrameMsec(v int64) *InputLossBehavior { - s.RepeatFrameMsec = &v +// SetAudioBufferModel sets the AudioBufferModel field's value. +func (s *M2tsSettings) SetAudioBufferModel(v string) *M2tsSettings { + s.AudioBufferModel = &v return s } -// MediaLive will perform a failover if content is not detected in this input -// for the specified period. -type InputLossFailoverSettings struct { - _ struct{} `type:"structure"` - - // The amount of time (in milliseconds) that no input is detected. After that - // time, an input failover will occur. - InputLossThresholdMsec *int64 `locationName:"inputLossThresholdMsec" min:"100" type:"integer"` +// SetAudioFramesPerPes sets the AudioFramesPerPes field's value. +func (s *M2tsSettings) SetAudioFramesPerPes(v int64) *M2tsSettings { + s.AudioFramesPerPes = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s InputLossFailoverSettings) String() string { - return awsutil.Prettify(s) +// SetAudioPids sets the AudioPids field's value. +func (s *M2tsSettings) SetAudioPids(v string) *M2tsSettings { + s.AudioPids = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s InputLossFailoverSettings) GoString() string { - return s.String() +// SetAudioStreamType sets the AudioStreamType field's value. +func (s *M2tsSettings) SetAudioStreamType(v string) *M2tsSettings { + s.AudioStreamType = &v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *InputLossFailoverSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "InputLossFailoverSettings"} - if s.InputLossThresholdMsec != nil && *s.InputLossThresholdMsec < 100 { - invalidParams.Add(request.NewErrParamMinValue("InputLossThresholdMsec", 100)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetBitrate sets the Bitrate field's value. +func (s *M2tsSettings) SetBitrate(v int64) *M2tsSettings { + s.Bitrate = &v + return s } -// SetInputLossThresholdMsec sets the InputLossThresholdMsec field's value. -func (s *InputLossFailoverSettings) SetInputLossThresholdMsec(v int64) *InputLossFailoverSettings { - s.InputLossThresholdMsec = &v +// SetBufferModel sets the BufferModel field's value. +func (s *M2tsSettings) SetBufferModel(v string) *M2tsSettings { + s.BufferModel = &v return s } -// Action to prepare an input for a future immediate input switch. -type InputPrepareScheduleActionSettings struct { - _ struct{} `type:"structure"` - - // The name of the input attachment that should be prepared by this action. - // If no name is provided, the action will stop the most recent prepare (if - // any) when activated. - InputAttachmentNameReference *string `locationName:"inputAttachmentNameReference" type:"string"` - - // Settings to let you create a clip of the file input, in order to set up the - // input to ingest only a portion of the file. - InputClippingSettings *InputClippingSettings `locationName:"inputClippingSettings" type:"structure"` - - // The value for the variable portion of the URL for the dynamic input, for - // this instance of the input. Each time you use the same dynamic input in an - // input switch action, you can provide a different value, in order to connect - // the input to a different content source. - UrlPath []*string `locationName:"urlPath" type:"list"` +// SetCcDescriptor sets the CcDescriptor field's value. +func (s *M2tsSettings) SetCcDescriptor(v string) *M2tsSettings { + s.CcDescriptor = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s InputPrepareScheduleActionSettings) String() string { - return awsutil.Prettify(s) +// SetDvbNitSettings sets the DvbNitSettings field's value. +func (s *M2tsSettings) SetDvbNitSettings(v *DvbNitSettings) *M2tsSettings { + s.DvbNitSettings = v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s InputPrepareScheduleActionSettings) GoString() string { - return s.String() +// SetDvbSdtSettings sets the DvbSdtSettings field's value. +func (s *M2tsSettings) SetDvbSdtSettings(v *DvbSdtSettings) *M2tsSettings { + s.DvbSdtSettings = v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *InputPrepareScheduleActionSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "InputPrepareScheduleActionSettings"} - if s.InputClippingSettings != nil { - if err := s.InputClippingSettings.Validate(); err != nil { - invalidParams.AddNested("InputClippingSettings", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetDvbSubPids sets the DvbSubPids field's value. +func (s *M2tsSettings) SetDvbSubPids(v string) *M2tsSettings { + s.DvbSubPids = &v + return s } -// SetInputAttachmentNameReference sets the InputAttachmentNameReference field's value. -func (s *InputPrepareScheduleActionSettings) SetInputAttachmentNameReference(v string) *InputPrepareScheduleActionSettings { - s.InputAttachmentNameReference = &v +// SetDvbTdtSettings sets the DvbTdtSettings field's value. +func (s *M2tsSettings) SetDvbTdtSettings(v *DvbTdtSettings) *M2tsSettings { + s.DvbTdtSettings = v return s } -// SetInputClippingSettings sets the InputClippingSettings field's value. -func (s *InputPrepareScheduleActionSettings) SetInputClippingSettings(v *InputClippingSettings) *InputPrepareScheduleActionSettings { - s.InputClippingSettings = v +// SetDvbTeletextPid sets the DvbTeletextPid field's value. +func (s *M2tsSettings) SetDvbTeletextPid(v string) *M2tsSettings { + s.DvbTeletextPid = &v return s } -// SetUrlPath sets the UrlPath field's value. -func (s *InputPrepareScheduleActionSettings) SetUrlPath(v []*string) *InputPrepareScheduleActionSettings { - s.UrlPath = v +// SetEbif sets the Ebif field's value. +func (s *M2tsSettings) SetEbif(v string) *M2tsSettings { + s.Ebif = &v return s } -// An Input Security Group -type InputSecurityGroup struct { - _ struct{} `type:"structure"` - - // Unique ARN of Input Security Group - Arn *string `locationName:"arn" type:"string"` - - // The Id of the Input Security Group - Id *string `locationName:"id" type:"string"` - - // The list of inputs currently using this Input Security Group. - Inputs []*string `locationName:"inputs" type:"list"` - - // The current state of the Input Security Group. - State *string `locationName:"state" type:"string" enum:"InputSecurityGroupState"` - - // A collection of key-value pairs. - Tags map[string]*string `locationName:"tags" type:"map"` - - // Whitelist rules and their sync status - WhitelistRules []*InputWhitelistRule `locationName:"whitelistRules" type:"list"` +// SetEbpAudioInterval sets the EbpAudioInterval field's value. +func (s *M2tsSettings) SetEbpAudioInterval(v string) *M2tsSettings { + s.EbpAudioInterval = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s InputSecurityGroup) String() string { - return awsutil.Prettify(s) +// SetEbpLookaheadMs sets the EbpLookaheadMs field's value. +func (s *M2tsSettings) SetEbpLookaheadMs(v int64) *M2tsSettings { + s.EbpLookaheadMs = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s InputSecurityGroup) GoString() string { - return s.String() +// SetEbpPlacement sets the EbpPlacement field's value. +func (s *M2tsSettings) SetEbpPlacement(v string) *M2tsSettings { + s.EbpPlacement = &v + return s } -// SetArn sets the Arn field's value. -func (s *InputSecurityGroup) SetArn(v string) *InputSecurityGroup { - s.Arn = &v +// SetEcmPid sets the EcmPid field's value. +func (s *M2tsSettings) SetEcmPid(v string) *M2tsSettings { + s.EcmPid = &v return s } -// SetId sets the Id field's value. -func (s *InputSecurityGroup) SetId(v string) *InputSecurityGroup { - s.Id = &v +// SetEsRateInPes sets the EsRateInPes field's value. +func (s *M2tsSettings) SetEsRateInPes(v string) *M2tsSettings { + s.EsRateInPes = &v return s } -// SetInputs sets the Inputs field's value. -func (s *InputSecurityGroup) SetInputs(v []*string) *InputSecurityGroup { - s.Inputs = v +// SetEtvPlatformPid sets the EtvPlatformPid field's value. +func (s *M2tsSettings) SetEtvPlatformPid(v string) *M2tsSettings { + s.EtvPlatformPid = &v return s } -// SetState sets the State field's value. -func (s *InputSecurityGroup) SetState(v string) *InputSecurityGroup { - s.State = &v +// SetEtvSignalPid sets the EtvSignalPid field's value. +func (s *M2tsSettings) SetEtvSignalPid(v string) *M2tsSettings { + s.EtvSignalPid = &v return s } -// SetTags sets the Tags field's value. -func (s *InputSecurityGroup) SetTags(v map[string]*string) *InputSecurityGroup { - s.Tags = v +// SetFragmentTime sets the FragmentTime field's value. +func (s *M2tsSettings) SetFragmentTime(v float64) *M2tsSettings { + s.FragmentTime = &v return s } -// SetWhitelistRules sets the WhitelistRules field's value. -func (s *InputSecurityGroup) SetWhitelistRules(v []*InputWhitelistRule) *InputSecurityGroup { - s.WhitelistRules = v +// SetKlv sets the Klv field's value. +func (s *M2tsSettings) SetKlv(v string) *M2tsSettings { + s.Klv = &v return s } -// Live Event input parameters. There can be multiple inputs in a single Live -// Event. -type InputSettings struct { - _ struct{} `type:"structure"` - - // Used to select the audio stream to decode for inputs that have multiple available. - AudioSelectors []*AudioSelector `locationName:"audioSelectors" type:"list"` - - // Used to select the caption input to use for inputs that have multiple available. - CaptionSelectors []*CaptionSelector `locationName:"captionSelectors" type:"list"` - - // Enable or disable the deblock filter when filtering. - DeblockFilter *string `locationName:"deblockFilter" type:"string" enum:"InputDeblockFilter"` - - // Enable or disable the denoise filter when filtering. - DenoiseFilter *string `locationName:"denoiseFilter" type:"string" enum:"InputDenoiseFilter"` - - // Adjusts the magnitude of filtering from 1 (minimal) to 5 (strongest). - FilterStrength *int64 `locationName:"filterStrength" min:"1" type:"integer"` - - // Turns on the filter for this input. MPEG-2 inputs have the deblocking filter - // enabled by default.1) auto - filtering will be applied depending on input - // type/quality2) disabled - no filtering will be applied to the input3) forced - // - filtering will be applied regardless of input type - InputFilter *string `locationName:"inputFilter" type:"string" enum:"InputFilter"` - - // Input settings. - NetworkInputSettings *NetworkInputSettings `locationName:"networkInputSettings" type:"structure"` - - // PID from which to read SCTE-35 messages. If left undefined, EML will select - // the first SCTE-35 PID found in the input. - Scte35Pid *int64 `locationName:"scte35Pid" min:"32" type:"integer"` - - // Specifies whether to extract applicable ancillary data from a SMPTE-2038 - // source in this input. Applicable data types are captions, timecode, AFD, - // and SCTE-104 messages.- PREFER: Extract from SMPTE-2038 if present in this - // input, otherwise extract from another source (if any).- IGNORE: Never extract - // any ancillary data from SMPTE-2038. - Smpte2038DataPreference *string `locationName:"smpte2038DataPreference" type:"string" enum:"Smpte2038DataPreference"` - - // Loop input if it is a file. This allows a file input to be streamed indefinitely. - SourceEndBehavior *string `locationName:"sourceEndBehavior" type:"string" enum:"InputSourceEndBehavior"` - - // Informs which video elementary stream to decode for input types that have - // multiple available. - VideoSelector *VideoSelector `locationName:"videoSelector" type:"structure"` +// SetKlvDataPids sets the KlvDataPids field's value. +func (s *M2tsSettings) SetKlvDataPids(v string) *M2tsSettings { + s.KlvDataPids = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s InputSettings) String() string { - return awsutil.Prettify(s) +// SetNielsenId3Behavior sets the NielsenId3Behavior field's value. +func (s *M2tsSettings) SetNielsenId3Behavior(v string) *M2tsSettings { + s.NielsenId3Behavior = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s InputSettings) GoString() string { - return s.String() +// SetNullPacketBitrate sets the NullPacketBitrate field's value. +func (s *M2tsSettings) SetNullPacketBitrate(v float64) *M2tsSettings { + s.NullPacketBitrate = &v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *InputSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "InputSettings"} - if s.FilterStrength != nil && *s.FilterStrength < 1 { - invalidParams.Add(request.NewErrParamMinValue("FilterStrength", 1)) - } - if s.Scte35Pid != nil && *s.Scte35Pid < 32 { - invalidParams.Add(request.NewErrParamMinValue("Scte35Pid", 32)) - } - if s.AudioSelectors != nil { - for i, v := range s.AudioSelectors { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AudioSelectors", i), err.(request.ErrInvalidParams)) - } - } - } - if s.CaptionSelectors != nil { - for i, v := range s.CaptionSelectors { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CaptionSelectors", i), err.(request.ErrInvalidParams)) - } - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetPatInterval sets the PatInterval field's value. +func (s *M2tsSettings) SetPatInterval(v int64) *M2tsSettings { + s.PatInterval = &v + return s } -// SetAudioSelectors sets the AudioSelectors field's value. -func (s *InputSettings) SetAudioSelectors(v []*AudioSelector) *InputSettings { - s.AudioSelectors = v +// SetPcrControl sets the PcrControl field's value. +func (s *M2tsSettings) SetPcrControl(v string) *M2tsSettings { + s.PcrControl = &v return s } -// SetCaptionSelectors sets the CaptionSelectors field's value. -func (s *InputSettings) SetCaptionSelectors(v []*CaptionSelector) *InputSettings { - s.CaptionSelectors = v +// SetPcrPeriod sets the PcrPeriod field's value. +func (s *M2tsSettings) SetPcrPeriod(v int64) *M2tsSettings { + s.PcrPeriod = &v return s } -// SetDeblockFilter sets the DeblockFilter field's value. -func (s *InputSettings) SetDeblockFilter(v string) *InputSettings { - s.DeblockFilter = &v +// SetPcrPid sets the PcrPid field's value. +func (s *M2tsSettings) SetPcrPid(v string) *M2tsSettings { + s.PcrPid = &v return s } -// SetDenoiseFilter sets the DenoiseFilter field's value. -func (s *InputSettings) SetDenoiseFilter(v string) *InputSettings { - s.DenoiseFilter = &v +// SetPmtInterval sets the PmtInterval field's value. +func (s *M2tsSettings) SetPmtInterval(v int64) *M2tsSettings { + s.PmtInterval = &v return s } -// SetFilterStrength sets the FilterStrength field's value. -func (s *InputSettings) SetFilterStrength(v int64) *InputSettings { - s.FilterStrength = &v +// SetPmtPid sets the PmtPid field's value. +func (s *M2tsSettings) SetPmtPid(v string) *M2tsSettings { + s.PmtPid = &v return s } -// SetInputFilter sets the InputFilter field's value. -func (s *InputSettings) SetInputFilter(v string) *InputSettings { - s.InputFilter = &v +// SetProgramNum sets the ProgramNum field's value. +func (s *M2tsSettings) SetProgramNum(v int64) *M2tsSettings { + s.ProgramNum = &v return s } -// SetNetworkInputSettings sets the NetworkInputSettings field's value. -func (s *InputSettings) SetNetworkInputSettings(v *NetworkInputSettings) *InputSettings { - s.NetworkInputSettings = v +// SetRateMode sets the RateMode field's value. +func (s *M2tsSettings) SetRateMode(v string) *M2tsSettings { + s.RateMode = &v + return s +} + +// SetScte27Pids sets the Scte27Pids field's value. +func (s *M2tsSettings) SetScte27Pids(v string) *M2tsSettings { + s.Scte27Pids = &v + return s +} + +// SetScte35Control sets the Scte35Control field's value. +func (s *M2tsSettings) SetScte35Control(v string) *M2tsSettings { + s.Scte35Control = &v return s } // SetScte35Pid sets the Scte35Pid field's value. -func (s *InputSettings) SetScte35Pid(v int64) *InputSettings { +func (s *M2tsSettings) SetScte35Pid(v string) *M2tsSettings { s.Scte35Pid = &v return s } -// SetSmpte2038DataPreference sets the Smpte2038DataPreference field's value. -func (s *InputSettings) SetSmpte2038DataPreference(v string) *InputSettings { - s.Smpte2038DataPreference = &v +// SetScte35PrerollPullupMilliseconds sets the Scte35PrerollPullupMilliseconds field's value. +func (s *M2tsSettings) SetScte35PrerollPullupMilliseconds(v float64) *M2tsSettings { + s.Scte35PrerollPullupMilliseconds = &v return s } -// SetSourceEndBehavior sets the SourceEndBehavior field's value. -func (s *InputSettings) SetSourceEndBehavior(v string) *InputSettings { - s.SourceEndBehavior = &v +// SetSegmentationMarkers sets the SegmentationMarkers field's value. +func (s *M2tsSettings) SetSegmentationMarkers(v string) *M2tsSettings { + s.SegmentationMarkers = &v return s } -// SetVideoSelector sets the VideoSelector field's value. -func (s *InputSettings) SetVideoSelector(v *VideoSelector) *InputSettings { - s.VideoSelector = v +// SetSegmentationStyle sets the SegmentationStyle field's value. +func (s *M2tsSettings) SetSegmentationStyle(v string) *M2tsSettings { + s.SegmentationStyle = &v return s } -// The settings for a PULL type input. -type InputSource struct { +// SetSegmentationTime sets the SegmentationTime field's value. +func (s *M2tsSettings) SetSegmentationTime(v float64) *M2tsSettings { + s.SegmentationTime = &v + return s +} + +// SetTimedMetadataBehavior sets the TimedMetadataBehavior field's value. +func (s *M2tsSettings) SetTimedMetadataBehavior(v string) *M2tsSettings { + s.TimedMetadataBehavior = &v + return s +} + +// SetTimedMetadataPid sets the TimedMetadataPid field's value. +func (s *M2tsSettings) SetTimedMetadataPid(v string) *M2tsSettings { + s.TimedMetadataPid = &v + return s +} + +// SetTransportStreamId sets the TransportStreamId field's value. +func (s *M2tsSettings) SetTransportStreamId(v int64) *M2tsSettings { + s.TransportStreamId = &v + return s +} + +// SetVideoPid sets the VideoPid field's value. +func (s *M2tsSettings) SetVideoPid(v string) *M2tsSettings { + s.VideoPid = &v + return s +} + +// Settings information for the .m3u8 container +type M3u8Settings struct { _ struct{} `type:"structure"` - // The key used to extract the password from EC2 Parameter store. - PasswordParam *string `locationName:"passwordParam" type:"string"` + // The number of audio frames to insert for each PES packet. + AudioFramesPerPes *int64 `locationName:"audioFramesPerPes" type:"integer"` - // This represents the customer's source URL where stream ispulled from. - Url *string `locationName:"url" type:"string"` + // Packet Identifier (PID) of the elementary audio stream(s) in the transport + // stream. Multiple values are accepted, and can be entered in ranges and/or + // by comma separation. Can be entered as decimal or hexadecimal values. + AudioPids *string `locationName:"audioPids" type:"string"` - // The username for the input source. - Username *string `locationName:"username" type:"string"` + // This parameter is unused and deprecated. + EcmPid *string `locationName:"ecmPid" type:"string"` + + // If set to passthrough, passes any KLV data from the input source to this + // output. + KlvBehavior *string `locationName:"klvBehavior" type:"string" enum:"M3u8KlvBehavior"` + + // Packet Identifier (PID) for input source KLV data to this output. Multiple + // values are accepted, and can be entered in ranges and/or by comma separation. + // Can be entered as decimal or hexadecimal values. Each PID specified must + // be in the range of 32 (or 0x20)..8182 (or 0x1ff6). + KlvDataPids *string `locationName:"klvDataPids" type:"string"` + + // If set to passthrough, Nielsen inaudible tones for media tracking will be + // detected in the input audio and an equivalent ID3 tag will be inserted in + // the output. + NielsenId3Behavior *string `locationName:"nielsenId3Behavior" type:"string" enum:"M3u8NielsenId3Behavior"` + + // The number of milliseconds between instances of this table in the output + // transport stream. A value of \"0\" writes out the PMT once per segment file. + PatInterval *int64 `locationName:"patInterval" type:"integer"` + + // When set to pcrEveryPesPacket, a Program Clock Reference value is inserted + // for every Packetized Elementary Stream (PES) header. This parameter is effective + // only when the PCR PID is the same as the video or audio elementary stream. + PcrControl *string `locationName:"pcrControl" type:"string" enum:"M3u8PcrControl"` + + // Maximum time in milliseconds between Program Clock References (PCRs) inserted + // into the transport stream. + PcrPeriod *int64 `locationName:"pcrPeriod" type:"integer"` + + // Packet Identifier (PID) of the Program Clock Reference (PCR) in the transport + // stream. When no value is given, the encoder will assign the same value as + // the Video PID. Can be entered as a decimal or hexadecimal value. + PcrPid *string `locationName:"pcrPid" type:"string"` + + // The number of milliseconds between instances of this table in the output + // transport stream. A value of \"0\" writes out the PMT once per segment file. + PmtInterval *int64 `locationName:"pmtInterval" type:"integer"` + + // Packet Identifier (PID) for the Program Map Table (PMT) in the transport + // stream. Can be entered as a decimal or hexadecimal value. + PmtPid *string `locationName:"pmtPid" type:"string"` + + // The value of the program number field in the Program Map Table. + ProgramNum *int64 `locationName:"programNum" type:"integer"` + + // If set to passthrough, passes any SCTE-35 signals from the input source to + // this output. + Scte35Behavior *string `locationName:"scte35Behavior" type:"string" enum:"M3u8Scte35Behavior"` + + // Packet Identifier (PID) of the SCTE-35 stream in the transport stream. Can + // be entered as a decimal or hexadecimal value. + Scte35Pid *string `locationName:"scte35Pid" type:"string"` + + // When set to passthrough, timed metadata is passed through from input to output. + TimedMetadataBehavior *string `locationName:"timedMetadataBehavior" type:"string" enum:"M3u8TimedMetadataBehavior"` + + // Packet Identifier (PID) of the timed metadata stream in the transport stream. + // Can be entered as a decimal or hexadecimal value. Valid values are 32 (or + // 0x20)..8182 (or 0x1ff6). + TimedMetadataPid *string `locationName:"timedMetadataPid" type:"string"` + + // The value of the transport stream ID field in the Program Map Table. + TransportStreamId *int64 `locationName:"transportStreamId" type:"integer"` + + // Packet Identifier (PID) of the elementary video stream in the transport stream. + // Can be entered as a decimal or hexadecimal value. + VideoPid *string `locationName:"videoPid" type:"string"` } // String returns the string representation. @@ -21827,7 +30058,7 @@ type InputSource struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputSource) String() string { +func (s M3u8Settings) String() string { return awsutil.Prettify(s) } @@ -21836,147 +30067,134 @@ func (s InputSource) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputSource) GoString() string { +func (s M3u8Settings) GoString() string { return s.String() } -// SetPasswordParam sets the PasswordParam field's value. -func (s *InputSource) SetPasswordParam(v string) *InputSource { - s.PasswordParam = &v +// SetAudioFramesPerPes sets the AudioFramesPerPes field's value. +func (s *M3u8Settings) SetAudioFramesPerPes(v int64) *M3u8Settings { + s.AudioFramesPerPes = &v return s } -// SetUrl sets the Url field's value. -func (s *InputSource) SetUrl(v string) *InputSource { - s.Url = &v +// SetAudioPids sets the AudioPids field's value. +func (s *M3u8Settings) SetAudioPids(v string) *M3u8Settings { + s.AudioPids = &v return s } -// SetUsername sets the Username field's value. -func (s *InputSource) SetUsername(v string) *InputSource { - s.Username = &v +// SetEcmPid sets the EcmPid field's value. +func (s *M3u8Settings) SetEcmPid(v string) *M3u8Settings { + s.EcmPid = &v return s } -// Settings for for a PULL type input. -type InputSourceRequest struct { - _ struct{} `type:"structure"` - - // The key used to extract the password from EC2 Parameter store. - PasswordParam *string `locationName:"passwordParam" type:"string"` - - // This represents the customer's source URL where stream ispulled from. - Url *string `locationName:"url" type:"string"` +// SetKlvBehavior sets the KlvBehavior field's value. +func (s *M3u8Settings) SetKlvBehavior(v string) *M3u8Settings { + s.KlvBehavior = &v + return s +} - // The username for the input source. - Username *string `locationName:"username" type:"string"` +// SetKlvDataPids sets the KlvDataPids field's value. +func (s *M3u8Settings) SetKlvDataPids(v string) *M3u8Settings { + s.KlvDataPids = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s InputSourceRequest) String() string { - return awsutil.Prettify(s) +// SetNielsenId3Behavior sets the NielsenId3Behavior field's value. +func (s *M3u8Settings) SetNielsenId3Behavior(v string) *M3u8Settings { + s.NielsenId3Behavior = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s InputSourceRequest) GoString() string { - return s.String() +// SetPatInterval sets the PatInterval field's value. +func (s *M3u8Settings) SetPatInterval(v int64) *M3u8Settings { + s.PatInterval = &v + return s } -// SetPasswordParam sets the PasswordParam field's value. -func (s *InputSourceRequest) SetPasswordParam(v string) *InputSourceRequest { - s.PasswordParam = &v +// SetPcrControl sets the PcrControl field's value. +func (s *M3u8Settings) SetPcrControl(v string) *M3u8Settings { + s.PcrControl = &v return s } -// SetUrl sets the Url field's value. -func (s *InputSourceRequest) SetUrl(v string) *InputSourceRequest { - s.Url = &v +// SetPcrPeriod sets the PcrPeriod field's value. +func (s *M3u8Settings) SetPcrPeriod(v int64) *M3u8Settings { + s.PcrPeriod = &v return s } -// SetUsername sets the Username field's value. -func (s *InputSourceRequest) SetUsername(v string) *InputSourceRequest { - s.Username = &v +// SetPcrPid sets the PcrPid field's value. +func (s *M3u8Settings) SetPcrPid(v string) *M3u8Settings { + s.PcrPid = &v return s } -type InputSpecification struct { - _ struct{} `type:"structure"` +// SetPmtInterval sets the PmtInterval field's value. +func (s *M3u8Settings) SetPmtInterval(v int64) *M3u8Settings { + s.PmtInterval = &v + return s +} - // Input codec - Codec *string `locationName:"codec" type:"string" enum:"InputCodec"` +// SetPmtPid sets the PmtPid field's value. +func (s *M3u8Settings) SetPmtPid(v string) *M3u8Settings { + s.PmtPid = &v + return s +} - // Maximum input bitrate, categorized coarsely - MaximumBitrate *string `locationName:"maximumBitrate" type:"string" enum:"InputMaximumBitrate"` +// SetProgramNum sets the ProgramNum field's value. +func (s *M3u8Settings) SetProgramNum(v int64) *M3u8Settings { + s.ProgramNum = &v + return s +} - // Input resolution, categorized coarsely - Resolution *string `locationName:"resolution" type:"string" enum:"InputResolution"` +// SetScte35Behavior sets the Scte35Behavior field's value. +func (s *M3u8Settings) SetScte35Behavior(v string) *M3u8Settings { + s.Scte35Behavior = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s InputSpecification) String() string { - return awsutil.Prettify(s) +// SetScte35Pid sets the Scte35Pid field's value. +func (s *M3u8Settings) SetScte35Pid(v string) *M3u8Settings { + s.Scte35Pid = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s InputSpecification) GoString() string { - return s.String() +// SetTimedMetadataBehavior sets the TimedMetadataBehavior field's value. +func (s *M3u8Settings) SetTimedMetadataBehavior(v string) *M3u8Settings { + s.TimedMetadataBehavior = &v + return s } -// SetCodec sets the Codec field's value. -func (s *InputSpecification) SetCodec(v string) *InputSpecification { - s.Codec = &v +// SetTimedMetadataPid sets the TimedMetadataPid field's value. +func (s *M3u8Settings) SetTimedMetadataPid(v string) *M3u8Settings { + s.TimedMetadataPid = &v return s } -// SetMaximumBitrate sets the MaximumBitrate field's value. -func (s *InputSpecification) SetMaximumBitrate(v string) *InputSpecification { - s.MaximumBitrate = &v +// SetTransportStreamId sets the TransportStreamId field's value. +func (s *M3u8Settings) SetTransportStreamId(v int64) *M3u8Settings { + s.TransportStreamId = &v return s } -// SetResolution sets the Resolution field's value. -func (s *InputSpecification) SetResolution(v string) *InputSpecification { - s.Resolution = &v +// SetVideoPid sets the VideoPid field's value. +func (s *M3u8Settings) SetVideoPid(v string) *M3u8Settings { + s.VideoPid = &v return s } -// Settings for the "switch input" action: to switch from ingesting one input -// to ingesting another input. -type InputSwitchScheduleActionSettings struct { +type MaintenanceCreateSettings struct { _ struct{} `type:"structure"` - // The name of the input attachment (not the name of the input!) to switch to. - // The name is specified in the channel configuration. - // - // InputAttachmentNameReference is a required field - InputAttachmentNameReference *string `locationName:"inputAttachmentNameReference" type:"string" required:"true"` - - // Settings to let you create a clip of the file input, in order to set up the - // input to ingest only a portion of the file. - InputClippingSettings *InputClippingSettings `locationName:"inputClippingSettings" type:"structure"` + // Choose one day of the week for maintenance. The chosen day is used for all + // future maintenance windows. + MaintenanceDay *string `locationName:"maintenanceDay" type:"string" enum:"MaintenanceDay"` - // The value for the variable portion of the URL for the dynamic input, for - // this instance of the input. Each time you use the same dynamic input in an - // input switch action, you can provide a different value, in order to connect - // the input to a different content source. - UrlPath []*string `locationName:"urlPath" type:"list"` + // Choose the hour that maintenance will start. The chosen time is used for + // all future maintenance windows. + MaintenanceStartTime *string `locationName:"maintenanceStartTime" type:"string"` } // String returns the string representation. @@ -21984,7 +30202,7 @@ type InputSwitchScheduleActionSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputSwitchScheduleActionSettings) String() string { +func (s MaintenanceCreateSettings) String() string { return awsutil.Prettify(s) } @@ -21993,63 +30211,37 @@ func (s InputSwitchScheduleActionSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputSwitchScheduleActionSettings) GoString() string { +func (s MaintenanceCreateSettings) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *InputSwitchScheduleActionSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "InputSwitchScheduleActionSettings"} - if s.InputAttachmentNameReference == nil { - invalidParams.Add(request.NewErrParamRequired("InputAttachmentNameReference")) - } - if s.InputClippingSettings != nil { - if err := s.InputClippingSettings.Validate(); err != nil { - invalidParams.AddNested("InputClippingSettings", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetInputAttachmentNameReference sets the InputAttachmentNameReference field's value. -func (s *InputSwitchScheduleActionSettings) SetInputAttachmentNameReference(v string) *InputSwitchScheduleActionSettings { - s.InputAttachmentNameReference = &v - return s -} - -// SetInputClippingSettings sets the InputClippingSettings field's value. -func (s *InputSwitchScheduleActionSettings) SetInputClippingSettings(v *InputClippingSettings) *InputSwitchScheduleActionSettings { - s.InputClippingSettings = v +// SetMaintenanceDay sets the MaintenanceDay field's value. +func (s *MaintenanceCreateSettings) SetMaintenanceDay(v string) *MaintenanceCreateSettings { + s.MaintenanceDay = &v return s } -// SetUrlPath sets the UrlPath field's value. -func (s *InputSwitchScheduleActionSettings) SetUrlPath(v []*string) *InputSwitchScheduleActionSettings { - s.UrlPath = v +// SetMaintenanceStartTime sets the MaintenanceStartTime field's value. +func (s *MaintenanceCreateSettings) SetMaintenanceStartTime(v string) *MaintenanceCreateSettings { + s.MaintenanceStartTime = &v return s } -// Settings for a private VPC Input.When this property is specified, the input -// destination addresses will be created in a VPC rather than with public Internet -// addresses.This property requires setting the roleArn property on Input creation.Not -// compatible with the inputSecurityGroups property. -type InputVpcRequest struct { +type MaintenanceStatus struct { _ struct{} `type:"structure"` - // A list of up to 5 EC2 VPC security group IDs to attach to the Input VPC network - // interfaces.Requires subnetIds. If none are specified then the VPC default - // security group will be used. - SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"` + // The currently selected maintenance day. + MaintenanceDay *string `locationName:"maintenanceDay" type:"string" enum:"MaintenanceDay"` - // A list of 2 VPC subnet IDs from the same VPC.Subnet IDs must be mapped to - // two unique availability zones (AZ). - // - // SubnetIds is a required field - SubnetIds []*string `locationName:"subnetIds" type:"list" required:"true"` + // Maintenance is required by the displayed date and time. Date and time is + // in ISO. + MaintenanceDeadline *string `locationName:"maintenanceDeadline" type:"string"` + + // The currently scheduled maintenance date and time. Date and time is in ISO. + MaintenanceScheduledDate *string `locationName:"maintenanceScheduledDate" type:"string"` + + // The currently selected maintenance start time. Time is in UTC. + MaintenanceStartTime *string `locationName:"maintenanceStartTime" type:"string"` } // String returns the string representation. @@ -22057,7 +30249,7 @@ type InputVpcRequest struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputVpcRequest) String() string { +func (s MaintenanceStatus) String() string { return awsutil.Prettify(s) } @@ -22066,41 +30258,48 @@ func (s InputVpcRequest) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputVpcRequest) GoString() string { +func (s MaintenanceStatus) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *InputVpcRequest) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "InputVpcRequest"} - if s.SubnetIds == nil { - invalidParams.Add(request.NewErrParamRequired("SubnetIds")) - } +// SetMaintenanceDay sets the MaintenanceDay field's value. +func (s *MaintenanceStatus) SetMaintenanceDay(v string) *MaintenanceStatus { + s.MaintenanceDay = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetMaintenanceDeadline sets the MaintenanceDeadline field's value. +func (s *MaintenanceStatus) SetMaintenanceDeadline(v string) *MaintenanceStatus { + s.MaintenanceDeadline = &v + return s } -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *InputVpcRequest) SetSecurityGroupIds(v []*string) *InputVpcRequest { - s.SecurityGroupIds = v +// SetMaintenanceScheduledDate sets the MaintenanceScheduledDate field's value. +func (s *MaintenanceStatus) SetMaintenanceScheduledDate(v string) *MaintenanceStatus { + s.MaintenanceScheduledDate = &v return s } -// SetSubnetIds sets the SubnetIds field's value. -func (s *InputVpcRequest) SetSubnetIds(v []*string) *InputVpcRequest { - s.SubnetIds = v +// SetMaintenanceStartTime sets the MaintenanceStartTime field's value. +func (s *MaintenanceStatus) SetMaintenanceStartTime(v string) *MaintenanceStatus { + s.MaintenanceStartTime = &v return s } -// Whitelist rule -type InputWhitelistRule struct { +type MaintenanceUpdateSettings struct { _ struct{} `type:"structure"` - // The IPv4 CIDR that's whitelisted. - Cidr *string `locationName:"cidr" type:"string"` + // Choose one day of the week for maintenance. The chosen day is used for all + // future maintenance windows. + MaintenanceDay *string `locationName:"maintenanceDay" type:"string" enum:"MaintenanceDay"` + + // Choose a specific date for maintenance to occur. The chosen date is used + // for the next maintenance window only. + MaintenanceScheduledDate *string `locationName:"maintenanceScheduledDate" type:"string"` + + // Choose the hour that maintenance will start. The chosen time is used for + // all future maintenance windows. + MaintenanceStartTime *string `locationName:"maintenanceStartTime" type:"string"` } // String returns the string representation. @@ -22108,7 +30307,7 @@ type InputWhitelistRule struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputWhitelistRule) String() string { +func (s MaintenanceUpdateSettings) String() string { return awsutil.Prettify(s) } @@ -22117,22 +30316,34 @@ func (s InputWhitelistRule) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputWhitelistRule) GoString() string { +func (s MaintenanceUpdateSettings) GoString() string { return s.String() } -// SetCidr sets the Cidr field's value. -func (s *InputWhitelistRule) SetCidr(v string) *InputWhitelistRule { - s.Cidr = &v +// SetMaintenanceDay sets the MaintenanceDay field's value. +func (s *MaintenanceUpdateSettings) SetMaintenanceDay(v string) *MaintenanceUpdateSettings { + s.MaintenanceDay = &v return s } -// An IPv4 CIDR to whitelist. -type InputWhitelistRuleCidr struct { +// SetMaintenanceScheduledDate sets the MaintenanceScheduledDate field's value. +func (s *MaintenanceUpdateSettings) SetMaintenanceScheduledDate(v string) *MaintenanceUpdateSettings { + s.MaintenanceScheduledDate = &v + return s +} + +// SetMaintenanceStartTime sets the MaintenanceStartTime field's value. +func (s *MaintenanceUpdateSettings) SetMaintenanceStartTime(v string) *MaintenanceUpdateSettings { + s.MaintenanceStartTime = &v + return s +} + +// The settings for a MediaConnect Flow. +type MediaConnectFlow struct { _ struct{} `type:"structure"` - // The IPv4 CIDR to whitelist. - Cidr *string `locationName:"cidr" type:"string"` + // The unique ARN of the MediaConnect Flow being used as a source. + FlowArn *string `locationName:"flowArn" type:"string"` } // String returns the string representation. @@ -22140,7 +30351,7 @@ type InputWhitelistRuleCidr struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputWhitelistRuleCidr) String() string { +func (s MediaConnectFlow) String() string { return awsutil.Prettify(s) } @@ -22149,21 +30360,22 @@ func (s InputWhitelistRuleCidr) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InputWhitelistRuleCidr) GoString() string { +func (s MediaConnectFlow) GoString() string { return s.String() } -// SetCidr sets the Cidr field's value. -func (s *InputWhitelistRuleCidr) SetCidr(v string) *InputWhitelistRuleCidr { - s.Cidr = &v +// SetFlowArn sets the FlowArn field's value. +func (s *MediaConnectFlow) SetFlowArn(v string) *MediaConnectFlow { + s.FlowArn = &v return s } -type InternalServerErrorException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// The settings for a MediaConnect Flow. +type MediaConnectFlowRequest struct { + _ struct{} `type:"structure"` - Message_ *string `locationName:"message" type:"string"` + // The ARN of the MediaConnect Flow that you want to use as a source. + FlowArn *string `locationName:"flowArn" type:"string"` } // String returns the string representation. @@ -22171,7 +30383,7 @@ type InternalServerErrorException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InternalServerErrorException) String() string { +func (s MediaConnectFlowRequest) String() string { return awsutil.Prettify(s) } @@ -22180,54 +30392,24 @@ func (s InternalServerErrorException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InternalServerErrorException) GoString() string { +func (s MediaConnectFlowRequest) GoString() string { return s.String() } -func newErrorInternalServerErrorException(v protocol.ResponseMetadata) error { - return &InternalServerErrorException{ - RespMetadata: v, - } -} - -// Code returns the exception type name. -func (s *InternalServerErrorException) Code() string { - return "InternalServerErrorException" -} - -// Message returns the exception's message. -func (s *InternalServerErrorException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" -} - -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *InternalServerErrorException) OrigErr() error { - return nil -} - -func (s *InternalServerErrorException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) -} - -// Status code returns the HTTP status code for the request's response error. -func (s *InternalServerErrorException) StatusCode() int { - return s.RespMetadata.StatusCode -} - -// RequestID returns the service's response RequestID for request. -func (s *InternalServerErrorException) RequestID() string { - return s.RespMetadata.RequestID +// SetFlowArn sets the FlowArn field's value. +func (s *MediaConnectFlowRequest) SetFlowArn(v string) *MediaConnectFlowRequest { + s.FlowArn = &v + return s } -// Key Provider Settings -type KeyProviderSettings struct { +// Media Package Group Settings +type MediaPackageGroupSettings struct { _ struct{} `type:"structure"` - // Static Key Settings - StaticKeySettings *StaticKeySettings `locationName:"staticKeySettings" type:"structure"` + // MediaPackage channel destination. + // + // Destination is a required field + Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` } // String returns the string representation. @@ -22235,7 +30417,7 @@ type KeyProviderSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KeyProviderSettings) String() string { +func (s MediaPackageGroupSettings) String() string { return awsutil.Prettify(s) } @@ -22244,17 +30426,15 @@ func (s KeyProviderSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s KeyProviderSettings) GoString() string { +func (s MediaPackageGroupSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *KeyProviderSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "KeyProviderSettings"} - if s.StaticKeySettings != nil { - if err := s.StaticKeySettings.Validate(); err != nil { - invalidParams.AddNested("StaticKeySettings", err.(request.ErrInvalidParams)) - } +func (s *MediaPackageGroupSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MediaPackageGroupSettings"} + if s.Destination == nil { + invalidParams.Add(request.NewErrParamRequired("Destination")) } if invalidParams.Len() > 0 { @@ -22263,18 +30443,22 @@ func (s *KeyProviderSettings) Validate() error { return nil } -// SetStaticKeySettings sets the StaticKeySettings field's value. -func (s *KeyProviderSettings) SetStaticKeySettings(v *StaticKeySettings) *KeyProviderSettings { - s.StaticKeySettings = v +// SetDestination sets the Destination field's value. +func (s *MediaPackageGroupSettings) SetDestination(v *OutputLocationRef) *MediaPackageGroupSettings { + s.Destination = v return s } -type ListChannelsInput struct { - _ struct{} `type:"structure" nopayload:"true"` - - MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` +// MediaPackage Output Destination Settings +type MediaPackageOutputDestinationSettings struct { + _ struct{} `type:"structure"` - NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + // ID of the channel in MediaPackage that is the destination for this output + // group. You do not need to specify the individual inputs in MediaPackage; + // MediaLive will handle the connection of the two MediaLive pipelines to the + // two MediaPackage inputs. The MediaPackage channel and MediaLive channel must + // be in the same region. + ChannelId *string `locationName:"channelId" min:"1" type:"string"` } // String returns the string representation. @@ -22282,7 +30466,7 @@ type ListChannelsInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListChannelsInput) String() string { +func (s MediaPackageOutputDestinationSettings) String() string { return awsutil.Prettify(s) } @@ -22291,15 +30475,15 @@ func (s ListChannelsInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListChannelsInput) GoString() string { +func (s MediaPackageOutputDestinationSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListChannelsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListChannelsInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) +func (s *MediaPackageOutputDestinationSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MediaPackageOutputDestinationSettings"} + if s.ChannelId != nil && len(*s.ChannelId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) } if invalidParams.Len() > 0 { @@ -22308,24 +30492,15 @@ func (s *ListChannelsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListChannelsInput) SetMaxResults(v int64) *ListChannelsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListChannelsInput) SetNextToken(v string) *ListChannelsInput { - s.NextToken = &v +// SetChannelId sets the ChannelId field's value. +func (s *MediaPackageOutputDestinationSettings) SetChannelId(v string) *MediaPackageOutputDestinationSettings { + s.ChannelId = &v return s } -type ListChannelsOutput struct { +// Media Package Output Settings +type MediaPackageOutputSettings struct { _ struct{} `type:"structure"` - - Channels []*ChannelSummary `locationName:"channels" type:"list"` - - NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -22333,7 +30508,7 @@ type ListChannelsOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListChannelsOutput) String() string { +func (s MediaPackageOutputSettings) String() string { return awsutil.Prettify(s) } @@ -22342,31 +30517,20 @@ func (s ListChannelsOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListChannelsOutput) GoString() string { +func (s MediaPackageOutputSettings) GoString() string { return s.String() } -// SetChannels sets the Channels field's value. -func (s *ListChannelsOutput) SetChannels(v []*ChannelSummary) *ListChannelsOutput { - s.Channels = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListChannelsOutput) SetNextToken(v string) *ListChannelsOutput { - s.NextToken = &v - return s -} - -type ListInputDeviceTransfersInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// An AWS resource used in media workflows. +type MediaResource struct { + _ struct{} `type:"structure"` - MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + Destinations []*MediaResourceNeighbor `locationName:"destinations" type:"list"` - NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + // The logical name of an AWS media resource. + Name *string `locationName:"name" min:"1" type:"string"` - // TransferType is a required field - TransferType *string `location:"querystring" locationName:"transferType" type:"string" required:"true"` + Sources []*MediaResourceNeighbor `locationName:"sources" type:"list"` } // String returns the string representation. @@ -22374,7 +30538,7 @@ type ListInputDeviceTransfersInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInputDeviceTransfersInput) String() string { +func (s MediaResource) String() string { return awsutil.Prettify(s) } @@ -22383,50 +30547,39 @@ func (s ListInputDeviceTransfersInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInputDeviceTransfersInput) GoString() string { +func (s MediaResource) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ListInputDeviceTransfersInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListInputDeviceTransfersInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - if s.TransferType == nil { - invalidParams.Add(request.NewErrParamRequired("TransferType")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListInputDeviceTransfersInput) SetMaxResults(v int64) *ListInputDeviceTransfersInput { - s.MaxResults = &v +// SetDestinations sets the Destinations field's value. +func (s *MediaResource) SetDestinations(v []*MediaResourceNeighbor) *MediaResource { + s.Destinations = v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListInputDeviceTransfersInput) SetNextToken(v string) *ListInputDeviceTransfersInput { - s.NextToken = &v +// SetName sets the Name field's value. +func (s *MediaResource) SetName(v string) *MediaResource { + s.Name = &v return s } -// SetTransferType sets the TransferType field's value. -func (s *ListInputDeviceTransfersInput) SetTransferType(v string) *ListInputDeviceTransfersInput { - s.TransferType = &v +// SetSources sets the Sources field's value. +func (s *MediaResource) SetSources(v []*MediaResourceNeighbor) *MediaResource { + s.Sources = v return s } -type ListInputDeviceTransfersOutput struct { +// A direct source or destination neighbor to an AWS media resource. +type MediaResourceNeighbor struct { _ struct{} `type:"structure"` - InputDeviceTransfers []*TransferringInputDeviceSummary `locationName:"inputDeviceTransfers" type:"list"` + // The ARN of a resource used in AWS media workflows. + // + // Arn is a required field + Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` - NextToken *string `locationName:"nextToken" type:"string"` + // The logical name of an AWS media resource. + Name *string `locationName:"name" min:"1" type:"string"` } // String returns the string representation. @@ -22434,7 +30587,7 @@ type ListInputDeviceTransfersOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInputDeviceTransfersOutput) String() string { +func (s MediaResourceNeighbor) String() string { return awsutil.Prettify(s) } @@ -22443,28 +30596,36 @@ func (s ListInputDeviceTransfersOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInputDeviceTransfersOutput) GoString() string { +func (s MediaResourceNeighbor) GoString() string { return s.String() } -// SetInputDeviceTransfers sets the InputDeviceTransfers field's value. -func (s *ListInputDeviceTransfersOutput) SetInputDeviceTransfers(v []*TransferringInputDeviceSummary) *ListInputDeviceTransfersOutput { - s.InputDeviceTransfers = v +// SetArn sets the Arn field's value. +func (s *MediaResourceNeighbor) SetArn(v string) *MediaResourceNeighbor { + s.Arn = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListInputDeviceTransfersOutput) SetNextToken(v string) *ListInputDeviceTransfersOutput { - s.NextToken = &v +// SetName sets the Name field's value. +func (s *MediaResourceNeighbor) SetName(v string) *MediaResourceNeighbor { + s.Name = &v return s } -type ListInputDevicesInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// Represents the latest monitor deployment of a signal map. +type MonitorDeployment struct { + _ struct{} `type:"structure"` - MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + // URI associated with a signal map's monitor deployment. + DetailsUri *string `locationName:"detailsUri" min:"1" type:"string"` - NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + // Error message associated with a failed monitor deployment of a signal map. + ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string"` + + // A signal map's monitor deployment status. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"SignalMapMonitorDeploymentStatus"` } // String returns the string representation. @@ -22472,7 +30633,7 @@ type ListInputDevicesInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInputDevicesInput) String() string { +func (s MonitorDeployment) String() string { return awsutil.Prettify(s) } @@ -22481,41 +30642,47 @@ func (s ListInputDevicesInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInputDevicesInput) GoString() string { +func (s MonitorDeployment) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ListInputDevicesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListInputDevicesInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetDetailsUri sets the DetailsUri field's value. +func (s *MonitorDeployment) SetDetailsUri(v string) *MonitorDeployment { + s.DetailsUri = &v + return s } -// SetMaxResults sets the MaxResults field's value. -func (s *ListInputDevicesInput) SetMaxResults(v int64) *ListInputDevicesInput { - s.MaxResults = &v +// SetErrorMessage sets the ErrorMessage field's value. +func (s *MonitorDeployment) SetErrorMessage(v string) *MonitorDeployment { + s.ErrorMessage = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListInputDevicesInput) SetNextToken(v string) *ListInputDevicesInput { - s.NextToken = &v +// SetStatus sets the Status field's value. +func (s *MonitorDeployment) SetStatus(v string) *MonitorDeployment { + s.Status = &v return s } -type ListInputDevicesOutput struct { +// Settings to specify the rendering of motion graphics into the video stream. +type MotionGraphicsActivateScheduleActionSettings struct { _ struct{} `type:"structure"` - InputDevices []*InputDeviceSummary `locationName:"inputDevices" type:"list"` + // Duration (in milliseconds) that motion graphics should render on to the video + // stream. Leaving out this property or setting to 0 will result in rendering + // continuing until a deactivate action is processed. + Duration *int64 `locationName:"duration" type:"long"` - NextToken *string `locationName:"nextToken" type:"string"` + // Key used to extract the password from EC2 Parameter store + PasswordParam *string `locationName:"passwordParam" type:"string"` + + // URI of the HTML5 content to be rendered into the live stream. + Url *string `locationName:"url" type:"string"` + + // Username if credentials are required to access a file. This must be a reference + // to an AWS parameter store name from which the password can be retrieved. + // AWS Parameter store format: \"ssm://\" + Username *string `locationName:"username" type:"string"` } // String returns the string representation. @@ -22523,7 +30690,7 @@ type ListInputDevicesOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInputDevicesOutput) String() string { +func (s MotionGraphicsActivateScheduleActionSettings) String() string { return awsutil.Prettify(s) } @@ -22532,28 +30699,45 @@ func (s ListInputDevicesOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInputDevicesOutput) GoString() string { +func (s MotionGraphicsActivateScheduleActionSettings) GoString() string { return s.String() } -// SetInputDevices sets the InputDevices field's value. -func (s *ListInputDevicesOutput) SetInputDevices(v []*InputDeviceSummary) *ListInputDevicesOutput { - s.InputDevices = v +// SetDuration sets the Duration field's value. +func (s *MotionGraphicsActivateScheduleActionSettings) SetDuration(v int64) *MotionGraphicsActivateScheduleActionSettings { + s.Duration = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListInputDevicesOutput) SetNextToken(v string) *ListInputDevicesOutput { - s.NextToken = &v +// SetPasswordParam sets the PasswordParam field's value. +func (s *MotionGraphicsActivateScheduleActionSettings) SetPasswordParam(v string) *MotionGraphicsActivateScheduleActionSettings { + s.PasswordParam = &v return s } -type ListInputSecurityGroupsInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetUrl sets the Url field's value. +func (s *MotionGraphicsActivateScheduleActionSettings) SetUrl(v string) *MotionGraphicsActivateScheduleActionSettings { + s.Url = &v + return s +} - MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` +// SetUsername sets the Username field's value. +func (s *MotionGraphicsActivateScheduleActionSettings) SetUsername(v string) *MotionGraphicsActivateScheduleActionSettings { + s.Username = &v + return s +} - NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +// Motion Graphics Configuration +type MotionGraphicsConfiguration struct { + _ struct{} `type:"structure"` + + // Motion Graphics Insertion + MotionGraphicsInsertion *string `locationName:"motionGraphicsInsertion" type:"string" enum:"MotionGraphicsInsertion"` + + // Motion Graphics Settings + // + // MotionGraphicsSettings is a required field + MotionGraphicsSettings *MotionGraphicsSettings `locationName:"motionGraphicsSettings" type:"structure" required:"true"` } // String returns the string representation. @@ -22561,7 +30745,7 @@ type ListInputSecurityGroupsInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInputSecurityGroupsInput) String() string { +func (s MotionGraphicsConfiguration) String() string { return awsutil.Prettify(s) } @@ -22570,15 +30754,15 @@ func (s ListInputSecurityGroupsInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInputSecurityGroupsInput) GoString() string { +func (s MotionGraphicsConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListInputSecurityGroupsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListInputSecurityGroupsInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) +func (s *MotionGraphicsConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MotionGraphicsConfiguration"} + if s.MotionGraphicsSettings == nil { + invalidParams.Add(request.NewErrParamRequired("MotionGraphicsSettings")) } if invalidParams.Len() > 0 { @@ -22587,24 +30771,48 @@ func (s *ListInputSecurityGroupsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListInputSecurityGroupsInput) SetMaxResults(v int64) *ListInputSecurityGroupsInput { - s.MaxResults = &v +// SetMotionGraphicsInsertion sets the MotionGraphicsInsertion field's value. +func (s *MotionGraphicsConfiguration) SetMotionGraphicsInsertion(v string) *MotionGraphicsConfiguration { + s.MotionGraphicsInsertion = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListInputSecurityGroupsInput) SetNextToken(v string) *ListInputSecurityGroupsInput { - s.NextToken = &v +// SetMotionGraphicsSettings sets the MotionGraphicsSettings field's value. +func (s *MotionGraphicsConfiguration) SetMotionGraphicsSettings(v *MotionGraphicsSettings) *MotionGraphicsConfiguration { + s.MotionGraphicsSettings = v return s } -type ListInputSecurityGroupsOutput struct { +// Settings to specify the ending of rendering motion graphics into the video +// stream. +type MotionGraphicsDeactivateScheduleActionSettings struct { _ struct{} `type:"structure"` +} - InputSecurityGroups []*InputSecurityGroup `locationName:"inputSecurityGroups" type:"list"` +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MotionGraphicsDeactivateScheduleActionSettings) String() string { + return awsutil.Prettify(s) +} - NextToken *string `locationName:"nextToken" type:"string"` +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MotionGraphicsDeactivateScheduleActionSettings) GoString() string { + return s.String() +} + +// Motion Graphics Settings +type MotionGraphicsSettings struct { + _ struct{} `type:"structure"` + + // Html Motion Graphics Settings + HtmlMotionGraphicsSettings *HtmlMotionGraphicsSettings `locationName:"htmlMotionGraphicsSettings" type:"structure"` } // String returns the string representation. @@ -22612,7 +30820,7 @@ type ListInputSecurityGroupsOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInputSecurityGroupsOutput) String() string { +func (s MotionGraphicsSettings) String() string { return awsutil.Prettify(s) } @@ -22621,28 +30829,29 @@ func (s ListInputSecurityGroupsOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInputSecurityGroupsOutput) GoString() string { +func (s MotionGraphicsSettings) GoString() string { return s.String() } -// SetInputSecurityGroups sets the InputSecurityGroups field's value. -func (s *ListInputSecurityGroupsOutput) SetInputSecurityGroups(v []*InputSecurityGroup) *ListInputSecurityGroupsOutput { - s.InputSecurityGroups = v +// SetHtmlMotionGraphicsSettings sets the HtmlMotionGraphicsSettings field's value. +func (s *MotionGraphicsSettings) SetHtmlMotionGraphicsSettings(v *HtmlMotionGraphicsSettings) *MotionGraphicsSettings { + s.HtmlMotionGraphicsSettings = v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListInputSecurityGroupsOutput) SetNextToken(v string) *ListInputSecurityGroupsOutput { - s.NextToken = &v - return s -} +// Mp2 Settings +type Mp2Settings struct { + _ struct{} `type:"structure"` -type ListInputsInput struct { - _ struct{} `type:"structure" nopayload:"true"` + // Average bitrate in bits/second. + Bitrate *float64 `locationName:"bitrate" type:"double"` - MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + // The MPEG2 Audio coding mode. Valid values are codingMode10 (for mono) or + // codingMode20 (for stereo). + CodingMode *string `locationName:"codingMode" type:"string" enum:"Mp2CodingMode"` - NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + // Sample rate in Hz. + SampleRate *float64 `locationName:"sampleRate" type:"double"` } // String returns the string representation. @@ -22650,7 +30859,7 @@ type ListInputsInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInputsInput) String() string { +func (s Mp2Settings) String() string { return awsutil.Prettify(s) } @@ -22659,41 +30868,34 @@ func (s ListInputsInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInputsInput) GoString() string { +func (s Mp2Settings) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ListInputsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListInputsInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetBitrate sets the Bitrate field's value. +func (s *Mp2Settings) SetBitrate(v float64) *Mp2Settings { + s.Bitrate = &v + return s } -// SetMaxResults sets the MaxResults field's value. -func (s *ListInputsInput) SetMaxResults(v int64) *ListInputsInput { - s.MaxResults = &v +// SetCodingMode sets the CodingMode field's value. +func (s *Mp2Settings) SetCodingMode(v string) *Mp2Settings { + s.CodingMode = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListInputsInput) SetNextToken(v string) *ListInputsInput { - s.NextToken = &v +// SetSampleRate sets the SampleRate field's value. +func (s *Mp2Settings) SetSampleRate(v float64) *Mp2Settings { + s.SampleRate = &v return s } -type ListInputsOutput struct { +// Mpeg2 Filter Settings +type Mpeg2FilterSettings struct { _ struct{} `type:"structure"` - Inputs []*Input `locationName:"inputs" type:"list"` - - NextToken *string `locationName:"nextToken" type:"string"` + // Temporal Filter Settings + TemporalFilterSettings *TemporalFilterSettings `locationName:"temporalFilterSettings" type:"structure"` } // String returns the string representation. @@ -22701,7 +30903,7 @@ type ListInputsOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInputsOutput) String() string { +func (s Mpeg2FilterSettings) String() string { return awsutil.Prettify(s) } @@ -22710,31 +30912,115 @@ func (s ListInputsOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInputsOutput) GoString() string { +func (s Mpeg2FilterSettings) GoString() string { return s.String() } -// SetInputs sets the Inputs field's value. -func (s *ListInputsOutput) SetInputs(v []*Input) *ListInputsOutput { - s.Inputs = v +// SetTemporalFilterSettings sets the TemporalFilterSettings field's value. +func (s *Mpeg2FilterSettings) SetTemporalFilterSettings(v *TemporalFilterSettings) *Mpeg2FilterSettings { + s.TemporalFilterSettings = v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListInputsOutput) SetNextToken(v string) *ListInputsOutput { - s.NextToken = &v - return s -} +// Mpeg2 Settings +type Mpeg2Settings struct { + _ struct{} `type:"structure"` + + // Choose Off to disable adaptive quantization. Or choose another value to enable + // the quantizer and set its strength. The strengths are: Auto, Off, Low, Medium, + // High. When you enable this field, MediaLive allows intra-frame quantizers + // to vary, which might improve visual quality. + AdaptiveQuantization *string `locationName:"adaptiveQuantization" type:"string" enum:"Mpeg2AdaptiveQuantization"` + + // Indicates the AFD values that MediaLive will write into the video encode. + // If you do not know what AFD signaling is, or if your downstream system has + // not given you guidance, choose AUTO.AUTO: MediaLive will try to preserve + // the input AFD value (in cases where multiple AFD values are valid).FIXED: + // MediaLive will use the value you specify in fixedAFD. + AfdSignaling *string `locationName:"afdSignaling" type:"string" enum:"AfdSignaling"` + + // Specifies whether to include the color space metadata. The metadata describes + // the color space that applies to the video (the colorSpace field). We recommend + // that you insert the metadata. + ColorMetadata *string `locationName:"colorMetadata" type:"string" enum:"Mpeg2ColorMetadata"` + + // Choose the type of color space conversion to apply to the output. For detailed + // information on setting up both the input and the output to obtain the desired + // color space in the output, see the section on \"MediaLive Features - Video + // - color space\" in the MediaLive User Guide.PASSTHROUGH: Keep the color space + // of the input content - do not convert it.AUTO:Convert all content that is + // SD to rec 601, and convert all content that is HD to rec 709. + ColorSpace *string `locationName:"colorSpace" type:"string" enum:"Mpeg2ColorSpace"` + + // Sets the pixel aspect ratio for the encode. + DisplayAspectRatio *string `locationName:"displayAspectRatio" type:"string" enum:"Mpeg2DisplayRatio"` + + // Optionally specify a noise reduction filter, which can improve quality of + // compressed content. If you do not choose a filter, no filter will be applied.TEMPORAL: + // This filter is useful for both source content that is noisy (when it has + // excessive digital artifacts) and source content that is clean.When the content + // is noisy, the filter cleans up the source content before the encoding phase, + // with these two effects: First, it improves the output video quality because + // the content has been cleaned up. Secondly, it decreases the bandwidth because + // MediaLive does not waste bits on encoding noise.When the content is reasonably + // clean, the filter tends to decrease the bitrate. + FilterSettings *Mpeg2FilterSettings `locationName:"filterSettings" type:"structure"` + + // Complete this field only when afdSignaling is set to FIXED. Enter the AFD + // value (4 bits) to write on all frames of the video encode. + FixedAfd *string `locationName:"fixedAfd" type:"string" enum:"FixedAfd"` + + // description": "The framerate denominator. For example, 1001. The framerate + // is the numerator divided by the denominator. For example, 24000 / 1001 = + // 23.976 FPS. + // + // FramerateDenominator is a required field + FramerateDenominator *int64 `locationName:"framerateDenominator" min:"1" type:"integer" required:"true"` + + // The framerate numerator. For example, 24000. The framerate is the numerator + // divided by the denominator. For example, 24000 / 1001 = 23.976 FPS. + // + // FramerateNumerator is a required field + FramerateNumerator *int64 `locationName:"framerateNumerator" min:"1" type:"integer" required:"true"` + + // MPEG2: default is open GOP. + GopClosedCadence *int64 `locationName:"gopClosedCadence" type:"integer"` + + // Relates to the GOP structure. The number of B-frames between reference frames. + // If you do not know what a B-frame is, use the default. + GopNumBFrames *int64 `locationName:"gopNumBFrames" type:"integer"` + + // Relates to the GOP structure. The GOP size (keyframe interval) in the units + // specified in gopSizeUnits. If you do not know what GOP is, use the default.If + // gopSizeUnits is frames, then the gopSize must be an integer and must be greater + // than or equal to 1.If gopSizeUnits is seconds, the gopSize must be greater + // than 0, but does not need to be an integer. + GopSize *float64 `locationName:"gopSize" type:"double"` -type ListMultiplexProgramsInput struct { - _ struct{} `type:"structure" nopayload:"true"` + // Relates to the GOP structure. Specifies whether the gopSize is specified + // in frames or seconds. If you do not plan to change the default gopSize, leave + // the default. If you specify SECONDS, MediaLive will internally convert the + // gop size to a frame count. + GopSizeUnits *string `locationName:"gopSizeUnits" type:"string" enum:"Mpeg2GopSizeUnits"` - MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + // Set the scan type of the output to PROGRESSIVE or INTERLACED (top field first). + ScanType *string `locationName:"scanType" type:"string" enum:"Mpeg2ScanType"` - // MultiplexId is a required field - MultiplexId *string `location:"uri" locationName:"multiplexId" type:"string" required:"true"` + // Relates to the GOP structure. If you do not know what GOP is, use the default.FIXED: + // Set the number of B-frames in each sub-GOP to the value in gopNumBFrames.DYNAMIC: + // Let MediaLive optimize the number of B-frames in each sub-GOP, to improve + // visual quality. + SubgopLength *string `locationName:"subgopLength" type:"string" enum:"Mpeg2SubGopLength"` - NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + // Timecode burn-in settings + TimecodeBurninSettings *TimecodeBurninSettings `locationName:"timecodeBurninSettings" type:"structure"` + + // Determines how MediaLive inserts timecodes in the output video. For detailed + // information about setting up the input and the output for a timecode, see + // the section on \"MediaLive Features - Timecode configuration\" in the MediaLive + // User Guide.DISABLED: do not include timecodes.GOP_TIMECODE: Include timecode + // metadata in the GOP header. + TimecodeInsertion *string `locationName:"timecodeInsertion" type:"string" enum:"Mpeg2TimecodeInsertionBehavior"` } // String returns the string representation. @@ -22742,7 +31028,7 @@ type ListMultiplexProgramsInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListMultiplexProgramsInput) String() string { +func (s Mpeg2Settings) String() string { return awsutil.Prettify(s) } @@ -22751,21 +31037,29 @@ func (s ListMultiplexProgramsInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListMultiplexProgramsInput) GoString() string { +func (s Mpeg2Settings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListMultiplexProgramsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListMultiplexProgramsInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) +func (s *Mpeg2Settings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Mpeg2Settings"} + if s.FramerateDenominator == nil { + invalidParams.Add(request.NewErrParamRequired("FramerateDenominator")) } - if s.MultiplexId == nil { - invalidParams.Add(request.NewErrParamRequired("MultiplexId")) + if s.FramerateDenominator != nil && *s.FramerateDenominator < 1 { + invalidParams.Add(request.NewErrParamMinValue("FramerateDenominator", 1)) } - if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) + if s.FramerateNumerator == nil { + invalidParams.Add(request.NewErrParamRequired("FramerateNumerator")) + } + if s.FramerateNumerator != nil && *s.FramerateNumerator < 1 { + invalidParams.Add(request.NewErrParamMinValue("FramerateNumerator", 1)) + } + if s.TimecodeBurninSettings != nil { + if err := s.TimecodeBurninSettings.Validate(); err != nil { + invalidParams.AddNested("TimecodeBurninSettings", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -22774,177 +31068,196 @@ func (s *ListMultiplexProgramsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListMultiplexProgramsInput) SetMaxResults(v int64) *ListMultiplexProgramsInput { - s.MaxResults = &v +// SetAdaptiveQuantization sets the AdaptiveQuantization field's value. +func (s *Mpeg2Settings) SetAdaptiveQuantization(v string) *Mpeg2Settings { + s.AdaptiveQuantization = &v return s } -// SetMultiplexId sets the MultiplexId field's value. -func (s *ListMultiplexProgramsInput) SetMultiplexId(v string) *ListMultiplexProgramsInput { - s.MultiplexId = &v +// SetAfdSignaling sets the AfdSignaling field's value. +func (s *Mpeg2Settings) SetAfdSignaling(v string) *Mpeg2Settings { + s.AfdSignaling = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListMultiplexProgramsInput) SetNextToken(v string) *ListMultiplexProgramsInput { - s.NextToken = &v +// SetColorMetadata sets the ColorMetadata field's value. +func (s *Mpeg2Settings) SetColorMetadata(v string) *Mpeg2Settings { + s.ColorMetadata = &v return s } -type ListMultiplexProgramsOutput struct { - _ struct{} `type:"structure"` - - MultiplexPrograms []*MultiplexProgramSummary `locationName:"multiplexPrograms" type:"list"` - - NextToken *string `locationName:"nextToken" type:"string"` +// SetColorSpace sets the ColorSpace field's value. +func (s *Mpeg2Settings) SetColorSpace(v string) *Mpeg2Settings { + s.ColorSpace = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ListMultiplexProgramsOutput) String() string { - return awsutil.Prettify(s) +// SetDisplayAspectRatio sets the DisplayAspectRatio field's value. +func (s *Mpeg2Settings) SetDisplayAspectRatio(v string) *Mpeg2Settings { + s.DisplayAspectRatio = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ListMultiplexProgramsOutput) GoString() string { - return s.String() +// SetFilterSettings sets the FilterSettings field's value. +func (s *Mpeg2Settings) SetFilterSettings(v *Mpeg2FilterSettings) *Mpeg2Settings { + s.FilterSettings = v + return s } -// SetMultiplexPrograms sets the MultiplexPrograms field's value. -func (s *ListMultiplexProgramsOutput) SetMultiplexPrograms(v []*MultiplexProgramSummary) *ListMultiplexProgramsOutput { - s.MultiplexPrograms = v +// SetFixedAfd sets the FixedAfd field's value. +func (s *Mpeg2Settings) SetFixedAfd(v string) *Mpeg2Settings { + s.FixedAfd = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListMultiplexProgramsOutput) SetNextToken(v string) *ListMultiplexProgramsOutput { - s.NextToken = &v +// SetFramerateDenominator sets the FramerateDenominator field's value. +func (s *Mpeg2Settings) SetFramerateDenominator(v int64) *Mpeg2Settings { + s.FramerateDenominator = &v return s } -type ListMultiplexesInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetFramerateNumerator sets the FramerateNumerator field's value. +func (s *Mpeg2Settings) SetFramerateNumerator(v int64) *Mpeg2Settings { + s.FramerateNumerator = &v + return s +} - MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` +// SetGopClosedCadence sets the GopClosedCadence field's value. +func (s *Mpeg2Settings) SetGopClosedCadence(v int64) *Mpeg2Settings { + s.GopClosedCadence = &v + return s +} - NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +// SetGopNumBFrames sets the GopNumBFrames field's value. +func (s *Mpeg2Settings) SetGopNumBFrames(v int64) *Mpeg2Settings { + s.GopNumBFrames = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ListMultiplexesInput) String() string { - return awsutil.Prettify(s) +// SetGopSize sets the GopSize field's value. +func (s *Mpeg2Settings) SetGopSize(v float64) *Mpeg2Settings { + s.GopSize = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ListMultiplexesInput) GoString() string { - return s.String() +// SetGopSizeUnits sets the GopSizeUnits field's value. +func (s *Mpeg2Settings) SetGopSizeUnits(v string) *Mpeg2Settings { + s.GopSizeUnits = &v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ListMultiplexesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListMultiplexesInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } +// SetScanType sets the ScanType field's value. +func (s *Mpeg2Settings) SetScanType(v string) *Mpeg2Settings { + s.ScanType = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetSubgopLength sets the SubgopLength field's value. +func (s *Mpeg2Settings) SetSubgopLength(v string) *Mpeg2Settings { + s.SubgopLength = &v + return s } -// SetMaxResults sets the MaxResults field's value. -func (s *ListMultiplexesInput) SetMaxResults(v int64) *ListMultiplexesInput { - s.MaxResults = &v +// SetTimecodeBurninSettings sets the TimecodeBurninSettings field's value. +func (s *Mpeg2Settings) SetTimecodeBurninSettings(v *TimecodeBurninSettings) *Mpeg2Settings { + s.TimecodeBurninSettings = v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListMultiplexesInput) SetNextToken(v string) *ListMultiplexesInput { - s.NextToken = &v +// SetTimecodeInsertion sets the TimecodeInsertion field's value. +func (s *Mpeg2Settings) SetTimecodeInsertion(v string) *Mpeg2Settings { + s.TimecodeInsertion = &v return s } -type ListMultiplexesOutput struct { +// Ms Smooth Group Settings +type MsSmoothGroupSettings struct { _ struct{} `type:"structure"` - Multiplexes []*MultiplexSummary `locationName:"multiplexes" type:"list"` + // The ID to include in each message in the sparse track. Ignored if sparseTrackType + // is NONE. + AcquisitionPointId *string `locationName:"acquisitionPointId" type:"string"` - NextToken *string `locationName:"nextToken" type:"string"` -} + // If set to passthrough for an audio-only MS Smooth output, the fragment absolute + // time will be set to the current timecode. This option does not write timecodes + // to the audio elementary stream. + AudioOnlyTimecodeControl *string `locationName:"audioOnlyTimecodeControl" type:"string" enum:"SmoothGroupAudioOnlyTimecodeControl"` -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ListMultiplexesOutput) String() string { - return awsutil.Prettify(s) -} + // If set to verifyAuthenticity, verify the https certificate chain to a trusted + // Certificate Authority (CA). This will cause https outputs to self-signed + // certificates to fail. + CertificateMode *string `locationName:"certificateMode" type:"string" enum:"SmoothGroupCertificateMode"` -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ListMultiplexesOutput) GoString() string { - return s.String() -} + // Number of seconds to wait before retrying connection to the IIS server if + // the connection is lost. Content will be cached during this time and the cache + // will be be delivered to the IIS server once the connection is re-established. + ConnectionRetryInterval *int64 `locationName:"connectionRetryInterval" type:"integer"` -// SetMultiplexes sets the Multiplexes field's value. -func (s *ListMultiplexesOutput) SetMultiplexes(v []*MultiplexSummary) *ListMultiplexesOutput { - s.Multiplexes = v - return s -} + // Smooth Streaming publish point on an IIS server. Elemental Live acts as a + // "Push" encoder to IIS. + // + // Destination is a required field + Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` -// SetNextToken sets the NextToken field's value. -func (s *ListMultiplexesOutput) SetNextToken(v string) *ListMultiplexesOutput { - s.NextToken = &v - return s -} + // MS Smooth event ID to be sent to the IIS server.Should only be specified + // if eventIdMode is set to useConfigured. + EventId *string `locationName:"eventId" type:"string"` -type ListOfferingsInput struct { - _ struct{} `type:"structure" nopayload:"true"` + // Specifies whether or not to send an event ID to the IIS server. If no event + // ID is sent and the same Live Event is used without changing the publishing + // point, clients might see cached video from the previous run.Options:- "useConfigured" + // - use the value provided in eventId- "useTimestamp" - generate and send an + // event ID based on the current timestamp- "noEventId" - do not send an event + // ID to the IIS server. + EventIdMode *string `locationName:"eventIdMode" type:"string" enum:"SmoothGroupEventIdMode"` - ChannelClass *string `location:"querystring" locationName:"channelClass" type:"string"` + // When set to sendEos, send EOS signal to IIS server when stopping the event + EventStopBehavior *string `locationName:"eventStopBehavior" type:"string" enum:"SmoothGroupEventStopBehavior"` - ChannelConfiguration *string `location:"querystring" locationName:"channelConfiguration" type:"string"` + // Size in seconds of file cache for streaming outputs. + FilecacheDuration *int64 `locationName:"filecacheDuration" type:"integer"` - Codec *string `location:"querystring" locationName:"codec" type:"string"` + // Length of mp4 fragments to generate (in seconds). Fragment length must be + // compatible with GOP size and framerate. + FragmentLength *int64 `locationName:"fragmentLength" min:"1" type:"integer"` - Duration *string `location:"querystring" locationName:"duration" type:"string"` + // Parameter that control output group behavior on input loss. + InputLossAction *string `locationName:"inputLossAction" type:"string" enum:"InputLossActionForMsSmoothOut"` - MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + // Number of retry attempts. + NumRetries *int64 `locationName:"numRetries" type:"integer"` - MaximumBitrate *string `location:"querystring" locationName:"maximumBitrate" type:"string"` + // Number of seconds before initiating a restart due to output failure, due + // to exhausting the numRetries on one segment, or exceeding filecacheDuration. + RestartDelay *int64 `locationName:"restartDelay" type:"integer"` - MaximumFramerate *string `location:"querystring" locationName:"maximumFramerate" type:"string"` + // useInputSegmentation has been deprecated. The configured segment size is + // always used. + SegmentationMode *string `locationName:"segmentationMode" type:"string" enum:"SmoothGroupSegmentationMode"` - NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + // Number of milliseconds to delay the output from the second pipeline. + SendDelayMs *int64 `locationName:"sendDelayMs" type:"integer"` - Resolution *string `location:"querystring" locationName:"resolution" type:"string"` + // Identifies the type of data to place in the sparse track:- SCTE35: Insert + // SCTE-35 messages from the source content. With each message, insert an IDR + // frame to start a new segment.- SCTE35_WITHOUT_SEGMENTATION: Insert SCTE-35 + // messages from the source content. With each message, insert an IDR frame + // but don't start a new segment.- NONE: Don't generate a sparse track for any + // outputs in this output group. + SparseTrackType *string `locationName:"sparseTrackType" type:"string" enum:"SmoothGroupSparseTrackType"` - ResourceType *string `location:"querystring" locationName:"resourceType" type:"string"` + // When set to send, send stream manifest so publishing point doesn't start + // until all streams start. + StreamManifestBehavior *string `locationName:"streamManifestBehavior" type:"string" enum:"SmoothGroupStreamManifestBehavior"` - SpecialFeature *string `location:"querystring" locationName:"specialFeature" type:"string"` + // Timestamp offset for the event. Only used if timestampOffsetMode is set to + // useConfiguredOffset. + TimestampOffset *string `locationName:"timestampOffset" type:"string"` - VideoQuality *string `location:"querystring" locationName:"videoQuality" type:"string"` + // Type of timestamp date offset to use.- useEventStartDate: Use the date the + // event was started as the offset- useConfiguredOffset: Use an explicitly configured + // date as the offset + TimestampOffsetMode *string `locationName:"timestampOffsetMode" type:"string" enum:"SmoothGroupTimestampOffsetMode"` } // String returns the string representation. @@ -22952,7 +31265,7 @@ type ListOfferingsInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListOfferingsInput) String() string { +func (s MsSmoothGroupSettings) String() string { return awsutil.Prettify(s) } @@ -22961,15 +31274,18 @@ func (s ListOfferingsInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListOfferingsInput) GoString() string { +func (s MsSmoothGroupSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListOfferingsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListOfferingsInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) +func (s *MsSmoothGroupSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MsSmoothGroupSettings"} + if s.Destination == nil { + invalidParams.Add(request.NewErrParamRequired("Destination")) + } + if s.FragmentLength != nil && *s.FragmentLength < 1 { + invalidParams.Add(request.NewErrParamMinValue("FragmentLength", 1)) } if invalidParams.Len() > 0 { @@ -22978,84 +31294,131 @@ func (s *ListOfferingsInput) Validate() error { return nil } -// SetChannelClass sets the ChannelClass field's value. -func (s *ListOfferingsInput) SetChannelClass(v string) *ListOfferingsInput { - s.ChannelClass = &v +// SetAcquisitionPointId sets the AcquisitionPointId field's value. +func (s *MsSmoothGroupSettings) SetAcquisitionPointId(v string) *MsSmoothGroupSettings { + s.AcquisitionPointId = &v return s } -// SetChannelConfiguration sets the ChannelConfiguration field's value. -func (s *ListOfferingsInput) SetChannelConfiguration(v string) *ListOfferingsInput { - s.ChannelConfiguration = &v +// SetAudioOnlyTimecodeControl sets the AudioOnlyTimecodeControl field's value. +func (s *MsSmoothGroupSettings) SetAudioOnlyTimecodeControl(v string) *MsSmoothGroupSettings { + s.AudioOnlyTimecodeControl = &v return s } -// SetCodec sets the Codec field's value. -func (s *ListOfferingsInput) SetCodec(v string) *ListOfferingsInput { - s.Codec = &v +// SetCertificateMode sets the CertificateMode field's value. +func (s *MsSmoothGroupSettings) SetCertificateMode(v string) *MsSmoothGroupSettings { + s.CertificateMode = &v return s } -// SetDuration sets the Duration field's value. -func (s *ListOfferingsInput) SetDuration(v string) *ListOfferingsInput { - s.Duration = &v +// SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. +func (s *MsSmoothGroupSettings) SetConnectionRetryInterval(v int64) *MsSmoothGroupSettings { + s.ConnectionRetryInterval = &v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *ListOfferingsInput) SetMaxResults(v int64) *ListOfferingsInput { - s.MaxResults = &v +// SetDestination sets the Destination field's value. +func (s *MsSmoothGroupSettings) SetDestination(v *OutputLocationRef) *MsSmoothGroupSettings { + s.Destination = v return s } -// SetMaximumBitrate sets the MaximumBitrate field's value. -func (s *ListOfferingsInput) SetMaximumBitrate(v string) *ListOfferingsInput { - s.MaximumBitrate = &v +// SetEventId sets the EventId field's value. +func (s *MsSmoothGroupSettings) SetEventId(v string) *MsSmoothGroupSettings { + s.EventId = &v return s } -// SetMaximumFramerate sets the MaximumFramerate field's value. -func (s *ListOfferingsInput) SetMaximumFramerate(v string) *ListOfferingsInput { - s.MaximumFramerate = &v +// SetEventIdMode sets the EventIdMode field's value. +func (s *MsSmoothGroupSettings) SetEventIdMode(v string) *MsSmoothGroupSettings { + s.EventIdMode = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListOfferingsInput) SetNextToken(v string) *ListOfferingsInput { - s.NextToken = &v +// SetEventStopBehavior sets the EventStopBehavior field's value. +func (s *MsSmoothGroupSettings) SetEventStopBehavior(v string) *MsSmoothGroupSettings { + s.EventStopBehavior = &v return s } -// SetResolution sets the Resolution field's value. -func (s *ListOfferingsInput) SetResolution(v string) *ListOfferingsInput { - s.Resolution = &v +// SetFilecacheDuration sets the FilecacheDuration field's value. +func (s *MsSmoothGroupSettings) SetFilecacheDuration(v int64) *MsSmoothGroupSettings { + s.FilecacheDuration = &v return s } -// SetResourceType sets the ResourceType field's value. -func (s *ListOfferingsInput) SetResourceType(v string) *ListOfferingsInput { - s.ResourceType = &v +// SetFragmentLength sets the FragmentLength field's value. +func (s *MsSmoothGroupSettings) SetFragmentLength(v int64) *MsSmoothGroupSettings { + s.FragmentLength = &v return s } -// SetSpecialFeature sets the SpecialFeature field's value. -func (s *ListOfferingsInput) SetSpecialFeature(v string) *ListOfferingsInput { - s.SpecialFeature = &v +// SetInputLossAction sets the InputLossAction field's value. +func (s *MsSmoothGroupSettings) SetInputLossAction(v string) *MsSmoothGroupSettings { + s.InputLossAction = &v return s } -// SetVideoQuality sets the VideoQuality field's value. -func (s *ListOfferingsInput) SetVideoQuality(v string) *ListOfferingsInput { - s.VideoQuality = &v +// SetNumRetries sets the NumRetries field's value. +func (s *MsSmoothGroupSettings) SetNumRetries(v int64) *MsSmoothGroupSettings { + s.NumRetries = &v return s } -type ListOfferingsOutput struct { +// SetRestartDelay sets the RestartDelay field's value. +func (s *MsSmoothGroupSettings) SetRestartDelay(v int64) *MsSmoothGroupSettings { + s.RestartDelay = &v + return s +} + +// SetSegmentationMode sets the SegmentationMode field's value. +func (s *MsSmoothGroupSettings) SetSegmentationMode(v string) *MsSmoothGroupSettings { + s.SegmentationMode = &v + return s +} + +// SetSendDelayMs sets the SendDelayMs field's value. +func (s *MsSmoothGroupSettings) SetSendDelayMs(v int64) *MsSmoothGroupSettings { + s.SendDelayMs = &v + return s +} + +// SetSparseTrackType sets the SparseTrackType field's value. +func (s *MsSmoothGroupSettings) SetSparseTrackType(v string) *MsSmoothGroupSettings { + s.SparseTrackType = &v + return s +} + +// SetStreamManifestBehavior sets the StreamManifestBehavior field's value. +func (s *MsSmoothGroupSettings) SetStreamManifestBehavior(v string) *MsSmoothGroupSettings { + s.StreamManifestBehavior = &v + return s +} + +// SetTimestampOffset sets the TimestampOffset field's value. +func (s *MsSmoothGroupSettings) SetTimestampOffset(v string) *MsSmoothGroupSettings { + s.TimestampOffset = &v + return s +} + +// SetTimestampOffsetMode sets the TimestampOffsetMode field's value. +func (s *MsSmoothGroupSettings) SetTimestampOffsetMode(v string) *MsSmoothGroupSettings { + s.TimestampOffsetMode = &v + return s +} + +// Ms Smooth Output Settings +type MsSmoothOutputSettings struct { _ struct{} `type:"structure"` - NextToken *string `locationName:"nextToken" type:"string"` + // Only applicable when this output is referencing an H.265 video description.Specifies + // whether MP4 segments should be packaged as HEV1 or HVC1. + H265PackagingType *string `locationName:"h265PackagingType" type:"string" enum:"MsSmoothH265PackagingType"` - Offerings []*Offering `locationName:"offerings" type:"list"` + // String concatenated to the end of the destination filename. Required for + // multiple outputs of the same type. + NameModifier *string `locationName:"nameModifier" type:"string"` } // String returns the string representation. @@ -23063,7 +31426,7 @@ type ListOfferingsOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListOfferingsOutput) String() string { +func (s MsSmoothOutputSettings) String() string { return awsutil.Prettify(s) } @@ -23072,44 +31435,55 @@ func (s ListOfferingsOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListOfferingsOutput) GoString() string { +func (s MsSmoothOutputSettings) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListOfferingsOutput) SetNextToken(v string) *ListOfferingsOutput { - s.NextToken = &v +// SetH265PackagingType sets the H265PackagingType field's value. +func (s *MsSmoothOutputSettings) SetH265PackagingType(v string) *MsSmoothOutputSettings { + s.H265PackagingType = &v return s } -// SetOfferings sets the Offerings field's value. -func (s *ListOfferingsOutput) SetOfferings(v []*Offering) *ListOfferingsOutput { - s.Offerings = v +// SetNameModifier sets the NameModifier field's value. +func (s *MsSmoothOutputSettings) SetNameModifier(v string) *MsSmoothOutputSettings { + s.NameModifier = &v return s } -type ListReservationsInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The multiplex object. +type Multiplex struct { + _ struct{} `type:"structure"` - ChannelClass *string `location:"querystring" locationName:"channelClass" type:"string"` + // The unique arn of the multiplex. + Arn *string `locationName:"arn" type:"string"` - Codec *string `location:"querystring" locationName:"codec" type:"string"` + // A list of availability zones for the multiplex. + AvailabilityZones []*string `locationName:"availabilityZones" type:"list"` - MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + // A list of the multiplex output destinations. + Destinations []*MultiplexOutputDestination `locationName:"destinations" type:"list"` - MaximumBitrate *string `location:"querystring" locationName:"maximumBitrate" type:"string"` + // The unique id of the multiplex. + Id *string `locationName:"id" type:"string"` - MaximumFramerate *string `location:"querystring" locationName:"maximumFramerate" type:"string"` + // Configuration for a multiplex event. + MultiplexSettings *MultiplexSettings `locationName:"multiplexSettings" type:"structure"` - NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + // The name of the multiplex. + Name *string `locationName:"name" type:"string"` - Resolution *string `location:"querystring" locationName:"resolution" type:"string"` + // The number of currently healthy pipelines. + PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` - ResourceType *string `location:"querystring" locationName:"resourceType" type:"string"` + // The number of programs in the multiplex. + ProgramCount *int64 `locationName:"programCount" type:"integer"` - SpecialFeature *string `location:"querystring" locationName:"specialFeature" type:"string"` + // The current state of the multiplex. + State *string `locationName:"state" type:"string" enum:"MultiplexState"` - VideoQuality *string `location:"querystring" locationName:"videoQuality" type:"string"` + // A collection of key-value pairs. + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -23117,7 +31491,7 @@ type ListReservationsInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListReservationsInput) String() string { +func (s Multiplex) String() string { return awsutil.Prettify(s) } @@ -23126,89 +31500,73 @@ func (s ListReservationsInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListReservationsInput) GoString() string { +func (s Multiplex) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ListReservationsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListReservationsInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetChannelClass sets the ChannelClass field's value. -func (s *ListReservationsInput) SetChannelClass(v string) *ListReservationsInput { - s.ChannelClass = &v +// SetArn sets the Arn field's value. +func (s *Multiplex) SetArn(v string) *Multiplex { + s.Arn = &v return s } -// SetCodec sets the Codec field's value. -func (s *ListReservationsInput) SetCodec(v string) *ListReservationsInput { - s.Codec = &v +// SetAvailabilityZones sets the AvailabilityZones field's value. +func (s *Multiplex) SetAvailabilityZones(v []*string) *Multiplex { + s.AvailabilityZones = v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *ListReservationsInput) SetMaxResults(v int64) *ListReservationsInput { - s.MaxResults = &v +// SetDestinations sets the Destinations field's value. +func (s *Multiplex) SetDestinations(v []*MultiplexOutputDestination) *Multiplex { + s.Destinations = v return s } -// SetMaximumBitrate sets the MaximumBitrate field's value. -func (s *ListReservationsInput) SetMaximumBitrate(v string) *ListReservationsInput { - s.MaximumBitrate = &v +// SetId sets the Id field's value. +func (s *Multiplex) SetId(v string) *Multiplex { + s.Id = &v return s } -// SetMaximumFramerate sets the MaximumFramerate field's value. -func (s *ListReservationsInput) SetMaximumFramerate(v string) *ListReservationsInput { - s.MaximumFramerate = &v +// SetMultiplexSettings sets the MultiplexSettings field's value. +func (s *Multiplex) SetMultiplexSettings(v *MultiplexSettings) *Multiplex { + s.MultiplexSettings = v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListReservationsInput) SetNextToken(v string) *ListReservationsInput { - s.NextToken = &v +// SetName sets the Name field's value. +func (s *Multiplex) SetName(v string) *Multiplex { + s.Name = &v return s } -// SetResolution sets the Resolution field's value. -func (s *ListReservationsInput) SetResolution(v string) *ListReservationsInput { - s.Resolution = &v +// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. +func (s *Multiplex) SetPipelinesRunningCount(v int64) *Multiplex { + s.PipelinesRunningCount = &v return s } -// SetResourceType sets the ResourceType field's value. -func (s *ListReservationsInput) SetResourceType(v string) *ListReservationsInput { - s.ResourceType = &v +// SetProgramCount sets the ProgramCount field's value. +func (s *Multiplex) SetProgramCount(v int64) *Multiplex { + s.ProgramCount = &v return s } -// SetSpecialFeature sets the SpecialFeature field's value. -func (s *ListReservationsInput) SetSpecialFeature(v string) *ListReservationsInput { - s.SpecialFeature = &v +// SetState sets the State field's value. +func (s *Multiplex) SetState(v string) *Multiplex { + s.State = &v return s } -// SetVideoQuality sets the VideoQuality field's value. -func (s *ListReservationsInput) SetVideoQuality(v string) *ListReservationsInput { - s.VideoQuality = &v +// SetTags sets the Tags field's value. +func (s *Multiplex) SetTags(v map[string]*string) *Multiplex { + s.Tags = v return s } -type ListReservationsOutput struct { +// Multiplex Group Settings +type MultiplexGroupSettings struct { _ struct{} `type:"structure"` - - NextToken *string `locationName:"nextToken" type:"string"` - - Reservations []*Reservation `locationName:"reservations" type:"list"` } // String returns the string representation. @@ -23216,7 +31574,7 @@ type ListReservationsOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListReservationsOutput) String() string { +func (s MultiplexGroupSettings) String() string { return awsutil.Prettify(s) } @@ -23225,27 +31583,16 @@ func (s ListReservationsOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListReservationsOutput) GoString() string { +func (s MultiplexGroupSettings) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListReservationsOutput) SetNextToken(v string) *ListReservationsOutput { - s.NextToken = &v - return s -} - -// SetReservations sets the Reservations field's value. -func (s *ListReservationsOutput) SetReservations(v []*Reservation) *ListReservationsOutput { - s.Reservations = v - return s -} - -type ListTagsForResourceInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// Multiplex MediaConnect output destination settings. +type MultiplexMediaConnectOutputDestinationSettings struct { + _ struct{} `type:"structure"` - // ResourceArn is a required field - ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"` + // The MediaConnect entitlement ARN available as a Flow source. + EntitlementArn *string `locationName:"entitlementArn" min:"1" type:"string"` } // String returns the string representation. @@ -23253,7 +31600,7 @@ type ListTagsForResourceInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListTagsForResourceInput) String() string { +func (s MultiplexMediaConnectOutputDestinationSettings) String() string { return awsutil.Prettify(s) } @@ -23262,36 +31609,22 @@ func (s ListTagsForResourceInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListTagsForResourceInput) GoString() string { +func (s MultiplexMediaConnectOutputDestinationSettings) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ListTagsForResourceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"} - if s.ResourceArn == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceArn")) - } - if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetResourceArn sets the ResourceArn field's value. -func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput { - s.ResourceArn = &v +// SetEntitlementArn sets the EntitlementArn field's value. +func (s *MultiplexMediaConnectOutputDestinationSettings) SetEntitlementArn(v string) *MultiplexMediaConnectOutputDestinationSettings { + s.EntitlementArn = &v return s } -type ListTagsForResourceOutput struct { +// Multiplex output destination settings +type MultiplexOutputDestination struct { _ struct{} `type:"structure"` - Tags map[string]*string `locationName:"tags" type:"map"` + // Multiplex MediaConnect output destination settings. + MediaConnectSettings *MultiplexMediaConnectOutputDestinationSettings `locationName:"mediaConnectSettings" type:"structure"` } // String returns the string representation. @@ -23299,7 +31632,7 @@ type ListTagsForResourceOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListTagsForResourceOutput) String() string { +func (s MultiplexOutputDestination) String() string { return awsutil.Prettify(s) } @@ -23308,255 +31641,148 @@ func (s ListTagsForResourceOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListTagsForResourceOutput) GoString() string { +func (s MultiplexOutputDestination) GoString() string { return s.String() } -// SetTags sets the Tags field's value. -func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput { - s.Tags = v +// SetMediaConnectSettings sets the MediaConnectSettings field's value. +func (s *MultiplexOutputDestination) SetMediaConnectSettings(v *MultiplexMediaConnectOutputDestinationSettings) *MultiplexOutputDestination { + s.MediaConnectSettings = v return s } -// M2ts Settings -type M2tsSettings struct { +// Multiplex Output Settings +type MultiplexOutputSettings struct { _ struct{} `type:"structure"` - // When set to drop, output audio streams will be removed from the program if - // the selected input audio stream is removed from the input. This allows the - // output audio configuration to dynamically change based on input configuration. - // If this is set to encodeSilence, all output audio streams will output encoded - // silence when not connected to an active input stream. - AbsentInputAudioBehavior *string `locationName:"absentInputAudioBehavior" type:"string" enum:"M2tsAbsentInputAudioBehavior"` - - // When set to enabled, uses ARIB-compliant field muxing and removes video descriptor. - Arib *string `locationName:"arib" type:"string" enum:"M2tsArib"` - - // Packet Identifier (PID) for ARIB Captions in the transport stream. Can be - // entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 - // (or 0x1ff6). - AribCaptionsPid *string `locationName:"aribCaptionsPid" type:"string"` - - // If set to auto, pid number used for ARIB Captions will be auto-selected from - // unused pids. If set to useConfigured, ARIB Captions will be on the configured - // pid number. - AribCaptionsPidControl *string `locationName:"aribCaptionsPidControl" type:"string" enum:"M2tsAribCaptionsPidControl"` - - // When set to dvb, uses DVB buffer model for Dolby Digital audio. When set - // to atsc, the ATSC model is used. - AudioBufferModel *string `locationName:"audioBufferModel" type:"string" enum:"M2tsAudioBufferModel"` - - // The number of audio frames to insert for each PES packet. - AudioFramesPerPes *int64 `locationName:"audioFramesPerPes" type:"integer"` - - // Packet Identifier (PID) of the elementary audio stream(s) in the transport - // stream. Multiple values are accepted, and can be entered in ranges and/or - // by comma separation. Can be entered as decimal or hexadecimal values. Each - // PID specified must be in the range of 32 (or 0x20)..8182 (or 0x1ff6). - AudioPids *string `locationName:"audioPids" type:"string"` - - // When set to atsc, uses stream type = 0x81 for AC3 and stream type = 0x87 - // for EAC3. When set to dvb, uses stream type = 0x06. - AudioStreamType *string `locationName:"audioStreamType" type:"string" enum:"M2tsAudioStreamType"` - - // The output bitrate of the transport stream in bits per second. Setting to - // 0 lets the muxer automatically determine the appropriate bitrate. - Bitrate *int64 `locationName:"bitrate" type:"integer"` - - // Controls the timing accuracy for output network traffic. Leave as MULTIPLEX - // to ensure accurate network packet timing. Or set to NONE, which might result - // in lower latency but will result in more variability in output network packet - // timing. This variability might cause interruptions, jitter, or bursty behavior - // in your playback or receiving devices. - BufferModel *string `locationName:"bufferModel" type:"string" enum:"M2tsBufferModel"` - - // When set to enabled, generates captionServiceDescriptor in PMT. - CcDescriptor *string `locationName:"ccDescriptor" type:"string" enum:"M2tsCcDescriptor"` - - // Inserts DVB Network Information Table (NIT) at the specified table repetition - // interval. - DvbNitSettings *DvbNitSettings `locationName:"dvbNitSettings" type:"structure"` - - // Inserts DVB Service Description Table (SDT) at the specified table repetition - // interval. - DvbSdtSettings *DvbSdtSettings `locationName:"dvbSdtSettings" type:"structure"` - - // Packet Identifier (PID) for input source DVB Subtitle data to this output. - // Multiple values are accepted, and can be entered in ranges and/or by comma - // separation. Can be entered as decimal or hexadecimal values. Each PID specified - // must be in the range of 32 (or 0x20)..8182 (or 0x1ff6). - DvbSubPids *string `locationName:"dvbSubPids" type:"string"` - - // Inserts DVB Time and Date Table (TDT) at the specified table repetition interval. - DvbTdtSettings *DvbTdtSettings `locationName:"dvbTdtSettings" type:"structure"` - - // Packet Identifier (PID) for input source DVB Teletext data to this output. - // Can be entered as a decimal or hexadecimal value. Valid values are 32 (or - // 0x20)..8182 (or 0x1ff6). - DvbTeletextPid *string `locationName:"dvbTeletextPid" type:"string"` - - // If set to passthrough, passes any EBIF data from the input source to this - // output. - Ebif *string `locationName:"ebif" type:"string" enum:"M2tsEbifControl"` - - // When videoAndFixedIntervals is selected, audio EBP markers will be added - // to partitions 3 and 4. The interval between these additional markers will - // be fixed, and will be slightly shorter than the video EBP marker interval. - // Only available when EBP Cablelabs segmentation markers are selected. Partitions - // 1 and 2 will always follow the video interval. - EbpAudioInterval *string `locationName:"ebpAudioInterval" type:"string" enum:"M2tsAudioInterval"` - - // When set, enforces that Encoder Boundary Points do not come within the specified - // time interval of each other by looking ahead at input video. If another EBP - // is going to come in within the specified time interval, the current EBP is - // not emitted, and the segment is "stretched" to the next marker. The lookahead - // value does not add latency to the system. The Live Event must be configured - // elsewhere to create sufficient latency to make the lookahead accurate. - EbpLookaheadMs *int64 `locationName:"ebpLookaheadMs" type:"integer"` - - // Controls placement of EBP on Audio PIDs. If set to videoAndAudioPids, EBP - // markers will be placed on the video PID and all audio PIDs. If set to videoPid, - // EBP markers will be placed on only the video PID. - EbpPlacement *string `locationName:"ebpPlacement" type:"string" enum:"M2tsEbpPlacement"` - - // This field is unused and deprecated. - EcmPid *string `locationName:"ecmPid" type:"string"` - - // Include or exclude the ES Rate field in the PES header. - EsRateInPes *string `locationName:"esRateInPes" type:"string" enum:"M2tsEsRateInPes"` - - // Packet Identifier (PID) for input source ETV Platform data to this output. - // Can be entered as a decimal or hexadecimal value. Valid values are 32 (or - // 0x20)..8182 (or 0x1ff6). - EtvPlatformPid *string `locationName:"etvPlatformPid" type:"string"` - - // Packet Identifier (PID) for input source ETV Signal data to this output. - // Can be entered as a decimal or hexadecimal value. Valid values are 32 (or - // 0x20)..8182 (or 0x1ff6). - EtvSignalPid *string `locationName:"etvSignalPid" type:"string"` - - // The length in seconds of each fragment. Only used with EBP markers. - FragmentTime *float64 `locationName:"fragmentTime" type:"double"` - - // If set to passthrough, passes any KLV data from the input source to this - // output. - Klv *string `locationName:"klv" type:"string" enum:"M2tsKlv"` - - // Packet Identifier (PID) for input source KLV data to this output. Multiple - // values are accepted, and can be entered in ranges and/or by comma separation. - // Can be entered as decimal or hexadecimal values. Each PID specified must - // be in the range of 32 (or 0x20)..8182 (or 0x1ff6). - KlvDataPids *string `locationName:"klvDataPids" type:"string"` + // Destination is a Multiplex. + // + // Destination is a required field + Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` +} - // If set to passthrough, Nielsen inaudible tones for media tracking will be - // detected in the input audio and an equivalent ID3 tag will be inserted in - // the output. - NielsenId3Behavior *string `locationName:"nielsenId3Behavior" type:"string" enum:"M2tsNielsenId3Behavior"` +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MultiplexOutputSettings) String() string { + return awsutil.Prettify(s) +} - // Value in bits per second of extra null packets to insert into the transport - // stream. This can be used if a downstream encryption system requires periodic - // null packets. - NullPacketBitrate *float64 `locationName:"nullPacketBitrate" type:"double"` +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MultiplexOutputSettings) GoString() string { + return s.String() +} - // The number of milliseconds between instances of this table in the output - // transport stream. Valid values are 0, 10..1000. - PatInterval *int64 `locationName:"patInterval" type:"integer"` +// Validate inspects the fields of the type to determine if they are valid. +func (s *MultiplexOutputSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MultiplexOutputSettings"} + if s.Destination == nil { + invalidParams.Add(request.NewErrParamRequired("Destination")) + } - // When set to pcrEveryPesPacket, a Program Clock Reference value is inserted - // for every Packetized Elementary Stream (PES) header. This parameter is effective - // only when the PCR PID is the same as the video or audio elementary stream. - PcrControl *string `locationName:"pcrControl" type:"string" enum:"M2tsPcrControl"` + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} - // Maximum time in milliseconds between Program Clock Reference (PCRs) inserted - // into the transport stream. - PcrPeriod *int64 `locationName:"pcrPeriod" type:"integer"` +// SetDestination sets the Destination field's value. +func (s *MultiplexOutputSettings) SetDestination(v *OutputLocationRef) *MultiplexOutputSettings { + s.Destination = v + return s +} - // Packet Identifier (PID) of the Program Clock Reference (PCR) in the transport - // stream. When no value is given, the encoder will assign the same value as - // the Video PID. Can be entered as a decimal or hexadecimal value. Valid values - // are 32 (or 0x20)..8182 (or 0x1ff6). - PcrPid *string `locationName:"pcrPid" type:"string"` +// The multiplex program object. +type MultiplexProgram struct { + _ struct{} `type:"structure"` - // The number of milliseconds between instances of this table in the output - // transport stream. Valid values are 0, 10..1000. - PmtInterval *int64 `locationName:"pmtInterval" type:"integer"` + // The MediaLive channel associated with the program. + ChannelId *string `locationName:"channelId" type:"string"` - // Packet Identifier (PID) for the Program Map Table (PMT) in the transport - // stream. Can be entered as a decimal or hexadecimal value. Valid values are - // 32 (or 0x20)..8182 (or 0x1ff6). - PmtPid *string `locationName:"pmtPid" type:"string"` + // The settings for this multiplex program. + MultiplexProgramSettings *MultiplexProgramSettings `locationName:"multiplexProgramSettings" type:"structure"` - // The value of the program number field in the Program Map Table. - ProgramNum *int64 `locationName:"programNum" type:"integer"` + // The packet identifier map for this multiplex program. + PacketIdentifiersMap *MultiplexProgramPacketIdentifiersMap `locationName:"packetIdentifiersMap" type:"structure"` - // When vbr, does not insert null packets into transport stream to fill specified - // bitrate. The bitrate setting acts as the maximum bitrate when vbr is set. - RateMode *string `locationName:"rateMode" type:"string" enum:"M2tsRateMode"` + // Contains information about the current sources for the specified program + // in the specified multiplex. Keep in mind that each multiplex pipeline connects + // to both pipelines in a given source channel (the channel identified by the + // program). But only one of those channel pipelines is ever active at one time. + PipelineDetails []*MultiplexProgramPipelineDetail `locationName:"pipelineDetails" type:"list"` - // Packet Identifier (PID) for input source SCTE-27 data to this output. Multiple - // values are accepted, and can be entered in ranges and/or by comma separation. - // Can be entered as decimal or hexadecimal values. Each PID specified must - // be in the range of 32 (or 0x20)..8182 (or 0x1ff6). - Scte27Pids *string `locationName:"scte27Pids" type:"string"` + // The name of the multiplex program. + ProgramName *string `locationName:"programName" type:"string"` +} - // Optionally pass SCTE-35 signals from the input source to this output. - Scte35Control *string `locationName:"scte35Control" type:"string" enum:"M2tsScte35Control"` +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MultiplexProgram) String() string { + return awsutil.Prettify(s) +} - // Packet Identifier (PID) of the SCTE-35 stream in the transport stream. Can - // be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 - // (or 0x1ff6). - Scte35Pid *string `locationName:"scte35Pid" type:"string"` +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MultiplexProgram) GoString() string { + return s.String() +} - // Defines the amount SCTE-35 preroll will be increased (in milliseconds) on - // the output. Preroll is the amount of time between the presence of a SCTE-35 - // indication in a transport stream and the PTS of the video frame it references. - // Zero means don't add pullup (it doesn't mean set the preroll to zero). Negative - // pullup is not supported, which means that you can't make the preroll shorter. - // Be aware that latency in the output will increase by the pullup amount. - Scte35PrerollPullupMilliseconds *float64 `locationName:"scte35PrerollPullupMilliseconds" type:"double"` +// SetChannelId sets the ChannelId field's value. +func (s *MultiplexProgram) SetChannelId(v string) *MultiplexProgram { + s.ChannelId = &v + return s +} - // Inserts segmentation markers at each segmentationTime period. raiSegstart - // sets the Random Access Indicator bit in the adaptation field. raiAdapt sets - // the RAI bit and adds the current timecode in the private data bytes. psiSegstart - // inserts PAT and PMT tables at the start of segments. ebp adds Encoder Boundary - // Point information to the adaptation field as per OpenCable specification - // OC-SP-EBP-I01-130118. ebpLegacy adds Encoder Boundary Point information to - // the adaptation field using a legacy proprietary format. - SegmentationMarkers *string `locationName:"segmentationMarkers" type:"string" enum:"M2tsSegmentationMarkers"` +// SetMultiplexProgramSettings sets the MultiplexProgramSettings field's value. +func (s *MultiplexProgram) SetMultiplexProgramSettings(v *MultiplexProgramSettings) *MultiplexProgram { + s.MultiplexProgramSettings = v + return s +} - // The segmentation style parameter controls how segmentation markers are inserted - // into the transport stream. With avails, it is possible that segments may - // be truncated, which can influence where future segmentation markers are inserted.When - // a segmentation style of "resetCadence" is selected and a segment is truncated - // due to an avail, we will reset the segmentation cadence. This means the subsequent - // segment will have a duration of $segmentationTime seconds.When a segmentation - // style of "maintainCadence" is selected and a segment is truncated due to - // an avail, we will not reset the segmentation cadence. This means the subsequent - // segment will likely be truncated as well. However, all segments after that - // will have a duration of $segmentationTime seconds. Note that EBP lookahead - // is a slight exception to this rule. - SegmentationStyle *string `locationName:"segmentationStyle" type:"string" enum:"M2tsSegmentationStyle"` +// SetPacketIdentifiersMap sets the PacketIdentifiersMap field's value. +func (s *MultiplexProgram) SetPacketIdentifiersMap(v *MultiplexProgramPacketIdentifiersMap) *MultiplexProgram { + s.PacketIdentifiersMap = v + return s +} - // The length in seconds of each segment. Required unless markers is set to - // _none_. - SegmentationTime *float64 `locationName:"segmentationTime" type:"double"` +// SetPipelineDetails sets the PipelineDetails field's value. +func (s *MultiplexProgram) SetPipelineDetails(v []*MultiplexProgramPipelineDetail) *MultiplexProgram { + s.PipelineDetails = v + return s +} - // When set to passthrough, timed metadata will be passed through from input - // to output. - TimedMetadataBehavior *string `locationName:"timedMetadataBehavior" type:"string" enum:"M2tsTimedMetadataBehavior"` +// SetProgramName sets the ProgramName field's value. +func (s *MultiplexProgram) SetProgramName(v string) *MultiplexProgram { + s.ProgramName = &v + return s +} - // Packet Identifier (PID) of the timed metadata stream in the transport stream. - // Can be entered as a decimal or hexadecimal value. Valid values are 32 (or - // 0x20)..8182 (or 0x1ff6). - TimedMetadataPid *string `locationName:"timedMetadataPid" type:"string"` +// Multiplex Program Input Destination Settings for outputting a Channel to +// a Multiplex +type MultiplexProgramChannelDestinationSettings struct { + _ struct{} `type:"structure"` - // The value of the transport stream ID field in the Program Map Table. - TransportStreamId *int64 `locationName:"transportStreamId" type:"integer"` + // The ID of the Multiplex that the encoder is providing output to. You do not + // need to specify the individual inputs to the Multiplex; MediaLive will handle + // the connection of the two MediaLive pipelines to the two Multiplex instances.The + // Multiplex must be in the same region as the Channel. + MultiplexId *string `locationName:"multiplexId" min:"1" type:"string"` - // Packet Identifier (PID) of the elementary video stream in the transport stream. - // Can be entered as a decimal or hexadecimal value. Valid values are 32 (or - // 0x20)..8182 (or 0x1ff6). - VideoPid *string `locationName:"videoPid" type:"string"` + // The program name of the Multiplex program that the encoder is providing output + // to. + ProgramName *string `locationName:"programName" min:"1" type:"string"` } // String returns the string representation. @@ -23564,7 +31790,7 @@ type M2tsSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s M2tsSettings) String() string { +func (s MultiplexProgramChannelDestinationSettings) String() string { return awsutil.Prettify(s) } @@ -23573,404 +31799,285 @@ func (s M2tsSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s M2tsSettings) GoString() string { +func (s MultiplexProgramChannelDestinationSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *M2tsSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "M2tsSettings"} - if s.DvbNitSettings != nil { - if err := s.DvbNitSettings.Validate(); err != nil { - invalidParams.AddNested("DvbNitSettings", err.(request.ErrInvalidParams)) - } - } - if s.DvbSdtSettings != nil { - if err := s.DvbSdtSettings.Validate(); err != nil { - invalidParams.AddNested("DvbSdtSettings", err.(request.ErrInvalidParams)) - } +func (s *MultiplexProgramChannelDestinationSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MultiplexProgramChannelDestinationSettings"} + if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) } - if s.DvbTdtSettings != nil { - if err := s.DvbTdtSettings.Validate(); err != nil { - invalidParams.AddNested("DvbTdtSettings", err.(request.ErrInvalidParams)) - } + if s.ProgramName != nil && len(*s.ProgramName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ProgramName", 1)) } if invalidParams.Len() > 0 { return invalidParams } - return nil -} - -// SetAbsentInputAudioBehavior sets the AbsentInputAudioBehavior field's value. -func (s *M2tsSettings) SetAbsentInputAudioBehavior(v string) *M2tsSettings { - s.AbsentInputAudioBehavior = &v - return s -} - -// SetArib sets the Arib field's value. -func (s *M2tsSettings) SetArib(v string) *M2tsSettings { - s.Arib = &v - return s -} - -// SetAribCaptionsPid sets the AribCaptionsPid field's value. -func (s *M2tsSettings) SetAribCaptionsPid(v string) *M2tsSettings { - s.AribCaptionsPid = &v - return s -} - -// SetAribCaptionsPidControl sets the AribCaptionsPidControl field's value. -func (s *M2tsSettings) SetAribCaptionsPidControl(v string) *M2tsSettings { - s.AribCaptionsPidControl = &v - return s -} - -// SetAudioBufferModel sets the AudioBufferModel field's value. -func (s *M2tsSettings) SetAudioBufferModel(v string) *M2tsSettings { - s.AudioBufferModel = &v - return s + return nil } -// SetAudioFramesPerPes sets the AudioFramesPerPes field's value. -func (s *M2tsSettings) SetAudioFramesPerPes(v int64) *M2tsSettings { - s.AudioFramesPerPes = &v +// SetMultiplexId sets the MultiplexId field's value. +func (s *MultiplexProgramChannelDestinationSettings) SetMultiplexId(v string) *MultiplexProgramChannelDestinationSettings { + s.MultiplexId = &v return s } -// SetAudioPids sets the AudioPids field's value. -func (s *M2tsSettings) SetAudioPids(v string) *M2tsSettings { - s.AudioPids = &v +// SetProgramName sets the ProgramName field's value. +func (s *MultiplexProgramChannelDestinationSettings) SetProgramName(v string) *MultiplexProgramChannelDestinationSettings { + s.ProgramName = &v return s } -// SetAudioStreamType sets the AudioStreamType field's value. -func (s *M2tsSettings) SetAudioStreamType(v string) *M2tsSettings { - s.AudioStreamType = &v - return s -} +// Packet identifiers map for a given Multiplex program. +type MultiplexProgramPacketIdentifiersMap struct { + _ struct{} `type:"structure"` -// SetBitrate sets the Bitrate field's value. -func (s *M2tsSettings) SetBitrate(v int64) *M2tsSettings { - s.Bitrate = &v - return s -} + AudioPids []*int64 `locationName:"audioPids" type:"list"` -// SetBufferModel sets the BufferModel field's value. -func (s *M2tsSettings) SetBufferModel(v string) *M2tsSettings { - s.BufferModel = &v - return s -} + DvbSubPids []*int64 `locationName:"dvbSubPids" type:"list"` -// SetCcDescriptor sets the CcDescriptor field's value. -func (s *M2tsSettings) SetCcDescriptor(v string) *M2tsSettings { - s.CcDescriptor = &v - return s -} + DvbTeletextPid *int64 `locationName:"dvbTeletextPid" type:"integer"` -// SetDvbNitSettings sets the DvbNitSettings field's value. -func (s *M2tsSettings) SetDvbNitSettings(v *DvbNitSettings) *M2tsSettings { - s.DvbNitSettings = v - return s -} + EtvPlatformPid *int64 `locationName:"etvPlatformPid" type:"integer"` -// SetDvbSdtSettings sets the DvbSdtSettings field's value. -func (s *M2tsSettings) SetDvbSdtSettings(v *DvbSdtSettings) *M2tsSettings { - s.DvbSdtSettings = v - return s -} + EtvSignalPid *int64 `locationName:"etvSignalPid" type:"integer"` -// SetDvbSubPids sets the DvbSubPids field's value. -func (s *M2tsSettings) SetDvbSubPids(v string) *M2tsSettings { - s.DvbSubPids = &v - return s -} + KlvDataPids []*int64 `locationName:"klvDataPids" type:"list"` -// SetDvbTdtSettings sets the DvbTdtSettings field's value. -func (s *M2tsSettings) SetDvbTdtSettings(v *DvbTdtSettings) *M2tsSettings { - s.DvbTdtSettings = v - return s -} + PcrPid *int64 `locationName:"pcrPid" type:"integer"` -// SetDvbTeletextPid sets the DvbTeletextPid field's value. -func (s *M2tsSettings) SetDvbTeletextPid(v string) *M2tsSettings { - s.DvbTeletextPid = &v - return s -} + PmtPid *int64 `locationName:"pmtPid" type:"integer"` -// SetEbif sets the Ebif field's value. -func (s *M2tsSettings) SetEbif(v string) *M2tsSettings { - s.Ebif = &v - return s + PrivateMetadataPid *int64 `locationName:"privateMetadataPid" type:"integer"` + + Scte27Pids []*int64 `locationName:"scte27Pids" type:"list"` + + Scte35Pid *int64 `locationName:"scte35Pid" type:"integer"` + + TimedMetadataPid *int64 `locationName:"timedMetadataPid" type:"integer"` + + VideoPid *int64 `locationName:"videoPid" type:"integer"` } -// SetEbpAudioInterval sets the EbpAudioInterval field's value. -func (s *M2tsSettings) SetEbpAudioInterval(v string) *M2tsSettings { - s.EbpAudioInterval = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MultiplexProgramPacketIdentifiersMap) String() string { + return awsutil.Prettify(s) } -// SetEbpLookaheadMs sets the EbpLookaheadMs field's value. -func (s *M2tsSettings) SetEbpLookaheadMs(v int64) *M2tsSettings { - s.EbpLookaheadMs = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MultiplexProgramPacketIdentifiersMap) GoString() string { + return s.String() } -// SetEbpPlacement sets the EbpPlacement field's value. -func (s *M2tsSettings) SetEbpPlacement(v string) *M2tsSettings { - s.EbpPlacement = &v +// SetAudioPids sets the AudioPids field's value. +func (s *MultiplexProgramPacketIdentifiersMap) SetAudioPids(v []*int64) *MultiplexProgramPacketIdentifiersMap { + s.AudioPids = v return s } -// SetEcmPid sets the EcmPid field's value. -func (s *M2tsSettings) SetEcmPid(v string) *M2tsSettings { - s.EcmPid = &v +// SetDvbSubPids sets the DvbSubPids field's value. +func (s *MultiplexProgramPacketIdentifiersMap) SetDvbSubPids(v []*int64) *MultiplexProgramPacketIdentifiersMap { + s.DvbSubPids = v return s } -// SetEsRateInPes sets the EsRateInPes field's value. -func (s *M2tsSettings) SetEsRateInPes(v string) *M2tsSettings { - s.EsRateInPes = &v +// SetDvbTeletextPid sets the DvbTeletextPid field's value. +func (s *MultiplexProgramPacketIdentifiersMap) SetDvbTeletextPid(v int64) *MultiplexProgramPacketIdentifiersMap { + s.DvbTeletextPid = &v return s } // SetEtvPlatformPid sets the EtvPlatformPid field's value. -func (s *M2tsSettings) SetEtvPlatformPid(v string) *M2tsSettings { +func (s *MultiplexProgramPacketIdentifiersMap) SetEtvPlatformPid(v int64) *MultiplexProgramPacketIdentifiersMap { s.EtvPlatformPid = &v return s } // SetEtvSignalPid sets the EtvSignalPid field's value. -func (s *M2tsSettings) SetEtvSignalPid(v string) *M2tsSettings { +func (s *MultiplexProgramPacketIdentifiersMap) SetEtvSignalPid(v int64) *MultiplexProgramPacketIdentifiersMap { s.EtvSignalPid = &v return s } -// SetFragmentTime sets the FragmentTime field's value. -func (s *M2tsSettings) SetFragmentTime(v float64) *M2tsSettings { - s.FragmentTime = &v +// SetKlvDataPids sets the KlvDataPids field's value. +func (s *MultiplexProgramPacketIdentifiersMap) SetKlvDataPids(v []*int64) *MultiplexProgramPacketIdentifiersMap { + s.KlvDataPids = v return s } -// SetKlv sets the Klv field's value. -func (s *M2tsSettings) SetKlv(v string) *M2tsSettings { - s.Klv = &v +// SetPcrPid sets the PcrPid field's value. +func (s *MultiplexProgramPacketIdentifiersMap) SetPcrPid(v int64) *MultiplexProgramPacketIdentifiersMap { + s.PcrPid = &v return s } -// SetKlvDataPids sets the KlvDataPids field's value. -func (s *M2tsSettings) SetKlvDataPids(v string) *M2tsSettings { - s.KlvDataPids = &v +// SetPmtPid sets the PmtPid field's value. +func (s *MultiplexProgramPacketIdentifiersMap) SetPmtPid(v int64) *MultiplexProgramPacketIdentifiersMap { + s.PmtPid = &v return s } -// SetNielsenId3Behavior sets the NielsenId3Behavior field's value. -func (s *M2tsSettings) SetNielsenId3Behavior(v string) *M2tsSettings { - s.NielsenId3Behavior = &v +// SetPrivateMetadataPid sets the PrivateMetadataPid field's value. +func (s *MultiplexProgramPacketIdentifiersMap) SetPrivateMetadataPid(v int64) *MultiplexProgramPacketIdentifiersMap { + s.PrivateMetadataPid = &v return s } -// SetNullPacketBitrate sets the NullPacketBitrate field's value. -func (s *M2tsSettings) SetNullPacketBitrate(v float64) *M2tsSettings { - s.NullPacketBitrate = &v +// SetScte27Pids sets the Scte27Pids field's value. +func (s *MultiplexProgramPacketIdentifiersMap) SetScte27Pids(v []*int64) *MultiplexProgramPacketIdentifiersMap { + s.Scte27Pids = v return s } -// SetPatInterval sets the PatInterval field's value. -func (s *M2tsSettings) SetPatInterval(v int64) *M2tsSettings { - s.PatInterval = &v +// SetScte35Pid sets the Scte35Pid field's value. +func (s *MultiplexProgramPacketIdentifiersMap) SetScte35Pid(v int64) *MultiplexProgramPacketIdentifiersMap { + s.Scte35Pid = &v return s } -// SetPcrControl sets the PcrControl field's value. -func (s *M2tsSettings) SetPcrControl(v string) *M2tsSettings { - s.PcrControl = &v +// SetTimedMetadataPid sets the TimedMetadataPid field's value. +func (s *MultiplexProgramPacketIdentifiersMap) SetTimedMetadataPid(v int64) *MultiplexProgramPacketIdentifiersMap { + s.TimedMetadataPid = &v return s } -// SetPcrPeriod sets the PcrPeriod field's value. -func (s *M2tsSettings) SetPcrPeriod(v int64) *M2tsSettings { - s.PcrPeriod = &v +// SetVideoPid sets the VideoPid field's value. +func (s *MultiplexProgramPacketIdentifiersMap) SetVideoPid(v int64) *MultiplexProgramPacketIdentifiersMap { + s.VideoPid = &v return s } -// SetPcrPid sets the PcrPid field's value. -func (s *M2tsSettings) SetPcrPid(v string) *M2tsSettings { - s.PcrPid = &v - return s -} +// The current source for one of the pipelines in the multiplex. +type MultiplexProgramPipelineDetail struct { + _ struct{} `type:"structure"` -// SetPmtInterval sets the PmtInterval field's value. -func (s *M2tsSettings) SetPmtInterval(v int64) *M2tsSettings { - s.PmtInterval = &v - return s -} + // Identifies the channel pipeline that is currently active for the pipeline + // (identified by PipelineId) in the multiplex. + ActiveChannelPipeline *string `locationName:"activeChannelPipeline" type:"string"` -// SetPmtPid sets the PmtPid field's value. -func (s *M2tsSettings) SetPmtPid(v string) *M2tsSettings { - s.PmtPid = &v - return s + // Identifies a specific pipeline in the multiplex. + PipelineId *string `locationName:"pipelineId" type:"string"` } -// SetProgramNum sets the ProgramNum field's value. -func (s *M2tsSettings) SetProgramNum(v int64) *M2tsSettings { - s.ProgramNum = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MultiplexProgramPipelineDetail) String() string { + return awsutil.Prettify(s) } -// SetRateMode sets the RateMode field's value. -func (s *M2tsSettings) SetRateMode(v string) *M2tsSettings { - s.RateMode = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MultiplexProgramPipelineDetail) GoString() string { + return s.String() } -// SetScte27Pids sets the Scte27Pids field's value. -func (s *M2tsSettings) SetScte27Pids(v string) *M2tsSettings { - s.Scte27Pids = &v +// SetActiveChannelPipeline sets the ActiveChannelPipeline field's value. +func (s *MultiplexProgramPipelineDetail) SetActiveChannelPipeline(v string) *MultiplexProgramPipelineDetail { + s.ActiveChannelPipeline = &v return s } -// SetScte35Control sets the Scte35Control field's value. -func (s *M2tsSettings) SetScte35Control(v string) *M2tsSettings { - s.Scte35Control = &v +// SetPipelineId sets the PipelineId field's value. +func (s *MultiplexProgramPipelineDetail) SetPipelineId(v string) *MultiplexProgramPipelineDetail { + s.PipelineId = &v return s } -// SetScte35Pid sets the Scte35Pid field's value. -func (s *M2tsSettings) SetScte35Pid(v string) *M2tsSettings { - s.Scte35Pid = &v - return s -} +// Transport stream service descriptor configuration for the Multiplex program. +type MultiplexProgramServiceDescriptor struct { + _ struct{} `type:"structure"` -// SetScte35PrerollPullupMilliseconds sets the Scte35PrerollPullupMilliseconds field's value. -func (s *M2tsSettings) SetScte35PrerollPullupMilliseconds(v float64) *M2tsSettings { - s.Scte35PrerollPullupMilliseconds = &v - return s -} + // Name of the provider. + // + // ProviderName is a required field + ProviderName *string `locationName:"providerName" type:"string" required:"true"` -// SetSegmentationMarkers sets the SegmentationMarkers field's value. -func (s *M2tsSettings) SetSegmentationMarkers(v string) *M2tsSettings { - s.SegmentationMarkers = &v - return s + // Name of the service. + // + // ServiceName is a required field + ServiceName *string `locationName:"serviceName" type:"string" required:"true"` } -// SetSegmentationStyle sets the SegmentationStyle field's value. -func (s *M2tsSettings) SetSegmentationStyle(v string) *M2tsSettings { - s.SegmentationStyle = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MultiplexProgramServiceDescriptor) String() string { + return awsutil.Prettify(s) } -// SetSegmentationTime sets the SegmentationTime field's value. -func (s *M2tsSettings) SetSegmentationTime(v float64) *M2tsSettings { - s.SegmentationTime = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MultiplexProgramServiceDescriptor) GoString() string { + return s.String() } -// SetTimedMetadataBehavior sets the TimedMetadataBehavior field's value. -func (s *M2tsSettings) SetTimedMetadataBehavior(v string) *M2tsSettings { - s.TimedMetadataBehavior = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *MultiplexProgramServiceDescriptor) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MultiplexProgramServiceDescriptor"} + if s.ProviderName == nil { + invalidParams.Add(request.NewErrParamRequired("ProviderName")) + } + if s.ServiceName == nil { + invalidParams.Add(request.NewErrParamRequired("ServiceName")) + } -// SetTimedMetadataPid sets the TimedMetadataPid field's value. -func (s *M2tsSettings) SetTimedMetadataPid(v string) *M2tsSettings { - s.TimedMetadataPid = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetTransportStreamId sets the TransportStreamId field's value. -func (s *M2tsSettings) SetTransportStreamId(v int64) *M2tsSettings { - s.TransportStreamId = &v +// SetProviderName sets the ProviderName field's value. +func (s *MultiplexProgramServiceDescriptor) SetProviderName(v string) *MultiplexProgramServiceDescriptor { + s.ProviderName = &v return s } -// SetVideoPid sets the VideoPid field's value. -func (s *M2tsSettings) SetVideoPid(v string) *M2tsSettings { - s.VideoPid = &v +// SetServiceName sets the ServiceName field's value. +func (s *MultiplexProgramServiceDescriptor) SetServiceName(v string) *MultiplexProgramServiceDescriptor { + s.ServiceName = &v return s } -// Settings information for the .m3u8 container -type M3u8Settings struct { +// Multiplex Program settings configuration. +type MultiplexProgramSettings struct { _ struct{} `type:"structure"` - // The number of audio frames to insert for each PES packet. - AudioFramesPerPes *int64 `locationName:"audioFramesPerPes" type:"integer"` - - // Packet Identifier (PID) of the elementary audio stream(s) in the transport - // stream. Multiple values are accepted, and can be entered in ranges and/or - // by comma separation. Can be entered as decimal or hexadecimal values. - AudioPids *string `locationName:"audioPids" type:"string"` - - // This parameter is unused and deprecated. - EcmPid *string `locationName:"ecmPid" type:"string"` - - // If set to passthrough, passes any KLV data from the input source to this - // output. - KlvBehavior *string `locationName:"klvBehavior" type:"string" enum:"M3u8KlvBehavior"` - - // Packet Identifier (PID) for input source KLV data to this output. Multiple - // values are accepted, and can be entered in ranges and/or by comma separation. - // Can be entered as decimal or hexadecimal values. Each PID specified must - // be in the range of 32 (or 0x20)..8182 (or 0x1ff6). - KlvDataPids *string `locationName:"klvDataPids" type:"string"` - - // If set to passthrough, Nielsen inaudible tones for media tracking will be - // detected in the input audio and an equivalent ID3 tag will be inserted in - // the output. - NielsenId3Behavior *string `locationName:"nielsenId3Behavior" type:"string" enum:"M3u8NielsenId3Behavior"` - - // The number of milliseconds between instances of this table in the output - // transport stream. A value of \"0\" writes out the PMT once per segment file. - PatInterval *int64 `locationName:"patInterval" type:"integer"` - - // When set to pcrEveryPesPacket, a Program Clock Reference value is inserted - // for every Packetized Elementary Stream (PES) header. This parameter is effective - // only when the PCR PID is the same as the video or audio elementary stream. - PcrControl *string `locationName:"pcrControl" type:"string" enum:"M3u8PcrControl"` - - // Maximum time in milliseconds between Program Clock References (PCRs) inserted - // into the transport stream. - PcrPeriod *int64 `locationName:"pcrPeriod" type:"integer"` - - // Packet Identifier (PID) of the Program Clock Reference (PCR) in the transport - // stream. When no value is given, the encoder will assign the same value as - // the Video PID. Can be entered as a decimal or hexadecimal value. - PcrPid *string `locationName:"pcrPid" type:"string"` - - // The number of milliseconds between instances of this table in the output - // transport stream. A value of \"0\" writes out the PMT once per segment file. - PmtInterval *int64 `locationName:"pmtInterval" type:"integer"` - - // Packet Identifier (PID) for the Program Map Table (PMT) in the transport - // stream. Can be entered as a decimal or hexadecimal value. - PmtPid *string `locationName:"pmtPid" type:"string"` - - // The value of the program number field in the Program Map Table. - ProgramNum *int64 `locationName:"programNum" type:"integer"` - - // If set to passthrough, passes any SCTE-35 signals from the input source to - // this output. - Scte35Behavior *string `locationName:"scte35Behavior" type:"string" enum:"M3u8Scte35Behavior"` - - // Packet Identifier (PID) of the SCTE-35 stream in the transport stream. Can - // be entered as a decimal or hexadecimal value. - Scte35Pid *string `locationName:"scte35Pid" type:"string"` - - // When set to passthrough, timed metadata is passed through from input to output. - TimedMetadataBehavior *string `locationName:"timedMetadataBehavior" type:"string" enum:"M3u8TimedMetadataBehavior"` + // Indicates which pipeline is preferred by the multiplex for program ingest. + PreferredChannelPipeline *string `locationName:"preferredChannelPipeline" type:"string" enum:"PreferredChannelPipeline"` - // Packet Identifier (PID) of the timed metadata stream in the transport stream. - // Can be entered as a decimal or hexadecimal value. Valid values are 32 (or - // 0x20)..8182 (or 0x1ff6). - TimedMetadataPid *string `locationName:"timedMetadataPid" type:"string"` + // Unique program number. + // + // ProgramNumber is a required field + ProgramNumber *int64 `locationName:"programNumber" type:"integer" required:"true"` - // The value of the transport stream ID field in the Program Map Table. - TransportStreamId *int64 `locationName:"transportStreamId" type:"integer"` + // Transport stream service descriptor configuration for the Multiplex program. + ServiceDescriptor *MultiplexProgramServiceDescriptor `locationName:"serviceDescriptor" type:"structure"` - // Packet Identifier (PID) of the elementary video stream in the transport stream. - // Can be entered as a decimal or hexadecimal value. - VideoPid *string `locationName:"videoPid" type:"string"` + // Program video settings configuration. + VideoSettings *MultiplexVideoSettings `locationName:"videoSettings" type:"structure"` } // String returns the string representation. @@ -23978,7 +32085,7 @@ type M3u8Settings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s M3u8Settings) String() string { +func (s MultiplexProgramSettings) String() string { return awsutil.Prettify(s) } @@ -23987,134 +32094,188 @@ func (s M3u8Settings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s M3u8Settings) GoString() string { +func (s MultiplexProgramSettings) GoString() string { return s.String() } -// SetAudioFramesPerPes sets the AudioFramesPerPes field's value. -func (s *M3u8Settings) SetAudioFramesPerPes(v int64) *M3u8Settings { - s.AudioFramesPerPes = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *MultiplexProgramSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MultiplexProgramSettings"} + if s.ProgramNumber == nil { + invalidParams.Add(request.NewErrParamRequired("ProgramNumber")) + } + if s.ServiceDescriptor != nil { + if err := s.ServiceDescriptor.Validate(); err != nil { + invalidParams.AddNested("ServiceDescriptor", err.(request.ErrInvalidParams)) + } + } + if s.VideoSettings != nil { + if err := s.VideoSettings.Validate(); err != nil { + invalidParams.AddNested("VideoSettings", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetAudioPids sets the AudioPids field's value. -func (s *M3u8Settings) SetAudioPids(v string) *M3u8Settings { - s.AudioPids = &v +// SetPreferredChannelPipeline sets the PreferredChannelPipeline field's value. +func (s *MultiplexProgramSettings) SetPreferredChannelPipeline(v string) *MultiplexProgramSettings { + s.PreferredChannelPipeline = &v return s } -// SetEcmPid sets the EcmPid field's value. -func (s *M3u8Settings) SetEcmPid(v string) *M3u8Settings { - s.EcmPid = &v +// SetProgramNumber sets the ProgramNumber field's value. +func (s *MultiplexProgramSettings) SetProgramNumber(v int64) *MultiplexProgramSettings { + s.ProgramNumber = &v return s } -// SetKlvBehavior sets the KlvBehavior field's value. -func (s *M3u8Settings) SetKlvBehavior(v string) *M3u8Settings { - s.KlvBehavior = &v +// SetServiceDescriptor sets the ServiceDescriptor field's value. +func (s *MultiplexProgramSettings) SetServiceDescriptor(v *MultiplexProgramServiceDescriptor) *MultiplexProgramSettings { + s.ServiceDescriptor = v return s } -// SetKlvDataPids sets the KlvDataPids field's value. -func (s *M3u8Settings) SetKlvDataPids(v string) *M3u8Settings { - s.KlvDataPids = &v +// SetVideoSettings sets the VideoSettings field's value. +func (s *MultiplexProgramSettings) SetVideoSettings(v *MultiplexVideoSettings) *MultiplexProgramSettings { + s.VideoSettings = v return s } -// SetNielsenId3Behavior sets the NielsenId3Behavior field's value. -func (s *M3u8Settings) SetNielsenId3Behavior(v string) *M3u8Settings { - s.NielsenId3Behavior = &v - return s +type MultiplexProgramSummary struct { + _ struct{} `type:"structure"` + + // The MediaLive Channel associated with the program. + ChannelId *string `locationName:"channelId" type:"string"` + + // The name of the multiplex program. + ProgramName *string `locationName:"programName" type:"string"` } -// SetPatInterval sets the PatInterval field's value. -func (s *M3u8Settings) SetPatInterval(v int64) *M3u8Settings { - s.PatInterval = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MultiplexProgramSummary) String() string { + return awsutil.Prettify(s) } -// SetPcrControl sets the PcrControl field's value. -func (s *M3u8Settings) SetPcrControl(v string) *M3u8Settings { - s.PcrControl = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MultiplexProgramSummary) GoString() string { + return s.String() } -// SetPcrPeriod sets the PcrPeriod field's value. -func (s *M3u8Settings) SetPcrPeriod(v int64) *M3u8Settings { - s.PcrPeriod = &v +// SetChannelId sets the ChannelId field's value. +func (s *MultiplexProgramSummary) SetChannelId(v string) *MultiplexProgramSummary { + s.ChannelId = &v return s } -// SetPcrPid sets the PcrPid field's value. -func (s *M3u8Settings) SetPcrPid(v string) *M3u8Settings { - s.PcrPid = &v +// SetProgramName sets the ProgramName field's value. +func (s *MultiplexProgramSummary) SetProgramName(v string) *MultiplexProgramSummary { + s.ProgramName = &v return s } -// SetPmtInterval sets the PmtInterval field's value. -func (s *M3u8Settings) SetPmtInterval(v int64) *M3u8Settings { - s.PmtInterval = &v - return s +// Contains configuration for a Multiplex event +type MultiplexSettings struct { + _ struct{} `type:"structure"` + + // Maximum video buffer delay in milliseconds. + MaximumVideoBufferDelayMilliseconds *int64 `locationName:"maximumVideoBufferDelayMilliseconds" min:"800" type:"integer"` + + // Transport stream bit rate. + // + // TransportStreamBitrate is a required field + TransportStreamBitrate *int64 `locationName:"transportStreamBitrate" min:"1e+06" type:"integer" required:"true"` + + // Transport stream ID. + // + // TransportStreamId is a required field + TransportStreamId *int64 `locationName:"transportStreamId" type:"integer" required:"true"` + + // Transport stream reserved bit rate. + TransportStreamReservedBitrate *int64 `locationName:"transportStreamReservedBitrate" type:"integer"` } -// SetPmtPid sets the PmtPid field's value. -func (s *M3u8Settings) SetPmtPid(v string) *M3u8Settings { - s.PmtPid = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MultiplexSettings) String() string { + return awsutil.Prettify(s) } -// SetProgramNum sets the ProgramNum field's value. -func (s *M3u8Settings) SetProgramNum(v int64) *M3u8Settings { - s.ProgramNum = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MultiplexSettings) GoString() string { + return s.String() } -// SetScte35Behavior sets the Scte35Behavior field's value. -func (s *M3u8Settings) SetScte35Behavior(v string) *M3u8Settings { - s.Scte35Behavior = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *MultiplexSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MultiplexSettings"} + if s.MaximumVideoBufferDelayMilliseconds != nil && *s.MaximumVideoBufferDelayMilliseconds < 800 { + invalidParams.Add(request.NewErrParamMinValue("MaximumVideoBufferDelayMilliseconds", 800)) + } + if s.TransportStreamBitrate == nil { + invalidParams.Add(request.NewErrParamRequired("TransportStreamBitrate")) + } + if s.TransportStreamBitrate != nil && *s.TransportStreamBitrate < 1e+06 { + invalidParams.Add(request.NewErrParamMinValue("TransportStreamBitrate", 1e+06)) + } + if s.TransportStreamId == nil { + invalidParams.Add(request.NewErrParamRequired("TransportStreamId")) + } -// SetScte35Pid sets the Scte35Pid field's value. -func (s *M3u8Settings) SetScte35Pid(v string) *M3u8Settings { - s.Scte35Pid = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetTimedMetadataBehavior sets the TimedMetadataBehavior field's value. -func (s *M3u8Settings) SetTimedMetadataBehavior(v string) *M3u8Settings { - s.TimedMetadataBehavior = &v +// SetMaximumVideoBufferDelayMilliseconds sets the MaximumVideoBufferDelayMilliseconds field's value. +func (s *MultiplexSettings) SetMaximumVideoBufferDelayMilliseconds(v int64) *MultiplexSettings { + s.MaximumVideoBufferDelayMilliseconds = &v return s } -// SetTimedMetadataPid sets the TimedMetadataPid field's value. -func (s *M3u8Settings) SetTimedMetadataPid(v string) *M3u8Settings { - s.TimedMetadataPid = &v +// SetTransportStreamBitrate sets the TransportStreamBitrate field's value. +func (s *MultiplexSettings) SetTransportStreamBitrate(v int64) *MultiplexSettings { + s.TransportStreamBitrate = &v return s } // SetTransportStreamId sets the TransportStreamId field's value. -func (s *M3u8Settings) SetTransportStreamId(v int64) *M3u8Settings { +func (s *MultiplexSettings) SetTransportStreamId(v int64) *MultiplexSettings { s.TransportStreamId = &v return s } -// SetVideoPid sets the VideoPid field's value. -func (s *M3u8Settings) SetVideoPid(v string) *M3u8Settings { - s.VideoPid = &v +// SetTransportStreamReservedBitrate sets the TransportStreamReservedBitrate field's value. +func (s *MultiplexSettings) SetTransportStreamReservedBitrate(v int64) *MultiplexSettings { + s.TransportStreamReservedBitrate = &v return s } -type MaintenanceCreateSettings struct { +// Contains summary configuration for a Multiplex event. +type MultiplexSettingsSummary struct { _ struct{} `type:"structure"` - // Choose one day of the week for maintenance. The chosen day is used for all - // future maintenance windows. - MaintenanceDay *string `locationName:"maintenanceDay" type:"string" enum:"MaintenanceDay"` - - // Choose the hour that maintenance will start. The chosen time is used for - // all future maintenance windows. - MaintenanceStartTime *string `locationName:"maintenanceStartTime" type:"string"` + // Transport stream bit rate. + TransportStreamBitrate *int64 `locationName:"transportStreamBitrate" min:"1e+06" type:"integer"` } // String returns the string representation. @@ -24122,7 +32283,7 @@ type MaintenanceCreateSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MaintenanceCreateSettings) String() string { +func (s MultiplexSettingsSummary) String() string { return awsutil.Prettify(s) } @@ -24131,37 +32292,32 @@ func (s MaintenanceCreateSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MaintenanceCreateSettings) GoString() string { +func (s MultiplexSettingsSummary) GoString() string { return s.String() } -// SetMaintenanceDay sets the MaintenanceDay field's value. -func (s *MaintenanceCreateSettings) SetMaintenanceDay(v string) *MaintenanceCreateSettings { - s.MaintenanceDay = &v - return s -} - -// SetMaintenanceStartTime sets the MaintenanceStartTime field's value. -func (s *MaintenanceCreateSettings) SetMaintenanceStartTime(v string) *MaintenanceCreateSettings { - s.MaintenanceStartTime = &v +// SetTransportStreamBitrate sets the TransportStreamBitrate field's value. +func (s *MultiplexSettingsSummary) SetTransportStreamBitrate(v int64) *MultiplexSettingsSummary { + s.TransportStreamBitrate = &v return s } -type MaintenanceStatus struct { +// Statmux rate control settings +type MultiplexStatmuxVideoSettings struct { _ struct{} `type:"structure"` - // The currently selected maintenance day. - MaintenanceDay *string `locationName:"maintenanceDay" type:"string" enum:"MaintenanceDay"` - - // Maintenance is required by the displayed date and time. Date and time is - // in ISO. - MaintenanceDeadline *string `locationName:"maintenanceDeadline" type:"string"` + // Maximum statmux bitrate. + MaximumBitrate *int64 `locationName:"maximumBitrate" min:"100000" type:"integer"` - // The currently scheduled maintenance date and time. Date and time is in ISO. - MaintenanceScheduledDate *string `locationName:"maintenanceScheduledDate" type:"string"` + // Minimum statmux bitrate. + MinimumBitrate *int64 `locationName:"minimumBitrate" min:"100000" type:"integer"` - // The currently selected maintenance start time. Time is in UTC. - MaintenanceStartTime *string `locationName:"maintenanceStartTime" type:"string"` + // The purpose of the priority is to use a combination of the\nmultiplex rate + // control algorithm and the QVBR capability of the\nencoder to prioritize the + // video quality of some channels in a\nmultiplex over others. Channels that + // have a higher priority will\nget higher video quality at the expense of the + // video quality of\nother channels in the multiplex with lower priority. + Priority *int64 `locationName:"priority" type:"integer"` } // String returns the string representation. @@ -24169,7 +32325,7 @@ type MaintenanceStatus struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MaintenanceStatus) String() string { +func (s MultiplexStatmuxVideoSettings) String() string { return awsutil.Prettify(s) } @@ -24178,48 +32334,76 @@ func (s MaintenanceStatus) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MaintenanceStatus) GoString() string { +func (s MultiplexStatmuxVideoSettings) GoString() string { return s.String() } -// SetMaintenanceDay sets the MaintenanceDay field's value. -func (s *MaintenanceStatus) SetMaintenanceDay(v string) *MaintenanceStatus { - s.MaintenanceDay = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *MultiplexStatmuxVideoSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MultiplexStatmuxVideoSettings"} + if s.MaximumBitrate != nil && *s.MaximumBitrate < 100000 { + invalidParams.Add(request.NewErrParamMinValue("MaximumBitrate", 100000)) + } + if s.MinimumBitrate != nil && *s.MinimumBitrate < 100000 { + invalidParams.Add(request.NewErrParamMinValue("MinimumBitrate", 100000)) + } + if s.Priority != nil && *s.Priority < -5 { + invalidParams.Add(request.NewErrParamMinValue("Priority", -5)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetMaintenanceDeadline sets the MaintenanceDeadline field's value. -func (s *MaintenanceStatus) SetMaintenanceDeadline(v string) *MaintenanceStatus { - s.MaintenanceDeadline = &v +// SetMaximumBitrate sets the MaximumBitrate field's value. +func (s *MultiplexStatmuxVideoSettings) SetMaximumBitrate(v int64) *MultiplexStatmuxVideoSettings { + s.MaximumBitrate = &v return s } -// SetMaintenanceScheduledDate sets the MaintenanceScheduledDate field's value. -func (s *MaintenanceStatus) SetMaintenanceScheduledDate(v string) *MaintenanceStatus { - s.MaintenanceScheduledDate = &v +// SetMinimumBitrate sets the MinimumBitrate field's value. +func (s *MultiplexStatmuxVideoSettings) SetMinimumBitrate(v int64) *MultiplexStatmuxVideoSettings { + s.MinimumBitrate = &v return s } -// SetMaintenanceStartTime sets the MaintenanceStartTime field's value. -func (s *MaintenanceStatus) SetMaintenanceStartTime(v string) *MaintenanceStatus { - s.MaintenanceStartTime = &v +// SetPriority sets the Priority field's value. +func (s *MultiplexStatmuxVideoSettings) SetPriority(v int64) *MultiplexStatmuxVideoSettings { + s.Priority = &v return s } -type MaintenanceUpdateSettings struct { +type MultiplexSummary struct { _ struct{} `type:"structure"` - // Choose one day of the week for maintenance. The chosen day is used for all - // future maintenance windows. - MaintenanceDay *string `locationName:"maintenanceDay" type:"string" enum:"MaintenanceDay"` + // The unique arn of the multiplex. + Arn *string `locationName:"arn" type:"string"` - // Choose a specific date for maintenance to occur. The chosen date is used - // for the next maintenance window only. - MaintenanceScheduledDate *string `locationName:"maintenanceScheduledDate" type:"string"` + // A list of availability zones for the multiplex. + AvailabilityZones []*string `locationName:"availabilityZones" type:"list"` - // Choose the hour that maintenance will start. The chosen time is used for - // all future maintenance windows. - MaintenanceStartTime *string `locationName:"maintenanceStartTime" type:"string"` + // The unique id of the multiplex. + Id *string `locationName:"id" type:"string"` + + // Configuration for a multiplex event. + MultiplexSettings *MultiplexSettingsSummary `locationName:"multiplexSettings" type:"structure"` + + // The name of the multiplex. + Name *string `locationName:"name" type:"string"` + + // The number of currently healthy pipelines. + PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` + + // The number of programs in the multiplex. + ProgramCount *int64 `locationName:"programCount" type:"integer"` + + // The current state of the multiplex. + State *string `locationName:"state" type:"string" enum:"MultiplexState"` + + // A collection of key-value pairs. + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -24227,7 +32411,7 @@ type MaintenanceUpdateSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MaintenanceUpdateSettings) String() string { +func (s MultiplexSummary) String() string { return awsutil.Prettify(s) } @@ -24236,66 +32420,75 @@ func (s MaintenanceUpdateSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MaintenanceUpdateSettings) GoString() string { +func (s MultiplexSummary) GoString() string { return s.String() } -// SetMaintenanceDay sets the MaintenanceDay field's value. -func (s *MaintenanceUpdateSettings) SetMaintenanceDay(v string) *MaintenanceUpdateSettings { - s.MaintenanceDay = &v +// SetArn sets the Arn field's value. +func (s *MultiplexSummary) SetArn(v string) *MultiplexSummary { + s.Arn = &v return s } -// SetMaintenanceScheduledDate sets the MaintenanceScheduledDate field's value. -func (s *MaintenanceUpdateSettings) SetMaintenanceScheduledDate(v string) *MaintenanceUpdateSettings { - s.MaintenanceScheduledDate = &v +// SetAvailabilityZones sets the AvailabilityZones field's value. +func (s *MultiplexSummary) SetAvailabilityZones(v []*string) *MultiplexSummary { + s.AvailabilityZones = v return s } -// SetMaintenanceStartTime sets the MaintenanceStartTime field's value. -func (s *MaintenanceUpdateSettings) SetMaintenanceStartTime(v string) *MaintenanceUpdateSettings { - s.MaintenanceStartTime = &v +// SetId sets the Id field's value. +func (s *MultiplexSummary) SetId(v string) *MultiplexSummary { + s.Id = &v return s } -// The settings for a MediaConnect Flow. -type MediaConnectFlow struct { - _ struct{} `type:"structure"` +// SetMultiplexSettings sets the MultiplexSettings field's value. +func (s *MultiplexSummary) SetMultiplexSettings(v *MultiplexSettingsSummary) *MultiplexSummary { + s.MultiplexSettings = v + return s +} - // The unique ARN of the MediaConnect Flow being used as a source. - FlowArn *string `locationName:"flowArn" type:"string"` +// SetName sets the Name field's value. +func (s *MultiplexSummary) SetName(v string) *MultiplexSummary { + s.Name = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s MediaConnectFlow) String() string { - return awsutil.Prettify(s) +// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. +func (s *MultiplexSummary) SetPipelinesRunningCount(v int64) *MultiplexSummary { + s.PipelinesRunningCount = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s MediaConnectFlow) GoString() string { - return s.String() +// SetProgramCount sets the ProgramCount field's value. +func (s *MultiplexSummary) SetProgramCount(v int64) *MultiplexSummary { + s.ProgramCount = &v + return s } -// SetFlowArn sets the FlowArn field's value. -func (s *MediaConnectFlow) SetFlowArn(v string) *MediaConnectFlow { - s.FlowArn = &v +// SetState sets the State field's value. +func (s *MultiplexSummary) SetState(v string) *MultiplexSummary { + s.State = &v return s } -// The settings for a MediaConnect Flow. -type MediaConnectFlowRequest struct { +// SetTags sets the Tags field's value. +func (s *MultiplexSummary) SetTags(v map[string]*string) *MultiplexSummary { + s.Tags = v + return s +} + +// The video configuration for each program in a multiplex. +type MultiplexVideoSettings struct { _ struct{} `type:"structure"` - // The ARN of the MediaConnect Flow that you want to use as a source. - FlowArn *string `locationName:"flowArn" type:"string"` + // The constant bitrate configuration for the video encode.When this field is + // defined, StatmuxSettings must be undefined. + ConstantBitrate *int64 `locationName:"constantBitrate" min:"100000" type:"integer"` + + // Statmux rate control settings.When this field is defined, ConstantBitrate + // must be undefined. + StatmuxSettings *MultiplexStatmuxVideoSettings `locationName:"statmuxSettings" type:"structure"` } // String returns the string representation. @@ -24303,7 +32496,7 @@ type MediaConnectFlowRequest struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MediaConnectFlowRequest) String() string { +func (s MultiplexVideoSettings) String() string { return awsutil.Prettify(s) } @@ -24312,24 +32505,55 @@ func (s MediaConnectFlowRequest) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MediaConnectFlowRequest) GoString() string { +func (s MultiplexVideoSettings) GoString() string { return s.String() } -// SetFlowArn sets the FlowArn field's value. -func (s *MediaConnectFlowRequest) SetFlowArn(v string) *MediaConnectFlowRequest { - s.FlowArn = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *MultiplexVideoSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MultiplexVideoSettings"} + if s.ConstantBitrate != nil && *s.ConstantBitrate < 100000 { + invalidParams.Add(request.NewErrParamMinValue("ConstantBitrate", 100000)) + } + if s.StatmuxSettings != nil { + if err := s.StatmuxSettings.Validate(); err != nil { + invalidParams.AddNested("StatmuxSettings", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConstantBitrate sets the ConstantBitrate field's value. +func (s *MultiplexVideoSettings) SetConstantBitrate(v int64) *MultiplexVideoSettings { + s.ConstantBitrate = &v return s } -// Media Package Group Settings -type MediaPackageGroupSettings struct { +// SetStatmuxSettings sets the StatmuxSettings field's value. +func (s *MultiplexVideoSettings) SetStatmuxSettings(v *MultiplexStatmuxVideoSettings) *MultiplexVideoSettings { + s.StatmuxSettings = v + return s +} + +// Network source to transcode. Must be accessible to the Elemental Live node +// that is running the live event through a network connection. +type NetworkInputSettings struct { _ struct{} `type:"structure"` - // MediaPackage channel destination. - // - // Destination is a required field - Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` + // Specifies HLS input settings when the uri is for a HLS manifest. + HlsInputSettings *HlsInputSettings `locationName:"hlsInputSettings" type:"structure"` + + // Check HTTPS server certificates. When set to checkCryptographyOnly, cryptography + // in the certificate will be checked, but not the server's name. Certain subdomains + // (notably S3 buckets that use dots in the bucket name) do not strictly match + // the corresponding certificate's wildcard pattern and would otherwise cause + // the event to error. This setting is ignored for protocols that do not use + // https. + ServerValidation *string `locationName:"serverValidation" type:"string" enum:"NetworkInputServerValidation"` } // String returns the string representation. @@ -24337,7 +32561,7 @@ type MediaPackageGroupSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MediaPackageGroupSettings) String() string { +func (s NetworkInputSettings) String() string { return awsutil.Prettify(s) } @@ -24346,39 +32570,41 @@ func (s MediaPackageGroupSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MediaPackageGroupSettings) GoString() string { +func (s NetworkInputSettings) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *MediaPackageGroupSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "MediaPackageGroupSettings"} - if s.Destination == nil { - invalidParams.Add(request.NewErrParamRequired("Destination")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetHlsInputSettings sets the HlsInputSettings field's value. +func (s *NetworkInputSettings) SetHlsInputSettings(v *HlsInputSettings) *NetworkInputSettings { + s.HlsInputSettings = v + return s } -// SetDestination sets the Destination field's value. -func (s *MediaPackageGroupSettings) SetDestination(v *OutputLocationRef) *MediaPackageGroupSettings { - s.Destination = v +// SetServerValidation sets the ServerValidation field's value. +func (s *NetworkInputSettings) SetServerValidation(v string) *NetworkInputSettings { + s.ServerValidation = &v return s } -// MediaPackage Output Destination Settings -type MediaPackageOutputDestinationSettings struct { +// Nielsen CBET +type NielsenCBET struct { _ struct{} `type:"structure"` - // ID of the channel in MediaPackage that is the destination for this output - // group. You do not need to specify the individual inputs in MediaPackage; - // MediaLive will handle the connection of the two MediaLive pipelines to the - // two MediaPackage inputs. The MediaPackage channel and MediaLive channel must - // be in the same region. - ChannelId *string `locationName:"channelId" min:"1" type:"string"` + // Enter the CBET check digits to use in the watermark. + // + // CbetCheckDigitString is a required field + CbetCheckDigitString *string `locationName:"cbetCheckDigitString" min:"2" type:"string" required:"true"` + + // Determines the method of CBET insertion mode when prior encoding is detected + // on the same layer. + // + // CbetStepaside is a required field + CbetStepaside *string `locationName:"cbetStepaside" type:"string" required:"true" enum:"NielsenWatermarksCbetStepaside"` + + // Enter the CBET Source ID (CSID) to use in the watermark + // + // Csid is a required field + Csid *string `locationName:"csid" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -24386,7 +32612,7 @@ type MediaPackageOutputDestinationSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MediaPackageOutputDestinationSettings) String() string { +func (s NielsenCBET) String() string { return awsutil.Prettify(s) } @@ -24395,15 +32621,27 @@ func (s MediaPackageOutputDestinationSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MediaPackageOutputDestinationSettings) GoString() string { +func (s NielsenCBET) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *MediaPackageOutputDestinationSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "MediaPackageOutputDestinationSettings"} - if s.ChannelId != nil && len(*s.ChannelId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) +func (s *NielsenCBET) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "NielsenCBET"} + if s.CbetCheckDigitString == nil { + invalidParams.Add(request.NewErrParamRequired("CbetCheckDigitString")) + } + if s.CbetCheckDigitString != nil && len(*s.CbetCheckDigitString) < 2 { + invalidParams.Add(request.NewErrParamMinLen("CbetCheckDigitString", 2)) + } + if s.CbetStepaside == nil { + invalidParams.Add(request.NewErrParamRequired("CbetStepaside")) + } + if s.Csid == nil { + invalidParams.Add(request.NewErrParamRequired("Csid")) + } + if s.Csid != nil && len(*s.Csid) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Csid", 1)) } if invalidParams.Len() > 0 { @@ -24412,15 +32650,33 @@ func (s *MediaPackageOutputDestinationSettings) Validate() error { return nil } -// SetChannelId sets the ChannelId field's value. -func (s *MediaPackageOutputDestinationSettings) SetChannelId(v string) *MediaPackageOutputDestinationSettings { - s.ChannelId = &v +// SetCbetCheckDigitString sets the CbetCheckDigitString field's value. +func (s *NielsenCBET) SetCbetCheckDigitString(v string) *NielsenCBET { + s.CbetCheckDigitString = &v return s } -// Media Package Output Settings -type MediaPackageOutputSettings struct { +// SetCbetStepaside sets the CbetStepaside field's value. +func (s *NielsenCBET) SetCbetStepaside(v string) *NielsenCBET { + s.CbetStepaside = &v + return s +} + +// SetCsid sets the Csid field's value. +func (s *NielsenCBET) SetCsid(v string) *NielsenCBET { + s.Csid = &v + return s +} + +// Nielsen Configuration +type NielsenConfiguration struct { _ struct{} `type:"structure"` + + // Enter the Distributor ID assigned to your organization by Nielsen. + DistributorId *string `locationName:"distributorId" type:"string"` + + // Enables Nielsen PCM to ID3 tagging + NielsenPcmToId3Tagging *string `locationName:"nielsenPcmToId3Tagging" type:"string" enum:"NielsenPcmToId3TaggingState"` } // String returns the string representation. @@ -24428,7 +32684,7 @@ type MediaPackageOutputSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MediaPackageOutputSettings) String() string { +func (s NielsenConfiguration) String() string { return awsutil.Prettify(s) } @@ -24437,29 +32693,39 @@ func (s MediaPackageOutputSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MediaPackageOutputSettings) GoString() string { +func (s NielsenConfiguration) GoString() string { return s.String() } -// Settings to specify the rendering of motion graphics into the video stream. -type MotionGraphicsActivateScheduleActionSettings struct { - _ struct{} `type:"structure"` +// SetDistributorId sets the DistributorId field's value. +func (s *NielsenConfiguration) SetDistributorId(v string) *NielsenConfiguration { + s.DistributorId = &v + return s +} - // Duration (in milliseconds) that motion graphics should render on to the video - // stream. Leaving out this property or setting to 0 will result in rendering - // continuing until a deactivate action is processed. - Duration *int64 `locationName:"duration" type:"long"` +// SetNielsenPcmToId3Tagging sets the NielsenPcmToId3Tagging field's value. +func (s *NielsenConfiguration) SetNielsenPcmToId3Tagging(v string) *NielsenConfiguration { + s.NielsenPcmToId3Tagging = &v + return s +} - // Key used to extract the password from EC2 Parameter store - PasswordParam *string `locationName:"passwordParam" type:"string"` +// Nielsen Naes Ii Nw +type NielsenNaesIiNw struct { + _ struct{} `type:"structure"` - // URI of the HTML5 content to be rendered into the live stream. - Url *string `locationName:"url" type:"string"` + // Enter the check digit string for the watermark + // + // CheckDigitString is a required field + CheckDigitString *string `locationName:"checkDigitString" min:"2" type:"string" required:"true"` - // Username if credentials are required to access a file. This must be a reference - // to an AWS parameter store name from which the password can be retrieved. - // AWS Parameter store format: \"ssm://\" - Username *string `locationName:"username" type:"string"` + // Enter the Nielsen Source ID (SID) to include in the watermark + // + // Sid is a required field + Sid *float64 `locationName:"sid" type:"double" required:"true"` + + // Choose the timezone for the time stamps in the watermark. If not provided,the + // timestamps will be in Coordinated Universal Time (UTC) + Timezone *string `locationName:"timezone" type:"string" enum:"NielsenWatermarkTimezones"` } // String returns the string representation. @@ -24467,7 +32733,7 @@ type MotionGraphicsActivateScheduleActionSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MotionGraphicsActivateScheduleActionSettings) String() string { +func (s NielsenNaesIiNw) String() string { return awsutil.Prettify(s) } @@ -24476,45 +32742,62 @@ func (s MotionGraphicsActivateScheduleActionSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MotionGraphicsActivateScheduleActionSettings) GoString() string { +func (s NielsenNaesIiNw) GoString() string { return s.String() } -// SetDuration sets the Duration field's value. -func (s *MotionGraphicsActivateScheduleActionSettings) SetDuration(v int64) *MotionGraphicsActivateScheduleActionSettings { - s.Duration = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *NielsenNaesIiNw) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "NielsenNaesIiNw"} + if s.CheckDigitString == nil { + invalidParams.Add(request.NewErrParamRequired("CheckDigitString")) + } + if s.CheckDigitString != nil && len(*s.CheckDigitString) < 2 { + invalidParams.Add(request.NewErrParamMinLen("CheckDigitString", 2)) + } + if s.Sid == nil { + invalidParams.Add(request.NewErrParamRequired("Sid")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetPasswordParam sets the PasswordParam field's value. -func (s *MotionGraphicsActivateScheduleActionSettings) SetPasswordParam(v string) *MotionGraphicsActivateScheduleActionSettings { - s.PasswordParam = &v +// SetCheckDigitString sets the CheckDigitString field's value. +func (s *NielsenNaesIiNw) SetCheckDigitString(v string) *NielsenNaesIiNw { + s.CheckDigitString = &v return s } -// SetUrl sets the Url field's value. -func (s *MotionGraphicsActivateScheduleActionSettings) SetUrl(v string) *MotionGraphicsActivateScheduleActionSettings { - s.Url = &v +// SetSid sets the Sid field's value. +func (s *NielsenNaesIiNw) SetSid(v float64) *NielsenNaesIiNw { + s.Sid = &v return s } -// SetUsername sets the Username field's value. -func (s *MotionGraphicsActivateScheduleActionSettings) SetUsername(v string) *MotionGraphicsActivateScheduleActionSettings { - s.Username = &v +// SetTimezone sets the Timezone field's value. +func (s *NielsenNaesIiNw) SetTimezone(v string) *NielsenNaesIiNw { + s.Timezone = &v return s } -// Motion Graphics Configuration -type MotionGraphicsConfiguration struct { +// Nielsen Watermarks Settings +type NielsenWatermarksSettings struct { _ struct{} `type:"structure"` - // Motion Graphics Insertion - MotionGraphicsInsertion *string `locationName:"motionGraphicsInsertion" type:"string" enum:"MotionGraphicsInsertion"` + // Complete these fields only if you want to insert watermarks of type Nielsen + // CBET + NielsenCbetSettings *NielsenCBET `locationName:"nielsenCbetSettings" type:"structure"` - // Motion Graphics Settings - // - // MotionGraphicsSettings is a required field - MotionGraphicsSettings *MotionGraphicsSettings `locationName:"motionGraphicsSettings" type:"structure" required:"true"` + // Choose the distribution types that you want to assign to the watermarks:- + // PROGRAM_CONTENT- FINAL_DISTRIBUTOR + NielsenDistributionType *string `locationName:"nielsenDistributionType" type:"string" enum:"NielsenWatermarksDistributionTypes"` + + // Complete these fields only if you want to insert watermarks of type Nielsen + // NAES II (N2) and Nielsen NAES VI (NW). + NielsenNaesIiNwSettings *NielsenNaesIiNw `locationName:"nielsenNaesIiNwSettings" type:"structure"` } // String returns the string representation. @@ -24522,7 +32805,7 @@ type MotionGraphicsConfiguration struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MotionGraphicsConfiguration) String() string { +func (s NielsenWatermarksSettings) String() string { return awsutil.Prettify(s) } @@ -24531,15 +32814,22 @@ func (s MotionGraphicsConfiguration) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MotionGraphicsConfiguration) GoString() string { +func (s NielsenWatermarksSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *MotionGraphicsConfiguration) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "MotionGraphicsConfiguration"} - if s.MotionGraphicsSettings == nil { - invalidParams.Add(request.NewErrParamRequired("MotionGraphicsSettings")) +func (s *NielsenWatermarksSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "NielsenWatermarksSettings"} + if s.NielsenCbetSettings != nil { + if err := s.NielsenCbetSettings.Validate(); err != nil { + invalidParams.AddNested("NielsenCbetSettings", err.(request.ErrInvalidParams)) + } + } + if s.NielsenNaesIiNwSettings != nil { + if err := s.NielsenNaesIiNwSettings.Validate(); err != nil { + invalidParams.AddNested("NielsenNaesIiNwSettings", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -24548,22 +32838,29 @@ func (s *MotionGraphicsConfiguration) Validate() error { return nil } -// SetMotionGraphicsInsertion sets the MotionGraphicsInsertion field's value. -func (s *MotionGraphicsConfiguration) SetMotionGraphicsInsertion(v string) *MotionGraphicsConfiguration { - s.MotionGraphicsInsertion = &v +// SetNielsenCbetSettings sets the NielsenCbetSettings field's value. +func (s *NielsenWatermarksSettings) SetNielsenCbetSettings(v *NielsenCBET) *NielsenWatermarksSettings { + s.NielsenCbetSettings = v return s } -// SetMotionGraphicsSettings sets the MotionGraphicsSettings field's value. -func (s *MotionGraphicsConfiguration) SetMotionGraphicsSettings(v *MotionGraphicsSettings) *MotionGraphicsConfiguration { - s.MotionGraphicsSettings = v +// SetNielsenDistributionType sets the NielsenDistributionType field's value. +func (s *NielsenWatermarksSettings) SetNielsenDistributionType(v string) *NielsenWatermarksSettings { + s.NielsenDistributionType = &v return s } -// Settings to specify the ending of rendering motion graphics into the video -// stream. -type MotionGraphicsDeactivateScheduleActionSettings struct { - _ struct{} `type:"structure"` +// SetNielsenNaesIiNwSettings sets the NielsenNaesIiNwSettings field's value. +func (s *NielsenWatermarksSettings) SetNielsenNaesIiNwSettings(v *NielsenNaesIiNw) *NielsenWatermarksSettings { + s.NielsenNaesIiNwSettings = v + return s +} + +type NotFoundException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation. @@ -24571,7 +32868,7 @@ type MotionGraphicsDeactivateScheduleActionSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MotionGraphicsDeactivateScheduleActionSettings) String() string { +func (s NotFoundException) String() string { return awsutil.Prettify(s) } @@ -24580,16 +32877,85 @@ func (s MotionGraphicsDeactivateScheduleActionSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MotionGraphicsDeactivateScheduleActionSettings) GoString() string { +func (s NotFoundException) GoString() string { return s.String() } -// Motion Graphics Settings -type MotionGraphicsSettings struct { +func newErrorNotFoundException(v protocol.ResponseMetadata) error { + return &NotFoundException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *NotFoundException) Code() string { + return "NotFoundException" +} + +// Message returns the exception's message. +func (s *NotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *NotFoundException) OrigErr() error { + return nil +} + +func (s *NotFoundException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *NotFoundException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *NotFoundException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Reserved resources available for purchase +type Offering struct { _ struct{} `type:"structure"` - // Html Motion Graphics Settings - HtmlMotionGraphicsSettings *HtmlMotionGraphicsSettings `locationName:"htmlMotionGraphicsSettings" type:"structure"` + // Unique offering ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:offering:87654321' + Arn *string `locationName:"arn" type:"string"` + + // Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD' + CurrencyCode *string `locationName:"currencyCode" type:"string"` + + // Lease duration, e.g. '12' + Duration *int64 `locationName:"duration" type:"integer"` + + // Units for duration, e.g. 'MONTHS' + DurationUnits *string `locationName:"durationUnits" type:"string" enum:"OfferingDurationUnits"` + + // One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering + FixedPrice *float64 `locationName:"fixedPrice" type:"double"` + + // Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard + // VQ in US West (Oregon)' + OfferingDescription *string `locationName:"offeringDescription" type:"string"` + + // Unique offering ID, e.g. '87654321' + OfferingId *string `locationName:"offeringId" type:"string"` + + // Offering type, e.g. 'NO_UPFRONT' + OfferingType *string `locationName:"offeringType" type:"string" enum:"OfferingType"` + + // AWS region, e.g. 'us-west-2' + Region *string `locationName:"region" type:"string"` + + // Resource configuration details + ResourceSpecification *ReservationResourceSpecification `locationName:"resourceSpecification" type:"structure"` + + // Recurring usage charge for each reserved resource, e.g. '157.0' + UsagePrice *float64 `locationName:"usagePrice" type:"double"` } // String returns the string representation. @@ -24597,7 +32963,7 @@ type MotionGraphicsSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MotionGraphicsSettings) String() string { +func (s Offering) String() string { return awsutil.Prettify(s) } @@ -24606,73 +32972,96 @@ func (s MotionGraphicsSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MotionGraphicsSettings) GoString() string { +func (s Offering) GoString() string { return s.String() } -// SetHtmlMotionGraphicsSettings sets the HtmlMotionGraphicsSettings field's value. -func (s *MotionGraphicsSettings) SetHtmlMotionGraphicsSettings(v *HtmlMotionGraphicsSettings) *MotionGraphicsSettings { - s.HtmlMotionGraphicsSettings = v +// SetArn sets the Arn field's value. +func (s *Offering) SetArn(v string) *Offering { + s.Arn = &v return s } -// Mp2 Settings -type Mp2Settings struct { - _ struct{} `type:"structure"` +// SetCurrencyCode sets the CurrencyCode field's value. +func (s *Offering) SetCurrencyCode(v string) *Offering { + s.CurrencyCode = &v + return s +} - // Average bitrate in bits/second. - Bitrate *float64 `locationName:"bitrate" type:"double"` +// SetDuration sets the Duration field's value. +func (s *Offering) SetDuration(v int64) *Offering { + s.Duration = &v + return s +} - // The MPEG2 Audio coding mode. Valid values are codingMode10 (for mono) or - // codingMode20 (for stereo). - CodingMode *string `locationName:"codingMode" type:"string" enum:"Mp2CodingMode"` +// SetDurationUnits sets the DurationUnits field's value. +func (s *Offering) SetDurationUnits(v string) *Offering { + s.DurationUnits = &v + return s +} - // Sample rate in Hz. - SampleRate *float64 `locationName:"sampleRate" type:"double"` +// SetFixedPrice sets the FixedPrice field's value. +func (s *Offering) SetFixedPrice(v float64) *Offering { + s.FixedPrice = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s Mp2Settings) String() string { - return awsutil.Prettify(s) +// SetOfferingDescription sets the OfferingDescription field's value. +func (s *Offering) SetOfferingDescription(v string) *Offering { + s.OfferingDescription = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s Mp2Settings) GoString() string { - return s.String() +// SetOfferingId sets the OfferingId field's value. +func (s *Offering) SetOfferingId(v string) *Offering { + s.OfferingId = &v + return s } -// SetBitrate sets the Bitrate field's value. -func (s *Mp2Settings) SetBitrate(v float64) *Mp2Settings { - s.Bitrate = &v +// SetOfferingType sets the OfferingType field's value. +func (s *Offering) SetOfferingType(v string) *Offering { + s.OfferingType = &v return s } -// SetCodingMode sets the CodingMode field's value. -func (s *Mp2Settings) SetCodingMode(v string) *Mp2Settings { - s.CodingMode = &v +// SetRegion sets the Region field's value. +func (s *Offering) SetRegion(v string) *Offering { + s.Region = &v return s } -// SetSampleRate sets the SampleRate field's value. -func (s *Mp2Settings) SetSampleRate(v float64) *Mp2Settings { - s.SampleRate = &v +// SetResourceSpecification sets the ResourceSpecification field's value. +func (s *Offering) SetResourceSpecification(v *ReservationResourceSpecification) *Offering { + s.ResourceSpecification = v return s } -// Mpeg2 Filter Settings -type Mpeg2FilterSettings struct { +// SetUsagePrice sets the UsagePrice field's value. +func (s *Offering) SetUsagePrice(v float64) *Offering { + s.UsagePrice = &v + return s +} + +// Output settings. There can be multiple outputs within a group. +type Output struct { _ struct{} `type:"structure"` - // Temporal Filter Settings - TemporalFilterSettings *TemporalFilterSettings `locationName:"temporalFilterSettings" type:"structure"` + // The names of the AudioDescriptions used as audio sources for this output. + AudioDescriptionNames []*string `locationName:"audioDescriptionNames" type:"list"` + + // The names of the CaptionDescriptions used as caption sources for this output. + CaptionDescriptionNames []*string `locationName:"captionDescriptionNames" type:"list"` + + // The name used to identify an output. + OutputName *string `locationName:"outputName" min:"1" type:"string"` + + // Output type-specific settings. + // + // OutputSettings is a required field + OutputSettings *OutputSettings `locationName:"outputSettings" type:"structure" required:"true"` + + // The name of the VideoDescription used as the source for this output. + VideoDescriptionName *string `locationName:"videoDescriptionName" type:"string"` } // String returns the string representation. @@ -24680,7 +33069,7 @@ type Mpeg2FilterSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Mpeg2FilterSettings) String() string { +func (s Output) String() string { return awsutil.Prettify(s) } @@ -24689,115 +33078,77 @@ func (s Mpeg2FilterSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Mpeg2FilterSettings) GoString() string { +func (s Output) GoString() string { return s.String() } -// SetTemporalFilterSettings sets the TemporalFilterSettings field's value. -func (s *Mpeg2FilterSettings) SetTemporalFilterSettings(v *TemporalFilterSettings) *Mpeg2FilterSettings { - s.TemporalFilterSettings = v - return s -} - -// Mpeg2 Settings -type Mpeg2Settings struct { - _ struct{} `type:"structure"` - - // Choose Off to disable adaptive quantization. Or choose another value to enable - // the quantizer and set its strength. The strengths are: Auto, Off, Low, Medium, - // High. When you enable this field, MediaLive allows intra-frame quantizers - // to vary, which might improve visual quality. - AdaptiveQuantization *string `locationName:"adaptiveQuantization" type:"string" enum:"Mpeg2AdaptiveQuantization"` - - // Indicates the AFD values that MediaLive will write into the video encode. - // If you do not know what AFD signaling is, or if your downstream system has - // not given you guidance, choose AUTO.AUTO: MediaLive will try to preserve - // the input AFD value (in cases where multiple AFD values are valid).FIXED: - // MediaLive will use the value you specify in fixedAFD. - AfdSignaling *string `locationName:"afdSignaling" type:"string" enum:"AfdSignaling"` - - // Specifies whether to include the color space metadata. The metadata describes - // the color space that applies to the video (the colorSpace field). We recommend - // that you insert the metadata. - ColorMetadata *string `locationName:"colorMetadata" type:"string" enum:"Mpeg2ColorMetadata"` - - // Choose the type of color space conversion to apply to the output. For detailed - // information on setting up both the input and the output to obtain the desired - // color space in the output, see the section on \"MediaLive Features - Video - // - color space\" in the MediaLive User Guide.PASSTHROUGH: Keep the color space - // of the input content - do not convert it.AUTO:Convert all content that is - // SD to rec 601, and convert all content that is HD to rec 709. - ColorSpace *string `locationName:"colorSpace" type:"string" enum:"Mpeg2ColorSpace"` - - // Sets the pixel aspect ratio for the encode. - DisplayAspectRatio *string `locationName:"displayAspectRatio" type:"string" enum:"Mpeg2DisplayRatio"` - - // Optionally specify a noise reduction filter, which can improve quality of - // compressed content. If you do not choose a filter, no filter will be applied.TEMPORAL: - // This filter is useful for both source content that is noisy (when it has - // excessive digital artifacts) and source content that is clean.When the content - // is noisy, the filter cleans up the source content before the encoding phase, - // with these two effects: First, it improves the output video quality because - // the content has been cleaned up. Secondly, it decreases the bandwidth because - // MediaLive does not waste bits on encoding noise.When the content is reasonably - // clean, the filter tends to decrease the bitrate. - FilterSettings *Mpeg2FilterSettings `locationName:"filterSettings" type:"structure"` +// Validate inspects the fields of the type to determine if they are valid. +func (s *Output) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Output"} + if s.OutputName != nil && len(*s.OutputName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("OutputName", 1)) + } + if s.OutputSettings == nil { + invalidParams.Add(request.NewErrParamRequired("OutputSettings")) + } + if s.OutputSettings != nil { + if err := s.OutputSettings.Validate(); err != nil { + invalidParams.AddNested("OutputSettings", err.(request.ErrInvalidParams)) + } + } - // Complete this field only when afdSignaling is set to FIXED. Enter the AFD - // value (4 bits) to write on all frames of the video encode. - FixedAfd *string `locationName:"fixedAfd" type:"string" enum:"FixedAfd"` + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} - // description": "The framerate denominator. For example, 1001. The framerate - // is the numerator divided by the denominator. For example, 24000 / 1001 = - // 23.976 FPS. - // - // FramerateDenominator is a required field - FramerateDenominator *int64 `locationName:"framerateDenominator" min:"1" type:"integer" required:"true"` +// SetAudioDescriptionNames sets the AudioDescriptionNames field's value. +func (s *Output) SetAudioDescriptionNames(v []*string) *Output { + s.AudioDescriptionNames = v + return s +} - // The framerate numerator. For example, 24000. The framerate is the numerator - // divided by the denominator. For example, 24000 / 1001 = 23.976 FPS. - // - // FramerateNumerator is a required field - FramerateNumerator *int64 `locationName:"framerateNumerator" min:"1" type:"integer" required:"true"` +// SetCaptionDescriptionNames sets the CaptionDescriptionNames field's value. +func (s *Output) SetCaptionDescriptionNames(v []*string) *Output { + s.CaptionDescriptionNames = v + return s +} - // MPEG2: default is open GOP. - GopClosedCadence *int64 `locationName:"gopClosedCadence" type:"integer"` +// SetOutputName sets the OutputName field's value. +func (s *Output) SetOutputName(v string) *Output { + s.OutputName = &v + return s +} - // Relates to the GOP structure. The number of B-frames between reference frames. - // If you do not know what a B-frame is, use the default. - GopNumBFrames *int64 `locationName:"gopNumBFrames" type:"integer"` +// SetOutputSettings sets the OutputSettings field's value. +func (s *Output) SetOutputSettings(v *OutputSettings) *Output { + s.OutputSettings = v + return s +} - // Relates to the GOP structure. The GOP size (keyframe interval) in the units - // specified in gopSizeUnits. If you do not know what GOP is, use the default.If - // gopSizeUnits is frames, then the gopSize must be an integer and must be greater - // than or equal to 1.If gopSizeUnits is seconds, the gopSize must be greater - // than 0, but does not need to be an integer. - GopSize *float64 `locationName:"gopSize" type:"double"` +// SetVideoDescriptionName sets the VideoDescriptionName field's value. +func (s *Output) SetVideoDescriptionName(v string) *Output { + s.VideoDescriptionName = &v + return s +} - // Relates to the GOP structure. Specifies whether the gopSize is specified - // in frames or seconds. If you do not plan to change the default gopSize, leave - // the default. If you specify SECONDS, MediaLive will internally convert the - // gop size to a frame count. - GopSizeUnits *string `locationName:"gopSizeUnits" type:"string" enum:"Mpeg2GopSizeUnits"` +type OutputDestination struct { + _ struct{} `type:"structure"` - // Set the scan type of the output to PROGRESSIVE or INTERLACED (top field first). - ScanType *string `locationName:"scanType" type:"string" enum:"Mpeg2ScanType"` + // User-specified id. This is used in an output group or an output. + Id *string `locationName:"id" type:"string"` - // Relates to the GOP structure. If you do not know what GOP is, use the default.FIXED: - // Set the number of B-frames in each sub-GOP to the value in gopNumBFrames.DYNAMIC: - // Let MediaLive optimize the number of B-frames in each sub-GOP, to improve - // visual quality. - SubgopLength *string `locationName:"subgopLength" type:"string" enum:"Mpeg2SubGopLength"` + // Destination settings for a MediaPackage output; one destination for both + // encoders. + MediaPackageSettings []*MediaPackageOutputDestinationSettings `locationName:"mediaPackageSettings" type:"list"` - // Timecode burn-in settings - TimecodeBurninSettings *TimecodeBurninSettings `locationName:"timecodeBurninSettings" type:"structure"` + // Destination settings for a Multiplex output; one destination for both encoders. + MultiplexSettings *MultiplexProgramChannelDestinationSettings `locationName:"multiplexSettings" type:"structure"` - // Determines how MediaLive inserts timecodes in the output video. For detailed - // information about setting up the input and the output for a timecode, see - // the section on \"MediaLive Features - Timecode configuration\" in the MediaLive - // User Guide.DISABLED: do not include timecodes.GOP_TIMECODE: Include timecode - // metadata in the GOP header. - TimecodeInsertion *string `locationName:"timecodeInsertion" type:"string" enum:"Mpeg2TimecodeInsertionBehavior"` + // Destination settings for a standard output; one destination for each redundant + // encoder. + Settings []*OutputDestinationSettings `locationName:"settings" type:"list"` } // String returns the string representation. @@ -24805,7 +33156,7 @@ type Mpeg2Settings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Mpeg2Settings) String() string { +func (s OutputDestination) String() string { return awsutil.Prettify(s) } @@ -24814,28 +33165,26 @@ func (s Mpeg2Settings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Mpeg2Settings) GoString() string { +func (s OutputDestination) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *Mpeg2Settings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "Mpeg2Settings"} - if s.FramerateDenominator == nil { - invalidParams.Add(request.NewErrParamRequired("FramerateDenominator")) - } - if s.FramerateDenominator != nil && *s.FramerateDenominator < 1 { - invalidParams.Add(request.NewErrParamMinValue("FramerateDenominator", 1)) - } - if s.FramerateNumerator == nil { - invalidParams.Add(request.NewErrParamRequired("FramerateNumerator")) - } - if s.FramerateNumerator != nil && *s.FramerateNumerator < 1 { - invalidParams.Add(request.NewErrParamMinValue("FramerateNumerator", 1)) +func (s *OutputDestination) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "OutputDestination"} + if s.MediaPackageSettings != nil { + for i, v := range s.MediaPackageSettings { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MediaPackageSettings", i), err.(request.ErrInvalidParams)) + } + } } - if s.TimecodeBurninSettings != nil { - if err := s.TimecodeBurninSettings.Validate(); err != nil { - invalidParams.AddNested("TimecodeBurninSettings", err.(request.ErrInvalidParams)) + if s.MultiplexSettings != nil { + if err := s.MultiplexSettings.Validate(); err != nil { + invalidParams.AddNested("MultiplexSettings", err.(request.ErrInvalidParams)) } } @@ -24845,196 +33194,202 @@ func (s *Mpeg2Settings) Validate() error { return nil } -// SetAdaptiveQuantization sets the AdaptiveQuantization field's value. -func (s *Mpeg2Settings) SetAdaptiveQuantization(v string) *Mpeg2Settings { - s.AdaptiveQuantization = &v +// SetId sets the Id field's value. +func (s *OutputDestination) SetId(v string) *OutputDestination { + s.Id = &v return s } -// SetAfdSignaling sets the AfdSignaling field's value. -func (s *Mpeg2Settings) SetAfdSignaling(v string) *Mpeg2Settings { - s.AfdSignaling = &v +// SetMediaPackageSettings sets the MediaPackageSettings field's value. +func (s *OutputDestination) SetMediaPackageSettings(v []*MediaPackageOutputDestinationSettings) *OutputDestination { + s.MediaPackageSettings = v return s } -// SetColorMetadata sets the ColorMetadata field's value. -func (s *Mpeg2Settings) SetColorMetadata(v string) *Mpeg2Settings { - s.ColorMetadata = &v +// SetMultiplexSettings sets the MultiplexSettings field's value. +func (s *OutputDestination) SetMultiplexSettings(v *MultiplexProgramChannelDestinationSettings) *OutputDestination { + s.MultiplexSettings = v + return s +} + +// SetSettings sets the Settings field's value. +func (s *OutputDestination) SetSettings(v []*OutputDestinationSettings) *OutputDestination { + s.Settings = v return s } -// SetColorSpace sets the ColorSpace field's value. -func (s *Mpeg2Settings) SetColorSpace(v string) *Mpeg2Settings { - s.ColorSpace = &v - return s +type OutputDestinationSettings struct { + _ struct{} `type:"structure"` + + // key used to extract the password from EC2 Parameter store + PasswordParam *string `locationName:"passwordParam" type:"string"` + + // Stream name for RTMP destinations (URLs of type rtmp://) + StreamName *string `locationName:"streamName" type:"string"` + + // A URL specifying a destination + Url *string `locationName:"url" type:"string"` + + // username for destination + Username *string `locationName:"username" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s OutputDestinationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s OutputDestinationSettings) GoString() string { + return s.String() } -// SetDisplayAspectRatio sets the DisplayAspectRatio field's value. -func (s *Mpeg2Settings) SetDisplayAspectRatio(v string) *Mpeg2Settings { - s.DisplayAspectRatio = &v +// SetPasswordParam sets the PasswordParam field's value. +func (s *OutputDestinationSettings) SetPasswordParam(v string) *OutputDestinationSettings { + s.PasswordParam = &v return s } -// SetFilterSettings sets the FilterSettings field's value. -func (s *Mpeg2Settings) SetFilterSettings(v *Mpeg2FilterSettings) *Mpeg2Settings { - s.FilterSettings = v +// SetStreamName sets the StreamName field's value. +func (s *OutputDestinationSettings) SetStreamName(v string) *OutputDestinationSettings { + s.StreamName = &v return s } -// SetFixedAfd sets the FixedAfd field's value. -func (s *Mpeg2Settings) SetFixedAfd(v string) *Mpeg2Settings { - s.FixedAfd = &v +// SetUrl sets the Url field's value. +func (s *OutputDestinationSettings) SetUrl(v string) *OutputDestinationSettings { + s.Url = &v return s } -// SetFramerateDenominator sets the FramerateDenominator field's value. -func (s *Mpeg2Settings) SetFramerateDenominator(v int64) *Mpeg2Settings { - s.FramerateDenominator = &v +// SetUsername sets the Username field's value. +func (s *OutputDestinationSettings) SetUsername(v string) *OutputDestinationSettings { + s.Username = &v return s } -// SetFramerateNumerator sets the FramerateNumerator field's value. -func (s *Mpeg2Settings) SetFramerateNumerator(v int64) *Mpeg2Settings { - s.FramerateNumerator = &v - return s -} +// Output groups for this Live Event. Output groups contain information about +// where streams should be distributed. +type OutputGroup struct { + _ struct{} `type:"structure"` -// SetGopClosedCadence sets the GopClosedCadence field's value. -func (s *Mpeg2Settings) SetGopClosedCadence(v int64) *Mpeg2Settings { - s.GopClosedCadence = &v - return s -} + // Custom output group name optionally defined by the user. + Name *string `locationName:"name" type:"string"` -// SetGopNumBFrames sets the GopNumBFrames field's value. -func (s *Mpeg2Settings) SetGopNumBFrames(v int64) *Mpeg2Settings { - s.GopNumBFrames = &v - return s + // Settings associated with the output group. + // + // OutputGroupSettings is a required field + OutputGroupSettings *OutputGroupSettings `locationName:"outputGroupSettings" type:"structure" required:"true"` + + // Outputs is a required field + Outputs []*Output `locationName:"outputs" type:"list" required:"true"` } -// SetGopSize sets the GopSize field's value. -func (s *Mpeg2Settings) SetGopSize(v float64) *Mpeg2Settings { - s.GopSize = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s OutputGroup) String() string { + return awsutil.Prettify(s) } -// SetGopSizeUnits sets the GopSizeUnits field's value. -func (s *Mpeg2Settings) SetGopSizeUnits(v string) *Mpeg2Settings { - s.GopSizeUnits = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s OutputGroup) GoString() string { + return s.String() } -// SetScanType sets the ScanType field's value. -func (s *Mpeg2Settings) SetScanType(v string) *Mpeg2Settings { - s.ScanType = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *OutputGroup) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "OutputGroup"} + if s.OutputGroupSettings == nil { + invalidParams.Add(request.NewErrParamRequired("OutputGroupSettings")) + } + if s.Outputs == nil { + invalidParams.Add(request.NewErrParamRequired("Outputs")) + } + if s.OutputGroupSettings != nil { + if err := s.OutputGroupSettings.Validate(); err != nil { + invalidParams.AddNested("OutputGroupSettings", err.(request.ErrInvalidParams)) + } + } + if s.Outputs != nil { + for i, v := range s.Outputs { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Outputs", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetSubgopLength sets the SubgopLength field's value. -func (s *Mpeg2Settings) SetSubgopLength(v string) *Mpeg2Settings { - s.SubgopLength = &v +// SetName sets the Name field's value. +func (s *OutputGroup) SetName(v string) *OutputGroup { + s.Name = &v return s } -// SetTimecodeBurninSettings sets the TimecodeBurninSettings field's value. -func (s *Mpeg2Settings) SetTimecodeBurninSettings(v *TimecodeBurninSettings) *Mpeg2Settings { - s.TimecodeBurninSettings = v +// SetOutputGroupSettings sets the OutputGroupSettings field's value. +func (s *OutputGroup) SetOutputGroupSettings(v *OutputGroupSettings) *OutputGroup { + s.OutputGroupSettings = v return s } -// SetTimecodeInsertion sets the TimecodeInsertion field's value. -func (s *Mpeg2Settings) SetTimecodeInsertion(v string) *Mpeg2Settings { - s.TimecodeInsertion = &v +// SetOutputs sets the Outputs field's value. +func (s *OutputGroup) SetOutputs(v []*Output) *OutputGroup { + s.Outputs = v return s } -// Ms Smooth Group Settings -type MsSmoothGroupSettings struct { +// Output Group Settings +type OutputGroupSettings struct { _ struct{} `type:"structure"` - // The ID to include in each message in the sparse track. Ignored if sparseTrackType - // is NONE. - AcquisitionPointId *string `locationName:"acquisitionPointId" type:"string"` - - // If set to passthrough for an audio-only MS Smooth output, the fragment absolute - // time will be set to the current timecode. This option does not write timecodes - // to the audio elementary stream. - AudioOnlyTimecodeControl *string `locationName:"audioOnlyTimecodeControl" type:"string" enum:"SmoothGroupAudioOnlyTimecodeControl"` - - // If set to verifyAuthenticity, verify the https certificate chain to a trusted - // Certificate Authority (CA). This will cause https outputs to self-signed - // certificates to fail. - CertificateMode *string `locationName:"certificateMode" type:"string" enum:"SmoothGroupCertificateMode"` - - // Number of seconds to wait before retrying connection to the IIS server if - // the connection is lost. Content will be cached during this time and the cache - // will be be delivered to the IIS server once the connection is re-established. - ConnectionRetryInterval *int64 `locationName:"connectionRetryInterval" type:"integer"` - - // Smooth Streaming publish point on an IIS server. Elemental Live acts as a - // "Push" encoder to IIS. - // - // Destination is a required field - Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` - - // MS Smooth event ID to be sent to the IIS server.Should only be specified - // if eventIdMode is set to useConfigured. - EventId *string `locationName:"eventId" type:"string"` - - // Specifies whether or not to send an event ID to the IIS server. If no event - // ID is sent and the same Live Event is used without changing the publishing - // point, clients might see cached video from the previous run.Options:- "useConfigured" - // - use the value provided in eventId- "useTimestamp" - generate and send an - // event ID based on the current timestamp- "noEventId" - do not send an event - // ID to the IIS server. - EventIdMode *string `locationName:"eventIdMode" type:"string" enum:"SmoothGroupEventIdMode"` - - // When set to sendEos, send EOS signal to IIS server when stopping the event - EventStopBehavior *string `locationName:"eventStopBehavior" type:"string" enum:"SmoothGroupEventStopBehavior"` - - // Size in seconds of file cache for streaming outputs. - FilecacheDuration *int64 `locationName:"filecacheDuration" type:"integer"` - - // Length of mp4 fragments to generate (in seconds). Fragment length must be - // compatible with GOP size and framerate. - FragmentLength *int64 `locationName:"fragmentLength" min:"1" type:"integer"` - - // Parameter that control output group behavior on input loss. - InputLossAction *string `locationName:"inputLossAction" type:"string" enum:"InputLossActionForMsSmoothOut"` + // Archive Group Settings + ArchiveGroupSettings *ArchiveGroupSettings `locationName:"archiveGroupSettings" type:"structure"` - // Number of retry attempts. - NumRetries *int64 `locationName:"numRetries" type:"integer"` + // Cmaf Ingest Group Settings + CmafIngestGroupSettings *CmafIngestGroupSettings `locationName:"cmafIngestGroupSettings" type:"structure"` - // Number of seconds before initiating a restart due to output failure, due - // to exhausting the numRetries on one segment, or exceeding filecacheDuration. - RestartDelay *int64 `locationName:"restartDelay" type:"integer"` + // Frame Capture Group Settings + FrameCaptureGroupSettings *FrameCaptureGroupSettings `locationName:"frameCaptureGroupSettings" type:"structure"` - // useInputSegmentation has been deprecated. The configured segment size is - // always used. - SegmentationMode *string `locationName:"segmentationMode" type:"string" enum:"SmoothGroupSegmentationMode"` + // Hls Group Settings + HlsGroupSettings *HlsGroupSettings `locationName:"hlsGroupSettings" type:"structure"` - // Number of milliseconds to delay the output from the second pipeline. - SendDelayMs *int64 `locationName:"sendDelayMs" type:"integer"` + // Media Package Group Settings + MediaPackageGroupSettings *MediaPackageGroupSettings `locationName:"mediaPackageGroupSettings" type:"structure"` - // Identifies the type of data to place in the sparse track:- SCTE35: Insert - // SCTE-35 messages from the source content. With each message, insert an IDR - // frame to start a new segment.- SCTE35_WITHOUT_SEGMENTATION: Insert SCTE-35 - // messages from the source content. With each message, insert an IDR frame - // but don't start a new segment.- NONE: Don't generate a sparse track for any - // outputs in this output group. - SparseTrackType *string `locationName:"sparseTrackType" type:"string" enum:"SmoothGroupSparseTrackType"` + // Ms Smooth Group Settings + MsSmoothGroupSettings *MsSmoothGroupSettings `locationName:"msSmoothGroupSettings" type:"structure"` - // When set to send, send stream manifest so publishing point doesn't start - // until all streams start. - StreamManifestBehavior *string `locationName:"streamManifestBehavior" type:"string" enum:"SmoothGroupStreamManifestBehavior"` + // Multiplex Group Settings + MultiplexGroupSettings *MultiplexGroupSettings `locationName:"multiplexGroupSettings" type:"structure"` - // Timestamp offset for the event. Only used if timestampOffsetMode is set to - // useConfiguredOffset. - TimestampOffset *string `locationName:"timestampOffset" type:"string"` + // Rtmp Group Settings + RtmpGroupSettings *RtmpGroupSettings `locationName:"rtmpGroupSettings" type:"structure"` - // Type of timestamp date offset to use.- useEventStartDate: Use the date the - // event was started as the offset- useConfiguredOffset: Use an explicitly configured - // date as the offset - TimestampOffsetMode *string `locationName:"timestampOffsetMode" type:"string" enum:"SmoothGroupTimestampOffsetMode"` + // Udp Group Settings + UdpGroupSettings *UdpGroupSettings `locationName:"udpGroupSettings" type:"structure"` } // String returns the string representation. @@ -25042,7 +33397,7 @@ type MsSmoothGroupSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MsSmoothGroupSettings) String() string { +func (s OutputGroupSettings) String() string { return awsutil.Prettify(s) } @@ -25051,18 +33406,47 @@ func (s MsSmoothGroupSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MsSmoothGroupSettings) GoString() string { +func (s OutputGroupSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *MsSmoothGroupSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "MsSmoothGroupSettings"} - if s.Destination == nil { - invalidParams.Add(request.NewErrParamRequired("Destination")) +func (s *OutputGroupSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "OutputGroupSettings"} + if s.ArchiveGroupSettings != nil { + if err := s.ArchiveGroupSettings.Validate(); err != nil { + invalidParams.AddNested("ArchiveGroupSettings", err.(request.ErrInvalidParams)) + } } - if s.FragmentLength != nil && *s.FragmentLength < 1 { - invalidParams.Add(request.NewErrParamMinValue("FragmentLength", 1)) + if s.CmafIngestGroupSettings != nil { + if err := s.CmafIngestGroupSettings.Validate(); err != nil { + invalidParams.AddNested("CmafIngestGroupSettings", err.(request.ErrInvalidParams)) + } + } + if s.FrameCaptureGroupSettings != nil { + if err := s.FrameCaptureGroupSettings.Validate(); err != nil { + invalidParams.AddNested("FrameCaptureGroupSettings", err.(request.ErrInvalidParams)) + } + } + if s.HlsGroupSettings != nil { + if err := s.HlsGroupSettings.Validate(); err != nil { + invalidParams.AddNested("HlsGroupSettings", err.(request.ErrInvalidParams)) + } + } + if s.MediaPackageGroupSettings != nil { + if err := s.MediaPackageGroupSettings.Validate(); err != nil { + invalidParams.AddNested("MediaPackageGroupSettings", err.(request.ErrInvalidParams)) + } + } + if s.MsSmoothGroupSettings != nil { + if err := s.MsSmoothGroupSettings.Validate(); err != nil { + invalidParams.AddNested("MsSmoothGroupSettings", err.(request.ErrInvalidParams)) + } + } + if s.RtmpGroupSettings != nil { + if err := s.RtmpGroupSettings.Validate(); err != nil { + invalidParams.AddNested("RtmpGroupSettings", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -25071,131 +33455,100 @@ func (s *MsSmoothGroupSettings) Validate() error { return nil } -// SetAcquisitionPointId sets the AcquisitionPointId field's value. -func (s *MsSmoothGroupSettings) SetAcquisitionPointId(v string) *MsSmoothGroupSettings { - s.AcquisitionPointId = &v - return s -} - -// SetAudioOnlyTimecodeControl sets the AudioOnlyTimecodeControl field's value. -func (s *MsSmoothGroupSettings) SetAudioOnlyTimecodeControl(v string) *MsSmoothGroupSettings { - s.AudioOnlyTimecodeControl = &v - return s -} - -// SetCertificateMode sets the CertificateMode field's value. -func (s *MsSmoothGroupSettings) SetCertificateMode(v string) *MsSmoothGroupSettings { - s.CertificateMode = &v - return s -} - -// SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. -func (s *MsSmoothGroupSettings) SetConnectionRetryInterval(v int64) *MsSmoothGroupSettings { - s.ConnectionRetryInterval = &v - return s -} - -// SetDestination sets the Destination field's value. -func (s *MsSmoothGroupSettings) SetDestination(v *OutputLocationRef) *MsSmoothGroupSettings { - s.Destination = v - return s -} - -// SetEventId sets the EventId field's value. -func (s *MsSmoothGroupSettings) SetEventId(v string) *MsSmoothGroupSettings { - s.EventId = &v +// SetArchiveGroupSettings sets the ArchiveGroupSettings field's value. +func (s *OutputGroupSettings) SetArchiveGroupSettings(v *ArchiveGroupSettings) *OutputGroupSettings { + s.ArchiveGroupSettings = v return s } -// SetEventIdMode sets the EventIdMode field's value. -func (s *MsSmoothGroupSettings) SetEventIdMode(v string) *MsSmoothGroupSettings { - s.EventIdMode = &v +// SetCmafIngestGroupSettings sets the CmafIngestGroupSettings field's value. +func (s *OutputGroupSettings) SetCmafIngestGroupSettings(v *CmafIngestGroupSettings) *OutputGroupSettings { + s.CmafIngestGroupSettings = v return s } -// SetEventStopBehavior sets the EventStopBehavior field's value. -func (s *MsSmoothGroupSettings) SetEventStopBehavior(v string) *MsSmoothGroupSettings { - s.EventStopBehavior = &v +// SetFrameCaptureGroupSettings sets the FrameCaptureGroupSettings field's value. +func (s *OutputGroupSettings) SetFrameCaptureGroupSettings(v *FrameCaptureGroupSettings) *OutputGroupSettings { + s.FrameCaptureGroupSettings = v return s } -// SetFilecacheDuration sets the FilecacheDuration field's value. -func (s *MsSmoothGroupSettings) SetFilecacheDuration(v int64) *MsSmoothGroupSettings { - s.FilecacheDuration = &v +// SetHlsGroupSettings sets the HlsGroupSettings field's value. +func (s *OutputGroupSettings) SetHlsGroupSettings(v *HlsGroupSettings) *OutputGroupSettings { + s.HlsGroupSettings = v return s } -// SetFragmentLength sets the FragmentLength field's value. -func (s *MsSmoothGroupSettings) SetFragmentLength(v int64) *MsSmoothGroupSettings { - s.FragmentLength = &v +// SetMediaPackageGroupSettings sets the MediaPackageGroupSettings field's value. +func (s *OutputGroupSettings) SetMediaPackageGroupSettings(v *MediaPackageGroupSettings) *OutputGroupSettings { + s.MediaPackageGroupSettings = v return s } -// SetInputLossAction sets the InputLossAction field's value. -func (s *MsSmoothGroupSettings) SetInputLossAction(v string) *MsSmoothGroupSettings { - s.InputLossAction = &v +// SetMsSmoothGroupSettings sets the MsSmoothGroupSettings field's value. +func (s *OutputGroupSettings) SetMsSmoothGroupSettings(v *MsSmoothGroupSettings) *OutputGroupSettings { + s.MsSmoothGroupSettings = v return s } -// SetNumRetries sets the NumRetries field's value. -func (s *MsSmoothGroupSettings) SetNumRetries(v int64) *MsSmoothGroupSettings { - s.NumRetries = &v +// SetMultiplexGroupSettings sets the MultiplexGroupSettings field's value. +func (s *OutputGroupSettings) SetMultiplexGroupSettings(v *MultiplexGroupSettings) *OutputGroupSettings { + s.MultiplexGroupSettings = v return s } -// SetRestartDelay sets the RestartDelay field's value. -func (s *MsSmoothGroupSettings) SetRestartDelay(v int64) *MsSmoothGroupSettings { - s.RestartDelay = &v +// SetRtmpGroupSettings sets the RtmpGroupSettings field's value. +func (s *OutputGroupSettings) SetRtmpGroupSettings(v *RtmpGroupSettings) *OutputGroupSettings { + s.RtmpGroupSettings = v return s } -// SetSegmentationMode sets the SegmentationMode field's value. -func (s *MsSmoothGroupSettings) SetSegmentationMode(v string) *MsSmoothGroupSettings { - s.SegmentationMode = &v +// SetUdpGroupSettings sets the UdpGroupSettings field's value. +func (s *OutputGroupSettings) SetUdpGroupSettings(v *UdpGroupSettings) *OutputGroupSettings { + s.UdpGroupSettings = v return s } -// SetSendDelayMs sets the SendDelayMs field's value. -func (s *MsSmoothGroupSettings) SetSendDelayMs(v int64) *MsSmoothGroupSettings { - s.SendDelayMs = &v - return s -} +// Reference to an OutputDestination ID defined in the channel +type OutputLocationRef struct { + _ struct{} `type:"structure"` -// SetSparseTrackType sets the SparseTrackType field's value. -func (s *MsSmoothGroupSettings) SetSparseTrackType(v string) *MsSmoothGroupSettings { - s.SparseTrackType = &v - return s + DestinationRefId *string `locationName:"destinationRefId" type:"string"` } -// SetStreamManifestBehavior sets the StreamManifestBehavior field's value. -func (s *MsSmoothGroupSettings) SetStreamManifestBehavior(v string) *MsSmoothGroupSettings { - s.StreamManifestBehavior = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s OutputLocationRef) String() string { + return awsutil.Prettify(s) } -// SetTimestampOffset sets the TimestampOffset field's value. -func (s *MsSmoothGroupSettings) SetTimestampOffset(v string) *MsSmoothGroupSettings { - s.TimestampOffset = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s OutputLocationRef) GoString() string { + return s.String() } -// SetTimestampOffsetMode sets the TimestampOffsetMode field's value. -func (s *MsSmoothGroupSettings) SetTimestampOffsetMode(v string) *MsSmoothGroupSettings { - s.TimestampOffsetMode = &v +// SetDestinationRefId sets the DestinationRefId field's value. +func (s *OutputLocationRef) SetDestinationRefId(v string) *OutputLocationRef { + s.DestinationRefId = &v return s } -// Ms Smooth Output Settings -type MsSmoothOutputSettings struct { +// Output Locking Settings +type OutputLockingSettings struct { _ struct{} `type:"structure"` - // Only applicable when this output is referencing an H.265 video description.Specifies - // whether MP4 segments should be packaged as HEV1 or HVC1. - H265PackagingType *string `locationName:"h265PackagingType" type:"string" enum:"MsSmoothH265PackagingType"` + // Epoch Locking Settings + EpochLockingSettings *EpochLockingSettings `locationName:"epochLockingSettings" type:"structure"` - // String concatenated to the end of the destination filename. Required for - // multiple outputs of the same type. - NameModifier *string `locationName:"nameModifier" type:"string"` + // Pipeline Locking Settings + PipelineLockingSettings *PipelineLockingSettings `locationName:"pipelineLockingSettings" type:"structure"` } // String returns the string representation. @@ -25203,7 +33556,7 @@ type MsSmoothOutputSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MsSmoothOutputSettings) String() string { +func (s OutputLockingSettings) String() string { return awsutil.Prettify(s) } @@ -25212,55 +33565,52 @@ func (s MsSmoothOutputSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MsSmoothOutputSettings) GoString() string { +func (s OutputLockingSettings) GoString() string { return s.String() } -// SetH265PackagingType sets the H265PackagingType field's value. -func (s *MsSmoothOutputSettings) SetH265PackagingType(v string) *MsSmoothOutputSettings { - s.H265PackagingType = &v +// SetEpochLockingSettings sets the EpochLockingSettings field's value. +func (s *OutputLockingSettings) SetEpochLockingSettings(v *EpochLockingSettings) *OutputLockingSettings { + s.EpochLockingSettings = v return s } -// SetNameModifier sets the NameModifier field's value. -func (s *MsSmoothOutputSettings) SetNameModifier(v string) *MsSmoothOutputSettings { - s.NameModifier = &v +// SetPipelineLockingSettings sets the PipelineLockingSettings field's value. +func (s *OutputLockingSettings) SetPipelineLockingSettings(v *PipelineLockingSettings) *OutputLockingSettings { + s.PipelineLockingSettings = v return s } -// The multiplex object. -type Multiplex struct { +// Output Settings +type OutputSettings struct { _ struct{} `type:"structure"` - // The unique arn of the multiplex. - Arn *string `locationName:"arn" type:"string"` - - // A list of availability zones for the multiplex. - AvailabilityZones []*string `locationName:"availabilityZones" type:"list"` + // Archive Output Settings + ArchiveOutputSettings *ArchiveOutputSettings `locationName:"archiveOutputSettings" type:"structure"` - // A list of the multiplex output destinations. - Destinations []*MultiplexOutputDestination `locationName:"destinations" type:"list"` + // Cmaf Ingest Output Settings + CmafIngestOutputSettings *CmafIngestOutputSettings `locationName:"cmafIngestOutputSettings" type:"structure"` - // The unique id of the multiplex. - Id *string `locationName:"id" type:"string"` + // Frame Capture Output Settings + FrameCaptureOutputSettings *FrameCaptureOutputSettings `locationName:"frameCaptureOutputSettings" type:"structure"` - // Configuration for a multiplex event. - MultiplexSettings *MultiplexSettings `locationName:"multiplexSettings" type:"structure"` + // Hls Output Settings + HlsOutputSettings *HlsOutputSettings `locationName:"hlsOutputSettings" type:"structure"` - // The name of the multiplex. - Name *string `locationName:"name" type:"string"` + // Media Package Output Settings + MediaPackageOutputSettings *MediaPackageOutputSettings `locationName:"mediaPackageOutputSettings" type:"structure"` - // The number of currently healthy pipelines. - PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` + // Ms Smooth Output Settings + MsSmoothOutputSettings *MsSmoothOutputSettings `locationName:"msSmoothOutputSettings" type:"structure"` - // The number of programs in the multiplex. - ProgramCount *int64 `locationName:"programCount" type:"integer"` + // Multiplex Output Settings + MultiplexOutputSettings *MultiplexOutputSettings `locationName:"multiplexOutputSettings" type:"structure"` - // The current state of the multiplex. - State *string `locationName:"state" type:"string" enum:"MultiplexState"` + // Rtmp Output Settings + RtmpOutputSettings *RtmpOutputSettings `locationName:"rtmpOutputSettings" type:"structure"` - // A collection of key-value pairs. - Tags map[string]*string `locationName:"tags" type:"map"` + // Udp Output Settings + UdpOutputSettings *UdpOutputSettings `locationName:"udpOutputSettings" type:"structure"` } // String returns the string representation. @@ -25268,7 +33618,7 @@ type Multiplex struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Multiplex) String() string { +func (s OutputSettings) String() string { return awsutil.Prettify(s) } @@ -25277,72 +33627,101 @@ func (s Multiplex) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Multiplex) GoString() string { +func (s OutputSettings) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Multiplex) SetArn(v string) *Multiplex { - s.Arn = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *OutputSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "OutputSettings"} + if s.ArchiveOutputSettings != nil { + if err := s.ArchiveOutputSettings.Validate(); err != nil { + invalidParams.AddNested("ArchiveOutputSettings", err.(request.ErrInvalidParams)) + } + } + if s.HlsOutputSettings != nil { + if err := s.HlsOutputSettings.Validate(); err != nil { + invalidParams.AddNested("HlsOutputSettings", err.(request.ErrInvalidParams)) + } + } + if s.MultiplexOutputSettings != nil { + if err := s.MultiplexOutputSettings.Validate(); err != nil { + invalidParams.AddNested("MultiplexOutputSettings", err.(request.ErrInvalidParams)) + } + } + if s.RtmpOutputSettings != nil { + if err := s.RtmpOutputSettings.Validate(); err != nil { + invalidParams.AddNested("RtmpOutputSettings", err.(request.ErrInvalidParams)) + } + } + if s.UdpOutputSettings != nil { + if err := s.UdpOutputSettings.Validate(); err != nil { + invalidParams.AddNested("UdpOutputSettings", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *Multiplex) SetAvailabilityZones(v []*string) *Multiplex { - s.AvailabilityZones = v +// SetArchiveOutputSettings sets the ArchiveOutputSettings field's value. +func (s *OutputSettings) SetArchiveOutputSettings(v *ArchiveOutputSettings) *OutputSettings { + s.ArchiveOutputSettings = v return s } -// SetDestinations sets the Destinations field's value. -func (s *Multiplex) SetDestinations(v []*MultiplexOutputDestination) *Multiplex { - s.Destinations = v +// SetCmafIngestOutputSettings sets the CmafIngestOutputSettings field's value. +func (s *OutputSettings) SetCmafIngestOutputSettings(v *CmafIngestOutputSettings) *OutputSettings { + s.CmafIngestOutputSettings = v return s } -// SetId sets the Id field's value. -func (s *Multiplex) SetId(v string) *Multiplex { - s.Id = &v +// SetFrameCaptureOutputSettings sets the FrameCaptureOutputSettings field's value. +func (s *OutputSettings) SetFrameCaptureOutputSettings(v *FrameCaptureOutputSettings) *OutputSettings { + s.FrameCaptureOutputSettings = v return s } -// SetMultiplexSettings sets the MultiplexSettings field's value. -func (s *Multiplex) SetMultiplexSettings(v *MultiplexSettings) *Multiplex { - s.MultiplexSettings = v +// SetHlsOutputSettings sets the HlsOutputSettings field's value. +func (s *OutputSettings) SetHlsOutputSettings(v *HlsOutputSettings) *OutputSettings { + s.HlsOutputSettings = v return s } -// SetName sets the Name field's value. -func (s *Multiplex) SetName(v string) *Multiplex { - s.Name = &v +// SetMediaPackageOutputSettings sets the MediaPackageOutputSettings field's value. +func (s *OutputSettings) SetMediaPackageOutputSettings(v *MediaPackageOutputSettings) *OutputSettings { + s.MediaPackageOutputSettings = v return s } -// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. -func (s *Multiplex) SetPipelinesRunningCount(v int64) *Multiplex { - s.PipelinesRunningCount = &v +// SetMsSmoothOutputSettings sets the MsSmoothOutputSettings field's value. +func (s *OutputSettings) SetMsSmoothOutputSettings(v *MsSmoothOutputSettings) *OutputSettings { + s.MsSmoothOutputSettings = v return s } -// SetProgramCount sets the ProgramCount field's value. -func (s *Multiplex) SetProgramCount(v int64) *Multiplex { - s.ProgramCount = &v +// SetMultiplexOutputSettings sets the MultiplexOutputSettings field's value. +func (s *OutputSettings) SetMultiplexOutputSettings(v *MultiplexOutputSettings) *OutputSettings { + s.MultiplexOutputSettings = v return s } -// SetState sets the State field's value. -func (s *Multiplex) SetState(v string) *Multiplex { - s.State = &v +// SetRtmpOutputSettings sets the RtmpOutputSettings field's value. +func (s *OutputSettings) SetRtmpOutputSettings(v *RtmpOutputSettings) *OutputSettings { + s.RtmpOutputSettings = v return s } -// SetTags sets the Tags field's value. -func (s *Multiplex) SetTags(v map[string]*string) *Multiplex { - s.Tags = v +// SetUdpOutputSettings sets the UdpOutputSettings field's value. +func (s *OutputSettings) SetUdpOutputSettings(v *UdpOutputSettings) *OutputSettings { + s.UdpOutputSettings = v return s } -// Multiplex Group Settings -type MultiplexGroupSettings struct { +// Pass Through Settings +type PassThroughSettings struct { _ struct{} `type:"structure"` } @@ -25351,7 +33730,7 @@ type MultiplexGroupSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexGroupSettings) String() string { +func (s PassThroughSettings) String() string { return awsutil.Prettify(s) } @@ -25360,16 +33739,15 @@ func (s MultiplexGroupSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexGroupSettings) GoString() string { +func (s PassThroughSettings) GoString() string { return s.String() } -// Multiplex MediaConnect output destination settings. -type MultiplexMediaConnectOutputDestinationSettings struct { +// Settings for the action to set pause state of a channel. +type PauseStateScheduleActionSettings struct { _ struct{} `type:"structure"` - // The MediaConnect entitlement ARN available as a Flow source. - EntitlementArn *string `locationName:"entitlementArn" min:"1" type:"string"` + Pipelines []*PipelinePauseStateSettings `locationName:"pipelines" type:"list"` } // String returns the string representation. @@ -25377,7 +33755,7 @@ type MultiplexMediaConnectOutputDestinationSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexMediaConnectOutputDestinationSettings) String() string { +func (s PauseStateScheduleActionSettings) String() string { return awsutil.Prettify(s) } @@ -25386,22 +33764,58 @@ func (s MultiplexMediaConnectOutputDestinationSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexMediaConnectOutputDestinationSettings) GoString() string { +func (s PauseStateScheduleActionSettings) GoString() string { return s.String() } -// SetEntitlementArn sets the EntitlementArn field's value. -func (s *MultiplexMediaConnectOutputDestinationSettings) SetEntitlementArn(v string) *MultiplexMediaConnectOutputDestinationSettings { - s.EntitlementArn = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *PauseStateScheduleActionSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PauseStateScheduleActionSettings"} + if s.Pipelines != nil { + for i, v := range s.Pipelines { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Pipelines", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPipelines sets the Pipelines field's value. +func (s *PauseStateScheduleActionSettings) SetPipelines(v []*PipelinePauseStateSettings) *PauseStateScheduleActionSettings { + s.Pipelines = v return s } -// Multiplex output destination settings -type MultiplexOutputDestination struct { +// Runtime details of a pipeline when a channel is running. +type PipelineDetail struct { _ struct{} `type:"structure"` - // Multiplex MediaConnect output destination settings. - MediaConnectSettings *MultiplexMediaConnectOutputDestinationSettings `locationName:"mediaConnectSettings" type:"structure"` + // The name of the active input attachment currently being ingested by this + // pipeline. + ActiveInputAttachmentName *string `locationName:"activeInputAttachmentName" type:"string"` + + // The name of the input switch schedule action that occurred most recently + // and that resulted in the switch to the current input attachment for this + // pipeline. + ActiveInputSwitchActionName *string `locationName:"activeInputSwitchActionName" type:"string"` + + // The name of the motion graphics activate action that occurred most recently + // and that resulted in the current graphics URI for this pipeline. + ActiveMotionGraphicsActionName *string `locationName:"activeMotionGraphicsActionName" type:"string"` + + // The current URI being used for HTML5 motion graphics for this pipeline. + ActiveMotionGraphicsUri *string `locationName:"activeMotionGraphicsUri" type:"string"` + + // Pipeline ID + PipelineId *string `locationName:"pipelineId" type:"string"` } // String returns the string representation. @@ -25409,7 +33823,7 @@ type MultiplexOutputDestination struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexOutputDestination) String() string { +func (s PipelineDetail) String() string { return awsutil.Prettify(s) } @@ -25418,24 +33832,43 @@ func (s MultiplexOutputDestination) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexOutputDestination) GoString() string { +func (s PipelineDetail) GoString() string { return s.String() } -// SetMediaConnectSettings sets the MediaConnectSettings field's value. -func (s *MultiplexOutputDestination) SetMediaConnectSettings(v *MultiplexMediaConnectOutputDestinationSettings) *MultiplexOutputDestination { - s.MediaConnectSettings = v +// SetActiveInputAttachmentName sets the ActiveInputAttachmentName field's value. +func (s *PipelineDetail) SetActiveInputAttachmentName(v string) *PipelineDetail { + s.ActiveInputAttachmentName = &v return s } -// Multiplex Output Settings -type MultiplexOutputSettings struct { - _ struct{} `type:"structure"` +// SetActiveInputSwitchActionName sets the ActiveInputSwitchActionName field's value. +func (s *PipelineDetail) SetActiveInputSwitchActionName(v string) *PipelineDetail { + s.ActiveInputSwitchActionName = &v + return s +} - // Destination is a Multiplex. - // - // Destination is a required field - Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` +// SetActiveMotionGraphicsActionName sets the ActiveMotionGraphicsActionName field's value. +func (s *PipelineDetail) SetActiveMotionGraphicsActionName(v string) *PipelineDetail { + s.ActiveMotionGraphicsActionName = &v + return s +} + +// SetActiveMotionGraphicsUri sets the ActiveMotionGraphicsUri field's value. +func (s *PipelineDetail) SetActiveMotionGraphicsUri(v string) *PipelineDetail { + s.ActiveMotionGraphicsUri = &v + return s +} + +// SetPipelineId sets the PipelineId field's value. +func (s *PipelineDetail) SetPipelineId(v string) *PipelineDetail { + s.PipelineId = &v + return s +} + +// Pipeline Locking Settings +type PipelineLockingSettings struct { + _ struct{} `type:"structure"` } // String returns the string representation. @@ -25443,7 +33876,7 @@ type MultiplexOutputSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexOutputSettings) String() string { +func (s PipelineLockingSettings) String() string { return awsutil.Prettify(s) } @@ -25452,50 +33885,18 @@ func (s MultiplexOutputSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexOutputSettings) GoString() string { +func (s PipelineLockingSettings) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *MultiplexOutputSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "MultiplexOutputSettings"} - if s.Destination == nil { - invalidParams.Add(request.NewErrParamRequired("Destination")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetDestination sets the Destination field's value. -func (s *MultiplexOutputSettings) SetDestination(v *OutputLocationRef) *MultiplexOutputSettings { - s.Destination = v - return s -} - -// The multiplex program object. -type MultiplexProgram struct { +// Settings for pausing a pipeline. +type PipelinePauseStateSettings struct { _ struct{} `type:"structure"` - // The MediaLive channel associated with the program. - ChannelId *string `locationName:"channelId" type:"string"` - - // The settings for this multiplex program. - MultiplexProgramSettings *MultiplexProgramSettings `locationName:"multiplexProgramSettings" type:"structure"` - - // The packet identifier map for this multiplex program. - PacketIdentifiersMap *MultiplexProgramPacketIdentifiersMap `locationName:"packetIdentifiersMap" type:"structure"` - - // Contains information about the current sources for the specified program - // in the specified multiplex. Keep in mind that each multiplex pipeline connects - // to both pipelines in a given source channel (the channel identified by the - // program). But only one of those channel pipelines is ever active at one time. - PipelineDetails []*MultiplexProgramPipelineDetail `locationName:"pipelineDetails" type:"list"` - - // The name of the multiplex program. - ProgramName *string `locationName:"programName" type:"string"` + // Pipeline ID to pause ("PIPELINE_0" or "PIPELINE_1"). + // + // PipelineId is a required field + PipelineId *string `locationName:"pipelineId" type:"string" required:"true" enum:"PipelineId"` } // String returns the string representation. @@ -25503,7 +33904,7 @@ type MultiplexProgram struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexProgram) String() string { +func (s PipelinePauseStateSettings) String() string { return awsutil.Prettify(s) } @@ -25512,54 +33913,48 @@ func (s MultiplexProgram) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexProgram) GoString() string { +func (s PipelinePauseStateSettings) GoString() string { return s.String() } -// SetChannelId sets the ChannelId field's value. -func (s *MultiplexProgram) SetChannelId(v string) *MultiplexProgram { - s.ChannelId = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *PipelinePauseStateSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PipelinePauseStateSettings"} + if s.PipelineId == nil { + invalidParams.Add(request.NewErrParamRequired("PipelineId")) + } -// SetMultiplexProgramSettings sets the MultiplexProgramSettings field's value. -func (s *MultiplexProgram) SetMultiplexProgramSettings(v *MultiplexProgramSettings) *MultiplexProgram { - s.MultiplexProgramSettings = v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetPacketIdentifiersMap sets the PacketIdentifiersMap field's value. -func (s *MultiplexProgram) SetPacketIdentifiersMap(v *MultiplexProgramPacketIdentifiersMap) *MultiplexProgram { - s.PacketIdentifiersMap = v +// SetPipelineId sets the PipelineId field's value. +func (s *PipelinePauseStateSettings) SetPipelineId(v string) *PipelinePauseStateSettings { + s.PipelineId = &v return s } -// SetPipelineDetails sets the PipelineDetails field's value. -func (s *MultiplexProgram) SetPipelineDetails(v []*MultiplexProgramPipelineDetail) *MultiplexProgram { - s.PipelineDetails = v - return s -} +type PurchaseOfferingInput struct { + _ struct{} `type:"structure"` -// SetProgramName sets the ProgramName field's value. -func (s *MultiplexProgram) SetProgramName(v string) *MultiplexProgram { - s.ProgramName = &v - return s -} + // Count is a required field + Count *int64 `locationName:"count" min:"1" type:"integer" required:"true"` -// Multiplex Program Input Destination Settings for outputting a Channel to -// a Multiplex -type MultiplexProgramChannelDestinationSettings struct { - _ struct{} `type:"structure"` + Name *string `locationName:"name" type:"string"` - // The ID of the Multiplex that the encoder is providing output to. You do not - // need to specify the individual inputs to the Multiplex; MediaLive will handle - // the connection of the two MediaLive pipelines to the two Multiplex instances.The - // Multiplex must be in the same region as the Channel. - MultiplexId *string `locationName:"multiplexId" min:"1" type:"string"` + // OfferingId is a required field + OfferingId *string `location:"uri" locationName:"offeringId" type:"string" required:"true"` - // The program name of the Multiplex program that the encoder is providing output - // to. - ProgramName *string `locationName:"programName" min:"1" type:"string"` + // The Renewal settings for Reservations + RenewalSettings *RenewalSettings `locationName:"renewalSettings" type:"structure"` + + RequestId *string `locationName:"requestId" type:"string" idempotencyToken:"true"` + + Start *string `locationName:"start" type:"string"` + + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -25567,7 +33962,7 @@ type MultiplexProgramChannelDestinationSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexProgramChannelDestinationSettings) String() string { +func (s PurchaseOfferingInput) String() string { return awsutil.Prettify(s) } @@ -25576,18 +33971,29 @@ func (s MultiplexProgramChannelDestinationSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexProgramChannelDestinationSettings) GoString() string { +func (s PurchaseOfferingInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *MultiplexProgramChannelDestinationSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "MultiplexProgramChannelDestinationSettings"} - if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) +func (s *PurchaseOfferingInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PurchaseOfferingInput"} + if s.Count == nil { + invalidParams.Add(request.NewErrParamRequired("Count")) } - if s.ProgramName != nil && len(*s.ProgramName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ProgramName", 1)) + if s.Count != nil && *s.Count < 1 { + invalidParams.Add(request.NewErrParamMinValue("Count", 1)) + } + if s.OfferingId == nil { + invalidParams.Add(request.NewErrParamRequired("OfferingId")) + } + if s.OfferingId != nil && len(*s.OfferingId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("OfferingId", 1)) + } + if s.RenewalSettings != nil { + if err := s.RenewalSettings.Validate(); err != nil { + invalidParams.AddNested("RenewalSettings", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -25596,47 +34002,53 @@ func (s *MultiplexProgramChannelDestinationSettings) Validate() error { return nil } -// SetMultiplexId sets the MultiplexId field's value. -func (s *MultiplexProgramChannelDestinationSettings) SetMultiplexId(v string) *MultiplexProgramChannelDestinationSettings { - s.MultiplexId = &v +// SetCount sets the Count field's value. +func (s *PurchaseOfferingInput) SetCount(v int64) *PurchaseOfferingInput { + s.Count = &v return s } -// SetProgramName sets the ProgramName field's value. -func (s *MultiplexProgramChannelDestinationSettings) SetProgramName(v string) *MultiplexProgramChannelDestinationSettings { - s.ProgramName = &v +// SetName sets the Name field's value. +func (s *PurchaseOfferingInput) SetName(v string) *PurchaseOfferingInput { + s.Name = &v return s } -// Packet identifiers map for a given Multiplex program. -type MultiplexProgramPacketIdentifiersMap struct { - _ struct{} `type:"structure"` - - AudioPids []*int64 `locationName:"audioPids" type:"list"` - - DvbSubPids []*int64 `locationName:"dvbSubPids" type:"list"` - - DvbTeletextPid *int64 `locationName:"dvbTeletextPid" type:"integer"` - - EtvPlatformPid *int64 `locationName:"etvPlatformPid" type:"integer"` - - EtvSignalPid *int64 `locationName:"etvSignalPid" type:"integer"` - - KlvDataPids []*int64 `locationName:"klvDataPids" type:"list"` - - PcrPid *int64 `locationName:"pcrPid" type:"integer"` +// SetOfferingId sets the OfferingId field's value. +func (s *PurchaseOfferingInput) SetOfferingId(v string) *PurchaseOfferingInput { + s.OfferingId = &v + return s +} - PmtPid *int64 `locationName:"pmtPid" type:"integer"` +// SetRenewalSettings sets the RenewalSettings field's value. +func (s *PurchaseOfferingInput) SetRenewalSettings(v *RenewalSettings) *PurchaseOfferingInput { + s.RenewalSettings = v + return s +} - PrivateMetadataPid *int64 `locationName:"privateMetadataPid" type:"integer"` +// SetRequestId sets the RequestId field's value. +func (s *PurchaseOfferingInput) SetRequestId(v string) *PurchaseOfferingInput { + s.RequestId = &v + return s +} - Scte27Pids []*int64 `locationName:"scte27Pids" type:"list"` +// SetStart sets the Start field's value. +func (s *PurchaseOfferingInput) SetStart(v string) *PurchaseOfferingInput { + s.Start = &v + return s +} - Scte35Pid *int64 `locationName:"scte35Pid" type:"integer"` +// SetTags sets the Tags field's value. +func (s *PurchaseOfferingInput) SetTags(v map[string]*string) *PurchaseOfferingInput { + s.Tags = v + return s +} - TimedMetadataPid *int64 `locationName:"timedMetadataPid" type:"integer"` +type PurchaseOfferingOutput struct { + _ struct{} `type:"structure"` - VideoPid *int64 `locationName:"videoPid" type:"integer"` + // Reserved resources available to use + Reservation *Reservation `locationName:"reservation" type:"structure"` } // String returns the string representation. @@ -25644,7 +34056,7 @@ type MultiplexProgramPacketIdentifiersMap struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexProgramPacketIdentifiersMap) String() string { +func (s PurchaseOfferingOutput) String() string { return awsutil.Prettify(s) } @@ -25653,98 +34065,120 @@ func (s MultiplexProgramPacketIdentifiersMap) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexProgramPacketIdentifiersMap) GoString() string { +func (s PurchaseOfferingOutput) GoString() string { return s.String() } -// SetAudioPids sets the AudioPids field's value. -func (s *MultiplexProgramPacketIdentifiersMap) SetAudioPids(v []*int64) *MultiplexProgramPacketIdentifiersMap { - s.AudioPids = v +// SetReservation sets the Reservation field's value. +func (s *PurchaseOfferingOutput) SetReservation(v *Reservation) *PurchaseOfferingOutput { + s.Reservation = v return s } -// SetDvbSubPids sets the DvbSubPids field's value. -func (s *MultiplexProgramPacketIdentifiersMap) SetDvbSubPids(v []*int64) *MultiplexProgramPacketIdentifiersMap { - s.DvbSubPids = v - return s +// Raw Settings +type RawSettings struct { + _ struct{} `type:"structure"` } -// SetDvbTeletextPid sets the DvbTeletextPid field's value. -func (s *MultiplexProgramPacketIdentifiersMap) SetDvbTeletextPid(v int64) *MultiplexProgramPacketIdentifiersMap { - s.DvbTeletextPid = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RawSettings) String() string { + return awsutil.Prettify(s) } -// SetEtvPlatformPid sets the EtvPlatformPid field's value. -func (s *MultiplexProgramPacketIdentifiersMap) SetEtvPlatformPid(v int64) *MultiplexProgramPacketIdentifiersMap { - s.EtvPlatformPid = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RawSettings) GoString() string { + return s.String() } -// SetEtvSignalPid sets the EtvSignalPid field's value. -func (s *MultiplexProgramPacketIdentifiersMap) SetEtvSignalPid(v int64) *MultiplexProgramPacketIdentifiersMap { - s.EtvSignalPid = &v - return s -} +type RebootInputDeviceInput struct { + _ struct{} `type:"structure"` -// SetKlvDataPids sets the KlvDataPids field's value. -func (s *MultiplexProgramPacketIdentifiersMap) SetKlvDataPids(v []*int64) *MultiplexProgramPacketIdentifiersMap { - s.KlvDataPids = v - return s -} + // Whether or not to force reboot the input device. + Force *string `locationName:"force" type:"string" enum:"RebootInputDeviceForce"` -// SetPcrPid sets the PcrPid field's value. -func (s *MultiplexProgramPacketIdentifiersMap) SetPcrPid(v int64) *MultiplexProgramPacketIdentifiersMap { - s.PcrPid = &v - return s + // InputDeviceId is a required field + InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` } -// SetPmtPid sets the PmtPid field's value. -func (s *MultiplexProgramPacketIdentifiersMap) SetPmtPid(v int64) *MultiplexProgramPacketIdentifiersMap { - s.PmtPid = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RebootInputDeviceInput) String() string { + return awsutil.Prettify(s) } -// SetPrivateMetadataPid sets the PrivateMetadataPid field's value. -func (s *MultiplexProgramPacketIdentifiersMap) SetPrivateMetadataPid(v int64) *MultiplexProgramPacketIdentifiersMap { - s.PrivateMetadataPid = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RebootInputDeviceInput) GoString() string { + return s.String() } -// SetScte27Pids sets the Scte27Pids field's value. -func (s *MultiplexProgramPacketIdentifiersMap) SetScte27Pids(v []*int64) *MultiplexProgramPacketIdentifiersMap { - s.Scte27Pids = v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *RebootInputDeviceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RebootInputDeviceInput"} + if s.InputDeviceId == nil { + invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) + } + if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) + } -// SetScte35Pid sets the Scte35Pid field's value. -func (s *MultiplexProgramPacketIdentifiersMap) SetScte35Pid(v int64) *MultiplexProgramPacketIdentifiersMap { - s.Scte35Pid = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetTimedMetadataPid sets the TimedMetadataPid field's value. -func (s *MultiplexProgramPacketIdentifiersMap) SetTimedMetadataPid(v int64) *MultiplexProgramPacketIdentifiersMap { - s.TimedMetadataPid = &v +// SetForce sets the Force field's value. +func (s *RebootInputDeviceInput) SetForce(v string) *RebootInputDeviceInput { + s.Force = &v return s } -// SetVideoPid sets the VideoPid field's value. -func (s *MultiplexProgramPacketIdentifiersMap) SetVideoPid(v int64) *MultiplexProgramPacketIdentifiersMap { - s.VideoPid = &v +// SetInputDeviceId sets the InputDeviceId field's value. +func (s *RebootInputDeviceInput) SetInputDeviceId(v string) *RebootInputDeviceInput { + s.InputDeviceId = &v return s } -// The current source for one of the pipelines in the multiplex. -type MultiplexProgramPipelineDetail struct { +type RebootInputDeviceOutput struct { _ struct{} `type:"structure"` +} - // Identifies the channel pipeline that is currently active for the pipeline - // (identified by PipelineId) in the multiplex. - ActiveChannelPipeline *string `locationName:"activeChannelPipeline" type:"string"` +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RebootInputDeviceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RebootInputDeviceOutput) GoString() string { + return s.String() +} - // Identifies a specific pipeline in the multiplex. - PipelineId *string `locationName:"pipelineId" type:"string"` +// Rec601 Settings +type Rec601Settings struct { + _ struct{} `type:"structure"` } // String returns the string representation. @@ -25752,7 +34186,7 @@ type MultiplexProgramPipelineDetail struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexProgramPipelineDetail) String() string { +func (s Rec601Settings) String() string { return awsutil.Prettify(s) } @@ -25761,35 +34195,13 @@ func (s MultiplexProgramPipelineDetail) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexProgramPipelineDetail) GoString() string { +func (s Rec601Settings) GoString() string { return s.String() } -// SetActiveChannelPipeline sets the ActiveChannelPipeline field's value. -func (s *MultiplexProgramPipelineDetail) SetActiveChannelPipeline(v string) *MultiplexProgramPipelineDetail { - s.ActiveChannelPipeline = &v - return s -} - -// SetPipelineId sets the PipelineId field's value. -func (s *MultiplexProgramPipelineDetail) SetPipelineId(v string) *MultiplexProgramPipelineDetail { - s.PipelineId = &v - return s -} - -// Transport stream service descriptor configuration for the Multiplex program. -type MultiplexProgramServiceDescriptor struct { +// Rec709 Settings +type Rec709Settings struct { _ struct{} `type:"structure"` - - // Name of the provider. - // - // ProviderName is a required field - ProviderName *string `locationName:"providerName" type:"string" required:"true"` - - // Name of the service. - // - // ServiceName is a required field - ServiceName *string `locationName:"serviceName" type:"string" required:"true"` } // String returns the string representation. @@ -25797,7 +34209,7 @@ type MultiplexProgramServiceDescriptor struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexProgramServiceDescriptor) String() string { +func (s Rec709Settings) String() string { return awsutil.Prettify(s) } @@ -25806,55 +34218,15 @@ func (s MultiplexProgramServiceDescriptor) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexProgramServiceDescriptor) GoString() string { +func (s Rec709Settings) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *MultiplexProgramServiceDescriptor) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "MultiplexProgramServiceDescriptor"} - if s.ProviderName == nil { - invalidParams.Add(request.NewErrParamRequired("ProviderName")) - } - if s.ServiceName == nil { - invalidParams.Add(request.NewErrParamRequired("ServiceName")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetProviderName sets the ProviderName field's value. -func (s *MultiplexProgramServiceDescriptor) SetProviderName(v string) *MultiplexProgramServiceDescriptor { - s.ProviderName = &v - return s -} - -// SetServiceName sets the ServiceName field's value. -func (s *MultiplexProgramServiceDescriptor) SetServiceName(v string) *MultiplexProgramServiceDescriptor { - s.ServiceName = &v - return s -} - -// Multiplex Program settings configuration. -type MultiplexProgramSettings struct { - _ struct{} `type:"structure"` - - // Indicates which pipeline is preferred by the multiplex for program ingest. - PreferredChannelPipeline *string `locationName:"preferredChannelPipeline" type:"string" enum:"PreferredChannelPipeline"` - - // Unique program number. - // - // ProgramNumber is a required field - ProgramNumber *int64 `locationName:"programNumber" type:"integer" required:"true"` - - // Transport stream service descriptor configuration for the Multiplex program. - ServiceDescriptor *MultiplexProgramServiceDescriptor `locationName:"serviceDescriptor" type:"structure"` +type RejectInputDeviceTransferInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // Program video settings configuration. - VideoSettings *MultiplexVideoSettings `locationName:"videoSettings" type:"structure"` + // InputDeviceId is a required field + InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` } // String returns the string representation. @@ -25862,7 +34234,7 @@ type MultiplexProgramSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexProgramSettings) String() string { +func (s RejectInputDeviceTransferInput) String() string { return awsutil.Prettify(s) } @@ -25871,25 +34243,18 @@ func (s MultiplexProgramSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexProgramSettings) GoString() string { +func (s RejectInputDeviceTransferInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *MultiplexProgramSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "MultiplexProgramSettings"} - if s.ProgramNumber == nil { - invalidParams.Add(request.NewErrParamRequired("ProgramNumber")) - } - if s.ServiceDescriptor != nil { - if err := s.ServiceDescriptor.Validate(); err != nil { - invalidParams.AddNested("ServiceDescriptor", err.(request.ErrInvalidParams)) - } +func (s *RejectInputDeviceTransferInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RejectInputDeviceTransferInput"} + if s.InputDeviceId == nil { + invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) } - if s.VideoSettings != nil { - if err := s.VideoSettings.Validate(); err != nil { - invalidParams.AddNested("VideoSettings", err.(request.ErrInvalidParams)) - } + if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) } if invalidParams.Len() > 0 { @@ -25898,38 +34263,14 @@ func (s *MultiplexProgramSettings) Validate() error { return nil } -// SetPreferredChannelPipeline sets the PreferredChannelPipeline field's value. -func (s *MultiplexProgramSettings) SetPreferredChannelPipeline(v string) *MultiplexProgramSettings { - s.PreferredChannelPipeline = &v - return s -} - -// SetProgramNumber sets the ProgramNumber field's value. -func (s *MultiplexProgramSettings) SetProgramNumber(v int64) *MultiplexProgramSettings { - s.ProgramNumber = &v - return s -} - -// SetServiceDescriptor sets the ServiceDescriptor field's value. -func (s *MultiplexProgramSettings) SetServiceDescriptor(v *MultiplexProgramServiceDescriptor) *MultiplexProgramSettings { - s.ServiceDescriptor = v - return s -} - -// SetVideoSettings sets the VideoSettings field's value. -func (s *MultiplexProgramSettings) SetVideoSettings(v *MultiplexVideoSettings) *MultiplexProgramSettings { - s.VideoSettings = v +// SetInputDeviceId sets the InputDeviceId field's value. +func (s *RejectInputDeviceTransferInput) SetInputDeviceId(v string) *RejectInputDeviceTransferInput { + s.InputDeviceId = &v return s } -type MultiplexProgramSummary struct { +type RejectInputDeviceTransferOutput struct { _ struct{} `type:"structure"` - - // The MediaLive Channel associated with the program. - ChannelId *string `locationName:"channelId" type:"string"` - - // The name of the multiplex program. - ProgramName *string `locationName:"programName" type:"string"` } // String returns the string representation. @@ -25937,7 +34278,7 @@ type MultiplexProgramSummary struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexProgramSummary) String() string { +func (s RejectInputDeviceTransferOutput) String() string { return awsutil.Prettify(s) } @@ -25946,41 +34287,24 @@ func (s MultiplexProgramSummary) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexProgramSummary) GoString() string { +func (s RejectInputDeviceTransferOutput) GoString() string { return s.String() } -// SetChannelId sets the ChannelId field's value. -func (s *MultiplexProgramSummary) SetChannelId(v string) *MultiplexProgramSummary { - s.ChannelId = &v - return s -} - -// SetProgramName sets the ProgramName field's value. -func (s *MultiplexProgramSummary) SetProgramName(v string) *MultiplexProgramSummary { - s.ProgramName = &v - return s -} - -// Contains configuration for a Multiplex event -type MultiplexSettings struct { +// Remix Settings +type RemixSettings struct { _ struct{} `type:"structure"` - // Maximum video buffer delay in milliseconds. - MaximumVideoBufferDelayMilliseconds *int64 `locationName:"maximumVideoBufferDelayMilliseconds" min:"800" type:"integer"` - - // Transport stream bit rate. + // Mapping of input channels to output channels, with appropriate gain adjustments. // - // TransportStreamBitrate is a required field - TransportStreamBitrate *int64 `locationName:"transportStreamBitrate" min:"1e+06" type:"integer" required:"true"` + // ChannelMappings is a required field + ChannelMappings []*AudioChannelMapping `locationName:"channelMappings" type:"list" required:"true"` - // Transport stream ID. - // - // TransportStreamId is a required field - TransportStreamId *int64 `locationName:"transportStreamId" type:"integer" required:"true"` + // Number of input channels to be used. + ChannelsIn *int64 `locationName:"channelsIn" min:"1" type:"integer"` - // Transport stream reserved bit rate. - TransportStreamReservedBitrate *int64 `locationName:"transportStreamReservedBitrate" type:"integer"` + // Number of output channels to be produced.Valid values: 1, 2, 4, 6, 8 + ChannelsOut *int64 `locationName:"channelsOut" min:"1" type:"integer"` } // String returns the string representation. @@ -25988,7 +34312,7 @@ type MultiplexSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexSettings) String() string { +func (s RemixSettings) String() string { return awsutil.Prettify(s) } @@ -25997,24 +34321,31 @@ func (s MultiplexSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexSettings) GoString() string { +func (s RemixSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *MultiplexSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "MultiplexSettings"} - if s.MaximumVideoBufferDelayMilliseconds != nil && *s.MaximumVideoBufferDelayMilliseconds < 800 { - invalidParams.Add(request.NewErrParamMinValue("MaximumVideoBufferDelayMilliseconds", 800)) +func (s *RemixSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RemixSettings"} + if s.ChannelMappings == nil { + invalidParams.Add(request.NewErrParamRequired("ChannelMappings")) } - if s.TransportStreamBitrate == nil { - invalidParams.Add(request.NewErrParamRequired("TransportStreamBitrate")) + if s.ChannelsIn != nil && *s.ChannelsIn < 1 { + invalidParams.Add(request.NewErrParamMinValue("ChannelsIn", 1)) } - if s.TransportStreamBitrate != nil && *s.TransportStreamBitrate < 1e+06 { - invalidParams.Add(request.NewErrParamMinValue("TransportStreamBitrate", 1e+06)) + if s.ChannelsOut != nil && *s.ChannelsOut < 1 { + invalidParams.Add(request.NewErrParamMinValue("ChannelsOut", 1)) } - if s.TransportStreamId == nil { - invalidParams.Add(request.NewErrParamRequired("TransportStreamId")) + if s.ChannelMappings != nil { + for i, v := range s.ChannelMappings { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ChannelMappings", i), err.(request.ErrInvalidParams)) + } + } } if invalidParams.Len() > 0 { @@ -26023,78 +34354,33 @@ func (s *MultiplexSettings) Validate() error { return nil } -// SetMaximumVideoBufferDelayMilliseconds sets the MaximumVideoBufferDelayMilliseconds field's value. -func (s *MultiplexSettings) SetMaximumVideoBufferDelayMilliseconds(v int64) *MultiplexSettings { - s.MaximumVideoBufferDelayMilliseconds = &v - return s -} - -// SetTransportStreamBitrate sets the TransportStreamBitrate field's value. -func (s *MultiplexSettings) SetTransportStreamBitrate(v int64) *MultiplexSettings { - s.TransportStreamBitrate = &v - return s -} - -// SetTransportStreamId sets the TransportStreamId field's value. -func (s *MultiplexSettings) SetTransportStreamId(v int64) *MultiplexSettings { - s.TransportStreamId = &v +// SetChannelMappings sets the ChannelMappings field's value. +func (s *RemixSettings) SetChannelMappings(v []*AudioChannelMapping) *RemixSettings { + s.ChannelMappings = v return s } -// SetTransportStreamReservedBitrate sets the TransportStreamReservedBitrate field's value. -func (s *MultiplexSettings) SetTransportStreamReservedBitrate(v int64) *MultiplexSettings { - s.TransportStreamReservedBitrate = &v +// SetChannelsIn sets the ChannelsIn field's value. +func (s *RemixSettings) SetChannelsIn(v int64) *RemixSettings { + s.ChannelsIn = &v return s } -// Contains summary configuration for a Multiplex event. -type MultiplexSettingsSummary struct { - _ struct{} `type:"structure"` - - // Transport stream bit rate. - TransportStreamBitrate *int64 `locationName:"transportStreamBitrate" min:"1e+06" type:"integer"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s MultiplexSettingsSummary) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s MultiplexSettingsSummary) GoString() string { - return s.String() -} - -// SetTransportStreamBitrate sets the TransportStreamBitrate field's value. -func (s *MultiplexSettingsSummary) SetTransportStreamBitrate(v int64) *MultiplexSettingsSummary { - s.TransportStreamBitrate = &v +// SetChannelsOut sets the ChannelsOut field's value. +func (s *RemixSettings) SetChannelsOut(v int64) *RemixSettings { + s.ChannelsOut = &v return s } -// Statmux rate control settings -type MultiplexStatmuxVideoSettings struct { +// The Renewal settings for Reservations +type RenewalSettings struct { _ struct{} `type:"structure"` - // Maximum statmux bitrate. - MaximumBitrate *int64 `locationName:"maximumBitrate" min:"100000" type:"integer"` - - // Minimum statmux bitrate. - MinimumBitrate *int64 `locationName:"minimumBitrate" min:"100000" type:"integer"` + // Automatic renewal status for the reservation + AutomaticRenewal *string `locationName:"automaticRenewal" type:"string" enum:"ReservationAutomaticRenewal"` - // The purpose of the priority is to use a combination of the\nmultiplex rate - // control algorithm and the QVBR capability of the\nencoder to prioritize the - // video quality of some channels in a\nmultiplex over others. Channels that - // have a higher priority will\nget higher video quality at the expense of the - // video quality of\nother channels in the multiplex with lower priority. - Priority *int64 `locationName:"priority" type:"integer"` + // Count for the reservation renewal + RenewalCount *int64 `locationName:"renewalCount" min:"1" type:"integer"` } // String returns the string representation. @@ -26102,7 +34388,7 @@ type MultiplexStatmuxVideoSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexStatmuxVideoSettings) String() string { +func (s RenewalSettings) String() string { return awsutil.Prettify(s) } @@ -26111,21 +34397,15 @@ func (s MultiplexStatmuxVideoSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexStatmuxVideoSettings) GoString() string { +func (s RenewalSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *MultiplexStatmuxVideoSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "MultiplexStatmuxVideoSettings"} - if s.MaximumBitrate != nil && *s.MaximumBitrate < 100000 { - invalidParams.Add(request.NewErrParamMinValue("MaximumBitrate", 100000)) - } - if s.MinimumBitrate != nil && *s.MinimumBitrate < 100000 { - invalidParams.Add(request.NewErrParamMinValue("MinimumBitrate", 100000)) - } - if s.Priority != nil && *s.Priority < -5 { - invalidParams.Add(request.NewErrParamMinValue("Priority", -5)) +func (s *RenewalSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RenewalSettings"} + if s.RenewalCount != nil && *s.RenewalCount < 1 { + invalidParams.Add(request.NewErrParamMinValue("RenewalCount", 1)) } if invalidParams.Len() > 0 { @@ -26134,53 +34414,79 @@ func (s *MultiplexStatmuxVideoSettings) Validate() error { return nil } -// SetMaximumBitrate sets the MaximumBitrate field's value. -func (s *MultiplexStatmuxVideoSettings) SetMaximumBitrate(v int64) *MultiplexStatmuxVideoSettings { - s.MaximumBitrate = &v - return s -} - -// SetMinimumBitrate sets the MinimumBitrate field's value. -func (s *MultiplexStatmuxVideoSettings) SetMinimumBitrate(v int64) *MultiplexStatmuxVideoSettings { - s.MinimumBitrate = &v +// SetAutomaticRenewal sets the AutomaticRenewal field's value. +func (s *RenewalSettings) SetAutomaticRenewal(v string) *RenewalSettings { + s.AutomaticRenewal = &v return s } -// SetPriority sets the Priority field's value. -func (s *MultiplexStatmuxVideoSettings) SetPriority(v int64) *MultiplexStatmuxVideoSettings { - s.Priority = &v +// SetRenewalCount sets the RenewalCount field's value. +func (s *RenewalSettings) SetRenewalCount(v int64) *RenewalSettings { + s.RenewalCount = &v return s } -type MultiplexSummary struct { +// Reserved resources available to use +type Reservation struct { _ struct{} `type:"structure"` - // The unique arn of the multiplex. + // Unique reservation ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:reservation:1234567' Arn *string `locationName:"arn" type:"string"` - // A list of availability zones for the multiplex. - AvailabilityZones []*string `locationName:"availabilityZones" type:"list"` + // Number of reserved resources + Count *int64 `locationName:"count" type:"integer"` - // The unique id of the multiplex. - Id *string `locationName:"id" type:"string"` + // Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD' + CurrencyCode *string `locationName:"currencyCode" type:"string"` - // Configuration for a multiplex event. - MultiplexSettings *MultiplexSettingsSummary `locationName:"multiplexSettings" type:"structure"` + // Lease duration, e.g. '12' + Duration *int64 `locationName:"duration" type:"integer"` - // The name of the multiplex. + // Units for duration, e.g. 'MONTHS' + DurationUnits *string `locationName:"durationUnits" type:"string" enum:"OfferingDurationUnits"` + + // Reservation UTC end date and time in ISO-8601 format, e.g. '2019-03-01T00:00:00' + End *string `locationName:"end" type:"string"` + + // One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering + FixedPrice *float64 `locationName:"fixedPrice" type:"double"` + + // User specified reservation name Name *string `locationName:"name" type:"string"` - // The number of currently healthy pipelines. - PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` + // Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard + // VQ in US West (Oregon)' + OfferingDescription *string `locationName:"offeringDescription" type:"string"` - // The number of programs in the multiplex. - ProgramCount *int64 `locationName:"programCount" type:"integer"` + // Unique offering ID, e.g. '87654321' + OfferingId *string `locationName:"offeringId" type:"string"` - // The current state of the multiplex. - State *string `locationName:"state" type:"string" enum:"MultiplexState"` + // Offering type, e.g. 'NO_UPFRONT' + OfferingType *string `locationName:"offeringType" type:"string" enum:"OfferingType"` - // A collection of key-value pairs. + // AWS region, e.g. 'us-west-2' + Region *string `locationName:"region" type:"string"` + + // Renewal settings for the reservation + RenewalSettings *RenewalSettings `locationName:"renewalSettings" type:"structure"` + + // Unique reservation ID, e.g. '1234567' + ReservationId *string `locationName:"reservationId" type:"string"` + + // Resource configuration details + ResourceSpecification *ReservationResourceSpecification `locationName:"resourceSpecification" type:"structure"` + + // Reservation UTC start date and time in ISO-8601 format, e.g. '2018-03-01T00:00:00' + Start *string `locationName:"start" type:"string"` + + // Current state of reservation, e.g. 'ACTIVE' + State *string `locationName:"state" type:"string" enum:"ReservationState"` + + // A collection of key-value pairs Tags map[string]*string `locationName:"tags" type:"map"` + + // Recurring usage charge for each reserved resource, e.g. '157.0' + UsagePrice *float64 `locationName:"usagePrice" type:"double"` } // String returns the string representation. @@ -26188,7 +34494,7 @@ type MultiplexSummary struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexSummary) String() string { +func (s Reservation) String() string { return awsutil.Prettify(s) } @@ -26197,75 +34503,151 @@ func (s MultiplexSummary) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexSummary) GoString() string { +func (s Reservation) GoString() string { return s.String() } // SetArn sets the Arn field's value. -func (s *MultiplexSummary) SetArn(v string) *MultiplexSummary { +func (s *Reservation) SetArn(v string) *Reservation { s.Arn = &v return s } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *MultiplexSummary) SetAvailabilityZones(v []*string) *MultiplexSummary { - s.AvailabilityZones = v +// SetCount sets the Count field's value. +func (s *Reservation) SetCount(v int64) *Reservation { + s.Count = &v return s } -// SetId sets the Id field's value. -func (s *MultiplexSummary) SetId(v string) *MultiplexSummary { - s.Id = &v +// SetCurrencyCode sets the CurrencyCode field's value. +func (s *Reservation) SetCurrencyCode(v string) *Reservation { + s.CurrencyCode = &v return s } -// SetMultiplexSettings sets the MultiplexSettings field's value. -func (s *MultiplexSummary) SetMultiplexSettings(v *MultiplexSettingsSummary) *MultiplexSummary { - s.MultiplexSettings = v +// SetDuration sets the Duration field's value. +func (s *Reservation) SetDuration(v int64) *Reservation { + s.Duration = &v + return s +} + +// SetDurationUnits sets the DurationUnits field's value. +func (s *Reservation) SetDurationUnits(v string) *Reservation { + s.DurationUnits = &v + return s +} + +// SetEnd sets the End field's value. +func (s *Reservation) SetEnd(v string) *Reservation { + s.End = &v + return s +} + +// SetFixedPrice sets the FixedPrice field's value. +func (s *Reservation) SetFixedPrice(v float64) *Reservation { + s.FixedPrice = &v return s } // SetName sets the Name field's value. -func (s *MultiplexSummary) SetName(v string) *MultiplexSummary { +func (s *Reservation) SetName(v string) *Reservation { s.Name = &v return s } -// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. -func (s *MultiplexSummary) SetPipelinesRunningCount(v int64) *MultiplexSummary { - s.PipelinesRunningCount = &v +// SetOfferingDescription sets the OfferingDescription field's value. +func (s *Reservation) SetOfferingDescription(v string) *Reservation { + s.OfferingDescription = &v return s } -// SetProgramCount sets the ProgramCount field's value. -func (s *MultiplexSummary) SetProgramCount(v int64) *MultiplexSummary { - s.ProgramCount = &v +// SetOfferingId sets the OfferingId field's value. +func (s *Reservation) SetOfferingId(v string) *Reservation { + s.OfferingId = &v + return s +} + +// SetOfferingType sets the OfferingType field's value. +func (s *Reservation) SetOfferingType(v string) *Reservation { + s.OfferingType = &v + return s +} + +// SetRegion sets the Region field's value. +func (s *Reservation) SetRegion(v string) *Reservation { + s.Region = &v + return s +} + +// SetRenewalSettings sets the RenewalSettings field's value. +func (s *Reservation) SetRenewalSettings(v *RenewalSettings) *Reservation { + s.RenewalSettings = v + return s +} + +// SetReservationId sets the ReservationId field's value. +func (s *Reservation) SetReservationId(v string) *Reservation { + s.ReservationId = &v + return s +} + +// SetResourceSpecification sets the ResourceSpecification field's value. +func (s *Reservation) SetResourceSpecification(v *ReservationResourceSpecification) *Reservation { + s.ResourceSpecification = v + return s +} + +// SetStart sets the Start field's value. +func (s *Reservation) SetStart(v string) *Reservation { + s.Start = &v return s } // SetState sets the State field's value. -func (s *MultiplexSummary) SetState(v string) *MultiplexSummary { +func (s *Reservation) SetState(v string) *Reservation { s.State = &v return s } -// SetTags sets the Tags field's value. -func (s *MultiplexSummary) SetTags(v map[string]*string) *MultiplexSummary { - s.Tags = v - return s -} +// SetTags sets the Tags field's value. +func (s *Reservation) SetTags(v map[string]*string) *Reservation { + s.Tags = v + return s +} + +// SetUsagePrice sets the UsagePrice field's value. +func (s *Reservation) SetUsagePrice(v float64) *Reservation { + s.UsagePrice = &v + return s +} + +// Resource configuration (codec, resolution, bitrate, ...) +type ReservationResourceSpecification struct { + _ struct{} `type:"structure"` + + // Channel class, e.g. 'STANDARD' + ChannelClass *string `locationName:"channelClass" type:"string" enum:"ChannelClass"` + + // Codec, e.g. 'AVC' + Codec *string `locationName:"codec" type:"string" enum:"ReservationCodec"` + + // Maximum bitrate, e.g. 'MAX_20_MBPS' + MaximumBitrate *string `locationName:"maximumBitrate" type:"string" enum:"ReservationMaximumBitrate"` + + // Maximum framerate, e.g. 'MAX_30_FPS' (Outputs only) + MaximumFramerate *string `locationName:"maximumFramerate" type:"string" enum:"ReservationMaximumFramerate"` + + // Resolution, e.g. 'HD' + Resolution *string `locationName:"resolution" type:"string" enum:"ReservationResolution"` -// The video configuration for each program in a multiplex. -type MultiplexVideoSettings struct { - _ struct{} `type:"structure"` + // Resource type, 'INPUT', 'OUTPUT', 'MULTIPLEX', or 'CHANNEL' + ResourceType *string `locationName:"resourceType" type:"string" enum:"ReservationResourceType"` - // The constant bitrate configuration for the video encode.When this field is - // defined, StatmuxSettings must be undefined. - ConstantBitrate *int64 `locationName:"constantBitrate" min:"100000" type:"integer"` + // Special feature, e.g. 'AUDIO_NORMALIZATION' (Channels only) + SpecialFeature *string `locationName:"specialFeature" type:"string" enum:"ReservationSpecialFeature"` - // Statmux rate control settings.When this field is defined, ConstantBitrate - // must be undefined. - StatmuxSettings *MultiplexStatmuxVideoSettings `locationName:"statmuxSettings" type:"structure"` + // Video quality, e.g. 'STANDARD' (Outputs only) + VideoQuality *string `locationName:"videoQuality" type:"string" enum:"ReservationVideoQuality"` } // String returns the string representation. @@ -26273,7 +34655,7 @@ type MultiplexVideoSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexVideoSettings) String() string { +func (s ReservationResourceSpecification) String() string { return awsutil.Prettify(s) } @@ -26282,106 +34664,66 @@ func (s MultiplexVideoSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MultiplexVideoSettings) GoString() string { +func (s ReservationResourceSpecification) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *MultiplexVideoSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "MultiplexVideoSettings"} - if s.ConstantBitrate != nil && *s.ConstantBitrate < 100000 { - invalidParams.Add(request.NewErrParamMinValue("ConstantBitrate", 100000)) - } - if s.StatmuxSettings != nil { - if err := s.StatmuxSettings.Validate(); err != nil { - invalidParams.AddNested("StatmuxSettings", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetChannelClass sets the ChannelClass field's value. +func (s *ReservationResourceSpecification) SetChannelClass(v string) *ReservationResourceSpecification { + s.ChannelClass = &v + return s } -// SetConstantBitrate sets the ConstantBitrate field's value. -func (s *MultiplexVideoSettings) SetConstantBitrate(v int64) *MultiplexVideoSettings { - s.ConstantBitrate = &v +// SetCodec sets the Codec field's value. +func (s *ReservationResourceSpecification) SetCodec(v string) *ReservationResourceSpecification { + s.Codec = &v return s } -// SetStatmuxSettings sets the StatmuxSettings field's value. -func (s *MultiplexVideoSettings) SetStatmuxSettings(v *MultiplexStatmuxVideoSettings) *MultiplexVideoSettings { - s.StatmuxSettings = v +// SetMaximumBitrate sets the MaximumBitrate field's value. +func (s *ReservationResourceSpecification) SetMaximumBitrate(v string) *ReservationResourceSpecification { + s.MaximumBitrate = &v return s } -// Network source to transcode. Must be accessible to the Elemental Live node -// that is running the live event through a network connection. -type NetworkInputSettings struct { - _ struct{} `type:"structure"` - - // Specifies HLS input settings when the uri is for a HLS manifest. - HlsInputSettings *HlsInputSettings `locationName:"hlsInputSettings" type:"structure"` - - // Check HTTPS server certificates. When set to checkCryptographyOnly, cryptography - // in the certificate will be checked, but not the server's name. Certain subdomains - // (notably S3 buckets that use dots in the bucket name) do not strictly match - // the corresponding certificate's wildcard pattern and would otherwise cause - // the event to error. This setting is ignored for protocols that do not use - // https. - ServerValidation *string `locationName:"serverValidation" type:"string" enum:"NetworkInputServerValidation"` +// SetMaximumFramerate sets the MaximumFramerate field's value. +func (s *ReservationResourceSpecification) SetMaximumFramerate(v string) *ReservationResourceSpecification { + s.MaximumFramerate = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s NetworkInputSettings) String() string { - return awsutil.Prettify(s) +// SetResolution sets the Resolution field's value. +func (s *ReservationResourceSpecification) SetResolution(v string) *ReservationResourceSpecification { + s.Resolution = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s NetworkInputSettings) GoString() string { - return s.String() +// SetResourceType sets the ResourceType field's value. +func (s *ReservationResourceSpecification) SetResourceType(v string) *ReservationResourceSpecification { + s.ResourceType = &v + return s } -// SetHlsInputSettings sets the HlsInputSettings field's value. -func (s *NetworkInputSettings) SetHlsInputSettings(v *HlsInputSettings) *NetworkInputSettings { - s.HlsInputSettings = v +// SetSpecialFeature sets the SpecialFeature field's value. +func (s *ReservationResourceSpecification) SetSpecialFeature(v string) *ReservationResourceSpecification { + s.SpecialFeature = &v return s } -// SetServerValidation sets the ServerValidation field's value. -func (s *NetworkInputSettings) SetServerValidation(v string) *NetworkInputSettings { - s.ServerValidation = &v +// SetVideoQuality sets the VideoQuality field's value. +func (s *ReservationResourceSpecification) SetVideoQuality(v string) *ReservationResourceSpecification { + s.VideoQuality = &v return s } -// Nielsen CBET -type NielsenCBET struct { +type RestartChannelPipelinesInput struct { _ struct{} `type:"structure"` - // Enter the CBET check digits to use in the watermark. - // - // CbetCheckDigitString is a required field - CbetCheckDigitString *string `locationName:"cbetCheckDigitString" min:"2" type:"string" required:"true"` - - // Determines the method of CBET insertion mode when prior encoding is detected - // on the same layer. - // - // CbetStepaside is a required field - CbetStepaside *string `locationName:"cbetStepaside" type:"string" required:"true" enum:"NielsenWatermarksCbetStepaside"` + // ChannelId is a required field + ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` - // Enter the CBET Source ID (CSID) to use in the watermark - // - // Csid is a required field - Csid *string `locationName:"csid" min:"1" type:"string" required:"true"` + // An array of pipelines to restart in this channel. Format PIPELINE_0 or PIPELINE_1. + PipelineIds []*string `locationName:"pipelineIds" type:"list" enum:"ChannelPipelineIdToRestart"` } // String returns the string representation. @@ -26389,7 +34731,7 @@ type NielsenCBET struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s NielsenCBET) String() string { +func (s RestartChannelPipelinesInput) String() string { return awsutil.Prettify(s) } @@ -26398,27 +34740,18 @@ func (s NielsenCBET) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s NielsenCBET) GoString() string { +func (s RestartChannelPipelinesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *NielsenCBET) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "NielsenCBET"} - if s.CbetCheckDigitString == nil { - invalidParams.Add(request.NewErrParamRequired("CbetCheckDigitString")) - } - if s.CbetCheckDigitString != nil && len(*s.CbetCheckDigitString) < 2 { - invalidParams.Add(request.NewErrParamMinLen("CbetCheckDigitString", 2)) - } - if s.CbetStepaside == nil { - invalidParams.Add(request.NewErrParamRequired("CbetStepaside")) - } - if s.Csid == nil { - invalidParams.Add(request.NewErrParamRequired("Csid")) +func (s *RestartChannelPipelinesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RestartChannelPipelinesInput"} + if s.ChannelId == nil { + invalidParams.Add(request.NewErrParamRequired("ChannelId")) } - if s.Csid != nil && len(*s.Csid) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Csid", 1)) + if s.ChannelId != nil && len(*s.ChannelId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) } if invalidParams.Len() > 0 { @@ -26427,33 +34760,63 @@ func (s *NielsenCBET) Validate() error { return nil } -// SetCbetCheckDigitString sets the CbetCheckDigitString field's value. -func (s *NielsenCBET) SetCbetCheckDigitString(v string) *NielsenCBET { - s.CbetCheckDigitString = &v - return s -} - -// SetCbetStepaside sets the CbetStepaside field's value. -func (s *NielsenCBET) SetCbetStepaside(v string) *NielsenCBET { - s.CbetStepaside = &v +// SetChannelId sets the ChannelId field's value. +func (s *RestartChannelPipelinesInput) SetChannelId(v string) *RestartChannelPipelinesInput { + s.ChannelId = &v return s } -// SetCsid sets the Csid field's value. -func (s *NielsenCBET) SetCsid(v string) *NielsenCBET { - s.Csid = &v +// SetPipelineIds sets the PipelineIds field's value. +func (s *RestartChannelPipelinesInput) SetPipelineIds(v []*string) *RestartChannelPipelinesInput { + s.PipelineIds = v return s } -// Nielsen Configuration -type NielsenConfiguration struct { +type RestartChannelPipelinesOutput struct { _ struct{} `type:"structure"` - // Enter the Distributor ID assigned to your organization by Nielsen. - DistributorId *string `locationName:"distributorId" type:"string"` + Arn *string `locationName:"arn" type:"string"` - // Enables Nielsen PCM to ID3 tagging - NielsenPcmToId3Tagging *string `locationName:"nielsenPcmToId3Tagging" type:"string" enum:"NielsenPcmToId3TaggingState"` + CdiInputSpecification *CdiInputSpecification `locationName:"cdiInputSpecification" type:"structure"` + + // A standard channel has two encoding pipelines and a single pipeline channel + // only has one. + ChannelClass *string `locationName:"channelClass" type:"string" enum:"ChannelClass"` + + Destinations []*OutputDestination `locationName:"destinations" type:"list"` + + EgressEndpoints []*ChannelEgressEndpoint `locationName:"egressEndpoints" type:"list"` + + // Encoder Settings + EncoderSettings *EncoderSettings `locationName:"encoderSettings" type:"structure"` + + Id *string `locationName:"id" type:"string"` + + InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` + + InputSpecification *InputSpecification `locationName:"inputSpecification" type:"structure"` + + // The log level the user wants for their channel. + LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` + + Maintenance *MaintenanceStatus `locationName:"maintenance" type:"structure"` + + MaintenanceStatus *string `locationName:"maintenanceStatus" type:"string"` + + Name *string `locationName:"name" type:"string"` + + PipelineDetails []*PipelineDetail `locationName:"pipelineDetails" type:"list"` + + PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` + + RoleArn *string `locationName:"roleArn" type:"string"` + + State *string `locationName:"state" type:"string" enum:"ChannelState"` + + Tags map[string]*string `locationName:"tags" type:"map"` + + // The properties for a private VPC Output + Vpc *VpcOutputSettingsDescription `locationName:"vpc" type:"structure"` } // String returns the string representation. @@ -26461,7 +34824,7 @@ type NielsenConfiguration struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s NielsenConfiguration) String() string { +func (s RestartChannelPipelinesOutput) String() string { return awsutil.Prettify(s) } @@ -26470,174 +34833,127 @@ func (s NielsenConfiguration) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s NielsenConfiguration) GoString() string { +func (s RestartChannelPipelinesOutput) GoString() string { return s.String() } -// SetDistributorId sets the DistributorId field's value. -func (s *NielsenConfiguration) SetDistributorId(v string) *NielsenConfiguration { - s.DistributorId = &v +// SetArn sets the Arn field's value. +func (s *RestartChannelPipelinesOutput) SetArn(v string) *RestartChannelPipelinesOutput { + s.Arn = &v return s } -// SetNielsenPcmToId3Tagging sets the NielsenPcmToId3Tagging field's value. -func (s *NielsenConfiguration) SetNielsenPcmToId3Tagging(v string) *NielsenConfiguration { - s.NielsenPcmToId3Tagging = &v +// SetCdiInputSpecification sets the CdiInputSpecification field's value. +func (s *RestartChannelPipelinesOutput) SetCdiInputSpecification(v *CdiInputSpecification) *RestartChannelPipelinesOutput { + s.CdiInputSpecification = v return s } -// Nielsen Naes Ii Nw -type NielsenNaesIiNw struct { - _ struct{} `type:"structure"` - - // Enter the check digit string for the watermark - // - // CheckDigitString is a required field - CheckDigitString *string `locationName:"checkDigitString" min:"2" type:"string" required:"true"` - - // Enter the Nielsen Source ID (SID) to include in the watermark - // - // Sid is a required field - Sid *float64 `locationName:"sid" type:"double" required:"true"` - - // Choose the timezone for the time stamps in the watermark. If not provided,the - // timestamps will be in Coordinated Universal Time (UTC) - Timezone *string `locationName:"timezone" type:"string" enum:"NielsenWatermarkTimezones"` +// SetChannelClass sets the ChannelClass field's value. +func (s *RestartChannelPipelinesOutput) SetChannelClass(v string) *RestartChannelPipelinesOutput { + s.ChannelClass = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s NielsenNaesIiNw) String() string { - return awsutil.Prettify(s) +// SetDestinations sets the Destinations field's value. +func (s *RestartChannelPipelinesOutput) SetDestinations(v []*OutputDestination) *RestartChannelPipelinesOutput { + s.Destinations = v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s NielsenNaesIiNw) GoString() string { - return s.String() +// SetEgressEndpoints sets the EgressEndpoints field's value. +func (s *RestartChannelPipelinesOutput) SetEgressEndpoints(v []*ChannelEgressEndpoint) *RestartChannelPipelinesOutput { + s.EgressEndpoints = v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *NielsenNaesIiNw) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "NielsenNaesIiNw"} - if s.CheckDigitString == nil { - invalidParams.Add(request.NewErrParamRequired("CheckDigitString")) - } - if s.CheckDigitString != nil && len(*s.CheckDigitString) < 2 { - invalidParams.Add(request.NewErrParamMinLen("CheckDigitString", 2)) - } - if s.Sid == nil { - invalidParams.Add(request.NewErrParamRequired("Sid")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetEncoderSettings sets the EncoderSettings field's value. +func (s *RestartChannelPipelinesOutput) SetEncoderSettings(v *EncoderSettings) *RestartChannelPipelinesOutput { + s.EncoderSettings = v + return s } -// SetCheckDigitString sets the CheckDigitString field's value. -func (s *NielsenNaesIiNw) SetCheckDigitString(v string) *NielsenNaesIiNw { - s.CheckDigitString = &v +// SetId sets the Id field's value. +func (s *RestartChannelPipelinesOutput) SetId(v string) *RestartChannelPipelinesOutput { + s.Id = &v return s } -// SetSid sets the Sid field's value. -func (s *NielsenNaesIiNw) SetSid(v float64) *NielsenNaesIiNw { - s.Sid = &v +// SetInputAttachments sets the InputAttachments field's value. +func (s *RestartChannelPipelinesOutput) SetInputAttachments(v []*InputAttachment) *RestartChannelPipelinesOutput { + s.InputAttachments = v return s } -// SetTimezone sets the Timezone field's value. -func (s *NielsenNaesIiNw) SetTimezone(v string) *NielsenNaesIiNw { - s.Timezone = &v +// SetInputSpecification sets the InputSpecification field's value. +func (s *RestartChannelPipelinesOutput) SetInputSpecification(v *InputSpecification) *RestartChannelPipelinesOutput { + s.InputSpecification = v return s } -// Nielsen Watermarks Settings -type NielsenWatermarksSettings struct { - _ struct{} `type:"structure"` - - // Complete these fields only if you want to insert watermarks of type Nielsen - // CBET - NielsenCbetSettings *NielsenCBET `locationName:"nielsenCbetSettings" type:"structure"` - - // Choose the distribution types that you want to assign to the watermarks:- - // PROGRAM_CONTENT- FINAL_DISTRIBUTOR - NielsenDistributionType *string `locationName:"nielsenDistributionType" type:"string" enum:"NielsenWatermarksDistributionTypes"` +// SetLogLevel sets the LogLevel field's value. +func (s *RestartChannelPipelinesOutput) SetLogLevel(v string) *RestartChannelPipelinesOutput { + s.LogLevel = &v + return s +} - // Complete these fields only if you want to insert watermarks of type Nielsen - // NAES II (N2) and Nielsen NAES VI (NW). - NielsenNaesIiNwSettings *NielsenNaesIiNw `locationName:"nielsenNaesIiNwSettings" type:"structure"` +// SetMaintenance sets the Maintenance field's value. +func (s *RestartChannelPipelinesOutput) SetMaintenance(v *MaintenanceStatus) *RestartChannelPipelinesOutput { + s.Maintenance = v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s NielsenWatermarksSettings) String() string { - return awsutil.Prettify(s) +// SetMaintenanceStatus sets the MaintenanceStatus field's value. +func (s *RestartChannelPipelinesOutput) SetMaintenanceStatus(v string) *RestartChannelPipelinesOutput { + s.MaintenanceStatus = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s NielsenWatermarksSettings) GoString() string { - return s.String() +// SetName sets the Name field's value. +func (s *RestartChannelPipelinesOutput) SetName(v string) *RestartChannelPipelinesOutput { + s.Name = &v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *NielsenWatermarksSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "NielsenWatermarksSettings"} - if s.NielsenCbetSettings != nil { - if err := s.NielsenCbetSettings.Validate(); err != nil { - invalidParams.AddNested("NielsenCbetSettings", err.(request.ErrInvalidParams)) - } - } - if s.NielsenNaesIiNwSettings != nil { - if err := s.NielsenNaesIiNwSettings.Validate(); err != nil { - invalidParams.AddNested("NielsenNaesIiNwSettings", err.(request.ErrInvalidParams)) - } - } +// SetPipelineDetails sets the PipelineDetails field's value. +func (s *RestartChannelPipelinesOutput) SetPipelineDetails(v []*PipelineDetail) *RestartChannelPipelinesOutput { + s.PipelineDetails = v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. +func (s *RestartChannelPipelinesOutput) SetPipelinesRunningCount(v int64) *RestartChannelPipelinesOutput { + s.PipelinesRunningCount = &v + return s } -// SetNielsenCbetSettings sets the NielsenCbetSettings field's value. -func (s *NielsenWatermarksSettings) SetNielsenCbetSettings(v *NielsenCBET) *NielsenWatermarksSettings { - s.NielsenCbetSettings = v +// SetRoleArn sets the RoleArn field's value. +func (s *RestartChannelPipelinesOutput) SetRoleArn(v string) *RestartChannelPipelinesOutput { + s.RoleArn = &v return s } -// SetNielsenDistributionType sets the NielsenDistributionType field's value. -func (s *NielsenWatermarksSettings) SetNielsenDistributionType(v string) *NielsenWatermarksSettings { - s.NielsenDistributionType = &v +// SetState sets the State field's value. +func (s *RestartChannelPipelinesOutput) SetState(v string) *RestartChannelPipelinesOutput { + s.State = &v return s } -// SetNielsenNaesIiNwSettings sets the NielsenNaesIiNwSettings field's value. -func (s *NielsenWatermarksSettings) SetNielsenNaesIiNwSettings(v *NielsenNaesIiNw) *NielsenWatermarksSettings { - s.NielsenNaesIiNwSettings = v +// SetTags sets the Tags field's value. +func (s *RestartChannelPipelinesOutput) SetTags(v map[string]*string) *RestartChannelPipelinesOutput { + s.Tags = v return s } -type NotFoundException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// SetVpc sets the Vpc field's value. +func (s *RestartChannelPipelinesOutput) SetVpc(v *VpcOutputSettingsDescription) *RestartChannelPipelinesOutput { + s.Vpc = v + return s +} - Message_ *string `locationName:"message" type:"string"` +// Rtmp Caption Info Destination Settings +type RtmpCaptionInfoDestinationSettings struct { + _ struct{} `type:"structure"` } // String returns the string representation. @@ -26645,7 +34961,7 @@ type NotFoundException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s NotFoundException) String() string { +func (s RtmpCaptionInfoDestinationSettings) String() string { return awsutil.Prettify(s) } @@ -26654,85 +34970,56 @@ func (s NotFoundException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s NotFoundException) GoString() string { +func (s RtmpCaptionInfoDestinationSettings) GoString() string { return s.String() } -func newErrorNotFoundException(v protocol.ResponseMetadata) error { - return &NotFoundException{ - RespMetadata: v, - } -} - -// Code returns the exception type name. -func (s *NotFoundException) Code() string { - return "NotFoundException" -} - -// Message returns the exception's message. -func (s *NotFoundException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" -} - -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *NotFoundException) OrigErr() error { - return nil -} - -func (s *NotFoundException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) -} - -// Status code returns the HTTP status code for the request's response error. -func (s *NotFoundException) StatusCode() int { - return s.RespMetadata.StatusCode -} - -// RequestID returns the service's response RequestID for request. -func (s *NotFoundException) RequestID() string { - return s.RespMetadata.RequestID -} - -// Reserved resources available for purchase -type Offering struct { +// Rtmp Group Settings +type RtmpGroupSettings struct { _ struct{} `type:"structure"` - // Unique offering ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:offering:87654321' - Arn *string `locationName:"arn" type:"string"` - - // Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD' - CurrencyCode *string `locationName:"currencyCode" type:"string"` - - // Lease duration, e.g. '12' - Duration *int64 `locationName:"duration" type:"integer"` - - // Units for duration, e.g. 'MONTHS' - DurationUnits *string `locationName:"durationUnits" type:"string" enum:"OfferingDurationUnits"` + // Choose the ad marker type for this output group. MediaLive will create a + // message based on the content of each SCTE-35 message, format it for that + // marker type, and insert it in the datastream. + AdMarkers []*string `locationName:"adMarkers" type:"list" enum:"RtmpAdMarkers"` - // One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering - FixedPrice *float64 `locationName:"fixedPrice" type:"double"` + // Authentication scheme to use when connecting with CDN + AuthenticationScheme *string `locationName:"authenticationScheme" type:"string" enum:"AuthenticationScheme"` - // Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard - // VQ in US West (Oregon)' - OfferingDescription *string `locationName:"offeringDescription" type:"string"` + // Controls behavior when content cache fills up. If remote origin server stalls + // the RTMP connection and does not accept content fast enough the 'Media Cache' + // will fill up. When the cache reaches the duration specified by cacheLength + // the cache will stop accepting new content. If set to disconnectImmediately, + // the RTMP output will force a disconnect. Clear the media cache, and reconnect + // after restartDelay seconds. If set to waitForServer, the RTMP output will + // wait up to 5 minutes to allow the origin server to begin accepting data again. + CacheFullBehavior *string `locationName:"cacheFullBehavior" type:"string" enum:"RtmpCacheFullBehavior"` - // Unique offering ID, e.g. '87654321' - OfferingId *string `locationName:"offeringId" type:"string"` + // Cache length, in seconds, is used to calculate buffer size. + CacheLength *int64 `locationName:"cacheLength" min:"30" type:"integer"` - // Offering type, e.g. 'NO_UPFRONT' - OfferingType *string `locationName:"offeringType" type:"string" enum:"OfferingType"` + // Controls the types of data that passes to onCaptionInfo outputs. If set to + // 'all' then 608 and 708 carried DTVCC data will be passed. If set to 'field1AndField2608' + // then DTVCC data will be stripped out, but 608 data from both fields will + // be passed. If set to 'field1608' then only the data carried in 608 from field + // 1 video will be passed. + CaptionData *string `locationName:"captionData" type:"string" enum:"RtmpCaptionData"` - // AWS region, e.g. 'us-west-2' - Region *string `locationName:"region" type:"string"` + // Applies only when the rate control mode (in the codec settings) is CBR (constant + // bit rate). Controls whether the RTMP output stream is padded (with FILL NAL + // units) in order to achieve a constant bit rate that is truly constant. When + // there is no padding, the bandwidth varies (up to the bitrate value in the + // codec settings). We recommend that you choose Auto. + IncludeFillerNalUnits *string `locationName:"includeFillerNalUnits" type:"string" enum:"IncludeFillerNalUnits"` - // Resource configuration details - ResourceSpecification *ReservationResourceSpecification `locationName:"resourceSpecification" type:"structure"` + // Controls the behavior of this RTMP group if input becomes unavailable.- emitOutput: + // Emit a slate until input returns.- pauseOutput: Stop transmitting data until + // input returns. This does not close the underlying RTMP connection. + InputLossAction *string `locationName:"inputLossAction" type:"string" enum:"InputLossActionForRtmpOut"` - // Recurring usage charge for each reserved resource, e.g. '157.0' - UsagePrice *float64 `locationName:"usagePrice" type:"double"` + // If a streaming output fails, number of seconds to wait until a restart is + // initiated. A value of 0 means never restart. + RestartDelay *int64 `locationName:"restartDelay" type:"integer"` } // String returns the string representation. @@ -26740,7 +35027,7 @@ type Offering struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Offering) String() string { +func (s RtmpGroupSettings) String() string { return awsutil.Prettify(s) } @@ -26749,96 +35036,93 @@ func (s Offering) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Offering) GoString() string { +func (s RtmpGroupSettings) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Offering) SetArn(v string) *Offering { - s.Arn = &v - return s -} - -// SetCurrencyCode sets the CurrencyCode field's value. -func (s *Offering) SetCurrencyCode(v string) *Offering { - s.CurrencyCode = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *RtmpGroupSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RtmpGroupSettings"} + if s.CacheLength != nil && *s.CacheLength < 30 { + invalidParams.Add(request.NewErrParamMinValue("CacheLength", 30)) + } -// SetDuration sets the Duration field's value. -func (s *Offering) SetDuration(v int64) *Offering { - s.Duration = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetDurationUnits sets the DurationUnits field's value. -func (s *Offering) SetDurationUnits(v string) *Offering { - s.DurationUnits = &v +// SetAdMarkers sets the AdMarkers field's value. +func (s *RtmpGroupSettings) SetAdMarkers(v []*string) *RtmpGroupSettings { + s.AdMarkers = v return s } -// SetFixedPrice sets the FixedPrice field's value. -func (s *Offering) SetFixedPrice(v float64) *Offering { - s.FixedPrice = &v +// SetAuthenticationScheme sets the AuthenticationScheme field's value. +func (s *RtmpGroupSettings) SetAuthenticationScheme(v string) *RtmpGroupSettings { + s.AuthenticationScheme = &v return s } -// SetOfferingDescription sets the OfferingDescription field's value. -func (s *Offering) SetOfferingDescription(v string) *Offering { - s.OfferingDescription = &v +// SetCacheFullBehavior sets the CacheFullBehavior field's value. +func (s *RtmpGroupSettings) SetCacheFullBehavior(v string) *RtmpGroupSettings { + s.CacheFullBehavior = &v return s } -// SetOfferingId sets the OfferingId field's value. -func (s *Offering) SetOfferingId(v string) *Offering { - s.OfferingId = &v +// SetCacheLength sets the CacheLength field's value. +func (s *RtmpGroupSettings) SetCacheLength(v int64) *RtmpGroupSettings { + s.CacheLength = &v return s } -// SetOfferingType sets the OfferingType field's value. -func (s *Offering) SetOfferingType(v string) *Offering { - s.OfferingType = &v +// SetCaptionData sets the CaptionData field's value. +func (s *RtmpGroupSettings) SetCaptionData(v string) *RtmpGroupSettings { + s.CaptionData = &v return s } -// SetRegion sets the Region field's value. -func (s *Offering) SetRegion(v string) *Offering { - s.Region = &v +// SetIncludeFillerNalUnits sets the IncludeFillerNalUnits field's value. +func (s *RtmpGroupSettings) SetIncludeFillerNalUnits(v string) *RtmpGroupSettings { + s.IncludeFillerNalUnits = &v return s } -// SetResourceSpecification sets the ResourceSpecification field's value. -func (s *Offering) SetResourceSpecification(v *ReservationResourceSpecification) *Offering { - s.ResourceSpecification = v +// SetInputLossAction sets the InputLossAction field's value. +func (s *RtmpGroupSettings) SetInputLossAction(v string) *RtmpGroupSettings { + s.InputLossAction = &v return s } -// SetUsagePrice sets the UsagePrice field's value. -func (s *Offering) SetUsagePrice(v float64) *Offering { - s.UsagePrice = &v +// SetRestartDelay sets the RestartDelay field's value. +func (s *RtmpGroupSettings) SetRestartDelay(v int64) *RtmpGroupSettings { + s.RestartDelay = &v return s } -// Output settings. There can be multiple outputs within a group. -type Output struct { +// Rtmp Output Settings +type RtmpOutputSettings struct { _ struct{} `type:"structure"` - // The names of the AudioDescriptions used as audio sources for this output. - AudioDescriptionNames []*string `locationName:"audioDescriptionNames" type:"list"` - - // The names of the CaptionDescriptions used as caption sources for this output. - CaptionDescriptionNames []*string `locationName:"captionDescriptionNames" type:"list"` + // If set to verifyAuthenticity, verify the tls certificate chain to a trusted + // Certificate Authority (CA). This will cause rtmps outputs with self-signed + // certificates to fail. + CertificateMode *string `locationName:"certificateMode" type:"string" enum:"RtmpOutputCertificateMode"` - // The name used to identify an output. - OutputName *string `locationName:"outputName" min:"1" type:"string"` + // Number of seconds to wait before retrying a connection to the Flash Media + // server if the connection is lost. + ConnectionRetryInterval *int64 `locationName:"connectionRetryInterval" min:"1" type:"integer"` - // Output type-specific settings. + // The RTMP endpoint excluding the stream name (eg. rtmp://host/appname). For + // connection to Akamai, a username and password must be supplied. URI fields + // accept format identifiers. // - // OutputSettings is a required field - OutputSettings *OutputSettings `locationName:"outputSettings" type:"structure" required:"true"` + // Destination is a required field + Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` - // The name of the VideoDescription used as the source for this output. - VideoDescriptionName *string `locationName:"videoDescriptionName" type:"string"` + // Number of retry attempts. + NumRetries *int64 `locationName:"numRetries" type:"integer"` } // String returns the string representation. @@ -26846,7 +35130,7 @@ type Output struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Output) String() string { +func (s RtmpOutputSettings) String() string { return awsutil.Prettify(s) } @@ -26855,23 +35139,18 @@ func (s Output) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Output) GoString() string { +func (s RtmpOutputSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *Output) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "Output"} - if s.OutputName != nil && len(*s.OutputName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("OutputName", 1)) - } - if s.OutputSettings == nil { - invalidParams.Add(request.NewErrParamRequired("OutputSettings")) +func (s *RtmpOutputSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RtmpOutputSettings"} + if s.ConnectionRetryInterval != nil && *s.ConnectionRetryInterval < 1 { + invalidParams.Add(request.NewErrParamMinValue("ConnectionRetryInterval", 1)) } - if s.OutputSettings != nil { - if err := s.OutputSettings.Validate(); err != nil { - invalidParams.AddNested("OutputSettings", err.(request.ErrInvalidParams)) - } + if s.Destination == nil { + invalidParams.Add(request.NewErrParamRequired("Destination")) } if invalidParams.Len() > 0 { @@ -26880,52 +35159,52 @@ func (s *Output) Validate() error { return nil } -// SetAudioDescriptionNames sets the AudioDescriptionNames field's value. -func (s *Output) SetAudioDescriptionNames(v []*string) *Output { - s.AudioDescriptionNames = v - return s -} - -// SetCaptionDescriptionNames sets the CaptionDescriptionNames field's value. -func (s *Output) SetCaptionDescriptionNames(v []*string) *Output { - s.CaptionDescriptionNames = v +// SetCertificateMode sets the CertificateMode field's value. +func (s *RtmpOutputSettings) SetCertificateMode(v string) *RtmpOutputSettings { + s.CertificateMode = &v return s } -// SetOutputName sets the OutputName field's value. -func (s *Output) SetOutputName(v string) *Output { - s.OutputName = &v +// SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. +func (s *RtmpOutputSettings) SetConnectionRetryInterval(v int64) *RtmpOutputSettings { + s.ConnectionRetryInterval = &v return s } -// SetOutputSettings sets the OutputSettings field's value. -func (s *Output) SetOutputSettings(v *OutputSettings) *Output { - s.OutputSettings = v +// SetDestination sets the Destination field's value. +func (s *RtmpOutputSettings) SetDestination(v *OutputLocationRef) *RtmpOutputSettings { + s.Destination = v return s } -// SetVideoDescriptionName sets the VideoDescriptionName field's value. -func (s *Output) SetVideoDescriptionName(v string) *Output { - s.VideoDescriptionName = &v +// SetNumRetries sets the NumRetries field's value. +func (s *RtmpOutputSettings) SetNumRetries(v int64) *RtmpOutputSettings { + s.NumRetries = &v return s } -type OutputDestination struct { +// Contains information on a single schedule action. +type ScheduleAction struct { _ struct{} `type:"structure"` - // User-specified id. This is used in an output group or an output. - Id *string `locationName:"id" type:"string"` - - // Destination settings for a MediaPackage output; one destination for both - // encoders. - MediaPackageSettings []*MediaPackageOutputDestinationSettings `locationName:"mediaPackageSettings" type:"list"` + // The name of the action, must be unique within the schedule. This name provides + // the main reference to an action once it is added to the schedule. A name + // is unique if it is no longer in the schedule. The schedule is automatically + // cleaned up to remove actions with a start time of more than 1 hour ago (approximately) + // so at that point a name can be reused. + // + // ActionName is a required field + ActionName *string `locationName:"actionName" type:"string" required:"true"` - // Destination settings for a Multiplex output; one destination for both encoders. - MultiplexSettings *MultiplexProgramChannelDestinationSettings `locationName:"multiplexSettings" type:"structure"` + // Settings for this schedule action. + // + // ScheduleActionSettings is a required field + ScheduleActionSettings *ScheduleActionSettings `locationName:"scheduleActionSettings" type:"structure" required:"true"` - // Destination settings for a standard output; one destination for each redundant - // encoder. - Settings []*OutputDestinationSettings `locationName:"settings" type:"list"` + // The time for the action to start in the channel. + // + // ScheduleActionStartSettings is a required field + ScheduleActionStartSettings *ScheduleActionStartSettings `locationName:"scheduleActionStartSettings" type:"structure" required:"true"` } // String returns the string representation. @@ -26933,7 +35212,7 @@ type OutputDestination struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s OutputDestination) String() string { +func (s ScheduleAction) String() string { return awsutil.Prettify(s) } @@ -26942,26 +35221,30 @@ func (s OutputDestination) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s OutputDestination) GoString() string { +func (s ScheduleAction) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *OutputDestination) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "OutputDestination"} - if s.MediaPackageSettings != nil { - for i, v := range s.MediaPackageSettings { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MediaPackageSettings", i), err.(request.ErrInvalidParams)) - } +func (s *ScheduleAction) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ScheduleAction"} + if s.ActionName == nil { + invalidParams.Add(request.NewErrParamRequired("ActionName")) + } + if s.ScheduleActionSettings == nil { + invalidParams.Add(request.NewErrParamRequired("ScheduleActionSettings")) + } + if s.ScheduleActionStartSettings == nil { + invalidParams.Add(request.NewErrParamRequired("ScheduleActionStartSettings")) + } + if s.ScheduleActionSettings != nil { + if err := s.ScheduleActionSettings.Validate(); err != nil { + invalidParams.AddNested("ScheduleActionSettings", err.(request.ErrInvalidParams)) } } - if s.MultiplexSettings != nil { - if err := s.MultiplexSettings.Validate(); err != nil { - invalidParams.AddNested("MultiplexSettings", err.(request.ErrInvalidParams)) + if s.ScheduleActionStartSettings != nil { + if err := s.ScheduleActionStartSettings.Validate(); err != nil { + invalidParams.AddNested("ScheduleActionStartSettings", err.(request.ErrInvalidParams)) } } @@ -26971,44 +35254,72 @@ func (s *OutputDestination) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *OutputDestination) SetId(v string) *OutputDestination { - s.Id = &v - return s -} - -// SetMediaPackageSettings sets the MediaPackageSettings field's value. -func (s *OutputDestination) SetMediaPackageSettings(v []*MediaPackageOutputDestinationSettings) *OutputDestination { - s.MediaPackageSettings = v +// SetActionName sets the ActionName field's value. +func (s *ScheduleAction) SetActionName(v string) *ScheduleAction { + s.ActionName = &v return s } -// SetMultiplexSettings sets the MultiplexSettings field's value. -func (s *OutputDestination) SetMultiplexSettings(v *MultiplexProgramChannelDestinationSettings) *OutputDestination { - s.MultiplexSettings = v +// SetScheduleActionSettings sets the ScheduleActionSettings field's value. +func (s *ScheduleAction) SetScheduleActionSettings(v *ScheduleActionSettings) *ScheduleAction { + s.ScheduleActionSettings = v return s } -// SetSettings sets the Settings field's value. -func (s *OutputDestination) SetSettings(v []*OutputDestinationSettings) *OutputDestination { - s.Settings = v +// SetScheduleActionStartSettings sets the ScheduleActionStartSettings field's value. +func (s *ScheduleAction) SetScheduleActionStartSettings(v *ScheduleActionStartSettings) *ScheduleAction { + s.ScheduleActionStartSettings = v return s } -type OutputDestinationSettings struct { +// Holds the settings for a single schedule action. +type ScheduleActionSettings struct { _ struct{} `type:"structure"` - // key used to extract the password from EC2 Parameter store - PasswordParam *string `locationName:"passwordParam" type:"string"` + // Action to insert HLS ID3 segment tagging + HlsId3SegmentTaggingSettings *HlsId3SegmentTaggingScheduleActionSettings `locationName:"hlsId3SegmentTaggingSettings" type:"structure"` - // Stream name for RTMP destinations (URLs of type rtmp://) - StreamName *string `locationName:"streamName" type:"string"` + // Action to insert HLS metadata + HlsTimedMetadataSettings *HlsTimedMetadataScheduleActionSettings `locationName:"hlsTimedMetadataSettings" type:"structure"` - // A URL specifying a destination - Url *string `locationName:"url" type:"string"` + // Action to prepare an input for a future immediate input switch + InputPrepareSettings *InputPrepareScheduleActionSettings `locationName:"inputPrepareSettings" type:"structure"` - // username for destination - Username *string `locationName:"username" type:"string"` + // Action to switch the input + InputSwitchSettings *InputSwitchScheduleActionSettings `locationName:"inputSwitchSettings" type:"structure"` + + // Action to activate a motion graphics image overlay + MotionGraphicsImageActivateSettings *MotionGraphicsActivateScheduleActionSettings `locationName:"motionGraphicsImageActivateSettings" type:"structure"` + + // Action to deactivate a motion graphics image overlay + MotionGraphicsImageDeactivateSettings *MotionGraphicsDeactivateScheduleActionSettings `locationName:"motionGraphicsImageDeactivateSettings" type:"structure"` + + // Action to pause or unpause one or both channel pipelines + PauseStateSettings *PauseStateScheduleActionSettings `locationName:"pauseStateSettings" type:"structure"` + + // Action to specify scte35 input + Scte35InputSettings *Scte35InputScheduleActionSettings `locationName:"scte35InputSettings" type:"structure"` + + // Action to insert SCTE-35 return_to_network message + Scte35ReturnToNetworkSettings *Scte35ReturnToNetworkScheduleActionSettings `locationName:"scte35ReturnToNetworkSettings" type:"structure"` + + // Action to insert SCTE-35 splice_insert message + Scte35SpliceInsertSettings *Scte35SpliceInsertScheduleActionSettings `locationName:"scte35SpliceInsertSettings" type:"structure"` + + // Action to insert SCTE-35 time_signal message + Scte35TimeSignalSettings *Scte35TimeSignalScheduleActionSettings `locationName:"scte35TimeSignalSettings" type:"structure"` + + // Action to activate a static image overlay + StaticImageActivateSettings *StaticImageActivateScheduleActionSettings `locationName:"staticImageActivateSettings" type:"structure"` + + // Action to deactivate a static image overlay + StaticImageDeactivateSettings *StaticImageDeactivateScheduleActionSettings `locationName:"staticImageDeactivateSettings" type:"structure"` + + // Action to activate a static image overlay in one or more specified outputs + StaticImageOutputActivateSettings *StaticImageOutputActivateScheduleActionSettings `locationName:"staticImageOutputActivateSettings" type:"structure"` + + // Action to deactivate a static image overlay in one or more specified outputs + StaticImageOutputDeactivateSettings *StaticImageOutputDeactivateScheduleActionSettings `locationName:"staticImageOutputDeactivateSettings" type:"structure"` } // String returns the string representation. @@ -27016,7 +35327,7 @@ type OutputDestinationSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s OutputDestinationSettings) String() string { +func (s ScheduleActionSettings) String() string { return awsutil.Prettify(s) } @@ -27025,49 +35336,178 @@ func (s OutputDestinationSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s OutputDestinationSettings) GoString() string { +func (s ScheduleActionSettings) GoString() string { return s.String() } -// SetPasswordParam sets the PasswordParam field's value. -func (s *OutputDestinationSettings) SetPasswordParam(v string) *OutputDestinationSettings { - s.PasswordParam = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *ScheduleActionSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ScheduleActionSettings"} + if s.HlsTimedMetadataSettings != nil { + if err := s.HlsTimedMetadataSettings.Validate(); err != nil { + invalidParams.AddNested("HlsTimedMetadataSettings", err.(request.ErrInvalidParams)) + } + } + if s.InputPrepareSettings != nil { + if err := s.InputPrepareSettings.Validate(); err != nil { + invalidParams.AddNested("InputPrepareSettings", err.(request.ErrInvalidParams)) + } + } + if s.InputSwitchSettings != nil { + if err := s.InputSwitchSettings.Validate(); err != nil { + invalidParams.AddNested("InputSwitchSettings", err.(request.ErrInvalidParams)) + } + } + if s.PauseStateSettings != nil { + if err := s.PauseStateSettings.Validate(); err != nil { + invalidParams.AddNested("PauseStateSettings", err.(request.ErrInvalidParams)) + } + } + if s.Scte35InputSettings != nil { + if err := s.Scte35InputSettings.Validate(); err != nil { + invalidParams.AddNested("Scte35InputSettings", err.(request.ErrInvalidParams)) + } + } + if s.Scte35ReturnToNetworkSettings != nil { + if err := s.Scte35ReturnToNetworkSettings.Validate(); err != nil { + invalidParams.AddNested("Scte35ReturnToNetworkSettings", err.(request.ErrInvalidParams)) + } + } + if s.Scte35SpliceInsertSettings != nil { + if err := s.Scte35SpliceInsertSettings.Validate(); err != nil { + invalidParams.AddNested("Scte35SpliceInsertSettings", err.(request.ErrInvalidParams)) + } + } + if s.Scte35TimeSignalSettings != nil { + if err := s.Scte35TimeSignalSettings.Validate(); err != nil { + invalidParams.AddNested("Scte35TimeSignalSettings", err.(request.ErrInvalidParams)) + } + } + if s.StaticImageActivateSettings != nil { + if err := s.StaticImageActivateSettings.Validate(); err != nil { + invalidParams.AddNested("StaticImageActivateSettings", err.(request.ErrInvalidParams)) + } + } + if s.StaticImageOutputActivateSettings != nil { + if err := s.StaticImageOutputActivateSettings.Validate(); err != nil { + invalidParams.AddNested("StaticImageOutputActivateSettings", err.(request.ErrInvalidParams)) + } + } + if s.StaticImageOutputDeactivateSettings != nil { + if err := s.StaticImageOutputDeactivateSettings.Validate(); err != nil { + invalidParams.AddNested("StaticImageOutputDeactivateSettings", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetHlsId3SegmentTaggingSettings sets the HlsId3SegmentTaggingSettings field's value. +func (s *ScheduleActionSettings) SetHlsId3SegmentTaggingSettings(v *HlsId3SegmentTaggingScheduleActionSettings) *ScheduleActionSettings { + s.HlsId3SegmentTaggingSettings = v return s } -// SetStreamName sets the StreamName field's value. -func (s *OutputDestinationSettings) SetStreamName(v string) *OutputDestinationSettings { - s.StreamName = &v +// SetHlsTimedMetadataSettings sets the HlsTimedMetadataSettings field's value. +func (s *ScheduleActionSettings) SetHlsTimedMetadataSettings(v *HlsTimedMetadataScheduleActionSettings) *ScheduleActionSettings { + s.HlsTimedMetadataSettings = v return s } -// SetUrl sets the Url field's value. -func (s *OutputDestinationSettings) SetUrl(v string) *OutputDestinationSettings { - s.Url = &v +// SetInputPrepareSettings sets the InputPrepareSettings field's value. +func (s *ScheduleActionSettings) SetInputPrepareSettings(v *InputPrepareScheduleActionSettings) *ScheduleActionSettings { + s.InputPrepareSettings = v return s } -// SetUsername sets the Username field's value. -func (s *OutputDestinationSettings) SetUsername(v string) *OutputDestinationSettings { - s.Username = &v +// SetInputSwitchSettings sets the InputSwitchSettings field's value. +func (s *ScheduleActionSettings) SetInputSwitchSettings(v *InputSwitchScheduleActionSettings) *ScheduleActionSettings { + s.InputSwitchSettings = v return s } -// Output groups for this Live Event. Output groups contain information about -// where streams should be distributed. -type OutputGroup struct { +// SetMotionGraphicsImageActivateSettings sets the MotionGraphicsImageActivateSettings field's value. +func (s *ScheduleActionSettings) SetMotionGraphicsImageActivateSettings(v *MotionGraphicsActivateScheduleActionSettings) *ScheduleActionSettings { + s.MotionGraphicsImageActivateSettings = v + return s +} + +// SetMotionGraphicsImageDeactivateSettings sets the MotionGraphicsImageDeactivateSettings field's value. +func (s *ScheduleActionSettings) SetMotionGraphicsImageDeactivateSettings(v *MotionGraphicsDeactivateScheduleActionSettings) *ScheduleActionSettings { + s.MotionGraphicsImageDeactivateSettings = v + return s +} + +// SetPauseStateSettings sets the PauseStateSettings field's value. +func (s *ScheduleActionSettings) SetPauseStateSettings(v *PauseStateScheduleActionSettings) *ScheduleActionSettings { + s.PauseStateSettings = v + return s +} + +// SetScte35InputSettings sets the Scte35InputSettings field's value. +func (s *ScheduleActionSettings) SetScte35InputSettings(v *Scte35InputScheduleActionSettings) *ScheduleActionSettings { + s.Scte35InputSettings = v + return s +} + +// SetScte35ReturnToNetworkSettings sets the Scte35ReturnToNetworkSettings field's value. +func (s *ScheduleActionSettings) SetScte35ReturnToNetworkSettings(v *Scte35ReturnToNetworkScheduleActionSettings) *ScheduleActionSettings { + s.Scte35ReturnToNetworkSettings = v + return s +} + +// SetScte35SpliceInsertSettings sets the Scte35SpliceInsertSettings field's value. +func (s *ScheduleActionSettings) SetScte35SpliceInsertSettings(v *Scte35SpliceInsertScheduleActionSettings) *ScheduleActionSettings { + s.Scte35SpliceInsertSettings = v + return s +} + +// SetScte35TimeSignalSettings sets the Scte35TimeSignalSettings field's value. +func (s *ScheduleActionSettings) SetScte35TimeSignalSettings(v *Scte35TimeSignalScheduleActionSettings) *ScheduleActionSettings { + s.Scte35TimeSignalSettings = v + return s +} + +// SetStaticImageActivateSettings sets the StaticImageActivateSettings field's value. +func (s *ScheduleActionSettings) SetStaticImageActivateSettings(v *StaticImageActivateScheduleActionSettings) *ScheduleActionSettings { + s.StaticImageActivateSettings = v + return s +} + +// SetStaticImageDeactivateSettings sets the StaticImageDeactivateSettings field's value. +func (s *ScheduleActionSettings) SetStaticImageDeactivateSettings(v *StaticImageDeactivateScheduleActionSettings) *ScheduleActionSettings { + s.StaticImageDeactivateSettings = v + return s +} + +// SetStaticImageOutputActivateSettings sets the StaticImageOutputActivateSettings field's value. +func (s *ScheduleActionSettings) SetStaticImageOutputActivateSettings(v *StaticImageOutputActivateScheduleActionSettings) *ScheduleActionSettings { + s.StaticImageOutputActivateSettings = v + return s +} + +// SetStaticImageOutputDeactivateSettings sets the StaticImageOutputDeactivateSettings field's value. +func (s *ScheduleActionSettings) SetStaticImageOutputDeactivateSettings(v *StaticImageOutputDeactivateScheduleActionSettings) *ScheduleActionSettings { + s.StaticImageOutputDeactivateSettings = v + return s +} + +// Settings to specify when an action should occur. Only one of the options +// must be selected. +type ScheduleActionStartSettings struct { _ struct{} `type:"structure"` - // Custom output group name optionally defined by the user. - Name *string `locationName:"name" type:"string"` + // Option for specifying the start time for an action. + FixedModeScheduleActionStartSettings *FixedModeScheduleActionStartSettings `locationName:"fixedModeScheduleActionStartSettings" type:"structure"` - // Settings associated with the output group. - // - // OutputGroupSettings is a required field - OutputGroupSettings *OutputGroupSettings `locationName:"outputGroupSettings" type:"structure" required:"true"` + // Option for specifying an action as relative to another action. + FollowModeScheduleActionStartSettings *FollowModeScheduleActionStartSettings `locationName:"followModeScheduleActionStartSettings" type:"structure"` - // Outputs is a required field - Outputs []*Output `locationName:"outputs" type:"list" required:"true"` + // Option for specifying an action that should be applied immediately. + ImmediateModeScheduleActionStartSettings *ImmediateModeScheduleActionStartSettings `locationName:"immediateModeScheduleActionStartSettings" type:"structure"` } // String returns the string representation. @@ -27075,7 +35515,7 @@ type OutputGroup struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s OutputGroup) String() string { +func (s ScheduleActionStartSettings) String() string { return awsutil.Prettify(s) } @@ -27084,32 +35524,21 @@ func (s OutputGroup) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s OutputGroup) GoString() string { +func (s ScheduleActionStartSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *OutputGroup) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "OutputGroup"} - if s.OutputGroupSettings == nil { - invalidParams.Add(request.NewErrParamRequired("OutputGroupSettings")) - } - if s.Outputs == nil { - invalidParams.Add(request.NewErrParamRequired("Outputs")) - } - if s.OutputGroupSettings != nil { - if err := s.OutputGroupSettings.Validate(); err != nil { - invalidParams.AddNested("OutputGroupSettings", err.(request.ErrInvalidParams)) +func (s *ScheduleActionStartSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ScheduleActionStartSettings"} + if s.FixedModeScheduleActionStartSettings != nil { + if err := s.FixedModeScheduleActionStartSettings.Validate(); err != nil { + invalidParams.AddNested("FixedModeScheduleActionStartSettings", err.(request.ErrInvalidParams)) } } - if s.Outputs != nil { - for i, v := range s.Outputs { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Outputs", i), err.(request.ErrInvalidParams)) - } + if s.FollowModeScheduleActionStartSettings != nil { + if err := s.FollowModeScheduleActionStartSettings.Validate(); err != nil { + invalidParams.AddNested("FollowModeScheduleActionStartSettings", err.(request.ErrInvalidParams)) } } @@ -27119,54 +35548,59 @@ func (s *OutputGroup) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *OutputGroup) SetName(v string) *OutputGroup { - s.Name = &v +// SetFixedModeScheduleActionStartSettings sets the FixedModeScheduleActionStartSettings field's value. +func (s *ScheduleActionStartSettings) SetFixedModeScheduleActionStartSettings(v *FixedModeScheduleActionStartSettings) *ScheduleActionStartSettings { + s.FixedModeScheduleActionStartSettings = v return s } -// SetOutputGroupSettings sets the OutputGroupSettings field's value. -func (s *OutputGroup) SetOutputGroupSettings(v *OutputGroupSettings) *OutputGroup { - s.OutputGroupSettings = v +// SetFollowModeScheduleActionStartSettings sets the FollowModeScheduleActionStartSettings field's value. +func (s *ScheduleActionStartSettings) SetFollowModeScheduleActionStartSettings(v *FollowModeScheduleActionStartSettings) *ScheduleActionStartSettings { + s.FollowModeScheduleActionStartSettings = v return s } -// SetOutputs sets the Outputs field's value. -func (s *OutputGroup) SetOutputs(v []*Output) *OutputGroup { - s.Outputs = v +// SetImmediateModeScheduleActionStartSettings sets the ImmediateModeScheduleActionStartSettings field's value. +func (s *ScheduleActionStartSettings) SetImmediateModeScheduleActionStartSettings(v *ImmediateModeScheduleActionStartSettings) *ScheduleActionStartSettings { + s.ImmediateModeScheduleActionStartSettings = v return s } -// Output Group Settings -type OutputGroupSettings struct { +// Scte20 Plus Embedded Destination Settings +type Scte20PlusEmbeddedDestinationSettings struct { _ struct{} `type:"structure"` +} - // Archive Group Settings - ArchiveGroupSettings *ArchiveGroupSettings `locationName:"archiveGroupSettings" type:"structure"` - - // Cmaf Ingest Group Settings - CmafIngestGroupSettings *CmafIngestGroupSettings `locationName:"cmafIngestGroupSettings" type:"structure"` - - // Frame Capture Group Settings - FrameCaptureGroupSettings *FrameCaptureGroupSettings `locationName:"frameCaptureGroupSettings" type:"structure"` - - // Hls Group Settings - HlsGroupSettings *HlsGroupSettings `locationName:"hlsGroupSettings" type:"structure"` - - // Media Package Group Settings - MediaPackageGroupSettings *MediaPackageGroupSettings `locationName:"mediaPackageGroupSettings" type:"structure"` +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Scte20PlusEmbeddedDestinationSettings) String() string { + return awsutil.Prettify(s) +} - // Ms Smooth Group Settings - MsSmoothGroupSettings *MsSmoothGroupSettings `locationName:"msSmoothGroupSettings" type:"structure"` +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Scte20PlusEmbeddedDestinationSettings) GoString() string { + return s.String() +} - // Multiplex Group Settings - MultiplexGroupSettings *MultiplexGroupSettings `locationName:"multiplexGroupSettings" type:"structure"` +// Scte20 Source Settings +type Scte20SourceSettings struct { + _ struct{} `type:"structure"` - // Rtmp Group Settings - RtmpGroupSettings *RtmpGroupSettings `locationName:"rtmpGroupSettings" type:"structure"` + // If upconvert, 608 data is both passed through via the "608 compatibility + // bytes" fields of the 708 wrapper as well as translated into 708. 708 data + // present in the source content will be discarded. + Convert608To708 *string `locationName:"convert608To708" type:"string" enum:"Scte20Convert608To708"` - // Udp Group Settings - UdpGroupSettings *UdpGroupSettings `locationName:"udpGroupSettings" type:"structure"` + // Specifies the 608/708 channel number within the video track from which to + // extract captions. Unused for passthrough. + Source608ChannelNumber *int64 `locationName:"source608ChannelNumber" min:"1" type:"integer"` } // String returns the string representation. @@ -27174,7 +35608,7 @@ type OutputGroupSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s OutputGroupSettings) String() string { +func (s Scte20SourceSettings) String() string { return awsutil.Prettify(s) } @@ -27183,47 +35617,15 @@ func (s OutputGroupSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s OutputGroupSettings) GoString() string { +func (s Scte20SourceSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *OutputGroupSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "OutputGroupSettings"} - if s.ArchiveGroupSettings != nil { - if err := s.ArchiveGroupSettings.Validate(); err != nil { - invalidParams.AddNested("ArchiveGroupSettings", err.(request.ErrInvalidParams)) - } - } - if s.CmafIngestGroupSettings != nil { - if err := s.CmafIngestGroupSettings.Validate(); err != nil { - invalidParams.AddNested("CmafIngestGroupSettings", err.(request.ErrInvalidParams)) - } - } - if s.FrameCaptureGroupSettings != nil { - if err := s.FrameCaptureGroupSettings.Validate(); err != nil { - invalidParams.AddNested("FrameCaptureGroupSettings", err.(request.ErrInvalidParams)) - } - } - if s.HlsGroupSettings != nil { - if err := s.HlsGroupSettings.Validate(); err != nil { - invalidParams.AddNested("HlsGroupSettings", err.(request.ErrInvalidParams)) - } - } - if s.MediaPackageGroupSettings != nil { - if err := s.MediaPackageGroupSettings.Validate(); err != nil { - invalidParams.AddNested("MediaPackageGroupSettings", err.(request.ErrInvalidParams)) - } - } - if s.MsSmoothGroupSettings != nil { - if err := s.MsSmoothGroupSettings.Validate(); err != nil { - invalidParams.AddNested("MsSmoothGroupSettings", err.(request.ErrInvalidParams)) - } - } - if s.RtmpGroupSettings != nil { - if err := s.RtmpGroupSettings.Validate(); err != nil { - invalidParams.AddNested("RtmpGroupSettings", err.(request.ErrInvalidParams)) - } +func (s *Scte20SourceSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Scte20SourceSettings"} + if s.Source608ChannelNumber != nil && *s.Source608ChannelNumber < 1 { + invalidParams.Add(request.NewErrParamMinValue("Source608ChannelNumber", 1)) } if invalidParams.Len() > 0 { @@ -27232,65 +35634,21 @@ func (s *OutputGroupSettings) Validate() error { return nil } -// SetArchiveGroupSettings sets the ArchiveGroupSettings field's value. -func (s *OutputGroupSettings) SetArchiveGroupSettings(v *ArchiveGroupSettings) *OutputGroupSettings { - s.ArchiveGroupSettings = v - return s -} - -// SetCmafIngestGroupSettings sets the CmafIngestGroupSettings field's value. -func (s *OutputGroupSettings) SetCmafIngestGroupSettings(v *CmafIngestGroupSettings) *OutputGroupSettings { - s.CmafIngestGroupSettings = v - return s -} - -// SetFrameCaptureGroupSettings sets the FrameCaptureGroupSettings field's value. -func (s *OutputGroupSettings) SetFrameCaptureGroupSettings(v *FrameCaptureGroupSettings) *OutputGroupSettings { - s.FrameCaptureGroupSettings = v - return s -} - -// SetHlsGroupSettings sets the HlsGroupSettings field's value. -func (s *OutputGroupSettings) SetHlsGroupSettings(v *HlsGroupSettings) *OutputGroupSettings { - s.HlsGroupSettings = v - return s -} - -// SetMediaPackageGroupSettings sets the MediaPackageGroupSettings field's value. -func (s *OutputGroupSettings) SetMediaPackageGroupSettings(v *MediaPackageGroupSettings) *OutputGroupSettings { - s.MediaPackageGroupSettings = v - return s -} - -// SetMsSmoothGroupSettings sets the MsSmoothGroupSettings field's value. -func (s *OutputGroupSettings) SetMsSmoothGroupSettings(v *MsSmoothGroupSettings) *OutputGroupSettings { - s.MsSmoothGroupSettings = v - return s -} - -// SetMultiplexGroupSettings sets the MultiplexGroupSettings field's value. -func (s *OutputGroupSettings) SetMultiplexGroupSettings(v *MultiplexGroupSettings) *OutputGroupSettings { - s.MultiplexGroupSettings = v - return s -} - -// SetRtmpGroupSettings sets the RtmpGroupSettings field's value. -func (s *OutputGroupSettings) SetRtmpGroupSettings(v *RtmpGroupSettings) *OutputGroupSettings { - s.RtmpGroupSettings = v +// SetConvert608To708 sets the Convert608To708 field's value. +func (s *Scte20SourceSettings) SetConvert608To708(v string) *Scte20SourceSettings { + s.Convert608To708 = &v return s } -// SetUdpGroupSettings sets the UdpGroupSettings field's value. -func (s *OutputGroupSettings) SetUdpGroupSettings(v *UdpGroupSettings) *OutputGroupSettings { - s.UdpGroupSettings = v +// SetSource608ChannelNumber sets the Source608ChannelNumber field's value. +func (s *Scte20SourceSettings) SetSource608ChannelNumber(v int64) *Scte20SourceSettings { + s.Source608ChannelNumber = &v return s } -// Reference to an OutputDestination ID defined in the channel -type OutputLocationRef struct { +// Scte27 Destination Settings +type Scte27DestinationSettings struct { _ struct{} `type:"structure"` - - DestinationRefId *string `locationName:"destinationRefId" type:"string"` } // String returns the string representation. @@ -27298,7 +35656,7 @@ type OutputLocationRef struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s OutputLocationRef) String() string { +func (s Scte27DestinationSettings) String() string { return awsutil.Prettify(s) } @@ -27307,25 +35665,27 @@ func (s OutputLocationRef) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s OutputLocationRef) GoString() string { +func (s Scte27DestinationSettings) GoString() string { return s.String() } -// SetDestinationRefId sets the DestinationRefId field's value. -func (s *OutputLocationRef) SetDestinationRefId(v string) *OutputLocationRef { - s.DestinationRefId = &v - return s -} - -// Output Locking Settings -type OutputLockingSettings struct { +// Scte27 Source Settings +type Scte27SourceSettings struct { _ struct{} `type:"structure"` - // Epoch Locking Settings - EpochLockingSettings *EpochLockingSettings `locationName:"epochLockingSettings" type:"structure"` + // If you will configure a WebVTT caption description that references this caption + // selector, use this field toprovide the language to consider when translating + // the image-based source to text. + OcrLanguage *string `locationName:"ocrLanguage" type:"string" enum:"Scte27OcrLanguage"` - // Pipeline Locking Settings - PipelineLockingSettings *PipelineLockingSettings `locationName:"pipelineLockingSettings" type:"structure"` + // The pid field is used in conjunction with the caption selector languageCode + // field as follows: - Specify PID and Language: Extracts captions from that + // PID; the language is "informational". - Specify PID and omit Language: Extracts + // the specified PID. - Omit PID and specify Language: Extracts the specified + // language, whichever PID that happens to be. - Omit PID and omit Language: + // Valid only if source is DVB-Sub that is being passed through; all languages + // will be passed through. + Pid *int64 `locationName:"pid" min:"1" type:"integer"` } // String returns the string representation. @@ -27333,7 +35693,7 @@ type OutputLockingSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s OutputLockingSettings) String() string { +func (s Scte27SourceSettings) String() string { return awsutil.Prettify(s) } @@ -27342,52 +35702,60 @@ func (s OutputLockingSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s OutputLockingSettings) GoString() string { +func (s Scte27SourceSettings) GoString() string { return s.String() } -// SetEpochLockingSettings sets the EpochLockingSettings field's value. -func (s *OutputLockingSettings) SetEpochLockingSettings(v *EpochLockingSettings) *OutputLockingSettings { - s.EpochLockingSettings = v +// Validate inspects the fields of the type to determine if they are valid. +func (s *Scte27SourceSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Scte27SourceSettings"} + if s.Pid != nil && *s.Pid < 1 { + invalidParams.Add(request.NewErrParamMinValue("Pid", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetOcrLanguage sets the OcrLanguage field's value. +func (s *Scte27SourceSettings) SetOcrLanguage(v string) *Scte27SourceSettings { + s.OcrLanguage = &v return s } -// SetPipelineLockingSettings sets the PipelineLockingSettings field's value. -func (s *OutputLockingSettings) SetPipelineLockingSettings(v *PipelineLockingSettings) *OutputLockingSettings { - s.PipelineLockingSettings = v +// SetPid sets the Pid field's value. +func (s *Scte27SourceSettings) SetPid(v int64) *Scte27SourceSettings { + s.Pid = &v return s } -// Output Settings -type OutputSettings struct { +// Corresponds to SCTE-35 delivery_not_restricted_flag parameter. To declare +// delivery restrictions, include this element and its four "restriction" flags. +// To declare that there are no restrictions, omit this element. +type Scte35DeliveryRestrictions struct { _ struct{} `type:"structure"` - // Archive Output Settings - ArchiveOutputSettings *ArchiveOutputSettings `locationName:"archiveOutputSettings" type:"structure"` - - // Cmaf Ingest Output Settings - CmafIngestOutputSettings *CmafIngestOutputSettings `locationName:"cmafIngestOutputSettings" type:"structure"` - - // Frame Capture Output Settings - FrameCaptureOutputSettings *FrameCaptureOutputSettings `locationName:"frameCaptureOutputSettings" type:"structure"` - - // Hls Output Settings - HlsOutputSettings *HlsOutputSettings `locationName:"hlsOutputSettings" type:"structure"` - - // Media Package Output Settings - MediaPackageOutputSettings *MediaPackageOutputSettings `locationName:"mediaPackageOutputSettings" type:"structure"` - - // Ms Smooth Output Settings - MsSmoothOutputSettings *MsSmoothOutputSettings `locationName:"msSmoothOutputSettings" type:"structure"` + // Corresponds to SCTE-35 archive_allowed_flag. + // + // ArchiveAllowedFlag is a required field + ArchiveAllowedFlag *string `locationName:"archiveAllowedFlag" type:"string" required:"true" enum:"Scte35ArchiveAllowedFlag"` - // Multiplex Output Settings - MultiplexOutputSettings *MultiplexOutputSettings `locationName:"multiplexOutputSettings" type:"structure"` + // Corresponds to SCTE-35 device_restrictions parameter. + // + // DeviceRestrictions is a required field + DeviceRestrictions *string `locationName:"deviceRestrictions" type:"string" required:"true" enum:"Scte35DeviceRestrictions"` - // Rtmp Output Settings - RtmpOutputSettings *RtmpOutputSettings `locationName:"rtmpOutputSettings" type:"structure"` + // Corresponds to SCTE-35 no_regional_blackout_flag parameter. + // + // NoRegionalBlackoutFlag is a required field + NoRegionalBlackoutFlag *string `locationName:"noRegionalBlackoutFlag" type:"string" required:"true" enum:"Scte35NoRegionalBlackoutFlag"` - // Udp Output Settings - UdpOutputSettings *UdpOutputSettings `locationName:"udpOutputSettings" type:"structure"` + // Corresponds to SCTE-35 web_delivery_allowed_flag parameter. + // + // WebDeliveryAllowedFlag is a required field + WebDeliveryAllowedFlag *string `locationName:"webDeliveryAllowedFlag" type:"string" required:"true" enum:"Scte35WebDeliveryAllowedFlag"` } // String returns the string representation. @@ -27395,7 +35763,7 @@ type OutputSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s OutputSettings) String() string { +func (s Scte35DeliveryRestrictions) String() string { return awsutil.Prettify(s) } @@ -27404,37 +35772,24 @@ func (s OutputSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s OutputSettings) GoString() string { +func (s Scte35DeliveryRestrictions) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *OutputSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "OutputSettings"} - if s.ArchiveOutputSettings != nil { - if err := s.ArchiveOutputSettings.Validate(); err != nil { - invalidParams.AddNested("ArchiveOutputSettings", err.(request.ErrInvalidParams)) - } - } - if s.HlsOutputSettings != nil { - if err := s.HlsOutputSettings.Validate(); err != nil { - invalidParams.AddNested("HlsOutputSettings", err.(request.ErrInvalidParams)) - } +func (s *Scte35DeliveryRestrictions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Scte35DeliveryRestrictions"} + if s.ArchiveAllowedFlag == nil { + invalidParams.Add(request.NewErrParamRequired("ArchiveAllowedFlag")) } - if s.MultiplexOutputSettings != nil { - if err := s.MultiplexOutputSettings.Validate(); err != nil { - invalidParams.AddNested("MultiplexOutputSettings", err.(request.ErrInvalidParams)) - } + if s.DeviceRestrictions == nil { + invalidParams.Add(request.NewErrParamRequired("DeviceRestrictions")) } - if s.RtmpOutputSettings != nil { - if err := s.RtmpOutputSettings.Validate(); err != nil { - invalidParams.AddNested("RtmpOutputSettings", err.(request.ErrInvalidParams)) - } + if s.NoRegionalBlackoutFlag == nil { + invalidParams.Add(request.NewErrParamRequired("NoRegionalBlackoutFlag")) } - if s.UdpOutputSettings != nil { - if err := s.UdpOutputSettings.Validate(); err != nil { - invalidParams.AddNested("UdpOutputSettings", err.(request.ErrInvalidParams)) - } + if s.WebDeliveryAllowedFlag == nil { + invalidParams.Add(request.NewErrParamRequired("WebDeliveryAllowedFlag")) } if invalidParams.Len() > 0 { @@ -27443,88 +35798,38 @@ func (s *OutputSettings) Validate() error { return nil } -// SetArchiveOutputSettings sets the ArchiveOutputSettings field's value. -func (s *OutputSettings) SetArchiveOutputSettings(v *ArchiveOutputSettings) *OutputSettings { - s.ArchiveOutputSettings = v - return s -} - -// SetCmafIngestOutputSettings sets the CmafIngestOutputSettings field's value. -func (s *OutputSettings) SetCmafIngestOutputSettings(v *CmafIngestOutputSettings) *OutputSettings { - s.CmafIngestOutputSettings = v - return s -} - -// SetFrameCaptureOutputSettings sets the FrameCaptureOutputSettings field's value. -func (s *OutputSettings) SetFrameCaptureOutputSettings(v *FrameCaptureOutputSettings) *OutputSettings { - s.FrameCaptureOutputSettings = v - return s -} - -// SetHlsOutputSettings sets the HlsOutputSettings field's value. -func (s *OutputSettings) SetHlsOutputSettings(v *HlsOutputSettings) *OutputSettings { - s.HlsOutputSettings = v - return s -} - -// SetMediaPackageOutputSettings sets the MediaPackageOutputSettings field's value. -func (s *OutputSettings) SetMediaPackageOutputSettings(v *MediaPackageOutputSettings) *OutputSettings { - s.MediaPackageOutputSettings = v - return s -} - -// SetMsSmoothOutputSettings sets the MsSmoothOutputSettings field's value. -func (s *OutputSettings) SetMsSmoothOutputSettings(v *MsSmoothOutputSettings) *OutputSettings { - s.MsSmoothOutputSettings = v +// SetArchiveAllowedFlag sets the ArchiveAllowedFlag field's value. +func (s *Scte35DeliveryRestrictions) SetArchiveAllowedFlag(v string) *Scte35DeliveryRestrictions { + s.ArchiveAllowedFlag = &v return s } -// SetMultiplexOutputSettings sets the MultiplexOutputSettings field's value. -func (s *OutputSettings) SetMultiplexOutputSettings(v *MultiplexOutputSettings) *OutputSettings { - s.MultiplexOutputSettings = v +// SetDeviceRestrictions sets the DeviceRestrictions field's value. +func (s *Scte35DeliveryRestrictions) SetDeviceRestrictions(v string) *Scte35DeliveryRestrictions { + s.DeviceRestrictions = &v return s } -// SetRtmpOutputSettings sets the RtmpOutputSettings field's value. -func (s *OutputSettings) SetRtmpOutputSettings(v *RtmpOutputSettings) *OutputSettings { - s.RtmpOutputSettings = v +// SetNoRegionalBlackoutFlag sets the NoRegionalBlackoutFlag field's value. +func (s *Scte35DeliveryRestrictions) SetNoRegionalBlackoutFlag(v string) *Scte35DeliveryRestrictions { + s.NoRegionalBlackoutFlag = &v return s } -// SetUdpOutputSettings sets the UdpOutputSettings field's value. -func (s *OutputSettings) SetUdpOutputSettings(v *UdpOutputSettings) *OutputSettings { - s.UdpOutputSettings = v +// SetWebDeliveryAllowedFlag sets the WebDeliveryAllowedFlag field's value. +func (s *Scte35DeliveryRestrictions) SetWebDeliveryAllowedFlag(v string) *Scte35DeliveryRestrictions { + s.WebDeliveryAllowedFlag = &v return s } -// Pass Through Settings -type PassThroughSettings struct { - _ struct{} `type:"structure"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s PassThroughSettings) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s PassThroughSettings) GoString() string { - return s.String() -} - -// Settings for the action to set pause state of a channel. -type PauseStateScheduleActionSettings struct { +// Holds one set of SCTE-35 Descriptor Settings. +type Scte35Descriptor struct { _ struct{} `type:"structure"` - Pipelines []*PipelinePauseStateSettings `locationName:"pipelines" type:"list"` + // SCTE-35 Descriptor Settings. + // + // Scte35DescriptorSettings is a required field + Scte35DescriptorSettings *Scte35DescriptorSettings `locationName:"scte35DescriptorSettings" type:"structure" required:"true"` } // String returns the string representation. @@ -27532,7 +35837,7 @@ type PauseStateScheduleActionSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s PauseStateScheduleActionSettings) String() string { +func (s Scte35Descriptor) String() string { return awsutil.Prettify(s) } @@ -27541,21 +35846,19 @@ func (s PauseStateScheduleActionSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s PauseStateScheduleActionSettings) GoString() string { +func (s Scte35Descriptor) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *PauseStateScheduleActionSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "PauseStateScheduleActionSettings"} - if s.Pipelines != nil { - for i, v := range s.Pipelines { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Pipelines", i), err.(request.ErrInvalidParams)) - } +func (s *Scte35Descriptor) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Scte35Descriptor"} + if s.Scte35DescriptorSettings == nil { + invalidParams.Add(request.NewErrParamRequired("Scte35DescriptorSettings")) + } + if s.Scte35DescriptorSettings != nil { + if err := s.Scte35DescriptorSettings.Validate(); err != nil { + invalidParams.AddNested("Scte35DescriptorSettings", err.(request.ErrInvalidParams)) } } @@ -27565,34 +35868,20 @@ func (s *PauseStateScheduleActionSettings) Validate() error { return nil } -// SetPipelines sets the Pipelines field's value. -func (s *PauseStateScheduleActionSettings) SetPipelines(v []*PipelinePauseStateSettings) *PauseStateScheduleActionSettings { - s.Pipelines = v +// SetScte35DescriptorSettings sets the Scte35DescriptorSettings field's value. +func (s *Scte35Descriptor) SetScte35DescriptorSettings(v *Scte35DescriptorSettings) *Scte35Descriptor { + s.Scte35DescriptorSettings = v return s } -// Runtime details of a pipeline when a channel is running. -type PipelineDetail struct { +// SCTE-35 Descriptor settings. +type Scte35DescriptorSettings struct { _ struct{} `type:"structure"` - // The name of the active input attachment currently being ingested by this - // pipeline. - ActiveInputAttachmentName *string `locationName:"activeInputAttachmentName" type:"string"` - - // The name of the input switch schedule action that occurred most recently - // and that resulted in the switch to the current input attachment for this - // pipeline. - ActiveInputSwitchActionName *string `locationName:"activeInputSwitchActionName" type:"string"` - - // The name of the motion graphics activate action that occurred most recently - // and that resulted in the current graphics URI for this pipeline. - ActiveMotionGraphicsActionName *string `locationName:"activeMotionGraphicsActionName" type:"string"` - - // The current URI being used for HTML5 motion graphics for this pipeline. - ActiveMotionGraphicsUri *string `locationName:"activeMotionGraphicsUri" type:"string"` - - // Pipeline ID - PipelineId *string `locationName:"pipelineId" type:"string"` + // SCTE-35 Segmentation Descriptor. + // + // SegmentationDescriptorScte35DescriptorSettings is a required field + SegmentationDescriptorScte35DescriptorSettings *Scte35SegmentationDescriptor `locationName:"segmentationDescriptorScte35DescriptorSettings" type:"structure" required:"true"` } // String returns the string representation. @@ -27600,7 +35889,7 @@ type PipelineDetail struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s PipelineDetail) String() string { +func (s Scte35DescriptorSettings) String() string { return awsutil.Prettify(s) } @@ -27609,43 +35898,46 @@ func (s PipelineDetail) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s PipelineDetail) GoString() string { +func (s Scte35DescriptorSettings) GoString() string { return s.String() } -// SetActiveInputAttachmentName sets the ActiveInputAttachmentName field's value. -func (s *PipelineDetail) SetActiveInputAttachmentName(v string) *PipelineDetail { - s.ActiveInputAttachmentName = &v - return s -} - -// SetActiveInputSwitchActionName sets the ActiveInputSwitchActionName field's value. -func (s *PipelineDetail) SetActiveInputSwitchActionName(v string) *PipelineDetail { - s.ActiveInputSwitchActionName = &v - return s -} - -// SetActiveMotionGraphicsActionName sets the ActiveMotionGraphicsActionName field's value. -func (s *PipelineDetail) SetActiveMotionGraphicsActionName(v string) *PipelineDetail { - s.ActiveMotionGraphicsActionName = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *Scte35DescriptorSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Scte35DescriptorSettings"} + if s.SegmentationDescriptorScte35DescriptorSettings == nil { + invalidParams.Add(request.NewErrParamRequired("SegmentationDescriptorScte35DescriptorSettings")) + } + if s.SegmentationDescriptorScte35DescriptorSettings != nil { + if err := s.SegmentationDescriptorScte35DescriptorSettings.Validate(); err != nil { + invalidParams.AddNested("SegmentationDescriptorScte35DescriptorSettings", err.(request.ErrInvalidParams)) + } + } -// SetActiveMotionGraphicsUri sets the ActiveMotionGraphicsUri field's value. -func (s *PipelineDetail) SetActiveMotionGraphicsUri(v string) *PipelineDetail { - s.ActiveMotionGraphicsUri = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetPipelineId sets the PipelineId field's value. -func (s *PipelineDetail) SetPipelineId(v string) *PipelineDetail { - s.PipelineId = &v +// SetSegmentationDescriptorScte35DescriptorSettings sets the SegmentationDescriptorScte35DescriptorSettings field's value. +func (s *Scte35DescriptorSettings) SetSegmentationDescriptorScte35DescriptorSettings(v *Scte35SegmentationDescriptor) *Scte35DescriptorSettings { + s.SegmentationDescriptorScte35DescriptorSettings = v return s } -// Pipeline Locking Settings -type PipelineLockingSettings struct { +// Scte35Input Schedule Action Settings +type Scte35InputScheduleActionSettings struct { _ struct{} `type:"structure"` + + // In fixed mode, enter the name of the input attachment that you want to use + // as a SCTE-35 input. (Don't enter the ID of the input.)" + InputAttachmentNameReference *string `locationName:"inputAttachmentNameReference" type:"string"` + + // Whether the SCTE-35 input should be the active input or a fixed input. + // + // Mode is a required field + Mode *string `locationName:"mode" type:"string" required:"true" enum:"Scte35InputMode"` } // String returns the string representation. @@ -27653,7 +35945,7 @@ type PipelineLockingSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s PipelineLockingSettings) String() string { +func (s Scte35InputScheduleActionSettings) String() string { return awsutil.Prettify(s) } @@ -27662,18 +35954,43 @@ func (s PipelineLockingSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s PipelineLockingSettings) GoString() string { +func (s Scte35InputScheduleActionSettings) GoString() string { return s.String() } -// Settings for pausing a pipeline. -type PipelinePauseStateSettings struct { +// Validate inspects the fields of the type to determine if they are valid. +func (s *Scte35InputScheduleActionSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Scte35InputScheduleActionSettings"} + if s.Mode == nil { + invalidParams.Add(request.NewErrParamRequired("Mode")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInputAttachmentNameReference sets the InputAttachmentNameReference field's value. +func (s *Scte35InputScheduleActionSettings) SetInputAttachmentNameReference(v string) *Scte35InputScheduleActionSettings { + s.InputAttachmentNameReference = &v + return s +} + +// SetMode sets the Mode field's value. +func (s *Scte35InputScheduleActionSettings) SetMode(v string) *Scte35InputScheduleActionSettings { + s.Mode = &v + return s +} + +// Settings for a SCTE-35 return_to_network message. +type Scte35ReturnToNetworkScheduleActionSettings struct { _ struct{} `type:"structure"` - // Pipeline ID to pause ("PIPELINE_0" or "PIPELINE_1"). + // The splice_event_id for the SCTE-35 splice_insert, as defined in SCTE-35. // - // PipelineId is a required field - PipelineId *string `locationName:"pipelineId" type:"string" required:"true" enum:"PipelineId"` + // SpliceEventId is a required field + SpliceEventId *int64 `locationName:"spliceEventId" type:"long" required:"true"` } // String returns the string representation. @@ -27681,7 +35998,7 @@ type PipelinePauseStateSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s PipelinePauseStateSettings) String() string { +func (s Scte35ReturnToNetworkScheduleActionSettings) String() string { return awsutil.Prettify(s) } @@ -27690,15 +36007,15 @@ func (s PipelinePauseStateSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s PipelinePauseStateSettings) GoString() string { +func (s Scte35ReturnToNetworkScheduleActionSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *PipelinePauseStateSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "PipelinePauseStateSettings"} - if s.PipelineId == nil { - invalidParams.Add(request.NewErrParamRequired("PipelineId")) +func (s *Scte35ReturnToNetworkScheduleActionSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Scte35ReturnToNetworkScheduleActionSettings"} + if s.SpliceEventId == nil { + invalidParams.Add(request.NewErrParamRequired("SpliceEventId")) } if invalidParams.Len() > 0 { @@ -27707,31 +36024,71 @@ func (s *PipelinePauseStateSettings) Validate() error { return nil } -// SetPipelineId sets the PipelineId field's value. -func (s *PipelinePauseStateSettings) SetPipelineId(v string) *PipelinePauseStateSettings { - s.PipelineId = &v +// SetSpliceEventId sets the SpliceEventId field's value. +func (s *Scte35ReturnToNetworkScheduleActionSettings) SetSpliceEventId(v int64) *Scte35ReturnToNetworkScheduleActionSettings { + s.SpliceEventId = &v return s } -type PurchaseOfferingInput struct { +// Corresponds to SCTE-35 segmentation_descriptor. +type Scte35SegmentationDescriptor struct { _ struct{} `type:"structure"` - // Count is a required field - Count *int64 `locationName:"count" min:"1" type:"integer" required:"true"` + // Holds the four SCTE-35 delivery restriction parameters. + DeliveryRestrictions *Scte35DeliveryRestrictions `locationName:"deliveryRestrictions" type:"structure"` - Name *string `locationName:"name" type:"string"` + // Corresponds to SCTE-35 segment_num. A value that is valid for the specified + // segmentation_type_id. + SegmentNum *int64 `locationName:"segmentNum" type:"integer"` - // OfferingId is a required field - OfferingId *string `location:"uri" locationName:"offeringId" type:"string" required:"true"` + // Corresponds to SCTE-35 segmentation_event_cancel_indicator. + // + // SegmentationCancelIndicator is a required field + SegmentationCancelIndicator *string `locationName:"segmentationCancelIndicator" type:"string" required:"true" enum:"Scte35SegmentationCancelIndicator"` - // The Renewal settings for Reservations - RenewalSettings *RenewalSettings `locationName:"renewalSettings" type:"structure"` + // Corresponds to SCTE-35 segmentation_duration. Optional. The duration for + // the time_signal, in 90 KHz ticks. To convert seconds to ticks, multiple the + // seconds by 90,000. Enter time in 90 KHz clock ticks. If you do not enter + // a duration, the time_signal will continue until you insert a cancellation + // message. + SegmentationDuration *int64 `locationName:"segmentationDuration" type:"long"` - RequestId *string `locationName:"requestId" type:"string" idempotencyToken:"true"` + // Corresponds to SCTE-35 segmentation_event_id. + // + // SegmentationEventId is a required field + SegmentationEventId *int64 `locationName:"segmentationEventId" type:"long" required:"true"` - Start *string `locationName:"start" type:"string"` + // Corresponds to SCTE-35 segmentation_type_id. One of the segmentation_type_id + // values listed in the SCTE-35 specification. On the console, enter the ID + // in decimal (for example, "52"). In the CLI, API, or an SDK, enter the ID + // in hex (for example, "0x34") or decimal (for example, "52"). + SegmentationTypeId *int64 `locationName:"segmentationTypeId" type:"integer"` - Tags map[string]*string `locationName:"tags" type:"map"` + // Corresponds to SCTE-35 segmentation_upid. Enter a string containing the hexadecimal + // representation of the characters that make up the SCTE-35 segmentation_upid + // value. Must contain an even number of hex characters. Do not include spaces + // between each hex pair. For example, the ASCII "ADS Information" becomes hex + // "41445320496e666f726d6174696f6e. + SegmentationUpid *string `locationName:"segmentationUpid" type:"string"` + + // Corresponds to SCTE-35 segmentation_upid_type. On the console, enter one + // of the types listed in the SCTE-35 specification, converted to a decimal. + // For example, "0x0C" hex from the specification is "12" in decimal. In the + // CLI, API, or an SDK, enter one of the types listed in the SCTE-35 specification, + // in either hex (for example, "0x0C" ) or in decimal (for example, "12"). + SegmentationUpidType *int64 `locationName:"segmentationUpidType" type:"integer"` + + // Corresponds to SCTE-35 segments_expected. A value that is valid for the specified + // segmentation_type_id. + SegmentsExpected *int64 `locationName:"segmentsExpected" type:"integer"` + + // Corresponds to SCTE-35 sub_segment_num. A value that is valid for the specified + // segmentation_type_id. + SubSegmentNum *int64 `locationName:"subSegmentNum" type:"integer"` + + // Corresponds to SCTE-35 sub_segments_expected. A value that is valid for the + // specified segmentation_type_id. + SubSegmentsExpected *int64 `locationName:"subSegmentsExpected" type:"integer"` } // String returns the string representation. @@ -27739,7 +36096,7 @@ type PurchaseOfferingInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s PurchaseOfferingInput) String() string { +func (s Scte35SegmentationDescriptor) String() string { return awsutil.Prettify(s) } @@ -27748,28 +36105,22 @@ func (s PurchaseOfferingInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s PurchaseOfferingInput) GoString() string { +func (s Scte35SegmentationDescriptor) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *PurchaseOfferingInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "PurchaseOfferingInput"} - if s.Count == nil { - invalidParams.Add(request.NewErrParamRequired("Count")) - } - if s.Count != nil && *s.Count < 1 { - invalidParams.Add(request.NewErrParamMinValue("Count", 1)) - } - if s.OfferingId == nil { - invalidParams.Add(request.NewErrParamRequired("OfferingId")) +func (s *Scte35SegmentationDescriptor) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Scte35SegmentationDescriptor"} + if s.SegmentationCancelIndicator == nil { + invalidParams.Add(request.NewErrParamRequired("SegmentationCancelIndicator")) } - if s.OfferingId != nil && len(*s.OfferingId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("OfferingId", 1)) + if s.SegmentationEventId == nil { + invalidParams.Add(request.NewErrParamRequired("SegmentationEventId")) } - if s.RenewalSettings != nil { - if err := s.RenewalSettings.Validate(); err != nil { - invalidParams.AddNested("RenewalSettings", err.(request.ErrInvalidParams)) + if s.DeliveryRestrictions != nil { + if err := s.DeliveryRestrictions.Validate(); err != nil { + invalidParams.AddNested("DeliveryRestrictions", err.(request.ErrInvalidParams)) } } @@ -27779,110 +36130,89 @@ func (s *PurchaseOfferingInput) Validate() error { return nil } -// SetCount sets the Count field's value. -func (s *PurchaseOfferingInput) SetCount(v int64) *PurchaseOfferingInput { - s.Count = &v +// SetDeliveryRestrictions sets the DeliveryRestrictions field's value. +func (s *Scte35SegmentationDescriptor) SetDeliveryRestrictions(v *Scte35DeliveryRestrictions) *Scte35SegmentationDescriptor { + s.DeliveryRestrictions = v return s } -// SetName sets the Name field's value. -func (s *PurchaseOfferingInput) SetName(v string) *PurchaseOfferingInput { - s.Name = &v +// SetSegmentNum sets the SegmentNum field's value. +func (s *Scte35SegmentationDescriptor) SetSegmentNum(v int64) *Scte35SegmentationDescriptor { + s.SegmentNum = &v return s } -// SetOfferingId sets the OfferingId field's value. -func (s *PurchaseOfferingInput) SetOfferingId(v string) *PurchaseOfferingInput { - s.OfferingId = &v +// SetSegmentationCancelIndicator sets the SegmentationCancelIndicator field's value. +func (s *Scte35SegmentationDescriptor) SetSegmentationCancelIndicator(v string) *Scte35SegmentationDescriptor { + s.SegmentationCancelIndicator = &v return s } -// SetRenewalSettings sets the RenewalSettings field's value. -func (s *PurchaseOfferingInput) SetRenewalSettings(v *RenewalSettings) *PurchaseOfferingInput { - s.RenewalSettings = v +// SetSegmentationDuration sets the SegmentationDuration field's value. +func (s *Scte35SegmentationDescriptor) SetSegmentationDuration(v int64) *Scte35SegmentationDescriptor { + s.SegmentationDuration = &v return s } -// SetRequestId sets the RequestId field's value. -func (s *PurchaseOfferingInput) SetRequestId(v string) *PurchaseOfferingInput { - s.RequestId = &v +// SetSegmentationEventId sets the SegmentationEventId field's value. +func (s *Scte35SegmentationDescriptor) SetSegmentationEventId(v int64) *Scte35SegmentationDescriptor { + s.SegmentationEventId = &v return s } -// SetStart sets the Start field's value. -func (s *PurchaseOfferingInput) SetStart(v string) *PurchaseOfferingInput { - s.Start = &v +// SetSegmentationTypeId sets the SegmentationTypeId field's value. +func (s *Scte35SegmentationDescriptor) SetSegmentationTypeId(v int64) *Scte35SegmentationDescriptor { + s.SegmentationTypeId = &v return s } -// SetTags sets the Tags field's value. -func (s *PurchaseOfferingInput) SetTags(v map[string]*string) *PurchaseOfferingInput { - s.Tags = v +// SetSegmentationUpid sets the SegmentationUpid field's value. +func (s *Scte35SegmentationDescriptor) SetSegmentationUpid(v string) *Scte35SegmentationDescriptor { + s.SegmentationUpid = &v return s } -type PurchaseOfferingOutput struct { - _ struct{} `type:"structure"` - - // Reserved resources available to use - Reservation *Reservation `locationName:"reservation" type:"structure"` +// SetSegmentationUpidType sets the SegmentationUpidType field's value. +func (s *Scte35SegmentationDescriptor) SetSegmentationUpidType(v int64) *Scte35SegmentationDescriptor { + s.SegmentationUpidType = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s PurchaseOfferingOutput) String() string { - return awsutil.Prettify(s) +// SetSegmentsExpected sets the SegmentsExpected field's value. +func (s *Scte35SegmentationDescriptor) SetSegmentsExpected(v int64) *Scte35SegmentationDescriptor { + s.SegmentsExpected = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s PurchaseOfferingOutput) GoString() string { - return s.String() +// SetSubSegmentNum sets the SubSegmentNum field's value. +func (s *Scte35SegmentationDescriptor) SetSubSegmentNum(v int64) *Scte35SegmentationDescriptor { + s.SubSegmentNum = &v + return s } -// SetReservation sets the Reservation field's value. -func (s *PurchaseOfferingOutput) SetReservation(v *Reservation) *PurchaseOfferingOutput { - s.Reservation = v +// SetSubSegmentsExpected sets the SubSegmentsExpected field's value. +func (s *Scte35SegmentationDescriptor) SetSubSegmentsExpected(v int64) *Scte35SegmentationDescriptor { + s.SubSegmentsExpected = &v return s } -// Raw Settings -type RawSettings struct { +// Typical configuration that applies breaks on splice inserts in addition to +// time signal placement opportunities, breaks, and advertisements. +type Scte35SpliceInsert struct { _ struct{} `type:"structure"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s RawSettings) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s RawSettings) GoString() string { - return s.String() -} -type RebootInputDeviceInput struct { - _ struct{} `type:"structure"` + // When specified, this offset (in milliseconds) is added to the input Ad Avail + // PTS time. This only applies to embedded SCTE 104/35 messages and does not + // apply to OOB messages. + AdAvailOffset *int64 `locationName:"adAvailOffset" type:"integer"` - // Whether or not to force reboot the input device. - Force *string `locationName:"force" type:"string" enum:"RebootInputDeviceForce"` + // When set to ignore, Segment Descriptors with noRegionalBlackoutFlag set to + // 0 will no longer trigger blackouts or Ad Avail slates + NoRegionalBlackoutFlag *string `locationName:"noRegionalBlackoutFlag" type:"string" enum:"Scte35SpliceInsertNoRegionalBlackoutBehavior"` - // InputDeviceId is a required field - InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` + // When set to ignore, Segment Descriptors with webDeliveryAllowedFlag set to + // 0 will no longer trigger blackouts or Ad Avail slates + WebDeliveryAllowedFlag *string `locationName:"webDeliveryAllowedFlag" type:"string" enum:"Scte35SpliceInsertWebDeliveryAllowedBehavior"` } // String returns the string representation. @@ -27890,7 +36220,7 @@ type RebootInputDeviceInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RebootInputDeviceInput) String() string { +func (s Scte35SpliceInsert) String() string { return awsutil.Prettify(s) } @@ -27899,18 +36229,15 @@ func (s RebootInputDeviceInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RebootInputDeviceInput) GoString() string { +func (s Scte35SpliceInsert) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *RebootInputDeviceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RebootInputDeviceInput"} - if s.InputDeviceId == nil { - invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) - } - if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) +func (s *Scte35SpliceInsert) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Scte35SpliceInsert"} + if s.AdAvailOffset != nil && *s.AdAvailOffset < -1000 { + invalidParams.Add(request.NewErrParamMinValue("AdAvailOffset", -1000)) } if invalidParams.Len() > 0 { @@ -27919,91 +36246,40 @@ func (s *RebootInputDeviceInput) Validate() error { return nil } -// SetForce sets the Force field's value. -func (s *RebootInputDeviceInput) SetForce(v string) *RebootInputDeviceInput { - s.Force = &v +// SetAdAvailOffset sets the AdAvailOffset field's value. +func (s *Scte35SpliceInsert) SetAdAvailOffset(v int64) *Scte35SpliceInsert { + s.AdAvailOffset = &v return s } -// SetInputDeviceId sets the InputDeviceId field's value. -func (s *RebootInputDeviceInput) SetInputDeviceId(v string) *RebootInputDeviceInput { - s.InputDeviceId = &v +// SetNoRegionalBlackoutFlag sets the NoRegionalBlackoutFlag field's value. +func (s *Scte35SpliceInsert) SetNoRegionalBlackoutFlag(v string) *Scte35SpliceInsert { + s.NoRegionalBlackoutFlag = &v return s } -type RebootInputDeviceOutput struct { - _ struct{} `type:"structure"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s RebootInputDeviceOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s RebootInputDeviceOutput) GoString() string { - return s.String() -} - -// Rec601 Settings -type Rec601Settings struct { - _ struct{} `type:"structure"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s Rec601Settings) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s Rec601Settings) GoString() string { - return s.String() +// SetWebDeliveryAllowedFlag sets the WebDeliveryAllowedFlag field's value. +func (s *Scte35SpliceInsert) SetWebDeliveryAllowedFlag(v string) *Scte35SpliceInsert { + s.WebDeliveryAllowedFlag = &v + return s } -// Rec709 Settings -type Rec709Settings struct { +// Settings for a SCTE-35 splice_insert message. +type Scte35SpliceInsertScheduleActionSettings struct { _ struct{} `type:"structure"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s Rec709Settings) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s Rec709Settings) GoString() string { - return s.String() -} -type RejectInputDeviceTransferInput struct { - _ struct{} `type:"structure" nopayload:"true"` + // Optional, the duration for the splice_insert, in 90 KHz ticks. To convert + // seconds to ticks, multiple the seconds by 90,000. If you enter a duration, + // there is an expectation that the downstream system can read the duration + // and cue in at that time. If you do not enter a duration, the splice_insert + // will continue indefinitely and there is an expectation that you will enter + // a return_to_network to end the splice_insert at the appropriate time. + Duration *int64 `locationName:"duration" type:"long"` - // InputDeviceId is a required field - InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` + // The splice_event_id for the SCTE-35 splice_insert, as defined in SCTE-35. + // + // SpliceEventId is a required field + SpliceEventId *int64 `locationName:"spliceEventId" type:"long" required:"true"` } // String returns the string representation. @@ -28011,7 +36287,7 @@ type RejectInputDeviceTransferInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RejectInputDeviceTransferInput) String() string { +func (s Scte35SpliceInsertScheduleActionSettings) String() string { return awsutil.Prettify(s) } @@ -28020,18 +36296,15 @@ func (s RejectInputDeviceTransferInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RejectInputDeviceTransferInput) GoString() string { +func (s Scte35SpliceInsertScheduleActionSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *RejectInputDeviceTransferInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RejectInputDeviceTransferInput"} - if s.InputDeviceId == nil { - invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) - } - if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) +func (s *Scte35SpliceInsertScheduleActionSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Scte35SpliceInsertScheduleActionSettings"} + if s.SpliceEventId == nil { + invalidParams.Add(request.NewErrParamRequired("SpliceEventId")) } if invalidParams.Len() > 0 { @@ -28040,48 +36313,35 @@ func (s *RejectInputDeviceTransferInput) Validate() error { return nil } -// SetInputDeviceId sets the InputDeviceId field's value. -func (s *RejectInputDeviceTransferInput) SetInputDeviceId(v string) *RejectInputDeviceTransferInput { - s.InputDeviceId = &v +// SetDuration sets the Duration field's value. +func (s *Scte35SpliceInsertScheduleActionSettings) SetDuration(v int64) *Scte35SpliceInsertScheduleActionSettings { + s.Duration = &v return s } -type RejectInputDeviceTransferOutput struct { - _ struct{} `type:"structure"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s RejectInputDeviceTransferOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s RejectInputDeviceTransferOutput) GoString() string { - return s.String() +// SetSpliceEventId sets the SpliceEventId field's value. +func (s *Scte35SpliceInsertScheduleActionSettings) SetSpliceEventId(v int64) *Scte35SpliceInsertScheduleActionSettings { + s.SpliceEventId = &v + return s } -// Remix Settings -type RemixSettings struct { +// Atypical configuration that applies segment breaks only on SCTE-35 time signal +// placement opportunities and breaks. +type Scte35TimeSignalApos struct { _ struct{} `type:"structure"` - // Mapping of input channels to output channels, with appropriate gain adjustments. - // - // ChannelMappings is a required field - ChannelMappings []*AudioChannelMapping `locationName:"channelMappings" type:"list" required:"true"` + // When specified, this offset (in milliseconds) is added to the input Ad Avail + // PTS time. This only applies to embedded SCTE 104/35 messages and does not + // apply to OOB messages. + AdAvailOffset *int64 `locationName:"adAvailOffset" type:"integer"` - // Number of input channels to be used. - ChannelsIn *int64 `locationName:"channelsIn" min:"1" type:"integer"` + // When set to ignore, Segment Descriptors with noRegionalBlackoutFlag set to + // 0 will no longer trigger blackouts or Ad Avail slates + NoRegionalBlackoutFlag *string `locationName:"noRegionalBlackoutFlag" type:"string" enum:"Scte35AposNoRegionalBlackoutBehavior"` - // Number of output channels to be produced.Valid values: 1, 2, 4, 6, 8 - ChannelsOut *int64 `locationName:"channelsOut" min:"1" type:"integer"` + // When set to ignore, Segment Descriptors with webDeliveryAllowedFlag set to + // 0 will no longer trigger blackouts or Ad Avail slates + WebDeliveryAllowedFlag *string `locationName:"webDeliveryAllowedFlag" type:"string" enum:"Scte35AposWebDeliveryAllowedBehavior"` } // String returns the string representation. @@ -28089,7 +36349,7 @@ type RemixSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RemixSettings) String() string { +func (s Scte35TimeSignalApos) String() string { return awsutil.Prettify(s) } @@ -28098,31 +36358,15 @@ func (s RemixSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RemixSettings) GoString() string { +func (s Scte35TimeSignalApos) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *RemixSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RemixSettings"} - if s.ChannelMappings == nil { - invalidParams.Add(request.NewErrParamRequired("ChannelMappings")) - } - if s.ChannelsIn != nil && *s.ChannelsIn < 1 { - invalidParams.Add(request.NewErrParamMinValue("ChannelsIn", 1)) - } - if s.ChannelsOut != nil && *s.ChannelsOut < 1 { - invalidParams.Add(request.NewErrParamMinValue("ChannelsOut", 1)) - } - if s.ChannelMappings != nil { - for i, v := range s.ChannelMappings { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ChannelMappings", i), err.(request.ErrInvalidParams)) - } - } +func (s *Scte35TimeSignalApos) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Scte35TimeSignalApos"} + if s.AdAvailOffset != nil && *s.AdAvailOffset < -1000 { + invalidParams.Add(request.NewErrParamMinValue("AdAvailOffset", -1000)) } if invalidParams.Len() > 0 { @@ -28131,33 +36375,32 @@ func (s *RemixSettings) Validate() error { return nil } -// SetChannelMappings sets the ChannelMappings field's value. -func (s *RemixSettings) SetChannelMappings(v []*AudioChannelMapping) *RemixSettings { - s.ChannelMappings = v +// SetAdAvailOffset sets the AdAvailOffset field's value. +func (s *Scte35TimeSignalApos) SetAdAvailOffset(v int64) *Scte35TimeSignalApos { + s.AdAvailOffset = &v return s } -// SetChannelsIn sets the ChannelsIn field's value. -func (s *RemixSettings) SetChannelsIn(v int64) *RemixSettings { - s.ChannelsIn = &v +// SetNoRegionalBlackoutFlag sets the NoRegionalBlackoutFlag field's value. +func (s *Scte35TimeSignalApos) SetNoRegionalBlackoutFlag(v string) *Scte35TimeSignalApos { + s.NoRegionalBlackoutFlag = &v return s } -// SetChannelsOut sets the ChannelsOut field's value. -func (s *RemixSettings) SetChannelsOut(v int64) *RemixSettings { - s.ChannelsOut = &v +// SetWebDeliveryAllowedFlag sets the WebDeliveryAllowedFlag field's value. +func (s *Scte35TimeSignalApos) SetWebDeliveryAllowedFlag(v string) *Scte35TimeSignalApos { + s.WebDeliveryAllowedFlag = &v return s } -// The Renewal settings for Reservations -type RenewalSettings struct { +// Settings for a SCTE-35 time_signal. +type Scte35TimeSignalScheduleActionSettings struct { _ struct{} `type:"structure"` - // Automatic renewal status for the reservation - AutomaticRenewal *string `locationName:"automaticRenewal" type:"string" enum:"ReservationAutomaticRenewal"` - - // Count for the reservation renewal - RenewalCount *int64 `locationName:"renewalCount" min:"1" type:"integer"` + // The list of SCTE-35 descriptors accompanying the SCTE-35 time_signal. + // + // Scte35Descriptors is a required field + Scte35Descriptors []*Scte35Descriptor `locationName:"scte35Descriptors" type:"list" required:"true"` } // String returns the string representation. @@ -28165,7 +36408,7 @@ type RenewalSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RenewalSettings) String() string { +func (s Scte35TimeSignalScheduleActionSettings) String() string { return awsutil.Prettify(s) } @@ -28174,15 +36417,25 @@ func (s RenewalSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RenewalSettings) GoString() string { +func (s Scte35TimeSignalScheduleActionSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *RenewalSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RenewalSettings"} - if s.RenewalCount != nil && *s.RenewalCount < 1 { - invalidParams.Add(request.NewErrParamMinValue("RenewalCount", 1)) +func (s *Scte35TimeSignalScheduleActionSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Scte35TimeSignalScheduleActionSettings"} + if s.Scte35Descriptors == nil { + invalidParams.Add(request.NewErrParamRequired("Scte35Descriptors")) + } + if s.Scte35Descriptors != nil { + for i, v := range s.Scte35Descriptors { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Scte35Descriptors", i), err.(request.ErrInvalidParams)) + } + } } if invalidParams.Len() > 0 { @@ -28191,79 +36444,52 @@ func (s *RenewalSettings) Validate() error { return nil } -// SetAutomaticRenewal sets the AutomaticRenewal field's value. -func (s *RenewalSettings) SetAutomaticRenewal(v string) *RenewalSettings { - s.AutomaticRenewal = &v - return s -} - -// SetRenewalCount sets the RenewalCount field's value. -func (s *RenewalSettings) SetRenewalCount(v int64) *RenewalSettings { - s.RenewalCount = &v +// SetScte35Descriptors sets the Scte35Descriptors field's value. +func (s *Scte35TimeSignalScheduleActionSettings) SetScte35Descriptors(v []*Scte35Descriptor) *Scte35TimeSignalScheduleActionSettings { + s.Scte35Descriptors = v return s } -// Reserved resources available to use -type Reservation struct { +type SignalMapSummary struct { _ struct{} `type:"structure"` - // Unique reservation ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:reservation:1234567' - Arn *string `locationName:"arn" type:"string"` - - // Number of reserved resources - Count *int64 `locationName:"count" type:"integer"` - - // Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD' - CurrencyCode *string `locationName:"currencyCode" type:"string"` - - // Lease duration, e.g. '12' - Duration *int64 `locationName:"duration" type:"integer"` - - // Units for duration, e.g. 'MONTHS' - DurationUnits *string `locationName:"durationUnits" type:"string" enum:"OfferingDurationUnits"` - - // Reservation UTC end date and time in ISO-8601 format, e.g. '2019-03-01T00:00:00' - End *string `locationName:"end" type:"string"` - - // One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering - FixedPrice *float64 `locationName:"fixedPrice" type:"double"` - - // User specified reservation name - Name *string `locationName:"name" type:"string"` - - // Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard - // VQ in US West (Oregon)' - OfferingDescription *string `locationName:"offeringDescription" type:"string"` - - // Unique offering ID, e.g. '87654321' - OfferingId *string `locationName:"offeringId" type:"string"` + // A signal map's ARN (Amazon Resource Name) + // + // Arn is a required field + Arn *string `locationName:"arn" type:"string" required:"true"` - // Offering type, e.g. 'NO_UPFRONT' - OfferingType *string `locationName:"offeringType" type:"string" enum:"OfferingType"` + // CreatedAt is a required field + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601" required:"true"` - // AWS region, e.g. 'us-west-2' - Region *string `locationName:"region" type:"string"` + // A resource's optional description. + Description *string `locationName:"description" type:"string"` - // Renewal settings for the reservation - RenewalSettings *RenewalSettings `locationName:"renewalSettings" type:"structure"` + // A signal map's id. + // + // Id is a required field + Id *string `locationName:"id" min:"7" type:"string" required:"true"` - // Unique reservation ID, e.g. '1234567' - ReservationId *string `locationName:"reservationId" type:"string"` + ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp" timestampFormat:"iso8601"` - // Resource configuration details - ResourceSpecification *ReservationResourceSpecification `locationName:"resourceSpecification" type:"structure"` + // A signal map's monitor deployment status. + // + // MonitorDeploymentStatus is a required field + MonitorDeploymentStatus *string `locationName:"monitorDeploymentStatus" type:"string" required:"true" enum:"SignalMapMonitorDeploymentStatus"` - // Reservation UTC start date and time in ISO-8601 format, e.g. '2018-03-01T00:00:00' - Start *string `locationName:"start" type:"string"` + // A resource's name. Names must be unique within the scope of a resource type + // in a specific region. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` - // Current state of reservation, e.g. 'ACTIVE' - State *string `locationName:"state" type:"string" enum:"ReservationState"` + // A signal map's current status which is dependent on its lifecycle actions + // or associated jobs. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"SignalMapStatus"` - // A collection of key-value pairs + // Represents the tags associated with a resource. Tags map[string]*string `locationName:"tags" type:"map"` - - // Recurring usage charge for each reserved resource, e.g. '157.0' - UsagePrice *float64 `locationName:"usagePrice" type:"double"` } // String returns the string representation. @@ -28271,7 +36497,7 @@ type Reservation struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Reservation) String() string { +func (s SignalMapSummary) String() string { return awsutil.Prettify(s) } @@ -28280,151 +36506,67 @@ func (s Reservation) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Reservation) GoString() string { +func (s SignalMapSummary) GoString() string { return s.String() } // SetArn sets the Arn field's value. -func (s *Reservation) SetArn(v string) *Reservation { +func (s *SignalMapSummary) SetArn(v string) *SignalMapSummary { s.Arn = &v return s } -// SetCount sets the Count field's value. -func (s *Reservation) SetCount(v int64) *Reservation { - s.Count = &v - return s -} - -// SetCurrencyCode sets the CurrencyCode field's value. -func (s *Reservation) SetCurrencyCode(v string) *Reservation { - s.CurrencyCode = &v +// SetCreatedAt sets the CreatedAt field's value. +func (s *SignalMapSummary) SetCreatedAt(v time.Time) *SignalMapSummary { + s.CreatedAt = &v return s } -// SetDuration sets the Duration field's value. -func (s *Reservation) SetDuration(v int64) *Reservation { - s.Duration = &v +// SetDescription sets the Description field's value. +func (s *SignalMapSummary) SetDescription(v string) *SignalMapSummary { + s.Description = &v return s } -// SetDurationUnits sets the DurationUnits field's value. -func (s *Reservation) SetDurationUnits(v string) *Reservation { - s.DurationUnits = &v +// SetId sets the Id field's value. +func (s *SignalMapSummary) SetId(v string) *SignalMapSummary { + s.Id = &v return s } -// SetEnd sets the End field's value. -func (s *Reservation) SetEnd(v string) *Reservation { - s.End = &v +// SetModifiedAt sets the ModifiedAt field's value. +func (s *SignalMapSummary) SetModifiedAt(v time.Time) *SignalMapSummary { + s.ModifiedAt = &v return s } -// SetFixedPrice sets the FixedPrice field's value. -func (s *Reservation) SetFixedPrice(v float64) *Reservation { - s.FixedPrice = &v +// SetMonitorDeploymentStatus sets the MonitorDeploymentStatus field's value. +func (s *SignalMapSummary) SetMonitorDeploymentStatus(v string) *SignalMapSummary { + s.MonitorDeploymentStatus = &v return s } // SetName sets the Name field's value. -func (s *Reservation) SetName(v string) *Reservation { +func (s *SignalMapSummary) SetName(v string) *SignalMapSummary { s.Name = &v return s } -// SetOfferingDescription sets the OfferingDescription field's value. -func (s *Reservation) SetOfferingDescription(v string) *Reservation { - s.OfferingDescription = &v - return s -} - -// SetOfferingId sets the OfferingId field's value. -func (s *Reservation) SetOfferingId(v string) *Reservation { - s.OfferingId = &v - return s -} - -// SetOfferingType sets the OfferingType field's value. -func (s *Reservation) SetOfferingType(v string) *Reservation { - s.OfferingType = &v - return s -} - -// SetRegion sets the Region field's value. -func (s *Reservation) SetRegion(v string) *Reservation { - s.Region = &v - return s -} - -// SetRenewalSettings sets the RenewalSettings field's value. -func (s *Reservation) SetRenewalSettings(v *RenewalSettings) *Reservation { - s.RenewalSettings = v - return s -} - -// SetReservationId sets the ReservationId field's value. -func (s *Reservation) SetReservationId(v string) *Reservation { - s.ReservationId = &v - return s -} - -// SetResourceSpecification sets the ResourceSpecification field's value. -func (s *Reservation) SetResourceSpecification(v *ReservationResourceSpecification) *Reservation { - s.ResourceSpecification = v - return s -} - -// SetStart sets the Start field's value. -func (s *Reservation) SetStart(v string) *Reservation { - s.Start = &v - return s -} - -// SetState sets the State field's value. -func (s *Reservation) SetState(v string) *Reservation { - s.State = &v +// SetStatus sets the Status field's value. +func (s *SignalMapSummary) SetStatus(v string) *SignalMapSummary { + s.Status = &v return s } // SetTags sets the Tags field's value. -func (s *Reservation) SetTags(v map[string]*string) *Reservation { +func (s *SignalMapSummary) SetTags(v map[string]*string) *SignalMapSummary { s.Tags = v return s } -// SetUsagePrice sets the UsagePrice field's value. -func (s *Reservation) SetUsagePrice(v float64) *Reservation { - s.UsagePrice = &v - return s -} - -// Resource configuration (codec, resolution, bitrate, ...) -type ReservationResourceSpecification struct { +// Smpte Tt Destination Settings +type SmpteTtDestinationSettings struct { _ struct{} `type:"structure"` - - // Channel class, e.g. 'STANDARD' - ChannelClass *string `locationName:"channelClass" type:"string" enum:"ChannelClass"` - - // Codec, e.g. 'AVC' - Codec *string `locationName:"codec" type:"string" enum:"ReservationCodec"` - - // Maximum bitrate, e.g. 'MAX_20_MBPS' - MaximumBitrate *string `locationName:"maximumBitrate" type:"string" enum:"ReservationMaximumBitrate"` - - // Maximum framerate, e.g. 'MAX_30_FPS' (Outputs only) - MaximumFramerate *string `locationName:"maximumFramerate" type:"string" enum:"ReservationMaximumFramerate"` - - // Resolution, e.g. 'HD' - Resolution *string `locationName:"resolution" type:"string" enum:"ReservationResolution"` - - // Resource type, 'INPUT', 'OUTPUT', 'MULTIPLEX', or 'CHANNEL' - ResourceType *string `locationName:"resourceType" type:"string" enum:"ReservationResourceType"` - - // Special feature, e.g. 'AUDIO_NORMALIZATION' (Channels only) - SpecialFeature *string `locationName:"specialFeature" type:"string" enum:"ReservationSpecialFeature"` - - // Video quality, e.g. 'STANDARD' (Outputs only) - VideoQuality *string `locationName:"videoQuality" type:"string" enum:"ReservationVideoQuality"` } // String returns the string representation. @@ -28432,7 +36574,7 @@ type ReservationResourceSpecification struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ReservationResourceSpecification) String() string { +func (s SmpteTtDestinationSettings) String() string { return awsutil.Prettify(s) } @@ -28441,66 +36583,72 @@ func (s ReservationResourceSpecification) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ReservationResourceSpecification) GoString() string { +func (s SmpteTtDestinationSettings) GoString() string { return s.String() } -// SetChannelClass sets the ChannelClass field's value. -func (s *ReservationResourceSpecification) SetChannelClass(v string) *ReservationResourceSpecification { - s.ChannelClass = &v - return s -} +// Standard Hls Settings +type StandardHlsSettings struct { + _ struct{} `type:"structure"` -// SetCodec sets the Codec field's value. -func (s *ReservationResourceSpecification) SetCodec(v string) *ReservationResourceSpecification { - s.Codec = &v - return s -} + // List all the audio groups that are used with the video output stream. Input + // all the audio GROUP-IDs that are associated to the video, separate by ','. + AudioRenditionSets *string `locationName:"audioRenditionSets" type:"string"` -// SetMaximumBitrate sets the MaximumBitrate field's value. -func (s *ReservationResourceSpecification) SetMaximumBitrate(v string) *ReservationResourceSpecification { - s.MaximumBitrate = &v - return s + // Settings information for the .m3u8 container + // + // M3u8Settings is a required field + M3u8Settings *M3u8Settings `locationName:"m3u8Settings" type:"structure" required:"true"` } -// SetMaximumFramerate sets the MaximumFramerate field's value. -func (s *ReservationResourceSpecification) SetMaximumFramerate(v string) *ReservationResourceSpecification { - s.MaximumFramerate = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StandardHlsSettings) String() string { + return awsutil.Prettify(s) } -// SetResolution sets the Resolution field's value. -func (s *ReservationResourceSpecification) SetResolution(v string) *ReservationResourceSpecification { - s.Resolution = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StandardHlsSettings) GoString() string { + return s.String() } -// SetResourceType sets the ResourceType field's value. -func (s *ReservationResourceSpecification) SetResourceType(v string) *ReservationResourceSpecification { - s.ResourceType = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *StandardHlsSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StandardHlsSettings"} + if s.M3u8Settings == nil { + invalidParams.Add(request.NewErrParamRequired("M3u8Settings")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetSpecialFeature sets the SpecialFeature field's value. -func (s *ReservationResourceSpecification) SetSpecialFeature(v string) *ReservationResourceSpecification { - s.SpecialFeature = &v +// SetAudioRenditionSets sets the AudioRenditionSets field's value. +func (s *StandardHlsSettings) SetAudioRenditionSets(v string) *StandardHlsSettings { + s.AudioRenditionSets = &v return s } -// SetVideoQuality sets the VideoQuality field's value. -func (s *ReservationResourceSpecification) SetVideoQuality(v string) *ReservationResourceSpecification { - s.VideoQuality = &v +// SetM3u8Settings sets the M3u8Settings field's value. +func (s *StandardHlsSettings) SetM3u8Settings(v *M3u8Settings) *StandardHlsSettings { + s.M3u8Settings = v return s } -type RestartChannelPipelinesInput struct { - _ struct{} `type:"structure"` +type StartChannelInput struct { + _ struct{} `type:"structure" nopayload:"true"` // ChannelId is a required field ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` - - // An array of pipelines to restart in this channel. Format PIPELINE_0 or PIPELINE_1. - PipelineIds []*string `locationName:"pipelineIds" type:"list" enum:"ChannelPipelineIdToRestart"` } // String returns the string representation. @@ -28508,7 +36656,7 @@ type RestartChannelPipelinesInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RestartChannelPipelinesInput) String() string { +func (s StartChannelInput) String() string { return awsutil.Prettify(s) } @@ -28517,13 +36665,13 @@ func (s RestartChannelPipelinesInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RestartChannelPipelinesInput) GoString() string { +func (s StartChannelInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *RestartChannelPipelinesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RestartChannelPipelinesInput"} +func (s *StartChannelInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartChannelInput"} if s.ChannelId == nil { invalidParams.Add(request.NewErrParamRequired("ChannelId")) } @@ -28538,18 +36686,12 @@ func (s *RestartChannelPipelinesInput) Validate() error { } // SetChannelId sets the ChannelId field's value. -func (s *RestartChannelPipelinesInput) SetChannelId(v string) *RestartChannelPipelinesInput { +func (s *StartChannelInput) SetChannelId(v string) *StartChannelInput { s.ChannelId = &v return s } -// SetPipelineIds sets the PipelineIds field's value. -func (s *RestartChannelPipelinesInput) SetPipelineIds(v []*string) *RestartChannelPipelinesInput { - s.PipelineIds = v - return s -} - -type RestartChannelPipelinesOutput struct { +type StartChannelOutput struct { _ struct{} `type:"structure"` Arn *string `locationName:"arn" type:"string"` @@ -28578,225 +36720,20 @@ type RestartChannelPipelinesOutput struct { Maintenance *MaintenanceStatus `locationName:"maintenance" type:"structure"` - MaintenanceStatus *string `locationName:"maintenanceStatus" type:"string"` - Name *string `locationName:"name" type:"string"` PipelineDetails []*PipelineDetail `locationName:"pipelineDetails" type:"list"` PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` - RoleArn *string `locationName:"roleArn" type:"string"` - - State *string `locationName:"state" type:"string" enum:"ChannelState"` - - Tags map[string]*string `locationName:"tags" type:"map"` - - // The properties for a private VPC Output - Vpc *VpcOutputSettingsDescription `locationName:"vpc" type:"structure"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s RestartChannelPipelinesOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s RestartChannelPipelinesOutput) GoString() string { - return s.String() -} - -// SetArn sets the Arn field's value. -func (s *RestartChannelPipelinesOutput) SetArn(v string) *RestartChannelPipelinesOutput { - s.Arn = &v - return s -} - -// SetCdiInputSpecification sets the CdiInputSpecification field's value. -func (s *RestartChannelPipelinesOutput) SetCdiInputSpecification(v *CdiInputSpecification) *RestartChannelPipelinesOutput { - s.CdiInputSpecification = v - return s -} - -// SetChannelClass sets the ChannelClass field's value. -func (s *RestartChannelPipelinesOutput) SetChannelClass(v string) *RestartChannelPipelinesOutput { - s.ChannelClass = &v - return s -} - -// SetDestinations sets the Destinations field's value. -func (s *RestartChannelPipelinesOutput) SetDestinations(v []*OutputDestination) *RestartChannelPipelinesOutput { - s.Destinations = v - return s -} - -// SetEgressEndpoints sets the EgressEndpoints field's value. -func (s *RestartChannelPipelinesOutput) SetEgressEndpoints(v []*ChannelEgressEndpoint) *RestartChannelPipelinesOutput { - s.EgressEndpoints = v - return s -} - -// SetEncoderSettings sets the EncoderSettings field's value. -func (s *RestartChannelPipelinesOutput) SetEncoderSettings(v *EncoderSettings) *RestartChannelPipelinesOutput { - s.EncoderSettings = v - return s -} - -// SetId sets the Id field's value. -func (s *RestartChannelPipelinesOutput) SetId(v string) *RestartChannelPipelinesOutput { - s.Id = &v - return s -} - -// SetInputAttachments sets the InputAttachments field's value. -func (s *RestartChannelPipelinesOutput) SetInputAttachments(v []*InputAttachment) *RestartChannelPipelinesOutput { - s.InputAttachments = v - return s -} - -// SetInputSpecification sets the InputSpecification field's value. -func (s *RestartChannelPipelinesOutput) SetInputSpecification(v *InputSpecification) *RestartChannelPipelinesOutput { - s.InputSpecification = v - return s -} - -// SetLogLevel sets the LogLevel field's value. -func (s *RestartChannelPipelinesOutput) SetLogLevel(v string) *RestartChannelPipelinesOutput { - s.LogLevel = &v - return s -} - -// SetMaintenance sets the Maintenance field's value. -func (s *RestartChannelPipelinesOutput) SetMaintenance(v *MaintenanceStatus) *RestartChannelPipelinesOutput { - s.Maintenance = v - return s -} - -// SetMaintenanceStatus sets the MaintenanceStatus field's value. -func (s *RestartChannelPipelinesOutput) SetMaintenanceStatus(v string) *RestartChannelPipelinesOutput { - s.MaintenanceStatus = &v - return s -} - -// SetName sets the Name field's value. -func (s *RestartChannelPipelinesOutput) SetName(v string) *RestartChannelPipelinesOutput { - s.Name = &v - return s -} - -// SetPipelineDetails sets the PipelineDetails field's value. -func (s *RestartChannelPipelinesOutput) SetPipelineDetails(v []*PipelineDetail) *RestartChannelPipelinesOutput { - s.PipelineDetails = v - return s -} - -// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. -func (s *RestartChannelPipelinesOutput) SetPipelinesRunningCount(v int64) *RestartChannelPipelinesOutput { - s.PipelinesRunningCount = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *RestartChannelPipelinesOutput) SetRoleArn(v string) *RestartChannelPipelinesOutput { - s.RoleArn = &v - return s -} - -// SetState sets the State field's value. -func (s *RestartChannelPipelinesOutput) SetState(v string) *RestartChannelPipelinesOutput { - s.State = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *RestartChannelPipelinesOutput) SetTags(v map[string]*string) *RestartChannelPipelinesOutput { - s.Tags = v - return s -} - -// SetVpc sets the Vpc field's value. -func (s *RestartChannelPipelinesOutput) SetVpc(v *VpcOutputSettingsDescription) *RestartChannelPipelinesOutput { - s.Vpc = v - return s -} - -// Rtmp Caption Info Destination Settings -type RtmpCaptionInfoDestinationSettings struct { - _ struct{} `type:"structure"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s RtmpCaptionInfoDestinationSettings) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s RtmpCaptionInfoDestinationSettings) GoString() string { - return s.String() -} - -// Rtmp Group Settings -type RtmpGroupSettings struct { - _ struct{} `type:"structure"` - - // Choose the ad marker type for this output group. MediaLive will create a - // message based on the content of each SCTE-35 message, format it for that - // marker type, and insert it in the datastream. - AdMarkers []*string `locationName:"adMarkers" type:"list" enum:"RtmpAdMarkers"` - - // Authentication scheme to use when connecting with CDN - AuthenticationScheme *string `locationName:"authenticationScheme" type:"string" enum:"AuthenticationScheme"` - - // Controls behavior when content cache fills up. If remote origin server stalls - // the RTMP connection and does not accept content fast enough the 'Media Cache' - // will fill up. When the cache reaches the duration specified by cacheLength - // the cache will stop accepting new content. If set to disconnectImmediately, - // the RTMP output will force a disconnect. Clear the media cache, and reconnect - // after restartDelay seconds. If set to waitForServer, the RTMP output will - // wait up to 5 minutes to allow the origin server to begin accepting data again. - CacheFullBehavior *string `locationName:"cacheFullBehavior" type:"string" enum:"RtmpCacheFullBehavior"` - - // Cache length, in seconds, is used to calculate buffer size. - CacheLength *int64 `locationName:"cacheLength" min:"30" type:"integer"` - - // Controls the types of data that passes to onCaptionInfo outputs. If set to - // 'all' then 608 and 708 carried DTVCC data will be passed. If set to 'field1AndField2608' - // then DTVCC data will be stripped out, but 608 data from both fields will - // be passed. If set to 'field1608' then only the data carried in 608 from field - // 1 video will be passed. - CaptionData *string `locationName:"captionData" type:"string" enum:"RtmpCaptionData"` + RoleArn *string `locationName:"roleArn" type:"string"` - // Applies only when the rate control mode (in the codec settings) is CBR (constant - // bit rate). Controls whether the RTMP output stream is padded (with FILL NAL - // units) in order to achieve a constant bit rate that is truly constant. When - // there is no padding, the bandwidth varies (up to the bitrate value in the - // codec settings). We recommend that you choose Auto. - IncludeFillerNalUnits *string `locationName:"includeFillerNalUnits" type:"string" enum:"IncludeFillerNalUnits"` + State *string `locationName:"state" type:"string" enum:"ChannelState"` - // Controls the behavior of this RTMP group if input becomes unavailable.- emitOutput: - // Emit a slate until input returns.- pauseOutput: Stop transmitting data until - // input returns. This does not close the underlying RTMP connection. - InputLossAction *string `locationName:"inputLossAction" type:"string" enum:"InputLossActionForRtmpOut"` + Tags map[string]*string `locationName:"tags" type:"map"` - // If a streaming output fails, number of seconds to wait until a restart is - // initiated. A value of 0 means never restart. - RestartDelay *int64 `locationName:"restartDelay" type:"integer"` + // The properties for a private VPC Output + Vpc *VpcOutputSettingsDescription `locationName:"vpc" type:"structure"` } // String returns the string representation. @@ -28804,7 +36741,7 @@ type RtmpGroupSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RtmpGroupSettings) String() string { +func (s StartChannelOutput) String() string { return awsutil.Prettify(s) } @@ -28813,175 +36750,123 @@ func (s RtmpGroupSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RtmpGroupSettings) GoString() string { +func (s StartChannelOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *RtmpGroupSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RtmpGroupSettings"} - if s.CacheLength != nil && *s.CacheLength < 30 { - invalidParams.Add(request.NewErrParamMinValue("CacheLength", 30)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetArn sets the Arn field's value. +func (s *StartChannelOutput) SetArn(v string) *StartChannelOutput { + s.Arn = &v + return s } -// SetAdMarkers sets the AdMarkers field's value. -func (s *RtmpGroupSettings) SetAdMarkers(v []*string) *RtmpGroupSettings { - s.AdMarkers = v +// SetCdiInputSpecification sets the CdiInputSpecification field's value. +func (s *StartChannelOutput) SetCdiInputSpecification(v *CdiInputSpecification) *StartChannelOutput { + s.CdiInputSpecification = v return s } -// SetAuthenticationScheme sets the AuthenticationScheme field's value. -func (s *RtmpGroupSettings) SetAuthenticationScheme(v string) *RtmpGroupSettings { - s.AuthenticationScheme = &v +// SetChannelClass sets the ChannelClass field's value. +func (s *StartChannelOutput) SetChannelClass(v string) *StartChannelOutput { + s.ChannelClass = &v return s } -// SetCacheFullBehavior sets the CacheFullBehavior field's value. -func (s *RtmpGroupSettings) SetCacheFullBehavior(v string) *RtmpGroupSettings { - s.CacheFullBehavior = &v +// SetDestinations sets the Destinations field's value. +func (s *StartChannelOutput) SetDestinations(v []*OutputDestination) *StartChannelOutput { + s.Destinations = v return s } -// SetCacheLength sets the CacheLength field's value. -func (s *RtmpGroupSettings) SetCacheLength(v int64) *RtmpGroupSettings { - s.CacheLength = &v +// SetEgressEndpoints sets the EgressEndpoints field's value. +func (s *StartChannelOutput) SetEgressEndpoints(v []*ChannelEgressEndpoint) *StartChannelOutput { + s.EgressEndpoints = v return s } -// SetCaptionData sets the CaptionData field's value. -func (s *RtmpGroupSettings) SetCaptionData(v string) *RtmpGroupSettings { - s.CaptionData = &v +// SetEncoderSettings sets the EncoderSettings field's value. +func (s *StartChannelOutput) SetEncoderSettings(v *EncoderSettings) *StartChannelOutput { + s.EncoderSettings = v return s } -// SetIncludeFillerNalUnits sets the IncludeFillerNalUnits field's value. -func (s *RtmpGroupSettings) SetIncludeFillerNalUnits(v string) *RtmpGroupSettings { - s.IncludeFillerNalUnits = &v +// SetId sets the Id field's value. +func (s *StartChannelOutput) SetId(v string) *StartChannelOutput { + s.Id = &v return s } -// SetInputLossAction sets the InputLossAction field's value. -func (s *RtmpGroupSettings) SetInputLossAction(v string) *RtmpGroupSettings { - s.InputLossAction = &v +// SetInputAttachments sets the InputAttachments field's value. +func (s *StartChannelOutput) SetInputAttachments(v []*InputAttachment) *StartChannelOutput { + s.InputAttachments = v return s } -// SetRestartDelay sets the RestartDelay field's value. -func (s *RtmpGroupSettings) SetRestartDelay(v int64) *RtmpGroupSettings { - s.RestartDelay = &v +// SetInputSpecification sets the InputSpecification field's value. +func (s *StartChannelOutput) SetInputSpecification(v *InputSpecification) *StartChannelOutput { + s.InputSpecification = v return s } -// Rtmp Output Settings -type RtmpOutputSettings struct { - _ struct{} `type:"structure"` - - // If set to verifyAuthenticity, verify the tls certificate chain to a trusted - // Certificate Authority (CA). This will cause rtmps outputs with self-signed - // certificates to fail. - CertificateMode *string `locationName:"certificateMode" type:"string" enum:"RtmpOutputCertificateMode"` - - // Number of seconds to wait before retrying a connection to the Flash Media - // server if the connection is lost. - ConnectionRetryInterval *int64 `locationName:"connectionRetryInterval" min:"1" type:"integer"` - - // The RTMP endpoint excluding the stream name (eg. rtmp://host/appname). For - // connection to Akamai, a username and password must be supplied. URI fields - // accept format identifiers. - // - // Destination is a required field - Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` - - // Number of retry attempts. - NumRetries *int64 `locationName:"numRetries" type:"integer"` +// SetLogLevel sets the LogLevel field's value. +func (s *StartChannelOutput) SetLogLevel(v string) *StartChannelOutput { + s.LogLevel = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s RtmpOutputSettings) String() string { - return awsutil.Prettify(s) +// SetMaintenance sets the Maintenance field's value. +func (s *StartChannelOutput) SetMaintenance(v *MaintenanceStatus) *StartChannelOutput { + s.Maintenance = v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s RtmpOutputSettings) GoString() string { - return s.String() +// SetName sets the Name field's value. +func (s *StartChannelOutput) SetName(v string) *StartChannelOutput { + s.Name = &v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *RtmpOutputSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RtmpOutputSettings"} - if s.ConnectionRetryInterval != nil && *s.ConnectionRetryInterval < 1 { - invalidParams.Add(request.NewErrParamMinValue("ConnectionRetryInterval", 1)) - } - if s.Destination == nil { - invalidParams.Add(request.NewErrParamRequired("Destination")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetPipelineDetails sets the PipelineDetails field's value. +func (s *StartChannelOutput) SetPipelineDetails(v []*PipelineDetail) *StartChannelOutput { + s.PipelineDetails = v + return s } -// SetCertificateMode sets the CertificateMode field's value. -func (s *RtmpOutputSettings) SetCertificateMode(v string) *RtmpOutputSettings { - s.CertificateMode = &v +// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. +func (s *StartChannelOutput) SetPipelinesRunningCount(v int64) *StartChannelOutput { + s.PipelinesRunningCount = &v return s } -// SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. -func (s *RtmpOutputSettings) SetConnectionRetryInterval(v int64) *RtmpOutputSettings { - s.ConnectionRetryInterval = &v +// SetRoleArn sets the RoleArn field's value. +func (s *StartChannelOutput) SetRoleArn(v string) *StartChannelOutput { + s.RoleArn = &v return s } -// SetDestination sets the Destination field's value. -func (s *RtmpOutputSettings) SetDestination(v *OutputLocationRef) *RtmpOutputSettings { - s.Destination = v +// SetState sets the State field's value. +func (s *StartChannelOutput) SetState(v string) *StartChannelOutput { + s.State = &v return s } -// SetNumRetries sets the NumRetries field's value. -func (s *RtmpOutputSettings) SetNumRetries(v int64) *RtmpOutputSettings { - s.NumRetries = &v +// SetTags sets the Tags field's value. +func (s *StartChannelOutput) SetTags(v map[string]*string) *StartChannelOutput { + s.Tags = v return s } -// Contains information on a single schedule action. -type ScheduleAction struct { - _ struct{} `type:"structure"` - - // The name of the action, must be unique within the schedule. This name provides - // the main reference to an action once it is added to the schedule. A name - // is unique if it is no longer in the schedule. The schedule is automatically - // cleaned up to remove actions with a start time of more than 1 hour ago (approximately) - // so at that point a name can be reused. - // - // ActionName is a required field - ActionName *string `locationName:"actionName" type:"string" required:"true"` +// SetVpc sets the Vpc field's value. +func (s *StartChannelOutput) SetVpc(v *VpcOutputSettingsDescription) *StartChannelOutput { + s.Vpc = v + return s +} - // Settings for this schedule action. - // - // ScheduleActionSettings is a required field - ScheduleActionSettings *ScheduleActionSettings `locationName:"scheduleActionSettings" type:"structure" required:"true"` +type StartDeleteMonitorDeploymentInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // The time for the action to start in the channel. - // - // ScheduleActionStartSettings is a required field - ScheduleActionStartSettings *ScheduleActionStartSettings `locationName:"scheduleActionStartSettings" type:"structure" required:"true"` + // Identifier is a required field + Identifier *string `location:"uri" locationName:"identifier" type:"string" required:"true"` } // String returns the string representation. @@ -28989,7 +36874,7 @@ type ScheduleAction struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ScheduleAction) String() string { +func (s StartDeleteMonitorDeploymentInput) String() string { return awsutil.Prettify(s) } @@ -28998,31 +36883,18 @@ func (s ScheduleAction) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ScheduleAction) GoString() string { +func (s StartDeleteMonitorDeploymentInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ScheduleAction) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ScheduleAction"} - if s.ActionName == nil { - invalidParams.Add(request.NewErrParamRequired("ActionName")) - } - if s.ScheduleActionSettings == nil { - invalidParams.Add(request.NewErrParamRequired("ScheduleActionSettings")) - } - if s.ScheduleActionStartSettings == nil { - invalidParams.Add(request.NewErrParamRequired("ScheduleActionStartSettings")) - } - if s.ScheduleActionSettings != nil { - if err := s.ScheduleActionSettings.Validate(); err != nil { - invalidParams.AddNested("ScheduleActionSettings", err.(request.ErrInvalidParams)) - } +func (s *StartDeleteMonitorDeploymentInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartDeleteMonitorDeploymentInput"} + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) } - if s.ScheduleActionStartSettings != nil { - if err := s.ScheduleActionStartSettings.Validate(); err != nil { - invalidParams.AddNested("ScheduleActionStartSettings", err.(request.ErrInvalidParams)) - } + if s.Identifier != nil && len(*s.Identifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) } if invalidParams.Len() > 0 { @@ -29031,72 +36903,57 @@ func (s *ScheduleAction) Validate() error { return nil } -// SetActionName sets the ActionName field's value. -func (s *ScheduleAction) SetActionName(v string) *ScheduleAction { - s.ActionName = &v +// SetIdentifier sets the Identifier field's value. +func (s *StartDeleteMonitorDeploymentInput) SetIdentifier(v string) *StartDeleteMonitorDeploymentInput { + s.Identifier = &v return s } -// SetScheduleActionSettings sets the ScheduleActionSettings field's value. -func (s *ScheduleAction) SetScheduleActionSettings(v *ScheduleActionSettings) *ScheduleAction { - s.ScheduleActionSettings = v - return s -} +type StartDeleteMonitorDeploymentOutput struct { + _ struct{} `type:"structure"` -// SetScheduleActionStartSettings sets the ScheduleActionStartSettings field's value. -func (s *ScheduleAction) SetScheduleActionStartSettings(v *ScheduleActionStartSettings) *ScheduleAction { - s.ScheduleActionStartSettings = v - return s -} + Arn *string `locationName:"arn" type:"string"` -// Holds the settings for a single schedule action. -type ScheduleActionSettings struct { - _ struct{} `type:"structure"` + CloudWatchAlarmTemplateGroupIds []*string `locationName:"cloudWatchAlarmTemplateGroupIds" type:"list"` - // Action to insert HLS ID3 segment tagging - HlsId3SegmentTaggingSettings *HlsId3SegmentTaggingScheduleActionSettings `locationName:"hlsId3SegmentTaggingSettings" type:"structure"` + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` - // Action to insert HLS metadata - HlsTimedMetadataSettings *HlsTimedMetadataScheduleActionSettings `locationName:"hlsTimedMetadataSettings" type:"structure"` + Description *string `locationName:"description" type:"string"` - // Action to prepare an input for a future immediate input switch - InputPrepareSettings *InputPrepareScheduleActionSettings `locationName:"inputPrepareSettings" type:"structure"` + DiscoveryEntryPointArn *string `locationName:"discoveryEntryPointArn" min:"1" type:"string"` - // Action to switch the input - InputSwitchSettings *InputSwitchScheduleActionSettings `locationName:"inputSwitchSettings" type:"structure"` + ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string"` - // Action to activate a motion graphics image overlay - MotionGraphicsImageActivateSettings *MotionGraphicsActivateScheduleActionSettings `locationName:"motionGraphicsImageActivateSettings" type:"structure"` + EventBridgeRuleTemplateGroupIds []*string `locationName:"eventBridgeRuleTemplateGroupIds" type:"list"` - // Action to deactivate a motion graphics image overlay - MotionGraphicsImageDeactivateSettings *MotionGraphicsDeactivateScheduleActionSettings `locationName:"motionGraphicsImageDeactivateSettings" type:"structure"` + // A map representing an incomplete AWS media workflow as a graph. + FailedMediaResourceMap map[string]*MediaResource `locationName:"failedMediaResourceMap" type:"map"` - // Action to pause or unpause one or both channel pipelines - PauseStateSettings *PauseStateScheduleActionSettings `locationName:"pauseStateSettings" type:"structure"` + Id *string `locationName:"id" min:"7" type:"string"` - // Action to specify scte35 input - Scte35InputSettings *Scte35InputScheduleActionSettings `locationName:"scte35InputSettings" type:"structure"` + LastDiscoveredAt *time.Time `locationName:"lastDiscoveredAt" type:"timestamp" timestampFormat:"iso8601"` - // Action to insert SCTE-35 return_to_network message - Scte35ReturnToNetworkSettings *Scte35ReturnToNetworkScheduleActionSettings `locationName:"scte35ReturnToNetworkSettings" type:"structure"` + // Represents the latest successful monitor deployment of a signal map. + LastSuccessfulMonitorDeployment *SuccessfulMonitorDeployment `locationName:"lastSuccessfulMonitorDeployment" type:"structure"` - // Action to insert SCTE-35 splice_insert message - Scte35SpliceInsertSettings *Scte35SpliceInsertScheduleActionSettings `locationName:"scte35SpliceInsertSettings" type:"structure"` + // A map representing an AWS media workflow as a graph. + MediaResourceMap map[string]*MediaResource `locationName:"mediaResourceMap" type:"map"` - // Action to insert SCTE-35 time_signal message - Scte35TimeSignalSettings *Scte35TimeSignalScheduleActionSettings `locationName:"scte35TimeSignalSettings" type:"structure"` + ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp" timestampFormat:"iso8601"` - // Action to activate a static image overlay - StaticImageActivateSettings *StaticImageActivateScheduleActionSettings `locationName:"staticImageActivateSettings" type:"structure"` + MonitorChangesPendingDeployment *bool `locationName:"monitorChangesPendingDeployment" type:"boolean"` - // Action to deactivate a static image overlay - StaticImageDeactivateSettings *StaticImageDeactivateScheduleActionSettings `locationName:"staticImageDeactivateSettings" type:"structure"` + // Represents the latest monitor deployment of a signal map. + MonitorDeployment *MonitorDeployment `locationName:"monitorDeployment" type:"structure"` - // Action to activate a static image overlay in one or more specified outputs - StaticImageOutputActivateSettings *StaticImageOutputActivateScheduleActionSettings `locationName:"staticImageOutputActivateSettings" type:"structure"` + Name *string `locationName:"name" min:"1" type:"string"` - // Action to deactivate a static image overlay in one or more specified outputs - StaticImageOutputDeactivateSettings *StaticImageOutputDeactivateScheduleActionSettings `locationName:"staticImageOutputDeactivateSettings" type:"structure"` + // A signal map's current status which is dependent on its lifecycle actions + // or associated jobs. + Status *string `locationName:"status" type:"string" enum:"SignalMapStatus"` + + // Represents the tags associated with a resource. + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -29104,7 +36961,7 @@ type ScheduleActionSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ScheduleActionSettings) String() string { +func (s StartDeleteMonitorDeploymentOutput) String() string { return awsutil.Prettify(s) } @@ -29113,178 +36970,123 @@ func (s ScheduleActionSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ScheduleActionSettings) GoString() string { +func (s StartDeleteMonitorDeploymentOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ScheduleActionSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ScheduleActionSettings"} - if s.HlsTimedMetadataSettings != nil { - if err := s.HlsTimedMetadataSettings.Validate(); err != nil { - invalidParams.AddNested("HlsTimedMetadataSettings", err.(request.ErrInvalidParams)) - } - } - if s.InputPrepareSettings != nil { - if err := s.InputPrepareSettings.Validate(); err != nil { - invalidParams.AddNested("InputPrepareSettings", err.(request.ErrInvalidParams)) - } - } - if s.InputSwitchSettings != nil { - if err := s.InputSwitchSettings.Validate(); err != nil { - invalidParams.AddNested("InputSwitchSettings", err.(request.ErrInvalidParams)) - } - } - if s.PauseStateSettings != nil { - if err := s.PauseStateSettings.Validate(); err != nil { - invalidParams.AddNested("PauseStateSettings", err.(request.ErrInvalidParams)) - } - } - if s.Scte35InputSettings != nil { - if err := s.Scte35InputSettings.Validate(); err != nil { - invalidParams.AddNested("Scte35InputSettings", err.(request.ErrInvalidParams)) - } - } - if s.Scte35ReturnToNetworkSettings != nil { - if err := s.Scte35ReturnToNetworkSettings.Validate(); err != nil { - invalidParams.AddNested("Scte35ReturnToNetworkSettings", err.(request.ErrInvalidParams)) - } - } - if s.Scte35SpliceInsertSettings != nil { - if err := s.Scte35SpliceInsertSettings.Validate(); err != nil { - invalidParams.AddNested("Scte35SpliceInsertSettings", err.(request.ErrInvalidParams)) - } - } - if s.Scte35TimeSignalSettings != nil { - if err := s.Scte35TimeSignalSettings.Validate(); err != nil { - invalidParams.AddNested("Scte35TimeSignalSettings", err.(request.ErrInvalidParams)) - } - } - if s.StaticImageActivateSettings != nil { - if err := s.StaticImageActivateSettings.Validate(); err != nil { - invalidParams.AddNested("StaticImageActivateSettings", err.(request.ErrInvalidParams)) - } - } - if s.StaticImageOutputActivateSettings != nil { - if err := s.StaticImageOutputActivateSettings.Validate(); err != nil { - invalidParams.AddNested("StaticImageOutputActivateSettings", err.(request.ErrInvalidParams)) - } - } - if s.StaticImageOutputDeactivateSettings != nil { - if err := s.StaticImageOutputDeactivateSettings.Validate(); err != nil { - invalidParams.AddNested("StaticImageOutputDeactivateSettings", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetArn sets the Arn field's value. +func (s *StartDeleteMonitorDeploymentOutput) SetArn(v string) *StartDeleteMonitorDeploymentOutput { + s.Arn = &v + return s } -// SetHlsId3SegmentTaggingSettings sets the HlsId3SegmentTaggingSettings field's value. -func (s *ScheduleActionSettings) SetHlsId3SegmentTaggingSettings(v *HlsId3SegmentTaggingScheduleActionSettings) *ScheduleActionSettings { - s.HlsId3SegmentTaggingSettings = v +// SetCloudWatchAlarmTemplateGroupIds sets the CloudWatchAlarmTemplateGroupIds field's value. +func (s *StartDeleteMonitorDeploymentOutput) SetCloudWatchAlarmTemplateGroupIds(v []*string) *StartDeleteMonitorDeploymentOutput { + s.CloudWatchAlarmTemplateGroupIds = v return s } -// SetHlsTimedMetadataSettings sets the HlsTimedMetadataSettings field's value. -func (s *ScheduleActionSettings) SetHlsTimedMetadataSettings(v *HlsTimedMetadataScheduleActionSettings) *ScheduleActionSettings { - s.HlsTimedMetadataSettings = v +// SetCreatedAt sets the CreatedAt field's value. +func (s *StartDeleteMonitorDeploymentOutput) SetCreatedAt(v time.Time) *StartDeleteMonitorDeploymentOutput { + s.CreatedAt = &v return s } -// SetInputPrepareSettings sets the InputPrepareSettings field's value. -func (s *ScheduleActionSettings) SetInputPrepareSettings(v *InputPrepareScheduleActionSettings) *ScheduleActionSettings { - s.InputPrepareSettings = v +// SetDescription sets the Description field's value. +func (s *StartDeleteMonitorDeploymentOutput) SetDescription(v string) *StartDeleteMonitorDeploymentOutput { + s.Description = &v return s } -// SetInputSwitchSettings sets the InputSwitchSettings field's value. -func (s *ScheduleActionSettings) SetInputSwitchSettings(v *InputSwitchScheduleActionSettings) *ScheduleActionSettings { - s.InputSwitchSettings = v +// SetDiscoveryEntryPointArn sets the DiscoveryEntryPointArn field's value. +func (s *StartDeleteMonitorDeploymentOutput) SetDiscoveryEntryPointArn(v string) *StartDeleteMonitorDeploymentOutput { + s.DiscoveryEntryPointArn = &v return s } -// SetMotionGraphicsImageActivateSettings sets the MotionGraphicsImageActivateSettings field's value. -func (s *ScheduleActionSettings) SetMotionGraphicsImageActivateSettings(v *MotionGraphicsActivateScheduleActionSettings) *ScheduleActionSettings { - s.MotionGraphicsImageActivateSettings = v +// SetErrorMessage sets the ErrorMessage field's value. +func (s *StartDeleteMonitorDeploymentOutput) SetErrorMessage(v string) *StartDeleteMonitorDeploymentOutput { + s.ErrorMessage = &v return s } -// SetMotionGraphicsImageDeactivateSettings sets the MotionGraphicsImageDeactivateSettings field's value. -func (s *ScheduleActionSettings) SetMotionGraphicsImageDeactivateSettings(v *MotionGraphicsDeactivateScheduleActionSettings) *ScheduleActionSettings { - s.MotionGraphicsImageDeactivateSettings = v +// SetEventBridgeRuleTemplateGroupIds sets the EventBridgeRuleTemplateGroupIds field's value. +func (s *StartDeleteMonitorDeploymentOutput) SetEventBridgeRuleTemplateGroupIds(v []*string) *StartDeleteMonitorDeploymentOutput { + s.EventBridgeRuleTemplateGroupIds = v return s } -// SetPauseStateSettings sets the PauseStateSettings field's value. -func (s *ScheduleActionSettings) SetPauseStateSettings(v *PauseStateScheduleActionSettings) *ScheduleActionSettings { - s.PauseStateSettings = v +// SetFailedMediaResourceMap sets the FailedMediaResourceMap field's value. +func (s *StartDeleteMonitorDeploymentOutput) SetFailedMediaResourceMap(v map[string]*MediaResource) *StartDeleteMonitorDeploymentOutput { + s.FailedMediaResourceMap = v return s } -// SetScte35InputSettings sets the Scte35InputSettings field's value. -func (s *ScheduleActionSettings) SetScte35InputSettings(v *Scte35InputScheduleActionSettings) *ScheduleActionSettings { - s.Scte35InputSettings = v +// SetId sets the Id field's value. +func (s *StartDeleteMonitorDeploymentOutput) SetId(v string) *StartDeleteMonitorDeploymentOutput { + s.Id = &v return s } -// SetScte35ReturnToNetworkSettings sets the Scte35ReturnToNetworkSettings field's value. -func (s *ScheduleActionSettings) SetScte35ReturnToNetworkSettings(v *Scte35ReturnToNetworkScheduleActionSettings) *ScheduleActionSettings { - s.Scte35ReturnToNetworkSettings = v +// SetLastDiscoveredAt sets the LastDiscoveredAt field's value. +func (s *StartDeleteMonitorDeploymentOutput) SetLastDiscoveredAt(v time.Time) *StartDeleteMonitorDeploymentOutput { + s.LastDiscoveredAt = &v return s } -// SetScte35SpliceInsertSettings sets the Scte35SpliceInsertSettings field's value. -func (s *ScheduleActionSettings) SetScte35SpliceInsertSettings(v *Scte35SpliceInsertScheduleActionSettings) *ScheduleActionSettings { - s.Scte35SpliceInsertSettings = v +// SetLastSuccessfulMonitorDeployment sets the LastSuccessfulMonitorDeployment field's value. +func (s *StartDeleteMonitorDeploymentOutput) SetLastSuccessfulMonitorDeployment(v *SuccessfulMonitorDeployment) *StartDeleteMonitorDeploymentOutput { + s.LastSuccessfulMonitorDeployment = v return s } -// SetScte35TimeSignalSettings sets the Scte35TimeSignalSettings field's value. -func (s *ScheduleActionSettings) SetScte35TimeSignalSettings(v *Scte35TimeSignalScheduleActionSettings) *ScheduleActionSettings { - s.Scte35TimeSignalSettings = v +// SetMediaResourceMap sets the MediaResourceMap field's value. +func (s *StartDeleteMonitorDeploymentOutput) SetMediaResourceMap(v map[string]*MediaResource) *StartDeleteMonitorDeploymentOutput { + s.MediaResourceMap = v return s } -// SetStaticImageActivateSettings sets the StaticImageActivateSettings field's value. -func (s *ScheduleActionSettings) SetStaticImageActivateSettings(v *StaticImageActivateScheduleActionSettings) *ScheduleActionSettings { - s.StaticImageActivateSettings = v +// SetModifiedAt sets the ModifiedAt field's value. +func (s *StartDeleteMonitorDeploymentOutput) SetModifiedAt(v time.Time) *StartDeleteMonitorDeploymentOutput { + s.ModifiedAt = &v return s } -// SetStaticImageDeactivateSettings sets the StaticImageDeactivateSettings field's value. -func (s *ScheduleActionSettings) SetStaticImageDeactivateSettings(v *StaticImageDeactivateScheduleActionSettings) *ScheduleActionSettings { - s.StaticImageDeactivateSettings = v +// SetMonitorChangesPendingDeployment sets the MonitorChangesPendingDeployment field's value. +func (s *StartDeleteMonitorDeploymentOutput) SetMonitorChangesPendingDeployment(v bool) *StartDeleteMonitorDeploymentOutput { + s.MonitorChangesPendingDeployment = &v return s } -// SetStaticImageOutputActivateSettings sets the StaticImageOutputActivateSettings field's value. -func (s *ScheduleActionSettings) SetStaticImageOutputActivateSettings(v *StaticImageOutputActivateScheduleActionSettings) *ScheduleActionSettings { - s.StaticImageOutputActivateSettings = v +// SetMonitorDeployment sets the MonitorDeployment field's value. +func (s *StartDeleteMonitorDeploymentOutput) SetMonitorDeployment(v *MonitorDeployment) *StartDeleteMonitorDeploymentOutput { + s.MonitorDeployment = v return s } -// SetStaticImageOutputDeactivateSettings sets the StaticImageOutputDeactivateSettings field's value. -func (s *ScheduleActionSettings) SetStaticImageOutputDeactivateSettings(v *StaticImageOutputDeactivateScheduleActionSettings) *ScheduleActionSettings { - s.StaticImageOutputDeactivateSettings = v +// SetName sets the Name field's value. +func (s *StartDeleteMonitorDeploymentOutput) SetName(v string) *StartDeleteMonitorDeploymentOutput { + s.Name = &v return s } -// Settings to specify when an action should occur. Only one of the options -// must be selected. -type ScheduleActionStartSettings struct { - _ struct{} `type:"structure"` +// SetStatus sets the Status field's value. +func (s *StartDeleteMonitorDeploymentOutput) SetStatus(v string) *StartDeleteMonitorDeploymentOutput { + s.Status = &v + return s +} - // Option for specifying the start time for an action. - FixedModeScheduleActionStartSettings *FixedModeScheduleActionStartSettings `locationName:"fixedModeScheduleActionStartSettings" type:"structure"` +// SetTags sets the Tags field's value. +func (s *StartDeleteMonitorDeploymentOutput) SetTags(v map[string]*string) *StartDeleteMonitorDeploymentOutput { + s.Tags = v + return s +} - // Option for specifying an action as relative to another action. - FollowModeScheduleActionStartSettings *FollowModeScheduleActionStartSettings `locationName:"followModeScheduleActionStartSettings" type:"structure"` +type StartInputDeviceInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // Option for specifying an action that should be applied immediately. - ImmediateModeScheduleActionStartSettings *ImmediateModeScheduleActionStartSettings `locationName:"immediateModeScheduleActionStartSettings" type:"structure"` + // InputDeviceId is a required field + InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` } // String returns the string representation. @@ -29292,7 +37094,7 @@ type ScheduleActionStartSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ScheduleActionStartSettings) String() string { +func (s StartInputDeviceInput) String() string { return awsutil.Prettify(s) } @@ -29301,22 +37103,18 @@ func (s ScheduleActionStartSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ScheduleActionStartSettings) GoString() string { +func (s StartInputDeviceInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ScheduleActionStartSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ScheduleActionStartSettings"} - if s.FixedModeScheduleActionStartSettings != nil { - if err := s.FixedModeScheduleActionStartSettings.Validate(); err != nil { - invalidParams.AddNested("FixedModeScheduleActionStartSettings", err.(request.ErrInvalidParams)) - } +func (s *StartInputDeviceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartInputDeviceInput"} + if s.InputDeviceId == nil { + invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) } - if s.FollowModeScheduleActionStartSettings != nil { - if err := s.FollowModeScheduleActionStartSettings.Validate(); err != nil { - invalidParams.AddNested("FollowModeScheduleActionStartSettings", err.(request.ErrInvalidParams)) - } + if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) } if invalidParams.Len() > 0 { @@ -29325,26 +37123,60 @@ func (s *ScheduleActionStartSettings) Validate() error { return nil } -// SetFixedModeScheduleActionStartSettings sets the FixedModeScheduleActionStartSettings field's value. -func (s *ScheduleActionStartSettings) SetFixedModeScheduleActionStartSettings(v *FixedModeScheduleActionStartSettings) *ScheduleActionStartSettings { - s.FixedModeScheduleActionStartSettings = v +// SetInputDeviceId sets the InputDeviceId field's value. +func (s *StartInputDeviceInput) SetInputDeviceId(v string) *StartInputDeviceInput { + s.InputDeviceId = &v return s } -// SetFollowModeScheduleActionStartSettings sets the FollowModeScheduleActionStartSettings field's value. -func (s *ScheduleActionStartSettings) SetFollowModeScheduleActionStartSettings(v *FollowModeScheduleActionStartSettings) *ScheduleActionStartSettings { - s.FollowModeScheduleActionStartSettings = v - return s +type StartInputDeviceMaintenanceWindowInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // InputDeviceId is a required field + InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` } -// SetImmediateModeScheduleActionStartSettings sets the ImmediateModeScheduleActionStartSettings field's value. -func (s *ScheduleActionStartSettings) SetImmediateModeScheduleActionStartSettings(v *ImmediateModeScheduleActionStartSettings) *ScheduleActionStartSettings { - s.ImmediateModeScheduleActionStartSettings = v +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartInputDeviceMaintenanceWindowInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartInputDeviceMaintenanceWindowInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartInputDeviceMaintenanceWindowInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartInputDeviceMaintenanceWindowInput"} + if s.InputDeviceId == nil { + invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) + } + if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInputDeviceId sets the InputDeviceId field's value. +func (s *StartInputDeviceMaintenanceWindowInput) SetInputDeviceId(v string) *StartInputDeviceMaintenanceWindowInput { + s.InputDeviceId = &v return s } -// Scte20 Plus Embedded Destination Settings -type Scte20PlusEmbeddedDestinationSettings struct { +type StartInputDeviceMaintenanceWindowOutput struct { _ struct{} `type:"structure"` } @@ -29353,7 +37185,7 @@ type Scte20PlusEmbeddedDestinationSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Scte20PlusEmbeddedDestinationSettings) String() string { +func (s StartInputDeviceMaintenanceWindowOutput) String() string { return awsutil.Prettify(s) } @@ -29362,22 +37194,39 @@ func (s Scte20PlusEmbeddedDestinationSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Scte20PlusEmbeddedDestinationSettings) GoString() string { +func (s StartInputDeviceMaintenanceWindowOutput) GoString() string { + return s.String() +} + +type StartInputDeviceOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartInputDeviceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartInputDeviceOutput) GoString() string { return s.String() } -// Scte20 Source Settings -type Scte20SourceSettings struct { +type StartMonitorDeploymentInput struct { _ struct{} `type:"structure"` - // If upconvert, 608 data is both passed through via the "608 compatibility - // bytes" fields of the 708 wrapper as well as translated into 708. 708 data - // present in the source content will be discarded. - Convert608To708 *string `locationName:"convert608To708" type:"string" enum:"Scte20Convert608To708"` + DryRun *bool `locationName:"dryRun" type:"boolean"` - // Specifies the 608/708 channel number within the video track from which to - // extract captions. Unused for passthrough. - Source608ChannelNumber *int64 `locationName:"source608ChannelNumber" min:"1" type:"integer"` + // Identifier is a required field + Identifier *string `location:"uri" locationName:"identifier" type:"string" required:"true"` } // String returns the string representation. @@ -29385,7 +37234,7 @@ type Scte20SourceSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Scte20SourceSettings) String() string { +func (s StartMonitorDeploymentInput) String() string { return awsutil.Prettify(s) } @@ -29394,15 +37243,18 @@ func (s Scte20SourceSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Scte20SourceSettings) GoString() string { +func (s StartMonitorDeploymentInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *Scte20SourceSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "Scte20SourceSettings"} - if s.Source608ChannelNumber != nil && *s.Source608ChannelNumber < 1 { - invalidParams.Add(request.NewErrParamMinValue("Source608ChannelNumber", 1)) +func (s *StartMonitorDeploymentInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartMonitorDeploymentInput"} + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) + } + if s.Identifier != nil && len(*s.Identifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) } if invalidParams.Len() > 0 { @@ -29411,21 +37263,63 @@ func (s *Scte20SourceSettings) Validate() error { return nil } -// SetConvert608To708 sets the Convert608To708 field's value. -func (s *Scte20SourceSettings) SetConvert608To708(v string) *Scte20SourceSettings { - s.Convert608To708 = &v +// SetDryRun sets the DryRun field's value. +func (s *StartMonitorDeploymentInput) SetDryRun(v bool) *StartMonitorDeploymentInput { + s.DryRun = &v return s } -// SetSource608ChannelNumber sets the Source608ChannelNumber field's value. -func (s *Scte20SourceSettings) SetSource608ChannelNumber(v int64) *Scte20SourceSettings { - s.Source608ChannelNumber = &v +// SetIdentifier sets the Identifier field's value. +func (s *StartMonitorDeploymentInput) SetIdentifier(v string) *StartMonitorDeploymentInput { + s.Identifier = &v return s } -// Scte27 Destination Settings -type Scte27DestinationSettings struct { +type StartMonitorDeploymentOutput struct { _ struct{} `type:"structure"` + + Arn *string `locationName:"arn" type:"string"` + + CloudWatchAlarmTemplateGroupIds []*string `locationName:"cloudWatchAlarmTemplateGroupIds" type:"list"` + + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` + + Description *string `locationName:"description" type:"string"` + + DiscoveryEntryPointArn *string `locationName:"discoveryEntryPointArn" min:"1" type:"string"` + + ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string"` + + EventBridgeRuleTemplateGroupIds []*string `locationName:"eventBridgeRuleTemplateGroupIds" type:"list"` + + // A map representing an incomplete AWS media workflow as a graph. + FailedMediaResourceMap map[string]*MediaResource `locationName:"failedMediaResourceMap" type:"map"` + + Id *string `locationName:"id" min:"7" type:"string"` + + LastDiscoveredAt *time.Time `locationName:"lastDiscoveredAt" type:"timestamp" timestampFormat:"iso8601"` + + // Represents the latest successful monitor deployment of a signal map. + LastSuccessfulMonitorDeployment *SuccessfulMonitorDeployment `locationName:"lastSuccessfulMonitorDeployment" type:"structure"` + + // A map representing an AWS media workflow as a graph. + MediaResourceMap map[string]*MediaResource `locationName:"mediaResourceMap" type:"map"` + + ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp" timestampFormat:"iso8601"` + + MonitorChangesPendingDeployment *bool `locationName:"monitorChangesPendingDeployment" type:"boolean"` + + // Represents the latest monitor deployment of a signal map. + MonitorDeployment *MonitorDeployment `locationName:"monitorDeployment" type:"structure"` + + Name *string `locationName:"name" min:"1" type:"string"` + + // A signal map's current status which is dependent on its lifecycle actions + // or associated jobs. + Status *string `locationName:"status" type:"string" enum:"SignalMapStatus"` + + // Represents the tags associated with a resource. + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -29433,7 +37327,7 @@ type Scte27DestinationSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Scte27DestinationSettings) String() string { +func (s StartMonitorDeploymentOutput) String() string { return awsutil.Prettify(s) } @@ -29442,27 +37336,123 @@ func (s Scte27DestinationSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Scte27DestinationSettings) GoString() string { +func (s StartMonitorDeploymentOutput) GoString() string { return s.String() } -// Scte27 Source Settings -type Scte27SourceSettings struct { - _ struct{} `type:"structure"` +// SetArn sets the Arn field's value. +func (s *StartMonitorDeploymentOutput) SetArn(v string) *StartMonitorDeploymentOutput { + s.Arn = &v + return s +} - // If you will configure a WebVTT caption description that references this caption - // selector, use this field toprovide the language to consider when translating - // the image-based source to text. - OcrLanguage *string `locationName:"ocrLanguage" type:"string" enum:"Scte27OcrLanguage"` +// SetCloudWatchAlarmTemplateGroupIds sets the CloudWatchAlarmTemplateGroupIds field's value. +func (s *StartMonitorDeploymentOutput) SetCloudWatchAlarmTemplateGroupIds(v []*string) *StartMonitorDeploymentOutput { + s.CloudWatchAlarmTemplateGroupIds = v + return s +} - // The pid field is used in conjunction with the caption selector languageCode - // field as follows: - Specify PID and Language: Extracts captions from that - // PID; the language is "informational". - Specify PID and omit Language: Extracts - // the specified PID. - Omit PID and specify Language: Extracts the specified - // language, whichever PID that happens to be. - Omit PID and omit Language: - // Valid only if source is DVB-Sub that is being passed through; all languages - // will be passed through. - Pid *int64 `locationName:"pid" min:"1" type:"integer"` +// SetCreatedAt sets the CreatedAt field's value. +func (s *StartMonitorDeploymentOutput) SetCreatedAt(v time.Time) *StartMonitorDeploymentOutput { + s.CreatedAt = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *StartMonitorDeploymentOutput) SetDescription(v string) *StartMonitorDeploymentOutput { + s.Description = &v + return s +} + +// SetDiscoveryEntryPointArn sets the DiscoveryEntryPointArn field's value. +func (s *StartMonitorDeploymentOutput) SetDiscoveryEntryPointArn(v string) *StartMonitorDeploymentOutput { + s.DiscoveryEntryPointArn = &v + return s +} + +// SetErrorMessage sets the ErrorMessage field's value. +func (s *StartMonitorDeploymentOutput) SetErrorMessage(v string) *StartMonitorDeploymentOutput { + s.ErrorMessage = &v + return s +} + +// SetEventBridgeRuleTemplateGroupIds sets the EventBridgeRuleTemplateGroupIds field's value. +func (s *StartMonitorDeploymentOutput) SetEventBridgeRuleTemplateGroupIds(v []*string) *StartMonitorDeploymentOutput { + s.EventBridgeRuleTemplateGroupIds = v + return s +} + +// SetFailedMediaResourceMap sets the FailedMediaResourceMap field's value. +func (s *StartMonitorDeploymentOutput) SetFailedMediaResourceMap(v map[string]*MediaResource) *StartMonitorDeploymentOutput { + s.FailedMediaResourceMap = v + return s +} + +// SetId sets the Id field's value. +func (s *StartMonitorDeploymentOutput) SetId(v string) *StartMonitorDeploymentOutput { + s.Id = &v + return s +} + +// SetLastDiscoveredAt sets the LastDiscoveredAt field's value. +func (s *StartMonitorDeploymentOutput) SetLastDiscoveredAt(v time.Time) *StartMonitorDeploymentOutput { + s.LastDiscoveredAt = &v + return s +} + +// SetLastSuccessfulMonitorDeployment sets the LastSuccessfulMonitorDeployment field's value. +func (s *StartMonitorDeploymentOutput) SetLastSuccessfulMonitorDeployment(v *SuccessfulMonitorDeployment) *StartMonitorDeploymentOutput { + s.LastSuccessfulMonitorDeployment = v + return s +} + +// SetMediaResourceMap sets the MediaResourceMap field's value. +func (s *StartMonitorDeploymentOutput) SetMediaResourceMap(v map[string]*MediaResource) *StartMonitorDeploymentOutput { + s.MediaResourceMap = v + return s +} + +// SetModifiedAt sets the ModifiedAt field's value. +func (s *StartMonitorDeploymentOutput) SetModifiedAt(v time.Time) *StartMonitorDeploymentOutput { + s.ModifiedAt = &v + return s +} + +// SetMonitorChangesPendingDeployment sets the MonitorChangesPendingDeployment field's value. +func (s *StartMonitorDeploymentOutput) SetMonitorChangesPendingDeployment(v bool) *StartMonitorDeploymentOutput { + s.MonitorChangesPendingDeployment = &v + return s +} + +// SetMonitorDeployment sets the MonitorDeployment field's value. +func (s *StartMonitorDeploymentOutput) SetMonitorDeployment(v *MonitorDeployment) *StartMonitorDeploymentOutput { + s.MonitorDeployment = v + return s +} + +// SetName sets the Name field's value. +func (s *StartMonitorDeploymentOutput) SetName(v string) *StartMonitorDeploymentOutput { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *StartMonitorDeploymentOutput) SetStatus(v string) *StartMonitorDeploymentOutput { + s.Status = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *StartMonitorDeploymentOutput) SetTags(v map[string]*string) *StartMonitorDeploymentOutput { + s.Tags = v + return s +} + +type StartMultiplexInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // MultiplexId is a required field + MultiplexId *string `location:"uri" locationName:"multiplexId" type:"string" required:"true"` } // String returns the string representation. @@ -29470,7 +37460,7 @@ type Scte27SourceSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Scte27SourceSettings) String() string { +func (s StartMultiplexInput) String() string { return awsutil.Prettify(s) } @@ -29479,15 +37469,18 @@ func (s Scte27SourceSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Scte27SourceSettings) GoString() string { +func (s StartMultiplexInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *Scte27SourceSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "Scte27SourceSettings"} - if s.Pid != nil && *s.Pid < 1 { - invalidParams.Add(request.NewErrParamMinValue("Pid", 1)) +func (s *StartMultiplexInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartMultiplexInput"} + if s.MultiplexId == nil { + invalidParams.Add(request.NewErrParamRequired("MultiplexId")) + } + if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) } if invalidParams.Len() > 0 { @@ -29496,43 +37489,36 @@ func (s *Scte27SourceSettings) Validate() error { return nil } -// SetOcrLanguage sets the OcrLanguage field's value. -func (s *Scte27SourceSettings) SetOcrLanguage(v string) *Scte27SourceSettings { - s.OcrLanguage = &v - return s -} - -// SetPid sets the Pid field's value. -func (s *Scte27SourceSettings) SetPid(v int64) *Scte27SourceSettings { - s.Pid = &v +// SetMultiplexId sets the MultiplexId field's value. +func (s *StartMultiplexInput) SetMultiplexId(v string) *StartMultiplexInput { + s.MultiplexId = &v return s } -// Corresponds to SCTE-35 delivery_not_restricted_flag parameter. To declare -// delivery restrictions, include this element and its four "restriction" flags. -// To declare that there are no restrictions, omit this element. -type Scte35DeliveryRestrictions struct { +type StartMultiplexOutput struct { _ struct{} `type:"structure"` - // Corresponds to SCTE-35 archive_allowed_flag. - // - // ArchiveAllowedFlag is a required field - ArchiveAllowedFlag *string `locationName:"archiveAllowedFlag" type:"string" required:"true" enum:"Scte35ArchiveAllowedFlag"` + Arn *string `locationName:"arn" type:"string"` - // Corresponds to SCTE-35 device_restrictions parameter. - // - // DeviceRestrictions is a required field - DeviceRestrictions *string `locationName:"deviceRestrictions" type:"string" required:"true" enum:"Scte35DeviceRestrictions"` + AvailabilityZones []*string `locationName:"availabilityZones" type:"list"` - // Corresponds to SCTE-35 no_regional_blackout_flag parameter. - // - // NoRegionalBlackoutFlag is a required field - NoRegionalBlackoutFlag *string `locationName:"noRegionalBlackoutFlag" type:"string" required:"true" enum:"Scte35NoRegionalBlackoutFlag"` + Destinations []*MultiplexOutputDestination `locationName:"destinations" type:"list"` - // Corresponds to SCTE-35 web_delivery_allowed_flag parameter. - // - // WebDeliveryAllowedFlag is a required field - WebDeliveryAllowedFlag *string `locationName:"webDeliveryAllowedFlag" type:"string" required:"true" enum:"Scte35WebDeliveryAllowedFlag"` + Id *string `locationName:"id" type:"string"` + + // Contains configuration for a Multiplex event + MultiplexSettings *MultiplexSettings `locationName:"multiplexSettings" type:"structure"` + + Name *string `locationName:"name" type:"string"` + + PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` + + ProgramCount *int64 `locationName:"programCount" type:"integer"` + + // The current state of the multiplex. + State *string `locationName:"state" type:"string" enum:"MultiplexState"` + + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -29540,7 +37526,7 @@ type Scte35DeliveryRestrictions struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Scte35DeliveryRestrictions) String() string { +func (s StartMultiplexOutput) String() string { return awsutil.Prettify(s) } @@ -29549,64 +37535,78 @@ func (s Scte35DeliveryRestrictions) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Scte35DeliveryRestrictions) GoString() string { +func (s StartMultiplexOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *Scte35DeliveryRestrictions) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "Scte35DeliveryRestrictions"} - if s.ArchiveAllowedFlag == nil { - invalidParams.Add(request.NewErrParamRequired("ArchiveAllowedFlag")) - } - if s.DeviceRestrictions == nil { - invalidParams.Add(request.NewErrParamRequired("DeviceRestrictions")) - } - if s.NoRegionalBlackoutFlag == nil { - invalidParams.Add(request.NewErrParamRequired("NoRegionalBlackoutFlag")) - } - if s.WebDeliveryAllowedFlag == nil { - invalidParams.Add(request.NewErrParamRequired("WebDeliveryAllowedFlag")) - } +// SetArn sets the Arn field's value. +func (s *StartMultiplexOutput) SetArn(v string) *StartMultiplexOutput { + s.Arn = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetAvailabilityZones sets the AvailabilityZones field's value. +func (s *StartMultiplexOutput) SetAvailabilityZones(v []*string) *StartMultiplexOutput { + s.AvailabilityZones = v + return s } -// SetArchiveAllowedFlag sets the ArchiveAllowedFlag field's value. -func (s *Scte35DeliveryRestrictions) SetArchiveAllowedFlag(v string) *Scte35DeliveryRestrictions { - s.ArchiveAllowedFlag = &v +// SetDestinations sets the Destinations field's value. +func (s *StartMultiplexOutput) SetDestinations(v []*MultiplexOutputDestination) *StartMultiplexOutput { + s.Destinations = v return s } -// SetDeviceRestrictions sets the DeviceRestrictions field's value. -func (s *Scte35DeliveryRestrictions) SetDeviceRestrictions(v string) *Scte35DeliveryRestrictions { - s.DeviceRestrictions = &v +// SetId sets the Id field's value. +func (s *StartMultiplexOutput) SetId(v string) *StartMultiplexOutput { + s.Id = &v return s } -// SetNoRegionalBlackoutFlag sets the NoRegionalBlackoutFlag field's value. -func (s *Scte35DeliveryRestrictions) SetNoRegionalBlackoutFlag(v string) *Scte35DeliveryRestrictions { - s.NoRegionalBlackoutFlag = &v +// SetMultiplexSettings sets the MultiplexSettings field's value. +func (s *StartMultiplexOutput) SetMultiplexSettings(v *MultiplexSettings) *StartMultiplexOutput { + s.MultiplexSettings = v return s } -// SetWebDeliveryAllowedFlag sets the WebDeliveryAllowedFlag field's value. -func (s *Scte35DeliveryRestrictions) SetWebDeliveryAllowedFlag(v string) *Scte35DeliveryRestrictions { - s.WebDeliveryAllowedFlag = &v +// SetName sets the Name field's value. +func (s *StartMultiplexOutput) SetName(v string) *StartMultiplexOutput { + s.Name = &v return s } -// Holds one set of SCTE-35 Descriptor Settings. -type Scte35Descriptor struct { +// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. +func (s *StartMultiplexOutput) SetPipelinesRunningCount(v int64) *StartMultiplexOutput { + s.PipelinesRunningCount = &v + return s +} + +// SetProgramCount sets the ProgramCount field's value. +func (s *StartMultiplexOutput) SetProgramCount(v int64) *StartMultiplexOutput { + s.ProgramCount = &v + return s +} + +// SetState sets the State field's value. +func (s *StartMultiplexOutput) SetState(v string) *StartMultiplexOutput { + s.State = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *StartMultiplexOutput) SetTags(v map[string]*string) *StartMultiplexOutput { + s.Tags = v + return s +} + +// Settings to identify the start of the clip. +type StartTimecode struct { _ struct{} `type:"structure"` - // SCTE-35 Descriptor Settings. - // - // Scte35DescriptorSettings is a required field - Scte35DescriptorSettings *Scte35DescriptorSettings `locationName:"scte35DescriptorSettings" type:"structure" required:"true"` + // The timecode for the frame where you want to start the clip. Optional; if + // not specified, the clip starts at first frame in the file. Enter the timecode + // as HH:MM:SS:FF or HH:MM:SS;FF. + Timecode *string `locationName:"timecode" type:"string"` } // String returns the string representation. @@ -29614,7 +37614,7 @@ type Scte35Descriptor struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Scte35Descriptor) String() string { +func (s StartTimecode) String() string { return awsutil.Prettify(s) } @@ -29623,42 +37623,33 @@ func (s Scte35Descriptor) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Scte35Descriptor) GoString() string { +func (s StartTimecode) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *Scte35Descriptor) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "Scte35Descriptor"} - if s.Scte35DescriptorSettings == nil { - invalidParams.Add(request.NewErrParamRequired("Scte35DescriptorSettings")) - } - if s.Scte35DescriptorSettings != nil { - if err := s.Scte35DescriptorSettings.Validate(); err != nil { - invalidParams.AddNested("Scte35DescriptorSettings", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetScte35DescriptorSettings sets the Scte35DescriptorSettings field's value. -func (s *Scte35Descriptor) SetScte35DescriptorSettings(v *Scte35DescriptorSettings) *Scte35Descriptor { - s.Scte35DescriptorSettings = v +// SetTimecode sets the Timecode field's value. +func (s *StartTimecode) SetTimecode(v string) *StartTimecode { + s.Timecode = &v return s } -// SCTE-35 Descriptor settings. -type Scte35DescriptorSettings struct { +type StartUpdateSignalMapInput struct { _ struct{} `type:"structure"` - // SCTE-35 Segmentation Descriptor. - // - // SegmentationDescriptorScte35DescriptorSettings is a required field - SegmentationDescriptorScte35DescriptorSettings *Scte35SegmentationDescriptor `locationName:"segmentationDescriptorScte35DescriptorSettings" type:"structure" required:"true"` + CloudWatchAlarmTemplateGroupIdentifiers []*string `locationName:"cloudWatchAlarmTemplateGroupIdentifiers" type:"list"` + + Description *string `locationName:"description" type:"string"` + + DiscoveryEntryPointArn *string `locationName:"discoveryEntryPointArn" min:"1" type:"string"` + + EventBridgeRuleTemplateGroupIdentifiers []*string `locationName:"eventBridgeRuleTemplateGroupIdentifiers" type:"list"` + + ForceRediscovery *bool `locationName:"forceRediscovery" type:"boolean"` + + // Identifier is a required field + Identifier *string `location:"uri" locationName:"identifier" type:"string" required:"true"` + + Name *string `locationName:"name" min:"1" type:"string"` } // String returns the string representation. @@ -29666,7 +37657,7 @@ type Scte35DescriptorSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Scte35DescriptorSettings) String() string { +func (s StartUpdateSignalMapInput) String() string { return awsutil.Prettify(s) } @@ -29675,20 +37666,24 @@ func (s Scte35DescriptorSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Scte35DescriptorSettings) GoString() string { +func (s StartUpdateSignalMapInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *Scte35DescriptorSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "Scte35DescriptorSettings"} - if s.SegmentationDescriptorScte35DescriptorSettings == nil { - invalidParams.Add(request.NewErrParamRequired("SegmentationDescriptorScte35DescriptorSettings")) +func (s *StartUpdateSignalMapInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartUpdateSignalMapInput"} + if s.DiscoveryEntryPointArn != nil && len(*s.DiscoveryEntryPointArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DiscoveryEntryPointArn", 1)) } - if s.SegmentationDescriptorScte35DescriptorSettings != nil { - if err := s.SegmentationDescriptorScte35DescriptorSettings.Validate(); err != nil { - invalidParams.AddNested("SegmentationDescriptorScte35DescriptorSettings", err.(request.ErrInvalidParams)) - } + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) + } + if s.Identifier != nil && len(*s.Identifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) } if invalidParams.Len() > 0 { @@ -29697,24 +37692,93 @@ func (s *Scte35DescriptorSettings) Validate() error { return nil } -// SetSegmentationDescriptorScte35DescriptorSettings sets the SegmentationDescriptorScte35DescriptorSettings field's value. -func (s *Scte35DescriptorSettings) SetSegmentationDescriptorScte35DescriptorSettings(v *Scte35SegmentationDescriptor) *Scte35DescriptorSettings { - s.SegmentationDescriptorScte35DescriptorSettings = v +// SetCloudWatchAlarmTemplateGroupIdentifiers sets the CloudWatchAlarmTemplateGroupIdentifiers field's value. +func (s *StartUpdateSignalMapInput) SetCloudWatchAlarmTemplateGroupIdentifiers(v []*string) *StartUpdateSignalMapInput { + s.CloudWatchAlarmTemplateGroupIdentifiers = v return s } -// Scte35Input Schedule Action Settings -type Scte35InputScheduleActionSettings struct { +// SetDescription sets the Description field's value. +func (s *StartUpdateSignalMapInput) SetDescription(v string) *StartUpdateSignalMapInput { + s.Description = &v + return s +} + +// SetDiscoveryEntryPointArn sets the DiscoveryEntryPointArn field's value. +func (s *StartUpdateSignalMapInput) SetDiscoveryEntryPointArn(v string) *StartUpdateSignalMapInput { + s.DiscoveryEntryPointArn = &v + return s +} + +// SetEventBridgeRuleTemplateGroupIdentifiers sets the EventBridgeRuleTemplateGroupIdentifiers field's value. +func (s *StartUpdateSignalMapInput) SetEventBridgeRuleTemplateGroupIdentifiers(v []*string) *StartUpdateSignalMapInput { + s.EventBridgeRuleTemplateGroupIdentifiers = v + return s +} + +// SetForceRediscovery sets the ForceRediscovery field's value. +func (s *StartUpdateSignalMapInput) SetForceRediscovery(v bool) *StartUpdateSignalMapInput { + s.ForceRediscovery = &v + return s +} + +// SetIdentifier sets the Identifier field's value. +func (s *StartUpdateSignalMapInput) SetIdentifier(v string) *StartUpdateSignalMapInput { + s.Identifier = &v + return s +} + +// SetName sets the Name field's value. +func (s *StartUpdateSignalMapInput) SetName(v string) *StartUpdateSignalMapInput { + s.Name = &v + return s +} + +type StartUpdateSignalMapOutput struct { _ struct{} `type:"structure"` - // In fixed mode, enter the name of the input attachment that you want to use - // as a SCTE-35 input. (Don't enter the ID of the input.)" - InputAttachmentNameReference *string `locationName:"inputAttachmentNameReference" type:"string"` + Arn *string `locationName:"arn" type:"string"` - // Whether the SCTE-35 input should be the active input or a fixed input. - // - // Mode is a required field - Mode *string `locationName:"mode" type:"string" required:"true" enum:"Scte35InputMode"` + CloudWatchAlarmTemplateGroupIds []*string `locationName:"cloudWatchAlarmTemplateGroupIds" type:"list"` + + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` + + Description *string `locationName:"description" type:"string"` + + DiscoveryEntryPointArn *string `locationName:"discoveryEntryPointArn" min:"1" type:"string"` + + ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string"` + + EventBridgeRuleTemplateGroupIds []*string `locationName:"eventBridgeRuleTemplateGroupIds" type:"list"` + + // A map representing an incomplete AWS media workflow as a graph. + FailedMediaResourceMap map[string]*MediaResource `locationName:"failedMediaResourceMap" type:"map"` + + Id *string `locationName:"id" min:"7" type:"string"` + + LastDiscoveredAt *time.Time `locationName:"lastDiscoveredAt" type:"timestamp" timestampFormat:"iso8601"` + + // Represents the latest successful monitor deployment of a signal map. + LastSuccessfulMonitorDeployment *SuccessfulMonitorDeployment `locationName:"lastSuccessfulMonitorDeployment" type:"structure"` + + // A map representing an AWS media workflow as a graph. + MediaResourceMap map[string]*MediaResource `locationName:"mediaResourceMap" type:"map"` + + ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp" timestampFormat:"iso8601"` + + MonitorChangesPendingDeployment *bool `locationName:"monitorChangesPendingDeployment" type:"boolean"` + + // Represents the latest monitor deployment of a signal map. + MonitorDeployment *MonitorDeployment `locationName:"monitorDeployment" type:"structure"` + + Name *string `locationName:"name" min:"1" type:"string"` + + // A signal map's current status which is dependent on its lifecycle actions + // or associated jobs. + Status *string `locationName:"status" type:"string" enum:"SignalMapStatus"` + + // Represents the tags associated with a resource. + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -29722,7 +37786,7 @@ type Scte35InputScheduleActionSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Scte35InputScheduleActionSettings) String() string { +func (s StartUpdateSignalMapOutput) String() string { return awsutil.Prettify(s) } @@ -29731,141 +37795,174 @@ func (s Scte35InputScheduleActionSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Scte35InputScheduleActionSettings) GoString() string { +func (s StartUpdateSignalMapOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *Scte35InputScheduleActionSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "Scte35InputScheduleActionSettings"} - if s.Mode == nil { - invalidParams.Add(request.NewErrParamRequired("Mode")) - } +// SetArn sets the Arn field's value. +func (s *StartUpdateSignalMapOutput) SetArn(v string) *StartUpdateSignalMapOutput { + s.Arn = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetCloudWatchAlarmTemplateGroupIds sets the CloudWatchAlarmTemplateGroupIds field's value. +func (s *StartUpdateSignalMapOutput) SetCloudWatchAlarmTemplateGroupIds(v []*string) *StartUpdateSignalMapOutput { + s.CloudWatchAlarmTemplateGroupIds = v + return s } -// SetInputAttachmentNameReference sets the InputAttachmentNameReference field's value. -func (s *Scte35InputScheduleActionSettings) SetInputAttachmentNameReference(v string) *Scte35InputScheduleActionSettings { - s.InputAttachmentNameReference = &v +// SetCreatedAt sets the CreatedAt field's value. +func (s *StartUpdateSignalMapOutput) SetCreatedAt(v time.Time) *StartUpdateSignalMapOutput { + s.CreatedAt = &v return s } -// SetMode sets the Mode field's value. -func (s *Scte35InputScheduleActionSettings) SetMode(v string) *Scte35InputScheduleActionSettings { - s.Mode = &v +// SetDescription sets the Description field's value. +func (s *StartUpdateSignalMapOutput) SetDescription(v string) *StartUpdateSignalMapOutput { + s.Description = &v return s } -// Settings for a SCTE-35 return_to_network message. -type Scte35ReturnToNetworkScheduleActionSettings struct { - _ struct{} `type:"structure"` +// SetDiscoveryEntryPointArn sets the DiscoveryEntryPointArn field's value. +func (s *StartUpdateSignalMapOutput) SetDiscoveryEntryPointArn(v string) *StartUpdateSignalMapOutput { + s.DiscoveryEntryPointArn = &v + return s +} - // The splice_event_id for the SCTE-35 splice_insert, as defined in SCTE-35. - // - // SpliceEventId is a required field - SpliceEventId *int64 `locationName:"spliceEventId" type:"long" required:"true"` +// SetErrorMessage sets the ErrorMessage field's value. +func (s *StartUpdateSignalMapOutput) SetErrorMessage(v string) *StartUpdateSignalMapOutput { + s.ErrorMessage = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s Scte35ReturnToNetworkScheduleActionSettings) String() string { - return awsutil.Prettify(s) +// SetEventBridgeRuleTemplateGroupIds sets the EventBridgeRuleTemplateGroupIds field's value. +func (s *StartUpdateSignalMapOutput) SetEventBridgeRuleTemplateGroupIds(v []*string) *StartUpdateSignalMapOutput { + s.EventBridgeRuleTemplateGroupIds = v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s Scte35ReturnToNetworkScheduleActionSettings) GoString() string { - return s.String() +// SetFailedMediaResourceMap sets the FailedMediaResourceMap field's value. +func (s *StartUpdateSignalMapOutput) SetFailedMediaResourceMap(v map[string]*MediaResource) *StartUpdateSignalMapOutput { + s.FailedMediaResourceMap = v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *Scte35ReturnToNetworkScheduleActionSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "Scte35ReturnToNetworkScheduleActionSettings"} - if s.SpliceEventId == nil { - invalidParams.Add(request.NewErrParamRequired("SpliceEventId")) - } +// SetId sets the Id field's value. +func (s *StartUpdateSignalMapOutput) SetId(v string) *StartUpdateSignalMapOutput { + s.Id = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetLastDiscoveredAt sets the LastDiscoveredAt field's value. +func (s *StartUpdateSignalMapOutput) SetLastDiscoveredAt(v time.Time) *StartUpdateSignalMapOutput { + s.LastDiscoveredAt = &v + return s } -// SetSpliceEventId sets the SpliceEventId field's value. -func (s *Scte35ReturnToNetworkScheduleActionSettings) SetSpliceEventId(v int64) *Scte35ReturnToNetworkScheduleActionSettings { - s.SpliceEventId = &v +// SetLastSuccessfulMonitorDeployment sets the LastSuccessfulMonitorDeployment field's value. +func (s *StartUpdateSignalMapOutput) SetLastSuccessfulMonitorDeployment(v *SuccessfulMonitorDeployment) *StartUpdateSignalMapOutput { + s.LastSuccessfulMonitorDeployment = v return s } -// Corresponds to SCTE-35 segmentation_descriptor. -type Scte35SegmentationDescriptor struct { +// SetMediaResourceMap sets the MediaResourceMap field's value. +func (s *StartUpdateSignalMapOutput) SetMediaResourceMap(v map[string]*MediaResource) *StartUpdateSignalMapOutput { + s.MediaResourceMap = v + return s +} + +// SetModifiedAt sets the ModifiedAt field's value. +func (s *StartUpdateSignalMapOutput) SetModifiedAt(v time.Time) *StartUpdateSignalMapOutput { + s.ModifiedAt = &v + return s +} + +// SetMonitorChangesPendingDeployment sets the MonitorChangesPendingDeployment field's value. +func (s *StartUpdateSignalMapOutput) SetMonitorChangesPendingDeployment(v bool) *StartUpdateSignalMapOutput { + s.MonitorChangesPendingDeployment = &v + return s +} + +// SetMonitorDeployment sets the MonitorDeployment field's value. +func (s *StartUpdateSignalMapOutput) SetMonitorDeployment(v *MonitorDeployment) *StartUpdateSignalMapOutput { + s.MonitorDeployment = v + return s +} + +// SetName sets the Name field's value. +func (s *StartUpdateSignalMapOutput) SetName(v string) *StartUpdateSignalMapOutput { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *StartUpdateSignalMapOutput) SetStatus(v string) *StartUpdateSignalMapOutput { + s.Status = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *StartUpdateSignalMapOutput) SetTags(v map[string]*string) *StartUpdateSignalMapOutput { + s.Tags = v + return s +} + +// Settings for the action to activate a static image. +type StaticImageActivateScheduleActionSettings struct { _ struct{} `type:"structure"` - // Holds the four SCTE-35 delivery restriction parameters. - DeliveryRestrictions *Scte35DeliveryRestrictions `locationName:"deliveryRestrictions" type:"structure"` + // The duration in milliseconds for the image to remain on the video. If omitted + // or set to 0 the duration is unlimited and the image will remain until it + // is explicitly deactivated. + Duration *int64 `locationName:"duration" type:"integer"` - // Corresponds to SCTE-35 segment_num. A value that is valid for the specified - // segmentation_type_id. - SegmentNum *int64 `locationName:"segmentNum" type:"integer"` + // The time in milliseconds for the image to fade in. The fade-in starts at + // the start time of the overlay. Default is 0 (no fade-in). + FadeIn *int64 `locationName:"fadeIn" type:"integer"` - // Corresponds to SCTE-35 segmentation_event_cancel_indicator. - // - // SegmentationCancelIndicator is a required field - SegmentationCancelIndicator *string `locationName:"segmentationCancelIndicator" type:"string" required:"true" enum:"Scte35SegmentationCancelIndicator"` + // Applies only if a duration is specified. The time in milliseconds for the + // image to fade out. The fade-out starts when the duration time is hit, so + // it effectively extends the duration. Default is 0 (no fade-out). + FadeOut *int64 `locationName:"fadeOut" type:"integer"` - // Corresponds to SCTE-35 segmentation_duration. Optional. The duration for - // the time_signal, in 90 KHz ticks. To convert seconds to ticks, multiple the - // seconds by 90,000. Enter time in 90 KHz clock ticks. If you do not enter - // a duration, the time_signal will continue until you insert a cancellation - // message. - SegmentationDuration *int64 `locationName:"segmentationDuration" type:"long"` + // The height of the image when inserted into the video, in pixels. The overlay + // will be scaled up or down to the specified height. Leave blank to use the + // native height of the overlay. + Height *int64 `locationName:"height" min:"1" type:"integer"` - // Corresponds to SCTE-35 segmentation_event_id. + // The location and filename of the image file to overlay on the video. The + // file must be a 32-bit BMP, PNG, or TGA file, and must not be larger (in pixels) + // than the input video. // - // SegmentationEventId is a required field - SegmentationEventId *int64 `locationName:"segmentationEventId" type:"long" required:"true"` - - // Corresponds to SCTE-35 segmentation_type_id. One of the segmentation_type_id - // values listed in the SCTE-35 specification. On the console, enter the ID - // in decimal (for example, "52"). In the CLI, API, or an SDK, enter the ID - // in hex (for example, "0x34") or decimal (for example, "52"). - SegmentationTypeId *int64 `locationName:"segmentationTypeId" type:"integer"` + // Image is a required field + Image *InputLocation `locationName:"image" type:"structure" required:"true"` - // Corresponds to SCTE-35 segmentation_upid. Enter a string containing the hexadecimal - // representation of the characters that make up the SCTE-35 segmentation_upid - // value. Must contain an even number of hex characters. Do not include spaces - // between each hex pair. For example, the ASCII "ADS Information" becomes hex - // "41445320496e666f726d6174696f6e. - SegmentationUpid *string `locationName:"segmentationUpid" type:"string"` + // Placement of the left edge of the overlay relative to the left edge of the + // video frame, in pixels. 0 (the default) is the left edge of the frame. If + // the placement causes the overlay to extend beyond the right edge of the underlying + // video, then the overlay is cropped on the right. + ImageX *int64 `locationName:"imageX" type:"integer"` - // Corresponds to SCTE-35 segmentation_upid_type. On the console, enter one - // of the types listed in the SCTE-35 specification, converted to a decimal. - // For example, "0x0C" hex from the specification is "12" in decimal. In the - // CLI, API, or an SDK, enter one of the types listed in the SCTE-35 specification, - // in either hex (for example, "0x0C" ) or in decimal (for example, "12"). - SegmentationUpidType *int64 `locationName:"segmentationUpidType" type:"integer"` + // Placement of the top edge of the overlay relative to the top edge of the + // video frame, in pixels. 0 (the default) is the top edge of the frame. If + // the placement causes the overlay to extend beyond the bottom edge of the + // underlying video, then the overlay is cropped on the bottom. + ImageY *int64 `locationName:"imageY" type:"integer"` - // Corresponds to SCTE-35 segments_expected. A value that is valid for the specified - // segmentation_type_id. - SegmentsExpected *int64 `locationName:"segmentsExpected" type:"integer"` + // The number of the layer, 0 to 7. There are 8 layers that can be overlaid + // on the video, each layer with a different image. The layers are in Z order, + // which means that overlays with higher values of layer are inserted on top + // of overlays with lower values of layer. Default is 0. + Layer *int64 `locationName:"layer" type:"integer"` - // Corresponds to SCTE-35 sub_segment_num. A value that is valid for the specified - // segmentation_type_id. - SubSegmentNum *int64 `locationName:"subSegmentNum" type:"integer"` + // Opacity of image where 0 is transparent and 100 is fully opaque. Default + // is 100. + Opacity *int64 `locationName:"opacity" type:"integer"` - // Corresponds to SCTE-35 sub_segments_expected. A value that is valid for the - // specified segmentation_type_id. - SubSegmentsExpected *int64 `locationName:"subSegmentsExpected" type:"integer"` + // The width of the image when inserted into the video, in pixels. The overlay + // will be scaled up or down to the specified width. Leave blank to use the + // native width of the overlay. + Width *int64 `locationName:"width" min:"1" type:"integer"` } // String returns the string representation. @@ -29873,7 +37970,7 @@ type Scte35SegmentationDescriptor struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Scte35SegmentationDescriptor) String() string { +func (s StaticImageActivateScheduleActionSettings) String() string { return awsutil.Prettify(s) } @@ -29882,22 +37979,25 @@ func (s Scte35SegmentationDescriptor) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Scte35SegmentationDescriptor) GoString() string { +func (s StaticImageActivateScheduleActionSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *Scte35SegmentationDescriptor) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "Scte35SegmentationDescriptor"} - if s.SegmentationCancelIndicator == nil { - invalidParams.Add(request.NewErrParamRequired("SegmentationCancelIndicator")) +func (s *StaticImageActivateScheduleActionSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StaticImageActivateScheduleActionSettings"} + if s.Height != nil && *s.Height < 1 { + invalidParams.Add(request.NewErrParamMinValue("Height", 1)) } - if s.SegmentationEventId == nil { - invalidParams.Add(request.NewErrParamRequired("SegmentationEventId")) + if s.Image == nil { + invalidParams.Add(request.NewErrParamRequired("Image")) } - if s.DeliveryRestrictions != nil { - if err := s.DeliveryRestrictions.Validate(); err != nil { - invalidParams.AddNested("DeliveryRestrictions", err.(request.ErrInvalidParams)) + if s.Width != nil && *s.Width < 1 { + invalidParams.Add(request.NewErrParamMinValue("Width", 1)) + } + if s.Image != nil { + if err := s.Image.Validate(); err != nil { + invalidParams.AddNested("Image", err.(request.ErrInvalidParams)) } } @@ -29907,89 +38007,75 @@ func (s *Scte35SegmentationDescriptor) Validate() error { return nil } -// SetDeliveryRestrictions sets the DeliveryRestrictions field's value. -func (s *Scte35SegmentationDescriptor) SetDeliveryRestrictions(v *Scte35DeliveryRestrictions) *Scte35SegmentationDescriptor { - s.DeliveryRestrictions = v - return s -} - -// SetSegmentNum sets the SegmentNum field's value. -func (s *Scte35SegmentationDescriptor) SetSegmentNum(v int64) *Scte35SegmentationDescriptor { - s.SegmentNum = &v +// SetDuration sets the Duration field's value. +func (s *StaticImageActivateScheduleActionSettings) SetDuration(v int64) *StaticImageActivateScheduleActionSettings { + s.Duration = &v return s } -// SetSegmentationCancelIndicator sets the SegmentationCancelIndicator field's value. -func (s *Scte35SegmentationDescriptor) SetSegmentationCancelIndicator(v string) *Scte35SegmentationDescriptor { - s.SegmentationCancelIndicator = &v +// SetFadeIn sets the FadeIn field's value. +func (s *StaticImageActivateScheduleActionSettings) SetFadeIn(v int64) *StaticImageActivateScheduleActionSettings { + s.FadeIn = &v return s } -// SetSegmentationDuration sets the SegmentationDuration field's value. -func (s *Scte35SegmentationDescriptor) SetSegmentationDuration(v int64) *Scte35SegmentationDescriptor { - s.SegmentationDuration = &v +// SetFadeOut sets the FadeOut field's value. +func (s *StaticImageActivateScheduleActionSettings) SetFadeOut(v int64) *StaticImageActivateScheduleActionSettings { + s.FadeOut = &v return s } -// SetSegmentationEventId sets the SegmentationEventId field's value. -func (s *Scte35SegmentationDescriptor) SetSegmentationEventId(v int64) *Scte35SegmentationDescriptor { - s.SegmentationEventId = &v +// SetHeight sets the Height field's value. +func (s *StaticImageActivateScheduleActionSettings) SetHeight(v int64) *StaticImageActivateScheduleActionSettings { + s.Height = &v return s } -// SetSegmentationTypeId sets the SegmentationTypeId field's value. -func (s *Scte35SegmentationDescriptor) SetSegmentationTypeId(v int64) *Scte35SegmentationDescriptor { - s.SegmentationTypeId = &v +// SetImage sets the Image field's value. +func (s *StaticImageActivateScheduleActionSettings) SetImage(v *InputLocation) *StaticImageActivateScheduleActionSettings { + s.Image = v return s } -// SetSegmentationUpid sets the SegmentationUpid field's value. -func (s *Scte35SegmentationDescriptor) SetSegmentationUpid(v string) *Scte35SegmentationDescriptor { - s.SegmentationUpid = &v +// SetImageX sets the ImageX field's value. +func (s *StaticImageActivateScheduleActionSettings) SetImageX(v int64) *StaticImageActivateScheduleActionSettings { + s.ImageX = &v return s } -// SetSegmentationUpidType sets the SegmentationUpidType field's value. -func (s *Scte35SegmentationDescriptor) SetSegmentationUpidType(v int64) *Scte35SegmentationDescriptor { - s.SegmentationUpidType = &v +// SetImageY sets the ImageY field's value. +func (s *StaticImageActivateScheduleActionSettings) SetImageY(v int64) *StaticImageActivateScheduleActionSettings { + s.ImageY = &v return s } -// SetSegmentsExpected sets the SegmentsExpected field's value. -func (s *Scte35SegmentationDescriptor) SetSegmentsExpected(v int64) *Scte35SegmentationDescriptor { - s.SegmentsExpected = &v +// SetLayer sets the Layer field's value. +func (s *StaticImageActivateScheduleActionSettings) SetLayer(v int64) *StaticImageActivateScheduleActionSettings { + s.Layer = &v return s } -// SetSubSegmentNum sets the SubSegmentNum field's value. -func (s *Scte35SegmentationDescriptor) SetSubSegmentNum(v int64) *Scte35SegmentationDescriptor { - s.SubSegmentNum = &v +// SetOpacity sets the Opacity field's value. +func (s *StaticImageActivateScheduleActionSettings) SetOpacity(v int64) *StaticImageActivateScheduleActionSettings { + s.Opacity = &v return s } -// SetSubSegmentsExpected sets the SubSegmentsExpected field's value. -func (s *Scte35SegmentationDescriptor) SetSubSegmentsExpected(v int64) *Scte35SegmentationDescriptor { - s.SubSegmentsExpected = &v +// SetWidth sets the Width field's value. +func (s *StaticImageActivateScheduleActionSettings) SetWidth(v int64) *StaticImageActivateScheduleActionSettings { + s.Width = &v return s } -// Typical configuration that applies breaks on splice inserts in addition to -// time signal placement opportunities, breaks, and advertisements. -type Scte35SpliceInsert struct { +// Settings for the action to deactivate the image in a specific layer. +type StaticImageDeactivateScheduleActionSettings struct { _ struct{} `type:"structure"` - // When specified, this offset (in milliseconds) is added to the input Ad Avail - // PTS time. This only applies to embedded SCTE 104/35 messages and does not - // apply to OOB messages. - AdAvailOffset *int64 `locationName:"adAvailOffset" type:"integer"` - - // When set to ignore, Segment Descriptors with noRegionalBlackoutFlag set to - // 0 will no longer trigger blackouts or Ad Avail slates - NoRegionalBlackoutFlag *string `locationName:"noRegionalBlackoutFlag" type:"string" enum:"Scte35SpliceInsertNoRegionalBlackoutBehavior"` + // The time in milliseconds for the image to fade out. Default is 0 (no fade-out). + FadeOut *int64 `locationName:"fadeOut" type:"integer"` - // When set to ignore, Segment Descriptors with webDeliveryAllowedFlag set to - // 0 will no longer trigger blackouts or Ad Avail slates - WebDeliveryAllowedFlag *string `locationName:"webDeliveryAllowedFlag" type:"string" enum:"Scte35SpliceInsertWebDeliveryAllowedBehavior"` + // The image overlay layer to deactivate, 0 to 7. Default is 0. + Layer *int64 `locationName:"layer" type:"integer"` } // String returns the string representation. @@ -29997,7 +38083,7 @@ type Scte35SpliceInsert struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Scte35SpliceInsert) String() string { +func (s StaticImageDeactivateScheduleActionSettings) String() string { return awsutil.Prettify(s) } @@ -30006,57 +38092,83 @@ func (s Scte35SpliceInsert) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Scte35SpliceInsert) GoString() string { +func (s StaticImageDeactivateScheduleActionSettings) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *Scte35SpliceInsert) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "Scte35SpliceInsert"} - if s.AdAvailOffset != nil && *s.AdAvailOffset < -1000 { - invalidParams.Add(request.NewErrParamMinValue("AdAvailOffset", -1000)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAdAvailOffset sets the AdAvailOffset field's value. -func (s *Scte35SpliceInsert) SetAdAvailOffset(v int64) *Scte35SpliceInsert { - s.AdAvailOffset = &v - return s -} - -// SetNoRegionalBlackoutFlag sets the NoRegionalBlackoutFlag field's value. -func (s *Scte35SpliceInsert) SetNoRegionalBlackoutFlag(v string) *Scte35SpliceInsert { - s.NoRegionalBlackoutFlag = &v +// SetFadeOut sets the FadeOut field's value. +func (s *StaticImageDeactivateScheduleActionSettings) SetFadeOut(v int64) *StaticImageDeactivateScheduleActionSettings { + s.FadeOut = &v return s } -// SetWebDeliveryAllowedFlag sets the WebDeliveryAllowedFlag field's value. -func (s *Scte35SpliceInsert) SetWebDeliveryAllowedFlag(v string) *Scte35SpliceInsert { - s.WebDeliveryAllowedFlag = &v +// SetLayer sets the Layer field's value. +func (s *StaticImageDeactivateScheduleActionSettings) SetLayer(v int64) *StaticImageDeactivateScheduleActionSettings { + s.Layer = &v return s } -// Settings for a SCTE-35 splice_insert message. -type Scte35SpliceInsertScheduleActionSettings struct { +// Settings for the action to activate a static image. +type StaticImageOutputActivateScheduleActionSettings struct { _ struct{} `type:"structure"` - // Optional, the duration for the splice_insert, in 90 KHz ticks. To convert - // seconds to ticks, multiple the seconds by 90,000. If you enter a duration, - // there is an expectation that the downstream system can read the duration - // and cue in at that time. If you do not enter a duration, the splice_insert - // will continue indefinitely and there is an expectation that you will enter - // a return_to_network to end the splice_insert at the appropriate time. - Duration *int64 `locationName:"duration" type:"long"` + // The duration in milliseconds for the image to remain on the video. If omitted + // or set to 0 the duration is unlimited and the image will remain until it + // is explicitly deactivated. + Duration *int64 `locationName:"duration" type:"integer"` - // The splice_event_id for the SCTE-35 splice_insert, as defined in SCTE-35. + // The time in milliseconds for the image to fade in. The fade-in starts at + // the start time of the overlay. Default is 0 (no fade-in). + FadeIn *int64 `locationName:"fadeIn" type:"integer"` + + // Applies only if a duration is specified. The time in milliseconds for the + // image to fade out. The fade-out starts when the duration time is hit, so + // it effectively extends the duration. Default is 0 (no fade-out). + FadeOut *int64 `locationName:"fadeOut" type:"integer"` + + // The height of the image when inserted into the video, in pixels. The overlay + // will be scaled up or down to the specified height. Leave blank to use the + // native height of the overlay. + Height *int64 `locationName:"height" min:"1" type:"integer"` + + // The location and filename of the image file to overlay on the video. The + // file must be a 32-bit BMP, PNG, or TGA file, and must not be larger (in pixels) + // than the input video. // - // SpliceEventId is a required field - SpliceEventId *int64 `locationName:"spliceEventId" type:"long" required:"true"` + // Image is a required field + Image *InputLocation `locationName:"image" type:"structure" required:"true"` + + // Placement of the left edge of the overlay relative to the left edge of the + // video frame, in pixels. 0 (the default) is the left edge of the frame. If + // the placement causes the overlay to extend beyond the right edge of the underlying + // video, then the overlay is cropped on the right. + ImageX *int64 `locationName:"imageX" type:"integer"` + + // Placement of the top edge of the overlay relative to the top edge of the + // video frame, in pixels. 0 (the default) is the top edge of the frame. If + // the placement causes the overlay to extend beyond the bottom edge of the + // underlying video, then the overlay is cropped on the bottom. + ImageY *int64 `locationName:"imageY" type:"integer"` + + // The number of the layer, 0 to 7. There are 8 layers that can be overlaid + // on the video, each layer with a different image. The layers are in Z order, + // which means that overlays with higher values of layer are inserted on top + // of overlays with lower values of layer. Default is 0. + Layer *int64 `locationName:"layer" type:"integer"` + + // Opacity of image where 0 is transparent and 100 is fully opaque. Default + // is 100. + Opacity *int64 `locationName:"opacity" type:"integer"` + + // The name(s) of the output(s) the activation should apply to. + // + // OutputNames is a required field + OutputNames []*string `locationName:"outputNames" type:"list" required:"true"` + + // The width of the image when inserted into the video, in pixels. The overlay + // will be scaled up or down to the specified width. Leave blank to use the + // native width of the overlay. + Width *int64 `locationName:"width" min:"1" type:"integer"` } // String returns the string representation. @@ -30064,7 +38176,7 @@ type Scte35SpliceInsertScheduleActionSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Scte35SpliceInsertScheduleActionSettings) String() string { +func (s StaticImageOutputActivateScheduleActionSettings) String() string { return awsutil.Prettify(s) } @@ -30073,15 +38185,29 @@ func (s Scte35SpliceInsertScheduleActionSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Scte35SpliceInsertScheduleActionSettings) GoString() string { +func (s StaticImageOutputActivateScheduleActionSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *Scte35SpliceInsertScheduleActionSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "Scte35SpliceInsertScheduleActionSettings"} - if s.SpliceEventId == nil { - invalidParams.Add(request.NewErrParamRequired("SpliceEventId")) +func (s *StaticImageOutputActivateScheduleActionSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StaticImageOutputActivateScheduleActionSettings"} + if s.Height != nil && *s.Height < 1 { + invalidParams.Add(request.NewErrParamMinValue("Height", 1)) + } + if s.Image == nil { + invalidParams.Add(request.NewErrParamRequired("Image")) + } + if s.OutputNames == nil { + invalidParams.Add(request.NewErrParamRequired("OutputNames")) + } + if s.Width != nil && *s.Width < 1 { + invalidParams.Add(request.NewErrParamMinValue("Width", 1)) + } + if s.Image != nil { + if err := s.Image.Validate(); err != nil { + invalidParams.AddNested("Image", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -30091,93 +38217,85 @@ func (s *Scte35SpliceInsertScheduleActionSettings) Validate() error { } // SetDuration sets the Duration field's value. -func (s *Scte35SpliceInsertScheduleActionSettings) SetDuration(v int64) *Scte35SpliceInsertScheduleActionSettings { +func (s *StaticImageOutputActivateScheduleActionSettings) SetDuration(v int64) *StaticImageOutputActivateScheduleActionSettings { s.Duration = &v return s } -// SetSpliceEventId sets the SpliceEventId field's value. -func (s *Scte35SpliceInsertScheduleActionSettings) SetSpliceEventId(v int64) *Scte35SpliceInsertScheduleActionSettings { - s.SpliceEventId = &v +// SetFadeIn sets the FadeIn field's value. +func (s *StaticImageOutputActivateScheduleActionSettings) SetFadeIn(v int64) *StaticImageOutputActivateScheduleActionSettings { + s.FadeIn = &v return s } -// Atypical configuration that applies segment breaks only on SCTE-35 time signal -// placement opportunities and breaks. -type Scte35TimeSignalApos struct { - _ struct{} `type:"structure"` - - // When specified, this offset (in milliseconds) is added to the input Ad Avail - // PTS time. This only applies to embedded SCTE 104/35 messages and does not - // apply to OOB messages. - AdAvailOffset *int64 `locationName:"adAvailOffset" type:"integer"` - - // When set to ignore, Segment Descriptors with noRegionalBlackoutFlag set to - // 0 will no longer trigger blackouts or Ad Avail slates - NoRegionalBlackoutFlag *string `locationName:"noRegionalBlackoutFlag" type:"string" enum:"Scte35AposNoRegionalBlackoutBehavior"` +// SetFadeOut sets the FadeOut field's value. +func (s *StaticImageOutputActivateScheduleActionSettings) SetFadeOut(v int64) *StaticImageOutputActivateScheduleActionSettings { + s.FadeOut = &v + return s +} - // When set to ignore, Segment Descriptors with webDeliveryAllowedFlag set to - // 0 will no longer trigger blackouts or Ad Avail slates - WebDeliveryAllowedFlag *string `locationName:"webDeliveryAllowedFlag" type:"string" enum:"Scte35AposWebDeliveryAllowedBehavior"` +// SetHeight sets the Height field's value. +func (s *StaticImageOutputActivateScheduleActionSettings) SetHeight(v int64) *StaticImageOutputActivateScheduleActionSettings { + s.Height = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s Scte35TimeSignalApos) String() string { - return awsutil.Prettify(s) +// SetImage sets the Image field's value. +func (s *StaticImageOutputActivateScheduleActionSettings) SetImage(v *InputLocation) *StaticImageOutputActivateScheduleActionSettings { + s.Image = v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s Scte35TimeSignalApos) GoString() string { - return s.String() +// SetImageX sets the ImageX field's value. +func (s *StaticImageOutputActivateScheduleActionSettings) SetImageX(v int64) *StaticImageOutputActivateScheduleActionSettings { + s.ImageX = &v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *Scte35TimeSignalApos) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "Scte35TimeSignalApos"} - if s.AdAvailOffset != nil && *s.AdAvailOffset < -1000 { - invalidParams.Add(request.NewErrParamMinValue("AdAvailOffset", -1000)) - } +// SetImageY sets the ImageY field's value. +func (s *StaticImageOutputActivateScheduleActionSettings) SetImageY(v int64) *StaticImageOutputActivateScheduleActionSettings { + s.ImageY = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetLayer sets the Layer field's value. +func (s *StaticImageOutputActivateScheduleActionSettings) SetLayer(v int64) *StaticImageOutputActivateScheduleActionSettings { + s.Layer = &v + return s } -// SetAdAvailOffset sets the AdAvailOffset field's value. -func (s *Scte35TimeSignalApos) SetAdAvailOffset(v int64) *Scte35TimeSignalApos { - s.AdAvailOffset = &v +// SetOpacity sets the Opacity field's value. +func (s *StaticImageOutputActivateScheduleActionSettings) SetOpacity(v int64) *StaticImageOutputActivateScheduleActionSettings { + s.Opacity = &v return s } -// SetNoRegionalBlackoutFlag sets the NoRegionalBlackoutFlag field's value. -func (s *Scte35TimeSignalApos) SetNoRegionalBlackoutFlag(v string) *Scte35TimeSignalApos { - s.NoRegionalBlackoutFlag = &v +// SetOutputNames sets the OutputNames field's value. +func (s *StaticImageOutputActivateScheduleActionSettings) SetOutputNames(v []*string) *StaticImageOutputActivateScheduleActionSettings { + s.OutputNames = v return s } -// SetWebDeliveryAllowedFlag sets the WebDeliveryAllowedFlag field's value. -func (s *Scte35TimeSignalApos) SetWebDeliveryAllowedFlag(v string) *Scte35TimeSignalApos { - s.WebDeliveryAllowedFlag = &v +// SetWidth sets the Width field's value. +func (s *StaticImageOutputActivateScheduleActionSettings) SetWidth(v int64) *StaticImageOutputActivateScheduleActionSettings { + s.Width = &v return s } -// Settings for a SCTE-35 time_signal. -type Scte35TimeSignalScheduleActionSettings struct { +// Settings for the action to deactivate the image in a specific layer. +type StaticImageOutputDeactivateScheduleActionSettings struct { _ struct{} `type:"structure"` - // The list of SCTE-35 descriptors accompanying the SCTE-35 time_signal. + // The time in milliseconds for the image to fade out. Default is 0 (no fade-out). + FadeOut *int64 `locationName:"fadeOut" type:"integer"` + + // The image overlay layer to deactivate, 0 to 7. Default is 0. + Layer *int64 `locationName:"layer" type:"integer"` + + // The name(s) of the output(s) the deactivation should apply to. // - // Scte35Descriptors is a required field - Scte35Descriptors []*Scte35Descriptor `locationName:"scte35Descriptors" type:"list" required:"true"` + // OutputNames is a required field + OutputNames []*string `locationName:"outputNames" type:"list" required:"true"` } // String returns the string representation. @@ -30185,7 +38303,7 @@ type Scte35TimeSignalScheduleActionSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Scte35TimeSignalScheduleActionSettings) String() string { +func (s StaticImageOutputDeactivateScheduleActionSettings) String() string { return awsutil.Prettify(s) } @@ -30194,25 +38312,15 @@ func (s Scte35TimeSignalScheduleActionSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Scte35TimeSignalScheduleActionSettings) GoString() string { +func (s StaticImageOutputDeactivateScheduleActionSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *Scte35TimeSignalScheduleActionSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "Scte35TimeSignalScheduleActionSettings"} - if s.Scte35Descriptors == nil { - invalidParams.Add(request.NewErrParamRequired("Scte35Descriptors")) - } - if s.Scte35Descriptors != nil { - for i, v := range s.Scte35Descriptors { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Scte35Descriptors", i), err.(request.ErrInvalidParams)) - } - } +func (s *StaticImageOutputDeactivateScheduleActionSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StaticImageOutputDeactivateScheduleActionSettings"} + if s.OutputNames == nil { + invalidParams.Add(request.NewErrParamRequired("OutputNames")) } if invalidParams.Len() > 0 { @@ -30221,47 +38329,35 @@ func (s *Scte35TimeSignalScheduleActionSettings) Validate() error { return nil } -// SetScte35Descriptors sets the Scte35Descriptors field's value. -func (s *Scte35TimeSignalScheduleActionSettings) SetScte35Descriptors(v []*Scte35Descriptor) *Scte35TimeSignalScheduleActionSettings { - s.Scte35Descriptors = v +// SetFadeOut sets the FadeOut field's value. +func (s *StaticImageOutputDeactivateScheduleActionSettings) SetFadeOut(v int64) *StaticImageOutputDeactivateScheduleActionSettings { + s.FadeOut = &v return s } -// Smpte Tt Destination Settings -type SmpteTtDestinationSettings struct { - _ struct{} `type:"structure"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s SmpteTtDestinationSettings) String() string { - return awsutil.Prettify(s) +// SetLayer sets the Layer field's value. +func (s *StaticImageOutputDeactivateScheduleActionSettings) SetLayer(v int64) *StaticImageOutputDeactivateScheduleActionSettings { + s.Layer = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s SmpteTtDestinationSettings) GoString() string { - return s.String() +// SetOutputNames sets the OutputNames field's value. +func (s *StaticImageOutputDeactivateScheduleActionSettings) SetOutputNames(v []*string) *StaticImageOutputDeactivateScheduleActionSettings { + s.OutputNames = v + return s } -// Standard Hls Settings -type StandardHlsSettings struct { +// Static Key Settings +type StaticKeySettings struct { _ struct{} `type:"structure"` - // List all the audio groups that are used with the video output stream. Input - // all the audio GROUP-IDs that are associated to the video, separate by ','. - AudioRenditionSets *string `locationName:"audioRenditionSets" type:"string"` + // The URL of the license server used for protecting content. + KeyProviderServer *InputLocation `locationName:"keyProviderServer" type:"structure"` - // Settings information for the .m3u8 container + // Static key value as a 32 character hexadecimal string. // - // M3u8Settings is a required field - M3u8Settings *M3u8Settings `locationName:"m3u8Settings" type:"structure" required:"true"` + // StaticKeyValue is a required field + StaticKeyValue *string `locationName:"staticKeyValue" min:"32" type:"string" required:"true"` } // String returns the string representation. @@ -30269,7 +38365,7 @@ type StandardHlsSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StandardHlsSettings) String() string { +func (s StaticKeySettings) String() string { return awsutil.Prettify(s) } @@ -30278,15 +38374,23 @@ func (s StandardHlsSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StandardHlsSettings) GoString() string { +func (s StaticKeySettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *StandardHlsSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "StandardHlsSettings"} - if s.M3u8Settings == nil { - invalidParams.Add(request.NewErrParamRequired("M3u8Settings")) +func (s *StaticKeySettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StaticKeySettings"} + if s.StaticKeyValue == nil { + invalidParams.Add(request.NewErrParamRequired("StaticKeyValue")) + } + if s.StaticKeyValue != nil && len(*s.StaticKeyValue) < 32 { + invalidParams.Add(request.NewErrParamMinLen("StaticKeyValue", 32)) + } + if s.KeyProviderServer != nil { + if err := s.KeyProviderServer.Validate(); err != nil { + invalidParams.AddNested("KeyProviderServer", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -30295,19 +38399,19 @@ func (s *StandardHlsSettings) Validate() error { return nil } -// SetAudioRenditionSets sets the AudioRenditionSets field's value. -func (s *StandardHlsSettings) SetAudioRenditionSets(v string) *StandardHlsSettings { - s.AudioRenditionSets = &v +// SetKeyProviderServer sets the KeyProviderServer field's value. +func (s *StaticKeySettings) SetKeyProviderServer(v *InputLocation) *StaticKeySettings { + s.KeyProviderServer = v return s } -// SetM3u8Settings sets the M3u8Settings field's value. -func (s *StandardHlsSettings) SetM3u8Settings(v *M3u8Settings) *StandardHlsSettings { - s.M3u8Settings = v +// SetStaticKeyValue sets the StaticKeyValue field's value. +func (s *StaticKeySettings) SetStaticKeyValue(v string) *StaticKeySettings { + s.StaticKeyValue = &v return s } -type StartChannelInput struct { +type StopChannelInput struct { _ struct{} `type:"structure" nopayload:"true"` // ChannelId is a required field @@ -30319,7 +38423,7 @@ type StartChannelInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StartChannelInput) String() string { +func (s StopChannelInput) String() string { return awsutil.Prettify(s) } @@ -30328,13 +38432,13 @@ func (s StartChannelInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StartChannelInput) GoString() string { +func (s StopChannelInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *StartChannelInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "StartChannelInput"} +func (s *StopChannelInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StopChannelInput"} if s.ChannelId == nil { invalidParams.Add(request.NewErrParamRequired("ChannelId")) } @@ -30349,12 +38453,12 @@ func (s *StartChannelInput) Validate() error { } // SetChannelId sets the ChannelId field's value. -func (s *StartChannelInput) SetChannelId(v string) *StartChannelInput { +func (s *StopChannelInput) SetChannelId(v string) *StopChannelInput { s.ChannelId = &v return s } -type StartChannelOutput struct { +type StopChannelOutput struct { _ struct{} `type:"structure"` Arn *string `locationName:"arn" type:"string"` @@ -30404,7 +38508,7 @@ type StartChannelOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StartChannelOutput) String() string { +func (s StopChannelOutput) String() string { return awsutil.Prettify(s) } @@ -30413,166 +38517,119 @@ func (s StartChannelOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StartChannelOutput) GoString() string { +func (s StopChannelOutput) GoString() string { return s.String() } // SetArn sets the Arn field's value. -func (s *StartChannelOutput) SetArn(v string) *StartChannelOutput { +func (s *StopChannelOutput) SetArn(v string) *StopChannelOutput { s.Arn = &v return s } // SetCdiInputSpecification sets the CdiInputSpecification field's value. -func (s *StartChannelOutput) SetCdiInputSpecification(v *CdiInputSpecification) *StartChannelOutput { +func (s *StopChannelOutput) SetCdiInputSpecification(v *CdiInputSpecification) *StopChannelOutput { s.CdiInputSpecification = v return s } // SetChannelClass sets the ChannelClass field's value. -func (s *StartChannelOutput) SetChannelClass(v string) *StartChannelOutput { +func (s *StopChannelOutput) SetChannelClass(v string) *StopChannelOutput { s.ChannelClass = &v return s } // SetDestinations sets the Destinations field's value. -func (s *StartChannelOutput) SetDestinations(v []*OutputDestination) *StartChannelOutput { +func (s *StopChannelOutput) SetDestinations(v []*OutputDestination) *StopChannelOutput { s.Destinations = v return s } // SetEgressEndpoints sets the EgressEndpoints field's value. -func (s *StartChannelOutput) SetEgressEndpoints(v []*ChannelEgressEndpoint) *StartChannelOutput { +func (s *StopChannelOutput) SetEgressEndpoints(v []*ChannelEgressEndpoint) *StopChannelOutput { s.EgressEndpoints = v return s } // SetEncoderSettings sets the EncoderSettings field's value. -func (s *StartChannelOutput) SetEncoderSettings(v *EncoderSettings) *StartChannelOutput { +func (s *StopChannelOutput) SetEncoderSettings(v *EncoderSettings) *StopChannelOutput { s.EncoderSettings = v return s } // SetId sets the Id field's value. -func (s *StartChannelOutput) SetId(v string) *StartChannelOutput { +func (s *StopChannelOutput) SetId(v string) *StopChannelOutput { s.Id = &v return s } // SetInputAttachments sets the InputAttachments field's value. -func (s *StartChannelOutput) SetInputAttachments(v []*InputAttachment) *StartChannelOutput { +func (s *StopChannelOutput) SetInputAttachments(v []*InputAttachment) *StopChannelOutput { s.InputAttachments = v return s } // SetInputSpecification sets the InputSpecification field's value. -func (s *StartChannelOutput) SetInputSpecification(v *InputSpecification) *StartChannelOutput { +func (s *StopChannelOutput) SetInputSpecification(v *InputSpecification) *StopChannelOutput { s.InputSpecification = v return s } // SetLogLevel sets the LogLevel field's value. -func (s *StartChannelOutput) SetLogLevel(v string) *StartChannelOutput { +func (s *StopChannelOutput) SetLogLevel(v string) *StopChannelOutput { s.LogLevel = &v return s } // SetMaintenance sets the Maintenance field's value. -func (s *StartChannelOutput) SetMaintenance(v *MaintenanceStatus) *StartChannelOutput { +func (s *StopChannelOutput) SetMaintenance(v *MaintenanceStatus) *StopChannelOutput { s.Maintenance = v return s } // SetName sets the Name field's value. -func (s *StartChannelOutput) SetName(v string) *StartChannelOutput { +func (s *StopChannelOutput) SetName(v string) *StopChannelOutput { s.Name = &v return s } // SetPipelineDetails sets the PipelineDetails field's value. -func (s *StartChannelOutput) SetPipelineDetails(v []*PipelineDetail) *StartChannelOutput { +func (s *StopChannelOutput) SetPipelineDetails(v []*PipelineDetail) *StopChannelOutput { s.PipelineDetails = v return s } // SetPipelinesRunningCount sets the PipelinesRunningCount field's value. -func (s *StartChannelOutput) SetPipelinesRunningCount(v int64) *StartChannelOutput { +func (s *StopChannelOutput) SetPipelinesRunningCount(v int64) *StopChannelOutput { s.PipelinesRunningCount = &v return s } // SetRoleArn sets the RoleArn field's value. -func (s *StartChannelOutput) SetRoleArn(v string) *StartChannelOutput { +func (s *StopChannelOutput) SetRoleArn(v string) *StopChannelOutput { s.RoleArn = &v return s } // SetState sets the State field's value. -func (s *StartChannelOutput) SetState(v string) *StartChannelOutput { +func (s *StopChannelOutput) SetState(v string) *StopChannelOutput { s.State = &v return s } // SetTags sets the Tags field's value. -func (s *StartChannelOutput) SetTags(v map[string]*string) *StartChannelOutput { +func (s *StopChannelOutput) SetTags(v map[string]*string) *StopChannelOutput { s.Tags = v return s } // SetVpc sets the Vpc field's value. -func (s *StartChannelOutput) SetVpc(v *VpcOutputSettingsDescription) *StartChannelOutput { +func (s *StopChannelOutput) SetVpc(v *VpcOutputSettingsDescription) *StopChannelOutput { s.Vpc = v return s } -type StartInputDeviceInput struct { - _ struct{} `type:"structure" nopayload:"true"` - - // InputDeviceId is a required field - InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s StartInputDeviceInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s StartInputDeviceInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *StartInputDeviceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "StartInputDeviceInput"} - if s.InputDeviceId == nil { - invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) - } - if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetInputDeviceId sets the InputDeviceId field's value. -func (s *StartInputDeviceInput) SetInputDeviceId(v string) *StartInputDeviceInput { - s.InputDeviceId = &v - return s -} - -type StartInputDeviceMaintenanceWindowInput struct { +type StopInputDeviceInput struct { _ struct{} `type:"structure" nopayload:"true"` // InputDeviceId is a required field @@ -30584,7 +38641,7 @@ type StartInputDeviceMaintenanceWindowInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StartInputDeviceMaintenanceWindowInput) String() string { +func (s StopInputDeviceInput) String() string { return awsutil.Prettify(s) } @@ -30593,13 +38650,13 @@ func (s StartInputDeviceMaintenanceWindowInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StartInputDeviceMaintenanceWindowInput) GoString() string { +func (s StopInputDeviceInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *StartInputDeviceMaintenanceWindowInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "StartInputDeviceMaintenanceWindowInput"} +func (s *StopInputDeviceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StopInputDeviceInput"} if s.InputDeviceId == nil { invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) } @@ -30614,34 +38671,12 @@ func (s *StartInputDeviceMaintenanceWindowInput) Validate() error { } // SetInputDeviceId sets the InputDeviceId field's value. -func (s *StartInputDeviceMaintenanceWindowInput) SetInputDeviceId(v string) *StartInputDeviceMaintenanceWindowInput { +func (s *StopInputDeviceInput) SetInputDeviceId(v string) *StopInputDeviceInput { s.InputDeviceId = &v return s } -type StartInputDeviceMaintenanceWindowOutput struct { - _ struct{} `type:"structure"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s StartInputDeviceMaintenanceWindowOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s StartInputDeviceMaintenanceWindowOutput) GoString() string { - return s.String() -} - -type StartInputDeviceOutput struct { +type StopInputDeviceOutput struct { _ struct{} `type:"structure"` } @@ -30650,7 +38685,7 @@ type StartInputDeviceOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StartInputDeviceOutput) String() string { +func (s StopInputDeviceOutput) String() string { return awsutil.Prettify(s) } @@ -30659,11 +38694,11 @@ func (s StartInputDeviceOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StartInputDeviceOutput) GoString() string { +func (s StopInputDeviceOutput) GoString() string { return s.String() } -type StartMultiplexInput struct { +type StopMultiplexInput struct { _ struct{} `type:"structure" nopayload:"true"` // MultiplexId is a required field @@ -30675,7 +38710,7 @@ type StartMultiplexInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StartMultiplexInput) String() string { +func (s StopMultiplexInput) String() string { return awsutil.Prettify(s) } @@ -30684,13 +38719,13 @@ func (s StartMultiplexInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StartMultiplexInput) GoString() string { +func (s StopMultiplexInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *StartMultiplexInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "StartMultiplexInput"} +func (s *StopMultiplexInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StopMultiplexInput"} if s.MultiplexId == nil { invalidParams.Add(request.NewErrParamRequired("MultiplexId")) } @@ -30705,12 +38740,12 @@ func (s *StartMultiplexInput) Validate() error { } // SetMultiplexId sets the MultiplexId field's value. -func (s *StartMultiplexInput) SetMultiplexId(v string) *StartMultiplexInput { +func (s *StopMultiplexInput) SetMultiplexId(v string) *StopMultiplexInput { s.MultiplexId = &v return s } -type StartMultiplexOutput struct { +type StopMultiplexOutput struct { _ struct{} `type:"structure"` Arn *string `locationName:"arn" type:"string"` @@ -30721,395 +38756,19 @@ type StartMultiplexOutput struct { Id *string `locationName:"id" type:"string"` - // Contains configuration for a Multiplex event - MultiplexSettings *MultiplexSettings `locationName:"multiplexSettings" type:"structure"` - - Name *string `locationName:"name" type:"string"` - - PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` - - ProgramCount *int64 `locationName:"programCount" type:"integer"` - - // The current state of the multiplex. - State *string `locationName:"state" type:"string" enum:"MultiplexState"` - - Tags map[string]*string `locationName:"tags" type:"map"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s StartMultiplexOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s StartMultiplexOutput) GoString() string { - return s.String() -} - -// SetArn sets the Arn field's value. -func (s *StartMultiplexOutput) SetArn(v string) *StartMultiplexOutput { - s.Arn = &v - return s -} - -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *StartMultiplexOutput) SetAvailabilityZones(v []*string) *StartMultiplexOutput { - s.AvailabilityZones = v - return s -} - -// SetDestinations sets the Destinations field's value. -func (s *StartMultiplexOutput) SetDestinations(v []*MultiplexOutputDestination) *StartMultiplexOutput { - s.Destinations = v - return s -} - -// SetId sets the Id field's value. -func (s *StartMultiplexOutput) SetId(v string) *StartMultiplexOutput { - s.Id = &v - return s -} - -// SetMultiplexSettings sets the MultiplexSettings field's value. -func (s *StartMultiplexOutput) SetMultiplexSettings(v *MultiplexSettings) *StartMultiplexOutput { - s.MultiplexSettings = v - return s -} - -// SetName sets the Name field's value. -func (s *StartMultiplexOutput) SetName(v string) *StartMultiplexOutput { - s.Name = &v - return s -} - -// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. -func (s *StartMultiplexOutput) SetPipelinesRunningCount(v int64) *StartMultiplexOutput { - s.PipelinesRunningCount = &v - return s -} - -// SetProgramCount sets the ProgramCount field's value. -func (s *StartMultiplexOutput) SetProgramCount(v int64) *StartMultiplexOutput { - s.ProgramCount = &v - return s -} - -// SetState sets the State field's value. -func (s *StartMultiplexOutput) SetState(v string) *StartMultiplexOutput { - s.State = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *StartMultiplexOutput) SetTags(v map[string]*string) *StartMultiplexOutput { - s.Tags = v - return s -} - -// Settings to identify the start of the clip. -type StartTimecode struct { - _ struct{} `type:"structure"` - - // The timecode for the frame where you want to start the clip. Optional; if - // not specified, the clip starts at first frame in the file. Enter the timecode - // as HH:MM:SS:FF or HH:MM:SS;FF. - Timecode *string `locationName:"timecode" type:"string"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s StartTimecode) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s StartTimecode) GoString() string { - return s.String() -} - -// SetTimecode sets the Timecode field's value. -func (s *StartTimecode) SetTimecode(v string) *StartTimecode { - s.Timecode = &v - return s -} - -// Settings for the action to activate a static image. -type StaticImageActivateScheduleActionSettings struct { - _ struct{} `type:"structure"` - - // The duration in milliseconds for the image to remain on the video. If omitted - // or set to 0 the duration is unlimited and the image will remain until it - // is explicitly deactivated. - Duration *int64 `locationName:"duration" type:"integer"` - - // The time in milliseconds for the image to fade in. The fade-in starts at - // the start time of the overlay. Default is 0 (no fade-in). - FadeIn *int64 `locationName:"fadeIn" type:"integer"` - - // Applies only if a duration is specified. The time in milliseconds for the - // image to fade out. The fade-out starts when the duration time is hit, so - // it effectively extends the duration. Default is 0 (no fade-out). - FadeOut *int64 `locationName:"fadeOut" type:"integer"` - - // The height of the image when inserted into the video, in pixels. The overlay - // will be scaled up or down to the specified height. Leave blank to use the - // native height of the overlay. - Height *int64 `locationName:"height" min:"1" type:"integer"` - - // The location and filename of the image file to overlay on the video. The - // file must be a 32-bit BMP, PNG, or TGA file, and must not be larger (in pixels) - // than the input video. - // - // Image is a required field - Image *InputLocation `locationName:"image" type:"structure" required:"true"` - - // Placement of the left edge of the overlay relative to the left edge of the - // video frame, in pixels. 0 (the default) is the left edge of the frame. If - // the placement causes the overlay to extend beyond the right edge of the underlying - // video, then the overlay is cropped on the right. - ImageX *int64 `locationName:"imageX" type:"integer"` - - // Placement of the top edge of the overlay relative to the top edge of the - // video frame, in pixels. 0 (the default) is the top edge of the frame. If - // the placement causes the overlay to extend beyond the bottom edge of the - // underlying video, then the overlay is cropped on the bottom. - ImageY *int64 `locationName:"imageY" type:"integer"` - - // The number of the layer, 0 to 7. There are 8 layers that can be overlaid - // on the video, each layer with a different image. The layers are in Z order, - // which means that overlays with higher values of layer are inserted on top - // of overlays with lower values of layer. Default is 0. - Layer *int64 `locationName:"layer" type:"integer"` - - // Opacity of image where 0 is transparent and 100 is fully opaque. Default - // is 100. - Opacity *int64 `locationName:"opacity" type:"integer"` - - // The width of the image when inserted into the video, in pixels. The overlay - // will be scaled up or down to the specified width. Leave blank to use the - // native width of the overlay. - Width *int64 `locationName:"width" min:"1" type:"integer"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s StaticImageActivateScheduleActionSettings) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s StaticImageActivateScheduleActionSettings) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *StaticImageActivateScheduleActionSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "StaticImageActivateScheduleActionSettings"} - if s.Height != nil && *s.Height < 1 { - invalidParams.Add(request.NewErrParamMinValue("Height", 1)) - } - if s.Image == nil { - invalidParams.Add(request.NewErrParamRequired("Image")) - } - if s.Width != nil && *s.Width < 1 { - invalidParams.Add(request.NewErrParamMinValue("Width", 1)) - } - if s.Image != nil { - if err := s.Image.Validate(); err != nil { - invalidParams.AddNested("Image", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetDuration sets the Duration field's value. -func (s *StaticImageActivateScheduleActionSettings) SetDuration(v int64) *StaticImageActivateScheduleActionSettings { - s.Duration = &v - return s -} - -// SetFadeIn sets the FadeIn field's value. -func (s *StaticImageActivateScheduleActionSettings) SetFadeIn(v int64) *StaticImageActivateScheduleActionSettings { - s.FadeIn = &v - return s -} - -// SetFadeOut sets the FadeOut field's value. -func (s *StaticImageActivateScheduleActionSettings) SetFadeOut(v int64) *StaticImageActivateScheduleActionSettings { - s.FadeOut = &v - return s -} - -// SetHeight sets the Height field's value. -func (s *StaticImageActivateScheduleActionSettings) SetHeight(v int64) *StaticImageActivateScheduleActionSettings { - s.Height = &v - return s -} - -// SetImage sets the Image field's value. -func (s *StaticImageActivateScheduleActionSettings) SetImage(v *InputLocation) *StaticImageActivateScheduleActionSettings { - s.Image = v - return s -} - -// SetImageX sets the ImageX field's value. -func (s *StaticImageActivateScheduleActionSettings) SetImageX(v int64) *StaticImageActivateScheduleActionSettings { - s.ImageX = &v - return s -} - -// SetImageY sets the ImageY field's value. -func (s *StaticImageActivateScheduleActionSettings) SetImageY(v int64) *StaticImageActivateScheduleActionSettings { - s.ImageY = &v - return s -} - -// SetLayer sets the Layer field's value. -func (s *StaticImageActivateScheduleActionSettings) SetLayer(v int64) *StaticImageActivateScheduleActionSettings { - s.Layer = &v - return s -} - -// SetOpacity sets the Opacity field's value. -func (s *StaticImageActivateScheduleActionSettings) SetOpacity(v int64) *StaticImageActivateScheduleActionSettings { - s.Opacity = &v - return s -} - -// SetWidth sets the Width field's value. -func (s *StaticImageActivateScheduleActionSettings) SetWidth(v int64) *StaticImageActivateScheduleActionSettings { - s.Width = &v - return s -} - -// Settings for the action to deactivate the image in a specific layer. -type StaticImageDeactivateScheduleActionSettings struct { - _ struct{} `type:"structure"` - - // The time in milliseconds for the image to fade out. Default is 0 (no fade-out). - FadeOut *int64 `locationName:"fadeOut" type:"integer"` - - // The image overlay layer to deactivate, 0 to 7. Default is 0. - Layer *int64 `locationName:"layer" type:"integer"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s StaticImageDeactivateScheduleActionSettings) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s StaticImageDeactivateScheduleActionSettings) GoString() string { - return s.String() -} - -// SetFadeOut sets the FadeOut field's value. -func (s *StaticImageDeactivateScheduleActionSettings) SetFadeOut(v int64) *StaticImageDeactivateScheduleActionSettings { - s.FadeOut = &v - return s -} - -// SetLayer sets the Layer field's value. -func (s *StaticImageDeactivateScheduleActionSettings) SetLayer(v int64) *StaticImageDeactivateScheduleActionSettings { - s.Layer = &v - return s -} - -// Settings for the action to activate a static image. -type StaticImageOutputActivateScheduleActionSettings struct { - _ struct{} `type:"structure"` - - // The duration in milliseconds for the image to remain on the video. If omitted - // or set to 0 the duration is unlimited and the image will remain until it - // is explicitly deactivated. - Duration *int64 `locationName:"duration" type:"integer"` - - // The time in milliseconds for the image to fade in. The fade-in starts at - // the start time of the overlay. Default is 0 (no fade-in). - FadeIn *int64 `locationName:"fadeIn" type:"integer"` - - // Applies only if a duration is specified. The time in milliseconds for the - // image to fade out. The fade-out starts when the duration time is hit, so - // it effectively extends the duration. Default is 0 (no fade-out). - FadeOut *int64 `locationName:"fadeOut" type:"integer"` - - // The height of the image when inserted into the video, in pixels. The overlay - // will be scaled up or down to the specified height. Leave blank to use the - // native height of the overlay. - Height *int64 `locationName:"height" min:"1" type:"integer"` - - // The location and filename of the image file to overlay on the video. The - // file must be a 32-bit BMP, PNG, or TGA file, and must not be larger (in pixels) - // than the input video. - // - // Image is a required field - Image *InputLocation `locationName:"image" type:"structure" required:"true"` - - // Placement of the left edge of the overlay relative to the left edge of the - // video frame, in pixels. 0 (the default) is the left edge of the frame. If - // the placement causes the overlay to extend beyond the right edge of the underlying - // video, then the overlay is cropped on the right. - ImageX *int64 `locationName:"imageX" type:"integer"` + // Contains configuration for a Multiplex event + MultiplexSettings *MultiplexSettings `locationName:"multiplexSettings" type:"structure"` - // Placement of the top edge of the overlay relative to the top edge of the - // video frame, in pixels. 0 (the default) is the top edge of the frame. If - // the placement causes the overlay to extend beyond the bottom edge of the - // underlying video, then the overlay is cropped on the bottom. - ImageY *int64 `locationName:"imageY" type:"integer"` + Name *string `locationName:"name" type:"string"` - // The number of the layer, 0 to 7. There are 8 layers that can be overlaid - // on the video, each layer with a different image. The layers are in Z order, - // which means that overlays with higher values of layer are inserted on top - // of overlays with lower values of layer. Default is 0. - Layer *int64 `locationName:"layer" type:"integer"` + PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` - // Opacity of image where 0 is transparent and 100 is fully opaque. Default - // is 100. - Opacity *int64 `locationName:"opacity" type:"integer"` + ProgramCount *int64 `locationName:"programCount" type:"integer"` - // The name(s) of the output(s) the activation should apply to. - // - // OutputNames is a required field - OutputNames []*string `locationName:"outputNames" type:"list" required:"true"` + // The current state of the multiplex. + State *string `locationName:"state" type:"string" enum:"MultiplexState"` - // The width of the image when inserted into the video, in pixels. The overlay - // will be scaled up or down to the specified width. Leave blank to use the - // native width of the overlay. - Width *int64 `locationName:"width" min:"1" type:"integer"` + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -31117,7 +38776,7 @@ type StaticImageOutputActivateScheduleActionSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StaticImageOutputActivateScheduleActionSettings) String() string { +func (s StopMultiplexOutput) String() string { return awsutil.Prettify(s) } @@ -31126,117 +38785,128 @@ func (s StaticImageOutputActivateScheduleActionSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StaticImageOutputActivateScheduleActionSettings) GoString() string { +func (s StopMultiplexOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *StaticImageOutputActivateScheduleActionSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "StaticImageOutputActivateScheduleActionSettings"} - if s.Height != nil && *s.Height < 1 { - invalidParams.Add(request.NewErrParamMinValue("Height", 1)) - } - if s.Image == nil { - invalidParams.Add(request.NewErrParamRequired("Image")) - } - if s.OutputNames == nil { - invalidParams.Add(request.NewErrParamRequired("OutputNames")) - } - if s.Width != nil && *s.Width < 1 { - invalidParams.Add(request.NewErrParamMinValue("Width", 1)) - } - if s.Image != nil { - if err := s.Image.Validate(); err != nil { - invalidParams.AddNested("Image", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetArn sets the Arn field's value. +func (s *StopMultiplexOutput) SetArn(v string) *StopMultiplexOutput { + s.Arn = &v + return s } -// SetDuration sets the Duration field's value. -func (s *StaticImageOutputActivateScheduleActionSettings) SetDuration(v int64) *StaticImageOutputActivateScheduleActionSettings { - s.Duration = &v +// SetAvailabilityZones sets the AvailabilityZones field's value. +func (s *StopMultiplexOutput) SetAvailabilityZones(v []*string) *StopMultiplexOutput { + s.AvailabilityZones = v return s } -// SetFadeIn sets the FadeIn field's value. -func (s *StaticImageOutputActivateScheduleActionSettings) SetFadeIn(v int64) *StaticImageOutputActivateScheduleActionSettings { - s.FadeIn = &v +// SetDestinations sets the Destinations field's value. +func (s *StopMultiplexOutput) SetDestinations(v []*MultiplexOutputDestination) *StopMultiplexOutput { + s.Destinations = v return s } -// SetFadeOut sets the FadeOut field's value. -func (s *StaticImageOutputActivateScheduleActionSettings) SetFadeOut(v int64) *StaticImageOutputActivateScheduleActionSettings { - s.FadeOut = &v +// SetId sets the Id field's value. +func (s *StopMultiplexOutput) SetId(v string) *StopMultiplexOutput { + s.Id = &v return s } -// SetHeight sets the Height field's value. -func (s *StaticImageOutputActivateScheduleActionSettings) SetHeight(v int64) *StaticImageOutputActivateScheduleActionSettings { - s.Height = &v +// SetMultiplexSettings sets the MultiplexSettings field's value. +func (s *StopMultiplexOutput) SetMultiplexSettings(v *MultiplexSettings) *StopMultiplexOutput { + s.MultiplexSettings = v return s } -// SetImage sets the Image field's value. -func (s *StaticImageOutputActivateScheduleActionSettings) SetImage(v *InputLocation) *StaticImageOutputActivateScheduleActionSettings { - s.Image = v +// SetName sets the Name field's value. +func (s *StopMultiplexOutput) SetName(v string) *StopMultiplexOutput { + s.Name = &v return s } -// SetImageX sets the ImageX field's value. -func (s *StaticImageOutputActivateScheduleActionSettings) SetImageX(v int64) *StaticImageOutputActivateScheduleActionSettings { - s.ImageX = &v +// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. +func (s *StopMultiplexOutput) SetPipelinesRunningCount(v int64) *StopMultiplexOutput { + s.PipelinesRunningCount = &v return s } -// SetImageY sets the ImageY field's value. -func (s *StaticImageOutputActivateScheduleActionSettings) SetImageY(v int64) *StaticImageOutputActivateScheduleActionSettings { - s.ImageY = &v +// SetProgramCount sets the ProgramCount field's value. +func (s *StopMultiplexOutput) SetProgramCount(v int64) *StopMultiplexOutput { + s.ProgramCount = &v return s } -// SetLayer sets the Layer field's value. -func (s *StaticImageOutputActivateScheduleActionSettings) SetLayer(v int64) *StaticImageOutputActivateScheduleActionSettings { - s.Layer = &v +// SetState sets the State field's value. +func (s *StopMultiplexOutput) SetState(v string) *StopMultiplexOutput { + s.State = &v return s } -// SetOpacity sets the Opacity field's value. -func (s *StaticImageOutputActivateScheduleActionSettings) SetOpacity(v int64) *StaticImageOutputActivateScheduleActionSettings { - s.Opacity = &v +// SetTags sets the Tags field's value. +func (s *StopMultiplexOutput) SetTags(v map[string]*string) *StopMultiplexOutput { + s.Tags = v return s } -// SetOutputNames sets the OutputNames field's value. -func (s *StaticImageOutputActivateScheduleActionSettings) SetOutputNames(v []*string) *StaticImageOutputActivateScheduleActionSettings { - s.OutputNames = v +// Settings to identify the end of the clip. +type StopTimecode struct { + _ struct{} `type:"structure"` + + // If you specify a StopTimecode in an input (in order to clip the file), you + // can specify if you want the clip to exclude (the default) or include the + // frame specified by the timecode. + LastFrameClippingBehavior *string `locationName:"lastFrameClippingBehavior" type:"string" enum:"LastFrameClippingBehavior"` + + // The timecode for the frame where you want to stop the clip. Optional; if + // not specified, the clip continues to the end of the file. Enter the timecode + // as HH:MM:SS:FF or HH:MM:SS;FF. + Timecode *string `locationName:"timecode" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StopTimecode) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StopTimecode) GoString() string { + return s.String() +} + +// SetLastFrameClippingBehavior sets the LastFrameClippingBehavior field's value. +func (s *StopTimecode) SetLastFrameClippingBehavior(v string) *StopTimecode { + s.LastFrameClippingBehavior = &v return s } -// SetWidth sets the Width field's value. -func (s *StaticImageOutputActivateScheduleActionSettings) SetWidth(v int64) *StaticImageOutputActivateScheduleActionSettings { - s.Width = &v +// SetTimecode sets the Timecode field's value. +func (s *StopTimecode) SetTimecode(v string) *StopTimecode { + s.Timecode = &v return s } -// Settings for the action to deactivate the image in a specific layer. -type StaticImageOutputDeactivateScheduleActionSettings struct { +// Represents the latest successful monitor deployment of a signal map. +type SuccessfulMonitorDeployment struct { _ struct{} `type:"structure"` - // The time in milliseconds for the image to fade out. Default is 0 (no fade-out). - FadeOut *int64 `locationName:"fadeOut" type:"integer"` - - // The image overlay layer to deactivate, 0 to 7. Default is 0. - Layer *int64 `locationName:"layer" type:"integer"` + // URI associated with a signal map's monitor deployment. + // + // DetailsUri is a required field + DetailsUri *string `locationName:"detailsUri" min:"1" type:"string" required:"true"` - // The name(s) of the output(s) the deactivation should apply to. + // A signal map's monitor deployment status. // - // OutputNames is a required field - OutputNames []*string `locationName:"outputNames" type:"list" required:"true"` + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"SignalMapMonitorDeploymentStatus"` } // String returns the string representation. @@ -31244,7 +38914,7 @@ type StaticImageOutputDeactivateScheduleActionSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StaticImageOutputDeactivateScheduleActionSettings) String() string { +func (s SuccessfulMonitorDeployment) String() string { return awsutil.Prettify(s) } @@ -31253,52 +38923,56 @@ func (s StaticImageOutputDeactivateScheduleActionSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StaticImageOutputDeactivateScheduleActionSettings) GoString() string { +func (s SuccessfulMonitorDeployment) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *StaticImageOutputDeactivateScheduleActionSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "StaticImageOutputDeactivateScheduleActionSettings"} - if s.OutputNames == nil { - invalidParams.Add(request.NewErrParamRequired("OutputNames")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetDetailsUri sets the DetailsUri field's value. +func (s *SuccessfulMonitorDeployment) SetDetailsUri(v string) *SuccessfulMonitorDeployment { + s.DetailsUri = &v + return s } -// SetFadeOut sets the FadeOut field's value. -func (s *StaticImageOutputDeactivateScheduleActionSettings) SetFadeOut(v int64) *StaticImageOutputDeactivateScheduleActionSettings { - s.FadeOut = &v +// SetStatus sets the Status field's value. +func (s *SuccessfulMonitorDeployment) SetStatus(v string) *SuccessfulMonitorDeployment { + s.Status = &v return s } -// SetLayer sets the Layer field's value. -func (s *StaticImageOutputDeactivateScheduleActionSettings) SetLayer(v int64) *StaticImageOutputDeactivateScheduleActionSettings { - s.Layer = &v - return s +// Teletext Destination Settings +type TeletextDestinationSettings struct { + _ struct{} `type:"structure"` } -// SetOutputNames sets the OutputNames field's value. -func (s *StaticImageOutputDeactivateScheduleActionSettings) SetOutputNames(v []*string) *StaticImageOutputDeactivateScheduleActionSettings { - s.OutputNames = v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TeletextDestinationSettings) String() string { + return awsutil.Prettify(s) } -// Static Key Settings -type StaticKeySettings struct { +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TeletextDestinationSettings) GoString() string { + return s.String() +} + +// Teletext Source Settings +type TeletextSourceSettings struct { _ struct{} `type:"structure"` - // The URL of the license server used for protecting content. - KeyProviderServer *InputLocation `locationName:"keyProviderServer" type:"structure"` + // Optionally defines a region where TTML style captions will be displayed + OutputRectangle *CaptionRectangle `locationName:"outputRectangle" type:"structure"` - // Static key value as a 32 character hexadecimal string. - // - // StaticKeyValue is a required field - StaticKeyValue *string `locationName:"staticKeyValue" min:"32" type:"string" required:"true"` + // Specifies the teletext page number within the data stream from which to extract + // captions. Range of 0x100 (256) to 0x8FF (2303). Unused for passthrough. Should + // be specified as a hexadecimal string with no "0x" prefix. + PageNumber *string `locationName:"pageNumber" type:"string"` } // String returns the string representation. @@ -31306,7 +38980,7 @@ type StaticKeySettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StaticKeySettings) String() string { +func (s TeletextSourceSettings) String() string { return awsutil.Prettify(s) } @@ -31315,22 +38989,16 @@ func (s StaticKeySettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StaticKeySettings) GoString() string { +func (s TeletextSourceSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *StaticKeySettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "StaticKeySettings"} - if s.StaticKeyValue == nil { - invalidParams.Add(request.NewErrParamRequired("StaticKeyValue")) - } - if s.StaticKeyValue != nil && len(*s.StaticKeyValue) < 32 { - invalidParams.Add(request.NewErrParamMinLen("StaticKeyValue", 32)) - } - if s.KeyProviderServer != nil { - if err := s.KeyProviderServer.Validate(); err != nil { - invalidParams.AddNested("KeyProviderServer", err.(request.ErrInvalidParams)) +func (s *TeletextSourceSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TeletextSourceSettings"} + if s.OutputRectangle != nil { + if err := s.OutputRectangle.Validate(); err != nil { + invalidParams.AddNested("OutputRectangle", err.(request.ErrInvalidParams)) } } @@ -31340,23 +39008,31 @@ func (s *StaticKeySettings) Validate() error { return nil } -// SetKeyProviderServer sets the KeyProviderServer field's value. -func (s *StaticKeySettings) SetKeyProviderServer(v *InputLocation) *StaticKeySettings { - s.KeyProviderServer = v +// SetOutputRectangle sets the OutputRectangle field's value. +func (s *TeletextSourceSettings) SetOutputRectangle(v *CaptionRectangle) *TeletextSourceSettings { + s.OutputRectangle = v return s } -// SetStaticKeyValue sets the StaticKeyValue field's value. -func (s *StaticKeySettings) SetStaticKeyValue(v string) *StaticKeySettings { - s.StaticKeyValue = &v +// SetPageNumber sets the PageNumber field's value. +func (s *TeletextSourceSettings) SetPageNumber(v string) *TeletextSourceSettings { + s.PageNumber = &v return s } -type StopChannelInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// Temporal Filter Settings +type TemporalFilterSettings struct { + _ struct{} `type:"structure"` - // ChannelId is a required field - ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` + // If you enable this filter, the results are the following:- If the source + // content is noisy (it contains excessive digital artifacts), the filter cleans + // up the source.- If the source content is already clean, the filter tends + // to decrease the bitrate, especially when the rate control mode is QVBR. + PostFilterSharpening *string `locationName:"postFilterSharpening" type:"string" enum:"TemporalFilterPostFilterSharpening"` + + // Choose a filter strength. We recommend a strength of 1 or 2. A higher strength + // might take out good information, resulting in an image that is overly soft. + Strength *string `locationName:"strength" type:"string" enum:"TemporalFilterStrength"` } // String returns the string representation. @@ -31364,7 +39040,7 @@ type StopChannelInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StopChannelInput) String() string { +func (s TemporalFilterSettings) String() string { return awsutil.Prettify(s) } @@ -31373,75 +39049,36 @@ func (s StopChannelInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StopChannelInput) GoString() string { +func (s TemporalFilterSettings) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *StopChannelInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "StopChannelInput"} - if s.ChannelId == nil { - invalidParams.Add(request.NewErrParamRequired("ChannelId")) - } - if s.ChannelId != nil && len(*s.ChannelId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetPostFilterSharpening sets the PostFilterSharpening field's value. +func (s *TemporalFilterSettings) SetPostFilterSharpening(v string) *TemporalFilterSettings { + s.PostFilterSharpening = &v + return s } -// SetChannelId sets the ChannelId field's value. -func (s *StopChannelInput) SetChannelId(v string) *StopChannelInput { - s.ChannelId = &v +// SetStrength sets the Strength field's value. +func (s *TemporalFilterSettings) SetStrength(v string) *TemporalFilterSettings { + s.Strength = &v return s } -type StopChannelOutput struct { +// Details of a single thumbnail +type Thumbnail struct { _ struct{} `type:"structure"` - Arn *string `locationName:"arn" type:"string"` - - CdiInputSpecification *CdiInputSpecification `locationName:"cdiInputSpecification" type:"structure"` - - // A standard channel has two encoding pipelines and a single pipeline channel - // only has one. - ChannelClass *string `locationName:"channelClass" type:"string" enum:"ChannelClass"` - - Destinations []*OutputDestination `locationName:"destinations" type:"list"` - - EgressEndpoints []*ChannelEgressEndpoint `locationName:"egressEndpoints" type:"list"` - - // Encoder Settings - EncoderSettings *EncoderSettings `locationName:"encoderSettings" type:"structure"` - - Id *string `locationName:"id" type:"string"` - - InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` - - InputSpecification *InputSpecification `locationName:"inputSpecification" type:"structure"` - - // The log level the user wants for their channel. - LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` - - Maintenance *MaintenanceStatus `locationName:"maintenance" type:"structure"` - - Name *string `locationName:"name" type:"string"` - - PipelineDetails []*PipelineDetail `locationName:"pipelineDetails" type:"list"` - - PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` - - RoleArn *string `locationName:"roleArn" type:"string"` + // The binary data for the latest thumbnail. + Body *string `locationName:"body" type:"string"` - State *string `locationName:"state" type:"string" enum:"ChannelState"` + // The content type for the latest thumbnail. + ContentType *string `locationName:"contentType" type:"string"` - Tags map[string]*string `locationName:"tags" type:"map"` + // Thumbnail Type + ThumbnailType *string `locationName:"thumbnailType" type:"string" enum:"ThumbnailType"` - // The properties for a private VPC Output - Vpc *VpcOutputSettingsDescription `locationName:"vpc" type:"structure"` + TimeStamp *time.Time `locationName:"timeStamp" type:"timestamp" timestampFormat:"iso8601"` } // String returns the string representation. @@ -31449,7 +39086,7 @@ type StopChannelOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StopChannelOutput) String() string { +func (s Thumbnail) String() string { return awsutil.Prettify(s) } @@ -31458,123 +39095,140 @@ func (s StopChannelOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StopChannelOutput) GoString() string { +func (s Thumbnail) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *StopChannelOutput) SetArn(v string) *StopChannelOutput { - s.Arn = &v +// SetBody sets the Body field's value. +func (s *Thumbnail) SetBody(v string) *Thumbnail { + s.Body = &v return s } -// SetCdiInputSpecification sets the CdiInputSpecification field's value. -func (s *StopChannelOutput) SetCdiInputSpecification(v *CdiInputSpecification) *StopChannelOutput { - s.CdiInputSpecification = v +// SetContentType sets the ContentType field's value. +func (s *Thumbnail) SetContentType(v string) *Thumbnail { + s.ContentType = &v return s } -// SetChannelClass sets the ChannelClass field's value. -func (s *StopChannelOutput) SetChannelClass(v string) *StopChannelOutput { - s.ChannelClass = &v +// SetThumbnailType sets the ThumbnailType field's value. +func (s *Thumbnail) SetThumbnailType(v string) *Thumbnail { + s.ThumbnailType = &v return s } -// SetDestinations sets the Destinations field's value. -func (s *StopChannelOutput) SetDestinations(v []*OutputDestination) *StopChannelOutput { - s.Destinations = v +// SetTimeStamp sets the TimeStamp field's value. +func (s *Thumbnail) SetTimeStamp(v time.Time) *Thumbnail { + s.TimeStamp = &v return s } -// SetEgressEndpoints sets the EgressEndpoints field's value. -func (s *StopChannelOutput) SetEgressEndpoints(v []*ChannelEgressEndpoint) *StopChannelOutput { - s.EgressEndpoints = v - return s -} +// Thumbnail Configuration +type ThumbnailConfiguration struct { + _ struct{} `type:"structure"` -// SetEncoderSettings sets the EncoderSettings field's value. -func (s *StopChannelOutput) SetEncoderSettings(v *EncoderSettings) *StopChannelOutput { - s.EncoderSettings = v - return s + // Enables the thumbnail feature. The feature generates thumbnails of the incoming + // video in each pipeline in the channel. AUTO turns the feature on, DISABLE + // turns the feature off. + // + // State is a required field + State *string `locationName:"state" type:"string" required:"true" enum:"ThumbnailState"` } -// SetId sets the Id field's value. -func (s *StopChannelOutput) SetId(v string) *StopChannelOutput { - s.Id = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ThumbnailConfiguration) String() string { + return awsutil.Prettify(s) } -// SetInputAttachments sets the InputAttachments field's value. -func (s *StopChannelOutput) SetInputAttachments(v []*InputAttachment) *StopChannelOutput { - s.InputAttachments = v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ThumbnailConfiguration) GoString() string { + return s.String() } -// SetInputSpecification sets the InputSpecification field's value. -func (s *StopChannelOutput) SetInputSpecification(v *InputSpecification) *StopChannelOutput { - s.InputSpecification = v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *ThumbnailConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ThumbnailConfiguration"} + if s.State == nil { + invalidParams.Add(request.NewErrParamRequired("State")) + } -// SetLogLevel sets the LogLevel field's value. -func (s *StopChannelOutput) SetLogLevel(v string) *StopChannelOutput { - s.LogLevel = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetMaintenance sets the Maintenance field's value. -func (s *StopChannelOutput) SetMaintenance(v *MaintenanceStatus) *StopChannelOutput { - s.Maintenance = v +// SetState sets the State field's value. +func (s *ThumbnailConfiguration) SetState(v string) *ThumbnailConfiguration { + s.State = &v return s } -// SetName sets the Name field's value. -func (s *StopChannelOutput) SetName(v string) *StopChannelOutput { - s.Name = &v - return s -} +// Thumbnail details for one pipeline of a running channel. +type ThumbnailDetail struct { + _ struct{} `type:"structure"` -// SetPipelineDetails sets the PipelineDetails field's value. -func (s *StopChannelOutput) SetPipelineDetails(v []*PipelineDetail) *StopChannelOutput { - s.PipelineDetails = v - return s -} + // Pipeline ID + PipelineId *string `locationName:"pipelineId" type:"string"` -// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. -func (s *StopChannelOutput) SetPipelinesRunningCount(v int64) *StopChannelOutput { - s.PipelinesRunningCount = &v - return s + // thumbnails of a single pipeline + Thumbnails []*Thumbnail `locationName:"thumbnails" type:"list"` } -// SetRoleArn sets the RoleArn field's value. -func (s *StopChannelOutput) SetRoleArn(v string) *StopChannelOutput { - s.RoleArn = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ThumbnailDetail) String() string { + return awsutil.Prettify(s) } -// SetState sets the State field's value. -func (s *StopChannelOutput) SetState(v string) *StopChannelOutput { - s.State = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ThumbnailDetail) GoString() string { + return s.String() } -// SetTags sets the Tags field's value. -func (s *StopChannelOutput) SetTags(v map[string]*string) *StopChannelOutput { - s.Tags = v +// SetPipelineId sets the PipelineId field's value. +func (s *ThumbnailDetail) SetPipelineId(v string) *ThumbnailDetail { + s.PipelineId = &v return s } -// SetVpc sets the Vpc field's value. -func (s *StopChannelOutput) SetVpc(v *VpcOutputSettingsDescription) *StopChannelOutput { - s.Vpc = v +// SetThumbnails sets the Thumbnails field's value. +func (s *ThumbnailDetail) SetThumbnails(v []*Thumbnail) *ThumbnailDetail { + s.Thumbnails = v return s } -type StopInputDeviceInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// Timecode Burnin Settings +type TimecodeBurninSettings struct { + _ struct{} `type:"structure"` + + // Choose a timecode burn-in font size + // + // FontSize is a required field + FontSize *string `locationName:"fontSize" type:"string" required:"true" enum:"TimecodeBurninFontSize"` - // InputDeviceId is a required field - InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` + // Choose a timecode burn-in output position + // + // Position is a required field + Position *string `locationName:"position" type:"string" required:"true" enum:"TimecodeBurninPosition"` + + // Create a timecode burn-in prefix (optional) + Prefix *string `locationName:"prefix" type:"string"` } // String returns the string representation. @@ -31582,7 +39236,7 @@ type StopInputDeviceInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StopInputDeviceInput) String() string { +func (s TimecodeBurninSettings) String() string { return awsutil.Prettify(s) } @@ -31591,18 +39245,18 @@ func (s StopInputDeviceInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StopInputDeviceInput) GoString() string { +func (s TimecodeBurninSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *StopInputDeviceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "StopInputDeviceInput"} - if s.InputDeviceId == nil { - invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) +func (s *TimecodeBurninSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TimecodeBurninSettings"} + if s.FontSize == nil { + invalidParams.Add(request.NewErrParamRequired("FontSize")) } - if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) + if s.Position == nil { + invalidParams.Add(request.NewErrParamRequired("Position")) } if invalidParams.Len() > 0 { @@ -31611,14 +39265,43 @@ func (s *StopInputDeviceInput) Validate() error { return nil } -// SetInputDeviceId sets the InputDeviceId field's value. -func (s *StopInputDeviceInput) SetInputDeviceId(v string) *StopInputDeviceInput { - s.InputDeviceId = &v +// SetFontSize sets the FontSize field's value. +func (s *TimecodeBurninSettings) SetFontSize(v string) *TimecodeBurninSettings { + s.FontSize = &v return s } -type StopInputDeviceOutput struct { +// SetPosition sets the Position field's value. +func (s *TimecodeBurninSettings) SetPosition(v string) *TimecodeBurninSettings { + s.Position = &v + return s +} + +// SetPrefix sets the Prefix field's value. +func (s *TimecodeBurninSettings) SetPrefix(v string) *TimecodeBurninSettings { + s.Prefix = &v + return s +} + +// Timecode Config +type TimecodeConfig struct { _ struct{} `type:"structure"` + + // Identifies the source for the timecode that will be associated with the events + // outputs.-Embedded (embedded): Initialize the output timecode with timecode + // from the the source. If no embedded timecode is detected in the source, the + // system falls back to using "Start at 0" (zerobased).-System Clock (systemclock): + // Use the UTC time.-Start at 0 (zerobased): The time of the first frame of + // the event will be 00:00:00:00. + // + // Source is a required field + Source *string `locationName:"source" type:"string" required:"true" enum:"TimecodeConfigSource"` + + // Threshold in frames beyond which output timecode is resynchronized to the + // input timecode. Discrepancies below this threshold are permitted to avoid + // unnecessary discontinuities in the output timecode. No timecode sync when + // this is not specified. + SyncThreshold *int64 `locationName:"syncThreshold" min:"1" type:"integer"` } // String returns the string representation. @@ -31626,7 +39309,7 @@ type StopInputDeviceOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StopInputDeviceOutput) String() string { +func (s TimecodeConfig) String() string { return awsutil.Prettify(s) } @@ -31635,15 +39318,43 @@ func (s StopInputDeviceOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StopInputDeviceOutput) GoString() string { +func (s TimecodeConfig) GoString() string { return s.String() } -type StopMultiplexInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// Validate inspects the fields of the type to determine if they are valid. +func (s *TimecodeConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TimecodeConfig"} + if s.Source == nil { + invalidParams.Add(request.NewErrParamRequired("Source")) + } + if s.SyncThreshold != nil && *s.SyncThreshold < 1 { + invalidParams.Add(request.NewErrParamMinValue("SyncThreshold", 1)) + } - // MultiplexId is a required field - MultiplexId *string `location:"uri" locationName:"multiplexId" type:"string" required:"true"` + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSource sets the Source field's value. +func (s *TimecodeConfig) SetSource(v string) *TimecodeConfig { + s.Source = &v + return s +} + +// SetSyncThreshold sets the SyncThreshold field's value. +func (s *TimecodeConfig) SetSyncThreshold(v int64) *TimecodeConfig { + s.SyncThreshold = &v + return s +} + +type TooManyRequestsException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation. @@ -31651,7 +39362,7 @@ type StopMultiplexInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StopMultiplexInput) String() string { +func (s TooManyRequestsException) String() string { return awsutil.Prettify(s) } @@ -31660,56 +39371,59 @@ func (s StopMultiplexInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StopMultiplexInput) GoString() string { +func (s TooManyRequestsException) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *StopMultiplexInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "StopMultiplexInput"} - if s.MultiplexId == nil { - invalidParams.Add(request.NewErrParamRequired("MultiplexId")) - } - if s.MultiplexId != nil && len(*s.MultiplexId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("MultiplexId", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams +func newErrorTooManyRequestsException(v protocol.ResponseMetadata) error { + return &TooManyRequestsException{ + RespMetadata: v, } - return nil } -// SetMultiplexId sets the MultiplexId field's value. -func (s *StopMultiplexInput) SetMultiplexId(v string) *StopMultiplexInput { - s.MultiplexId = &v - return s +// Code returns the exception type name. +func (s *TooManyRequestsException) Code() string { + return "TooManyRequestsException" } -type StopMultiplexOutput struct { - _ struct{} `type:"structure"` - - Arn *string `locationName:"arn" type:"string"` +// Message returns the exception's message. +func (s *TooManyRequestsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} - AvailabilityZones []*string `locationName:"availabilityZones" type:"list"` +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *TooManyRequestsException) OrigErr() error { + return nil +} - Destinations []*MultiplexOutputDestination `locationName:"destinations" type:"list"` +func (s *TooManyRequestsException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} - Id *string `locationName:"id" type:"string"` +// Status code returns the HTTP status code for the request's response error. +func (s *TooManyRequestsException) StatusCode() int { + return s.RespMetadata.StatusCode +} - // Contains configuration for a Multiplex event - MultiplexSettings *MultiplexSettings `locationName:"multiplexSettings" type:"structure"` +// RequestID returns the service's response RequestID for request. +func (s *TooManyRequestsException) RequestID() string { + return s.RespMetadata.RequestID +} - Name *string `locationName:"name" type:"string"` +type TransferInputDeviceInput struct { + _ struct{} `type:"structure"` - PipelinesRunningCount *int64 `locationName:"pipelinesRunningCount" type:"integer"` + // InputDeviceId is a required field + InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` - ProgramCount *int64 `locationName:"programCount" type:"integer"` + TargetCustomerId *string `locationName:"targetCustomerId" type:"string"` - // The current state of the multiplex. - State *string `locationName:"state" type:"string" enum:"MultiplexState"` + TargetRegion *string `locationName:"targetRegion" type:"string"` - Tags map[string]*string `locationName:"tags" type:"map"` + TransferMessage *string `locationName:"transferMessage" type:"string"` } // String returns the string representation. @@ -31717,7 +39431,7 @@ type StopMultiplexOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StopMultiplexOutput) String() string { +func (s TransferInputDeviceInput) String() string { return awsutil.Prettify(s) } @@ -31726,83 +39440,87 @@ func (s StopMultiplexOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StopMultiplexOutput) GoString() string { +func (s TransferInputDeviceInput) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *StopMultiplexOutput) SetArn(v string) *StopMultiplexOutput { - s.Arn = &v - return s -} - -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *StopMultiplexOutput) SetAvailabilityZones(v []*string) *StopMultiplexOutput { - s.AvailabilityZones = v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *TransferInputDeviceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TransferInputDeviceInput"} + if s.InputDeviceId == nil { + invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) + } + if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) + } -// SetDestinations sets the Destinations field's value. -func (s *StopMultiplexOutput) SetDestinations(v []*MultiplexOutputDestination) *StopMultiplexOutput { - s.Destinations = v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetId sets the Id field's value. -func (s *StopMultiplexOutput) SetId(v string) *StopMultiplexOutput { - s.Id = &v +// SetInputDeviceId sets the InputDeviceId field's value. +func (s *TransferInputDeviceInput) SetInputDeviceId(v string) *TransferInputDeviceInput { + s.InputDeviceId = &v return s } -// SetMultiplexSettings sets the MultiplexSettings field's value. -func (s *StopMultiplexOutput) SetMultiplexSettings(v *MultiplexSettings) *StopMultiplexOutput { - s.MultiplexSettings = v +// SetTargetCustomerId sets the TargetCustomerId field's value. +func (s *TransferInputDeviceInput) SetTargetCustomerId(v string) *TransferInputDeviceInput { + s.TargetCustomerId = &v return s } -// SetName sets the Name field's value. -func (s *StopMultiplexOutput) SetName(v string) *StopMultiplexOutput { - s.Name = &v +// SetTargetRegion sets the TargetRegion field's value. +func (s *TransferInputDeviceInput) SetTargetRegion(v string) *TransferInputDeviceInput { + s.TargetRegion = &v return s } -// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. -func (s *StopMultiplexOutput) SetPipelinesRunningCount(v int64) *StopMultiplexOutput { - s.PipelinesRunningCount = &v +// SetTransferMessage sets the TransferMessage field's value. +func (s *TransferInputDeviceInput) SetTransferMessage(v string) *TransferInputDeviceInput { + s.TransferMessage = &v return s } -// SetProgramCount sets the ProgramCount field's value. -func (s *StopMultiplexOutput) SetProgramCount(v int64) *StopMultiplexOutput { - s.ProgramCount = &v - return s +type TransferInputDeviceOutput struct { + _ struct{} `type:"structure"` } -// SetState sets the State field's value. -func (s *StopMultiplexOutput) SetState(v string) *StopMultiplexOutput { - s.State = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TransferInputDeviceOutput) String() string { + return awsutil.Prettify(s) } -// SetTags sets the Tags field's value. -func (s *StopMultiplexOutput) SetTags(v map[string]*string) *StopMultiplexOutput { - s.Tags = v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TransferInputDeviceOutput) GoString() string { + return s.String() } -// Settings to identify the end of the clip. -type StopTimecode struct { +// Details about the input device that is being transferred. +type TransferringInputDeviceSummary struct { _ struct{} `type:"structure"` - // If you specify a StopTimecode in an input (in order to clip the file), you - // can specify if you want the clip to exclude (the default) or include the - // frame specified by the timecode. - LastFrameClippingBehavior *string `locationName:"lastFrameClippingBehavior" type:"string" enum:"LastFrameClippingBehavior"` + // The unique ID of the input device. + Id *string `locationName:"id" type:"string"` - // The timecode for the frame where you want to stop the clip. Optional; if - // not specified, the clip continues to the end of the file. Enter the timecode - // as HH:MM:SS:FF or HH:MM:SS;FF. - Timecode *string `locationName:"timecode" type:"string"` + // The optional message that the sender has attached to the transfer. + Message *string `locationName:"message" type:"string"` + + // The AWS account ID for the recipient of the input device transfer. + TargetCustomerId *string `locationName:"targetCustomerId" type:"string"` + + // The type (direction) of the input device transfer. + TransferType *string `locationName:"transferType" type:"string" enum:"InputDeviceTransferType"` } // String returns the string representation. @@ -31810,7 +39528,7 @@ type StopTimecode struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StopTimecode) String() string { +func (s TransferringInputDeviceSummary) String() string { return awsutil.Prettify(s) } @@ -31819,25 +39537,41 @@ func (s StopTimecode) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StopTimecode) GoString() string { +func (s TransferringInputDeviceSummary) GoString() string { return s.String() } -// SetLastFrameClippingBehavior sets the LastFrameClippingBehavior field's value. -func (s *StopTimecode) SetLastFrameClippingBehavior(v string) *StopTimecode { - s.LastFrameClippingBehavior = &v +// SetId sets the Id field's value. +func (s *TransferringInputDeviceSummary) SetId(v string) *TransferringInputDeviceSummary { + s.Id = &v return s } -// SetTimecode sets the Timecode field's value. -func (s *StopTimecode) SetTimecode(v string) *StopTimecode { - s.Timecode = &v +// SetMessage sets the Message field's value. +func (s *TransferringInputDeviceSummary) SetMessage(v string) *TransferringInputDeviceSummary { + s.Message = &v return s } -// Teletext Destination Settings -type TeletextDestinationSettings struct { +// SetTargetCustomerId sets the TargetCustomerId field's value. +func (s *TransferringInputDeviceSummary) SetTargetCustomerId(v string) *TransferringInputDeviceSummary { + s.TargetCustomerId = &v + return s +} + +// SetTransferType sets the TransferType field's value. +func (s *TransferringInputDeviceSummary) SetTransferType(v string) *TransferringInputDeviceSummary { + s.TransferType = &v + return s +} + +// Ttml Destination Settings +type TtmlDestinationSettings struct { _ struct{} `type:"structure"` + + // This field is not currently supported and will not affect the output styling. + // Leave the default value. + StyleControl *string `locationName:"styleControl" type:"string" enum:"TtmlDestinationStyleControl"` } // String returns the string representation. @@ -31845,7 +39579,7 @@ type TeletextDestinationSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s TeletextDestinationSettings) String() string { +func (s TtmlDestinationSettings) String() string { return awsutil.Prettify(s) } @@ -31854,21 +39588,22 @@ func (s TeletextDestinationSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s TeletextDestinationSettings) GoString() string { +func (s TtmlDestinationSettings) GoString() string { return s.String() } -// Teletext Source Settings -type TeletextSourceSettings struct { - _ struct{} `type:"structure"` +// SetStyleControl sets the StyleControl field's value. +func (s *TtmlDestinationSettings) SetStyleControl(v string) *TtmlDestinationSettings { + s.StyleControl = &v + return s +} - // Optionally defines a region where TTML style captions will be displayed - OutputRectangle *CaptionRectangle `locationName:"outputRectangle" type:"structure"` +// Udp Container Settings +type UdpContainerSettings struct { + _ struct{} `type:"structure"` - // Specifies the teletext page number within the data stream from which to extract - // captions. Range of 0x100 (256) to 0x8FF (2303). Unused for passthrough. Should - // be specified as a hexadecimal string with no "0x" prefix. - PageNumber *string `locationName:"pageNumber" type:"string"` + // M2ts Settings + M2tsSettings *M2tsSettings `locationName:"m2tsSettings" type:"structure"` } // String returns the string representation. @@ -31876,7 +39611,7 @@ type TeletextSourceSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s TeletextSourceSettings) String() string { +func (s UdpContainerSettings) String() string { return awsutil.Prettify(s) } @@ -31885,16 +39620,16 @@ func (s TeletextSourceSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s TeletextSourceSettings) GoString() string { +func (s UdpContainerSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *TeletextSourceSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "TeletextSourceSettings"} - if s.OutputRectangle != nil { - if err := s.OutputRectangle.Validate(); err != nil { - invalidParams.AddNested("OutputRectangle", err.(request.ErrInvalidParams)) +func (s *UdpContainerSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UdpContainerSettings"} + if s.M2tsSettings != nil { + if err := s.M2tsSettings.Validate(); err != nil { + invalidParams.AddNested("M2tsSettings", err.(request.ErrInvalidParams)) } } @@ -31904,31 +39639,30 @@ func (s *TeletextSourceSettings) Validate() error { return nil } -// SetOutputRectangle sets the OutputRectangle field's value. -func (s *TeletextSourceSettings) SetOutputRectangle(v *CaptionRectangle) *TeletextSourceSettings { - s.OutputRectangle = v - return s -} - -// SetPageNumber sets the PageNumber field's value. -func (s *TeletextSourceSettings) SetPageNumber(v string) *TeletextSourceSettings { - s.PageNumber = &v +// SetM2tsSettings sets the M2tsSettings field's value. +func (s *UdpContainerSettings) SetM2tsSettings(v *M2tsSettings) *UdpContainerSettings { + s.M2tsSettings = v return s } -// Temporal Filter Settings -type TemporalFilterSettings struct { +// Udp Group Settings +type UdpGroupSettings struct { _ struct{} `type:"structure"` - // If you enable this filter, the results are the following:- If the source - // content is noisy (it contains excessive digital artifacts), the filter cleans - // up the source.- If the source content is already clean, the filter tends - // to decrease the bitrate, especially when the rate control mode is QVBR. - PostFilterSharpening *string `locationName:"postFilterSharpening" type:"string" enum:"TemporalFilterPostFilterSharpening"` + // Specifies behavior of last resort when input video is lost, and no more backup + // inputs are available. When dropTs is selected the entire transport stream + // will stop being emitted. When dropProgram is selected the program can be + // dropped from the transport stream (and replaced with null packets to meet + // the TS bitrate requirement). Or, when emitProgram is chosen the transport + // stream will continue to be produced normally with repeat frames, black frames, + // or slate frames substituted for the absent input video. + InputLossAction *string `locationName:"inputLossAction" type:"string" enum:"InputLossActionForUdpOut"` - // Choose a filter strength. We recommend a strength of 1 or 2. A higher strength - // might take out good information, resulting in an image that is overly soft. - Strength *string `locationName:"strength" type:"string" enum:"TemporalFilterStrength"` + // Indicates ID3 frame that has the timecode. + TimedMetadataId3Frame *string `locationName:"timedMetadataId3Frame" type:"string" enum:"UdpTimedMetadataId3Frame"` + + // Timed Metadata interval in seconds. + TimedMetadataId3Period *int64 `locationName:"timedMetadataId3Period" type:"integer"` } // String returns the string representation. @@ -31936,7 +39670,7 @@ type TemporalFilterSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s TemporalFilterSettings) String() string { +func (s UdpGroupSettings) String() string { return awsutil.Prettify(s) } @@ -31945,36 +39679,51 @@ func (s TemporalFilterSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s TemporalFilterSettings) GoString() string { +func (s UdpGroupSettings) GoString() string { return s.String() } -// SetPostFilterSharpening sets the PostFilterSharpening field's value. -func (s *TemporalFilterSettings) SetPostFilterSharpening(v string) *TemporalFilterSettings { - s.PostFilterSharpening = &v +// SetInputLossAction sets the InputLossAction field's value. +func (s *UdpGroupSettings) SetInputLossAction(v string) *UdpGroupSettings { + s.InputLossAction = &v return s } -// SetStrength sets the Strength field's value. -func (s *TemporalFilterSettings) SetStrength(v string) *TemporalFilterSettings { - s.Strength = &v +// SetTimedMetadataId3Frame sets the TimedMetadataId3Frame field's value. +func (s *UdpGroupSettings) SetTimedMetadataId3Frame(v string) *UdpGroupSettings { + s.TimedMetadataId3Frame = &v return s } -// Details of a single thumbnail -type Thumbnail struct { +// SetTimedMetadataId3Period sets the TimedMetadataId3Period field's value. +func (s *UdpGroupSettings) SetTimedMetadataId3Period(v int64) *UdpGroupSettings { + s.TimedMetadataId3Period = &v + return s +} + +// Udp Output Settings +type UdpOutputSettings struct { _ struct{} `type:"structure"` - // The binary data for the latest thumbnail. - Body *string `locationName:"body" type:"string"` + // UDP output buffering in milliseconds. Larger values increase latency through + // the transcoder but simultaneously assist the transcoder in maintaining a + // constant, low-jitter UDP/RTP output while accommodating clock recovery, input + // switching, input disruptions, picture reordering, etc. + BufferMsec *int64 `locationName:"bufferMsec" type:"integer"` - // The content type for the latest thumbnail. - ContentType *string `locationName:"contentType" type:"string"` + // Udp Container Settings + // + // ContainerSettings is a required field + ContainerSettings *UdpContainerSettings `locationName:"containerSettings" type:"structure" required:"true"` - // Thumbnail Type - ThumbnailType *string `locationName:"thumbnailType" type:"string" enum:"ThumbnailType"` + // Destination address and port number for RTP or UDP packets. Can be unicast + // or multicast RTP or UDP (eg. rtp://239.10.10.10:5001 or udp://10.100.100.100:5002). + // + // Destination is a required field + Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` - TimeStamp *time.Time `locationName:"timeStamp" type:"timestamp" timestampFormat:"iso8601"` + // Settings for enabling and adjusting Forward Error Correction on UDP outputs. + FecOutputSettings *FecOutputSettings `locationName:"fecOutputSettings" type:"structure"` } // String returns the string representation. @@ -31982,7 +39731,7 @@ type Thumbnail struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Thumbnail) String() string { +func (s UdpOutputSettings) String() string { return awsutil.Prettify(s) } @@ -31991,44 +39740,69 @@ func (s Thumbnail) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Thumbnail) GoString() string { +func (s UdpOutputSettings) GoString() string { return s.String() } -// SetBody sets the Body field's value. -func (s *Thumbnail) SetBody(v string) *Thumbnail { - s.Body = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *UdpOutputSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UdpOutputSettings"} + if s.ContainerSettings == nil { + invalidParams.Add(request.NewErrParamRequired("ContainerSettings")) + } + if s.Destination == nil { + invalidParams.Add(request.NewErrParamRequired("Destination")) + } + if s.ContainerSettings != nil { + if err := s.ContainerSettings.Validate(); err != nil { + invalidParams.AddNested("ContainerSettings", err.(request.ErrInvalidParams)) + } + } + if s.FecOutputSettings != nil { + if err := s.FecOutputSettings.Validate(); err != nil { + invalidParams.AddNested("FecOutputSettings", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBufferMsec sets the BufferMsec field's value. +func (s *UdpOutputSettings) SetBufferMsec(v int64) *UdpOutputSettings { + s.BufferMsec = &v return s } -// SetContentType sets the ContentType field's value. -func (s *Thumbnail) SetContentType(v string) *Thumbnail { - s.ContentType = &v +// SetContainerSettings sets the ContainerSettings field's value. +func (s *UdpOutputSettings) SetContainerSettings(v *UdpContainerSettings) *UdpOutputSettings { + s.ContainerSettings = v return s } -// SetThumbnailType sets the ThumbnailType field's value. -func (s *Thumbnail) SetThumbnailType(v string) *Thumbnail { - s.ThumbnailType = &v +// SetDestination sets the Destination field's value. +func (s *UdpOutputSettings) SetDestination(v *OutputLocationRef) *UdpOutputSettings { + s.Destination = v return s } -// SetTimeStamp sets the TimeStamp field's value. -func (s *Thumbnail) SetTimeStamp(v time.Time) *Thumbnail { - s.TimeStamp = &v +// SetFecOutputSettings sets the FecOutputSettings field's value. +func (s *UdpOutputSettings) SetFecOutputSettings(v *FecOutputSettings) *UdpOutputSettings { + s.FecOutputSettings = v return s } -// Thumbnail Configuration -type ThumbnailConfiguration struct { - _ struct{} `type:"structure"` +type UnprocessableEntityException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // Enables the thumbnail feature. The feature generates thumbnails of the incoming - // video in each pipeline in the channel. AUTO turns the feature on, DISABLE - // turns the feature off. - // - // State is a required field - State *string `locationName:"state" type:"string" required:"true" enum:"ThumbnailState"` + ElementPath *string `locationName:"elementPath" type:"string"` + + ErrorMessage *string `locationName:"errorMessage" type:"string"` + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation. @@ -32036,7 +39810,7 @@ type ThumbnailConfiguration struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ThumbnailConfiguration) String() string { +func (s UnprocessableEntityException) String() string { return awsutil.Prettify(s) } @@ -32045,38 +39819,52 @@ func (s ThumbnailConfiguration) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ThumbnailConfiguration) GoString() string { +func (s UnprocessableEntityException) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ThumbnailConfiguration) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ThumbnailConfiguration"} - if s.State == nil { - invalidParams.Add(request.NewErrParamRequired("State")) +func newErrorUnprocessableEntityException(v protocol.ResponseMetadata) error { + return &UnprocessableEntityException{ + RespMetadata: v, } +} - if invalidParams.Len() > 0 { - return invalidParams +// Code returns the exception type name. +func (s *UnprocessableEntityException) Code() string { + return "UnprocessableEntityException" +} + +// Message returns the exception's message. +func (s *UnprocessableEntityException) Message() string { + if s.Message_ != nil { + return *s.Message_ } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *UnprocessableEntityException) OrigErr() error { return nil } -// SetState sets the State field's value. -func (s *ThumbnailConfiguration) SetState(v string) *ThumbnailConfiguration { - s.State = &v - return s +func (s *UnprocessableEntityException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) } -// Thumbnail details for one pipeline of a running channel. -type ThumbnailDetail struct { - _ struct{} `type:"structure"` +// Status code returns the HTTP status code for the request's response error. +func (s *UnprocessableEntityException) StatusCode() int { + return s.RespMetadata.StatusCode +} - // Pipeline ID - PipelineId *string `locationName:"pipelineId" type:"string"` +// RequestID returns the service's response RequestID for request. +func (s *UnprocessableEntityException) RequestID() string { + return s.RespMetadata.RequestID +} - // thumbnails of a single pipeline - Thumbnails []*Thumbnail `locationName:"thumbnails" type:"list"` +type UpdateAccountConfigurationInput struct { + _ struct{} `type:"structure"` + + AccountConfiguration *AccountConfiguration `locationName:"accountConfiguration" type:"structure"` } // String returns the string representation. @@ -32084,7 +39872,7 @@ type ThumbnailDetail struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ThumbnailDetail) String() string { +func (s UpdateAccountConfigurationInput) String() string { return awsutil.Prettify(s) } @@ -32093,38 +39881,20 @@ func (s ThumbnailDetail) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ThumbnailDetail) GoString() string { +func (s UpdateAccountConfigurationInput) GoString() string { return s.String() } -// SetPipelineId sets the PipelineId field's value. -func (s *ThumbnailDetail) SetPipelineId(v string) *ThumbnailDetail { - s.PipelineId = &v - return s -} - -// SetThumbnails sets the Thumbnails field's value. -func (s *ThumbnailDetail) SetThumbnails(v []*Thumbnail) *ThumbnailDetail { - s.Thumbnails = v +// SetAccountConfiguration sets the AccountConfiguration field's value. +func (s *UpdateAccountConfigurationInput) SetAccountConfiguration(v *AccountConfiguration) *UpdateAccountConfigurationInput { + s.AccountConfiguration = v return s } -// Timecode Burnin Settings -type TimecodeBurninSettings struct { +type UpdateAccountConfigurationOutput struct { _ struct{} `type:"structure"` - // Choose a timecode burn-in font size - // - // FontSize is a required field - FontSize *string `locationName:"fontSize" type:"string" required:"true" enum:"TimecodeBurninFontSize"` - - // Choose a timecode burn-in output position - // - // Position is a required field - Position *string `locationName:"position" type:"string" required:"true" enum:"TimecodeBurninPosition"` - - // Create a timecode burn-in prefix (optional) - Prefix *string `locationName:"prefix" type:"string"` + AccountConfiguration *AccountConfiguration `locationName:"accountConfiguration" type:"structure"` } // String returns the string representation. @@ -32132,7 +39902,7 @@ type TimecodeBurninSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s TimecodeBurninSettings) String() string { +func (s UpdateAccountConfigurationOutput) String() string { return awsutil.Prettify(s) } @@ -32141,63 +39911,29 @@ func (s TimecodeBurninSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s TimecodeBurninSettings) GoString() string { +func (s UpdateAccountConfigurationOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *TimecodeBurninSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "TimecodeBurninSettings"} - if s.FontSize == nil { - invalidParams.Add(request.NewErrParamRequired("FontSize")) - } - if s.Position == nil { - invalidParams.Add(request.NewErrParamRequired("Position")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetFontSize sets the FontSize field's value. -func (s *TimecodeBurninSettings) SetFontSize(v string) *TimecodeBurninSettings { - s.FontSize = &v - return s -} - -// SetPosition sets the Position field's value. -func (s *TimecodeBurninSettings) SetPosition(v string) *TimecodeBurninSettings { - s.Position = &v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *TimecodeBurninSettings) SetPrefix(v string) *TimecodeBurninSettings { - s.Prefix = &v +// SetAccountConfiguration sets the AccountConfiguration field's value. +func (s *UpdateAccountConfigurationOutput) SetAccountConfiguration(v *AccountConfiguration) *UpdateAccountConfigurationOutput { + s.AccountConfiguration = v return s } -// Timecode Config -type TimecodeConfig struct { +type UpdateChannelClassInput struct { _ struct{} `type:"structure"` - // Identifies the source for the timecode that will be associated with the events - // outputs.-Embedded (embedded): Initialize the output timecode with timecode - // from the the source. If no embedded timecode is detected in the source, the - // system falls back to using "Start at 0" (zerobased).-System Clock (systemclock): - // Use the UTC time.-Start at 0 (zerobased): The time of the first frame of - // the event will be 00:00:00:00. + // A standard channel has two encoding pipelines and a single pipeline channel + // only has one. // - // Source is a required field - Source *string `locationName:"source" type:"string" required:"true" enum:"TimecodeConfigSource"` + // ChannelClass is a required field + ChannelClass *string `locationName:"channelClass" type:"string" required:"true" enum:"ChannelClass"` - // Threshold in frames beyond which output timecode is resynchronized to the - // input timecode. Discrepancies below this threshold are permitted to avoid - // unnecessary discontinuities in the output timecode. No timecode sync when - // this is not specified. - SyncThreshold *int64 `locationName:"syncThreshold" min:"1" type:"integer"` + // ChannelId is a required field + ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` + + Destinations []*OutputDestination `locationName:"destinations" type:"list"` } // String returns the string representation. @@ -32205,7 +39941,7 @@ type TimecodeConfig struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s TimecodeConfig) String() string { +func (s UpdateChannelClassInput) String() string { return awsutil.Prettify(s) } @@ -32214,18 +39950,31 @@ func (s TimecodeConfig) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s TimecodeConfig) GoString() string { +func (s UpdateChannelClassInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *TimecodeConfig) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "TimecodeConfig"} - if s.Source == nil { - invalidParams.Add(request.NewErrParamRequired("Source")) +func (s *UpdateChannelClassInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateChannelClassInput"} + if s.ChannelClass == nil { + invalidParams.Add(request.NewErrParamRequired("ChannelClass")) } - if s.SyncThreshold != nil && *s.SyncThreshold < 1 { - invalidParams.Add(request.NewErrParamMinValue("SyncThreshold", 1)) + if s.ChannelId == nil { + invalidParams.Add(request.NewErrParamRequired("ChannelId")) + } + if s.ChannelId != nil && len(*s.ChannelId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) + } + if s.Destinations != nil { + for i, v := range s.Destinations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Destinations", i), err.(request.ErrInvalidParams)) + } + } } if invalidParams.Len() > 0 { @@ -32234,23 +39983,28 @@ func (s *TimecodeConfig) Validate() error { return nil } -// SetSource sets the Source field's value. -func (s *TimecodeConfig) SetSource(v string) *TimecodeConfig { - s.Source = &v +// SetChannelClass sets the ChannelClass field's value. +func (s *UpdateChannelClassInput) SetChannelClass(v string) *UpdateChannelClassInput { + s.ChannelClass = &v return s } -// SetSyncThreshold sets the SyncThreshold field's value. -func (s *TimecodeConfig) SetSyncThreshold(v int64) *TimecodeConfig { - s.SyncThreshold = &v +// SetChannelId sets the ChannelId field's value. +func (s *UpdateChannelClassInput) SetChannelId(v string) *UpdateChannelClassInput { + s.ChannelId = &v return s } -type TooManyRequestsException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// SetDestinations sets the Destinations field's value. +func (s *UpdateChannelClassInput) SetDestinations(v []*OutputDestination) *UpdateChannelClassInput { + s.Destinations = v + return s +} - Message_ *string `locationName:"message" type:"string"` +type UpdateChannelClassOutput struct { + _ struct{} `type:"structure"` + + Channel *Channel `locationName:"channel" type:"structure"` } // String returns the string representation. @@ -32258,7 +40012,7 @@ type TooManyRequestsException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s TooManyRequestsException) String() string { +func (s UpdateChannelClassOutput) String() string { return awsutil.Prettify(s) } @@ -32267,59 +40021,41 @@ func (s TooManyRequestsException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s TooManyRequestsException) GoString() string { +func (s UpdateChannelClassOutput) GoString() string { return s.String() } -func newErrorTooManyRequestsException(v protocol.ResponseMetadata) error { - return &TooManyRequestsException{ - RespMetadata: v, - } +// SetChannel sets the Channel field's value. +func (s *UpdateChannelClassOutput) SetChannel(v *Channel) *UpdateChannelClassOutput { + s.Channel = v + return s } -// Code returns the exception type name. -func (s *TooManyRequestsException) Code() string { - return "TooManyRequestsException" -} +type UpdateChannelInput struct { + _ struct{} `type:"structure"` -// Message returns the exception's message. -func (s *TooManyRequestsException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" -} + CdiInputSpecification *CdiInputSpecification `locationName:"cdiInputSpecification" type:"structure"` -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *TooManyRequestsException) OrigErr() error { - return nil -} + // ChannelId is a required field + ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` -func (s *TooManyRequestsException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) -} + Destinations []*OutputDestination `locationName:"destinations" type:"list"` -// Status code returns the HTTP status code for the request's response error. -func (s *TooManyRequestsException) StatusCode() int { - return s.RespMetadata.StatusCode -} + // Encoder Settings + EncoderSettings *EncoderSettings `locationName:"encoderSettings" type:"structure"` -// RequestID returns the service's response RequestID for request. -func (s *TooManyRequestsException) RequestID() string { - return s.RespMetadata.RequestID -} + InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` -type TransferInputDeviceInput struct { - _ struct{} `type:"structure"` + InputSpecification *InputSpecification `locationName:"inputSpecification" type:"structure"` - // InputDeviceId is a required field - InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` + // The log level the user wants for their channel. + LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` - TargetCustomerId *string `locationName:"targetCustomerId" type:"string"` + Maintenance *MaintenanceUpdateSettings `locationName:"maintenance" type:"structure"` - TargetRegion *string `locationName:"targetRegion" type:"string"` + Name *string `locationName:"name" type:"string"` - TransferMessage *string `locationName:"transferMessage" type:"string"` + RoleArn *string `locationName:"roleArn" type:"string"` } // String returns the string representation. @@ -32327,7 +40063,7 @@ type TransferInputDeviceInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s TransferInputDeviceInput) String() string { +func (s UpdateChannelInput) String() string { return awsutil.Prettify(s) } @@ -32336,18 +40072,43 @@ func (s TransferInputDeviceInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s TransferInputDeviceInput) GoString() string { +func (s UpdateChannelInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *TransferInputDeviceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "TransferInputDeviceInput"} - if s.InputDeviceId == nil { - invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) +func (s *UpdateChannelInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateChannelInput"} + if s.ChannelId == nil { + invalidParams.Add(request.NewErrParamRequired("ChannelId")) } - if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) + if s.ChannelId != nil && len(*s.ChannelId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) + } + if s.Destinations != nil { + for i, v := range s.Destinations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Destinations", i), err.(request.ErrInvalidParams)) + } + } + } + if s.EncoderSettings != nil { + if err := s.EncoderSettings.Validate(); err != nil { + invalidParams.AddNested("EncoderSettings", err.(request.ErrInvalidParams)) + } + } + if s.InputAttachments != nil { + for i, v := range s.InputAttachments { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputAttachments", i), err.(request.ErrInvalidParams)) + } + } } if invalidParams.Len() > 0 { @@ -32356,118 +40117,70 @@ func (s *TransferInputDeviceInput) Validate() error { return nil } -// SetInputDeviceId sets the InputDeviceId field's value. -func (s *TransferInputDeviceInput) SetInputDeviceId(v string) *TransferInputDeviceInput { - s.InputDeviceId = &v +// SetCdiInputSpecification sets the CdiInputSpecification field's value. +func (s *UpdateChannelInput) SetCdiInputSpecification(v *CdiInputSpecification) *UpdateChannelInput { + s.CdiInputSpecification = v return s } -// SetTargetCustomerId sets the TargetCustomerId field's value. -func (s *TransferInputDeviceInput) SetTargetCustomerId(v string) *TransferInputDeviceInput { - s.TargetCustomerId = &v +// SetChannelId sets the ChannelId field's value. +func (s *UpdateChannelInput) SetChannelId(v string) *UpdateChannelInput { + s.ChannelId = &v return s } -// SetTargetRegion sets the TargetRegion field's value. -func (s *TransferInputDeviceInput) SetTargetRegion(v string) *TransferInputDeviceInput { - s.TargetRegion = &v +// SetDestinations sets the Destinations field's value. +func (s *UpdateChannelInput) SetDestinations(v []*OutputDestination) *UpdateChannelInput { + s.Destinations = v return s } -// SetTransferMessage sets the TransferMessage field's value. -func (s *TransferInputDeviceInput) SetTransferMessage(v string) *TransferInputDeviceInput { - s.TransferMessage = &v +// SetEncoderSettings sets the EncoderSettings field's value. +func (s *UpdateChannelInput) SetEncoderSettings(v *EncoderSettings) *UpdateChannelInput { + s.EncoderSettings = v return s } -type TransferInputDeviceOutput struct { - _ struct{} `type:"structure"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s TransferInputDeviceOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s TransferInputDeviceOutput) GoString() string { - return s.String() -} - -// Details about the input device that is being transferred. -type TransferringInputDeviceSummary struct { - _ struct{} `type:"structure"` - - // The unique ID of the input device. - Id *string `locationName:"id" type:"string"` - - // The optional message that the sender has attached to the transfer. - Message *string `locationName:"message" type:"string"` - - // The AWS account ID for the recipient of the input device transfer. - TargetCustomerId *string `locationName:"targetCustomerId" type:"string"` - - // The type (direction) of the input device transfer. - TransferType *string `locationName:"transferType" type:"string" enum:"InputDeviceTransferType"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s TransferringInputDeviceSummary) String() string { - return awsutil.Prettify(s) +// SetInputAttachments sets the InputAttachments field's value. +func (s *UpdateChannelInput) SetInputAttachments(v []*InputAttachment) *UpdateChannelInput { + s.InputAttachments = v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s TransferringInputDeviceSummary) GoString() string { - return s.String() +// SetInputSpecification sets the InputSpecification field's value. +func (s *UpdateChannelInput) SetInputSpecification(v *InputSpecification) *UpdateChannelInput { + s.InputSpecification = v + return s } -// SetId sets the Id field's value. -func (s *TransferringInputDeviceSummary) SetId(v string) *TransferringInputDeviceSummary { - s.Id = &v +// SetLogLevel sets the LogLevel field's value. +func (s *UpdateChannelInput) SetLogLevel(v string) *UpdateChannelInput { + s.LogLevel = &v return s } -// SetMessage sets the Message field's value. -func (s *TransferringInputDeviceSummary) SetMessage(v string) *TransferringInputDeviceSummary { - s.Message = &v +// SetMaintenance sets the Maintenance field's value. +func (s *UpdateChannelInput) SetMaintenance(v *MaintenanceUpdateSettings) *UpdateChannelInput { + s.Maintenance = v return s } -// SetTargetCustomerId sets the TargetCustomerId field's value. -func (s *TransferringInputDeviceSummary) SetTargetCustomerId(v string) *TransferringInputDeviceSummary { - s.TargetCustomerId = &v +// SetName sets the Name field's value. +func (s *UpdateChannelInput) SetName(v string) *UpdateChannelInput { + s.Name = &v return s } -// SetTransferType sets the TransferType field's value. -func (s *TransferringInputDeviceSummary) SetTransferType(v string) *TransferringInputDeviceSummary { - s.TransferType = &v +// SetRoleArn sets the RoleArn field's value. +func (s *UpdateChannelInput) SetRoleArn(v string) *UpdateChannelInput { + s.RoleArn = &v return s } -// Ttml Destination Settings -type TtmlDestinationSettings struct { +type UpdateChannelOutput struct { _ struct{} `type:"structure"` - // This field is not currently supported and will not affect the output styling. - // Leave the default value. - StyleControl *string `locationName:"styleControl" type:"string" enum:"TtmlDestinationStyleControl"` + Channel *Channel `locationName:"channel" type:"structure"` } // String returns the string representation. @@ -32475,7 +40188,7 @@ type TtmlDestinationSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s TtmlDestinationSettings) String() string { +func (s UpdateChannelOutput) String() string { return awsutil.Prettify(s) } @@ -32484,22 +40197,23 @@ func (s TtmlDestinationSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s TtmlDestinationSettings) GoString() string { +func (s UpdateChannelOutput) GoString() string { return s.String() } -// SetStyleControl sets the StyleControl field's value. -func (s *TtmlDestinationSettings) SetStyleControl(v string) *TtmlDestinationSettings { - s.StyleControl = &v +// SetChannel sets the Channel field's value. +func (s *UpdateChannelOutput) SetChannel(v *Channel) *UpdateChannelOutput { + s.Channel = v return s } -// Udp Container Settings -type UdpContainerSettings struct { +type UpdateCloudWatchAlarmTemplateGroupInput struct { _ struct{} `type:"structure"` - // M2ts Settings - M2tsSettings *M2tsSettings `locationName:"m2tsSettings" type:"structure"` + Description *string `locationName:"description" type:"string"` + + // Identifier is a required field + Identifier *string `location:"uri" locationName:"identifier" type:"string" required:"true"` } // String returns the string representation. @@ -32507,7 +40221,7 @@ type UdpContainerSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s UdpContainerSettings) String() string { +func (s UpdateCloudWatchAlarmTemplateGroupInput) String() string { return awsutil.Prettify(s) } @@ -32516,17 +40230,18 @@ func (s UdpContainerSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s UdpContainerSettings) GoString() string { +func (s UpdateCloudWatchAlarmTemplateGroupInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UdpContainerSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UdpContainerSettings"} - if s.M2tsSettings != nil { - if err := s.M2tsSettings.Validate(); err != nil { - invalidParams.AddNested("M2tsSettings", err.(request.ErrInvalidParams)) - } +func (s *UpdateCloudWatchAlarmTemplateGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateCloudWatchAlarmTemplateGroupInput"} + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) + } + if s.Identifier != nil && len(*s.Identifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) } if invalidParams.Len() > 0 { @@ -32535,30 +40250,35 @@ func (s *UdpContainerSettings) Validate() error { return nil } -// SetM2tsSettings sets the M2tsSettings field's value. -func (s *UdpContainerSettings) SetM2tsSettings(v *M2tsSettings) *UdpContainerSettings { - s.M2tsSettings = v +// SetDescription sets the Description field's value. +func (s *UpdateCloudWatchAlarmTemplateGroupInput) SetDescription(v string) *UpdateCloudWatchAlarmTemplateGroupInput { + s.Description = &v return s } -// Udp Group Settings -type UdpGroupSettings struct { +// SetIdentifier sets the Identifier field's value. +func (s *UpdateCloudWatchAlarmTemplateGroupInput) SetIdentifier(v string) *UpdateCloudWatchAlarmTemplateGroupInput { + s.Identifier = &v + return s +} + +type UpdateCloudWatchAlarmTemplateGroupOutput struct { _ struct{} `type:"structure"` - // Specifies behavior of last resort when input video is lost, and no more backup - // inputs are available. When dropTs is selected the entire transport stream - // will stop being emitted. When dropProgram is selected the program can be - // dropped from the transport stream (and replaced with null packets to meet - // the TS bitrate requirement). Or, when emitProgram is chosen the transport - // stream will continue to be produced normally with repeat frames, black frames, - // or slate frames substituted for the absent input video. - InputLossAction *string `locationName:"inputLossAction" type:"string" enum:"InputLossActionForUdpOut"` + Arn *string `locationName:"arn" type:"string"` - // Indicates ID3 frame that has the timecode. - TimedMetadataId3Frame *string `locationName:"timedMetadataId3Frame" type:"string" enum:"UdpTimedMetadataId3Frame"` + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` - // Timed Metadata interval in seconds. - TimedMetadataId3Period *int64 `locationName:"timedMetadataId3Period" type:"integer"` + Description *string `locationName:"description" type:"string"` + + Id *string `locationName:"id" min:"7" type:"string"` + + ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp" timestampFormat:"iso8601"` + + Name *string `locationName:"name" min:"1" type:"string"` + + // Represents the tags associated with a resource. + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -32566,7 +40286,7 @@ type UdpGroupSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s UdpGroupSettings) String() string { +func (s UpdateCloudWatchAlarmTemplateGroupOutput) String() string { return awsutil.Prettify(s) } @@ -32575,51 +40295,87 @@ func (s UdpGroupSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s UdpGroupSettings) GoString() string { +func (s UpdateCloudWatchAlarmTemplateGroupOutput) GoString() string { return s.String() } -// SetInputLossAction sets the InputLossAction field's value. -func (s *UdpGroupSettings) SetInputLossAction(v string) *UdpGroupSettings { - s.InputLossAction = &v +// SetArn sets the Arn field's value. +func (s *UpdateCloudWatchAlarmTemplateGroupOutput) SetArn(v string) *UpdateCloudWatchAlarmTemplateGroupOutput { + s.Arn = &v return s } -// SetTimedMetadataId3Frame sets the TimedMetadataId3Frame field's value. -func (s *UdpGroupSettings) SetTimedMetadataId3Frame(v string) *UdpGroupSettings { - s.TimedMetadataId3Frame = &v +// SetCreatedAt sets the CreatedAt field's value. +func (s *UpdateCloudWatchAlarmTemplateGroupOutput) SetCreatedAt(v time.Time) *UpdateCloudWatchAlarmTemplateGroupOutput { + s.CreatedAt = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateCloudWatchAlarmTemplateGroupOutput) SetDescription(v string) *UpdateCloudWatchAlarmTemplateGroupOutput { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *UpdateCloudWatchAlarmTemplateGroupOutput) SetId(v string) *UpdateCloudWatchAlarmTemplateGroupOutput { + s.Id = &v + return s +} + +// SetModifiedAt sets the ModifiedAt field's value. +func (s *UpdateCloudWatchAlarmTemplateGroupOutput) SetModifiedAt(v time.Time) *UpdateCloudWatchAlarmTemplateGroupOutput { + s.ModifiedAt = &v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateCloudWatchAlarmTemplateGroupOutput) SetName(v string) *UpdateCloudWatchAlarmTemplateGroupOutput { + s.Name = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *UpdateCloudWatchAlarmTemplateGroupOutput) SetTags(v map[string]*string) *UpdateCloudWatchAlarmTemplateGroupOutput { + s.Tags = v return s } -// SetTimedMetadataId3Period sets the TimedMetadataId3Period field's value. -func (s *UdpGroupSettings) SetTimedMetadataId3Period(v int64) *UdpGroupSettings { - s.TimedMetadataId3Period = &v - return s -} +type UpdateCloudWatchAlarmTemplateInput struct { + _ struct{} `type:"structure"` + + // The comparison operator used to compare the specified statistic and the threshold. + ComparisonOperator *string `locationName:"comparisonOperator" type:"string" enum:"CloudWatchAlarmTemplateComparisonOperator"` + + DatapointsToAlarm *int64 `locationName:"datapointsToAlarm" min:"1" type:"integer"` + + Description *string `locationName:"description" type:"string"` + + EvaluationPeriods *int64 `locationName:"evaluationPeriods" min:"1" type:"integer"` + + GroupIdentifier *string `locationName:"groupIdentifier" type:"string"` + + // Identifier is a required field + Identifier *string `location:"uri" locationName:"identifier" type:"string" required:"true"` + + MetricName *string `locationName:"metricName" type:"string"` + + Name *string `locationName:"name" min:"1" type:"string"` -// Udp Output Settings -type UdpOutputSettings struct { - _ struct{} `type:"structure"` + Period *int64 `locationName:"period" min:"10" type:"integer"` - // UDP output buffering in milliseconds. Larger values increase latency through - // the transcoder but simultaneously assist the transcoder in maintaining a - // constant, low-jitter UDP/RTP output while accommodating clock recovery, input - // switching, input disruptions, picture reordering, etc. - BufferMsec *int64 `locationName:"bufferMsec" type:"integer"` + // The statistic to apply to the alarm's metric data. + Statistic *string `locationName:"statistic" type:"string" enum:"CloudWatchAlarmTemplateStatistic"` - // Udp Container Settings - // - // ContainerSettings is a required field - ContainerSettings *UdpContainerSettings `locationName:"containerSettings" type:"structure" required:"true"` + // The resource type this template should dynamically generate cloudwatch metric + // alarms for. + TargetResourceType *string `locationName:"targetResourceType" type:"string" enum:"CloudWatchAlarmTemplateTargetResourceType"` - // Destination address and port number for RTP or UDP packets. Can be unicast - // or multicast RTP or UDP (eg. rtp://239.10.10.10:5001 or udp://10.100.100.100:5002). - // - // Destination is a required field - Destination *OutputLocationRef `locationName:"destination" type:"structure" required:"true"` + Threshold *float64 `locationName:"threshold" type:"double"` - // Settings for enabling and adjusting Forward Error Correction on UDP outputs. - FecOutputSettings *FecOutputSettings `locationName:"fecOutputSettings" type:"structure"` + // Specifies how missing data points are treated when evaluating the alarm's + // condition. + TreatMissingData *string `locationName:"treatMissingData" type:"string" enum:"CloudWatchAlarmTemplateTreatMissingData"` } // String returns the string representation. @@ -32627,7 +40383,7 @@ type UdpOutputSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s UdpOutputSettings) String() string { +func (s UpdateCloudWatchAlarmTemplateInput) String() string { return awsutil.Prettify(s) } @@ -32636,28 +40392,30 @@ func (s UdpOutputSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s UdpOutputSettings) GoString() string { +func (s UpdateCloudWatchAlarmTemplateInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UdpOutputSettings) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UdpOutputSettings"} - if s.ContainerSettings == nil { - invalidParams.Add(request.NewErrParamRequired("ContainerSettings")) +func (s *UpdateCloudWatchAlarmTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateCloudWatchAlarmTemplateInput"} + if s.DatapointsToAlarm != nil && *s.DatapointsToAlarm < 1 { + invalidParams.Add(request.NewErrParamMinValue("DatapointsToAlarm", 1)) } - if s.Destination == nil { - invalidParams.Add(request.NewErrParamRequired("Destination")) + if s.EvaluationPeriods != nil && *s.EvaluationPeriods < 1 { + invalidParams.Add(request.NewErrParamMinValue("EvaluationPeriods", 1)) } - if s.ContainerSettings != nil { - if err := s.ContainerSettings.Validate(); err != nil { - invalidParams.AddNested("ContainerSettings", err.(request.ErrInvalidParams)) - } + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) } - if s.FecOutputSettings != nil { - if err := s.FecOutputSettings.Validate(); err != nil { - invalidParams.AddNested("FecOutputSettings", err.(request.ErrInvalidParams)) - } + if s.Identifier != nil && len(*s.Identifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Period != nil && *s.Period < 10 { + invalidParams.Add(request.NewErrParamMinValue("Period", 10)) } if invalidParams.Len() > 0 { @@ -32666,39 +40424,127 @@ func (s *UdpOutputSettings) Validate() error { return nil } -// SetBufferMsec sets the BufferMsec field's value. -func (s *UdpOutputSettings) SetBufferMsec(v int64) *UdpOutputSettings { - s.BufferMsec = &v +// SetComparisonOperator sets the ComparisonOperator field's value. +func (s *UpdateCloudWatchAlarmTemplateInput) SetComparisonOperator(v string) *UpdateCloudWatchAlarmTemplateInput { + s.ComparisonOperator = &v return s } -// SetContainerSettings sets the ContainerSettings field's value. -func (s *UdpOutputSettings) SetContainerSettings(v *UdpContainerSettings) *UdpOutputSettings { - s.ContainerSettings = v +// SetDatapointsToAlarm sets the DatapointsToAlarm field's value. +func (s *UpdateCloudWatchAlarmTemplateInput) SetDatapointsToAlarm(v int64) *UpdateCloudWatchAlarmTemplateInput { + s.DatapointsToAlarm = &v return s } -// SetDestination sets the Destination field's value. -func (s *UdpOutputSettings) SetDestination(v *OutputLocationRef) *UdpOutputSettings { - s.Destination = v +// SetDescription sets the Description field's value. +func (s *UpdateCloudWatchAlarmTemplateInput) SetDescription(v string) *UpdateCloudWatchAlarmTemplateInput { + s.Description = &v return s } -// SetFecOutputSettings sets the FecOutputSettings field's value. -func (s *UdpOutputSettings) SetFecOutputSettings(v *FecOutputSettings) *UdpOutputSettings { - s.FecOutputSettings = v +// SetEvaluationPeriods sets the EvaluationPeriods field's value. +func (s *UpdateCloudWatchAlarmTemplateInput) SetEvaluationPeriods(v int64) *UpdateCloudWatchAlarmTemplateInput { + s.EvaluationPeriods = &v return s } -type UnprocessableEntityException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// SetGroupIdentifier sets the GroupIdentifier field's value. +func (s *UpdateCloudWatchAlarmTemplateInput) SetGroupIdentifier(v string) *UpdateCloudWatchAlarmTemplateInput { + s.GroupIdentifier = &v + return s +} - ElementPath *string `locationName:"elementPath" type:"string"` +// SetIdentifier sets the Identifier field's value. +func (s *UpdateCloudWatchAlarmTemplateInput) SetIdentifier(v string) *UpdateCloudWatchAlarmTemplateInput { + s.Identifier = &v + return s +} - ErrorMessage *string `locationName:"errorMessage" type:"string"` +// SetMetricName sets the MetricName field's value. +func (s *UpdateCloudWatchAlarmTemplateInput) SetMetricName(v string) *UpdateCloudWatchAlarmTemplateInput { + s.MetricName = &v + return s +} - Message_ *string `locationName:"message" type:"string"` +// SetName sets the Name field's value. +func (s *UpdateCloudWatchAlarmTemplateInput) SetName(v string) *UpdateCloudWatchAlarmTemplateInput { + s.Name = &v + return s +} + +// SetPeriod sets the Period field's value. +func (s *UpdateCloudWatchAlarmTemplateInput) SetPeriod(v int64) *UpdateCloudWatchAlarmTemplateInput { + s.Period = &v + return s +} + +// SetStatistic sets the Statistic field's value. +func (s *UpdateCloudWatchAlarmTemplateInput) SetStatistic(v string) *UpdateCloudWatchAlarmTemplateInput { + s.Statistic = &v + return s +} + +// SetTargetResourceType sets the TargetResourceType field's value. +func (s *UpdateCloudWatchAlarmTemplateInput) SetTargetResourceType(v string) *UpdateCloudWatchAlarmTemplateInput { + s.TargetResourceType = &v + return s +} + +// SetThreshold sets the Threshold field's value. +func (s *UpdateCloudWatchAlarmTemplateInput) SetThreshold(v float64) *UpdateCloudWatchAlarmTemplateInput { + s.Threshold = &v + return s +} + +// SetTreatMissingData sets the TreatMissingData field's value. +func (s *UpdateCloudWatchAlarmTemplateInput) SetTreatMissingData(v string) *UpdateCloudWatchAlarmTemplateInput { + s.TreatMissingData = &v + return s +} + +type UpdateCloudWatchAlarmTemplateOutput struct { + _ struct{} `type:"structure"` + + Arn *string `locationName:"arn" type:"string"` + + // The comparison operator used to compare the specified statistic and the threshold. + ComparisonOperator *string `locationName:"comparisonOperator" type:"string" enum:"CloudWatchAlarmTemplateComparisonOperator"` + + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` + + DatapointsToAlarm *int64 `locationName:"datapointsToAlarm" min:"1" type:"integer"` + + Description *string `locationName:"description" type:"string"` + + EvaluationPeriods *int64 `locationName:"evaluationPeriods" min:"1" type:"integer"` + + GroupId *string `locationName:"groupId" min:"7" type:"string"` + + Id *string `locationName:"id" min:"7" type:"string"` + + MetricName *string `locationName:"metricName" type:"string"` + + ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp" timestampFormat:"iso8601"` + + Name *string `locationName:"name" min:"1" type:"string"` + + Period *int64 `locationName:"period" min:"10" type:"integer"` + + // The statistic to apply to the alarm's metric data. + Statistic *string `locationName:"statistic" type:"string" enum:"CloudWatchAlarmTemplateStatistic"` + + // Represents the tags associated with a resource. + Tags map[string]*string `locationName:"tags" type:"map"` + + // The resource type this template should dynamically generate cloudwatch metric + // alarms for. + TargetResourceType *string `locationName:"targetResourceType" type:"string" enum:"CloudWatchAlarmTemplateTargetResourceType"` + + Threshold *float64 `locationName:"threshold" type:"double"` + + // Specifies how missing data points are treated when evaluating the alarm's + // condition. + TreatMissingData *string `locationName:"treatMissingData" type:"string" enum:"CloudWatchAlarmTemplateTreatMissingData"` } // String returns the string representation. @@ -32706,7 +40552,7 @@ type UnprocessableEntityException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s UnprocessableEntityException) String() string { +func (s UpdateCloudWatchAlarmTemplateOutput) String() string { return awsutil.Prettify(s) } @@ -32715,121 +40561,119 @@ func (s UnprocessableEntityException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s UnprocessableEntityException) GoString() string { +func (s UpdateCloudWatchAlarmTemplateOutput) GoString() string { return s.String() } -func newErrorUnprocessableEntityException(v protocol.ResponseMetadata) error { - return &UnprocessableEntityException{ - RespMetadata: v, - } +// SetArn sets the Arn field's value. +func (s *UpdateCloudWatchAlarmTemplateOutput) SetArn(v string) *UpdateCloudWatchAlarmTemplateOutput { + s.Arn = &v + return s } -// Code returns the exception type name. -func (s *UnprocessableEntityException) Code() string { - return "UnprocessableEntityException" +// SetComparisonOperator sets the ComparisonOperator field's value. +func (s *UpdateCloudWatchAlarmTemplateOutput) SetComparisonOperator(v string) *UpdateCloudWatchAlarmTemplateOutput { + s.ComparisonOperator = &v + return s } -// Message returns the exception's message. -func (s *UnprocessableEntityException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetCreatedAt sets the CreatedAt field's value. +func (s *UpdateCloudWatchAlarmTemplateOutput) SetCreatedAt(v time.Time) *UpdateCloudWatchAlarmTemplateOutput { + s.CreatedAt = &v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *UnprocessableEntityException) OrigErr() error { - return nil +// SetDatapointsToAlarm sets the DatapointsToAlarm field's value. +func (s *UpdateCloudWatchAlarmTemplateOutput) SetDatapointsToAlarm(v int64) *UpdateCloudWatchAlarmTemplateOutput { + s.DatapointsToAlarm = &v + return s } -func (s *UnprocessableEntityException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +// SetDescription sets the Description field's value. +func (s *UpdateCloudWatchAlarmTemplateOutput) SetDescription(v string) *UpdateCloudWatchAlarmTemplateOutput { + s.Description = &v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *UnprocessableEntityException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetEvaluationPeriods sets the EvaluationPeriods field's value. +func (s *UpdateCloudWatchAlarmTemplateOutput) SetEvaluationPeriods(v int64) *UpdateCloudWatchAlarmTemplateOutput { + s.EvaluationPeriods = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *UnprocessableEntityException) RequestID() string { - return s.RespMetadata.RequestID +// SetGroupId sets the GroupId field's value. +func (s *UpdateCloudWatchAlarmTemplateOutput) SetGroupId(v string) *UpdateCloudWatchAlarmTemplateOutput { + s.GroupId = &v + return s } -type UpdateAccountConfigurationInput struct { - _ struct{} `type:"structure"` +// SetId sets the Id field's value. +func (s *UpdateCloudWatchAlarmTemplateOutput) SetId(v string) *UpdateCloudWatchAlarmTemplateOutput { + s.Id = &v + return s +} - AccountConfiguration *AccountConfiguration `locationName:"accountConfiguration" type:"structure"` +// SetMetricName sets the MetricName field's value. +func (s *UpdateCloudWatchAlarmTemplateOutput) SetMetricName(v string) *UpdateCloudWatchAlarmTemplateOutput { + s.MetricName = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s UpdateAccountConfigurationInput) String() string { - return awsutil.Prettify(s) +// SetModifiedAt sets the ModifiedAt field's value. +func (s *UpdateCloudWatchAlarmTemplateOutput) SetModifiedAt(v time.Time) *UpdateCloudWatchAlarmTemplateOutput { + s.ModifiedAt = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s UpdateAccountConfigurationInput) GoString() string { - return s.String() +// SetName sets the Name field's value. +func (s *UpdateCloudWatchAlarmTemplateOutput) SetName(v string) *UpdateCloudWatchAlarmTemplateOutput { + s.Name = &v + return s } -// SetAccountConfiguration sets the AccountConfiguration field's value. -func (s *UpdateAccountConfigurationInput) SetAccountConfiguration(v *AccountConfiguration) *UpdateAccountConfigurationInput { - s.AccountConfiguration = v +// SetPeriod sets the Period field's value. +func (s *UpdateCloudWatchAlarmTemplateOutput) SetPeriod(v int64) *UpdateCloudWatchAlarmTemplateOutput { + s.Period = &v return s } -type UpdateAccountConfigurationOutput struct { - _ struct{} `type:"structure"` +// SetStatistic sets the Statistic field's value. +func (s *UpdateCloudWatchAlarmTemplateOutput) SetStatistic(v string) *UpdateCloudWatchAlarmTemplateOutput { + s.Statistic = &v + return s +} - AccountConfiguration *AccountConfiguration `locationName:"accountConfiguration" type:"structure"` +// SetTags sets the Tags field's value. +func (s *UpdateCloudWatchAlarmTemplateOutput) SetTags(v map[string]*string) *UpdateCloudWatchAlarmTemplateOutput { + s.Tags = v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s UpdateAccountConfigurationOutput) String() string { - return awsutil.Prettify(s) +// SetTargetResourceType sets the TargetResourceType field's value. +func (s *UpdateCloudWatchAlarmTemplateOutput) SetTargetResourceType(v string) *UpdateCloudWatchAlarmTemplateOutput { + s.TargetResourceType = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s UpdateAccountConfigurationOutput) GoString() string { - return s.String() +// SetThreshold sets the Threshold field's value. +func (s *UpdateCloudWatchAlarmTemplateOutput) SetThreshold(v float64) *UpdateCloudWatchAlarmTemplateOutput { + s.Threshold = &v + return s } -// SetAccountConfiguration sets the AccountConfiguration field's value. -func (s *UpdateAccountConfigurationOutput) SetAccountConfiguration(v *AccountConfiguration) *UpdateAccountConfigurationOutput { - s.AccountConfiguration = v +// SetTreatMissingData sets the TreatMissingData field's value. +func (s *UpdateCloudWatchAlarmTemplateOutput) SetTreatMissingData(v string) *UpdateCloudWatchAlarmTemplateOutput { + s.TreatMissingData = &v return s } -type UpdateChannelClassInput struct { +type UpdateEventBridgeRuleTemplateGroupInput struct { _ struct{} `type:"structure"` - // A standard channel has two encoding pipelines and a single pipeline channel - // only has one. - // - // ChannelClass is a required field - ChannelClass *string `locationName:"channelClass" type:"string" required:"true" enum:"ChannelClass"` - - // ChannelId is a required field - ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` + Description *string `locationName:"description" type:"string"` - Destinations []*OutputDestination `locationName:"destinations" type:"list"` + // Identifier is a required field + Identifier *string `location:"uri" locationName:"identifier" type:"string" required:"true"` } // String returns the string representation. @@ -32837,7 +40681,7 @@ type UpdateChannelClassInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s UpdateChannelClassInput) String() string { +func (s UpdateEventBridgeRuleTemplateGroupInput) String() string { return awsutil.Prettify(s) } @@ -32846,31 +40690,18 @@ func (s UpdateChannelClassInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s UpdateChannelClassInput) GoString() string { +func (s UpdateEventBridgeRuleTemplateGroupInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateChannelClassInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateChannelClassInput"} - if s.ChannelClass == nil { - invalidParams.Add(request.NewErrParamRequired("ChannelClass")) - } - if s.ChannelId == nil { - invalidParams.Add(request.NewErrParamRequired("ChannelId")) +func (s *UpdateEventBridgeRuleTemplateGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateEventBridgeRuleTemplateGroupInput"} + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) } - if s.ChannelId != nil && len(*s.ChannelId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) - } - if s.Destinations != nil { - for i, v := range s.Destinations { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Destinations", i), err.(request.ErrInvalidParams)) - } - } + if s.Identifier != nil && len(*s.Identifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) } if invalidParams.Len() > 0 { @@ -32879,28 +40710,35 @@ func (s *UpdateChannelClassInput) Validate() error { return nil } -// SetChannelClass sets the ChannelClass field's value. -func (s *UpdateChannelClassInput) SetChannelClass(v string) *UpdateChannelClassInput { - s.ChannelClass = &v - return s -} - -// SetChannelId sets the ChannelId field's value. -func (s *UpdateChannelClassInput) SetChannelId(v string) *UpdateChannelClassInput { - s.ChannelId = &v +// SetDescription sets the Description field's value. +func (s *UpdateEventBridgeRuleTemplateGroupInput) SetDescription(v string) *UpdateEventBridgeRuleTemplateGroupInput { + s.Description = &v return s } -// SetDestinations sets the Destinations field's value. -func (s *UpdateChannelClassInput) SetDestinations(v []*OutputDestination) *UpdateChannelClassInput { - s.Destinations = v +// SetIdentifier sets the Identifier field's value. +func (s *UpdateEventBridgeRuleTemplateGroupInput) SetIdentifier(v string) *UpdateEventBridgeRuleTemplateGroupInput { + s.Identifier = &v return s } -type UpdateChannelClassOutput struct { +type UpdateEventBridgeRuleTemplateGroupOutput struct { _ struct{} `type:"structure"` - Channel *Channel `locationName:"channel" type:"structure"` + Arn *string `locationName:"arn" type:"string"` + + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` + + Description *string `locationName:"description" type:"string"` + + Id *string `locationName:"id" min:"7" type:"string"` + + ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp" timestampFormat:"iso8601"` + + Name *string `locationName:"name" min:"1" type:"string"` + + // Represents the tags associated with a resource. + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -32908,7 +40746,7 @@ type UpdateChannelClassOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s UpdateChannelClassOutput) String() string { +func (s UpdateEventBridgeRuleTemplateGroupOutput) String() string { return awsutil.Prettify(s) } @@ -32917,41 +40755,68 @@ func (s UpdateChannelClassOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s UpdateChannelClassOutput) GoString() string { +func (s UpdateEventBridgeRuleTemplateGroupOutput) GoString() string { return s.String() } -// SetChannel sets the Channel field's value. -func (s *UpdateChannelClassOutput) SetChannel(v *Channel) *UpdateChannelClassOutput { - s.Channel = v +// SetArn sets the Arn field's value. +func (s *UpdateEventBridgeRuleTemplateGroupOutput) SetArn(v string) *UpdateEventBridgeRuleTemplateGroupOutput { + s.Arn = &v return s } -type UpdateChannelInput struct { - _ struct{} `type:"structure"` +// SetCreatedAt sets the CreatedAt field's value. +func (s *UpdateEventBridgeRuleTemplateGroupOutput) SetCreatedAt(v time.Time) *UpdateEventBridgeRuleTemplateGroupOutput { + s.CreatedAt = &v + return s +} - CdiInputSpecification *CdiInputSpecification `locationName:"cdiInputSpecification" type:"structure"` +// SetDescription sets the Description field's value. +func (s *UpdateEventBridgeRuleTemplateGroupOutput) SetDescription(v string) *UpdateEventBridgeRuleTemplateGroupOutput { + s.Description = &v + return s +} - // ChannelId is a required field - ChannelId *string `location:"uri" locationName:"channelId" type:"string" required:"true"` +// SetId sets the Id field's value. +func (s *UpdateEventBridgeRuleTemplateGroupOutput) SetId(v string) *UpdateEventBridgeRuleTemplateGroupOutput { + s.Id = &v + return s +} - Destinations []*OutputDestination `locationName:"destinations" type:"list"` +// SetModifiedAt sets the ModifiedAt field's value. +func (s *UpdateEventBridgeRuleTemplateGroupOutput) SetModifiedAt(v time.Time) *UpdateEventBridgeRuleTemplateGroupOutput { + s.ModifiedAt = &v + return s +} - // Encoder Settings - EncoderSettings *EncoderSettings `locationName:"encoderSettings" type:"structure"` +// SetName sets the Name field's value. +func (s *UpdateEventBridgeRuleTemplateGroupOutput) SetName(v string) *UpdateEventBridgeRuleTemplateGroupOutput { + s.Name = &v + return s +} - InputAttachments []*InputAttachment `locationName:"inputAttachments" type:"list"` +// SetTags sets the Tags field's value. +func (s *UpdateEventBridgeRuleTemplateGroupOutput) SetTags(v map[string]*string) *UpdateEventBridgeRuleTemplateGroupOutput { + s.Tags = v + return s +} - InputSpecification *InputSpecification `locationName:"inputSpecification" type:"structure"` +type UpdateEventBridgeRuleTemplateInput struct { + _ struct{} `type:"structure"` - // The log level the user wants for their channel. - LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` + Description *string `locationName:"description" type:"string"` - Maintenance *MaintenanceUpdateSettings `locationName:"maintenance" type:"structure"` + EventTargets []*EventBridgeRuleTemplateTarget `locationName:"eventTargets" type:"list"` - Name *string `locationName:"name" type:"string"` + // The type of event to match with the rule. + EventType *string `locationName:"eventType" type:"string" enum:"EventBridgeRuleTemplateEventType"` - RoleArn *string `locationName:"roleArn" type:"string"` + GroupIdentifier *string `locationName:"groupIdentifier" type:"string"` + + // Identifier is a required field + Identifier *string `location:"uri" locationName:"identifier" type:"string" required:"true"` + + Name *string `locationName:"name" min:"1" type:"string"` } // String returns the string representation. @@ -32959,7 +40824,7 @@ type UpdateChannelInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s UpdateChannelInput) String() string { +func (s UpdateEventBridgeRuleTemplateInput) String() string { return awsutil.Prettify(s) } @@ -32968,41 +40833,29 @@ func (s UpdateChannelInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s UpdateChannelInput) GoString() string { +func (s UpdateEventBridgeRuleTemplateInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateChannelInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateChannelInput"} - if s.ChannelId == nil { - invalidParams.Add(request.NewErrParamRequired("ChannelId")) - } - if s.ChannelId != nil && len(*s.ChannelId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ChannelId", 1)) +func (s *UpdateEventBridgeRuleTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateEventBridgeRuleTemplateInput"} + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) } - if s.Destinations != nil { - for i, v := range s.Destinations { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Destinations", i), err.(request.ErrInvalidParams)) - } - } + if s.Identifier != nil && len(*s.Identifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) } - if s.EncoderSettings != nil { - if err := s.EncoderSettings.Validate(); err != nil { - invalidParams.AddNested("EncoderSettings", err.(request.ErrInvalidParams)) - } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) } - if s.InputAttachments != nil { - for i, v := range s.InputAttachments { + if s.EventTargets != nil { + for i, v := range s.EventTargets { if v == nil { continue } if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputAttachments", i), err.(request.ErrInvalidParams)) + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "EventTargets", i), err.(request.ErrInvalidParams)) } } } @@ -33013,70 +40866,66 @@ func (s *UpdateChannelInput) Validate() error { return nil } -// SetCdiInputSpecification sets the CdiInputSpecification field's value. -func (s *UpdateChannelInput) SetCdiInputSpecification(v *CdiInputSpecification) *UpdateChannelInput { - s.CdiInputSpecification = v +// SetDescription sets the Description field's value. +func (s *UpdateEventBridgeRuleTemplateInput) SetDescription(v string) *UpdateEventBridgeRuleTemplateInput { + s.Description = &v return s } -// SetChannelId sets the ChannelId field's value. -func (s *UpdateChannelInput) SetChannelId(v string) *UpdateChannelInput { - s.ChannelId = &v +// SetEventTargets sets the EventTargets field's value. +func (s *UpdateEventBridgeRuleTemplateInput) SetEventTargets(v []*EventBridgeRuleTemplateTarget) *UpdateEventBridgeRuleTemplateInput { + s.EventTargets = v return s } -// SetDestinations sets the Destinations field's value. -func (s *UpdateChannelInput) SetDestinations(v []*OutputDestination) *UpdateChannelInput { - s.Destinations = v +// SetEventType sets the EventType field's value. +func (s *UpdateEventBridgeRuleTemplateInput) SetEventType(v string) *UpdateEventBridgeRuleTemplateInput { + s.EventType = &v return s } -// SetEncoderSettings sets the EncoderSettings field's value. -func (s *UpdateChannelInput) SetEncoderSettings(v *EncoderSettings) *UpdateChannelInput { - s.EncoderSettings = v +// SetGroupIdentifier sets the GroupIdentifier field's value. +func (s *UpdateEventBridgeRuleTemplateInput) SetGroupIdentifier(v string) *UpdateEventBridgeRuleTemplateInput { + s.GroupIdentifier = &v return s } -// SetInputAttachments sets the InputAttachments field's value. -func (s *UpdateChannelInput) SetInputAttachments(v []*InputAttachment) *UpdateChannelInput { - s.InputAttachments = v +// SetIdentifier sets the Identifier field's value. +func (s *UpdateEventBridgeRuleTemplateInput) SetIdentifier(v string) *UpdateEventBridgeRuleTemplateInput { + s.Identifier = &v return s } -// SetInputSpecification sets the InputSpecification field's value. -func (s *UpdateChannelInput) SetInputSpecification(v *InputSpecification) *UpdateChannelInput { - s.InputSpecification = v +// SetName sets the Name field's value. +func (s *UpdateEventBridgeRuleTemplateInput) SetName(v string) *UpdateEventBridgeRuleTemplateInput { + s.Name = &v return s } -// SetLogLevel sets the LogLevel field's value. -func (s *UpdateChannelInput) SetLogLevel(v string) *UpdateChannelInput { - s.LogLevel = &v - return s -} +type UpdateEventBridgeRuleTemplateOutput struct { + _ struct{} `type:"structure"` -// SetMaintenance sets the Maintenance field's value. -func (s *UpdateChannelInput) SetMaintenance(v *MaintenanceUpdateSettings) *UpdateChannelInput { - s.Maintenance = v - return s -} + Arn *string `locationName:"arn" type:"string"` -// SetName sets the Name field's value. -func (s *UpdateChannelInput) SetName(v string) *UpdateChannelInput { - s.Name = &v - return s -} + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` -// SetRoleArn sets the RoleArn field's value. -func (s *UpdateChannelInput) SetRoleArn(v string) *UpdateChannelInput { - s.RoleArn = &v - return s -} + Description *string `locationName:"description" type:"string"` -type UpdateChannelOutput struct { - _ struct{} `type:"structure"` + EventTargets []*EventBridgeRuleTemplateTarget `locationName:"eventTargets" type:"list"` - Channel *Channel `locationName:"channel" type:"structure"` + // The type of event to match with the rule. + EventType *string `locationName:"eventType" type:"string" enum:"EventBridgeRuleTemplateEventType"` + + GroupId *string `locationName:"groupId" min:"7" type:"string"` + + Id *string `locationName:"id" min:"7" type:"string"` + + ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp" timestampFormat:"iso8601"` + + Name *string `locationName:"name" min:"1" type:"string"` + + // Represents the tags associated with a resource. + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -33084,7 +40933,7 @@ type UpdateChannelOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s UpdateChannelOutput) String() string { +func (s UpdateEventBridgeRuleTemplateOutput) String() string { return awsutil.Prettify(s) } @@ -33093,13 +40942,67 @@ func (s UpdateChannelOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s UpdateChannelOutput) GoString() string { +func (s UpdateEventBridgeRuleTemplateOutput) GoString() string { return s.String() } -// SetChannel sets the Channel field's value. -func (s *UpdateChannelOutput) SetChannel(v *Channel) *UpdateChannelOutput { - s.Channel = v +// SetArn sets the Arn field's value. +func (s *UpdateEventBridgeRuleTemplateOutput) SetArn(v string) *UpdateEventBridgeRuleTemplateOutput { + s.Arn = &v + return s +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *UpdateEventBridgeRuleTemplateOutput) SetCreatedAt(v time.Time) *UpdateEventBridgeRuleTemplateOutput { + s.CreatedAt = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateEventBridgeRuleTemplateOutput) SetDescription(v string) *UpdateEventBridgeRuleTemplateOutput { + s.Description = &v + return s +} + +// SetEventTargets sets the EventTargets field's value. +func (s *UpdateEventBridgeRuleTemplateOutput) SetEventTargets(v []*EventBridgeRuleTemplateTarget) *UpdateEventBridgeRuleTemplateOutput { + s.EventTargets = v + return s +} + +// SetEventType sets the EventType field's value. +func (s *UpdateEventBridgeRuleTemplateOutput) SetEventType(v string) *UpdateEventBridgeRuleTemplateOutput { + s.EventType = &v + return s +} + +// SetGroupId sets the GroupId field's value. +func (s *UpdateEventBridgeRuleTemplateOutput) SetGroupId(v string) *UpdateEventBridgeRuleTemplateOutput { + s.GroupId = &v + return s +} + +// SetId sets the Id field's value. +func (s *UpdateEventBridgeRuleTemplateOutput) SetId(v string) *UpdateEventBridgeRuleTemplateOutput { + s.Id = &v + return s +} + +// SetModifiedAt sets the ModifiedAt field's value. +func (s *UpdateEventBridgeRuleTemplateOutput) SetModifiedAt(v time.Time) *UpdateEventBridgeRuleTemplateOutput { + s.ModifiedAt = &v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateEventBridgeRuleTemplateOutput) SetName(v string) *UpdateEventBridgeRuleTemplateOutput { + s.Name = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *UpdateEventBridgeRuleTemplateOutput) SetTags(v map[string]*string) *UpdateEventBridgeRuleTemplateOutput { + s.Tags = v return s } @@ -35394,6 +43297,128 @@ func ChannelState_Values() []string { } } +// The comparison operator used to compare the specified statistic and the threshold. +const ( + // CloudWatchAlarmTemplateComparisonOperatorGreaterThanOrEqualToThreshold is a CloudWatchAlarmTemplateComparisonOperator enum value + CloudWatchAlarmTemplateComparisonOperatorGreaterThanOrEqualToThreshold = "GreaterThanOrEqualToThreshold" + + // CloudWatchAlarmTemplateComparisonOperatorGreaterThanThreshold is a CloudWatchAlarmTemplateComparisonOperator enum value + CloudWatchAlarmTemplateComparisonOperatorGreaterThanThreshold = "GreaterThanThreshold" + + // CloudWatchAlarmTemplateComparisonOperatorLessThanThreshold is a CloudWatchAlarmTemplateComparisonOperator enum value + CloudWatchAlarmTemplateComparisonOperatorLessThanThreshold = "LessThanThreshold" + + // CloudWatchAlarmTemplateComparisonOperatorLessThanOrEqualToThreshold is a CloudWatchAlarmTemplateComparisonOperator enum value + CloudWatchAlarmTemplateComparisonOperatorLessThanOrEqualToThreshold = "LessThanOrEqualToThreshold" +) + +// CloudWatchAlarmTemplateComparisonOperator_Values returns all elements of the CloudWatchAlarmTemplateComparisonOperator enum +func CloudWatchAlarmTemplateComparisonOperator_Values() []string { + return []string{ + CloudWatchAlarmTemplateComparisonOperatorGreaterThanOrEqualToThreshold, + CloudWatchAlarmTemplateComparisonOperatorGreaterThanThreshold, + CloudWatchAlarmTemplateComparisonOperatorLessThanThreshold, + CloudWatchAlarmTemplateComparisonOperatorLessThanOrEqualToThreshold, + } +} + +// The statistic to apply to the alarm's metric data. +const ( + // CloudWatchAlarmTemplateStatisticSampleCount is a CloudWatchAlarmTemplateStatistic enum value + CloudWatchAlarmTemplateStatisticSampleCount = "SampleCount" + + // CloudWatchAlarmTemplateStatisticAverage is a CloudWatchAlarmTemplateStatistic enum value + CloudWatchAlarmTemplateStatisticAverage = "Average" + + // CloudWatchAlarmTemplateStatisticSum is a CloudWatchAlarmTemplateStatistic enum value + CloudWatchAlarmTemplateStatisticSum = "Sum" + + // CloudWatchAlarmTemplateStatisticMinimum is a CloudWatchAlarmTemplateStatistic enum value + CloudWatchAlarmTemplateStatisticMinimum = "Minimum" + + // CloudWatchAlarmTemplateStatisticMaximum is a CloudWatchAlarmTemplateStatistic enum value + CloudWatchAlarmTemplateStatisticMaximum = "Maximum" +) + +// CloudWatchAlarmTemplateStatistic_Values returns all elements of the CloudWatchAlarmTemplateStatistic enum +func CloudWatchAlarmTemplateStatistic_Values() []string { + return []string{ + CloudWatchAlarmTemplateStatisticSampleCount, + CloudWatchAlarmTemplateStatisticAverage, + CloudWatchAlarmTemplateStatisticSum, + CloudWatchAlarmTemplateStatisticMinimum, + CloudWatchAlarmTemplateStatisticMaximum, + } +} + +// The resource type this template should dynamically generate cloudwatch metric +// alarms for. +const ( + // CloudWatchAlarmTemplateTargetResourceTypeCloudfrontDistribution is a CloudWatchAlarmTemplateTargetResourceType enum value + CloudWatchAlarmTemplateTargetResourceTypeCloudfrontDistribution = "CLOUDFRONT_DISTRIBUTION" + + // CloudWatchAlarmTemplateTargetResourceTypeMedialiveMultiplex is a CloudWatchAlarmTemplateTargetResourceType enum value + CloudWatchAlarmTemplateTargetResourceTypeMedialiveMultiplex = "MEDIALIVE_MULTIPLEX" + + // CloudWatchAlarmTemplateTargetResourceTypeMedialiveChannel is a CloudWatchAlarmTemplateTargetResourceType enum value + CloudWatchAlarmTemplateTargetResourceTypeMedialiveChannel = "MEDIALIVE_CHANNEL" + + // CloudWatchAlarmTemplateTargetResourceTypeMedialiveInputDevice is a CloudWatchAlarmTemplateTargetResourceType enum value + CloudWatchAlarmTemplateTargetResourceTypeMedialiveInputDevice = "MEDIALIVE_INPUT_DEVICE" + + // CloudWatchAlarmTemplateTargetResourceTypeMediapackageChannel is a CloudWatchAlarmTemplateTargetResourceType enum value + CloudWatchAlarmTemplateTargetResourceTypeMediapackageChannel = "MEDIAPACKAGE_CHANNEL" + + // CloudWatchAlarmTemplateTargetResourceTypeMediapackageOriginEndpoint is a CloudWatchAlarmTemplateTargetResourceType enum value + CloudWatchAlarmTemplateTargetResourceTypeMediapackageOriginEndpoint = "MEDIAPACKAGE_ORIGIN_ENDPOINT" + + // CloudWatchAlarmTemplateTargetResourceTypeMediaconnectFlow is a CloudWatchAlarmTemplateTargetResourceType enum value + CloudWatchAlarmTemplateTargetResourceTypeMediaconnectFlow = "MEDIACONNECT_FLOW" + + // CloudWatchAlarmTemplateTargetResourceTypeS3Bucket is a CloudWatchAlarmTemplateTargetResourceType enum value + CloudWatchAlarmTemplateTargetResourceTypeS3Bucket = "S3_BUCKET" +) + +// CloudWatchAlarmTemplateTargetResourceType_Values returns all elements of the CloudWatchAlarmTemplateTargetResourceType enum +func CloudWatchAlarmTemplateTargetResourceType_Values() []string { + return []string{ + CloudWatchAlarmTemplateTargetResourceTypeCloudfrontDistribution, + CloudWatchAlarmTemplateTargetResourceTypeMedialiveMultiplex, + CloudWatchAlarmTemplateTargetResourceTypeMedialiveChannel, + CloudWatchAlarmTemplateTargetResourceTypeMedialiveInputDevice, + CloudWatchAlarmTemplateTargetResourceTypeMediapackageChannel, + CloudWatchAlarmTemplateTargetResourceTypeMediapackageOriginEndpoint, + CloudWatchAlarmTemplateTargetResourceTypeMediaconnectFlow, + CloudWatchAlarmTemplateTargetResourceTypeS3Bucket, + } +} + +// Specifies how missing data points are treated when evaluating the alarm's +// condition. +const ( + // CloudWatchAlarmTemplateTreatMissingDataNotBreaching is a CloudWatchAlarmTemplateTreatMissingData enum value + CloudWatchAlarmTemplateTreatMissingDataNotBreaching = "notBreaching" + + // CloudWatchAlarmTemplateTreatMissingDataBreaching is a CloudWatchAlarmTemplateTreatMissingData enum value + CloudWatchAlarmTemplateTreatMissingDataBreaching = "breaching" + + // CloudWatchAlarmTemplateTreatMissingDataIgnore is a CloudWatchAlarmTemplateTreatMissingData enum value + CloudWatchAlarmTemplateTreatMissingDataIgnore = "ignore" + + // CloudWatchAlarmTemplateTreatMissingDataMissing is a CloudWatchAlarmTemplateTreatMissingData enum value + CloudWatchAlarmTemplateTreatMissingDataMissing = "missing" +) + +// CloudWatchAlarmTemplateTreatMissingData_Values returns all elements of the CloudWatchAlarmTemplateTreatMissingData enum +func CloudWatchAlarmTemplateTreatMissingData_Values() []string { + return []string{ + CloudWatchAlarmTemplateTreatMissingDataNotBreaching, + CloudWatchAlarmTemplateTreatMissingDataBreaching, + CloudWatchAlarmTemplateTreatMissingDataIgnore, + CloudWatchAlarmTemplateTreatMissingDataMissing, + } +} + // Cmaf Ingest Segment Length Units const ( // CmafIngestSegmentLengthUnitsMilliseconds is a CmafIngestSegmentLengthUnits enum value @@ -36357,6 +44382,67 @@ func EmbeddedScte20Detection_Values() []string { } } +// The type of event to match with the rule. +const ( + // EventBridgeRuleTemplateEventTypeMedialiveMultiplexAlert is a EventBridgeRuleTemplateEventType enum value + EventBridgeRuleTemplateEventTypeMedialiveMultiplexAlert = "MEDIALIVE_MULTIPLEX_ALERT" + + // EventBridgeRuleTemplateEventTypeMedialiveMultiplexStateChange is a EventBridgeRuleTemplateEventType enum value + EventBridgeRuleTemplateEventTypeMedialiveMultiplexStateChange = "MEDIALIVE_MULTIPLEX_STATE_CHANGE" + + // EventBridgeRuleTemplateEventTypeMedialiveChannelAlert is a EventBridgeRuleTemplateEventType enum value + EventBridgeRuleTemplateEventTypeMedialiveChannelAlert = "MEDIALIVE_CHANNEL_ALERT" + + // EventBridgeRuleTemplateEventTypeMedialiveChannelInputChange is a EventBridgeRuleTemplateEventType enum value + EventBridgeRuleTemplateEventTypeMedialiveChannelInputChange = "MEDIALIVE_CHANNEL_INPUT_CHANGE" + + // EventBridgeRuleTemplateEventTypeMedialiveChannelStateChange is a EventBridgeRuleTemplateEventType enum value + EventBridgeRuleTemplateEventTypeMedialiveChannelStateChange = "MEDIALIVE_CHANNEL_STATE_CHANGE" + + // EventBridgeRuleTemplateEventTypeMediapackageInputNotification is a EventBridgeRuleTemplateEventType enum value + EventBridgeRuleTemplateEventTypeMediapackageInputNotification = "MEDIAPACKAGE_INPUT_NOTIFICATION" + + // EventBridgeRuleTemplateEventTypeMediapackageKeyProviderNotification is a EventBridgeRuleTemplateEventType enum value + EventBridgeRuleTemplateEventTypeMediapackageKeyProviderNotification = "MEDIAPACKAGE_KEY_PROVIDER_NOTIFICATION" + + // EventBridgeRuleTemplateEventTypeMediapackageHarvestJobNotification is a EventBridgeRuleTemplateEventType enum value + EventBridgeRuleTemplateEventTypeMediapackageHarvestJobNotification = "MEDIAPACKAGE_HARVEST_JOB_NOTIFICATION" + + // EventBridgeRuleTemplateEventTypeSignalMapActiveAlarm is a EventBridgeRuleTemplateEventType enum value + EventBridgeRuleTemplateEventTypeSignalMapActiveAlarm = "SIGNAL_MAP_ACTIVE_ALARM" + + // EventBridgeRuleTemplateEventTypeMediaconnectAlert is a EventBridgeRuleTemplateEventType enum value + EventBridgeRuleTemplateEventTypeMediaconnectAlert = "MEDIACONNECT_ALERT" + + // EventBridgeRuleTemplateEventTypeMediaconnectSourceHealth is a EventBridgeRuleTemplateEventType enum value + EventBridgeRuleTemplateEventTypeMediaconnectSourceHealth = "MEDIACONNECT_SOURCE_HEALTH" + + // EventBridgeRuleTemplateEventTypeMediaconnectOutputHealth is a EventBridgeRuleTemplateEventType enum value + EventBridgeRuleTemplateEventTypeMediaconnectOutputHealth = "MEDIACONNECT_OUTPUT_HEALTH" + + // EventBridgeRuleTemplateEventTypeMediaconnectFlowStatusChange is a EventBridgeRuleTemplateEventType enum value + EventBridgeRuleTemplateEventTypeMediaconnectFlowStatusChange = "MEDIACONNECT_FLOW_STATUS_CHANGE" +) + +// EventBridgeRuleTemplateEventType_Values returns all elements of the EventBridgeRuleTemplateEventType enum +func EventBridgeRuleTemplateEventType_Values() []string { + return []string{ + EventBridgeRuleTemplateEventTypeMedialiveMultiplexAlert, + EventBridgeRuleTemplateEventTypeMedialiveMultiplexStateChange, + EventBridgeRuleTemplateEventTypeMedialiveChannelAlert, + EventBridgeRuleTemplateEventTypeMedialiveChannelInputChange, + EventBridgeRuleTemplateEventTypeMedialiveChannelStateChange, + EventBridgeRuleTemplateEventTypeMediapackageInputNotification, + EventBridgeRuleTemplateEventTypeMediapackageKeyProviderNotification, + EventBridgeRuleTemplateEventTypeMediapackageHarvestJobNotification, + EventBridgeRuleTemplateEventTypeSignalMapActiveAlarm, + EventBridgeRuleTemplateEventTypeMediaconnectAlert, + EventBridgeRuleTemplateEventTypeMediaconnectSourceHealth, + EventBridgeRuleTemplateEventTypeMediaconnectOutputHealth, + EventBridgeRuleTemplateEventTypeMediaconnectFlowStatusChange, + } +} + // Feature Activations Input Prepare Schedule Actions const ( // FeatureActivationsInputPrepareScheduleActionsDisabled is a FeatureActivationsInputPrepareScheduleActions enum value @@ -40127,6 +48213,101 @@ func Scte35WebDeliveryAllowedFlag_Values() []string { } } +// A signal map's monitor deployment status. +const ( + // SignalMapMonitorDeploymentStatusNotDeployed is a SignalMapMonitorDeploymentStatus enum value + SignalMapMonitorDeploymentStatusNotDeployed = "NOT_DEPLOYED" + + // SignalMapMonitorDeploymentStatusDryRunDeploymentComplete is a SignalMapMonitorDeploymentStatus enum value + SignalMapMonitorDeploymentStatusDryRunDeploymentComplete = "DRY_RUN_DEPLOYMENT_COMPLETE" + + // SignalMapMonitorDeploymentStatusDryRunDeploymentFailed is a SignalMapMonitorDeploymentStatus enum value + SignalMapMonitorDeploymentStatusDryRunDeploymentFailed = "DRY_RUN_DEPLOYMENT_FAILED" + + // SignalMapMonitorDeploymentStatusDryRunDeploymentInProgress is a SignalMapMonitorDeploymentStatus enum value + SignalMapMonitorDeploymentStatusDryRunDeploymentInProgress = "DRY_RUN_DEPLOYMENT_IN_PROGRESS" + + // SignalMapMonitorDeploymentStatusDeploymentComplete is a SignalMapMonitorDeploymentStatus enum value + SignalMapMonitorDeploymentStatusDeploymentComplete = "DEPLOYMENT_COMPLETE" + + // SignalMapMonitorDeploymentStatusDeploymentFailed is a SignalMapMonitorDeploymentStatus enum value + SignalMapMonitorDeploymentStatusDeploymentFailed = "DEPLOYMENT_FAILED" + + // SignalMapMonitorDeploymentStatusDeploymentInProgress is a SignalMapMonitorDeploymentStatus enum value + SignalMapMonitorDeploymentStatusDeploymentInProgress = "DEPLOYMENT_IN_PROGRESS" + + // SignalMapMonitorDeploymentStatusDeleteComplete is a SignalMapMonitorDeploymentStatus enum value + SignalMapMonitorDeploymentStatusDeleteComplete = "DELETE_COMPLETE" + + // SignalMapMonitorDeploymentStatusDeleteFailed is a SignalMapMonitorDeploymentStatus enum value + SignalMapMonitorDeploymentStatusDeleteFailed = "DELETE_FAILED" + + // SignalMapMonitorDeploymentStatusDeleteInProgress is a SignalMapMonitorDeploymentStatus enum value + SignalMapMonitorDeploymentStatusDeleteInProgress = "DELETE_IN_PROGRESS" +) + +// SignalMapMonitorDeploymentStatus_Values returns all elements of the SignalMapMonitorDeploymentStatus enum +func SignalMapMonitorDeploymentStatus_Values() []string { + return []string{ + SignalMapMonitorDeploymentStatusNotDeployed, + SignalMapMonitorDeploymentStatusDryRunDeploymentComplete, + SignalMapMonitorDeploymentStatusDryRunDeploymentFailed, + SignalMapMonitorDeploymentStatusDryRunDeploymentInProgress, + SignalMapMonitorDeploymentStatusDeploymentComplete, + SignalMapMonitorDeploymentStatusDeploymentFailed, + SignalMapMonitorDeploymentStatusDeploymentInProgress, + SignalMapMonitorDeploymentStatusDeleteComplete, + SignalMapMonitorDeploymentStatusDeleteFailed, + SignalMapMonitorDeploymentStatusDeleteInProgress, + } +} + +// A signal map's current status which is dependent on its lifecycle actions +// or associated jobs. +const ( + // SignalMapStatusCreateInProgress is a SignalMapStatus enum value + SignalMapStatusCreateInProgress = "CREATE_IN_PROGRESS" + + // SignalMapStatusCreateComplete is a SignalMapStatus enum value + SignalMapStatusCreateComplete = "CREATE_COMPLETE" + + // SignalMapStatusCreateFailed is a SignalMapStatus enum value + SignalMapStatusCreateFailed = "CREATE_FAILED" + + // SignalMapStatusUpdateInProgress is a SignalMapStatus enum value + SignalMapStatusUpdateInProgress = "UPDATE_IN_PROGRESS" + + // SignalMapStatusUpdateComplete is a SignalMapStatus enum value + SignalMapStatusUpdateComplete = "UPDATE_COMPLETE" + + // SignalMapStatusUpdateReverted is a SignalMapStatus enum value + SignalMapStatusUpdateReverted = "UPDATE_REVERTED" + + // SignalMapStatusUpdateFailed is a SignalMapStatus enum value + SignalMapStatusUpdateFailed = "UPDATE_FAILED" + + // SignalMapStatusReady is a SignalMapStatus enum value + SignalMapStatusReady = "READY" + + // SignalMapStatusNotReady is a SignalMapStatus enum value + SignalMapStatusNotReady = "NOT_READY" +) + +// SignalMapStatus_Values returns all elements of the SignalMapStatus enum +func SignalMapStatus_Values() []string { + return []string{ + SignalMapStatusCreateInProgress, + SignalMapStatusCreateComplete, + SignalMapStatusCreateFailed, + SignalMapStatusUpdateInProgress, + SignalMapStatusUpdateComplete, + SignalMapStatusUpdateReverted, + SignalMapStatusUpdateFailed, + SignalMapStatusReady, + SignalMapStatusNotReady, + } +} + // Smooth Group Audio Only Timecode Control const ( // SmoothGroupAudioOnlyTimecodeControlPassthrough is a SmoothGroupAudioOnlyTimecodeControl enum value diff --git a/service/medialive/medialiveiface/interface.go b/service/medialive/medialiveiface/interface.go index 68fd37cb8b7..460683233dc 100644 --- a/service/medialive/medialiveiface/interface.go +++ b/service/medialive/medialiveiface/interface.go @@ -92,6 +92,22 @@ type MediaLiveAPI interface { CreateChannelWithContext(aws.Context, *medialive.CreateChannelInput, ...request.Option) (*medialive.CreateChannelOutput, error) CreateChannelRequest(*medialive.CreateChannelInput) (*request.Request, *medialive.CreateChannelOutput) + CreateCloudWatchAlarmTemplate(*medialive.CreateCloudWatchAlarmTemplateInput) (*medialive.CreateCloudWatchAlarmTemplateOutput, error) + CreateCloudWatchAlarmTemplateWithContext(aws.Context, *medialive.CreateCloudWatchAlarmTemplateInput, ...request.Option) (*medialive.CreateCloudWatchAlarmTemplateOutput, error) + CreateCloudWatchAlarmTemplateRequest(*medialive.CreateCloudWatchAlarmTemplateInput) (*request.Request, *medialive.CreateCloudWatchAlarmTemplateOutput) + + CreateCloudWatchAlarmTemplateGroup(*medialive.CreateCloudWatchAlarmTemplateGroupInput) (*medialive.CreateCloudWatchAlarmTemplateGroupOutput, error) + CreateCloudWatchAlarmTemplateGroupWithContext(aws.Context, *medialive.CreateCloudWatchAlarmTemplateGroupInput, ...request.Option) (*medialive.CreateCloudWatchAlarmTemplateGroupOutput, error) + CreateCloudWatchAlarmTemplateGroupRequest(*medialive.CreateCloudWatchAlarmTemplateGroupInput) (*request.Request, *medialive.CreateCloudWatchAlarmTemplateGroupOutput) + + CreateEventBridgeRuleTemplate(*medialive.CreateEventBridgeRuleTemplateInput) (*medialive.CreateEventBridgeRuleTemplateOutput, error) + CreateEventBridgeRuleTemplateWithContext(aws.Context, *medialive.CreateEventBridgeRuleTemplateInput, ...request.Option) (*medialive.CreateEventBridgeRuleTemplateOutput, error) + CreateEventBridgeRuleTemplateRequest(*medialive.CreateEventBridgeRuleTemplateInput) (*request.Request, *medialive.CreateEventBridgeRuleTemplateOutput) + + CreateEventBridgeRuleTemplateGroup(*medialive.CreateEventBridgeRuleTemplateGroupInput) (*medialive.CreateEventBridgeRuleTemplateGroupOutput, error) + CreateEventBridgeRuleTemplateGroupWithContext(aws.Context, *medialive.CreateEventBridgeRuleTemplateGroupInput, ...request.Option) (*medialive.CreateEventBridgeRuleTemplateGroupOutput, error) + CreateEventBridgeRuleTemplateGroupRequest(*medialive.CreateEventBridgeRuleTemplateGroupInput) (*request.Request, *medialive.CreateEventBridgeRuleTemplateGroupOutput) + CreateInput(*medialive.CreateInputInput) (*medialive.CreateInputOutput, error) CreateInputWithContext(aws.Context, *medialive.CreateInputInput, ...request.Option) (*medialive.CreateInputOutput, error) CreateInputRequest(*medialive.CreateInputInput) (*request.Request, *medialive.CreateInputOutput) @@ -112,6 +128,10 @@ type MediaLiveAPI interface { CreatePartnerInputWithContext(aws.Context, *medialive.CreatePartnerInputInput, ...request.Option) (*medialive.CreatePartnerInputOutput, error) CreatePartnerInputRequest(*medialive.CreatePartnerInputInput) (*request.Request, *medialive.CreatePartnerInputOutput) + CreateSignalMap(*medialive.CreateSignalMapInput) (*medialive.CreateSignalMapOutput, error) + CreateSignalMapWithContext(aws.Context, *medialive.CreateSignalMapInput, ...request.Option) (*medialive.CreateSignalMapOutput, error) + CreateSignalMapRequest(*medialive.CreateSignalMapInput) (*request.Request, *medialive.CreateSignalMapOutput) + CreateTags(*medialive.CreateTagsInput) (*medialive.CreateTagsOutput, error) CreateTagsWithContext(aws.Context, *medialive.CreateTagsInput, ...request.Option) (*medialive.CreateTagsOutput, error) CreateTagsRequest(*medialive.CreateTagsInput) (*request.Request, *medialive.CreateTagsOutput) @@ -120,6 +140,22 @@ type MediaLiveAPI interface { DeleteChannelWithContext(aws.Context, *medialive.DeleteChannelInput, ...request.Option) (*medialive.DeleteChannelOutput, error) DeleteChannelRequest(*medialive.DeleteChannelInput) (*request.Request, *medialive.DeleteChannelOutput) + DeleteCloudWatchAlarmTemplate(*medialive.DeleteCloudWatchAlarmTemplateInput) (*medialive.DeleteCloudWatchAlarmTemplateOutput, error) + DeleteCloudWatchAlarmTemplateWithContext(aws.Context, *medialive.DeleteCloudWatchAlarmTemplateInput, ...request.Option) (*medialive.DeleteCloudWatchAlarmTemplateOutput, error) + DeleteCloudWatchAlarmTemplateRequest(*medialive.DeleteCloudWatchAlarmTemplateInput) (*request.Request, *medialive.DeleteCloudWatchAlarmTemplateOutput) + + DeleteCloudWatchAlarmTemplateGroup(*medialive.DeleteCloudWatchAlarmTemplateGroupInput) (*medialive.DeleteCloudWatchAlarmTemplateGroupOutput, error) + DeleteCloudWatchAlarmTemplateGroupWithContext(aws.Context, *medialive.DeleteCloudWatchAlarmTemplateGroupInput, ...request.Option) (*medialive.DeleteCloudWatchAlarmTemplateGroupOutput, error) + DeleteCloudWatchAlarmTemplateGroupRequest(*medialive.DeleteCloudWatchAlarmTemplateGroupInput) (*request.Request, *medialive.DeleteCloudWatchAlarmTemplateGroupOutput) + + DeleteEventBridgeRuleTemplate(*medialive.DeleteEventBridgeRuleTemplateInput) (*medialive.DeleteEventBridgeRuleTemplateOutput, error) + DeleteEventBridgeRuleTemplateWithContext(aws.Context, *medialive.DeleteEventBridgeRuleTemplateInput, ...request.Option) (*medialive.DeleteEventBridgeRuleTemplateOutput, error) + DeleteEventBridgeRuleTemplateRequest(*medialive.DeleteEventBridgeRuleTemplateInput) (*request.Request, *medialive.DeleteEventBridgeRuleTemplateOutput) + + DeleteEventBridgeRuleTemplateGroup(*medialive.DeleteEventBridgeRuleTemplateGroupInput) (*medialive.DeleteEventBridgeRuleTemplateGroupOutput, error) + DeleteEventBridgeRuleTemplateGroupWithContext(aws.Context, *medialive.DeleteEventBridgeRuleTemplateGroupInput, ...request.Option) (*medialive.DeleteEventBridgeRuleTemplateGroupOutput, error) + DeleteEventBridgeRuleTemplateGroupRequest(*medialive.DeleteEventBridgeRuleTemplateGroupInput) (*request.Request, *medialive.DeleteEventBridgeRuleTemplateGroupOutput) + DeleteInput(*medialive.DeleteInputInput) (*medialive.DeleteInputOutput, error) DeleteInputWithContext(aws.Context, *medialive.DeleteInputInput, ...request.Option) (*medialive.DeleteInputOutput, error) DeleteInputRequest(*medialive.DeleteInputInput) (*request.Request, *medialive.DeleteInputOutput) @@ -144,6 +180,10 @@ type MediaLiveAPI interface { DeleteScheduleWithContext(aws.Context, *medialive.DeleteScheduleInput, ...request.Option) (*medialive.DeleteScheduleOutput, error) DeleteScheduleRequest(*medialive.DeleteScheduleInput) (*request.Request, *medialive.DeleteScheduleOutput) + DeleteSignalMap(*medialive.DeleteSignalMapInput) (*medialive.DeleteSignalMapOutput, error) + DeleteSignalMapWithContext(aws.Context, *medialive.DeleteSignalMapInput, ...request.Option) (*medialive.DeleteSignalMapOutput, error) + DeleteSignalMapRequest(*medialive.DeleteSignalMapInput) (*request.Request, *medialive.DeleteSignalMapOutput) + DeleteTags(*medialive.DeleteTagsInput) (*medialive.DeleteTagsOutput, error) DeleteTagsWithContext(aws.Context, *medialive.DeleteTagsInput, ...request.Option) (*medialive.DeleteTagsOutput, error) DeleteTagsRequest(*medialive.DeleteTagsInput) (*request.Request, *medialive.DeleteTagsOutput) @@ -199,6 +239,26 @@ type MediaLiveAPI interface { DescribeThumbnailsWithContext(aws.Context, *medialive.DescribeThumbnailsInput, ...request.Option) (*medialive.DescribeThumbnailsOutput, error) DescribeThumbnailsRequest(*medialive.DescribeThumbnailsInput) (*request.Request, *medialive.DescribeThumbnailsOutput) + GetCloudWatchAlarmTemplate(*medialive.GetCloudWatchAlarmTemplateInput) (*medialive.GetCloudWatchAlarmTemplateOutput, error) + GetCloudWatchAlarmTemplateWithContext(aws.Context, *medialive.GetCloudWatchAlarmTemplateInput, ...request.Option) (*medialive.GetCloudWatchAlarmTemplateOutput, error) + GetCloudWatchAlarmTemplateRequest(*medialive.GetCloudWatchAlarmTemplateInput) (*request.Request, *medialive.GetCloudWatchAlarmTemplateOutput) + + GetCloudWatchAlarmTemplateGroup(*medialive.GetCloudWatchAlarmTemplateGroupInput) (*medialive.GetCloudWatchAlarmTemplateGroupOutput, error) + GetCloudWatchAlarmTemplateGroupWithContext(aws.Context, *medialive.GetCloudWatchAlarmTemplateGroupInput, ...request.Option) (*medialive.GetCloudWatchAlarmTemplateGroupOutput, error) + GetCloudWatchAlarmTemplateGroupRequest(*medialive.GetCloudWatchAlarmTemplateGroupInput) (*request.Request, *medialive.GetCloudWatchAlarmTemplateGroupOutput) + + GetEventBridgeRuleTemplate(*medialive.GetEventBridgeRuleTemplateInput) (*medialive.GetEventBridgeRuleTemplateOutput, error) + GetEventBridgeRuleTemplateWithContext(aws.Context, *medialive.GetEventBridgeRuleTemplateInput, ...request.Option) (*medialive.GetEventBridgeRuleTemplateOutput, error) + GetEventBridgeRuleTemplateRequest(*medialive.GetEventBridgeRuleTemplateInput) (*request.Request, *medialive.GetEventBridgeRuleTemplateOutput) + + GetEventBridgeRuleTemplateGroup(*medialive.GetEventBridgeRuleTemplateGroupInput) (*medialive.GetEventBridgeRuleTemplateGroupOutput, error) + GetEventBridgeRuleTemplateGroupWithContext(aws.Context, *medialive.GetEventBridgeRuleTemplateGroupInput, ...request.Option) (*medialive.GetEventBridgeRuleTemplateGroupOutput, error) + GetEventBridgeRuleTemplateGroupRequest(*medialive.GetEventBridgeRuleTemplateGroupInput) (*request.Request, *medialive.GetEventBridgeRuleTemplateGroupOutput) + + GetSignalMap(*medialive.GetSignalMapInput) (*medialive.GetSignalMapOutput, error) + GetSignalMapWithContext(aws.Context, *medialive.GetSignalMapInput, ...request.Option) (*medialive.GetSignalMapOutput, error) + GetSignalMapRequest(*medialive.GetSignalMapInput) (*request.Request, *medialive.GetSignalMapOutput) + ListChannels(*medialive.ListChannelsInput) (*medialive.ListChannelsOutput, error) ListChannelsWithContext(aws.Context, *medialive.ListChannelsInput, ...request.Option) (*medialive.ListChannelsOutput, error) ListChannelsRequest(*medialive.ListChannelsInput) (*request.Request, *medialive.ListChannelsOutput) @@ -206,6 +266,34 @@ type MediaLiveAPI interface { ListChannelsPages(*medialive.ListChannelsInput, func(*medialive.ListChannelsOutput, bool) bool) error ListChannelsPagesWithContext(aws.Context, *medialive.ListChannelsInput, func(*medialive.ListChannelsOutput, bool) bool, ...request.Option) error + ListCloudWatchAlarmTemplateGroups(*medialive.ListCloudWatchAlarmTemplateGroupsInput) (*medialive.ListCloudWatchAlarmTemplateGroupsOutput, error) + ListCloudWatchAlarmTemplateGroupsWithContext(aws.Context, *medialive.ListCloudWatchAlarmTemplateGroupsInput, ...request.Option) (*medialive.ListCloudWatchAlarmTemplateGroupsOutput, error) + ListCloudWatchAlarmTemplateGroupsRequest(*medialive.ListCloudWatchAlarmTemplateGroupsInput) (*request.Request, *medialive.ListCloudWatchAlarmTemplateGroupsOutput) + + ListCloudWatchAlarmTemplateGroupsPages(*medialive.ListCloudWatchAlarmTemplateGroupsInput, func(*medialive.ListCloudWatchAlarmTemplateGroupsOutput, bool) bool) error + ListCloudWatchAlarmTemplateGroupsPagesWithContext(aws.Context, *medialive.ListCloudWatchAlarmTemplateGroupsInput, func(*medialive.ListCloudWatchAlarmTemplateGroupsOutput, bool) bool, ...request.Option) error + + ListCloudWatchAlarmTemplates(*medialive.ListCloudWatchAlarmTemplatesInput) (*medialive.ListCloudWatchAlarmTemplatesOutput, error) + ListCloudWatchAlarmTemplatesWithContext(aws.Context, *medialive.ListCloudWatchAlarmTemplatesInput, ...request.Option) (*medialive.ListCloudWatchAlarmTemplatesOutput, error) + ListCloudWatchAlarmTemplatesRequest(*medialive.ListCloudWatchAlarmTemplatesInput) (*request.Request, *medialive.ListCloudWatchAlarmTemplatesOutput) + + ListCloudWatchAlarmTemplatesPages(*medialive.ListCloudWatchAlarmTemplatesInput, func(*medialive.ListCloudWatchAlarmTemplatesOutput, bool) bool) error + ListCloudWatchAlarmTemplatesPagesWithContext(aws.Context, *medialive.ListCloudWatchAlarmTemplatesInput, func(*medialive.ListCloudWatchAlarmTemplatesOutput, bool) bool, ...request.Option) error + + ListEventBridgeRuleTemplateGroups(*medialive.ListEventBridgeRuleTemplateGroupsInput) (*medialive.ListEventBridgeRuleTemplateGroupsOutput, error) + ListEventBridgeRuleTemplateGroupsWithContext(aws.Context, *medialive.ListEventBridgeRuleTemplateGroupsInput, ...request.Option) (*medialive.ListEventBridgeRuleTemplateGroupsOutput, error) + ListEventBridgeRuleTemplateGroupsRequest(*medialive.ListEventBridgeRuleTemplateGroupsInput) (*request.Request, *medialive.ListEventBridgeRuleTemplateGroupsOutput) + + ListEventBridgeRuleTemplateGroupsPages(*medialive.ListEventBridgeRuleTemplateGroupsInput, func(*medialive.ListEventBridgeRuleTemplateGroupsOutput, bool) bool) error + ListEventBridgeRuleTemplateGroupsPagesWithContext(aws.Context, *medialive.ListEventBridgeRuleTemplateGroupsInput, func(*medialive.ListEventBridgeRuleTemplateGroupsOutput, bool) bool, ...request.Option) error + + ListEventBridgeRuleTemplates(*medialive.ListEventBridgeRuleTemplatesInput) (*medialive.ListEventBridgeRuleTemplatesOutput, error) + ListEventBridgeRuleTemplatesWithContext(aws.Context, *medialive.ListEventBridgeRuleTemplatesInput, ...request.Option) (*medialive.ListEventBridgeRuleTemplatesOutput, error) + ListEventBridgeRuleTemplatesRequest(*medialive.ListEventBridgeRuleTemplatesInput) (*request.Request, *medialive.ListEventBridgeRuleTemplatesOutput) + + ListEventBridgeRuleTemplatesPages(*medialive.ListEventBridgeRuleTemplatesInput, func(*medialive.ListEventBridgeRuleTemplatesOutput, bool) bool) error + ListEventBridgeRuleTemplatesPagesWithContext(aws.Context, *medialive.ListEventBridgeRuleTemplatesInput, func(*medialive.ListEventBridgeRuleTemplatesOutput, bool) bool, ...request.Option) error + ListInputDeviceTransfers(*medialive.ListInputDeviceTransfersInput) (*medialive.ListInputDeviceTransfersOutput, error) ListInputDeviceTransfersWithContext(aws.Context, *medialive.ListInputDeviceTransfersInput, ...request.Option) (*medialive.ListInputDeviceTransfersOutput, error) ListInputDeviceTransfersRequest(*medialive.ListInputDeviceTransfersInput) (*request.Request, *medialive.ListInputDeviceTransfersOutput) @@ -262,6 +350,13 @@ type MediaLiveAPI interface { ListReservationsPages(*medialive.ListReservationsInput, func(*medialive.ListReservationsOutput, bool) bool) error ListReservationsPagesWithContext(aws.Context, *medialive.ListReservationsInput, func(*medialive.ListReservationsOutput, bool) bool, ...request.Option) error + ListSignalMaps(*medialive.ListSignalMapsInput) (*medialive.ListSignalMapsOutput, error) + ListSignalMapsWithContext(aws.Context, *medialive.ListSignalMapsInput, ...request.Option) (*medialive.ListSignalMapsOutput, error) + ListSignalMapsRequest(*medialive.ListSignalMapsInput) (*request.Request, *medialive.ListSignalMapsOutput) + + ListSignalMapsPages(*medialive.ListSignalMapsInput, func(*medialive.ListSignalMapsOutput, bool) bool) error + ListSignalMapsPagesWithContext(aws.Context, *medialive.ListSignalMapsInput, func(*medialive.ListSignalMapsOutput, bool) bool, ...request.Option) error + ListTagsForResource(*medialive.ListTagsForResourceInput) (*medialive.ListTagsForResourceOutput, error) ListTagsForResourceWithContext(aws.Context, *medialive.ListTagsForResourceInput, ...request.Option) (*medialive.ListTagsForResourceOutput, error) ListTagsForResourceRequest(*medialive.ListTagsForResourceInput) (*request.Request, *medialive.ListTagsForResourceOutput) @@ -286,6 +381,10 @@ type MediaLiveAPI interface { StartChannelWithContext(aws.Context, *medialive.StartChannelInput, ...request.Option) (*medialive.StartChannelOutput, error) StartChannelRequest(*medialive.StartChannelInput) (*request.Request, *medialive.StartChannelOutput) + StartDeleteMonitorDeployment(*medialive.StartDeleteMonitorDeploymentInput) (*medialive.StartDeleteMonitorDeploymentOutput, error) + StartDeleteMonitorDeploymentWithContext(aws.Context, *medialive.StartDeleteMonitorDeploymentInput, ...request.Option) (*medialive.StartDeleteMonitorDeploymentOutput, error) + StartDeleteMonitorDeploymentRequest(*medialive.StartDeleteMonitorDeploymentInput) (*request.Request, *medialive.StartDeleteMonitorDeploymentOutput) + StartInputDevice(*medialive.StartInputDeviceInput) (*medialive.StartInputDeviceOutput, error) StartInputDeviceWithContext(aws.Context, *medialive.StartInputDeviceInput, ...request.Option) (*medialive.StartInputDeviceOutput, error) StartInputDeviceRequest(*medialive.StartInputDeviceInput) (*request.Request, *medialive.StartInputDeviceOutput) @@ -294,10 +393,18 @@ type MediaLiveAPI interface { StartInputDeviceMaintenanceWindowWithContext(aws.Context, *medialive.StartInputDeviceMaintenanceWindowInput, ...request.Option) (*medialive.StartInputDeviceMaintenanceWindowOutput, error) StartInputDeviceMaintenanceWindowRequest(*medialive.StartInputDeviceMaintenanceWindowInput) (*request.Request, *medialive.StartInputDeviceMaintenanceWindowOutput) + StartMonitorDeployment(*medialive.StartMonitorDeploymentInput) (*medialive.StartMonitorDeploymentOutput, error) + StartMonitorDeploymentWithContext(aws.Context, *medialive.StartMonitorDeploymentInput, ...request.Option) (*medialive.StartMonitorDeploymentOutput, error) + StartMonitorDeploymentRequest(*medialive.StartMonitorDeploymentInput) (*request.Request, *medialive.StartMonitorDeploymentOutput) + StartMultiplex(*medialive.StartMultiplexInput) (*medialive.StartMultiplexOutput, error) StartMultiplexWithContext(aws.Context, *medialive.StartMultiplexInput, ...request.Option) (*medialive.StartMultiplexOutput, error) StartMultiplexRequest(*medialive.StartMultiplexInput) (*request.Request, *medialive.StartMultiplexOutput) + StartUpdateSignalMap(*medialive.StartUpdateSignalMapInput) (*medialive.StartUpdateSignalMapOutput, error) + StartUpdateSignalMapWithContext(aws.Context, *medialive.StartUpdateSignalMapInput, ...request.Option) (*medialive.StartUpdateSignalMapOutput, error) + StartUpdateSignalMapRequest(*medialive.StartUpdateSignalMapInput) (*request.Request, *medialive.StartUpdateSignalMapOutput) + StopChannel(*medialive.StopChannelInput) (*medialive.StopChannelOutput, error) StopChannelWithContext(aws.Context, *medialive.StopChannelInput, ...request.Option) (*medialive.StopChannelOutput, error) StopChannelRequest(*medialive.StopChannelInput) (*request.Request, *medialive.StopChannelOutput) @@ -326,6 +433,22 @@ type MediaLiveAPI interface { UpdateChannelClassWithContext(aws.Context, *medialive.UpdateChannelClassInput, ...request.Option) (*medialive.UpdateChannelClassOutput, error) UpdateChannelClassRequest(*medialive.UpdateChannelClassInput) (*request.Request, *medialive.UpdateChannelClassOutput) + UpdateCloudWatchAlarmTemplate(*medialive.UpdateCloudWatchAlarmTemplateInput) (*medialive.UpdateCloudWatchAlarmTemplateOutput, error) + UpdateCloudWatchAlarmTemplateWithContext(aws.Context, *medialive.UpdateCloudWatchAlarmTemplateInput, ...request.Option) (*medialive.UpdateCloudWatchAlarmTemplateOutput, error) + UpdateCloudWatchAlarmTemplateRequest(*medialive.UpdateCloudWatchAlarmTemplateInput) (*request.Request, *medialive.UpdateCloudWatchAlarmTemplateOutput) + + UpdateCloudWatchAlarmTemplateGroup(*medialive.UpdateCloudWatchAlarmTemplateGroupInput) (*medialive.UpdateCloudWatchAlarmTemplateGroupOutput, error) + UpdateCloudWatchAlarmTemplateGroupWithContext(aws.Context, *medialive.UpdateCloudWatchAlarmTemplateGroupInput, ...request.Option) (*medialive.UpdateCloudWatchAlarmTemplateGroupOutput, error) + UpdateCloudWatchAlarmTemplateGroupRequest(*medialive.UpdateCloudWatchAlarmTemplateGroupInput) (*request.Request, *medialive.UpdateCloudWatchAlarmTemplateGroupOutput) + + UpdateEventBridgeRuleTemplate(*medialive.UpdateEventBridgeRuleTemplateInput) (*medialive.UpdateEventBridgeRuleTemplateOutput, error) + UpdateEventBridgeRuleTemplateWithContext(aws.Context, *medialive.UpdateEventBridgeRuleTemplateInput, ...request.Option) (*medialive.UpdateEventBridgeRuleTemplateOutput, error) + UpdateEventBridgeRuleTemplateRequest(*medialive.UpdateEventBridgeRuleTemplateInput) (*request.Request, *medialive.UpdateEventBridgeRuleTemplateOutput) + + UpdateEventBridgeRuleTemplateGroup(*medialive.UpdateEventBridgeRuleTemplateGroupInput) (*medialive.UpdateEventBridgeRuleTemplateGroupOutput, error) + UpdateEventBridgeRuleTemplateGroupWithContext(aws.Context, *medialive.UpdateEventBridgeRuleTemplateGroupInput, ...request.Option) (*medialive.UpdateEventBridgeRuleTemplateGroupOutput, error) + UpdateEventBridgeRuleTemplateGroupRequest(*medialive.UpdateEventBridgeRuleTemplateGroupInput) (*request.Request, *medialive.UpdateEventBridgeRuleTemplateGroupOutput) + UpdateInput(*medialive.UpdateInputInput) (*medialive.UpdateInputOutput, error) UpdateInputWithContext(aws.Context, *medialive.UpdateInputInput, ...request.Option) (*medialive.UpdateInputOutput, error) UpdateInputRequest(*medialive.UpdateInputInput) (*request.Request, *medialive.UpdateInputOutput) @@ -382,6 +505,18 @@ type MediaLiveAPI interface { WaitUntilMultiplexStopped(*medialive.DescribeMultiplexInput) error WaitUntilMultiplexStoppedWithContext(aws.Context, *medialive.DescribeMultiplexInput, ...request.WaiterOption) error + + WaitUntilSignalMapCreated(*medialive.GetSignalMapInput) error + WaitUntilSignalMapCreatedWithContext(aws.Context, *medialive.GetSignalMapInput, ...request.WaiterOption) error + + WaitUntilSignalMapMonitorDeleted(*medialive.GetSignalMapInput) error + WaitUntilSignalMapMonitorDeletedWithContext(aws.Context, *medialive.GetSignalMapInput, ...request.WaiterOption) error + + WaitUntilSignalMapMonitorDeployed(*medialive.GetSignalMapInput) error + WaitUntilSignalMapMonitorDeployedWithContext(aws.Context, *medialive.GetSignalMapInput, ...request.WaiterOption) error + + WaitUntilSignalMapUpdated(*medialive.GetSignalMapInput) error + WaitUntilSignalMapUpdatedWithContext(aws.Context, *medialive.GetSignalMapInput, ...request.WaiterOption) error } var _ MediaLiveAPI = (*medialive.MediaLive)(nil) diff --git a/service/medialive/waiters.go b/service/medialive/waiters.go index 88b51e2ab9e..56708dca151 100644 --- a/service/medialive/waiters.go +++ b/service/medialive/waiters.go @@ -639,3 +639,247 @@ func (c *MediaLive) WaitUntilMultiplexStoppedWithContext(ctx aws.Context, input return w.WaitWithContext(ctx) } + +// WaitUntilSignalMapCreated uses the MediaLive API operation +// GetSignalMap to wait for a condition to be met before returning. +// If the condition is not met within the max attempt window, an error will +// be returned. +func (c *MediaLive) WaitUntilSignalMapCreated(input *GetSignalMapInput) error { + return c.WaitUntilSignalMapCreatedWithContext(aws.BackgroundContext(), input) +} + +// WaitUntilSignalMapCreatedWithContext is an extended version of WaitUntilSignalMapCreated. +// With the support for passing in a context and options to configure the +// Waiter and the underlying request options. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) WaitUntilSignalMapCreatedWithContext(ctx aws.Context, input *GetSignalMapInput, opts ...request.WaiterOption) error { + w := request.Waiter{ + Name: "WaitUntilSignalMapCreated", + MaxAttempts: 60, + Delay: request.ConstantWaiterDelay(5 * time.Second), + Acceptors: []request.WaiterAcceptor{ + { + State: request.SuccessWaiterState, + Matcher: request.PathWaiterMatch, Argument: "Status", + Expected: "CREATE_COMPLETE", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "Status", + Expected: "CREATE_IN_PROGRESS", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "Status", + Expected: "CREATE_FAILED", + }, + }, + Logger: c.Config.Logger, + NewRequest: func(opts []request.Option) (*request.Request, error) { + var inCpy *GetSignalMapInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetSignalMapRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + w.ApplyOptions(opts...) + + return w.WaitWithContext(ctx) +} + +// WaitUntilSignalMapMonitorDeleted uses the MediaLive API operation +// GetSignalMap to wait for a condition to be met before returning. +// If the condition is not met within the max attempt window, an error will +// be returned. +func (c *MediaLive) WaitUntilSignalMapMonitorDeleted(input *GetSignalMapInput) error { + return c.WaitUntilSignalMapMonitorDeletedWithContext(aws.BackgroundContext(), input) +} + +// WaitUntilSignalMapMonitorDeletedWithContext is an extended version of WaitUntilSignalMapMonitorDeleted. +// With the support for passing in a context and options to configure the +// Waiter and the underlying request options. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) WaitUntilSignalMapMonitorDeletedWithContext(ctx aws.Context, input *GetSignalMapInput, opts ...request.WaiterOption) error { + w := request.Waiter{ + Name: "WaitUntilSignalMapMonitorDeleted", + MaxAttempts: 120, + Delay: request.ConstantWaiterDelay(5 * time.Second), + Acceptors: []request.WaiterAcceptor{ + { + State: request.SuccessWaiterState, + Matcher: request.PathWaiterMatch, Argument: "MonitorDeployment.Status", + Expected: "DELETE_COMPLETE", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "MonitorDeployment.Status", + Expected: "DELETE_IN_PROGRESS", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "MonitorDeployment.Status", + Expected: "DELETE_FAILED", + }, + }, + Logger: c.Config.Logger, + NewRequest: func(opts []request.Option) (*request.Request, error) { + var inCpy *GetSignalMapInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetSignalMapRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + w.ApplyOptions(opts...) + + return w.WaitWithContext(ctx) +} + +// WaitUntilSignalMapMonitorDeployed uses the MediaLive API operation +// GetSignalMap to wait for a condition to be met before returning. +// If the condition is not met within the max attempt window, an error will +// be returned. +func (c *MediaLive) WaitUntilSignalMapMonitorDeployed(input *GetSignalMapInput) error { + return c.WaitUntilSignalMapMonitorDeployedWithContext(aws.BackgroundContext(), input) +} + +// WaitUntilSignalMapMonitorDeployedWithContext is an extended version of WaitUntilSignalMapMonitorDeployed. +// With the support for passing in a context and options to configure the +// Waiter and the underlying request options. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) WaitUntilSignalMapMonitorDeployedWithContext(ctx aws.Context, input *GetSignalMapInput, opts ...request.WaiterOption) error { + w := request.Waiter{ + Name: "WaitUntilSignalMapMonitorDeployed", + MaxAttempts: 120, + Delay: request.ConstantWaiterDelay(5 * time.Second), + Acceptors: []request.WaiterAcceptor{ + { + State: request.SuccessWaiterState, + Matcher: request.PathWaiterMatch, Argument: "MonitorDeployment.Status", + Expected: "DRY_RUN_DEPLOYMENT_COMPLETE", + }, + { + State: request.SuccessWaiterState, + Matcher: request.PathWaiterMatch, Argument: "MonitorDeployment.Status", + Expected: "DEPLOYMENT_COMPLETE", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "MonitorDeployment.Status", + Expected: "DRY_RUN_DEPLOYMENT_IN_PROGRESS", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "MonitorDeployment.Status", + Expected: "DEPLOYMENT_IN_PROGRESS", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "MonitorDeployment.Status", + Expected: "DRY_RUN_DEPLOYMENT_FAILED", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "MonitorDeployment.Status", + Expected: "DEPLOYMENT_FAILED", + }, + }, + Logger: c.Config.Logger, + NewRequest: func(opts []request.Option) (*request.Request, error) { + var inCpy *GetSignalMapInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetSignalMapRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + w.ApplyOptions(opts...) + + return w.WaitWithContext(ctx) +} + +// WaitUntilSignalMapUpdated uses the MediaLive API operation +// GetSignalMap to wait for a condition to be met before returning. +// If the condition is not met within the max attempt window, an error will +// be returned. +func (c *MediaLive) WaitUntilSignalMapUpdated(input *GetSignalMapInput) error { + return c.WaitUntilSignalMapUpdatedWithContext(aws.BackgroundContext(), input) +} + +// WaitUntilSignalMapUpdatedWithContext is an extended version of WaitUntilSignalMapUpdated. +// With the support for passing in a context and options to configure the +// Waiter and the underlying request options. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) WaitUntilSignalMapUpdatedWithContext(ctx aws.Context, input *GetSignalMapInput, opts ...request.WaiterOption) error { + w := request.Waiter{ + Name: "WaitUntilSignalMapUpdated", + MaxAttempts: 60, + Delay: request.ConstantWaiterDelay(5 * time.Second), + Acceptors: []request.WaiterAcceptor{ + { + State: request.SuccessWaiterState, + Matcher: request.PathWaiterMatch, Argument: "Status", + Expected: "UPDATE_COMPLETE", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathWaiterMatch, Argument: "Status", + Expected: "UPDATE_IN_PROGRESS", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "Status", + Expected: "UPDATE_FAILED", + }, + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "Status", + Expected: "UPDATE_REVERTED", + }, + }, + Logger: c.Config.Logger, + NewRequest: func(opts []request.Option) (*request.Request, error) { + var inCpy *GetSignalMapInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetSignalMapRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + w.ApplyOptions(opts...) + + return w.WaitWithContext(ctx) +} diff --git a/service/omics/api.go b/service/omics/api.go index d78b26d3e80..2db8ea4c82c 100644 --- a/service/omics/api.go +++ b/service/omics/api.go @@ -5041,7 +5041,7 @@ func (c *Omics) ListMultipartReadSetUploadsRequest(input *ListMultipartReadSetUp // // Lists multipart read set uploads and for in progress uploads. Once the upload // is completed, a read set is created and the upload will no longer be returned -// in the respone. +// in the response. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -10587,7 +10587,7 @@ type CompleteReadSetUploadPartListItem struct { // upload. // // Checksum is a required field - Checksum *string `locationName:"checksum" type:"string" required:"true"` + Checksum *string `locationName:"checksum" min:"1" type:"string" required:"true"` // A number identifying the part in a read set upload. // @@ -10624,6 +10624,9 @@ func (s *CompleteReadSetUploadPartListItem) Validate() error { if s.Checksum == nil { invalidParams.Add(request.NewErrParamRequired("Checksum")) } + if s.Checksum != nil && len(*s.Checksum) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Checksum", 1)) + } if s.PartNumber == nil { invalidParams.Add(request.NewErrParamRequired("PartNumber")) } @@ -11375,7 +11378,7 @@ type CreateMultipartReadSetUploadOutput struct { // The tags to add to the read set. Tags map[string]*string `locationName:"tags" type:"map"` - // he ID for the initiated multipart upload. + // The ID for the initiated multipart upload. // // UploadId is a required field UploadId *string `locationName:"uploadId" min:"10" type:"string" required:"true"` @@ -11817,6 +11820,9 @@ type CreateSequenceStoreInput struct { // A description for the store. Description *string `locationName:"description" min:"1" type:"string"` + // The ETag algorithm family to use for ingested read sets. + ETagAlgorithmFamily *string `locationName:"eTagAlgorithmFamily" type:"string" enum:"ETagAlgorithmFamily"` + // An S3 location that is used to store files that have failed a direct upload. FallbackLocation *string `locationName:"fallbackLocation" type:"string"` @@ -11889,6 +11895,12 @@ func (s *CreateSequenceStoreInput) SetDescription(v string) *CreateSequenceStore return s } +// SetETagAlgorithmFamily sets the ETagAlgorithmFamily field's value. +func (s *CreateSequenceStoreInput) SetETagAlgorithmFamily(v string) *CreateSequenceStoreInput { + s.ETagAlgorithmFamily = &v + return s +} + // SetFallbackLocation sets the FallbackLocation field's value. func (s *CreateSequenceStoreInput) SetFallbackLocation(v string) *CreateSequenceStoreInput { s.FallbackLocation = &v @@ -11929,6 +11941,9 @@ type CreateSequenceStoreOutput struct { // The store's description. Description *string `locationName:"description" min:"1" type:"string"` + // The algorithm family of the ETag. + ETagAlgorithmFamily *string `locationName:"eTagAlgorithmFamily" type:"string" enum:"ETagAlgorithmFamily"` + // An S3 location that is used to store files that have failed a direct upload. FallbackLocation *string `locationName:"fallbackLocation" type:"string"` @@ -11980,6 +11995,12 @@ func (s *CreateSequenceStoreOutput) SetDescription(v string) *CreateSequenceStor return s } +// SetETagAlgorithmFamily sets the ETagAlgorithmFamily field's value. +func (s *CreateSequenceStoreOutput) SetETagAlgorithmFamily(v string) *CreateSequenceStoreOutput { + s.ETagAlgorithmFamily = &v + return s +} + // SetFallbackLocation sets the FallbackLocation field's value. func (s *CreateSequenceStoreOutput) SetFallbackLocation(v string) *CreateSequenceStoreOutput { s.FallbackLocation = &v @@ -13623,6 +13644,9 @@ type FileInformation struct { // The file's part size. PartSize *int64 `locationName:"partSize" min:"1" type:"long"` + // The S3 URI metadata of a sequence store. + S3Access *ReadSetS3Access `locationName:"s3Access" type:"structure"` + // The file's total parts. TotalParts *int64 `locationName:"totalParts" min:"1" type:"integer"` } @@ -13657,6 +13681,12 @@ func (s *FileInformation) SetPartSize(v int64) *FileInformation { return s } +// SetS3Access sets the S3Access field's value. +func (s *FileInformation) SetS3Access(v *ReadSetS3Access) *FileInformation { + s.S3Access = v + return s +} + // SetTotalParts sets the TotalParts field's value. func (s *FileInformation) SetTotalParts(v int64) *FileInformation { s.TotalParts = &v @@ -16699,6 +16729,9 @@ type GetSequenceStoreOutput struct { // The store's description. Description *string `locationName:"description" min:"1" type:"string"` + // The algorithm family of the ETag. + ETagAlgorithmFamily *string `locationName:"eTagAlgorithmFamily" type:"string" enum:"ETagAlgorithmFamily"` + // An S3 location that is used to store files that have failed a direct upload. FallbackLocation *string `locationName:"fallbackLocation" type:"string"` @@ -16710,6 +16743,10 @@ type GetSequenceStoreOutput struct { // The store's name. Name *string `locationName:"name" min:"1" type:"string"` + // The S3 metadata of a sequence store, including the ARN and S3 URI of the + // S3 bucket. + S3Access *SequenceStoreS3Access `locationName:"s3Access" type:"structure"` + // The store's server-side encryption (SSE) settings. SseConfig *SseConfig `locationName:"sseConfig" type:"structure"` } @@ -16750,6 +16787,12 @@ func (s *GetSequenceStoreOutput) SetDescription(v string) *GetSequenceStoreOutpu return s } +// SetETagAlgorithmFamily sets the ETagAlgorithmFamily field's value. +func (s *GetSequenceStoreOutput) SetETagAlgorithmFamily(v string) *GetSequenceStoreOutput { + s.ETagAlgorithmFamily = &v + return s +} + // SetFallbackLocation sets the FallbackLocation field's value. func (s *GetSequenceStoreOutput) SetFallbackLocation(v string) *GetSequenceStoreOutput { s.FallbackLocation = &v @@ -16768,6 +16811,12 @@ func (s *GetSequenceStoreOutput) SetName(v string) *GetSequenceStoreOutput { return s } +// SetS3Access sets the S3Access field's value. +func (s *GetSequenceStoreOutput) SetS3Access(v *SequenceStoreS3Access) *GetSequenceStoreOutput { + s.S3Access = v + return s +} + // SetSseConfig sets the SseConfig field's value. func (s *GetSequenceStoreOutput) SetSseConfig(v *SseConfig) *GetSequenceStoreOutput { s.SseConfig = v @@ -21560,6 +21609,38 @@ func (s *ReadSetListItem) SetSubjectId(v string) *ReadSetListItem { return s } +// The S3 URI for each read set file. +type ReadSetS3Access struct { + _ struct{} `type:"structure"` + + // The S3 URI for each read set file. + S3Uri *string `locationName:"s3Uri" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReadSetS3Access) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReadSetS3Access) GoString() string { + return s.String() +} + +// SetS3Uri sets the S3Uri field's value. +func (s *ReadSetS3Access) SetS3Uri(v string) *ReadSetS3Access { + s.S3Uri = &v + return s +} + // Filter settings that select for read set upload parts of interest. type ReadSetUploadPartListFilter struct { _ struct{} `type:"structure"` @@ -22565,6 +22646,9 @@ type SequenceStoreDetail struct { // The store's description. Description *string `locationName:"description" min:"1" type:"string"` + // The algorithm family of the ETag. + ETagAlgorithmFamily *string `locationName:"eTagAlgorithmFamily" type:"string" enum:"ETagAlgorithmFamily"` + // An S3 location that is used to store files that have failed a direct upload. FallbackLocation *string `locationName:"fallbackLocation" type:"string"` @@ -22616,6 +22700,12 @@ func (s *SequenceStoreDetail) SetDescription(v string) *SequenceStoreDetail { return s } +// SetETagAlgorithmFamily sets the ETagAlgorithmFamily field's value. +func (s *SequenceStoreDetail) SetETagAlgorithmFamily(v string) *SequenceStoreDetail { + s.ETagAlgorithmFamily = &v + return s +} + // SetFallbackLocation sets the FallbackLocation field's value. func (s *SequenceStoreDetail) SetFallbackLocation(v string) *SequenceStoreDetail { s.FallbackLocation = &v @@ -22703,6 +22793,48 @@ func (s *SequenceStoreFilter) SetName(v string) *SequenceStoreFilter { return s } +// The S3 access metadata of the sequence store. +type SequenceStoreS3Access struct { + _ struct{} `type:"structure"` + + // This is ARN of the access point associated with the S3 bucket storing read + // sets. + S3AccessPointArn *string `locationName:"s3AccessPointArn" min:"1" type:"string"` + + // The S3 URI of the sequence store. + S3Uri *string `locationName:"s3Uri" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SequenceStoreS3Access) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SequenceStoreS3Access) GoString() string { + return s.String() +} + +// SetS3AccessPointArn sets the S3AccessPointArn field's value. +func (s *SequenceStoreS3Access) SetS3AccessPointArn(v string) *SequenceStoreS3Access { + s.S3AccessPointArn = &v + return s +} + +// SetS3Uri sets the S3Uri field's value. +func (s *SequenceStoreS3Access) SetS3Uri(v string) *SequenceStoreS3Access { + s.S3Uri = &v + return s +} + // The request exceeds a service quota. type ServiceQuotaExceededException struct { _ struct{} `type:"structure"` @@ -24201,7 +24333,7 @@ type StartRunInput struct { // The ID of a run to duplicate. RunId *string `locationName:"runId" min:"1" type:"string"` - // A storage capacity for the run in gigabytes. + // A storage capacity for the run in gibibytes. StorageCapacity *int64 `locationName:"storageCapacity" type:"integer"` // Tags for the run. @@ -26801,6 +26933,24 @@ const ( // ETagAlgorithmCramMd5up is a ETagAlgorithm enum value ETagAlgorithmCramMd5up = "CRAM_MD5up" + + // ETagAlgorithmFastqSha256up is a ETagAlgorithm enum value + ETagAlgorithmFastqSha256up = "FASTQ_SHA256up" + + // ETagAlgorithmBamSha256up is a ETagAlgorithm enum value + ETagAlgorithmBamSha256up = "BAM_SHA256up" + + // ETagAlgorithmCramSha256up is a ETagAlgorithm enum value + ETagAlgorithmCramSha256up = "CRAM_SHA256up" + + // ETagAlgorithmFastqSha512up is a ETagAlgorithm enum value + ETagAlgorithmFastqSha512up = "FASTQ_SHA512up" + + // ETagAlgorithmBamSha512up is a ETagAlgorithm enum value + ETagAlgorithmBamSha512up = "BAM_SHA512up" + + // ETagAlgorithmCramSha512up is a ETagAlgorithm enum value + ETagAlgorithmCramSha512up = "CRAM_SHA512up" ) // ETagAlgorithm_Values returns all elements of the ETagAlgorithm enum @@ -26809,6 +26959,32 @@ func ETagAlgorithm_Values() []string { ETagAlgorithmFastqMd5up, ETagAlgorithmBamMd5up, ETagAlgorithmCramMd5up, + ETagAlgorithmFastqSha256up, + ETagAlgorithmBamSha256up, + ETagAlgorithmCramSha256up, + ETagAlgorithmFastqSha512up, + ETagAlgorithmBamSha512up, + ETagAlgorithmCramSha512up, + } +} + +const ( + // ETagAlgorithmFamilyMd5up is a ETagAlgorithmFamily enum value + ETagAlgorithmFamilyMd5up = "MD5up" + + // ETagAlgorithmFamilySha256up is a ETagAlgorithmFamily enum value + ETagAlgorithmFamilySha256up = "SHA256up" + + // ETagAlgorithmFamilySha512up is a ETagAlgorithmFamily enum value + ETagAlgorithmFamilySha512up = "SHA512up" +) + +// ETagAlgorithmFamily_Values returns all elements of the ETagAlgorithmFamily enum +func ETagAlgorithmFamily_Values() []string { + return []string{ + ETagAlgorithmFamilyMd5up, + ETagAlgorithmFamilySha256up, + ETagAlgorithmFamilySha512up, } } diff --git a/service/rds/api.go b/service/rds/api.go index f27fe2fb7b0..670ea8b45f2 100644 --- a/service/rds/api.go +++ b/service/rds/api.go @@ -21157,8 +21157,15 @@ type CreateCustomDBEngineVersionInput struct { // An optional description of your CEV. Description *string `min:"1" type:"string"` - // The database engine to use for your custom engine version (CEV). The only - // supported value is custom-oracle-ee. + // The database engine. RDS Custom for Oracle supports the following values: + // + // * custom-oracle-ee + // + // * custom-oracle-ee-cdb + // + // * custom-oracle-se2 + // + // * custom-oracle-se2-cdb // // Engine is a required field Engine *string `min:"1" type:"string" required:"true"` @@ -23953,6 +23960,10 @@ type CreateDBInstanceInput struct { // // * custom-oracle-ee-cdb (for RDS Custom for Oracle DB instances) // + // * custom-oracle-se2 (for RDS Custom for Oracle DB instances) + // + // * custom-oracle-se2-cdb (for RDS Custom for Oracle DB instances) + // // * custom-sqlserver-ee (for RDS Custom for SQL Server DB instances) // // * custom-sqlserver-se (for RDS Custom for SQL Server DB instances) @@ -33846,8 +33857,15 @@ func (s *DeleteBlueGreenDeploymentOutput) SetBlueGreenDeployment(v *BlueGreenDep type DeleteCustomDBEngineVersionInput struct { _ struct{} `type:"structure"` - // The database engine. The only supported engines are custom-oracle-ee and - // custom-oracle-ee-cdb. + // The database engine. RDS Custom for Oracle supports the following values: + // + // * custom-oracle-ee + // + // * custom-oracle-ee-cdb + // + // * custom-oracle-se2 + // + // * custom-oracle-se2-cdb // // Engine is a required field Engine *string `min:"1" type:"string" required:"true"` @@ -37967,6 +37985,12 @@ type DescribeDBEngineVersionsInput struct { // // * custom-oracle-ee // + // * custom-oracle-ee-cdb + // + // * custom-oracle-se2 + // + // * custom-oracle-se2-cdb + // // * db2-ae // // * db2-se @@ -40881,6 +40905,8 @@ type DescribeEngineDefaultParametersInput struct { // // * custom-oracle-ee-19 // + // * custom-oracle-ee-cdb-19 + // // * db2-ae // // * db2-se @@ -42321,7 +42347,7 @@ type DescribeOrderableDBInstanceOptionsInput struct { // class. DBInstanceClass *string `type:"string"` - // The name of the engine to describe DB instance options for. + // The name of the database engine to describe DB instance options for. // // Valid Values: // @@ -42331,6 +42357,12 @@ type DescribeOrderableDBInstanceOptionsInput struct { // // * custom-oracle-ee // + // * custom-oracle-ee-cdb + // + // * custom-oracle-se2 + // + // * custom-oracle-se2-cdb + // // * db2-ae // // * db2-se @@ -42383,7 +42415,7 @@ type DescribeOrderableDBInstanceOptionsInput struct { // // Default: 100 // - // Constraints: Minimum 20, maximum 10000. + // Constraints: Minimum 20, maximum 1000. MaxRecords *int64 `type:"integer"` // Specifies whether to show only VPC or non-VPC offerings. RDS Custom supports @@ -46204,7 +46236,15 @@ type ModifyCustomDBEngineVersionInput struct { // An optional description of your CEV. Description *string `min:"1" type:"string"` - // The DB engine. The only supported values are custom-oracle-ee and custom-oracle-ee-cdb. + // The database engine. RDS Custom for Oracle supports the following values: + // + // * custom-oracle-ee + // + // * custom-oracle-ee-cdb + // + // * custom-oracle-se2 + // + // * custom-oracle-se2-cdb // // Engine is a required field Engine *string `min:"1" type:"string" required:"true"` @@ -48033,6 +48073,12 @@ type ModifyDBInstanceInput struct { // so that they are 10% greater than the current value. // // For the valid values for allocated storage for each engine, see CreateDBInstance. + // + // Constraints: + // + // * When you increase the allocated storage for a DB instance that uses + // Provisioned IOPS (gp3, io1, or io2 storage type), you must also specify + // the Iops parameter. You can use the current value for Iops. AllocatedStorage *int64 `type:"integer"` // Specifies whether major version upgrades are allowed. Changing this parameter @@ -48473,6 +48519,9 @@ type ModifyDBInstanceInput struct { // Values that are not at least 10% greater than the existing value are rounded // up so that they are 10% greater than the current value. // + // * When you increase the Provisioned IOPS, you must also specify the AllocatedStorage + // parameter. You can use the current value for AllocatedStorage. + // // Default: Uses existing setting Iops *int64 `type:"integer"` diff --git a/service/s3control/api.go b/service/s3control/api.go index cd1b83c221c..d22512efb8c 100644 --- a/service/s3control/api.go +++ b/service/s3control/api.go @@ -769,7 +769,7 @@ func (c *S3Control) CreateJobRequest(input *CreateJobInput) (req *request.Reques // # Permissions // // For information about permissions required to use the Batch Operations, see -// Granting permissions for S3 Batch Operations (https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html) +// Granting permissions for S3 Batch Operations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/batch-ops-iam-role-policies.html) // in the Amazon S3 User Guide. // // Related actions include: @@ -880,8 +880,8 @@ func (c *S3Control) CreateMultiRegionAccessPointRequest(input *CreateMultiRegion // in the Amazon S3 User Guide. // // This action will always be routed to the US West (Oregon) Region. For more -// information about the restrictions around managing Multi-Region Access Points, -// see Managing Multi-Region Access Points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManagingMultiRegionAccessPoints.html) +// information about the restrictions around working with Multi-Region Access +// Points, see Multi-Region Access Point restrictions and limitations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiRegionAccessPointRestrictions.html) // in the Amazon S3 User Guide. // // This request is asynchronous, meaning that you might receive a response before @@ -2438,8 +2438,8 @@ func (c *S3Control) DeleteMultiRegionAccessPointRequest(input *DeleteMultiRegion // Point itself. // // This action will always be routed to the US West (Oregon) Region. For more -// information about the restrictions around managing Multi-Region Access Points, -// see Managing Multi-Region Access Points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManagingMultiRegionAccessPoints.html) +// information about the restrictions around working with Multi-Region Access +// Points, see Multi-Region Access Point restrictions and limitations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiRegionAccessPointRestrictions.html) // in the Amazon S3 User Guide. // // This request is asynchronous, meaning that you might receive a response before @@ -2980,8 +2980,8 @@ func (c *S3Control) DescribeMultiRegionAccessPointOperationRequest(input *Descri // // Retrieves the status of an asynchronous request to manage a Multi-Region // Access Point. For more information about managing Multi-Region Access Points -// and how asynchronous requests work, see Managing Multi-Region Access Points -// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManagingMultiRegionAccessPoints.html) +// and how asynchronous requests work, see Using Multi-Region Access Points +// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/MrapOperations.html) // in the Amazon S3 User Guide. // // The following actions are related to GetMultiRegionAccessPoint: @@ -4862,7 +4862,7 @@ func (c *S3Control) GetDataAccessRequest(input *GetDataAccessInput) (req *reques // The IAM role that S3 Access Grants assumes must have the following permissions // specified in the trust policy when registering the location: sts:AssumeRole, // for directory users or groups sts:SetContext, and for IAM users or roles -// sts:SourceIdentity. +// sts:SetSourceIdentity. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5046,8 +5046,8 @@ func (c *S3Control) GetMultiRegionAccessPointRequest(input *GetMultiRegionAccess // Point. // // This action will always be routed to the US West (Oregon) Region. For more -// information about the restrictions around managing Multi-Region Access Points, -// see Managing Multi-Region Access Points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManagingMultiRegionAccessPoints.html) +// information about the restrictions around working with Multi-Region Access +// Points, see Multi-Region Access Point restrictions and limitations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiRegionAccessPointRestrictions.html) // in the Amazon S3 User Guide. // // The following actions are related to GetMultiRegionAccessPoint: @@ -5142,8 +5142,8 @@ func (c *S3Control) GetMultiRegionAccessPointPolicyRequest(input *GetMultiRegion // Returns the access control policy of the specified Multi-Region Access Point. // // This action will always be routed to the US West (Oregon) Region. For more -// information about the restrictions around managing Multi-Region Access Points, -// see Managing Multi-Region Access Points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManagingMultiRegionAccessPoints.html) +// information about the restrictions around working with Multi-Region Access +// Points, see Multi-Region Access Point restrictions and limitations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiRegionAccessPointRestrictions.html) // in the Amazon S3 User Guide. // // The following actions are related to GetMultiRegionAccessPointPolicy: @@ -5235,8 +5235,8 @@ func (c *S3Control) GetMultiRegionAccessPointPolicyStatusRequest(input *GetMulti // policy that allows public access. // // This action will always be routed to the US West (Oregon) Region. For more -// information about the restrictions around managing Multi-Region Access Points, -// see Managing Multi-Region Access Points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManagingMultiRegionAccessPoints.html) +// information about the restrictions around working with Multi-Region Access +// Points, see Multi-Region Access Point restrictions and limitations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiRegionAccessPointRestrictions.html) // in the Amazon S3 User Guide. // // The following actions are related to GetMultiRegionAccessPointPolicyStatus: @@ -5341,8 +5341,6 @@ func (c *S3Control) GetMultiRegionAccessPointRoutesRequest(input *GetMultiRegion // // - eu-west-1 // -// Your Amazon S3 bucket does not need to be in these five Regions. -// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -6491,7 +6489,7 @@ func (c *S3Control) ListJobsRequest(input *ListJobsInput) (req *request.Request, // ListJobs API operation for AWS S3 Control. // // Lists current S3 Batch Operations jobs as well as the jobs that have ended -// within the last 30 days for the Amazon Web Services account making the request. +// within the last 90 days for the Amazon Web Services account making the request. // For more information, see S3 Batch Operations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/batch-ops.html) // in the Amazon S3 User Guide. // @@ -6661,8 +6659,8 @@ func (c *S3Control) ListMultiRegionAccessPointsRequest(input *ListMultiRegionAcc // that can be associated with a single account. // // This action will always be routed to the US West (Oregon) Region. For more -// information about the restrictions around managing Multi-Region Access Points, -// see Managing Multi-Region Access Points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManagingMultiRegionAccessPoints.html) +// information about the restrictions around working with Multi-Region Access +// Points, see Multi-Region Access Point restrictions and limitations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiRegionAccessPointRestrictions.html) // in the Amazon S3 User Guide. // // The following actions are related to ListMultiRegionAccessPoint: @@ -8465,8 +8463,8 @@ func (c *S3Control) PutMultiRegionAccessPointPolicyRequest(input *PutMultiRegion // the specified Multi-Region Access Point. // // This action will always be routed to the US West (Oregon) Region. For more -// information about the restrictions around managing Multi-Region Access Points, -// see Managing Multi-Region Access Points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManagingMultiRegionAccessPoints.html) +// information about the restrictions around working with Multi-Region Access +// Points, see Multi-Region Access Point restrictions and limitations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiRegionAccessPointRestrictions.html) // in the Amazon S3 User Guide. // // The following actions are related to PutMultiRegionAccessPointPolicy: @@ -8844,8 +8842,6 @@ func (c *S3Control) SubmitMultiRegionAccessPointRoutesRequest(input *SubmitMulti // // - eu-west-1 // -// Your Amazon S3 bucket does not need to be in these five Regions. -// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -11263,6 +11259,11 @@ type CreateAccessPointInput struct { // The Amazon Web Services account ID associated with the S3 bucket associated // with this access point. + // + // For same account access point when your bucket and access point belong to + // the same account owner, the BucketAccountId is not required. For cross-account + // access point when your bucket and access point are not in the same account, + // the BucketAccountId is required. BucketAccountId *string `type:"string"` // The name you want to assign to this access point. @@ -18190,8 +18191,8 @@ type GetMultiRegionAccessPointInput struct { // The name of the Multi-Region Access Point whose configuration information // you want to receive. The name of the Multi-Region Access Point is different // from the alias. For more information about the distinction between the name - // and the alias of an Multi-Region Access Point, see Managing Multi-Region - // Access Points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/CreatingMultiRegionAccessPoints.html#multi-region-access-point-naming) + // and the alias of an Multi-Region Access Point, see Rules for naming Amazon + // S3 Multi-Region Access Points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/CreatingMultiRegionAccessPoints.html#multi-region-access-point-naming) // in the Amazon S3 User Guide. // // Name is a required field @@ -18299,8 +18300,8 @@ type GetMultiRegionAccessPointPolicyInput struct { // Specifies the Multi-Region Access Point. The name of the Multi-Region Access // Point is different from the alias. For more information about the distinction - // between the name and the alias of an Multi-Region Access Point, see Managing - // Multi-Region Access Points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/CreatingMultiRegionAccessPoints.html#multi-region-access-point-naming) + // between the name and the alias of an Multi-Region Access Point, see Rules + // for naming Amazon S3 Multi-Region Access Points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/CreatingMultiRegionAccessPoints.html#multi-region-access-point-naming) // in the Amazon S3 User Guide. // // Name is a required field @@ -18407,8 +18408,8 @@ type GetMultiRegionAccessPointPolicyStatusInput struct { // Specifies the Multi-Region Access Point. The name of the Multi-Region Access // Point is different from the alias. For more information about the distinction - // between the name and the alias of an Multi-Region Access Point, see Managing - // Multi-Region Access Points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/CreatingMultiRegionAccessPoints.html#multi-region-access-point-naming) + // between the name and the alias of an Multi-Region Access Point, see Rules + // for naming Amazon S3 Multi-Region Access Points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/CreatingMultiRegionAccessPoints.html#multi-region-access-point-naming) // in the Amazon S3 User Guide. // // Name is a required field @@ -20272,8 +20273,8 @@ type LambdaInvokeOperation struct { // when invoking an Lambda function. Version 1.0 is the default. Version 2.0 // is required when you use Batch Operations to invoke Lambda functions that // act on directory buckets, or if you need to specify UserArguments. For more - // information, see Using Lambda with Amazon S3 Batch Operations and Amazon - // S3 Express One Zone (https://aws.amazon.com/blogs/storage/using-lambda-with-s3-batch-operations-and-s3-express-one-zone/) + // information, see Automate object processing in Amazon S3 directory buckets + // with S3 Batch Operations and Lambda (https://aws.amazon.com/blogs/storage/automate-object-processing-in-amazon-s3-directory-buckets-with-s3-batch-operations-and-aws-lambda/) // in the Amazon Web Services Storage Blog. // // Ensure that your Lambda function code expects InvocationSchemaVersion 2.0 @@ -20288,8 +20289,8 @@ type LambdaInvokeOperation struct { // Key-value pairs that are passed in the payload that Batch Operations sends // when invoking an Lambda function. You must specify InvocationSchemaVersion // 2.0 for LambdaInvoke operations that include UserArguments. For more information, - // see Using Lambda with Amazon S3 Batch Operations and Amazon S3 Express One - // Zone (https://aws.amazon.com/blogs/storage/using-lambda-with-s3-batch-operations-and-s3-express-one-zone/) + // see Automate object processing in Amazon S3 directory buckets with S3 Batch + // Operations and Lambda (https://aws.amazon.com/blogs/storage/automate-object-processing-in-amazon-s3-directory-buckets-with-s3-batch-operations-and-aws-lambda/) // in the Amazon Web Services Storage Blog. UserArguments map[string]*string `min:"1" type:"map"` } @@ -20589,10 +20590,14 @@ func (s *LifecycleRule) SetTransitions(v []*Transition) *LifecycleRule { type LifecycleRuleAndOperator struct { _ struct{} `type:"structure"` - // Minimum object size to which the rule applies. + // The non-inclusive minimum object size for the lifecycle rule. Setting this + // property to 7 means the rule applies to objects with a size that is greater + // than 7. ObjectSizeGreaterThan *int64 `type:"long"` - // Maximum object size to which the rule applies. + // The non-inclusive maximum object size for the lifecycle rule. Setting this + // property to 77 means the rule applies to objects with a size that is less + // than 77. ObjectSizeLessThan *int64 `type:"long"` // Prefix identifying one or more objects to which the rule applies. @@ -22876,7 +22881,7 @@ type MultiRegionAccessPointReport struct { // The alias for the Multi-Region Access Point. For more information about the // distinction between the name and the alias of an Multi-Region Access Point, - // see Managing Multi-Region Access Points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/CreatingMultiRegionAccessPoints.html#multi-region-access-point-naming). + // see Rules for naming Amazon S3 Multi-Region Access Points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/CreatingMultiRegionAccessPoints.html#multi-region-access-point-naming). Alias *string `type:"string"` // When the Multi-Region Access Point create request was received. @@ -26868,7 +26873,7 @@ type S3CopyObjectOperation struct { // // * Directory buckets - For example, to copy objects to a directory bucket // named destinationBucket in the Availability Zone; identified by the AZ - // ID usw2-az2, set the TargetResource property to arn:aws:s3express:region:account_id:/bucket/destination_bucket_base_name--usw2-az2--x-s3. + // ID usw2-az1, set the TargetResource property to arn:aws:s3express:region:account_id:/bucket/destination_bucket_base_name--usw2-az1--x-s3. TargetResource *string `min:"1" type:"string"` UnModifiedSinceConstraint *time.Time `type:"timestamp"`