From c78ce9afb6a549d1a51469275b7404483edddacf Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Mon, 11 Sep 2023 18:06:33 +0000 Subject: [PATCH] Update API model --- codegen/sdk-codegen/aws-models/ecr.json | 2206 ++++++++--------- codegen/sdk-codegen/aws-models/medialive.json | 330 +++ .../sdk-codegen/aws-models/quicksight.json | 162 +- 3 files changed, 1563 insertions(+), 1135 deletions(-) diff --git a/codegen/sdk-codegen/aws-models/ecr.json b/codegen/sdk-codegen/aws-models/ecr.json index f79c37bba02..1b4e7d1c0a2 100644 --- a/codegen/sdk-codegen/aws-models/ecr.json +++ b/codegen/sdk-codegen/aws-models/ecr.json @@ -169,7 +169,7 @@ "name": "ecr" }, "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Amazon Elastic Container Registry\n

Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the\n familiar Docker CLI, or their preferred client, to push, pull, and manage images. Amazon ECR\n provides a secure, scalable, and reliable registry for your Docker or Open Container\n Initiative (OCI) images. Amazon ECR supports private repositories with resource-based\n permissions using IAM so that specific users or Amazon EC2 instances can access\n repositories and images.

\n

Amazon ECR has service endpoints in each supported Region. For more information, see Amazon ECR endpoints in the\n Amazon Web Services General Reference.

", + "smithy.api#documentation": "Amazon Elastic Container Registry\n

Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the\n familiar Docker CLI, or their preferred client, to push, pull, and manage images. Amazon ECR\n provides a secure, scalable, and reliable registry for your Docker or Open Container\n Initiative (OCI) images. Amazon ECR supports private repositories with resource-based\n permissions using IAM so that specific users or Amazon EC2 instances can access\n repositories and images.

\n

Amazon ECR has service endpoints in each supported Region. For more information, see Amazon ECR endpoints in the\n Amazon Web Services General Reference.

", "smithy.api#title": "Amazon EC2 Container Registry", "smithy.api#xmlNamespace": { "uri": "http://ecr.amazonaws.com/doc/2015-09-21/" @@ -234,52 +234,56 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { - "conditions": [], + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], "type": "tree", @@ -287,13 +291,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -303,742 +316,108 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://api.ecr-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ] - }, - { - "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://ecr-fips.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://ecr-fips.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "ref": "PartitionResult" }, - { - "conditions": [], - "endpoint": { - "url": "https://api.ecr-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] } ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://api.ecr.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ] - }, - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "af-south-1" - ] - } - ], - "endpoint": { - "url": "https://api.ecr.af-south-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "ap-east-1" - ] - } - ], - "endpoint": { - "url": "https://api.ecr.ap-east-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "ap-northeast-1" - ] - } - ], - "endpoint": { - "url": "https://api.ecr.ap-northeast-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "ap-northeast-2" - ] - } - ], - "endpoint": { - "url": "https://api.ecr.ap-northeast-2.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "ap-northeast-3" - ] - } - ], - "endpoint": { - "url": "https://api.ecr.ap-northeast-3.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "ap-south-1" - ] - } - ], - "endpoint": { - "url": "https://api.ecr.ap-south-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "ap-southeast-1" - ] - } - ], - "endpoint": { - "url": "https://api.ecr.ap-southeast-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "ap-southeast-2" - ] - } - ], - "endpoint": { - "url": "https://api.ecr.ap-southeast-2.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "ap-southeast-3" - ] - } - ], - "endpoint": { - "url": "https://api.ecr.ap-southeast-3.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "ca-central-1" - ] - } - ], - "endpoint": { - "url": "https://api.ecr.ca-central-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "eu-central-1" - ] - } - ], - "endpoint": { - "url": "https://api.ecr.eu-central-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "eu-north-1" - ] - } - ], - "endpoint": { - "url": "https://api.ecr.eu-north-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "eu-south-1" - ] - } - ], - "endpoint": { - "url": "https://api.ecr.eu-south-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "eu-west-1" - ] - } - ], - "endpoint": { - "url": "https://api.ecr.eu-west-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "eu-west-2" - ] - } - ], - "endpoint": { - "url": "https://api.ecr.eu-west-2.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "eu-west-3" - ] - } - ], - "endpoint": { - "url": "https://api.ecr.eu-west-3.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "me-south-1" - ] - } - ], - "endpoint": { - "url": "https://api.ecr.me-south-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "sa-east-1" - ] - } - ], - "endpoint": { - "url": "https://api.ecr.sa-east-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "us-east-1" - ] - } - ], - "endpoint": { - "url": "https://api.ecr.us-east-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "us-east-2" - ] - } - ], - "endpoint": { - "url": "https://api.ecr.us-east-2.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "us-west-1" - ] - } - ], - "endpoint": { - "url": "https://api.ecr.us-west-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "us-west-2" - ] - } - ], - "endpoint": { - "url": "https://api.ecr.us-west-2.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "cn-north-1" - ] - } - ], - "endpoint": { - "url": "https://api.ecr.cn-north-1.amazonaws.com.cn", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "cn-northwest-1" - ] - } - ], + "type": "tree", + "rules": [ + { + "conditions": [], "endpoint": { - "url": "https://api.ecr.cn-northwest-1.amazonaws.com.cn", + "url": "https://api.ecr-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ + true, { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "ref": "Region" + "ref": "PartitionResult" }, - "us-gov-east-1" + "supportsFIPS" ] } - ], - "endpoint": { - "url": "https://api.ecr.us-gov-east-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ + "aws", { - "ref": "Region" - }, - "us-gov-west-1" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } ] } ], "endpoint": { - "url": "https://api.ecr.us-gov-west-1.amazonaws.com", + "url": "https://ecr-fips.{Region}.amazonaws.com", "properties": {}, "headers": {} }, @@ -1049,79 +428,113 @@ { "fn": "stringEquals", "argv": [ + "aws-us-gov", { - "ref": "Region" - }, - "us-iso-east-1" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } ] } ], "endpoint": { - "url": "https://api.ecr.us-iso-east-1.c2s.ic.gov", + "url": "https://ecr-fips.{Region}.amazonaws.com", "properties": {}, "headers": {} }, "type": "endpoint" }, { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "us-iso-west-1" - ] - } - ], + "conditions": [], "endpoint": { - "url": "https://api.ecr.us-iso-west-1.c2s.ic.gov", + "url": "https://api.ecr-fips.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ + true, { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "ref": "Region" + "ref": "PartitionResult" }, - "us-isob-east-1" + "supportsDualStack" ] } - ], - "endpoint": { - "url": "https://api.ecr.us-isob-east-1.sc2s.sgov.gov", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [], "endpoint": { - "url": "https://api.ecr.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://api.ecr.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://api.ecr.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -1136,8 +549,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1149,8 +562,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1162,8 +575,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1175,8 +588,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1188,8 +601,8 @@ }, "params": { "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1201,8 +614,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1214,8 +627,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1227,8 +640,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1240,8 +653,8 @@ }, "params": { "Region": "ap-southeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1253,8 +666,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1266,8 +679,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1279,8 +692,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1292,8 +705,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1305,8 +718,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1318,8 +731,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1331,8 +744,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1344,8 +757,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1357,8 +770,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1370,8 +783,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1383,8 +796,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1396,8 +809,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1409,8 +822,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1422,8 +835,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1435,8 +848,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1448,8 +861,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1461,8 +874,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1474,8 +887,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1487,8 +900,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1500,8 +913,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1513,8 +926,8 @@ }, "params": { "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1526,8 +939,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1539,8 +952,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1552,8 +965,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1565,8 +978,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1578,8 +991,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1591,8 +1004,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1604,8 +1017,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1617,8 +1030,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1630,8 +1043,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1643,8 +1056,8 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1656,8 +1069,19 @@ }, "params": { "Region": "us-iso-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1669,8 +1093,19 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1682,8 +1117,19 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1695,8 +1141,19 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1708,8 +1165,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1721,8 +1178,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1733,8 +1190,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1745,10 +1202,16 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" @@ -1935,7 +1398,7 @@ } ], "traits": { - "smithy.api#documentation": "

Checks the availability of one or more image layers in a repository.

\n

When an image is pushed to a repository, each image layer is checked to verify if it\n has been uploaded before. If it has been uploaded, then the image layer is\n skipped.

\n \n

This operation is used by the Amazon ECR proxy and is not generally used by\n customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

\n
" + "smithy.api#documentation": "

Checks the availability of one or more image layers in a repository.

\n

When an image is pushed to a repository, each image layer is checked to verify if it\n has been uploaded before. If it has been uploaded, then the image layer is\n skipped.

\n \n

This operation is used by the Amazon ECR proxy and is not generally used by\n customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

\n
" } }, "com.amazonaws.ecr#BatchCheckLayerAvailabilityRequest": { @@ -1961,6 +1424,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#BatchCheckLayerAvailabilityResponse": { @@ -1978,6 +1444,9 @@ "smithy.api#documentation": "

Any failures associated with the call.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#BatchDeleteImage": { @@ -2000,7 +1469,30 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a list of specified images within a repository. Images are specified with\n either an imageTag or imageDigest.

\n

You can remove a tag from an image by specifying the image's tag in your request. When\n you remove the last tag from an image, the image is deleted from your repository.

\n

You can completely delete an image (and all of its tags) by specifying the image's\n digest in your request.

" + "smithy.api#documentation": "

Deletes a list of specified images within a repository. Images are specified with\n either an imageTag or imageDigest.

\n

You can remove a tag from an image by specifying the image's tag in your request. When\n you remove the last tag from an image, the image is deleted from your repository.

\n

You can completely delete an image (and all of its tags) by specifying the image's\n digest in your request.

