diff --git a/CHANGELOG.md b/CHANGELOG.md index bba534d50fe..9b383be3626 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +Release v1.40.48 (2021-09-23) +=== + +### Service Client Updates +* `service/appsync`: Updates service API and documentation +* `service/mediaconvert`: Updates service API and documentation + * This release adds style and positioning support for caption or subtitle burn-in from rich text sources such as TTML. This release also introduces configurable image-based trick play track generation. +* `service/ssm`: Updates service API, documentation, and waiters + * Added cutoff behavior support for preventing new task invocations from starting when the maintenance window cutoff time is reached. + Release v1.40.47 (2021-09-22) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 2ae3d38238f..66a71013911 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -4842,7 +4842,9 @@ var awsPartition = partition{ "models-v2-lex": service{ Endpoints: endpoints{ + "af-south-1": endpoint{}, "ap-northeast-1": endpoint{}, + "ap-northeast-2": endpoint{}, "ap-southeast-1": endpoint{}, "ap-southeast-2": endpoint{}, "ca-central-1": endpoint{}, @@ -9991,6 +9993,23 @@ var awsusgovPartition = partition{ "us-gov-west-1": endpoint{}, }, }, + "iotevents": service{ + + Endpoints: endpoints{ + "us-gov-west-1": endpoint{}, + }, + }, + "ioteventsdata": service{ + + Endpoints: endpoints{ + "us-gov-west-1": endpoint{ + Hostname: "data.iotevents.us-gov-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-west-1", + }, + }, + }, + }, "iotsecuredtunneling": service{ Endpoints: endpoints{ diff --git a/aws/version.go b/aws/version.go index 343916f49de..872b9f5d2a2 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.40.47" +const SDKVersion = "1.40.48" diff --git a/models/apis/appsync/2017-07-25/api-2.json b/models/apis/appsync/2017-07-25/api-2.json index 12312fe9fbe..230a9f7e5e5 100644 --- a/models/apis/appsync/2017-07-25/api-2.json +++ b/models/apis/appsync/2017-07-25/api-2.json @@ -920,6 +920,7 @@ "dynamodbConfig":{"shape":"DynamodbDataSourceConfig"}, "lambdaConfig":{"shape":"LambdaDataSourceConfig"}, "elasticsearchConfig":{"shape":"ElasticsearchDataSourceConfig"}, + "openSearchServiceConfig":{"shape":"OpenSearchServiceDataSourceConfig"}, "httpConfig":{"shape":"HttpDataSourceConfig"}, "relationalDatabaseConfig":{"shape":"RelationalDatabaseDataSourceConfig"} } @@ -1051,6 +1052,7 @@ "dynamodbConfig":{"shape":"DynamodbDataSourceConfig"}, "lambdaConfig":{"shape":"LambdaDataSourceConfig"}, "elasticsearchConfig":{"shape":"ElasticsearchDataSourceConfig"}, + "openSearchServiceConfig":{"shape":"OpenSearchServiceDataSourceConfig"}, "httpConfig":{"shape":"HttpDataSourceConfig"}, "relationalDatabaseConfig":{"shape":"RelationalDatabaseDataSourceConfig"} } @@ -1063,7 +1065,8 @@ "AMAZON_ELASTICSEARCH", "NONE", "HTTP", - "RELATIONAL_DATABASE" + "RELATIONAL_DATABASE", + "AMAZON_OPENSEARCH_SERVICE" ] }, "DataSources":{ @@ -1863,6 +1866,17 @@ "authTTL":{"shape":"Long"} } }, + "OpenSearchServiceDataSourceConfig":{ + "type":"structure", + "required":[ + "endpoint", + "awsRegion" + ], + "members":{ + "endpoint":{"shape":"String"}, + "awsRegion":{"shape":"String"} + } + }, "OutputType":{ "type":"string", "enum":[ @@ -2159,6 +2173,7 @@ "dynamodbConfig":{"shape":"DynamodbDataSourceConfig"}, "lambdaConfig":{"shape":"LambdaDataSourceConfig"}, "elasticsearchConfig":{"shape":"ElasticsearchDataSourceConfig"}, + "openSearchServiceConfig":{"shape":"OpenSearchServiceDataSourceConfig"}, "httpConfig":{"shape":"HttpDataSourceConfig"}, "relationalDatabaseConfig":{"shape":"RelationalDatabaseDataSourceConfig"} } diff --git a/models/apis/appsync/2017-07-25/docs-2.json b/models/apis/appsync/2017-07-25/docs-2.json index 17d81f97f07..2d1469c05e8 100644 --- a/models/apis/appsync/2017-07-25/docs-2.json +++ b/models/apis/appsync/2017-07-25/docs-2.json @@ -126,8 +126,8 @@ "AuthenticationType": { "base": null, "refs": { - "AdditionalAuthenticationProvider$authenticationType": "

The authentication type: API key, Identity and Access Management, OIDC, or Amazon Cognito user pools.

", - "CreateGraphqlApiRequest$authenticationType": "

The authentication type: API key, Identity and Access Management, OIDC, or Amazon Cognito user pools.

", + "AdditionalAuthenticationProvider$authenticationType": "

The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or Amazon Web Services Lambda.

", + "CreateGraphqlApiRequest$authenticationType": "

The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or Amazon Web Services Lambda.

", "GraphqlApi$authenticationType": "

The authentication type.

", "UpdateGraphqlApiRequest$authenticationType": "

The new authentication type for the GraphqlApi object.

" } @@ -303,7 +303,7 @@ "base": null, "refs": { "CreateDataSourceRequest$type": "

The type of the DataSource.

", - "DataSource$type": "

The type of the data source.

", + "DataSource$type": "

The type of the data source.

", "UpdateDataSourceRequest$type": "

The new data source type.

" } }, @@ -404,11 +404,11 @@ } }, "ElasticsearchDataSourceConfig": { - "base": "

Describes an Elasticsearch data source configuration.

", + "base": "

Describes an OpenSearch data source configuration.

As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. For new data sources, use OpenSearchServiceDataSourceConfig to specify an OpenSearch data source.

", "refs": { - "CreateDataSourceRequest$elasticsearchConfig": "

Amazon Elasticsearch Service settings.

", - "DataSource$elasticsearchConfig": "

Amazon Elasticsearch Service settings.

", - "UpdateDataSourceRequest$elasticsearchConfig": "

The new Elasticsearch Service configuration.

" + "CreateDataSourceRequest$elasticsearchConfig": "

Amazon OpenSearch Service settings.

As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. For new data sources, use CreateDataSourceRequest$openSearchServiceConfig to create an OpenSearch data source.

", + "DataSource$elasticsearchConfig": "

Amazon OpenSearch Service settings.

", + "UpdateDataSourceRequest$elasticsearchConfig": "

The new OpenSearch configuration.

As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. Instead, use UpdateDataSourceRequest$openSearchServiceConfig to update an OpenSearch data source.

" } }, "ErrorMessage": { @@ -572,10 +572,10 @@ "LambdaAuthorizerConfig": { "base": "

A LambdaAuthorizerConfig holds configuration on how to authorize AppSync API access when using the AWS_LAMBDA authorizer mode. Be aware that an AppSync API may have only one Lambda authorizer configured at a time.

", "refs": { - "AdditionalAuthenticationProvider$lambdaAuthorizerConfig": "

Configuration for AWS Lambda function authorization.

", - "CreateGraphqlApiRequest$lambdaAuthorizerConfig": "

Configuration for AWS Lambda function authorization.

", - "GraphqlApi$lambdaAuthorizerConfig": "

Configuration for AWS Lambda function authorization.

", - "UpdateGraphqlApiRequest$lambdaAuthorizerConfig": "

Configuration for AWS Lambda function authorization.

" + "AdditionalAuthenticationProvider$lambdaAuthorizerConfig": "

Configuration for Amazon Web Services Lambda function authorization.

", + "CreateGraphqlApiRequest$lambdaAuthorizerConfig": "

Configuration for Amazon Web Services Lambda function authorization.

", + "GraphqlApi$lambdaAuthorizerConfig": "

Configuration for Amazon Web Services Lambda function authorization.

", + "UpdateGraphqlApiRequest$lambdaAuthorizerConfig": "

Configuration for Amazon Web Services Lambda function authorization.

" } }, "LambdaConflictHandlerConfig": { @@ -751,6 +751,14 @@ "UpdateGraphqlApiRequest$openIDConnectConfig": "

The OpenID Connect configuration for the GraphqlApi object.

" } }, + "OpenSearchServiceDataSourceConfig": { + "base": "

Describes an OpenSearch data source configuration.

", + "refs": { + "CreateDataSourceRequest$openSearchServiceConfig": "

Amazon OpenSearch Service settings.

", + "DataSource$openSearchServiceConfig": "

Amazon OpenSearch Service settings.

", + "UpdateDataSourceRequest$openSearchServiceConfig": "

The new OpenSearch configuration.

" + } + }, "OutputType": { "base": null, "refs": { @@ -954,8 +962,8 @@ "GraphqlApi$wafWebAclArn": "

The ARN of the WAF ACL associated with this GraphqlApi, if one exists.

", "HttpDataSourceConfig$endpoint": "

The HTTP URL endpoint. You can either specify the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If the port is not specified, AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.

", "InternalFailureException$message": null, - "LambdaAuthorizerConfig$authorizerUri": "

The ARN of the lambda function to be called for authorization. This may be a standard Lambda ARN, a version ARN (.../v3) or alias ARN.

Note: This Lambda function must have the following resource-based policy assigned to it. When configuring Lambda authorizers in the Console, this is done for you. To do so with the AWS CLI, run the following:

aws lambda add-permission --function-name \"arn:aws:lambda:us-east-2:111122223333:function:my-function\" --statement-id \"appsync\" --principal appsync.amazonaws.com --action lambda:InvokeFunction

", - "LambdaAuthorizerConfig$identityValidationExpression": "

A regular expression for validation of tokens before the Lambda Function is called.

", + "LambdaAuthorizerConfig$authorizerUri": "

The ARN of the Lambda function to be called for authorization. This may be a standard Lambda ARN, a version ARN (.../v3) or alias ARN.

Note: This Lambda function must have the following resource-based policy assigned to it. When configuring Lambda authorizers in the Console, this is done for you. To do so with the Amazon Web Services CLI, run the following:

aws lambda add-permission --function-name \"arn:aws:lambda:us-east-2:111122223333:function:my-function\" --statement-id \"appsync\" --principal appsync.amazonaws.com --action lambda:InvokeFunction

", + "LambdaAuthorizerConfig$identityValidationExpression": "

A regular expression for validation of tokens before the Lambda function is called.

", "LambdaConflictHandlerConfig$lambdaConflictHandlerArn": "

The Arn for the Lambda function to use as the Conflict Handler.

", "LambdaDataSourceConfig$lambdaFunctionArn": "

The ARN for the Lambda function.

", "LimitExceededException$message": null, @@ -973,6 +981,8 @@ "NotFoundException$message": null, "OpenIDConnectConfig$issuer": "

The issuer for the OpenID Connect configuration. The issuer returned by discovery must exactly match the value of iss in the ID token.

", "OpenIDConnectConfig$clientId": "

The client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AppSync can validate against multiple client identifiers at a time.

", + "OpenSearchServiceDataSourceConfig$endpoint": "

The endpoint.

", + "OpenSearchServiceDataSourceConfig$awsRegion": "

The Amazon Web Services Region.

", "RdsHttpEndpointConfig$awsRegion": "

Amazon Web Services Region for RDS HTTP endpoint.

", "RdsHttpEndpointConfig$dbClusterIdentifier": "

Amazon RDS cluster ARN.

", "RdsHttpEndpointConfig$databaseName": "

Logical database name.