", + "smithy.api#examples": [ + { + "title": "To delete multiple images", + "documentation": "This example deletes images with the tags precise and trusty in a repository called ubuntu in the default registry for an account.", + "input": { + "repositoryName": "ubuntu", + "imageIds": [ + { + "imageTag": "precise" + } + ] + }, + "output": { + "failures": [], + "imageIds": [ + { + "imageTag": "precise", + "imageDigest": "sha256:examplee6d1e504117a17000003d3753086354a38375961f2e665416ef4b1b2f" + } + ] + } + } + ] } }, "com.amazonaws.ecr#BatchDeleteImageRequest": { @@ -2028,7 +1520,8 @@ } }, "traits": { - "smithy.api#documentation": "

Deletes specified images within a specified repository. Images are specified with\n either the imageTag or imageDigest.

" + "smithy.api#documentation": "

Deletes specified images within a specified repository. Images are specified with\n either the imageTag or imageDigest.

", + "smithy.api#input": {} } }, "com.amazonaws.ecr#BatchDeleteImageResponse": { @@ -2046,6 +1539,9 @@ "smithy.api#documentation": "

Any failures associated with the call.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#BatchGetImage": { @@ -2068,7 +1564,35 @@ } ], "traits": { - "smithy.api#documentation": "

Gets detailed information for an image. Images are specified with either an\n imageTag or imageDigest.

\n

When an image is pulled, the BatchGetImage API is called once to retrieve the image\n manifest.

" + "smithy.api#documentation": "

Gets detailed information for an image. Images are specified with either an\n imageTag or imageDigest.

\n

When an image is pulled, the BatchGetImage API is called once to retrieve the image\n manifest.

", + "smithy.api#examples": [ + { + "title": "To obtain multiple images in a single request", + "documentation": "This example obtains information for an image with a specified image digest ID from the repository named ubuntu in the current account.", + "input": { + "repositoryName": "ubuntu", + "imageIds": [ + { + "imageTag": "precise" + } + ] + }, + "output": { + "images": [ + { + "imageManifest": "{\n \"schemaVersion\": 1,\n \"name\": \"ubuntu\",\n \"tag\": \"precise\",\n...", + "repositoryName": "ubuntu", + "registryId": "244698725403", + "imageId": { + "imageTag": "precise", + "imageDigest": "sha256:example76bdff6d83a09ba2a818f0d00000063724a9ac3ba5019c56f74ebf42a" + } + } + ], + "failures": [] + } + } + ] } }, "com.amazonaws.ecr#BatchGetImageRequest": { @@ -2097,9 +1621,12 @@ "acceptedMediaTypes": { "target": "com.amazonaws.ecr#MediaTypeList", "traits": { - "smithy.api#documentation": "

The accepted media types for the request.

\n

Valid values: application/vnd.docker.distribution.manifest.v1+json |\n application/vnd.docker.distribution.manifest.v2+json |\n application/vnd.oci.image.manifest.v1+json\n

" + "smithy.api#documentation": "

The accepted media types for the request.

\n

Valid values: application/vnd.docker.distribution.manifest.v1+json |\n application/vnd.docker.distribution.manifest.v2+json |\n application/vnd.oci.image.manifest.v1+json\n

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#BatchGetImageResponse": { @@ -2117,6 +1644,9 @@ "smithy.api#documentation": "

Any failures associated with the call.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#BatchGetRepositoryScanningConfiguration": { @@ -2155,6 +1685,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#BatchGetRepositoryScanningConfigurationResponse": { @@ -2172,6 +1705,9 @@ "smithy.api#documentation": "

Any failures associated with the call.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#BatchedOperationLayerDigest": { @@ -2233,7 +1769,7 @@ } ], "traits": { - "smithy.api#documentation": "

Informs Amazon ECR that the image layer upload has completed for a specified registry,\n repository name, and upload ID. You can optionally provide a sha256 digest\n of the image layer for data validation purposes.

\n

When an image is pushed, the CompleteLayerUpload API is called once per each new image\n layer to verify that the upload has completed.

\n \n

This operation is used by the Amazon ECR proxy and is not generally used by\n customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

\n
" + "smithy.api#documentation": "

Informs Amazon ECR that the image layer upload has completed for a specified registry,\n repository name, and upload ID. You can optionally provide a sha256 digest\n of the image layer for data validation purposes.

\n

When an image is pushed, the CompleteLayerUpload API is called once per each new image\n layer to verify that the upload has completed.

\n \n

This operation is used by the Amazon ECR proxy and is not generally used by\n customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

\n
" } }, "com.amazonaws.ecr#CompleteLayerUploadRequest": { @@ -2266,6 +1802,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#CompleteLayerUploadResponse": { @@ -2295,6 +1834,9 @@ "smithy.api#documentation": "

The sha256 digest of the image layer.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#CreatePullThroughCacheRule": { @@ -2352,6 +1894,9 @@ "smithy.api#documentation": "

The Amazon Web Services account ID associated with the registry to create the pull through cache\n rule for. If you do not specify a registry, the default registry is assumed.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#CreatePullThroughCacheRuleResponse": { @@ -2381,6 +1926,9 @@ "smithy.api#documentation": "

The registry ID associated with the request.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#CreateRepository": { @@ -2415,7 +1963,23 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a repository. For more information, see Amazon ECR repositories in the\n Amazon Elastic Container Registry User Guide.

" + "smithy.api#documentation": "

Creates a repository. For more information, see Amazon ECR repositories in the\n Amazon Elastic Container Registry User Guide.

", + "smithy.api#examples": [ + { + "title": "To create a new repository", + "documentation": "This example creates a repository called nginx-web-app inside the project-a namespace in the default registry for an account.", + "input": { + "repositoryName": "project-a/nginx-web-app" + }, + "output": { + "repository": { + "registryId": "012345678901", + "repositoryName": "project-a/nginx-web-app", + "repositoryArn": "arn:aws:ecr:us-west-2:012345678901:repository/project-a/nginx-web-app" + } + } + } + ] } }, "com.amazonaws.ecr#CreateRepositoryRequest": { @@ -2430,7 +1994,7 @@ "repositoryName": { "target": "com.amazonaws.ecr#RepositoryName", "traits": { - "smithy.api#documentation": "

The name to use for the repository. The repository name may be specified on its own\n (such as nginx-web-app) or it can be prepended with a namespace to group\n the repository into a category (such as project-a/nginx-web-app).

", + "smithy.api#documentation": "

The name to use for the repository. The repository name may be specified on its own\n (such as nginx-web-app) or it can be prepended with a namespace to group\n the repository into a category (such as project-a/nginx-web-app).

\n

The repository name must start with a letter and can only contain lowercase letters,\n numbers, hyphens, underscores, and forward slashes.

", "smithy.api#required": {} } }, @@ -2458,6 +2022,9 @@ "smithy.api#documentation": "

The encryption configuration for the repository. This determines how the contents of\n your repository are encrypted at rest.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#CreateRepositoryResponse": { @@ -2469,6 +2036,9 @@ "smithy.api#documentation": "

The repository that was created.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#CreationTimestamp": { @@ -2601,6 +2171,9 @@ }, { "target": "com.amazonaws.ecr#ServerException" + }, + { + "target": "com.amazonaws.ecr#ValidationException" } ], "traits": { @@ -2623,6 +2196,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#DeleteLifecyclePolicyResponse": { @@ -2652,6 +2228,9 @@ "smithy.api#documentation": "

The time stamp of the last time that the lifecycle policy was run.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#DeletePullThroughCacheRule": { @@ -2696,6 +2275,9 @@ "smithy.api#documentation": "

The Amazon Web Services account ID associated with the registry that contains the pull through cache\n rule. If you do not specify a registry, the default registry is assumed.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#DeletePullThroughCacheRuleResponse": { @@ -2725,6 +2307,9 @@ "smithy.api#documentation": "

The registry ID associated with the request.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#DeleteRegistryPolicy": { @@ -2755,7 +2340,10 @@ }, "com.amazonaws.ecr#DeleteRegistryPolicyRequest": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.ecr#DeleteRegistryPolicyResponse": { "type": "structure", @@ -2772,6 +2360,9 @@ "smithy.api#documentation": "

The contents of the registry permissions policy that was deleted.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#DeleteRepository": { @@ -2800,7 +2391,24 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a repository. If the repository contains images, you must either delete all\n images in the repository or use the force option to delete the\n repository.

" + "smithy.api#documentation": "

Deletes a repository. If the repository contains images, you must either delete all\n images in the repository or use the force option to delete the\n repository.

", + "smithy.api#examples": [ + { + "title": "To force delete a repository", + "documentation": "This example force deletes a repository named ubuntu in the default registry for an account. The force parameter is required if the repository contains images.", + "input": { + "repositoryName": "ubuntu", + "force": true + }, + "output": { + "repository": { + "registryId": "012345678901", + "repositoryName": "ubuntu", + "repositoryArn": "arn:aws:ecr:us-west-2:012345678901:repository/ubuntu" + } + } + } + ] } }, "com.amazonaws.ecr#DeleteRepositoryPolicy": { @@ -2826,7 +2434,21 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes the repository policy associated with the specified repository.

" + "smithy.api#documentation": "

Deletes the repository policy associated with the specified repository.

", + "smithy.api#examples": [ + { + "title": "To delete the policy associated with a repository", + "documentation": "This example deletes the policy associated with the repository named ubuntu in the current account.", + "input": { + "repositoryName": "ubuntu" + }, + "output": { + "policyText": "{ ... }", + "repositoryName": "ubuntu", + "registryId": "012345678901" + } + } + ] } }, "com.amazonaws.ecr#DeleteRepositoryPolicyRequest": { @@ -2845,6 +2467,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#DeleteRepositoryPolicyResponse": { @@ -2868,6 +2493,9 @@ "smithy.api#documentation": "

The JSON repository policy that was deleted from the repository.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#DeleteRepositoryRequest": { @@ -2893,6 +2521,9 @@ "smithy.api#documentation": "

If a repository contains images, forces the deletion.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#DeleteRepositoryResponse": { @@ -2904,6 +2535,9 @@ "smithy.api#documentation": "

The repository that was deleted.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#DescribeImageReplicationStatus": { @@ -2957,6 +2591,9 @@ "smithy.api#documentation": "

The Amazon Web Services account ID associated with the registry. If you do not specify a registry, the default registry is assumed.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#DescribeImageReplicationStatusResponse": { @@ -2977,6 +2614,9 @@ "smithy.api#documentation": "

The replication status details for the images in the specified repository.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#DescribeImageScanFindings": { @@ -3078,6 +2718,9 @@ "smithy.api#documentation": "

The maximum number of image scan results returned by\n DescribeImageScanFindings in paginated output. When this parameter is\n used, DescribeImageScanFindings only returns maxResults\n results in a single page along with a nextToken response element. The\n remaining results of the initial request can be seen by sending another\n DescribeImageScanFindings request with the returned\n nextToken value. This value can be between 1 and 1000. If this\n parameter is not used, then DescribeImageScanFindings returns up to 100\n results and a nextToken value, if applicable.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#DescribeImageScanFindingsResponse": { @@ -3116,6 +2759,9 @@ "smithy.api#documentation": "

The nextToken value to include in a future\n DescribeImageScanFindings request. When the results of a\n DescribeImageScanFindings request exceed maxResults, this\n value can be used to retrieve the next page of results. This value is null when there\n are no more results to return.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#DescribeImages": { @@ -3141,7 +2787,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns metadata about the images in a repository.

\n \n

Beginning with Docker version 1.9, the Docker client compresses image layers\n before pushing them to a V2 Docker registry. The output of the docker\n images command shows the uncompressed image size, so it may return a\n larger image size than the image sizes returned by DescribeImages.

\n
", + "smithy.api#documentation": "

Returns metadata about the images in a repository.

\n \n

Beginning with Docker version 1.9, the Docker client compresses image layers\n before pushing them to a V2 Docker registry. The output of the docker\n images command shows the uncompressed image size, so it may return a\n larger image size than the image sizes returned by DescribeImages.

\n
", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -3204,6 +2850,9 @@ "smithy.api#documentation": "

The filter key and value with which to filter your DescribeImages\n results.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#DescribeImagesResponse": { @@ -3221,6 +2870,9 @@ "smithy.api#documentation": "

The nextToken value to include in a future DescribeImages\n request. When the results of a DescribeImages request exceed\n maxResults, this value can be used to retrieve the next page of\n results. This value is null when there are no more results to\n return.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#DescribePullThroughCacheRules": { @@ -3250,6 +2902,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "pullThroughCacheRules", "pageSize": "maxResults" } } @@ -3281,6 +2934,9 @@ "smithy.api#documentation": "

The maximum number of pull through cache rules returned by\n DescribePullThroughCacheRulesRequest in paginated output. When this\n parameter is used, DescribePullThroughCacheRulesRequest only returns\n maxResults results in a single page along with a nextToken\n response element. The remaining results of the initial request can be seen by sending\n another DescribePullThroughCacheRulesRequest request with the returned\n nextToken value. This value can be between 1 and 1000. If this\n parameter is not used, then DescribePullThroughCacheRulesRequest returns up\n to 100 results and a nextToken value, if applicable.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#DescribePullThroughCacheRulesResponse": { @@ -3298,6 +2954,9 @@ "smithy.api#documentation": "

The nextToken value to include in a future\n DescribePullThroughCacheRulesRequest request. When the results of a\n DescribePullThroughCacheRulesRequest request exceed\n maxResults, this value can be used to retrieve the next page of\n results. This value is null when there are no more results to return.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#DescribeRegistry": { @@ -3325,7 +2984,10 @@ }, "com.amazonaws.ecr#DescribeRegistryRequest": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.ecr#DescribeRegistryResponse": { "type": "structure", @@ -3342,6 +3004,9 @@ "smithy.api#documentation": "

The replication configuration for the registry.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#DescribeRepositories": { @@ -3365,6 +3030,26 @@ ], "traits": { "smithy.api#documentation": "

Describes image repositories in a registry.

", + "smithy.api#examples": [ + { + "title": "To describe all repositories in the current account", + "documentation": "The following example obtains a list and description of all repositories in the default registry to which the current user has access.", + "output": { + "repositories": [ + { + "registryId": "012345678910", + "repositoryName": "ubuntu", + "repositoryArn": "arn:aws:ecr:us-west-2:012345678910:repository/ubuntu" + }, + { + "registryId": "012345678910", + "repositoryName": "test", + "repositoryArn": "arn:aws:ecr:us-west-2:012345678910:repository/test" + } + ] + } + } + ], "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -3391,7 +3076,7 @@ "nextToken": { "target": "com.amazonaws.ecr#NextToken", "traits": { - "smithy.api#documentation": "

The nextToken value returned from a previous paginated\n DescribeRepositories request where maxResults was used and\n the results exceeded the value of that parameter. Pagination continues from the end of\n the previous results that returned the nextToken value. This value is\n null when there are no more results to return. This option cannot be\n used when you specify repositories with repositoryNames.

\n \n

This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

\n
" + "smithy.api#documentation": "

The nextToken value returned from a previous paginated\n DescribeRepositories request where maxResults was used and\n the results exceeded the value of that parameter. Pagination continues from the end of\n the previous results that returned the nextToken value. This value is\n null when there are no more results to return. This option cannot be\n used when you specify repositories with repositoryNames.

\n \n

This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

\n
" } }, "maxResults": { @@ -3400,6 +3085,9 @@ "smithy.api#documentation": "

The maximum number of repository results returned by DescribeRepositories\n in paginated output. When this parameter is used, DescribeRepositories only\n returns maxResults results in a single page along with a\n nextToken response element. The remaining results of the initial\n request can be seen by sending another DescribeRepositories request with\n the returned nextToken value. This value can be between 1\n and 1000. If this parameter is not used, then\n DescribeRepositories returns up to 100 results and a\n nextToken value, if applicable. This option cannot be used when you\n specify repositories with repositoryNames.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#DescribeRepositoriesResponse": { @@ -3417,6 +3105,9 @@ "smithy.api#documentation": "

The nextToken value to include in a future\n DescribeRepositories request. When the results of a\n DescribeRepositories request exceed maxResults, this value\n can be used to retrieve the next page of results. This value is null when\n there are no more results to return.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#EmptyUploadException": { @@ -3440,7 +3131,7 @@ "encryptionType": { "target": "com.amazonaws.ecr#EncryptionType", "traits": { - "smithy.api#documentation": "

The encryption type to use.

\n

If you use the KMS encryption type, the contents of the repository will\n be encrypted using server-side encryption with Key Management Service key stored in KMS. When you\n use KMS to encrypt your data, you can either use the default Amazon Web Services managed KMS key\n for Amazon ECR, or specify your own KMS key, which you already created. For more\n information, see Protecting data using server-side\n encryption with an KMS key stored in Key Management Service (SSE-KMS) in the\n Amazon Simple Storage Service Console Developer Guide.

\n

If you use the AES256 encryption type, Amazon ECR uses server-side encryption\n with Amazon S3-managed encryption keys which encrypts the images in the repository using an\n AES-256 encryption algorithm. For more information, see Protecting data using\n server-side encryption with Amazon S3-managed encryption keys (SSE-S3) in the\n Amazon Simple Storage Service Console Developer Guide.

", + "smithy.api#documentation": "

The encryption type to use.

\n

If you use the KMS encryption type, the contents of the repository will\n be encrypted using server-side encryption with Key Management Service key stored in KMS. When you\n use KMS to encrypt your data, you can either use the default Amazon Web Services managed KMS key\n for Amazon ECR, or specify your own KMS key, which you already created. For more\n information, see Protecting data using server-side\n encryption with an KMS key stored in Key Management Service (SSE-KMS) in the\n Amazon Simple Storage Service Console Developer Guide.

\n

If you use the AES256 encryption type, Amazon ECR uses server-side encryption\n with Amazon S3-managed encryption keys which encrypts the images in the repository using an\n AES-256 encryption algorithm. For more information, see Protecting data using\n server-side encryption with Amazon S3-managed encryption keys (SSE-S3) in the\n Amazon Simple Storage Service Console Developer Guide.

", "smithy.api#required": {} } }, @@ -3452,22 +3143,24 @@ } }, "traits": { - "smithy.api#documentation": "

The encryption configuration for the repository. This determines how the contents of\n your repository are encrypted at rest.

\n

By default, when no encryption configuration is set or the AES256\n encryption type is used, Amazon ECR uses server-side encryption with Amazon S3-managed encryption\n keys which encrypts your data at rest using an AES-256 encryption algorithm. This does\n not require any action on your part.

\n

For more control over the encryption of the contents of your repository, you can use\n server-side encryption with Key Management Service key stored in Key Management Service (KMS) to encrypt your\n images. For more information, see Amazon ECR encryption at\n rest in the Amazon Elastic Container Registry User Guide.

" + "smithy.api#documentation": "

The encryption configuration for the repository. This determines how the contents of\n your repository are encrypted at rest.

\n

By default, when no encryption configuration is set or the AES256\n encryption type is used, Amazon ECR uses server-side encryption with Amazon S3-managed encryption\n keys which encrypts your data at rest using an AES-256 encryption algorithm. This does\n not require any action on your part.

\n

For more control over the encryption of the contents of your repository, you can use\n server-side encryption with Key Management Service key stored in Key Management Service (KMS) to encrypt your\n images. For more information, see Amazon ECR encryption at\n rest in the Amazon Elastic Container Registry User Guide.