", diff --git a/models/apis/mediaconvert/2017-08-29/api-2.json b/models/apis/mediaconvert/2017-08-29/api-2.json index 726170eaee3..d7252477b99 100644 --- a/models/apis/mediaconvert/2017-08-29/api-2.json +++ b/models/apis/mediaconvert/2017-08-29/api-2.json @@ -1754,6 +1754,13 @@ "JOB" ] }, + "BurnInSubtitleStylePassthrough": { + "type": "string", + "enum": [ + "ENABLED", + "DISABLED" + ] + }, "BurninDestinationSettings": { "type": "structure", "members": { @@ -1761,6 +1768,10 @@ "shape": "BurninSubtitleAlignment", "locationName": "alignment" }, + "ApplyFontColor": { + "shape": "BurninSubtitleApplyFontColor", + "locationName": "applyFontColor" + }, "BackgroundColor": { "shape": "BurninSubtitleBackgroundColor", "locationName": "backgroundColor" @@ -1769,6 +1780,10 @@ "shape": "__integerMin0Max255", "locationName": "backgroundOpacity" }, + "FallbackFont": { + "shape": "BurninSubtitleFallbackFont", + "locationName": "fallbackFont" + }, "FontColor": { "shape": "BurninSubtitleFontColor", "locationName": "fontColor" @@ -1789,6 +1804,10 @@ "shape": "__integerMin0Max96", "locationName": "fontSize" }, + "HexFontColor": { + "shape": "__stringMin6Max8Pattern09aFAF609aFAF2", + "locationName": "hexFontColor" + }, "OutlineColor": { "shape": "BurninSubtitleOutlineColor", "locationName": "outlineColor" @@ -1813,6 +1832,10 @@ "shape": "__integerMinNegative2147483648Max2147483647", "locationName": "shadowYOffset" }, + "StylePassthrough": { + "shape": "BurnInSubtitleStylePassthrough", + "locationName": "stylePassthrough" + }, "TeletextSpacing": { "shape": "BurninSubtitleTeletextSpacing", "locationName": "teletextSpacing" @@ -1831,7 +1854,15 @@ "type": "string", "enum": [ "CENTERED", - "LEFT" + "LEFT", + "AUTO" + ] + }, + "BurninSubtitleApplyFontColor": { + "type": "string", + "enum": [ + "WHITE_TEXT_ONLY", + "ALL_TEXT" ] }, "BurninSubtitleBackgroundColor": { @@ -1839,7 +1870,18 @@ "enum": [ "NONE", "BLACK", - "WHITE" + "WHITE", + "AUTO" + ] + }, + "BurninSubtitleFallbackFont": { + "type": "string", + "enum": [ + "BEST_MATCH", + "MONOSPACED_SANSSERIF", + "MONOSPACED_SERIF", + "PROPORTIONAL_SANSSERIF", + "PROPORTIONAL_SERIF" ] }, "BurninSubtitleFontColor": { @@ -1850,7 +1892,9 @@ "YELLOW", "RED", "GREEN", - "BLUE" + "BLUE", + "HEX", + "AUTO" ] }, "BurninSubtitleOutlineColor": { @@ -1861,7 +1905,8 @@ "YELLOW", "RED", "GREEN", - "BLUE" + "BLUE", + "AUTO" ] }, "BurninSubtitleShadowColor": { @@ -1869,14 +1914,16 @@ "enum": [ "NONE", "BLACK", - "WHITE" + "WHITE", + "AUTO" ] }, "BurninSubtitleTeletextSpacing": { "type": "string", "enum": [ "FIXED_GRID", - "PROPORTIONAL" + "PROPORTIONAL", + "AUTO" ] }, "CancelJobRequest": { @@ -2202,6 +2249,10 @@ "shape": "CmafImageBasedTrickPlay", "locationName": "imageBasedTrickPlay" }, + "ImageBasedTrickPlaySettings": { + "shape": "CmafImageBasedTrickPlaySettings", + "locationName": "imageBasedTrickPlaySettings" + }, "ManifestCompression": { "shape": "CmafManifestCompression", "locationName": "manifestCompression" @@ -2265,9 +2316,39 @@ "enum": [ "NONE", "THUMBNAIL", - "THUMBNAIL_AND_FULLFRAME" + "THUMBNAIL_AND_FULLFRAME", + "ADVANCED" ] }, + "CmafImageBasedTrickPlaySettings": { + "type": "structure", + "members": { + "IntervalCadence": { + "shape": "CmafIntervalCadence", + "locationName": "intervalCadence" + }, + "ThumbnailHeight": { + "shape": "__integerMin2Max4096", + "locationName": "thumbnailHeight" + }, + "ThumbnailInterval": { + "shape": "__doubleMin0Max2147483647", + "locationName": "thumbnailInterval" + }, + "ThumbnailWidth": { + "shape": "__integerMin8Max4096", + "locationName": "thumbnailWidth" + }, + "TileHeight": { + "shape": "__integerMin1Max2048", + "locationName": "tileHeight" + }, + "TileWidth": { + "shape": "__integerMin1Max512", + "locationName": "tileWidth" + } + } + }, "CmafInitializationVectorInManifest": { "type": "string", "enum": [ @@ -2275,6 +2356,13 @@ "EXCLUDE" ] }, + "CmafIntervalCadence": { + "type": "string", + "enum": [ + "FOLLOW_IFRAME", + "FOLLOW_CUSTOM" + ] + }, "CmafKeyProviderType": { "type": "string", "enum": [ @@ -2869,6 +2957,10 @@ "shape": "DashIsoImageBasedTrickPlay", "locationName": "imageBasedTrickPlay" }, + "ImageBasedTrickPlaySettings": { + "shape": "DashIsoImageBasedTrickPlaySettings", + "locationName": "imageBasedTrickPlaySettings" + }, "MinBufferTime": { "shape": "__integerMin0Max2147483647", "locationName": "minBufferTime" @@ -2915,7 +3007,44 @@ "enum": [ "NONE", "THUMBNAIL", - "THUMBNAIL_AND_FULLFRAME" + "THUMBNAIL_AND_FULLFRAME", + "ADVANCED" + ] + }, + "DashIsoImageBasedTrickPlaySettings": { + "type": "structure", + "members": { + "IntervalCadence": { + "shape": "DashIsoIntervalCadence", + "locationName": "intervalCadence" + }, + "ThumbnailHeight": { + "shape": "__integerMin1Max4096", + "locationName": "thumbnailHeight" + }, + "ThumbnailInterval": { + "shape": "__doubleMin0Max2147483647", + "locationName": "thumbnailInterval" + }, + "ThumbnailWidth": { + "shape": "__integerMin8Max4096", + "locationName": "thumbnailWidth" + }, + "TileHeight": { + "shape": "__integerMin1Max2048", + "locationName": "tileHeight" + }, + "TileWidth": { + "shape": "__integerMin1Max512", + "locationName": "tileWidth" + } + } + }, + "DashIsoIntervalCadence": { + "type": "string", + "enum": [ + "FOLLOW_IFRAME", + "FOLLOW_CUSTOM" ] }, "DashIsoMpdProfile": { @@ -3223,6 +3352,10 @@ "shape": "DvbSubtitleAlignment", "locationName": "alignment" }, + "ApplyFontColor": { + "shape": "DvbSubtitleApplyFontColor", + "locationName": "applyFontColor" + }, "BackgroundColor": { "shape": "DvbSubtitleBackgroundColor", "locationName": "backgroundColor" @@ -3243,6 +3376,10 @@ "shape": "__integerMin0Max2147483647", "locationName": "ddsYCoordinate" }, + "FallbackFont": { + "shape": "DvbSubSubtitleFallbackFont", + "locationName": "fallbackFont" + }, "FontColor": { "shape": "DvbSubtitleFontColor", "locationName": "fontColor" @@ -3267,6 +3404,10 @@ "shape": "__integerMin1Max2147483647", "locationName": "height" }, + "HexFontColor": { + "shape": "__stringMin6Max8Pattern09aFAF609aFAF2", + "locationName": "hexFontColor" + }, "OutlineColor": { "shape": "DvbSubtitleOutlineColor", "locationName": "outlineColor" @@ -3291,6 +3432,10 @@ "shape": "__integerMinNegative2147483648Max2147483647", "locationName": "shadowYOffset" }, + "StylePassthrough": { + "shape": "DvbSubtitleStylePassthrough", + "locationName": "stylePassthrough" + }, "SubtitlingType": { "shape": "DvbSubtitlingType", "locationName": "subtitlingType" @@ -3322,11 +3467,29 @@ } } }, + "DvbSubSubtitleFallbackFont": { + "type": "string", + "enum": [ + "BEST_MATCH", + "MONOSPACED_SANSSERIF", + "MONOSPACED_SERIF", + "PROPORTIONAL_SANSSERIF", + "PROPORTIONAL_SERIF" + ] + }, "DvbSubtitleAlignment": { "type": "string", "enum": [ "CENTERED", - "LEFT" + "LEFT", + "AUTO" + ] + }, + "DvbSubtitleApplyFontColor": { + "type": "string", + "enum": [ + "WHITE_TEXT_ONLY", + "ALL_TEXT" ] }, "DvbSubtitleBackgroundColor": { @@ -3334,7 +3497,8 @@ "enum": [ "NONE", "BLACK", - "WHITE" + "WHITE", + "AUTO" ] }, "DvbSubtitleFontColor": { @@ -3345,7 +3509,9 @@ "YELLOW", "RED", "GREEN", - "BLUE" + "BLUE", + "HEX", + "AUTO" ] }, "DvbSubtitleOutlineColor": { @@ -3356,7 +3522,8 @@ "YELLOW", "RED", "GREEN", - "BLUE" + "BLUE", + "AUTO" ] }, "DvbSubtitleShadowColor": { @@ -3364,14 +3531,23 @@ "enum": [ "NONE", "BLACK", - "WHITE" + "WHITE", + "AUTO" + ] + }, + "DvbSubtitleStylePassthrough": { + "type": "string", + "enum": [ + "ENABLED", + "DISABLED" ] }, "DvbSubtitleTeletextSpacing": { "type": "string", "enum": [ "FIXED_GRID", - "PROPORTIONAL" + "PROPORTIONAL", + "AUTO" ] }, "DvbSubtitlingType": { @@ -5092,6 +5268,10 @@ "shape": "HlsImageBasedTrickPlay", "locationName": "imageBasedTrickPlay" }, + "ImageBasedTrickPlaySettings": { + "shape": "HlsImageBasedTrickPlaySettings", + "locationName": "imageBasedTrickPlaySettings" + }, "ManifestCompression": { "shape": "HlsManifestCompression", "locationName": "manifestCompression" @@ -5170,9 +5350,39 @@ "enum": [ "NONE", "THUMBNAIL", - "THUMBNAIL_AND_FULLFRAME" + "THUMBNAIL_AND_FULLFRAME", + "ADVANCED" ] }, + "HlsImageBasedTrickPlaySettings": { + "type": "structure", + "members": { + "IntervalCadence": { + "shape": "HlsIntervalCadence", + "locationName": "intervalCadence" + }, + "ThumbnailHeight": { + "shape": "__integerMin2Max4096", + "locationName": "thumbnailHeight" + }, + "ThumbnailInterval": { + "shape": "__doubleMin0Max2147483647", + "locationName": "thumbnailInterval" + }, + "ThumbnailWidth": { + "shape": "__integerMin8Max4096", + "locationName": "thumbnailWidth" + }, + "TileHeight": { + "shape": "__integerMin1Max2048", + "locationName": "tileHeight" + }, + "TileWidth": { + "shape": "__integerMin1Max512", + "locationName": "tileWidth" + } + } + }, "HlsInitializationVectorInManifest": { "type": "string", "enum": [ @@ -5180,6 +5390,13 @@ "EXCLUDE" ] }, + "HlsIntervalCadence": { + "type": "string", + "enum": [ + "FOLLOW_IFRAME", + "FOLLOW_CUSTOM" + ] + }, "HlsKeyProviderType": { "type": "string", "enum": [ @@ -10071,6 +10288,11 @@ "min": 1, "max": 20 }, + "__integerMin1Max2048": { + "type": "integer", + "min": 1, + "max": 2048 + }, "__integerMin1Max2147483640": { "type": "integer", "min": 1, @@ -10096,6 +10318,16 @@ "min": 1, "max": 4 }, + "__integerMin1Max4096": { + "type": "integer", + "min": 1, + "max": 4096 + }, + "__integerMin1Max512": { + "type": "integer", + "min": 1, + "max": 512 + }, "__integerMin1Max6": { "type": "integer", "min": 1, @@ -10136,6 +10368,11 @@ "min": 2, "max": 2147483647 }, + "__integerMin2Max4096": { + "type": "integer", + "min": 2, + "max": 4096 + }, "__integerMin32000Max192000": { "type": "integer", "min": 32000, @@ -10206,6 +10443,11 @@ "min": 8, "max": 12 }, + "__integerMin8Max4096": { + "type": "integer", + "min": 8, + "max": 4096 + }, "__integerMin96Max600": { "type": "integer", "min": 96, @@ -10618,6 +10860,12 @@ "max": 3, "pattern": "^[A-Za-z]{3}$" }, + "__stringMin6Max8Pattern09aFAF609aFAF2": { + "type": "string", + "min": 6, + "max": 8, + "pattern": "^[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$" + }, "__stringMin9Max19PatternAZ26EastWestCentralNorthSouthEastWest1912": { "type": "string", "min": 9, diff --git a/models/apis/mediaconvert/2017-08-29/docs-2.json b/models/apis/mediaconvert/2017-08-29/docs-2.json index 8fce30706b3..0da99873f33 100644 --- a/models/apis/mediaconvert/2017-08-29/docs-2.json +++ b/models/apis/mediaconvert/2017-08-29/docs-2.json @@ -428,6 +428,12 @@ "Job$BillingTagsSource": "The tag type that AWS Billing and Cost Management will use to sort your AWS Elemental MediaConvert costs on any billing report that you set up." } }, + "BurnInSubtitleStylePassthrough": { + "base": "Ignore this setting unless your output captions are burned in. Choose which set of style and position values the service applies to your output captions. When you choose ENABLED, the service uses the input style and position information from your input. When you choose DISABLED, the service uses any style values that you specify in your output settings. If you don't specify values, the service uses default style and position values. When you choose DISABLED, the service ignores all style and position values from your input.", + "refs": { + "BurninDestinationSettings$StylePassthrough": "Ignore this setting unless your output captions are burned in. Choose which set of style and position values the service applies to your output captions. When you choose ENABLED, the service uses the input style and position information from your input. When you choose DISABLED, the service uses any style values that you specify in your output settings. If you don't specify values, the service uses default style and position values. When you choose DISABLED, the service ignores all style and position values from your input." + } + }, "BurninDestinationSettings": { "base": "Settings related to burn-in captions. Set up burn-in captions in the same output as your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/burn-in-output-captions.html. When you work directly in your JSON job specification, include this object and any required children when you set destinationType to BURN_IN.", "refs": { @@ -440,12 +446,24 @@ "BurninDestinationSettings$Alignment": "If no explicit x_position or y_position 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. 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." } }, + "BurninSubtitleApplyFontColor": { + "base": "Ignore this setting unless your input captions are STL, any type of 608, teletext, or TTML, and your output captions are burned in. Specify how the service applies the color specified in the setting Font color (BurninSubtitleFontColor). By default, this color is white. When you choose WHITE_TEXT_ONLY, the service uses the specified font color only for text that is white in the input. When you choose ALL_TEXT, the service uses the specified font color for all output captions text. If you leave both settings at their default value, your output font color is the same as your input font color.", + "refs": { + "BurninDestinationSettings$ApplyFontColor": "Ignore this setting unless your input captions are STL, any type of 608, teletext, or TTML, and your output captions are burned in. Specify how the service applies the color specified in the setting Font color (BurninSubtitleFontColor). By default, this color is white. When you choose WHITE_TEXT_ONLY, the service uses the specified font color only for text that is white in the input. When you choose ALL_TEXT, the service uses the specified font color for all output captions text. If you leave both settings at their default value, your output font color is the same as your input font color." + } + }, "BurninSubtitleBackgroundColor": { "base": "Specifies the color of the rectangle behind the captions.\nAll burn-in and DVB-Sub font settings must match.", "refs": { "BurninDestinationSettings$BackgroundColor": "Specifies the color of the rectangle behind the captions.\nAll burn-in and DVB-Sub font settings must match." } }, + "BurninSubtitleFallbackFont": { + "base": "Specify the font that you want the service to use for your burn in captions when your input captions specify a font that MediaConvert doesn't support. When you keep the default value, Best match (BEST_MATCH), MediaConvert uses a supported font that most closely matches the font that your input captions specify. When there are multiple unsupported fonts in your input captions, MediaConvert matches each font with the supported font that matches best. When you explicitly choose a replacement font, MediaConvert uses that font to replace all unsupported fonts from your input.", + "refs": { + "BurninDestinationSettings$FallbackFont": "Specify the font that you want the service to use for your burn in captions when your input captions specify a font that MediaConvert doesn't support. When you keep the default value, Best match (BEST_MATCH), MediaConvert uses a supported font that most closely matches the font that your input captions specify. When there are multiple unsupported fonts in your input captions, MediaConvert matches each font with the supported font that matches best. When you explicitly choose a replacement font, MediaConvert uses that font to replace all unsupported fonts from your input." + } + }, "BurninSubtitleFontColor": { "base": "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.", "refs": { @@ -577,12 +595,24 @@ "CmafGroupSettings$ImageBasedTrickPlay": "Specify whether MediaConvert generates images for trick play. Keep the default value, None (NONE), to not generate any images. Choose Thumbnail (THUMBNAIL) to generate tiled thumbnails. Choose Thumbnail and full frame (THUMBNAIL_AND_FULLFRAME) to generate tiled thumbnails and full-resolution images of single frames. When you enable Write HLS manifest (WriteHlsManifest), MediaConvert creates a child manifest for each set of images that you generate and adds corresponding entries to the parent manifest. When you enable Write DASH manifest (WriteDashManifest), MediaConvert adds an entry in the .mpd manifest for each set of images that you generate. A common application for these images is Roku trick mode. The thumbnails and full-frame images that MediaConvert creates with this feature are compatible with this Roku specification: https://developer.roku.com/docs/developer-program/media-playback/trick-mode/hls-and-dash.md" } }, + "CmafImageBasedTrickPlaySettings": { + "base": "Tile and thumbnail settings applicable when imageBasedTrickPlay is ADVANCED", + "refs": { + "CmafGroupSettings$ImageBasedTrickPlaySettings": "Tile and thumbnail settings applicable when imageBasedTrickPlay is ADVANCED" + } + }, "CmafInitializationVectorInManifest": { "base": "When you use DRM with CMAF outputs, choose whether the service writes the 128-bit encryption initialization vector in the HLS and DASH manifests.", "refs": { "CmafEncryptionSettings$InitializationVectorInManifest": "When you use DRM with CMAF outputs, choose whether the service writes the 128-bit encryption initialization vector in the HLS and DASH manifests." } }, + "CmafIntervalCadence": { + "base": "The cadence MediaConvert follows for generating thumbnails. If set to FOLLOW_IFRAME, MediaConvert generates thumbnails for each IDR frame in the output (matching the GOP cadence). If set to FOLLOW_CUSTOM, MediaConvert generates thumbnails according to the interval you specify in thumbnailInterval.", + "refs": { + "CmafImageBasedTrickPlaySettings$IntervalCadence": "The cadence MediaConvert follows for generating thumbnails. If set to FOLLOW_IFRAME, MediaConvert generates thumbnails for each IDR frame in the output (matching the GOP cadence). If set to FOLLOW_CUSTOM, MediaConvert generates thumbnails according to the interval you specify in thumbnailInterval." + } + }, "CmafKeyProviderType": { "base": "Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard. For more information about SPEKE, see https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html.", "refs": { @@ -835,6 +865,18 @@ "DashIsoGroupSettings$ImageBasedTrickPlay": "Specify whether MediaConvert generates images for trick play. Keep the default value, None (NONE), to not generate any images. Choose Thumbnail (THUMBNAIL) to generate tiled thumbnails. Choose Thumbnail and full frame (THUMBNAIL_AND_FULLFRAME) to generate tiled thumbnails and full-resolution images of single frames. MediaConvert adds an entry in the .mpd manifest for each set of images that you generate. A common application for these images is Roku trick mode. The thumbnails and full-frame images that MediaConvert creates with this feature are compatible with this Roku specification: https://developer.roku.com/docs/developer-program/media-playback/trick-mode/hls-and-dash.md" } }, + "DashIsoImageBasedTrickPlaySettings": { + "base": "Tile and thumbnail settings applicable when imageBasedTrickPlay is ADVANCED", + "refs": { + "DashIsoGroupSettings$ImageBasedTrickPlaySettings": "Tile and thumbnail settings applicable when imageBasedTrickPlay is ADVANCED" + } + }, + "DashIsoIntervalCadence": { + "base": "The cadence MediaConvert follows for generating thumbnails. If set to FOLLOW_IFRAME, MediaConvert generates thumbnails for each IDR frame in the output (matching the GOP cadence). If set to FOLLOW_CUSTOM, MediaConvert generates thumbnails according to the interval you specify in thumbnailInterval.", + "refs": { + "DashIsoImageBasedTrickPlaySettings$IntervalCadence": "The cadence MediaConvert follows for generating thumbnails. If set to FOLLOW_IFRAME, MediaConvert generates thumbnails for each IDR frame in the output (matching the GOP cadence). If set to FOLLOW_CUSTOM, MediaConvert generates thumbnails according to the interval you specify in thumbnailInterval." + } + }, "DashIsoMpdProfile": { "base": "Specify whether your DASH profile is on-demand or main. When you choose Main profile (MAIN_PROFILE), the service signals urn:mpeg:dash:profile:isoff-main:2011 in your .mpd DASH manifest. When you choose On-demand (ON_DEMAND_PROFILE), the service signals urn:mpeg:dash:profile:isoff-on-demand:2011 in your .mpd. When you choose On-demand, you must also set the output group setting Segment control (SegmentControl) to Single file (SINGLE_FILE).", "refs": { @@ -1021,12 +1063,24 @@ "CaptionSourceSettings$DvbSubSourceSettings": "DVB Sub Source Settings" } }, + "DvbSubSubtitleFallbackFont": { + "base": "Specify the font that you want the service to use for your burn in captions when your input captions specify a font that MediaConvert doesn't support. When you keep the default value, Best match (BEST_MATCH), MediaConvert uses a supported font that most closely matches the font that your input captions specify. When there are multiple unsupported fonts in your input captions, MediaConvert matches each font with the supported font that matches best. When you explicitly choose a replacement font, MediaConvert uses that font to replace all unsupported fonts from your input.", + "refs": { + "DvbSubDestinationSettings$FallbackFont": "Specify the font that you want the service to use for your burn in captions when your input captions specify a font that MediaConvert doesn't support. When you keep the default value, Best match (BEST_MATCH), MediaConvert uses a supported font that most closely matches the font that your input captions specify. When there are multiple unsupported fonts in your input captions, MediaConvert matches each font with the supported font that matches best. When you explicitly choose a replacement font, MediaConvert uses that font to replace all unsupported fonts from your input." + } + }, "DvbSubtitleAlignment": { "base": "If no explicit x_position or y_position 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. 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.", "refs": { "DvbSubDestinationSettings$Alignment": "If no explicit x_position or y_position 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. 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." } }, + "DvbSubtitleApplyFontColor": { + "base": "Ignore this setting unless your input captions are STL, any type of 608, teletext, or TTML, and your output captions are DVB-SUB. Specify how the service applies the color specified in the setting Font color (DvbSubtitleFontColor). By default, this color is white. When you choose WHITE_TEXT_ONLY, the service uses the specified font color only for text that is white in the input. When you choose ALL_TEXT, the service uses the specified font color for all output captions text. If you leave both settings at their default value, your output font color is the same as your input font color.", + "refs": { + "DvbSubDestinationSettings$ApplyFontColor": "Ignore this setting unless your input captions are STL, any type of 608, teletext, or TTML, and your output captions are DVB-SUB. Specify how the service applies the color specified in the setting Font color (DvbSubtitleFontColor). By default, this color is white. When you choose WHITE_TEXT_ONLY, the service uses the specified font color only for text that is white in the input. When you choose ALL_TEXT, the service uses the specified font color for all output captions text. If you leave both settings at their default value, your output font color is the same as your input font color." + } + }, "DvbSubtitleBackgroundColor": { "base": "Specifies the color of the rectangle behind the captions.\nAll burn-in and DVB-Sub font settings must match.", "refs": { @@ -1051,6 +1105,12 @@ "DvbSubDestinationSettings$ShadowColor": "Specifies the color of the shadow cast by the captions.\nAll burn-in and DVB-Sub font settings must match." } }, + "DvbSubtitleStylePassthrough": { + "base": "Choose which set of style and position values the service applies to your output captions. When you choose ENABLED, the service uses the input style and position information from your input. When you choose DISABLED, the service uses any style values that you specify in your output settings. If you don't specify values, the service uses default style and position values. When you choose DISABLED, the service ignores all style and position values from your input.", + "refs": { + "DvbSubDestinationSettings$StylePassthrough": "Choose which set of style and position values the service applies to your output captions. When you choose ENABLED, the service uses the input style and position information from your input. When you choose DISABLED, the service uses any style values that you specify in your output settings. If you don't specify values, the service uses default style and position values. When you choose DISABLED, the service ignores all style and position values from your input." + } + }, "DvbSubtitleTeletextSpacing": { "base": "Only applies to jobs with input captions in Teletext or STL formats. Specify whether the spacing between letters in your captions is set by the captions grid or varies depending on letter width. Choose fixed grid to conform to the spacing specified in the captions file more accurately. Choose proportional to make the text easier to read if the captions are closed caption.", "refs": { @@ -1286,10 +1346,10 @@ } }, "ExtendedDataServices": { - "base": "Hexadecimal value as per EIA-608 Line 21 Data Services, section 9.5.1.5 05h Content Advisory.", + "base": "If your source content has EIA-608 Line 21 Data Services, enable this feature to specify what MediaConvert does with the Extended Data Services (XDS) packets. You can choose to pass through XDS packets, or remove them from the output. For more information about XDS, see EIA-608 Line Data Services, section 9.5.1.5 05h Content Advisory.", "refs": { - "JobSettings$ExtendedDataServices": "Hexadecimal value as per EIA-608 Line 21 Data Services, section 9.5.1.5 05h Content Advisory.", - "JobTemplateSettings$ExtendedDataServices": "Hexadecimal value as per EIA-608 Line 21 Data Services, section 9.5.1.5 05h Content Advisory." + "JobSettings$ExtendedDataServices": "If your source content has EIA-608 Line 21 Data Services, enable this feature to specify what MediaConvert does with the Extended Data Services (XDS) packets. You can choose to pass through XDS packets, or remove them from the output. For more information about XDS, see EIA-608 Line Data Services, section 9.5.1.5 05h Content Advisory.", + "JobTemplateSettings$ExtendedDataServices": "If your source content has EIA-608 Line 21 Data Services, enable this feature to specify what MediaConvert does with the Extended Data Services (XDS) packets. You can choose to pass through XDS packets, or remove them from the output. For more information about XDS, see EIA-608 Line Data Services, section 9.5.1.5 05h Content Advisory." } }, "F4vMoovPlacement": { @@ -1807,12 +1867,24 @@ "HlsGroupSettings$ImageBasedTrickPlay": "Specify whether MediaConvert generates images for trick play. Keep the default value, None (NONE), to not generate any images. Choose Thumbnail (THUMBNAIL) to generate tiled thumbnails. Choose Thumbnail and full frame (THUMBNAIL_AND_FULLFRAME) to generate tiled thumbnails and full-resolution images of single frames. MediaConvert creates a child manifest for each set of images that you generate and adds corresponding entries to the parent manifest. A common application for these images is Roku trick mode. The thumbnails and full-frame images that MediaConvert creates with this feature are compatible with this Roku specification: https://developer.roku.com/docs/developer-program/media-playback/trick-mode/hls-and-dash.md" } }, + "HlsImageBasedTrickPlaySettings": { + "base": "Tile and thumbnail settings applicable when imageBasedTrickPlay is ADVANCED", + "refs": { + "HlsGroupSettings$ImageBasedTrickPlaySettings": "Tile and thumbnail settings applicable when imageBasedTrickPlay is ADVANCED" + } + }, "HlsInitializationVectorInManifest": { "base": "The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks. If set to INCLUDE, Initialization Vector is listed in the manifest. Otherwise Initialization Vector is not in the manifest.", "refs": { "HlsEncryptionSettings$InitializationVectorInManifest": "The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks. If set to INCLUDE, Initialization Vector is listed in the manifest. Otherwise Initialization Vector is not in the manifest." } }, + "HlsIntervalCadence": { + "base": "The cadence MediaConvert follows for generating thumbnails. If set to FOLLOW_IFRAME, MediaConvert generates thumbnails for each IDR frame in the output (matching the GOP cadence). If set to FOLLOW_CUSTOM, MediaConvert generates thumbnails according to the interval you specify in thumbnailInterval.", + "refs": { + "HlsImageBasedTrickPlaySettings$IntervalCadence": "The cadence MediaConvert follows for generating thumbnails. If set to FOLLOW_IFRAME, MediaConvert generates thumbnails for each IDR frame in the output (matching the GOP cadence). If set to FOLLOW_CUSTOM, MediaConvert generates thumbnails according to the interval you specify in thumbnailInterval." + } + }, "HlsKeyProviderType": { "base": "Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard. For more information about SPEKE, see https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html.", "refs": { @@ -3575,8 +3647,11 @@ "base": null, "refs": { "CmafGroupSettings$MinFinalSegmentLength": "Keep this setting at the default value of 0, unless you are troubleshooting a problem with how devices play back the end of your video asset. If you know that player devices are hanging on the final segment of your video because the length of your final segment is too short, use this setting to specify a minimum final segment length, in seconds. Choose a value that is greater than or equal to 1 and less than your segment length. When you specify a value for this setting, the encoder will combine any final segment that is shorter than the length that you specify with the previous segment. For example, your segment length is 3 seconds and your final segment is .5 seconds without a minimum final segment length; when you set the minimum final segment length to 1, your final segment is 3.5 seconds.", + "CmafImageBasedTrickPlaySettings$ThumbnailInterval": "Enter the interval, in seconds, that MediaConvert uses to generate thumbnails. If the interval you enter doesn't align with the output frame rate, MediaConvert automatically rounds the interval to align with the output frame rate. For example, if the output frame rate is 29.97 frames per second and you enter 5, MediaConvert uses a 150 frame interval to generate thumbnails.", "DashIsoGroupSettings$MinFinalSegmentLength": "Keep this setting at the default value of 0, unless you are troubleshooting a problem with how devices play back the end of your video asset. If you know that player devices are hanging on the final segment of your video because the length of your final segment is too short, use this setting to specify a minimum final segment length, in seconds. Choose a value that is greater than or equal to 1 and less than your segment length. When you specify a value for this setting, the encoder will combine any final segment that is shorter than the length that you specify with the previous segment. For example, your segment length is 3 seconds and your final segment is .5 seconds without a minimum final segment length; when you set the minimum final segment length to 1, your final segment is 3.5 seconds.", - "HlsGroupSettings$MinFinalSegmentLength": "Keep this setting at the default value of 0, unless you are troubleshooting a problem with how devices play back the end of your video asset. If you know that player devices are hanging on the final segment of your video because the length of your final segment is too short, use this setting to specify a minimum final segment length, in seconds. Choose a value that is greater than or equal to 1 and less than your segment length. When you specify a value for this setting, the encoder will combine any final segment that is shorter than the length that you specify with the previous segment. For example, your segment length is 3 seconds and your final segment is .5 seconds without a minimum final segment length; when you set the minimum final segment length to 1, your final segment is 3.5 seconds." + "DashIsoImageBasedTrickPlaySettings$ThumbnailInterval": "Enter the interval, in seconds, that MediaConvert uses to generate thumbnails. If the interval you enter doesn't align with the output frame rate, MediaConvert automatically rounds the interval to align with the output frame rate. For example, if the output frame rate is 29.97 frames per second and you enter 5, MediaConvert uses a 150 frame interval to generate thumbnails.", + "HlsGroupSettings$MinFinalSegmentLength": "Keep this setting at the default value of 0, unless you are troubleshooting a problem with how devices play back the end of your video asset. If you know that player devices are hanging on the final segment of your video because the length of your final segment is too short, use this setting to specify a minimum final segment length, in seconds. Choose a value that is greater than or equal to 1 and less than your segment length. When you specify a value for this setting, the encoder will combine any final segment that is shorter than the length that you specify with the previous segment. For example, your segment length is 3 seconds and your final segment is .5 seconds without a minimum final segment length; when you set the minimum final segment length to 1, your final segment is 3.5 seconds.", + "HlsImageBasedTrickPlaySettings$ThumbnailInterval": "Enter the interval, in seconds, that MediaConvert uses to generate thumbnails. If the interval you enter doesn't align with the output frame rate, MediaConvert automatically rounds the interval to align with the output frame rate. For example, if the output frame rate is 29.97 frames per second and you enter 5, MediaConvert uses a 150 frame interval to generate thumbnails." } }, "__doubleMinNegative59Max0": { @@ -4027,6 +4102,14 @@ "ListQueuesRequest$MaxResults": "Optional. Number of queues, up to twenty, that will be returned at one time." } }, + "__integerMin1Max2048": { + "base": null, + "refs": { + "CmafImageBasedTrickPlaySettings$TileHeight": "Number of thumbnails in each column of a tile image. Set a value between 2 and 2048. Must be divisible by 2.", + "DashIsoImageBasedTrickPlaySettings$TileHeight": "Number of thumbnails in each column of a tile image. Set a value between 2 and 2048. Must be divisible by 2.", + "HlsImageBasedTrickPlaySettings$TileHeight": "Number of thumbnails in each column of a tile image. Set a value between 2 and 2048. Must be divisible by 2." + } + }, "__integerMin1Max2147483640": { "base": null, "refs": { @@ -4102,6 +4185,20 @@ "EmbeddedSourceSettings$Source608ChannelNumber": "Specifies the 608/708 channel number within the video track from which to extract captions. Unused for passthrough." } }, + "__integerMin1Max4096": { + "base": null, + "refs": { + "DashIsoImageBasedTrickPlaySettings$ThumbnailHeight": "Height of each thumbnail within each tile image, in pixels. Leave blank to maintain aspect ratio with thumbnail width. If following the aspect ratio would lead to a total tile height greater than 4096, then the job will be rejected. Must be divisible by 2." + } + }, + "__integerMin1Max512": { + "base": null, + "refs": { + "CmafImageBasedTrickPlaySettings$TileWidth": "Number of thumbnails in each row of a tile image. Set a value between 1 and 512.", + "DashIsoImageBasedTrickPlaySettings$TileWidth": "Number of thumbnails in each row of a tile image. Set a value between 1 and 512.", + "HlsImageBasedTrickPlaySettings$TileWidth": "Number of thumbnails in each row of a tile image. Set a value between 1 and 512." + } + }, "__integerMin1Max6": { "base": null, "refs": { @@ -4160,6 +4257,13 @@ "Rectangle$Width": "Width of rectangle in pixels. Specify only even numbers." } }, + "__integerMin2Max4096": { + "base": null, + "refs": { + "CmafImageBasedTrickPlaySettings$ThumbnailHeight": "Height of each thumbnail within each tile image, in pixels. Leave blank to maintain aspect ratio with thumbnail width. If following the aspect ratio would lead to a total tile height greater than 4096, then the job will be rejected. Must be divisible by 2.", + "HlsImageBasedTrickPlaySettings$ThumbnailHeight": "Height of each thumbnail within each tile image, in pixels. Leave blank to maintain aspect ratio with thumbnail width. If following the aspect ratio would lead to a total tile height greater than 4096, then the job will be rejected. Must be divisible by 2." + } + }, "__integerMin32000Max192000": { "base": null, "refs": { @@ -4263,6 +4367,14 @@ "Xavc4kProfileSettings$Slices": "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." } }, + "__integerMin8Max4096": { + "base": null, + "refs": { + "CmafImageBasedTrickPlaySettings$ThumbnailWidth": "Width of each thumbnail within each tile image, in pixels. Default is 312. Must be divisible by 8.", + "DashIsoImageBasedTrickPlaySettings$ThumbnailWidth": "Width of each thumbnail within each tile image, in pixels. Default is 312. Must be divisible by 8.", + "HlsImageBasedTrickPlaySettings$ThumbnailWidth": "Width of each thumbnail within each tile image, in pixels. Default is 312. Must be divisible by 8." + } + }, "__integerMin96Max600": { "base": null, "refs": { @@ -4852,6 +4964,13 @@ "HlsCaptionLanguageMapping$CustomLanguageCode": "Specify the language for this captions channel, using the ISO 639-2 or ISO 639-3 three-letter language code" } }, + "__stringMin6Max8Pattern09aFAF609aFAF2": { + "base": null, + "refs": { + "BurninDestinationSettings$HexFontColor": "Ignore this setting unless your BurninSubtitleFontColor setting is HEX. Format is six or eight hexidecimal digits, representing the red, green, and blue components, with the two extra digits used for an optional alpha value. For example a value of 1122AABB is a red value of 0x11, a green value of 0x22, a blue value of 0xAA, and an alpha value of 0xBB.", + "DvbSubDestinationSettings$HexFontColor": "Ignore this setting unless your DvbSubtitleFontColor setting is HEX. Format is six or eight hexidecimal digits, representing the red, green, and blue components, with the two extra digits used for an optional alpha value. For example a value of 1122AABB is a red value of 0x11, a green value of 0x22, a blue value of 0xAA, and an alpha value of 0xBB." + } + }, "__stringMin9Max19PatternAZ26EastWestCentralNorthSouthEastWest1912": { "base": null, "refs": { diff --git a/models/apis/ssm/2014-11-06/api-2.json b/models/apis/ssm/2014-11-06/api-2.json index d21825e5189..c17cd859904 100644 --- a/models/apis/ssm/2014-11-06/api-2.json +++ b/models/apis/ssm/2014-11-06/api-2.json @@ -5168,7 +5168,11 @@ "MaxErrors":{"shape":"MaxErrors"}, "LoggingInfo":{"shape":"LoggingInfo"}, "Name":{"shape":"MaintenanceWindowName"}, - "Description":{"shape":"MaintenanceWindowDescription"} + "Description":{"shape":"MaintenanceWindowDescription"}, + "CutoffBehavior":{ + "shape":"MaintenanceWindowTaskCutoffBehavior", + "box":true + } } }, "GetOpsItemRequest":{ @@ -7025,7 +7029,11 @@ "MaxConcurrency":{"shape":"MaxConcurrency"}, "MaxErrors":{"shape":"MaxErrors"}, "Name":{"shape":"MaintenanceWindowName"}, - "Description":{"shape":"MaintenanceWindowDescription"} + "Description":{"shape":"MaintenanceWindowDescription"}, + "CutoffBehavior":{ + "shape":"MaintenanceWindowTaskCutoffBehavior", + "box":true + } } }, "MaintenanceWindowTaskArn":{ @@ -7033,6 +7041,13 @@ "max":1600, "min":1 }, + "MaintenanceWindowTaskCutoffBehavior":{ + "type":"string", + "enum":[ + "CONTINUE_TASK", + "CANCEL_TASK" + ] + }, "MaintenanceWindowTaskId":{ "type":"string", "max":36, @@ -8816,6 +8831,10 @@ "ClientToken":{ "shape":"ClientToken", "idempotencyToken":true + }, + "CutoffBehavior":{ + "shape":"MaintenanceWindowTaskCutoffBehavior", + "box":true } } }, @@ -10219,6 +10238,10 @@ "Replace":{ "shape":"Boolean", "box":true + }, + "CutoffBehavior":{ + "shape":"MaintenanceWindowTaskCutoffBehavior", + "box":true } } }, @@ -10237,7 +10260,11 @@ "MaxErrors":{"shape":"MaxErrors"}, "LoggingInfo":{"shape":"LoggingInfo"}, "Name":{"shape":"MaintenanceWindowName"}, - "Description":{"shape":"MaintenanceWindowDescription"} + "Description":{"shape":"MaintenanceWindowDescription"}, + "CutoffBehavior":{ + "shape":"MaintenanceWindowTaskCutoffBehavior", + "box":true + } } }, "UpdateManagedInstanceRoleRequest":{ diff --git a/models/apis/ssm/2014-11-06/docs-2.json b/models/apis/ssm/2014-11-06/docs-2.json index cc5727a8e1d..d35bc0a7075 100644 --- a/models/apis/ssm/2014-11-06/docs-2.json +++ b/models/apis/ssm/2014-11-06/docs-2.json @@ -3,7 +3,7 @@ "service": "

Amazon Web Services Systems Manager is a collection of capabilities that helps you automate management tasks such as collecting system inventory, applying operating system (OS) patches, automating the creation of Amazon Machine Images (AMIs), and configuring operating systems (OSs) and applications at scale. Systems Manager lets you remotely and securely manage the configuration of your managed instances. A managed instance is any Amazon Elastic Compute Cloud instance (EC2 instance), or any on-premises server or virtual machine (VM) in your hybrid environment that has been configured for Systems Manager.

This reference is intended to be used with the Amazon Web Services Systems Manager User Guide.

To get started, verify prerequisites and configure managed instances. For more information, see Setting up Amazon Web Services Systems Manager in the Amazon Web Services Systems Manager User Guide.

Related resources

", "operations": { "AddTagsToResource": "

Adds or overwrites one or more tags for the specified resource. Tags are metadata that you can assign to your documents, managed instances, maintenance windows, Parameter Store parameters, and patch baselines. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value, both of which you define. For example, you could define a set of tags for your account's managed instances that helps you track each instance's owner and stack level. For example:

Each resource can have a maximum of 50 tags.

We recommend that you devise a set of tag keys that meets your needs for each resource type. Using a consistent set of tag keys makes it easier for you to manage your resources. You can search and filter the resources based on the tags you add. Tags don't have any semantic meaning to and are interpreted strictly as a string of characters.

For more information about using tags with Amazon Elastic Compute Cloud (Amazon EC2) instances, see Tagging your Amazon EC2 resources in the Amazon EC2 User Guide.

", - "AssociateOpsItemRelatedItem": "

Associates a related resource to a Systems Manager OpsCenter OpsItem. For example, you can associate an Incident Manager incident or analysis with an OpsItem. Incident Manager is a capability of Amazon Web Services Systems Manager.

", + "AssociateOpsItemRelatedItem": "

Associates a related item to a Systems Manager OpsCenter OpsItem. For example, you can associate an Incident Manager incident or analysis with an OpsItem. Incident Manager and OpsCenter are capabilities of Amazon Web Services Systems Manager.

", "CancelCommand": "

Attempts to cancel the command specified by the Command ID. There is no guarantee that the command will be terminated and the underlying process stopped.

", "CancelMaintenanceWindowExecution": "

Stops a maintenance window execution that is already in progress and cancels any tasks in the window that haven't already starting running. Tasks already in progress will continue to completion.

", "CreateActivation": "

Generates an activation code and activation ID you can use to register your on-premises server or virtual machine (VM) with Amazon Web Services Systems Manager. Registering these machines with Systems Manager makes it possible to manage them using Systems Manager capabilities. You use the activation code and ID when installing SSM Agent on machines in your hybrid environment. For more information about requirements for managing on-premises instances and VMs using Systems Manager, see Setting up Amazon Web Services Systems Manager for hybrid environments in the Amazon Web Services Systems Manager User Guide.

On-premises servers or VMs that are registered with Systems Manager and Amazon Elastic Compute Cloud (Amazon EC2) instances that you manage with Systems Manager are all called managed instances.

", @@ -55,13 +55,13 @@ "DescribeMaintenanceWindows": "

Retrieves the maintenance windows in an Amazon Web Services account.

", "DescribeMaintenanceWindowsForTarget": "

Retrieves information about the maintenance window targets or tasks that an instance is associated with.

", "DescribeOpsItems": "

Query a set of OpsItems. You must have permission in Identity and Access Management (IAM) to query a list of OpsItems. For more information, see Getting started with OpsCenter in the Amazon Web Services Systems Manager User Guide.

Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and remediate operational issues impacting the performance and health of their Amazon Web Services resources. For more information, see OpsCenter in the Amazon Web Services Systems Manager User Guide.

", - "DescribeParameters": "

Get information about a parameter.

Request results are returned on a best-effort basis. If you specify MaxResults in the request, the response includes information up to the limit specified. The number of items returned, however, can be between zero and the value of MaxResults. If the service reaches an internal limit while processing the results, it stops the operation and returns the matching values up to that point and a NextToken. You can specify the NextToken in a subsequent call to get the next set of results.

", + "DescribeParameters": "

Get information about a parameter.

Request results are returned on a best-effort basis. If you specify MaxResults in the request, the response includes information up to the limit specified. The number of items returned, however, can be between zero and the value of MaxResults. If the service reaches an internal limit while processing the results, it stops the operation and returns the matching values up to that point and a NextToken. You can specify the NextToken in a subsequent call to get the next set of results.

If you change the KMS key alias for the KMS key used to encrypt a parameter, then you must also update the key alias the parameter uses to reference KMS. Otherwise, DescribeParameters retrieves whatever the original key alias was referencing.

", "DescribePatchBaselines": "

Lists the patch baselines in your Amazon Web Services account.

", "DescribePatchGroupState": "

Returns high-level aggregated patch compliance state information for a patch group.

", "DescribePatchGroups": "

Lists all patch groups that have been registered with patch baselines.

", "DescribePatchProperties": "

Lists the properties of available patches organized by product, product family, classification, severity, and other properties of available patches. You can use the reported properties in the filters you specify in requests for operations such as CreatePatchBaseline, UpdatePatchBaseline, DescribeAvailablePatches, and DescribePatchBaselines.

The following section lists the properties that can be used in filters for each major operating system type:

AMAZON_LINUX

Valid properties: PRODUCT | CLASSIFICATION | SEVERITY

AMAZON_LINUX_2

Valid properties: PRODUCT | CLASSIFICATION | SEVERITY

CENTOS

Valid properties: PRODUCT | CLASSIFICATION | SEVERITY

DEBIAN

Valid properties: PRODUCT | PRIORITY

MACOS

Valid properties: PRODUCT | CLASSIFICATION

ORACLE_LINUX

Valid properties: PRODUCT | CLASSIFICATION | SEVERITY

REDHAT_ENTERPRISE_LINUX

Valid properties: PRODUCT | CLASSIFICATION | SEVERITY

SUSE

Valid properties: PRODUCT | CLASSIFICATION | SEVERITY

UBUNTU

Valid properties: PRODUCT | PRIORITY

WINDOWS

Valid properties: PRODUCT | PRODUCT_FAMILY | CLASSIFICATION | MSRC_SEVERITY

", "DescribeSessions": "

Retrieves a list of all active sessions (both connected and disconnected) or terminated sessions from the past 30 days.

", - "DisassociateOpsItemRelatedItem": "

Deletes the association between an OpsItem and a related resource. For example, this API operation can delete an Incident Manager incident from an OpsItem. Incident Manager is a capability of Amazon Web Services Systems Manager.

", + "DisassociateOpsItemRelatedItem": "

Deletes the association between an OpsItem and a related item. For example, this API operation can delete an Incident Manager incident from an OpsItem. Incident Manager is a capability of Amazon Web Services Systems Manager.

", "GetAutomationExecution": "

Get detailed information about a particular Automation execution.

", "GetCalendarState": "

Gets the state of a Amazon Web Services Systems Manager change calendar at the current time or a specified time. If you specify a time, GetCalendarState returns the state of the calendar at that specific time, and returns the next time that the change calendar state will transition. If you don't specify a time, GetCalendarState uses the current time. Change Calendar entries have two possible states: OPEN or CLOSED.

If you specify more than one calendar in a request, the command returns the status of OPEN only if all calendars in the request are open. If one or more calendars in the request are closed, the status returned is CLOSED.

For more information about Change Calendar, a capability of Amazon Web Services Systems Manager, see Amazon Web Services Systems Manager Change Calendar in the Amazon Web Services Systems Manager User Guide.

", "GetCommandInvocation": "

Returns detailed information about command execution for an invocation or plugin.

GetCommandInvocation only gives the execution status of a plugin in a document. To get the command execution status on a specific instance, use ListCommandInvocations. To get the command execution status across instances, use ListCommands.

", @@ -80,7 +80,7 @@ "GetOpsMetadata": "

View operational metadata related to an application in Application Manager.

", "GetOpsSummary": "

View a summary of operations metadata (OpsData) based on specified filters and aggregators. OpsData can include information about Amazon Web Services Systems Manager OpsCenter operational workitems (OpsItems) as well as information about any Amazon Web Services resource or service configured to report OpsData to Amazon Web Services Systems Manager Explorer.

", "GetParameter": "

Get information about a single parameter by specifying the parameter name.

To get information about more than one parameter at a time, use the GetParameters operation.

", - "GetParameterHistory": "

Retrieves the history of all changes to a parameter.

", + "GetParameterHistory": "

Retrieves the history of all changes to a parameter.

If you change the KMS key alias for the KMS key used to encrypt a parameter, then you must also update the key alias the parameter uses to reference KMS. Otherwise, GetParameterHistory retrieves whatever the original key alias was referencing.

", "GetParameters": "

Get information about one or more parameters by specifying multiple parameter names.

To get information about a single parameter, you can use the GetParameter operation instead.

", "GetParametersByPath": "

Retrieve information about one or more parameters in a specific hierarchy.

Request results are returned on a best-effort basis. If you specify MaxResults in the request, the response includes information up to the limit specified. The number of items returned, however, can be between zero and the value of MaxResults. If the service reaches an internal limit while processing the results, it stops the operation and returns the matching values up to that point and a NextToken. You can specify the NextToken in a subsequent call to get the next set of results.

", "GetPatchBaseline": "

Retrieves information about a patch baseline.

", @@ -98,7 +98,7 @@ "ListDocuments": "

Returns all Systems Manager (SSM) documents in the current Amazon Web Services account and Amazon Web Services Region. You can limit the results of this request by using a filter.

", "ListInventoryEntries": "

A list of inventory items returned by the request.

", "ListOpsItemEvents": "

Returns a list of all OpsItem events in the current Amazon Web Services Region and Amazon Web Services account. You can limit the results to events associated with specific OpsItems by specifying a filter.

", - "ListOpsItemRelatedItems": "

Lists all related-item resources associated with an OpsItem.

", + "ListOpsItemRelatedItems": "

Lists all related-item resources associated with a Systems Manager OpsCenter OpsItem. OpsCenter is a capability of Amazon Web Services Systems Manager.

", "ListOpsMetadata": "

Amazon Web Services Systems Manager calls this API operation when displaying all Application Manager OpsMetadata objects or blobs.

", "ListResourceComplianceSummaries": "

Returns a resource-level summary count. The summary includes information about compliant and non-compliant statuses and detailed compliance-item severity counts, according to the filter criteria you specify.

", "ListResourceDataSync": "

Lists your resource data sync configurations. Includes information about the last time a sync attempted to start, the last sync status, and the last time a sync successfully completed.

The number of sync configurations might be too large to return using a single call to ListResourceDataSync. You can limit the number of sync configurations returned by using the MaxResults parameter. To determine whether there are more sync configurations to list, check the value of NextToken in the output. If there are more sync configurations to list, you can request them by specifying the NextToken returned in the call to the parameter of a subsequent call.

", @@ -1039,7 +1039,7 @@ "CommandFilterValue": { "base": null, "refs": { - "CommandFilter$value": "

The filter value. Valid values for each filter key are as follows:

" + "CommandFilter$value": "

The filter value. Valid values for each filter key are as follows:

" } }, "CommandId": { @@ -2109,7 +2109,7 @@ "InstanceAssociationStatusInfo$Name": "

The name of the association.

", "ListDocumentVersionsRequest$Name": "

The name of the document. You can specify an Amazon Resource Name (ARN).

", "Runbook$DocumentName": "

The name of the Automation runbook used in a runbook workflow.

", - "SendCommandRequest$DocumentName": "

The name of the Amazon Web Services Systems Manager document (SSM document) to run. This can be a public document or a custom document. To run a shared document belonging to another account, specify the document ARN. For more information about how to use shared documents, see Using shared SSM documents in the Amazon Web Services Systems Manager User Guide.

", + "SendCommandRequest$DocumentName": "

The name of the Amazon Web Services Systems Manager document (SSM document) to run. This can be a public document or a custom document. To run a shared document belonging to another account, specify the document Amazon Resource Name (ARN). For more information about how to use shared documents, see Using shared SSM documents in the Amazon Web Services Systems Manager User Guide.

If you specify a document name or ARN that hasn't been shared with your account, you receive an InvalidDocument error.

", "StartAutomationExecutionRequest$DocumentName": "

The name of the SSM document to run. This can be a public document or a custom document. To run a shared document belonging to another account, specify the document ARN. For more information about how to use shared documents, see Using shared SSM documents in the Amazon Web Services Systems Manager User Guide.

", "StartChangeRequestExecutionRequest$DocumentName": "

The name of the change template document to run during the runbook workflow.

", "StartSessionRequest$DocumentName": "

The name of the SSM document to define the parameters and plugin settings for the session. For example, SSM-SessionManagerRunShell. You can call the GetDocument API to verify the document exists before attempting to start a session. If no document name is provided, a shell to the instance is launched by default.

", @@ -3175,7 +3175,7 @@ "InstanceTagName": { "base": null, "refs": { - "CommandInvocation$InstanceName": "

The name of the invocation target. For EC2 instances this is the value for the aws:Name tag. For on-premises instances, this is the name of the instance.

" + "CommandInvocation$InstanceName": "

The fully qualified host name of the managed instance.

" } }, "InstancesCount": { @@ -4433,6 +4433,16 @@ "UpdateMaintenanceWindowTaskResult$TaskArn": "

The updated task ARN value.

" } }, + "MaintenanceWindowTaskCutoffBehavior": { + "base": null, + "refs": { + "GetMaintenanceWindowTaskResult$CutoffBehavior": "

The action to take on tasks when the maintenance window cutoff time is reached. CONTINUE_TASK means that tasks continue to run. For Automation, Lambda, Step Functions tasks, CANCEL_TASK means that currently running task invocations continue, but no new task invocations are started. For Run Command tasks, CANCEL_TASK means the system attempts to stop the task by sending a CancelCommand operation.

", + "MaintenanceWindowTask$CutoffBehavior": "

The specification for whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached.

", + "RegisterTaskWithMaintenanceWindowRequest$CutoffBehavior": "

Indicates whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached.

", + "UpdateMaintenanceWindowTaskRequest$CutoffBehavior": "

Indicates whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached.

", + "UpdateMaintenanceWindowTaskResult$CutoffBehavior": "

The specification for whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached.

" + } + }, "MaintenanceWindowTaskId": { "base": null, "refs": { @@ -5129,7 +5139,7 @@ "base": null, "refs": { "AssociateOpsItemRelatedItemRequest$OpsItemId": "

The ID of the OpsItem to which you want to associate a resource as a related item.

", - "DisassociateOpsItemRelatedItemRequest$OpsItemId": "

The ID of the OpsItem for which you want to delete an association between the OpsItem and a related resource.

", + "DisassociateOpsItemRelatedItemRequest$OpsItemId": "

The ID of the OpsItem for which you want to delete an association between the OpsItem and a related item.

", "GetOpsItemRequest$OpsItemId": "

The ID of the OpsItem that you want to get.

", "ListOpsItemRelatedItemsRequest$OpsItemId": "

The ID of the OpsItem for which you want to list all related-item resources.

", "OpsItem$OpsItemId": "

The ID of the OpsItem.

", @@ -5222,7 +5232,7 @@ "base": null, "refs": { "AssociateOpsItemRelatedItemResponse$AssociationId": "

The association ID.

", - "DisassociateOpsItemRelatedItemRequest$AssociationId": "

The ID of the association for which you want to delete an association between the OpsItem and a related resource.

", + "DisassociateOpsItemRelatedItemRequest$AssociationId": "

The ID of the association for which you want to delete an association between the OpsItem and a related item.

", "OpsItemRelatedItemSummary$AssociationId": "

The association ID.

" } }, @@ -5234,7 +5244,7 @@ "OpsItemRelatedItemAssociationResourceType": { "base": null, "refs": { - "AssociateOpsItemRelatedItemRequest$ResourceType": "

The type of resource that you want to associate with an OpsItem. OpsCenter supports the following types:

AWS::SSMIncidents::IncidentRecord: an Incident Manager incident. Incident Manager is a capability of Amazon Web Services Systems Manager.

AWS::SSM::Document: a Systems Manager (SSM) document.

", + "AssociateOpsItemRelatedItemRequest$ResourceType": "

The type of resource that you want to associate with an OpsItem. OpsCenter supports the following types:

AWS::SSMIncidents::IncidentRecord: an Incident Manager incident.

AWS::SSM::Document: a Systems Manager (SSM) document.

", "OpsItemRelatedItemSummary$ResourceType": "

The resource type.

" } }, @@ -5685,14 +5695,14 @@ "ParameterStringFilterKey": { "base": null, "refs": { - "ParameterStringFilter$Key": "

The name of the filter.

The ParameterStringFilter object is used by the DescribeParameters and GetParametersByPath API operations. However, not all of the pattern values listed for Key can be used with both operations.

For DescribeActions, all of the listed patterns are valid, with the exception of Label.

For GetParametersByPath, the following patterns listed for Key aren't valid: tag, Name, Path, and Tier.

For examples of Amazon Web Services CLI commands demonstrating valid parameter filter constructions, see Searching for Systems Manager parameters in the Amazon Web Services Systems Manager User Guide.

" + "ParameterStringFilter$Key": "

The name of the filter.

The ParameterStringFilter object is used by the DescribeParameters and GetParametersByPath API operations. However, not all of the pattern values listed for Key can be used with both operations.

For DescribeActions, all of the listed patterns are valid except Label.

For GetParametersByPath, the following patterns listed for Key aren't valid: tag, DataType, Name, Path, and Tier.

For examples of Amazon Web Services CLI commands demonstrating valid parameter filter constructions, see Searching for Systems Manager parameters in the Amazon Web Services Systems Manager User Guide.

" } }, "ParameterStringFilterList": { "base": null, "refs": { "DescribeParametersRequest$ParameterFilters": "

Filters to limit the request results.

", - "GetParametersByPathRequest$ParameterFilters": "

Filters to limit the request results.

For GetParametersByPath, the following filter Key names are supported: Type, KeyId, Label, and DataType.

The following Key values are not supported for GetParametersByPath: tag, Name, Path, and Tier.

" + "GetParametersByPathRequest$ParameterFilters": "

Filters to limit the request results.

The following Key values are supported for GetParametersByPath: Type, KeyId, and Label.

The following Key values aren't supported for GetParametersByPath: tag, DataType, Name, Path, and Tier.

" } }, "ParameterStringFilterValue": { @@ -6994,7 +7004,7 @@ "base": null, "refs": { "ServiceSetting$SettingValue": "

The value of the service setting.

", - "UpdateServiceSettingRequest$SettingValue": "

The new value to specify for the service setting. For the /ssm/parameter-store/default-parameter-tier setting ID, the setting value can be one of the following.

For the /ssm/parameter-store/high-throughput-enabled, and /ssm/managed-instance/activation-tier setting IDs, the setting value can be true or false.

For the /ssm/automation/customer-script-log-destination setting ID, the setting value can be CloudWatch.

For the /ssm/automation/customer-script-log-group-name setting ID, the setting value can be the name of an Amazon CloudWatch Logs log group.

For the /ssm/documents/console/public-sharing-permission setting ID, the setting value can be Enable or Disable.

" + "UpdateServiceSettingRequest$SettingValue": "

The new value to specify for the service setting. The following list specifies the available values for each setting.

" } }, "Session": { diff --git a/models/apis/ssm/2014-11-06/waiters-2.json b/models/apis/ssm/2014-11-06/waiters-2.json index 30b333a8589..43f5237f899 100644 --- a/models/apis/ssm/2014-11-06/waiters-2.json +++ b/models/apis/ssm/2014-11-06/waiters-2.json @@ -53,6 +53,11 @@ "matcher": "path", "state": "failure", "argument": "Status" + }, + { + "state": "retry", + "matcher": "error", + "expected": "InvocationDoesNotExist" } ] } diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 92fb704642c..88582cdd380 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -4680,7 +4680,9 @@ }, "models-v2-lex" : { "endpoints" : { + "af-south-1" : { }, "ap-northeast-1" : { }, + "ap-northeast-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ca-central-1" : { }, @@ -9644,6 +9646,21 @@ "us-gov-west-1" : { } } }, + "iotevents" : { + "endpoints" : { + "us-gov-west-1" : { } + } + }, + "ioteventsdata" : { + "endpoints" : { + "us-gov-west-1" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "hostname" : "data.iotevents.us-gov-west-1.amazonaws.com" + } + } + }, "iotsecuredtunneling" : { "endpoints" : { "fips-us-gov-east-1" : { diff --git a/service/appsync/api.go b/service/appsync/api.go index cab805341e4..4422701056c 100644 --- a/service/appsync/api.go +++ b/service/appsync/api.go @@ -3904,11 +3904,11 @@ func (s *AccessDeniedException) RequestID() string { type AdditionalAuthenticationProvider struct { _ struct{} `type:"structure"` - // The authentication type: API key, Identity and Access Management, OIDC, or - // Amazon Cognito user pools. + // The authentication type: API key, Identity and Access Management, OIDC, Amazon + // Cognito user pools, or Amazon Web Services Lambda. AuthenticationType *string `locationName:"authenticationType" type:"string" enum:"AuthenticationType"` - // Configuration for AWS Lambda function authorization. + // Configuration for Amazon Web Services Lambda function authorization. LambdaAuthorizerConfig *LambdaAuthorizerConfig `locationName:"lambdaAuthorizerConfig" type:"structure"` // The OpenID Connect configuration. @@ -5058,7 +5058,11 @@ type CreateDataSourceInput struct { // Amazon DynamoDB settings. DynamodbConfig *DynamodbDataSourceConfig `locationName:"dynamodbConfig" type:"structure"` - // Amazon Elasticsearch Service settings. + // Amazon OpenSearch Service settings. + // + // As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. + // This configuration is deprecated. For new data sources, use CreateDataSourceRequest$openSearchServiceConfig + // to create an OpenSearch data source. ElasticsearchConfig *ElasticsearchDataSourceConfig `locationName:"elasticsearchConfig" type:"structure"` // HTTP endpoint settings. @@ -5072,6 +5076,9 @@ type CreateDataSourceInput struct { // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` + // Amazon OpenSearch Service settings. + OpenSearchServiceConfig *OpenSearchServiceDataSourceConfig `locationName:"openSearchServiceConfig" type:"structure"` + // Relational database settings. RelationalDatabaseConfig *RelationalDatabaseDataSourceConfig `locationName:"relationalDatabaseConfig" type:"structure"` @@ -5141,6 +5148,11 @@ func (s *CreateDataSourceInput) Validate() error { invalidParams.AddNested("LambdaConfig", err.(request.ErrInvalidParams)) } } + if s.OpenSearchServiceConfig != nil { + if err := s.OpenSearchServiceConfig.Validate(); err != nil { + invalidParams.AddNested("OpenSearchServiceConfig", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -5190,6 +5202,12 @@ func (s *CreateDataSourceInput) SetName(v string) *CreateDataSourceInput { return s } +// SetOpenSearchServiceConfig sets the OpenSearchServiceConfig field's value. +func (s *CreateDataSourceInput) SetOpenSearchServiceConfig(v *OpenSearchServiceDataSourceConfig) *CreateDataSourceInput { + s.OpenSearchServiceConfig = v + return s +} + // SetRelationalDatabaseConfig sets the RelationalDatabaseConfig field's value. func (s *CreateDataSourceInput) SetRelationalDatabaseConfig(v *RelationalDatabaseDataSourceConfig) *CreateDataSourceInput { s.RelationalDatabaseConfig = v @@ -5420,13 +5438,13 @@ type CreateGraphqlApiInput struct { // A list of additional authentication providers for the GraphqlApi API. AdditionalAuthenticationProviders []*AdditionalAuthenticationProvider `locationName:"additionalAuthenticationProviders" type:"list"` - // The authentication type: API key, Identity and Access Management, OIDC, or - // Amazon Cognito user pools. + // The authentication type: API key, Identity and Access Management, OIDC, Amazon + // Cognito user pools, or Amazon Web Services Lambda. // // AuthenticationType is a required field AuthenticationType *string `locationName:"authenticationType" type:"string" required:"true" enum:"AuthenticationType"` - // Configuration for AWS Lambda function authorization. + // Configuration for Amazon Web Services Lambda function authorization. LambdaAuthorizerConfig *LambdaAuthorizerConfig `locationName:"lambdaAuthorizerConfig" type:"structure"` // The Amazon CloudWatch Logs configuration. @@ -5927,7 +5945,7 @@ type DataSource struct { // Amazon DynamoDB settings. DynamodbConfig *DynamodbDataSourceConfig `locationName:"dynamodbConfig" type:"structure"` - // Amazon Elasticsearch Service settings. + // Amazon OpenSearch Service settings. ElasticsearchConfig *ElasticsearchDataSourceConfig `locationName:"elasticsearchConfig" type:"structure"` // HTTP endpoint settings. @@ -5939,6 +5957,9 @@ type DataSource struct { // The name of the data source. Name *string `locationName:"name" min:"1" type:"string"` + // Amazon OpenSearch Service settings. + OpenSearchServiceConfig *OpenSearchServiceDataSourceConfig `locationName:"openSearchServiceConfig" type:"structure"` + // Relational database settings. RelationalDatabaseConfig *RelationalDatabaseDataSourceConfig `locationName:"relationalDatabaseConfig" type:"structure"` @@ -5948,12 +5969,15 @@ type DataSource struct { // The type of the data source. // + // * AWS_LAMBDA: The data source is an Amazon Web Services Lambda function. + // // * AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table. // - // * AMAZON_ELASTICSEARCH: The data source is an Amazon Elasticsearch Service + // * AMAZON_ELASTICSEARCH: The data source is an Amazon OpenSearch Service // domain. // - // * AWS_LAMBDA: The data source is an Amazon Web Services Lambda function. + // * AMAZON_OPENSEARCH_SERVICE: The data source is an Amazon OpenSearch Service + // domain. // // * NONE: There is no data source. This type is used when you wish to invoke // a GraphQL operation without connecting to a data source, such as performing @@ -6026,6 +6050,12 @@ func (s *DataSource) SetName(v string) *DataSource { return s } +// SetOpenSearchServiceConfig sets the OpenSearchServiceConfig field's value. +func (s *DataSource) SetOpenSearchServiceConfig(v *OpenSearchServiceDataSourceConfig) *DataSource { + s.OpenSearchServiceConfig = v + return s +} + // SetRelationalDatabaseConfig sets the RelationalDatabaseConfig field's value. func (s *DataSource) SetRelationalDatabaseConfig(v *RelationalDatabaseDataSourceConfig) *DataSource { s.RelationalDatabaseConfig = v @@ -6784,7 +6814,11 @@ func (s *DynamodbDataSourceConfig) SetVersioned(v bool) *DynamodbDataSourceConfi return s } -// Describes an Elasticsearch data source configuration. +// Describes an OpenSearch data source configuration. +// +// As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. +// This configuration is deprecated. For new data sources, use OpenSearchServiceDataSourceConfig +// to specify an OpenSearch data source. type ElasticsearchDataSourceConfig struct { _ struct{} `type:"structure"` @@ -7884,7 +7918,7 @@ type GraphqlApi struct { // The authentication type. AuthenticationType *string `locationName:"authenticationType" type:"string" enum:"AuthenticationType"` - // Configuration for AWS Lambda function authorization. + // Configuration for Amazon Web Services Lambda function authorization. LambdaAuthorizerConfig *LambdaAuthorizerConfig `locationName:"lambdaAuthorizerConfig" type:"structure"` // The Amazon CloudWatch Logs configuration. @@ -8142,12 +8176,12 @@ type LambdaAuthorizerConfig struct { // key in its response. A value of 0 disables caching of responses. AuthorizerResultTtlInSeconds *int64 `locationName:"authorizerResultTtlInSeconds" type:"integer"` - // The ARN of the lambda function to be called for authorization. This may be + // The ARN of the Lambda function to be called for authorization. This may be // a standard Lambda ARN, a version ARN (.../v3) or alias ARN. // // Note: This Lambda function must have the following resource-based policy // assigned to it. When configuring Lambda authorizers in the Console, this - // is done for you. To do so with the AWS CLI, run the following: + // is done for you. To do so with the Amazon Web Services CLI, run the following: // // aws lambda add-permission --function-name "arn:aws:lambda:us-east-2:111122223333:function:my-function" // --statement-id "appsync" --principal appsync.amazonaws.com --action lambda:InvokeFunction @@ -8155,7 +8189,7 @@ type LambdaAuthorizerConfig struct { // AuthorizerUri is a required field AuthorizerUri *string `locationName:"authorizerUri" type:"string" required:"true"` - // A regular expression for validation of tokens before the Lambda Function + // A regular expression for validation of tokens before the Lambda function // is called. IdentityValidationExpression *string `locationName:"identityValidationExpression" type:"string"` } @@ -9472,6 +9506,67 @@ func (s *OpenIDConnectConfig) SetIssuer(v string) *OpenIDConnectConfig { return s } +// Describes an OpenSearch data source configuration. +type OpenSearchServiceDataSourceConfig struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services Region. + // + // AwsRegion is a required field + AwsRegion *string `locationName:"awsRegion" type:"string" required:"true"` + + // The endpoint. + // + // Endpoint is a required field + Endpoint *string `locationName:"endpoint" 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 OpenSearchServiceDataSourceConfig) 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 OpenSearchServiceDataSourceConfig) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *OpenSearchServiceDataSourceConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "OpenSearchServiceDataSourceConfig"} + if s.AwsRegion == nil { + invalidParams.Add(request.NewErrParamRequired("AwsRegion")) + } + if s.Endpoint == nil { + invalidParams.Add(request.NewErrParamRequired("Endpoint")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsRegion sets the AwsRegion field's value. +func (s *OpenSearchServiceDataSourceConfig) SetAwsRegion(v string) *OpenSearchServiceDataSourceConfig { + s.AwsRegion = &v + return s +} + +// SetEndpoint sets the Endpoint field's value. +func (s *OpenSearchServiceDataSourceConfig) SetEndpoint(v string) *OpenSearchServiceDataSourceConfig { + s.Endpoint = &v + return s +} + // The pipeline configuration for a resolver of kind PIPELINE. type PipelineConfig struct { _ struct{} `type:"structure"` @@ -10502,7 +10597,11 @@ type UpdateDataSourceInput struct { // The new Amazon DynamoDB configuration. DynamodbConfig *DynamodbDataSourceConfig `locationName:"dynamodbConfig" type:"structure"` - // The new Elasticsearch Service configuration. + // The new OpenSearch configuration. + // + // As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. + // This configuration is deprecated. Instead, use UpdateDataSourceRequest$openSearchServiceConfig + // to update an OpenSearch data source. ElasticsearchConfig *ElasticsearchDataSourceConfig `locationName:"elasticsearchConfig" type:"structure"` // The new HTTP endpoint configuration. @@ -10516,6 +10615,9 @@ type UpdateDataSourceInput struct { // Name is a required field Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` + // The new OpenSearch configuration. + OpenSearchServiceConfig *OpenSearchServiceDataSourceConfig `locationName:"openSearchServiceConfig" type:"structure"` + // The new relational database configuration. RelationalDatabaseConfig *RelationalDatabaseDataSourceConfig `locationName:"relationalDatabaseConfig" type:"structure"` @@ -10584,6 +10686,11 @@ func (s *UpdateDataSourceInput) Validate() error { invalidParams.AddNested("LambdaConfig", err.(request.ErrInvalidParams)) } } + if s.OpenSearchServiceConfig != nil { + if err := s.OpenSearchServiceConfig.Validate(); err != nil { + invalidParams.AddNested("OpenSearchServiceConfig", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -10633,6 +10740,12 @@ func (s *UpdateDataSourceInput) SetName(v string) *UpdateDataSourceInput { return s } +// SetOpenSearchServiceConfig sets the OpenSearchServiceConfig field's value. +func (s *UpdateDataSourceInput) SetOpenSearchServiceConfig(v *OpenSearchServiceDataSourceConfig) *UpdateDataSourceInput { + s.OpenSearchServiceConfig = v + return s +} + // SetRelationalDatabaseConfig sets the RelationalDatabaseConfig field's value. func (s *UpdateDataSourceInput) SetRelationalDatabaseConfig(v *RelationalDatabaseDataSourceConfig) *UpdateDataSourceInput { s.RelationalDatabaseConfig = v @@ -10888,7 +11001,7 @@ type UpdateGraphqlApiInput struct { // The new authentication type for the GraphqlApi object. AuthenticationType *string `locationName:"authenticationType" type:"string" enum:"AuthenticationType"` - // Configuration for AWS Lambda function authorization. + // Configuration for Amazon Web Services Lambda function authorization. LambdaAuthorizerConfig *LambdaAuthorizerConfig `locationName:"lambdaAuthorizerConfig" type:"structure"` // The Amazon CloudWatch Logs configuration for the GraphqlApi object. @@ -11680,6 +11793,9 @@ const ( // DataSourceTypeRelationalDatabase is a DataSourceType enum value DataSourceTypeRelationalDatabase = "RELATIONAL_DATABASE" + + // DataSourceTypeAmazonOpensearchService is a DataSourceType enum value + DataSourceTypeAmazonOpensearchService = "AMAZON_OPENSEARCH_SERVICE" ) // DataSourceType_Values returns all elements of the DataSourceType enum @@ -11691,6 +11807,7 @@ func DataSourceType_Values() []string { DataSourceTypeNone, DataSourceTypeHttp, DataSourceTypeRelationalDatabase, + DataSourceTypeAmazonOpensearchService, } } diff --git a/service/mediaconvert/api.go b/service/mediaconvert/api.go index e8a97dcfbfd..4075c35894d 100644 --- a/service/mediaconvert/api.go +++ b/service/mediaconvert/api.go @@ -4646,6 +4646,16 @@ type BurninDestinationSettings struct { // All burn-in and DVB-Sub font settings must match. Alignment *string `locationName:"alignment" type:"string" enum:"BurninSubtitleAlignment"` + // Ignore this setting unless your input captions are STL, any type of 608, + // teletext, or TTML, and your output captions are burned in. Specify how the + // service applies the color specified in the setting Font color (BurninSubtitleFontColor). + // By default, this color is white. When you choose WHITE_TEXT_ONLY, the service + // uses the specified font color only for text that is white in the input. When + // you choose ALL_TEXT, the service uses the specified font color for all output + // captions text. If you leave both settings at their default value, your output + // font color is the same as your input font color. + ApplyFontColor *string `locationName:"applyFontColor" type:"string" enum:"BurninSubtitleApplyFontColor"` + // 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:"BurninSubtitleBackgroundColor"` @@ -4655,6 +4665,16 @@ type BurninDestinationSettings struct { // All burn-in and DVB-Sub font settings must match. BackgroundOpacity *int64 `locationName:"backgroundOpacity" type:"integer"` + // Specify the font that you want the service to use for your burn in captions + // when your input captions specify a font that MediaConvert doesn't support. + // When you keep the default value, Best match (BEST_MATCH), MediaConvert uses + // a supported font that most closely matches the font that your input captions + // specify. When there are multiple unsupported fonts in your input captions, + // MediaConvert matches each font with the supported font that matches best. + // When you explicitly choose a replacement font, MediaConvert uses that font + // to replace all unsupported fonts from your input. + FallbackFont *string `locationName:"fallbackFont" type:"string" enum:"BurninSubtitleFallbackFont"` + // 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 @@ -4680,6 +4700,13 @@ type BurninDestinationSettings struct { // match. FontSize *int64 `locationName:"fontSize" type:"integer"` + // Ignore this setting unless your BurninSubtitleFontColor setting is HEX. Format + // is six or eight hexidecimal digits, representing the red, green, and blue + // components, with the two extra digits used for an optional alpha value. For + // example a value of 1122AABB is a red value of 0x11, a green value of 0x22, + // a blue value of 0xAA, and an alpha value of 0xBB. + HexFontColor *string `locationName:"hexFontColor" min:"6" 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 @@ -4711,6 +4738,15 @@ type BurninDestinationSettings struct { // burn-in and DVB-Sub font settings must match. ShadowYOffset *int64 `locationName:"shadowYOffset" type:"integer"` + // Ignore this setting unless your output captions are burned in. Choose which + // set of style and position values the service applies to your output captions. + // When you choose ENABLED, the service uses the input style and position information + // from your input. When you choose DISABLED, the service uses any style values + // that you specify in your output settings. If you don't specify values, the + // service uses default style and position values. When you choose DISABLED, + // the service ignores all style and position values from your input. + StylePassthrough *string `locationName:"stylePassthrough" type:"string" enum:"BurnInSubtitleStylePassthrough"` + // Only applies to jobs with input captions in Teletext or STL formats. Specify // whether the spacing between letters in your captions is set by the captions // grid or varies depending on letter width. Choose fixed grid to conform to @@ -4761,6 +4797,9 @@ func (s *BurninDestinationSettings) Validate() error { if s.FontResolution != nil && *s.FontResolution < 96 { invalidParams.Add(request.NewErrParamMinValue("FontResolution", 96)) } + if s.HexFontColor != nil && len(*s.HexFontColor) < 6 { + invalidParams.Add(request.NewErrParamMinLen("HexFontColor", 6)) + } if s.ShadowXOffset != nil && *s.ShadowXOffset < -2.147483648e+09 { invalidParams.Add(request.NewErrParamMinValue("ShadowXOffset", -2.147483648e+09)) } @@ -4780,6 +4819,12 @@ func (s *BurninDestinationSettings) SetAlignment(v string) *BurninDestinationSet return s } +// SetApplyFontColor sets the ApplyFontColor field's value. +func (s *BurninDestinationSettings) SetApplyFontColor(v string) *BurninDestinationSettings { + s.ApplyFontColor = &v + return s +} + // SetBackgroundColor sets the BackgroundColor field's value. func (s *BurninDestinationSettings) SetBackgroundColor(v string) *BurninDestinationSettings { s.BackgroundColor = &v @@ -4792,6 +4837,12 @@ func (s *BurninDestinationSettings) SetBackgroundOpacity(v int64) *BurninDestina return s } +// SetFallbackFont sets the FallbackFont field's value. +func (s *BurninDestinationSettings) SetFallbackFont(v string) *BurninDestinationSettings { + s.FallbackFont = &v + return s +} + // SetFontColor sets the FontColor field's value. func (s *BurninDestinationSettings) SetFontColor(v string) *BurninDestinationSettings { s.FontColor = &v @@ -4822,6 +4873,12 @@ func (s *BurninDestinationSettings) SetFontSize(v int64) *BurninDestinationSetti return s } +// SetHexFontColor sets the HexFontColor field's value. +func (s *BurninDestinationSettings) SetHexFontColor(v string) *BurninDestinationSettings { + s.HexFontColor = &v + return s +} + // SetOutlineColor sets the OutlineColor field's value. func (s *BurninDestinationSettings) SetOutlineColor(v string) *BurninDestinationSettings { s.OutlineColor = &v @@ -4858,6 +4915,12 @@ func (s *BurninDestinationSettings) SetShadowYOffset(v int64) *BurninDestination return s } +// SetStylePassthrough sets the StylePassthrough field's value. +func (s *BurninDestinationSettings) SetStylePassthrough(v string) *BurninDestinationSettings { + s.StylePassthrough = &v + return s +} + // SetTeletextSpacing sets the TeletextSpacing field's value. func (s *BurninDestinationSettings) SetTeletextSpacing(v string) *BurninDestinationSettings { s.TeletextSpacing = &v @@ -5906,6 +5969,9 @@ type CmafGroupSettings struct { // are compatible with this Roku specification: https://developer.roku.com/docs/developer-program/media-playback/trick-mode/hls-and-dash.md ImageBasedTrickPlay *string `locationName:"imageBasedTrickPlay" type:"string" enum:"CmafImageBasedTrickPlay"` + // Tile and thumbnail settings applicable when imageBasedTrickPlay is ADVANCED + ImageBasedTrickPlaySettings *CmafImageBasedTrickPlaySettings `locationName:"imageBasedTrickPlaySettings" type:"structure"` + // When set to GZIP, compresses HLS playlist. ManifestCompression *string `locationName:"manifestCompression" type:"string" enum:"CmafManifestCompression"` @@ -6040,6 +6106,11 @@ func (s *CmafGroupSettings) Validate() error { invalidParams.AddNested("Encryption", err.(request.ErrInvalidParams)) } } + if s.ImageBasedTrickPlaySettings != nil { + if err := s.ImageBasedTrickPlaySettings.Validate(); err != nil { + invalidParams.AddNested("ImageBasedTrickPlaySettings", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -6101,6 +6172,12 @@ func (s *CmafGroupSettings) SetImageBasedTrickPlay(v string) *CmafGroupSettings return s } +// SetImageBasedTrickPlaySettings sets the ImageBasedTrickPlaySettings field's value. +func (s *CmafGroupSettings) SetImageBasedTrickPlaySettings(v *CmafImageBasedTrickPlaySettings) *CmafGroupSettings { + s.ImageBasedTrickPlaySettings = v + return s +} + // SetManifestCompression sets the ManifestCompression field's value. func (s *CmafGroupSettings) SetManifestCompression(v string) *CmafGroupSettings { s.ManifestCompression = &v @@ -6185,6 +6262,118 @@ func (s *CmafGroupSettings) SetWriteSegmentTimelineInRepresentation(v string) *C return s } +// Tile and thumbnail settings applicable when imageBasedTrickPlay is ADVANCED +type CmafImageBasedTrickPlaySettings struct { + _ struct{} `type:"structure"` + + // The cadence MediaConvert follows for generating thumbnails. If set to FOLLOW_IFRAME, + // MediaConvert generates thumbnails for each IDR frame in the output (matching + // the GOP cadence). If set to FOLLOW_CUSTOM, MediaConvert generates thumbnails + // according to the interval you specify in thumbnailInterval. + IntervalCadence *string `locationName:"intervalCadence" type:"string" enum:"CmafIntervalCadence"` + + // Height of each thumbnail within each tile image, in pixels. Leave blank to + // maintain aspect ratio with thumbnail width. If following the aspect ratio + // would lead to a total tile height greater than 4096, then the job will be + // rejected. Must be divisible by 2. + ThumbnailHeight *int64 `locationName:"thumbnailHeight" min:"2" type:"integer"` + + // Enter the interval, in seconds, that MediaConvert uses to generate thumbnails. + // If the interval you enter doesn't align with the output frame rate, MediaConvert + // automatically rounds the interval to align with the output frame rate. For + // example, if the output frame rate is 29.97 frames per second and you enter + // 5, MediaConvert uses a 150 frame interval to generate thumbnails. + ThumbnailInterval *float64 `locationName:"thumbnailInterval" type:"double"` + + // Width of each thumbnail within each tile image, in pixels. Default is 312. + // Must be divisible by 8. + ThumbnailWidth *int64 `locationName:"thumbnailWidth" min:"8" type:"integer"` + + // Number of thumbnails in each column of a tile image. Set a value between + // 2 and 2048. Must be divisible by 2. + TileHeight *int64 `locationName:"tileHeight" min:"1" type:"integer"` + + // Number of thumbnails in each row of a tile image. Set a value between 1 and + // 512. + TileWidth *int64 `locationName:"tileWidth" 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 CmafImageBasedTrickPlaySettings) 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 CmafImageBasedTrickPlaySettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CmafImageBasedTrickPlaySettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CmafImageBasedTrickPlaySettings"} + if s.ThumbnailHeight != nil && *s.ThumbnailHeight < 2 { + invalidParams.Add(request.NewErrParamMinValue("ThumbnailHeight", 2)) + } + if s.ThumbnailWidth != nil && *s.ThumbnailWidth < 8 { + invalidParams.Add(request.NewErrParamMinValue("ThumbnailWidth", 8)) + } + if s.TileHeight != nil && *s.TileHeight < 1 { + invalidParams.Add(request.NewErrParamMinValue("TileHeight", 1)) + } + if s.TileWidth != nil && *s.TileWidth < 1 { + invalidParams.Add(request.NewErrParamMinValue("TileWidth", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetIntervalCadence sets the IntervalCadence field's value. +func (s *CmafImageBasedTrickPlaySettings) SetIntervalCadence(v string) *CmafImageBasedTrickPlaySettings { + s.IntervalCadence = &v + return s +} + +// SetThumbnailHeight sets the ThumbnailHeight field's value. +func (s *CmafImageBasedTrickPlaySettings) SetThumbnailHeight(v int64) *CmafImageBasedTrickPlaySettings { + s.ThumbnailHeight = &v + return s +} + +// SetThumbnailInterval sets the ThumbnailInterval field's value. +func (s *CmafImageBasedTrickPlaySettings) SetThumbnailInterval(v float64) *CmafImageBasedTrickPlaySettings { + s.ThumbnailInterval = &v + return s +} + +// SetThumbnailWidth sets the ThumbnailWidth field's value. +func (s *CmafImageBasedTrickPlaySettings) SetThumbnailWidth(v int64) *CmafImageBasedTrickPlaySettings { + s.ThumbnailWidth = &v + return s +} + +// SetTileHeight sets the TileHeight field's value. +func (s *CmafImageBasedTrickPlaySettings) SetTileHeight(v int64) *CmafImageBasedTrickPlaySettings { + s.TileHeight = &v + return s +} + +// SetTileWidth sets the TileWidth field's value. +func (s *CmafImageBasedTrickPlaySettings) SetTileWidth(v int64) *CmafImageBasedTrickPlaySettings { + s.TileWidth = &v + return s +} + // These settings relate to the fragmented MP4 container for the segments in // your CMAF outputs. type CmfcSettings struct { @@ -7581,6 +7770,9 @@ type DashIsoGroupSettings struct { // are compatible with this Roku specification: https://developer.roku.com/docs/developer-program/media-playback/trick-mode/hls-and-dash.md ImageBasedTrickPlay *string `locationName:"imageBasedTrickPlay" type:"string" enum:"DashIsoImageBasedTrickPlay"` + // Tile and thumbnail settings applicable when imageBasedTrickPlay is ADVANCED + ImageBasedTrickPlaySettings *DashIsoImageBasedTrickPlaySettings `locationName:"imageBasedTrickPlaySettings" type:"structure"` + // Minimum time of initially buffered media that is needed to ensure smooth // playout. MinBufferTime *int64 `locationName:"minBufferTime" type:"integer"` @@ -7684,6 +7876,11 @@ func (s *DashIsoGroupSettings) Validate() error { } } } + if s.ImageBasedTrickPlaySettings != nil { + if err := s.ImageBasedTrickPlaySettings.Validate(); err != nil { + invalidParams.AddNested("ImageBasedTrickPlaySettings", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -7745,6 +7942,12 @@ func (s *DashIsoGroupSettings) SetImageBasedTrickPlay(v string) *DashIsoGroupSet return s } +// SetImageBasedTrickPlaySettings sets the ImageBasedTrickPlaySettings field's value. +func (s *DashIsoGroupSettings) SetImageBasedTrickPlaySettings(v *DashIsoImageBasedTrickPlaySettings) *DashIsoGroupSettings { + s.ImageBasedTrickPlaySettings = v + return s +} + // SetMinBufferTime sets the MinBufferTime field's value. func (s *DashIsoGroupSettings) SetMinBufferTime(v int64) *DashIsoGroupSettings { s.MinBufferTime = &v @@ -7793,6 +7996,118 @@ func (s *DashIsoGroupSettings) SetWriteSegmentTimelineInRepresentation(v string) return s } +// Tile and thumbnail settings applicable when imageBasedTrickPlay is ADVANCED +type DashIsoImageBasedTrickPlaySettings struct { + _ struct{} `type:"structure"` + + // The cadence MediaConvert follows for generating thumbnails. If set to FOLLOW_IFRAME, + // MediaConvert generates thumbnails for each IDR frame in the output (matching + // the GOP cadence). If set to FOLLOW_CUSTOM, MediaConvert generates thumbnails + // according to the interval you specify in thumbnailInterval. + IntervalCadence *string `locationName:"intervalCadence" type:"string" enum:"DashIsoIntervalCadence"` + + // Height of each thumbnail within each tile image, in pixels. Leave blank to + // maintain aspect ratio with thumbnail width. If following the aspect ratio + // would lead to a total tile height greater than 4096, then the job will be + // rejected. Must be divisible by 2. + ThumbnailHeight *int64 `locationName:"thumbnailHeight" min:"1" type:"integer"` + + // Enter the interval, in seconds, that MediaConvert uses to generate thumbnails. + // If the interval you enter doesn't align with the output frame rate, MediaConvert + // automatically rounds the interval to align with the output frame rate. For + // example, if the output frame rate is 29.97 frames per second and you enter + // 5, MediaConvert uses a 150 frame interval to generate thumbnails. + ThumbnailInterval *float64 `locationName:"thumbnailInterval" type:"double"` + + // Width of each thumbnail within each tile image, in pixels. Default is 312. + // Must be divisible by 8. + ThumbnailWidth *int64 `locationName:"thumbnailWidth" min:"8" type:"integer"` + + // Number of thumbnails in each column of a tile image. Set a value between + // 2 and 2048. Must be divisible by 2. + TileHeight *int64 `locationName:"tileHeight" min:"1" type:"integer"` + + // Number of thumbnails in each row of a tile image. Set a value between 1 and + // 512. + TileWidth *int64 `locationName:"tileWidth" 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 DashIsoImageBasedTrickPlaySettings) 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 DashIsoImageBasedTrickPlaySettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DashIsoImageBasedTrickPlaySettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DashIsoImageBasedTrickPlaySettings"} + if s.ThumbnailHeight != nil && *s.ThumbnailHeight < 1 { + invalidParams.Add(request.NewErrParamMinValue("ThumbnailHeight", 1)) + } + if s.ThumbnailWidth != nil && *s.ThumbnailWidth < 8 { + invalidParams.Add(request.NewErrParamMinValue("ThumbnailWidth", 8)) + } + if s.TileHeight != nil && *s.TileHeight < 1 { + invalidParams.Add(request.NewErrParamMinValue("TileHeight", 1)) + } + if s.TileWidth != nil && *s.TileWidth < 1 { + invalidParams.Add(request.NewErrParamMinValue("TileWidth", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetIntervalCadence sets the IntervalCadence field's value. +func (s *DashIsoImageBasedTrickPlaySettings) SetIntervalCadence(v string) *DashIsoImageBasedTrickPlaySettings { + s.IntervalCadence = &v + return s +} + +// SetThumbnailHeight sets the ThumbnailHeight field's value. +func (s *DashIsoImageBasedTrickPlaySettings) SetThumbnailHeight(v int64) *DashIsoImageBasedTrickPlaySettings { + s.ThumbnailHeight = &v + return s +} + +// SetThumbnailInterval sets the ThumbnailInterval field's value. +func (s *DashIsoImageBasedTrickPlaySettings) SetThumbnailInterval(v float64) *DashIsoImageBasedTrickPlaySettings { + s.ThumbnailInterval = &v + return s +} + +// SetThumbnailWidth sets the ThumbnailWidth field's value. +func (s *DashIsoImageBasedTrickPlaySettings) SetThumbnailWidth(v int64) *DashIsoImageBasedTrickPlaySettings { + s.ThumbnailWidth = &v + return s +} + +// SetTileHeight sets the TileHeight field's value. +func (s *DashIsoImageBasedTrickPlaySettings) SetTileHeight(v int64) *DashIsoImageBasedTrickPlaySettings { + s.TileHeight = &v + return s +} + +// SetTileWidth sets the TileWidth field's value. +func (s *DashIsoImageBasedTrickPlaySettings) SetTileWidth(v int64) *DashIsoImageBasedTrickPlaySettings { + s.TileWidth = &v + return s +} + // Settings for deinterlacer type Deinterlacer struct { _ struct{} `type:"structure"` @@ -8563,6 +8878,16 @@ type DvbSubDestinationSettings struct { // All burn-in and DVB-Sub font settings must match. Alignment *string `locationName:"alignment" type:"string" enum:"DvbSubtitleAlignment"` + // Ignore this setting unless your input captions are STL, any type of 608, + // teletext, or TTML, and your output captions are DVB-SUB. Specify how the + // service applies the color specified in the setting Font color (DvbSubtitleFontColor). + // By default, this color is white. When you choose WHITE_TEXT_ONLY, the service + // uses the specified font color only for text that is white in the input. When + // you choose ALL_TEXT, the service uses the specified font color for all output + // captions text. If you leave both settings at their default value, your output + // font color is the same as your input font color. + ApplyFontColor *string `locationName:"applyFontColor" type:"string" enum:"DvbSubtitleApplyFontColor"` + // 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:"DvbSubtitleBackgroundColor"` @@ -8610,6 +8935,16 @@ type DvbSubDestinationSettings struct { // (PCS). All burn-in and DVB-Sub font settings must match. DdsYCoordinate *int64 `locationName:"ddsYCoordinate" type:"integer"` + // Specify the font that you want the service to use for your burn in captions + // when your input captions specify a font that MediaConvert doesn't support. + // When you keep the default value, Best match (BEST_MATCH), MediaConvert uses + // a supported font that most closely matches the font that your input captions + // specify. When there are multiple unsupported fonts in your input captions, + // MediaConvert matches each font with the supported font that matches best. + // When you explicitly choose a replacement font, MediaConvert uses that font + // to replace all unsupported fonts from your input. + FallbackFont *string `locationName:"fallbackFont" type:"string" enum:"DvbSubSubtitleFallbackFont"` + // Specifies the color of the DVB-SUB 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 @@ -8641,6 +8976,13 @@ type DvbSubDestinationSettings struct { // and DVB-Sub font settings must match. Height *int64 `locationName:"height" min:"1" type:"integer"` + // Ignore this setting unless your DvbSubtitleFontColor setting is HEX. Format + // is six or eight hexidecimal digits, representing the red, green, and blue + // components, with the two extra digits used for an optional alpha value. For + // example a value of 1122AABB is a red value of 0x11, a green value of 0x22, + // a blue value of 0xAA, and an alpha value of 0xBB. + HexFontColor *string `locationName:"hexFontColor" min:"6" 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 @@ -8672,6 +9014,15 @@ type DvbSubDestinationSettings struct { // burn-in and DVB-Sub font settings must match. ShadowYOffset *int64 `locationName:"shadowYOffset" type:"integer"` + // Choose which set of style and position values the service applies to your + // output captions. When you choose ENABLED, the service uses the input style + // and position information from your input. When you choose DISABLED, the service + // uses any style values that you specify in your output settings. If you don't + // specify values, the service uses default style and position values. When + // you choose DISABLED, the service ignores all style and position values from + // your input. + StylePassthrough *string `locationName:"stylePassthrough" type:"string" enum:"DvbSubtitleStylePassthrough"` + // Specify whether your DVB subtitles are standard or for hearing impaired. // Choose hearing impaired if your subtitles include audio descriptions and // dialogue. Choose standard if your subtitles include only dialogue. @@ -8736,6 +9087,9 @@ func (s *DvbSubDestinationSettings) Validate() error { if s.Height != nil && *s.Height < 1 { invalidParams.Add(request.NewErrParamMinValue("Height", 1)) } + if s.HexFontColor != nil && len(*s.HexFontColor) < 6 { + invalidParams.Add(request.NewErrParamMinLen("HexFontColor", 6)) + } if s.ShadowXOffset != nil && *s.ShadowXOffset < -2.147483648e+09 { invalidParams.Add(request.NewErrParamMinValue("ShadowXOffset", -2.147483648e+09)) } @@ -8758,6 +9112,12 @@ func (s *DvbSubDestinationSettings) SetAlignment(v string) *DvbSubDestinationSet return s } +// SetApplyFontColor sets the ApplyFontColor field's value. +func (s *DvbSubDestinationSettings) SetApplyFontColor(v string) *DvbSubDestinationSettings { + s.ApplyFontColor = &v + return s +} + // SetBackgroundColor sets the BackgroundColor field's value. func (s *DvbSubDestinationSettings) SetBackgroundColor(v string) *DvbSubDestinationSettings { s.BackgroundColor = &v @@ -8788,6 +9148,12 @@ func (s *DvbSubDestinationSettings) SetDdsYCoordinate(v int64) *DvbSubDestinatio return s } +// SetFallbackFont sets the FallbackFont field's value. +func (s *DvbSubDestinationSettings) SetFallbackFont(v string) *DvbSubDestinationSettings { + s.FallbackFont = &v + return s +} + // SetFontColor sets the FontColor field's value. func (s *DvbSubDestinationSettings) SetFontColor(v string) *DvbSubDestinationSettings { s.FontColor = &v @@ -8824,6 +9190,12 @@ func (s *DvbSubDestinationSettings) SetHeight(v int64) *DvbSubDestinationSetting return s } +// SetHexFontColor sets the HexFontColor field's value. +func (s *DvbSubDestinationSettings) SetHexFontColor(v string) *DvbSubDestinationSettings { + s.HexFontColor = &v + return s +} + // SetOutlineColor sets the OutlineColor field's value. func (s *DvbSubDestinationSettings) SetOutlineColor(v string) *DvbSubDestinationSettings { s.OutlineColor = &v @@ -8860,6 +9232,12 @@ func (s *DvbSubDestinationSettings) SetShadowYOffset(v int64) *DvbSubDestination return s } +// SetStylePassthrough sets the StylePassthrough field's value. +func (s *DvbSubDestinationSettings) SetStylePassthrough(v string) *DvbSubDestinationSettings { + s.StylePassthrough = &v + return s +} + // SetSubtitlingType sets the SubtitlingType field's value. func (s *DvbSubDestinationSettings) SetSubtitlingType(v string) *DvbSubDestinationSettings { s.SubtitlingType = &v @@ -9862,8 +10240,11 @@ func (s *EsamSignalProcessingNotification) SetSccXml(v string) *EsamSignalProces return s } -// Hexadecimal value as per EIA-608 Line 21 Data Services, section 9.5.1.5 05h -// Content Advisory. +// If your source content has EIA-608 Line 21 Data Services, enable this feature +// to specify what MediaConvert does with the Extended Data Services (XDS) packets. +// You can choose to pass through XDS packets, or remove them from the output. +// For more information about XDS, see EIA-608 Line Data Services, section 9.5.1.5 +// 05h Content Advisory. type ExtendedDataServices struct { _ struct{} `type:"structure"` @@ -12489,6 +12870,9 @@ type HlsGroupSettings struct { // specification: https://developer.roku.com/docs/developer-program/media-playback/trick-mode/hls-and-dash.md ImageBasedTrickPlay *string `locationName:"imageBasedTrickPlay" type:"string" enum:"HlsImageBasedTrickPlay"` + // Tile and thumbnail settings applicable when imageBasedTrickPlay is ADVANCED + ImageBasedTrickPlaySettings *HlsImageBasedTrickPlaySettings `locationName:"imageBasedTrickPlaySettings" type:"structure"` + // When set to GZIP, compresses HLS playlist. ManifestCompression *string `locationName:"manifestCompression" type:"string" enum:"HlsManifestCompression"` @@ -12632,6 +13016,11 @@ func (s *HlsGroupSettings) Validate() error { invalidParams.AddNested("Encryption", err.(request.ErrInvalidParams)) } } + if s.ImageBasedTrickPlaySettings != nil { + if err := s.ImageBasedTrickPlaySettings.Validate(); err != nil { + invalidParams.AddNested("ImageBasedTrickPlaySettings", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -12717,6 +13106,12 @@ func (s *HlsGroupSettings) SetImageBasedTrickPlay(v string) *HlsGroupSettings { return s } +// SetImageBasedTrickPlaySettings sets the ImageBasedTrickPlaySettings field's value. +func (s *HlsGroupSettings) SetImageBasedTrickPlaySettings(v *HlsImageBasedTrickPlaySettings) *HlsGroupSettings { + s.ImageBasedTrickPlaySettings = v + return s +} + // SetManifestCompression sets the ManifestCompression field's value. func (s *HlsGroupSettings) SetManifestCompression(v string) *HlsGroupSettings { s.ManifestCompression = &v @@ -12813,6 +13208,118 @@ func (s *HlsGroupSettings) SetTimestampDeltaMilliseconds(v int64) *HlsGroupSetti return s } +// Tile and thumbnail settings applicable when imageBasedTrickPlay is ADVANCED +type HlsImageBasedTrickPlaySettings struct { + _ struct{} `type:"structure"` + + // The cadence MediaConvert follows for generating thumbnails. If set to FOLLOW_IFRAME, + // MediaConvert generates thumbnails for each IDR frame in the output (matching + // the GOP cadence). If set to FOLLOW_CUSTOM, MediaConvert generates thumbnails + // according to the interval you specify in thumbnailInterval. + IntervalCadence *string `locationName:"intervalCadence" type:"string" enum:"HlsIntervalCadence"` + + // Height of each thumbnail within each tile image, in pixels. Leave blank to + // maintain aspect ratio with thumbnail width. If following the aspect ratio + // would lead to a total tile height greater than 4096, then the job will be + // rejected. Must be divisible by 2. + ThumbnailHeight *int64 `locationName:"thumbnailHeight" min:"2" type:"integer"` + + // Enter the interval, in seconds, that MediaConvert uses to generate thumbnails. + // If the interval you enter doesn't align with the output frame rate, MediaConvert + // automatically rounds the interval to align with the output frame rate. For + // example, if the output frame rate is 29.97 frames per second and you enter + // 5, MediaConvert uses a 150 frame interval to generate thumbnails. + ThumbnailInterval *float64 `locationName:"thumbnailInterval" type:"double"` + + // Width of each thumbnail within each tile image, in pixels. Default is 312. + // Must be divisible by 8. + ThumbnailWidth *int64 `locationName:"thumbnailWidth" min:"8" type:"integer"` + + // Number of thumbnails in each column of a tile image. Set a value between + // 2 and 2048. Must be divisible by 2. + TileHeight *int64 `locationName:"tileHeight" min:"1" type:"integer"` + + // Number of thumbnails in each row of a tile image. Set a value between 1 and + // 512. + TileWidth *int64 `locationName:"tileWidth" 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 HlsImageBasedTrickPlaySettings) 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 HlsImageBasedTrickPlaySettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *HlsImageBasedTrickPlaySettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "HlsImageBasedTrickPlaySettings"} + if s.ThumbnailHeight != nil && *s.ThumbnailHeight < 2 { + invalidParams.Add(request.NewErrParamMinValue("ThumbnailHeight", 2)) + } + if s.ThumbnailWidth != nil && *s.ThumbnailWidth < 8 { + invalidParams.Add(request.NewErrParamMinValue("ThumbnailWidth", 8)) + } + if s.TileHeight != nil && *s.TileHeight < 1 { + invalidParams.Add(request.NewErrParamMinValue("TileHeight", 1)) + } + if s.TileWidth != nil && *s.TileWidth < 1 { + invalidParams.Add(request.NewErrParamMinValue("TileWidth", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetIntervalCadence sets the IntervalCadence field's value. +func (s *HlsImageBasedTrickPlaySettings) SetIntervalCadence(v string) *HlsImageBasedTrickPlaySettings { + s.IntervalCadence = &v + return s +} + +// SetThumbnailHeight sets the ThumbnailHeight field's value. +func (s *HlsImageBasedTrickPlaySettings) SetThumbnailHeight(v int64) *HlsImageBasedTrickPlaySettings { + s.ThumbnailHeight = &v + return s +} + +// SetThumbnailInterval sets the ThumbnailInterval field's value. +func (s *HlsImageBasedTrickPlaySettings) SetThumbnailInterval(v float64) *HlsImageBasedTrickPlaySettings { + s.ThumbnailInterval = &v + return s +} + +// SetThumbnailWidth sets the ThumbnailWidth field's value. +func (s *HlsImageBasedTrickPlaySettings) SetThumbnailWidth(v int64) *HlsImageBasedTrickPlaySettings { + s.ThumbnailWidth = &v + return s +} + +// SetTileHeight sets the TileHeight field's value. +func (s *HlsImageBasedTrickPlaySettings) SetTileHeight(v int64) *HlsImageBasedTrickPlaySettings { + s.TileHeight = &v + return s +} + +// SetTileWidth sets the TileWidth field's value. +func (s *HlsImageBasedTrickPlaySettings) SetTileWidth(v int64) *HlsImageBasedTrickPlaySettings { + s.TileWidth = &v + return s +} + // Settings specific to audio sources in an HLS alternate rendition group. Specify // the properties (renditionGroupId, renditionName or renditionLanguageCode) // to identify the unique audio track among the alternative rendition groups @@ -14553,8 +15060,11 @@ type JobSettings struct { // you can ignore these settings. Esam *EsamSettings `locationName:"esam" type:"structure"` - // Hexadecimal value as per EIA-608 Line 21 Data Services, section 9.5.1.5 05h - // Content Advisory. + // If your source content has EIA-608 Line 21 Data Services, enable this feature + // to specify what MediaConvert does with the Extended Data Services (XDS) packets. + // You can choose to pass through XDS packets, or remove them from the output. + // For more information about XDS, see EIA-608 Line Data Services, section 9.5.1.5 + // 05h Content Advisory. ExtendedDataServices *ExtendedDataServices `locationName:"extendedDataServices" type:"structure"` // Use Inputs (inputs) to define source file used in the transcode job. There @@ -14927,8 +15437,11 @@ type JobTemplateSettings struct { // you can ignore these settings. Esam *EsamSettings `locationName:"esam" type:"structure"` - // Hexadecimal value as per EIA-608 Line 21 Data Services, section 9.5.1.5 05h - // Content Advisory. + // If your source content has EIA-608 Line 21 Data Services, enable this feature + // to specify what MediaConvert does with the Extended Data Services (XDS) packets. + // You can choose to pass through XDS packets, or remove them from the output. + // For more information about XDS, see EIA-608 Line Data Services, section 9.5.1.5 + // 05h Content Advisory. ExtendedDataServices *ExtendedDataServices `locationName:"extendedDataServices" type:"structure"` // Use Inputs (inputs) to define the source file used in the transcode job. @@ -25777,6 +26290,29 @@ func BillingTagsSource_Values() []string { } } +// Ignore this setting unless your output captions are burned in. Choose which +// set of style and position values the service applies to your output captions. +// When you choose ENABLED, the service uses the input style and position information +// from your input. When you choose DISABLED, the service uses any style values +// that you specify in your output settings. If you don't specify values, the +// service uses default style and position values. When you choose DISABLED, +// the service ignores all style and position values from your input. +const ( + // BurnInSubtitleStylePassthroughEnabled is a BurnInSubtitleStylePassthrough enum value + BurnInSubtitleStylePassthroughEnabled = "ENABLED" + + // BurnInSubtitleStylePassthroughDisabled is a BurnInSubtitleStylePassthrough enum value + BurnInSubtitleStylePassthroughDisabled = "DISABLED" +) + +// BurnInSubtitleStylePassthrough_Values returns all elements of the BurnInSubtitleStylePassthrough enum +func BurnInSubtitleStylePassthrough_Values() []string { + return []string{ + BurnInSubtitleStylePassthroughEnabled, + BurnInSubtitleStylePassthroughDisabled, + } +} + // If no explicit x_position or y_position 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. @@ -25791,6 +26327,9 @@ const ( // BurninSubtitleAlignmentLeft is a BurninSubtitleAlignment enum value BurninSubtitleAlignmentLeft = "LEFT" + + // BurninSubtitleAlignmentAuto is a BurninSubtitleAlignment enum value + BurninSubtitleAlignmentAuto = "AUTO" ) // BurninSubtitleAlignment_Values returns all elements of the BurninSubtitleAlignment enum @@ -25798,6 +26337,31 @@ func BurninSubtitleAlignment_Values() []string { return []string{ BurninSubtitleAlignmentCentered, BurninSubtitleAlignmentLeft, + BurninSubtitleAlignmentAuto, + } +} + +// Ignore this setting unless your input captions are STL, any type of 608, +// teletext, or TTML, and your output captions are burned in. Specify how the +// service applies the color specified in the setting Font color (BurninSubtitleFontColor). +// By default, this color is white. When you choose WHITE_TEXT_ONLY, the service +// uses the specified font color only for text that is white in the input. When +// you choose ALL_TEXT, the service uses the specified font color for all output +// captions text. If you leave both settings at their default value, your output +// font color is the same as your input font color. +const ( + // BurninSubtitleApplyFontColorWhiteTextOnly is a BurninSubtitleApplyFontColor enum value + BurninSubtitleApplyFontColorWhiteTextOnly = "WHITE_TEXT_ONLY" + + // BurninSubtitleApplyFontColorAllText is a BurninSubtitleApplyFontColor enum value + BurninSubtitleApplyFontColorAllText = "ALL_TEXT" +) + +// BurninSubtitleApplyFontColor_Values returns all elements of the BurninSubtitleApplyFontColor enum +func BurninSubtitleApplyFontColor_Values() []string { + return []string{ + BurninSubtitleApplyFontColorWhiteTextOnly, + BurninSubtitleApplyFontColorAllText, } } @@ -25812,6 +26376,9 @@ const ( // BurninSubtitleBackgroundColorWhite is a BurninSubtitleBackgroundColor enum value BurninSubtitleBackgroundColorWhite = "WHITE" + + // BurninSubtitleBackgroundColorAuto is a BurninSubtitleBackgroundColor enum value + BurninSubtitleBackgroundColorAuto = "AUTO" ) // BurninSubtitleBackgroundColor_Values returns all elements of the BurninSubtitleBackgroundColor enum @@ -25820,6 +26387,43 @@ func BurninSubtitleBackgroundColor_Values() []string { BurninSubtitleBackgroundColorNone, BurninSubtitleBackgroundColorBlack, BurninSubtitleBackgroundColorWhite, + BurninSubtitleBackgroundColorAuto, + } +} + +// Specify the font that you want the service to use for your burn in captions +// when your input captions specify a font that MediaConvert doesn't support. +// When you keep the default value, Best match (BEST_MATCH), MediaConvert uses +// a supported font that most closely matches the font that your input captions +// specify. When there are multiple unsupported fonts in your input captions, +// MediaConvert matches each font with the supported font that matches best. +// When you explicitly choose a replacement font, MediaConvert uses that font +// to replace all unsupported fonts from your input. +const ( + // BurninSubtitleFallbackFontBestMatch is a BurninSubtitleFallbackFont enum value + BurninSubtitleFallbackFontBestMatch = "BEST_MATCH" + + // BurninSubtitleFallbackFontMonospacedSansserif is a BurninSubtitleFallbackFont enum value + BurninSubtitleFallbackFontMonospacedSansserif = "MONOSPACED_SANSSERIF" + + // BurninSubtitleFallbackFontMonospacedSerif is a BurninSubtitleFallbackFont enum value + BurninSubtitleFallbackFontMonospacedSerif = "MONOSPACED_SERIF" + + // BurninSubtitleFallbackFontProportionalSansserif is a BurninSubtitleFallbackFont enum value + BurninSubtitleFallbackFontProportionalSansserif = "PROPORTIONAL_SANSSERIF" + + // BurninSubtitleFallbackFontProportionalSerif is a BurninSubtitleFallbackFont enum value + BurninSubtitleFallbackFontProportionalSerif = "PROPORTIONAL_SERIF" +) + +// BurninSubtitleFallbackFont_Values returns all elements of the BurninSubtitleFallbackFont enum +func BurninSubtitleFallbackFont_Values() []string { + return []string{ + BurninSubtitleFallbackFontBestMatch, + BurninSubtitleFallbackFontMonospacedSansserif, + BurninSubtitleFallbackFontMonospacedSerif, + BurninSubtitleFallbackFontProportionalSansserif, + BurninSubtitleFallbackFontProportionalSerif, } } @@ -25845,6 +26449,12 @@ const ( // BurninSubtitleFontColorBlue is a BurninSubtitleFontColor enum value BurninSubtitleFontColorBlue = "BLUE" + + // BurninSubtitleFontColorHex is a BurninSubtitleFontColor enum value + BurninSubtitleFontColorHex = "HEX" + + // BurninSubtitleFontColorAuto is a BurninSubtitleFontColor enum value + BurninSubtitleFontColorAuto = "AUTO" ) // BurninSubtitleFontColor_Values returns all elements of the BurninSubtitleFontColor enum @@ -25856,6 +26466,8 @@ func BurninSubtitleFontColor_Values() []string { BurninSubtitleFontColorRed, BurninSubtitleFontColorGreen, BurninSubtitleFontColorBlue, + BurninSubtitleFontColorHex, + BurninSubtitleFontColorAuto, } } @@ -25881,6 +26493,9 @@ const ( // BurninSubtitleOutlineColorBlue is a BurninSubtitleOutlineColor enum value BurninSubtitleOutlineColorBlue = "BLUE" + + // BurninSubtitleOutlineColorAuto is a BurninSubtitleOutlineColor enum value + BurninSubtitleOutlineColorAuto = "AUTO" ) // BurninSubtitleOutlineColor_Values returns all elements of the BurninSubtitleOutlineColor enum @@ -25892,6 +26507,7 @@ func BurninSubtitleOutlineColor_Values() []string { BurninSubtitleOutlineColorRed, BurninSubtitleOutlineColorGreen, BurninSubtitleOutlineColorBlue, + BurninSubtitleOutlineColorAuto, } } @@ -25906,6 +26522,9 @@ const ( // BurninSubtitleShadowColorWhite is a BurninSubtitleShadowColor enum value BurninSubtitleShadowColorWhite = "WHITE" + + // BurninSubtitleShadowColorAuto is a BurninSubtitleShadowColor enum value + BurninSubtitleShadowColorAuto = "AUTO" ) // BurninSubtitleShadowColor_Values returns all elements of the BurninSubtitleShadowColor enum @@ -25914,6 +26533,7 @@ func BurninSubtitleShadowColor_Values() []string { BurninSubtitleShadowColorNone, BurninSubtitleShadowColorBlack, BurninSubtitleShadowColorWhite, + BurninSubtitleShadowColorAuto, } } @@ -25928,6 +26548,9 @@ const ( // BurninSubtitleTeletextSpacingProportional is a BurninSubtitleTeletextSpacing enum value BurninSubtitleTeletextSpacingProportional = "PROPORTIONAL" + + // BurninSubtitleTeletextSpacingAuto is a BurninSubtitleTeletextSpacing enum value + BurninSubtitleTeletextSpacingAuto = "AUTO" ) // BurninSubtitleTeletextSpacing_Values returns all elements of the BurninSubtitleTeletextSpacing enum @@ -25935,6 +26558,7 @@ func BurninSubtitleTeletextSpacing_Values() []string { return []string{ BurninSubtitleTeletextSpacingFixedGrid, BurninSubtitleTeletextSpacingProportional, + BurninSubtitleTeletextSpacingAuto, } } @@ -26144,6 +26768,9 @@ const ( // CmafImageBasedTrickPlayThumbnailAndFullframe is a CmafImageBasedTrickPlay enum value CmafImageBasedTrickPlayThumbnailAndFullframe = "THUMBNAIL_AND_FULLFRAME" + + // CmafImageBasedTrickPlayAdvanced is a CmafImageBasedTrickPlay enum value + CmafImageBasedTrickPlayAdvanced = "ADVANCED" ) // CmafImageBasedTrickPlay_Values returns all elements of the CmafImageBasedTrickPlay enum @@ -26152,6 +26779,7 @@ func CmafImageBasedTrickPlay_Values() []string { CmafImageBasedTrickPlayNone, CmafImageBasedTrickPlayThumbnail, CmafImageBasedTrickPlayThumbnailAndFullframe, + CmafImageBasedTrickPlayAdvanced, } } @@ -26173,6 +26801,26 @@ func CmafInitializationVectorInManifest_Values() []string { } } +// The cadence MediaConvert follows for generating thumbnails. If set to FOLLOW_IFRAME, +// MediaConvert generates thumbnails for each IDR frame in the output (matching +// the GOP cadence). If set to FOLLOW_CUSTOM, MediaConvert generates thumbnails +// according to the interval you specify in thumbnailInterval. +const ( + // CmafIntervalCadenceFollowIframe is a CmafIntervalCadence enum value + CmafIntervalCadenceFollowIframe = "FOLLOW_IFRAME" + + // CmafIntervalCadenceFollowCustom is a CmafIntervalCadence enum value + CmafIntervalCadenceFollowCustom = "FOLLOW_CUSTOM" +) + +// CmafIntervalCadence_Values returns all elements of the CmafIntervalCadence enum +func CmafIntervalCadence_Values() []string { + return []string{ + CmafIntervalCadenceFollowIframe, + CmafIntervalCadenceFollowCustom, + } +} + // Specify whether your DRM encryption key is static or from a key provider // that follows the SPEKE standard. For more information about SPEKE, see https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html. const ( @@ -26819,6 +27467,9 @@ const ( // DashIsoImageBasedTrickPlayThumbnailAndFullframe is a DashIsoImageBasedTrickPlay enum value DashIsoImageBasedTrickPlayThumbnailAndFullframe = "THUMBNAIL_AND_FULLFRAME" + + // DashIsoImageBasedTrickPlayAdvanced is a DashIsoImageBasedTrickPlay enum value + DashIsoImageBasedTrickPlayAdvanced = "ADVANCED" ) // DashIsoImageBasedTrickPlay_Values returns all elements of the DashIsoImageBasedTrickPlay enum @@ -26827,6 +27478,27 @@ func DashIsoImageBasedTrickPlay_Values() []string { DashIsoImageBasedTrickPlayNone, DashIsoImageBasedTrickPlayThumbnail, DashIsoImageBasedTrickPlayThumbnailAndFullframe, + DashIsoImageBasedTrickPlayAdvanced, + } +} + +// The cadence MediaConvert follows for generating thumbnails. If set to FOLLOW_IFRAME, +// MediaConvert generates thumbnails for each IDR frame in the output (matching +// the GOP cadence). If set to FOLLOW_CUSTOM, MediaConvert generates thumbnails +// according to the interval you specify in thumbnailInterval. +const ( + // DashIsoIntervalCadenceFollowIframe is a DashIsoIntervalCadence enum value + DashIsoIntervalCadenceFollowIframe = "FOLLOW_IFRAME" + + // DashIsoIntervalCadenceFollowCustom is a DashIsoIntervalCadence enum value + DashIsoIntervalCadenceFollowCustom = "FOLLOW_CUSTOM" +) + +// DashIsoIntervalCadence_Values returns all elements of the DashIsoIntervalCadence enum +func DashIsoIntervalCadence_Values() []string { + return []string{ + DashIsoIntervalCadenceFollowIframe, + DashIsoIntervalCadenceFollowCustom, } } @@ -27136,6 +27808,42 @@ func DropFrameTimecode_Values() []string { } } +// Specify the font that you want the service to use for your burn in captions +// when your input captions specify a font that MediaConvert doesn't support. +// When you keep the default value, Best match (BEST_MATCH), MediaConvert uses +// a supported font that most closely matches the font that your input captions +// specify. When there are multiple unsupported fonts in your input captions, +// MediaConvert matches each font with the supported font that matches best. +// When you explicitly choose a replacement font, MediaConvert uses that font +// to replace all unsupported fonts from your input. +const ( + // DvbSubSubtitleFallbackFontBestMatch is a DvbSubSubtitleFallbackFont enum value + DvbSubSubtitleFallbackFontBestMatch = "BEST_MATCH" + + // DvbSubSubtitleFallbackFontMonospacedSansserif is a DvbSubSubtitleFallbackFont enum value + DvbSubSubtitleFallbackFontMonospacedSansserif = "MONOSPACED_SANSSERIF" + + // DvbSubSubtitleFallbackFontMonospacedSerif is a DvbSubSubtitleFallbackFont enum value + DvbSubSubtitleFallbackFontMonospacedSerif = "MONOSPACED_SERIF" + + // DvbSubSubtitleFallbackFontProportionalSansserif is a DvbSubSubtitleFallbackFont enum value + DvbSubSubtitleFallbackFontProportionalSansserif = "PROPORTIONAL_SANSSERIF" + + // DvbSubSubtitleFallbackFontProportionalSerif is a DvbSubSubtitleFallbackFont enum value + DvbSubSubtitleFallbackFontProportionalSerif = "PROPORTIONAL_SERIF" +) + +// DvbSubSubtitleFallbackFont_Values returns all elements of the DvbSubSubtitleFallbackFont enum +func DvbSubSubtitleFallbackFont_Values() []string { + return []string{ + DvbSubSubtitleFallbackFontBestMatch, + DvbSubSubtitleFallbackFontMonospacedSansserif, + DvbSubSubtitleFallbackFontMonospacedSerif, + DvbSubSubtitleFallbackFontProportionalSansserif, + DvbSubSubtitleFallbackFontProportionalSerif, + } +} + // If no explicit x_position or y_position 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. @@ -27150,6 +27858,9 @@ const ( // DvbSubtitleAlignmentLeft is a DvbSubtitleAlignment enum value DvbSubtitleAlignmentLeft = "LEFT" + + // DvbSubtitleAlignmentAuto is a DvbSubtitleAlignment enum value + DvbSubtitleAlignmentAuto = "AUTO" ) // DvbSubtitleAlignment_Values returns all elements of the DvbSubtitleAlignment enum @@ -27157,6 +27868,31 @@ func DvbSubtitleAlignment_Values() []string { return []string{ DvbSubtitleAlignmentCentered, DvbSubtitleAlignmentLeft, + DvbSubtitleAlignmentAuto, + } +} + +// Ignore this setting unless your input captions are STL, any type of 608, +// teletext, or TTML, and your output captions are DVB-SUB. Specify how the +// service applies the color specified in the setting Font color (DvbSubtitleFontColor). +// By default, this color is white. When you choose WHITE_TEXT_ONLY, the service +// uses the specified font color only for text that is white in the input. When +// you choose ALL_TEXT, the service uses the specified font color for all output +// captions text. If you leave both settings at their default value, your output +// font color is the same as your input font color. +const ( + // DvbSubtitleApplyFontColorWhiteTextOnly is a DvbSubtitleApplyFontColor enum value + DvbSubtitleApplyFontColorWhiteTextOnly = "WHITE_TEXT_ONLY" + + // DvbSubtitleApplyFontColorAllText is a DvbSubtitleApplyFontColor enum value + DvbSubtitleApplyFontColorAllText = "ALL_TEXT" +) + +// DvbSubtitleApplyFontColor_Values returns all elements of the DvbSubtitleApplyFontColor enum +func DvbSubtitleApplyFontColor_Values() []string { + return []string{ + DvbSubtitleApplyFontColorWhiteTextOnly, + DvbSubtitleApplyFontColorAllText, } } @@ -27171,6 +27907,9 @@ const ( // DvbSubtitleBackgroundColorWhite is a DvbSubtitleBackgroundColor enum value DvbSubtitleBackgroundColorWhite = "WHITE" + + // DvbSubtitleBackgroundColorAuto is a DvbSubtitleBackgroundColor enum value + DvbSubtitleBackgroundColorAuto = "AUTO" ) // DvbSubtitleBackgroundColor_Values returns all elements of the DvbSubtitleBackgroundColor enum @@ -27179,6 +27918,7 @@ func DvbSubtitleBackgroundColor_Values() []string { DvbSubtitleBackgroundColorNone, DvbSubtitleBackgroundColorBlack, DvbSubtitleBackgroundColorWhite, + DvbSubtitleBackgroundColorAuto, } } @@ -27204,6 +27944,12 @@ const ( // DvbSubtitleFontColorBlue is a DvbSubtitleFontColor enum value DvbSubtitleFontColorBlue = "BLUE" + + // DvbSubtitleFontColorHex is a DvbSubtitleFontColor enum value + DvbSubtitleFontColorHex = "HEX" + + // DvbSubtitleFontColorAuto is a DvbSubtitleFontColor enum value + DvbSubtitleFontColorAuto = "AUTO" ) // DvbSubtitleFontColor_Values returns all elements of the DvbSubtitleFontColor enum @@ -27215,6 +27961,8 @@ func DvbSubtitleFontColor_Values() []string { DvbSubtitleFontColorRed, DvbSubtitleFontColorGreen, DvbSubtitleFontColorBlue, + DvbSubtitleFontColorHex, + DvbSubtitleFontColorAuto, } } @@ -27240,6 +27988,9 @@ const ( // DvbSubtitleOutlineColorBlue is a DvbSubtitleOutlineColor enum value DvbSubtitleOutlineColorBlue = "BLUE" + + // DvbSubtitleOutlineColorAuto is a DvbSubtitleOutlineColor enum value + DvbSubtitleOutlineColorAuto = "AUTO" ) // DvbSubtitleOutlineColor_Values returns all elements of the DvbSubtitleOutlineColor enum @@ -27251,6 +28002,7 @@ func DvbSubtitleOutlineColor_Values() []string { DvbSubtitleOutlineColorRed, DvbSubtitleOutlineColorGreen, DvbSubtitleOutlineColorBlue, + DvbSubtitleOutlineColorAuto, } } @@ -27265,6 +28017,9 @@ const ( // DvbSubtitleShadowColorWhite is a DvbSubtitleShadowColor enum value DvbSubtitleShadowColorWhite = "WHITE" + + // DvbSubtitleShadowColorAuto is a DvbSubtitleShadowColor enum value + DvbSubtitleShadowColorAuto = "AUTO" ) // DvbSubtitleShadowColor_Values returns all elements of the DvbSubtitleShadowColor enum @@ -27273,6 +28028,30 @@ func DvbSubtitleShadowColor_Values() []string { DvbSubtitleShadowColorNone, DvbSubtitleShadowColorBlack, DvbSubtitleShadowColorWhite, + DvbSubtitleShadowColorAuto, + } +} + +// Choose which set of style and position values the service applies to your +// output captions. When you choose ENABLED, the service uses the input style +// and position information from your input. When you choose DISABLED, the service +// uses any style values that you specify in your output settings. If you don't +// specify values, the service uses default style and position values. When +// you choose DISABLED, the service ignores all style and position values from +// your input. +const ( + // DvbSubtitleStylePassthroughEnabled is a DvbSubtitleStylePassthrough enum value + DvbSubtitleStylePassthroughEnabled = "ENABLED" + + // DvbSubtitleStylePassthroughDisabled is a DvbSubtitleStylePassthrough enum value + DvbSubtitleStylePassthroughDisabled = "DISABLED" +) + +// DvbSubtitleStylePassthrough_Values returns all elements of the DvbSubtitleStylePassthrough enum +func DvbSubtitleStylePassthrough_Values() []string { + return []string{ + DvbSubtitleStylePassthroughEnabled, + DvbSubtitleStylePassthroughDisabled, } } @@ -27287,6 +28066,9 @@ const ( // DvbSubtitleTeletextSpacingProportional is a DvbSubtitleTeletextSpacing enum value DvbSubtitleTeletextSpacingProportional = "PROPORTIONAL" + + // DvbSubtitleTeletextSpacingAuto is a DvbSubtitleTeletextSpacing enum value + DvbSubtitleTeletextSpacingAuto = "AUTO" ) // DvbSubtitleTeletextSpacing_Values returns all elements of the DvbSubtitleTeletextSpacing enum @@ -27294,6 +28076,7 @@ func DvbSubtitleTeletextSpacing_Values() []string { return []string{ DvbSubtitleTeletextSpacingFixedGrid, DvbSubtitleTeletextSpacingProportional, + DvbSubtitleTeletextSpacingAuto, } } @@ -29669,6 +30452,9 @@ const ( // HlsImageBasedTrickPlayThumbnailAndFullframe is a HlsImageBasedTrickPlay enum value HlsImageBasedTrickPlayThumbnailAndFullframe = "THUMBNAIL_AND_FULLFRAME" + + // HlsImageBasedTrickPlayAdvanced is a HlsImageBasedTrickPlay enum value + HlsImageBasedTrickPlayAdvanced = "ADVANCED" ) // HlsImageBasedTrickPlay_Values returns all elements of the HlsImageBasedTrickPlay enum @@ -29677,6 +30463,7 @@ func HlsImageBasedTrickPlay_Values() []string { HlsImageBasedTrickPlayNone, HlsImageBasedTrickPlayThumbnail, HlsImageBasedTrickPlayThumbnailAndFullframe, + HlsImageBasedTrickPlayAdvanced, } } @@ -29699,6 +30486,26 @@ func HlsInitializationVectorInManifest_Values() []string { } } +// The cadence MediaConvert follows for generating thumbnails. If set to FOLLOW_IFRAME, +// MediaConvert generates thumbnails for each IDR frame in the output (matching +// the GOP cadence). If set to FOLLOW_CUSTOM, MediaConvert generates thumbnails +// according to the interval you specify in thumbnailInterval. +const ( + // HlsIntervalCadenceFollowIframe is a HlsIntervalCadence enum value + HlsIntervalCadenceFollowIframe = "FOLLOW_IFRAME" + + // HlsIntervalCadenceFollowCustom is a HlsIntervalCadence enum value + HlsIntervalCadenceFollowCustom = "FOLLOW_CUSTOM" +) + +// HlsIntervalCadence_Values returns all elements of the HlsIntervalCadence enum +func HlsIntervalCadence_Values() []string { + return []string{ + HlsIntervalCadenceFollowIframe, + HlsIntervalCadenceFollowCustom, + } +} + // Specify whether your DRM encryption key is static or from a key provider // that follows the SPEKE standard. For more information about SPEKE, see https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html. const ( diff --git a/service/ssm/api.go b/service/ssm/api.go index be4f6289a34..901df2e36ad 100644 --- a/service/ssm/api.go +++ b/service/ssm/api.go @@ -184,9 +184,9 @@ func (c *SSM) AssociateOpsItemRelatedItemRequest(input *AssociateOpsItemRelatedI // AssociateOpsItemRelatedItem API operation for Amazon Simple Systems Manager (SSM). // -// Associates a related resource to a Systems Manager OpsCenter OpsItem. For -// example, you can associate an Incident Manager incident or analysis with -// an OpsItem. Incident Manager is a capability of Amazon Web Services Systems +// Associates a related item to a Systems Manager OpsCenter OpsItem. For example, +// you can associate an Incident Manager incident or analysis with an OpsItem. +// Incident Manager and OpsCenter are capabilities of Amazon Web Services Systems // Manager. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -6371,6 +6371,11 @@ func (c *SSM) DescribeParametersRequest(input *DescribeParametersInput) (req *re // that point and a NextToken. You can specify the NextToken in a subsequent // call to get the next set of results. // +// If you change the KMS key alias for the KMS key used to encrypt a parameter, +// then you must also update the key alias the parameter uses to reference KMS. +// Otherwise, DescribeParameters retrieves whatever the original key alias was +// referencing. +// // 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. @@ -7199,7 +7204,7 @@ func (c *SSM) DisassociateOpsItemRelatedItemRequest(input *DisassociateOpsItemRe // DisassociateOpsItemRelatedItem API operation for Amazon Simple Systems Manager (SSM). // -// Deletes the association between an OpsItem and a related resource. For example, +// Deletes the association between an OpsItem and a related item. For example, // this API operation can delete an Incident Manager incident from an OpsItem. // Incident Manager is a capability of Amazon Web Services Systems Manager. // @@ -9112,6 +9117,11 @@ func (c *SSM) GetParameterHistoryRequest(input *GetParameterHistoryInput) (req * // // Retrieves the history of all changes to a parameter. // +// If you change the KMS key alias for the KMS key used to encrypt a parameter, +// then you must also update the key alias the parameter uses to reference KMS. +// Otherwise, GetParameterHistory retrieves whatever the original key alias +// was referencing. +// // 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. @@ -11436,7 +11446,8 @@ func (c *SSM) ListOpsItemRelatedItemsRequest(input *ListOpsItemRelatedItemsInput // ListOpsItemRelatedItems API operation for Amazon Simple Systems Manager (SSM). // -// Lists all related-item resources associated with an OpsItem. +// Lists all related-item resources associated with a Systems Manager OpsCenter +// OpsItem. OpsCenter is a capability of Amazon Web Services Systems Manager. // // 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 @@ -15953,8 +15964,7 @@ type AssociateOpsItemRelatedItemInput struct { // The type of resource that you want to associate with an OpsItem. OpsCenter // supports the following types: // - // AWS::SSMIncidents::IncidentRecord: an Incident Manager incident. Incident - // Manager is a capability of Amazon Web Services Systems Manager. + // AWS::SSMIncidents::IncidentRecord: an Incident Manager incident. // // AWS::SSM::Document: a Systems Manager (SSM) document. // @@ -19543,8 +19553,15 @@ type CommandFilter struct { // before July 7, 2021. // // * Status: Specify a valid command status to see a list of all command - // executions with that status. Status values you can specify include: Pending - // InProgress Success Cancelled Failed TimedOut Cancelling + // executions with that status. The status choices depend on the API you + // call. The status values you can specify for ListCommands are: Pending + // InProgress Success Cancelled Failed TimedOut (this includes both Delivery + // and Execution time outs) AccessDenied DeliveryTimedOut ExecutionTimedOut + // Incomplete NoInstancesInTag LimitExceeded The status values you can specify + // for ListCommandInvocations are: Pending InProgress Delayed Success Cancelled + // Failed TimedOut (this includes both Delivery and Execution time outs) + // AccessDenied DeliveryTimedOut ExecutionTimedOut Undeliverable InvalidPlatform + // Terminated // // * DocumentName: Specify name of the Amazon Web Services Systems Manager // document (SSM document) for which you want to see command execution results. @@ -19639,8 +19656,7 @@ type CommandInvocation struct { // The instance ID in which this invocation was requested. InstanceId *string `type:"string"` - // The name of the invocation target. For EC2 instances this is the value for - // the aws:Name tag. For on-premises instances, this is the name of the instance. + // The fully qualified host name of the managed instance. InstanceName *string `type:"string"` // Configurations for sending notifications about command status changes on @@ -28373,13 +28389,13 @@ type DisassociateOpsItemRelatedItemInput struct { _ struct{} `type:"structure"` // The ID of the association for which you want to delete an association between - // the OpsItem and a related resource. + // the OpsItem and a related item. // // AssociationId is a required field AssociationId *string `type:"string" required:"true"` // The ID of the OpsItem for which you want to delete an association between - // the OpsItem and a related resource. + // the OpsItem and a related item. // // OpsItemId is a required field OpsItemId *string `type:"string" required:"true"` @@ -32572,6 +32588,14 @@ func (s *GetMaintenanceWindowTaskInput) SetWindowTaskId(v string) *GetMaintenanc type GetMaintenanceWindowTaskOutput struct { _ struct{} `type:"structure"` + // The action to take on tasks when the maintenance window cutoff time is reached. + // CONTINUE_TASK means that tasks continue to run. For Automation, Lambda, Step + // Functions tasks, CANCEL_TASK means that currently running task invocations + // continue, but no new task invocations are started. For Run Command tasks, + // CANCEL_TASK means the system attempts to stop the task by sending a CancelCommand + // operation. + CutoffBehavior *string `type:"string" enum:"MaintenanceWindowTaskCutoffBehavior"` + // The retrieved task description. // // Description is a sensitive parameter and its value will be @@ -32669,6 +32693,12 @@ func (s GetMaintenanceWindowTaskOutput) GoString() string { return s.String() } +// SetCutoffBehavior sets the CutoffBehavior field's value. +func (s *GetMaintenanceWindowTaskOutput) SetCutoffBehavior(v string) *GetMaintenanceWindowTaskOutput { + s.CutoffBehavior = &v + return s +} + // SetDescription sets the Description field's value. func (s *GetMaintenanceWindowTaskOutput) SetDescription(v string) *GetMaintenanceWindowTaskOutput { s.Description = &v @@ -33356,10 +33386,10 @@ type GetParametersByPathInput struct { // Filters to limit the request results. // - // For GetParametersByPath, the following filter Key names are supported: Type, - // KeyId, Label, and DataType. + // The following Key values are supported for GetParametersByPath: Type, KeyId, + // and Label. // - // The following Key values are not supported for GetParametersByPath: tag, + // The following Key values aren't supported for GetParametersByPath: tag, DataType, // Name, Path, and Tier. ParameterFilters []*ParameterStringFilter `type:"list"` @@ -42850,6 +42880,10 @@ func (s *MaintenanceWindowTarget) SetWindowTargetId(v string) *MaintenanceWindow type MaintenanceWindowTask struct { _ struct{} `type:"structure"` + // The specification for whether tasks should continue to run after the cutoff + // time specified in the maintenance windows is reached. + CutoffBehavior *string `type:"string" enum:"MaintenanceWindowTaskCutoffBehavior"` + // A description of the task. // // Description is a sensitive parameter and its value will be @@ -42935,6 +42969,12 @@ func (s MaintenanceWindowTask) GoString() string { return s.String() } +// SetCutoffBehavior sets the CutoffBehavior field's value. +func (s *MaintenanceWindowTask) SetCutoffBehavior(v string) *MaintenanceWindowTask { + s.CutoffBehavior = &v + return s +} + // SetDescription sets the Description field's value. func (s *MaintenanceWindowTask) SetDescription(v string) *MaintenanceWindowTask { s.Description = &v @@ -46540,11 +46580,10 @@ type ParameterStringFilter struct { // API operations. However, not all of the pattern values listed for Key can // be used with both operations. // - // For DescribeActions, all of the listed patterns are valid, with the exception - // of Label. + // For DescribeActions, all of the listed patterns are valid except Label. // // For GetParametersByPath, the following patterns listed for Key aren't valid: - // tag, Name, Path, and Tier. + // tag, DataType, Name, Path, and Tier. // // For examples of Amazon Web Services CLI commands demonstrating valid parameter // filter constructions, see Searching for Systems Manager parameters (https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-search.html) @@ -49014,6 +49053,21 @@ type RegisterTaskWithMaintenanceWindowInput struct { // User-provided idempotency token. ClientToken *string `min:"1" type:"string" idempotencyToken:"true"` + // Indicates whether tasks should continue to run after the cutoff time specified + // in the maintenance windows is reached. + // + // * CONTINUE_TASK: When the cutoff time is reached, any tasks that are running + // continue. The default value. + // + // * CANCEL_TASK: For Automation, Lambda, Step Functions tasks: When the + // cutoff time is reached, any task invocations that are already running + // continue, but no new task invocations are started. For Run Command tasks: + // When the cutoff time is reached, the system sends a CancelCommand operation + // that attempts to cancel the command associated with the task. However, + // there is no guarantee that the command will be terminated and the underlying + // process stopped. The status for tasks that are not completed is TIMED_OUT. + CutoffBehavior *string `type:"string" enum:"MaintenanceWindowTaskCutoffBehavior"` + // An optional description for the task. // // Description is a sensitive parameter and its value will be @@ -49202,6 +49256,12 @@ func (s *RegisterTaskWithMaintenanceWindowInput) SetClientToken(v string) *Regis return s } +// SetCutoffBehavior sets the CutoffBehavior field's value. +func (s *RegisterTaskWithMaintenanceWindowInput) SetCutoffBehavior(v string) *RegisterTaskWithMaintenanceWindowInput { + s.CutoffBehavior = &v + return s +} + // SetDescription sets the Description field's value. func (s *RegisterTaskWithMaintenanceWindowInput) SetDescription(v string) *RegisterTaskWithMaintenanceWindowInput { s.Description = &v @@ -51455,11 +51515,14 @@ type SendCommandInput struct { // The name of the Amazon Web Services Systems Manager document (SSM document) // to run. This can be a public document or a custom document. To run a shared - // document belonging to another account, specify the document ARN. For more - // information about how to use shared documents, see Using shared SSM documents - // (https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-using-shared.html) + // document belonging to another account, specify the document Amazon Resource + // Name (ARN). For more information about how to use shared documents, see Using + // shared SSM documents (https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-using-shared.html) // in the Amazon Web Services Systems Manager User Guide. // + // If you specify a document name or ARN that hasn't been shared with your account, + // you receive an InvalidDocument error. + // // DocumentName is a required field DocumentName *string `type:"string" required:"true"` @@ -56054,6 +56117,21 @@ func (s *UpdateMaintenanceWindowTargetOutput) SetWindowTargetId(v string) *Updat type UpdateMaintenanceWindowTaskInput struct { _ struct{} `type:"structure"` + // Indicates whether tasks should continue to run after the cutoff time specified + // in the maintenance windows is reached. + // + // * CONTINUE_TASK: When the cutoff time is reached, any tasks that are running + // continue. The default value. + // + // * CANCEL_TASK: For Automation, Lambda, Step Functions tasks: When the + // cutoff time is reached, any task invocations that are already running + // continue, but no new task invocations are started. For Run Command tasks: + // When the cutoff time is reached, the system sends a CancelCommand operation + // that attempts to cancel the command associated with the task. However, + // there is no guarantee that the command will be terminated and the underlying + // process stopped. The status for tasks that are not completed is TIMED_OUT. + CutoffBehavior *string `type:"string" enum:"MaintenanceWindowTaskCutoffBehavior"` + // The new task description to specify. // // Description is a sensitive parameter and its value will be @@ -56246,6 +56324,12 @@ func (s *UpdateMaintenanceWindowTaskInput) Validate() error { return nil } +// SetCutoffBehavior sets the CutoffBehavior field's value. +func (s *UpdateMaintenanceWindowTaskInput) SetCutoffBehavior(v string) *UpdateMaintenanceWindowTaskInput { + s.CutoffBehavior = &v + return s +} + // SetDescription sets the Description field's value. func (s *UpdateMaintenanceWindowTaskInput) SetDescription(v string) *UpdateMaintenanceWindowTaskInput { s.Description = &v @@ -56333,6 +56417,10 @@ func (s *UpdateMaintenanceWindowTaskInput) SetWindowTaskId(v string) *UpdateMain type UpdateMaintenanceWindowTaskOutput struct { _ struct{} `type:"structure"` + // The specification for whether tasks should continue to run after the cutoff + // time specified in the maintenance windows is reached. + CutoffBehavior *string `type:"string" enum:"MaintenanceWindowTaskCutoffBehavior"` + // The updated task description. // // Description is a sensitive parameter and its value will be @@ -56412,6 +56500,12 @@ func (s UpdateMaintenanceWindowTaskOutput) GoString() string { return s.String() } +// SetCutoffBehavior sets the CutoffBehavior field's value. +func (s *UpdateMaintenanceWindowTaskOutput) SetCutoffBehavior(v string) *UpdateMaintenanceWindowTaskOutput { + s.CutoffBehavior = &v + return s +} + // SetDescription sets the Description field's value. func (s *UpdateMaintenanceWindowTaskOutput) SetDescription(v string) *UpdateMaintenanceWindowTaskOutput { s.Description = &v @@ -57424,26 +57518,23 @@ type UpdateServiceSettingInput struct { // SettingId is a required field SettingId *string `min:"1" type:"string" required:"true"` - // The new value to specify for the service setting. For the /ssm/parameter-store/default-parameter-tier - // setting ID, the setting value can be one of the following. + // The new value to specify for the service setting. The following list specifies + // the available values for each setting. // - // * Standard + // * /ssm/parameter-store/default-parameter-tier: Standard, Advanced, Intelligent-Tiering // - // * Advanced + // * /ssm/parameter-store/high-throughput-enabled: true or false // - // * Intelligent-Tiering + // * /ssm/managed-instance/activation-tier: true or false // - // For the /ssm/parameter-store/high-throughput-enabled, and /ssm/managed-instance/activation-tier - // setting IDs, the setting value can be true or false. + // * /ssm/automation/customer-script-log-destination: CloudWatch // - // For the /ssm/automation/customer-script-log-destination setting ID, the setting - // value can be CloudWatch. + // * /ssm/automation/customer-script-log-group-name: the name of an Amazon + // CloudWatch Logs log group // - // For the /ssm/automation/customer-script-log-group-name setting ID, the setting - // value can be the name of an Amazon CloudWatch Logs log group. + // * /ssm/documents/console/public-sharing-permission: Enable or Disable // - // For the /ssm/documents/console/public-sharing-permission setting ID, the - // setting value can be Enable or Disable. + // * /ssm/managed-instance/activation-tier: standard or advanced // // SettingValue is a required field SettingValue *string `min:"1" type:"string" required:"true"` @@ -58641,6 +58732,22 @@ func MaintenanceWindowResourceType_Values() []string { } } +const ( + // MaintenanceWindowTaskCutoffBehaviorContinueTask is a MaintenanceWindowTaskCutoffBehavior enum value + MaintenanceWindowTaskCutoffBehaviorContinueTask = "CONTINUE_TASK" + + // MaintenanceWindowTaskCutoffBehaviorCancelTask is a MaintenanceWindowTaskCutoffBehavior enum value + MaintenanceWindowTaskCutoffBehaviorCancelTask = "CANCEL_TASK" +) + +// MaintenanceWindowTaskCutoffBehavior_Values returns all elements of the MaintenanceWindowTaskCutoffBehavior enum +func MaintenanceWindowTaskCutoffBehavior_Values() []string { + return []string{ + MaintenanceWindowTaskCutoffBehaviorContinueTask, + MaintenanceWindowTaskCutoffBehaviorCancelTask, + } +} + const ( // MaintenanceWindowTaskTypeRunCommand is a MaintenanceWindowTaskType enum value MaintenanceWindowTaskTypeRunCommand = "RUN_COMMAND" diff --git a/service/ssm/waiters.go b/service/ssm/waiters.go index 4bc0d1401d9..d6df87a387f 100644 --- a/service/ssm/waiters.go +++ b/service/ssm/waiters.go @@ -71,6 +71,11 @@ func (c *SSM) WaitUntilCommandExecutedWithContext(ctx aws.Context, input *GetCom Matcher: request.PathWaiterMatch, Argument: "Status", Expected: "Cancelling", }, + { + State: request.RetryWaiterState, + Matcher: request.ErrorWaiterMatch, + Expected: "InvocationDoesNotExist", + }, }, Logger: c.Config.Logger, NewRequest: func(opts []request.Option) (*request.Request, error) {