" } }, "com.amazonaws.ecr#EncryptionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AES256", - "name": "AES256" - }, - { - "value": "KMS", - "name": "KMS" + "type": "enum", + "members": { + "AES256": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AES256" } - ] + }, + "KMS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KMS" + } + } } }, "com.amazonaws.ecr#EnhancedImageScanFinding": { @@ -3600,34 +3293,44 @@ "type": "string" }, "com.amazonaws.ecr#FindingSeverity": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INFORMATIONAL", - "name": "INFORMATIONAL" - }, - { - "value": "LOW", - "name": "LOW" - }, - { - "value": "MEDIUM", - "name": "MEDIUM" - }, - { - "value": "HIGH", - "name": "HIGH" - }, - { - "value": "CRITICAL", - "name": "CRITICAL" - }, - { - "value": "UNDEFINED", - "name": "UNDEFINED" + "type": "enum", + "members": { + "INFORMATIONAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INFORMATIONAL" } - ] + }, + "LOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LOW" + } + }, + "MEDIUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MEDIUM" + } + }, + "HIGH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HIGH" + } + }, + "CRITICAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CRITICAL" + } + }, + "UNDEFINED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNDEFINED" + } + } } }, "com.amazonaws.ecr#FindingSeverityCounts": { @@ -3662,7 +3365,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves an authorization token. An authorization token represents your IAM\n authentication credentials and can be used to access any Amazon ECR registry that your IAM\n principal has access to. The authorization token is valid for 12 hours.

\n

The authorizationToken returned is a base64 encoded string that can be\n decoded and used in a docker login command to authenticate to a registry.\n The CLI offers an get-login-password command that simplifies the login\n process. For more information, see Registry\n authentication in the Amazon Elastic Container Registry User Guide.

" + "smithy.api#documentation": "

Retrieves an authorization token. An authorization token represents your IAM\n authentication credentials and can be used to access any Amazon ECR registry that your IAM\n principal has access to. The authorization token is valid for 12 hours.

\n

The authorizationToken returned is a base64 encoded string that can be\n decoded and used in a docker login command to authenticate to a registry.\n The CLI offers an get-login-password command that simplifies the login\n process. For more information, see Registry\n authentication in the Amazon Elastic Container Registry User Guide.

" } }, "com.amazonaws.ecr#GetAuthorizationTokenRegistryIdList": { @@ -3689,6 +3392,9 @@ "smithy.api#documentation": "

A list of Amazon Web Services account IDs that are associated with the registries for which to get\n AuthorizationData objects. If you do not specify a registry, the default registry is assumed.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#GetAuthorizationTokenResponse": { @@ -3700,6 +3406,9 @@ "smithy.api#documentation": "

A list of authorization token data objects that correspond to the\n registryIds values in the request.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#GetDownloadUrlForLayer": { @@ -3728,7 +3437,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves the pre-signed Amazon S3 download URL corresponding to an image layer. You can\n only get URLs for image layers that are referenced in an image.

\n

When an image is pulled, the GetDownloadUrlForLayer API is called once per image layer\n that is not already cached.

\n \n

This operation is used by the Amazon ECR proxy and is not generally used by\n customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

\n
" + "smithy.api#documentation": "

Retrieves the pre-signed Amazon S3 download URL corresponding to an image layer. You can\n only get URLs for image layers that are referenced in an image.

\n

When an image is pulled, the GetDownloadUrlForLayer API is called once per image layer\n that is not already cached.

\n \n

This operation is used by the Amazon ECR proxy and is not generally used by\n customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

\n
" } }, "com.amazonaws.ecr#GetDownloadUrlForLayerRequest": { @@ -3754,6 +3463,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#GetDownloadUrlForLayerResponse": { @@ -3771,6 +3483,9 @@ "smithy.api#documentation": "

The digest of the image layer to download.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#GetLifecyclePolicy": { @@ -3793,6 +3508,9 @@ }, { "target": "com.amazonaws.ecr#ServerException" + }, + { + "target": "com.amazonaws.ecr#ValidationException" } ], "traits": { @@ -3819,6 +3537,9 @@ }, { "target": "com.amazonaws.ecr#ServerException" + }, + { + "target": "com.amazonaws.ecr#ValidationException" } ], "traits": { @@ -3899,6 +3620,9 @@ "smithy.api#documentation": "

An optional parameter that filters results based on image tag status and all tags, if\n tagged.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#GetLifecyclePolicyPreviewResponse": { @@ -3946,6 +3670,9 @@ "smithy.api#documentation": "

The list of images that is returned as a result of the action.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#GetLifecyclePolicyRequest": { @@ -3964,6 +3691,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#GetLifecyclePolicyResponse": { @@ -3993,6 +3723,9 @@ "smithy.api#documentation": "

The time stamp of the last time that the lifecycle policy was run.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#GetRegistryPolicy": { @@ -4023,7 +3756,10 @@ }, "com.amazonaws.ecr#GetRegistryPolicyRequest": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.ecr#GetRegistryPolicyResponse": { "type": "structure", @@ -4040,6 +3776,9 @@ "smithy.api#documentation": "

The JSON text of the permissions policy for a registry.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#GetRegistryScanningConfiguration": { @@ -4067,7 +3806,10 @@ }, "com.amazonaws.ecr#GetRegistryScanningConfigurationRequest": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.ecr#GetRegistryScanningConfigurationResponse": { "type": "structure", @@ -4084,6 +3826,9 @@ "smithy.api#documentation": "

The scanning configuration for the registry.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#GetRepositoryPolicy": { @@ -4109,7 +3854,21 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves the repository policy for the specified repository.

" + "smithy.api#documentation": "

Retrieves the repository policy for the specified repository.

", + "smithy.api#examples": [ + { + "title": "To get the current policy for a repository", + "documentation": "This example obtains the repository policy for the repository named ubuntu.", + "input": { + "repositoryName": "ubuntu" + }, + "output": { + "policyText": "{\n \"Version\" : \"2008-10-17\",\n \"Statement\" : [ {\n \"Sid\" : \"new statement\",\n \"Effect\" : \"Allow\",\n \"Principal\" : {\n \"AWS\" : \"arn:aws:iam::012345678901:role/CodeDeployDemo\"\n },\n\"Action\" : [ \"ecr:GetDownloadUrlForLayer\", \"ecr:BatchGetImage\", \"ecr:BatchCheckLayerAvailability\" ]\n } ]\n}", + "repositoryName": "ubuntu", + "registryId": "012345678901" + } + } + ] } }, "com.amazonaws.ecr#GetRepositoryPolicyRequest": { @@ -4128,6 +3887,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#GetRepositoryPolicyResponse": { @@ -4151,6 +3913,9 @@ "smithy.api#documentation": "

The JSON repository policy text associated with the repository.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#Image": { @@ -4192,14 +3957,14 @@ } }, "com.amazonaws.ecr#ImageActionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EXPIRE", - "name": "EXPIRE" + "type": "enum", + "members": { + "EXPIRE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXPIRE" } - ] + } } }, "com.amazonaws.ecr#ImageAlreadyExistsException": { @@ -4255,7 +4020,7 @@ "imageSizeInBytes": { "target": "com.amazonaws.ecr#ImageSizeInBytes", "traits": { - "smithy.api#documentation": "

The size, in bytes, of the image in the repository.

\n

If the image is a manifest list, this will be the max size of all manifests in the\n list.

\n \n

Beginning with Docker version 1.9, the Docker client compresses image layers\n before pushing them to a V2 Docker registry. The output of the docker\n images command shows the uncompressed image size, so it may return a\n larger image size than the image sizes returned by DescribeImages.

\n
" + "smithy.api#documentation": "

The size, in bytes, of the image in the repository.

\n

If the image is a manifest list, this will be the max size of all manifests in the\n list.

\n \n

Beginning with Docker version 1.9, the Docker client compresses image layers\n before pushing them to a V2 Docker registry. The output of the docker\n images command shows the uncompressed image size, so it may return a\n larger image size than the image sizes returned by DescribeImages.

\n
" } }, "imagePushedAt": { @@ -4291,7 +4056,7 @@ "lastRecordedPullTime": { "target": "com.amazonaws.ecr#RecordedPullTimestamp", "traits": { - "smithy.api#documentation": "

The date and time, expressed in standard JavaScript date format, when Amazon ECR recorded\n the last image pull.

\n \n

Amazon ECR refreshes the last image pull timestamp at least once every 24 hours. For\n example, if you pull an image once a day then the lastRecordedPullTime\n timestamp will indicate the exact time that the image was last pulled. However, if\n you pull an image once an hour, because Amazon ECR refreshes the\n lastRecordedPullTime timestamp at least once every 24 hours, the\n result may not be the exact time that the image was last pulled.

\n
" + "smithy.api#documentation": "

The date and time, expressed in standard JavaScript date format, when Amazon ECR recorded\n the last image pull.

\n \n

Amazon ECR refreshes the last image pull timestamp at least once every 24 hours. For\n example, if you pull an image once a day then the lastRecordedPullTime\n timestamp will indicate the exact time that the image was last pulled. However, if\n you pull an image once an hour, because Amazon ECR refreshes the\n lastRecordedPullTime timestamp at least once every 24 hours, the\n result may not be the exact time that the image was last pulled.

\n
" } } }, @@ -4347,38 +4112,50 @@ } }, "com.amazonaws.ecr#ImageFailureCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "InvalidImageDigest", - "name": "InvalidImageDigest" - }, - { - "value": "InvalidImageTag", - "name": "InvalidImageTag" - }, - { - "value": "ImageTagDoesNotMatchDigest", - "name": "ImageTagDoesNotMatchDigest" - }, - { - "value": "ImageNotFound", - "name": "ImageNotFound" - }, - { - "value": "MissingDigestAndTag", - "name": "MissingDigestAndTag" - }, - { - "value": "ImageReferencedByManifestList", - "name": "ImageReferencedByManifestList" - }, - { - "value": "KmsError", - "name": "KmsError" + "type": "enum", + "members": { + "InvalidImageDigest": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InvalidImageDigest" } - ] + }, + "InvalidImageTag": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InvalidImageTag" + } + }, + "ImageTagDoesNotMatchDigest": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ImageTagDoesNotMatchDigest" + } + }, + "ImageNotFound": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ImageNotFound" + } + }, + "MissingDigestAndTag": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MissingDigestAndTag" + } + }, + "ImageReferencedByManifestList": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ImageReferencedByManifestList" + } + }, + "KmsError": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KmsError" + } + } } }, "com.amazonaws.ecr#ImageFailureList": { @@ -4661,18 +4438,20 @@ } }, "com.amazonaws.ecr#ImageTagMutability": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "MUTABLE", - "name": "MUTABLE" - }, - { - "value": "IMMUTABLE", - "name": "IMMUTABLE" + "type": "enum", + "members": { + "MUTABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MUTABLE" } - ] + }, + "IMMUTABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IMMUTABLE" + } + } } }, "com.amazonaws.ecr#ImageTagsList": { @@ -4704,7 +4483,7 @@ } ], "traits": { - "smithy.api#documentation": "

Notifies Amazon ECR that you intend to upload an image layer.

\n

When an image is pushed, the InitiateLayerUpload API is called once per image layer\n that has not already been uploaded. Whether or not an image layer has been uploaded is\n determined by the BatchCheckLayerAvailability API action.

\n \n

This operation is used by the Amazon ECR proxy and is not generally used by\n customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

\n
" + "smithy.api#documentation": "

Notifies Amazon ECR that you intend to upload an image layer.

\n

When an image is pushed, the InitiateLayerUpload API is called once per image layer\n that has not already been uploaded. Whether or not an image layer has been uploaded is\n determined by the BatchCheckLayerAvailability API action.

\n \n

This operation is used by the Amazon ECR proxy and is not generally used by\n customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

\n
" } }, "com.amazonaws.ecr#InitiateLayerUploadRequest": { @@ -4723,6 +4502,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#InitiateLayerUploadResponse": { @@ -4740,6 +4522,9 @@ "smithy.api#documentation": "

The size, in bytes, that Amazon ECR expects future layer part uploads to be.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#InvalidLayerException": { @@ -4901,18 +4686,20 @@ } }, "com.amazonaws.ecr#LayerAvailability": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AVAILABLE", - "name": "AVAILABLE" - }, - { - "value": "UNAVAILABLE", - "name": "UNAVAILABLE" + "type": "enum", + "members": { + "AVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AVAILABLE" } - ] + }, + "UNAVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNAVAILABLE" + } + } } }, "com.amazonaws.ecr#LayerDigest": { @@ -4960,18 +4747,20 @@ } }, "com.amazonaws.ecr#LayerFailureCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "InvalidLayerDigest", - "name": "InvalidLayerDigest" - }, - { - "value": "MissingLayerDigest", - "name": "MissingLayerDigest" + "type": "enum", + "members": { + "InvalidLayerDigest": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InvalidLayerDigest" } - ] + }, + "MissingLayerDigest": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MissingLayerDigest" + } + } } }, "com.amazonaws.ecr#LayerFailureList": { @@ -5141,26 +4930,32 @@ } }, "com.amazonaws.ecr#LifecyclePolicyPreviewStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IN_PROGRESS", - "name": "IN_PROGRESS" - }, - { - "value": "COMPLETE", - "name": "COMPLETE" - }, - { - "value": "EXPIRED", - "name": "EXPIRED" - }, - { - "value": "FAILED", - "name": "FAILED" + "type": "enum", + "members": { + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" } - ] + }, + "COMPLETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETE" + } + }, + "EXPIRED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXPIRED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + } } }, "com.amazonaws.ecr#LifecyclePolicyPreviewSummary": { @@ -5252,7 +5047,24 @@ } ], "traits": { - "smithy.api#documentation": "

Lists all the image IDs for the specified repository.

\n

You can filter images based on whether or not they are tagged by using the\n tagStatus filter and specifying either TAGGED,\n UNTAGGED or ANY. For example, you can filter your results\n to return only UNTAGGED images and then pipe that result to a BatchDeleteImage operation to delete them. Or, you can filter your\n results to return only TAGGED images to list all of the tags in your\n repository.

", + "smithy.api#documentation": "

Lists all the image IDs for the specified repository.

\n

You can filter images based on whether or not they are tagged by using the\n tagStatus filter and specifying either TAGGED,\n UNTAGGED or ANY. For example, you can filter your results\n to return only UNTAGGED images and then pipe that result to a BatchDeleteImage operation to delete them. Or, you can filter your\n results to return only TAGGED images to list all of the tags in your\n repository.

", + "smithy.api#examples": [ + { + "title": "To list all images in a repository", + "documentation": "This example lists all of the images in the repository named ubuntu in the default registry in the current account. ", + "input": { + "repositoryName": "ubuntu" + }, + "output": { + "imageIds": [ + { + "imageTag": "precise", + "imageDigest": "sha256:764f63476bdff6d83a09ba2a818f0d35757063724a9ac3ba5019c56f74ebf42a" + } + ] + } + } + ], "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -5294,7 +5106,7 @@ "nextToken": { "target": "com.amazonaws.ecr#NextToken", "traits": { - "smithy.api#documentation": "

The nextToken value returned from a previous paginated\n ListImages request where maxResults was used and the\n results exceeded the value of that parameter. Pagination continues from the end of the\n previous results that returned the nextToken value. This value is\n null when there are no more results to return.

\n \n

This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

\n
" + "smithy.api#documentation": "

The nextToken value returned from a previous paginated\n ListImages request where maxResults was used and the\n results exceeded the value of that parameter. Pagination continues from the end of the\n previous results that returned the nextToken value. This value is\n null when there are no more results to return.

\n \n

This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

\n
" } }, "maxResults": { @@ -5309,6 +5121,9 @@ "smithy.api#documentation": "

The filter key and value with which to filter your ListImages\n results.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#ListImagesResponse": { @@ -5326,6 +5141,9 @@ "smithy.api#documentation": "

The nextToken value to include in a future ListImages\n request. When the results of a ListImages request exceed\n maxResults, this value can be used to retrieve the next page of\n results. This value is null when there are no more results to\n return.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#ListTagsForResource": { @@ -5361,6 +5179,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#ListTagsForResourceResponse": { @@ -5372,6 +5193,9 @@ "smithy.api#documentation": "

The tags for the resource.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#MaxResults": { @@ -5617,7 +5441,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates or updates the image manifest and tags associated with an image.

\n

When an image is pushed and all new image layers have been uploaded, the PutImage API\n is called once to create or update the image manifest and the tags associated with the\n image.

\n \n \n

This operation is used by the Amazon ECR proxy and is not generally used by\n customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

\n
" + "smithy.api#documentation": "

Creates or updates the image manifest and tags associated with an image.

\n

When an image is pushed and all new image layers have been uploaded, the PutImage API\n is called once to create or update the image manifest and the tags associated with the\n image.

\n \n

This operation is used by the Amazon ECR proxy and is not generally used by\n customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

\n
" } }, "com.amazonaws.ecr#PutImageRequest": { @@ -5661,6 +5485,9 @@ "smithy.api#documentation": "

The image digest of the image manifest corresponding to the image.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#PutImageResponse": { @@ -5672,6 +5499,9 @@ "smithy.api#documentation": "

Details of the image uploaded.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#PutImageScanningConfiguration": { @@ -5697,7 +5527,7 @@ } ], "traits": { - "smithy.api#documentation": "\n

The PutImageScanningConfiguration API is being deprecated, in favor\n of specifying the image scanning configuration at the registry level. For more\n information, see PutRegistryScanningConfiguration.

\n
\n

Updates the image scanning configuration for the specified repository.

" + "smithy.api#documentation": "\n

The PutImageScanningConfiguration API is being deprecated, in favor\n of specifying the image scanning configuration at the registry level. For more\n information, see PutRegistryScanningConfiguration.

\n
\n

Updates the image scanning configuration for the specified repository.

" } }, "com.amazonaws.ecr#PutImageScanningConfigurationRequest": { @@ -5723,6 +5553,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#PutImageScanningConfigurationResponse": { @@ -5746,6 +5579,9 @@ "smithy.api#documentation": "

The image scanning configuration setting for the repository.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#PutImageTagMutability": { @@ -5794,6 +5630,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#PutImageTagMutabilityResponse": { @@ -5817,6 +5656,9 @@ "smithy.api#documentation": "

The image tag mutability setting for the repository.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#PutLifecyclePolicy": { @@ -5836,6 +5678,9 @@ }, { "target": "com.amazonaws.ecr#ServerException" + }, + { + "target": "com.amazonaws.ecr#ValidationException" } ], "traits": { @@ -5865,6 +5710,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#PutLifecyclePolicyResponse": { @@ -5888,6 +5736,9 @@ "smithy.api#documentation": "

The JSON repository policy text.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#PutRegistryPolicy": { @@ -5910,7 +5761,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates or updates the permissions policy for your registry.

\n

A registry policy is used to specify permissions for another Amazon Web Services account and is used\n when configuring cross-account replication. For more information, see Registry permissions in the Amazon Elastic Container Registry User Guide.

" + "smithy.api#documentation": "

Creates or updates the permissions policy for your registry.

\n

A registry policy is used to specify permissions for another Amazon Web Services account and is used\n when configuring cross-account replication. For more information, see Registry permissions in the Amazon Elastic Container Registry User Guide.

" } }, "com.amazonaws.ecr#PutRegistryPolicyRequest": { @@ -5923,6 +5774,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#PutRegistryPolicyResponse": { @@ -5940,6 +5794,9 @@ "smithy.api#documentation": "

The JSON policy text for your registry.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#PutRegistryScanningConfiguration": { @@ -5971,7 +5828,7 @@ "scanType": { "target": "com.amazonaws.ecr#ScanType", "traits": { - "smithy.api#documentation": "

The scanning type to set for the registry.

\n

When a registry scanning configuration is not defined, by default the\n BASIC scan type is used. When basic scanning is used, you may specify\n filters to determine which individual repositories, or all repositories, are scanned\n when new images are pushed to those repositories. Alternatively, you can do manual scans\n of images with basic scanning.

\n

When the ENHANCED scan type is set, Amazon Inspector provides automated\n vulnerability scanning. You may choose between continuous scanning or scan on push and\n you may specify filters to determine which individual repositories, or all repositories,\n are scanned.

" + "smithy.api#documentation": "

The scanning type to set for the registry.

\n

When a registry scanning configuration is not defined, by default the\n BASIC scan type is used. When basic scanning is used, you may specify\n filters to determine which individual repositories, or all repositories, are scanned\n when new images are pushed to those repositories. Alternatively, you can do manual scans\n of images with basic scanning.

\n

When the ENHANCED scan type is set, Amazon Inspector provides automated\n vulnerability scanning. You may choose between continuous scanning or scan on push and\n you may specify filters to determine which individual repositories, or all repositories,\n are scanned.

" } }, "rules": { @@ -5980,6 +5837,9 @@ "smithy.api#documentation": "

The scanning rules to use for the registry. A scanning rule is used to determine which\n repository filters are used and at what frequency scanning will occur.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#PutRegistryScanningConfigurationResponse": { @@ -5991,6 +5851,9 @@ "smithy.api#documentation": "

The scanning configuration for your registry.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#PutReplicationConfiguration": { @@ -6013,7 +5876,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates or updates the replication configuration for a registry. The existing\n replication configuration for a repository can be retrieved with the DescribeRegistry API action. The first time the\n PutReplicationConfiguration API is called, a service-linked IAM role is created in\n your account for the replication process. For more information, see Using\n service-linked roles for Amazon ECR in the\n Amazon Elastic Container Registry User Guide.

\n \n

When configuring cross-account replication, the destination account must grant the\n source account permission to replicate. This permission is controlled using a\n registry permissions policy. For more information, see PutRegistryPolicy.

\n
" + "smithy.api#documentation": "

Creates or updates the replication configuration for a registry. The existing\n replication configuration for a repository can be retrieved with the DescribeRegistry API action. The first time the\n PutReplicationConfiguration API is called, a service-linked IAM role is created in\n your account for the replication process. For more information, see Using\n service-linked roles for Amazon ECR in the\n Amazon Elastic Container Registry User Guide.

\n \n

When configuring cross-account replication, the destination account must grant the\n source account permission to replicate. This permission is controlled using a\n registry permissions policy. For more information, see PutRegistryPolicy.

\n
" } }, "com.amazonaws.ecr#PutReplicationConfigurationRequest": { @@ -6026,6 +5889,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#PutReplicationConfigurationResponse": { @@ -6037,6 +5903,9 @@ "smithy.api#documentation": "

The contents of the replication configuration for the registry.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#Reason": { @@ -6149,7 +6018,7 @@ "scanFrequency": { "target": "com.amazonaws.ecr#ScanFrequency", "traits": { - "smithy.api#documentation": "

The frequency that scans are performed at for a private registry. When the\n ENHANCED scan type is specified, the supported scan frequencies are\n CONTINUOUS_SCAN and SCAN_ON_PUSH. When the\n BASIC scan type is specified, the SCAN_ON_PUSH and\n MANUAL scan frequencies are supported.

", + "smithy.api#documentation": "

The frequency that scans are performed at for a private registry. When the\n ENHANCED scan type is specified, the supported scan frequencies are\n CONTINUOUS_SCAN and SCAN_ON_PUSH. When the\n BASIC scan type is specified, the SCAN_ON_PUSH scan\n frequency is supported. If scan on push is not specified, then the MANUAL\n scan frequency is set by default.

", "smithy.api#required": {} } }, @@ -6289,22 +6158,26 @@ } }, "com.amazonaws.ecr#ReplicationStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IN_PROGRESS", - "name": "IN_PROGRESS" - }, - { - "value": "COMPLETE", - "name": "COMPLETE" - }, - { - "value": "FAILED", - "name": "FAILED" + "type": "enum", + "members": { + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" } - ] + }, + "COMPLETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETE" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + } } }, "com.amazonaws.ecr#Repository": { @@ -6313,7 +6186,7 @@ "repositoryArn": { "target": "com.amazonaws.ecr#Arn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the arn:aws:ecr namespace, followed by the region of the\n repository, Amazon Web Services account ID of the repository owner, repository namespace, and repository name.\n For example, arn:aws:ecr:region:012345678910:repository/test.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the arn:aws:ecr namespace, followed by the region of the\n repository, Amazon Web Services account ID of the repository owner, repository namespace, and repository name.\n For example, arn:aws:ecr:region:012345678910:repository-namespace/repository-name.

" } }, "registryId": { @@ -6394,7 +6267,7 @@ } }, "traits": { - "smithy.api#documentation": "

The filter settings used with image replication. Specifying a repository filter to a\n replication rule provides a method for controlling which repositories in a private\n registry are replicated. If no repository filter is specified, all images in the\n repository are replicated.

" + "smithy.api#documentation": "

The filter settings used with image replication. Specifying a repository filter to a\n replication rule provides a method for controlling which repositories in a private\n registry are replicated. If no filters are added, the contents of all repositories are\n replicated.

" } }, "com.amazonaws.ecr#RepositoryFilterList": { @@ -6410,14 +6283,14 @@ } }, "com.amazonaws.ecr#RepositoryFilterType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PREFIX_MATCH", - "name": "PREFIX_MATCH" + "type": "enum", + "members": { + "PREFIX_MATCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PREFIX_MATCH" } - ] + } } }, "com.amazonaws.ecr#RepositoryFilterValue": { @@ -6645,22 +6518,26 @@ } }, "com.amazonaws.ecr#ScanFrequency": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SCAN_ON_PUSH", - "name": "SCAN_ON_PUSH" - }, - { - "value": "CONTINUOUS_SCAN", - "name": "CONTINUOUS_SCAN" - }, - { - "value": "MANUAL", - "name": "MANUAL" + "type": "enum", + "members": { + "SCAN_ON_PUSH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SCAN_ON_PUSH" } - ] + }, + "CONTINUOUS_SCAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTINUOUS_SCAN" + } + }, + "MANUAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MANUAL" + } + } } }, "com.amazonaws.ecr#ScanNotFoundException": { @@ -6682,42 +6559,56 @@ } }, "com.amazonaws.ecr#ScanStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IN_PROGRESS", - "name": "IN_PROGRESS" - }, - { - "value": "COMPLETE", - "name": "COMPLETE" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "UNSUPPORTED_IMAGE", - "name": "UNSUPPORTED_IMAGE" - }, - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "PENDING", - "name": "PENDING" - }, - { - "value": "SCAN_ELIGIBILITY_EXPIRED", - "name": "SCAN_ELIGIBILITY_EXPIRED" - }, - { - "value": "FINDINGS_UNAVAILABLE", - "name": "FINDINGS_UNAVAILABLE" + "type": "enum", + "members": { + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" } - ] + }, + "COMPLETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETE" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "UNSUPPORTED_IMAGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNSUPPORTED_IMAGE" + } + }, + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" + } + }, + "SCAN_ELIGIBILITY_EXPIRED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SCAN_ELIGIBILITY_EXPIRED" + } + }, + "FINDINGS_UNAVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FINDINGS_UNAVAILABLE" + } + } } }, "com.amazonaws.ecr#ScanStatusDescription": { @@ -6727,29 +6618,31 @@ "type": "timestamp" }, "com.amazonaws.ecr#ScanType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "BASIC", - "name": "BASIC" - }, - { - "value": "ENHANCED", - "name": "ENHANCED" + "type": "enum", + "members": { + "BASIC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BASIC" } - ] + }, + "ENHANCED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENHANCED" + } + } } }, "com.amazonaws.ecr#ScanningConfigurationFailureCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "REPOSITORY_NOT_FOUND", - "name": "REPOSITORY_NOT_FOUND" + "type": "enum", + "members": { + "REPOSITORY_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REPOSITORY_NOT_FOUND" } - ] + } } }, "com.amazonaws.ecr#ScanningConfigurationFailureReason": { @@ -6802,14 +6695,14 @@ } }, "com.amazonaws.ecr#ScanningRepositoryFilterType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "WILDCARD", - "name": "WILDCARD" + "type": "enum", + "members": { + "WILDCARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WILDCARD" } - ] + } } }, "com.amazonaws.ecr#ScanningRepositoryFilterValue": { @@ -6913,6 +6806,9 @@ "smithy.api#documentation": "

If the policy you are attempting to set on a repository policy would prevent you from\n setting another policy in the future, you must force the SetRepositoryPolicy operation. This is intended to prevent accidental\n repository lock outs.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#SetRepositoryPolicyResponse": { @@ -6936,6 +6832,9 @@ "smithy.api#documentation": "

The JSON repository policy text applied to the repository.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#Severity": { @@ -7012,6 +6911,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#StartImageScanResponse": { @@ -7038,6 +6940,9 @@ "smithy.api#documentation": "

The current state of the scan.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#StartLifecyclePolicyPreview": { @@ -7063,6 +6968,9 @@ }, { "target": "com.amazonaws.ecr#ServerException" + }, + { + "target": "com.amazonaws.ecr#ValidationException" } ], "traits": { @@ -7091,6 +6999,9 @@ "smithy.api#documentation": "

The policy to be evaluated against. If you do not specify a policy, the current policy\n for the repository is used.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#StartLifecyclePolicyPreviewResponse": { @@ -7120,6 +7031,9 @@ "smithy.api#documentation": "

The status of the lifecycle policy preview request.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#Status": { @@ -7131,13 +7045,15 @@ "Key": { "target": "com.amazonaws.ecr#TagKey", "traits": { - "smithy.api#documentation": "

One part of a key-value pair that make up a tag. A key is a general label\n that acts like a category for more specific tag values.

" + "smithy.api#documentation": "

One part of a key-value pair that make up a tag. A key is a general label\n that acts like a category for more specific tag values.

", + "smithy.api#required": {} } }, "Value": { "target": "com.amazonaws.ecr#TagValue", "traits": { - "smithy.api#documentation": "

A value acts as a descriptor within a tag category (key).

" + "smithy.api#documentation": "

A value acts as a descriptor within a tag category (key).

", + "smithy.api#required": {} } } }, @@ -7206,29 +7122,39 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.ecr#TagStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "TAGGED", - "name": "TAGGED" - }, - { - "value": "UNTAGGED", - "name": "UNTAGGED" - }, - { - "value": "ANY", - "name": "ANY" + "type": "enum", + "members": { + "TAGGED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TAGGED" } - ] + }, + "UNTAGGED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNTAGGED" + } + }, + "ANY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ANY" + } + } } }, "com.amazonaws.ecr#TagValue": { @@ -7331,11 +7257,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.ecr#UploadId": { "type": "string", @@ -7375,7 +7307,7 @@ } ], "traits": { - "smithy.api#documentation": "

Uploads an image layer part to Amazon ECR.

\n

When an image is pushed, each new image layer is uploaded in parts. The maximum size\n of each image layer part can be 20971520 bytes (or about 20MB). The UploadLayerPart API\n is called once per each new image layer part.

\n \n

This operation is used by the Amazon ECR proxy and is not generally used by\n customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

\n
" + "smithy.api#documentation": "

Uploads an image layer part to Amazon ECR.

\n

When an image is pushed, each new image layer is uploaded in parts. The maximum size\n of each image layer part can be 20971520 bytes (or about 20MB). The UploadLayerPart API\n is called once per each new image layer part.

\n \n

This operation is used by the Amazon ECR proxy and is not generally used by\n customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

\n
" } }, "com.amazonaws.ecr#UploadLayerPartRequest": { @@ -7422,6 +7354,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ecr#UploadLayerPartResponse": { @@ -7451,6 +7386,9 @@ "smithy.api#documentation": "

The integer value of the last byte received in the request.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ecr#UploadNotFoundException": { diff --git a/codegen/sdk-codegen/aws-models/medialive.json b/codegen/sdk-codegen/aws-models/medialive.json index d4e1950df06..7095f31906f 100644 --- a/codegen/sdk-codegen/aws-models/medialive.json +++ b/codegen/sdk-codegen/aws-models/medialive.json @@ -5671,6 +5671,20 @@ "smithy.api#documentation": "The Availability Zone associated with this input device.", "smithy.api#jsonName": "availabilityZone" } + }, + "MedialiveInputArns": { + "target": "com.amazonaws.medialive#__listOf__string", + "traits": { + "smithy.api#documentation": "An array of the ARNs for the MediaLive inputs attached to the device. Returned only if the outputType is MEDIALIVE_INPUT.", + "smithy.api#jsonName": "medialiveInputArns" + } + }, + "OutputType": { + "target": "com.amazonaws.medialive#InputDeviceOutputType", + "traits": { + "smithy.api#documentation": "The output attachment type of the input device. Specifies MEDIACONNECT_FLOW if this device is the source for a MediaConnect flow. Specifies MEDIALIVE_INPUT if this device is the source for a MediaLive input.", + "smithy.api#jsonName": "outputType" + } } }, "traits": { @@ -12505,6 +12519,26 @@ "smithy.api#documentation": "The source at the input device that is currently active." } }, + "com.amazonaws.medialive#InputDeviceCodec": { + "type": "enum", + "members": { + "HEVC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HEVC" + } + }, + "AVC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AVC" + } + } + }, + "traits": { + "smithy.api#documentation": "The codec to use on the video that the device produces." + } + }, "com.amazonaws.medialive#InputDeviceConfigurableSettings": { "type": "structure", "members": { @@ -12528,6 +12562,20 @@ "smithy.api#documentation": "The Link device's buffer size (latency) in milliseconds (ms).", "smithy.api#jsonName": "latencyMs" } + }, + "Codec": { + "target": "com.amazonaws.medialive#InputDeviceCodec", + "traits": { + "smithy.api#documentation": "Choose the codec for the video that the device produces. Only UHD devices can specify this parameter.", + "smithy.api#jsonName": "codec" + } + }, + "MediaconnectSettings": { + "target": "com.amazonaws.medialive#InputDeviceMediaConnectConfigurableSettings", + "traits": { + "smithy.api#documentation": "To attach this device to a MediaConnect flow, specify these parameters. To detach an existing flow, enter {} for the value of mediaconnectSettings. Only UHD devices can specify this parameter.", + "smithy.api#jsonName": "mediaconnectSettings" + } } }, "traits": { @@ -12671,6 +12719,78 @@ "smithy.api#documentation": "Specifies whether the input device has been configured (outside of MediaLive) to use a dynamic IP address assignment (DHCP) or a static IP address." } }, + "com.amazonaws.medialive#InputDeviceMediaConnectConfigurableSettings": { + "type": "structure", + "members": { + "FlowArn": { + "target": "com.amazonaws.medialive#__string", + "traits": { + "smithy.api#documentation": "The ARN of the MediaConnect flow to attach this device to.", + "smithy.api#jsonName": "flowArn" + } + }, + "RoleArn": { + "target": "com.amazonaws.medialive#__string", + "traits": { + "smithy.api#documentation": "The ARN for the role that MediaLive assumes to access the attached flow and secret. For more information about how to create this role, see the MediaLive user guide.", + "smithy.api#jsonName": "roleArn" + } + }, + "SecretArn": { + "target": "com.amazonaws.medialive#__string", + "traits": { + "smithy.api#documentation": "The ARN for the secret that holds the encryption key to encrypt the content output by the device.", + "smithy.api#jsonName": "secretArn" + } + }, + "SourceName": { + "target": "com.amazonaws.medialive#__string", + "traits": { + "smithy.api#documentation": "The name of the MediaConnect Flow source to stream to.", + "smithy.api#jsonName": "sourceName" + } + } + }, + "traits": { + "smithy.api#documentation": "Parameters required to attach a MediaConnect flow to the device." + } + }, + "com.amazonaws.medialive#InputDeviceMediaConnectSettings": { + "type": "structure", + "members": { + "FlowArn": { + "target": "com.amazonaws.medialive#__string", + "traits": { + "smithy.api#documentation": "The ARN of the MediaConnect flow.", + "smithy.api#jsonName": "flowArn" + } + }, + "RoleArn": { + "target": "com.amazonaws.medialive#__string", + "traits": { + "smithy.api#documentation": "The ARN for the role that MediaLive assumes to access the attached flow and secret.", + "smithy.api#jsonName": "roleArn" + } + }, + "SecretArn": { + "target": "com.amazonaws.medialive#__string", + "traits": { + "smithy.api#documentation": "The ARN of the secret used to encrypt the stream.", + "smithy.api#jsonName": "secretArn" + } + }, + "SourceName": { + "target": "com.amazonaws.medialive#__string", + "traits": { + "smithy.api#documentation": "The name of the MediaConnect flow source.", + "smithy.api#jsonName": "sourceName" + } + } + }, + "traits": { + "smithy.api#documentation": "Information about the MediaConnect flow attached to the device." + } + }, "com.amazonaws.medialive#InputDeviceNetworkSettings": { "type": "structure", "members": { @@ -12714,6 +12834,32 @@ "smithy.api#documentation": "The network settings for the input device." } }, + "com.amazonaws.medialive#InputDeviceOutputType": { + "type": "enum", + "members": { + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" + } + }, + "MEDIALIVE_INPUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MEDIALIVE_INPUT" + } + }, + "MEDIACONNECT_FLOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MEDIACONNECT_FLOW" + } + } + }, + "traits": { + "smithy.api#documentation": "The output attachment type of the input device." + } + }, "com.amazonaws.medialive#InputDeviceRequest": { "type": "structure", "members": { @@ -12884,6 +13030,20 @@ "smithy.api#documentation": "The Availability Zone associated with this input device.", "smithy.api#jsonName": "availabilityZone" } + }, + "MedialiveInputArns": { + "target": "com.amazonaws.medialive#__listOf__string", + "traits": { + "smithy.api#documentation": "An array of the ARNs for the MediaLive inputs attached to the device. Returned only if the outputType is MEDIALIVE_INPUT.", + "smithy.api#jsonName": "medialiveInputArns" + } + }, + "OutputType": { + "target": "com.amazonaws.medialive#InputDeviceOutputType", + "traits": { + "smithy.api#documentation": "The output attachment type of the input device. Specifies MEDIACONNECT_FLOW if this device is the source for a MediaConnect flow. Specifies MEDIALIVE_INPUT if this device is the source for a MediaLive input.", + "smithy.api#jsonName": "outputType" + } } }, "traits": { @@ -13002,6 +13162,20 @@ "smithy.api#documentation": "The Link device's buffer size (latency) in milliseconds (ms). You can specify this value.", "smithy.api#jsonName": "latencyMs" } + }, + "Codec": { + "target": "com.amazonaws.medialive#InputDeviceCodec", + "traits": { + "smithy.api#documentation": "The codec for the video that the device produces.", + "smithy.api#jsonName": "codec" + } + }, + "MediaconnectSettings": { + "target": "com.amazonaws.medialive#InputDeviceMediaConnectSettings", + "traits": { + "smithy.api#documentation": "Information about the MediaConnect flow attached to the device. Returned only if the outputType is MEDIACONNECT_FLOW.", + "smithy.api#jsonName": "mediaconnectSettings" + } } }, "traits": { @@ -16225,6 +16399,9 @@ { "target": "com.amazonaws.medialive#StartChannel" }, + { + "target": "com.amazonaws.medialive#StartInputDevice" + }, { "target": "com.amazonaws.medialive#StartInputDeviceMaintenanceWindow" }, @@ -16234,6 +16411,9 @@ { "target": "com.amazonaws.medialive#StopChannel" }, + { + "target": "com.amazonaws.medialive#StopInputDevice" + }, { "target": "com.amazonaws.medialive#StopMultiplex" }, @@ -21510,6 +21690,49 @@ "smithy.api#output": {} } }, + "com.amazonaws.medialive#StartInputDevice": { + "type": "operation", + "input": { + "target": "com.amazonaws.medialive#StartInputDeviceRequest" + }, + "output": { + "target": "com.amazonaws.medialive#StartInputDeviceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.medialive#BadGatewayException" + }, + { + "target": "com.amazonaws.medialive#BadRequestException" + }, + { + "target": "com.amazonaws.medialive#ForbiddenException" + }, + { + "target": "com.amazonaws.medialive#GatewayTimeoutException" + }, + { + "target": "com.amazonaws.medialive#InternalServerErrorException" + }, + { + "target": "com.amazonaws.medialive#NotFoundException" + }, + { + "target": "com.amazonaws.medialive#TooManyRequestsException" + }, + { + "target": "com.amazonaws.medialive#UnprocessableEntityException" + } + ], + "traits": { + "smithy.api#documentation": "Start an input device that is attached to a MediaConnect flow. (There is no need to start a device that is attached to a MediaLive input; MediaLive starts the device when the channel starts.)", + "smithy.api#http": { + "method": "POST", + "uri": "/prod/inputDevices/{InputDeviceId}/start", + "code": 200 + } + } + }, "com.amazonaws.medialive#StartInputDeviceMaintenanceWindow": { "type": "operation", "input": { @@ -21578,6 +21801,31 @@ "smithy.api#output": {} } }, + "com.amazonaws.medialive#StartInputDeviceRequest": { + "type": "structure", + "members": { + "InputDeviceId": { + "target": "com.amazonaws.medialive#__string", + "traits": { + "smithy.api#documentation": "The unique ID of the input device to reboot. For example, hd-123456789abcdef.", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Placeholder documentation for StartInputDeviceRequest", + "smithy.api#input": {} + } + }, + "com.amazonaws.medialive#StartInputDeviceResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#documentation": "Placeholder documentation for StartInputDeviceResponse", + "smithy.api#output": {} + } + }, "com.amazonaws.medialive#StartMultiplex": { "type": "operation", "input": { @@ -22049,6 +22297,74 @@ "smithy.api#output": {} } }, + "com.amazonaws.medialive#StopInputDevice": { + "type": "operation", + "input": { + "target": "com.amazonaws.medialive#StopInputDeviceRequest" + }, + "output": { + "target": "com.amazonaws.medialive#StopInputDeviceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.medialive#BadGatewayException" + }, + { + "target": "com.amazonaws.medialive#BadRequestException" + }, + { + "target": "com.amazonaws.medialive#ForbiddenException" + }, + { + "target": "com.amazonaws.medialive#GatewayTimeoutException" + }, + { + "target": "com.amazonaws.medialive#InternalServerErrorException" + }, + { + "target": "com.amazonaws.medialive#NotFoundException" + }, + { + "target": "com.amazonaws.medialive#TooManyRequestsException" + }, + { + "target": "com.amazonaws.medialive#UnprocessableEntityException" + } + ], + "traits": { + "smithy.api#documentation": "Stop an input device that is attached to a MediaConnect flow. (There is no need to stop a device that is attached to a MediaLive input; MediaLive automatically stops the device when the channel stops.)", + "smithy.api#http": { + "method": "POST", + "uri": "/prod/inputDevices/{InputDeviceId}/stop", + "code": 200 + } + } + }, + "com.amazonaws.medialive#StopInputDeviceRequest": { + "type": "structure", + "members": { + "InputDeviceId": { + "target": "com.amazonaws.medialive#__string", + "traits": { + "smithy.api#documentation": "The unique ID of the input device to reboot. For example, hd-123456789abcdef.", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Placeholder documentation for StopInputDeviceRequest", + "smithy.api#input": {} + } + }, + "com.amazonaws.medialive#StopInputDeviceResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#documentation": "Placeholder documentation for StopInputDeviceResponse", + "smithy.api#output": {} + } + }, "com.amazonaws.medialive#StopMultiplex": { "type": "operation", "input": { @@ -23531,6 +23847,20 @@ "smithy.api#documentation": "The Availability Zone associated with this input device.", "smithy.api#jsonName": "availabilityZone" } + }, + "MedialiveInputArns": { + "target": "com.amazonaws.medialive#__listOf__string", + "traits": { + "smithy.api#documentation": "An array of the ARNs for the MediaLive inputs attached to the device. Returned only if the outputType is MEDIALIVE_INPUT.", + "smithy.api#jsonName": "medialiveInputArns" + } + }, + "OutputType": { + "target": "com.amazonaws.medialive#InputDeviceOutputType", + "traits": { + "smithy.api#documentation": "The output attachment type of the input device. Specifies MEDIACONNECT_FLOW if this device is the source for a MediaConnect flow. Specifies MEDIALIVE_INPUT if this device is the source for a MediaLive input.", + "smithy.api#jsonName": "outputType" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/quicksight.json b/codegen/sdk-codegen/aws-models/quicksight.json index 1fc65ee85d9..0a51d1c1556 100644 --- a/codegen/sdk-codegen/aws-models/quicksight.json +++ b/codegen/sdk-codegen/aws-models/quicksight.json @@ -176,7 +176,7 @@ "traits": { "smithy.api#length": { "min": 1, - "max": 16 + "max": 20 } } }, @@ -25463,6 +25463,46 @@ } } }, + "com.amazonaws.quicksight#KPIActualValueConditionalFormatting": { + "type": "structure", + "members": { + "TextColor": { + "target": "com.amazonaws.quicksight#ConditionalFormattingColor", + "traits": { + "smithy.api#documentation": "

The conditional formatting of the actual value's text color.

" + } + }, + "Icon": { + "target": "com.amazonaws.quicksight#ConditionalFormattingIcon", + "traits": { + "smithy.api#documentation": "

The conditional formatting of the actual value's icon.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The conditional formatting for the actual value of a KPI visual.

" + } + }, + "com.amazonaws.quicksight#KPIComparisonValueConditionalFormatting": { + "type": "structure", + "members": { + "TextColor": { + "target": "com.amazonaws.quicksight#ConditionalFormattingColor", + "traits": { + "smithy.api#documentation": "

The conditional formatting of the comparison value's text color.

" + } + }, + "Icon": { + "target": "com.amazonaws.quicksight#ConditionalFormattingIcon", + "traits": { + "smithy.api#documentation": "

The conditional formatting of the comparison value's icon.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The conditional formatting for the comparison value of a KPI visual.

" + } + }, "com.amazonaws.quicksight#KPIConditionalFormatting": { "type": "structure", "members": { @@ -25491,6 +25531,18 @@ "traits": { "smithy.api#documentation": "

The conditional formatting for the progress bar of a KPI visual.

" } + }, + "ActualValue": { + "target": "com.amazonaws.quicksight#KPIActualValueConditionalFormatting", + "traits": { + "smithy.api#documentation": "

The conditional formatting for the actual value of a KPI visual.

" + } + }, + "ComparisonValue": { + "target": "com.amazonaws.quicksight#KPIComparisonValueConditionalFormatting", + "traits": { + "smithy.api#documentation": "

The conditional formatting for the comparison value of a KPI visual.

" + } } }, "traits": { @@ -25605,6 +25657,18 @@ "traits": { "smithy.api#documentation": "

The options that determine the secondary value font configuration.

" } + }, + "Sparkline": { + "target": "com.amazonaws.quicksight#KPISparklineOptions", + "traits": { + "smithy.api#documentation": "

The options that determine the visibility, color, type, and tooltip visibility of the sparkline of a KPI visual.

" + } + }, + "VisualLayoutOptions": { + "target": "com.amazonaws.quicksight#KPIVisualLayoutOptions", + "traits": { + "smithy.api#documentation": "

The options that determine the layout a KPI visual.

" + } } }, "traits": { @@ -25659,6 +25723,56 @@ "smithy.api#documentation": "

The sort configuration of a KPI visual.

" } }, + "com.amazonaws.quicksight#KPISparklineOptions": { + "type": "structure", + "members": { + "Visibility": { + "target": "com.amazonaws.quicksight#Visibility", + "traits": { + "smithy.api#documentation": "

The visibility of the sparkline.

" + } + }, + "Type": { + "target": "com.amazonaws.quicksight#KPISparklineType", + "traits": { + "smithy.api#documentation": "

The type of the sparkline.

", + "smithy.api#required": {} + } + }, + "Color": { + "target": "com.amazonaws.quicksight#HexColor", + "traits": { + "smithy.api#documentation": "

The color of the sparkline.

" + } + }, + "TooltipVisibility": { + "target": "com.amazonaws.quicksight#Visibility", + "traits": { + "smithy.api#documentation": "

The tooltip visibility of the sparkline.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The options that determine the visibility, color, type, and tooltip visibility of the sparkline of a KPI visual.

" + } + }, + "com.amazonaws.quicksight#KPISparklineType": { + "type": "enum", + "members": { + "LINE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LINE" + } + }, + "AREA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AREA" + } + } + } + }, "com.amazonaws.quicksight#KPIVisual": { "type": "structure", "members": { @@ -25710,6 +25824,52 @@ "smithy.api#documentation": "

A key performance indicator (KPI).

\n

For more information, see Using KPIs in the Amazon QuickSight User Guide.

" } }, + "com.amazonaws.quicksight#KPIVisualLayoutOptions": { + "type": "structure", + "members": { + "StandardLayout": { + "target": "com.amazonaws.quicksight#KPIVisualStandardLayout", + "traits": { + "smithy.api#documentation": "

The standard layout of the KPI visual.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The options that determine the layout a KPI visual.

" + } + }, + "com.amazonaws.quicksight#KPIVisualStandardLayout": { + "type": "structure", + "members": { + "Type": { + "target": "com.amazonaws.quicksight#KPIVisualStandardLayoutType", + "traits": { + "smithy.api#documentation": "

The standard layout type.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The standard layout of the KPI visual.

" + } + }, + "com.amazonaws.quicksight#KPIVisualStandardLayoutType": { + "type": "enum", + "members": { + "CLASSIC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLASSIC" + } + }, + "VERTICAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VERTICAL" + } + } + } + }, "com.amazonaws.quicksight#LabelOptions": { "type": "structure", "members": {