diff --git a/.changelog/32965b341d1a4174b9c5dfbfed7f374e.json b/.changelog/32965b341d1a4174b9c5dfbfed7f374e.json new file mode 100644 index 00000000000..f547309022a --- /dev/null +++ b/.changelog/32965b341d1a4174b9c5dfbfed7f374e.json @@ -0,0 +1,168 @@ +{ + "id": "32965b34-1d1a-4174-b9c5-dfbfed7f374e", + "type": "announcement", + "description": "[BREAKFIX] Change in MaxResults datatype from value to pointer type in cognito-sync service.", + "modules": [ + "service/accessanalyzer", + "service/acm", + "service/amplify", + "service/apigatewaymanagementapi", + "service/appconfig", + "service/appconfigdata", + "service/appfabric", + "service/appintegrations", + "service/applicationcostprofiler", + "service/appmesh", + "service/arczonalshift", + "service/autoscalingplans", + "service/backupgateway", + "service/backupstorage", + "service/braket", + "service/chimesdkvoice", + "service/clouddirectory", + "service/cloudhsmv2", + "service/cloudsearch", + "service/cloudsearchdomain", + "service/cloudtraildata", + "service/codebuild", + "service/codedeploy", + "service/codeguruprofiler", + "service/codegurureviewer", + "service/codegurusecurity", + "service/codestar", + "service/codestarnotifications", + "service/cognitoidentity", + "service/cognitosync", + "service/connectcases", + "service/connectcontactlens", + "service/controltower", + "service/databrew", + "service/dataexchange", + "service/datapipeline", + "service/dax", + "service/devicefarm", + "service/docdbelastic", + "service/ec2instanceconnect", + "service/ecrpublic", + "service/elasticbeanstalk", + "service/elasticloadbalancing", + "service/elastictranscoder", + "service/evidently", + "service/finspacedata", + "service/fis", + "service/forecast", + "service/forecastquery", + "service/gamesparks", + "service/glacier", + "service/greengrass", + "service/greengrassv2", + "service/honeycode", + "service/inspector", + "service/iot1clickdevicesservice", + "service/iot1clickprojects", + "service/iotanalytics", + "service/iotevents", + "service/ioteventsdata", + "service/iotfleethub", + "service/iotjobsdataplane", + "service/iotroborunner", + "service/iotsecuretunneling", + "service/iotthingsgraph", + "service/ivschat", + "service/kendraranking", + "service/kinesis", + "service/kinesisanalytics", + "service/kinesisvideoarchivedmedia", + "service/kinesisvideomedia", + "service/kinesisvideosignaling", + "service/kinesisvideowebrtcstorage", + "service/lexmodelbuildingservice", + "service/lexruntimeservice", + "service/lexruntimev2", + "service/licensemanager", + "service/licensemanagerlinuxsubscriptions", + "service/licensemanagerusersubscriptions", + "service/lookoutmetrics", + "service/lookoutvision", + "service/machinelearning", + "service/macie", + "service/marketplacecommerceanalytics", + "service/marketplaceentitlementservice", + "service/marketplacemetering", + "service/mediapackagev2", + "service/mediapackagevod", + "service/mediastore", + "service/mediastoredata", + "service/medicalimaging", + "service/migrationhub", + "service/migrationhubconfig", + "service/migrationhuborchestrator", + "service/migrationhubstrategy", + "service/mobile", + "service/mturk", + "service/neptune", + "service/networkmanager", + "service/nimble", + "service/oam", + "service/opensearchserverless", + "service/opsworks", + "service/opsworkscm", + "service/osis", + "service/panorama", + "service/paymentcryptography", + "service/personalizeevents", + "service/personalizeruntime", + "service/pinpointemail", + "service/pinpointsmsvoice", + "service/pinpointsmsvoicev2", + "service/pipes", + "service/qldbsession", + "service/rbin", + "service/rdsdata", + "service/redshiftserverless", + "service/resourceexplorer2", + "service/resourcegroups", + "service/resourcegroupstaggingapi", + "service/robomaker", + "service/route53recoverycluster", + "service/route53recoverycontrolconfig", + "service/route53recoveryreadiness", + "service/route53resolver", + "service/rum", + "service/s3outposts", + "service/sagemakera2iruntime", + "service/sagemakeredge", + "service/sagemakergeospatial", + "service/sagemakermetrics", + "service/scheduler", + "service/schemas", + "service/serverlessapplicationrepository", + "service/servicecatalogappregistry", + "service/servicediscovery", + "service/shield", + "service/sms", + "service/snowdevicemanagement", + "service/sns", + "service/ssmcontacts", + "service/ssmincidents", + "service/ssmsap", + "service/sso", + "service/ssooidc", + "service/storagegateway", + "service/sts", + "service/supportapp", + "service/synthetics", + "service/textract", + "service/timestreamquery", + "service/timestreamwrite", + "service/tnb", + "service/transcribestreaming", + "service/voiceid", + "service/waf", + "service/wafregional", + "service/workdocs", + "service/worklink", + "service/workmail", + "service/workmailmessageflow" + ] +} \ No newline at end of file diff --git a/.changelog/fde5d941436a47b99fab533c5bf178e4.json b/.changelog/fde5d941436a47b99fab533c5bf178e4.json new file mode 100644 index 00000000000..261b5c3bf6f --- /dev/null +++ b/.changelog/fde5d941436a47b99fab533c5bf178e4.json @@ -0,0 +1,169 @@ +{ + "id": "fde5d941-436a-47b9-9fab-533c5bf178e4", + "type": "feature", + "collapse": true, + "description": "Adds several endpoint ruleset changes across all models: smaller rulesets, removed non-unique regional endpoints, fixes FIPS and DualStack endpoints, and make region not required in SDK::Endpoint. Additional breakfix to cognito-sync field.", + "modules": [ + "service/accessanalyzer", + "service/acm", + "service/amplify", + "service/apigatewaymanagementapi", + "service/appconfig", + "service/appconfigdata", + "service/appfabric", + "service/appintegrations", + "service/applicationcostprofiler", + "service/appmesh", + "service/arczonalshift", + "service/autoscalingplans", + "service/backupgateway", + "service/backupstorage", + "service/braket", + "service/chimesdkvoice", + "service/clouddirectory", + "service/cloudhsmv2", + "service/cloudsearch", + "service/cloudsearchdomain", + "service/cloudtraildata", + "service/codebuild", + "service/codedeploy", + "service/codeguruprofiler", + "service/codegurureviewer", + "service/codegurusecurity", + "service/codestar", + "service/codestarnotifications", + "service/cognitoidentity", + "service/cognitosync", + "service/connectcases", + "service/connectcontactlens", + "service/controltower", + "service/databrew", + "service/dataexchange", + "service/datapipeline", + "service/dax", + "service/devicefarm", + "service/docdbelastic", + "service/ec2instanceconnect", + "service/ecrpublic", + "service/elasticbeanstalk", + "service/elasticloadbalancing", + "service/elastictranscoder", + "service/evidently", + "service/finspacedata", + "service/fis", + "service/forecast", + "service/forecastquery", + "service/gamesparks", + "service/glacier", + "service/greengrass", + "service/greengrassv2", + "service/honeycode", + "service/inspector", + "service/iot1clickdevicesservice", + "service/iot1clickprojects", + "service/iotanalytics", + "service/iotevents", + "service/ioteventsdata", + "service/iotfleethub", + "service/iotjobsdataplane", + "service/iotroborunner", + "service/iotsecuretunneling", + "service/iotthingsgraph", + "service/ivschat", + "service/kendraranking", + "service/kinesis", + "service/kinesisanalytics", + "service/kinesisvideoarchivedmedia", + "service/kinesisvideomedia", + "service/kinesisvideosignaling", + "service/kinesisvideowebrtcstorage", + "service/lexmodelbuildingservice", + "service/lexruntimeservice", + "service/lexruntimev2", + "service/licensemanager", + "service/licensemanagerlinuxsubscriptions", + "service/licensemanagerusersubscriptions", + "service/lookoutmetrics", + "service/lookoutvision", + "service/machinelearning", + "service/macie", + "service/marketplacecommerceanalytics", + "service/marketplaceentitlementservice", + "service/marketplacemetering", + "service/mediapackagev2", + "service/mediapackagevod", + "service/mediastore", + "service/mediastoredata", + "service/medicalimaging", + "service/migrationhub", + "service/migrationhubconfig", + "service/migrationhuborchestrator", + "service/migrationhubstrategy", + "service/mobile", + "service/mturk", + "service/neptune", + "service/networkmanager", + "service/nimble", + "service/oam", + "service/opensearchserverless", + "service/opsworks", + "service/opsworkscm", + "service/osis", + "service/panorama", + "service/paymentcryptography", + "service/personalizeevents", + "service/personalizeruntime", + "service/pinpointemail", + "service/pinpointsmsvoice", + "service/pinpointsmsvoicev2", + "service/pipes", + "service/qldbsession", + "service/rbin", + "service/rdsdata", + "service/redshiftserverless", + "service/resourceexplorer2", + "service/resourcegroups", + "service/resourcegroupstaggingapi", + "service/robomaker", + "service/route53recoverycluster", + "service/route53recoverycontrolconfig", + "service/route53recoveryreadiness", + "service/route53resolver", + "service/rum", + "service/s3outposts", + "service/sagemakera2iruntime", + "service/sagemakeredge", + "service/sagemakergeospatial", + "service/sagemakermetrics", + "service/scheduler", + "service/schemas", + "service/serverlessapplicationrepository", + "service/servicecatalogappregistry", + "service/servicediscovery", + "service/shield", + "service/sms", + "service/snowdevicemanagement", + "service/sns", + "service/ssmcontacts", + "service/ssmincidents", + "service/ssmsap", + "service/sso", + "service/ssooidc", + "service/storagegateway", + "service/sts", + "service/supportapp", + "service/synthetics", + "service/textract", + "service/timestreamquery", + "service/timestreamwrite", + "service/tnb", + "service/transcribestreaming", + "service/voiceid", + "service/waf", + "service/wafregional", + "service/workdocs", + "service/worklink", + "service/workmail", + "service/workmailmessageflow" + ] +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/accessanalyzer.json b/codegen/sdk-codegen/aws-models/accessanalyzer.json index 3ba1ae5cedd..64d9d8f3abb 100644 --- a/codegen/sdk-codegen/aws-models/accessanalyzer.json +++ b/codegen/sdk-codegen/aws-models/accessanalyzer.json @@ -146,52 +146,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", @@ -199,13 +203,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -215,175 +228,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://access-analyzer-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-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://access-analyzer.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "ref": "PartitionResult" }, - { - "conditions": [], - "endpoint": { - "url": "https://access-analyzer-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://access-analyzer-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -392,110 +313,115 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws-us-gov", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsDualStack" + "name" ] } ] } ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://access-analyzer.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "endpoint": { + "url": "https://access-analyzer.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" + "endpoint": { + "url": "https://access-analyzer-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { "conditions": [], - "type": "tree", - "rules": [ + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "us-gov-east-1" - ] - } - ], - "endpoint": { - "url": "https://access-analyzer.us-gov-east-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "ref": "UseDualStack" }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ + true, { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "ref": "Region" + "ref": "PartitionResult" }, - "us-gov-west-1" + "supportsDualStack" ] } - ], - "endpoint": { - "url": "https://access-analyzer.us-gov-west-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [], "endpoint": { - "url": "https://access-analyzer.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://access-analyzer.{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://access-analyzer.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -510,8 +436,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -523,8 +449,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -536,8 +462,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -549,8 +475,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -562,8 +488,8 @@ }, "params": { "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -575,8 +501,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -588,8 +514,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -601,8 +527,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -614,8 +540,8 @@ }, "params": { "Region": "ap-southeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -627,8 +553,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -640,8 +566,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -653,8 +579,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -666,8 +592,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -679,8 +605,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -692,8 +618,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -705,8 +631,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -718,8 +644,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -731,8 +657,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -744,8 +670,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -757,8 +683,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -770,8 +696,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -783,8 +709,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -796,8 +722,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -809,8 +735,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -822,8 +748,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -835,8 +761,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -848,8 +774,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -861,8 +787,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -874,8 +800,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -887,8 +813,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -900,8 +826,8 @@ }, "params": { "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -913,8 +839,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -926,8 +852,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -939,8 +865,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -952,8 +878,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -965,8 +891,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -978,8 +904,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -991,8 +917,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1004,8 +930,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1017,8 +943,19 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "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 } }, { @@ -1030,8 +967,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 } }, { @@ -1043,8 +991,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -1056,8 +1015,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 } }, { @@ -1069,8 +1039,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1082,8 +1052,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1095,8 +1065,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1107,8 +1077,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1119,10 +1089,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" @@ -6217,4 +6193,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/account.json b/codegen/sdk-codegen/aws-models/account.json index 79c1639b8f2..814604516d5 100644 --- a/codegen/sdk-codegen/aws-models/account.json +++ b/codegen/sdk-codegen/aws-models/account.json @@ -112,52 +112,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", @@ -165,342 +169,302 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "stringEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] + "ref": "PartitionResult" }, - "aws" + "name" ] }, + "aws" + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - false - ] + "ref": "UseFIPS" + }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" }, + false + ] + } + ], + "endpoint": { + "url": "https://account.us-east-1.amazonaws.com", + "properties": { + "authSchemes": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - false - ] + "name": "sigv4", + "signingName": "account", + "signingRegion": "us-east-1" } - ], - "endpoint": { - "url": "https://account.us-east-1.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "account", - "signingRegion": "us-east-1" - } - ] - }, - "headers": {} - }, - "type": "endpoint" + ] }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ { - "conditions": [ + "fn": "stringEquals", + "argv": [ { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] + "ref": "PartitionResult" }, - "aws-cn" + "name" ] }, + "aws-cn" + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - false - ] + "ref": "UseFIPS" }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - false - ] + "ref": "UseDualStack" + }, + false + ] + } + ], + "endpoint": { + "url": "https://account.cn-northwest-1.amazonaws.com.cn", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "account", + "signingRegion": "cn-northwest-1" } - ], - "endpoint": { - "url": "https://account.cn-northwest-1.amazonaws.com.cn", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "account", - "signingRegion": "cn-northwest-1" - } - ] + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" }, - "headers": {} - }, - "type": "endpoint" + true + ] }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://account-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://account-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": [ { "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": [], - "endpoint": { - "url": "https://account-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://account-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://account.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://account.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://account.{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://account.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/acm-pca.json b/codegen/sdk-codegen/aws-models/acm-pca.json index 5fce384663b..a5caaadcbc9 100644 --- a/codegen/sdk-codegen/aws-models/acm-pca.json +++ b/codegen/sdk-codegen/aws-models/acm-pca.json @@ -177,52 +177,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", @@ -230,13 +234,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -246,92 +259,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://acm-pca-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://acm-pca-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -340,155 +344,115 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws-us-gov", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsFIPS" + "name" ] } ] } ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://acm-pca.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [], - "endpoint": { - "url": "https://acm-pca-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "endpoint": { + "url": "https://acm-pca.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://acm-pca-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://acm-pca.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://acm-pca.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://acm-pca.{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://acm-pca.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/acm.json b/codegen/sdk-codegen/aws-models/acm.json index 2fe4a676891..43a1fffc0d4 100644 --- a/codegen/sdk-codegen/aws-models/acm.json +++ b/codegen/sdk-codegen/aws-models/acm.json @@ -98,6 +98,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.acm#Arn": { @@ -439,52 +442,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", @@ -492,13 +499,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -508,175 +524,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://acm-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-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://acm.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "ref": "PartitionResult" }, - { - "conditions": [], - "endpoint": { - "url": "https://acm-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://acm-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -685,110 +609,115 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws-us-gov", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsDualStack" + "name" ] } ] } ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://acm.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "endpoint": { + "url": "https://acm.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" + "endpoint": { + "url": "https://acm-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { "conditions": [], - "type": "tree", - "rules": [ + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "us-gov-east-1" - ] - } - ], - "endpoint": { - "url": "https://acm.us-gov-east-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "ref": "UseDualStack" }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ + true, { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "ref": "Region" + "ref": "PartitionResult" }, - "us-gov-west-1" + "supportsDualStack" ] } - ], - "endpoint": { - "url": "https://acm.us-gov-west-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [], "endpoint": { - "url": "https://acm.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://acm.{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://acm.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -803,8 +732,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -816,8 +745,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -829,8 +758,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -842,8 +771,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -855,8 +784,8 @@ }, "params": { "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -868,8 +797,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -881,8 +810,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -894,8 +823,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -907,8 +836,8 @@ }, "params": { "Region": "ap-southeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -920,8 +849,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -933,8 +862,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -946,8 +875,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -959,8 +888,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -972,8 +901,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -985,8 +914,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -998,8 +927,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1011,8 +940,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1024,8 +953,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1037,8 +966,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1050,8 +979,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1063,8 +992,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1076,8 +1005,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1089,8 +1018,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1102,8 +1031,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1115,8 +1044,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1128,8 +1057,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1141,8 +1070,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1154,8 +1083,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1167,8 +1096,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1180,8 +1109,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1193,8 +1122,8 @@ }, "params": { "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1206,8 +1135,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1219,8 +1148,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1232,8 +1161,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1245,8 +1174,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1258,8 +1187,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1271,8 +1200,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1284,8 +1213,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1297,8 +1226,19 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "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 } }, { @@ -1310,8 +1250,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 } }, { @@ -1323,8 +1274,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -1336,8 +1298,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 } }, { @@ -1349,8 +1322,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1362,8 +1335,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1375,8 +1348,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1387,8 +1360,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1399,10 +1372,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" @@ -1692,6 +1671,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.acm#DescribeCertificate": { @@ -1767,6 +1749,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.acm#DescribeCertificateResponse": { @@ -1778,6 +1763,9 @@ "smithy.api#documentation": "
Metadata about an ACM certificate.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.acm#DomainList": { @@ -1970,6 +1958,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.acm#ExportCertificateResponse": { @@ -1993,6 +1984,9 @@ "smithy.api#documentation": "The encrypted private key associated with the public key in the certificate. The key is\n output in PKCS #8 format and is base64 PEM-encoded.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.acm#ExtendedKeyUsage": { @@ -2272,6 +2266,9 @@ "smithy.api#documentation": "Expiration events configuration options associated with the Amazon Web Services account.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.acm#GetCertificate": { @@ -2307,6 +2304,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.acm#GetCertificateResponse": { @@ -2324,6 +2324,9 @@ "smithy.api#documentation": "Certificates forming the requested certificate's chain of trust. The chain consists of the\n certificate of the issuing CA and the intermediate certificates of any other subordinate CAs.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.acm#IdempotencyToken": { @@ -2406,6 +2409,9 @@ "smithy.api#documentation": "One or more resource tags to associate with the imported certificate.
\nNote: You cannot apply tags when reimporting a certificate.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.acm#ImportCertificateResponse": { @@ -2417,6 +2423,9 @@ "smithy.api#documentation": "The Amazon Resource Name\n (ARN) of the imported certificate.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.acm#InUseList": { @@ -2730,6 +2739,9 @@ "smithy.api#documentation": "Specifies the order of sorted results. If you specify SortOrder
, you must\n also specify SortBy
.
A list of ACM certificates.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.acm#ListTagsForCertificate": { @@ -2779,6 +2794,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.acm#ListTagsForCertificateResponse": { @@ -2790,6 +2808,9 @@ "smithy.api#documentation": "The key-value pairs that define the applied tags.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.acm#MaxItems": { @@ -2905,6 +2926,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.acm#RecordType": { @@ -2967,6 +2991,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.acm#RenewCertificate": { @@ -2999,6 +3026,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.acm#RenewalEligibility": { @@ -3175,6 +3205,9 @@ "smithy.api#documentation": "Specifies the algorithm of the public and private key pair that your certificate uses to\n encrypt data. RSA is the default key algorithm for ACM certificates. Elliptic Curve Digital\n Signature Algorithm (ECDSA) keys are smaller, offering security comparable to RSA keys but\n with greater computing efficiency. However, ECDSA is not supported by all network clients.\n Some AWS services may require RSA keys, or only support ECDSA keys of a particular size, while\n others allow the use of either RSA and ECDSA keys to ensure that compatibility is not broken.\n Check the requirements for the AWS service where you plan to deploy your certificate.
\nDefault: RSA_2048
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.acm#RequestCertificateResponse": { @@ -3186,6 +3219,9 @@ "smithy.api#documentation": "String that contains the ARN of the issued certificate. This must be of the form:
\n\n arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012
\n
This is for internal use.
\nThe Amplify service uses this parameter to specify the authentication protocol to use to access\n the Git repository for an Amplify app. Amplify specifies TOKEN
for a GitHub\n repository, SIGV4
for an Amazon Web Services CodeCommit repository, and\n SSH
for GitLab and Bitbucket repositories.
This is for internal use.
\nThe Amplify service uses this parameter to specify the authentication protocol to use to access\n the Git repository for an Amplify app. Amplify specifies TOKEN
for a GitHub\n repository, SIGV4
for an Amazon Web Services CodeCommit repository, and\n SSH
for GitLab and Bitbucket repositories.
Enables performance mode for the branch.
\nPerformance mode optimizes for faster hosting performance by keeping content cached at\n the edge for a longer interval. When performance mode is enabled, hosting configuration\n or code changes can take up to 10 minutes to roll out.
" + "smithy.api#documentation": "Enables performance mode for the branch.
\nPerformance mode optimizes for faster hosting performance by keeping content cached at\n the edge for a longer interval. When performance mode is enabled, hosting configuration\n or code changes can take up to 10 minutes to roll out.
" } }, "buildSpec": { @@ -1616,7 +1630,7 @@ "enablePerformanceMode": { "target": "com.amazonaws.amplify#EnablePerformanceMode", "traits": { - "smithy.api#documentation": "Enables performance mode for the branch.
\nPerformance mode optimizes for faster hosting performance by keeping content cached at\n the edge for a longer interval. When performance mode is enabled, hosting configuration\n or code changes can take up to 10 minutes to roll out.
" + "smithy.api#documentation": "Enables performance mode for the branch.
\nPerformance mode optimizes for faster hosting performance by keeping content cached at\n the edge for a longer interval. When performance mode is enabled, hosting configuration\n or code changes can take up to 10 minutes to roll out.
" } }, "thumbnailUrl": { @@ -1849,13 +1863,13 @@ "oauthToken": { "target": "com.amazonaws.amplify#OauthToken", "traits": { - "smithy.api#documentation": "The OAuth token for a third-party source control system for an Amplify app. The OAuth\n token is used to create a webhook and a read-only deploy key using SSH cloning. The\n OAuth token is not stored.
\nUse oauthToken
for repository providers other than GitHub, such as\n Bitbucket or CodeCommit. To authorize access to GitHub as your repository provider, use\n accessToken
.
You must specify either oauthToken
or accessToken
when you\n create a new app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work\n with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub\n App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the\n Amplify User Guide .
" + "smithy.api#documentation": "The OAuth token for a third-party source control system for an Amplify app. The OAuth\n token is used to create a webhook and a read-only deploy key using SSH cloning. The\n OAuth token is not stored.
\nUse oauthToken
for repository providers other than GitHub, such as\n Bitbucket or CodeCommit. To authorize access to GitHub as your repository provider, use\n accessToken
.
You must specify either oauthToken
or accessToken
when you\n create a new app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work\n with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub\n App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the\n Amplify User Guide .
" } }, "accessToken": { "target": "com.amazonaws.amplify#AccessToken", "traits": { - "smithy.api#documentation": "The personal access token for a GitHub repository for an Amplify app. The personal\n access token is used to authorize access to a GitHub repository using the Amplify GitHub\n App. The token is not stored.
\nUse accessToken
for GitHub repositories only. To authorize access to a\n repository provider such as Bitbucket or CodeCommit, use oauthToken
.
You must specify either accessToken
or oauthToken
when you\n create a new app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work\n with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub\n App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the\n Amplify User Guide .
" + "smithy.api#documentation": "The personal access token for a GitHub repository for an Amplify app. The personal\n access token is used to authorize access to a GitHub repository using the Amplify GitHub\n App. The token is not stored.
\nUse accessToken
for GitHub repositories only. To authorize access to a\n repository provider such as Bitbucket or CodeCommit, use oauthToken
.
You must specify either accessToken
or oauthToken
when you\n create a new app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work\n with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub\n App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the\n Amplify User Guide .
" } }, "environmentVariables": { @@ -1932,7 +1946,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure used to create apps in Amplify.
" + "smithy.api#documentation": "The request structure used to create apps in Amplify.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#CreateAppResult": { @@ -1944,6 +1959,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.amplify#CreateBackendEnvironment": { @@ -2012,7 +2030,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the backend environment create request.
" + "smithy.api#documentation": "The request structure for the backend environment create request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#CreateBackendEnvironmentResult": { @@ -2027,7 +2046,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for the create backend environment request.
" + "smithy.api#documentation": "The result structure for the create backend environment request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#CreateBranch": { @@ -2136,7 +2156,7 @@ "enablePerformanceMode": { "target": "com.amazonaws.amplify#EnablePerformanceMode", "traits": { - "smithy.api#documentation": "Enables performance mode for the branch.
\nPerformance mode optimizes for faster hosting performance by keeping content cached at\n the edge for a longer interval. When performance mode is enabled, hosting configuration\n or code changes can take up to 10 minutes to roll out.
" + "smithy.api#documentation": "Enables performance mode for the branch.
\nPerformance mode optimizes for faster hosting performance by keeping content cached at\n the edge for a longer interval. When performance mode is enabled, hosting configuration\n or code changes can take up to 10 minutes to roll out.
" } }, "tags": { @@ -2183,7 +2203,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the create branch request.
" + "smithy.api#documentation": "The request structure for the create branch request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#CreateBranchResult": { @@ -2198,7 +2219,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for create branch request.
" + "smithy.api#documentation": "The result structure for create branch request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#CreateDeployment": { @@ -2259,7 +2281,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the create a new deployment request.
" + "smithy.api#documentation": "The request structure for the create a new deployment request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#CreateDeploymentResult": { @@ -2287,7 +2310,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for the create a new deployment request.
" + "smithy.api#documentation": "The result structure for the create a new deployment request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#CreateDomainAssociation": { @@ -2372,7 +2396,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the create domain association request.
" + "smithy.api#documentation": "The request structure for the create domain association request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#CreateDomainAssociationResult": { @@ -2387,7 +2412,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for the create domain association request.
" + "smithy.api#documentation": "The result structure for the create domain association request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#CreateTime": { @@ -2456,7 +2482,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the create webhook request.
" + "smithy.api#documentation": "The request structure for the create webhook request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#CreateWebhookResult": { @@ -2471,7 +2498,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for the create webhook request.
" + "smithy.api#documentation": "The result structure for the create webhook request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#CustomDomain": { @@ -2525,7 +2553,7 @@ "status": { "target": "com.amazonaws.amplify#Status", "traits": { - "smithy.api#documentation": "The status code for a URL rewrite or redirect rule.
\n\nRepresents a 200 rewrite rule.
\nRepresents a 301 (moved pemanently) redirect rule. This and all future\n requests should be directed to the target URL.
\nRepresents a 302 temporary redirect rule.
\nRepresents a 404 redirect rule.
\nRepresents a 404 rewrite rule.
\nThe status code for a URL rewrite or redirect rule.
\nRepresents a 200 rewrite rule.
\nRepresents a 301 (moved pemanently) redirect rule. This and all future\n requests should be directed to the target URL.
\nRepresents a 302 temporary redirect rule.
\nRepresents a 404 redirect rule.
\nRepresents a 404 rewrite rule.
\nDescribes the request structure for the delete app request.
" + "smithy.api#documentation": "Describes the request structure for the delete app request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#DeleteAppResult": { @@ -2624,7 +2653,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for the delete app request.
" + "smithy.api#documentation": "The result structure for the delete app request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#DeleteBackendEnvironment": { @@ -2682,7 +2712,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the delete backend environment request.
" + "smithy.api#documentation": "The request structure for the delete backend environment request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#DeleteBackendEnvironmentResult": { @@ -2697,7 +2728,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure of the delete backend environment result.
" + "smithy.api#documentation": "The result structure of the delete backend environment result.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#DeleteBranch": { @@ -2755,7 +2787,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the delete branch request.
" + "smithy.api#documentation": "The request structure for the delete branch request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#DeleteBranchResult": { @@ -2770,7 +2803,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for the delete branch request.
" + "smithy.api#documentation": "The result structure for the delete branch request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#DeleteDomainAssociation": { @@ -2828,7 +2862,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the delete domain association request.
" + "smithy.api#documentation": "The request structure for the delete domain association request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#DeleteDomainAssociationResult": { @@ -2840,6 +2875,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.amplify#DeleteJob": { @@ -2905,7 +2943,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the delete job request.
" + "smithy.api#documentation": "The request structure for the delete job request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#DeleteJobResult": { @@ -2919,7 +2958,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for the delete job request.
" + "smithy.api#documentation": "The result structure for the delete job request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#DeleteWebhook": { @@ -2969,7 +3009,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the delete webhook request.
" + "smithy.api#documentation": "The request structure for the delete webhook request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#DeleteWebhookResult": { @@ -2984,7 +3025,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for the delete webhook request.
" + "smithy.api#documentation": "The result structure for the delete webhook request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#DependentServiceFailureException": { @@ -3371,7 +3413,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the generate access logs request.
" + "smithy.api#documentation": "The request structure for the generate access logs request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#GenerateAccessLogsResult": { @@ -3385,7 +3428,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for the generate access logs request.
" + "smithy.api#documentation": "The result structure for the generate access logs request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#GetApp": { @@ -3432,7 +3476,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the get app request.
" + "smithy.api#documentation": "The request structure for the get app request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#GetAppResult": { @@ -3444,6 +3489,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.amplify#GetArtifactUrl": { @@ -3493,7 +3541,8 @@ } }, "traits": { - "smithy.api#documentation": "Returns the request structure for the get artifact request.
" + "smithy.api#documentation": "Returns the request structure for the get artifact request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#GetArtifactUrlResult": { @@ -3515,7 +3564,8 @@ } }, "traits": { - "smithy.api#documentation": "Returns the result structure for the get artifact request.
" + "smithy.api#documentation": "Returns the result structure for the get artifact request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#GetBackendEnvironment": { @@ -3570,7 +3620,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the get backend environment request.
" + "smithy.api#documentation": "The request structure for the get backend environment request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#GetBackendEnvironmentResult": { @@ -3585,7 +3636,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for the get backend environment result.
" + "smithy.api#documentation": "The result structure for the get backend environment result.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#GetBranch": { @@ -3640,7 +3692,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the get branch request.
" + "smithy.api#documentation": "The request structure for the get branch request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#GetBranchResult": { @@ -3652,6 +3705,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.amplify#GetDomainAssociation": { @@ -3706,7 +3762,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the get domain association request.
" + "smithy.api#documentation": "The request structure for the get domain association request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#GetDomainAssociationResult": { @@ -3721,7 +3778,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for the get domain association request.
" + "smithy.api#documentation": "The result structure for the get domain association request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#GetJob": { @@ -3787,7 +3845,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the get job request.
" + "smithy.api#documentation": "The request structure for the get job request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#GetJobResult": { @@ -3799,6 +3858,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.amplify#GetWebhook": { @@ -3848,7 +3910,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the get webhook request.
" + "smithy.api#documentation": "The request structure for the get webhook request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#GetWebhookResult": { @@ -3863,7 +3926,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for the get webhook request.
" + "smithy.api#documentation": "The result structure for the get webhook request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#InternalFailureException": { @@ -4152,7 +4216,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the list apps request.
" + "smithy.api#documentation": "The request structure for the list apps request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#ListAppsResult": { @@ -4173,7 +4238,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for an Amplify app list request.
" + "smithy.api#documentation": "The result structure for an Amplify app list request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#ListArtifacts": { @@ -4251,7 +4317,8 @@ } }, "traits": { - "smithy.api#documentation": "Describes the request structure for the list artifacts request.
" + "smithy.api#documentation": "Describes the request structure for the list artifacts request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#ListArtifactsResult": { @@ -4272,7 +4339,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for the list artifacts request.
" + "smithy.api#documentation": "The result structure for the list artifacts request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#ListBackendEnvironments": { @@ -4338,7 +4406,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the list backend environments request.
" + "smithy.api#documentation": "The request structure for the list backend environments request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#ListBackendEnvironmentsResult": { @@ -4359,7 +4428,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for the list backend environments result.
" + "smithy.api#documentation": "The result structure for the list backend environments result.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#ListBranches": { @@ -4418,7 +4488,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the list branches request.
" + "smithy.api#documentation": "The request structure for the list branches request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#ListBranchesResult": { @@ -4439,7 +4510,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for the list branches request.
" + "smithy.api#documentation": "The result structure for the list branches request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#ListDomainAssociations": { @@ -4498,7 +4570,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the list domain associations request.
" + "smithy.api#documentation": "The request structure for the list domain associations request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#ListDomainAssociationsResult": { @@ -4519,7 +4592,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for the list domain association request.
" + "smithy.api#documentation": "The result structure for the list domain association request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#ListJobs": { @@ -4589,7 +4663,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the list jobs request.
" + "smithy.api#documentation": "The request structure for the list jobs request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#ListJobsResult": { @@ -4610,7 +4685,8 @@ } }, "traits": { - "smithy.api#documentation": "The maximum number of records to list in a single response.
" + "smithy.api#documentation": "The maximum number of records to list in a single response.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#ListTagsForResource": { @@ -4654,7 +4730,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure to use to list tags for a resource.
" + "smithy.api#documentation": "The request structure to use to list tags for a resource.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#ListTagsForResourceResponse": { @@ -4668,7 +4745,8 @@ } }, "traits": { - "smithy.api#documentation": "The response for the list tags for resource request.
" + "smithy.api#documentation": "The response for the list tags for resource request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#ListWebhooks": { @@ -4730,7 +4808,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the list webhooks request.
" + "smithy.api#documentation": "The request structure for the list webhooks request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#ListWebhooksResult": { @@ -4751,7 +4830,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for the list webhooks request.
" + "smithy.api#documentation": "The result structure for the list webhooks request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#LogUrl": { @@ -5108,7 +5188,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the start a deployment request.
" + "smithy.api#documentation": "The request structure for the start a deployment request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#StartDeploymentResult": { @@ -5123,7 +5204,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for the start a deployment request.
" + "smithy.api#documentation": "The result structure for the start a deployment request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#StartJob": { @@ -5218,7 +5300,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the start job request.
" + "smithy.api#documentation": "The request structure for the start job request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#StartJobResult": { @@ -5233,7 +5316,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for the run job request.
" + "smithy.api#documentation": "The result structure for the run job request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#StartTime": { @@ -5414,7 +5498,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the stop job request.
" + "smithy.api#documentation": "The request structure for the stop job request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#StopJobResult": { @@ -5429,7 +5514,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for the stop job request.
" + "smithy.api#documentation": "The result structure for the stop job request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#SubDomain": { @@ -5603,14 +5689,16 @@ } }, "traits": { - "smithy.api#documentation": "The request structure to tag a resource with a tag key and value.
" + "smithy.api#documentation": "The request structure to tag a resource with a tag key and value.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#TagResourceResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "The response for the tag resource request.
" + "smithy.api#documentation": "The response for the tag resource request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#TagValue": { @@ -5740,14 +5828,16 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the untag resource request.
" + "smithy.api#documentation": "The request structure for the untag resource request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#UntagResourceResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "The response for the untag resource request.
" + "smithy.api#documentation": "The response for the untag resource request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#UpdateApp": { @@ -5891,18 +5981,19 @@ "oauthToken": { "target": "com.amazonaws.amplify#OauthToken", "traits": { - "smithy.api#documentation": "The OAuth token for a third-party source control system for an Amplify app. The OAuth\n token is used to create a webhook and a read-only deploy key using SSH cloning. The\n OAuth token is not stored.
\nUse oauthToken
for repository providers other than GitHub, such as\n Bitbucket or CodeCommit.
To authorize access to GitHub as your repository provider, use\n accessToken
.
You must specify either oauthToken
or accessToken
when you\n update an app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work\n with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub\n App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the\n Amplify User Guide .
" + "smithy.api#documentation": "The OAuth token for a third-party source control system for an Amplify app. The OAuth\n token is used to create a webhook and a read-only deploy key using SSH cloning. The\n OAuth token is not stored.
\nUse oauthToken
for repository providers other than GitHub, such as\n Bitbucket or CodeCommit.
To authorize access to GitHub as your repository provider, use\n accessToken
.
You must specify either oauthToken
or accessToken
when you\n update an app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work\n with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub\n App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the\n Amplify User Guide .
" } }, "accessToken": { "target": "com.amazonaws.amplify#AccessToken", "traits": { - "smithy.api#documentation": "The personal access token for a GitHub repository for an Amplify app. The personal\n access token is used to authorize access to a GitHub repository using the Amplify GitHub\n App. The token is not stored.
\nUse accessToken
for GitHub repositories only. To authorize access to a\n repository provider such as Bitbucket or CodeCommit, use oauthToken
.
You must specify either accessToken
or oauthToken
when you\n update an app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work\n with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub\n App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the\n Amplify User Guide .
" + "smithy.api#documentation": "The personal access token for a GitHub repository for an Amplify app. The personal\n access token is used to authorize access to a GitHub repository using the Amplify GitHub\n App. The token is not stored.
\nUse accessToken
for GitHub repositories only. To authorize access to a\n repository provider such as Bitbucket or CodeCommit, use oauthToken
.
You must specify either accessToken
or oauthToken
when you\n update an app.
Existing Amplify apps deployed from a GitHub repository using OAuth continue to work\n with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub\n App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the\n Amplify User Guide .
" } } }, "traits": { - "smithy.api#documentation": "The request structure for the update app request.
" + "smithy.api#documentation": "The request structure for the update app request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#UpdateAppResult": { @@ -5917,7 +6008,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for an Amplify app update request.
" + "smithy.api#documentation": "The result structure for an Amplify app update request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#UpdateBranch": { @@ -6024,7 +6116,7 @@ "enablePerformanceMode": { "target": "com.amazonaws.amplify#EnablePerformanceMode", "traits": { - "smithy.api#documentation": "Enables performance mode for the branch.
\nPerformance mode optimizes for faster hosting performance by keeping content cached at\n the edge for a longer interval. When performance mode is enabled, hosting configuration\n or code changes can take up to 10 minutes to roll out.
" + "smithy.api#documentation": "Enables performance mode for the branch.
\nPerformance mode optimizes for faster hosting performance by keeping content cached at\n the edge for a longer interval. When performance mode is enabled, hosting configuration\n or code changes can take up to 10 minutes to roll out.
" } }, "buildSpec": { @@ -6065,7 +6157,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the update branch request.
" + "smithy.api#documentation": "The request structure for the update branch request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#UpdateBranchResult": { @@ -6080,7 +6173,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for the update branch request.
" + "smithy.api#documentation": "The result structure for the update branch request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#UpdateDomainAssociation": { @@ -6162,7 +6256,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the update domain association request.
" + "smithy.api#documentation": "The request structure for the update domain association request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#UpdateDomainAssociationResult": { @@ -6177,7 +6272,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for the update domain association request.
" + "smithy.api#documentation": "The result structure for the update domain association request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#UpdateTime": { @@ -6242,7 +6338,8 @@ } }, "traits": { - "smithy.api#documentation": "The request structure for the update webhook request.
" + "smithy.api#documentation": "The request structure for the update webhook request.
", + "smithy.api#input": {} } }, "com.amazonaws.amplify#UpdateWebhookResult": { @@ -6257,7 +6354,8 @@ } }, "traits": { - "smithy.api#documentation": "The result structure for the update webhook request.
" + "smithy.api#documentation": "The result structure for the update webhook request.
", + "smithy.api#output": {} } }, "com.amazonaws.amplify#UploadUrl": { diff --git a/codegen/sdk-codegen/aws-models/api-gateway.json b/codegen/sdk-codegen/aws-models/api-gateway.json index 2cecabc523a..944d6b808e1 100644 --- a/codegen/sdk-codegen/aws-models/api-gateway.json +++ b/codegen/sdk-codegen/aws-models/api-gateway.json @@ -739,6 +739,7 @@ "arnNamespace": "apigateway", "cloudFormationName": "ApiGateway", "cloudTrailEventSource": "apigateway.amazonaws.com", + "docId": "apigateway-2015-07-09", "endpointPrefix": "apigateway" }, "aws.auth#sigv4": { diff --git a/codegen/sdk-codegen/aws-models/apigatewaymanagementapi.json b/codegen/sdk-codegen/aws-models/apigatewaymanagementapi.json index b2f9fb22660..02e62e34c39 100644 --- a/codegen/sdk-codegen/aws-models/apigatewaymanagementapi.json +++ b/codegen/sdk-codegen/aws-models/apigatewaymanagementapi.json @@ -117,52 +117,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", @@ -170,13 +174,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -186,224 +199,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://execute-api-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://execute-api-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": [ { "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": [], - "endpoint": { - "url": "https://execute-api-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://execute-api-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://execute-api.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://execute-api.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://execute-api.{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://execute-api.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -418,8 +382,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -431,8 +395,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -444,8 +408,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -457,8 +421,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -470,8 +434,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -483,8 +447,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -496,8 +460,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -509,8 +473,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -522,8 +486,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -535,8 +499,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -548,8 +512,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -561,8 +525,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -574,8 +549,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 } }, { @@ -587,8 +573,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -600,8 +597,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 } }, { @@ -613,8 +621,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -626,8 +634,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -639,8 +647,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -651,8 +659,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -663,10 +671,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" @@ -721,6 +735,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.apigatewaymanagementapi#ForbiddenException": { @@ -770,6 +787,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.apigatewaymanagementapi#GetConnectionResponse": { @@ -795,6 +815,9 @@ "smithy.api#jsonName": "lastActiveAt" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.apigatewaymanagementapi#GoneException": { @@ -902,6 +925,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.apigatewaymanagementapi#__string": { diff --git a/codegen/sdk-codegen/aws-models/apigatewayv2.json b/codegen/sdk-codegen/aws-models/apigatewayv2.json index 69324333bed..d1949818061 100644 --- a/codegen/sdk-codegen/aws-models/apigatewayv2.json +++ b/codegen/sdk-codegen/aws-models/apigatewayv2.json @@ -484,52 +484,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", @@ -537,13 +541,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -553,224 +566,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://apigateway-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://apigateway-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": [ { "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": [], - "endpoint": { - "url": "https://apigateway-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://apigateway-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://apigateway.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://apigateway.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://apigateway.{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://apigateway.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/app-mesh.json b/codegen/sdk-codegen/aws-models/app-mesh.json index 301e46618a1..0f90d11fa5d 100644 --- a/codegen/sdk-codegen/aws-models/app-mesh.json +++ b/codegen/sdk-codegen/aws-models/app-mesh.json @@ -118,52 +118,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", @@ -171,13 +175,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -187,224 +200,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://appmesh-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://appmesh-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": [ { "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": [], - "endpoint": { - "url": "https://appmesh-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://appmesh-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://appmesh.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://appmesh.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://appmesh.{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://appmesh.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -419,8 +383,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -432,8 +396,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -445,8 +409,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -458,8 +422,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -471,8 +435,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -484,8 +448,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -497,8 +461,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -510,8 +474,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -523,8 +487,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -536,8 +500,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -549,8 +513,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -562,8 +526,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -575,8 +539,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -588,8 +552,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -601,8 +565,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -614,8 +578,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -627,8 +591,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -640,8 +604,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -653,8 +617,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -666,8 +630,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -679,8 +643,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -692,8 +656,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -705,8 +669,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -718,8 +682,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -731,8 +695,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -744,8 +708,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -757,8 +721,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -770,8 +734,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -783,8 +747,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -796,8 +760,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -809,8 +773,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -822,8 +786,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -835,8 +799,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -848,8 +812,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -861,8 +825,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -874,8 +838,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -887,8 +851,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -900,8 +864,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -913,8 +877,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -926,8 +890,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -939,8 +903,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -952,8 +916,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -965,8 +929,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -978,8 +942,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -991,8 +955,8 @@ }, "params": { "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1004,8 +968,8 @@ }, "params": { "Region": "cn-northwest-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1017,8 +981,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1030,8 +994,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1043,8 +1007,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1056,8 +1020,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1069,8 +1033,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1082,8 +1046,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -1095,8 +1070,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 } }, { @@ -1108,8 +1094,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -1121,8 +1118,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 } }, { @@ -1134,8 +1142,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1147,8 +1155,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1160,8 +1168,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1172,8 +1180,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1184,10 +1192,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" @@ -10002,4 +10016,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/appconfig.json b/codegen/sdk-codegen/aws-models/appconfig.json index dd8a0f4ba7c..d5a67001b2e 100644 --- a/codegen/sdk-codegen/aws-models/appconfig.json +++ b/codegen/sdk-codegen/aws-models/appconfig.json @@ -399,52 +399,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", @@ -452,13 +456,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -468,92 +481,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://appconfig-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://appconfig-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -562,168 +566,128 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } + "ref": "Region" + }, + "us-gov-east-1" ] } ], - "type": "tree", - "rules": [ + "endpoint": { + "url": "https://appconfig.us-gov-east-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "us-gov-east-1" - ] - } - ], - "endpoint": { - "url": "https://appconfig.us-gov-east-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, + "fn": "stringEquals", + "argv": [ { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "us-gov-west-1" - ] - } - ], - "endpoint": { - "url": "https://appconfig.us-gov-west-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "ref": "Region" }, - { - "conditions": [], - "endpoint": { - "url": "https://appconfig-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "us-gov-west-1" ] } - ] + ], + "endpoint": { + "url": "https://appconfig.us-gov-west-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://appconfig-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://appconfig.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://appconfig.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://appconfig.{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://appconfig.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -738,8 +702,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -751,8 +715,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -764,8 +728,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -777,8 +741,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -790,8 +754,8 @@ }, "params": { "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -803,8 +767,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -816,8 +780,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -829,8 +793,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -842,8 +806,8 @@ }, "params": { "Region": "ap-southeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -855,8 +819,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -868,8 +832,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -881,8 +845,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -894,8 +858,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -907,8 +871,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -920,8 +884,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -933,8 +897,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -946,8 +910,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -959,8 +923,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -972,8 +936,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -985,8 +949,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -998,8 +962,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1011,8 +975,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1024,8 +988,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1037,8 +1001,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1050,8 +1014,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1063,8 +1027,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1076,8 +1040,8 @@ }, "params": { "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1089,8 +1053,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1102,8 +1066,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1115,8 +1079,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1128,8 +1092,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1141,8 +1105,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1154,8 +1118,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1167,8 +1131,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1180,8 +1144,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1193,8 +1157,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1206,8 +1170,8 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1219,8 +1183,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 } }, { @@ -1232,8 +1207,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 } }, { @@ -1245,8 +1231,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 } }, { @@ -1258,8 +1255,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 } }, { @@ -1271,8 +1279,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1284,8 +1292,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1296,8 +1304,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1308,10 +1316,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" @@ -1663,6 +1677,21 @@ ], "traits": { "smithy.api#documentation": "Creates an application. In AppConfig, an application is simply an\n organizational construct like a folder. This organizational construct has a relationship\n with some unit of executable code. For example, you could create an application called\n MyMobileApp to organize and manage configuration data for a mobile application installed by\n your users.
", + "smithy.api#examples": [ + { + "title": "To create an application", + "documentation": "The following create-application example creates an application in AWS AppConfig.", + "input": { + "Name": "example-application", + "Description": "An application used for creating an example." + }, + "output": { + "Id": "339ohji", + "Name": "example-application", + "Description": "An application used for creating an example." + } + } + ], "smithy.api#http": { "method": "POST", "uri": "/applications", @@ -1718,6 +1747,25 @@ ], "traits": { "smithy.api#documentation": "Creates a configuration profile, which is information that enables AppConfig\n to access the configuration source. Valid configuration sources include the\n following:
\nConfiguration data in YAML, JSON, and other formats stored in the AppConfig hosted configuration store
\nConfiguration data stored as objects in an Amazon Simple Storage Service (Amazon S3)\n bucket
\nPipelines stored in CodePipeline
\nSecrets stored in Secrets Manager
\nStandard and secure string parameters stored in Amazon Web Services Systems Manager Parameter Store
\nConfiguration data in SSM documents stored in the Systems Manager document store
\nA configuration profile includes the following information:
\nThe URI location of the configuration data.
\nThe Identity and Access Management (IAM) role that provides access to the configuration data.
\nA validator for the configuration data. Available validators include either a JSON\n Schema or an Amazon Web Services Lambda function.
\nFor more information, see Create a\n Configuration and a Configuration Profile in the AppConfig\n User Guide.
", + "smithy.api#examples": [ + { + "title": "To create a configuration profile", + "documentation": "The following create-configuration-profile example creates a configuration profile using a configuration stored in Parameter Store, a capability of Systems Manager.", + "input": { + "ApplicationId": "339ohji", + "Name": "Example-Configuration-Profile", + "LocationUri": "ssm-parameter://Example-Parameter", + "RetrievalRoleArn": "arn:aws:iam::111122223333:role/Example-App-Config-Role" + }, + "output": { + "ApplicationId": "339ohji", + "Id": "ur8hx2f", + "Name": "Example-Configuration-Profile", + "LocationUri": "ssm-parameter://Example-Parameter", + "RetrievalRoleArn": "arn:aws:iam::111122223333:role/Example-App-Config-Role" + } + } + ], "smithy.api#http": { "method": "POST", "uri": "/applications/{ApplicationId}/configurationprofiles", @@ -1803,6 +1851,27 @@ ], "traits": { "smithy.api#documentation": "Creates a deployment strategy that defines important criteria for rolling out your\n configuration to the designated targets. A deployment strategy includes the overall\n duration required, a percentage of targets to receive the deployment during each interval,\n an algorithm that defines how percentage grows, and bake time.
", + "smithy.api#examples": [ + { + "title": "To create a deployment strategy", + "documentation": "The following create-deployment-strategy example creates a deployment strategy called Example-Deployment that takes 15 minutes and deploys the configuration to 25% of the application at a time. The strategy is also copied to an SSM Document.", + "input": { + "Name": "Example-Deployment", + "DeploymentDurationInMinutes": 15, + "GrowthFactor": 25, + "ReplicateTo": "SSM_DOCUMENT" + }, + "output": { + "Id": "1225qzk", + "Name": "Example-Deployment", + "DeploymentDurationInMinutes": 15, + "GrowthType": "LINEAR", + "GrowthFactor": 25, + "FinalBakeTimeInMinutes": 0, + "ReplicateTo": "SSM_DOCUMENT" + } + } + ], "smithy.api#http": { "method": "POST", "uri": "/deploymentstrategies", @@ -1893,6 +1962,22 @@ ], "traits": { "smithy.api#documentation": "Creates an environment. For each application, you define one or more environments. An\n environment is a deployment group of AppConfig targets, such as applications in a\n Beta
or Production
environment. You can also define\n environments for application subcomponents such as the Web
,\n Mobile
and Back-end
components for your application. You can\n configure Amazon CloudWatch alarms for each environment. The system monitors alarms during a\n configuration deployment. If an alarm is triggered, the system rolls back the\n configuration.
Creates a new configuration in the AppConfig hosted configuration\n store.
", + "smithy.api#examples": [ + { + "title": "To create a hosted configuration version", + "documentation": "The following create-hosted-configuration-version example creates a new configuration in the AWS AppConfig configuration store.", + "input": { + "ApplicationId": "339ohji", + "ConfigurationProfileId": "ur8hx2f", + "Content": "eyAiTmFtZSI6ICJFeGFtcGxlQXBwbGljYXRpb24iLCAiSWQiOiBFeGFtcGxlSUQsICJSYW5rIjogNyB9", + "ContentType": "text", + "LatestVersionNumber": 1 + }, + "output": { + "ApplicationId": "339ohji", + "ConfigurationProfileId": "ur8hx2f", + "VersionNumber": 1, + "ContentType": "text" + } + } + ], "smithy.api#http": { "method": "POST", "uri": "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions", @@ -2212,6 +2316,15 @@ ], "traits": { "smithy.api#documentation": "Deletes an application. Deleting an application does not delete a configuration from a\n host.
", + "smithy.api#examples": [ + { + "title": "To delete an application", + "documentation": "The following delete-application example deletes the specified application. \n", + "input": { + "ApplicationId": "339ohji" + } + } + ], "smithy.api#http": { "method": "DELETE", "uri": "/applications/{ApplicationId}", @@ -2259,6 +2372,16 @@ ], "traits": { "smithy.api#documentation": "Deletes a configuration profile. Deleting a configuration profile does not delete a\n configuration from a host.
", + "smithy.api#examples": [ + { + "title": "To delete a configuration profile", + "documentation": "The following delete-configuration-profile example deletes the specified configuration profile.", + "input": { + "ApplicationId": "339ohji", + "ConfigurationProfileId": "ur8hx2f" + } + } + ], "smithy.api#http": { "method": "DELETE", "uri": "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}", @@ -2311,6 +2434,15 @@ ], "traits": { "smithy.api#documentation": "Deletes a deployment strategy. Deleting a deployment strategy does not delete a\n configuration from a host.
", + "smithy.api#examples": [ + { + "title": "To delete a deployment strategy", + "documentation": "The following delete-deployment-strategy example deletes the specified deployment strategy.", + "input": { + "DeploymentStrategyId": "1225qzk" + } + } + ], "smithy.api#http": { "method": "DELETE", "uri": "/deployementstrategies/{DeploymentStrategyId}", @@ -2358,6 +2490,16 @@ ], "traits": { "smithy.api#documentation": "Deletes an environment. Deleting an environment does not delete a configuration from a\n host.
", + "smithy.api#examples": [ + { + "title": "To delete an environment", + "documentation": "The following delete-environment example deletes the specified application environment.", + "input": { + "ApplicationId": "339ohji", + "EnvironmentId": "54j1r29" + } + } + ], "smithy.api#http": { "method": "DELETE", "uri": "/applications/{ApplicationId}/environments/{EnvironmentId}", @@ -2506,6 +2648,17 @@ ], "traits": { "smithy.api#documentation": "Deletes a version of a configuration from the AppConfig hosted configuration\n store.
", + "smithy.api#examples": [ + { + "title": "To delete a hosted configuration version", + "documentation": "The following delete-hosted-configuration-version example deletes a configuration version hosted in the AWS AppConfig configuration store.", + "input": { + "ApplicationId": "339ohji", + "ConfigurationProfileId": "ur8hx2f", + "VersionNumber": 1 + } + } + ], "smithy.api#http": { "method": "DELETE", "uri": "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions/{VersionNumber}", @@ -3325,6 +3478,19 @@ ], "traits": { "smithy.api#documentation": "Retrieves information about an application.
", + "smithy.api#examples": [ + { + "title": "To list details of an application", + "documentation": "The following get-application example lists the details of the specified application.", + "input": { + "ApplicationId": "339ohji" + }, + "output": { + "Id": "339ohji", + "Name": "example-application" + } + } + ], "smithy.api#http": { "method": "GET", "uri": "/applications/{ApplicationId}", @@ -3372,6 +3538,22 @@ "message": "This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession." }, "smithy.api#documentation": "(Deprecated) Retrieves the latest deployed configuration.
\nNote the following important information.
\nThis API action is deprecated. Calls to receive configuration data should use\n the StartConfigurationSession and GetLatestConfiguration APIs instead.
\n\n GetConfiguration
is a priced call. For more information, see\n Pricing.
Retrieves information about a configuration profile.
", + "smithy.api#examples": [ + { + "title": "To retrieve configuration profile details", + "documentation": "The following get-configuration-profile example returns the details of the specified configuration profile.", + "input": { + "ApplicationId": "339ohji", + "ConfigurationProfileId": "ur8hx2f" + }, + "output": { + "ApplicationId": "339ohji", + "Id": "ur8hx2f", + "Name": "Example-Configuration-Profile", + "LocationUri": "ssm-parameter://Example-Parameter", + "RetrievalRoleArn": "arn:aws:iam::111122223333:role/Example-App-Config-Role" + } + } + ], "smithy.api#http": { "method": "GET", "uri": "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}", @@ -3560,6 +3759,24 @@ ], "traits": { "smithy.api#documentation": "Retrieves information about a deployment strategy. A deployment strategy defines\n important criteria for rolling out your configuration to the designated targets. A\n deployment strategy includes the overall duration required, a percentage of targets to\n receive the deployment during each interval, an algorithm that defines how percentage\n grows, and bake time.
", + "smithy.api#examples": [ + { + "title": "To retrieve details of a deployment strategy", + "documentation": "The following get-deployment-strategy example lists the details of the specified deployment strategy.", + "input": { + "DeploymentStrategyId": "1225qzk" + }, + "output": { + "Id": "1225qzk", + "Name": "Example-Deployment", + "DeploymentDurationInMinutes": 15, + "GrowthType": "LINEAR", + "GrowthFactor": 25, + "FinalBakeTimeInMinutes": 0, + "ReplicateTo": "SSM_DOCUMENT" + } + } + ], "smithy.api#http": { "method": "GET", "uri": "/deploymentstrategies/{DeploymentStrategyId}", @@ -3604,6 +3821,22 @@ ], "traits": { "smithy.api#documentation": "Retrieves information about an environment. An environment is a deployment group of\n AppConfig applications, such as applications in a Production
\n environment or in an EU_Region
environment. Each configuration deployment\n targets an environment. You can enable one or more Amazon CloudWatch alarms for an environment. If\n an alarm is triggered during a deployment, AppConfig roles back the\n configuration.
Retrieves information about a specific configuration version.
", + "smithy.api#examples": [ + { + "title": "To retrieve hosted configuration details", + "documentation": "The following get-hosted-configuration-version example retrieves the configuration details of the AWS AppConfig hosted configuration.", + "input": { + "ApplicationId": "339ohji", + "ConfigurationProfileId": "ur8hx2f", + "VersionNumber": 1 + }, + "output": { + "ApplicationId": "339ohji", + "ConfigurationProfileId": "ur8hx2f", + "VersionNumber": 1, + "ContentType": "application/json" + } + } + ], "smithy.api#http": { "method": "GET", "uri": "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions/{VersionNumber}", @@ -4044,6 +4294,25 @@ ], "traits": { "smithy.api#documentation": "Lists all applications in your Amazon Web Services account.
", + "smithy.api#examples": [ + { + "title": "To list the available applications", + "documentation": "The following list-applications example lists the available applications in your AWS account.", + "output": { + "Items": [ + { + "Id": "339ohji", + "Name": "test-application", + "Description": "An application used for creating an example." + }, + { + "Id": "rwalwu7", + "Name": "Test-Application" + } + ] + } + } + ], "smithy.api#http": { "method": "GET", "uri": "/applications", @@ -4100,6 +4369,25 @@ ], "traits": { "smithy.api#documentation": "Lists the configuration profiles for an application.
", + "smithy.api#examples": [ + { + "title": "To list the available configuration profiles", + "documentation": "The following list-configuration-profiles example lists the available configuration profiles for the specified application.", + "input": { + "ApplicationId": "339ohji" + }, + "output": { + "Items": [ + { + "ApplicationId": "339ohji", + "Id": "ur8hx2f", + "Name": "Example-Configuration-Profile", + "LocationUri": "ssm-parameter://Example-Parameter" + } + ] + } + } + ], "smithy.api#http": { "method": "GET", "uri": "/applications/{ApplicationId}/configurationprofiles", @@ -4168,6 +4456,25 @@ ], "traits": { "smithy.api#documentation": "Lists deployment strategies.
", + "smithy.api#examples": [ + { + "title": "To list the available deployment strategies", + "documentation": "The following list-deployment-strategies example lists the available deployment strategies in your AWS account.", + "output": { + "Items": [ + { + "Id": "1225qzk", + "Name": "Example-Deployment", + "DeploymentDurationInMinutes": 15, + "GrowthType": "LINEAR", + "GrowthFactor": 25, + "FinalBakeTimeInMinutes": 0, + "ReplicateTo": "SSM_DOCUMENT" + } + ] + } + } + ], "smithy.api#http": { "method": "GET", "uri": "/deploymentstrategies", @@ -4296,6 +4603,25 @@ ], "traits": { "smithy.api#documentation": "Lists the environments for an application.
", + "smithy.api#examples": [ + { + "title": "To list the available environments", + "documentation": "The following list-environments example lists the available environments in your AWS account for the specified application.", + "input": { + "ApplicationId": "339ohji" + }, + "output": { + "Items": [ + { + "ApplicationId": "339ohji", + "Id": "54j1r29", + "Name": "Example-Environment", + "State": "READY_FOR_DEPLOYMENT" + } + ] + } + } + ], "smithy.api#http": { "method": "GET", "uri": "/applications/{ApplicationId}/environments", @@ -4495,6 +4821,26 @@ ], "traits": { "smithy.api#documentation": "Lists configurations stored in the AppConfig hosted configuration store by\n version.
", + "smithy.api#examples": [ + { + "title": "To list the available hosted configuration versions", + "documentation": "The following list-hosted-configuration-versions example lists the configurations versions hosted in the AWS AppConfig hosted configuration store for the specified application and configuration profile.", + "input": { + "ApplicationId": "339ohji", + "ConfigurationProfileId": "ur8hx2f" + }, + "output": { + "Items": [ + { + "ApplicationId": "339ohji", + "ConfigurationProfileId": "ur8hx2f", + "VersionNumber": 1, + "ContentType": "application/json" + } + ] + } + } + ], "smithy.api#http": { "method": "GET", "uri": "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions", @@ -4574,6 +4920,20 @@ ], "traits": { "smithy.api#documentation": "Retrieves the list of key-value tags assigned to the resource.
", + "smithy.api#examples": [ + { + "title": "To list the tags of an application", + "documentation": "The following list-tags-for-resource example lists the tags of a specified application.", + "input": { + "ResourceArn": "arn:aws:appconfig:us-east-1:111122223333:application/339ohji" + }, + "output": { + "Tags": { + "group1": "1" + } + } + } + ], "smithy.api#http": { "method": "GET", "uri": "/tags/{ResourceArn}", @@ -4957,6 +5317,24 @@ ], "traits": { "smithy.api#documentation": "Stops a deployment. This API action works only on deployments that have a status of\n DEPLOYING
. This action moves the deployment to a status of\n ROLLED_BACK
.
Assigns metadata to an AppConfig resource. Tags help organize and categorize\n your AppConfig resources. Each tag consists of a key and an optional value, both\n of which you define. You can specify a maximum of 50 tags for a resource.
", + "smithy.api#examples": [ + { + "title": "To tag an application", + "documentation": "The following tag-resource example tags an application resource.", + "input": { + "ResourceArn": "arn:aws:appconfig:us-east-1:111122223333:application/339ohji", + "Tags": { + "group1": "1" + } + } + } + ], "smithy.api#http": { "method": "POST", "uri": "/tags/{ResourceArn}", @@ -5183,6 +5573,18 @@ ], "traits": { "smithy.api#documentation": "Deletes a tag key and value from an AppConfig resource.
", + "smithy.api#examples": [ + { + "title": "To remove a tag from an application", + "documentation": "The following untag-resource example removes the group1 tag from the specified application.", + "input": { + "ResourceArn": "arn:aws:appconfig:us-east-1:111122223333:application/339ohji", + "TagKeys": [ + "group1" + ] + } + } + ], "smithy.api#http": { "method": "DELETE", "uri": "/tags/{ResourceArn}", @@ -5235,6 +5637,22 @@ ], "traits": { "smithy.api#documentation": "Updates an application.
", + "smithy.api#examples": [ + { + "title": "To update an application", + "documentation": "The following update-application example updates the name of the specified application.", + "input": { + "ApplicationId": "339ohji", + "Name": "Example-Application", + "Description": "" + }, + "output": { + "Id": "339ohji", + "Name": "Example-Application", + "Description": "An application used for creating an example." + } + } + ], "smithy.api#http": { "method": "PATCH", "uri": "/applications/{ApplicationId}", @@ -5291,6 +5709,25 @@ ], "traits": { "smithy.api#documentation": "Updates a configuration profile.
", + "smithy.api#examples": [ + { + "title": "To update a configuration profile", + "documentation": "The following update-configuration-profile example updates the description of the specified configuration profile.", + "input": { + "ApplicationId": "339ohji", + "ConfigurationProfileId": "ur8hx2f", + "Description": "Configuration profile used for examples." + }, + "output": { + "ApplicationId": "339ohji", + "Id": "ur8hx2f", + "Name": "Example-Configuration-Profile", + "Description": "Configuration profile used for examples.", + "LocationUri": "ssm-parameter://Example-Parameter", + "RetrievalRoleArn": "arn:aws:iam::111122223333:role/Example-App-Config-Role" + } + } + ], "smithy.api#http": { "method": "PATCH", "uri": "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}", @@ -5367,6 +5804,25 @@ ], "traits": { "smithy.api#documentation": "Updates a deployment strategy.
", + "smithy.api#examples": [ + { + "title": "To update a deployment strategy", + "documentation": "The following update-deployment-strategy example updates final bake time to 20 minutes in the specified deployment strategy. ::\n", + "input": { + "DeploymentStrategyId": "1225qzk", + "FinalBakeTimeInMinutes": 20 + }, + "output": { + "Id": "1225qzk", + "Name": "Example-Deployment", + "DeploymentDurationInMinutes": 15, + "GrowthType": "LINEAR", + "GrowthFactor": 25, + "FinalBakeTimeInMinutes": 20, + "ReplicateTo": "SSM_DOCUMENT" + } + } + ], "smithy.api#http": { "method": "PATCH", "uri": "/deploymentstrategies/{DeploymentStrategyId}", @@ -5444,6 +5900,24 @@ ], "traits": { "smithy.api#documentation": "Updates an environment.
", + "smithy.api#examples": [ + { + "title": "To update an environment", + "documentation": "The following update-environment example updates an environment's description.", + "input": { + "ApplicationId": "339ohji", + "EnvironmentId": "54j1r29", + "Description": "An environment for examples." + }, + "output": { + "ApplicationId": "339ohji", + "Id": "54j1r29", + "Name": "Example-Environment", + "Description": "An environment for examples.", + "State": "ROLLED_BACK" + } + } + ], "smithy.api#http": { "method": "PATCH", "uri": "/applications/{ApplicationId}/environments/{EnvironmentId}", @@ -5645,6 +6119,17 @@ ], "traits": { "smithy.api#documentation": "Uses the validators in a configuration profile to validate a configuration.
", + "smithy.api#examples": [ + { + "title": "To validate a configuration", + "documentation": "The following validate-configuration example uses the validators in a configuration profile to validate a configuration.", + "input": { + "ApplicationId": "abc1234", + "ConfigurationProfileId": "ur8hx2f", + "ConfigurationVersion": "1" + } + } + ], "smithy.api#http": { "method": "POST", "uri": "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/validators", diff --git a/codegen/sdk-codegen/aws-models/appconfigdata.json b/codegen/sdk-codegen/aws-models/appconfigdata.json index 6b56ffe56fd..86cd8d3eeb0 100644 --- a/codegen/sdk-codegen/aws-models/appconfigdata.json +++ b/codegen/sdk-codegen/aws-models/appconfigdata.json @@ -89,52 +89,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", @@ -142,13 +146,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -158,224 +171,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://appconfigdata-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://appconfigdata-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": [ { "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": [], - "endpoint": { - "url": "https://appconfigdata-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://appconfigdata-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://appconfigdata.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://appconfigdata.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://appconfigdata.{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://appconfigdata.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -390,8 +354,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -403,8 +367,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -416,8 +380,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -429,8 +393,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -442,8 +406,8 @@ }, "params": { "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -455,8 +419,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -468,8 +432,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -481,8 +445,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -494,8 +458,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -507,8 +471,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -520,8 +484,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -533,8 +497,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -546,8 +510,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -559,8 +523,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -572,8 +536,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -585,8 +549,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -598,8 +562,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -611,8 +575,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -624,8 +588,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -637,8 +601,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -650,8 +614,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -663,8 +627,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -676,8 +640,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -689,8 +653,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -702,8 +666,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -715,8 +679,8 @@ }, "params": { "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -728,8 +692,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -741,8 +705,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -754,8 +718,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -767,8 +731,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -780,8 +744,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -793,8 +757,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -806,8 +770,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -819,8 +783,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -832,8 +796,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 } }, { @@ -845,8 +820,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 } }, { @@ -858,8 +844,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -871,8 +868,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 } }, { @@ -884,8 +892,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -897,8 +905,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -910,8 +918,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -922,8 +930,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -934,10 +942,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" diff --git a/codegen/sdk-codegen/aws-models/appfabric.json b/codegen/sdk-codegen/aws-models/appfabric.json index b0fe02fb577..f19e531f3df 100644 --- a/codegen/sdk-codegen/aws-models/appfabric.json +++ b/codegen/sdk-codegen/aws-models/appfabric.json @@ -1682,54 +1682,54 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://appfabric-fips.us-gov-east-1.api.aws" + "url": "https://appfabric-fips.us-east-1.api.aws" } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1", "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://appfabric-fips.us-gov-east-1.amazonaws.com" + "url": "https://appfabric-fips.us-east-1.amazonaws.com" } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1", "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://appfabric.us-gov-east-1.api.aws" + "url": "https://appfabric.us-east-1.api.aws" } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1", "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://appfabric.us-gov-east-1.amazonaws.com" + "url": "https://appfabric.us-east-1.amazonaws.com" } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1", "UseDualStack": false } }, @@ -1741,8 +1741,8 @@ } }, "params": { - "UseFIPS": true, "Region": "cn-north-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -1754,8 +1754,8 @@ } }, "params": { - "UseFIPS": true, "Region": "cn-north-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -1767,8 +1767,8 @@ } }, "params": { - "UseFIPS": false, "Region": "cn-north-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -1780,108 +1780,108 @@ } }, "params": { - "UseFIPS": false, "Region": "cn-north-1", + "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://appfabric-fips.us-gov-east-1.api.aws" + } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1", "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://appfabric-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://appfabric-fips.us-gov-east-1.amazonaws.com" } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1", "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://appfabric.us-gov-east-1.api.aws" + } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1", "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://appfabric.us-iso-east-1.c2s.ic.gov" + "url": "https://appfabric.us-gov-east-1.amazonaws.com" } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1", "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://appfabric-fips.us-east-1.api.aws" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1", "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://appfabric-fips.us-east-1.amazonaws.com" + "url": "https://appfabric-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1", "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://appfabric.us-east-1.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1", "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://appfabric.us-east-1.amazonaws.com" + "url": "https://appfabric.us-iso-east-1.c2s.ic.gov" } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1", "UseDualStack": false } }, @@ -1891,8 +1891,8 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseFIPS": true, "Region": "us-isob-east-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -1904,8 +1904,8 @@ } }, "params": { - "UseFIPS": true, "Region": "us-isob-east-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -1915,8 +1915,8 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseFIPS": false, "Region": "us-isob-east-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -1928,21 +1928,34 @@ } }, "params": { - "UseFIPS": false, "Region": "us-isob-east-1", + "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, "UseDualStack": false, "Endpoint": "https://example.com" } @@ -1953,8 +1966,8 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, "UseDualStack": false, "Endpoint": "https://example.com" } @@ -1965,11 +1978,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/codegen/sdk-codegen/aws-models/appintegrations.json b/codegen/sdk-codegen/aws-models/appintegrations.json index f36c5b39699..bca0a85f1f4 100644 --- a/codegen/sdk-codegen/aws-models/appintegrations.json +++ b/codegen/sdk-codegen/aws-models/appintegrations.json @@ -166,52 +166,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", @@ -219,13 +223,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -235,224 +248,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://app-integrations-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://app-integrations-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": [ { "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": [], - "endpoint": { - "url": "https://app-integrations-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://app-integrations-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://app-integrations.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://app-integrations.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://app-integrations.{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://app-integrations.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -731,6 +695,17 @@ "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 + } + }, { "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { @@ -744,6 +719,17 @@ "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 + } + }, { "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { @@ -757,6 +743,17 @@ "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 + } + }, { "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { @@ -770,6 +767,17 @@ "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 + } + }, { "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { @@ -833,6 +841,12 @@ "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/codegen/sdk-codegen/aws-models/application-auto-scaling.json b/codegen/sdk-codegen/aws-models/application-auto-scaling.json index 95695c9b798..10389491008 100644 --- a/codegen/sdk-codegen/aws-models/application-auto-scaling.json +++ b/codegen/sdk-codegen/aws-models/application-auto-scaling.json @@ -140,6 +140,7 @@ "arnNamespace": "application-autoscaling", "cloudFormationName": "ApplicationAutoScaling", "cloudTrailEventSource": "applicationautoscaling.amazonaws.com", + "docId": "application-autoscaling-2016-02-06", "endpointPrefix": "application-autoscaling" }, "aws.auth#sigv4": { @@ -208,52 +209,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", @@ -261,13 +266,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -277,92 +291,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://application-autoscaling-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://application-autoscaling-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -371,155 +376,115 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws-us-gov", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsFIPS" + "name" ] } ] } ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://application-autoscaling.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [], - "endpoint": { - "url": "https://application-autoscaling-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "endpoint": { + "url": "https://application-autoscaling.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://application-autoscaling-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://application-autoscaling.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://application-autoscaling.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://application-autoscaling.{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://application-autoscaling.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -1251,7 +1216,20 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the specified scaling policy for an Application Auto Scaling scalable target.
\nDeleting a step scaling policy deletes the underlying alarm action, but does not delete\n the CloudWatch alarm associated with the scaling policy, even if it no longer has an associated\n action.
\nFor more information, see Delete a step scaling policy and Delete a target tracking scaling policy in the\n Application Auto Scaling User Guide.
" + "smithy.api#documentation": "Deletes the specified scaling policy for an Application Auto Scaling scalable target.
\nDeleting a step scaling policy deletes the underlying alarm action, but does not delete\n the CloudWatch alarm associated with the scaling policy, even if it no longer has an associated\n action.
\nFor more information, see Delete a step scaling policy and Delete a target tracking scaling policy in the\n Application Auto Scaling User Guide.
", + "smithy.api#examples": [ + { + "title": "To delete a scaling policy", + "documentation": "This example deletes a scaling policy for the Amazon ECS service called web-app, which is running in the default cluster.", + "input": { + "PolicyName": "web-app-cpu-lt-25", + "ServiceNamespace": "ecs", + "ResourceId": "service/default/web-app", + "ScalableDimension": "ecs:service:DesiredCount" + }, + "output": {} + } + ] } }, "com.amazonaws.applicationautoscaling#DeleteScalingPolicyRequest": { @@ -1320,7 +1298,20 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the specified scheduled action for an Application Auto Scaling scalable target.
\nFor more information, see Delete a scheduled action in the Application Auto Scaling User Guide.
" + "smithy.api#documentation": "Deletes the specified scheduled action for an Application Auto Scaling scalable target.
\nFor more information, see Delete a scheduled action in the Application Auto Scaling User Guide.
", + "smithy.api#examples": [ + { + "title": "To delete a scheduled action", + "documentation": "This example deletes a scheduled action for the AppStream 2.0 fleet called sample-fleet.", + "input": { + "ServiceNamespace": "appstream", + "ScheduledActionName": "my-recurring-action", + "ResourceId": "fleet/sample-fleet", + "ScalableDimension": "appstream:fleet:DesiredCapacity" + }, + "output": {} + } + ] } }, "com.amazonaws.applicationautoscaling#DeleteScheduledActionRequest": { @@ -1389,7 +1380,19 @@ } ], "traits": { - "smithy.api#documentation": "Deregisters an Application Auto Scaling scalable target when you have finished using it. To see which\n resources have been registered, use DescribeScalableTargets.
\nDeregistering a scalable target deletes the scaling policies and the scheduled\n actions that are associated with it.
\nDeregisters an Application Auto Scaling scalable target when you have finished using it. To see which\n resources have been registered, use DescribeScalableTargets.
\nDeregistering a scalable target deletes the scaling policies and the scheduled\n actions that are associated with it.
\nGets information about the scalable targets in the specified namespace.
\nYou can filter the results using ResourceIds
and\n ScalableDimension
.
Provides descriptive information about the scaling activities in the specified namespace\n from the previous six weeks.
\nYou can filter the results using ResourceId
and\n ScalableDimension
.
For information about viewing scaling activities using the Amazon Web Services CLI, see Scaling activities for Application Auto Scaling.
", + "smithy.api#examples": [ + { + "title": "To describe scaling activities for a scalable target", + "documentation": "This example describes the scaling activities for an Amazon ECS service called web-app that is running in the default cluster.", + "input": { + "ServiceNamespace": "ecs", + "ResourceId": "service/default/web-app", + "ScalableDimension": "ecs:service:DesiredCount" + }, + "output": { + "ScalingActivities": [ + { + "ScalableDimension": "ecs:service:DesiredCount", + "Description": "Setting desired count to 1.", + "ResourceId": "service/default/web-app", + "ActivityId": "e6c5f7d1-dbbb-4a3f-89b2-51f33e766399", + "StartTime": "2019-05-06T16:03:58.171Z", + "ServiceNamespace": "ecs", + "EndTime": "2019-05-06T16:04:32.111Z", + "Cause": "monitor alarm web-app-cpu-lt-25 in state ALARM triggered policy web-app-cpu-lt-25", + "StatusMessage": "Successfully set desired count to 1. Change successfully fulfilled by ecs.", + "StatusCode": "Successful" + } + ] + } + } + ], "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -1643,6 +1700,45 @@ ], "traits": { "smithy.api#documentation": "Describes the Application Auto Scaling scaling policies for the specified service namespace.
\nYou can filter the results using ResourceId
,\n ScalableDimension
, and PolicyNames
.
For more information, see Target tracking scaling policies and Step scaling policies in the Application Auto Scaling User Guide.
", + "smithy.api#examples": [ + { + "title": "To describe scaling policies", + "documentation": "This example describes the scaling policies for the ECS service namespace.", + "input": { + "ServiceNamespace": "ecs" + }, + "output": { + "ScalingPolicies": [ + { + "PolicyName": "web-app-cpu-gt-75", + "ScalableDimension": "ecs:service:DesiredCount", + "ResourceId": "service/default/web-app", + "CreationTime": "2019-05-06T12:11:39.230Z", + "StepScalingPolicyConfiguration": { + "Cooldown": 60, + "StepAdjustments": [ + { + "ScalingAdjustment": 200, + "MetricIntervalLowerBound": 0 + } + ], + "AdjustmentType": "PercentChangeInCapacity" + }, + "PolicyARN": "arn:aws:autoscaling:us-west-2:012345678910:scalingPolicy:6d8972f3-efc8-437c-92d1-6270f29a66e7:resource/ecs/service/default/web-app:policyName/web-app-cpu-gt-75", + "PolicyType": "StepScaling", + "Alarms": [ + { + "AlarmName": "web-app-cpu-gt-75", + "AlarmARN": "arn:aws:cloudwatch:us-west-2:012345678910:alarm:web-app-cpu-gt-75" + } + ], + "ServiceNamespace": "ecs" + } + ], + "NextToken": "" + } + } + ], "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -1740,6 +1836,45 @@ ], "traits": { "smithy.api#documentation": "Describes the Application Auto Scaling scheduled actions for the specified service namespace.
\nYou can filter the results using the ResourceId
,\n ScalableDimension
, and ScheduledActionNames
parameters.
For more information, see Scheduled scaling and Managing scheduled scaling in the\n Application Auto Scaling User Guide.
", + "smithy.api#examples": [ + { + "title": "To describe scheduled actions", + "documentation": "This example describes the scheduled actions for the dynamodb service namespace.", + "input": { + "ServiceNamespace": "dynamodb" + }, + "output": { + "ScheduledActions": [ + { + "ScalableDimension": "dynamodb:table:WriteCapacityUnits", + "Schedule": "at(2019-05-20T18:35:00)", + "ResourceId": "table/my-table", + "CreationTime": 1.561571888361E9, + "ScheduledActionARN": "arn:aws:autoscaling:us-west-2:123456789012:scheduledAction:2d36aa3b-cdf9-4565-b290-81db519b227d:resource/dynamodb/table/my-table:scheduledActionName/my-first-scheduled-action", + "ScalableTargetAction": { + "MinCapacity": 15, + "MaxCapacity": 20 + }, + "ScheduledActionName": "my-first-scheduled-action", + "ServiceNamespace": "dynamodb" + }, + { + "ScalableDimension": "dynamodb:table:WriteCapacityUnits", + "Schedule": "at(2019-05-20T18:40:00)", + "ResourceId": "table/my-table", + "CreationTime": 1.561571946021E9, + "ScheduledActionARN": "arn:aws:autoscaling:us-west-2:123456789012:scheduledAction:2d36aa3b-cdf9-4565-b290-81db519b227d:resource/dynamodb/table/my-table:scheduledActionName/my-second-scheduled-action", + "ScalableTargetAction": { + "MinCapacity": 5, + "MaxCapacity": 10 + }, + "ScheduledActionName": "my-second-scheduled-action", + "ServiceNamespace": "dynamodb" + } + ] + } + } + ], "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -1927,7 +2062,21 @@ } ], "traits": { - "smithy.api#documentation": "Returns all the tags on the specified Application Auto Scaling scalable target.
\nFor general information about tags, including the format and syntax, see Tagging Amazon Web Services\n resources in the Amazon Web Services General Reference.
" + "smithy.api#documentation": "Returns all the tags on the specified Application Auto Scaling scalable target.
\nFor general information about tags, including the format and syntax, see Tagging Amazon Web Services\n resources in the Amazon Web Services General Reference.
", + "smithy.api#examples": [ + { + "title": "To list tags for a scalable target", + "documentation": "This example lists the tag key names and values that are attached to the scalable target specified by its ARN.", + "input": { + "ResourceARN": "arn:aws:application-autoscaling:us-west-2:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123" + }, + "output": { + "Tags": { + "environment": "production" + } + } + } + ] } }, "com.amazonaws.applicationautoscaling#ListTagsForResourceRequest": { @@ -2345,7 +2494,41 @@ } ], "traits": { - "smithy.api#documentation": "Creates or updates a scaling policy for an Application Auto Scaling scalable target.
\nEach scalable target is identified by a service namespace, resource ID, and scalable\n dimension. A scaling policy applies to the scalable target identified by those three\n attributes. You cannot create a scaling policy until you have registered the resource as a\n scalable target.
\nMultiple scaling policies can be in force at the same time for the same scalable target.\n You can have one or more target tracking scaling policies, one or more step scaling\n policies, or both. However, there is a chance that multiple policies could conflict,\n instructing the scalable target to scale out or in at the same time. Application Auto Scaling gives\n precedence to the policy that provides the largest capacity for both scale out and scale\n in. For example, if one policy increases capacity by 3, another policy increases capacity\n by 200 percent, and the current capacity is 10, Application Auto Scaling uses the policy with the highest\n calculated capacity (200% of 10 = 20) and scales out to 30.
\nWe recommend caution, however, when using target tracking scaling policies with step\n scaling policies because conflicts between these policies can cause undesirable behavior.\n For example, if the step scaling policy initiates a scale-in activity before the target\n tracking policy is ready to scale in, the scale-in activity will not be blocked. After the\n scale-in activity completes, the target tracking policy could instruct the scalable target\n to scale out again.
\nFor more information, see Target tracking scaling policies and Step scaling policies in the Application Auto Scaling User Guide.
\nIf a scalable target is deregistered, the scalable target is no longer available to\n use scaling policies. Any scaling policies that were specified for the scalable target\n are deleted.
\nCreates or updates a scaling policy for an Application Auto Scaling scalable target.
\nEach scalable target is identified by a service namespace, resource ID, and scalable\n dimension. A scaling policy applies to the scalable target identified by those three\n attributes. You cannot create a scaling policy until you have registered the resource as a\n scalable target.
\nMultiple scaling policies can be in force at the same time for the same scalable target.\n You can have one or more target tracking scaling policies, one or more step scaling\n policies, or both. However, there is a chance that multiple policies could conflict,\n instructing the scalable target to scale out or in at the same time. Application Auto Scaling gives\n precedence to the policy that provides the largest capacity for both scale out and scale\n in. For example, if one policy increases capacity by 3, another policy increases capacity\n by 200 percent, and the current capacity is 10, Application Auto Scaling uses the policy with the highest\n calculated capacity (200% of 10 = 20) and scales out to 30.
\nWe recommend caution, however, when using target tracking scaling policies with step\n scaling policies because conflicts between these policies can cause undesirable behavior.\n For example, if the step scaling policy initiates a scale-in activity before the target\n tracking policy is ready to scale in, the scale-in activity will not be blocked. After the\n scale-in activity completes, the target tracking policy could instruct the scalable target\n to scale out again.
\nFor more information, see Target tracking scaling policies and Step scaling policies in the Application Auto Scaling User Guide.
\nIf a scalable target is deregistered, the scalable target is no longer available to\n use scaling policies. Any scaling policies that were specified for the scalable target\n are deleted.
\nCreates or updates a scheduled action for an Application Auto Scaling scalable target.
\nEach scalable target is identified by a service namespace, resource ID, and scalable\n dimension. A scheduled action applies to the scalable target identified by those three\n attributes. You cannot create a scheduled action until you have registered the resource as\n a scalable target.
\nWhen you specify start and end times with a recurring schedule using a cron expression\n or rates, they form the boundaries for when the recurring action starts and stops.
\nTo update a scheduled action, specify the parameters that you want to change. If you\n don't specify start and end times, the old values are deleted.
\nFor more information, see Scheduled scaling in the Application Auto Scaling User Guide.
\nIf a scalable target is deregistered, the scalable target is no longer available to\n run scheduled actions. Any scheduled actions that were specified for the scalable target\n are deleted.
\nCreates or updates a scheduled action for an Application Auto Scaling scalable target.
\nEach scalable target is identified by a service namespace, resource ID, and scalable\n dimension. A scheduled action applies to the scalable target identified by those three\n attributes. You cannot create a scheduled action until you have registered the resource as\n a scalable target.
\nWhen you specify start and end times with a recurring schedule using a cron expression\n or rates, they form the boundaries for when the recurring action starts and stops.
\nTo update a scheduled action, specify the parameters that you want to change. If you\n don't specify start and end times, the old values are deleted.
\nFor more information, see Scheduled scaling in the Application Auto Scaling User Guide.
\nIf a scalable target is deregistered, the scalable target is no longer available to\n run scheduled actions. Any scheduled actions that were specified for the scalable target\n are deleted.
\nRegisters or updates a scalable target, which is the resource that you want to\n scale.
\nScalable targets are uniquely identified by the combination of resource ID, scalable\n dimension, and namespace, which represents some capacity dimension of the underlying\n service.
\nWhen you register a new scalable target, you must specify values for the minimum and\n maximum capacity. If the specified resource is not active in the target service, this\n operation does not change the resource's current capacity. Otherwise, it changes the\n resource's current capacity to a value that is inside of this range.
\nIf you add a scaling policy, current capacity is adjustable within the specified range\n when scaling starts. Application Auto Scaling scaling policies will not scale capacity to values that are\n outside of the minimum and maximum range.
\nAfter you register a scalable target, you do not need to register it again to use other\n Application Auto Scaling operations. To see which resources have been registered, use DescribeScalableTargets. You can also view the scaling policies for a service\n namespace by using DescribeScalableTargets. If you no longer need a scalable target, you can\n deregister it by using DeregisterScalableTarget.
\nTo update a scalable target, specify the parameters that you want to change. Include the\n parameters that identify the scalable target: resource ID, scalable dimension, and\n namespace. Any parameters that you don't specify are not changed by this update request.
\nIf you call the RegisterScalableTarget
API operation to create a\n scalable target, there might be a brief delay until the operation achieves eventual\n consistency. You might become aware of this brief delay if you get unexpected\n errors when performing sequential operations. The typical strategy is to retry the\n request, and some Amazon Web Services SDKs include automatic backoff and retry logic.
If you call the RegisterScalableTarget
API operation to update an\n existing scalable target, Application Auto Scaling retrieves the current capacity of the resource. If\n it's below the minimum capacity or above the maximum capacity, Application Auto Scaling adjusts the\n capacity of the scalable target to place it within these bounds, even if you don't\n include the MinCapacity
or MaxCapacity
request\n parameters.
Registers or updates a scalable target, which is the resource that you want to\n scale.
\nScalable targets are uniquely identified by the combination of resource ID, scalable\n dimension, and namespace, which represents some capacity dimension of the underlying\n service.
\nWhen you register a new scalable target, you must specify values for the minimum and\n maximum capacity. If the specified resource is not active in the target service, this\n operation does not change the resource's current capacity. Otherwise, it changes the\n resource's current capacity to a value that is inside of this range.
\nIf you add a scaling policy, current capacity is adjustable within the specified range\n when scaling starts. Application Auto Scaling scaling policies will not scale capacity to values that are\n outside of the minimum and maximum range.
\nAfter you register a scalable target, you do not need to register it again to use other\n Application Auto Scaling operations. To see which resources have been registered, use DescribeScalableTargets. You can also view the scaling policies for a service\n namespace by using DescribeScalableTargets. If you no longer need a scalable target, you can\n deregister it by using DeregisterScalableTarget.
\nTo update a scalable target, specify the parameters that you want to change. Include the\n parameters that identify the scalable target: resource ID, scalable dimension, and\n namespace. Any parameters that you don't specify are not changed by this update request.
\nIf you call the RegisterScalableTarget
API operation to create a\n scalable target, there might be a brief delay until the operation achieves eventual\n consistency. You might become aware of this brief delay if you get unexpected\n errors when performing sequential operations. The typical strategy is to retry the\n request, and some Amazon Web Services SDKs include automatic backoff and retry logic.
If you call the RegisterScalableTarget
API operation to update an\n existing scalable target, Application Auto Scaling retrieves the current capacity of the resource. If\n it's below the minimum capacity or above the maximum capacity, Application Auto Scaling adjusts the\n capacity of the scalable target to place it within these bounds, even if you don't\n include the MinCapacity
or MaxCapacity
request\n parameters.
Adds or edits tags on an Application Auto Scaling scalable target.
\nEach tag consists of a tag key and a tag value, which are both case-sensitive strings.\n To add a tag, specify a new tag key and a tag value. To edit a tag, specify an existing tag\n key and a new tag value.
\nYou can use this operation to tag an Application Auto Scaling scalable target, but you cannot tag a\n scaling policy or scheduled action.
\nYou can also add tags to an Application Auto Scaling scalable target while creating it\n (RegisterScalableTarget
).
For general information about tags, including the format and syntax, see Tagging Amazon Web Services\n resources in the Amazon Web Services General Reference.
\nUse tags to control access to a scalable target. For more information, see Tagging support\n for Application Auto Scaling in the Application Auto Scaling User Guide.
" + "smithy.api#documentation": "Adds or edits tags on an Application Auto Scaling scalable target.
\nEach tag consists of a tag key and a tag value, which are both case-sensitive strings.\n To add a tag, specify a new tag key and a tag value. To edit a tag, specify an existing tag\n key and a new tag value.
\nYou can use this operation to tag an Application Auto Scaling scalable target, but you cannot tag a\n scaling policy or scheduled action.
\nYou can also add tags to an Application Auto Scaling scalable target while creating it\n (RegisterScalableTarget
).
For general information about tags, including the format and syntax, see Tagging Amazon Web Services\n resources in the Amazon Web Services General Reference.
\nUse tags to control access to a scalable target. For more information, see Tagging support\n for Application Auto Scaling in the Application Auto Scaling User Guide.
", + "smithy.api#examples": [ + { + "title": "To add a tag to a scalable target", + "documentation": "This example adds a tag with the key name \"environment\" and the value \"production\" to the scalable target specified by its ARN.", + "input": { + "ResourceARN": "arn:aws:application-autoscaling:us-west-2:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123", + "Tags": { + "environment": "production" + } + }, + "output": {} + } + ] } }, "com.amazonaws.applicationautoscaling#TagResourceRequest": { @@ -3768,7 +3997,20 @@ } ], "traits": { - "smithy.api#documentation": "Deletes tags from an Application Auto Scaling scalable target. To delete a tag, specify the tag key and\n the Application Auto Scaling scalable target.
" + "smithy.api#documentation": "Deletes tags from an Application Auto Scaling scalable target. To delete a tag, specify the tag key and\n the Application Auto Scaling scalable target.
", + "smithy.api#examples": [ + { + "title": "To remove a tag from a scalable target", + "documentation": "This example removes the tag pair with the key name \"environment\" from the scalable target specified by its ARN.", + "input": { + "ResourceARN": "arn:aws:application-autoscaling:us-west-2:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123", + "TagKeys": [ + "environment" + ] + }, + "output": {} + } + ] } }, "com.amazonaws.applicationautoscaling#UntagResourceRequest": { diff --git a/codegen/sdk-codegen/aws-models/application-discovery-service.json b/codegen/sdk-codegen/aws-models/application-discovery-service.json index f36828d784d..be6ea71ed5a 100644 --- a/codegen/sdk-codegen/aws-models/application-discovery-service.json +++ b/codegen/sdk-codegen/aws-models/application-discovery-service.json @@ -115,6 +115,7 @@ "arnNamespace": "discovery", "cloudFormationName": "ApplicationDiscoveryService", "cloudTrailEventSource": "applicationdiscoveryservice.amazonaws.com", + "docId": "discovery-2015-11-01", "endpointPrefix": "discovery" }, "aws.auth#sigv4": { @@ -186,52 +187,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", @@ -239,13 +244,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -255,224 +269,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://discovery-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://discovery-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": [ { "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": [], - "endpoint": { - "url": "https://discovery-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://discovery-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://discovery.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://discovery.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://discovery.{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://discovery.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/application-insights.json b/codegen/sdk-codegen/aws-models/application-insights.json index 34dba829948..85ab0046bed 100644 --- a/codegen/sdk-codegen/aws-models/application-insights.json +++ b/codegen/sdk-codegen/aws-models/application-insights.json @@ -1737,52 +1737,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", @@ -1790,13 +1794,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -1806,224 +1819,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://applicationinsights-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://applicationinsights-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": [ { "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": [], - "endpoint": { - "url": "https://applicationinsights-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://applicationinsights-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://applicationinsights.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://applicationinsights.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://applicationinsights.{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://applicationinsights.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/applicationcostprofiler.json b/codegen/sdk-codegen/aws-models/applicationcostprofiler.json index ea350c64142..206abb7a5e4 100644 --- a/codegen/sdk-codegen/aws-models/applicationcostprofiler.json +++ b/codegen/sdk-codegen/aws-models/applicationcostprofiler.json @@ -58,6 +58,7 @@ "arnNamespace": "application-cost-profiler", "cloudFormationName": "ApplicationCostProfiler", "cloudTrailEventSource": "applicationcostprofiler.amazonaws.com", + "docId": "AWSApplicationCostProfiler-2020-09-10", "endpointPrefix": "application-cost-profiler" }, "aws.auth#sigv4": { @@ -126,52 +127,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", @@ -179,13 +184,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -195,224 +209,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://application-cost-profiler-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://application-cost-profiler-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": [ { "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": [], - "endpoint": { - "url": "https://application-cost-profiler-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://application-cost-profiler-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://application-cost-profiler.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://application-cost-profiler.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://application-cost-profiler.{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://application-cost-profiler.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -427,8 +392,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -440,8 +405,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -453,8 +418,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -466,8 +431,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -479,8 +444,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -492,8 +457,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -505,8 +470,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -518,8 +483,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -531,8 +496,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -544,8 +509,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -557,8 +522,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -570,8 +535,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -583,8 +559,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 } }, { @@ -596,8 +583,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -609,8 +607,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 } }, { @@ -622,8 +631,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -635,8 +644,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -648,8 +657,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -660,8 +669,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -672,10 +681,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" @@ -737,6 +752,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationcostprofiler#DeleteReportDefinitionResult": { @@ -748,24 +766,29 @@ "smithy.api#documentation": "ID of the report that was deleted.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.applicationcostprofiler#ErrorMessage": { "type": "string" }, "com.amazonaws.applicationcostprofiler#Format": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CSV", - "name": "CSV" - }, - { - "value": "PARQUET", - "name": "PARQUET" + "type": "enum", + "members": { + "CSV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CSV" } - ] + }, + "PARQUET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PARQUET" + } + } } }, "com.amazonaws.applicationcostprofiler#GetReportDefinition": { @@ -810,6 +833,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationcostprofiler#GetReportDefinitionResult": { @@ -864,6 +890,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.applicationcostprofiler#ImportApplicationUsage": { @@ -907,6 +936,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationcostprofiler#ImportApplicationUsageResult": { @@ -919,6 +951,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.applicationcostprofiler#ImportId": { @@ -928,7 +963,7 @@ "min": 1, "max": 255 }, - "smithy.api#pattern": "[0-9A-Za-z\\.\\-_]*" + "smithy.api#pattern": "^[0-9A-Za-z\\.\\-_]*$" } }, "com.amazonaws.applicationcostprofiler#Integer": { @@ -985,6 +1020,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "reportDefinitions", "pageSize": "maxResults" } } @@ -1006,6 +1042,9 @@ "smithy.api#httpQuery": "maxResults" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationcostprofiler#ListReportDefinitionsResult": { @@ -1023,6 +1062,9 @@ "smithy.api#documentation": "The value of the next token, if it exists. Null if there are no more results.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.applicationcostprofiler#PutReportDefinition": { @@ -1097,6 +1139,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationcostprofiler#PutReportDefinitionResult": { @@ -1108,6 +1153,9 @@ "smithy.api#documentation": "ID of the report.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.applicationcostprofiler#ReportDefinition": { @@ -1173,26 +1221,30 @@ "min": 1, "max": 1024 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.applicationcostprofiler#ReportFrequency": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "MONTHLY", - "name": "MONTHLY" - }, - { - "value": "DAILY", - "name": "DAILY" - }, - { - "value": "ALL", - "name": "ALL" + "type": "enum", + "members": { + "MONTHLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MONTHLY" + } + }, + "DAILY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DAILY" } - ] + }, + "ALL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALL" + } + } } }, "com.amazonaws.applicationcostprofiler#ReportId": { @@ -1212,30 +1264,36 @@ "min": 3, "max": 63 }, - "smithy.api#pattern": "(?=^.{3,63}$)(?!^(\\d+\\.)+\\d+$)(^(([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])\\.)*([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])$)" + "smithy.api#pattern": "^(?=^.{3,63}$)(?!^(\\d+\\.)+\\d+$)(^(([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])\\.)*([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])$)$" } }, "com.amazonaws.applicationcostprofiler#S3BucketRegion": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ap-east-1", - "name": "AP_EAST_1" - }, - { - "value": "me-south-1", - "name": "ME_SOUTH_1" - }, - { - "value": "eu-south-1", - "name": "EU_SOUTH_1" - }, - { - "value": "af-south-1", - "name": "AF_SOUTH_1" + "type": "enum", + "members": { + "AP_EAST_1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ap-east-1" + } + }, + "ME_SOUTH_1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "me-south-1" + } + }, + "EU_SOUTH_1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "eu-south-1" + } + }, + "AF_SOUTH_1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "af-south-1" } - ] + } } }, "com.amazonaws.applicationcostprofiler#S3Key": { @@ -1245,7 +1303,7 @@ "min": 1, "max": 512 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.applicationcostprofiler#S3Location": { @@ -1277,7 +1335,7 @@ "min": 1, "max": 512 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.applicationcostprofiler#ServiceQuotaExceededException": { @@ -1417,6 +1475,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationcostprofiler#UpdateReportDefinitionResult": { @@ -1428,6 +1489,9 @@ "smithy.api#documentation": "ID of the report.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.applicationcostprofiler#ValidationException": { diff --git a/codegen/sdk-codegen/aws-models/appsync.json b/codegen/sdk-codegen/aws-models/appsync.json index 7691bfc6989..2c5f5736d66 100644 --- a/codegen/sdk-codegen/aws-models/appsync.json +++ b/codegen/sdk-codegen/aws-models/appsync.json @@ -291,52 +291,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", @@ -344,13 +348,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -360,224 +373,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://appsync-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://appsync-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": [ { "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": [], - "endpoint": { - "url": "https://appsync-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://appsync-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://appsync.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://appsync.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://appsync.{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://appsync.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/arc-zonal-shift.json b/codegen/sdk-codegen/aws-models/arc-zonal-shift.json index 3f5fae7581e..0bf75c7cafc 100644 --- a/codegen/sdk-codegen/aws-models/arc-zonal-shift.json +++ b/codegen/sdk-codegen/aws-models/arc-zonal-shift.json @@ -900,55 +900,55 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://arc-zonal-shift-fips.us-gov-east-1.api.aws" + "url": "https://arc-zonal-shift-fips.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://arc-zonal-shift-fips.us-gov-east-1.amazonaws.com" + "url": "https://arc-zonal-shift-fips.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://arc-zonal-shift.us-gov-east-1.api.aws" + "url": "https://arc-zonal-shift.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://arc-zonal-shift.us-gov-east-1.amazonaws.com" + "url": "https://arc-zonal-shift.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -959,9 +959,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -972,9 +972,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -985,9 +985,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -998,109 +998,109 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://arc-zonal-shift-fips.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://arc-zonal-shift-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://arc-zonal-shift-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://arc-zonal-shift.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://arc-zonal-shift.us-iso-east-1.c2s.ic.gov" + "url": "https://arc-zonal-shift.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://arc-zonal-shift-fips.us-east-1.api.aws" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://arc-zonal-shift-fips.us-east-1.amazonaws.com" + "url": "https://arc-zonal-shift-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://arc-zonal-shift.us-east-1.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://arc-zonal-shift.us-east-1.amazonaws.com" + "url": "https://arc-zonal-shift.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -1109,9 +1109,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -1122,9 +1122,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -1133,9 +1133,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -1146,22 +1146,35 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { + "Region": "us-east-1", + "UseFIPS": false, "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { "UseFIPS": false, - "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1171,9 +1184,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1183,11 +1196,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" @@ -1723,4 +1742,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/athena.json b/codegen/sdk-codegen/aws-models/athena.json index 31093485142..7cc99e10f88 100644 --- a/codegen/sdk-codegen/aws-models/athena.json +++ b/codegen/sdk-codegen/aws-models/athena.json @@ -344,52 +344,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", @@ -397,13 +401,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -413,224 +426,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://athena-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://athena-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": [ { "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": [], - "endpoint": { - "url": "https://athena-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://athena-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://athena.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://athena.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://athena.{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://athena.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/auto-scaling-plans.json b/codegen/sdk-codegen/aws-models/auto-scaling-plans.json index 021ce81655f..a110d23dde9 100644 --- a/codegen/sdk-codegen/aws-models/auto-scaling-plans.json +++ b/codegen/sdk-codegen/aws-models/auto-scaling-plans.json @@ -58,6 +58,7 @@ "arnNamespace": "autoscaling-plans", "cloudFormationName": "AutoScalingPlans", "cloudTrailEventSource": "autoscalingplans.amazonaws.com", + "docId": "autoscaling-plans-2018-01-06", "endpointPrefix": "autoscaling-plans" }, "aws.auth#sigv4": { @@ -126,52 +127,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", @@ -179,13 +184,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -195,224 +209,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://autoscaling-plans-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://autoscaling-plans-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": [ { "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": [], - "endpoint": { - "url": "https://autoscaling-plans-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://autoscaling-plans-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://autoscaling-plans.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://autoscaling-plans.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://autoscaling-plans.{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://autoscaling-plans.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -427,8 +392,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -440,8 +405,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -453,8 +418,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -466,8 +431,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -479,8 +444,8 @@ }, "params": { "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -492,8 +457,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -505,8 +470,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -518,8 +483,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -531,8 +496,8 @@ }, "params": { "Region": "ap-southeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -544,8 +509,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -557,8 +522,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -570,8 +535,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -583,8 +548,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -596,8 +561,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -609,8 +574,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -622,8 +587,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -635,8 +600,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -648,8 +613,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -661,8 +626,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -674,8 +639,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -687,8 +652,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -700,8 +665,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -713,8 +678,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -726,8 +691,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -739,8 +704,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -752,8 +717,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -765,8 +730,8 @@ }, "params": { "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -778,8 +743,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -791,8 +756,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -804,8 +769,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -817,8 +782,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -830,8 +795,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -843,8 +808,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -856,8 +821,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -869,8 +834,19 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "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 } }, { @@ -882,8 +858,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 } }, { @@ -895,8 +882,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -908,8 +906,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 } }, { @@ -921,8 +930,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -934,8 +943,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -947,8 +956,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -959,8 +968,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -971,10 +980,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" @@ -1015,6 +1030,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "ConcurrentUpdateException", + "httpResponseCode": 500 + }, "smithy.api#documentation": "Concurrent updates caused an exception, for example, if you request an update to a\n scaling plan that already has a pending update.
", "smithy.api#error": "server", "smithy.api#httpError": 500 @@ -1073,6 +1092,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.autoscalingplans#CreateScalingPlanResponse": { @@ -1085,6 +1107,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.autoscalingplans#CustomizedLoadMetricSpecification": { @@ -1238,11 +1263,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.autoscalingplans#DeleteScalingPlanResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.autoscalingplans#DescribeScalingPlanResources": { "type": "operation", @@ -1299,6 +1330,9 @@ "smithy.api#documentation": "The token for the next set of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.autoscalingplans#DescribeScalingPlanResourcesResponse": { @@ -1316,6 +1350,9 @@ "smithy.api#documentation": "The token required to get the next set of results. This value is null
if\n there are no more results to return.
The token for the next set of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.autoscalingplans#DescribeScalingPlansResponse": { @@ -1394,6 +1434,9 @@ "smithy.api#documentation": "The token required to get the next set of results. This value is null
if\n there are no more results to return.
The service encountered an internal error.
", "smithy.api#error": "server", "smithy.api#httpError": 500 @@ -1542,6 +1601,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "InvalidNextTokenException", + "httpResponseCode": 400 + }, "smithy.api#documentation": "The token provided is not valid.
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -1555,32 +1618,42 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "LimitExceededException", + "httpResponseCode": 400 + }, "smithy.api#documentation": "Your account exceeded a limit. This exception is thrown when a per-account resource\n limit is exceeded.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.autoscalingplans#LoadMetricType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ASGTotalCPUUtilization", - "name": "ASGTotalCPUUtilization" - }, - { - "value": "ASGTotalNetworkIn", - "name": "ASGTotalNetworkIn" - }, - { - "value": "ASGTotalNetworkOut", - "name": "ASGTotalNetworkOut" - }, - { - "value": "ALBTargetGroupRequestCount", - "name": "ALBTargetGroupRequestCount" + "type": "enum", + "members": { + "ASGTotalCPUUtilization": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASGTotalCPUUtilization" + } + }, + "ASGTotalNetworkIn": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASGTotalNetworkIn" + } + }, + "ASGTotalNetworkOut": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASGTotalNetworkOut" } - ] + }, + "ALBTargetGroupRequestCount": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALBTargetGroupRequestCount" + } + } } }, "com.amazonaws.autoscalingplans#MaxResults": { @@ -1630,30 +1703,38 @@ "type": "double" }, "com.amazonaws.autoscalingplans#MetricStatistic": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Average", - "name": "Average" - }, - { - "value": "Minimum", - "name": "Minimum" - }, - { - "value": "Maximum", - "name": "Maximum" - }, - { - "value": "SampleCount", - "name": "SampleCount" - }, - { - "value": "Sum", - "name": "Sum" + "type": "enum", + "members": { + "Average": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Average" } - ] + }, + "Minimum": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Minimum" + } + }, + "Maximum": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Maximum" + } + }, + "SampleCount": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SampleCount" + } + }, + "Sum": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Sum" + } + } } }, "com.amazonaws.autoscalingplans#MetricUnit": { @@ -1670,6 +1751,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "ObjectNotFoundException", + "httpResponseCode": 400 + }, "smithy.api#documentation": "The specified object could not be found.
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -1682,18 +1767,18 @@ "min": 1, "max": 256 }, - "smithy.api#pattern": "\\p{Print}+" + "smithy.api#pattern": "^\\p{Print}+$" } }, "com.amazonaws.autoscalingplans#PolicyType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "TargetTrackingScaling", - "name": "TargetTrackingScaling" + "type": "enum", + "members": { + "TargetTrackingScaling": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TargetTrackingScaling" } - ] + } } }, "com.amazonaws.autoscalingplans#PredefinedLoadMetricSpecification": { @@ -1739,37 +1824,43 @@ } }, "com.amazonaws.autoscalingplans#PredictiveScalingMaxCapacityBehavior": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SetForecastCapacityToMaxCapacity", - "name": "SetForecastCapacityToMaxCapacity" - }, - { - "value": "SetMaxCapacityToForecastCapacity", - "name": "SetMaxCapacityToForecastCapacity" - }, - { - "value": "SetMaxCapacityAboveForecastCapacity", - "name": "SetMaxCapacityAboveForecastCapacity" + "type": "enum", + "members": { + "SetForecastCapacityToMaxCapacity": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SetForecastCapacityToMaxCapacity" + } + }, + "SetMaxCapacityToForecastCapacity": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SetMaxCapacityToForecastCapacity" } - ] + }, + "SetMaxCapacityAboveForecastCapacity": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SetMaxCapacityAboveForecastCapacity" + } + } } }, "com.amazonaws.autoscalingplans#PredictiveScalingMode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ForecastAndScale", - "name": "ForecastAndScale" - }, - { - "value": "ForecastOnly", - "name": "ForecastOnly" + "type": "enum", + "members": { + "ForecastAndScale": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ForecastAndScale" + } + }, + "ForecastOnly": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ForecastOnly" } - ] + } } }, "com.amazonaws.autoscalingplans#ResourceCapacity": { @@ -1782,7 +1873,7 @@ "min": 1, "max": 1600 }, - "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" + "smithy.api#pattern": "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*$" } }, "com.amazonaws.autoscalingplans#ResourceLabel": { @@ -1795,42 +1886,56 @@ } }, "com.amazonaws.autoscalingplans#ScalableDimension": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "autoscaling:autoScalingGroup:DesiredCapacity", - "name": "AutoScalingGroupDesiredCapacity" - }, - { - "value": "ecs:service:DesiredCount", - "name": "ECSServiceDesiredCount" - }, - { - "value": "ec2:spot-fleet-request:TargetCapacity", - "name": "EC2SpotFleetRequestTargetCapacity" - }, - { - "value": "rds:cluster:ReadReplicaCount", - "name": "RDSClusterReadReplicaCount" - }, - { - "value": "dynamodb:table:ReadCapacityUnits", - "name": "DynamoDBTableReadCapacityUnits" - }, - { - "value": "dynamodb:table:WriteCapacityUnits", - "name": "DynamoDBTableWriteCapacityUnits" - }, - { - "value": "dynamodb:index:ReadCapacityUnits", - "name": "DynamoDBIndexReadCapacityUnits" - }, - { - "value": "dynamodb:index:WriteCapacityUnits", - "name": "DynamoDBIndexWriteCapacityUnits" + "type": "enum", + "members": { + "AutoScalingGroupDesiredCapacity": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "autoscaling:autoScalingGroup:DesiredCapacity" + } + }, + "ECSServiceDesiredCount": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ecs:service:DesiredCount" + } + }, + "EC2SpotFleetRequestTargetCapacity": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ec2:spot-fleet-request:TargetCapacity" + } + }, + "RDSClusterReadReplicaCount": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "rds:cluster:ReadReplicaCount" + } + }, + "DynamoDBTableReadCapacityUnits": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "dynamodb:table:ReadCapacityUnits" } - ] + }, + "DynamoDBTableWriteCapacityUnits": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "dynamodb:table:WriteCapacityUnits" + } + }, + "DynamoDBIndexReadCapacityUnits": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "dynamodb:index:ReadCapacityUnits" + } + }, + "DynamoDBIndexWriteCapacityUnits": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "dynamodb:index:WriteCapacityUnits" + } + } } }, "com.amazonaws.autoscalingplans#ScalingInstruction": { @@ -1938,62 +2043,86 @@ } }, "com.amazonaws.autoscalingplans#ScalingMetricType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ASGAverageCPUUtilization", - "name": "ASGAverageCPUUtilization" - }, - { - "value": "ASGAverageNetworkIn", - "name": "ASGAverageNetworkIn" - }, - { - "value": "ASGAverageNetworkOut", - "name": "ASGAverageNetworkOut" - }, - { - "value": "DynamoDBReadCapacityUtilization", - "name": "DynamoDBReadCapacityUtilization" - }, - { - "value": "DynamoDBWriteCapacityUtilization", - "name": "DynamoDBWriteCapacityUtilization" - }, - { - "value": "ECSServiceAverageCPUUtilization", - "name": "ECSServiceAverageCPUUtilization" - }, - { - "value": "ECSServiceAverageMemoryUtilization", - "name": "ECSServiceAverageMemoryUtilization" - }, - { - "value": "ALBRequestCountPerTarget", - "name": "ALBRequestCountPerTarget" - }, - { - "value": "RDSReaderAverageCPUUtilization", - "name": "RDSReaderAverageCPUUtilization" - }, - { - "value": "RDSReaderAverageDatabaseConnections", - "name": "RDSReaderAverageDatabaseConnections" - }, - { - "value": "EC2SpotFleetRequestAverageCPUUtilization", - "name": "EC2SpotFleetRequestAverageCPUUtilization" - }, - { - "value": "EC2SpotFleetRequestAverageNetworkIn", - "name": "EC2SpotFleetRequestAverageNetworkIn" - }, - { - "value": "EC2SpotFleetRequestAverageNetworkOut", - "name": "EC2SpotFleetRequestAverageNetworkOut" + "type": "enum", + "members": { + "ASGAverageCPUUtilization": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASGAverageCPUUtilization" + } + }, + "ASGAverageNetworkIn": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASGAverageNetworkIn" + } + }, + "ASGAverageNetworkOut": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASGAverageNetworkOut" + } + }, + "DynamoDBReadCapacityUtilization": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DynamoDBReadCapacityUtilization" + } + }, + "DynamoDBWriteCapacityUtilization": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DynamoDBWriteCapacityUtilization" + } + }, + "ECSServiceAverageCPUUtilization": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ECSServiceAverageCPUUtilization" + } + }, + "ECSServiceAverageMemoryUtilization": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ECSServiceAverageMemoryUtilization" + } + }, + "ALBRequestCountPerTarget": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALBRequestCountPerTarget" + } + }, + "RDSReaderAverageCPUUtilization": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RDSReaderAverageCPUUtilization" + } + }, + "RDSReaderAverageDatabaseConnections": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RDSReaderAverageDatabaseConnections" + } + }, + "EC2SpotFleetRequestAverageCPUUtilization": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EC2SpotFleetRequestAverageCPUUtilization" } - ] + }, + "EC2SpotFleetRequestAverageNetworkIn": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EC2SpotFleetRequestAverageNetworkIn" + } + }, + "EC2SpotFleetRequestAverageNetworkOut": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EC2SpotFleetRequestAverageNetworkOut" + } + } } }, "com.amazonaws.autoscalingplans#ScalingPlan": { @@ -2064,7 +2193,7 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": "[\\p{Print}&&[^|:/]]+" + "smithy.api#pattern": "^[\\p{Print}&&[^|:/]]+$" } }, "com.amazonaws.autoscalingplans#ScalingPlanNames": { @@ -2142,42 +2271,56 @@ } }, "com.amazonaws.autoscalingplans#ScalingPlanStatusCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Active", - "name": "Active" - }, - { - "value": "ActiveWithProblems", - "name": "ActiveWithProblems" - }, - { - "value": "CreationInProgress", - "name": "CreationInProgress" - }, - { - "value": "CreationFailed", - "name": "CreationFailed" - }, - { - "value": "DeletionInProgress", - "name": "DeletionInProgress" - }, - { - "value": "DeletionFailed", - "name": "DeletionFailed" - }, - { - "value": "UpdateInProgress", - "name": "UpdateInProgress" - }, - { - "value": "UpdateFailed", - "name": "UpdateFailed" + "type": "enum", + "members": { + "Active": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Active" + } + }, + "ActiveWithProblems": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ActiveWithProblems" + } + }, + "CreationInProgress": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CreationInProgress" } - ] + }, + "CreationFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CreationFailed" + } + }, + "DeletionInProgress": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DeletionInProgress" + } + }, + "DeletionFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DeletionFailed" + } + }, + "UpdateInProgress": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UpdateInProgress" + } + }, + "UpdateFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UpdateFailed" + } + } } }, "com.amazonaws.autoscalingplans#ScalingPlanVersion": { @@ -2224,37 +2367,43 @@ } }, "com.amazonaws.autoscalingplans#ScalingPolicyUpdateBehavior": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "KeepExternalPolicies", - "name": "KeepExternalPolicies" - }, - { - "value": "ReplaceExternalPolicies", - "name": "ReplaceExternalPolicies" + "type": "enum", + "members": { + "KeepExternalPolicies": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KeepExternalPolicies" + } + }, + "ReplaceExternalPolicies": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ReplaceExternalPolicies" } - ] + } } }, "com.amazonaws.autoscalingplans#ScalingStatusCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Inactive", - "name": "Inactive" - }, - { - "value": "PartiallyActive", - "name": "PartiallyActive" - }, - { - "value": "Active", - "name": "Active" + "type": "enum", + "members": { + "Inactive": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Inactive" + } + }, + "PartiallyActive": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PartiallyActive" + } + }, + "Active": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Active" } - ] + } } }, "com.amazonaws.autoscalingplans#ScheduledActionBufferTime": { @@ -2266,30 +2415,38 @@ } }, "com.amazonaws.autoscalingplans#ServiceNamespace": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "autoscaling", - "name": "AUTOSCALING" - }, - { - "value": "ecs", - "name": "ECS" - }, - { - "value": "ec2", - "name": "EC2" - }, - { - "value": "rds", - "name": "RDS" - }, - { - "value": "dynamodb", - "name": "DYNAMODB" + "type": "enum", + "members": { + "AUTOSCALING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "autoscaling" + } + }, + "ECS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ecs" + } + }, + "EC2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ec2" + } + }, + "RDS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "rds" + } + }, + "DYNAMODB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "dynamodb" } - ] + } } }, "com.amazonaws.autoscalingplans#TagFilter": { @@ -2439,11 +2596,17 @@ "smithy.api#documentation": "The scaling instructions.
\nFor more information, see ScalingInstruction in the AWS Auto Scaling API Reference.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.autoscalingplans#UpdateScalingPlanResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.autoscalingplans#ValidationException": { "type": "structure", @@ -2453,6 +2616,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "ValidationException", + "httpResponseCode": 400 + }, "smithy.api#documentation": "An exception was thrown for a validation issue. Review the parameters provided.
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -2461,7 +2628,7 @@ "com.amazonaws.autoscalingplans#XmlString": { "type": "string", "traits": { - "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" + "smithy.api#pattern": "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*$" } }, "com.amazonaws.autoscalingplans#XmlStringMaxLen128": { @@ -2471,7 +2638,7 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" + "smithy.api#pattern": "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*$" } }, "com.amazonaws.autoscalingplans#XmlStringMaxLen256": { @@ -2481,7 +2648,7 @@ "min": 1, "max": 256 }, - "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" + "smithy.api#pattern": "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*$" } } } diff --git a/codegen/sdk-codegen/aws-models/auto-scaling.json b/codegen/sdk-codegen/aws-models/auto-scaling.json index 014424840bc..8d867b1718b 100644 --- a/codegen/sdk-codegen/aws-models/auto-scaling.json +++ b/codegen/sdk-codegen/aws-models/auto-scaling.json @@ -1281,6 +1281,7 @@ "arnNamespace": "autoscaling", "cloudFormationName": "AutoScaling", "cloudTrailEventSource": "autoscaling.amazonaws.com", + "docId": "autoscaling-2011-01-01", "endpointPrefix": "autoscaling" }, "aws.auth#sigv4": { diff --git a/codegen/sdk-codegen/aws-models/backup-gateway.json b/codegen/sdk-codegen/aws-models/backup-gateway.json index c6988b43ede..5fe633d4825 100644 --- a/codegen/sdk-codegen/aws-models/backup-gateway.json +++ b/codegen/sdk-codegen/aws-models/backup-gateway.json @@ -202,52 +202,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", @@ -255,13 +259,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -271,224 +284,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://backup-gateway-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://backup-gateway-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": [ { "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": [], - "endpoint": { - "url": "https://backup-gateway-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://backup-gateway-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://backup-gateway.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://backup-gateway.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://backup-gateway.{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://backup-gateway.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -503,8 +467,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -516,8 +480,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -529,8 +493,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -542,8 +506,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -555,8 +519,8 @@ }, "params": { "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -568,8 +532,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -581,8 +545,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -594,8 +558,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -607,8 +571,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -620,8 +584,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -633,8 +597,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -646,8 +610,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -659,8 +623,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -672,8 +636,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -685,8 +649,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -698,8 +662,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -711,8 +675,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -724,8 +688,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -737,8 +701,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -750,8 +714,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -763,8 +727,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -776,8 +740,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -789,8 +753,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -802,8 +766,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -815,8 +779,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -828,8 +792,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -841,8 +805,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -854,8 +818,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -867,8 +831,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -880,8 +844,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -893,8 +857,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -906,8 +870,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -919,8 +883,19 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "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 } }, { @@ -932,8 +907,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 } }, { @@ -945,8 +931,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -958,8 +955,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 } }, { @@ -971,8 +979,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -984,8 +992,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -997,8 +1005,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1009,8 +1017,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1021,10 +1029,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" @@ -3294,4 +3308,4 @@ "type": "string" } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/backupstorage.json b/codegen/sdk-codegen/aws-models/backupstorage.json index b4278df05a3..c88de48d21a 100644 --- a/codegen/sdk-codegen/aws-models/backupstorage.json +++ b/codegen/sdk-codegen/aws-models/backupstorage.json @@ -250,52 +250,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", @@ -303,13 +307,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -319,224 +332,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://backupstorage-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://backupstorage-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": [ { "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": [], - "endpoint": { - "url": "https://backupstorage-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://backupstorage-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://backupstorage.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://backupstorage.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://backupstorage.{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://backupstorage.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -551,8 +515,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -564,8 +528,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -577,8 +541,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -590,8 +554,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -603,8 +567,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -616,8 +580,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -629,8 +593,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -642,8 +606,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -655,8 +619,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -668,8 +632,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -681,8 +645,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -694,8 +658,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -707,8 +682,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 } }, { @@ -720,8 +706,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -733,8 +730,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 } }, { @@ -746,8 +754,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -759,8 +767,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -772,8 +780,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -784,8 +792,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -796,10 +804,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" @@ -832,14 +846,14 @@ } }, "com.amazonaws.backupstorage#DataChecksumAlgorithm": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SHA256", - "name": "SHA256" + "type": "enum", + "members": { + "SHA256": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SHA256" } - ] + } } }, "com.amazonaws.backupstorage#DeleteObject": { @@ -901,6 +915,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.backupstorage#GetChunk": { @@ -962,6 +979,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.backupstorage#GetChunkOutput": { @@ -1000,6 +1020,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.backupstorage#GetObjectMetadata": { @@ -1064,6 +1087,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.backupstorage#GetObjectMetadataOutput": { @@ -1106,6 +1132,9 @@ "smithy.api#httpHeader": "x-amz-checksum-algorithm" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.backupstorage#IllegalArgumentException": { @@ -1210,6 +1239,9 @@ "smithy.api#httpQuery": "next-token" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.backupstorage#ListChunksOutput": { @@ -1228,6 +1260,9 @@ "smithy.api#documentation": "Pagination token" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.backupstorage#ListObjects": { @@ -1332,6 +1367,9 @@ "smithy.api#httpQuery": "created-after" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.backupstorage#ListObjectsOutput": { @@ -1350,6 +1388,9 @@ "smithy.api#documentation": "Pagination token" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.backupstorage#MaxResults": { @@ -1500,6 +1541,9 @@ "smithy.api#httpQuery": "metadata-checksum-algorithm" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.backupstorage#NotifyObjectCompleteOutput": { @@ -1519,6 +1563,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.backupstorage#ObjectList": { @@ -1644,6 +1691,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.backupstorage#PutChunkOutput": { @@ -1663,6 +1713,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.backupstorage#PutObject": { @@ -1790,6 +1843,9 @@ "smithy.api#httpQuery": "throwOnDuplicate" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.backupstorage#PutObjectOutput": { @@ -1823,6 +1879,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.backupstorage#ResourceNotFoundException": { @@ -1949,6 +2008,9 @@ "smithy.api#documentation": "Throw an exception if Object name is already exist." } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.backupstorage#StartObjectOutput": { @@ -1961,17 +2023,20 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.backupstorage#SummaryChecksumAlgorithm": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SUMMARY", - "name": "SUMMARY" + "type": "enum", + "members": { + "SUMMARY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUMMARY" } - ] + } } }, "com.amazonaws.backupstorage#ThrottlingException": { diff --git a/codegen/sdk-codegen/aws-models/batch.json b/codegen/sdk-codegen/aws-models/batch.json index bf3755b26af..fab355ccc65 100644 --- a/codegen/sdk-codegen/aws-models/batch.json +++ b/codegen/sdk-codegen/aws-models/batch.json @@ -183,52 +183,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", @@ -236,13 +240,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -252,92 +265,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://batch-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://batch-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -346,180 +350,140 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsFIPS" + "name" ] } ] } ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://fips.batch.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://batch.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [], - "endpoint": { - "url": "https://batch-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "endpoint": { + "url": "https://fips.batch.{Region}.amazonaws.com", + "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": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws-us-gov", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsDualStack" + "name" ] } ] } ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://batch.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "endpoint": { + "url": "https://batch.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" + "endpoint": { + "url": "https://batch-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": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://batch.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://batch.{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://batch.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -1552,6 +1516,17 @@ ], "traits": { "smithy.api#documentation": "Cancels a job in an Batch job queue. Jobs that are in the\n SUBMITTED
\n or\n PENDING
\n are\n canceled. A job\n inRUNNABLE
remains in RUNNABLE
until it reaches the head of the\n job queue. Then the job status is updated to\n FAILED
.
A PENDING
job is canceled after all dependency jobs are completed.\n Therefore, it may take longer than expected to cancel a job in PENDING
\n status.
When you try to cancel an array parent job in PENDING
, Batch attempts to\n cancel all child jobs. The array parent job is canceled when all child jobs are\n completed.
Jobs that progressed to the STARTING
or\n RUNNING
state aren't canceled. However, the API operation still succeeds, even\n if no job is canceled. These jobs must be terminated with the TerminateJob\n operation.
Creates an Batch compute environment. You can create MANAGED
or UNMANAGED
compute\n environments. MANAGED
compute environments can use Amazon EC2 or Fargate resources.\n UNMANAGED
compute environments can only use EC2 resources.
In a managed compute environment, Batch manages the capacity and instance types of the compute resources\n within the environment. This is based on the compute resource specification that you define or the launch template that you\n specify when you create the compute environment. Either, you can choose to use EC2 On-Demand Instances and EC2 Spot\n Instances. Or, you can use Fargate and Fargate Spot capacity in your managed compute environment. You can\n optionally set a maximum price so that Spot Instances only launch when the Spot Instance price is less than a\n specified percentage of the On-Demand price.
\nMulti-node parallel jobs aren't supported on Spot Instances.
\nIn an unmanaged compute environment, you can manage your own EC2 compute resources and have flexibility with how\n you configure your compute resources. For example, you can use custom AMIs. However, you must verify that each of\n your AMIs meet the Amazon ECS container instance AMI specification. For more information, see container instance AMIs in the\n Amazon Elastic Container Service Developer Guide. After you created your unmanaged compute environment, you can use the DescribeComputeEnvironments operation to find the Amazon ECS cluster that's associated with it. Then, launch\n your container instances into that Amazon ECS cluster. For more information, see Launching an Amazon ECS container instance in the\n Amazon Elastic Container Service Developer Guide.
\nTo create a compute environment that uses EKS resources, the caller must have permissions to call\n eks:DescribeCluster
.
Batch doesn't automatically upgrade the AMIs in a compute environment after it's created. For example, it\n also doesn't update the AMIs in your compute environment when a newer version of the Amazon ECS optimized AMI is\n available. You're responsible for the management of the guest operating system. This includes any updates and\n security patches. You're also responsible for any additional application software or utilities that you install on\n the compute resources. There are two ways to use a new AMI for your Batch jobs. The original method is to complete\n these steps:
\nCreate a new compute environment with the new AMI.
\nAdd the compute environment to an existing job queue.
\nRemove the earlier compute environment from your job queue.
\nDelete the earlier compute environment.
\nIn April 2022, Batch added enhanced support for updating compute environments. For more information, see\n Updating compute\n environments. To use the enhanced updating of compute environments to update AMIs, follow these\n rules:
\nEither don't set the service role (serviceRole
) parameter or set it to the AWSBatchServiceRole service-linked role.
Set the allocation strategy (allocationStrategy
) parameter to BEST_FIT_PROGRESSIVE
, \n SPOT_CAPACITY_OPTIMIZED
, or SPOT_PRICE_CAPACITY_OPTIMIZED
.
Set the update to latest image version (updateToLatestImageVersion
)\n parameter to\n true
.\n The updateToLatestImageVersion
parameter is used when you update a compute\n environment. This parameter is ignored when you create a compute\n environment.
Don't specify an AMI ID in imageId
, imageIdOverride
(in \n ec2Configuration
\n ), or in the launch\n template (launchTemplate
). In that case, Batch selects the latest Amazon ECS optimized AMI that's\n supported by Batch at the time the infrastructure update is initiated. Alternatively, you can specify the AMI ID\n in the imageId
or imageIdOverride
parameters, or the launch template identified by the\n LaunchTemplate
properties. Changing any of these properties starts an infrastructure update. If the\n AMI ID is specified in the launch template, it can't be replaced by specifying an AMI ID in either the\n imageId
or imageIdOverride
parameters. It can only be replaced by specifying a different\n launch template, or if the launch template version is set to $Default
or $Latest
, by\n setting either a new default version for the launch template (if $Default
) or by adding a new version\n to the launch template (if $Latest
).
If these rules are followed, any update that starts an infrastructure update causes the AMI ID to be\n re-selected. If the version
setting in the launch template (launchTemplate
) is set to\n $Latest
or $Default
, the latest or default version of the launch template is evaluated up\n at the time of the infrastructure update, even if the launchTemplate
wasn't updated.
Creates an Batch job queue. When you create a job queue, you associate one or more compute environments to the\n queue and assign an order of preference for the compute environments.
\nYou also set a priority to the job queue that determines the order that the Batch scheduler places jobs onto\n its associated compute environments. For example, if a compute environment is associated with more than one job\n queue, the job queue with a higher priority is given preference for scheduling jobs to that compute\n environment.
", + "smithy.api#examples": [ + { + "title": "To create a job queue with a single compute environment", + "documentation": "This example creates a job queue called LowPriority that uses the M4Spot compute environment.", + "input": { + "priority": 1, + "state": "ENABLED", + "computeEnvironmentOrder": [ + { + "computeEnvironment": "M4Spot", + "order": 1 + } + ], + "jobQueueName": "LowPriority" + }, + "output": { + "jobQueueName": "LowPriority", + "jobQueueArn": "arn:aws:batch:us-east-1:012345678910:job-queue/LowPriority" + } + } + ], "smithy.api#http": { "method": "POST", "uri": "/v1/createjobqueue", @@ -2640,6 +2678,16 @@ ], "traits": { "smithy.api#documentation": "Deletes an Batch compute environment.
\nBefore you can delete a compute environment, you must set its state to DISABLED
with the UpdateComputeEnvironment API operation and disassociate it from any job queues with the UpdateJobQueue API operation. Compute environments that use Fargate resources must terminate all\n active jobs on that compute environment before deleting the compute environment. If this isn't done, the compute\n environment enters an invalid state.
Deletes the specified job queue. You must first disable submissions for a queue with the UpdateJobQueue operation. All jobs in the queue are eventually terminated when you delete a job queue.\n The jobs are terminated at a rate of about 16 jobs each second.
\nIt's not necessary to disassociate compute environments from a queue before submitting a\n DeleteJobQueue
request.
Deregisters an Batch job definition. Job definitions are permanently deleted after 180 days.
", + "smithy.api#examples": [ + { + "title": "To deregister a job definition", + "documentation": "This example deregisters a job definition called sleep10.", + "input": { + "jobDefinition": "sleep10" + }, + "output": {} + } + ], "smithy.api#http": { "method": "POST", "uri": "/v1/deregisterjobdefinition", @@ -2831,6 +2899,53 @@ ], "traits": { "smithy.api#documentation": "Describes one or more of your compute environments.
\nIf you're using an unmanaged compute environment, you can use the DescribeComputeEnvironment
\n operation to determine the ecsClusterArn
that you launch your Amazon ECS container instances\n into.
Describes a list of job definitions. You can specify a status
(such as ACTIVE
) to only\n return job definitions that match that status.
Describes one or more of your job queues.
", + "smithy.api#examples": [ + { + "title": "To describe a job queue", + "documentation": "This example describes the HighPriority job queue.", + "input": { + "jobQueues": [ + "HighPriority" + ] + }, + "output": { + "jobQueues": [ + { + "jobQueueName": "HighPriority", + "jobQueueArn": "arn:aws:batch:us-east-1:012345678910:job-queue/HighPriority", + "state": "ENABLED", + "status": "VALID", + "statusReason": "JobQueue Healthy", + "priority": 1, + "computeEnvironmentOrder": [ + { + "order": 1, + "computeEnvironment": "arn:aws:batch:us-east-1:012345678910:compute-environment/C4OnDemand" + } + ] + } + ] + } + } + ], "smithy.api#http": { "method": "POST", "uri": "/v1/describejobqueues", @@ -3077,6 +3262,48 @@ ], "traits": { "smithy.api#documentation": "Describes a list of Batch jobs.
", + "smithy.api#examples": [ + { + "title": "To describe a specific job", + "documentation": "This example describes a job with the specified job ID.", + "input": { + "jobs": [ + "24fa2d7a-64c4-49d2-8b47-f8da4fbde8e9" + ] + }, + "output": { + "jobs": [ + { + "jobName": "example", + "jobId": "24fa2d7a-64c4-49d2-8b47-f8da4fbde8e9", + "jobQueue": "arn:aws:batch:us-east-1:012345678910:job-queue/HighPriority", + "status": "SUCCEEDED", + "createdAt": 1480460782010, + "startedAt": 1480460816500, + "stoppedAt": 1480460880699, + "dependsOn": [], + "jobDefinition": "sleep60", + "parameters": {}, + "container": { + "image": "busybox", + "vcpus": 1, + "memory": 128, + "command": [ + "sleep", + "60" + ], + "volumes": [], + "environment": [], + "mountPoints": [], + "ulimits": [], + "exitCode": 0, + "containerInstanceArn": "arn:aws:ecs:us-east-1:012345678910:container-instance/5406d7cd-58bd-4b8f-9936-48d7c6b1526c" + } + } + ] + } + } + ], "smithy.api#http": { "method": "POST", "uri": "/v1/describejobs", @@ -4969,6 +5196,23 @@ ], "traits": { "smithy.api#documentation": "Returns a list of Batch jobs.
\nYou must specify only one of the following items:
\nA job queue ID to return a list of jobs in that job queue
\nA multi-node parallel job ID to return a list of nodes for that job
\nAn array job ID to return a list of the children for that job
\nYou can filter the results by job status with the jobStatus
parameter. If you don't specify a\n status, only RUNNING
jobs are returned.
Lists the tags for an Batch resource. Batch resources that support tags are compute environments, jobs, job definitions, job queues,\n and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.
", + "smithy.api#examples": [ + { + "title": "ListTagsForResource Example", + "documentation": "This demonstrates calling the ListTagsForResource action.", + "input": { + "resourceArn": "arn:aws:batch:us-east-1:123456789012:job-definition/sleep30:1" + }, + "output": { + "tags": { + "Stage": "Alpha", + "Department": "Engineering", + "User": "JaneDoe" + } + } + } + ], "smithy.api#http": { "method": "GET", "uri": "/v1/tags/{resourceArn}", @@ -5577,6 +5837,38 @@ ], "traits": { "smithy.api#documentation": "Registers an Batch job definition.
", + "smithy.api#examples": [ + { + "title": "To register a job definition", + "documentation": "This example registers a job definition for a simple container job.", + "input": { + "containerProperties": { + "image": "busybox", + "command": [ + "sleep", + "10" + ], + "resourceRequirements": [ + { + "type": "MEMORY", + "value": "128" + }, + { + "type": "VCPU", + "value": "1" + } + ] + }, + "type": "container", + "jobDefinitionName": "sleep10" + }, + "output": { + "jobDefinitionName": "sleep10", + "jobDefinitionArn": "arn:aws:batch:us-east-1:012345678910:job-definition/sleep10:1", + "revision": 1 + } + } + ], "smithy.api#http": { "method": "POST", "uri": "/v1/registerjobdefinition", @@ -5960,6 +6252,21 @@ ], "traits": { "smithy.api#documentation": "Submits an Batch job from a job definition. Parameters that are specified during SubmitJob\n override parameters defined in the job definition. vCPU and memory requirements that are specified in the\n resourceRequirements
objects in the job definition are the exception. They can't be overridden this way\n using the memory
and vcpus
parameters. Rather, you must specify updates to job definition\n parameters in a resourceRequirements
object that's included in the containerOverrides
\n parameter.
Job queues with a scheduling policy are limited to 500 active fair share identifiers at a time.
\nJobs that run on Fargate resources can't be guaranteed to run for more than 14 days. This is because, after 14\n days, Fargate resources might become unavailable and job might be terminated.
\nAssociates the specified tags to a resource with the specified resourceArn
. If existing tags on a\n resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags that\n are associated with that resource are deleted as well. Batch resources that support tags are compute environments, jobs, job definitions, job queues,\n and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.
Terminates a job in a job queue. Jobs that are in the STARTING
or RUNNING
state are\n terminated, which causes them to transition to FAILED
. Jobs that have not progressed to the\n STARTING
state are cancelled.
Deletes specified tags from an Batch resource.
", + "smithy.api#examples": [ + { + "title": "UntagResource Example", + "documentation": "This demonstrates calling the UntagResource action.", + "input": { + "resourceArn": "arn:aws:batch:us-east-1:123456789012:job-definition/sleep30:1", + "tagKeys": [ + "Stage" + ] + }, + "output": {} + } + ], "smithy.api#http": { "method": "DELETE", "uri": "/v1/tags/{resourceArn}", @@ -6406,6 +6750,20 @@ ], "traits": { "smithy.api#documentation": "Updates an Batch compute environment.
", + "smithy.api#examples": [ + { + "title": "To update a compute environment", + "documentation": "This example disables the P2OnDemand compute environment so it can be deleted.", + "input": { + "computeEnvironment": "P2OnDemand", + "state": "DISABLED" + }, + "output": { + "computeEnvironmentName": "P2OnDemand", + "computeEnvironmentArn": "arn:aws:batch:us-east-1:012345678910:compute-environment/P2OnDemand" + } + } + ], "smithy.api#http": { "method": "POST", "uri": "/v1/updatecomputeenvironment", @@ -6497,6 +6855,20 @@ ], "traits": { "smithy.api#documentation": "Updates a job queue.
", + "smithy.api#examples": [ + { + "title": "To update a job queue", + "documentation": "This example disables a job queue so that it can be deleted.", + "input": { + "state": "DISABLED", + "jobQueue": "GPGPU" + }, + "output": { + "jobQueueName": "GPGPU", + "jobQueueArn": "arn:aws:batch:us-east-1:012345678910:job-queue/GPGPU" + } + } + ], "smithy.api#http": { "method": "POST", "uri": "/v1/updatejobqueue", diff --git a/codegen/sdk-codegen/aws-models/braket.json b/codegen/sdk-codegen/aws-models/braket.json index 5b39d8a0d89..de2d981ab5f 100644 --- a/codegen/sdk-codegen/aws-models/braket.json +++ b/codegen/sdk-codegen/aws-models/braket.json @@ -149,52 +149,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", @@ -202,13 +206,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -218,224 +231,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://braket-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://braket-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": [ { "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": [], - "endpoint": { - "url": "https://braket-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://braket-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://braket.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://braket.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://braket.{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://braket.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -450,8 +414,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -463,8 +427,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -476,8 +440,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -489,8 +453,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -502,8 +466,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -515,8 +479,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -528,8 +492,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -541,8 +505,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -554,8 +518,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -567,8 +531,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -580,8 +544,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -593,8 +557,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -606,8 +570,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -619,8 +583,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -632,8 +596,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -645,8 +620,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 } }, { @@ -658,8 +644,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -671,8 +668,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 } }, { @@ -684,8 +692,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -697,8 +705,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -710,8 +718,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -722,8 +730,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -734,10 +742,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" @@ -3317,4 +3331,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/chime-sdk-identity.json b/codegen/sdk-codegen/aws-models/chime-sdk-identity.json index 13730f21b19..402ae5acfc5 100644 --- a/codegen/sdk-codegen/aws-models/chime-sdk-identity.json +++ b/codegen/sdk-codegen/aws-models/chime-sdk-identity.json @@ -678,52 +678,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", @@ -731,13 +735,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -747,224 +760,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://identity-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://identity-chime-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": [ { "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": [], - "endpoint": { - "url": "https://identity-chime-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://identity-chime-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://identity-chime.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://identity-chime.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://identity-chime.{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://identity-chime.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/chime-sdk-messaging.json b/codegen/sdk-codegen/aws-models/chime-sdk-messaging.json index c8fc56f0bab..e176a624b4f 100644 --- a/codegen/sdk-codegen/aws-models/chime-sdk-messaging.json +++ b/codegen/sdk-codegen/aws-models/chime-sdk-messaging.json @@ -1598,52 +1598,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", @@ -1651,13 +1655,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -1667,224 +1680,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://messaging-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://messaging-chime-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": [ { "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": [], - "endpoint": { - "url": "https://messaging-chime-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://messaging-chime-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://messaging-chime.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://messaging-chime.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://messaging-chime.{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://messaging-chime.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/chime-sdk-voice.json b/codegen/sdk-codegen/aws-models/chime-sdk-voice.json index 1b5ccd24ad4..b0adf10beb8 100644 --- a/codegen/sdk-codegen/aws-models/chime-sdk-voice.json +++ b/codegen/sdk-codegen/aws-models/chime-sdk-voice.json @@ -1326,55 +1326,55 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://voice-chime-fips.us-gov-east-1.api.aws" + "url": "https://voice-chime-fips.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://voice-chime-fips.us-gov-east-1.amazonaws.com" + "url": "https://voice-chime-fips.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://voice-chime.us-gov-east-1.api.aws" + "url": "https://voice-chime.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://voice-chime.us-gov-east-1.amazonaws.com" + "url": "https://voice-chime.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -1385,9 +1385,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -1398,9 +1398,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -1411,9 +1411,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -1424,109 +1424,109 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://voice-chime-fips.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://voice-chime-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://voice-chime-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://voice-chime.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://voice-chime.us-iso-east-1.c2s.ic.gov" + "url": "https://voice-chime.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://voice-chime-fips.us-east-1.api.aws" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://voice-chime-fips.us-east-1.amazonaws.com" + "url": "https://voice-chime-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://voice-chime.us-east-1.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://voice-chime.us-east-1.amazonaws.com" + "url": "https://voice-chime.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -1535,9 +1535,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -1548,9 +1548,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -1559,9 +1559,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -1572,22 +1572,35 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { + "Region": "us-east-1", + "UseFIPS": false, "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { "UseFIPS": false, - "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1597,9 +1610,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1609,11 +1622,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/codegen/sdk-codegen/aws-models/chime.json b/codegen/sdk-codegen/aws-models/chime.json index d549806b589..a49aeb4c912 100644 --- a/codegen/sdk-codegen/aws-models/chime.json +++ b/codegen/sdk-codegen/aws-models/chime.json @@ -19438,52 +19438,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", @@ -19491,291 +19495,251 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "stringEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] + "ref": "PartitionResult" }, - "aws" + "name" ] }, + "aws" + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - false - ] + "ref": "UseDualStack" }, + false + ] + } + ], + "endpoint": { + "url": "https://chime.us-east-1.amazonaws.com", + "properties": { + "authSchemes": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - false - ] + "name": "sigv4", + "signingName": "chime", + "signingRegion": "us-east-1" } - ], - "endpoint": { - "url": "https://chime.us-east-1.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "chime", - "signingRegion": "us-east-1" - } - ] + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" }, - "headers": {} - }, - "type": "endpoint" + true + ] }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://chime-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": [ { "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": [], - "endpoint": { - "url": "https://chime-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://chime-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://chime.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://chime.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://chime.{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://chime.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/cloudcontrol.json b/codegen/sdk-codegen/aws-models/cloudcontrol.json index 5202ce55190..e479fe67210 100644 --- a/codegen/sdk-codegen/aws-models/cloudcontrol.json +++ b/codegen/sdk-codegen/aws-models/cloudcontrol.json @@ -187,52 +187,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", @@ -240,13 +244,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -256,224 +269,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://cloudcontrolapi-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://cloudcontrolapi-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": [ { "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": [], - "endpoint": { - "url": "https://cloudcontrolapi-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://cloudcontrolapi-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://cloudcontrolapi.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://cloudcontrolapi.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://cloudcontrolapi.{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://cloudcontrolapi.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/clouddirectory.json b/codegen/sdk-codegen/aws-models/clouddirectory.json index 001cf15a531..a7fbd382ace 100644 --- a/codegen/sdk-codegen/aws-models/clouddirectory.json +++ b/codegen/sdk-codegen/aws-models/clouddirectory.json @@ -408,52 +408,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", @@ -461,13 +465,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -477,92 +490,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://clouddirectory-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://clouddirectory-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -571,155 +575,115 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws-us-gov", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsFIPS" + "name" ] } ] } ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://clouddirectory.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [], - "endpoint": { - "url": "https://clouddirectory-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "endpoint": { + "url": "https://clouddirectory.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://clouddirectory-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://clouddirectory.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://clouddirectory.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://clouddirectory.{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://clouddirectory.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -734,8 +698,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -747,8 +711,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -760,8 +724,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -773,8 +737,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -786,8 +750,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -799,8 +763,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -812,8 +776,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -825,8 +789,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -838,8 +802,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -851,8 +815,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -864,8 +828,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -877,8 +841,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -890,8 +854,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -903,8 +867,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -916,8 +880,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -929,8 +893,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -942,8 +906,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -955,8 +919,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -968,8 +932,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -981,8 +945,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -994,8 +958,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1007,8 +971,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -1020,8 +995,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 } }, { @@ -1033,8 +1019,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -1046,8 +1043,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 } }, { @@ -1059,8 +1067,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1072,8 +1080,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1085,8 +1093,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1097,8 +1105,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1109,10 +1117,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" diff --git a/codegen/sdk-codegen/aws-models/cloudfront.json b/codegen/sdk-codegen/aws-models/cloudfront.json index dabc40a6217..61bc81b5b28 100644 --- a/codegen/sdk-codegen/aws-models/cloudfront.json +++ b/codegen/sdk-codegen/aws-models/cloudfront.json @@ -1402,52 +1402,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", @@ -1455,393 +1459,353 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "stringEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] + "ref": "PartitionResult" }, - "aws" + "name" ] }, + "aws" + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - false - ] + "ref": "UseFIPS" }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - false - ] - } - ], - "endpoint": { - "url": "https://cloudfront.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "cloudfront", - "signingRegion": "us-east-1" - } - ] + "ref": "UseDualStack" }, - "headers": {} - }, - "type": "endpoint" + false + ] + } + ], + "endpoint": { + "url": "https://cloudfront.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "cloudfront", + "signingRegion": "us-east-1" + } + ] }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ { - "conditions": [ + "fn": "stringEquals", + "argv": [ { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] + "ref": "PartitionResult" }, - "aws" + "name" ] }, + "aws" + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] + "ref": "UseFIPS" }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - false - ] - } - ], - "endpoint": { - "url": "https://cloudfront-fips.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "cloudfront", - "signingRegion": "us-east-1" - } - ] + "ref": "UseDualStack" }, - "headers": {} - }, - "type": "endpoint" + false + ] + } + ], + "endpoint": { + "url": "https://cloudfront-fips.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "cloudfront", + "signingRegion": "us-east-1" + } + ] }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ { - "conditions": [ + "fn": "stringEquals", + "argv": [ { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] + "ref": "PartitionResult" }, - "aws-cn" + "name" ] }, + "aws-cn" + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - false - ] + "ref": "UseFIPS" }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - false - ] + "ref": "UseDualStack" + }, + false + ] + } + ], + "endpoint": { + "url": "https://cloudfront.cn-northwest-1.amazonaws.com.cn", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "cloudfront", + "signingRegion": "cn-northwest-1" } - ], - "endpoint": { - "url": "https://cloudfront.cn-northwest-1.amazonaws.com.cn", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "cloudfront", - "signingRegion": "cn-northwest-1" - } - ] + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" }, - "headers": {} - }, - "type": "endpoint" + true + ] }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://cloudfront-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://cloudfront-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": [ { "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": [], - "endpoint": { - "url": "https://cloudfront-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://cloudfront-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://cloudfront.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://cloudfront.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://cloudfront.{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://cloudfront.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/cloudhsm-v2.json b/codegen/sdk-codegen/aws-models/cloudhsm-v2.json index ec769107ae6..aa16b18c41d 100644 --- a/codegen/sdk-codegen/aws-models/cloudhsm-v2.json +++ b/codegen/sdk-codegen/aws-models/cloudhsm-v2.json @@ -107,18 +107,18 @@ "com.amazonaws.cloudhsmv2#BackupId": { "type": "string", "traits": { - "smithy.api#pattern": "backup-[2-7a-zA-Z]{11,16}" + "smithy.api#pattern": "^backup-[2-7a-zA-Z]{11,16}$" } }, "com.amazonaws.cloudhsmv2#BackupPolicy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DEFAULT", - "name": "DEFAULT" + "type": "enum", + "members": { + "DEFAULT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEFAULT" } - ] + } } }, "com.amazonaws.cloudhsmv2#BackupRetentionPolicy": { @@ -142,14 +142,14 @@ } }, "com.amazonaws.cloudhsmv2#BackupRetentionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DAYS", - "name": "DAYS" + "type": "enum", + "members": { + "DAYS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DAYS" } - ] + } } }, "com.amazonaws.cloudhsmv2#BackupRetentionValue": { @@ -159,30 +159,36 @@ "min": 1, "max": 3 }, - "smithy.api#pattern": "[0-9]+" + "smithy.api#pattern": "^[0-9]+$" } }, "com.amazonaws.cloudhsmv2#BackupState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATE_IN_PROGRESS", - "name": "CREATE_IN_PROGRESS" - }, - { - "value": "READY", - "name": "READY" - }, - { - "value": "DELETED", - "name": "DELETED" - }, - { - "value": "PENDING_DELETION", - "name": "PENDING_DELETION" + "type": "enum", + "members": { + "CREATE_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATE_IN_PROGRESS" } - ] + }, + "READY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "READY" + } + }, + "DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETED" + } + }, + "PENDING_DELETION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING_DELETION" + } + } } }, "com.amazonaws.cloudhsmv2#Backups": { @@ -256,6 +262,7 @@ "arnNamespace": "cloudhsm", "cloudFormationName": "CloudHSMV2", "cloudTrailEventSource": "cloudhsmv2.amazonaws.com", + "docId": "cloudhsmv2-2017-04-28", "endpointPrefix": "cloudhsmv2" }, "aws.auth#sigv4": { @@ -324,52 +331,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", @@ -377,13 +388,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -393,274 +413,225 @@ { "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://cloudhsmv2-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": [], - "endpoint": { - "url": "https://cloudhsmv2-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://cloudhsmv2-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://cloudhsmv2.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], + "conditions": [], "endpoint": { - "url": "https://cloudhsmv2.{Region}.amazonaws.com", + "url": "https://cloudhsmv2-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": [ - "aws-us-gov", { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } - ], - "endpoint": { - "url": "https://cloudhsmv2.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [], "endpoint": { - "url": "https://cloudhsmv2.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://cloudhsmv2.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws", + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://cloudhsmv2.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws-us-gov", + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://cloudhsmv2.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://cloudhsmv2.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -675,8 +646,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -688,8 +659,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -701,8 +672,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -714,8 +685,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -727,8 +698,8 @@ }, "params": { "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -740,8 +711,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -753,8 +724,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -766,8 +737,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -779,8 +750,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -792,8 +763,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -805,8 +776,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -818,8 +789,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -831,8 +802,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -844,8 +815,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -857,8 +828,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -870,8 +841,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -883,8 +854,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -896,8 +867,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -909,8 +880,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -922,8 +893,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -935,8 +906,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -948,8 +919,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -961,8 +932,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -974,8 +945,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -987,8 +958,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1000,8 +971,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1013,8 +984,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1026,8 +997,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1039,8 +1010,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1052,8 +1023,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1065,8 +1036,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1078,8 +1049,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1091,8 +1062,19 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "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 } }, { @@ -1104,8 +1086,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 } }, { @@ -1117,8 +1110,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -1130,8 +1134,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 } }, { @@ -1143,8 +1158,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1156,8 +1171,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1169,8 +1184,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1181,8 +1196,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1193,10 +1208,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" @@ -1213,7 +1234,7 @@ "min": 0, "max": 5000 }, - "smithy.api#pattern": "[a-zA-Z0-9+-/=\\s]*" + "smithy.api#pattern": "^[a-zA-Z0-9+-/=\\s]*$" } }, "com.amazonaws.cloudhsmv2#Certificates": { @@ -1427,50 +1448,66 @@ "com.amazonaws.cloudhsmv2#ClusterId": { "type": "string", "traits": { - "smithy.api#pattern": "cluster-[2-7a-zA-Z]{11,16}" + "smithy.api#pattern": "^cluster-[2-7a-zA-Z]{11,16}$" } }, "com.amazonaws.cloudhsmv2#ClusterState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATE_IN_PROGRESS", - "name": "CREATE_IN_PROGRESS" - }, - { - "value": "UNINITIALIZED", - "name": "UNINITIALIZED" - }, - { - "value": "INITIALIZE_IN_PROGRESS", - "name": "INITIALIZE_IN_PROGRESS" - }, - { - "value": "INITIALIZED", - "name": "INITIALIZED" - }, - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "UPDATE_IN_PROGRESS", - "name": "UPDATE_IN_PROGRESS" - }, - { - "value": "DELETE_IN_PROGRESS", - "name": "DELETE_IN_PROGRESS" - }, - { - "value": "DELETED", - "name": "DELETED" - }, - { - "value": "DEGRADED", - "name": "DEGRADED" + "type": "enum", + "members": { + "CREATE_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATE_IN_PROGRESS" + } + }, + "UNINITIALIZED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNINITIALIZED" + } + }, + "INITIALIZE_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INITIALIZE_IN_PROGRESS" + } + }, + "INITIALIZED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INITIALIZED" + } + }, + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "UPDATE_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATE_IN_PROGRESS" + } + }, + "DELETE_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETE_IN_PROGRESS" } - ] + }, + "DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETED" + } + }, + "DEGRADED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEGRADED" + } + } } }, "com.amazonaws.cloudhsmv2#Clusters": { @@ -1543,6 +1580,9 @@ "smithy.api#documentation": "Tags to apply to the destination backup during creation. If you specify tags, only these tags will be applied to the destination backup. If you do not specify tags, the service copies tags from the source backup to the destination backup.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudhsmv2#CopyBackupToRegionResponse": { @@ -1554,6 +1594,9 @@ "smithy.api#documentation": "Information on the backup that will be copied to the destination region, including\n CreateTimestamp, SourceBackup, SourceCluster, and Source Region. CreateTimestamp of the\n destination backup will be the same as that of the source backup.
\nYou will need to use the sourceBackupID
returned in this operation to use\n the DescribeBackups operation on the backup that will be copied to the\n destination region.
Tags to apply to the CloudHSM cluster during creation.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudhsmv2#CreateClusterResponse": { @@ -1634,6 +1680,9 @@ "smithy.api#documentation": "Information about the cluster that was created.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudhsmv2#CreateHsm": { @@ -1688,6 +1737,9 @@ "smithy.api#documentation": "The HSM's IP address. If you specify an IP address, use an available address from the\n subnet that maps to the Availability Zone where you are creating the HSM. If you don't specify\n an IP address, one is chosen for you from that subnet.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudhsmv2#CreateHsmResponse": { @@ -1699,6 +1751,9 @@ "smithy.api#documentation": "Information about the HSM that was created.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudhsmv2#DeleteBackup": { @@ -1740,6 +1795,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudhsmv2#DeleteBackupResponse": { @@ -1751,6 +1809,9 @@ "smithy.api#documentation": "Information on the Backup
object deleted.
Information about the cluster that was deleted.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudhsmv2#DeleteHsm": { @@ -1865,6 +1932,9 @@ "smithy.api#documentation": "The IP address of the elastic network interface (ENI) of the HSM that you are\n deleting.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudhsmv2#DeleteHsmResponse": { @@ -1876,6 +1946,9 @@ "smithy.api#documentation": "The identifier (ID) of the HSM that was deleted.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudhsmv2#DescribeBackups": { @@ -1942,6 +2015,9 @@ "smithy.api#documentation": "Designates whether or not to sort the return backups by ascending chronological order\n of generation.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudhsmv2#DescribeBackupsResponse": { @@ -1959,6 +2035,9 @@ "smithy.api#documentation": "An opaque string that indicates that the response contains only a subset of backups.\n Use this value in a subsequent DescribeBackups
request to get more\n backups.
The maximum number of clusters to return in the response. When there are more clusters\n than the number you specify, the response contains a NextToken
value.
An opaque string that indicates that the response contains only a subset of clusters.\n Use this value in a subsequent DescribeClusters
request to get more\n clusters.
A description of the cluster's state.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudhsmv2#IpAddress": { "type": "string", "traits": { - "smithy.api#pattern": "\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}" + "smithy.api#pattern": "^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$" } }, "com.amazonaws.cloudhsmv2#ListTags": { @@ -2342,6 +2441,9 @@ "smithy.api#documentation": "The maximum number of tags to return in the response. When there are more tags than the\n number you specify, the response contains a NextToken
value.
An opaque string that indicates that the response contains only a subset of tags. Use\n this value in a subsequent ListTags
request to get more tags.
Information on the Backup
object created.
Container for the parameters to the Search
request.
Container for the parameters to the Search
request.
The result of a Search
request. Contains the documents that match the specified search criteria and any requested fields, highlights, and facet information.
The result of a Search
request. Contains the documents that match the specified search criteria and any requested fields, highlights, and facet information.
Container for the parameters to the Suggest
request.
Container for the parameters to the Suggest
request.
Contains the response to a Suggest
request.
Contains the response to a Suggest
request.
Container for the parameters to the UploadDocuments
request.
Container for the parameters to the UploadDocuments
request.
Contains the response to an UploadDocuments
request.
Contains the response to an UploadDocuments
request.
A JSON object that defines synonym groups and aliases. A synonym group is an array of arrays, where each sub-array is a group of terms where each term in the group is considered a synonym of every other term in the group. The aliases value is an object that contains a collection of string:value pairs where the string specifies a term and the array of values specifies each of the aliases for that term. An alias is considered a synonym of the specified term, but the term is not considered a synonym of the alias. For more information about specifying synonyms, see Synonyms in the Amazon CloudSearch Developer Guide.
" + } + }, + "Stopwords": { + "target": "com.amazonaws.cloudsearch#String", + "traits": { + "smithy.api#documentation": "A JSON array of terms to ignore during indexing and searching. For example, [\"a\", \"an\", \"the\", \"of\"]
. The stopwords dictionary must explicitly list each word you want to ignore. Wildcards and regular expressions are not supported.
A JSON object that contains a collection of string:value pairs that each map a term to its stem. For example, {\"term1\": \"stem1\", \"term2\": \"stem2\", \"term3\": \"stem3\"}
. The stemming dictionary is applied in addition to any algorithmic stemming. This enables you to override the results of the algorithmic stemming to correct specific cases of overstemming or understemming. The maximum size of a stemming dictionary is 500 KB.
A JSON array that contains a collection of terms, tokens, readings and part of speech for Japanese Tokenizaiton. The Japanese tokenization dictionary enables you to override the default tokenization for selected terms. This is only valid for Japanese language fields.
" + } + }, + "AlgorithmicStemming": { + "target": "com.amazonaws.cloudsearch#AlgorithmicStemming", + "traits": { + "smithy.api#documentation": "The level of algorithmic stemming to perform: none
, minimal
, light
, or full
. The available levels vary depending on the language. For more information, see Language Specific Text Processing Settings in the Amazon CloudSearch Developer Guide
Synonyms, stopwords, and stemming options for an analysis scheme. Includes tokenization dictionary for Japanese.
" + } + }, + "com.amazonaws.cloudsearch#AnalysisScheme": { + "type": "structure", + "members": { + "AnalysisSchemeName": { + "target": "com.amazonaws.cloudsearch#StandardName", + "traits": { + "smithy.api#required": {} + } + }, + "AnalysisSchemeLanguage": { + "target": "com.amazonaws.cloudsearch#AnalysisSchemeLanguage", + "traits": { + "smithy.api#required": {} + } + }, + "AnalysisOptions": { + "target": "com.amazonaws.cloudsearch#AnalysisOptions" + } + }, + "traits": { + "smithy.api#documentation": "Configuration information for an analysis scheme. Each analysis scheme has a unique name and specifies the language of the text to be processed. The following options can be configured for an analysis scheme: Synonyms
, Stopwords
, StemmingDictionary
, JapaneseTokenizationDictionary
and AlgorithmicStemming
.
A JSON object that defines synonym groups and aliases. A synonym group is an array of arrays, where each sub-array is a group of terms where each term in the group is considered a synonym of every other term in the group. The aliases value is an object that contains a collection of string:value pairs where the string specifies a term and the array of values specifies each of the aliases for that term. An alias is considered a synonym of the specified term, but the term is not considered a synonym of the alias. For more information about specifying synonyms, see Synonyms in the Amazon CloudSearch Developer Guide.
" + "smithy.api#enumValue": "mul" } }, - "Stopwords": { - "target": "com.amazonaws.cloudsearch#String", + "nl": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "A JSON array of terms to ignore during indexing and searching. For example, [\"a\", \"an\", \"the\", \"of\"]
. The stopwords dictionary must explicitly list each word you want to ignore. Wildcards and regular expressions are not supported.
A JSON object that contains a collection of string:value pairs that each map a term to its stem. For example, {\"term1\": \"stem1\", \"term2\": \"stem2\", \"term3\": \"stem3\"}
. The stemming dictionary is applied in addition to any algorithmic stemming. This enables you to override the results of the algorithmic stemming to correct specific cases of overstemming or understemming. The maximum size of a stemming dictionary is 500 KB.
A JSON array that contains a collection of terms, tokens, readings and part of speech for Japanese Tokenizaiton. The Japanese tokenization dictionary enables you to override the default tokenization for selected terms. This is only valid for Japanese language fields.
" + "smithy.api#enumValue": "pt" } }, - "AlgorithmicStemming": { - "target": "com.amazonaws.cloudsearch#AlgorithmicStemming", + "ro": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "The level of algorithmic stemming to perform: none
, minimal
, light
, or full
. The available levels vary depending on the language. For more information, see Language Specific Text Processing Settings in the Amazon CloudSearch Developer Guide
Synonyms, stopwords, and stemming options for an analysis scheme. Includes tokenization dictionary for Japanese.
" - } - }, - "com.amazonaws.cloudsearch#AnalysisScheme": { - "type": "structure", - "members": { - "AnalysisSchemeName": { - "target": "com.amazonaws.cloudsearch#StandardName", + }, + "ru": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#required": {} + "smithy.api#enumValue": "ru" } }, - "AnalysisSchemeLanguage": { - "target": "com.amazonaws.cloudsearch#AnalysisSchemeLanguage", + "sv": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#required": {} + "smithy.api#enumValue": "sv" } }, - "AnalysisOptions": { - "target": "com.amazonaws.cloudsearch#AnalysisOptions" + "th": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "th" + } + }, + "tr": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "tr" + } + }, + "zh_Hans": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "zh-Hans" + } + }, + "zh_Hant": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "zh-Hant" + } } }, "traits": { - "smithy.api#documentation": "Configuration information for an analysis scheme. Each analysis scheme has a unique name and specifies the language of the text to be processed. The following options can be configured for an analysis scheme: Synonyms
, Stopwords
, StemmingDictionary
, JapaneseTokenizationDictionary
and AlgorithmicStemming
.
An IETF RFC 4646 language code or mul
for multiple languages.
An IETF RFC 4646 language code or mul
for multiple languages.
Container for the parameters to the BuildSuggester
operation. Specifies the name of the domain you want to update.
Container for the parameters to the BuildSuggester
operation. Specifies the name of the domain you want to update.
The result of a BuildSuggester
request. Contains a list of the fields used for suggestions.
The result of a BuildSuggester
request. Contains a list of the fields used for suggestions.
Container for the parameters to the CreateDomain
operation. Specifies a name for the new search domain.
Container for the parameters to the CreateDomain
operation. Specifies a name for the new search domain.
The result of a CreateDomainRequest
. Contains the status of a newly created domain.
The result of a CreateDomainRequest
. Contains the status of a newly created domain.
Container for the parameters to the DefineAnalysisScheme
operation. Specifies the name of the domain you want to update and the analysis scheme configuration.
Container for the parameters to the DefineAnalysisScheme
operation. Specifies the name of the domain you want to update and the analysis scheme configuration.
The result of a DefineAnalysisScheme
request. Contains the status of the newly-configured analysis scheme.
The result of a DefineAnalysisScheme
request. Contains the status of the newly-configured analysis scheme.
Container for the parameters to the DefineExpression
operation. Specifies the name of the domain you want to update and the expression you want to configure.
Container for the parameters to the DefineExpression
operation. Specifies the name of the domain you want to update and the expression you want to configure.
The result of a DefineExpression
request. Contains the status of the newly-configured expression.
The result of a DefineExpression
request. Contains the status of the newly-configured expression.
Container for the parameters to the DefineIndexField
operation. Specifies the name of the domain you want to update and the index field configuration.
Container for the parameters to the DefineIndexField
operation. Specifies the name of the domain you want to update and the index field configuration.
The result of a DefineIndexField
request. Contains the status of the newly-configured index field.
The result of a DefineIndexField
request. Contains the status of the newly-configured index field.
Container for the parameters to the DefineSuggester
operation. Specifies the name of the domain you want to update and the suggester configuration.
Container for the parameters to the DefineSuggester
operation. Specifies the name of the domain you want to update and the suggester configuration.
The result of a DefineSuggester
request. Contains the status of the newly-configured suggester.
The result of a DefineSuggester
request. Contains the status of the newly-configured suggester.
Container for the parameters to the DeleteAnalysisScheme
operation. Specifies the name of the domain you want to update and the analysis scheme you want to delete.
Container for the parameters to the DeleteAnalysisScheme
operation. Specifies the name of the domain you want to update and the analysis scheme you want to delete.
The result of a DeleteAnalysisScheme
request. Contains the status of the deleted analysis scheme.
The result of a DeleteAnalysisScheme
request. Contains the status of the deleted analysis scheme.
Container for the parameters to the DeleteDomain
operation. Specifies the name of the domain you want to delete.
Container for the parameters to the DeleteDomain
operation. Specifies the name of the domain you want to delete.
The result of a DeleteDomain
request. Contains the status of a newly deleted domain, or no status if the domain has already been completely deleted.
The result of a DeleteDomain
request. Contains the status of a newly deleted domain, or no status if the domain has already been completely deleted.
Container for the parameters to the DeleteExpression
operation. Specifies the name of the domain you want to update and the name of the expression you want to delete.
Container for the parameters to the DeleteExpression
operation. Specifies the name of the domain you want to update and the name of the expression you want to delete.
The result of a DeleteExpression
request. Specifies the expression being deleted.
The result of a DeleteExpression
request. Specifies the expression being deleted.
Container for the parameters to the DeleteIndexField
operation. Specifies the name of the domain you want to update and the name of the index field you want to delete.
Container for the parameters to the DeleteIndexField
operation. Specifies the name of the domain you want to update and the name of the index field you want to delete.
The result of a DeleteIndexField
request.
The result of a DeleteIndexField
request.
Container for the parameters to the DeleteSuggester
operation. Specifies the name of the domain you want to update and name of the suggester you want to delete.
Container for the parameters to the DeleteSuggester
operation. Specifies the name of the domain you want to update and name of the suggester you want to delete.
The result of a DeleteSuggester
request. Contains the status of the deleted suggester.
The result of a DeleteSuggester
request. Contains the status of the deleted suggester.
Container for the parameters to the DescribeAnalysisSchemes
operation. Specifies the name of the domain you want to describe. To limit the response to particular analysis schemes, specify the names of the analysis schemes you want to describe. To show the active configuration and exclude any pending changes, set the Deployed
option to true
.
Container for the parameters to the DescribeAnalysisSchemes
operation. Specifies the name of the domain you want to describe. To limit the response to particular analysis schemes, specify the names of the analysis schemes you want to describe. To show the active configuration and exclude any pending changes, set the Deployed
option to true
.
The result of a DescribeAnalysisSchemes
request. Contains the analysis schemes configured for the domain specified in the request.
The result of a DescribeAnalysisSchemes
request. Contains the analysis schemes configured for the domain specified in the request.
Container for the parameters to the DescribeAvailabilityOptions
operation. Specifies the name of the domain you want to describe. To show the active configuration and exclude any pending changes, set the Deployed option to true
.
Container for the parameters to the DescribeAvailabilityOptions
operation. Specifies the name of the domain you want to describe. To show the active configuration and exclude any pending changes, set the Deployed option to true
.
The result of a DescribeAvailabilityOptions
request. Indicates whether or not the Multi-AZ option is enabled for the domain specified in the request.
The result of a DescribeAvailabilityOptions
request. Indicates whether or not the Multi-AZ option is enabled for the domain specified in the request.
Container for the parameters to the DescribeDomainEndpointOptions
operation. Specify the name of the domain you want to describe. To show the active configuration and exclude any pending changes, set the Deployed option to true
.
Container for the parameters to the DescribeDomainEndpointOptions
operation. Specify the name of the domain you want to describe. To show the active configuration and exclude any pending changes, set the Deployed option to true
.
The result of a DescribeDomainEndpointOptions
request. Contains the status and configuration of a search domain's endpoint options.
The result of a DescribeDomainEndpointOptions
request. Contains the status and configuration of a search domain's endpoint options.
Container for the parameters to the DescribeDomains
operation. By default shows the status of all domains. To restrict the response to particular domains, specify the names of the domains you want to describe.
Container for the parameters to the DescribeDomains
operation. By default shows the status of all domains. To restrict the response to particular domains, specify the names of the domains you want to describe.
The result of a DescribeDomains
request. Contains the status of the domains specified in the request or all domains owned by the account.
The result of a DescribeDomains
request. Contains the status of the domains specified in the request or all domains owned by the account.
Container for the parameters to the DescribeDomains
operation.\n Specifies the name of the domain you want to describe. To restrict the response to particular expressions, specify the names of the expressions you want to describe. To show the active configuration and exclude any pending changes, set the Deployed
option to true
.
Container for the parameters to the DescribeDomains
operation.\n Specifies the name of the domain you want to describe. To restrict the response to particular expressions, specify the names of the expressions you want to describe. To show the active configuration and exclude any pending changes, set the Deployed
option to true
.
The result of a DescribeExpressions
request. Contains the expressions configured for the domain specified in the request.
The result of a DescribeExpressions
request. Contains the expressions configured for the domain specified in the request.
Container for the parameters to the DescribeIndexFields
operation. Specifies the name of the domain you want to describe. To restrict the response to particular index fields, specify the names of the index fields you want to describe. To show the active configuration and exclude any pending changes, set the Deployed
option to true
.
Container for the parameters to the DescribeIndexFields
operation. Specifies the name of the domain you want to describe. To restrict the response to particular index fields, specify the names of the index fields you want to describe. To show the active configuration and exclude any pending changes, set the Deployed
option to true
.
The result of a DescribeIndexFields
request. Contains the index fields configured for the domain specified in the request.
The result of a DescribeIndexFields
request. Contains the index fields configured for the domain specified in the request.
Container for the parameters to the DescribeScalingParameters
operation. Specifies the name of the domain you want to describe.
Container for the parameters to the DescribeScalingParameters
operation. Specifies the name of the domain you want to describe.
The result of a DescribeScalingParameters
request. Contains the scaling parameters configured for the domain specified in the request.
The result of a DescribeScalingParameters
request. Contains the scaling parameters configured for the domain specified in the request.
Container for the parameters to the DescribeServiceAccessPolicies
operation. Specifies the name of the domain you want to describe. To show the active configuration and exclude any pending changes, set the Deployed
option to true
.
Container for the parameters to the DescribeServiceAccessPolicies
operation. Specifies the name of the domain you want to describe. To show the active configuration and exclude any pending changes, set the Deployed
option to true
.
The result of a DescribeServiceAccessPolicies
request.
The result of a DescribeServiceAccessPolicies
request.
Container for the parameters to the DescribeSuggester
operation. Specifies the name of the domain you want to describe. To restrict the response to particular suggesters, specify the names of the suggesters you want to describe. To show the active configuration and exclude any pending changes, set the Deployed
option to true
.
Container for the parameters to the DescribeSuggester
operation. Specifies the name of the domain you want to describe. To restrict the response to particular suggesters, specify the names of the suggesters you want to describe. To show the active configuration and exclude any pending changes, set the Deployed
option to true
.
The result of a DescribeSuggesters
request.
The result of a DescribeSuggesters
request.
Container for the parameters to the IndexDocuments
operation. Specifies the name of the domain you want to re-index.
Container for the parameters to the IndexDocuments
operation. Specifies the name of the domain you want to re-index.
The result of an IndexDocuments
request. Contains the status of the indexing operation, including the fields being indexed.
The result of an IndexDocuments
request. Contains the status of the indexing operation, including the fields being indexed.
The type of field. The valid options for a field depend on the field type. For more information about the supported field types, see Configuring Index Fields in the Amazon CloudSearch Developer Guide.
", - "smithy.api#enum": [ - { - "value": "int", - "name": "int" - }, - { - "value": "double", - "name": "double" - }, - { - "value": "literal", - "name": "literal" - }, - { - "value": "text", - "name": "text" - }, - { - "value": "date", - "name": "date" - }, - { - "value": "latlon", - "name": "latlon" - }, - { - "value": "int-array", - "name": "int_array" - }, - { - "value": "double-array", - "name": "double_array" - }, - { - "value": "literal-array", - "name": "literal_array" - }, - { - "value": "text-array", - "name": "text_array" - }, - { - "value": "date-array", - "name": "date_array" + "type": "enum", + "members": { + "int": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "int" + } + }, + "double": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "double" + } + }, + "literal": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "literal" + } + }, + "text": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "text" + } + }, + "date": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "date" + } + }, + "latlon": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "latlon" + } + }, + "int_array": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "int-array" + } + }, + "double_array": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "double-array" } - ] + }, + "literal_array": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "literal-array" + } + }, + "text_array": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "text-array" + } + }, + "date_array": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "date-array" + } + } + }, + "traits": { + "smithy.api#documentation": "The type of field. The valid options for a field depend on the field type. For more information about the supported field types, see Configuring Index Fields in the Amazon CloudSearch Developer Guide.
" } }, "com.amazonaws.cloudsearch#InstanceCount": { @@ -3360,7 +3514,8 @@ } }, "traits": { - "smithy.api#documentation": "The result of a ListDomainNames
request. Contains a list of the domains owned by an account.
The result of a ListDomainNames
request. Contains a list of the domains owned by an account.
The state of processing a change to an option. One of:
\nThe state of processing a change to an option. One of:
\nThe instance type (such as search.m1.small
) on which an index partition is hosted.
The instance type (such as search.m1.small
) on which an index partition is hosted.
The minimum required TLS version.
", - "smithy.api#enum": [ - { - "value": "Policy-Min-TLS-1-0-2019-07", - "name": "POLICY_MIN_TLS_1_0_2019_07" - }, - { - "value": "Policy-Min-TLS-1-2-2019-07", - "name": "POLICY_MIN_TLS_1_2_2019_07" + "type": "enum", + "members": { + "POLICY_MIN_TLS_1_0_2019_07": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Policy-Min-TLS-1-0-2019-07" + } + }, + "POLICY_MIN_TLS_1_2_2019_07": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Policy-Min-TLS-1-2-2019-07" } - ] + } + }, + "traits": { + "smithy.api#documentation": "The minimum required TLS version.
" } }, "com.amazonaws.cloudsearch#TextArrayOptions": { @@ -3983,7 +4188,8 @@ } }, "traits": { - "smithy.api#documentation": "Container for the parameters to the UpdateAvailabilityOptions
operation. Specifies the name of the domain you want to update and the Multi-AZ availability option.
Container for the parameters to the UpdateAvailabilityOptions
operation. Specifies the name of the domain you want to update and the Multi-AZ availability option.
The result of a UpdateAvailabilityOptions
request. Contains the status of the domain's availability options.
The result of a UpdateAvailabilityOptions
request. Contains the status of the domain's availability options.
Container for the parameters to the UpdateDomainEndpointOptions
operation. Specifies the name of the domain you want to update and the domain endpoint options.
Container for the parameters to the UpdateDomainEndpointOptions
operation. Specifies the name of the domain you want to update and the domain endpoint options.
The result of a UpdateDomainEndpointOptions
request. Contains the configuration and status of the domain's endpoint options.
The result of a UpdateDomainEndpointOptions
request. Contains the configuration and status of the domain's endpoint options.
Container for the parameters to the UpdateScalingParameters
operation. Specifies the name of the domain you want to update and the scaling parameters you want to configure.
Container for the parameters to the UpdateScalingParameters
operation. Specifies the name of the domain you want to update and the scaling parameters you want to configure.
The result of a UpdateScalingParameters
request. Contains the status of the newly-configured scaling parameters.
The result of a UpdateScalingParameters
request. Contains the status of the newly-configured scaling parameters.
Container for the parameters to the UpdateServiceAccessPolicies
operation. Specifies the name of the domain you want to update and the access rules you want to configure.
Container for the parameters to the UpdateServiceAccessPolicies
operation. Specifies the name of the domain you want to update and the access rules you want to configure.
The result of an UpdateServiceAccessPolicies
request. Contains the new access policies.
The result of an UpdateServiceAccessPolicies
request. Contains the new access policies.
Information about any builds that could not be successfully deleted.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#BatchGetBuildBatches": { @@ -182,6 +200,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codebuild#BatchGetBuildBatchesOutput": { @@ -199,6 +220,9 @@ "smithy.api#documentation": "An array that contains the identifiers of any batch builds that are not found.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#BatchGetBuilds": { @@ -228,6 +252,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codebuild#BatchGetBuildsOutput": { @@ -245,6 +272,9 @@ "smithy.api#documentation": "The IDs of builds for which information could not be found.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#BatchGetProjects": { @@ -274,6 +304,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codebuild#BatchGetProjectsOutput": { @@ -291,6 +324,9 @@ "smithy.api#documentation": "The names of build projects for which information could not be found.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#BatchGetReportGroups": { @@ -320,6 +356,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codebuild#BatchGetReportGroupsOutput": { @@ -337,6 +376,9 @@ "smithy.api#documentation": "\n An array of ARNs passed to BatchGetReportGroups
that are not associated with a ReportGroup
.\n
\n An array of ARNs passed to BatchGetReportGroups
that are not associated with a Report
.\n
Specifies the bucket owner's access for objects that another account uploads to their\n Amazon S3 bucket. By default, only the account that uploads the objects to the bucket has\n access to these objects. This property allows you to give the bucket owner access to\n these objects.
\nTo use this property, your CodeBuild service role must have the\n s3:PutBucketAcl
permission. This permission allows CodeBuild to modify\n the access control list for the bucket.
This property can be one of the following values:
\nThe bucket owner does not have access to the objects. This is the\n default.
\nThe bucket owner has read-only access to the objects. The uploading account\n retains ownership of the objects.
\nThe bucket owner has full access to the objects. Object ownership is determined\n by the following criteria:
\nIf the bucket is configured with the Bucket\n owner preferred setting, the bucket owner owns the\n objects. The uploading account will have object access as specified\n by the bucket's policy.
\nOtherwise, the uploading account retains ownership of the\n objects.
\nFor more information about Amazon S3 object ownership, see Controlling ownership of uploaded objects using S3\n Object Ownership in the Amazon Simple Storage Service User\n Guide.
\nSpecifies the bucket owner's access for objects that another account uploads to their\n Amazon S3 bucket. By default, only the account that uploads the objects to the bucket has\n access to these objects. This property allows you to give the bucket owner access to\n these objects.
\nTo use this property, your CodeBuild service role must have the\n s3:PutBucketAcl
permission. This permission allows CodeBuild to modify\n the access control list for the bucket.
This property can be one of the following values:
\nThe bucket owner does not have access to the objects. This is the\n default.
\nThe bucket owner has read-only access to the objects. The uploading account\n retains ownership of the objects.
\nThe bucket owner has full access to the objects. Object ownership is determined\n by the following criteria:
\nIf the bucket is configured with the Bucket\n owner preferred setting, the bucket owner owns the\n objects. The uploading account will have object access as specified\n by the bucket's policy.
\nOtherwise, the uploading account retains ownership of the\n objects.
\nFor more information about Amazon S3 object ownership, see Controlling ownership of uploaded objects using S3\n Object Ownership in the Amazon Simple Storage Service User\n Guide.
\nThe current status of the build. Valid values include:
\n\n FAILED
: The build failed.
\n FAULT
: The build faulted.
\n IN_PROGRESS
: The build is still in progress.
\n STOPPED
: The build stopped.
\n SUCCEEDED
: The build succeeded.
\n TIMED_OUT
: The build timed out.
The current status of the build. Valid values include:
\n\n FAILED
: The build failed.
\n FAULT
: The build faulted.
\n IN_PROGRESS
: The build is still in progress.
\n STOPPED
: The build stopped.
\n SUCCEEDED
: The build succeeded.
\n TIMED_OUT
: The build timed out.
Any version identifier for the version of the source code to be built. If\n sourceVersion
is specified at the project level, then this\n sourceVersion
(at the build level) takes precedence.
For more information, see Source Version Sample\n with CodeBuild in the CodeBuild User Guide.
" + "smithy.api#documentation": "Any version identifier for the version of the source code to be built. If\n sourceVersion
is specified at the project level, then this\n sourceVersion
(at the build level) takes precedence.
For more information, see Source Version Sample\n with CodeBuild in the CodeBuild User Guide.
" } }, "resolvedSourceVersion": { "target": "com.amazonaws.codebuild#NonEmptyString", "traits": { - "smithy.api#documentation": "An identifier for the version of this build's source code.
\nFor CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.
\nFor CodePipeline, the source revision provided by CodePipeline.
\nFor Amazon S3, this does not apply.
\nAn identifier for the version of this build's source code.
\nFor CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.
\nFor CodePipeline, the source revision provided by CodePipeline.
\nFor Amazon S3, this does not apply.
\n An array of ProjectSourceVersion
objects. Each\n ProjectSourceVersion
must be one of:
For CodeCommit: the commit ID, branch, or Git tag to use.
\nFor GitHub: the commit ID, pull request ID, branch name, or tag name that\n corresponds to the version of the source code you want to build. If a pull\n request ID is specified, it must use the format pr/pull-request-ID
\n (for example, pr/25
). If a branch name is specified, the branch's\n HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is\n used.
For Bitbucket: the commit ID, branch name, or tag name that corresponds to the\n version of the source code you want to build. If a branch name is specified, the\n branch's HEAD commit ID is used. If not specified, the default branch's HEAD\n commit ID is used.
\nFor Amazon S3: the version ID of the object that represents the build input ZIP\n file to use.
\n An array of ProjectSourceVersion
objects. Each\n ProjectSourceVersion
must be one of:
For CodeCommit: the commit ID, branch, or Git tag to use.
\nFor GitHub: the commit ID, pull request ID, branch name, or tag name that\n corresponds to the version of the source code you want to build. If a pull\n request ID is specified, it must use the format pr/pull-request-ID
\n (for example, pr/25
). If a branch name is specified, the branch's\n HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is\n used.
For Bitbucket: the commit ID, branch name, or tag name that corresponds to the\n version of the source code you want to build. If a branch name is specified, the\n branch's HEAD commit ID is used. If not specified, the default branch's HEAD\n commit ID is used.
\nFor Amazon S3: the version ID of the object that represents the build input ZIP\n file to use.
\nThe entity that started the build. Valid values include:
\nIf CodePipeline started the build, the pipeline's name (for example,\n codepipeline/my-demo-pipeline
).
If an IAM user started the build, the user's name (for example,\n MyUserName
).
If the Jenkins plugin for CodeBuild started the build, the string\n CodeBuild-Jenkins-Plugin
.
The entity that started the build. Valid values include:
\nIf CodePipeline started the build, the pipeline's name (for example,\n codepipeline/my-demo-pipeline
).
If an IAM user started the build, the user's name (for example,\n MyUserName
).
If the Jenkins plugin for CodeBuild started the build, the string\n CodeBuild-Jenkins-Plugin
.
The Key Management Service customer master key (CMK) to be used for encrypting the build output\n artifacts.
\nYou can use a cross-account KMS key to encrypt the build output artifacts if your\n service role has permission to that key.
\nYou can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using\n the format alias/
).
The Key Management Service customer master key (CMK) to be used for encrypting the build output\n artifacts.
\nYou can use a cross-account KMS key to encrypt the build output artifacts if your\n service role has permission to that key.
\nYou can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using\n the format alias/
).
A list of exported environment variables for this build.
\nExported environment variables are used in conjunction with CodePipeline to export\n environment variables from the current build stage to subsequent stages in the pipeline.\n For more information, see Working with variables in the CodePipeline User Guide.
" + "smithy.api#documentation": "A list of exported environment variables for this build.
\nExported environment variables are used in conjunction with CodePipeline to export\n environment variables from the current build stage to subsequent stages in the pipeline.\n For more information, see Working with variables in the CodePipeline User Guide.
" } }, "reportArns": { @@ -659,13 +715,13 @@ "sha256sum": { "target": "com.amazonaws.codebuild#String", "traits": { - "smithy.api#documentation": "The SHA-256 hash of the build artifact.
\nYou can use this hash along with a checksum tool to confirm file integrity and\n authenticity.
\nThis value is available only if the build project's packaging
value\n is set to ZIP
.
The SHA-256 hash of the build artifact.
\nYou can use this hash along with a checksum tool to confirm file integrity and\n authenticity.
\nThis value is available only if the build project's packaging
value\n is set to ZIP
.
The MD5 hash of the build artifact.
\nYou can use this hash along with a checksum tool to confirm file integrity and\n authenticity.
\nThis value is available only if the build project's packaging
value\n is set to ZIP
.
The MD5 hash of the build artifact.
\nYou can use this hash along with a checksum tool to confirm file integrity and\n authenticity.
\nThis value is available only if the build project's packaging
value\n is set to ZIP
.
The identifier of the resolved version of this batch build's source code.
\nFor CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.
\nFor CodePipeline, the source revision provided by CodePipeline.
\nFor Amazon S3, this does not apply.
\nThe identifier of the resolved version of this batch build's source code.
\nFor CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.
\nFor CodePipeline, the source revision provided by CodePipeline.
\nFor Amazon S3, this does not apply.
\nThe entity that started the batch build. Valid values include:
\nIf CodePipeline started the build, the pipeline's name (for example,\n codepipeline/my-demo-pipeline
).
If an IAM user started the build, the user's name.
\nIf the Jenkins plugin for CodeBuild started the build, the string\n CodeBuild-Jenkins-Plugin
.
The entity that started the batch build. Valid values include:
\nIf CodePipeline started the build, the pipeline's name (for example,\n codepipeline/my-demo-pipeline
).
If an IAM user started the build, the user's name.
\nIf the Jenkins plugin for CodeBuild started the build, the string\n CodeBuild-Jenkins-Plugin
.
The Key Management Service customer master key (CMK) to be used for encrypting the batch build output\n artifacts.
\nYou can use a cross-account KMS key to encrypt the build output artifacts if your\n service role has permission to that key.
\nYou can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using\n the format alias/
).
The Key Management Service customer master key (CMK) to be used for encrypting the batch build output\n artifacts.
\nYou can use a cross-account KMS key to encrypt the build output artifacts if your\n service role has permission to that key.
\nYou can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using\n the format alias/
).
The name of the batch build phase. Valid values include:
\nBuild output artifacts are being combined and uploaded to the output\n location.
\nThe batch build specification is being downloaded.
\nOne or more of the builds failed.
\nThe batch build is in progress.
\nThe batch build was stopped.
\nThe btach build has been submitted.
\nThe batch build succeeded.
\nThe name of the batch build phase. Valid values include:
\nBuild output artifacts are being combined and uploaded to the output\n location.
\nThe batch build specification is being downloaded.
\nOne or more of the builds failed.
\nThe batch build is in progress.
\nThe batch build was stopped.
\nThe btach build has been submitted.
\nThe batch build succeeded.
\nThe current status of the batch build phase. Valid values include:
\nThe build phase failed.
\nThe build phase faulted.
\nThe build phase is still in progress.
\nThe build phase stopped.
\nThe build phase succeeded.
\nThe build phase timed out.
\nThe current status of the batch build phase. Valid values include:
\nThe build phase failed.
\nThe build phase faulted.
\nThe build phase is still in progress.
\nThe build phase stopped.
\nThe build phase succeeded.
\nThe build phase timed out.
\nThe name of the build phase. Valid values include:
\nCore build activities typically occur in this build phase.
\nThe build has been completed.
\nSource code is being downloaded in this build phase.
\nThe build process is completing in this build phase.
\nInstallation activities typically occur in this build phase.
\nPost-build activities typically occur in this build phase.
\nPre-build activities typically occur in this build phase.
\nThe build environment is being set up.
\nThe build has been submitted and is queued behind other submitted\n builds.
\nThe build has been submitted.
\nBuild output artifacts are being uploaded to the output location.
\nThe name of the build phase. Valid values include:
\nCore build activities typically occur in this build phase.
\nThe build has been completed.
\nSource code is being downloaded in this build phase.
\nThe build process is completing in this build phase.
\nInstallation activities typically occur in this build phase.
\nPost-build activities typically occur in this build phase.
\nPre-build activities typically occur in this build phase.
\nThe build environment is being set up.
\nThe build has been submitted and is queued behind other submitted\n builds.
\nThe build has been submitted.
\nBuild output artifacts are being uploaded to the output location.
\nThe current status of the build phase. Valid values include:
\nThe build phase failed.
\nThe build phase faulted.
\nThe build phase is still in progress.
\nThe build phase stopped.
\nThe build phase succeeded.
\nThe build phase timed out.
\nThe current status of the build phase. Valid values include:
\nThe build phase failed.
\nThe build phase faulted.
\nThe build phase is still in progress.
\nThe build phase stopped.
\nThe build phase succeeded.
\nThe build phase timed out.
\nSpecifies the context of the build status CodeBuild sends to the source provider. The\n usage of this parameter depends on the source provider.
\nThis parameter is used for the name
parameter in the\n Bitbucket commit status. For more information, see build in the Bitbucket API documentation.
This parameter is used for the context
parameter in the\n GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
Specifies the context of the build status CodeBuild sends to the source provider. The\n usage of this parameter depends on the source provider.
\nThis parameter is used for the name
parameter in the\n Bitbucket commit status. For more information, see build in the Bitbucket API documentation.
This parameter is used for the context
parameter in the\n GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
Specifies the target url of the build status CodeBuild sends to the source provider. The\n usage of this parameter depends on the source provider.
\nThis parameter is used for the url
parameter in the Bitbucket\n commit status. For more information, see build in the Bitbucket API documentation.
This parameter is used for the target_url
parameter in the\n GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
Specifies the target url of the build status CodeBuild sends to the source provider. The\n usage of this parameter depends on the source provider.
\nThis parameter is used for the url
parameter in the Bitbucket\n commit status. For more information, see build in the Bitbucket API documentation.
This parameter is used for the target_url
parameter in the\n GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
The status of the build group.
\nThe build group failed.
\nThe build group faulted.
\nThe build group is still in progress.
\nThe build group stopped.
\nThe build group succeeded.
\nThe build group timed out.
\nThe status of the build group.
\nThe build group failed.
\nThe build group faulted.
\nThe build group is still in progress.
\nThe build group stopped.
\nThe build group succeeded.
\nThe build group timed out.
\nThe current status of the logs in CloudWatch Logs for a build project. Valid values are:
\n\n ENABLED
: CloudWatch Logs are enabled for this build project.
\n DISABLED
: CloudWatch Logs are not enabled for this build project.
The current status of the logs in CloudWatch Logs for a build project. Valid values are:
\n\n ENABLED
: CloudWatch Logs are enabled for this build project.
\n DISABLED
: CloudWatch Logs are not enabled for this build project.
CodeBuild is a fully managed build service in the cloud. CodeBuild compiles your source code,\n runs unit tests, and produces artifacts that are ready to deploy. CodeBuild eliminates the\n need to provision, manage, and scale your own build servers. It provides prepackaged\n build environments for the most popular programming languages and build tools, such as\n Apache Maven, Gradle, and more. You can also fully customize build environments in CodeBuild\n to use your own build tools. CodeBuild scales automatically to meet peak build requests. You\n pay only for the build time you consume. For more information about CodeBuild, see the \n CodeBuild User\n Guide.\n
", + "smithy.api#documentation": "CodeBuild is a fully managed build service in the cloud. CodeBuild compiles your source code,\n runs unit tests, and produces artifacts that are ready to deploy. CodeBuild eliminates the\n need to provision, manage, and scale your own build servers. It provides prepackaged\n build environments for the most popular programming languages and build tools, such as\n Apache Maven, Gradle, and more. You can also fully customize build environments in CodeBuild\n to use your own build tools. CodeBuild scales automatically to meet peak build requests. You\n pay only for the build time you consume. For more information about CodeBuild, see the \n CodeBuild User\n Guide.\n
", "smithy.api#title": "AWS CodeBuild", "smithy.rules#endpointRuleSet": { "version": "1.0", @@ -1539,52 +1635,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", @@ -1592,13 +1692,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -1608,224 +1717,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } - ], - "type": "tree", - "rules": [ + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, { - "conditions": [], - "type": "tree", - "rules": [ + "fn": "getAttr", + "argv": [ { - "conditions": [], - "endpoint": { - "url": "https://codebuild-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://codebuild-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": [ { "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": [], - "endpoint": { - "url": "https://codebuild-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://codebuild-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://codebuild.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://codebuild.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://codebuild.{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://codebuild.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -1840,8 +1900,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1853,8 +1913,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1866,8 +1926,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1879,8 +1939,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1892,8 +1952,8 @@ }, "params": { "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1905,8 +1965,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1918,8 +1978,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1931,8 +1991,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1944,8 +2004,8 @@ }, "params": { "Region": "ap-southeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1957,8 +2017,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1970,8 +2030,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1983,8 +2043,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1996,8 +2056,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2009,8 +2069,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2022,8 +2082,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2035,8 +2095,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2048,8 +2108,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2061,8 +2121,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2074,8 +2134,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2087,8 +2147,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2100,8 +2160,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2113,8 +2173,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2126,8 +2186,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2139,8 +2199,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2152,8 +2212,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2165,8 +2225,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2178,8 +2238,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2191,8 +2251,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2204,8 +2264,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2217,8 +2277,8 @@ }, "params": { "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2230,8 +2290,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2243,8 +2303,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2256,8 +2316,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2269,8 +2329,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2282,8 +2342,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2295,8 +2355,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2308,8 +2368,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2321,8 +2381,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2334,8 +2394,19 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "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 } }, { @@ -2347,8 +2418,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 } }, { @@ -2360,8 +2442,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -2373,8 +2466,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 } }, { @@ -2386,8 +2490,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2399,8 +2503,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2412,8 +2516,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2424,8 +2528,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2436,10 +2540,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" @@ -2511,7 +2621,7 @@ } }, "traits": { - "smithy.api#documentation": "Contains code coverage report information.
\nLine coverage measures how many statements your tests cover. A statement is a single\n instruction, not including comments, conditionals, etc.
\nBranch coverage determines if your tests cover every possible branch of a control\n structure, such as an if
or case
statement.
Contains code coverage report information.
\nLine coverage measures how many statements your tests cover. A statement is a single\n instruction, not including comments, conditionals, etc.
\nBranch coverage determines if your tests cover every possible branch of a control\n structure, such as an if
or case
statement.
Contains a summary of a code coverage report.
\nLine coverage measures how many statements your tests cover. A statement is a single\n instruction, not including comments, conditionals, etc.
\nBranch coverage determines if your tests cover every possible branch of a control\n structure, such as an if
or case
statement.
Contains a summary of a code coverage report.
\nLine coverage measures how many statements your tests cover. A statement is a single\n instruction, not including comments, conditionals, etc.
\nBranch coverage determines if your tests cover every possible branch of a control\n structure, such as an if
or case
statement.
The maximum number of concurrent builds that are allowed for this project.
\nNew builds are only started if the current number of builds is less than or equal to this limit. \n If the current build count meets this limit, new builds are throttled and are not run.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codebuild#CreateProjectOutput": { @@ -2761,6 +2880,9 @@ "smithy.api#documentation": "Information about the build project that was created.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#CreateReportGroup": { @@ -2816,6 +2938,9 @@ "smithy.api#documentation": "\n A list of tag key and value pairs associated with this report group.\n
\nThese tags are available for use by Amazon Web Services services that support CodeBuild report group\n tags.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codebuild#CreateReportGroupOutput": { @@ -2827,6 +2952,9 @@ "smithy.api#documentation": "\n Information about the report group that was created.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#CreateWebhook": { @@ -2883,6 +3011,9 @@ "smithy.api#documentation": "Specifies the type of build this webhook will trigger.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codebuild#CreateWebhookOutput": { @@ -2894,17 +3025,20 @@ "smithy.api#documentation": "Information about a webhook that connects repository events to a build project in\n CodeBuild.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#CredentialProviderType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SECRETS_MANAGER", - "name": "SECRETS_MANAGER" + "type": "enum", + "members": { + "SECRETS_MANAGER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SECRETS_MANAGER" } - ] + } } }, "com.amazonaws.codebuild#DebugSession": { @@ -2954,6 +3088,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codebuild#DeleteBuildBatchOutput": { @@ -2977,6 +3114,9 @@ "smithy.api#documentation": "An array of BuildNotDeleted
objects that specify the builds that could not be\n deleted.
If true
, deletes any reports that belong to a report group before deleting\n the report group.
If false
, you must delete any reports in the report group. Use ListReportsForReportGroup to get the reports in a report group. Use DeleteReport to delete the reports. If you call\n DeleteReportGroup
for a report group that contains one or more reports,\n an exception is thrown.
The Amazon Resource Name (ARN) of the token.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#DeleteWebhook": { @@ -3194,11 +3364,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codebuild#DeleteWebhookOutput": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.codebuild#DescribeCodeCoverages": { "type": "operation", @@ -3254,7 +3430,7 @@ "sortBy": { "target": "com.amazonaws.codebuild#ReportCodeCoverageSortByType", "traits": { - "smithy.api#documentation": "Specifies how the results are sorted. Possible values are:
\nThe results are sorted by file path.
\nThe results are sorted by the percentage of lines that are covered.
\nSpecifies how the results are sorted. Possible values are:
\nThe results are sorted by file path.
\nThe results are sorted by the percentage of lines that are covered.
\nThe maximum line coverage percentage to report.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codebuild#DescribeCodeCoveragesOutput": { @@ -3286,6 +3465,9 @@ "smithy.api#documentation": "An array of CodeCoverage
objects that contain the results.
\n A TestCaseFilter
object used to filter the returned reports.\n
\n The returned list of test cases.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#EnvironmentImage": { @@ -3446,30 +3634,38 @@ } }, "com.amazonaws.codebuild#EnvironmentType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "WINDOWS_CONTAINER", - "name": "WINDOWS_CONTAINER" - }, - { - "value": "LINUX_CONTAINER", - "name": "LINUX_CONTAINER" - }, - { - "value": "LINUX_GPU_CONTAINER", - "name": "LINUX_GPU_CONTAINER" - }, - { - "value": "ARM_CONTAINER", - "name": "ARM_CONTAINER" - }, - { - "value": "WINDOWS_SERVER_2019_CONTAINER", - "name": "WINDOWS_SERVER_2019_CONTAINER" + "type": "enum", + "members": { + "WINDOWS_CONTAINER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WINDOWS_CONTAINER" + } + }, + "LINUX_CONTAINER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LINUX_CONTAINER" + } + }, + "LINUX_GPU_CONTAINER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LINUX_GPU_CONTAINER" + } + }, + "ARM_CONTAINER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ARM_CONTAINER" + } + }, + "WINDOWS_SERVER_2019_CONTAINER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WINDOWS_SERVER_2019_CONTAINER" } - ] + } } }, "com.amazonaws.codebuild#EnvironmentVariable": { @@ -3485,14 +3681,14 @@ "value": { "target": "com.amazonaws.codebuild#String", "traits": { - "smithy.api#documentation": "The value of the environment variable.
\nWe strongly discourage the use of PLAINTEXT
environment variables to\n store sensitive values, especially Amazon Web Services secret key IDs and secret access keys.\n PLAINTEXT
environment variables can be displayed in plain text\n using the CodeBuild console and the CLI. For sensitive values, we recommend you use an\n environment variable of type PARAMETER_STORE
or\n SECRETS_MANAGER
.
The value of the environment variable.
\nWe strongly discourage the use of PLAINTEXT
environment variables to\n store sensitive values, especially Amazon Web Services secret key IDs and secret access keys.\n PLAINTEXT
environment variables can be displayed in plain text\n using the CodeBuild console and the CLI. For sensitive values, we recommend you use an\n environment variable of type PARAMETER_STORE
or\n SECRETS_MANAGER
.
The type of environment variable. Valid values include:
\n\n PARAMETER_STORE
: An environment variable stored in Systems Manager\n Parameter Store. To learn how to specify a parameter store environment variable,\n see env/parameter-store in the\n CodeBuild User Guide.
\n PLAINTEXT
: An environment variable in plain text format. This is\n the default value.
\n SECRETS_MANAGER
: An environment variable stored in Secrets Manager. To learn how to specify a secrets manager environment variable, see\n env/secrets-manager in the\n CodeBuild User Guide.
The type of environment variable. Valid values include:
\n\n PARAMETER_STORE
: An environment variable stored in Systems Manager\n Parameter Store. To learn how to specify a parameter store environment variable,\n see env/parameter-store in the\n CodeBuild User Guide.
\n PLAINTEXT
: An environment variable in plain text format. This is\n the default value.
\n SECRETS_MANAGER
: An environment variable stored in Secrets Manager. To learn how to specify a secrets manager environment variable, see\n env/secrets-manager in the\n CodeBuild User Guide.
Contains information about an exported environment variable.
\nExported environment variables are used in conjunction with CodePipeline to export\n environment variables from the current build stage to subsequent stages in the pipeline.\n For more information, see Working with variables in the CodePipeline User Guide.
\n During a build, the value of a variable is available starting with the\n install
phase. It can be updated between the start of the\n install
phase and the end of the post_build
phase.\n After the post_build
phase ends, the value of exported variables cannot\n change.
Contains information about an exported environment variable.
\nExported environment variables are used in conjunction with CodePipeline to export\n environment variables from the current build stage to subsequent stages in the pipeline.\n For more information, see Working with variables in the CodePipeline User Guide.
\n During a build, the value of a variable is available starting with the\n install
phase. It can be updated between the start of the\n install
phase and the end of the post_build
phase.\n After the post_build
phase ends, the value of exported variables cannot\n change.
The number of reports to analyze. This operation always retrieves the most recent\n reports.
\nIf this parameter is omitted, the most recent 100 reports are analyzed.
" + "smithy.api#documentation": "The number of reports to analyze. This operation always retrieves the most recent\n reports.
\nIf this parameter is omitted, the most recent 100 reports are analyzed.
" } }, "trendField": { "target": "com.amazonaws.codebuild#ReportGroupTrendFieldType", "traits": { - "smithy.api#documentation": "The test report value to accumulate. This must be one of the following values:
\nAccumulate the test run times for the specified\n reports.
\nAccumulate the percentage of tests that passed for the\n specified test reports.
\nAccumulate the total number of tests for the specified test\n reports.
\nAccumulate the branch coverage percentages for the specified\n test reports.
\nAccumulate the branches covered values for the specified test\n reports.
\nAccumulate the branches missed values for the specified test\n reports.
\nAccumulate the line coverage percentages for the specified\n test reports.
\nAccumulate the lines covered values for the specified test\n reports.
\nAccumulate the lines not covered values for the specified test\n reports.
\nThe test report value to accumulate. This must be one of the following values:
\nAccumulate the test run times for the specified\n reports.
\nAccumulate the percentage of tests that passed for the\n specified test reports.
\nAccumulate the total number of tests for the specified test\n reports.
\nAccumulate the branch coverage percentages for the specified\n test reports.
\nAccumulate the branches covered values for the specified test\n reports.
\nAccumulate the branches missed values for the specified test\n reports.
\nAccumulate the line coverage percentages for the specified\n test reports.
\nAccumulate the lines covered values for the specified test\n reports.
\nAccumulate the lines not covered values for the specified test\n reports.
\nAn array that contains the raw data for each report.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#GetResourcePolicy": { @@ -3666,6 +3872,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codebuild#GetResourcePolicyOutput": { @@ -3677,6 +3886,9 @@ "smithy.api#documentation": "The resource policy for the resource identified by the input ARN parameter.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#GitCloneDepth": { @@ -3709,18 +3921,20 @@ } }, "com.amazonaws.codebuild#ImagePullCredentialsType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CODEBUILD", - "name": "CODEBUILD" - }, - { - "value": "SERVICE_ROLE", - "name": "SERVICE_ROLE" + "type": "enum", + "members": { + "CODEBUILD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CODEBUILD" + } + }, + "SERVICE_ROLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SERVICE_ROLE" } - ] + } } }, "com.amazonaws.codebuild#ImageVersions": { @@ -3788,6 +4002,9 @@ "smithy.api#documentation": " Set to false
to prevent overwriting the repository source credentials.\n Set to true
to overwrite the repository source credentials. The default\n value is true
.
The Amazon Resource Name (ARN) of the token.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#InvalidInputException": { @@ -3843,11 +4063,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codebuild#InvalidateProjectCacheOutput": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.codebuild#KeyInput": { "type": "string", @@ -3860,50 +4086,68 @@ } }, "com.amazonaws.codebuild#LanguageType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "JAVA", - "name": "JAVA" - }, - { - "value": "PYTHON", - "name": "PYTHON" - }, - { - "value": "NODE_JS", - "name": "NODE_JS" - }, - { - "value": "RUBY", - "name": "RUBY" - }, - { - "value": "GOLANG", - "name": "GOLANG" - }, - { - "value": "DOCKER", - "name": "DOCKER" - }, - { - "value": "ANDROID", - "name": "ANDROID" - }, - { - "value": "DOTNET", - "name": "DOTNET" - }, - { - "value": "BASE", - "name": "BASE" - }, - { - "value": "PHP", - "name": "PHP" + "type": "enum", + "members": { + "JAVA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JAVA" + } + }, + "PYTHON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PYTHON" + } + }, + "NODE_JS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NODE_JS" + } + }, + "RUBY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RUBY" + } + }, + "GOLANG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GOLANG" + } + }, + "DOCKER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DOCKER" + } + }, + "ANDROID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ANDROID" + } + }, + "DOTNET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DOTNET" } - ] + }, + "BASE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BASE" + } + }, + "PHP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PHP" + } + } } }, "com.amazonaws.codebuild#ListBuildBatches": { @@ -3979,7 +4223,7 @@ "sortOrder": { "target": "com.amazonaws.codebuild#SortOrderType", "traits": { - "smithy.api#documentation": "Specifies the sort order of the returned items. Valid values include:
\n\n ASCENDING
: List the batch build identifiers in ascending order by\n identifier.
\n DESCENDING
: List the batch build identifiers in descending order\n by identifier.
Specifies the sort order of the returned items. Valid values include:
\n\n ASCENDING
: List the batch build identifiers in ascending order by\n identifier.
\n DESCENDING
: List the batch build identifiers in descending order\n by identifier.
The nextToken
value returned from a previous call to\n ListBuildBatchesForProject
. This specifies the next item to return. To return the\n beginning of the list, exclude this parameter.
If there are more items to return, this contains a token that is passed to a\n subsequent call to ListBuildBatchesForProject
to retrieve the next set of\n items.
The nextToken
value returned from a previous call to\n ListBuildBatches
. This specifies the next item to return. To return the\n beginning of the list, exclude this parameter.
If there are more items to return, this contains a token that is passed to a subsequent\n call to ListBuildBatches
to retrieve the next set of items.
The order to sort the results in. The results are sorted by build number, not the build\n identifier. If this is not specified, the results are sorted in descending order.
\nValid values include:
\n\n ASCENDING
: List the build identifiers in ascending order, by build number.
\n DESCENDING
: List the build identifiers in descending order, by build number.
If the project has more than 100 builds, setting the sort order will result in an\n error.
" + "smithy.api#documentation": "The order to sort the results in. The results are sorted by build number, not the build\n identifier. If this is not specified, the results are sorted in descending order.
\nValid values include:
\n\n ASCENDING
: List the build identifiers in ascending order, by build number.
\n DESCENDING
: List the build identifiers in descending order, by build number.
If the project has more than 100 builds, setting the sort order will result in an\n error.
" } }, "nextToken": { @@ -4122,6 +4378,9 @@ "smithy.api#documentation": "During a previous call, if there are more than 100 items in the list, only the first\n 100 items are returned, along with a unique string called a\n nextToken. To get the next batch of items in the list, call\n this operation again, adding the next token to the call. To get all of the items in the\n list, keep calling this operation with each subsequent next token that is returned,\n until no more next tokens are returned.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codebuild#ListBuildsForProjectOutput": { @@ -4139,6 +4398,9 @@ "smithy.api#documentation": "If there are more than 100 items in the list, only the first 100 items are returned,\n along with a unique string called a nextToken. To get the next\n batch of items in the list, call this operation again, adding the next token to the\n call.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#ListBuildsInput": { @@ -4147,7 +4409,7 @@ "sortOrder": { "target": "com.amazonaws.codebuild#SortOrderType", "traits": { - "smithy.api#documentation": "The order to list build IDs. Valid values include:
\n\n ASCENDING
: List the build IDs in ascending order by build\n ID.
\n DESCENDING
: List the build IDs in descending order by build\n ID.
The order to list build IDs. Valid values include:
\n\n ASCENDING
: List the build IDs in ascending order by build\n ID.
\n DESCENDING
: List the build IDs in descending order by build\n ID.
During a previous call, if there are more than 100 items in the list, only the first\n 100 items are returned, along with a unique string called a\n nextToken. To get the next batch of items in the list, call\n this operation again, adding the next token to the call. To get all of the items in the\n list, keep calling this operation with each subsequent next token that is returned,\n until no more next tokens are returned.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codebuild#ListBuildsOutput": { @@ -4173,6 +4438,9 @@ "smithy.api#documentation": "If there are more than 100 items in the list, only the first 100 items are returned,\n along with a unique string called a nextToken. To get the next\n batch of items in the list, call this operation again, adding the next token to the\n call.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#ListCuratedEnvironmentImages": { @@ -4189,7 +4457,10 @@ }, "com.amazonaws.codebuild#ListCuratedEnvironmentImagesInput": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.codebuild#ListCuratedEnvironmentImagesOutput": { "type": "structure", @@ -4200,6 +4471,9 @@ "smithy.api#documentation": "Information about supported platforms for Docker images that are managed by\n CodeBuild.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#ListProjects": { @@ -4230,13 +4504,13 @@ "sortBy": { "target": "com.amazonaws.codebuild#ProjectSortByType", "traits": { - "smithy.api#documentation": "The criterion to be used to list build project names. Valid values include:
\n\n CREATED_TIME
: List based on when each build project was\n created.
\n LAST_MODIFIED_TIME
: List based on when information about each\n build project was last changed.
\n NAME
: List based on each build project's name.
Use sortOrder
to specify in what order to list the build project names\n based on the preceding criteria.
The criterion to be used to list build project names. Valid values include:
\n\n CREATED_TIME
: List based on when each build project was\n created.
\n LAST_MODIFIED_TIME
: List based on when information about each\n build project was last changed.
\n NAME
: List based on each build project's name.
Use sortOrder
to specify in what order to list the build project names\n based on the preceding criteria.
The order in which to list build projects. Valid values include:
\n\n ASCENDING
: List in ascending order.
\n DESCENDING
: List in descending order.
Use sortBy
to specify the criterion to be used to list build project\n names.
The order in which to list build projects. Valid values include:
\n\n ASCENDING
: List in ascending order.
\n DESCENDING
: List in descending order.
Use sortBy
to specify the criterion to be used to list build project\n names.
During a previous call, if there are more than 100 items in the list, only the first\n 100 items are returned, along with a unique string called a\n nextToken. To get the next batch of items in the list, call\n this operation again, adding the next token to the call. To get all of the items in the\n list, keep calling this operation with each subsequent next token that is returned,\n until no more next tokens are returned.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codebuild#ListProjectsOutput": { @@ -4262,6 +4539,9 @@ "smithy.api#documentation": "The list of build project names, with each build project name representing a single\n build project.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#ListReportGroups": { @@ -4314,6 +4594,9 @@ "smithy.api#documentation": "\n The maximum number of paginated report groups returned per response. Use nextToken
to iterate pages in\n the list of returned ReportGroup
objects. The default value is 100.\n
\n The list of ARNs for the report groups in the current Amazon Web Services account.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#ListReports": { @@ -4416,6 +4702,9 @@ "smithy.api#documentation": "\n A ReportFilter
object used to filter the returned reports.\n
\n The list of report ARNs.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#ListReportsInput": { @@ -4462,6 +4754,9 @@ "smithy.api#documentation": "\n A ReportFilter
object used to filter the returned reports.\n
\n The list of returned ARNs for the reports in the current Amazon Web Services account.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#ListSharedProjects": { @@ -4510,13 +4808,13 @@ "sortBy": { "target": "com.amazonaws.codebuild#SharedResourceSortByType", "traits": { - "smithy.api#documentation": "The criterion to be used to list build projects shared with the current Amazon Web Services account\n or user. Valid values include:
\n\n ARN
: List based on the ARN.
\n MODIFIED_TIME
: List based on when information about the shared\n project was last changed.
The criterion to be used to list build projects shared with the current Amazon Web Services account\n or user. Valid values include:
\n\n ARN
: List based on the ARN.
\n MODIFIED_TIME
: List based on when information about the shared\n project was last changed.
The order in which to list shared build projects. Valid values include:
\n\n ASCENDING
: List in ascending order.
\n DESCENDING
: List in descending order.
The order in which to list shared build projects. Valid values include:
\n\n ASCENDING
: List in ascending order.
\n DESCENDING
: List in descending order.
During a previous call, the maximum number of items that can be returned is the value\n specified in maxResults
. If there more items in the list, then a unique\n string called a nextToken is returned. To get the next batch of\n items in the list, call this operation again, adding the next token to the call. To get\n all of the items in the list, keep calling this operation with each subsequent next\n token that is returned, until no more next tokens are returned.
The list of ARNs for the build projects shared with the current Amazon Web Services account or user.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#ListSharedReportGroups": { @@ -4579,13 +4883,13 @@ "sortOrder": { "target": "com.amazonaws.codebuild#SortOrderType", "traits": { - "smithy.api#documentation": "The order in which to list shared report groups. Valid values include:
\n\n ASCENDING
: List in ascending order.
\n DESCENDING
: List in descending order.
The order in which to list shared report groups. Valid values include:
\n\n ASCENDING
: List in ascending order.
\n DESCENDING
: List in descending order.
The criterion to be used to list report groups shared with the current Amazon Web Services account or\n user. Valid values include:
\n\n ARN
: List based on the ARN.
\n MODIFIED_TIME
: List based on when information about the shared\n report group was last changed.
The criterion to be used to list report groups shared with the current Amazon Web Services account or\n user. Valid values include:
\n\n ARN
: List based on the ARN.
\n MODIFIED_TIME
: List based on when information about the shared\n report group was last changed.
The maximum number of paginated shared report groups per response. Use\n nextToken
to iterate pages in the list of returned\n ReportGroup
objects. The default value is 100.
The list of ARNs for the report groups shared with the current Amazon Web Services account or user.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#ListSourceCredentials": { @@ -4638,7 +4948,10 @@ }, "com.amazonaws.codebuild#ListSourceCredentialsInput": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.codebuild#ListSourceCredentialsOutput": { "type": "structure", @@ -4649,6 +4962,9 @@ "smithy.api#documentation": " A list of SourceCredentialsInfo
objects. Each\n SourceCredentialsInfo
object includes the authentication type, token\n ARN, and type of source provider for one set of credentials.
The type of build output artifact. Valid values include:
\n\n CODEPIPELINE
: The build project has build output generated\n through CodePipeline.
The CODEPIPELINE
type is not supported for\n secondaryArtifacts
.
\n NO_ARTIFACTS
: The build project does not produce any build\n output.
\n S3
: The build project stores build output in Amazon S3.
The type of build output artifact. Valid values include:
\n\n CODEPIPELINE
: The build project has build output generated\n through CodePipeline.
The CODEPIPELINE
type is not supported for\n secondaryArtifacts
.
\n NO_ARTIFACTS
: The build project does not produce any build\n output.
\n S3
: The build project stores build output in Amazon S3.
Information about the build output artifact location:
\nIf type
is set to CODEPIPELINE
, CodePipeline ignores this\n value if specified. This is because CodePipeline manages its build output locations\n instead of CodeBuild.
If type
is set to NO_ARTIFACTS
, this value is\n ignored if specified, because no build output is produced.
If type
is set to S3
, this is the name of the output\n bucket.
Information about the build output artifact location:
\nIf type
is set to CODEPIPELINE
, CodePipeline ignores this\n value if specified. This is because CodePipeline manages its build output locations\n instead of CodeBuild.
If type
is set to NO_ARTIFACTS
, this value is\n ignored if specified, because no build output is produced.
If type
is set to S3
, this is the name of the output\n bucket.
Along with namespaceType
and name
, the pattern that CodeBuild\n uses to name and store the output artifact:
If type
is set to CODEPIPELINE
, CodePipeline ignores this\n value if specified. This is because CodePipeline manages its build output names instead\n of CodeBuild.
If type
is set to NO_ARTIFACTS
, this value is\n ignored if specified, because no build output is produced.
If type
is set to S3
, this is the path to the output\n artifact. If path
is not specified, path
is not\n used.
For example, if path
is set to MyArtifacts
,\n namespaceType
is set to NONE
, and name
is set\n to MyArtifact.zip
, the output artifact is stored in the output bucket at\n MyArtifacts/MyArtifact.zip
.
Along with namespaceType
and name
, the pattern that CodeBuild\n uses to name and store the output artifact:
If type
is set to CODEPIPELINE
, CodePipeline ignores this\n value if specified. This is because CodePipeline manages its build output names instead\n of CodeBuild.
If type
is set to NO_ARTIFACTS
, this value is\n ignored if specified, because no build output is produced.
If type
is set to S3
, this is the path to the output\n artifact. If path
is not specified, path
is not\n used.
For example, if path
is set to MyArtifacts
,\n namespaceType
is set to NONE
, and name
is set\n to MyArtifact.zip
, the output artifact is stored in the output bucket at\n MyArtifacts/MyArtifact.zip
.
Along with path
and name
, the pattern that CodeBuild uses to\n determine the name and location to store the output artifact:
If type
is set to CODEPIPELINE
, CodePipeline ignores this\n value if specified. This is because CodePipeline manages its build output names instead\n of CodeBuild.
If type
is set to NO_ARTIFACTS
, this value is\n ignored if specified, because no build output is produced.
If type
is set to S3
, valid values include:
\n BUILD_ID
: Include the build ID in the location of the\n build output artifact.
\n NONE
: Do not include the build ID. This is the default if\n namespaceType
is not specified.
For example, if path
is set to MyArtifacts
,\n namespaceType
is set to BUILD_ID
, and name
is\n set to MyArtifact.zip
, the output artifact is stored in\n MyArtifacts/
.
Along with path
and name
, the pattern that CodeBuild uses to\n determine the name and location to store the output artifact:
If type
is set to CODEPIPELINE
, CodePipeline ignores this\n value if specified. This is because CodePipeline manages its build output names instead\n of CodeBuild.
If type
is set to NO_ARTIFACTS
, this value is\n ignored if specified, because no build output is produced.
If type
is set to S3
, valid values include:
\n BUILD_ID
: Include the build ID in the location of the\n build output artifact.
\n NONE
: Do not include the build ID. This is the default if\n namespaceType
is not specified.
For example, if path
is set to MyArtifacts
,\n namespaceType
is set to BUILD_ID
, and name
is\n set to MyArtifact.zip
, the output artifact is stored in\n MyArtifacts/
.
Along with path
and namespaceType
, the pattern that CodeBuild\n uses to name and store the output artifact:
If type
is set to CODEPIPELINE
, CodePipeline ignores this\n value if specified. This is because CodePipeline manages its build output names instead\n of CodeBuild.
If type
is set to NO_ARTIFACTS
, this value is\n ignored if specified, because no build output is produced.
If type
is set to S3
, this is the name of the output\n artifact object. If you set the name to be a forward slash (\"/\"), the artifact\n is stored in the root of the output bucket.
For example:
\n If path
is set to MyArtifacts
,\n namespaceType
is set to BUILD_ID
, and\n name
is set to MyArtifact.zip
, then the output\n artifact is stored in MyArtifacts/
.
If path
is empty, namespaceType
is set to\n NONE
, and name
is set to \"/
\", the\n output artifact is stored in the root of the output bucket.
If path
is set to MyArtifacts
,\n namespaceType
is set to BUILD_ID
, and\n name
is set to \"/
\", the output artifact is stored\n in MyArtifacts/
.
Along with path
and namespaceType
, the pattern that CodeBuild\n uses to name and store the output artifact:
If type
is set to CODEPIPELINE
, CodePipeline ignores this\n value if specified. This is because CodePipeline manages its build output names instead\n of CodeBuild.
If type
is set to NO_ARTIFACTS
, this value is\n ignored if specified, because no build output is produced.
If type
is set to S3
, this is the name of the output\n artifact object. If you set the name to be a forward slash (\"/\"), the artifact\n is stored in the root of the output bucket.
For example:
\n If path
is set to MyArtifacts
,\n namespaceType
is set to BUILD_ID
, and\n name
is set to MyArtifact.zip
, then the output\n artifact is stored in MyArtifacts/
.
If path
is empty, namespaceType
is set to\n NONE
, and name
is set to \"/
\", the\n output artifact is stored in the root of the output bucket.
If path
is set to MyArtifacts
,\n namespaceType
is set to BUILD_ID
, and\n name
is set to \"/
\", the output artifact is stored\n in MyArtifacts/
.
The type of build output artifact to create:
\nIf type
is set to CODEPIPELINE
, CodePipeline ignores this\n value if specified. This is because CodePipeline manages its build output artifacts\n instead of CodeBuild.
If type
is set to NO_ARTIFACTS
, this value is\n ignored if specified, because no build output is produced.
If type
is set to S3
, valid values include:
\n NONE
: CodeBuild creates in the output bucket a folder that\n contains the build output. This is the default if packaging
\n is not specified.
\n ZIP
: CodeBuild creates in the output bucket a ZIP file that\n contains the build output.
The type of build output artifact to create:
\nIf type
is set to CODEPIPELINE
, CodePipeline ignores this\n value if specified. This is because CodePipeline manages its build output artifacts\n instead of CodeBuild.
If type
is set to NO_ARTIFACTS
, this value is\n ignored if specified, because no build output is produced.
If type
is set to S3
, valid values include:
\n NONE
: CodeBuild creates in the output bucket a folder that\n contains the build output. This is the default if packaging
\n is not specified.
\n ZIP
: CodeBuild creates in the output bucket a ZIP file that\n contains the build output.
The type of cache used by the build project. Valid values include:
\n\n NO_CACHE
: The build project does not use any cache.
\n S3
: The build project reads and writes from and to S3.
\n LOCAL
: The build project stores a cache locally on a build host\n that is only available to that build host.
The type of cache used by the build project. Valid values include:
\n\n NO_CACHE
: The build project does not use any cache.
\n S3
: The build project reads and writes from and to S3.
\n LOCAL
: The build project stores a cache locally on a build host\n that is only available to that build host.
Information about the cache location:
\n\n NO_CACHE
or LOCAL
: This value is ignored.
\n S3
: This is the S3 bucket name/prefix.
Information about the cache location:
\n\n NO_CACHE
or LOCAL
: This value is ignored.
\n S3
: This is the S3 bucket name/prefix.
An array of strings that specify the local cache modes. You can use one or more local\n cache modes at the same time. This is only used for LOCAL
cache\n types.
Possible values are:
\nCaches Git metadata for primary and secondary sources. After the cache is\n created, subsequent builds pull only the change between commits. This mode\n is a good choice for projects with a clean working directory and a source\n that is a large Git repository. If you choose this option and your project\n does not use a Git repository (GitHub, GitHub Enterprise, or Bitbucket), the\n option is ignored.
\nCaches existing Docker layers. This mode is a good choice for projects\n that build or pull large Docker images. It can prevent the performance\n issues caused by pulling large Docker images down from the network.
\nYou can use a Docker layer cache in the Linux environment\n only.
\nThe privileged
flag must be set so that your\n project has the required Docker permissions.
You should consider the security implications before you use a\n Docker layer cache.
\nCaches directories you specify in the buildspec file. This mode is a good\n choice if your build scenario is not suited to one of the other three local\n cache modes. If you use a custom cache:
\nOnly directories can be specified for caching. You cannot specify\n individual files.
\nSymlinks are used to reference cached directories.
\nCached directories are linked to your build before it downloads\n its project sources. Cached items are overridden if a source item\n has the same name. Directories are specified using cache paths in\n the buildspec file.
\nAn array of strings that specify the local cache modes. You can use one or more local\n cache modes at the same time. This is only used for LOCAL
cache\n types.
Possible values are:
\nCaches Git metadata for primary and secondary sources. After the cache is\n created, subsequent builds pull only the change between commits. This mode\n is a good choice for projects with a clean working directory and a source\n that is a large Git repository. If you choose this option and your project\n does not use a Git repository (GitHub, GitHub Enterprise, or Bitbucket), the\n option is ignored.
\nCaches existing Docker layers. This mode is a good choice for projects\n that build or pull large Docker images. It can prevent the performance\n issues caused by pulling large Docker images down from the network.
\nYou can use a Docker layer cache in the Linux environment\n only.
\nThe privileged
flag must be set so that your\n project has the required Docker permissions.
You should consider the security implications before you use a\n Docker layer cache.
\nCaches directories you specify in the buildspec file. This mode is a good\n choice if your build scenario is not suited to one of the other three local\n cache modes. If you use a custom cache:
\nOnly directories can be specified for caching. You cannot specify\n individual files.
\nSymlinks are used to reference cached directories.
\nCached directories are linked to your build before it downloads\n its project sources. Cached items are overridden if a source item\n has the same name. Directories are specified using cache paths in\n the buildspec file.
\nThe type of build environment to use for related builds.
\nThe environment type ARM_CONTAINER
is available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),\n Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Sydney), and\n EU (Frankfurt).
The environment type LINUX_CONTAINER
with compute type\n build.general1.2xlarge
is available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon),\n Canada (Central), EU (Ireland), EU (London),\n EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul),\n Asia Pacific (Singapore), Asia Pacific (Sydney), China (Beijing), and\n China (Ningxia).
The environment type LINUX_GPU_CONTAINER
is available only in\n regions US East (N. Virginia), US East (Ohio), US West (Oregon),\n Canada (Central), EU (Ireland), EU (London),\n EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul),\n Asia Pacific (Singapore), Asia Pacific (Sydney) , China (Beijing), and\n China (Ningxia).
The environment types WINDOWS_CONTAINER
and\n WINDOWS_SERVER_2019_CONTAINER
are available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon), and\n EU (Ireland).
For more information, see Build environment compute types in the CodeBuild\n user guide.
", + "smithy.api#documentation": "The type of build environment to use for related builds.
\nThe environment type ARM_CONTAINER
is available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland),\n Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Sydney), and\n EU (Frankfurt).
The environment type LINUX_CONTAINER
with compute type\n build.general1.2xlarge
is available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon),\n Canada (Central), EU (Ireland), EU (London),\n EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul),\n Asia Pacific (Singapore), Asia Pacific (Sydney), China (Beijing), and\n China (Ningxia).
The environment type LINUX_GPU_CONTAINER
is available only in\n regions US East (N. Virginia), US East (Ohio), US West (Oregon),\n Canada (Central), EU (Ireland), EU (London),\n EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul),\n Asia Pacific (Singapore), Asia Pacific (Sydney) , China (Beijing), and\n China (Ningxia).
The environment types WINDOWS_CONTAINER
and\n WINDOWS_SERVER_2019_CONTAINER
are available only in regions\n US East (N. Virginia), US East (Ohio), US West (Oregon), and\n EU (Ireland).
For more information, see Build environment compute types in the CodeBuild\n user guide.
", "smithy.api#required": {} } }, "image": { "target": "com.amazonaws.codebuild#NonEmptyString", "traits": { - "smithy.api#documentation": "The image tag or image digest that identifies the Docker image to use for this build\n project. Use the following formats:
\nFor an image tag:
. For\n example, in the Docker repository that CodeBuild uses to manage its Docker\n images, this would be aws/codebuild/standard:4.0
.
For an image digest:
.\n For example, to specify an image with the digest\n \"sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf,\" use\n
.
For more information, see Docker images provided by CodeBuild in the CodeBuild user\n guide.
", + "smithy.api#documentation": "The image tag or image digest that identifies the Docker image to use for this build\n project. Use the following formats:
\nFor an image tag:
. For\n example, in the Docker repository that CodeBuild uses to manage its Docker\n images, this would be aws/codebuild/standard:4.0
.
For an image digest:
.\n For example, to specify an image with the digest\n \"sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf,\" use\n
.
For more information, see Docker images provided by CodeBuild in the CodeBuild user\n guide.
", "smithy.api#required": {} } }, "computeType": { "target": "com.amazonaws.codebuild#ComputeType", "traits": { - "smithy.api#documentation": "Information about the compute resources the build project uses. Available values\n include:
\n\n BUILD_GENERAL1_SMALL
: Use up to 3 GB memory and 2 vCPUs for\n builds.
\n BUILD_GENERAL1_MEDIUM
: Use up to 7 GB memory and 4 vCPUs for\n builds.
\n BUILD_GENERAL1_LARGE
: Use up to 16 GB memory and 8 vCPUs for\n builds, depending on your environment type.
\n BUILD_GENERAL1_2XLARGE
: Use up to 145 GB memory, 72 vCPUs, and\n 824 GB of SSD storage for builds. This compute type supports Docker images up to\n 100 GB uncompressed.
If you use BUILD_GENERAL1_LARGE
:
For environment type LINUX_CONTAINER
, you can use up to 15 GB\n memory and 8 vCPUs for builds.
For environment type LINUX_GPU_CONTAINER
, you can use up to 255\n GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
For environment type ARM_CONTAINER
, you can use up to 16 GB\n memory and 8 vCPUs on ARM-based processors for builds.
For more information, see Build Environment\n Compute Types in the CodeBuild User Guide.\n
", + "smithy.api#documentation": "Information about the compute resources the build project uses. Available values\n include:
\n\n BUILD_GENERAL1_SMALL
: Use up to 3 GB memory and 2 vCPUs for\n builds.
\n BUILD_GENERAL1_MEDIUM
: Use up to 7 GB memory and 4 vCPUs for\n builds.
\n BUILD_GENERAL1_LARGE
: Use up to 16 GB memory and 8 vCPUs for\n builds, depending on your environment type.
\n BUILD_GENERAL1_2XLARGE
: Use up to 145 GB memory, 72 vCPUs, and\n 824 GB of SSD storage for builds. This compute type supports Docker images up to\n 100 GB uncompressed.
If you use BUILD_GENERAL1_LARGE
:
For environment type LINUX_CONTAINER
, you can use up to 15 GB\n memory and 8 vCPUs for builds.
For environment type LINUX_GPU_CONTAINER
, you can use up to 255\n GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
For environment type ARM_CONTAINER
, you can use up to 16 GB\n memory and 8 vCPUs on ARM-based processors for builds.
For more information, see Build Environment\n Compute Types in the CodeBuild User Guide.\n
", "smithy.api#required": {} } }, @@ -5254,7 +5578,7 @@ "privilegedMode": { "target": "com.amazonaws.codebuild#WrapperBoolean", "traits": { - "smithy.api#documentation": "Enables running the Docker daemon inside a Docker container. Set to true only if the\n build project is used to build Docker images. Otherwise, a build that attempts to\n interact with the Docker daemon fails. The default setting is false
.
You can initialize the Docker daemon during the install phase of your build by adding\n one of the following sets of commands to the install phase of your buildspec\n file:
\nIf the operating system's base image is Ubuntu Linux:
\n\n - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&
\n
\n - timeout 15 sh -c \"until docker info; do echo .; sleep 1; done\"
\n
If the operating system's base image is Alpine Linux and the previous command does not\n work, add the -t
argument to timeout
:
\n - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&
\n
\n - timeout -t 15 sh -c \"until docker info; do echo .; sleep 1; done\"
\n
Enables running the Docker daemon inside a Docker container. Set to true only if the\n build project is used to build Docker images. Otherwise, a build that attempts to\n interact with the Docker daemon fails. The default setting is false
.
You can initialize the Docker daemon during the install phase of your build by adding\n one of the following sets of commands to the install phase of your buildspec\n file:
\nIf the operating system's base image is Ubuntu Linux:
\n\n - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&
\n
\n - timeout 15 sh -c \"until docker info; do echo .; sleep 1; done\"
\n
If the operating system's base image is Alpine Linux and the previous command does not\n work, add the -t
argument to timeout
:
\n - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&
\n
\n - timeout -t 15 sh -c \"until docker info; do echo .; sleep 1; done\"
\n
The type of credentials CodeBuild uses to pull images in your build. There are two valid\n values:
\n\n CODEBUILD
specifies that CodeBuild uses its own credentials.\n This requires that you modify your ECR repository policy to trust CodeBuild service principal.
\n SERVICE_ROLE
specifies that CodeBuild uses your build project's service\n role.
When you use a cross-account or private registry image, you must use SERVICE_ROLE\n credentials. When you use an CodeBuild curated image, you must use CODEBUILD credentials.\n
" + "smithy.api#documentation": "The type of credentials CodeBuild uses to pull images in your build. There are two valid\n values:
\n\n CODEBUILD
specifies that CodeBuild uses its own credentials.\n This requires that you modify your ECR repository policy to trust CodeBuild service principal.
\n SERVICE_ROLE
specifies that CodeBuild uses your build project's service\n role.
When you use a cross-account or private registry image, you must use SERVICE_ROLE\n credentials. When you use an CodeBuild curated image, you must use CODEBUILD credentials.\n
" } } }, @@ -5292,7 +5616,7 @@ "location": { "target": "com.amazonaws.codebuild#String", "traits": { - "smithy.api#documentation": "A string that specifies the location of the file system created by Amazon EFS. Its\n format is efs-dns-name:/directory-path
. You can find the DNS name of file\n system when you view it in the Amazon EFS console. The directory path is a path to a\n directory in the file system that CodeBuild mounts. For example, if the DNS name of a\n file system is fs-abcd1234.efs.us-west-2.amazonaws.com
, and its mount\n directory is my-efs-mount-directory
, then the location
is\n fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory
.
The directory path in the format efs-dns-name:/directory-path
is\n optional. If you do not specify a directory path, the location is only the DNS name and\n CodeBuild mounts the entire file system.
A string that specifies the location of the file system created by Amazon EFS. Its\n format is efs-dns-name:/directory-path
. You can find the DNS name of file\n system when you view it in the Amazon EFS console. The directory path is a path to a\n directory in the file system that CodeBuild mounts. For example, if the DNS name of a\n file system is fs-abcd1234.efs.us-west-2.amazonaws.com
, and its mount\n directory is my-efs-mount-directory
, then the location
is\n fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory
.
The directory path in the format efs-dns-name:/directory-path
is\n optional. If you do not specify a directory path, the location is only the DNS name and\n CodeBuild mounts the entire file system.
The name used to access a file system created by Amazon EFS. CodeBuild creates an\n environment variable by appending the identifier
in all capital letters to\n CODEBUILD_
. For example, if you specify my_efs
for\n identifier
, a new environment variable is create named\n CODEBUILD_MY_EFS
.
The identifier
is used to mount your file system.
The name used to access a file system created by Amazon EFS. CodeBuild creates an\n environment variable by appending the identifier
in all capital letters to\n CODEBUILD_
. For example, if you specify my_efs
for\n identifier
, a new environment variable is create named\n CODEBUILD_MY_EFS
.
The identifier
is used to mount your file system.
Information about a file system created by Amazon Elastic File System (EFS). For more\n information, see What Is\n Amazon Elastic File System?\n
" + "smithy.api#documentation": "Information about a file system created by Amazon Elastic File System (EFS). For more\n information, see What Is\n Amazon Elastic File System?\n
" } }, "com.amazonaws.codebuild#ProjectFileSystemLocations": { @@ -5359,22 +5683,26 @@ } }, "com.amazonaws.codebuild#ProjectSortByType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NAME", - "name": "NAME" - }, - { - "value": "CREATED_TIME", - "name": "CREATED_TIME" - }, - { - "value": "LAST_MODIFIED_TIME", - "name": "LAST_MODIFIED_TIME" + "type": "enum", + "members": { + "NAME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NAME" + } + }, + "CREATED_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATED_TIME" + } + }, + "LAST_MODIFIED_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LAST_MODIFIED_TIME" } - ] + } } }, "com.amazonaws.codebuild#ProjectSource": { @@ -5383,14 +5711,14 @@ "type": { "target": "com.amazonaws.codebuild#SourceType", "traits": { - "smithy.api#documentation": "The type of repository that contains the source code to be built. Valid values\n include:
\n\n BITBUCKET
: The source code is in a Bitbucket repository.
\n CODECOMMIT
: The source code is in an CodeCommit repository.
\n CODEPIPELINE
: The source code settings are specified in the\n source action of a pipeline in CodePipeline.
\n GITHUB
: The source code is in a GitHub or GitHub Enterprise Cloud\n repository.
\n GITHUB_ENTERPRISE
: The source code is in a GitHub Enterprise\n Server repository.
\n NO_SOURCE
: The project does not have input source code.
\n S3
: The source code is in an Amazon S3 bucket.
The type of repository that contains the source code to be built. Valid values\n include:
\n\n BITBUCKET
: The source code is in a Bitbucket repository.
\n CODECOMMIT
: The source code is in an CodeCommit repository.
\n CODEPIPELINE
: The source code settings are specified in the\n source action of a pipeline in CodePipeline.
\n GITHUB
: The source code is in a GitHub or GitHub Enterprise Cloud\n repository.
\n GITHUB_ENTERPRISE
: The source code is in a GitHub Enterprise\n Server repository.
\n NO_SOURCE
: The project does not have input source code.
\n S3
: The source code is in an Amazon S3 bucket.
Information about the location of the source code to be built. Valid values\n include:
\nFor source code settings that are specified in the source action of a pipeline\n in CodePipeline, location
should not be specified. If it is specified,\n CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source\n action instead of this value.
For source code in an CodeCommit repository, the HTTPS clone URL to the repository\n that contains the source code and the buildspec file (for example,\n https://git-codecommit.
).
For source code in an Amazon S3 input bucket, one of the following.
\nThe path to the ZIP file that contains the source code (for example,\n
).
The path to the folder that contains the source code (for example,\n
).
For source code in a GitHub repository, the HTTPS clone URL to the repository\n that contains the source and the buildspec file. You must connect your Amazon Web Services account \n to your GitHub account. Use the CodeBuild console to start creating a build\n project. When you use the console to connect (or reconnect) with GitHub, on the\n GitHub Authorize application page, for\n Organization access, choose Request access next to each repository you want to\n allow CodeBuild to have access to, and then choose Authorize\n application. (After you have connected to your GitHub account,\n you do not need to finish creating the build project. You can leave the CodeBuild\n console.) To instruct CodeBuild to use this connection, in the source
\n object, set the auth
object's type
value to\n OAUTH
.
For source code in a Bitbucket repository, the HTTPS clone URL to the\n repository that contains the source and the buildspec file. You must connect\n your Amazon Web Services account to your Bitbucket account. Use the CodeBuild console to start\n creating a build project. When you use the console to connect (or reconnect)\n with Bitbucket, on the Bitbucket Confirm access to your\n account page, choose Grant\n access. (After you have connected to your Bitbucket account, you\n do not need to finish creating the build project. You can leave the CodeBuild\n console.) To instruct CodeBuild to use this connection, in the source
\n object, set the auth
object's type
value to\n OAUTH
.
\n If you specify CODEPIPELINE
for the Type
property, don't specify this \n property. For all of the other types, you must specify Location
.\n
Information about the location of the source code to be built. Valid values\n include:
\nFor source code settings that are specified in the source action of a pipeline\n in CodePipeline, location
should not be specified. If it is specified,\n CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source\n action instead of this value.
For source code in an CodeCommit repository, the HTTPS clone URL to the repository\n that contains the source code and the buildspec file (for example,\n https://git-codecommit.
).
For source code in an Amazon S3 input bucket, one of the following.
\nThe path to the ZIP file that contains the source code (for example,\n
).
The path to the folder that contains the source code (for example,\n
).
For source code in a GitHub repository, the HTTPS clone URL to the repository\n that contains the source and the buildspec file. You must connect your Amazon Web Services account \n to your GitHub account. Use the CodeBuild console to start creating a build\n project. When you use the console to connect (or reconnect) with GitHub, on the\n GitHub Authorize application page, for\n Organization access, choose Request access next to each repository you want to\n allow CodeBuild to have access to, and then choose Authorize\n application. (After you have connected to your GitHub account,\n you do not need to finish creating the build project. You can leave the CodeBuild\n console.) To instruct CodeBuild to use this connection, in the source
\n object, set the auth
object's type
value to\n OAUTH
.
For source code in a Bitbucket repository, the HTTPS clone URL to the\n repository that contains the source and the buildspec file. You must connect\n your Amazon Web Services account to your Bitbucket account. Use the CodeBuild console to start\n creating a build project. When you use the console to connect (or reconnect)\n with Bitbucket, on the Bitbucket Confirm access to your\n account page, choose Grant\n access. (After you have connected to your Bitbucket account, you\n do not need to finish creating the build project. You can leave the CodeBuild\n console.) To instruct CodeBuild to use this connection, in the source
\n object, set the auth
object's type
value to\n OAUTH
.
\n If you specify CODEPIPELINE
for the Type
property, don't specify this \n property. For all of the other types, you must specify Location
.\n
The buildspec file declaration to use for the builds in this build project.
\n If this value is set, it can be either an inline buildspec definition, the path to an\n alternate buildspec file relative to the value of the built-in\n CODEBUILD_SRC_DIR
environment variable, or the path to an S3 bucket.\n The bucket must be in the same Amazon Web Services Region as the build project. Specify the buildspec\n file using its ARN (for example,\n arn:aws:s3:::my-codebuild-sample2/buildspec.yml
). If this value is not\n provided or is set to an empty string, the source code must contain a buildspec file in\n its root directory. For more information, see Buildspec File Name and Storage Location.
The buildspec file declaration to use for the builds in this build project.
\n If this value is set, it can be either an inline buildspec definition, the path to an\n alternate buildspec file relative to the value of the built-in\n CODEBUILD_SRC_DIR
environment variable, or the path to an S3 bucket.\n The bucket must be in the same Amazon Web Services Region as the build project. Specify the buildspec\n file using its ARN (for example,\n arn:aws:s3:::my-codebuild-sample2/buildspec.yml
). If this value is not\n provided or is set to an empty string, the source code must contain a buildspec file in\n its root directory. For more information, see Buildspec File Name and Storage Location.
Information about the authorization settings for CodeBuild to access the source code to be\n built.
\nThis information is for the CodeBuild console's use only. Your code should not get or set\n this information directly.
" + "smithy.api#documentation": "Information about the authorization settings for CodeBuild to access the source code to be\n built.
\nThis information is for the CodeBuild console's use only. Your code should not get or set\n this information directly.
" } }, "reportBuildStatus": { "target": "com.amazonaws.codebuild#WrapperBoolean", "traits": { - "smithy.api#documentation": " Set to true to report the status of a build's start and finish to your source\n provider. This option is valid only when your source provider is GitHub, GitHub\n Enterprise, or Bitbucket. If this is set and you use a different source provider, an\n invalidInputException
is thrown.
To be able to report the build status to the source provider, the user associated with the source provider must\nhave write access to the repo. If the user does not have write access, the build status cannot be updated. For more information, see Source provider access in the CodeBuild User Guide.
\nThe status of a build triggered by a webhook is always reported to your source\n provider.
\nIf your project's builds are triggered by a webhook, you must push a\n new commit to the repo for a change to this property to take\n effect.
" + "smithy.api#documentation": " Set to true to report the status of a build's start and finish to your source\n provider. This option is valid only when your source provider is GitHub, GitHub\n Enterprise, or Bitbucket. If this is set and you use a different source provider, an\n invalidInputException
is thrown.
To be able to report the build status to the source provider, the user associated with the source provider must\nhave write access to the repo. If the user does not have write access, the build status cannot be updated. For more information, see Source provider access in the CodeBuild User Guide.
\nThe status of a build triggered by a webhook is always reported to your source\n provider.
\nIf your project's builds are triggered by a webhook, you must push a\n new commit to the repo for a change to this property to take\n effect.
" } }, "buildStatusConfig": { @@ -5459,7 +5787,7 @@ "sourceVersion": { "target": "com.amazonaws.codebuild#String", "traits": { - "smithy.api#documentation": "The source version for the corresponding source identifier. If specified, must be one\n of:
\nFor CodeCommit: the commit ID, branch, or Git tag to use.
\nFor GitHub: the commit ID, pull request ID, branch name, or tag name that\n corresponds to the version of the source code you want to build. If a pull\n request ID is specified, it must use the format pr/pull-request-ID
\n (for example, pr/25
). If a branch name is specified, the branch's\n HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is\n used.
For Bitbucket: the commit ID, branch name, or tag name that corresponds to the\n version of the source code you want to build. If a branch name is specified, the\n branch's HEAD commit ID is used. If not specified, the default branch's HEAD\n commit ID is used.
\nFor Amazon S3: the version ID of the object that represents the build input ZIP\n file to use.
\nFor more information, see Source Version Sample\n with CodeBuild in the CodeBuild User Guide.
", + "smithy.api#documentation": "The source version for the corresponding source identifier. If specified, must be one\n of:
\nFor CodeCommit: the commit ID, branch, or Git tag to use.
\nFor GitHub: the commit ID, pull request ID, branch name, or tag name that\n corresponds to the version of the source code you want to build. If a pull\n request ID is specified, it must use the format pr/pull-request-ID
\n (for example, pr/25
). If a branch name is specified, the branch's\n HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is\n used.
For Bitbucket: the commit ID, branch name, or tag name that corresponds to the\n version of the source code you want to build. If a branch name is specified, the\n branch's HEAD commit ID is used. If not specified, the default branch's HEAD\n commit ID is used.
\nFor Amazon S3: the version ID of the object that represents the build input ZIP\n file to use.
\nFor more information, see Source Version Sample\n with CodeBuild in the CodeBuild User Guide.
", "smithy.api#required": {} } } @@ -5481,19 +5809,23 @@ } }, "com.amazonaws.codebuild#ProjectVisibilityType": { - "type": "string", - "traits": { - "smithy.api#documentation": "Specifies the visibility of the project's builds. Possible values are:
\n\nThe project builds are visible to the public.
\nThe project builds are not visible to the public.
\nSpecifies the visibility of the project's builds. Possible values are:
\nThe project builds are visible to the public.
\nThe project builds are not visible to the public.
\n The ARN of the Project
or ReportGroup
resource that is\n associated with a resource policy.
The Amazon Resource Name (ARN) or name of credentials created using Secrets Manager.
\n The credential
can use the name of the credentials only if they\n exist in your current Amazon Web Services Region.
The Amazon Resource Name (ARN) or name of credentials created using Secrets Manager.
\n The credential
can use the name of the credentials only if they\n exist in your current Amazon Web Services Region.
Information about credentials that provide access to a private Docker registry. When\n this is set:
\n\n imagePullCredentialsType
must be set to SERVICE_ROLE
.\n
images cannot be curated or an Amazon ECR image.
\nFor more information, see Private Registry with\n Secrets Manager Sample for CodeBuild.
" + "smithy.api#documentation": "Information about credentials that provide access to a private Docker registry. When\n this is set:
\n\n imagePullCredentialsType
must be set to SERVICE_ROLE
.\n
images cannot be curated or an Amazon ECR image.
\nFor more information, see Private Registry with\n Secrets Manager Sample for CodeBuild.
" } }, "com.amazonaws.codebuild#Report": { @@ -5667,18 +6005,20 @@ } }, "com.amazonaws.codebuild#ReportCodeCoverageSortByType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "LINE_COVERAGE_PERCENTAGE", - "name": "LINE_COVERAGE_PERCENTAGE" - }, - { - "value": "FILE_PATH", - "name": "FILE_PATH" + "type": "enum", + "members": { + "LINE_COVERAGE_PERCENTAGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LINE_COVERAGE_PERCENTAGE" + } + }, + "FILE_PATH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FILE_PATH" } - ] + } } }, "com.amazonaws.codebuild#ReportExportConfig": { @@ -5687,7 +6027,7 @@ "exportConfigType": { "target": "com.amazonaws.codebuild#ReportExportConfigType", "traits": { - "smithy.api#documentation": "The export configuration type. Valid values are:
\n\n S3
: The report results are exported to an S3 bucket.
\n NO_EXPORT
: The report results are not exported.
The export configuration type. Valid values are:
\n\n S3
: The report results are exported to an S3 bucket.
\n NO_EXPORT
: The report results are not exported.
A list of tag key and value pairs associated with this report group.
\nThese tags are available for use by Amazon Web Services services that support CodeBuild report group\n tags.
" + "smithy.api#documentation": "A list of tag key and value pairs associated with this report group.
\nThese tags are available for use by Amazon Web Services services that support CodeBuild report group\n tags.
" } }, "status": { @@ -5808,80 +6150,102 @@ } }, "com.amazonaws.codebuild#ReportGroupSortByType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NAME", - "name": "NAME" - }, - { - "value": "CREATED_TIME", - "name": "CREATED_TIME" - }, - { - "value": "LAST_MODIFIED_TIME", - "name": "LAST_MODIFIED_TIME" + "type": "enum", + "members": { + "NAME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NAME" + } + }, + "CREATED_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATED_TIME" } - ] + }, + "LAST_MODIFIED_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LAST_MODIFIED_TIME" + } + } } }, - "com.amazonaws.codebuild#ReportGroupStatusType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "DELETING", - "name": "DELETING" + "com.amazonaws.codebuild#ReportGroupStatusType": { + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" } - ] + } } }, "com.amazonaws.codebuild#ReportGroupTrendFieldType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PASS_RATE", - "name": "PASS_RATE" - }, - { - "value": "DURATION", - "name": "DURATION" - }, - { - "value": "TOTAL", - "name": "TOTAL" - }, - { - "value": "LINE_COVERAGE", - "name": "LINE_COVERAGE" - }, - { - "value": "LINES_COVERED", - "name": "LINES_COVERED" - }, - { - "value": "LINES_MISSED", - "name": "LINES_MISSED" - }, - { - "value": "BRANCH_COVERAGE", - "name": "BRANCH_COVERAGE" - }, - { - "value": "BRANCHES_COVERED", - "name": "BRANCHES_COVERED" - }, - { - "value": "BRANCHES_MISSED", - "name": "BRANCHES_MISSED" + "type": "enum", + "members": { + "PASS_RATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PASS_RATE" + } + }, + "DURATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DURATION" + } + }, + "TOTAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TOTAL" + } + }, + "LINE_COVERAGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LINE_COVERAGE" + } + }, + "LINES_COVERED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LINES_COVERED" + } + }, + "LINES_MISSED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LINES_MISSED" + } + }, + "BRANCH_COVERAGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BRANCH_COVERAGE" + } + }, + "BRANCHES_COVERED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BRANCHES_COVERED" } - ] + }, + "BRANCHES_MISSED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BRANCHES_MISSED" + } + } } }, "com.amazonaws.codebuild#ReportGroupTrendRawDataList": { @@ -5929,18 +6293,20 @@ } }, "com.amazonaws.codebuild#ReportPackagingType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ZIP", - "name": "ZIP" - }, - { - "value": "NONE", - "name": "NONE" + "type": "enum", + "members": { + "ZIP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ZIP" + } + }, + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" } - ] + } } }, "com.amazonaws.codebuild#ReportStatusCounts": { @@ -5953,45 +6319,55 @@ } }, "com.amazonaws.codebuild#ReportStatusType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "GENERATING", - "name": "GENERATING" - }, - { - "value": "SUCCEEDED", - "name": "SUCCEEDED" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "INCOMPLETE", - "name": "INCOMPLETE" - }, - { - "value": "DELETING", - "name": "DELETING" + "type": "enum", + "members": { + "GENERATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GENERATING" + } + }, + "SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCEEDED" } - ] + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "INCOMPLETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INCOMPLETE" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + } } }, "com.amazonaws.codebuild#ReportType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "TEST", - "name": "TEST" - }, - { - "value": "CODE_COVERAGE", - "name": "CODE_COVERAGE" + "type": "enum", + "members": { + "TEST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TEST" + } + }, + "CODE_COVERAGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CODE_COVERAGE" } - ] + } } }, "com.amazonaws.codebuild#ReportWithRawData": { @@ -6146,6 +6522,9 @@ "smithy.api#documentation": "Specifies the type of retry to perform.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codebuild#RetryBuildBatchOutput": { @@ -6154,21 +6533,26 @@ "buildBatch": { "target": "com.amazonaws.codebuild#BuildBatch" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#RetryBuildBatchType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "RETRY_ALL_BUILDS", - "name": "RETRY_ALL_BUILDS" - }, - { - "value": "RETRY_FAILED_BUILDS", - "name": "RETRY_FAILED_BUILDS" + "type": "enum", + "members": { + "RETRY_ALL_BUILDS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RETRY_ALL_BUILDS" } - ] + }, + "RETRY_FAILED_BUILDS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RETRY_FAILED_BUILDS" + } + } } }, "com.amazonaws.codebuild#RetryBuildInput": { @@ -6186,6 +6570,9 @@ "smithy.api#documentation": "A unique, case sensitive identifier you provide to ensure the idempotency of the\n RetryBuild
request. The token is included in the\n RetryBuild
request and is valid for five minutes. If you repeat\n the RetryBuild
request with the same token, but change a parameter,\n CodeBuild returns a parameter mismatch error.
The current status of the S3 build logs. Valid values are:
\n\n ENABLED
: S3 build logs are enabled for this build project.
\n DISABLED
: S3 build logs are not enabled for this build\n project.
The current status of the S3 build logs. Valid values are:
\n\n ENABLED
: S3 build logs are enabled for this build project.
\n DISABLED
: S3 build logs are not enabled for this build\n project.
The type of build output artifact to create. Valid values include:
\n\n NONE
: CodeBuild creates the raw data in the output bucket. This\n is the default if packaging is not specified.
\n ZIP
: CodeBuild creates a ZIP file with the raw data in the\n output bucket.
The type of build output artifact to create. Valid values include:
\n\n NONE
: CodeBuild creates the raw data in the output bucket. This\n is the default if packaging is not specified.
\n ZIP
: CodeBuild creates a ZIP file with the raw data in the\n output bucket.
This data type is deprecated and is no longer accurate or used.
\nThe authorization type to use. The only valid value is OAUTH
, which\n represents the OAuth authorization type.
This data type is deprecated and is no longer accurate or used.
\nThe authorization type to use. The only valid value is OAUTH
, which\n represents the OAuth authorization type.
Information about the authorization settings for CodeBuild to access the source code to be\n built.
\nThis information is for the CodeBuild console's use only. Your code should not get or set\n this information directly.
" + "smithy.api#documentation": "Information about the authorization settings for CodeBuild to access the source code to be\n built.
\nThis information is for the CodeBuild console's use only. Your code should not get or set\n this information directly.
" } }, "com.amazonaws.codebuild#SourceAuthType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "OAUTH", - "name": "OAUTH" + "type": "enum", + "members": { + "OAUTH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OAUTH" } - ] + } } }, "com.amazonaws.codebuild#SourceCredentialsInfo": { @@ -6405,38 +6803,50 @@ } }, "com.amazonaws.codebuild#SourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CODECOMMIT", - "name": "CODECOMMIT" - }, - { - "value": "CODEPIPELINE", - "name": "CODEPIPELINE" - }, - { - "value": "GITHUB", - "name": "GITHUB" - }, - { - "value": "S3", - "name": "S3" - }, - { - "value": "BITBUCKET", - "name": "BITBUCKET" - }, - { - "value": "GITHUB_ENTERPRISE", - "name": "GITHUB_ENTERPRISE" - }, - { - "value": "NO_SOURCE", - "name": "NO_SOURCE" + "type": "enum", + "members": { + "CODECOMMIT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CODECOMMIT" + } + }, + "CODEPIPELINE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CODEPIPELINE" + } + }, + "GITHUB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GITHUB" + } + }, + "S3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3" + } + }, + "BITBUCKET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BITBUCKET" + } + }, + "GITHUB_ENTERPRISE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GITHUB_ENTERPRISE" + } + }, + "NO_SOURCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NO_SOURCE" } - ] + } } }, "com.amazonaws.codebuild#StartBuild": { @@ -6507,7 +6917,7 @@ "sourceVersion": { "target": "com.amazonaws.codebuild#String", "traits": { - "smithy.api#documentation": "The version of the batch build input to be built, for this build only. If not specified,\n the latest version is used. If specified, the contents depends on the source\n provider:
\nThe commit ID, branch, or Git tag to use.
\nThe commit ID, pull request ID, branch name, or tag name that corresponds\n to the version of the source code you want to build. If a pull request ID is\n specified, it must use the format pr/pull-request-ID
(for\n example pr/25
). If a branch name is specified, the branch's\n HEAD commit ID is used. If not specified, the default branch's HEAD commit\n ID is used.
The commit ID, branch name, or tag name that corresponds to the version of\n the source code you want to build. If a branch name is specified, the\n branch's HEAD commit ID is used. If not specified, the default branch's HEAD\n commit ID is used.
\nThe version ID of the object that represents the build input ZIP file to\n use.
\nIf sourceVersion
is specified at the project level, then this\n sourceVersion
(at the build level) takes precedence.
For more information, see Source Version Sample\n with CodeBuild in the CodeBuild User Guide.
" + "smithy.api#documentation": "The version of the batch build input to be built, for this build only. If not specified,\n the latest version is used. If specified, the contents depends on the source\n provider:
\nThe commit ID, branch, or Git tag to use.
\nThe commit ID, pull request ID, branch name, or tag name that corresponds\n to the version of the source code you want to build. If a pull request ID is\n specified, it must use the format pr/pull-request-ID
(for\n example pr/25
). If a branch name is specified, the branch's\n HEAD commit ID is used. If not specified, the default branch's HEAD commit\n ID is used.
The commit ID, branch name, or tag name that corresponds to the version of\n the source code you want to build. If a branch name is specified, the\n branch's HEAD commit ID is used. If not specified, the default branch's HEAD\n commit ID is used.
\nThe version ID of the object that represents the build input ZIP file to\n use.
\nIf sourceVersion
is specified at the project level, then this\n sourceVersion
(at the build level) takes precedence.
For more information, see Source Version Sample\n with CodeBuild in the CodeBuild User Guide.
" } }, "artifactsOverride": { @@ -6657,7 +7067,7 @@ "imagePullCredentialsTypeOverride": { "target": "com.amazonaws.codebuild#ImagePullCredentialsType", "traits": { - "smithy.api#documentation": "The type of credentials CodeBuild uses to pull images in your batch build. There are two valid\n values:
\nSpecifies that CodeBuild uses its own credentials. This requires that you\n modify your ECR repository policy to trust CodeBuild's service principal.
\nSpecifies that CodeBuild uses your build project's service role.
\nWhen using a cross-account or private registry image, you must use\n SERVICE_ROLE
credentials. When using an CodeBuild curated image,\n you must use CODEBUILD
credentials.
The type of credentials CodeBuild uses to pull images in your batch build. There are two valid\n values:
\nSpecifies that CodeBuild uses its own credentials. This requires that you\n modify your ECR repository policy to trust CodeBuild's service principal.
\nSpecifies that CodeBuild uses your build project's service role.
\nWhen using a cross-account or private registry image, you must use\n SERVICE_ROLE
credentials. When using an CodeBuild curated image,\n you must use CODEBUILD
credentials.
Specifies if session debugging is enabled for this batch build. For more information, see\n Viewing a running build in Session Manager. Batch session debugging is not supported for matrix batch builds.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codebuild#StartBuildBatchOutput": { @@ -6683,6 +7096,9 @@ "smithy.api#documentation": "A BuildBatch
object that contains information about the batch build.
The version of the build input to be built, for this build only. If not specified,\n the latest version is used. If specified, the contents depends on the source\n provider:
\nThe commit ID, branch, or Git tag to use.
\nThe commit ID, pull request ID, branch name, or tag name that corresponds\n to the version of the source code you want to build. If a pull request ID is\n specified, it must use the format pr/pull-request-ID
(for\n example pr/25
). If a branch name is specified, the branch's\n HEAD commit ID is used. If not specified, the default branch's HEAD commit\n ID is used.
The commit ID, branch name, or tag name that corresponds to the version of\n the source code you want to build. If a branch name is specified, the\n branch's HEAD commit ID is used. If not specified, the default branch's HEAD\n commit ID is used.
\nThe version ID of the object that represents the build input ZIP file to\n use.
\nIf sourceVersion
is specified at the project level, then this\n sourceVersion
(at the build level) takes precedence.
For more information, see Source Version Sample\n with CodeBuild in the CodeBuild User Guide.
" + "smithy.api#documentation": "The version of the build input to be built, for this build only. If not specified,\n the latest version is used. If specified, the contents depends on the source\n provider:
\nThe commit ID, branch, or Git tag to use.
\nThe commit ID, pull request ID, branch name, or tag name that corresponds\n to the version of the source code you want to build. If a pull request ID is\n specified, it must use the format pr/pull-request-ID
(for\n example pr/25
). If a branch name is specified, the branch's\n HEAD commit ID is used. If not specified, the default branch's HEAD commit\n ID is used.
The commit ID, branch name, or tag name that corresponds to the version of\n the source code you want to build. If a branch name is specified, the\n branch's HEAD commit ID is used. If not specified, the default branch's HEAD\n commit ID is used.
\nThe version ID of the object that represents the build input ZIP file to\n use.
\nIf sourceVersion
is specified at the project level, then this\n sourceVersion
(at the build level) takes precedence.
For more information, see Source Version Sample\n with CodeBuild in the CodeBuild User Guide.
" } }, "artifactsOverride": { @@ -6764,7 +7180,7 @@ "buildspecOverride": { "target": "com.amazonaws.codebuild#String", "traits": { - "smithy.api#documentation": "A buildspec file declaration that overrides, for this build only, the latest one\n already defined in the build project.
\n If this value is set, it can be either an inline buildspec definition, the path to an\n alternate buildspec file relative to the value of the built-in\n CODEBUILD_SRC_DIR
environment variable, or the path to an S3 bucket.\n The bucket must be in the same Amazon Web Services Region as the build project. Specify the buildspec\n file using its ARN (for example,\n arn:aws:s3:::my-codebuild-sample2/buildspec.yml
). If this value is not\n provided or is set to an empty string, the source code must contain a buildspec file in\n its root directory. For more information, see Buildspec File Name and Storage Location.
A buildspec file declaration that overrides, for this build only, the latest one\n already defined in the build project.
\n If this value is set, it can be either an inline buildspec definition, the path to an\n alternate buildspec file relative to the value of the built-in\n CODEBUILD_SRC_DIR
environment variable, or the path to an S3 bucket.\n The bucket must be in the same Amazon Web Services Region as the build project. Specify the buildspec\n file using its ARN (for example,\n arn:aws:s3:::my-codebuild-sample2/buildspec.yml
). If this value is not\n provided or is set to an empty string, the source code must contain a buildspec file in\n its root directory. For more information, see Buildspec File Name and Storage Location.
Set to true to report to your source provider the status of a build's start and\n completion. If you use this option with a source provider other than GitHub, GitHub\n Enterprise, or Bitbucket, an invalidInputException
is thrown.
To be able to report the build status to the source provider, the user associated with the source provider must\nhave write access to the repo. If the user does not have write access, the build status cannot be updated. For more information, see Source provider access in the CodeBuild User Guide.
\nThe status of a build triggered by a webhook is always reported to your source\n provider.
\n Set to true to report to your source provider the status of a build's start and\n completion. If you use this option with a source provider other than GitHub, GitHub\n Enterprise, or Bitbucket, an invalidInputException
is thrown.
To be able to report the build status to the source provider, the user associated with the source provider must\nhave write access to the repo. If the user does not have write access, the build status cannot be updated. For more information, see Source provider access in the CodeBuild User Guide.
\nThe status of a build triggered by a webhook is always reported to your source\n provider.
\nThe Key Management Service customer master key (CMK) that overrides the one specified in the build\n project. The CMK key encrypts the build output artifacts.
\nYou can use a cross-account KMS key to encrypt the build output artifacts if your\n service role has permission to that key.
\nYou can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using\n the format alias/
).
The Key Management Service customer master key (CMK) that overrides the one specified in the build\n project. The CMK key encrypts the build output artifacts.
\nYou can use a cross-account KMS key to encrypt the build output artifacts if your\n service role has permission to that key.
\nYou can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using\n the format alias/
).
The type of credentials CodeBuild uses to pull images in your build. There are two valid\n values:
\nSpecifies that CodeBuild uses its own credentials. This requires that you\n modify your ECR repository policy to trust CodeBuild's service principal.
\nSpecifies that CodeBuild uses your build project's service role.
\nWhen using a cross-account or private registry image, you must use\n SERVICE_ROLE
credentials. When using an CodeBuild curated image,\n you must use CODEBUILD
credentials.
The type of credentials CodeBuild uses to pull images in your build. There are two valid\n values:
\nSpecifies that CodeBuild uses its own credentials. This requires that you\n modify your ECR repository policy to trust CodeBuild's service principal.
\nSpecifies that CodeBuild uses your build project's service role.
\nWhen using a cross-account or private registry image, you must use\n SERVICE_ROLE
credentials. When using an CodeBuild curated image,\n you must use CODEBUILD
credentials.
Specifies if session debugging is enabled for this build. For more information, see\n Viewing a running build in Session Manager.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codebuild#StartBuildOutput": { @@ -6886,37 +7305,50 @@ "smithy.api#documentation": "Information about the build to be run.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#StatusType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SUCCEEDED", - "name": "SUCCEEDED" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "FAULT", - "name": "FAULT" - }, - { - "value": "TIMED_OUT", - "name": "TIMED_OUT" - }, - { - "value": "IN_PROGRESS", - "name": "IN_PROGRESS" - }, - { - "value": "STOPPED", - "name": "STOPPED" + "type": "enum", + "members": { + "SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCEEDED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "FAULT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAULT" + } + }, + "TIMED_OUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIMED_OUT" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" + } + }, + "STOPPED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STOPPED" } - ] + } } }, "com.amazonaws.codebuild#StopBuild": { @@ -6969,6 +7401,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codebuild#StopBuildBatchOutput": { @@ -6977,6 +7412,9 @@ "buildBatch": { "target": "com.amazonaws.codebuild#BuildBatch" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#StopBuildInput": { @@ -6989,6 +7427,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codebuild#StopBuildOutput": { @@ -7000,6 +7441,9 @@ "smithy.api#documentation": "Information about the build.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#String": { @@ -7034,7 +7478,7 @@ } }, "traits": { - "smithy.api#documentation": "A tag, consisting of a key and a value.
\nThis tag is available for use by Amazon Web Services services that support tags in CodeBuild.
" + "smithy.api#documentation": "A tag, consisting of a key and a value.
\nThis tag is available for use by Amazon Web Services services that support tags in CodeBuild.
" } }, "com.amazonaws.codebuild#TagList": { @@ -7111,7 +7555,7 @@ "status": { "target": "com.amazonaws.codebuild#String", "traits": { - "smithy.api#documentation": "The status used to filter test cases. A TestCaseFilter
can have one\n status. Valid values are:
\n SUCCEEDED
\n
\n FAILED
\n
\n ERROR
\n
\n SKIPPED
\n
\n UNKNOWN
\n
The status used to filter test cases. A TestCaseFilter
can have one\n status. Valid values are:
\n SUCCEEDED
\n
\n FAILED
\n
\n ERROR
\n
\n SKIPPED
\n
\n UNKNOWN
\n
The maximum number of concurrent builds that are allowed for this project.
\nNew builds are only started if the current number of builds is less than or equal to this limit. \n If the current build count meets this limit, new builds are throttled and are not run.
\nTo remove this limit, set this value to -1.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codebuild#UpdateProjectOutput": { @@ -7330,6 +7777,9 @@ "smithy.api#documentation": "Information about the build project that was changed.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#UpdateProjectVisibility": { @@ -7374,6 +7824,9 @@ "smithy.api#documentation": "The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for\n the project's builds.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codebuild#UpdateProjectVisibilityOutput": { @@ -7394,6 +7847,9 @@ "projectVisibility": { "target": "com.amazonaws.codebuild#ProjectVisibilityType" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#UpdateReportGroup": { @@ -7438,6 +7894,9 @@ "smithy.api#documentation": "\n An updated list of tag key and value pairs associated with this report group.\n
\nThese tags are available for use by Amazon Web Services services that support CodeBuild report group\n tags.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codebuild#UpdateReportGroupOutput": { @@ -7449,6 +7908,9 @@ "smithy.api#documentation": "\n Information about the updated report group.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#UpdateWebhook": { @@ -7509,6 +7971,9 @@ "smithy.api#documentation": "Specifies the type of build this webhook will trigger.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codebuild#UpdateWebhookOutput": { @@ -7520,6 +7985,9 @@ "smithy.api#documentation": "Information about a repository's webhook that is associated with a project in CodeBuild.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codebuild#ValueInput": { @@ -7609,18 +8077,20 @@ } }, "com.amazonaws.codebuild#WebhookBuildType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "BUILD", - "name": "BUILD" - }, - { - "value": "BUILD_BATCH", - "name": "BUILD_BATCH" + "type": "enum", + "members": { + "BUILD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BUILD" + } + }, + "BUILD_BATCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BUILD_BATCH" } - ] + } } }, "com.amazonaws.codebuild#WebhookFilter": { @@ -7629,14 +8099,14 @@ "type": { "target": "com.amazonaws.codebuild#WebhookFilterType", "traits": { - "smithy.api#documentation": " The type of webhook filter. There are six webhook filter types: EVENT
,\n ACTOR_ACCOUNT_ID
, HEAD_REF
, BASE_REF
,\n FILE_PATH
, and COMMIT_MESSAGE
.
A webhook event triggers a build when the provided pattern
\n matches one of five event types: PUSH
,\n PULL_REQUEST_CREATED
, PULL_REQUEST_UPDATED
,\n PULL_REQUEST_REOPENED
, and\n PULL_REQUEST_MERGED
. The EVENT
patterns are\n specified as a comma-separated string. For example, PUSH,\n PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED
filters all push, pull\n request created, and pull request updated events.
The PULL_REQUEST_REOPENED
works with GitHub and GitHub\n Enterprise only.
A webhook event triggers a build when a GitHub, GitHub Enterprise, or\n Bitbucket account ID matches the regular expression pattern
.\n
A webhook event triggers a build when the head reference matches the\n regular expression pattern
. For example,\n refs/heads/branch-name
and refs/tags/tag-name
.
Works with GitHub and GitHub Enterprise push, GitHub and GitHub\n Enterprise pull request, Bitbucket push, and Bitbucket pull request events.\n
\n A webhook event triggers a build when the base reference matches the\n regular expression pattern
. For example,\n refs/heads/branch-name
.
Works with pull request events only.
\n A webhook triggers a build when the path of a changed file matches the\n regular expression pattern
.
Works with GitHub and Bitbucket events push and pull requests events.\n Also works with GitHub Enterprise push events, but does not work with\n GitHub Enterprise pull request events.
\nA webhook triggers a build when the head commit message matches the\n regular expression pattern
.
Works with GitHub and Bitbucket events push and pull requests events.\n Also works with GitHub Enterprise push events, but does not work with\n GitHub Enterprise pull request events.
\n The type of webhook filter. There are six webhook filter types: EVENT
,\n ACTOR_ACCOUNT_ID
, HEAD_REF
, BASE_REF
,\n FILE_PATH
, and COMMIT_MESSAGE
.
A webhook event triggers a build when the provided pattern
\n matches one of five event types: PUSH
,\n PULL_REQUEST_CREATED
, PULL_REQUEST_UPDATED
,\n PULL_REQUEST_REOPENED
, and\n PULL_REQUEST_MERGED
. The EVENT
patterns are\n specified as a comma-separated string. For example, PUSH,\n PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED
filters all push, pull\n request created, and pull request updated events.
The PULL_REQUEST_REOPENED
works with GitHub and GitHub\n Enterprise only.
A webhook event triggers a build when a GitHub, GitHub Enterprise, or\n Bitbucket account ID matches the regular expression pattern
.\n
A webhook event triggers a build when the head reference matches the\n regular expression pattern
. For example,\n refs/heads/branch-name
and refs/tags/tag-name
.
Works with GitHub and GitHub Enterprise push, GitHub and GitHub\n Enterprise pull request, Bitbucket push, and Bitbucket pull request events.\n
\n A webhook event triggers a build when the base reference matches the\n regular expression pattern
. For example,\n refs/heads/branch-name
.
Works with pull request events only.
\n A webhook triggers a build when the path of a changed file matches the\n regular expression pattern
.
Works with GitHub and Bitbucket events push and pull requests events.\n Also works with GitHub Enterprise push events, but does not work with\n GitHub Enterprise pull request events.
\nA webhook triggers a build when the head commit message matches the\n regular expression pattern
.
Works with GitHub and Bitbucket events push and pull requests events.\n Also works with GitHub Enterprise push events, but does not work with\n GitHub Enterprise pull request events.
\n For a WebHookFilter
that uses EVENT
type, a comma-separated\n string that specifies one or more events. For example, the webhook filter PUSH,\n PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED
allows all push, pull request\n created, and pull request updated events to trigger a build.
For a WebHookFilter
that uses any of the other filter types, a regular\n expression pattern. For example, a WebHookFilter
that uses\n HEAD_REF
for its type
and the pattern\n ^refs/heads/
triggers a build when the head reference is a branch with\n a reference name refs/heads/branch-name
.
For a WebHookFilter
that uses EVENT
type, a comma-separated\n string that specifies one or more events. For example, the webhook filter PUSH,\n PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED
allows all push, pull request\n created, and pull request updated events to trigger a build.
For a WebHookFilter
that uses any of the other filter types, a regular\n expression pattern. For example, a WebHookFilter
that uses\n HEAD_REF
for its type
and the pattern\n ^refs/heads/
triggers a build when the head reference is a branch with\n a reference name refs/heads/branch-name
.
The tag key-value pairs to add to the on-premises instances.
\nKeys and values are both required. Keys cannot be null or empty strings. Value-only\n tags are not allowed.
", + "smithy.api#documentation": "The tag key-value pairs to add to the on-premises instances.
\nKeys and values are both required. Keys cannot be null or empty strings. Value-only\n tags are not allowed.
", "smithy.api#required": {} } }, @@ -83,7 +83,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of, and adds tags to, an on-premises instance operation.
" + "smithy.api#documentation": "Represents the input of, and adds tags to, an on-premises instance operation.
", + "smithy.api#input": {} } }, "com.amazonaws.codedeploy#AdditionalDeploymentStatusInfo": { @@ -122,7 +123,7 @@ "target": "com.amazonaws.codedeploy#Boolean", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "Indicates whether a deployment should continue if information about the current state\n of alarms cannot be retrieved from Amazon CloudWatch. The default value is false.
\n\n true
: The deployment proceeds even if alarm status information\n can't be retrieved from Amazon CloudWatch.
\n false
: The deployment stops if alarm status information can't be\n retrieved from Amazon CloudWatch.
Indicates whether a deployment should continue if information about the current state\n of alarms cannot be retrieved from Amazon CloudWatch. The default value is false.
\n\n true
: The deployment proceeds even if alarm status information\n can't be retrieved from Amazon CloudWatch.
\n false
: The deployment stops if alarm status information can't be\n retrieved from Amazon CloudWatch.
The YAML-formatted or JSON-formatted revision string.
\nFor an Lambda deployment, the content includes a Lambda\n function name, the alias for its original version, and the alias for its replacement\n version. The deployment shifts traffic from the original version of the Lambda function to the replacement version.
\nFor an Amazon ECS deployment, the content includes the task name, information\n about the load balancer that serves traffic to the container, and more.
\n For both types of deployments, the content can specify Lambda functions\n that run at specified hooks, such as BeforeInstall
, during a deployment.\n
The YAML-formatted or JSON-formatted revision string.
\nFor an Lambda deployment, the content includes a Lambda\n function name, the alias for its original version, and the alias for its replacement\n version. The deployment shifts traffic from the original version of the Lambda function to the replacement version.
\nFor an Amazon ECS deployment, the content includes the task name, information\n about the load balancer that serves traffic to the container, and more.
\n For both types of deployments, the content can specify Lambda functions\n that run at specified hooks, such as BeforeInstall
, during a deployment.\n
Represents the input of a BatchGetApplicationRevisions
operation.
Represents the input of a BatchGetApplicationRevisions
operation.
Represents the output of a BatchGetApplicationRevisions
operation.
Represents the output of a BatchGetApplicationRevisions
operation.
Represents the input of a BatchGetApplications
operation.
Represents the input of a BatchGetApplications
operation.
Represents the output of a BatchGetApplications
operation.
Represents the output of a BatchGetApplications
operation.
Represents the input of a BatchGetDeploymentGroups
operation.
Represents the input of a BatchGetDeploymentGroups
operation.
Represents the output of a BatchGetDeploymentGroups
operation.
Represents the output of a BatchGetDeploymentGroups
operation.
This method works, but is deprecated. Use BatchGetDeploymentTargets
\n instead.
Returns an array of one or more instances associated with a deployment. This method\n works with EC2/On-premises and Lambda compute platforms. The newer\n BatchGetDeploymentTargets
works with all compute platforms. The maximum\n number of instances that can be returned is 25.
This method works, but is deprecated. Use BatchGetDeploymentTargets
\n instead.
Returns an array of one or more instances associated with a deployment. This method\n works with EC2/On-premises and Lambda compute platforms. The newer\n BatchGetDeploymentTargets
works with all compute platforms. The maximum\n number of instances that can be returned is 25.
Represents the input of a BatchGetDeploymentInstances
operation.
Represents the input of a BatchGetDeploymentInstances
operation.
Represents the output of a BatchGetDeploymentInstances
operation.
Represents the output of a BatchGetDeploymentInstances
operation.
Returns an array of one or more targets associated with a deployment. This method\n works with all compute types and should be used instead of the deprecated\n BatchGetDeploymentInstances
. The maximum number of targets that can be\n returned is 25.
The type of targets returned depends on the deployment's compute platform or\n deployment method:
\n\n EC2/On-premises: Information about Amazon EC2 instance targets.
\n\n Lambda: Information about\n Lambda functions targets.
\n\n Amazon ECS: Information about Amazon ECS service targets.
\n\n CloudFormation: Information about\n targets of blue/green deployments initiated by a CloudFormation stack\n update.
\n Returns an array of one or more targets associated with a deployment. This method\n works with all compute types and should be used instead of the deprecated\n BatchGetDeploymentInstances
. The maximum number of targets that can be\n returned is 25.
The type of targets returned depends on the deployment's compute platform or\n deployment method:
\n\n EC2/On-premises: Information about Amazon EC2 instance targets.
\n\n Lambda: Information about\n Lambda functions targets.
\n\n Amazon ECS: Information about Amazon ECS service targets.
\n\n CloudFormation: Information about\n targets of blue/green deployments initiated by a CloudFormation stack\n update.
\nThe unique IDs of the deployment targets. The compute platform of the deployment\n determines the type of the targets and their formats. The maximum number of deployment\n target IDs you can specify is 25.
\n For deployments that use the EC2/On-premises compute platform, the target IDs\n are Amazon EC2 or on-premises instances IDs, and their target type is\n instanceTarget
.
For deployments that use the Lambda compute platform, the\n target IDs are the names of Lambda functions, and their target type\n is instanceTarget
.
For deployments that use the Amazon ECS compute platform, the target\n IDs are pairs of Amazon ECS clusters and services specified using the\n format
. Their target type\n is ecsTarget
.
For deployments that are deployed with CloudFormation, the target IDs are\n CloudFormation stack IDs. Their target type is\n cloudFormationTarget
.
The unique IDs of the deployment targets. The compute platform of the deployment\n determines the type of the targets and their formats. The maximum number of deployment\n target IDs you can specify is 25.
\n For deployments that use the EC2/On-premises compute platform, the target IDs\n are Amazon EC2 or on-premises instances IDs, and their target type is\n instanceTarget
.
For deployments that use the Lambda compute platform, the\n target IDs are the names of Lambda functions, and their target type\n is instanceTarget
.
For deployments that use the Amazon ECS compute platform, the target\n IDs are pairs of Amazon ECS clusters and services specified using the\n format
. Their target type\n is ecsTarget
.
For deployments that are deployed with CloudFormation, the target IDs are\n CloudFormation stack IDs. Their target type is\n cloudFormationTarget
.
A list of target objects for a deployment. Each target object contains details about\n the target, such as its status and lifecycle events. The type of the target objects\n depends on the deployment' compute platform.
\n\n EC2/On-premises: Each target object is an\n Amazon EC2 or on-premises instance.
\n\n Lambda: The target object is a\n specific version of an Lambda function.
\n\n Amazon ECS: The target object is an\n Amazon ECS service.
\n\n CloudFormation: The target object is\n an CloudFormation blue/green deployment.
\nA list of target objects for a deployment. Each target object contains details about\n the target, such as its status and lifecycle events. The type of the target objects\n depends on the deployment' compute platform.
\n\n EC2/On-premises: Each target object is an\n Amazon EC2 or on-premises instance.
\n\n Lambda: The target object is a\n specific version of an Lambda function.
\n\n Amazon ECS: The target object is an\n Amazon ECS service.
\n\n CloudFormation: The target object is\n an CloudFormation blue/green deployment.
\n Represents the input of a BatchGetDeployments
operation.
Represents the input of a BatchGetDeployments
operation.
Represents the output of a BatchGetDeployments
operation.
Represents the output of a BatchGetDeployments
operation.
Represents the input of a BatchGetOnPremisesInstances
operation.
Represents the input of a BatchGetOnPremisesInstances
operation.
Represents the output of a BatchGetOnPremisesInstances
operation.
Represents the output of a BatchGetOnPremisesInstances
operation.
The action to take on instances in the original environment after a successful\n blue/green deployment.
\n\n TERMINATE
: Instances are terminated after a specified wait\n time.
\n KEEP_ALIVE
: Instances are left running after they are\n deregistered from the load balancer and removed from the deployment\n group.
The action to take on instances in the original environment after a successful\n blue/green deployment.
\n\n TERMINATE
: Instances are terminated after a specified wait\n time.
\n KEEP_ALIVE
: Instances are left running after they are\n deregistered from the load balancer and removed from the deployment\n group.
For an Amazon EC2 deployment, the number of minutes to wait after a successful\n blue/green deployment before terminating instances from the original environment.
\n\nFor an Amazon ECS deployment, the number of minutes before deleting the\n original (blue) task set. During an Amazon ECS deployment, CodeDeploy shifts\n traffic from the original (blue) task set to a replacement (green) task set.
\n\nThe maximum setting is 2880 minutes (2 days).
" + "smithy.api#documentation": "For an Amazon EC2 deployment, the number of minutes to wait after a successful\n blue/green deployment before terminating instances from the original environment.
\nFor an Amazon ECS deployment, the number of minutes before deleting the\n original (blue) task set. During an Amazon ECS deployment, CodeDeploy shifts\n traffic from the original (blue) task set to a replacement (green) task set.
\nThe maximum setting is 2880 minutes (2 days).
" } } }, @@ -1239,7 +1258,7 @@ "name": "codedeploy" }, "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "CodeDeploy is a deployment service that automates application deployments\n to Amazon EC2 instances, on-premises instances running in your own facility,\n serverless Lambda functions, or applications in an Amazon ECS\n service.
\nYou can deploy a nearly unlimited variety of application content, such as an updated\n Lambda function, updated applications in an Amazon ECS service,\n code, web and configuration files, executables, packages, scripts, multimedia files, and\n so on. CodeDeploy can deploy application content stored in Amazon S3\n buckets, GitHub repositories, or Bitbucket repositories. You do not need to make changes\n to your existing code before you can use CodeDeploy.
\nCodeDeploy makes it easier for you to rapidly release new features, helps\n you avoid downtime during application deployment, and handles the complexity of updating\n your applications, without many of the risks associated with error-prone manual\n deployments.
\n\n CodeDeploy Components\n
\nUse the information in this guide to help you work with the following CodeDeploy components:
\n\n Application: A name that uniquely identifies\n the application you want to deploy. CodeDeploy uses this name, which\n functions as a container, to ensure the correct combination of revision,\n deployment configuration, and deployment group are referenced during a\n deployment.
\n\n Deployment group: A set of individual\n instances, CodeDeploy\n Lambda deployment configuration settings, or an Amazon ECS\n service and network details. A Lambda deployment group specifies how\n to route traffic to a new version of a Lambda function. An Amazon ECS deployment group specifies the service created in Amazon ECS to deploy, a load balancer, and a listener to reroute production\n traffic to an updated containerized application. An Amazon EC2/On-premises deployment group contains individually tagged instances, Amazon EC2 instances in Amazon EC2 Auto Scaling groups, or both. All\n deployment groups can specify optional trigger, alarm, and rollback\n settings.
\n\n Deployment configuration: A set of deployment\n rules and deployment success and failure conditions used by CodeDeploy during a deployment.
\n\n Deployment: The process and the components used\n when updating a Lambda function, a containerized application in an\n Amazon ECS service, or of installing content on one or more\n instances.
\n\n Application revisions: For an Lambda deployment, this is an AppSpec file that specifies the\n Lambda function to be updated and one or more functions to\n validate deployment lifecycle events. For an Amazon ECS deployment, this\n is an AppSpec file that specifies the Amazon ECS task definition,\n container, and port where production traffic is rerouted. For an EC2/On-premises\n deployment, this is an archive file that contains source content—source code,\n webpages, executable files, and deployment scripts—along with an AppSpec file.\n Revisions are stored in Amazon S3 buckets or GitHub repositories. For\n Amazon S3, a revision is uniquely identified by its Amazon S3 object key and its ETag, version, or both. For GitHub, a revision is uniquely\n identified by its commit ID.
\nThis guide also contains information to help you get details about the instances in\n your deployments, to make on-premises instances available for CodeDeploy\n deployments, to get details about a Lambda function deployment, and to get\n details about Amazon ECS service deployments.
\n\n CodeDeploy Information Resources\n
\nCodeDeploy is a deployment service that automates application deployments\n to Amazon EC2 instances, on-premises instances running in your own facility,\n serverless Lambda functions, or applications in an Amazon ECS\n service.
\nYou can deploy a nearly unlimited variety of application content, such as an updated\n Lambda function, updated applications in an Amazon ECS service,\n code, web and configuration files, executables, packages, scripts, multimedia files, and\n so on. CodeDeploy can deploy application content stored in Amazon S3\n buckets, GitHub repositories, or Bitbucket repositories. You do not need to make changes\n to your existing code before you can use CodeDeploy.
\nCodeDeploy makes it easier for you to rapidly release new features, helps\n you avoid downtime during application deployment, and handles the complexity of updating\n your applications, without many of the risks associated with error-prone manual\n deployments.
\n\n CodeDeploy Components\n
\nUse the information in this guide to help you work with the following CodeDeploy components:
\n\n Application: A name that uniquely identifies\n the application you want to deploy. CodeDeploy uses this name, which\n functions as a container, to ensure the correct combination of revision,\n deployment configuration, and deployment group are referenced during a\n deployment.
\n\n Deployment group: A set of individual\n instances, CodeDeploy\n Lambda deployment configuration settings, or an Amazon ECS\n service and network details. A Lambda deployment group specifies how\n to route traffic to a new version of a Lambda function. An Amazon ECS deployment group specifies the service created in Amazon ECS to deploy, a load balancer, and a listener to reroute production\n traffic to an updated containerized application. An Amazon EC2/On-premises deployment group contains individually tagged instances, Amazon EC2 instances in Amazon EC2 Auto Scaling groups, or both. All\n deployment groups can specify optional trigger, alarm, and rollback\n settings.
\n\n Deployment configuration: A set of deployment\n rules and deployment success and failure conditions used by CodeDeploy during a deployment.
\n\n Deployment: The process and the components used\n when updating a Lambda function, a containerized application in an\n Amazon ECS service, or of installing content on one or more\n instances.
\n\n Application revisions: For an Lambda deployment, this is an AppSpec file that specifies the\n Lambda function to be updated and one or more functions to\n validate deployment lifecycle events. For an Amazon ECS deployment, this\n is an AppSpec file that specifies the Amazon ECS task definition,\n container, and port where production traffic is rerouted. For an EC2/On-premises\n deployment, this is an archive file that contains source content—source code,\n webpages, executable files, and deployment scripts—along with an AppSpec file.\n Revisions are stored in Amazon S3 buckets or GitHub repositories. For\n Amazon S3, a revision is uniquely identified by its Amazon S3 object key and its ETag, version, or both. For GitHub, a revision is uniquely\n identified by its commit ID.
\nThis guide also contains information to help you get details about the instances in\n your deployments, to make on-premises instances available for CodeDeploy\n deployments, to get details about a Lambda function deployment, and to get\n details about Amazon ECS service deployments.
\n\n CodeDeploy Information Resources\n
\n The status of the deployment's waiting period. READY_WAIT
indicates that\n the deployment is ready to start shifting traffic. TERMINATION_WAIT
\n indicates that the traffic is shifted, but the original target is not terminated.\n
Represents the input of a CreateApplication
operation.
Represents the input of a CreateApplication
operation.
Represents the output of a CreateApplication
operation.
Represents the output of a CreateApplication
operation.
The minimum number of healthy instances that should be available at any time during\n the deployment. There are two parameters expected in the input: type and value.
\nThe type parameter takes either of the following values:
\nHOST_COUNT: The value parameter represents the minimum number of healthy\n instances as an absolute value.
\nFLEET_PERCENT: The value parameter represents the minimum number of healthy\n instances as a percentage of the total number of instances in the deployment. If\n you specify FLEET_PERCENT, at the start of the deployment, CodeDeploy converts the percentage to the equivalent number of instances and rounds up\n fractional instances.
\nThe value parameter takes an integer.
\nFor example, to set a minimum of 95% healthy instance, specify a type of FLEET_PERCENT\n and a value of 95.
" + "smithy.api#documentation": "The minimum number of healthy instances that should be available at any time during\n the deployment. There are two parameters expected in the input: type and value.
\nThe type parameter takes either of the following values:
\nHOST_COUNT: The value parameter represents the minimum number of healthy\n instances as an absolute value.
\nFLEET_PERCENT: The value parameter represents the minimum number of healthy\n instances as a percentage of the total number of instances in the deployment. If\n you specify FLEET_PERCENT, at the start of the deployment, CodeDeploy converts the percentage to the equivalent number of instances and rounds up\n fractional instances.
\nThe value parameter takes an integer.
\nFor example, to set a minimum of 95% healthy instance, specify a type of FLEET_PERCENT\n and a value of 95.
" } }, "trafficRoutingConfig": { @@ -2535,7 +2573,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of a CreateDeploymentConfig
operation.
Represents the input of a CreateDeploymentConfig
operation.
Represents the output of a CreateDeploymentConfig
operation.
Represents the output of a CreateDeploymentConfig
operation.
If specified, the deployment configuration name can be either one of the predefined\n configurations provided with CodeDeploy or a custom deployment configuration\n that you create by calling the create deployment configuration operation.
\n\n CodeDeployDefault.OneAtATime
is the default deployment configuration. It\n is used if a configuration isn't specified for the deployment or deployment\n group.
For more information about the predefined deployment configurations in CodeDeploy, see Working with\n Deployment Configurations in CodeDeploy in the CodeDeploy User Guide.
" + "smithy.api#documentation": "If specified, the deployment configuration name can be either one of the predefined\n configurations provided with CodeDeploy or a custom deployment configuration\n that you create by calling the create deployment configuration operation.
\n\n CodeDeployDefault.OneAtATime
is the default deployment configuration. It\n is used if a configuration isn't specified for the deployment or deployment\n group.
For more information about the predefined deployment configurations in CodeDeploy, see Working with\n Deployment Configurations in CodeDeploy in the CodeDeploy User Guide.
" } }, "ec2TagFilters": { @@ -2734,7 +2774,7 @@ "outdatedInstancesStrategy": { "target": "com.amazonaws.codedeploy#OutdatedInstancesStrategy", "traits": { - "smithy.api#documentation": "Indicates what happens when new Amazon EC2 instances are launched\n mid-deployment and do not receive the deployed application revision.
\nIf this option is set to UPDATE
or is unspecified, CodeDeploy initiates\n one or more 'auto-update outdated instances' deployments to apply the deployed\n application revision to the new Amazon EC2 instances.
If this option is set to IGNORE
, CodeDeploy does not initiate a\n deployment to update the new Amazon EC2 instances. This may result in instances\n having different revisions.
Indicates what happens when new Amazon EC2 instances are launched\n mid-deployment and do not receive the deployed application revision.
\nIf this option is set to UPDATE
or is unspecified, CodeDeploy initiates\n one or more 'auto-update outdated instances' deployments to apply the deployed\n application revision to the new Amazon EC2 instances.
If this option is set to IGNORE
, CodeDeploy does not initiate a\n deployment to update the new Amazon EC2 instances. This may result in instances\n having different revisions.
Represents the input of a CreateDeploymentGroup
operation.
Represents the input of a CreateDeploymentGroup
operation.
Represents the output of a CreateDeploymentGroup
operation.
Represents the output of a CreateDeploymentGroup
operation.
The name of a deployment configuration associated with the IAM user or\n Amazon Web Services account.
\nIf not specified, the value configured in the deployment group is used as the default.\n If the deployment group does not have a deployment configuration associated with it,\n CodeDeployDefault
.OneAtATime
is used by default.
The name of a deployment configuration associated with the IAM user or\n Amazon Web Services account.
\nIf not specified, the value configured in the deployment group is used as the default.\n If the deployment group does not have a deployment configuration associated with it,\n CodeDeployDefault
.OneAtATime
is used by default.
If true, then if an ApplicationStop
, BeforeBlockTraffic
, or\n AfterBlockTraffic
deployment lifecycle event to an instance fails, then\n the deployment continues to the next deployment lifecycle event. For example, if\n ApplicationStop
fails, the deployment continues with\n DownloadBundle
. If BeforeBlockTraffic
fails, the\n deployment continues with BlockTraffic
. If AfterBlockTraffic
\n fails, the deployment continues with ApplicationStop
.
If false or not specified, then if a lifecycle event fails during a deployment to an\n instance, that deployment fails. If deployment to that instance is part of an overall\n deployment and the number of healthy hosts is not less than the minimum number of\n healthy hosts, then a deployment to the next instance is attempted.
\n\n During a deployment, the CodeDeploy agent runs the scripts specified for\n ApplicationStop
, BeforeBlockTraffic
, and\n AfterBlockTraffic
in the AppSpec file from the previous successful\n deployment. (All other scripts are run from the AppSpec file in the current deployment.)\n If one of these scripts contains an error and does not run successfully, the deployment\n can fail.
If the cause of the failure is a script from the last successful deployment that will\n never run successfully, create a new deployment and use\n ignoreApplicationStopFailures
to specify that the\n ApplicationStop
, BeforeBlockTraffic
, and\n AfterBlockTraffic
failures should be ignored.
If true, then if an ApplicationStop
, BeforeBlockTraffic
, or\n AfterBlockTraffic
deployment lifecycle event to an instance fails, then\n the deployment continues to the next deployment lifecycle event. For example, if\n ApplicationStop
fails, the deployment continues with\n DownloadBundle
. If BeforeBlockTraffic
fails, the\n deployment continues with BlockTraffic
. If AfterBlockTraffic
\n fails, the deployment continues with ApplicationStop
.
If false or not specified, then if a lifecycle event fails during a deployment to an\n instance, that deployment fails. If deployment to that instance is part of an overall\n deployment and the number of healthy hosts is not less than the minimum number of\n healthy hosts, then a deployment to the next instance is attempted.
\n During a deployment, the CodeDeploy agent runs the scripts specified for\n ApplicationStop
, BeforeBlockTraffic
, and\n AfterBlockTraffic
in the AppSpec file from the previous successful\n deployment. (All other scripts are run from the AppSpec file in the current deployment.)\n If one of these scripts contains an error and does not run successfully, the deployment\n can fail.
If the cause of the failure is a script from the last successful deployment that will\n never run successfully, create a new deployment and use\n ignoreApplicationStopFailures
to specify that the\n ApplicationStop
, BeforeBlockTraffic
, and\n AfterBlockTraffic
failures should be ignored.
Information about how CodeDeploy handles files that already exist in a\n deployment target location but weren't part of the previous successful\n deployment.
\nThe fileExistsBehavior
parameter takes any of the following\n values:
DISALLOW: The deployment fails. This is also the default behavior if no option\n is specified.
\nOVERWRITE: The version of the file from the application revision currently\n being deployed replaces the version already on the instance.
\nRETAIN: The version of the file already on the instance is kept and used as\n part of the new deployment.
\nInformation about how CodeDeploy handles files that already exist in a\n deployment target location but weren't part of the previous successful\n deployment.
\nThe fileExistsBehavior
parameter takes any of the following\n values:
DISALLOW: The deployment fails. This is also the default behavior if no option\n is specified.
\nOVERWRITE: The version of the file from the application revision currently\n being deployed replaces the version already on the instance.
\nRETAIN: The version of the file already on the instance is kept and used as\n part of the new deployment.
\nAllows you to specify information about alarms associated with a deployment. The alarm\n configuration that you specify here will override the alarm configuration at the\n deployment group level. Consider overriding the alarm configuration if you have set up\n alarms at the deployment group level that are causing deployment failures. In this case,\n you would call CreateDeployment
to create a new deployment that uses a\n previous application revision that is known to work, and set its alarm configuration to\n turn off alarm polling. Turning off alarm polling ensures that the new deployment\n proceeds without being blocked by the alarm that was generated by the previous, failed,\n deployment.
If you specify an overrideAlarmConfiguration
, you need the\n UpdateDeploymentGroup
IAM permission when calling\n CreateDeployment
.
Allows you to specify information about alarms associated with a deployment. The alarm\n configuration that you specify here will override the alarm configuration at the\n deployment group level. Consider overriding the alarm configuration if you have set up\n alarms at the deployment group level that are causing deployment failures. In this case,\n you would call CreateDeployment
to create a new deployment that uses a\n previous application revision that is known to work, and set its alarm configuration to\n turn off alarm polling. Turning off alarm polling ensures that the new deployment\n proceeds without being blocked by the alarm that was generated by the previous, failed,\n deployment.
If you specify an overrideAlarmConfiguration
, you need the\n UpdateDeploymentGroup
IAM permission when calling\n CreateDeployment
.
Represents the input of a CreateDeployment
operation.
Represents the input of a CreateDeployment
operation.
Represents the output of a CreateDeployment
operation.
Represents the output of a CreateDeployment
operation.
Represents the input of a DeleteApplication
operation.
Represents the input of a DeleteApplication
operation.
Deletes a deployment configuration.
\nA deployment configuration cannot be deleted if it is currently in use. Predefined\n configurations cannot be deleted.
\nDeletes a deployment configuration.
\nA deployment configuration cannot be deleted if it is currently in use. Predefined\n configurations cannot be deleted.
\nRepresents the input of a DeleteDeploymentConfig
operation.
Represents the input of a DeleteDeploymentConfig
operation.
Represents the input of a DeleteDeploymentGroup
operation.
Represents the input of a DeleteDeploymentGroup
operation.
Represents the output of a DeleteDeploymentGroup
operation.
Represents the output of a DeleteDeploymentGroup
operation.
Represents the input of a DeleteGitHubAccount
operation.
Represents the input of a DeleteGitHubAccount
operation.
Represents the output of a DeleteGitHubAccountToken
operation.
Represents the output of a DeleteGitHubAccountToken
operation.
The unique ID of an external resource (for example, a CloudFormation stack\n ID) that is linked to one or more CodeDeploy resources.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codedeploy#DeleteResourcesByExternalIdOutput": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.codedeploy#DeploymentAlreadyCompletedException": { "type": "structure", @@ -3448,7 +3504,7 @@ "outdatedInstancesStrategy": { "target": "com.amazonaws.codedeploy#OutdatedInstancesStrategy", "traits": { - "smithy.api#documentation": "Indicates what happens when new Amazon EC2 instances are launched\n mid-deployment and do not receive the deployed application revision.
\nIf this option is set to UPDATE
or is unspecified, CodeDeploy initiates\n one or more 'auto-update outdated instances' deployments to apply the deployed\n application revision to the new Amazon EC2 instances.
If this option is set to IGNORE
, CodeDeploy does not initiate a\n deployment to update the new Amazon EC2 instances. This may result in instances\n having different revisions.
Indicates what happens when new Amazon EC2 instances are launched\n mid-deployment and do not receive the deployed application revision.
\nIf this option is set to UPDATE
or is unspecified, CodeDeploy initiates\n one or more 'auto-update outdated instances' deployments to apply the deployed\n application revision to the new Amazon EC2 instances.
If this option is set to IGNORE
, CodeDeploy does not initiate a\n deployment to update the new Amazon EC2 instances. This may result in instances\n having different revisions.
A timestamp that indicates when the deployment was deployed to the deployment\n group.
\nIn some cases, the reported value of the start time might be later than the complete\n time. This is due to differences in the clock settings of backend servers that\n participate in the deployment process.
" + "smithy.api#documentation": "A timestamp that indicates when the deployment was deployed to the deployment\n group.
\nIn some cases, the reported value of the start time might be later than the complete\n time. This is due to differences in the clock settings of backend servers that\n participate in the deployment process.
" } }, "completeTime": { @@ -3657,14 +3713,14 @@ "creator": { "target": "com.amazonaws.codedeploy#DeploymentCreator", "traits": { - "smithy.api#documentation": "The means by which the deployment was created:
\n\n user
: A user created the deployment.
\n autoscaling
: Amazon EC2 Auto Scaling created the deployment.
\n codeDeployRollback
: A rollback process created the\n deployment.
\n CodeDeployAutoUpdate
: An auto-update process created the\n deployment when it detected outdated Amazon EC2 instances.
The means by which the deployment was created:
\n\n user
: A user created the deployment.
\n autoscaling
: Amazon EC2 Auto Scaling created the deployment.
\n codeDeployRollback
: A rollback process created the\n deployment.
\n CodeDeployAutoUpdate
: An auto-update process created the\n deployment when it detected outdated Amazon EC2 instances.
If true, then if an ApplicationStop
, BeforeBlockTraffic
, or\n AfterBlockTraffic
deployment lifecycle event to an instance fails, then\n the deployment continues to the next deployment lifecycle event. For example, if\n ApplicationStop
fails, the deployment continues with DownloadBundle. If\n BeforeBlockTraffic
fails, the deployment continues with\n BlockTraffic
. If AfterBlockTraffic
fails, the deployment\n continues with ApplicationStop
.
If false or not specified, then if a lifecycle event fails during a deployment to an\n instance, that deployment fails. If deployment to that instance is part of an overall\n deployment and the number of healthy hosts is not less than the minimum number of\n healthy hosts, then a deployment to the next instance is attempted.
\n\n During a deployment, the CodeDeploy agent runs the scripts specified for\n ApplicationStop
, BeforeBlockTraffic
, and\n AfterBlockTraffic
in the AppSpec file from the previous successful\n deployment. (All other scripts are run from the AppSpec file in the current deployment.)\n If one of these scripts contains an error and does not run successfully, the deployment\n can fail.
If the cause of the failure is a script from the last successful deployment that will\n never run successfully, create a new deployment and use\n ignoreApplicationStopFailures
to specify that the\n ApplicationStop
, BeforeBlockTraffic
, and\n AfterBlockTraffic
failures should be ignored.
If true, then if an ApplicationStop
, BeforeBlockTraffic
, or\n AfterBlockTraffic
deployment lifecycle event to an instance fails, then\n the deployment continues to the next deployment lifecycle event. For example, if\n ApplicationStop
fails, the deployment continues with DownloadBundle. If\n BeforeBlockTraffic
fails, the deployment continues with\n BlockTraffic
. If AfterBlockTraffic
fails, the deployment\n continues with ApplicationStop
.
If false or not specified, then if a lifecycle event fails during a deployment to an\n instance, that deployment fails. If deployment to that instance is part of an overall\n deployment and the number of healthy hosts is not less than the minimum number of\n healthy hosts, then a deployment to the next instance is attempted.
\n During a deployment, the CodeDeploy agent runs the scripts specified for\n ApplicationStop
, BeforeBlockTraffic
, and\n AfterBlockTraffic
in the AppSpec file from the previous successful\n deployment. (All other scripts are run from the AppSpec file in the current deployment.)\n If one of these scripts contains an error and does not run successfully, the deployment\n can fail.
If the cause of the failure is a script from the last successful deployment that will\n never run successfully, create a new deployment and use\n ignoreApplicationStopFailures
to specify that the\n ApplicationStop
, BeforeBlockTraffic
, and\n AfterBlockTraffic
failures should be ignored.
Information about how CodeDeploy handles files that already exist in a\n deployment target location but weren't part of the previous successful\n deployment.
\n\n DISALLOW
: The deployment fails. This is also the default behavior\n if no option is specified.
\n OVERWRITE
: The version of the file from the application revision\n currently being deployed replaces the version already on the instance.
\n RETAIN
: The version of the file already on the instance is kept\n and used as part of the new deployment.
Information about how CodeDeploy handles files that already exist in a\n deployment target location but weren't part of the previous successful\n deployment.
\n\n DISALLOW
: The deployment fails. This is also the default behavior\n if no option is specified.
\n OVERWRITE
: The version of the file from the application revision\n currently being deployed replaces the version already on the instance.
\n RETAIN
: The version of the file already on the instance is kept\n and used as part of the new deployment.
Information about when to reroute traffic from an original environment to a\n replacement environment in a blue/green deployment.
\nCONTINUE_DEPLOYMENT: Register new instances with the load balancer immediately\n after the new application revision is installed on the instances in the\n replacement environment.
\nSTOP_DEPLOYMENT: Do not register new instances with a load balancer unless\n traffic rerouting is started using ContinueDeployment. If\n traffic rerouting is not started before the end of the specified wait period,\n the deployment status is changed to Stopped.
\nInformation about when to reroute traffic from an original environment to a\n replacement environment in a blue/green deployment.
\nCONTINUE_DEPLOYMENT: Register new instances with the load balancer immediately\n after the new application revision is installed on the instances in the\n replacement environment.
\nSTOP_DEPLOYMENT: Do not register new instances with a load balancer unless\n traffic rerouting is started using ContinueDeployment. If\n traffic rerouting is not started before the end of the specified wait period,\n the deployment status is changed to Stopped.
\nRepresents the input of a DeregisterOnPremisesInstance
operation.
Represents the input of a DeregisterOnPremisesInstance
operation.
The associated error code:
\nSuccess: The specified script ran.
\nScriptMissing: The specified script was not found in the specified\n location.
\nScriptNotExecutable: The specified script is not a recognized executable file\n type.
\nScriptTimedOut: The specified script did not finish running in the specified\n time period.
\nScriptFailed: The specified script failed to run as expected.
\nUnknownError: The specified script did not run for an unknown reason.
\nThe associated error code:
\nSuccess: The specified script ran.
\nScriptMissing: The specified script was not found in the specified\n location.
\nScriptNotExecutable: The specified script is not a recognized executable file\n type.
\nScriptTimedOut: The specified script did not finish running in the specified\n time period.
\nScriptFailed: The specified script failed to run as expected.
\nUnknownError: The specified script did not run for an unknown reason.
\nThe last portion of the diagnostic log.
\nIf available, CodeDeploy returns up to the last 4 KB of the diagnostic\n log.
" + "smithy.api#documentation": "The last portion of the diagnostic log.
\nIf available, CodeDeploy returns up to the last 4 KB of the diagnostic\n log.
" } } }, @@ -4263,7 +4320,7 @@ "Type": { "target": "com.amazonaws.codedeploy#EC2TagFilterType", "traits": { - "smithy.api#documentation": "The tag filter type:
\n\n KEY_ONLY
: Key only.
\n VALUE_ONLY
: Value only.
\n KEY_AND_VALUE
: Key and value.
The tag filter type:
\n\n KEY_ONLY
: Key only.
\n VALUE_ONLY
: Value only.
\n KEY_AND_VALUE
: Key and value.
The status of the task set. There are three valid task set statuses:
\n\n PRIMARY
: Indicates the task set is serving production traffic.\n
\n ACTIVE
: Indicates the task set is not serving production traffic.\n
\n DRAINING
: Indicates the tasks in the task set are being stopped and\n their corresponding targets are being deregistered from their target group.\n
The status of the task set. There are three valid task set statuses:
\n\n PRIMARY
: Indicates the task set is serving production traffic.\n
\n ACTIVE
: Indicates the task set is not serving production traffic.\n
\n DRAINING
: Indicates the tasks in the task set are being stopped and\n their corresponding targets are being deregistered from their target group.\n
For more information, see Error Codes for CodeDeploy in the CodeDeploy User Guide.
\nThe error code:
\nAPPLICATION_MISSING: The application was missing. This error code is most\n likely raised if the application is deleted after the deployment is created, but\n before it is started.
\nDEPLOYMENT_GROUP_MISSING: The deployment group was missing. This error code is\n most likely raised if the deployment group is deleted after the deployment is\n created, but before it is started.
\nHEALTH_CONSTRAINTS: The deployment failed on too many instances to be\n successfully deployed within the instance health constraints specified.
\nHEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully deployed\n within the instance health constraints specified.
\nIAM_ROLE_MISSING: The service role cannot be accessed.
\nIAM_ROLE_PERMISSIONS: The service role does not have the\n correct permissions.
\nINTERNAL_ERROR: There was an internal error.
\nNO_EC2_SUBSCRIPTION: The calling account is not subscribed to Amazon EC2.
\nNO_INSTANCES: No instances were specified, or no instances can be\n found.
\nOVER_MAX_INSTANCES: The maximum number of instances was exceeded.
\nTHROTTLED: The operation was throttled because the calling account exceeded\n the throttling limits of one or more Amazon Web Services services.
\nTIMEOUT: The deployment has timed out.
\nREVISION_MISSING: The revision ID was missing. This error code is most likely\n raised if the revision is deleted after the deployment is created, but before it\n is started.
\nFor more information, see Error Codes for CodeDeploy in the CodeDeploy User Guide.
\nThe error code:
\nAPPLICATION_MISSING: The application was missing. This error code is most\n likely raised if the application is deleted after the deployment is created, but\n before it is started.
\nDEPLOYMENT_GROUP_MISSING: The deployment group was missing. This error code is\n most likely raised if the deployment group is deleted after the deployment is\n created, but before it is started.
\nHEALTH_CONSTRAINTS: The deployment failed on too many instances to be\n successfully deployed within the instance health constraints specified.
\nHEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully deployed\n within the instance health constraints specified.
\nIAM_ROLE_MISSING: The service role cannot be accessed.
\nIAM_ROLE_PERMISSIONS: The service role does not have the\n correct permissions.
\nINTERNAL_ERROR: There was an internal error.
\nNO_EC2_SUBSCRIPTION: The calling account is not subscribed to Amazon EC2.
\nNO_INSTANCES: No instances were specified, or no instances can be\n found.
\nOVER_MAX_INSTANCES: The maximum number of instances was exceeded.
\nTHROTTLED: The operation was throttled because the calling account exceeded\n the throttling limits of one or more Amazon Web Services services.
\nTIMEOUT: The deployment has timed out.
\nREVISION_MISSING: The revision ID was missing. This error code is most likely\n raised if the revision is deleted after the deployment is created, but before it\n is started.
\nRepresents the input of a GetApplication
operation.
Represents the input of a GetApplication
operation.
Represents the output of a GetApplication
operation.
Represents the output of a GetApplication
operation.
Represents the input of a GetApplicationRevision
operation.
Represents the input of a GetApplicationRevision
operation.
Represents the output of a GetApplicationRevision
operation.
Represents the output of a GetApplicationRevision
operation.
Gets information about a deployment.
\n The content
property of the appSpecContent
object in\n the returned revision is always null. Use GetApplicationRevision
and\n the sha256
property of the returned appSpecContent
object\n to get the content of the deployment’s AppSpec file.
Gets information about a deployment.
\n The content
property of the appSpecContent
object in\n the returned revision is always null. Use GetApplicationRevision
and\n the sha256
property of the returned appSpecContent
object\n to get the content of the deployment’s AppSpec file.
Represents the input of a GetDeploymentConfig
operation.
Represents the input of a GetDeploymentConfig
operation.
Represents the output of a GetDeploymentConfig
operation.
Represents the output of a GetDeploymentConfig
operation.
Represents the input of a GetDeploymentGroup
operation.
Represents the input of a GetDeploymentGroup
operation.
Represents the output of a GetDeploymentGroup
operation.
Represents the output of a GetDeploymentGroup
operation.
Represents the input of a GetDeployment
operation.
Represents the input of a GetDeployment
operation.
Represents the input of a GetDeploymentInstance
operation.
Represents the input of a GetDeploymentInstance
operation.
Represents the output of a GetDeploymentInstance
operation.
Represents the output of a GetDeploymentInstance
operation.
Represents the output of a GetDeployment
operation.
Represents the output of a GetDeployment
operation.
The unique ID of a deployment target.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codedeploy#GetDeploymentTargetOutput": { @@ -5311,6 +5383,9 @@ "smithy.api#documentation": " A deployment target that contains information about a deployment such as its status,\n lifecycle events, and when it was last updated. It also contains metadata about the\n deployment target. The deployment target metadata depends on the deployment target's\n type (instanceTarget
, lambdaTarget
, or\n ecsTarget
).
Represents the input of a GetOnPremisesInstance
operation.
Represents the input of a GetOnPremisesInstance
operation.
Represents the output of a GetOnPremisesInstance
operation.
Represents the output of a GetOnPremisesInstance
operation.
The GitHub account and repository pair that stores a reference to the commit that\n represents the bundled artifacts for the application revision.
\nSpecified as account/repository.
" + "smithy.api#documentation": "The GitHub account and repository pair that stores a reference to the commit that\n represents the bundled artifacts for the application revision.
\nSpecified as account/repository.
" } }, "commitId": { @@ -5447,7 +5524,7 @@ "action": { "target": "com.amazonaws.codedeploy#GreenFleetProvisioningAction", "traits": { - "smithy.api#documentation": "The method used to add instances to a replacement environment.
\n\n DISCOVER_EXISTING
: Use instances that already exist or will be\n created manually.
\n COPY_AUTO_SCALING_GROUP
: Use settings from a specified Auto Scaling group to define and create instances in a new Auto Scaling\n group.
The method used to add instances to a replacement environment.
\n\n DISCOVER_EXISTING
: Use instances that already exist or will be\n created manually.
\n COPY_AUTO_SCALING_GROUP
: Use settings from a specified Auto Scaling group to define and create instances in a new Auto Scaling\n group.
The deployment status for this instance:
\n\n Pending
: The deployment is pending for this instance.
\n In Progress
: The deployment is in progress for this\n instance.
\n Succeeded
: The deployment has succeeded for this instance.
\n Failed
: The deployment has failed for this instance.
\n Skipped
: The deployment has been skipped for this\n instance.
\n Unknown
: The deployment status is unknown for this\n instance.
The deployment status for this instance:
\n\n Pending
: The deployment is pending for this instance.
\n In Progress
: The deployment is in progress for this\n instance.
\n Succeeded
: The deployment has succeeded for this instance.
\n Failed
: The deployment has failed for this instance.
\n Skipped
: The deployment has been skipped for this\n instance.
\n Unknown
: The deployment status is unknown for this\n instance.
Information about which environment an instance belongs to in a blue/green\n deployment.
\nBLUE: The instance is part of the original environment.
\nGREEN: The instance is part of the replacement environment.
\nInformation about which environment an instance belongs to in a blue/green\n deployment.
\nBLUE: The instance is part of the original environment.
\nGREEN: The instance is part of the replacement environment.
\nThe format of the alarm configuration is invalid. Possible causes include:
\nThe alarm list is null.
\nThe alarm object is null.
\nThe alarm name is empty or null or exceeds the limit of 255 characters.
\nTwo alarms with the same name have been specified.
\nThe alarm configuration is enabled, but the alarm list is empty.
\nThe format of the alarm configuration is invalid. Possible causes include:
\nThe alarm list is null.
\nThe alarm object is null.
\nThe alarm name is empty or null or exceeds the limit of 255 characters.
\nTwo alarms with the same name have been specified.
\nThe alarm configuration is enabled, but the alarm list is empty.
\nThe target instance configuration is invalid. Possible causes include:
\nConfiguration data for target instances was entered for an in-place\n deployment.
\nThe limit of 10 tags for a tag type was exceeded.
\nThe combined length of the tag names exceeded the limit.
\nA specified tag is not currently applied to any instances.
\nThe target instance configuration is invalid. Possible causes include:
\nConfiguration data for target instances was entered for an in-place\n deployment.
\nThe limit of 10 tags for a tag type was exceeded.
\nThe combined length of the tag names exceeded the limit.
\nA specified tag is not currently applied to any instances.
\nThe deployment lifecycle event status:
\nPending: The deployment lifecycle event is pending.
\nInProgress: The deployment lifecycle event is in progress.
\nSucceeded: The deployment lifecycle event ran successfully.
\nFailed: The deployment lifecycle event has failed.
\nSkipped: The deployment lifecycle event has been skipped.
\nUnknown: The deployment lifecycle event is unknown.
\nThe deployment lifecycle event status:
\nPending: The deployment lifecycle event is pending.
\nInProgress: The deployment lifecycle event is in progress.
\nSucceeded: The deployment lifecycle event ran successfully.
\nFailed: The deployment lifecycle event has failed.
\nSkipped: The deployment lifecycle event has been skipped.
\nUnknown: The deployment lifecycle event is unknown.
\nThe column name to use to sort the list results:
\n\n registerTime
: Sort by the time the revisions were registered with\n CodeDeploy.
\n firstUsedTime
: Sort by the time the revisions were first used in\n a deployment.
\n lastUsedTime
: Sort by the time the revisions were last used in a\n deployment.
If not specified or set to null, the results are returned in an arbitrary order.\n
" + "smithy.api#documentation": "The column name to use to sort the list results:
\n\n registerTime
: Sort by the time the revisions were registered with\n CodeDeploy.
\n firstUsedTime
: Sort by the time the revisions were first used in\n a deployment.
\n lastUsedTime
: Sort by the time the revisions were last used in a\n deployment.
If not specified or set to null, the results are returned in an arbitrary order.\n
" } }, "sortOrder": { "target": "com.amazonaws.codedeploy#SortOrder", "traits": { - "smithy.api#documentation": "The order in which to sort the list results:
\n\n ascending
: ascending order.
\n descending
: descending order.
If not specified, the results are sorted in ascending order.
\nIf set to null, the results are sorted in an arbitrary order.
" + "smithy.api#documentation": "The order in which to sort the list results:
\n\n ascending
: ascending order.
\n descending
: descending order.
If not specified, the results are sorted in ascending order.
\nIf set to null, the results are sorted in an arbitrary order.
" } }, "s3Bucket": { "target": "com.amazonaws.codedeploy#S3Bucket", "traits": { - "smithy.api#documentation": "An Amazon S3 bucket name to limit the search for revisions.
\nIf set to null, all of the user's buckets are searched.
" + "smithy.api#documentation": "An Amazon S3 bucket name to limit the search for revisions.
\nIf set to null, all of the user's buckets are searched.
" } }, "s3KeyPrefix": { @@ -7092,7 +7169,7 @@ "deployed": { "target": "com.amazonaws.codedeploy#ListStateFilterAction", "traits": { - "smithy.api#documentation": "Whether to list revisions based on whether the revision is the target revision of a\n deployment group:
\n\n include
: List revisions that are target revisions of a deployment\n group.
\n exclude
: Do not list revisions that are target revisions of a\n deployment group.
\n ignore
: List all revisions.
Whether to list revisions based on whether the revision is the target revision of a\n deployment group:
\n\n include
: List revisions that are target revisions of a deployment\n group.
\n exclude
: Do not list revisions that are target revisions of a\n deployment group.
\n ignore
: List all revisions.
Represents the input of a ListApplicationRevisions
operation.
Represents the input of a ListApplicationRevisions
operation.
Represents the output of a ListApplicationRevisions
operation.
Represents the output of a ListApplicationRevisions
operation.
Represents the input of a ListApplications
operation.
Represents the input of a ListApplications
operation.
Represents the output of a ListApplications operation.
" + "smithy.api#documentation": "Represents the output of a ListApplications operation.
", + "smithy.api#output": {} } }, "com.amazonaws.codedeploy#ListDeploymentConfigs": { @@ -7215,7 +7296,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of a ListDeploymentConfigs
operation.
Represents the input of a ListDeploymentConfigs
operation.
Represents the output of a ListDeploymentConfigs
operation.
Represents the output of a ListDeploymentConfigs
operation.
Represents the input of a ListDeploymentGroups
operation.
Represents the input of a ListDeploymentGroups
operation.
Represents the output of a ListDeploymentGroups
operation.
Represents the output of a ListDeploymentGroups
operation.
The newer BatchGetDeploymentTargets
should be used instead because\n it works with all compute types. ListDeploymentInstances
throws an\n exception if it is used with a compute platform other than EC2/On-premises or\n Lambda.
Lists the instance for a deployment associated with the IAM user or\n Amazon Web Services account.
", + "smithy.api#documentation": " The newer BatchGetDeploymentTargets
should be used instead because\n it works with all compute types. ListDeploymentInstances
throws an\n exception if it is used with a compute platform other than EC2/On-premises or\n Lambda.
Lists the instance for a deployment associated with the IAM user or\n Amazon Web Services account.
", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -7387,7 +7472,7 @@ "instanceStatusFilter": { "target": "com.amazonaws.codedeploy#InstanceStatusList", "traits": { - "smithy.api#documentation": "A subset of instances to list by status:
\n\n Pending
: Include those instances with pending deployments.
\n InProgress
: Include those instances where deployments are still\n in progress.
\n Succeeded
: Include those instances with successful\n deployments.
\n Failed
: Include those instances with failed deployments.
\n Skipped
: Include those instances with skipped deployments.
\n Unknown
: Include those instances with deployments in an unknown\n state.
A subset of instances to list by status:
\n\n Pending
: Include those instances with pending deployments.
\n InProgress
: Include those instances where deployments are still\n in progress.
\n Succeeded
: Include those instances with successful\n deployments.
\n Failed
: Include those instances with failed deployments.
\n Skipped
: Include those instances with skipped deployments.
\n Unknown
: Include those instances with deployments in an unknown\n state.
Represents the input of a ListDeploymentInstances
operation.
Represents the input of a ListDeploymentInstances
operation.
Represents the output of a ListDeploymentInstances
operation.
Represents the output of a ListDeploymentInstances
operation.
A key used to filter the returned targets. The two valid values are:
\n\n TargetStatus
- A TargetStatus
filter string can be\n Failed
, InProgress
, Pending
,\n Ready
, Skipped
, Succeeded
, or\n Unknown
.
\n ServerInstanceLabel
- A ServerInstanceLabel
filter\n string can be Blue
or Green
.
A key used to filter the returned targets. The two valid values are:
\n\n TargetStatus
- A TargetStatus
filter string can be\n Failed
, InProgress
, Pending
,\n Ready
, Skipped
, Succeeded
, or\n Unknown
.
\n ServerInstanceLabel
- A ServerInstanceLabel
filter\n string can be Blue
or Green
.
If a large amount of information is returned, a token identifier is also returned. It\n can be used in a subsequent ListDeploymentTargets
call to return the next\n set of deployment targets in the list.
The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
\nIf applicationName
is specified, then\n deploymentGroupName
must be specified. If it is not specified, then\n deploymentGroupName
must not be specified.
The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
\nIf applicationName
is specified, then\n deploymentGroupName
must be specified. If it is not specified, then\n deploymentGroupName
must not be specified.
The name of a deployment group for the specified application.
\nIf deploymentGroupName
is specified, then\n applicationName
must be specified. If it is not specified, then\n applicationName
must not be specified.
The name of a deployment group for the specified application.
\nIf deploymentGroupName
is specified, then\n applicationName
must be specified. If it is not specified, then\n applicationName
must not be specified.
A subset of deployments to list by status:
\n\n Created
: Include created deployments in the resulting\n list.
\n Queued
: Include queued deployments in the resulting list.
\n In Progress
: Include in-progress deployments in the resulting\n list.
\n Succeeded
: Include successful deployments in the resulting\n list.
\n Failed
: Include failed deployments in the resulting list.
\n Stopped
: Include stopped deployments in the resulting\n list.
A subset of deployments to list by status:
\n\n Created
: Include created deployments in the resulting\n list.
\n Queued
: Include queued deployments in the resulting list.
\n In Progress
: Include in-progress deployments in the resulting\n list.
\n Succeeded
: Include successful deployments in the resulting\n list.
\n Failed
: Include failed deployments in the resulting list.
\n Stopped
: Include stopped deployments in the resulting\n list.
Represents the input of a ListDeployments
operation.
Represents the input of a ListDeployments
operation.
Represents the output of a ListDeployments
operation.
Represents the output of a ListDeployments
operation.
Represents the input of a ListGitHubAccountTokenNames
operation.
Represents the input of a ListGitHubAccountTokenNames
operation.
Represents the output of a ListGitHubAccountTokenNames
operation.
Represents the output of a ListGitHubAccountTokenNames
operation.
Gets a list of names for one or more on-premises instances.
\nUnless otherwise specified, both registered and deregistered on-premises instance\n names are listed. To list only registered or deregistered on-premises instance names,\n use the registration status parameter.
" + "smithy.api#documentation": "Gets a list of names for one or more on-premises instances.
\nUnless otherwise specified, both registered and deregistered on-premises instance\n names are listed. To list only registered or deregistered on-premises instance names,\n use the registration status parameter.
" } }, "com.amazonaws.codedeploy#ListOnPremisesInstancesInput": { @@ -7701,7 +7798,7 @@ "registrationStatus": { "target": "com.amazonaws.codedeploy#RegistrationStatus", "traits": { - "smithy.api#documentation": "The registration status of the on-premises instances:
\n\n Deregistered
: Include deregistered on-premises instances in the\n resulting list.
\n Registered
: Include registered on-premises instances in the\n resulting list.
The registration status of the on-premises instances:
\n\n Deregistered
: Include deregistered on-premises instances in the\n resulting list.
\n Registered
: Include registered on-premises instances in the\n resulting list.
Represents the input of a ListOnPremisesInstances
operation.
Represents the input of a ListOnPremisesInstances
operation.
Represents the output of the list on-premises instances operation.
" + "smithy.api#documentation": "Represents the output of the list on-premises instances operation.
", + "smithy.api#output": {} } }, "com.amazonaws.codedeploy#ListStateFilterAction": { @@ -7803,6 +7902,9 @@ "smithy.api#documentation": "An identifier returned from the previous ListTagsForResource
call. It can\n be used to return the next set of applications in the list.
If a large amount of information is returned, an identifier is also returned. It can\n be used in a subsequent list application revisions call to return the next set of\n application revisions in the list.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codedeploy#ListenerArn": { @@ -7837,13 +7942,13 @@ "elbInfoList": { "target": "com.amazonaws.codedeploy#ELBInfoList", "traits": { - "smithy.api#documentation": "An array that contains information about the load balancer to use for load balancing\n in a deployment. In Elastic Load Balancing, load balancers are used with Classic Load\n Balancers.
\nAdding more than one load balancer to the array is not supported.
\nAn array that contains information about the load balancer to use for load balancing\n in a deployment. In Elastic Load Balancing, load balancers are used with Classic Load\n Balancers.
\nAdding more than one load balancer to the array is not supported.
\nAn array that contains information about the target group to use for load balancing in\n a deployment. In Elastic Load Balancing, target groups are used with Application Load\n Balancers.
\nAdding more than one target group to the array is not supported.
\nAn array that contains information about the target group to use for load balancing in\n a deployment. In Elastic Load Balancing, target groups are used with Application Load\n Balancers.
\nAdding more than one target group to the array is not supported.
\nThe minimum healthy instance type:
\n\n HOST_COUNT
: The minimum number of healthy instances as an\n absolute value.
\n FLEET_PERCENT
: The minimum number of healthy instances as a\n percentage of the total number of instances in the deployment.
In an example of nine instances, if a HOST_COUNT of six is specified, deploy to up to\n three instances at a time. The deployment is successful if six or more instances are\n deployed to successfully. Otherwise, the deployment fails. If a FLEET_PERCENT of 40 is\n specified, deploy to up to five instances at a time. The deployment is successful if\n four or more instances are deployed to successfully. Otherwise, the deployment\n fails.
\nIn a call to the GetDeploymentConfig
, CodeDeployDefault.OneAtATime\n returns a minimum healthy instance type of MOST_CONCURRENCY and a value of 1. This\n means a deployment to only one instance at a time. (You cannot set the type to\n MOST_CONCURRENCY, only to HOST_COUNT or FLEET_PERCENT.) In addition, with\n CodeDeployDefault.OneAtATime, CodeDeploy attempts to ensure that all\n instances but one are kept in a healthy state during the deployment. Although this\n allows one instance at a time to be taken offline for a new deployment, it also\n means that if the deployment to the last instance fails, the overall deployment is\n still successful.
For more information, see CodeDeploy\n Instance Health in the CodeDeploy User\n Guide.
" + "smithy.api#documentation": "The minimum healthy instance type:
\n\n HOST_COUNT
: The minimum number of healthy instances as an\n absolute value.
\n FLEET_PERCENT
: The minimum number of healthy instances as a\n percentage of the total number of instances in the deployment.
In an example of nine instances, if a HOST_COUNT of six is specified, deploy to up to\n three instances at a time. The deployment is successful if six or more instances are\n deployed to successfully. Otherwise, the deployment fails. If a FLEET_PERCENT of 40 is\n specified, deploy to up to five instances at a time. The deployment is successful if\n four or more instances are deployed to successfully. Otherwise, the deployment\n fails.
\nIn a call to the GetDeploymentConfig
, CodeDeployDefault.OneAtATime\n returns a minimum healthy instance type of MOST_CONCURRENCY and a value of 1. This\n means a deployment to only one instance at a time. (You cannot set the type to\n MOST_CONCURRENCY, only to HOST_COUNT or FLEET_PERCENT.) In addition, with\n CodeDeployDefault.OneAtATime, CodeDeploy attempts to ensure that all\n instances but one are kept in a healthy state during the deployment. Although this\n allows one instance at a time to be taken offline for a new deployment, it also\n means that if the deployment to the last instance fails, the overall deployment is\n still successful.
For more information, see CodeDeploy\n Instance Health in the CodeDeploy User\n Guide.
" } }, "value": { @@ -8042,6 +8147,9 @@ "smithy.api#documentation": "The result of a Lambda function that validates a deployment lifecycle\n event. The values listed in Valid Values are valid for\n lifecycle statuses in general; however, only Succeeded
and\n Failed
can be passed successfully in your API call.
The execution ID of the lifecycle event hook. A hook is specified in the\n hooks
section of the deployment's AppSpec file.
Represents the input of a RegisterApplicationRevision operation.
" + "smithy.api#documentation": "Represents the input of a RegisterApplicationRevision operation.
", + "smithy.api#input": {} } }, "com.amazonaws.codedeploy#RegisterOnPremisesInstance": { @@ -8185,7 +8297,7 @@ } ], "traits": { - "smithy.api#documentation": "Registers an on-premises instance.
\nOnly one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request. You cannot use both.
\nRegisters an on-premises instance.
\nOnly one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request. You cannot use both.
\nRepresents the input of the register on-premises instance operation.
" + "smithy.api#documentation": "Represents the input of the register on-premises instance operation.
", + "smithy.api#input": {} } }, "com.amazonaws.codedeploy#RegistrationStatus": { @@ -8306,7 +8419,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of a RemoveTagsFromOnPremisesInstances
\n operation.
Represents the input of a RemoveTagsFromOnPremisesInstances
\n operation.
The type of application revision:
\nS3: An application revision stored in Amazon S3.
\nGitHub: An application revision stored in GitHub (EC2/On-premises deployments\n only).
\nString: A YAML-formatted or JSON-formatted string (Lambda\n deployments only).
\nAppSpecContent: An AppSpecContent
object that contains the\n contents of an AppSpec file for an Lambda or Amazon ECS\n deployment. The content is formatted as JSON or YAML stored as a\n RawString.
The type of application revision:
\nS3: An application revision stored in Amazon S3.
\nGitHub: An application revision stored in GitHub (EC2/On-premises deployments\n only).
\nString: A YAML-formatted or JSON-formatted string (Lambda\n deployments only).
\nAppSpecContent: An AppSpecContent
object that contains the\n contents of an AppSpec file for an Lambda or Amazon ECS\n deployment. The content is formatted as JSON or YAML stored as a\n RawString.
The file type of the application revision. Must be one of the following:
\n\n tar
: A tar archive file.
\n tgz
: A compressed tar archive file.
\n zip
: A zip archive file.
The file type of the application revision. Must be one of the following:
\n\n tar
: A tar archive file.
\n tgz
: A compressed tar archive file.
\n zip
: A zip archive file.
A specific version of the Amazon S3 object that represents the bundled\n artifacts for the application revision.
\nIf the version is not specified, the system uses the most recent version by\n default.
" + "smithy.api#documentation": "A specific version of the Amazon S3 object that represents the bundled\n artifacts for the application revision.
\nIf the version is not specified, the system uses the most recent version by\n default.
" } }, "eTag": { "target": "com.amazonaws.codedeploy#ETag", "traits": { - "smithy.api#documentation": "The ETag of the Amazon S3 object that represents the bundled artifacts for the\n application revision.
\nIf the ETag is not specified as an input parameter, ETag validation of the object is\n skipped.
" + "smithy.api#documentation": "The ETag of the Amazon S3 object that represents the bundled artifacts for the\n application revision.
\nIf the ETag is not specified as an input parameter, ETag validation of the object is\n skipped.
" } } }, @@ -8606,6 +8720,9 @@ "smithy.api#documentation": "The unique ID of a blue/green deployment for which you want to skip the instance\n termination wait time.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codedeploy#SortOrder": { @@ -8675,7 +8792,8 @@ } }, "traits": { - "smithy.api#documentation": " Represents the input of a StopDeployment
operation.
Represents the input of a StopDeployment
operation.
The status of the stop deployment operation:
\nPending: The stop operation is pending.
\nSucceeded: The stop operation was successful.
\nThe status of the stop deployment operation:
\nPending: The stop operation is pending.
\nSucceeded: The stop operation was successful.
\n Represents the output of a StopDeployment
operation.
Represents the output of a StopDeployment
operation.
The on-premises instance tag filter type:
\nKEY_ONLY: Key only.
\nVALUE_ONLY: Value only.
\nKEY_AND_VALUE: Key and value.
\nThe on-premises instance tag filter type:
\nKEY_ONLY: Key only.
\nVALUE_ONLY: Value only.
\nKEY_AND_VALUE: Key and value.
\nThe start time of the time range.
\nSpecify null to leave the start time open-ended.
\nThe start time of the time range.
\nSpecify null to leave the start time open-ended.
\nThe end time of the time range.
\nSpecify null to leave the end time open-ended.
\nThe end time of the time range.
\nSpecify null to leave the end time open-ended.
\nRepresents the input of an UpdateApplication
operation.
Represents the input of an UpdateApplication
operation.
The replacement list of Auto Scaling groups to be included in the deployment\n group, if you want to change them.
\nTo keep the Auto Scaling groups, enter their names or do not specify this\n parameter.
\nTo remove Auto Scaling groups, specify a non-null empty list of Auto Scaling group names to detach all CodeDeploy-managed Auto Scaling lifecycle hooks. For examples, see Amazon EC2 instances in an Amazon EC2 Auto Scaling group fail to\n launch and receive the error \"Heartbeat Timeout\" in the\n CodeDeploy User Guide.
\nThe replacement list of Auto Scaling groups to be included in the deployment\n group, if you want to change them.
\nTo keep the Auto Scaling groups, enter their names or do not specify this\n parameter.
\nTo remove Auto Scaling groups, specify a non-null empty list of Auto Scaling group names to detach all CodeDeploy-managed Auto Scaling lifecycle hooks. For examples, see Amazon EC2 instances in an Amazon EC2 Auto Scaling group fail to\n launch and receive the error \"Heartbeat Timeout\" in the\n CodeDeploy User Guide.
\nIndicates what happens when new Amazon EC2 instances are launched\n mid-deployment and do not receive the deployed application revision.
\nIf this option is set to UPDATE
or is unspecified, CodeDeploy initiates\n one or more 'auto-update outdated instances' deployments to apply the deployed\n application revision to the new Amazon EC2 instances.
If this option is set to IGNORE
, CodeDeploy does not initiate a\n deployment to update the new Amazon EC2 instances. This may result in instances\n having different revisions.
Indicates what happens when new Amazon EC2 instances are launched\n mid-deployment and do not receive the deployed application revision.
\nIf this option is set to UPDATE
or is unspecified, CodeDeploy initiates\n one or more 'auto-update outdated instances' deployments to apply the deployed\n application revision to the new Amazon EC2 instances.
If this option is set to IGNORE
, CodeDeploy does not initiate a\n deployment to update the new Amazon EC2 instances. This may result in instances\n having different revisions.
Represents the input of an UpdateDeploymentGroup
operation.
Represents the input of an UpdateDeploymentGroup
operation.
Represents the output of an UpdateDeploymentGroup
operation.
Represents the output of an UpdateDeploymentGroup
operation.
This section provides documentation for the Amazon CodeGuru Reviewer API operations. CodeGuru Reviewer is a\n service that uses program analysis and machine learning to detect potential defects that\n are difficult for developers to find and recommends fixes in your Java and Python\n code.
\n\nBy proactively detecting and providing recommendations for addressing code defects and\n implementing best practices, CodeGuru Reviewer improves the overall quality and maintainability of\n your code base during the code review stage. For more information about CodeGuru Reviewer, see the\n \n Amazon CodeGuru Reviewer User Guide.\n
\n\nTo improve the security of your CodeGuru Reviewer API calls, you can establish a private connection\n between your VPC and CodeGuru Reviewer by creating an interface VPC endpoint. For\n more information, see CodeGuru Reviewer and interface VPC\n endpoints (Amazon Web Services PrivateLink) in the Amazon CodeGuru Reviewer User\n Guide.
", + "smithy.api#documentation": "This section provides documentation for the Amazon CodeGuru Reviewer API operations. CodeGuru Reviewer is a\n service that uses program analysis and machine learning to detect potential defects that\n are difficult for developers to find and recommends fixes in your Java and Python\n code.
\nBy proactively detecting and providing recommendations for addressing code defects and\n implementing best practices, CodeGuru Reviewer improves the overall quality and maintainability of\n your code base during the code review stage. For more information about CodeGuru Reviewer, see the\n \n Amazon CodeGuru Reviewer User Guide.\n
\nTo improve the security of your CodeGuru Reviewer API calls, you can establish a private connection\n between your VPC and CodeGuru Reviewer by creating an interface VPC endpoint. For\n more information, see CodeGuru Reviewer and interface VPC\n endpoints (Amazon Web Services PrivateLink) in the Amazon CodeGuru Reviewer User\n Guide.
", "smithy.api#title": "Amazon CodeGuru Reviewer", "smithy.rules#endpointRuleSet": { "version": "1.0", @@ -150,52 +150,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", @@ -203,13 +207,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -219,224 +232,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://codeguru-reviewer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://codeguru-reviewer-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": [ { "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": [], - "endpoint": { - "url": "https://codeguru-reviewer-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://codeguru-reviewer-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://codeguru-reviewer.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://codeguru-reviewer.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://codeguru-reviewer.{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://codeguru-reviewer.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -451,8 +415,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -464,8 +428,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -477,8 +441,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -490,8 +454,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -503,8 +467,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -516,8 +480,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -529,8 +493,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -542,8 +506,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -555,8 +519,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -568,8 +532,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -581,8 +545,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -594,8 +558,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -607,8 +571,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -620,8 +584,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -633,8 +597,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -646,8 +610,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -659,8 +623,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -672,8 +636,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -685,8 +649,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -698,8 +662,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -711,8 +675,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -724,8 +699,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 } }, { @@ -737,8 +723,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -750,8 +747,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 } }, { @@ -763,8 +771,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -776,8 +784,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -789,8 +797,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -801,8 +809,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -813,10 +821,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" @@ -895,7 +909,7 @@ } ], "traits": { - "smithy.api#documentation": "Use to associate an Amazon Web Services CodeCommit repository or a repository managed by Amazon Web Services\n CodeStar Connections with Amazon CodeGuru Reviewer. When you associate a repository, CodeGuru Reviewer reviews\n source code changes in the repository's pull requests and provides automatic\n recommendations. You can view recommendations using the CodeGuru Reviewer console. For more\n information, see Recommendations in\n Amazon CodeGuru Reviewer in the Amazon CodeGuru Reviewer User Guide.\n
\n\nIf you associate a CodeCommit or S3 repository, it must be in the same Amazon Web Services Region and\n Amazon Web Services account where its CodeGuru Reviewer code reviews are configured.
\n\nBitbucket and GitHub Enterprise Server repositories are managed by Amazon Web Services CodeStar\n Connections to connect to CodeGuru Reviewer. For more information, see Associate a\n repository in the Amazon CodeGuru Reviewer User Guide.\n
\n\nYou cannot use the CodeGuru Reviewer SDK or the Amazon Web Services CLI to associate a GitHub repository with\n Amazon CodeGuru Reviewer. To associate a GitHub repository, use the console. For more information, see\n Getting started with\n CodeGuru Reviewer in the CodeGuru Reviewer User Guide.\n
\nUse to associate an Amazon Web Services CodeCommit repository or a repository managed by Amazon Web Services\n CodeStar Connections with Amazon CodeGuru Reviewer. When you associate a repository, CodeGuru Reviewer reviews\n source code changes in the repository's pull requests and provides automatic\n recommendations. You can view recommendations using the CodeGuru Reviewer console. For more\n information, see Recommendations in\n Amazon CodeGuru Reviewer in the Amazon CodeGuru Reviewer User Guide.\n
\nIf you associate a CodeCommit or S3 repository, it must be in the same Amazon Web Services Region and\n Amazon Web Services account where its CodeGuru Reviewer code reviews are configured.
\nBitbucket and GitHub Enterprise Server repositories are managed by Amazon Web Services CodeStar\n Connections to connect to CodeGuru Reviewer. For more information, see Associate a\n repository in the Amazon CodeGuru Reviewer User Guide.\n
\nYou cannot use the CodeGuru Reviewer SDK or the Amazon Web Services CLI to associate a GitHub repository with\n Amazon CodeGuru Reviewer. To associate a GitHub repository, use the console. For more information, see\n Getting started with\n CodeGuru Reviewer in the CodeGuru Reviewer User Guide.\n
\nAn array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:
\n\t\tA tag key (for example, CostCenter
,\n\t\t\t\t\tEnvironment
, Project
, or Secret
). Tag\n\t\t\t\t\tkeys are case sensitive.
An optional field known as a tag value (for example,\n\t\t\t\t\t111122223333
, Production
, or a team name).\n\t\t\t\t\tOmitting the tag value is the same as using an empty string. Like tag keys, tag\n\t\t\t\t\tvalues are case sensitive.
An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:
\nA tag key (for example, CostCenter
,\n\t\t\t\t\tEnvironment
, Project
, or Secret
). Tag\n\t\t\t\t\tkeys are case sensitive.
An optional field known as a tag value (for example,\n\t\t\t\t\t111122223333
, Production
, or a team name).\n\t\t\t\t\tOmitting the tag value is the same as using an empty string. Like tag keys, tag\n\t\t\t\t\tvalues are case sensitive.
A KMSKeyDetails
object that contains:
The encryption option for this repository association. It is either owned by Amazon Web Services\n Key Management Service (KMS) (AWS_OWNED_CMK
) or customer managed\n (CUSTOMER_MANAGED_CMK
).
The ID of the Amazon Web Services KMS key that is associated with this repository\n association.
\nAn array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:
\n\t\tA tag key (for example, CostCenter
,\n\t\t\t\t\tEnvironment
, Project
, or Secret
). Tag\n\t\t\t\t\tkeys are case sensitive.
An optional field known as a tag value (for example,\n\t\t\t\t\t111122223333
, Production
, or a team name).\n\t\t\t\t\tOmitting the tag value is the same as using an empty string. Like tag keys, tag\n\t\t\t\t\tvalues are case sensitive.
An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:
\nA tag key (for example, CostCenter
,\n\t\t\t\t\tEnvironment
, Project
, or Secret
). Tag\n\t\t\t\t\tkeys are case sensitive.
An optional field known as a tag value (for example,\n\t\t\t\t\t111122223333
, Production
, or a team name).\n\t\t\t\t\tOmitting the tag value is the same as using an empty string. Like tag keys, tag\n\t\t\t\t\tvalues are case sensitive.
The valid code review states are:
\n\n Completed
: The code review is complete.
\n Pending
: The code review started and has not completed or failed.
\n Failed
: The code review failed.
\n Deleting
: The code review is being deleted.
The valid code review states are:
\n\n Completed
: The code review is complete.
\n Pending
: The code review started and has not completed or failed.
\n Failed
: The code review failed.
\n Deleting
: The code review is being deleted.
The state of the code review.
\nThe valid code review states are:
\n\n Completed
: The code review is complete.
\n Pending
: The code review started and has not completed or failed.
\n Failed
: The code review failed.
\n Deleting
: The code review is being deleted.
The state of the code review.
\nThe valid code review states are:
\n\n Completed
: The code review is complete.
\n Pending
: The code review started and has not completed or failed.
\n Failed
: The code review failed.
\n Deleting
: The code review is being deleted.
Information about the code review.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codegurureviewer#DescribeRecommendationFeedback": { @@ -1590,6 +1622,9 @@ "smithy.api#httpQuery": "UserId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codegurureviewer#DescribeRecommendationFeedbackResponse": { @@ -1601,6 +1636,9 @@ "smithy.api#documentation": "The recommendation feedback given by the user.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codegurureviewer#DescribeRepositoryAssociation": { @@ -1686,6 +1724,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codegurureviewer#DescribeRepositoryAssociationResponse": { @@ -1700,9 +1741,12 @@ "Tags": { "target": "com.amazonaws.codegurureviewer#TagMap", "traits": { - "smithy.api#documentation": "An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:
\n\t\tA tag key (for example, CostCenter
,\n\t\t\t\t\tEnvironment
, Project
, or Secret
). Tag\n\t\t\t\t\tkeys are case sensitive.
An optional field known as a tag value (for example,\n\t\t\t\t\t111122223333
, Production
, or a team name).\n\t\t\t\t\tOmitting the tag value is the same as using an empty string. Like tag keys, tag\n\t\t\t\t\tvalues are case sensitive.
An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:
\nA tag key (for example, CostCenter
,\n\t\t\t\t\tEnvironment
, Project
, or Secret
). Tag\n\t\t\t\t\tkeys are case sensitive.
An optional field known as a tag value (for example,\n\t\t\t\t\t111122223333
, Production
, or a team name).\n\t\t\t\t\tOmitting the tag value is the same as using an empty string. Like tag keys, tag\n\t\t\t\t\tvalues are case sensitive.
An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:
\n\t\tA tag key (for example, CostCenter
,\n\t\t\t\t\tEnvironment
, Project
, or Secret
). Tag\n\t\t\t\t\tkeys are case sensitive.
An optional field known as a tag value (for example,\n\t\t\t\t\t111122223333
, Production
, or a team name).\n\t\t\t\t\tOmitting the tag value is the same as using an empty string. Like tag keys, tag\n\t\t\t\t\tvalues are case sensitive.
An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:
\nA tag key (for example, CostCenter
,\n\t\t\t\t\tEnvironment
, Project
, or Secret
). Tag\n\t\t\t\t\tkeys are case sensitive.
An optional field known as a tag value (for example,\n\t\t\t\t\t111122223333
, Production
, or a team name).\n\t\t\t\t\tOmitting the tag value is the same as using an empty string. Like tag keys, tag\n\t\t\t\t\tvalues are case sensitive.
List of states for filtering that needs to be applied before displaying the result. For\n example, states=[Pending]
lists code reviews in the Pending state.
The valid code review states are:
\n\n Completed
: The code review is complete.
\n Pending
: The code review started and has not completed or failed.
\n Failed
: The code review failed.
\n Deleting
: The code review is being deleted.
List of states for filtering that needs to be applied before displaying the result. For\n example, states=[Pending]
lists code reviews in the Pending state.
The valid code review states are:
\n\n Completed
: The code review is complete.
\n Pending
: The code review started and has not completed or failed.
\n Failed
: The code review failed.
\n Deleting
: The code review is being deleted.
Pagination token.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codegurureviewer#ListRecommendationFeedback": { @@ -2122,6 +2178,9 @@ "smithy.api#httpQuery": "RecommendationIds" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codegurureviewer#ListRecommendationFeedbackResponse": { @@ -2139,6 +2198,9 @@ "smithy.api#documentation": "If nextToken
is returned, there are more results available. The value of\n nextToken
is a unique pagination token for each page. Make the call again\n using the returned token to retrieve the next page. Keep all other arguments\n unchanged.
Pagination token.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codegurureviewer#ListRepositoryAssociations": { @@ -2280,7 +2348,7 @@ "States": { "target": "com.amazonaws.codegurureviewer#RepositoryAssociationStates", "traits": { - "smithy.api#documentation": "List of repository association states to use as a filter.
\nThe valid repository association states are:
\n\n Associated: The repository association is complete.
\n\n Associating: CodeGuru Reviewer is:
\nSetting up pull request notifications. This is required \n for pull requests to trigger a CodeGuru Reviewer review.
\nIf your repository ProviderType
is GitHub
, GitHub Enterprise Server
, or Bitbucket
, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.
Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.
\n\n Failed: The repository failed to associate or disassociate.
\n\n Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.
\n\n Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in anassociated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.
\nList of repository association states to use as a filter.
\nThe valid repository association states are:
\n\n Associated: The repository association is complete.
\n\n Associating: CodeGuru Reviewer is:
\nSetting up pull request notifications. This is required \n for pull requests to trigger a CodeGuru Reviewer review.
\nIf your repository ProviderType
is GitHub
, GitHub Enterprise Server
, or Bitbucket
, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.
Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.
\n\n Failed: The repository failed to associate or disassociate.
\n\n Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.
\n\n Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in anassociated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.
\nThe nextToken
value to include in a future ListRecommendations
\n request. When the results of a ListRecommendations
request exceed\n maxResults
, this value can be used to retrieve the next page of results.\n This value is null
when there are no more results to return.
An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:
\n\t\tA tag key (for example, CostCenter
,\n\t\t\t\t\tEnvironment
, Project
, or Secret
). Tag\n\t\t\t\t\tkeys are case sensitive.
An optional field known as a tag value (for example,\n\t\t\t\t\t111122223333
, Production
, or a team name).\n\t\t\t\t\tOmitting the tag value is the same as using an empty string. Like tag keys, tag\n\t\t\t\t\tvalues are case sensitive.
An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:
\nA tag key (for example, CostCenter
,\n\t\t\t\t\tEnvironment
, Project
, or Secret
). Tag\n\t\t\t\t\tkeys are case sensitive.
An optional field known as a tag value (for example,\n\t\t\t\t\t111122223333
, Production
, or a team name).\n\t\t\t\t\tOmitting the tag value is the same as using an empty string. Like tag keys, tag\n\t\t\t\t\tvalues are case sensitive.
The state of the repository association.
\nThe valid repository association states are:
\n\n Associated: The repository association is complete.
\n\n Associating: CodeGuru Reviewer is:
\nSetting up pull request notifications. This is required \n for pull requests to trigger a CodeGuru Reviewer review.
\nIf your repository ProviderType
is GitHub
, GitHub Enterprise Server
, or Bitbucket
, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.
Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.
\n\n Failed: The repository failed to associate or disassociate.
\n\n Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.
\n\n Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in anassociated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.
\nThe state of the repository association.
\nThe valid repository association states are:
\n\n Associated: The repository association is complete.
\n\n Associating: CodeGuru Reviewer is:
\nSetting up pull request notifications. This is required \n for pull requests to trigger a CodeGuru Reviewer review.
\nIf your repository ProviderType
is GitHub
, GitHub Enterprise Server
, or Bitbucket
, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.
Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.
\n\n Failed: The repository failed to associate or disassociate.
\n\n Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.
\n\n Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in anassociated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.
\nThe state of the repository association.
\nThe valid repository association states are:
\n\n Associated: The repository association is complete.
\n\n Associating: CodeGuru Reviewer is:
\nSetting up pull request notifications. This is required \n for pull requests to trigger a CodeGuru Reviewer review.
\nIf your repository ProviderType
is GitHub
, GitHub Enterprise Server
, or Bitbucket
, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.
Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.
\n\n Failed: The repository failed to associate or disassociate.
\n\n Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.
\n\n Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in anassociated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.
\nThe state of the repository association.
\nThe valid repository association states are:
\n\n Associated: The repository association is complete.
\n\n Associating: CodeGuru Reviewer is:
\nSetting up pull request notifications. This is required \n for pull requests to trigger a CodeGuru Reviewer review.
\nIf your repository ProviderType
is GitHub
, GitHub Enterprise Server
, or Bitbucket
, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.
Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.
\n\n Failed: The repository failed to associate or disassociate.
\n\n Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.
\n\n Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in anassociated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.
\nAn array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:
\n\t\tA tag key (for example, CostCenter
,\n\t\t\t\t\tEnvironment
, Project
, or Secret
). Tag\n\t\t\t\t\tkeys are case sensitive.
An optional field known as a tag value (for example,\n\t\t\t\t\t111122223333
, Production
, or a team name).\n\t\t\t\t\tOmitting the tag value is the same as using an empty string. Like tag keys, tag\n\t\t\t\t\tvalues are case sensitive.
An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:
\nA tag key (for example, CostCenter
,\n\t\t\t\t\tEnvironment
, Project
, or Secret
). Tag\n\t\t\t\t\tkeys are case sensitive.
An optional field known as a tag value (for example,\n\t\t\t\t\t111122223333
, Production
, or a team name).\n\t\t\t\t\tOmitting the tag value is the same as using an empty string. Like tag keys, tag\n\t\t\t\t\tvalues are case sensitive.
This AWS CodeStar Notifications API Reference provides descriptions and usage examples of the\n operations and data types for the AWS CodeStar Notifications API. You can use the AWS CodeStar Notifications API\n to work with the following objects:
\n \nNotification rules, by calling the following:
\n\n CreateNotificationRule, which creates a notification rule for a\n resource in your account.
\n\n DeleteNotificationRule, which deletes a notification rule.
\n\n DescribeNotificationRule, which provides information about a notification rule.
\n\n ListNotificationRules, which lists the notification rules associated with\n your account.
\n\n UpdateNotificationRule, which changes the name, events, or targets associated with a\n notification rule.
\n\n Subscribe, which subscribes a target to a notification rule.
\n\n Unsubscribe, which removes a target from a notification rule.
\nTargets, by calling the following:
\n\n DeleteTarget, which removes a notification rule target from a\n notification rule.
\n\n ListTargets, which lists the targets associated with a\n notification rule.
\nEvents, by calling the following:
\n\n ListEventTypes, which lists the event types you can include in\n a notification rule.
\nTags, by calling the following:
\n\n ListTagsForResource, which lists the tags already associated\n with a notification rule in your account.
\n\n TagResource, which associates a tag you provide with a\n notification rule in your account.
\n\n UntagResource, which removes a tag from a notification rule in\n your account.
\nFor information about how to use AWS CodeStar Notifications, see the Amazon Web Services Developer Tools Console User Guide.\n
", + "smithy.api#documentation": "This AWS CodeStar Notifications API Reference provides descriptions and usage examples of the\n operations and data types for the AWS CodeStar Notifications API. You can use the AWS CodeStar Notifications API\n to work with the following objects:
\nNotification rules, by calling the following:
\n\n CreateNotificationRule, which creates a notification rule for a\n resource in your account.
\n\n DeleteNotificationRule, which deletes a notification rule.
\n\n DescribeNotificationRule, which provides information about a notification rule.
\n\n ListNotificationRules, which lists the notification rules associated with\n your account.
\n\n UpdateNotificationRule, which changes the name, events, or targets associated with a\n notification rule.
\n\n Subscribe, which subscribes a target to a notification rule.
\n\n Unsubscribe, which removes a target from a notification rule.
\nTargets, by calling the following:
\n\n DeleteTarget, which removes a notification rule target from a\n notification rule.
\n\n ListTargets, which lists the targets associated with a\n notification rule.
\nEvents, by calling the following:
\n\n ListEventTypes, which lists the event types you can include in\n a notification rule.
\nTags, by calling the following:
\n\n ListTagsForResource, which lists the tags already associated\n with a notification rule in your account.
\n\n TagResource, which associates a tag you provide with a\n notification rule in your account.
\n\n UntagResource, which removes a tag from a notification rule in\n your account.
\nFor information about how to use AWS CodeStar Notifications, see the Amazon Web Services Developer Tools Console User Guide.\n
", "smithy.api#title": "AWS CodeStar Notifications", "smithy.rules#endpointRuleSet": { "version": "1.0", @@ -170,52 +170,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", @@ -223,13 +227,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -239,224 +252,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://codestar-notifications-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://codestar-notifications-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": [ { "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": [], - "endpoint": { - "url": "https://codestar-notifications-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://codestar-notifications-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://codestar-notifications.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://codestar-notifications.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://codestar-notifications.{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://codestar-notifications.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -471,8 +435,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -484,8 +448,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -497,8 +461,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -510,8 +474,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -523,8 +487,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -536,8 +500,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -549,8 +513,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -562,8 +526,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -575,8 +539,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -588,8 +552,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -601,8 +565,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -614,8 +578,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -627,8 +602,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 } }, { @@ -640,8 +626,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -653,8 +650,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 } }, { @@ -666,8 +674,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -679,8 +687,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -692,8 +700,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -704,8 +712,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -716,10 +724,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" @@ -830,7 +844,7 @@ "ClientRequestToken": { "target": "com.amazonaws.codestarnotifications#ClientRequestToken", "traits": { - "smithy.api#documentation": "A unique, client-generated idempotency token that, when provided in a request, ensures\n the request cannot be repeated with a changed parameter. If a request with the same\n parameters is received and a token is included, the request returns information about\n the initial request that used that token.
\nThe Amazon Web Services SDKs prepopulate client request tokens. If you are using an Amazon Web Services SDK, an\n idempotency token is created for you.
\nA unique, client-generated idempotency token that, when provided in a request, ensures\n the request cannot be repeated with a changed parameter. If a request with the same\n parameters is received and a token is included, the request returns information about\n the initial request that used that token.
\nThe Amazon Web Services SDKs prepopulate client request tokens. If you are using an Amazon Web Services SDK, an\n idempotency token is created for you.
\nThe status of the notification rule. The default value is ENABLED
. If the status is\n set to DISABLED
, notifications aren't sent for the notification rule.
The Amazon Resource Name (ARN) of the notification rule.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codestarnotifications#CreatedTimestamp": { @@ -900,6 +920,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestarnotifications#DeleteNotificationRuleResult": { @@ -911,6 +934,9 @@ "smithy.api#documentation": "The Amazon Resource Name (ARN) of the deleted notification rule.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codestarnotifications#DeleteTarget": { @@ -952,11 +978,17 @@ "smithy.api#documentation": "A Boolean value that can be used to delete all associations with this Chatbot topic. The\n default value is FALSE. If set to TRUE, all associations between that target and every\n notification rule in your Amazon Web Services account are deleted.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestarnotifications#DeleteTargetResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.codestarnotifications#DescribeNotificationRule": { "type": "operation", @@ -993,6 +1025,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestarnotifications#DescribeNotificationRuleResult": { @@ -1065,6 +1100,9 @@ "smithy.api#documentation": "The tags associated with the notification rule.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codestarnotifications#DetailType": { @@ -1276,6 +1314,9 @@ "smithy.api#documentation": "A non-negative integer used to limit the number of returned results. The default number is 50. The maximum number of\n results that can be returned is 100.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestarnotifications#ListEventTypesResult": { @@ -1293,6 +1334,9 @@ "smithy.api#documentation": "An enumeration token that can be used in a request to return the next batch of the results.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codestarnotifications#ListNotificationRules": { @@ -1414,6 +1458,9 @@ "smithy.api#documentation": "A non-negative integer used to limit the number of returned results. The maximum number of\n results that can be returned is 100.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestarnotifications#ListNotificationRulesResult": { @@ -1431,6 +1478,9 @@ "smithy.api#documentation": "The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codestarnotifications#ListTagsForResource": { @@ -1468,6 +1518,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestarnotifications#ListTagsForResourceResult": { @@ -1479,6 +1532,9 @@ "smithy.api#documentation": "The tags associated with the notification rule.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codestarnotifications#ListTargets": { @@ -1594,6 +1650,9 @@ "smithy.api#documentation": "A non-negative integer used to limit the number of returned results. The maximum number of\n results that can be returned is 100.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestarnotifications#ListTargetsResult": { @@ -1611,6 +1670,9 @@ "smithy.api#documentation": "An enumeration token that can be used in a request to return the next batch of\n results.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codestarnotifications#MaxResults": { @@ -1808,6 +1870,9 @@ "smithy.api#documentation": "An enumeration token that, when provided in a request, returns the next batch of the\n results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestarnotifications#SubscribeResult": { @@ -1819,6 +1884,9 @@ "smithy.api#documentation": "The Amazon Resource Name (ARN) of the notification rule for which you have created assocations.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codestarnotifications#TagKey": { @@ -1885,6 +1953,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestarnotifications#TagResourceResult": { @@ -1896,6 +1967,9 @@ "smithy.api#documentation": "The list of tags associated with the resource.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codestarnotifications#TagValue": { @@ -2071,6 +2145,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestarnotifications#UnsubscribeResult": { @@ -2083,6 +2160,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codestarnotifications#UntagResource": { @@ -2135,11 +2215,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestarnotifications#UntagResourceResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.codestarnotifications#UpdateNotificationRule": { "type": "operation", @@ -2209,11 +2295,17 @@ "smithy.api#documentation": "The level of detail to include in the notifications for this resource. BASIC will include only the \n contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information\n provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestarnotifications#UpdateNotificationRuleResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.codestarnotifications#ValidationException": { "type": "structure", diff --git a/codegen/sdk-codegen/aws-models/codestar.json b/codegen/sdk-codegen/aws-models/codestar.json index 1dcd51259d1..43ecfad9d49 100644 --- a/codegen/sdk-codegen/aws-models/codestar.json +++ b/codegen/sdk-codegen/aws-models/codestar.json @@ -101,6 +101,9 @@ "smithy.api#documentation": "Whether the team member is allowed to use an SSH public/private key pair to remotely\n access project resources, for example Amazon EC2 instances.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestar#AssociateTeamMemberResult": { @@ -112,6 +115,9 @@ "smithy.api#documentation": "The user- or system-generated token from the initial request that can be used to repeat\n the request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codestar#BucketKey": { @@ -341,52 +347,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", @@ -394,13 +404,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -410,224 +429,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://codestar-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://codestar-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": [ { "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": [], - "endpoint": { - "url": "https://codestar-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://codestar-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://codestar.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://codestar.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://codestar.{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://codestar.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -642,8 +612,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -655,8 +625,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -668,8 +638,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -681,8 +651,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -694,8 +664,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -707,8 +677,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -720,8 +690,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -733,8 +703,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -746,8 +716,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -759,8 +729,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -772,8 +742,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -785,8 +755,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -798,8 +768,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -811,8 +781,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -824,8 +794,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -837,8 +807,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -850,8 +820,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -863,8 +833,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -876,8 +846,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -889,8 +859,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -902,8 +872,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -915,8 +885,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -928,8 +898,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -941,8 +911,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -954,8 +935,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 } }, { @@ -967,8 +959,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -980,8 +983,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 } }, { @@ -993,8 +1007,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1006,8 +1020,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1019,8 +1033,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1031,8 +1045,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1043,10 +1057,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" @@ -1148,6 +1168,9 @@ "smithy.api#documentation": "The tags created for the project.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestar#CreateProjectResult": { @@ -1179,6 +1202,9 @@ "smithy.api#documentation": "Reserved for future use.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codestar#CreateUserProfile": { @@ -1231,6 +1257,9 @@ "smithy.api#documentation": "The SSH public key associated with the user in AWS CodeStar. If a project owner allows the\n user remote access to project resources, this public key will be used along with the user's\n private key for SSH access.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestar#CreateUserProfileResult": { @@ -1273,6 +1302,9 @@ "smithy.api#documentation": "The date the user profile was last modified, in timestamp format.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codestar#CreatedTimestamp": { @@ -1324,6 +1356,9 @@ "smithy.api#documentation": "Whether to send a delete request for the primary stack in AWS CloudFormation originally\n used to generate the project and its resources. This option will delete all AWS resources for\n the project (except for any buckets in Amazon S3) as well as deleting the project itself.\n Recommended for most use cases.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestar#DeleteProjectResult": { @@ -1341,6 +1376,9 @@ "smithy.api#documentation": "The Amazon Resource Name (ARN) of the deleted project.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codestar#DeleteStack": { @@ -1376,6 +1414,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestar#DeleteUserProfileResult": { @@ -1388,6 +1429,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codestar#DescribeProject": { @@ -1429,6 +1473,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestar#DescribeProjectResult": { @@ -1488,6 +1535,9 @@ "smithy.api#documentation": "The project creation or deletion status.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codestar#DescribeUserProfile": { @@ -1520,6 +1570,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestar#DescribeUserProfileResult": { @@ -1564,6 +1617,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codestar#DisassociateTeamMember": { @@ -1609,11 +1665,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestar#DisassociateTeamMemberResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.codestar#Email": { "type": "string", @@ -1771,6 +1833,9 @@ "smithy.api#documentation": "The maximum amount of data that can be contained in a single set of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestar#ListProjectsResult": { @@ -1789,6 +1854,9 @@ "smithy.api#documentation": "The continuation token to use when requesting the next set of results, if there are\n more results to be returned.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codestar#ListResources": { @@ -1837,6 +1905,9 @@ "smithy.api#documentation": "The maximum amount of data that can be contained in a single set of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestar#ListResourcesResult": { @@ -1854,6 +1925,9 @@ "smithy.api#documentation": "The continuation token to use when requesting the next set of results, if there are\n more results to be returned.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codestar#ListTagsForProject": { @@ -1902,6 +1976,9 @@ "smithy.api#documentation": "Reserved for future use.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestar#ListTagsForProjectResult": { @@ -1919,6 +1996,9 @@ "smithy.api#documentation": "Reserved for future use.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codestar#ListTeamMembers": { @@ -1967,6 +2047,9 @@ "smithy.api#documentation": "The maximum number of team members you want returned in a response.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestar#ListTeamMembersResult": { @@ -1985,6 +2068,9 @@ "smithy.api#documentation": "The continuation token to use when requesting the next set of results, if there are\n more results to be returned.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codestar#ListUserProfiles": { @@ -2023,6 +2109,9 @@ "smithy.api#documentation": "The maximum number of results to return in a response.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestar#ListUserProfilesResult": { @@ -2041,6 +2130,9 @@ "smithy.api#documentation": "The continuation token to use when requesting the next set of results, if there are\n more results to be returned.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codestar#MaxResults": { @@ -2302,7 +2394,7 @@ "smithy.api#length": { "min": 11 }, - "smithy.api#pattern": "^arn\\:aws\\:\\S.*\\:.*" + "smithy.api#pattern": "^arn\\:aws\\:\\S.*\\:" } }, "com.amazonaws.codestar#ResourcesResult": { @@ -2433,6 +2525,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestar#TagProjectResult": { @@ -2444,6 +2539,9 @@ "smithy.api#documentation": "The tags for the project.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codestar#TagValue": { @@ -2647,11 +2745,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestar#UntagProjectResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.codestar#UpdateProject": { "type": "operation", @@ -2695,11 +2799,17 @@ "smithy.api#documentation": "The description of the project, if any.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestar#UpdateProjectResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.codestar#UpdateTeamMember": { "type": "operation", @@ -2766,6 +2876,9 @@ "smithy.api#documentation": "Whether a team member is allowed to remotely access project resources using the SSH\n public key associated with the user's profile. Even if this is set to True, the user must\n associate a public key with their profile before the user can access resources.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestar#UpdateTeamMemberResult": { @@ -2790,6 +2903,9 @@ "smithy.api#documentation": "Whether a team member is allowed to remotely access project resources using the SSH\n public key associated with the user's profile.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codestar#UpdateUserProfile": { @@ -2840,6 +2956,9 @@ "smithy.api#documentation": "The SSH public key associated with the user in AWS CodeStar. If a project owner allows the\n user remote access to project resources, this public key will be used along with the user's\n private key for SSH access.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.codestar#UpdateUserProfileResult": { @@ -2882,6 +3001,9 @@ "smithy.api#documentation": "The date the user profile was last modified, in timestamp format.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.codestar#UserArn": { diff --git a/codegen/sdk-codegen/aws-models/cognito-identity-provider.json b/codegen/sdk-codegen/aws-models/cognito-identity-provider.json index 2b2b21e4d0c..8f8ffffb633 100644 --- a/codegen/sdk-codegen/aws-models/cognito-identity-provider.json +++ b/codegen/sdk-codegen/aws-models/cognito-identity-provider.json @@ -359,6 +359,7 @@ "arnNamespace": "cognito-idp", "cloudFormationName": "Cognito", "cloudTrailEventSource": "cognitoidentityprovider.amazonaws.com", + "docId": "cognito-idp-2016-04-18", "endpointPrefix": "cognito-idp" }, "aws.auth#sigv4": { diff --git a/codegen/sdk-codegen/aws-models/cognito-identity.json b/codegen/sdk-codegen/aws-models/cognito-identity.json index ca5e04c5f8b..28f749f8e29 100644 --- a/codegen/sdk-codegen/aws-models/cognito-identity.json +++ b/codegen/sdk-codegen/aws-models/cognito-identity.json @@ -189,52 +189,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", @@ -242,13 +246,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -258,224 +271,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://cognito-identity-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://cognito-identity-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": [ { "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": [], - "endpoint": { - "url": "https://cognito-identity-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://cognito-identity-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://cognito-identity.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://cognito-identity.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://cognito-identity.{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://cognito-identity.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -490,8 +454,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -503,8 +467,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -516,8 +480,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -529,8 +493,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -542,8 +506,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -555,8 +519,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -568,8 +532,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -581,8 +545,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -594,8 +558,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -607,8 +571,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -620,8 +584,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -633,8 +597,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -646,8 +610,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -659,8 +623,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -672,8 +636,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -685,8 +649,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -698,8 +662,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -711,8 +675,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -724,8 +688,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -737,8 +701,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -750,8 +714,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -763,8 +727,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -776,8 +740,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -789,8 +753,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -802,8 +766,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -815,8 +779,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -828,8 +792,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -841,8 +805,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -854,8 +818,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -867,8 +831,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -880,8 +844,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -893,8 +857,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -906,8 +881,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 } }, { @@ -919,8 +905,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -932,8 +929,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 } }, { @@ -945,8 +953,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -958,8 +966,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -971,8 +979,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -983,8 +991,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -995,10 +1003,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" @@ -1015,22 +1029,24 @@ "min": 1, "max": 15 }, - "smithy.api#pattern": "\\d+" + "smithy.api#pattern": "^\\d+$" } }, "com.amazonaws.cognitoidentity#AmbiguousRoleResolutionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AuthenticatedRole", - "name": "AUTHENTICATED_ROLE" - }, - { - "value": "Deny", - "name": "DENY" + "type": "enum", + "members": { + "AUTHENTICATED_ROLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AuthenticatedRole" + } + }, + "DENY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Deny" } - ] + } } }, "com.amazonaws.cognitoidentity#ClaimName": { @@ -1040,7 +1056,7 @@ "min": 1, "max": 64 }, - "smithy.api#pattern": "[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+" + "smithy.api#pattern": "^[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+$" } }, "com.amazonaws.cognitoidentity#ClaimValue": { @@ -1089,7 +1105,7 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": "[\\w_]+" + "smithy.api#pattern": "^[\\w_]+$" } }, "com.amazonaws.cognitoidentity#CognitoIdentityProviderList": { @@ -1105,7 +1121,7 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": "[\\w._:/-]+" + "smithy.api#pattern": "^[\\w._:/-]+$" } }, "com.amazonaws.cognitoidentity#CognitoIdentityProviderTokenCheck": { @@ -1224,7 +1240,8 @@ } }, "traits": { - "smithy.api#documentation": "Input to the CreateIdentityPool action.
" + "smithy.api#documentation": "Input to the CreateIdentityPool action.
", + "smithy.api#input": {} } }, "com.amazonaws.cognitoidentity#Credentials": { @@ -1297,7 +1314,8 @@ } }, "traits": { - "smithy.api#documentation": "Input to the DeleteIdentities
action.
Input to the DeleteIdentities
action.
Returned in response to a successful DeleteIdentities
\n operation.
Returned in response to a successful DeleteIdentities
\n operation.
Input to the DeleteIdentityPool action.
" + "smithy.api#documentation": "Input to the DeleteIdentityPool action.
", + "smithy.api#input": {} } }, "com.amazonaws.cognitoidentity#DescribeIdentity": { @@ -1399,7 +1419,8 @@ } }, "traits": { - "smithy.api#documentation": "Input to the DescribeIdentity
action.
Input to the DescribeIdentity
action.
Input to the DescribeIdentityPool action.
" + "smithy.api#documentation": "Input to the DescribeIdentityPool action.
", + "smithy.api#input": {} } }, "com.amazonaws.cognitoidentity#DeveloperProviderName": { @@ -1453,7 +1475,7 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": "[\\w._-]+" + "smithy.api#pattern": "^[\\w._-]+$" } }, "com.amazonaws.cognitoidentity#DeveloperUserAlreadyRegisteredException": { @@ -1488,18 +1510,20 @@ } }, "com.amazonaws.cognitoidentity#ErrorCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AccessDenied", - "name": "ACCESS_DENIED" - }, - { - "value": "InternalServerError", - "name": "INTERNAL_SERVER_ERROR" + "type": "enum", + "members": { + "ACCESS_DENIED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AccessDenied" } - ] + }, + "INTERNAL_SERVER_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InternalServerError" + } + } } }, "com.amazonaws.cognitoidentity#ExternalServiceException": { @@ -1582,7 +1606,8 @@ } }, "traits": { - "smithy.api#documentation": "Input to the GetCredentialsForIdentity
action.
Input to the GetCredentialsForIdentity
action.
Returned in response to a successful GetCredentialsForIdentity
\n operation.
Returned in response to a successful GetCredentialsForIdentity
\n operation.
Input to the GetId action.
" + "smithy.api#documentation": "Input to the GetId action.
", + "smithy.api#input": {} } }, "com.amazonaws.cognitoidentity#GetIdResponse": { @@ -1683,7 +1710,8 @@ } }, "traits": { - "smithy.api#documentation": "Returned in response to a GetId request.
" + "smithy.api#documentation": "Returned in response to a GetId request.
", + "smithy.api#output": {} } }, "com.amazonaws.cognitoidentity#GetIdentityPoolRoles": { @@ -1730,7 +1758,8 @@ } }, "traits": { - "smithy.api#documentation": "Input to the GetIdentityPoolRoles
action.
Input to the GetIdentityPoolRoles
action.
Returned in response to a successful GetIdentityPoolRoles
\n operation.
Returned in response to a successful GetIdentityPoolRoles
\n operation.
Input to the GetOpenIdTokenForDeveloperIdentity
action.
Input to the GetOpenIdTokenForDeveloperIdentity
action.
Returned in response to a successful GetOpenIdTokenForDeveloperIdentity
\n request.
Returned in response to a successful GetOpenIdTokenForDeveloperIdentity
\n request.
Input to the GetOpenIdToken action.
" + "smithy.api#documentation": "Input to the GetOpenIdToken action.
", + "smithy.api#input": {} } }, "com.amazonaws.cognitoidentity#GetOpenIdTokenResponse": { @@ -1929,7 +1962,8 @@ } }, "traits": { - "smithy.api#documentation": "Returned in response to a successful GetOpenIdToken request.
" + "smithy.api#documentation": "Returned in response to a successful GetOpenIdToken request.
", + "smithy.api#output": {} } }, "com.amazonaws.cognitoidentity#GetPrincipalTagAttributeMap": { @@ -1978,6 +2012,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cognitoidentity#GetPrincipalTagAttributeMapResponse": { @@ -2007,6 +2044,9 @@ "smithy.api#documentation": "You can use this operation to add principal tags. The PrincipalTags
operation enables you to reference user attributes in your IAM permissions policy.
Input to the ListIdentities action.
" + "smithy.api#documentation": "Input to the ListIdentities action.
", + "smithy.api#input": {} } }, "com.amazonaws.cognitoidentity#ListIdentitiesResponse": { @@ -2408,7 +2449,8 @@ } }, "traits": { - "smithy.api#documentation": "The response to a ListIdentities request.
" + "smithy.api#documentation": "The response to a ListIdentities request.
", + "smithy.api#output": {} } }, "com.amazonaws.cognitoidentity#ListIdentityPools": { @@ -2465,7 +2507,8 @@ } }, "traits": { - "smithy.api#documentation": "Input to the ListIdentityPools action.
" + "smithy.api#documentation": "Input to the ListIdentityPools action.
", + "smithy.api#input": {} } }, "com.amazonaws.cognitoidentity#ListIdentityPoolsResponse": { @@ -2485,7 +2528,8 @@ } }, "traits": { - "smithy.api#documentation": "The result of a successful ListIdentityPools action.
" + "smithy.api#documentation": "The result of a successful ListIdentityPools action.
", + "smithy.api#output": {} } }, "com.amazonaws.cognitoidentity#ListTagsForResource": { @@ -2527,6 +2571,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cognitoidentity#ListTagsForResourceResponse": { @@ -2538,6 +2585,9 @@ "smithy.api#documentation": "The tags that are assigned to the identity pool.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cognitoidentity#LoginsList": { @@ -2630,7 +2680,8 @@ } }, "traits": { - "smithy.api#documentation": "Input to the LookupDeveloperIdentityInput
action.
Input to the LookupDeveloperIdentityInput
action.
Returned in response to a successful LookupDeveloperIdentity
\n action.
Returned in response to a successful LookupDeveloperIdentity
\n action.
Input to the MergeDeveloperIdentities
action.
Input to the MergeDeveloperIdentities
action.
Returned in response to a successful MergeDeveloperIdentities
\n action.
Returned in response to a successful MergeDeveloperIdentities
\n action.
Input to the SetIdentityPoolRoles
action.
Input to the SetIdentityPoolRoles
action.
You can use this operation to add principal tags.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cognitoidentity#SetPrincipalTagAttributeMapResponse": { @@ -3181,6 +3247,9 @@ "smithy.api#documentation": "You can use this operation to add principal tags. The PrincipalTags
operation enables you to reference user attributes in your IAM permissions policy.
Input to the UnlinkDeveloperIdentity
action.
Input to the UnlinkDeveloperIdentity
action.
Input to the UnlinkIdentity action.
" + "smithy.api#documentation": "Input to the UnlinkIdentity action.
", + "smithy.api#input": {} } }, "com.amazonaws.cognitoidentity#UnprocessedIdentityId": { @@ -3493,11 +3570,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cognitoidentity#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.cognitoidentity#UpdateIdentityPool": { "type": "operation", diff --git a/codegen/sdk-codegen/aws-models/cognito-sync.json b/codegen/sdk-codegen/aws-models/cognito-sync.json index c88cded2047..6908dc56fcb 100644 --- a/codegen/sdk-codegen/aws-models/cognito-sync.json +++ b/codegen/sdk-codegen/aws-models/cognito-sync.json @@ -162,52 +162,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", @@ -215,13 +219,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -231,224 +244,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://cognito-sync-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://cognito-sync-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": [ { "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": [], - "endpoint": { - "url": "https://cognito-sync-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://cognito-sync-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://cognito-sync.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://cognito-sync.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://cognito-sync.{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://cognito-sync.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -463,8 +427,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -476,8 +440,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -489,8 +453,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -502,8 +466,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -515,8 +479,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -528,8 +492,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -541,8 +505,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -554,8 +518,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -567,8 +531,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -580,8 +544,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -593,8 +557,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -606,8 +570,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -619,8 +583,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -632,8 +596,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -645,8 +609,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -658,8 +622,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -671,8 +635,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -684,8 +648,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -697,8 +661,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -710,8 +674,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -723,8 +687,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -736,8 +700,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -749,8 +724,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 } }, { @@ -762,8 +748,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -775,8 +772,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 } }, { @@ -788,8 +796,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -801,8 +809,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -814,8 +822,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -826,8 +834,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -838,10 +846,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" @@ -860,6 +874,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "AlreadyStreamed", + "httpResponseCode": 400 + }, "smithy.api#documentation": "An exception thrown when a bulk publish operation is requested less than 24 hours after a previous bulk publish operation completed successfully.", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -868,7 +886,7 @@ "com.amazonaws.cognitosync#ApplicationArn": { "type": "string", "traits": { - "smithy.api#pattern": "arn:aws:sns:[-0-9a-z]+:\\d+:app/[A-Z_]+/[a-zA-Z0-9_.-]+" + "smithy.api#pattern": "^arn:aws:sns:[-0-9a-z]+:\\d+:app/[A-Z_]+/[a-zA-Z0-9_.-]+$" } }, "com.amazonaws.cognitosync#ApplicationArnList": { @@ -884,7 +902,7 @@ "min": 20, "max": 2048 }, - "smithy.api#pattern": "arn:aws:iam::\\d+:role/.*" + "smithy.api#pattern": "^arn:aws:iam::\\d+:role/" } }, "com.amazonaws.cognitosync#Boolean": { @@ -943,7 +961,8 @@ } }, "traits": { - "smithy.api#documentation": "The input for the BulkPublish operation." + "smithy.api#documentation": "The input for the BulkPublish operation.", + "smithy.api#input": {} } }, "com.amazonaws.cognitosync#BulkPublishResponse": { @@ -957,30 +976,37 @@ } }, "traits": { - "smithy.api#documentation": "The output for the BulkPublish operation." + "smithy.api#documentation": "The output for the BulkPublish operation.", + "smithy.api#output": {} } }, "com.amazonaws.cognitosync#BulkPublishStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NOT_STARTED", - "name": "NOT_STARTED" - }, - { - "value": "IN_PROGRESS", - "name": "IN_PROGRESS" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "SUCCEEDED", - "name": "SUCCEEDED" + "type": "enum", + "members": { + "NOT_STARTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NOT_STARTED" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCEEDED" } - ] + } } }, "com.amazonaws.cognitosync#ClientContext": { @@ -1027,6 +1053,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "ConcurrentModification", + "httpResponseCode": 400 + }, "smithy.api#documentation": "Thrown if there are parallel requests to modify a resource.
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -1095,7 +1125,7 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": "[a-zA-Z0-9_.:-]+" + "smithy.api#pattern": "^[a-zA-Z0-9_.:-]+$" } }, "com.amazonaws.cognitosync#Date": { @@ -1167,7 +1197,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to delete the specific\n dataset." + "smithy.api#documentation": "A request to delete the specific\n dataset.", + "smithy.api#input": {} } }, "com.amazonaws.cognitosync#DeleteDatasetResponse": { @@ -1181,7 +1212,8 @@ } }, "traits": { - "smithy.api#documentation": "Response to a successful DeleteDataset\n request." + "smithy.api#documentation": "Response to a successful DeleteDataset\n request.", + "smithy.api#output": {} } }, "com.amazonaws.cognitosync#DescribeDataset": { @@ -1247,7 +1279,8 @@ } }, "traits": { - "smithy.api#documentation": "A request for meta data about a dataset (creation\n date, number of records, size) by owner and dataset name." + "smithy.api#documentation": "A request for meta data about a dataset (creation\n date, number of records, size) by owner and dataset name.", + "smithy.api#input": {} } }, "com.amazonaws.cognitosync#DescribeDatasetResponse": { @@ -1261,7 +1294,8 @@ } }, "traits": { - "smithy.api#documentation": "Response to a successful DescribeDataset\n request." + "smithy.api#documentation": "Response to a successful DescribeDataset\n request.", + "smithy.api#output": {} } }, "com.amazonaws.cognitosync#DescribeIdentityPoolUsage": { @@ -1311,7 +1345,8 @@ } }, "traits": { - "smithy.api#documentation": "A request for usage information about\n the identity pool." + "smithy.api#documentation": "A request for usage information about\n the identity pool.", + "smithy.api#input": {} } }, "com.amazonaws.cognitosync#DescribeIdentityPoolUsageResponse": { @@ -1325,7 +1360,8 @@ } }, "traits": { - "smithy.api#documentation": "Response to a successful\n DescribeIdentityPoolUsage request." + "smithy.api#documentation": "Response to a successful\n DescribeIdentityPoolUsage request.", + "smithy.api#output": {} } }, "com.amazonaws.cognitosync#DescribeIdentityUsage": { @@ -1383,7 +1419,8 @@ } }, "traits": { - "smithy.api#documentation": "A request for information about the usage of\n an identity pool." + "smithy.api#documentation": "A request for information about the usage of\n an identity pool.", + "smithy.api#input": {} } }, "com.amazonaws.cognitosync#DescribeIdentityUsageResponse": { @@ -1397,7 +1434,8 @@ } }, "traits": { - "smithy.api#documentation": "The response to a successful\n DescribeIdentityUsage request." + "smithy.api#documentation": "The response to a successful\n DescribeIdentityUsage request.", + "smithy.api#output": {} } }, "com.amazonaws.cognitosync#DeviceId": { @@ -1421,6 +1459,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "DuplicateRequest", + "httpResponseCode": 400 + }, "smithy.api#documentation": "An exception thrown when there is an IN_PROGRESS bulk publish operation for the given identity pool.", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -1488,7 +1530,8 @@ } }, "traits": { - "smithy.api#documentation": "The input for the GetBulkPublishDetails operation." + "smithy.api#documentation": "The input for the GetBulkPublishDetails operation.", + "smithy.api#input": {} } }, "com.amazonaws.cognitosync#GetBulkPublishDetailsResponse": { @@ -1526,7 +1569,8 @@ } }, "traits": { - "smithy.api#documentation": "The output for the GetBulkPublishDetails operation." + "smithy.api#documentation": "The output for the GetBulkPublishDetails operation.", + "smithy.api#output": {} } }, "com.amazonaws.cognitosync#GetCognitoEvents": { @@ -1576,7 +1620,8 @@ } }, "traits": { - "smithy.api#documentation": "A request for a list of the configured Cognito Events
" + "smithy.api#documentation": "A request for a list of the configured Cognito Events
", + "smithy.api#input": {} } }, "com.amazonaws.cognitosync#GetCognitoEventsResponse": { @@ -1590,7 +1635,8 @@ } }, "traits": { - "smithy.api#documentation": "The response from the GetCognitoEvents request
" + "smithy.api#documentation": "The response from the GetCognitoEvents request
", + "smithy.api#output": {} } }, "com.amazonaws.cognitosync#GetIdentityPoolConfiguration": { @@ -1640,7 +1686,8 @@ } }, "traits": { - "smithy.api#documentation": "The input for the GetIdentityPoolConfiguration operation.
" + "smithy.api#documentation": "The input for the GetIdentityPoolConfiguration operation.
", + "smithy.api#input": {} } }, "com.amazonaws.cognitosync#GetIdentityPoolConfigurationResponse": { @@ -1666,7 +1713,8 @@ } }, "traits": { - "smithy.api#documentation": "The output for the GetIdentityPoolConfiguration operation.
" + "smithy.api#documentation": "The output for the GetIdentityPoolConfiguration operation.
", + "smithy.api#output": {} } }, "com.amazonaws.cognitosync#IdentityId": { @@ -1676,7 +1724,7 @@ "min": 1, "max": 55 }, - "smithy.api#pattern": "[\\w-]+:[0-9a-f-]+" + "smithy.api#pattern": "^[\\w-]+:[0-9a-f-]+$" } }, "com.amazonaws.cognitosync#IdentityPoolId": { @@ -1686,7 +1734,7 @@ "min": 1, "max": 55 }, - "smithy.api#pattern": "[\\w-]+:[0-9a-f-]+" + "smithy.api#pattern": "^[\\w-]+:[0-9a-f-]+$" } }, "com.amazonaws.cognitosync#IdentityPoolUsage": { @@ -1773,10 +1821,7 @@ } }, "com.amazonaws.cognitosync#IntegerString": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } + "type": "integer" }, "com.amazonaws.cognitosync#InternalErrorException": { "type": "structure", @@ -1790,6 +1835,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "InternalError", + "httpResponseCode": 500 + }, "smithy.api#documentation": "Indicates an internal service\n error.", "smithy.api#error": "server", "smithy.api#httpError": 500 @@ -1807,6 +1856,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "InvalidConfiguration", + "httpResponseCode": 400 + }, "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -1823,6 +1876,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "InvalidLambdaFunctionOutput", + "httpResponseCode": 400 + }, "smithy.api#documentation": "The AWS Lambda function returned invalid output or an exception.
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -1840,6 +1897,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "InvalidParameter", + "httpResponseCode": 400 + }, "smithy.api#documentation": "Thrown when a request parameter does not comply\n with the associated constraints.", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -1860,6 +1921,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "LambdaThrottled", + "httpResponseCode": 429 + }, "smithy.api#documentation": "AWS Lambda throttled your account, please contact AWS Support
", "smithy.api#error": "client", "smithy.api#httpError": 429 @@ -1877,6 +1942,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "LimitExceeded", + "httpResponseCode": 400 + }, "smithy.api#documentation": "Thrown when the limit on the number of objects or\n operations has been exceeded.", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -1942,14 +2011,14 @@ "MaxResults": { "target": "com.amazonaws.cognitosync#IntegerString", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to be\n returned.", "smithy.api#httpQuery": "maxResults" } } }, "traits": { - "smithy.api#documentation": "Request for a list of datasets for an\n identity." + "smithy.api#documentation": "Request for a list of datasets for an\n identity.", + "smithy.api#input": {} } }, "com.amazonaws.cognitosync#ListDatasetsResponse": { @@ -1976,7 +2045,8 @@ } }, "traits": { - "smithy.api#documentation": "Returned for a successful ListDatasets\n request." + "smithy.api#documentation": "Returned for a successful ListDatasets\n request.", + "smithy.api#output": {} } }, "com.amazonaws.cognitosync#ListIdentityPoolUsage": { @@ -2023,14 +2093,14 @@ "MaxResults": { "target": "com.amazonaws.cognitosync#IntegerString", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to\n be returned.", "smithy.api#httpQuery": "maxResults" } } }, "traits": { - "smithy.api#documentation": "A request for usage information on an\n identity pool." + "smithy.api#documentation": "A request for usage information on an\n identity pool.", + "smithy.api#input": {} } }, "com.amazonaws.cognitosync#ListIdentityPoolUsageResponse": { @@ -2064,7 +2134,8 @@ } }, "traits": { - "smithy.api#documentation": "Returned for a successful\n ListIdentityPoolUsage request." + "smithy.api#documentation": "Returned for a successful\n ListIdentityPoolUsage request.", + "smithy.api#output": {} } }, "com.amazonaws.cognitosync#ListRecords": { @@ -2142,7 +2213,6 @@ "MaxResults": { "target": "com.amazonaws.cognitosync#IntegerString", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to be\n returned.", "smithy.api#httpQuery": "maxResults" } @@ -2156,7 +2226,8 @@ } }, "traits": { - "smithy.api#documentation": "A request for a list of records." + "smithy.api#documentation": "A request for a list of records.", + "smithy.api#input": {} } }, "com.amazonaws.cognitosync#ListRecordsResponse": { @@ -2221,7 +2292,8 @@ } }, "traits": { - "smithy.api#documentation": "Returned for a successful\n ListRecordsRequest." + "smithy.api#documentation": "Returned for a successful\n ListRecordsRequest.", + "smithy.api#output": {} } }, "com.amazonaws.cognitosync#Long": { @@ -2245,47 +2317,59 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "NotAuthorizedError", + "httpResponseCode": 403 + }, "smithy.api#documentation": "Thrown when a user is not authorized to access the\n requested resource.", "smithy.api#error": "client", "smithy.api#httpError": 403 } }, "com.amazonaws.cognitosync#Operation": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "replace", - "name": "replace" - }, - { - "value": "remove", - "name": "remove" + "type": "enum", + "members": { + "replace": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "replace" } - ] + }, + "remove": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "remove" + } + } } }, "com.amazonaws.cognitosync#Platform": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "APNS", - "name": "APNS" - }, - { - "value": "APNS_SANDBOX", - "name": "APNS_SANDBOX" - }, - { - "value": "GCM", - "name": "GCM" - }, - { - "value": "ADM", - "name": "ADM" + "type": "enum", + "members": { + "APNS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "APNS" } - ] + }, + "APNS_SANDBOX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "APNS_SANDBOX" + } + }, + "GCM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GCM" + } + }, + "ADM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ADM" + } + } } }, "com.amazonaws.cognitosync#PushSync": { @@ -2498,7 +2582,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to RegisterDevice.
" + "smithy.api#documentation": "A request to RegisterDevice.
", + "smithy.api#input": {} } }, "com.amazonaws.cognitosync#RegisterDeviceResponse": { @@ -2512,7 +2597,8 @@ } }, "traits": { - "smithy.api#documentation": "Response to a RegisterDevice request.
" + "smithy.api#documentation": "Response to a RegisterDevice request.
", + "smithy.api#output": {} } }, "com.amazonaws.cognitosync#ResourceConflictException": { @@ -2527,6 +2613,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "ResourceConflict", + "httpResponseCode": 409 + }, "smithy.api#documentation": "Thrown if an update can't be applied because\n the resource was changed by another call and this would result in a conflict.", "smithy.api#error": "client", "smithy.api#httpError": 409 @@ -2544,6 +2634,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "ResourceNotFound", + "httpResponseCode": 404 + }, "smithy.api#documentation": "Thrown if the resource doesn't\n exist.", "smithy.api#error": "client", "smithy.api#httpError": 404 @@ -2603,7 +2697,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to configure Cognito Events\"
\"" + "smithy.api#documentation": "A request to configure Cognito Events\"
\"", + "smithy.api#input": {} } }, "com.amazonaws.cognitosync#SetIdentityPoolConfiguration": { @@ -2668,7 +2763,8 @@ } }, "traits": { - "smithy.api#documentation": "The input for the SetIdentityPoolConfiguration operation.
" + "smithy.api#documentation": "The input for the SetIdentityPoolConfiguration operation.
", + "smithy.api#input": {} } }, "com.amazonaws.cognitosync#SetIdentityPoolConfigurationResponse": { @@ -2694,7 +2790,8 @@ } }, "traits": { - "smithy.api#documentation": "The output for the SetIdentityPoolConfiguration operation
" + "smithy.api#documentation": "The output for the SetIdentityPoolConfiguration operation
", + "smithy.api#output": {} } }, "com.amazonaws.cognitosync#StreamName": { @@ -2707,18 +2804,20 @@ } }, "com.amazonaws.cognitosync#StreamingStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" } - ] + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + } } }, "com.amazonaws.cognitosync#String": { @@ -2798,14 +2897,16 @@ } }, "traits": { - "smithy.api#documentation": "A request to SubscribeToDatasetRequest.
" + "smithy.api#documentation": "A request to SubscribeToDatasetRequest.
", + "smithy.api#input": {} } }, "com.amazonaws.cognitosync#SubscribeToDatasetResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Response to a SubscribeToDataset request.
" + "smithy.api#documentation": "Response to a SubscribeToDataset request.
", + "smithy.api#output": {} } }, "com.amazonaws.cognitosync#SyncSessionToken": { @@ -2823,6 +2924,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "TooManyRequests", + "httpResponseCode": 429 + }, "smithy.api#documentation": "Thrown if the request is\n throttled.", "smithy.api#error": "client", "smithy.api#httpError": 429 @@ -2902,14 +3007,16 @@ } }, "traits": { - "smithy.api#documentation": "A request to UnsubscribeFromDataset.
" + "smithy.api#documentation": "A request to UnsubscribeFromDataset.
", + "smithy.api#input": {} } }, "com.amazonaws.cognitosync#UnsubscribeFromDatasetResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Response to an UnsubscribeFromDataset request.
" + "smithy.api#documentation": "Response to an UnsubscribeFromDataset request.
", + "smithy.api#output": {} } }, "com.amazonaws.cognitosync#UpdateRecords": { @@ -3013,7 +3120,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to post updates to records or add and\n delete records for a dataset and user." + "smithy.api#documentation": "A request to post updates to records or add and\n delete records for a dataset and user.", + "smithy.api#input": {} } }, "com.amazonaws.cognitosync#UpdateRecordsResponse": { @@ -3027,7 +3135,8 @@ } }, "traits": { - "smithy.api#documentation": "Returned for a successful\n UpdateRecordsRequest." + "smithy.api#documentation": "Returned for a successful\n UpdateRecordsRequest.", + "smithy.api#output": {} } } } diff --git a/codegen/sdk-codegen/aws-models/comprehend.json b/codegen/sdk-codegen/aws-models/comprehend.json index 2b8fb4d1de7..4b5591f9fe6 100644 --- a/codegen/sdk-codegen/aws-models/comprehend.json +++ b/codegen/sdk-codegen/aws-models/comprehend.json @@ -1471,52 +1471,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", @@ -1524,13 +1528,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -1540,224 +1553,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://comprehend-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://comprehend-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": [ { "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": [], - "endpoint": { - "url": "https://comprehend-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://comprehend-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://comprehend.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://comprehend.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://comprehend.{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://comprehend.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/comprehendmedical.json b/codegen/sdk-codegen/aws-models/comprehendmedical.json index a566ff30bc5..61a48ca1796 100644 --- a/codegen/sdk-codegen/aws-models/comprehendmedical.json +++ b/codegen/sdk-codegen/aws-models/comprehendmedical.json @@ -485,52 +485,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", @@ -538,13 +542,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -554,224 +567,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://comprehendmedical-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://comprehendmedical-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": [ { "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": [], - "endpoint": { - "url": "https://comprehendmedical-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://comprehendmedical-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://comprehendmedical.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://comprehendmedical.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://comprehendmedical.{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://comprehendmedical.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/config-service.json b/codegen/sdk-codegen/aws-models/config-service.json index 07c3bf0502c..d98e34a8d6b 100644 --- a/codegen/sdk-codegen/aws-models/config-service.json +++ b/codegen/sdk-codegen/aws-models/config-service.json @@ -14463,6 +14463,7 @@ "arnNamespace": "config", "cloudFormationName": "Config", "cloudTrailEventSource": "configservice.amazonaws.com", + "docId": "config-2014-11-12", "endpointPrefix": "config" }, "aws.auth#sigv4": { diff --git a/codegen/sdk-codegen/aws-models/connect-contact-lens.json b/codegen/sdk-codegen/aws-models/connect-contact-lens.json index 259c6d41d22..4b494369795 100644 --- a/codegen/sdk-codegen/aws-models/connect-contact-lens.json +++ b/codegen/sdk-codegen/aws-models/connect-contact-lens.json @@ -127,52 +127,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", @@ -180,13 +184,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -196,224 +209,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://contact-lens-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://contact-lens-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": [ { "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": [], - "endpoint": { - "url": "https://contact-lens-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://contact-lens-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://contact-lens.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://contact-lens.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://contact-lens.{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://contact-lens.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -428,8 +392,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -441,8 +405,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -454,8 +418,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -467,8 +431,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -480,8 +444,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -493,8 +457,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -506,8 +470,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -519,8 +483,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -532,8 +496,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -545,8 +509,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -558,8 +522,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -571,8 +535,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -584,8 +548,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -597,8 +561,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -610,8 +574,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -623,8 +587,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -636,8 +600,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -649,8 +613,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -662,8 +626,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -675,8 +650,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 } }, { @@ -688,8 +674,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -701,8 +698,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 } }, { @@ -714,8 +722,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -727,8 +735,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -740,8 +748,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -752,8 +760,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -764,10 +772,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" @@ -818,7 +832,7 @@ "min": 1, "max": 256 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.connectcontactlens#CharacterOffset": { @@ -861,7 +875,7 @@ "min": 1, "max": 256 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.connectcontactlens#InstanceId": { @@ -871,7 +885,7 @@ "min": 1, "max": 256 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.connectcontactlens#InternalServiceException": { @@ -996,6 +1010,9 @@ "smithy.api#documentation": "The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.connectcontactlens#ListRealtimeContactAnalysisSegmentsResponse": { @@ -1014,6 +1031,9 @@ "smithy.api#documentation": "If there are additional results, this is the token for the next set of results. If response includes nextToken
there are two possible scenarios:
There are more segments so another call is required to get them.
\nThere are no more segments at this time, but more may be available later (real-time\n analysis is in progress) so the client should call the operation again to get new\n segments.
\nIf response does not include nextToken
, the analysis is completed (successfully or failed) and there are no more segments to retrieve.
Deletes the specified report.
" + "smithy.api#documentation": "Deletes the specified report.
", + "smithy.api#examples": [ + { + "title": "To delete the AWS Cost and Usage report named ExampleReport.", + "documentation": "The following example deletes the AWS Cost and Usage report named ExampleReport.", + "input": { + "ReportName": "ExampleReport" + } + } + ] } }, "com.amazonaws.costandusagereportservice#DeleteReportDefinitionRequest": { @@ -1054,6 +1028,49 @@ ], "traits": { "smithy.api#documentation": "Lists the AWS Cost and Usage reports available to this account.
", + "smithy.api#examples": [ + { + "title": "To list the AWS Cost and Usage reports for the account.", + "documentation": "The following example lists the AWS Cost and Usage reports for the account.", + "input": { + "MaxResults": 5 + }, + "output": { + "ReportDefinitions": [ + { + "AdditionalArtifacts": [ + "QUICKSIGHT" + ], + "AdditionalSchemaElements": [ + "RESOURCES" + ], + "Compression": "GZIP", + "Format": "textORcsv", + "ReportName": "ExampleReport", + "S3Bucket": "example-s3-bucket", + "S3Prefix": "exampleprefix", + "S3Region": "us-east-1", + "TimeUnit": "HOURLY" + }, + { + "AdditionalArtifacts": [ + "QUICKSIGHT" + ], + "AdditionalSchemaElements": [ + "RESOURCES" + ], + "Compression": "GZIP", + "Format": "textORcsv", + "ReportName": "ExampleReport2", + "S3Bucket": "example-s3-bucket", + "S3Prefix": "exampleprefix", + "S3Region": "us-east-1", + "TimeUnit": "HOURLY" + } + ] + } + } + ], "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -1215,7 +1232,31 @@ } ], "traits": { - "smithy.api#documentation": "Creates a new report using the description that you provide.
" + "smithy.api#documentation": "Creates a new report using the description that you provide.
", + "smithy.api#examples": [ + { + "title": "To create a report named ExampleReport.", + "documentation": "The following example creates a AWS Cost and Usage report named ExampleReport.", + "input": { + "ReportDefinition": { + "ReportName": "ExampleReport", + "TimeUnit": "DAILY", + "Format": "textORcsv", + "Compression": "ZIP", + "AdditionalSchemaElements": [ + "RESOURCES" + ], + "S3Bucket": "example-s3-bucket", + "S3Prefix": "exampleprefix", + "S3Region": "us-east-1", + "AdditionalArtifacts": [ + "REDSHIFT", + "QUICKSIGHT" + ] + } + } + } + ] } }, "com.amazonaws.costandusagereportservice#PutReportDefinitionRequest": { diff --git a/codegen/sdk-codegen/aws-models/cost-explorer.json b/codegen/sdk-codegen/aws-models/cost-explorer.json index 59af09a0136..f2bb12892f3 100644 --- a/codegen/sdk-codegen/aws-models/cost-explorer.json +++ b/codegen/sdk-codegen/aws-models/cost-explorer.json @@ -154,6 +154,7 @@ "arnNamespace": "ce", "cloudFormationName": "CostExplorer", "cloudTrailEventSource": "costexplorer.amazonaws.com", + "docId": "ce-2017-10-25", "endpointPrefix": "ce" }, "aws.auth#sigv4": { diff --git a/codegen/sdk-codegen/aws-models/data-pipeline.json b/codegen/sdk-codegen/aws-models/data-pipeline.json index 5e486d57132..491529167ba 100644 --- a/codegen/sdk-codegen/aws-models/data-pipeline.json +++ b/codegen/sdk-codegen/aws-models/data-pipeline.json @@ -79,14 +79,16 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for ActivatePipeline.
" + "smithy.api#documentation": "Contains the parameters for ActivatePipeline.
", + "smithy.api#input": {} } }, "com.amazonaws.datapipeline#ActivatePipelineOutput": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Contains the output of ActivatePipeline.
" + "smithy.api#documentation": "Contains the output of ActivatePipeline.
", + "smithy.api#output": {} } }, "com.amazonaws.datapipeline#AddTags": { @@ -134,14 +136,16 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for AddTags.
" + "smithy.api#documentation": "Contains the parameters for AddTags.
", + "smithy.api#input": {} } }, "com.amazonaws.datapipeline#AddTagsOutput": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Contains the output of AddTags.
" + "smithy.api#documentation": "Contains the output of AddTags.
", + "smithy.api#output": {} } }, "com.amazonaws.datapipeline#CreatePipeline": { @@ -195,7 +199,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for CreatePipeline.
" + "smithy.api#documentation": "Contains the parameters for CreatePipeline.
", + "smithy.api#input": {} } }, "com.amazonaws.datapipeline#CreatePipelineOutput": { @@ -210,7 +215,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output of CreatePipeline.
" + "smithy.api#documentation": "Contains the output of CreatePipeline.
", + "smithy.api#output": {} } }, "com.amazonaws.datapipeline#DataPipeline": { @@ -281,6 +287,7 @@ "arnNamespace": "datapipeline", "cloudFormationName": "DataPipeline", "cloudTrailEventSource": "datapipeline.amazonaws.com", + "docId": "datapipeline-2012-10-29", "endpointPrefix": "datapipeline" }, "aws.auth#sigv4": { @@ -352,52 +359,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", @@ -405,13 +416,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -421,224 +441,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://datapipeline-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://datapipeline-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": [ { "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": [], - "endpoint": { - "url": "https://datapipeline-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://datapipeline-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://datapipeline.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://datapipeline.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://datapipeline.{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://datapipeline.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -653,8 +624,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -666,8 +637,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -679,8 +650,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -692,8 +663,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -705,8 +676,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -718,8 +689,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -731,8 +702,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -744,8 +715,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -757,8 +728,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -770,8 +741,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -783,8 +754,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -796,8 +767,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -809,8 +780,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -822,8 +793,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -835,8 +806,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -848,8 +819,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -861,8 +832,19 @@ }, "params": { "Region": "us-iso-east-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 } }, { @@ -874,8 +856,30 @@ }, "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 + } + }, + { + "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 } }, { @@ -887,8 +891,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 } }, { @@ -900,8 +915,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -913,8 +928,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -926,8 +941,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -938,8 +953,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -950,10 +965,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" @@ -1004,14 +1025,16 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for DeactivatePipeline.
" + "smithy.api#documentation": "Contains the parameters for DeactivatePipeline.
", + "smithy.api#input": {} } }, "com.amazonaws.datapipeline#DeactivatePipelineOutput": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Contains the output of DeactivatePipeline.
" + "smithy.api#documentation": "Contains the output of DeactivatePipeline.
", + "smithy.api#output": {} } }, "com.amazonaws.datapipeline#DeletePipeline": { @@ -1049,7 +1072,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for DeletePipeline.
" + "smithy.api#documentation": "Contains the parameters for DeletePipeline.
", + "smithy.api#input": {} } }, "com.amazonaws.datapipeline#DescribeObjects": { @@ -1115,7 +1139,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for DescribeObjects.
" + "smithy.api#documentation": "Contains the parameters for DescribeObjects.
", + "smithy.api#input": {} } }, "com.amazonaws.datapipeline#DescribeObjectsOutput": { @@ -1143,7 +1168,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output of DescribeObjects.
" + "smithy.api#documentation": "Contains the output of DescribeObjects.
", + "smithy.api#output": {} } }, "com.amazonaws.datapipeline#DescribePipelines": { @@ -1184,7 +1210,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for DescribePipelines.
" + "smithy.api#documentation": "Contains the parameters for DescribePipelines.
", + "smithy.api#input": {} } }, "com.amazonaws.datapipeline#DescribePipelinesOutput": { @@ -1199,7 +1226,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output of DescribePipelines.
" + "smithy.api#documentation": "Contains the output of DescribePipelines.
", + "smithy.api#output": {} } }, "com.amazonaws.datapipeline#EvaluateExpression": { @@ -1257,7 +1285,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for EvaluateExpression.
" + "smithy.api#documentation": "Contains the parameters for EvaluateExpression.
", + "smithy.api#input": {} } }, "com.amazonaws.datapipeline#EvaluateExpressionOutput": { @@ -1272,7 +1301,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output of EvaluateExpression.
" + "smithy.api#documentation": "Contains the output of EvaluateExpression.
", + "smithy.api#output": {} } }, "com.amazonaws.datapipeline#Field": { @@ -1346,7 +1376,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for GetPipelineDefinition.
" + "smithy.api#documentation": "Contains the parameters for GetPipelineDefinition.
", + "smithy.api#input": {} } }, "com.amazonaws.datapipeline#GetPipelineDefinitionOutput": { @@ -1372,7 +1403,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output of GetPipelineDefinition.
" + "smithy.api#documentation": "Contains the output of GetPipelineDefinition.
", + "smithy.api#output": {} } }, "com.amazonaws.datapipeline#InstanceIdentity": { @@ -1461,7 +1493,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for ListPipelines.
" + "smithy.api#documentation": "Contains the parameters for ListPipelines.
", + "smithy.api#input": {} } }, "com.amazonaws.datapipeline#ListPipelinesOutput": { @@ -1489,7 +1522,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output of ListPipelines.
" + "smithy.api#documentation": "Contains the output of ListPipelines.
", + "smithy.api#output": {} } }, "com.amazonaws.datapipeline#Operator": { @@ -1513,30 +1547,38 @@ } }, "com.amazonaws.datapipeline#OperatorType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EQ", - "name": "Equal" - }, - { - "value": "REF_EQ", - "name": "ReferenceEqual" - }, - { - "value": "LE", - "name": "LessThanOrEqual" - }, - { - "value": "GE", - "name": "GreaterThanOrEqual" - }, - { - "value": "BETWEEN", - "name": "Between" + "type": "enum", + "members": { + "Equal": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EQ" } - ] + }, + "ReferenceEqual": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REF_EQ" + } + }, + "LessThanOrEqual": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LE" + } + }, + "GreaterThanOrEqual": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GE" + } + }, + "Between": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BETWEEN" + } + } } }, "com.amazonaws.datapipeline#ParameterAttribute": { @@ -1811,7 +1853,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for PollForTask.
" + "smithy.api#documentation": "Contains the parameters for PollForTask.
", + "smithy.api#input": {} } }, "com.amazonaws.datapipeline#PollForTaskOutput": { @@ -1825,7 +1868,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output of PollForTask.
" + "smithy.api#documentation": "Contains the output of PollForTask.
", + "smithy.api#output": {} } }, "com.amazonaws.datapipeline#PutPipelineDefinition": { @@ -1885,7 +1929,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for PutPipelineDefinition.
" + "smithy.api#documentation": "Contains the parameters for PutPipelineDefinition.
", + "smithy.api#input": {} } }, "com.amazonaws.datapipeline#PutPipelineDefinitionOutput": { @@ -1913,7 +1958,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output of PutPipelineDefinition.
" + "smithy.api#documentation": "Contains the output of PutPipelineDefinition.
", + "smithy.api#output": {} } }, "com.amazonaws.datapipeline#Query": { @@ -1999,7 +2045,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for QueryObjects.
" + "smithy.api#documentation": "Contains the parameters for QueryObjects.
", + "smithy.api#input": {} } }, "com.amazonaws.datapipeline#QueryObjectsOutput": { @@ -2026,7 +2073,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output of QueryObjects.
" + "smithy.api#documentation": "Contains the output of QueryObjects.
", + "smithy.api#output": {} } }, "com.amazonaws.datapipeline#RemoveTags": { @@ -2074,14 +2122,16 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for RemoveTags.
" + "smithy.api#documentation": "Contains the parameters for RemoveTags.
", + "smithy.api#input": {} } }, "com.amazonaws.datapipeline#RemoveTagsOutput": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Contains the output of RemoveTags.
" + "smithy.api#documentation": "Contains the output of RemoveTags.
", + "smithy.api#output": {} } }, "com.amazonaws.datapipeline#ReportTaskProgress": { @@ -2131,7 +2181,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for ReportTaskProgress.
" + "smithy.api#documentation": "Contains the parameters for ReportTaskProgress.
", + "smithy.api#input": {} } }, "com.amazonaws.datapipeline#ReportTaskProgressOutput": { @@ -2147,7 +2198,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output of ReportTaskProgress.
" + "smithy.api#documentation": "Contains the output of ReportTaskProgress.
", + "smithy.api#output": {} } }, "com.amazonaws.datapipeline#ReportTaskRunnerHeartbeat": { @@ -2194,7 +2246,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for ReportTaskRunnerHeartbeat.
" + "smithy.api#documentation": "Contains the parameters for ReportTaskRunnerHeartbeat.
", + "smithy.api#input": {} } }, "com.amazonaws.datapipeline#ReportTaskRunnerHeartbeatOutput": { @@ -2210,7 +2263,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output of ReportTaskRunnerHeartbeat.
" + "smithy.api#documentation": "Contains the output of ReportTaskRunnerHeartbeat.
", + "smithy.api#output": {} } }, "com.amazonaws.datapipeline#Selector": { @@ -2291,7 +2345,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for SetStatus.
" + "smithy.api#documentation": "Contains the parameters for SetStatus.
", + "smithy.api#input": {} } }, "com.amazonaws.datapipeline#SetTaskStatus": { @@ -2360,14 +2415,16 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for SetTaskStatus.
" + "smithy.api#documentation": "Contains the parameters for SetTaskStatus.
", + "smithy.api#input": {} } }, "com.amazonaws.datapipeline#SetTaskStatusOutput": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Contains the output of SetTaskStatus.
" + "smithy.api#documentation": "Contains the output of SetTaskStatus.
", + "smithy.api#output": {} } }, "com.amazonaws.datapipeline#Tag": { @@ -2440,22 +2497,26 @@ } }, "com.amazonaws.datapipeline#TaskStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FINISHED", - "name": "FINISHED" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "FALSE", - "name": "FALSE" + "type": "enum", + "members": { + "FINISHED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FINISHED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" } - ] + }, + "FALSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FALSE" + } + } } }, "com.amazonaws.datapipeline#ValidatePipelineDefinition": { @@ -2515,7 +2576,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for ValidatePipelineDefinition.
" + "smithy.api#documentation": "Contains the parameters for ValidatePipelineDefinition.
", + "smithy.api#input": {} } }, "com.amazonaws.datapipeline#ValidatePipelineDefinitionOutput": { @@ -2543,7 +2605,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output of ValidatePipelineDefinition.
" + "smithy.api#documentation": "Contains the output of ValidatePipelineDefinition.
", + "smithy.api#output": {} } }, "com.amazonaws.datapipeline#ValidationError": { @@ -2605,7 +2668,7 @@ "min": 1, "max": 256 }, - "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" + "smithy.api#pattern": "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*$" } }, "com.amazonaws.datapipeline#attributeValueString": { @@ -2615,7 +2678,7 @@ "min": 0, "max": 10240 }, - "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" + "smithy.api#pattern": "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*$" } }, "com.amazonaws.datapipeline#boolean": { @@ -2643,7 +2706,7 @@ "min": 1, "max": 256 }, - "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" + "smithy.api#pattern": "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*$" } }, "com.amazonaws.datapipeline#fieldStringValue": { @@ -2653,7 +2716,7 @@ "min": 0, "max": 10240 }, - "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" + "smithy.api#pattern": "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*$" } }, "com.amazonaws.datapipeline#id": { @@ -2663,7 +2726,7 @@ "min": 1, "max": 1024 }, - "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" + "smithy.api#pattern": "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*$" } }, "com.amazonaws.datapipeline#idList": { @@ -2682,7 +2745,7 @@ "min": 0, "max": 20971520 }, - "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" + "smithy.api#pattern": "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*$" } }, "com.amazonaws.datapipeline#pipelineList": { @@ -2698,7 +2761,7 @@ "min": 0, "max": 1024 }, - "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" + "smithy.api#pattern": "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*$" } }, "com.amazonaws.datapipeline#stringList": { @@ -2744,7 +2807,7 @@ "min": 1, "max": 2048 }, - "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" + "smithy.api#pattern": "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*$" } }, "com.amazonaws.datapipeline#timestamp": { @@ -2757,7 +2820,7 @@ "min": 0, "max": 10000 }, - "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" + "smithy.api#pattern": "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*$" } }, "com.amazonaws.datapipeline#validationMessages": { diff --git a/codegen/sdk-codegen/aws-models/database-migration-service.json b/codegen/sdk-codegen/aws-models/database-migration-service.json index bcd6926bc86..a52cd5841bf 100644 --- a/codegen/sdk-codegen/aws-models/database-migration-service.json +++ b/codegen/sdk-codegen/aws-models/database-migration-service.json @@ -474,6 +474,7 @@ "arnNamespace": "dms", "cloudFormationName": "DMS", "cloudTrailEventSource": "databasemigrationservice.amazonaws.com", + "docId": "dms-2016-01-01", "endpointPrefix": "dms" }, "aws.auth#sigv4": { diff --git a/codegen/sdk-codegen/aws-models/databrew.json b/codegen/sdk-codegen/aws-models/databrew.json index 4250471ccda..2856d6e92e7 100644 --- a/codegen/sdk-codegen/aws-models/databrew.json +++ b/codegen/sdk-codegen/aws-models/databrew.json @@ -240,52 +240,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", @@ -293,13 +297,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -309,92 +322,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://databrew-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://databrew-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -403,149 +407,109 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "us-gov-west-1" - ] - } - ], - "endpoint": { - "url": "https://databrew.us-gov-west-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "ref": "Region" }, - { - "conditions": [], - "endpoint": { - "url": "https://databrew-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "us-gov-west-1" ] } - ] + ], + "endpoint": { + "url": "https://databrew.us-gov-west-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://databrew-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://databrew.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://databrew.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://databrew.{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://databrew.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -560,8 +524,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -573,8 +537,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -586,8 +550,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -599,8 +563,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -612,8 +576,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -625,8 +589,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -638,8 +602,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -651,8 +615,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -664,8 +628,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -677,8 +641,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -690,8 +654,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -703,8 +667,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -716,8 +680,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -729,8 +693,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -742,8 +706,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -755,8 +719,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -768,8 +732,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -781,8 +745,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -794,8 +758,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -807,8 +771,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -820,8 +784,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -833,8 +797,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -846,8 +810,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -859,8 +823,8 @@ }, "params": { "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -872,8 +836,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -885,8 +849,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -898,8 +862,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -911,8 +875,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -924,8 +888,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -937,8 +901,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -950,8 +914,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -963,8 +927,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -976,8 +940,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -989,8 +964,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 } }, { @@ -1002,8 +988,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -1015,8 +1012,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 } }, { @@ -1028,8 +1036,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1041,8 +1049,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1054,8 +1062,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1066,8 +1074,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1078,10 +1086,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" @@ -1223,6 +1237,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#BatchDeleteRecipeVersionResponse": { @@ -1241,6 +1258,9 @@ "smithy.api#documentation": "Errors, if any, that occurred while attempting to delete the recipe versions.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#Bucket": { @@ -1574,6 +1594,9 @@ "smithy.api#documentation": "Metadata tags to apply to this dataset.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#CreateDatasetResponse": { @@ -1586,6 +1609,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#CreateProfileJob": { @@ -1715,6 +1741,9 @@ "smithy.api#documentation": "Sample configuration for profile jobs only. Determines the number of rows on which the\n profile job will be executed. If a JobSample value is not provided, the default value\n will be used. The default value is CUSTOM_ROWS for the mode parameter and 20000 for the\n size parameter.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#CreateProfileJobResponse": { @@ -1727,6 +1756,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#CreateProject": { @@ -1800,6 +1832,9 @@ "smithy.api#documentation": "Metadata tags to apply to this project.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#CreateProjectResponse": { @@ -1812,6 +1847,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#CreateRecipe": { @@ -1971,6 +2009,9 @@ "smithy.api#documentation": "The job's timeout in minutes. A job that attempts to run longer than this timeout\n period ends with a status of TIMEOUT
.
Metadata tags to apply to this recipe.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#CreateRecipeResponse": { @@ -2026,6 +2073,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#CreateRuleset": { @@ -2092,6 +2142,9 @@ "smithy.api#documentation": "Metadata tags to apply to the ruleset.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#CreateRulesetResponse": { @@ -2104,6 +2157,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#CreateSchedule": { @@ -2163,6 +2219,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#CreateScheduleResponse": { @@ -2175,6 +2234,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#CreatedBy": { @@ -2656,6 +2718,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#DeleteDatasetResponse": { @@ -2668,6 +2733,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#DeleteJob": { @@ -2709,6 +2777,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#DeleteJobResponse": { @@ -2721,6 +2792,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#DeleteProject": { @@ -2762,6 +2836,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#DeleteProjectResponse": { @@ -2774,6 +2851,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#DeleteRecipeVersion": { @@ -2823,6 +2903,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#DeleteRecipeVersionResponse": { @@ -2842,6 +2925,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#DeleteRuleset": { @@ -2883,6 +2969,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#DeleteRulesetResponse": { @@ -2895,6 +2984,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#DeleteSchedule": { @@ -2933,6 +3025,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#DeleteScheduleResponse": { @@ -2945,6 +3040,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#Delimiter": { @@ -2992,6 +3090,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#DescribeDatasetResponse": { @@ -3067,6 +3168,9 @@ "smithy.api#documentation": "The Amazon Resource Name (ARN) of the dataset.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#DescribeJob": { @@ -3105,6 +3209,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#DescribeJobResponse": { @@ -3255,6 +3362,9 @@ "smithy.api#documentation": "Sample configuration for profile jobs only. Determines the number of rows on which the\n profile job will be executed.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#DescribeJobRun": { @@ -3301,6 +3411,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#DescribeJobRunResponse": { @@ -3420,6 +3533,9 @@ "smithy.api#documentation": "Sample configuration for profile jobs only. Determines the number of rows on which the\n profile job will be executed. If a JobSample value is not provided, the default value\n will be used. The default value is CUSTOM_ROWS for the mode parameter and 20000 for the\n size parameter.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#DescribeProject": { @@ -3458,6 +3574,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#DescribeProjectResponse": { @@ -3545,6 +3664,9 @@ "smithy.api#documentation": "The date and time when the project was opened.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#DescribeRecipe": { @@ -3590,6 +3712,9 @@ "smithy.api#httpQuery": "recipeVersion" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#DescribeRecipeResponse": { @@ -3674,6 +3799,9 @@ "smithy.api#documentation": "The recipe version identifier.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#DescribeRuleset": { @@ -3712,6 +3840,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#DescribeRulesetResponse": { @@ -3778,6 +3909,9 @@ "smithy.api#documentation": "Metadata tags that have been applied to the ruleset.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#DescribeSchedule": { @@ -3816,6 +3950,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#DescribeScheduleResponse": { @@ -3876,6 +4013,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#Disabled": { @@ -4652,6 +4792,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#ListDatasetsResponse": { @@ -4670,6 +4813,9 @@ "smithy.api#documentation": "A token that you can use in a subsequent call to retrieve the next set of\n results.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#ListJobRuns": { @@ -4728,6 +4874,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#ListJobRunsResponse": { @@ -4746,6 +4895,9 @@ "smithy.api#documentation": "A token that you can use in a subsequent call to retrieve the next set of\n results.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#ListJobs": { @@ -4807,6 +4959,9 @@ "smithy.api#httpQuery": "projectName" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#ListJobsResponse": { @@ -4825,6 +4980,9 @@ "smithy.api#documentation": "A token that you can use in a subsequent call to retrieve the next set of\n results.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#ListProjects": { @@ -4872,6 +5030,9 @@ "smithy.api#httpQuery": "maxResults" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#ListProjectsResponse": { @@ -4890,6 +5051,9 @@ "smithy.api#documentation": "A token that you can use in a subsequent call to retrieve the next set of\n results.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#ListRecipeVersions": { @@ -4945,6 +5109,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#ListRecipeVersionsResponse": { @@ -4963,6 +5130,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#ListRecipes": { @@ -5017,6 +5187,9 @@ "smithy.api#httpQuery": "recipeVersion" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#ListRecipesResponse": { @@ -5035,6 +5208,9 @@ "smithy.api#documentation": "A token that you can use in a subsequent call to retrieve the next set of\n results.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#ListRulesets": { @@ -5092,6 +5268,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#ListRulesetsResponse": { @@ -5110,6 +5289,9 @@ "smithy.api#documentation": "A token that you can use in a subsequent call to retrieve the next set of\n results.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#ListSchedules": { @@ -5164,6 +5346,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#ListSchedulesResponse": { @@ -5182,6 +5367,9 @@ "smithy.api#documentation": "A token that you can use in a subsequent call to retrieve the next set of\n results.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#ListTagsForResource": { @@ -5223,6 +5411,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#ListTagsForResourceResponse": { @@ -5234,6 +5425,9 @@ "smithy.api#documentation": "A list of tags associated with the DataBrew resource.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#LocaleCode": { @@ -5817,6 +6011,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#PublishRecipeResponse": { @@ -5829,6 +6026,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#PublishedBy": { @@ -6535,6 +6735,9 @@ "ViewFrame": { "target": "com.amazonaws.databrew#ViewFrame" } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#SendProjectSessionActionResponse": { @@ -6559,6 +6762,9 @@ "smithy.api#documentation": "A unique identifier for the action that was performed.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#ServiceQuotaExceededException": { @@ -6754,6 +6960,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#StartJobRunResponse": { @@ -6766,6 +6975,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#StartProjectSession": { @@ -6817,6 +7029,9 @@ "smithy.api#documentation": "A value that, if true, enables you to take control of a session, even if a different\n client is currently accessing the project.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#StartProjectSessionResponse": { @@ -6835,6 +7050,9 @@ "smithy.api#documentation": "A system-generated identifier for the session.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#StartRowIndex": { @@ -6974,6 +7192,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#StopJobRunResponse": { @@ -6986,6 +7207,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#TableName": { @@ -7079,11 +7303,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.databrew#TagValue": { "type": "string", @@ -7252,11 +7482,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.databrew#UpdateDataset": { "type": "operation", @@ -7318,6 +7554,9 @@ "smithy.api#documentation": "A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#UpdateDatasetResponse": { @@ -7330,6 +7569,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#UpdateProfileJob": { @@ -7441,6 +7683,9 @@ "smithy.api#documentation": "Sample configuration for Profile Jobs only. Determines the number of rows on which the\n Profile job will be executed. If a JobSample value is not provided for profile jobs, the\n default value will be used. The default value is CUSTOM_ROWS for the mode parameter and\n 20000 for the size parameter.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#UpdateProfileJobResponse": { @@ -7453,6 +7698,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#UpdateProject": { @@ -7501,6 +7749,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#UpdateProjectResponse": { @@ -7519,6 +7770,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#UpdateRecipe": { @@ -7649,6 +7903,9 @@ "smithy.api#documentation": "The job's timeout in minutes. A job that attempts to run longer than this timeout\n period ends with a status of TIMEOUT
.
One or more steps to be performed by the recipe. Each step consists of an action, and\n the conditions under which the action should succeed.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#UpdateRecipeResponse": { @@ -7698,6 +7961,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#UpdateRuleset": { @@ -7749,6 +8015,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#UpdateRulesetResponse": { @@ -7761,6 +8030,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#UpdateSchedule": { @@ -7815,6 +8087,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.databrew#UpdateScheduleResponse": { @@ -7827,6 +8102,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.databrew#ValidationConfiguration": { diff --git a/codegen/sdk-codegen/aws-models/dataexchange.json b/codegen/sdk-codegen/aws-models/dataexchange.json index 61bb414530f..62dc8900e8c 100644 --- a/codegen/sdk-codegen/aws-models/dataexchange.json +++ b/codegen/sdk-codegen/aws-models/dataexchange.json @@ -1159,52 +1159,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", @@ -1212,13 +1216,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -1228,224 +1241,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://dataexchange-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://dataexchange-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": [ { "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": [], - "endpoint": { - "url": "https://dataexchange-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://dataexchange-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://dataexchange.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://dataexchange.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://dataexchange.{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://dataexchange.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -1460,8 +1424,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1473,8 +1437,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1486,8 +1450,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1499,8 +1463,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1512,8 +1476,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1525,8 +1489,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1538,8 +1502,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1551,8 +1515,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1564,8 +1528,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1577,8 +1541,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1590,8 +1554,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1603,8 +1567,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1616,8 +1580,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1629,8 +1593,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1642,8 +1606,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1655,8 +1619,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1668,8 +1632,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1681,8 +1645,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1694,8 +1658,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1707,8 +1671,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1720,8 +1684,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1733,8 +1697,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1744,8 +1708,8 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1757,8 +1721,8 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1768,8 +1732,8 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1781,8 +1745,8 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1792,8 +1756,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1805,8 +1769,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1816,8 +1780,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1829,8 +1793,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1842,8 +1806,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1855,8 +1819,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1867,8 +1831,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1879,8 +1843,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } }, diff --git a/codegen/sdk-codegen/aws-models/dax.json b/codegen/sdk-codegen/aws-models/dax.json index ac3ed6050e7..cecd8019353 100644 --- a/codegen/sdk-codegen/aws-models/dax.json +++ b/codegen/sdk-codegen/aws-models/dax.json @@ -174,52 +174,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", @@ -227,13 +231,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -243,224 +256,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://dax-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://dax-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": [ { "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": [], - "endpoint": { - "url": "https://dax-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://dax-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://dax.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://dax.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://dax.{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://dax.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -475,8 +439,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -488,8 +452,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -501,8 +465,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -514,8 +478,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -527,8 +491,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -540,8 +504,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -553,8 +517,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -566,8 +530,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -579,8 +543,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -592,8 +556,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -605,8 +569,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -618,8 +582,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -631,8 +595,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -644,8 +608,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -657,8 +621,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -670,8 +634,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -683,8 +647,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -696,8 +660,8 @@ }, "params": { "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -709,8 +673,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -722,8 +686,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -735,8 +699,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -748,8 +712,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -761,8 +725,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -774,8 +738,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -787,8 +751,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -800,8 +775,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 } }, { @@ -813,8 +799,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -826,8 +823,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 } }, { @@ -839,8 +847,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -852,8 +860,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -865,8 +873,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -877,8 +885,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -889,10 +897,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" @@ -909,18 +923,20 @@ "type": "string" }, "com.amazonaws.dax#ChangeType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IMMEDIATE", - "name": "IMMEDIATE" - }, - { - "value": "REQUIRES_REBOOT", - "name": "REQUIRES_REBOOT" + "type": "enum", + "members": { + "IMMEDIATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IMMEDIATE" + } + }, + "REQUIRES_REBOOT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REQUIRES_REBOOT" } - ] + } } }, "com.amazonaws.dax#Cluster": { @@ -1047,24 +1063,30 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "ClusterAlreadyExists", + "httpResponseCode": 400 + }, "smithy.api#documentation": "You already have a DAX cluster with the given identifier.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.dax#ClusterEndpointEncryptionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NONE", - "name": "NONE" - }, - { - "value": "TLS", - "name": "TLS" + "type": "enum", + "members": { + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" } - ] + }, + "TLS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TLS" + } + } } }, "com.amazonaws.dax#ClusterList": { @@ -1087,6 +1109,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "ClusterNotFound", + "httpResponseCode": 404 + }, "smithy.api#documentation": "The requested cluster ID does not refer to an existing DAX cluster.
", "smithy.api#error": "client", "smithy.api#httpError": 404 @@ -1100,6 +1126,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "ClusterQuotaForCustomerExceeded", + "httpResponseCode": 400 + }, "smithy.api#documentation": "You have attempted to exceed the maximum number of DAX clusters for your AWS\n account.
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -1256,6 +1286,9 @@ "smithy.api#documentation": "The type of encryption the cluster's endpoint should support. Values are:
\n\n NONE
for no encryption
\n TLS
for Transport Layer Security
A description of the DAX cluster that you have created.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.dax#CreateParameterGroup": { @@ -1317,6 +1353,9 @@ "smithy.api#documentation": "A description of the parameter group.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.dax#CreateParameterGroupResponse": { @@ -1328,6 +1367,9 @@ "smithy.api#documentation": "Represents the output of a CreateParameterGroup\n action.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.dax#CreateSubnetGroup": { @@ -1382,6 +1424,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.dax#CreateSubnetGroupResponse": { @@ -1393,6 +1438,9 @@ "smithy.api#documentation": "Represents the output of a CreateSubnetGroup\n operation.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.dax#DecreaseReplicationFactor": { @@ -1457,6 +1505,9 @@ "smithy.api#documentation": "The unique identifiers of the nodes to be removed from the cluster.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.dax#DecreaseReplicationFactorResponse": { @@ -1468,6 +1519,9 @@ "smithy.api#documentation": "A description of the DAX cluster, after you have decreased its replication\n factor.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.dax#DeleteCluster": { @@ -1509,6 +1563,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.dax#DeleteClusterResponse": { @@ -1520,6 +1577,9 @@ "smithy.api#documentation": "A description of the DAX cluster that is being deleted.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.dax#DeleteParameterGroup": { @@ -1561,6 +1621,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.dax#DeleteParameterGroupResponse": { @@ -1572,6 +1635,9 @@ "smithy.api#documentation": "A user-specified message for this action (i.e., a reason for deleting the parameter\n group).
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.dax#DeleteSubnetGroup": { @@ -1607,6 +1673,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.dax#DeleteSubnetGroupResponse": { @@ -1618,6 +1687,9 @@ "smithy.api#documentation": "A user-specified message for this action (i.e., a reason for deleting the subnet\n group).
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.dax#DescribeClusters": { @@ -1667,6 +1739,9 @@ "smithy.api#documentation": "An optional token returned from a prior request. Use this token for pagination of\n results from this action. If this parameter is specified, the response includes only\n results beyond the token, up to the value specified by\n MaxResults
.
The descriptions of your DAX clusters, in response to a\n DescribeClusters request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.dax#DescribeDefaultParameters": { @@ -1724,6 +1802,9 @@ "smithy.api#documentation": "An optional token returned from a prior request. Use this token for pagination of\n results from this action. If this parameter is specified, the response includes only\n results beyond the token, up to the value specified by\n MaxResults
.
A list of parameters. Each element in the list represents one parameter.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.dax#DescribeEvents": { @@ -1811,6 +1895,9 @@ "smithy.api#documentation": "An optional token returned from a prior request. Use this token for pagination of\n results from this action. If this parameter is specified, the response includes only\n results beyond the token, up to the value specified by\n MaxResults
.
An array of events. Each element in the array represents one event.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.dax#DescribeParameterGroups": { @@ -1877,6 +1967,9 @@ "smithy.api#documentation": "An optional token returned from a prior request. Use this token for pagination of\n results from this action. If this parameter is specified, the response includes only\n results beyond the token, up to the value specified by\n MaxResults
.
An array of parameter groups. Each element in the array represents one parameter group.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.dax#DescribeParameters": { @@ -1950,6 +2046,9 @@ "smithy.api#documentation": "An optional token returned from a prior request. Use this token for pagination of\n results from this action. If this parameter is specified, the response includes only\n results beyond the token, up to the value specified by\n MaxResults
.
A list of parameters within a parameter group. Each element in the list represents one parameter.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.dax#DescribeSubnetGroups": { @@ -2010,6 +2112,9 @@ "smithy.api#documentation": "An optional token returned from a prior request. Use this token for pagination of\n results from this action. If this parameter is specified, the response includes only\n results beyond the token, up to the value specified by\n MaxResults
.
An array of subnet groups. Each element in the array represents a single subnet group.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.dax#Endpoint": { @@ -2162,6 +2270,9 @@ "smithy.api#documentation": "The Availability Zones (AZs) in which the cluster nodes will be created. All nodes\n belonging to the cluster are placed in these Availability Zones. Use this parameter if you want\n to distribute the nodes across multiple AZs.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.dax#IncreaseReplicationFactorResponse": { @@ -2173,6 +2284,9 @@ "smithy.api#documentation": "A description of the DAX cluster. with its new replication factor.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.dax#InsufficientClusterCapacityFault": { @@ -2183,6 +2297,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "InsufficientClusterCapacity", + "httpResponseCode": 400 + }, "smithy.api#documentation": "There are not enough system resources to create the cluster you requested (or to\n resize an already-existing cluster).
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -2205,6 +2323,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "InvalidARN", + "httpResponseCode": 400 + }, "smithy.api#documentation": "The Amazon Resource Name (ARN) supplied in the request is not valid.
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -2218,6 +2340,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "InvalidClusterState", + "httpResponseCode": 400 + }, "smithy.api#documentation": "The requested DAX cluster is not in the available\n state.
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -2231,6 +2357,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "InvalidParameterCombination", + "httpResponseCode": 400 + }, "smithy.api#documentation": "Two or more incompatible parameters were specified.
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -2244,6 +2374,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "InvalidParameterGroupState", + "httpResponseCode": 400 + }, "smithy.api#documentation": "One or more parameters in a parameter group are in an invalid state.
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -2257,6 +2391,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "InvalidParameterValue", + "httpResponseCode": 400 + }, "smithy.api#documentation": "The value for a parameter is invalid.
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -2270,6 +2408,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "InvalidSubnet", + "httpResponseCode": 400 + }, "smithy.api#documentation": "An invalid subnet identifier was specified.
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -2283,28 +2425,36 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "InvalidVPCNetworkStateFault", + "httpResponseCode": 400 + }, "smithy.api#documentation": "The VPC network is in an invalid state.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.dax#IsModifiable": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "TRUE", - "name": "TRUE" - }, - { - "value": "FALSE", - "name": "FALSE" - }, - { - "value": "CONDITIONAL", - "name": "CONDITIONAL" + "type": "enum", + "members": { + "TRUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TRUE" + } + }, + "FALSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FALSE" + } + }, + "CONDITIONAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONDITIONAL" } - ] + } } }, "com.amazonaws.dax#KeyList": { @@ -2361,6 +2511,9 @@ "smithy.api#documentation": "An optional token returned from a prior request. Use this token for pagination of\n results from this action. If this parameter is specified, the response includes only\n results beyond the token.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.dax#ListTagsResponse": { @@ -2378,6 +2531,9 @@ "smithy.api#documentation": "If this value is present, there are additional results to be displayed. To retrieve them, call \n ListTags
again, with NextToken
set to this value.
None of the nodes in the cluster have the given node ID.
", "smithy.api#error": "client", "smithy.api#httpError": 404 @@ -2457,6 +2617,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "NodeQuotaForClusterExceeded", + "httpResponseCode": 400 + }, "smithy.api#documentation": "You have attempted to exceed the maximum number of nodes for a DAX\n cluster.
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -2470,6 +2634,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "NodeQuotaForCustomerExceeded", + "httpResponseCode": 400 + }, "smithy.api#documentation": "You have attempted to exceed the maximum number of nodes for your AWS\n account.
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -2617,6 +2785,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "ParameterGroupAlreadyExists", + "httpResponseCode": 400 + }, "smithy.api#documentation": "The specified parameter group already exists.
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -2642,6 +2814,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "ParameterGroupNotFound", + "httpResponseCode": 404 + }, "smithy.api#documentation": "The specified parameter group does not exist.
", "smithy.api#error": "client", "smithy.api#httpError": 404 @@ -2655,6 +2831,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "ParameterGroupQuotaExceeded", + "httpResponseCode": 400 + }, "smithy.api#documentation": "You have attempted to exceed the maximum number of parameter groups.
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -2719,18 +2899,20 @@ } }, "com.amazonaws.dax#ParameterType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DEFAULT", - "name": "DEFAULT" - }, - { - "value": "NODE_TYPE_SPECIFIC", - "name": "NODE_TYPE_SPECIFIC" + "type": "enum", + "members": { + "DEFAULT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEFAULT" + } + }, + "NODE_TYPE_SPECIFIC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NODE_TYPE_SPECIFIC" } - ] + } } }, "com.amazonaws.dax#RebootNode": { @@ -2782,6 +2964,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.dax#RebootNodeResponse": { @@ -2793,6 +2978,9 @@ "smithy.api#documentation": "A description of the DAX cluster after a node has been rebooted.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.dax#SSEDescription": { @@ -2828,26 +3016,32 @@ } }, "com.amazonaws.dax#SSEStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLING", - "name": "ENABLING" - }, - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLING", - "name": "DISABLING" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "type": "enum", + "members": { + "ENABLING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLING" + } + }, + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" } - ] + }, + "DISABLING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLING" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + } } }, "com.amazonaws.dax#SecurityGroupIdentifierList": { @@ -2890,6 +3084,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "ServiceLinkedRoleNotFoundFault", + "httpResponseCode": 400 + }, "smithy.api#documentation": "The specified service linked role (SLR) was not found.
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -2899,28 +3097,36 @@ "type": "structure", "members": {}, "traits": { + "aws.protocols#awsQueryError": { + "code": "ServiceQuotaExceeded", + "httpResponseCode": 402 + }, "smithy.api#documentation": "You have reached the maximum number of x509 certificates that can be created for\n encrypted clusters in a 30 day period. Contact AWS customer support to discuss options\n for continuing to create encrypted clusters.
", "smithy.api#error": "client", "smithy.api#httpError": 402 } }, "com.amazonaws.dax#SourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CLUSTER", - "name": "CLUSTER" - }, - { - "value": "PARAMETER_GROUP", - "name": "PARAMETER_GROUP" - }, - { - "value": "SUBNET_GROUP", - "name": "SUBNET_GROUP" + "type": "enum", + "members": { + "CLUSTER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLUSTER" } - ] + }, + "PARAMETER_GROUP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PARAMETER_GROUP" + } + }, + "SUBNET_GROUP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUBNET_GROUP" + } + } } }, "com.amazonaws.dax#String": { @@ -2986,6 +3192,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "SubnetGroupAlreadyExists", + "httpResponseCode": 400 + }, "smithy.api#documentation": "The specified subnet group already exists.
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -2999,6 +3209,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "SubnetGroupInUse", + "httpResponseCode": 400 + }, "smithy.api#documentation": "The specified subnet group is currently in use.
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -3024,6 +3238,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "SubnetGroupNotFoundFault", + "httpResponseCode": 404 + }, "smithy.api#documentation": "The requested subnet group name does not refer to an existing subnet\n group.
", "smithy.api#error": "client", "smithy.api#httpError": 404 @@ -3037,6 +3255,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "SubnetGroupQuotaExceeded", + "httpResponseCode": 400 + }, "smithy.api#documentation": "The request cannot be processed because it would exceed the allowed number of\n subnets in a subnet group.
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -3056,6 +3278,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "SubnetInUse", + "httpResponseCode": 400 + }, "smithy.api#documentation": "The requested subnet is being used by another subnet group.
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -3075,6 +3301,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "SubnetQuotaExceededFault", + "httpResponseCode": 400 + }, "smithy.api#documentation": "The request cannot be processed because it would exceed the allowed number of\n subnets in a subnet group.
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -3117,6 +3347,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "TagNotFound", + "httpResponseCode": 404 + }, "smithy.api#documentation": "The tag does not exist.
", "smithy.api#error": "client", "smithy.api#httpError": 404 @@ -3130,6 +3364,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "TagQuotaPerResourceExceeded", + "httpResponseCode": 400 + }, "smithy.api#documentation": "You have exceeded the maximum number of tags for this DAX cluster.
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -3187,6 +3425,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.dax#TagResourceResponse": { @@ -3198,6 +3439,9 @@ "smithy.api#documentation": "The list of tags that are associated with the DAX resource.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.dax#UntagResource": { @@ -3252,6 +3496,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.dax#UntagResourceResponse": { @@ -3263,6 +3510,9 @@ "smithy.api#documentation": "The tag keys that have been removed from the cluster.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.dax#UpdateCluster": { @@ -3346,6 +3596,9 @@ "smithy.api#documentation": "A list of user-specified security group IDs to be assigned to each node in the DAX cluster. If this parameter is not \n specified, DAX assigns the default VPC security group to each node.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.dax#UpdateClusterResponse": { @@ -3357,6 +3610,9 @@ "smithy.api#documentation": "A description of the DAX cluster, after it has been modified.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.dax#UpdateParameterGroup": { @@ -3405,6 +3661,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.dax#UpdateParameterGroupResponse": { @@ -3416,6 +3675,9 @@ "smithy.api#documentation": "The parameter group that has been modified.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.dax#UpdateSubnetGroup": { @@ -3469,6 +3731,9 @@ "smithy.api#documentation": "A list of subnet IDs in the subnet group.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.dax#UpdateSubnetGroupResponse": { @@ -3480,6 +3745,9 @@ "smithy.api#documentation": "The subnet group that has been modified.
" } } + }, + "traits": { + "smithy.api#output": {} } } } diff --git a/codegen/sdk-codegen/aws-models/device-farm.json b/codegen/sdk-codegen/aws-models/device-farm.json index 1e81a23c978..2aee36c4bd4 100644 --- a/codegen/sdk-codegen/aws-models/device-farm.json +++ b/codegen/sdk-codegen/aws-models/device-farm.json @@ -527,7 +527,22 @@ } ], "traits": { - "smithy.api#documentation": "Creates a device pool.
" + "smithy.api#documentation": "Creates a device pool.
", + "smithy.api#examples": [ + { + "title": "To create a new device pool", + "documentation": "The following example creates a new device pool named MyDevicePool inside an existing project.", + "input": { + "projectArn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456", + "name": "MyDevicePool", + "description": "My Android devices", + "rules": [] + }, + "output": { + "devicePool": {} + } + } + ] } }, "com.amazonaws.devicefarm#CreateDevicePoolRequest": { @@ -568,7 +583,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the create device pool operation.
" + "smithy.api#documentation": "Represents a request to the create device pool operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#CreateDevicePoolResult": { @@ -582,7 +598,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of a create device pool request.
" + "smithy.api#documentation": "Represents the result of a create device pool request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#CreateInstanceProfile": { @@ -645,6 +662,9 @@ "smithy.api#documentation": "When set to true
, Device Farm reboots the instance after a test run. The default value is\n true
.
An object that contains information about your instance profile.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#CreateNetworkProfile": { @@ -763,6 +786,9 @@ "smithy.api#documentation": "Proportion of received packets that fail to arrive from 0 to 100 percent.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#CreateNetworkProfileResult": { @@ -774,6 +800,9 @@ "smithy.api#documentation": "The network profile that is returned by the create network profile\n request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#CreateProject": { @@ -829,7 +858,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the create project operation.
" + "smithy.api#documentation": "Represents a request to the create project operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#CreateProjectResult": { @@ -843,7 +873,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of a create project request.
" + "smithy.api#documentation": "Represents the result of a create project request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#CreateRemoteAccessSession": { @@ -869,7 +900,24 @@ } ], "traits": { - "smithy.api#documentation": "Specifies and starts a remote access session.
" + "smithy.api#documentation": "Specifies and starts a remote access session.
", + "smithy.api#examples": [ + { + "title": "To create a remote access session", + "documentation": "The following example creates a remote access session named MySession.", + "input": { + "projectArn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456", + "deviceArn": "arn:aws:devicefarm:us-west-2::device:123EXAMPLE", + "name": "MySession", + "configuration": { + "billingMethod": "METERED" + } + }, + "output": { + "remoteAccessSession": {} + } + } + ] } }, "com.amazonaws.devicefarm#CreateRemoteAccessSessionConfiguration": { @@ -971,7 +1019,8 @@ } }, "traits": { - "smithy.api#documentation": "Creates and submits a request to start a remote access session.
" + "smithy.api#documentation": "Creates and submits a request to start a remote access session.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#CreateRemoteAccessSessionResult": { @@ -985,7 +1034,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the server response from a request to create a remote access\n session.
" + "smithy.api#documentation": "Represents the server response from a request to create a remote access\n session.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#CreateTestGridProject": { @@ -1033,6 +1083,9 @@ "smithy.api#documentation": "The VPC security groups and subnets that are attached to a project.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#CreateTestGridProjectResult": { @@ -1044,6 +1097,9 @@ "smithy.api#documentation": "ARN of the Selenium testing project that was created.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#CreateTestGridUrl": { @@ -1086,6 +1142,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#CreateTestGridUrlResult": { @@ -1103,6 +1162,9 @@ "smithy.api#documentation": "The number of seconds the URL from CreateTestGridUrlResult$url stays active.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#CreateUpload": { @@ -1163,7 +1225,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the create upload operation.
" + "smithy.api#documentation": "Represents a request to the create upload operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#CreateUploadResult": { @@ -1177,7 +1240,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of a create upload request.
" + "smithy.api#documentation": "Represents the result of a create upload request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#CreateVPCEConfiguration": { @@ -1233,6 +1297,9 @@ "smithy.api#documentation": "An optional description that provides details about your VPC endpoint configuration.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#CreateVPCEConfigurationResult": { @@ -1244,6 +1311,9 @@ "smithy.api#documentation": "An object that contains information about your VPC endpoint configuration.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#CurrencyCode": { @@ -1309,7 +1379,17 @@ } ], "traits": { - "smithy.api#documentation": "Deletes a device pool given the pool ARN. Does not allow deletion of curated pools\n owned by the system.
" + "smithy.api#documentation": "Deletes a device pool given the pool ARN. Does not allow deletion of curated pools\n owned by the system.
", + "smithy.api#examples": [ + { + "title": "To delete a device pool", + "documentation": "The following example deletes a specific device pool.", + "input": { + "arn": "arn:aws:devicefarm:us-west-2::devicepool:123-456-EXAMPLE-GUID" + }, + "output": {} + } + ] } }, "com.amazonaws.devicefarm#DeleteDevicePoolRequest": { @@ -1324,14 +1404,16 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the delete device pool operation.
" + "smithy.api#documentation": "Represents a request to the delete device pool operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#DeleteDevicePoolResult": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Represents the result of a delete device pool request.
" + "smithy.api#documentation": "Represents the result of a delete device pool request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#DeleteInstanceProfile": { @@ -1370,11 +1452,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#DeleteInstanceProfileResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.devicefarm#DeleteNetworkProfile": { "type": "operation", @@ -1412,11 +1500,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#DeleteNetworkProfileResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.devicefarm#DeleteProject": { "type": "operation", @@ -1441,7 +1535,17 @@ } ], "traits": { - "smithy.api#documentation": "Deletes an AWS Device Farm project, given the project ARN.
\nDeleting this resource does not stop an in-progress run.
" + "smithy.api#documentation": "Deletes an AWS Device Farm project, given the project ARN.
\nDeleting this resource does not stop an in-progress run.
", + "smithy.api#examples": [ + { + "title": "To delete a project", + "documentation": "The following example deletes a specific project.", + "input": { + "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456" + }, + "output": {} + } + ] } }, "com.amazonaws.devicefarm#DeleteProjectRequest": { @@ -1456,14 +1560,16 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the delete project operation.
" + "smithy.api#documentation": "Represents a request to the delete project operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#DeleteProjectResult": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Represents the result of a delete project request.
" + "smithy.api#documentation": "Represents the result of a delete project request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#DeleteRemoteAccessSession": { @@ -1489,7 +1595,17 @@ } ], "traits": { - "smithy.api#documentation": "Deletes a completed remote access session and its results.
" + "smithy.api#documentation": "Deletes a completed remote access session and its results.
", + "smithy.api#examples": [ + { + "title": "To delete a specific remote access session", + "documentation": "The following example deletes a specific remote access session.", + "input": { + "arn": "arn:aws:devicefarm:us-west-2:123456789101:session:EXAMPLE-GUID-123-456" + }, + "output": {} + } + ] } }, "com.amazonaws.devicefarm#DeleteRemoteAccessSessionRequest": { @@ -1504,14 +1620,16 @@ } }, "traits": { - "smithy.api#documentation": "Represents the request to delete the specified remote access session.
" + "smithy.api#documentation": "Represents the request to delete the specified remote access session.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#DeleteRemoteAccessSessionResult": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "The response from the server when a request is made to delete the remote access\n session.
" + "smithy.api#documentation": "The response from the server when a request is made to delete the remote access\n session.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#DeleteRun": { @@ -1537,7 +1655,17 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the run, given the run ARN.
\nDeleting this resource does not stop an in-progress run.
" + "smithy.api#documentation": "Deletes the run, given the run ARN.
\nDeleting this resource does not stop an in-progress run.
", + "smithy.api#examples": [ + { + "title": "To delete a run", + "documentation": "The following example deletes a specific test run.", + "input": { + "arn": "arn:aws:devicefarm:us-west-2:123456789101:run:EXAMPLE-GUID-123-456" + }, + "output": {} + } + ] } }, "com.amazonaws.devicefarm#DeleteRunRequest": { @@ -1552,14 +1680,16 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the delete run operation.
" + "smithy.api#documentation": "Represents a request to the delete run operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#DeleteRunResult": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Represents the result of a delete run request.
" + "smithy.api#documentation": "Represents the result of a delete run request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#DeleteTestGridProject": { @@ -1598,11 +1728,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#DeleteTestGridProjectResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.devicefarm#DeleteUpload": { "type": "operation", @@ -1627,7 +1763,17 @@ } ], "traits": { - "smithy.api#documentation": "Deletes an upload given the upload ARN.
" + "smithy.api#documentation": "Deletes an upload given the upload ARN.
", + "smithy.api#examples": [ + { + "title": "To delete a specific upload", + "documentation": "The following example deletes a specific upload.", + "input": { + "arn": "arn:aws:devicefarm:us-west-2:123456789101:upload:EXAMPLE-GUID-123-456" + }, + "output": {} + } + ] } }, "com.amazonaws.devicefarm#DeleteUploadRequest": { @@ -1642,14 +1788,16 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the delete upload operation.
" + "smithy.api#documentation": "Represents a request to the delete upload operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#DeleteUploadResult": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Represents the result of a delete upload request.
" + "smithy.api#documentation": "Represents the result of a delete upload request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#DeleteVPCEConfiguration": { @@ -1688,11 +1836,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#DeleteVPCEConfigurationResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.devicefarm#Device": { "type": "structure", @@ -2192,6 +2346,7 @@ "arnNamespace": "devicefarm", "cloudFormationName": "DeviceFarm", "cloudTrailEventSource": "devicefarm.amazonaws.com", + "docId": "devicefarm-2015-06-23", "endpointPrefix": "devicefarm" }, "aws.auth#sigv4": { @@ -2263,52 +2418,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", @@ -2316,13 +2475,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -2332,224 +2500,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://devicefarm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://devicefarm-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": [ { "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": [], - "endpoint": { - "url": "https://devicefarm-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://devicefarm-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://devicefarm.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://devicefarm.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://devicefarm.{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://devicefarm.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -2564,8 +2683,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2577,8 +2696,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2590,8 +2709,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2603,8 +2722,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2616,8 +2735,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2629,8 +2748,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2642,8 +2761,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2655,8 +2774,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2668,8 +2787,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2681,8 +2800,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2694,8 +2813,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2707,8 +2826,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2720,34 +2839,67 @@ }, "params": { "Region": "us-gov-east-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 + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://devicefarm-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "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 } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://devicefarm-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://devicefarm.us-iso-east-1.c2s.ic.gov" } }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://devicefarm.us-iso-east-1.c2s.ic.gov" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": false + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2759,8 +2911,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 } }, { @@ -2772,8 +2935,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2785,8 +2948,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2798,8 +2961,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2810,8 +2973,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2822,10 +2985,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" @@ -3418,14 +3587,30 @@ } ], "traits": { - "smithy.api#documentation": "Returns the number of unmetered iOS or unmetered Android devices that have been purchased by the\n account.
" + "smithy.api#documentation": "Returns the number of unmetered iOS or unmetered Android devices that have been purchased by the\n account.
", + "smithy.api#examples": [ + { + "title": "To get information about account settings", + "documentation": "The following example returns information about your Device Farm account settings.", + "output": { + "accountSettings": { + "unmeteredDevices": { + "ANDROID": 1, + "IOS": 2 + }, + "awsAccountNumber": "123456789101" + } + } + } + ] } }, "com.amazonaws.devicefarm#GetAccountSettingsRequest": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Represents the request sent to retrieve the account settings.
" + "smithy.api#documentation": "Represents the request sent to retrieve the account settings.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#GetAccountSettingsResult": { @@ -3439,7 +3624,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the account settings return values from the\n GetAccountSettings
request.
Represents the account settings return values from the\n GetAccountSettings
request.
Gets information about a unique device type.
" + "smithy.api#documentation": "Gets information about a unique device type.
", + "smithy.api#examples": [ + { + "title": "To get information about a device", + "documentation": "The following example returns information about a specific device.", + "input": { + "arn": "arn:aws:devicefarm:us-west-2::device:123EXAMPLE" + }, + "output": { + "device": { + "formFactor": "PHONE", + "name": "LG G2 (Sprint)", + "resolution": { + "width": 1080, + "height": 1920 + }, + "image": "75B2B7EF6C12345EXAMPLE", + "platform": "ANDROID", + "heapSize": 256000000, + "memory": 16000000000, + "model": "G2 (Sprint)", + "os": "4.2.2", + "cpu": { + "frequency": "MHz", + "architecture": "armeabi-v7a", + "clock": 2265.6 + }, + "arn": "arn:aws:devicefarm:us-west-2::device:A0E6E6E1059E45918208DF75B2B7EF6C", + "manufacturer": "LG" + } + } + } + ] } }, "com.amazonaws.devicefarm#GetDeviceInstance": { @@ -3504,6 +3722,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#GetDeviceInstanceResult": { @@ -3515,6 +3736,9 @@ "smithy.api#documentation": "An object that contains information about your device instance.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#GetDevicePool": { @@ -3540,7 +3764,19 @@ } ], "traits": { - "smithy.api#documentation": "Gets information about a device pool.
" + "smithy.api#documentation": "Gets information about a device pool.
", + "smithy.api#examples": [ + { + "title": "To get information about a device pool", + "documentation": "The following example returns information about a specific device pool, given a project ARN.", + "input": { + "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456" + }, + "output": { + "devicePool": {} + } + } + ] } }, "com.amazonaws.devicefarm#GetDevicePoolCompatibility": { @@ -3566,7 +3802,22 @@ } ], "traits": { - "smithy.api#documentation": "Gets information about compatibility with a device pool.
" + "smithy.api#documentation": "Gets information about compatibility with a device pool.
", + "smithy.api#examples": [ + { + "title": "To get information about the compatibility of a device pool", + "documentation": "The following example returns information about the compatibility of a specific device pool, given its ARN.", + "input": { + "devicePoolArn": "arn:aws:devicefarm:us-west-2::devicepool:123-456-EXAMPLE-GUID", + "appArn": "arn:aws:devicefarm:us-west-2::app:123-456-EXAMPLE-GUID", + "testType": "APPIUM_PYTHON" + }, + "output": { + "compatibleDevices": [], + "incompatibleDevices": [] + } + } + ] } }, "com.amazonaws.devicefarm#GetDevicePoolCompatibilityRequest": { @@ -3605,7 +3856,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the get device pool compatibility operation.
" + "smithy.api#documentation": "Represents a request to the get device pool compatibility operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#GetDevicePoolCompatibilityResult": { @@ -3625,7 +3877,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of describe device pool compatibility request.
" + "smithy.api#documentation": "Represents the result of describe device pool compatibility request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#GetDevicePoolRequest": { @@ -3640,7 +3893,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the get device pool operation.
" + "smithy.api#documentation": "Represents a request to the get device pool operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#GetDevicePoolResult": { @@ -3654,7 +3908,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of a get device pool request.
" + "smithy.api#documentation": "Represents the result of a get device pool request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#GetDeviceRequest": { @@ -3669,7 +3924,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the get device request.
" + "smithy.api#documentation": "Represents a request to the get device request.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#GetDeviceResult": { @@ -3683,7 +3939,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of a get device request.
" + "smithy.api#documentation": "Represents the result of a get device request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#GetInstanceProfile": { @@ -3722,6 +3979,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#GetInstanceProfileResult": { @@ -3733,6 +3993,9 @@ "smithy.api#documentation": "An object that contains information about an instance profile.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#GetJob": { @@ -3758,7 +4021,19 @@ } ], "traits": { - "smithy.api#documentation": "Gets information about a job.
" + "smithy.api#documentation": "Gets information about a job.
", + "smithy.api#examples": [ + { + "title": "To get information about a job", + "documentation": "The following example returns information about a specific job.", + "input": { + "arn": "arn:aws:devicefarm:us-west-2::job:123-456-EXAMPLE-GUID" + }, + "output": { + "job": {} + } + } + ] } }, "com.amazonaws.devicefarm#GetJobRequest": { @@ -3773,7 +4048,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the get job operation.
" + "smithy.api#documentation": "Represents a request to the get job operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#GetJobResult": { @@ -3787,7 +4063,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of a get job request.
" + "smithy.api#documentation": "Represents the result of a get job request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#GetNetworkProfile": { @@ -3826,6 +4103,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#GetNetworkProfileResult": { @@ -3837,6 +4117,9 @@ "smithy.api#documentation": "The network profile.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#GetOfferingStatus": { @@ -3883,7 +4166,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the request to retrieve the offering status for the specified customer\n or account.
" + "smithy.api#documentation": "Represents the request to retrieve the offering status for the specified customer\n or account.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#GetOfferingStatusResult": { @@ -3909,7 +4193,8 @@ } }, "traits": { - "smithy.api#documentation": "Returns the status result for a device offering.
" + "smithy.api#documentation": "Returns the status result for a device offering.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#GetProject": { @@ -3950,7 +4235,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the get project operation.
" + "smithy.api#documentation": "Represents a request to the get project operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#GetProjectResult": { @@ -3964,7 +4250,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of a get project request.
" + "smithy.api#documentation": "Represents the result of a get project request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#GetRemoteAccessSession": { @@ -3990,7 +4277,19 @@ } ], "traits": { - "smithy.api#documentation": "Returns a link to a currently running remote access session.
" + "smithy.api#documentation": "Returns a link to a currently running remote access session.
", + "smithy.api#examples": [ + { + "title": "To get a remote access session", + "documentation": "The following example gets a specific remote access session.", + "input": { + "arn": "arn:aws:devicefarm:us-west-2:123456789101:session:EXAMPLE-GUID-123-456" + }, + "output": { + "remoteAccessSession": {} + } + } + ] } }, "com.amazonaws.devicefarm#GetRemoteAccessSessionRequest": { @@ -4005,7 +4304,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the request to get information about the specified remote access\n session.
" + "smithy.api#documentation": "Represents the request to get information about the specified remote access\n session.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#GetRemoteAccessSessionResult": { @@ -4019,7 +4319,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the response from the server that lists detailed information about the\n remote access session.
" + "smithy.api#documentation": "Represents the response from the server that lists detailed information about the\n remote access session.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#GetRun": { @@ -4060,7 +4361,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the get run operation.
" + "smithy.api#documentation": "Represents a request to the get run operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#GetRunResult": { @@ -4074,7 +4376,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of a get run request.
" + "smithy.api#documentation": "Represents the result of a get run request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#GetSuite": { @@ -4100,7 +4403,19 @@ } ], "traits": { - "smithy.api#documentation": "Gets information about a suite.
" + "smithy.api#documentation": "Gets information about a suite.
", + "smithy.api#examples": [ + { + "title": "To get information about a test suite", + "documentation": "The following example gets information about a specific test suite.", + "input": { + "arn": "arn:aws:devicefarm:us-west-2:123456789101:suite:EXAMPLE-GUID-123-456" + }, + "output": { + "suite": {} + } + } + ] } }, "com.amazonaws.devicefarm#GetSuiteRequest": { @@ -4115,7 +4430,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the get suite operation.
" + "smithy.api#documentation": "Represents a request to the get suite operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#GetSuiteResult": { @@ -4129,7 +4445,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of a get suite request.
" + "smithy.api#documentation": "Represents the result of a get suite request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#GetTest": { @@ -4155,7 +4472,19 @@ } ], "traits": { - "smithy.api#documentation": "Gets information about a test.
" + "smithy.api#documentation": "Gets information about a test.
", + "smithy.api#examples": [ + { + "title": "To get information about a specific test", + "documentation": "The following example gets information about a specific test.", + "input": { + "arn": "arn:aws:devicefarm:us-west-2:123456789101:test:EXAMPLE-GUID-123-456" + }, + "output": { + "test": {} + } + } + ] } }, "com.amazonaws.devicefarm#GetTestGridProject": { @@ -4191,6 +4520,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#GetTestGridProjectResult": { @@ -4202,6 +4534,9 @@ "smithy.api#documentation": "" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#GetTestGridSession": { @@ -4248,6 +4583,9 @@ "smithy.api#documentation": "An ARN that uniquely identifies a TestGridSession.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#GetTestGridSessionResult": { @@ -4259,6 +4597,9 @@ "smithy.api#documentation": "The TestGridSession that was requested.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#GetTestRequest": { @@ -4273,7 +4614,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the get test operation.
" + "smithy.api#documentation": "Represents a request to the get test operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#GetTestResult": { @@ -4287,7 +4629,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of a get test request.
" + "smithy.api#documentation": "Represents the result of a get test request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#GetUpload": { @@ -4313,7 +4656,19 @@ } ], "traits": { - "smithy.api#documentation": "Gets information about an upload.
" + "smithy.api#documentation": "Gets information about an upload.
", + "smithy.api#examples": [ + { + "title": "To get information about a specific upload", + "documentation": "The following example gets information about a specific upload.", + "input": { + "arn": "arn:aws:devicefarm:us-west-2:123456789101:upload:EXAMPLE-GUID-123-456" + }, + "output": { + "upload": {} + } + } + ] } }, "com.amazonaws.devicefarm#GetUploadRequest": { @@ -4328,7 +4683,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the get upload operation.
" + "smithy.api#documentation": "Represents a request to the get upload operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#GetUploadResult": { @@ -4342,7 +4698,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of a get upload request.
" + "smithy.api#documentation": "Represents the result of a get upload request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#GetVPCEConfiguration": { @@ -4378,6 +4735,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#GetVPCEConfigurationResult": { @@ -4389,6 +4749,9 @@ "smithy.api#documentation": "An object that contains information about your VPC endpoint configuration.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#HostAddress": { @@ -4464,7 +4827,20 @@ } ], "traits": { - "smithy.api#documentation": "Installs an application to the device in a remote access session. For Android\n applications, the file must be in .apk format. For iOS applications, the file must be in\n .ipa format.
" + "smithy.api#documentation": "Installs an application to the device in a remote access session. For Android\n applications, the file must be in .apk format. For iOS applications, the file must be in\n .ipa format.
", + "smithy.api#examples": [ + { + "title": "To install to a remote access session", + "documentation": "The following example installs a specific app to a device in a specific remote access session.", + "input": { + "remoteAccessSessionArn": "arn:aws:devicefarm:us-west-2:123456789101:session:EXAMPLE-GUID-123-456", + "appArn": "arn:aws:devicefarm:us-west-2:123456789101:app:EXAMPLE-GUID-123-456" + }, + "output": { + "appUpload": {} + } + } + ] } }, "com.amazonaws.devicefarm#InstallToRemoteAccessSessionRequest": { @@ -4486,7 +4862,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the request to install an Android application (in .apk format) or an iOS\n application (in .ipa format) as part of a remote access session.
" + "smithy.api#documentation": "Represents the request to install an Android application (in .apk format) or an iOS\n application (in .ipa format) as part of a remote access session.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#InstallToRemoteAccessSessionResult": { @@ -4500,7 +4877,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the response from the server after AWS Device Farm makes a request to\n install to a remote access session.
" + "smithy.api#documentation": "Represents the response from the server after AWS Device Farm makes a request to\n install to a remote access session.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#InstanceLabels": { @@ -4797,6 +5175,16 @@ ], "traits": { "smithy.api#documentation": "Gets information about artifacts.
", + "smithy.api#examples": [ + { + "title": "To list artifacts for a resource", + "documentation": "The following example lists screenshot artifacts for a specific run.", + "input": { + "arn": "arn:aws:devicefarm:us-west-2:123456789101:run:EXAMPLE-GUID-123-456", + "type": "SCREENSHOT" + } + } + ], "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -4829,7 +5217,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the list artifacts operation.
" + "smithy.api#documentation": "Represents a request to the list artifacts operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#ListArtifactsResult": { @@ -4849,7 +5238,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of a list artifacts operation.
" + "smithy.api#documentation": "Represents the result of a list artifacts operation.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#ListDeviceInstances": { @@ -4893,6 +5283,9 @@ "smithy.api#documentation": "An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#ListDeviceInstancesResult": { @@ -4910,6 +5303,9 @@ "smithy.api#documentation": "An identifier that can be used in the next call to this operation to return the next\n set of items in the list.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#ListDevicePools": { @@ -4936,6 +5332,44 @@ ], "traits": { "smithy.api#documentation": "Gets information about device pools.
", + "smithy.api#examples": [ + { + "title": "To get information about device pools", + "documentation": "The following example returns information about the private device pools in a specific project.", + "input": { + "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456", + "type": "PRIVATE" + }, + "output": { + "devicePools": [ + { + "rules": [ + { + "operator": "IN", + "attribute": "ARN", + "value": "[\"arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE\",\"arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE\",\"arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE\",\"arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE\",\"arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE\",\"arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE\",\"arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE\",\"arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE\",\"arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE\",\"arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE\"]" + } + ], + "name": "Top Devices", + "arn": "arn:aws:devicefarm:us-west-2::devicepool:082d10e5-d7d7-48a5-ba5c-12345EXAMPLE", + "description": "Top devices" + }, + { + "rules": [ + { + "operator": "IN", + "attribute": "ARN", + "value": "[\"arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE\",\"arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE\",\"arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE\"]" + } + ], + "name": "My Android Device Pool", + "arn": "arn:aws:devicefarm:us-west-2:123456789101:devicepool:5e01a8c7-c861-4c0a-b1d5-5ec6e6c6dd23/bf96e75a-28f6-4e61-b6a7-12345EXAMPLE", + "description": "Samsung Galaxy Android devices" + } + ] + } + } + ], "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -4967,7 +5401,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of a list device pools request.
" + "smithy.api#documentation": "Represents the result of a list device pools request.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#ListDevicePoolsResult": { @@ -4987,7 +5422,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of a list device pools request.
" + "smithy.api#documentation": "Represents the result of a list device pools request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#ListDevices": { @@ -5014,6 +5450,16 @@ ], "traits": { "smithy.api#documentation": "Gets information about unique device types.
", + "smithy.api#examples": [ + { + "title": "To get information about devices", + "documentation": "The following example returns information about the available devices in a specific project.", + "input": { + "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456" + }, + "output": {} + } + ], "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -5044,7 +5490,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of a list devices request.
" + "smithy.api#documentation": "Represents the result of a list devices request.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#ListDevicesResult": { @@ -5064,7 +5511,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of a list devices operation.
" + "smithy.api#documentation": "Represents the result of a list devices operation.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#ListInstanceProfiles": { @@ -5108,6 +5556,9 @@ "smithy.api#documentation": "An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#ListInstanceProfilesResult": { @@ -5125,6 +5576,9 @@ "smithy.api#documentation": "An identifier that can be used in the next call to this operation to return the next\n set of items in the list.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#ListJobs": { @@ -5151,6 +5605,15 @@ ], "traits": { "smithy.api#documentation": "Gets information about jobs for a given test run.
", + "smithy.api#examples": [ + { + "title": "To get information about jobs", + "documentation": "The following example returns information about jobs in a specific project.", + "input": { + "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456" + } + } + ], "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -5176,7 +5639,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the list jobs operation.
" + "smithy.api#documentation": "Represents a request to the list jobs operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#ListJobsResult": { @@ -5196,7 +5660,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of a list jobs request.
" + "smithy.api#documentation": "Represents the result of a list jobs request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#ListNetworkProfiles": { @@ -5247,6 +5712,9 @@ "smithy.api#documentation": "An identifier that was returned from the previous call to this operation, which can\n be used to return the next set of items in the list.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#ListNetworkProfilesResult": { @@ -5264,6 +5732,9 @@ "smithy.api#documentation": "An identifier that was returned from the previous call to this operation, which can\n be used to return the next set of items in the list.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#ListOfferingPromotions": { @@ -5304,6 +5775,9 @@ "smithy.api#documentation": "An identifier that was returned from the previous call to this operation, which can\n be used to return the next set of items in the list.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#ListOfferingPromotionsResult": { @@ -5321,6 +5795,9 @@ "smithy.api#documentation": "An identifier to be used in the next call to this operation, to return the next set\n of items in the list.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#ListOfferingTransactions": { @@ -5368,7 +5845,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the request to list the offering transaction history.
" + "smithy.api#documentation": "Represents the request to list the offering transaction history.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#ListOfferingTransactionsResult": { @@ -5388,7 +5866,8 @@ } }, "traits": { - "smithy.api#documentation": "Returns the transaction log of the specified offerings.
" + "smithy.api#documentation": "Returns the transaction log of the specified offerings.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#ListOfferings": { @@ -5418,6 +5897,79 @@ ], "traits": { "smithy.api#documentation": "Returns a list of products or offerings that the user can manage through the API. Each offering record\n indicates the recurring price per unit and the frequency for that offering. The API returns a\n NotEligible
error if the user is not permitted to invoke the operation. If you must be\n able to invoke this operation, contact aws-devicefarm-support@amazon.com.
Represents the request to list all offerings.
" + "smithy.api#documentation": "Represents the request to list all offerings.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#ListOfferingsResult": { @@ -5456,7 +6009,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the return values of the list of offerings.
" + "smithy.api#documentation": "Represents the return values of the list of offerings.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#ListProjects": { @@ -5507,7 +6061,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the list projects operation.
" + "smithy.api#documentation": "Represents a request to the list projects operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#ListProjectsResult": { @@ -5527,7 +6082,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of a list projects request.
" + "smithy.api#documentation": "Represents the result of a list projects request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#ListRemoteAccessSessions": { @@ -5553,7 +6109,20 @@ } ], "traits": { - "smithy.api#documentation": "Returns a list of all currently running remote access sessions.
" + "smithy.api#documentation": "Returns a list of all currently running remote access sessions.
", + "smithy.api#examples": [ + { + "title": "To get information about a remote access session", + "documentation": "The following example returns information about a specific Device Farm remote access session.", + "input": { + "arn": "arn:aws:devicefarm:us-west-2:123456789101:session:EXAMPLE-GUID-123-456", + "nextToken": "RW5DdDJkMWYwZjM2MzM2VHVpOHJIUXlDUXlhc2QzRGViYnc9SEXAMPLE=" + }, + "output": { + "remoteAccessSessions": [] + } + } + ] } }, "com.amazonaws.devicefarm#ListRemoteAccessSessionsRequest": { @@ -5574,7 +6143,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the request to return information about the remote access\n session.
" + "smithy.api#documentation": "Represents the request to return information about the remote access\n session.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#ListRemoteAccessSessionsResult": { @@ -5594,7 +6164,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the response from the server after AWS Device Farm makes a request to\n return information about the remote access session.
" + "smithy.api#documentation": "Represents the response from the server after AWS Device Farm makes a request to\n return information about the remote access session.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#ListRuns": { @@ -5646,7 +6217,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the list runs operation.
" + "smithy.api#documentation": "Represents a request to the list runs operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#ListRunsResult": { @@ -5666,7 +6238,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of a list runs request.
" + "smithy.api#documentation": "Represents the result of a list runs request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#ListSamples": { @@ -5693,6 +6266,19 @@ ], "traits": { "smithy.api#documentation": "Gets information about samples, given an AWS Device Farm job ARN.
", + "smithy.api#examples": [ + { + "title": "To get information about samples", + "documentation": "The following example returns information about samples, given a specific Device Farm project.", + "input": { + "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456", + "nextToken": "RW5DdDJkMWYwZjM2MzM2VHVpOHJIUXlDUXlhc2QzRGViYnc9SEXAMPLE" + }, + "output": { + "samples": [] + } + } + ], "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -5718,7 +6304,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the list samples operation.
" + "smithy.api#documentation": "Represents a request to the list samples operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#ListSamplesResult": { @@ -5738,7 +6325,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of a list samples request.
" + "smithy.api#documentation": "Represents the result of a list samples request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#ListSuites": { @@ -5765,6 +6353,19 @@ ], "traits": { "smithy.api#documentation": "Gets information about test suites for a given job.
", + "smithy.api#examples": [ + { + "title": "To get information about suites", + "documentation": "The following example returns information about suites, given a specific Device Farm job.", + "input": { + "arn": "arn:aws:devicefarm:us-west-2:123456789101:job:EXAMPLE-GUID-123-456", + "nextToken": "RW5DdDJkMWYwZjM2MzM2VHVpOHJIUXlDUXlhc2QzRGViYnc9SEXAMPLE" + }, + "output": { + "suites": [] + } + } + ], "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -5790,7 +6391,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the list suites operation.
" + "smithy.api#documentation": "Represents a request to the list suites operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#ListSuitesResult": { @@ -5810,7 +6412,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of a list suites request.
" + "smithy.api#documentation": "Represents the result of a list suites request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#ListTagsForResource": { @@ -5846,6 +6449,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#ListTagsForResourceResponse": { @@ -5857,6 +6463,9 @@ "smithy.api#documentation": "The tags to add to the resource. A tag is an array of key-value pairs. Tag keys can have a maximum\n character length of 128 characters. Tag values can have a maximum length of 256 characters.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#ListTestGridProjects": { @@ -5899,6 +6508,9 @@ "smithy.api#documentation": "From a response, used to continue a paginated listing.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#ListTestGridProjectsResult": { @@ -5916,6 +6528,9 @@ "smithy.api#documentation": "Used for pagination. Pass into ListTestGridProjects to get more results in a paginated\n request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#ListTestGridSessionActions": { @@ -5968,6 +6583,9 @@ "smithy.api#documentation": "Pagination token.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#ListTestGridSessionActionsResult": { @@ -5985,6 +6603,9 @@ "smithy.api#documentation": "Pagination token.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#ListTestGridSessionArtifacts": { @@ -6043,6 +6664,9 @@ "smithy.api#documentation": "Pagination token.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#ListTestGridSessionArtifactsResult": { @@ -6060,6 +6684,9 @@ "smithy.api#documentation": "Pagination token.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#ListTestGridSessions": { @@ -6142,6 +6769,9 @@ "smithy.api#documentation": "Pagination token.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#ListTestGridSessionsResult": { @@ -6159,6 +6789,9 @@ "smithy.api#documentation": "Pagination token.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#ListTests": { @@ -6185,6 +6818,19 @@ ], "traits": { "smithy.api#documentation": "Gets information about tests in a given test suite.
", + "smithy.api#examples": [ + { + "title": "To get information about tests", + "documentation": "The following example returns information about tests, given a specific Device Farm project.", + "input": { + "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456", + "nextToken": "RW5DdDJkMWYwZjM2MzM2VHVpOHJIUXlDUXlhc2QzRGViYnc9SEXAMPLE" + }, + "output": { + "tests": [] + } + } + ], "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -6210,7 +6856,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the list tests operation.
" + "smithy.api#documentation": "Represents a request to the list tests operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#ListTestsResult": { @@ -6230,7 +6877,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of a list tests request.
" + "smithy.api#documentation": "Represents the result of a list tests request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#ListUniqueProblems": { @@ -6257,6 +6905,19 @@ ], "traits": { "smithy.api#documentation": "Gets information about unique problems, such as exceptions or crashes.
\nUnique problems are defined as a single instance of an error across a run, job, or suite. For example,\n if a call in your application consistently raises an exception (OutOfBoundsException in\n MyActivity.java:386
), ListUniqueProblems
returns a single entry instead of many\n individual entries for that exception.
Represents a request to the list unique problems operation.
" + "smithy.api#documentation": "Represents a request to the list unique problems operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#ListUniqueProblemsResult": { @@ -6302,7 +6964,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of a list unique problems request.
" + "smithy.api#documentation": "Represents the result of a list unique problems request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#ListUploads": { @@ -6329,6 +6992,19 @@ ], "traits": { "smithy.api#documentation": "Gets information about uploads, given an AWS Device Farm project ARN.
", + "smithy.api#examples": [ + { + "title": "To get information about uploads", + "documentation": "The following example returns information about uploads, given a specific Device Farm project.", + "input": { + "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456", + "nextToken": "RW5DdDJkMWYwZjM2MzM2VHVpOHJIUXlDUXlhc2QzRGViYnc9SEXAMPLE" + }, + "output": { + "uploads": [] + } + } + ], "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -6360,7 +7036,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the list uploads operation.
" + "smithy.api#documentation": "Represents a request to the list uploads operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#ListUploadsResult": { @@ -6380,7 +7057,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of a list uploads request.
" + "smithy.api#documentation": "Represents the result of a list uploads request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#ListVPCEConfigurations": { @@ -6418,6 +7096,9 @@ "smithy.api#documentation": "An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#ListVPCEConfigurationsResult": { @@ -6435,6 +7116,9 @@ "smithy.api#documentation": "An identifier that was returned from the previous call to this operation, which can be\n used to return the next set of items in the list.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#Location": { @@ -7076,7 +7760,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request for a purchase offering.
" + "smithy.api#documentation": "Represents a request for a purchase offering.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#PurchaseOfferingResult": { @@ -7090,7 +7775,8 @@ } }, "traits": { - "smithy.api#documentation": "The result of the purchase offering (for example, success or failure).
" + "smithy.api#documentation": "The result of the purchase offering (for example, success or failure).
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#PurchasedDevicesMap": { @@ -7365,7 +8051,8 @@ } }, "traits": { - "smithy.api#documentation": "A request that represents an offering renewal.
" + "smithy.api#documentation": "A request that represents an offering renewal.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#RenewOfferingResult": { @@ -7379,7 +8066,8 @@ } }, "traits": { - "smithy.api#documentation": "The result of a renewal offering.
" + "smithy.api#documentation": "The result of a renewal offering.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#Resolution": { @@ -7888,7 +8576,25 @@ } ], "traits": { - "smithy.api#documentation": "Schedules a run.
" + "smithy.api#documentation": "Schedules a run.
", + "smithy.api#examples": [ + { + "title": "To schedule a test run", + "documentation": "The following example schedules a test run named MyRun.", + "input": { + "projectArn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456", + "devicePoolArn": "arn:aws:devicefarm:us-west-2:123456789101:pool:EXAMPLE-GUID-123-456", + "name": "MyRun", + "test": { + "type": "APPIUM_JAVA_JUNIT", + "testPackageArn": "arn:aws:devicefarm:us-west-2:123456789101:test:EXAMPLE-GUID-123-456" + } + }, + "output": { + "run": {} + } + } + ] } }, "com.amazonaws.devicefarm#ScheduleRunConfiguration": { @@ -8008,7 +8714,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the schedule run operation.
" + "smithy.api#documentation": "Represents a request to the schedule run operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#ScheduleRunResult": { @@ -8022,7 +8729,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of a schedule run request.
" + "smithy.api#documentation": "Represents the result of a schedule run request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#ScheduleRunTest": { @@ -8174,6 +8882,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#StopJobResult": { @@ -8185,6 +8896,9 @@ "smithy.api#documentation": "The job that was stopped.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#StopRemoteAccessSession": { @@ -8225,7 +8939,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the request to stop the remote access session.
" + "smithy.api#documentation": "Represents the request to stop the remote access session.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#StopRemoteAccessSessionResult": { @@ -8239,7 +8954,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the response from the server that describes the remote access session\n when AWS Device Farm stops the session.
" + "smithy.api#documentation": "Represents the response from the server that describes the remote access session\n when AWS Device Farm stops the session.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#StopRun": { @@ -8265,7 +8981,19 @@ } ], "traits": { - "smithy.api#documentation": "Initiates a stop request for the current test run. AWS Device Farm immediately stops the run on devices\n where tests have not started. You are not billed for these devices. On devices where tests have started\n executing, setup suite and teardown suite tests run to completion on those devices. You are billed for\n setup, teardown, and any tests that were in progress or already completed.
" + "smithy.api#documentation": "Initiates a stop request for the current test run. AWS Device Farm immediately stops the run on devices\n where tests have not started. You are not billed for these devices. On devices where tests have started\n executing, setup suite and teardown suite tests run to completion on those devices. You are billed for\n setup, teardown, and any tests that were in progress or already completed.
", + "smithy.api#examples": [ + { + "title": "To stop a test run", + "documentation": "The following example stops a specific test run.", + "input": { + "arn": "arn:aws:devicefarm:us-west-2:123456789101:run:EXAMPLE-GUID-123-456" + }, + "output": { + "run": {} + } + } + ] } }, "com.amazonaws.devicefarm#StopRunRequest": { @@ -8280,7 +9008,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the request to stop a specific run.
" + "smithy.api#documentation": "Represents the request to stop a specific run.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#StopRunResult": { @@ -8294,7 +9023,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the results of your stop run attempt.
" + "smithy.api#documentation": "Represents the results of your stop run attempt.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#String": { @@ -8535,11 +9265,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.devicefarm#TagValue": { "type": "string", @@ -9169,11 +9905,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.devicefarm#UpdateDeviceInstance": { "type": "operation", @@ -9223,6 +9965,9 @@ "smithy.api#documentation": "An array of strings that you want to associate with the device instance.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#UpdateDeviceInstanceResult": { @@ -9234,6 +9979,9 @@ "smithy.api#documentation": "An object that contains information about your device instance.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#UpdateDevicePool": { @@ -9259,7 +10007,28 @@ } ], "traits": { - "smithy.api#documentation": "Modifies the name, description, and rules in a device pool given the attributes and\n the pool ARN. Rule updates are all-or-nothing, meaning they can only be updated as a\n whole (or not at all).
" + "smithy.api#documentation": "Modifies the name, description, and rules in a device pool given the attributes and\n the pool ARN. Rule updates are all-or-nothing, meaning they can only be updated as a\n whole (or not at all).
", + "smithy.api#examples": [ + { + "title": "To update a device pool", + "documentation": "The following example updates the specified device pool with a new name and description. It also enables remote access of devices in the device pool.", + "input": { + "arn": "arn:aws:devicefarm:us-west-2::devicepool:082d10e5-d7d7-48a5-ba5c-12345EXAMPLE", + "name": "NewName", + "description": "NewDescription", + "rules": [ + { + "attribute": "REMOTE_ACCESS_ENABLED", + "operator": "EQUALS", + "value": "True" + } + ] + }, + "output": { + "devicePool": {} + } + } + ] } }, "com.amazonaws.devicefarm#UpdateDevicePoolRequest": { @@ -9304,7 +10073,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the update device pool operation.
" + "smithy.api#documentation": "Represents a request to the update device pool operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#UpdateDevicePoolResult": { @@ -9318,7 +10088,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of an update device pool request.
" + "smithy.api#documentation": "Represents the result of an update device pool request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#UpdateInstanceProfile": { @@ -9387,6 +10158,9 @@ "smithy.api#documentation": "The updated choice for whether you want to reboot the device after use. The default\n value is true
.
An object that contains information about your instance profile.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#UpdateNetworkProfile": { @@ -9504,6 +10281,9 @@ "smithy.api#documentation": "Proportion of received packets that fail to arrive from 0 to 100 percent.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#UpdateNetworkProfileResult": { @@ -9515,6 +10295,9 @@ "smithy.api#documentation": "A list of the available network profiles.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#UpdateProject": { @@ -9573,7 +10356,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to the update project operation.
" + "smithy.api#documentation": "Represents a request to the update project operation.
", + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#UpdateProjectResult": { @@ -9587,7 +10371,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the result of an update project request.
" + "smithy.api#documentation": "Represents the result of an update project request.
", + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#UpdateTestGridProject": { @@ -9644,6 +10429,9 @@ "smithy.api#documentation": "The VPC security groups and subnets that are attached to a project.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#UpdateTestGridProjectResult": { @@ -9655,6 +10443,9 @@ "smithy.api#documentation": "The project, including updated information.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#UpdateUpload": { @@ -9711,6 +10502,9 @@ "smithy.api#documentation": "Set to true if the YAML file has changed and must be updated. Otherwise, set to false.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#UpdateUploadResult": { @@ -9722,6 +10516,9 @@ "smithy.api#documentation": "A test spec uploaded to Device Farm.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#UpdateVPCEConfiguration": { @@ -9784,6 +10581,9 @@ "smithy.api#documentation": "An optional description that provides details about your VPC endpoint configuration.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.devicefarm#UpdateVPCEConfigurationResult": { @@ -9795,6 +10595,9 @@ "smithy.api#documentation": "An object that contains information about your VPC endpoint configuration.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.devicefarm#Upload": { diff --git a/codegen/sdk-codegen/aws-models/devops-guru.json b/codegen/sdk-codegen/aws-models/devops-guru.json index f6446d3d4f6..b4dcc843a10 100644 --- a/codegen/sdk-codegen/aws-models/devops-guru.json +++ b/codegen/sdk-codegen/aws-models/devops-guru.json @@ -628,52 +628,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", @@ -681,13 +685,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -697,224 +710,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://devops-guru-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://devops-guru-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": [ { "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": [], - "endpoint": { - "url": "https://devops-guru-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://devops-guru-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://devops-guru.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://devops-guru.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://devops-guru.{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://devops-guru.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/direct-connect.json b/codegen/sdk-codegen/aws-models/direct-connect.json index ef827489798..897ec293306 100644 --- a/codegen/sdk-codegen/aws-models/direct-connect.json +++ b/codegen/sdk-codegen/aws-models/direct-connect.json @@ -96,6 +96,9 @@ "directConnectGatewayAssociation": { "target": "com.amazonaws.directconnect#DirectConnectGatewayAssociation" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.directconnect#AddressFamily": { @@ -442,6 +445,9 @@ "virtualInterface": { "target": "com.amazonaws.directconnect#VirtualInterface" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.directconnect#AmazonAddress": { @@ -1603,6 +1609,9 @@ "smithy.api#documentation": "Information about the Direct Connect gateway proposal.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.directconnect#CreateDirectConnectGatewayAssociationRequest": { @@ -1647,6 +1656,9 @@ "smithy.api#documentation": "The association to be created.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.directconnect#CreateDirectConnectGatewayRequest": { @@ -1679,6 +1691,9 @@ "smithy.api#documentation": "The Direct Connect gateway.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.directconnect#CreateInterconnect": { @@ -1997,6 +2012,9 @@ "virtualInterface": { "target": "com.amazonaws.directconnect#VirtualInterface" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.directconnect#CustomerAddress": { @@ -2208,6 +2226,9 @@ "smithy.api#documentation": "The ID of the associated gateway.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.directconnect#DeleteDirectConnectGatewayAssociationRequest": { @@ -2245,6 +2266,9 @@ "smithy.api#documentation": "Information about the deleted association.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.directconnect#DeleteDirectConnectGatewayRequest": { @@ -2271,6 +2295,9 @@ "smithy.api#documentation": "The Direct Connect gateway.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.directconnect#DeleteInterconnect": { @@ -2651,6 +2678,9 @@ "smithy.api#documentation": "The token to use to retrieve the next page of results. This value is null
when there are no more results to return.
The token to retrieve the next page.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.directconnect#DescribeDirectConnectGatewayAttachments": { @@ -2801,6 +2834,9 @@ "smithy.api#documentation": "The token to retrieve the next page.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.directconnect#DescribeDirectConnectGateways": { @@ -2864,6 +2900,9 @@ "smithy.api#documentation": "The token to retrieve the next page.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.directconnect#DescribeHostedConnections": { @@ -5168,6 +5207,7 @@ "arnNamespace": "directconnect", "cloudFormationName": "DirectConnect", "cloudTrailEventSource": "directconnect.amazonaws.com", + "docId": "directconnect-2012-10-25", "endpointPrefix": "directconnect" }, "aws.auth#sigv4": { @@ -5239,52 +5279,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", @@ -5292,13 +5336,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -5308,224 +5361,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://directconnect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://directconnect-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": [ { "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": [], - "endpoint": { - "url": "https://directconnect-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://directconnect-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://directconnect.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://directconnect.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://directconnect.{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://directconnect.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -6773,6 +6777,9 @@ "directConnectGatewayAssociation": { "target": "com.amazonaws.directconnect#DirectConnectGatewayAssociation" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.directconnect#UpdateDirectConnectGatewayRequest": { diff --git a/codegen/sdk-codegen/aws-models/directory-service.json b/codegen/sdk-codegen/aws-models/directory-service.json index 54304f2bab2..e13320d38ba 100644 --- a/codegen/sdk-codegen/aws-models/directory-service.json +++ b/codegen/sdk-codegen/aws-models/directory-service.json @@ -82,6 +82,9 @@ "smithy.api#documentation": "The shared directory in the directory consumer account.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#AccessDeniedException": { @@ -174,7 +177,10 @@ }, "com.amazonaws.directoryservice#AddIpRoutesResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.directoryservice#AddRegion": { "type": "operation", @@ -250,7 +256,10 @@ }, "com.amazonaws.directoryservice#AddRegionResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.directoryservice#AddTagsToResource": { "type": "operation", @@ -305,7 +314,10 @@ }, "com.amazonaws.directoryservice#AddTagsToResourceResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.directoryservice#AddedDateTime": { "type": "timestamp" @@ -440,7 +452,10 @@ }, "com.amazonaws.directoryservice#CancelSchemaExtensionResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.directoryservice#Certificate": { "type": "structure", @@ -970,7 +985,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the results of the ConnectDirectory operation.
" + "smithy.api#documentation": "Contains the results of the ConnectDirectory operation.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#ConnectPassword": { @@ -1058,7 +1074,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the results of the CreateAlias operation.
" + "smithy.api#documentation": "Contains the results of the CreateAlias operation.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#CreateComputer": { @@ -1152,7 +1169,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the results for the CreateComputer operation.
" + "smithy.api#documentation": "Contains the results for the CreateComputer operation.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#CreateConditionalForwarder": { @@ -1224,7 +1242,8 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "The result of a CreateConditinalForwarder request.
" + "smithy.api#documentation": "The result of a CreateConditinalForwarder request.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#CreateDirectory": { @@ -1318,7 +1337,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the results of the CreateDirectory operation.
" + "smithy.api#documentation": "Contains the results of the CreateDirectory operation.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#CreateLogSubscription": { @@ -1377,7 +1397,10 @@ }, "com.amazonaws.directoryservice#CreateLogSubscriptionResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.directoryservice#CreateMicrosoftAD": { "type": "operation", @@ -1473,7 +1496,8 @@ } }, "traits": { - "smithy.api#documentation": "Result of a CreateMicrosoftAD request.
" + "smithy.api#documentation": "Result of a CreateMicrosoftAD request.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#CreateSnapshot": { @@ -1550,7 +1574,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the results of the CreateSnapshot operation.
" + "smithy.api#documentation": "Contains the results of the CreateSnapshot operation.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#CreateTrust": { @@ -1651,7 +1676,8 @@ } }, "traits": { - "smithy.api#documentation": "The result of a CreateTrust request.
" + "smithy.api#documentation": "The result of a CreateTrust request.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#CreatedDateTime": { @@ -1738,7 +1764,8 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "The result of a DeleteConditionalForwarder request.
" + "smithy.api#documentation": "The result of a DeleteConditionalForwarder request.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#DeleteDirectory": { @@ -1791,7 +1818,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the results of the DeleteDirectory operation.
" + "smithy.api#documentation": "Contains the results of the DeleteDirectory operation.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#DeleteLogSubscription": { @@ -1837,7 +1865,10 @@ }, "com.amazonaws.directoryservice#DeleteLogSubscriptionResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.directoryservice#DeleteSnapshot": { "type": "operation", @@ -1892,7 +1923,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the results of the DeleteSnapshot operation.
" + "smithy.api#documentation": "Contains the results of the DeleteSnapshot operation.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#DeleteTrust": { @@ -1958,7 +1990,8 @@ } }, "traits": { - "smithy.api#documentation": "The result of a DeleteTrust request.
" + "smithy.api#documentation": "The result of a DeleteTrust request.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#DeregisterCertificate": { @@ -2023,7 +2056,10 @@ }, "com.amazonaws.directoryservice#DeregisterCertificateResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.directoryservice#DeregisterEventTopic": { "type": "operation", @@ -2078,7 +2114,8 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "The result of a DeregisterEventTopic request.
" + "smithy.api#documentation": "The result of a DeregisterEventTopic request.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#DescribeCertificate": { @@ -2144,6 +2181,9 @@ "smithy.api#documentation": "Information about the certificate, including registered date time, certificate state, the\n reason for the state, expiration date time, and certificate common name.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#DescribeClientAuthenticationSettings": { @@ -2232,6 +2272,9 @@ "smithy.api#documentation": "The next token used to retrieve the client authentication settings if the number of setting types exceeds\n page limit and there is another page.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#DescribeConditionalForwarders": { @@ -2299,7 +2342,8 @@ } }, "traits": { - "smithy.api#documentation": "The result of a DescribeConditionalForwarder request.
" + "smithy.api#documentation": "The result of a DescribeConditionalForwarder request.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#DescribeDirectories": { @@ -2381,7 +2425,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the results of the DescribeDirectories operation.
" + "smithy.api#documentation": "Contains the results of the DescribeDirectories operation.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#DescribeDomainControllers": { @@ -2469,6 +2514,9 @@ "smithy.api#documentation": "If not null, more results are available. Pass this value for the NextToken
\n parameter in a subsequent call to DescribeDomainControllers retrieve the\n next set of items.
The result of a DescribeEventTopic request.
" + "smithy.api#documentation": "The result of a DescribeEventTopic request.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#DescribeLDAPSSettings": { @@ -2618,6 +2667,9 @@ "smithy.api#documentation": "The next token used to retrieve the LDAPS settings if the number of setting types exceeds\n page limit and there is another page.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#DescribeRegions": { @@ -2702,6 +2754,9 @@ "smithy.api#documentation": "If not null, more results are available. Pass this value for the NextToken
\n parameter in a subsequent call to DescribeRegions to retrieve the next set\n of items.
If not null, token that indicates that more results are available. Pass this value for the NextToken
parameter in a subsequent call to DescribeSettings
to retrieve the next set of items.
If not null, token that indicates that more results are available. Pass this value for the\n NextToken
parameter in a subsequent call to DescribeSharedDirectories to retrieve the next set of items.
Contains the results of the DescribeSnapshots operation.
" + "smithy.api#documentation": "Contains the results of the DescribeSnapshots operation.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#DescribeTrusts": { @@ -3050,7 +3112,8 @@ } }, "traits": { - "smithy.api#documentation": "The result of a DescribeTrust request.
" + "smithy.api#documentation": "The result of a DescribeTrust request.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#DescribeUpdateDirectory": { @@ -3139,6 +3202,9 @@ "smithy.api#documentation": "\n If not null, more results are available. Pass this value for the NextToken
parameter.\n
Contains the results of the DisableRadius operation.
" + "smithy.api#documentation": "Contains the results of the DisableRadius operation.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#DisableSso": { @@ -5348,7 +5386,8 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Contains the results of the DisableSso operation.
" + "smithy.api#documentation": "Contains the results of the DisableSso operation.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#DnsIpAddrs": { @@ -5567,7 +5606,10 @@ }, "com.amazonaws.directoryservice#EnableClientAuthenticationResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.directoryservice#EnableLDAPS": { "type": "operation", @@ -5631,7 +5673,10 @@ }, "com.amazonaws.directoryservice#EnableLDAPSResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.directoryservice#EnableRadius": { "type": "operation", @@ -5689,7 +5734,8 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Contains the results of the EnableRadius operation.
" + "smithy.api#documentation": "Contains the results of the EnableRadius operation.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#EnableSso": { @@ -5753,7 +5799,8 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Contains the results of the EnableSso operation.
" + "smithy.api#documentation": "Contains the results of the EnableSso operation.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#EndDateTime": { @@ -5881,7 +5928,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the results of the GetDirectoryLimits operation.
" + "smithy.api#documentation": "Contains the results of the GetDirectoryLimits operation.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#GetSnapshotLimits": { @@ -5934,7 +5982,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the results of the GetSnapshotLimits operation.
" + "smithy.api#documentation": "Contains the results of the GetSnapshotLimits operation.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#IncompatibleSettingsException": { @@ -6400,6 +6449,9 @@ "smithy.api#documentation": "A list of certificates with basic details including certificate ID, certificate common\n name, certificate state.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#ListIpRoutes": { @@ -6479,6 +6531,9 @@ "smithy.api#documentation": "If not null, more results are available. Pass this value for the\n NextToken parameter in a subsequent call to ListIpRoutes to retrieve the next set of items.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#ListLogSubscriptions": { @@ -6554,6 +6609,9 @@ "smithy.api#documentation": "The token for the next set of items to return.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#ListSchemaExtensions": { @@ -6630,6 +6688,9 @@ "smithy.api#documentation": "If not null, more results are available. Pass this value for the NextToken
\n parameter in a subsequent call to ListSchemaExtensions
to retrieve the next set\n of items.
Reserved for future use.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#LogGroupName": { @@ -7285,6 +7349,9 @@ "smithy.api#documentation": "The identifier of the certificate.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#RegisterEventTopic": { @@ -7340,7 +7407,8 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "The result of a RegisterEventTopic request.
" + "smithy.api#documentation": "The result of a RegisterEventTopic request.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#RejectSharedDirectory": { @@ -7396,6 +7464,9 @@ "smithy.api#documentation": "Identifier of the shared directory in the directory consumer account.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#RemoteDomainName": { @@ -7467,7 +7538,10 @@ }, "com.amazonaws.directoryservice#RemoveIpRoutesResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.directoryservice#RemoveRegion": { "type": "operation", @@ -7518,7 +7592,10 @@ }, "com.amazonaws.directoryservice#RemoveRegionResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.directoryservice#RemoveTagsFromResource": { "type": "operation", @@ -7570,7 +7647,10 @@ }, "com.amazonaws.directoryservice#RemoveTagsFromResourceResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.directoryservice#ReplicationScope": { "type": "enum", @@ -7656,7 +7736,10 @@ }, "com.amazonaws.directoryservice#ResetUserPasswordResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.directoryservice#ResourceId": { "type": "string", @@ -7710,7 +7793,8 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Contains the results of the RestoreFromSnapshot operation.
" + "smithy.api#documentation": "Contains the results of the RestoreFromSnapshot operation.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#SID": { @@ -8096,6 +8180,9 @@ "smithy.api#documentation": "Identifier of the directory that is stored in the directory consumer account that is\n shared from the specified directory (DirectoryId
).
The identifier of the schema extension that will be applied.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#StartTime": { @@ -8966,6 +9056,9 @@ "smithy.api#documentation": "Identifier of the directory stored in the directory consumer account that is to be\n unshared from the specified directory (DirectoryId
).
The result of an UpdateConditionalForwarder request.
" + "smithy.api#documentation": "The result of an UpdateConditionalForwarder request.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#UpdateDirectorySetup": { @@ -9173,7 +9267,10 @@ }, "com.amazonaws.directoryservice#UpdateDirectorySetupResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.directoryservice#UpdateInfoEntry": { "type": "structure", @@ -9291,7 +9388,10 @@ }, "com.amazonaws.directoryservice#UpdateNumberOfDomainControllersResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.directoryservice#UpdateRadius": { "type": "operation", @@ -9346,7 +9446,8 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Contains the results of the UpdateRadius operation.
" + "smithy.api#documentation": "Contains the results of the UpdateRadius operation.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#UpdateSecurityGroupForDirectoryControllers": { @@ -9424,6 +9525,9 @@ "smithy.api#documentation": "The identifier of the directory.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#UpdateStatus": { @@ -9511,6 +9615,9 @@ "smithy.api#documentation": "Identifier of the trust relationship.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#UpdateType": { @@ -9634,7 +9741,8 @@ } }, "traits": { - "smithy.api#documentation": "Result of a VerifyTrust request.
" + "smithy.api#documentation": "Result of a VerifyTrust request.
", + "smithy.api#output": {} } }, "com.amazonaws.directoryservice#VpcId": { diff --git a/codegen/sdk-codegen/aws-models/dlm.json b/codegen/sdk-codegen/aws-models/dlm.json index 5760e2be688..cad254f3ffd 100644 --- a/codegen/sdk-codegen/aws-models/dlm.json +++ b/codegen/sdk-codegen/aws-models/dlm.json @@ -2157,52 +2157,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", @@ -2210,13 +2214,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -2226,92 +2239,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://dlm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://dlm-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -2320,155 +2324,115 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws-us-gov", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsFIPS" + "name" ] } ] } ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://dlm.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [], - "endpoint": { - "url": "https://dlm-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "endpoint": { + "url": "https://dlm.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://dlm-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://dlm.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://dlm.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://dlm.{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://dlm.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/docdb-elastic.json b/codegen/sdk-codegen/aws-models/docdb-elastic.json index f544e6bb332..c1c8502014c 100644 --- a/codegen/sdk-codegen/aws-models/docdb-elastic.json +++ b/codegen/sdk-codegen/aws-models/docdb-elastic.json @@ -467,55 +467,55 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://docdb-elastic-fips.us-gov-east-1.api.aws" + "url": "https://docdb-elastic-fips.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://docdb-elastic-fips.us-gov-east-1.amazonaws.com" + "url": "https://docdb-elastic-fips.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://docdb-elastic.us-gov-east-1.api.aws" + "url": "https://docdb-elastic.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://docdb-elastic.us-gov-east-1.amazonaws.com" + "url": "https://docdb-elastic.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -526,9 +526,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -539,9 +539,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -552,9 +552,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -565,109 +565,109 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://docdb-elastic-fips.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://docdb-elastic-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://docdb-elastic-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://docdb-elastic.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://docdb-elastic.us-iso-east-1.c2s.ic.gov" + "url": "https://docdb-elastic.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://docdb-elastic-fips.us-east-1.api.aws" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://docdb-elastic-fips.us-east-1.amazonaws.com" + "url": "https://docdb-elastic-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://docdb-elastic.us-east-1.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://docdb-elastic.us-east-1.amazonaws.com" + "url": "https://docdb-elastic.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -676,9 +676,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -689,9 +689,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -700,9 +700,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -713,22 +713,35 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { + "Region": "us-east-1", + "UseFIPS": false, "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { "UseFIPS": false, - "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -738,9 +751,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -750,11 +763,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" @@ -2330,4 +2349,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/docdb.json b/codegen/sdk-codegen/aws-models/docdb.json index 82af29e7881..9aec53bb7e9 100644 --- a/codegen/sdk-codegen/aws-models/docdb.json +++ b/codegen/sdk-codegen/aws-models/docdb.json @@ -68,7 +68,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to AddSourceIdentifierToSubscription.\n
" + "smithy.api#documentation": "Represents the input to AddSourceIdentifierToSubscription.\n
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#AddSourceIdentifierToSubscriptionResult": { @@ -124,7 +125,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to AddTagsToResource.\n
" + "smithy.api#documentation": "Represents the input to AddTagsToResource.\n
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#AmazonRDSv19": { @@ -368,52 +370,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", @@ -421,13 +427,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -437,92 +452,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://rds-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://rds-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -531,155 +537,115 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws-us-gov", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsFIPS" + "name" ] } ] } ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://rds.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [], - "endpoint": { - "url": "https://rds-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "endpoint": { + "url": "https://rds.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://rds-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://rds.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://rds.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://rds.{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://rds.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -1442,7 +1408,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to ApplyPendingMaintenanceAction.\n
" + "smithy.api#documentation": "Represents the input to ApplyPendingMaintenanceAction.\n
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#ApplyPendingMaintenanceActionResult": { @@ -1591,6 +1558,9 @@ "smithy.api#documentation": "An optional pagination token provided if the number of records retrieved is greater than MaxRecords
. If this parameter is specified, the marker specifies the next record in the list. Including the value of Marker
in the next call to DescribeCertificates
results in the next page of certificates.
Represents the input to CopyDBClusterParameterGroup.\n
" + "smithy.api#documentation": "Represents the input to CopyDBClusterParameterGroup.\n
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#CopyDBClusterParameterGroupResult": { @@ -1774,7 +1745,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to CopyDBClusterSnapshot.\n
" + "smithy.api#documentation": "Represents the input to CopyDBClusterSnapshot.\n
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#CopyDBClusterSnapshotResult": { @@ -1980,7 +1952,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to CreateDBCluster.\n
" + "smithy.api#documentation": "Represents the input to CreateDBCluster.\n
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#CreateDBClusterParameterGroup": { @@ -2035,7 +2008,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of CreateDBClusterParameterGroup.
" + "smithy.api#documentation": "Represents the input of CreateDBClusterParameterGroup.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#CreateDBClusterParameterGroupResult": { @@ -2114,7 +2088,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of CreateDBClusterSnapshot.
" + "smithy.api#documentation": "Represents the input of CreateDBClusterSnapshot.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#CreateDBClusterSnapshotResult": { @@ -2268,7 +2243,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to CreateDBInstance.
" + "smithy.api#documentation": "Represents the input to CreateDBInstance.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#CreateDBInstanceResult": { @@ -2343,7 +2319,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to CreateDBSubnetGroup.
" + "smithy.api#documentation": "Represents the input to CreateDBSubnetGroup.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#CreateDBSubnetGroupResult": { @@ -2441,7 +2418,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to CreateEventSubscription.
" + "smithy.api#documentation": "Represents the input to CreateEventSubscription.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#CreateEventSubscriptionResult": { @@ -2529,7 +2507,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to CreateGlobalCluster.
" + "smithy.api#documentation": "Represents the input to CreateGlobalCluster.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#CreateGlobalClusterResult": { @@ -2831,7 +2810,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the output of DescribeDBClusters.
" + "smithy.api#documentation": "Represents the output of DescribeDBClusters.
", + "smithy.api#output": {} } }, "com.amazonaws.docdb#DBClusterNotFoundFault": { @@ -2960,7 +2940,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the output of DBClusterParameterGroups.
" + "smithy.api#documentation": "Represents the output of DBClusterParameterGroups.
", + "smithy.api#output": {} } }, "com.amazonaws.docdb#DBClusterQuotaExceededFault": { @@ -3214,7 +3195,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the output of DescribeDBClusterSnapshots.
" + "smithy.api#documentation": "Represents the output of DescribeDBClusterSnapshots.
", + "smithy.api#output": {} } }, "com.amazonaws.docdb#DBClusterSnapshotNotFoundFault": { @@ -3317,7 +3299,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the output of DescribeDBEngineVersions.
" + "smithy.api#documentation": "Represents the output of DescribeDBEngineVersions.
", + "smithy.api#output": {} } }, "com.amazonaws.docdb#DBInstance": { @@ -3537,7 +3520,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the output of DescribeDBInstances.
" + "smithy.api#documentation": "Represents the output of DescribeDBInstances.
", + "smithy.api#output": {} } }, "com.amazonaws.docdb#DBInstanceNotFoundFault": { @@ -3796,7 +3780,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the output of DescribeDBSubnetGroups.
" + "smithy.api#documentation": "Represents the output of DescribeDBSubnetGroups.
", + "smithy.api#output": {} } }, "com.amazonaws.docdb#DBSubnetGroupNotFoundFault": { @@ -3930,7 +3915,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to DeleteDBCluster.
" + "smithy.api#documentation": "Represents the input to DeleteDBCluster.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#DeleteDBClusterParameterGroup": { @@ -3965,7 +3951,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to DeleteDBClusterParameterGroup.
" + "smithy.api#documentation": "Represents the input to DeleteDBClusterParameterGroup.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#DeleteDBClusterResult": { @@ -4011,7 +3998,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to DeleteDBClusterSnapshot.
" + "smithy.api#documentation": "Represents the input to DeleteDBClusterSnapshot.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#DeleteDBClusterSnapshotResult": { @@ -4066,7 +4054,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to DeleteDBInstance.
" + "smithy.api#documentation": "Represents the input to DeleteDBInstance.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#DeleteDBInstanceResult": { @@ -4115,7 +4104,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to DeleteDBSubnetGroup.
" + "smithy.api#documentation": "Represents the input to DeleteDBSubnetGroup.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#DeleteEventSubscription": { @@ -4150,7 +4140,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to DeleteEventSubscription.
" + "smithy.api#documentation": "Represents the input to DeleteEventSubscription.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#DeleteEventSubscriptionResult": { @@ -4196,7 +4187,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to DeleteGlobalCluster.
" + "smithy.api#documentation": "Represents the input to DeleteGlobalCluster.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#DeleteGlobalClusterResult": { @@ -4260,6 +4252,9 @@ "smithy.api#documentation": "An optional pagination token provided by a previous DescribeCertificates
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.
Represents the input to DescribeDBClusterParameterGroups.
" + "smithy.api#documentation": "Represents the input to DescribeDBClusterParameterGroups.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#DescribeDBClusterParameters": { @@ -4376,7 +4372,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to DescribeDBClusterParameters.
" + "smithy.api#documentation": "Represents the input to DescribeDBClusterParameters.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#DescribeDBClusterSnapshotAttributes": { @@ -4408,7 +4405,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to DescribeDBClusterSnapshotAttributes.
" + "smithy.api#documentation": "Represents the input to DescribeDBClusterSnapshotAttributes.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#DescribeDBClusterSnapshotAttributesResult": { @@ -4500,7 +4498,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to DescribeDBClusterSnapshots.
" + "smithy.api#documentation": "Represents the input to DescribeDBClusterSnapshots.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#DescribeDBClusters": { @@ -4555,7 +4554,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to DescribeDBClusters.
" + "smithy.api#documentation": "Represents the input to DescribeDBClusters.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#DescribeDBEngineVersions": { @@ -4636,7 +4636,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to DescribeDBEngineVersions.
" + "smithy.api#documentation": "Represents the input to DescribeDBEngineVersions.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#DescribeDBInstances": { @@ -4822,7 +4823,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to DescribeDBInstances.
" + "smithy.api#documentation": "Represents the input to DescribeDBInstances.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#DescribeDBSubnetGroups": { @@ -4877,7 +4879,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to DescribeDBSubnetGroups.
" + "smithy.api#documentation": "Represents the input to DescribeDBSubnetGroups.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#DescribeEngineDefaultClusterParameters": { @@ -4922,7 +4925,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to DescribeEngineDefaultClusterParameters.
" + "smithy.api#documentation": "Represents the input to DescribeEngineDefaultClusterParameters.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#DescribeEngineDefaultClusterParametersResult": { @@ -4965,7 +4969,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to DescribeEventCategories.
" + "smithy.api#documentation": "Represents the input to DescribeEventCategories.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#DescribeEventSubscriptions": { @@ -5020,7 +5025,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to DescribeEventSubscriptions.
" + "smithy.api#documentation": "Represents the input to DescribeEventSubscriptions.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#DescribeEvents": { @@ -5100,7 +5106,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to DescribeEvents.
" + "smithy.api#documentation": "Represents the input to DescribeEvents.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#DescribeGlobalClusters": { @@ -5153,6 +5160,9 @@ "smithy.api#documentation": "An optional pagination token provided by a previous DescribeGlobalClusters
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.
Represents the input to DescribeOrderableDBInstanceOptions.
" + "smithy.api#documentation": "Represents the input to DescribeOrderableDBInstanceOptions.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#DescribePendingMaintenanceActions": { @@ -5282,7 +5293,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to DescribePendingMaintenanceActions.
" + "smithy.api#documentation": "Represents the input to DescribePendingMaintenanceActions.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#Endpoint": { @@ -5431,7 +5443,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the output of DescribeEventCategories.
" + "smithy.api#documentation": "Represents the output of DescribeEventCategories.
", + "smithy.api#output": {} } }, "com.amazonaws.docdb#EventList": { @@ -5555,7 +5568,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the output of DescribeEventSubscriptions.
" + "smithy.api#documentation": "Represents the output of DescribeEventSubscriptions.
", + "smithy.api#output": {} } }, "com.amazonaws.docdb#EventsMessage": { @@ -5575,7 +5589,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the output of DescribeEvents.
" + "smithy.api#documentation": "Represents the output of DescribeEvents.
", + "smithy.api#output": {} } }, "com.amazonaws.docdb#ExceptionMessage": { @@ -5621,7 +5636,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to FailoverDBCluster.
" + "smithy.api#documentation": "Represents the input to FailoverDBCluster.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#FailoverDBClusterResult": { @@ -5864,6 +5880,9 @@ "smithy.api#documentation": "" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.docdb#InstanceQuotaExceededFault": { @@ -6228,7 +6247,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to ListTagsForResource.
" + "smithy.api#documentation": "Represents the input to ListTagsForResource.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#LogTypeList": { @@ -6376,7 +6396,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to ModifyDBCluster.
" + "smithy.api#documentation": "Represents the input to ModifyDBCluster.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#ModifyDBClusterParameterGroup": { @@ -6418,7 +6439,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to ModifyDBClusterParameterGroup.
" + "smithy.api#documentation": "Represents the input to ModifyDBClusterParameterGroup.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#ModifyDBClusterResult": { @@ -6486,7 +6508,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to ModifyDBClusterSnapshotAttribute.
" + "smithy.api#documentation": "Represents the input to ModifyDBClusterSnapshotAttribute.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#ModifyDBClusterSnapshotAttributeResult": { @@ -6626,7 +6649,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to ModifyDBInstance.
" + "smithy.api#documentation": "Represents the input to ModifyDBInstance.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#ModifyDBInstanceResult": { @@ -6694,7 +6718,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to ModifyDBSubnetGroup.
" + "smithy.api#documentation": "Represents the input to ModifyDBSubnetGroup.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#ModifyDBSubnetGroupResult": { @@ -6776,7 +6801,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to ModifyEventSubscription.
" + "smithy.api#documentation": "Represents the input to ModifyEventSubscription.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#ModifyEventSubscriptionResult": { @@ -6834,7 +6860,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to ModifyGlobalCluster.
" + "smithy.api#documentation": "Represents the input to ModifyGlobalCluster.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#ModifyGlobalClusterResult": { @@ -6919,7 +6946,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the output of DescribeOrderableDBInstanceOptions.
" + "smithy.api#documentation": "Represents the output of DescribeOrderableDBInstanceOptions.
", + "smithy.api#output": {} } }, "com.amazonaws.docdb#Parameter": { @@ -7099,7 +7127,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the output of DescribePendingMaintenanceActions.
" + "smithy.api#documentation": "Represents the output of DescribePendingMaintenanceActions.
", + "smithy.api#output": {} } }, "com.amazonaws.docdb#PendingModifiedValues": { @@ -7247,7 +7276,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to RebootDBInstance.
" + "smithy.api#documentation": "Represents the input to RebootDBInstance.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#RebootDBInstanceResult": { @@ -7303,7 +7333,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to RemoveFromGlobalCluster.
" + "smithy.api#documentation": "Represents the input to RemoveFromGlobalCluster.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#RemoveFromGlobalClusterResult": { @@ -7356,7 +7387,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to RemoveSourceIdentifierFromSubscription.
" + "smithy.api#documentation": "Represents the input to RemoveSourceIdentifierFromSubscription.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#RemoveSourceIdentifierFromSubscriptionResult": { @@ -7412,7 +7444,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to RemoveTagsFromResource.
" + "smithy.api#documentation": "Represents the input to RemoveTagsFromResource.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#ResetDBClusterParameterGroup": { @@ -7460,7 +7493,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to ResetDBClusterParameterGroup.
" + "smithy.api#documentation": "Represents the input to ResetDBClusterParameterGroup.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#ResourceNotFoundFault": { @@ -7642,7 +7676,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to RestoreDBClusterFromSnapshot.
" + "smithy.api#documentation": "Represents the input to RestoreDBClusterFromSnapshot.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#RestoreDBClusterFromSnapshotResult": { @@ -7795,7 +7830,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input to RestoreDBClusterToPointInTime.
" + "smithy.api#documentation": "Represents the input to RestoreDBClusterToPointInTime.
", + "smithy.api#input": {} } }, "com.amazonaws.docdb#RestoreDBClusterToPointInTimeResult": { @@ -7994,6 +8030,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.docdb#StartDBClusterResult": { @@ -8040,6 +8079,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.docdb#StopDBClusterResult": { @@ -8245,7 +8287,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the output of ListTagsForResource.
" + "smithy.api#documentation": "Represents the output of ListTagsForResource.
", + "smithy.api#output": {} } }, "com.amazonaws.docdb#UpgradeTarget": { diff --git a/codegen/sdk-codegen/aws-models/dynamodb-streams.json b/codegen/sdk-codegen/aws-models/dynamodb-streams.json index aefb201e259..17a1eb8b9f0 100644 --- a/codegen/sdk-codegen/aws-models/dynamodb-streams.json +++ b/codegen/sdk-codegen/aws-models/dynamodb-streams.json @@ -216,6 +216,7 @@ "arnNamespace": "dynamodb", "cloudFormationName": "DynamoDBStreams", "cloudTrailEventSource": "dynamodbstreams.amazonaws.com", + "docId": "streams-dynamodb-2012-08-10", "endpointPrefix": "streams.dynamodb" }, "aws.auth#sigv4": { @@ -287,52 +288,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", @@ -340,13 +345,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -356,226 +370,86 @@ { "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://streams.dynamodb-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-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://streams.dynamodb.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "ref": "PartitionResult" }, - { - "conditions": [], - "endpoint": { - "url": "https://streams.dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://streams.dynamodb-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://streams.dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { @@ -583,34 +457,7 @@ { "fn": "stringEquals", "argv": [ - { - "ref": "Region" - }, - "local" - ] - } - ], - "endpoint": { - "url": "http://localhost:8000", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "dynamodb", - "signingRegion": "us-east-1" - } - ] - }, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws", + "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -631,126 +478,244 @@ "type": "endpoint" }, { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws-cn", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], + "conditions": [], "endpoint": { - "url": "https://streams.dynamodb.{Region}.amazonaws.com.cn", + "url": "https://streams.dynamodb-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": [ - "aws-us-gov", { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } - ], + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], "endpoint": { - "url": "https://streams.dynamodb.{Region}.amazonaws.com", + "url": "https://streams.dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" }, + "local" + ] + } + ], + "endpoint": { + "url": "http://localhost:8000", + "properties": { + "authSchemes": [ { - "conditions": [ + "name": "sigv4", + "signingName": "dynamodb", + "signingRegion": "us-east-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws", + { + "fn": "getAttr", + "argv": [ { - "fn": "stringEquals", - "argv": [ - "aws-iso", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://streams.dynamodb.{Region}.c2s.ic.gov", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://streams.dynamodb.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws-cn", { - "conditions": [ + "fn": "getAttr", + "argv": [ { - "fn": "stringEquals", - "argv": [ - "aws-iso-b", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://streams.dynamodb.{Region}.sc2s.sgov.gov", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://streams.dynamodb.{Region}.amazonaws.com.cn", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws-us-gov", { - "conditions": [], - "endpoint": { - "url": "https://streams.dynamodb.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] } ] } - ] + ], + "endpoint": { + "url": "https://streams.dynamodb.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws-iso", + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://streams.dynamodb.{Region}.c2s.ic.gov", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws-iso-b", + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://streams.dynamodb.{Region}.sc2s.sgov.gov", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://streams.dynamodb.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -1514,7 +1479,21 @@ } ], "traits": { - "smithy.api#documentation": "Returns a shard iterator. A shard iterator provides information\n about how to retrieve the stream records from within a shard. Use\n the shard iterator in a subsequent \n GetRecords
request to read the stream records\n from the shard.
A shard iterator expires 15 minutes after it is returned to the requester.
\nReturns a shard iterator. A shard iterator provides information\n about how to retrieve the stream records from within a shard. Use\n the shard iterator in a subsequent \n GetRecords
request to read the stream records\n from the shard.
A shard iterator expires 15 minutes after it is returned to the requester.
\nReturns an array of stream ARNs associated with the current account and endpoint. If the\n TableName
parameter is present, then ListStreams
will return only the\n streams ARNs for that table.
You can call ListStreams
at a maximum rate of 5 times per second.
Returns an array of stream ARNs associated with the current account and endpoint. If the\n TableName
parameter is present, then ListStreams
will return only the\n streams ARNs for that table.
You can call ListStreams
at a maximum rate of 5 times per second.
The BatchGetItem
operation returns the attributes of one or more items\n from one or more tables. You identify requested items by primary key.
A single operation can retrieve up to 16 MB of data, which can contain as many as 100\n items. BatchGetItem
returns a partial result if the response size limit is\n exceeded, the table's provisioned throughput is exceeded, more than 1MB per partition is requested,\n or an internal processing failure occurs. If a partial result is returned, the operation returns a value for\n UnprocessedKeys
. You can use this value to retry the operation starting\n with the next item to get.
If you request more than 100 items, BatchGetItem
returns a\n ValidationException
with the message \"Too many items requested for\n the BatchGetItem call.\"
For example, if you ask to retrieve 100 items, but each individual item is 300 KB in\n size, the system returns 52 items (so as not to exceed the 16 MB limit). It also returns\n an appropriate UnprocessedKeys
value so you can get the next page of\n results. If desired, your application can include its own logic to assemble the pages of\n results into one dataset.
If none of the items can be processed due to insufficient\n provisioned throughput on all of the tables in the request, then\n BatchGetItem
returns a\n ProvisionedThroughputExceededException
. If at least\n one of the items is successfully processed, then\n BatchGetItem
completes successfully, while returning the keys of the\n unread items in UnprocessedKeys
.
If DynamoDB returns any unprocessed items, you should retry the batch operation on\n those items. However, we strongly recommend that you use an exponential\n backoff algorithm. If you retry the batch operation immediately, the\n underlying read or write requests can still fail due to throttling on the individual\n tables. If you delay the batch operation using exponential backoff, the individual\n requests in the batch are much more likely to succeed.
\nFor more information, see Batch Operations and Error Handling in the Amazon DynamoDB\n Developer Guide.
\nBy default, BatchGetItem
performs eventually consistent reads on every\n table in the request. If you want strongly consistent reads instead, you can set\n ConsistentRead
to true
for any or all tables.
In order to minimize response latency, BatchGetItem
may retrieve items in\n parallel.
When designing your application, keep in mind that DynamoDB does not return items in\n any particular order. To help parse the response by item, include the primary key values\n for the items in your request in the ProjectionExpression
parameter.
If a requested item does not exist, it is not returned in the result. Requests for\n nonexistent items consume the minimum read capacity units according to the type of read.\n For more information, see Working with Tables in the Amazon DynamoDB Developer\n Guide.
" + "smithy.api#documentation": "The BatchGetItem
operation returns the attributes of one or more items\n from one or more tables. You identify requested items by primary key.
A single operation can retrieve up to 16 MB of data, which can contain as many as 100\n items. BatchGetItem
returns a partial result if the response size limit is\n exceeded, the table's provisioned throughput is exceeded, more than 1MB per partition is requested,\n or an internal processing failure occurs. If a partial result is returned, the operation returns a value for\n UnprocessedKeys
. You can use this value to retry the operation starting\n with the next item to get.
If you request more than 100 items, BatchGetItem
returns a\n ValidationException
with the message \"Too many items requested for\n the BatchGetItem call.\"
For example, if you ask to retrieve 100 items, but each individual item is 300 KB in\n size, the system returns 52 items (so as not to exceed the 16 MB limit). It also returns\n an appropriate UnprocessedKeys
value so you can get the next page of\n results. If desired, your application can include its own logic to assemble the pages of\n results into one dataset.
If none of the items can be processed due to insufficient\n provisioned throughput on all of the tables in the request, then\n BatchGetItem
returns a\n ProvisionedThroughputExceededException
. If at least\n one of the items is successfully processed, then\n BatchGetItem
completes successfully, while returning the keys of the\n unread items in UnprocessedKeys
.
If DynamoDB returns any unprocessed items, you should retry the batch operation on\n those items. However, we strongly recommend that you use an exponential\n backoff algorithm. If you retry the batch operation immediately, the\n underlying read or write requests can still fail due to throttling on the individual\n tables. If you delay the batch operation using exponential backoff, the individual\n requests in the batch are much more likely to succeed.
\nFor more information, see Batch Operations and Error Handling in the Amazon DynamoDB\n Developer Guide.
\nBy default, BatchGetItem
performs eventually consistent reads on every\n table in the request. If you want strongly consistent reads instead, you can set\n ConsistentRead
to true
for any or all tables.
In order to minimize response latency, BatchGetItem
may retrieve items in\n parallel.
When designing your application, keep in mind that DynamoDB does not return items in\n any particular order. To help parse the response by item, include the primary key values\n for the items in your request in the ProjectionExpression
parameter.
If a requested item does not exist, it is not returned in the result. Requests for\n nonexistent items consume the minimum read capacity units according to the type of read.\n For more information, see Working with Tables in the Amazon DynamoDB Developer\n Guide.
", + "smithy.api#examples": [ + { + "title": "To retrieve multiple items from a table", + "documentation": "This example reads multiple items from the Music table using a batch of three GetItem requests. Only the AlbumTitle attribute is returned.", + "input": { + "RequestItems": { + "Music": { + "Keys": [ + { + "Artist": { + "S": "No One You Know" + }, + "SongTitle": { + "S": "Call Me Today" + } + }, + { + "Artist": { + "S": "Acme Band" + }, + "SongTitle": { + "S": "Happy Day" + } + }, + { + "Artist": { + "S": "No One You Know" + }, + "SongTitle": { + "S": "Scared of My Shadow" + } + } + ], + "ProjectionExpression": "AlbumTitle" + } + } + }, + "output": { + "Responses": { + "Music": [ + { + "AlbumTitle": { + "S": "Somewhat Famous" + } + }, + { + "AlbumTitle": { + "S": "Blue Sky Blues" + } + }, + { + "AlbumTitle": { + "S": "Louder Than Ever" + } + } + ] + } + } + } + ] } }, "com.amazonaws.dynamodb#BatchGetItemInput": { @@ -1094,7 +1154,65 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "The BatchWriteItem
operation puts or deletes multiple items in one or\n more tables. A single call to BatchWriteItem
can transmit up to 16MB of\n data over the network, consisting of up to 25 item put or delete operations. While\n individual items can be up to 400 KB once stored, it's important to note that an item's\n representation might be greater than 400KB while being sent in DynamoDB's JSON format\n for the API call. For more details on this distinction, see Naming Rules and Data Types.
\n BatchWriteItem
cannot update items. If you perform a BatchWriteItem
\n operation on an existing item, that item's values will be overwritten by the\n operation and it will appear like it was updated. To update items, we recommend you\n use the UpdateItem
action.
The individual PutItem
and DeleteItem
operations specified\n in BatchWriteItem
are atomic; however BatchWriteItem
as a\n whole is not. If any requested operations fail because the table's provisioned\n throughput is exceeded or an internal processing failure occurs, the failed operations\n are returned in the UnprocessedItems
response parameter. You can\n investigate and optionally resend the requests. Typically, you would call\n BatchWriteItem
in a loop. Each iteration would check for unprocessed\n items and submit a new BatchWriteItem
request with those unprocessed items\n until all items have been processed.
If none of the items can be processed due to insufficient\n provisioned throughput on all of the tables in the request, then\n BatchWriteItem
returns a\n ProvisionedThroughputExceededException
.
If DynamoDB returns any unprocessed items, you should retry the batch operation on\n those items. However, we strongly recommend that you use an exponential\n backoff algorithm. If you retry the batch operation immediately, the\n underlying read or write requests can still fail due to throttling on the individual\n tables. If you delay the batch operation using exponential backoff, the individual\n requests in the batch are much more likely to succeed.
\nFor more information, see Batch Operations and Error Handling in the Amazon DynamoDB\n Developer Guide.
\nWith BatchWriteItem
, you can efficiently write or delete large amounts of\n data, such as from Amazon EMR, or copy data from another database into DynamoDB. In\n order to improve performance with these large-scale operations,\n BatchWriteItem
does not behave in the same way as individual\n PutItem
and DeleteItem
calls would. For example, you\n cannot specify conditions on individual put and delete requests, and\n BatchWriteItem
does not return deleted items in the response.
If you use a programming language that supports concurrency, you can use threads to\n write items in parallel. Your application must include the necessary logic to manage the\n threads. With languages that don't support threading, you must update or delete the\n specified items one at a time. In both situations, BatchWriteItem
performs\n the specified put and delete operations in parallel, giving you the power of the thread\n pool approach without having to introduce complexity into your application.
Parallel processing reduces latency, but each specified put and delete request\n consumes the same number of write capacity units whether it is processed in parallel or\n not. Delete operations on nonexistent items consume one write capacity unit.
\nIf one or more of the following is true, DynamoDB rejects the entire batch write\n operation:
\nOne or more tables specified in the BatchWriteItem
request does\n not exist.
Primary key attributes specified on an item in the request do not match those\n in the corresponding table's primary key schema.
\nYou try to perform multiple operations on the same item in the same\n BatchWriteItem
request. For example, you cannot put and delete\n the same item in the same BatchWriteItem
request.
Your request contains at least two items with identical hash and range keys\n (which essentially is two put operations).
\nThere are more than 25 requests in the batch.
\nAny individual item in a batch exceeds 400 KB.
\nThe total request size exceeds 16 MB.
\nThe BatchWriteItem
operation puts or deletes multiple items in one or\n more tables. A single call to BatchWriteItem
can transmit up to 16MB of\n data over the network, consisting of up to 25 item put or delete operations. While\n individual items can be up to 400 KB once stored, it's important to note that an item's\n representation might be greater than 400KB while being sent in DynamoDB's JSON format\n for the API call. For more details on this distinction, see Naming Rules and Data Types.
\n BatchWriteItem
cannot update items. If you perform a BatchWriteItem
\n operation on an existing item, that item's values will be overwritten by the\n operation and it will appear like it was updated. To update items, we recommend you\n use the UpdateItem
action.
The individual PutItem
and DeleteItem
operations specified\n in BatchWriteItem
are atomic; however BatchWriteItem
as a\n whole is not. If any requested operations fail because the table's provisioned\n throughput is exceeded or an internal processing failure occurs, the failed operations\n are returned in the UnprocessedItems
response parameter. You can\n investigate and optionally resend the requests. Typically, you would call\n BatchWriteItem
in a loop. Each iteration would check for unprocessed\n items and submit a new BatchWriteItem
request with those unprocessed items\n until all items have been processed.
If none of the items can be processed due to insufficient\n provisioned throughput on all of the tables in the request, then\n BatchWriteItem
returns a\n ProvisionedThroughputExceededException
.
If DynamoDB returns any unprocessed items, you should retry the batch operation on\n those items. However, we strongly recommend that you use an exponential\n backoff algorithm. If you retry the batch operation immediately, the\n underlying read or write requests can still fail due to throttling on the individual\n tables. If you delay the batch operation using exponential backoff, the individual\n requests in the batch are much more likely to succeed.
\nFor more information, see Batch Operations and Error Handling in the Amazon DynamoDB\n Developer Guide.
\nWith BatchWriteItem
, you can efficiently write or delete large amounts of\n data, such as from Amazon EMR, or copy data from another database into DynamoDB. In\n order to improve performance with these large-scale operations,\n BatchWriteItem
does not behave in the same way as individual\n PutItem
and DeleteItem
calls would. For example, you\n cannot specify conditions on individual put and delete requests, and\n BatchWriteItem
does not return deleted items in the response.
If you use a programming language that supports concurrency, you can use threads to\n write items in parallel. Your application must include the necessary logic to manage the\n threads. With languages that don't support threading, you must update or delete the\n specified items one at a time. In both situations, BatchWriteItem
performs\n the specified put and delete operations in parallel, giving you the power of the thread\n pool approach without having to introduce complexity into your application.
Parallel processing reduces latency, but each specified put and delete request\n consumes the same number of write capacity units whether it is processed in parallel or\n not. Delete operations on nonexistent items consume one write capacity unit.
\nIf one or more of the following is true, DynamoDB rejects the entire batch write\n operation:
\nOne or more tables specified in the BatchWriteItem
request does\n not exist.
Primary key attributes specified on an item in the request do not match those\n in the corresponding table's primary key schema.
\nYou try to perform multiple operations on the same item in the same\n BatchWriteItem
request. For example, you cannot put and delete\n the same item in the same BatchWriteItem
request.
Your request contains at least two items with identical hash and range keys\n (which essentially is two put operations).
\nThere are more than 25 requests in the batch.
\nAny individual item in a batch exceeds 400 KB.
\nThe total request size exceeds 16 MB.
\nDeletes a single item in a table by primary key. You can perform a conditional delete\n operation that deletes the item if it exists, or if it has an expected attribute\n value.
\nIn addition to deleting an item, you can also return the item's attribute values in\n the same operation, using the ReturnValues
parameter.
Unless you specify conditions, the DeleteItem
is an idempotent operation;\n running it multiple times on the same item or attribute does not\n result in an error response.
Conditional deletes are useful for deleting items only if specific conditions are met.\n If those conditions are met, DynamoDB performs the delete. Otherwise, the item is not\n deleted.
" + "smithy.api#documentation": "Deletes a single item in a table by primary key. You can perform a conditional delete\n operation that deletes the item if it exists, or if it has an expected attribute\n value.
\nIn addition to deleting an item, you can also return the item's attribute values in\n the same operation, using the ReturnValues
parameter.
Unless you specify conditions, the DeleteItem
is an idempotent operation;\n running it multiple times on the same item or attribute does not\n result in an error response.
Conditional deletes are useful for deleting items only if specific conditions are met.\n If those conditions are met, DynamoDB performs the delete. Otherwise, the item is not\n deleted.
", + "smithy.api#examples": [ + { + "title": "To delete an item", + "documentation": "This example deletes an item from the Music table.", + "input": { + "TableName": "Music", + "Key": { + "Artist": { + "S": "No One You Know" + }, + "SongTitle": { + "S": "Scared of My Shadow" + } + } + }, + "output": { + "ConsumedCapacity": { + "CapacityUnits": 1, + "TableName": "Music" + } + } + } + ] } }, "com.amazonaws.dynamodb#DeleteItemInput": { @@ -2467,7 +2608,29 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "The DeleteTable
operation deletes a table and all of its items. After a\n DeleteTable
request, the specified table is in the\n DELETING
state until DynamoDB completes the deletion. If the table is\n in the ACTIVE
state, you can delete it. If a table is in\n CREATING
or UPDATING
states, then DynamoDB returns a\n ResourceInUseException
. If the specified table does not exist, DynamoDB\n returns a ResourceNotFoundException
. If table is already in the\n DELETING
state, no error is returned.
This operation only applies to Version 2019.11.21 (Current) \n of global tables.\n
\nDynamoDB might continue to accept data read and write operations, such as\n GetItem
and PutItem
, on a table in the\n DELETING
state until the table deletion is complete.
When you delete a table, any indexes on that table are also deleted.
\nIf you have DynamoDB Streams enabled on the table, then the corresponding stream on\n that table goes into the DISABLED
state, and the stream is automatically\n deleted after 24 hours.
Use the DescribeTable
action to check the status of the table.
The DeleteTable
operation deletes a table and all of its items. After a\n DeleteTable
request, the specified table is in the\n DELETING
state until DynamoDB completes the deletion. If the table is\n in the ACTIVE
state, you can delete it. If a table is in\n CREATING
or UPDATING
states, then DynamoDB returns a\n ResourceInUseException
. If the specified table does not exist, DynamoDB\n returns a ResourceNotFoundException
. If table is already in the\n DELETING
state, no error is returned.
This operation only applies to Version 2019.11.21 (Current) \n of global tables.\n
\nDynamoDB might continue to accept data read and write operations, such as\n GetItem
and PutItem
, on a table in the\n DELETING
state until the table deletion is complete.
When you delete a table, any indexes on that table are also deleted.
\nIf you have DynamoDB Streams enabled on the table, then the corresponding stream on\n that table goes into the DISABLED
state, and the stream is automatically\n deleted after 24 hours.
Use the DescribeTable
action to check the status of the table.
Returns the current provisioned-capacity quotas for your Amazon Web Services account in\n a Region, both for the Region as a whole and for any one DynamoDB table that you create\n there.
\nWhen you establish an Amazon Web Services account, the account has initial quotas on\n the maximum read capacity units and write capacity units that you can provision across\n all of your DynamoDB tables in a given Region. Also, there are per-table\n quotas that apply when you create a table there. For more information, see Service,\n Account, and Table Quotas page in the Amazon DynamoDB\n Developer Guide.
\nAlthough you can increase these quotas by filing a case at Amazon Web Services Support Center, obtaining the\n increase is not instantaneous. The DescribeLimits
action lets you write\n code to compare the capacity you are currently using to those quotas imposed by your\n account so that you have enough time to apply for an increase before you hit a\n quota.
For example, you could use one of the Amazon Web Services SDKs to do the\n following:
\nCall DescribeLimits
for a particular Region to obtain your\n current account quotas on provisioned capacity there.
Create a variable to hold the aggregate read capacity units provisioned for\n all your tables in that Region, and one to hold the aggregate write capacity\n units. Zero them both.
\nCall ListTables
to obtain a list of all your DynamoDB\n tables.
For each table name listed by ListTables
, do the\n following:
Call DescribeTable
with the table name.
Use the data returned by DescribeTable
to add the read\n capacity units and write capacity units provisioned for the table itself\n to your variables.
If the table has one or more global secondary indexes (GSIs), loop\n over these GSIs and add their provisioned capacity values to your\n variables as well.
\nReport the account quotas for that Region returned by\n DescribeLimits
, along with the total current provisioned\n capacity levels you have calculated.
This will let you see whether you are getting close to your account-level\n quotas.
\nThe per-table quotas apply only when you are creating a new table. They restrict the\n sum of the provisioned capacity of the new table itself and all its global secondary\n indexes.
\nFor existing tables and their GSIs, DynamoDB doesn't let you increase provisioned\n capacity extremely rapidly, but the only quota that applies is that the aggregate\n provisioned capacity over all your tables and GSIs cannot exceed either of the\n per-account quotas.
\n\n DescribeLimits
should only be called periodically. You can expect\n throttling errors if you call it more than once in a minute.
The DescribeLimits
Request element has no content.
Returns the current provisioned-capacity quotas for your Amazon Web Services account in\n a Region, both for the Region as a whole and for any one DynamoDB table that you create\n there.
\nWhen you establish an Amazon Web Services account, the account has initial quotas on\n the maximum read capacity units and write capacity units that you can provision across\n all of your DynamoDB tables in a given Region. Also, there are per-table\n quotas that apply when you create a table there. For more information, see Service,\n Account, and Table Quotas page in the Amazon DynamoDB\n Developer Guide.
\nAlthough you can increase these quotas by filing a case at Amazon Web Services Support Center, obtaining the\n increase is not instantaneous. The DescribeLimits
action lets you write\n code to compare the capacity you are currently using to those quotas imposed by your\n account so that you have enough time to apply for an increase before you hit a\n quota.
For example, you could use one of the Amazon Web Services SDKs to do the\n following:
\nCall DescribeLimits
for a particular Region to obtain your\n current account quotas on provisioned capacity there.
Create a variable to hold the aggregate read capacity units provisioned for\n all your tables in that Region, and one to hold the aggregate write capacity\n units. Zero them both.
\nCall ListTables
to obtain a list of all your DynamoDB\n tables.
For each table name listed by ListTables
, do the\n following:
Call DescribeTable
with the table name.
Use the data returned by DescribeTable
to add the read\n capacity units and write capacity units provisioned for the table itself\n to your variables.
If the table has one or more global secondary indexes (GSIs), loop\n over these GSIs and add their provisioned capacity values to your\n variables as well.
\nReport the account quotas for that Region returned by\n DescribeLimits
, along with the total current provisioned\n capacity levels you have calculated.
This will let you see whether you are getting close to your account-level\n quotas.
\nThe per-table quotas apply only when you are creating a new table. They restrict the\n sum of the provisioned capacity of the new table itself and all its global secondary\n indexes.
\nFor existing tables and their GSIs, DynamoDB doesn't let you increase provisioned\n capacity extremely rapidly, but the only quota that applies is that the aggregate\n provisioned capacity over all your tables and GSIs cannot exceed either of the\n per-account quotas.
\n\n DescribeLimits
should only be called periodically. You can expect\n throttling errors if you call it more than once in a minute.
The DescribeLimits
Request element has no content.
The GetItem
operation returns a set of attributes for the item with the\n given primary key. If there is no matching item, GetItem
does not return\n any data and there will be no Item
element in the response.
\n GetItem
provides an eventually consistent read by default. If your\n application requires a strongly consistent read, set ConsistentRead
to\n true
. Although a strongly consistent read might take more time than an\n eventually consistent read, it always returns the last updated value.
The GetItem
operation returns a set of attributes for the item with the\n given primary key. If there is no matching item, GetItem
does not return\n any data and there will be no Item
element in the response.
\n GetItem
provides an eventually consistent read by default. If your\n application requires a strongly consistent read, set ConsistentRead
to\n true
. Although a strongly consistent read might take more time than an\n eventually consistent read, it always returns the last updated value.
Returns an array of table names associated with the current account and endpoint. The\n output from ListTables
is paginated, with each page returning a maximum of\n 100 table names.
Creates a new item, or replaces an old item with a new item. If an item that has the\n same primary key as the new item already exists in the specified table, the new item\n completely replaces the existing item. You can perform a conditional put operation (add\n a new item if one with the specified primary key doesn't exist), or replace an existing\n item if it has certain attribute values. You can return the item's attribute values in\n the same operation, using the ReturnValues
parameter.
When you add an item, the primary key attributes are the only required attributes.\n
\nEmpty String and Binary attribute values are allowed. Attribute values of type String\n and Binary must have a length greater than zero if the attribute is used as a key\n attribute for a table or index. Set type attributes cannot be empty.
\nInvalid Requests with empty values will be rejected with a\n ValidationException
exception.
To prevent a new item from replacing an existing item, use a conditional\n expression that contains the attribute_not_exists
function with the\n name of the attribute being used as the partition key for the table. Since every\n record must contain that attribute, the attribute_not_exists
function\n will only succeed if no matching item exists.
For more information about PutItem
, see Working with\n Items in the Amazon DynamoDB Developer Guide.
Creates a new item, or replaces an old item with a new item. If an item that has the\n same primary key as the new item already exists in the specified table, the new item\n completely replaces the existing item. You can perform a conditional put operation (add\n a new item if one with the specified primary key doesn't exist), or replace an existing\n item if it has certain attribute values. You can return the item's attribute values in\n the same operation, using the ReturnValues
parameter.
When you add an item, the primary key attributes are the only required attributes.\n
\nEmpty String and Binary attribute values are allowed. Attribute values of type String\n and Binary must have a length greater than zero if the attribute is used as a key\n attribute for a table or index. Set type attributes cannot be empty.
\nInvalid Requests with empty values will be rejected with a\n ValidationException
exception.
To prevent a new item from replacing an existing item, use a conditional\n expression that contains the attribute_not_exists
function with the\n name of the attribute being used as the partition key for the table. Since every\n record must contain that attribute, the attribute_not_exists
function\n will only succeed if no matching item exists.
For more information about PutItem
, see Working with\n Items in the Amazon DynamoDB Developer Guide.
You must provide the name of the partition key attribute and a single value for that\n attribute. Query
returns all items with that partition key value.\n Optionally, you can provide a sort key attribute and use a comparison operator to refine\n the search results.
Use the KeyConditionExpression
parameter to provide a specific value for\n the partition key. The Query
operation will return all of the items from\n the table or index with that partition key value. You can optionally narrow the scope of\n the Query
operation by specifying a sort key value and a comparison\n operator in KeyConditionExpression
. To further refine the\n Query
results, you can optionally provide a\n FilterExpression
. A FilterExpression
determines which\n items within the results should be returned to you. All of the other results are\n discarded.
A Query
operation always returns a result set. If no matching items are\n found, the result set will be empty. Queries that do not return results consume the\n minimum number of read capacity units for that type of read operation.
DynamoDB calculates the number of read capacity units consumed based on item\n size, not on the amount of data that is returned to an application. The number of\n capacity units consumed will be the same whether you request all of the attributes\n (the default behavior) or just some of them (using a projection expression). The\n number will also be the same whether or not you use a FilterExpression
.\n
\n Query
results are always sorted by the sort key value. If the data type of\n the sort key is Number, the results are returned in numeric order; otherwise, the\n results are returned in order of UTF-8 bytes. By default, the sort order is ascending.\n To reverse the order, set the ScanIndexForward
parameter to false.
A single Query
operation will read up to the maximum number of items set\n (if using the Limit
parameter) or a maximum of 1 MB of data and then apply\n any filtering to the results using FilterExpression
. If\n LastEvaluatedKey
is present in the response, you will need to paginate\n the result set. For more information, see Paginating\n the Results in the Amazon DynamoDB Developer Guide.
\n FilterExpression
is applied after a Query
finishes, but before\n the results are returned. A FilterExpression
cannot contain partition key\n or sort key attributes. You need to specify those attributes in the\n KeyConditionExpression
.
A Query
operation can return an empty result set and a\n LastEvaluatedKey
if all the items read for the page of results are\n filtered out.
You can query a table, a local secondary index, or a global secondary index. For a\n query on a table or on a local secondary index, you can set the\n ConsistentRead
parameter to true
and obtain a strongly\n consistent result. Global secondary indexes support eventually consistent reads only, so\n do not specify ConsistentRead
when querying a global secondary\n index.
The Scan
operation returns one or more items and item attributes by\n accessing every item in a table or a secondary index. To have DynamoDB return fewer\n items, you can provide a FilterExpression
operation.
If the total size of scanned items exceeds the maximum dataset size limit of 1 MB,\n the scan completes and results are returned to the user. The LastEvaluatedKey
\n value is also returned and the requestor can use the LastEvaluatedKey
to continue \n the scan in a subsequent operation. Each scan response also includes number of items that were \n scanned (ScannedCount) as part of the request. If using a FilterExpression
, a scan result \n can result in no items meeting the criteria and the Count
will result in zero. If \n you did not use a FilterExpression
in the scan request, then Count
is \n the same as ScannedCount
.
\n Count
and ScannedCount
only return the count of items specific to a \n single scan request and, unless the table is less than 1MB, do not represent the total number \n of items in the table.\n
A single Scan
operation first reads up to the maximum number of items set (if\n using the Limit
parameter) or a maximum of 1 MB of data and then applies any\n filtering to the results if a FilterExpression
is provided. If\n LastEvaluatedKey
is present in the response, pagination is required to complete the\n full table scan. For more information, see Paginating the\n Results in the Amazon DynamoDB Developer Guide.
\n Scan
operations proceed sequentially; however, for faster performance on\n a large table or secondary index, applications can request a parallel Scan
\n operation by providing the Segment
and TotalSegments
\n parameters. For more information, see Parallel\n Scan in the Amazon DynamoDB Developer Guide.
By default, a Scan
uses eventually consistent reads when accessing the items in a table. \n Therefore, the results from an eventually consistent Scan
may not include the latest item \n changes at the time the scan iterates through each item in the table. If you require a strongly consistent \n read of each item as the scan iterates through the items in the table, you can set the ConsistentRead
\n parameter to true. Strong consistency only relates to the consistency of the read at the item level.
\n DynamoDB does not provide snapshot isolation for a scan operation when the ConsistentRead
\n parameter is set to true. Thus, a DynamoDB scan operation does not guarantee that all reads in a scan \n see a consistent snapshot of the table when the scan operation was requested.\n
Edits an existing item's attributes, or adds a new item to the table if it does not\n already exist. You can put, delete, or add attribute values. You can also perform a\n conditional update on an existing item (insert a new attribute name-value pair if it\n doesn't exist, or replace an existing name-value pair if it has certain expected\n attribute values).
\nYou can also return the item's attribute values in the same UpdateItem
\n operation using the ReturnValues
parameter.
Edits an existing item's attributes, or adds a new item to the table if it does not\n already exist. You can put, delete, or add attribute values. You can also perform a\n conditional update on an existing item (insert a new attribute name-value pair if it\n doesn't exist, or replace an existing name-value pair if it has certain expected\n attribute values).
\nYou can also return the item's attribute values in the same UpdateItem
\n operation using the ReturnValues
parameter.
Pushes an SSH public key to the specified EC2 instance for use by the specified user.\n The key remains for 60 seconds. For more information, see Connect to\n your Linux instance using EC2 Instance Connect in the Amazon EC2\n User Guide.
" + "smithy.api#documentation": "Pushes an SSH public key to the specified EC2 instance for use by the specified user.\n The key remains for 60 seconds. For more information, see Connect to\n your Linux instance using EC2 Instance Connect in the Amazon EC2\n User Guide.
", + "smithy.api#examples": [ + { + "title": "To push an SSH key to an EC2 instance", + "documentation": "The following example pushes a sample SSH public key to the EC2 instance i-abcd1234 in AZ us-west-2b for use by the instance OS user ec2-user.", + "input": { + "InstanceId": "i-abcd1234", + "InstanceOSUser": "ec2-user", + "SSHPublicKey": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC3FlHqj2eqCdrGHuA6dRjfZXQ4HX5lXEIRHaNbxEwE5Te7xNF7StwhrDtiV7IdT5fDqbRyGw/szPj3xGkNTVoElCZ2dDFb2qYZ1WLIpZwj/UhO9l2mgfjR56UojjQut5Jvn2KZ1OcyrNO0J83kCaJCV7JoVbXY79FBMUccYNY45zmv9+1FMCfY6i2jdIhwR6+yLk8oubL8lIPyq7X+6b9S0yKCkB7Peml1DvghlybpAIUrC9vofHt6XP4V1i0bImw1IlljQS+DUmULRFSccATDscCX9ajnj7Crhm0HAZC0tBPXpFdHkPwL3yzYo546SCS9LKEwz62ymxxbL9k7h09t", + "AvailabilityZone": "us-west-2a" + }, + "output": { + "RequestId": "abcd1234-abcd-1234-abcd-1234abcd1234", + "Success": true + } + } + ] } }, "com.amazonaws.ec2instanceconnect#SendSSHPublicKeyRequest": { @@ -879,6 +909,9 @@ "smithy.api#documentation": "The Availability Zone in which the EC2 instance was launched.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2instanceconnect#SendSSHPublicKeyResponse": { @@ -897,6 +930,9 @@ "smithy.api#documentation": "Is true if the request succeeds and an error otherwise.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ec2instanceconnect#SendSerialConsoleSSHPublicKey": { @@ -970,6 +1006,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ec2instanceconnect#SendSerialConsoleSSHPublicKeyResponse": { @@ -988,6 +1027,9 @@ "smithy.api#documentation": "Is true if the request succeeds and an error otherwise.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ec2instanceconnect#SerialConsoleAccessDisabledException": { diff --git a/codegen/sdk-codegen/aws-models/ecr-public.json b/codegen/sdk-codegen/aws-models/ecr-public.json index 2ef48a9efed..c0d80f9bc10 100644 --- a/codegen/sdk-codegen/aws-models/ecr-public.json +++ b/codegen/sdk-codegen/aws-models/ecr-public.json @@ -2919,52 +2919,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", @@ -2972,13 +2976,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -2988,224 +3001,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://api.ecr-public-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://api.ecr-public-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": [ { "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": [], - "endpoint": { - "url": "https://api.ecr-public-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://api.ecr-public-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "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-public.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://api.ecr-public.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://api.ecr-public.{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-public.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -3220,8 +3184,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3233,8 +3197,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3246,8 +3210,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3259,8 +3223,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3272,8 +3236,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3285,8 +3249,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3298,8 +3262,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3311,8 +3275,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3324,8 +3288,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3337,8 +3301,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3350,8 +3314,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3363,8 +3327,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3374,8 +3338,8 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3387,8 +3351,8 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3398,8 +3362,8 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3411,8 +3375,8 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3422,8 +3386,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3435,8 +3399,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3446,8 +3410,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3459,8 +3423,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3472,8 +3436,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3485,8 +3449,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3497,8 +3461,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3509,8 +3473,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } }, diff --git a/codegen/sdk-codegen/aws-models/efs.json b/codegen/sdk-codegen/aws-models/efs.json index 56f669179d9..4b84dddbc18 100644 --- a/codegen/sdk-codegen/aws-models/efs.json +++ b/codegen/sdk-codegen/aws-models/efs.json @@ -525,6 +525,25 @@ ], "traits": { "smithy.api#documentation": "Creates a mount target for a file system. You can then mount the file system on EC2\n instances by using the mount target.
\nYou can create one mount target in each Availability Zone in your VPC. All EC2\n instances in a VPC within a given Availability Zone share a single mount target for a given\n file system. If you have multiple subnets in an Availability Zone, you create a mount target\n in one of the subnets. EC2 instances do not need to be in the same subnet as the mount target\n in order to access their file system.
\nYou can create only one mount target for an EFS file system using One Zone storage\n classes. You must create that mount target in the same Availability Zone in which the file\n system is located. Use the AvailabilityZoneName
and\n AvailabiltyZoneId
properties in the DescribeFileSystems\n response object to get this information. Use the subnetId
associated with the\n file system's Availability Zone when creating the mount target.
For more information, see Amazon EFS: How it Works.
\nTo create a mount target for a file system, the file system's lifecycle state must be\n available
. For more information, see DescribeFileSystems.
In the request, provide the following:
\nThe file system ID for which you are creating the mount\n target.
\nA subnet ID, which determines the following:
\nThe VPC in which Amazon EFS creates the mount target
\nThe Availability Zone in which Amazon EFS creates the mount target
\nThe IP address range from which Amazon EFS selects the IP address of the mount target\n (if you don't specify an IP address in the request)
\nAfter creating the mount target, Amazon EFS returns a response that includes, a\n MountTargetId
and an IpAddress
. You use this IP address when\n mounting the file system in an EC2 instance. You can also use the mount target's DNS name\n when mounting the file system. The EC2 instance on which you mount the file system by using\n the mount target can resolve the mount target's DNS name to its IP address. For more\n information, see How it Works:\n Implementation Overview.
Note that you can create mount targets for a file system in only one VPC, and there can\n be only one mount target per Availability Zone. That is, if the file system already has one or\n more mount targets created for it, the subnet specified in the request to add another mount\n target must meet the following requirements:
\nMust belong to the same VPC as the subnets of the existing mount targets
\nMust not be in the same Availability Zone as any of the subnets of the existing\n mount targets
\nIf the request satisfies the requirements, Amazon EFS does the following:
\nCreates a new mount target in the specified subnet.
\nAlso creates a new network interface in the subnet as follows:
\nIf the request provides an IpAddress
, Amazon EFS assigns that IP\n address to the network interface. Otherwise, Amazon EFS assigns a free address in the\n subnet (in the same way that the Amazon EC2 CreateNetworkInterface
call\n does when a request does not specify a primary private IP address).
If the request provides SecurityGroups
, this network interface is\n associated with those security groups. Otherwise, it belongs to the default security\n group for the subnet's VPC.
Assigns the description Mount target fsmt-id for\n file system fs-id\n
where \n fsmt-id\n
is the mount target ID, and \n fs-id\n
is the FileSystemId
.
Sets the requesterManaged
property of the network interface to\n true
, and the requesterId
value to\n EFS
.
Each Amazon EFS mount target has one corresponding requester-managed EC2 network\n interface. After the network interface is created, Amazon EFS sets the\n NetworkInterfaceId
field in the mount target's description to the\n network interface ID, and the IpAddress
field to its address. If network\n interface creation fails, the entire CreateMountTarget
operation\n fails.
The CreateMountTarget
call returns only after creating the network\n interface, but while the mount target state is still creating
, you can check\n the mount target creation status by calling the DescribeMountTargets operation, which among other things returns the mount\n target state.
We recommend that you create a mount target in each of the Availability Zones. There\n are cost considerations for using a file system in an Availability Zone through a mount target\n created in another Availability Zone. For more information, see Amazon EFS. In addition, by always using a mount target local to the\n instance's Availability Zone, you eliminate a partial failure scenario. If the\n Availability Zone in which your mount target is created goes down, then you can't access\n your file system through that mount target.
\nThis operation requires permissions for the following action on the file\n system:
\n\n elasticfilesystem:CreateMountTarget
\n
This operation also requires permissions for the following Amazon EC2\n actions:
\n\n ec2:DescribeSubnets
\n
\n ec2:DescribeNetworkInterfaces
\n
\n ec2:CreateNetworkInterface
\n
DEPRECATED - CreateTags
is deprecated and not maintained. To create tags for EFS\n resources, use the API action.
Creates or overwrites tags associated with a file system. Each tag is a key-value pair. If\n a tag key specified in the request already exists on the file system, this operation\n overwrites its value with the value provided in the request. If you add the Name
\n tag to your file system, Amazon EFS returns it in the response to the DescribeFileSystems operation.
This operation requires permission for the elasticfilesystem:CreateTags
\n action.
Deletes a file system, permanently severing access to its contents. Upon return, the\n file system no longer exists and you can't access any contents of the deleted file\n system.
\nYou need to manually delete mount targets attached to a file system before you can delete\n an EFS file system. This step is performed for you when you use the Amazon Web Services console \n to delete a file system.
\nYou cannot delete a file system that is part of an EFS Replication configuration. \n You need to delete the replication configuration first.
\nYou can't delete a file system that is in use. That is, if the file system has\n any mount targets, you must first delete them. For more information, see DescribeMountTargets and DeleteMountTarget.
\nThe DeleteFileSystem
call returns while the file system state is still\n deleting
. You can check the file system deletion status by calling the DescribeFileSystems operation, which returns a list of file systems in your\n account. If you pass file system ID or creation token for the deleted file system, the DescribeFileSystems returns a 404 FileSystemNotFound
\n error.
This operation requires permissions for the\n elasticfilesystem:DeleteFileSystem
action.
Deletes the specified mount target.
\nThis operation forcibly breaks any mounts of the file system by using the mount target\n that is being deleted, which might disrupt instances or applications using those mounts. To\n avoid applications getting cut off abruptly, you might consider unmounting any mounts of the\n mount target, if feasible. The operation also deletes the associated network interface.\n Uncommitted writes might be lost, but breaking a mount target using this operation does not\n corrupt the file system itself. The file system you created remains. You can mount an EC2\n instance in your VPC by using another mount target.
\nThis operation requires permissions for the following action on the file\n system:
\n\n elasticfilesystem:DeleteMountTarget
\n
The DeleteMountTarget
call returns while the mount target state is still\n deleting
. You can check the mount target deletion by calling the DescribeMountTargets operation, which returns a list of mount target\n descriptions for the given file system.
The operation also requires permissions for the following Amazon EC2 action on the\n mount target's network interface:
\n\n ec2:DeleteNetworkInterface
\n
DEPRECATED - DeleteTags
is deprecated and not maintained. To remove tags from EFS\n resources, use the API action.
Deletes the specified tags from a file system. If the DeleteTags
request\n includes a tag key that doesn't exist, Amazon EFS ignores it and doesn't cause an\n error. For more information about tags and related restrictions, see Tag restrictions in the\n Billing and Cost Management User Guide.
This operation requires permissions for the elasticfilesystem:DeleteTags
\n action.
Returns the current LifecycleConfiguration
object for the specified Amazon\n EFS file system. EFS lifecycle management uses the LifecycleConfiguration
object\n to identify which files to move to the EFS Infrequent Access (IA) storage class. For a file system\n without a LifecycleConfiguration
object, the call returns an empty array in the\n response.
When EFS Intelligent-Tiering is enabled, TransitionToPrimaryStorageClass
has\n a value of AFTER_1_ACCESS
.
This operation requires permissions for the\n elasticfilesystem:DescribeLifecycleConfiguration
operation.
Returns the security groups currently in effect for a mount target. This operation\n requires that the network interface of the mount target has been created and the lifecycle\n state of the mount target is not deleted
.
This operation requires permissions for the following actions:
\n\n elasticfilesystem:DescribeMountTargetSecurityGroups
action on the mount\n target's file system.
\n ec2:DescribeNetworkInterfaceAttribute
action on the mount target's\n network interface.
Returns the descriptions of all the current mount targets, or a specific mount target,\n for a file system. When requesting all of the current mount targets, the order of mount\n targets returned in the response is unspecified.
\nThis operation requires permissions for the\n elasticfilesystem:DescribeMountTargets
action, on either the file system ID\n that you specify in FileSystemId
, or on the file system of the mount target that\n you specify in MountTargetId
.
DEPRECATED - The DescribeTags
action is deprecated and not maintained. To view\n tags associated with EFS resources, use the ListTagsForResource
API\n action.
Returns the tags associated with a file system. The order of tags returned in the\n response of one DescribeTags
call and the order of tags returned across the\n responses of a multiple-call iteration (when using pagination) is unspecified.
This operation requires permissions for the\n elasticfilesystem:DescribeTags
action.
Modifies the set of security groups in effect for a mount target.
\nWhen you create a mount target, Amazon EFS also creates a new network interface. For\n more information, see CreateMountTarget. This operation replaces the security groups in effect for the\n network interface associated with a mount target, with the SecurityGroups
\n provided in the request. This operation requires that the network interface of the mount\n target has been created and the lifecycle state of the mount target is not\n deleted
.
The operation requires permissions for the following actions:
\n\n elasticfilesystem:ModifyMountTargetSecurityGroups
action on the mount\n target's file system.
\n ec2:ModifyNetworkInterfaceAttribute
action on the mount target's network\n interface.
Use this action to manage EFS lifecycle management and EFS Intelligent-Tiering. A\n LifecycleConfiguration
consists of one or more LifecyclePolicy
\n objects that define the following:
\n EFS Lifecycle management - When Amazon EFS\n automatically transitions files in a file system into the lower-cost EFS Infrequent Access\n (IA) storage class.
\nTo enable EFS Lifecycle management, set the value of TransitionToIA
to one of the available options.
\n EFS Intelligent-Tiering - When Amazon EFS\n automatically transitions files from IA back into the file system's primary storage class\n (EFS Standard or EFS One Zone Standard).
\nTo enable EFS Intelligent-Tiering, set the value of\n TransitionToPrimaryStorageClass
to AFTER_1_ACCESS
.
For more information, see EFS Lifecycle Management.
\nEach Amazon EFS file system supports one lifecycle configuration, which applies to\n all files in the file system. If a LifecycleConfiguration
object already exists\n for the specified file system, a PutLifecycleConfiguration
call modifies the\n existing configuration. A PutLifecycleConfiguration
call with an empty\n LifecyclePolicies
array in the request body deletes any existing\n LifecycleConfiguration
and turns off lifecycle management and EFS\n Intelligent-Tiering for the file system.
In the request, specify the following:
\nThe ID for the file system for which you are enabling, disabling, or modifying\n lifecycle management and EFS Intelligent-Tiering.
\nA LifecyclePolicies
array of LifecyclePolicy
objects that\n define when files are moved into IA storage, and when they are moved back to Standard storage.
Amazon EFS requires that each LifecyclePolicy
\n object have only have a single transition, so the LifecyclePolicies
array needs to be structured with separate \n LifecyclePolicy
objects. See the example requests in the following section for more information.
This operation requires permissions for the elasticfilesystem:PutLifecycleConfiguration
operation.
To apply a LifecycleConfiguration
object to an encrypted file system, you\n need the same Key Management Service permissions as when you created the encrypted file system.
Creates an Amazon EKS control plane.
\nThe Amazon EKS control plane consists of control plane instances that run the\n Kubernetes software, such as etcd
and the API server. The control plane\n runs in an account managed by Amazon Web Services, and the Kubernetes API is exposed by\n the Amazon EKS API server endpoint. Each Amazon EKS cluster control\n plane is single tenant and unique. It runs on its own set of Amazon EC2\n instances.
The cluster control plane is provisioned across multiple Availability Zones and\n fronted by an Elastic Load Balancing\n Network Load Balancer. Amazon EKS also provisions elastic network interfaces in\n your VPC subnets to provide connectivity from the control plane instances to the nodes\n (for example, to support kubectl exec
, logs
, and\n proxy
data flows).
Amazon EKS nodes run in your Amazon Web Services account and connect to your\n cluster's control plane over the Kubernetes API server endpoint and a certificate file\n that is created for your cluster.
\nIn most cases, it takes several minutes to create a cluster. After you create an\n Amazon EKS cluster, you must configure your Kubernetes tooling to\n communicate with the API server and launch nodes into your cluster. For more\n information, see Managing Cluster Authentication and Launching\n Amazon EKS nodes in the Amazon EKS User Guide.
", + "smithy.api#examples": [ + { + "title": "To create a new cluster", + "documentation": "The following example creates an Amazon EKS cluster called prod.", + "input": { + "name": "prod", + "version": "1.10", + "roleArn": "arn:aws:iam::012345678910:role/eks-service-role-AWSServiceRoleForAmazonEKS-J7ONKE3BQ4PI", + "resourcesVpcConfig": { + "subnetIds": [ + "subnet-6782e71e", + "subnet-e7e761ac" + ], + "securityGroupIds": [ + "sg-6979fe18" + ] + }, + "clientRequestToken": "1d2129a1-3d38-460a-9756-e5b91fddb951" + }, + "output": {} + } + ], "smithy.api#http": { "method": "POST", "uri": "/clusters", @@ -2989,6 +2975,16 @@ ], "traits": { "smithy.api#documentation": "Deletes the Amazon EKS cluster control plane.
\nIf you have active services in your cluster that are associated with a load balancer,\n you must delete those services before deleting the cluster so that the load balancers\n are deleted properly. Otherwise, you can have orphaned resources in your VPC that\n prevent you from being able to delete the VPC. For more information, see Deleting a\n Cluster in the Amazon EKS User Guide.
\nIf you have managed node groups or Fargate profiles attached to the\n cluster, you must delete them first. For more information, see DeleteNodegroup and DeleteFargateProfile.
", + "smithy.api#examples": [ + { + "title": "To delete a cluster", + "documentation": "This example command deletes a cluster named `devel` in your default region.", + "input": { + "name": "devel" + }, + "output": {} + } + ], "smithy.api#http": { "method": "DELETE", "uri": "/clusters/{name}", @@ -3583,6 +3579,39 @@ ], "traits": { "smithy.api#documentation": "Returns descriptive information about an Amazon EKS cluster.
\nThe API server endpoint and certificate authority data returned by this operation are\n required for kubelet
and kubectl
to communicate with your\n Kubernetes API server. For more information, see Create a\n kubeconfig for Amazon EKS.
The API server endpoint and certificate authority data aren't available until the\n cluster reaches the ACTIVE
state.
Lists the Amazon EKS clusters in your Amazon Web Services account in the\n specified Region.
", + "smithy.api#examples": [ + { + "title": "To list your available clusters", + "documentation": "This example command lists all of your available clusters in your default region.", + "output": { + "clusters": [ + "devel", + "prod" + ] + } + } + ], "smithy.api#http": { "method": "GET", "uri": "/clusters", @@ -5221,6 +5262,20 @@ ], "traits": { "smithy.api#documentation": "List the tags for an Amazon EKS resource.
", + "smithy.api#examples": [ + { + "title": "To list tags for a cluster", + "documentation": "This example lists all of the tags for the `beta` cluster.", + "input": { + "resourceArn": "arn:aws:eks:us-west-2:012345678910:cluster/beta" + }, + "output": { + "tags": { + "aws:tag:domain": "beta" + } + } + } + ], "smithy.api#http": { "method": "GET", "uri": "/tags/{resourceArn}", diff --git a/codegen/sdk-codegen/aws-models/elastic-beanstalk.json b/codegen/sdk-codegen/aws-models/elastic-beanstalk.json index 493fba60ef7..b742fd91e62 100644 --- a/codegen/sdk-codegen/aws-models/elastic-beanstalk.json +++ b/codegen/sdk-codegen/aws-models/elastic-beanstalk.json @@ -184,6 +184,7 @@ "arnNamespace": "elasticbeanstalk", "cloudFormationName": "ElasticBeanstalk", "cloudTrailEventSource": "elasticbeanstalk.amazonaws.com", + "docId": "elasticbeanstalk-2010-12-01", "endpointPrefix": "elasticbeanstalk" }, "aws.auth#sigv4": { @@ -255,52 +256,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", @@ -308,13 +313,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -324,175 +338,83 @@ { "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://elasticbeanstalk-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-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://elasticbeanstalk.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "ref": "PartitionResult" }, - { - "conditions": [], - "endpoint": { - "url": "https://elasticbeanstalk-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://elasticbeanstalk-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -501,110 +423,115 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws-us-gov", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsDualStack" + "name" ] } ] } ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://elasticbeanstalk.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "endpoint": { + "url": "https://elasticbeanstalk.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" + "endpoint": { + "url": "https://elasticbeanstalk-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { "conditions": [], - "type": "tree", - "rules": [ + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "us-gov-east-1" - ] - } - ], - "endpoint": { - "url": "https://elasticbeanstalk.us-gov-east-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "ref": "UseDualStack" }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ + true, { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "ref": "Region" + "ref": "PartitionResult" }, - "us-gov-west-1" + "supportsDualStack" ] } - ], - "endpoint": { - "url": "https://elasticbeanstalk.us-gov-west-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [], "endpoint": { - "url": "https://elasticbeanstalk.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://elasticbeanstalk.{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://elasticbeanstalk.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -619,8 +546,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -632,8 +559,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -645,8 +572,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -658,8 +585,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -671,8 +598,8 @@ }, "params": { "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -684,8 +611,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -697,8 +624,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -710,8 +637,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -723,8 +650,8 @@ }, "params": { "Region": "ap-southeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -736,8 +663,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -749,8 +676,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -762,8 +689,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -775,8 +702,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -788,8 +715,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -801,8 +728,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -814,8 +741,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -827,8 +754,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -840,8 +767,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -853,8 +780,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -866,8 +793,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -879,8 +806,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -892,8 +819,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -905,8 +832,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -918,8 +845,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -931,8 +858,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -944,8 +871,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -957,8 +884,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -970,8 +897,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -983,8 +910,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -996,8 +923,8 @@ }, "params": { "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1009,8 +936,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1022,8 +949,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1035,8 +962,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1048,8 +975,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1061,8 +988,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1074,8 +1001,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1087,8 +1014,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1100,8 +1027,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1113,8 +1040,19 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "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 } }, { @@ -1126,34 +1064,67 @@ }, "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 } }, { "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticbeanstalk.us-iso-east-1.c2s.ic.gov" + "url": "https://elasticbeanstalk.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "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 + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticbeanstalk-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": false + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://elasticbeanstalk-fips.us-isob-east-1.sc2s.sgov.gov" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1165,8 +1136,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1178,8 +1149,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1191,8 +1162,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1203,8 +1174,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1215,10 +1186,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" @@ -1239,7 +1216,16 @@ } ], "traits": { - "smithy.api#documentation": "Cancels in-progress environment configuration update or application version\n deployment.
" + "smithy.api#documentation": "Cancels in-progress environment configuration update or application version\n deployment.
", + "smithy.api#examples": [ + { + "title": "To abort a deployment", + "documentation": "The following code aborts a running application version deployment for an environment named my-env:", + "input": { + "EnvironmentName": "my-env" + } + } + ] } }, "com.amazonaws.elasticbeanstalk#AbortEnvironmentUpdateMessage": { @@ -1259,7 +1245,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#AbortableOperationInProgress": { @@ -1430,7 +1417,8 @@ } }, "traits": { - "smithy.api#documentation": "Result message containing a list of application descriptions.
" + "smithy.api#documentation": "Result message containing a list of application descriptions.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticbeanstalk#ApplicationMetrics": { @@ -1516,6 +1504,9 @@ "smithy.api#documentation": "The lifecycle configuration.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.elasticbeanstalk#ApplicationVersionArn": { @@ -1626,7 +1617,8 @@ } }, "traits": { - "smithy.api#documentation": "Result message wrapping a list of application version descriptions.
" + "smithy.api#documentation": "Result message wrapping a list of application version descriptions.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticbeanstalk#ApplicationVersionLifecycleConfig": { @@ -1764,7 +1756,8 @@ } }, "traits": { - "smithy.api#documentation": "The result message containing information about the managed action.
" + "smithy.api#documentation": "The result message containing information about the managed action.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticbeanstalk#AssociateEnvironmentOperationsRole": { @@ -1803,7 +1796,8 @@ } }, "traits": { - "smithy.api#documentation": "Request to add or change the operations role used by an environment.
" + "smithy.api#documentation": "Request to add or change the operations role used by an environment.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#AutoCreateApplication": { @@ -1990,7 +1984,20 @@ "target": "com.amazonaws.elasticbeanstalk#CheckDNSAvailabilityResultMessage" }, "traits": { - "smithy.api#documentation": "Checks if the specified CNAME is available.
" + "smithy.api#documentation": "Checks if the specified CNAME is available.
", + "smithy.api#examples": [ + { + "title": "To check the availability of a CNAME", + "documentation": "The following operation checks the availability of the subdomain my-cname:", + "input": { + "CNAMEPrefix": "my-cname" + }, + "output": { + "Available": true, + "FullyQualifiedCNAME": "my-cname.us-west-2.elasticbeanstalk.com" + } + } + ] } }, "com.amazonaws.elasticbeanstalk#CheckDNSAvailabilityMessage": { @@ -2005,7 +2012,8 @@ } }, "traits": { - "smithy.api#documentation": "Results message indicating whether a CNAME is available.
" + "smithy.api#documentation": "Results message indicating whether a CNAME is available.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#CheckDNSAvailabilityResultMessage": { @@ -2025,7 +2033,8 @@ } }, "traits": { - "smithy.api#documentation": "Indicates if the specified CNAME is available.
" + "smithy.api#documentation": "Indicates if the specified CNAME is available.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticbeanstalk#CnameAvailability": { @@ -2094,7 +2103,8 @@ } }, "traits": { - "smithy.api#documentation": "Request to create or update a group of environments.
" + "smithy.api#documentation": "Request to create or update a group of environments.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#ComputeType": { @@ -2456,7 +2466,26 @@ } ], "traits": { - "smithy.api#documentation": "Creates an application that has one configuration template named default
\n and no application versions.
Creates an application that has one configuration template named default
\n and no application versions.
Request to create an application.
" + "smithy.api#documentation": "Request to create an application.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#CreateApplicationVersion": { @@ -2518,7 +2548,37 @@ } ], "traits": { - "smithy.api#documentation": "Creates an application version for the specified application. You can create an\n application version from a source bundle in Amazon S3, a commit in AWS CodeCommit, or the\n output of an AWS CodeBuild build as follows:
\nSpecify a commit in an AWS CodeCommit repository with\n SourceBuildInformation
.
Specify a build in an AWS CodeBuild with SourceBuildInformation
and\n BuildConfiguration
.
Specify a source bundle in S3 with SourceBundle
\n
Omit both SourceBuildInformation
and SourceBundle
to use the\n default sample application.
After you create an application version with a specified Amazon S3 bucket and key\n location, you can't change that Amazon S3 location. If you change the Amazon S3 location,\n you receive an exception when you attempt to launch an environment from the application\n version.
\nCreates an application version for the specified application. You can create an\n application version from a source bundle in Amazon S3, a commit in AWS CodeCommit, or the\n output of an AWS CodeBuild build as follows:
\nSpecify a commit in an AWS CodeCommit repository with\n SourceBuildInformation
.
Specify a build in an AWS CodeBuild with SourceBuildInformation
and\n BuildConfiguration
.
Specify a source bundle in S3 with SourceBundle
\n
Omit both SourceBuildInformation
and SourceBundle
to use the\n default sample application.
After you create an application version with a specified Amazon S3 bucket and key\n location, you can't change that Amazon S3 location. If you change the Amazon S3 location,\n you receive an exception when you attempt to launch an environment from the application\n version.
\nCreates an AWS Elastic Beanstalk configuration template, associated with a specific Elastic Beanstalk\n application. You define application configuration settings in a configuration template. You\n can then use the configuration template to deploy different versions of the application with\n the same configuration settings.
\nTemplates aren't associated with any environment. The EnvironmentName
\n response element is always null
.
Related Topics
\nCreates an AWS Elastic Beanstalk configuration template, associated with a specific Elastic Beanstalk\n application. You define application configuration settings in a configuration template. You\n can then use the configuration template to deploy different versions of the application with\n the same configuration settings.
\nTemplates aren't associated with any environment. The EnvironmentName
\n response element is always null
.
Related Topics
\nRequest to create a configuration template.
" + "smithy.api#documentation": "Request to create a configuration template.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#CreateEnvironment": { @@ -2689,7 +2769,37 @@ } ], "traits": { - "smithy.api#documentation": "Launches an AWS Elastic Beanstalk environment for the specified application using the specified\n configuration.
" + "smithy.api#documentation": "Launches an AWS Elastic Beanstalk environment for the specified application using the specified\n configuration.
", + "smithy.api#examples": [ + { + "title": "To create a new environment for an application", + "documentation": "The following operation creates a new environment for version v1 of a java application named my-app:", + "input": { + "ApplicationName": "my-app", + "EnvironmentName": "my-env", + "CNAMEPrefix": "my-app", + "VersionLabel": "v1", + "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8" + }, + "output": { + "ApplicationName": "my-app", + "EnvironmentName": "my-env", + "VersionLabel": "v1", + "Status": "Launching", + "EnvironmentId": "e-izqpassy4h", + "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8", + "CNAME": "my-app.elasticbeanstalk.com", + "Health": "Grey", + "Tier": { + "Type": "Standard", + "Name": "WebServer", + "Version": " " + }, + "DateUpdated": "2015-02-03T23:04:54.479Z", + "DateCreated": "2015-02-03T23:04:54.479Z" + } + } + ] } }, "com.amazonaws.elasticbeanstalk#CreateEnvironmentMessage": { @@ -2782,7 +2892,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#CreatePlatformVersion": { @@ -2871,6 +2982,9 @@ "smithy.api#documentation": "The builder used to create the custom platform.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.elasticbeanstalk#CreateStorageLocation": { @@ -2893,7 +3007,16 @@ } ], "traits": { - "smithy.api#documentation": "Creates a bucket in Amazon S3 to store application versions, logs, and other files used\n by Elastic Beanstalk environments. The Elastic Beanstalk console and EB CLI call this API the\n first time you create an environment in a region. If the storage location already exists,\n CreateStorageLocation
still returns the bucket name but does not create a new\n bucket.
Creates a bucket in Amazon S3 to store application versions, logs, and other files used\n by Elastic Beanstalk environments. The Elastic Beanstalk console and EB CLI call this API the\n first time you create an environment in a region. If the storage location already exists,\n CreateStorageLocation
still returns the bucket name but does not create a new\n bucket.
Results of a CreateStorageLocationResult call.
" + "smithy.api#documentation": "Results of a CreateStorageLocationResult call.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticbeanstalk#CreationDate": { @@ -2971,7 +3095,16 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the specified application along with all associated versions and\n configurations. The application versions will not be deleted from your Amazon S3\n bucket.
\nYou cannot delete an application that has a running environment.
\nDeletes the specified application along with all associated versions and\n configurations. The application versions will not be deleted from your Amazon S3\n bucket.
\nYou cannot delete an application that has a running environment.
\nRequest to delete an application.
" + "smithy.api#documentation": "Request to delete an application.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#DeleteApplicationVersion": { @@ -3018,7 +3152,18 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the specified version from the specified application.
\nYou cannot delete an application version that is associated with a running\n environment.
\nDeletes the specified version from the specified application.
\nYou cannot delete an application version that is associated with a running\n environment.
\nRequest to delete an application version.
" + "smithy.api#documentation": "Request to delete an application version.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#DeleteConfigurationTemplate": { @@ -3063,7 +3209,17 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the specified configuration template.
\nWhen you launch an environment using a configuration template, the environment gets a\n copy of the template. You can delete or modify the environment's copy of the template\n without affecting the running environment.
\nDeletes the specified configuration template.
\nWhen you launch an environment using a configuration template, the environment gets a\n copy of the template. You can delete or modify the environment's copy of the template\n without affecting the running environment.
\nRequest to delete a configuration template.
" + "smithy.api#documentation": "Request to delete a configuration template.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#DeleteEnvironmentConfiguration": { @@ -3097,7 +3254,17 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Deletes the draft configuration associated with the running environment.
\nUpdating a running environment with any configuration changes creates a draft\n configuration set. You can get the draft configuration using DescribeConfigurationSettings while the update is in progress or if the update\n fails. The DeploymentStatus
for the draft configuration indicates whether the\n deployment is in process or has failed. The draft configuration remains in existence until it\n is deleted with this action.
Deletes the draft configuration associated with the running environment.
\nUpdating a running environment with any configuration changes creates a draft\n configuration set. You can get the draft configuration using DescribeConfigurationSettings while the update is in progress or if the update\n fails. The DeploymentStatus
for the draft configuration indicates whether the\n deployment is in process or has failed. The draft configuration remains in existence until it\n is deleted with this action.
Request to delete a draft environment configuration.
" + "smithy.api#documentation": "Request to delete a draft environment configuration.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#DeletePlatformVersion": { @@ -3171,6 +3339,9 @@ "smithy.api#documentation": "Detailed information about the version of the custom platform.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.elasticbeanstalk#DeleteSourceBundle": { @@ -3237,6 +3408,9 @@ "smithy.api#documentation": "The Elastic Beanstalk resource quotas associated with the calling AWS account.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.elasticbeanstalk#DescribeApplicationVersions": { @@ -3248,7 +3422,45 @@ "target": "com.amazonaws.elasticbeanstalk#ApplicationVersionDescriptionsMessage" }, "traits": { - "smithy.api#documentation": "Retrieve a list of application versions.
" + "smithy.api#documentation": "Retrieve a list of application versions.
", + "smithy.api#examples": [ + { + "title": "To view information about an application version", + "documentation": "The following operation retrieves information about an application version labeled v2:", + "input": { + "ApplicationName": "my-app", + "VersionLabels": [ + "v2" + ] + }, + "output": { + "ApplicationVersions": [ + { + "ApplicationName": "my-app", + "VersionLabel": "v2", + "Description": "update cover page", + "DateCreated": "2015-07-23T01:32:26.079Z", + "DateUpdated": "2015-07-23T01:32:26.079Z", + "SourceBundle": { + "S3Bucket": "elasticbeanstalk-us-west-2-015321684451", + "S3Key": "my-app/5026-stage-150723_224258.war" + } + }, + { + "ApplicationName": "my-app", + "VersionLabel": "v1", + "Description": "initial version", + "DateCreated": "2015-07-23T22:26:10.816Z", + "DateUpdated": "2015-07-23T22:26:10.816Z", + "SourceBundle": { + "S3Bucket": "elasticbeanstalk-us-west-2-015321684451", + "S3Key": "my-app/5026-stage-150723_222618.war" + } + } + ] + } + } + ] } }, "com.amazonaws.elasticbeanstalk#DescribeApplicationVersionsMessage": { @@ -3280,7 +3492,8 @@ } }, "traits": { - "smithy.api#documentation": "Request to describe application versions.
" + "smithy.api#documentation": "Request to describe application versions.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#DescribeApplications": { @@ -3292,7 +3505,46 @@ "target": "com.amazonaws.elasticbeanstalk#ApplicationDescriptionsMessage" }, "traits": { - "smithy.api#documentation": "Returns the descriptions of existing applications.
" + "smithy.api#documentation": "Returns the descriptions of existing applications.
", + "smithy.api#examples": [ + { + "title": "To view a list of applications", + "documentation": "The following operation retrieves information about applications in the current region:", + "output": { + "Applications": [ + { + "ApplicationName": "ruby", + "ConfigurationTemplates": [], + "DateUpdated": "2015-08-13T21:05:44.376Z", + "Versions": [ + "Sample Application" + ], + "DateCreated": "2015-08-13T21:05:44.376Z" + }, + { + "ApplicationName": "pythonsample", + "Description": "Application created from the EB CLI using \"eb init\"", + "Versions": [ + "Sample Application" + ], + "DateCreated": "2015-08-13T19:05:43.637Z", + "ConfigurationTemplates": [], + "DateUpdated": "2015-08-13T19:05:43.637Z" + }, + { + "ApplicationName": "nodejs-example", + "ConfigurationTemplates": [], + "DateUpdated": "2015-08-06T17:50:02.486Z", + "Versions": [ + "add elasticache", + "First Release" + ], + "DateCreated": "2015-08-06T17:50:02.486Z" + } + ] + } + } + ] } }, "com.amazonaws.elasticbeanstalk#DescribeApplicationsMessage": { @@ -3306,7 +3558,8 @@ } }, "traits": { - "smithy.api#documentation": "Request to describe one or more applications.
" + "smithy.api#documentation": "Request to describe one or more applications.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#DescribeConfigurationOptions": { @@ -3323,7 +3576,40 @@ } ], "traits": { - "smithy.api#documentation": "Describes the configuration options that are used in a particular configuration\n template or environment, or that a specified solution stack defines. The description includes\n the values the options, their default values, and an indication of the required action on a\n running environment if an option value is changed.
" + "smithy.api#documentation": "Describes the configuration options that are used in a particular configuration\n template or environment, or that a specified solution stack defines. The description includes\n the values the options, their default values, and an indication of the required action on a\n running environment if an option value is changed.
", + "smithy.api#examples": [ + { + "title": "To view configuration options for an environment", + "documentation": "The following operation retrieves descriptions of all available configuration options for an environment named my-env:", + "input": { + "ApplicationName": "my-app", + "EnvironmentName": "my-env" + }, + "output": { + "Options": [ + { + "Name": "Interval", + "UserDefined": false, + "DefaultValue": "30", + "ChangeSeverity": "NoInterruption", + "Namespace": "aws:elb:healthcheck", + "MaxValue": 300, + "MinValue": 5, + "ValueType": "Scalar" + }, + { + "Name": "LowerThreshold", + "UserDefined": false, + "DefaultValue": "2000000", + "ChangeSeverity": "NoInterruption", + "Namespace": "aws:autoscaling:trigger", + "MinValue": 0, + "ValueType": "Scalar" + } + ] + } + } + ] } }, "com.amazonaws.elasticbeanstalk#DescribeConfigurationOptionsMessage": { @@ -3367,7 +3653,8 @@ } }, "traits": { - "smithy.api#documentation": "Result message containing a list of application version descriptions.
" + "smithy.api#documentation": "Result message containing a list of application version descriptions.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#DescribeConfigurationSettings": { @@ -3384,7 +3671,56 @@ } ], "traits": { - "smithy.api#documentation": "Returns a description of the settings for the specified configuration set, that is,\n either a configuration template or the configuration set associated with a running\n environment.
\nWhen describing the settings for the configuration set associated with a running\n environment, it is possible to receive two sets of setting descriptions. One is the deployed\n configuration set, and the other is a draft configuration of an environment that is either in\n the process of deployment or that failed to deploy.
\nRelated Topics
\nReturns a description of the settings for the specified configuration set, that is,\n either a configuration template or the configuration set associated with a running\n environment.
\nWhen describing the settings for the configuration set associated with a running\n environment, it is possible to receive two sets of setting descriptions. One is the deployed\n configuration set, and the other is a draft configuration of an environment that is either in\n the process of deployment or that failed to deploy.
\nRelated Topics
\nResult message containing all of the configuration settings for a specified solution\n stack or configuration template.
" + "smithy.api#documentation": "Result message containing all of the configuration settings for a specified solution\n stack or configuration template.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#DescribeEnvironmentHealth": { @@ -3431,7 +3768,56 @@ } ], "traits": { - "smithy.api#documentation": "Returns information about the overall health of the specified environment. The\n DescribeEnvironmentHealth operation is only available with\n AWS Elastic Beanstalk Enhanced Health.
" + "smithy.api#documentation": "Returns information about the overall health of the specified environment. The\n DescribeEnvironmentHealth operation is only available with\n AWS Elastic Beanstalk Enhanced Health.
", + "smithy.api#examples": [ + { + "title": "To view environment health", + "documentation": "The following operation retrieves overall health information for an environment named my-env:", + "input": { + "EnvironmentName": "my-env", + "AttributeNames": [ + "All" + ] + }, + "output": { + "EnvironmentName": "my-env", + "Color": "Green", + "ApplicationMetrics": { + "Duration": 10, + "Latency": { + "P99": 0.004, + "P75": 0.002, + "P90": 0.003, + "P95": 0.004, + "P85": 0.003, + "P10": 0.001, + "P999": 0.004, + "P50": 0.001 + }, + "RequestCount": 45, + "StatusCodes": { + "Status3xx": 0, + "Status2xx": 45, + "Status5xx": 0, + "Status4xx": 0 + } + }, + "RefreshedAt": "2015-08-20T21:09:18Z", + "HealthStatus": "Ok", + "InstancesHealth": { + "Info": 0, + "Ok": 1, + "Unknown": 0, + "Severe": 0, + "Warning": 0, + "Degraded": 0, + "NoData": 0, + "Pending": 0 + }, + "Causes": [] + } + } + ] } }, "com.amazonaws.elasticbeanstalk#DescribeEnvironmentHealthRequest": { @@ -3514,7 +3900,8 @@ } }, "traits": { - "smithy.api#documentation": "Health details for an AWS Elastic Beanstalk environment.
" + "smithy.api#documentation": "Health details for an AWS Elastic Beanstalk environment.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticbeanstalk#DescribeEnvironmentManagedActionHistory": { @@ -3590,7 +3977,8 @@ } }, "traits": { - "smithy.api#documentation": "A result message containing a list of completed and failed managed actions.
" + "smithy.api#documentation": "A result message containing a list of completed and failed managed actions.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticbeanstalk#DescribeEnvironmentManagedActions": { @@ -3648,7 +4036,8 @@ } }, "traits": { - "smithy.api#documentation": "The result message containing a list of managed actions.
" + "smithy.api#documentation": "The result message containing a list of managed actions.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticbeanstalk#DescribeEnvironmentResources": { @@ -3665,7 +4054,43 @@ } ], "traits": { - "smithy.api#documentation": "Returns AWS resources for this environment.
" + "smithy.api#documentation": "Returns AWS resources for this environment.
", + "smithy.api#examples": [ + { + "title": "To view information about the AWS resources in your environment", + "documentation": "The following operation retrieves information about resources in an environment named my-env:", + "input": { + "EnvironmentName": "my-env" + }, + "output": { + "EnvironmentResources": { + "EnvironmentName": "my-env", + "AutoScalingGroups": [ + { + "Name": "awseb-e-qu3fyyjyjs-stack-AWSEBAutoScalingGroup-QSB2ZO88SXZT" + } + ], + "Triggers": [], + "LoadBalancers": [ + { + "Name": "awseb-e-q-AWSEBLoa-1EEPZ0K98BIF0" + } + ], + "Queues": [], + "Instances": [ + { + "Id": "i-0c91c786" + } + ], + "LaunchConfigurations": [ + { + "Name": "awseb-e-qu3fyyjyjs-stack-AWSEBAutoScalingLaunchConfiguration-1UUVQIBC96TQ2" + } + ] + } + } + } + ] } }, "com.amazonaws.elasticbeanstalk#DescribeEnvironmentResourcesMessage": { @@ -3685,7 +4110,8 @@ } }, "traits": { - "smithy.api#documentation": "Request to describe the resources in an environment.
" + "smithy.api#documentation": "Request to describe the resources in an environment.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#DescribeEnvironments": { @@ -3698,6 +4124,40 @@ }, "traits": { "smithy.api#documentation": "Returns descriptions for existing environments.
", + "smithy.api#examples": [ + { + "title": "To view information about an environment", + "documentation": "The following operation retrieves information about an environment named my-env:", + "input": { + "EnvironmentNames": [ + "my-env" + ] + }, + "output": { + "Environments": [ + { + "ApplicationName": "my-app", + "EnvironmentName": "my-env", + "VersionLabel": "7f58-stage-150812_025409", + "Status": "Ready", + "EnvironmentId": "e-rpqsewtp2j", + "EndpointURL": "awseb-e-w-AWSEBLoa-1483140XB0Q4L-109QXY8121.us-west-2.elb.amazonaws.com", + "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8", + "CNAME": "my-env.elasticbeanstalk.com", + "Health": "Green", + "AbortableOperationInProgress": false, + "Tier": { + "Version": " ", + "Type": "Standard", + "Name": "WebServer" + }, + "DateUpdated": "2015-08-12T18:16:55.019Z", + "DateCreated": "2015-08-07T20:48:49.599Z" + } + ] + } + } + ], "smithy.waiters#waitable": { "EnvironmentExists": { "acceptors": [ @@ -3830,7 +4290,8 @@ } }, "traits": { - "smithy.api#documentation": "Request to describe one or more environments.
" + "smithy.api#documentation": "Request to describe one or more environments.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#DescribeEvents": { @@ -3843,6 +4304,50 @@ }, "traits": { "smithy.api#documentation": "Returns list of event descriptions matching criteria up to the last 6 weeks.
\nThis action returns the most recent 1,000 events from the specified\n NextToken
.
Request to retrieve a list of events for an environment.
" + "smithy.api#documentation": "Request to retrieve a list of events for an environment.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#DescribeInstancesHealth": { @@ -3948,7 +4454,67 @@ } ], "traits": { - "smithy.api#documentation": "Retrieves detailed information about the health of instances in your AWS Elastic\n Beanstalk. This operation requires enhanced health\n reporting.
" + "smithy.api#documentation": "Retrieves detailed information about the health of instances in your AWS Elastic\n Beanstalk. This operation requires enhanced health\n reporting.
", + "smithy.api#examples": [ + { + "title": "To view environment health", + "documentation": "The following operation retrieves health information for instances in an environment named my-env:", + "input": { + "EnvironmentName": "my-env", + "AttributeNames": [ + "All" + ] + }, + "output": { + "InstanceHealthList": [ + { + "InstanceId": "i-08691cc7", + "ApplicationMetrics": { + "Duration": 10, + "Latency": { + "P99": 0.006, + "P75": 0.002, + "P90": 0.004, + "P95": 0.005, + "P85": 0.003, + "P10": 0, + "P999": 0.006, + "P50": 0.001 + }, + "RequestCount": 48, + "StatusCodes": { + "Status3xx": 0, + "Status2xx": 47, + "Status5xx": 0, + "Status4xx": 1 + } + }, + "System": { + "LoadAverage": [ + 0, + 0.02, + 0.05 + ], + "CPUUtilization": { + "SoftIRQ": 0.1, + "IOWait": 0.2, + "System": 0.3, + "Idle": 97.8, + "User": 1.5, + "IRQ": 0, + "Nice": 0.1 + } + }, + "Color": "Green", + "HealthStatus": "Ok", + "LaunchedAt": "2015-08-13T19:17:09Z", + "Causes": [] + } + ], + "RefreshedAt": "2015-08-20T21:09:08Z" + } + } + ] } }, "com.amazonaws.elasticbeanstalk#DescribeInstancesHealthRequest": { @@ -4007,7 +4573,8 @@ } }, "traits": { - "smithy.api#documentation": "Detailed health information about the Amazon EC2 instances in an AWS Elastic Beanstalk\n environment.
" + "smithy.api#documentation": "Detailed health information about the Amazon EC2 instances in an AWS Elastic Beanstalk\n environment.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticbeanstalk#DescribePlatformVersion": { @@ -4053,6 +4620,9 @@ "smithy.api#documentation": "Detailed information about the platform version.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.elasticbeanstalk#Description": { @@ -4093,7 +4663,8 @@ } }, "traits": { - "smithy.api#documentation": "Request to disassociate the operations role from an environment.
" + "smithy.api#documentation": "Request to disassociate the operations role from an environment.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#Ec2InstanceId": { @@ -4599,7 +5170,8 @@ } }, "traits": { - "smithy.api#documentation": "Result message containing a list of environment resource descriptions.
" + "smithy.api#documentation": "Result message containing a list of environment resource descriptions.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticbeanstalk#EnvironmentResourcesDescription": { @@ -4783,7 +5355,8 @@ } }, "traits": { - "smithy.api#documentation": "Result message wrapping a list of event descriptions.
" + "smithy.api#documentation": "Result message wrapping a list of event descriptions.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticbeanstalk#EventMessage": { @@ -5232,7 +5805,53 @@ "target": "com.amazonaws.elasticbeanstalk#ListAvailableSolutionStacksResultMessage" }, "traits": { - "smithy.api#documentation": "Returns a list of the available solution stack names, with the public version first and\n then in reverse chronological order.
" + "smithy.api#documentation": "Returns a list of the available solution stack names, with the public version first and\n then in reverse chronological order.
", + "smithy.api#examples": [ + { + "title": "To view solution stacks", + "documentation": "The following operation lists solution stacks for all currently available platform configurations and any that you have used in the past:", + "output": { + "SolutionStacks": [ + "64bit Amazon Linux 2015.03 v2.0.0 running Node.js", + "64bit Amazon Linux 2015.03 v2.0.0 running PHP 5.6", + "64bit Amazon Linux 2015.03 v2.0.0 running PHP 5.5", + "64bit Amazon Linux 2015.03 v2.0.0 running PHP 5.4", + "64bit Amazon Linux 2015.03 v2.0.0 running Python 3.4", + "64bit Amazon Linux 2015.03 v2.0.0 running Python 2.7", + "64bit Amazon Linux 2015.03 v2.0.0 running Python", + "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.2 (Puma)", + "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.2 (Passenger Standalone)", + "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.1 (Puma)", + "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.1 (Passenger Standalone)", + "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.0 (Puma)", + "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.0 (Passenger Standalone)", + "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 1.9.3", + "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8", + "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 7 Java 7", + "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 7 Java 6", + "64bit Windows Server Core 2012 R2 running IIS 8.5", + "64bit Windows Server 2012 R2 running IIS 8.5", + "64bit Windows Server 2012 running IIS 8", + "64bit Windows Server 2008 R2 running IIS 7.5", + "64bit Amazon Linux 2015.03 v2.0.0 running Docker 1.6.2", + "64bit Amazon Linux 2015.03 v2.0.0 running Multi-container Docker 1.6.2 (Generic)", + "64bit Debian jessie v2.0.0 running GlassFish 4.1 Java 8 (Preconfigured - Docker)", + "64bit Debian jessie v2.0.0 running GlassFish 4.0 Java 7 (Preconfigured - Docker)", + "64bit Debian jessie v2.0.0 running Go 1.4 (Preconfigured - Docker)", + "64bit Debian jessie v2.0.0 running Go 1.3 (Preconfigured - Docker)", + "64bit Debian jessie v2.0.0 running Python 3.4 (Preconfigured - Docker)" + ], + "SolutionStackDetails": [ + { + "PermittedFileTypes": [ + "zip" + ], + "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Node.js" + } + ] + } + } + ] } }, "com.amazonaws.elasticbeanstalk#ListAvailableSolutionStacksResultMessage": { @@ -5252,7 +5871,8 @@ } }, "traits": { - "smithy.api#documentation": "A list of available AWS Elastic Beanstalk solution stacks.
" + "smithy.api#documentation": "A list of available AWS Elastic Beanstalk solution stacks.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticbeanstalk#ListPlatformBranches": { @@ -5313,6 +5933,9 @@ "smithy.api#documentation": "In a paginated request, if this value isn't null
, it's the token that you can\n pass in a subsequent request to get the next response page.
In a paginated request, if this value isn't null
, it's the token that you can\n pass in a subsequent request to get the next response page.
Deletes and recreates all of the AWS resources (for example: the Auto Scaling group,\n load balancer, etc.) for a specified environment and forces a restart.
" + "smithy.api#documentation": "Deletes and recreates all of the AWS resources (for example: the Auto Scaling group,\n load balancer, etc.) for a specified environment and forces a restart.
", + "smithy.api#examples": [ + { + "title": "To rebuild an environment", + "documentation": "The following operation terminates and recreates the resources in an environment named my-env:", + "input": { + "EnvironmentName": "my-env" + } + } + ] } }, "com.amazonaws.elasticbeanstalk#RebuildEnvironmentMessage": { @@ -6359,7 +6997,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#RefreshedAt": { @@ -6386,7 +7025,17 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Initiates a request to compile the specified type of information of the deployed\n environment.
\n Setting the InfoType
to tail
compiles the last lines from\n the application server log files of every Amazon EC2 instance in your environment.
Setting the InfoType
to bundle
compresses the application\n server log files for every Amazon EC2 instance into a .zip
file. Legacy and .NET\n containers do not support bundle logs.
Use RetrieveEnvironmentInfo to obtain the set of logs.
\nRelated Topics
\nInitiates a request to compile the specified type of information of the deployed\n environment.
\n Setting the InfoType
to tail
compiles the last lines from\n the application server log files of every Amazon EC2 instance in your environment.
Setting the InfoType
to bundle
compresses the application\n server log files for every Amazon EC2 instance into a .zip
file. Legacy and .NET\n containers do not support bundle logs.
Use RetrieveEnvironmentInfo to obtain the set of logs.
\nRelated Topics
\nRequest to retrieve logs from an environment and store them in your Elastic Beanstalk\n storage bucket.
" + "smithy.api#documentation": "Request to retrieve logs from an environment and store them in your Elastic Beanstalk\n storage bucket.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#RequestId": { @@ -6521,6 +7171,9 @@ "smithy.api#documentation": "A list of tag key-value pairs.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.elasticbeanstalk#ResourceTypeNotSupportedException": { @@ -6552,7 +7205,16 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Causes the environment to restart the application container server running on each\n Amazon EC2 instance.
" + "smithy.api#documentation": "Causes the environment to restart the application container server running on each\n Amazon EC2 instance.
", + "smithy.api#examples": [ + { + "title": "To restart application servers", + "documentation": "The following operation restarts application servers on all instances in an environment named my-env:", + "input": { + "EnvironmentName": "my-env" + } + } + ] } }, "com.amazonaws.elasticbeanstalk#RestartAppServerMessage": { @@ -6572,7 +7234,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#RetrieveEnvironmentInfo": { @@ -6584,7 +7247,27 @@ "target": "com.amazonaws.elasticbeanstalk#RetrieveEnvironmentInfoResultMessage" }, "traits": { - "smithy.api#documentation": "Retrieves the compiled information from a RequestEnvironmentInfo\n request.
\nRelated Topics
\nRetrieves the compiled information from a RequestEnvironmentInfo\n request.
\nRelated Topics
\nRequest to download logs retrieved with RequestEnvironmentInfo.
" + "smithy.api#documentation": "Request to download logs retrieved with RequestEnvironmentInfo.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#RetrieveEnvironmentInfoResultMessage": { @@ -6625,7 +7309,8 @@ } }, "traits": { - "smithy.api#documentation": "Result message containing a description of the requested environment info.
" + "smithy.api#documentation": "Result message containing a description of the requested environment info.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticbeanstalk#S3Bucket": { @@ -7028,7 +7713,17 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Swaps the CNAMEs of two environments.
" + "smithy.api#documentation": "Swaps the CNAMEs of two environments.
", + "smithy.api#examples": [ + { + "title": "To swap environment CNAMES", + "documentation": "The following operation swaps the assigned subdomains of two environments:", + "input": { + "SourceEnvironmentName": "my-env-blue", + "DestinationEnvironmentName": "my-env-green" + } + } + ] } }, "com.amazonaws.elasticbeanstalk#SwapEnvironmentCNAMEsMessage": { @@ -7060,7 +7755,8 @@ } }, "traits": { - "smithy.api#documentation": "Swaps the CNAMEs of two environments.
" + "smithy.api#documentation": "Swaps the CNAMEs of two environments.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#SystemStatus": { @@ -7156,7 +7852,34 @@ } ], "traits": { - "smithy.api#documentation": "Terminates the specified environment.
" + "smithy.api#documentation": "Terminates the specified environment.
", + "smithy.api#examples": [ + { + "title": "To terminate an environment", + "documentation": "The following operation terminates an Elastic Beanstalk environment named my-env:", + "input": { + "EnvironmentName": "my-env" + }, + "output": { + "ApplicationName": "my-app", + "EnvironmentName": "my-env", + "Status": "Terminating", + "EnvironmentId": "e-fh2eravpns", + "EndpointURL": "awseb-e-f-AWSEBLoa-1I9XUMP4-8492WNUP202574.us-west-2.elb.amazonaws.com", + "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8", + "CNAME": "my-env.elasticbeanstalk.com", + "Health": "Grey", + "AbortableOperationInProgress": false, + "Tier": { + "Version": " ", + "Type": "Standard", + "Name": "WebServer" + }, + "DateUpdated": "2015-08-12T19:05:54.744Z", + "DateCreated": "2015-08-12T18:52:53.622Z" + } + } + ] } }, "com.amazonaws.elasticbeanstalk#TerminateEnvironmentMessage": { @@ -7188,7 +7911,8 @@ } }, "traits": { - "smithy.api#documentation": "Request to terminate an environment.
" + "smithy.api#documentation": "Request to terminate an environment.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#TerminateEnvironmentResources": { @@ -7370,7 +8094,33 @@ "target": "com.amazonaws.elasticbeanstalk#ApplicationDescriptionMessage" }, "traits": { - "smithy.api#documentation": "Updates the specified application to have the specified properties.
\nIf a property (for example, description
) is not provided, the value\n remains unchanged. To clear these properties, specify an empty string.
Updates the specified application to have the specified properties.
\nIf a property (for example, description
) is not provided, the value\n remains unchanged. To clear these properties, specify an empty string.
Request to update an application.
" + "smithy.api#documentation": "Request to update an application.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#UpdateApplicationResourceLifecycle": { @@ -7428,6 +8179,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#UpdateApplicationVersion": { @@ -7439,7 +8193,31 @@ "target": "com.amazonaws.elasticbeanstalk#ApplicationVersionDescriptionMessage" }, "traits": { - "smithy.api#documentation": "Updates the specified application version to have the specified properties.
\nIf a property (for example, description
) is not provided, the value\n remains unchanged. To clear properties, specify an empty string.
Updates the specified application version to have the specified properties.
\nIf a property (for example, description
) is not provided, the value\n remains unchanged. To clear properties, specify an empty string.
Updates the specified configuration template to have the specified properties or\n configuration option values.
\nIf a property (for example, ApplicationName
) is not provided, its value\n remains unchanged. To clear such properties, specify an empty string.
Related Topics
\nUpdates the specified configuration template to have the specified properties or\n configuration option values.
\nIf a property (for example, ApplicationName
) is not provided, its value\n remains unchanged. To clear such properties, specify an empty string.
Related Topics
\nThe result message containing the options for the specified solution stack.
" + "smithy.api#documentation": "The result message containing the options for the specified solution stack.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#UpdateDate": { @@ -7550,7 +8353,35 @@ } ], "traits": { - "smithy.api#documentation": "Updates the environment description, deploys a new application version, updates the\n configuration settings to an entirely new configuration template, or updates select\n configuration option values in the running environment.
\n Attempting to update both the release and configuration is not allowed and AWS Elastic\n Beanstalk returns an InvalidParameterCombination
error.
When updating the configuration settings to a new template or individual settings, a\n draft configuration is created and DescribeConfigurationSettings for this\n environment returns two setting descriptions with different DeploymentStatus
\n values.
Updates the environment description, deploys a new application version, updates the\n configuration settings to an entirely new configuration template, or updates select\n configuration option values in the running environment.
\n Attempting to update both the release and configuration is not allowed and AWS Elastic\n Beanstalk returns an InvalidParameterCombination
error.
When updating the configuration settings to a new template or individual settings, a\n draft configuration is created and DescribeConfigurationSettings for this\n environment returns two setting descriptions with different DeploymentStatus
\n values.
Request to update an environment.
" + "smithy.api#documentation": "Request to update an environment.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#UpdateTagsForResource": { @@ -7684,6 +8516,9 @@ "smithy.api#documentation": "A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored.
\nSpecify at least one of these parameters: TagsToAdd
,\n TagsToRemove
.
Takes a set of configuration settings and either a configuration template or\n environment, and determines whether those values are valid.
\nThis action returns a list of messages indicating any errors or warnings associated\n with the selection of option values.
" + "smithy.api#documentation": "Takes a set of configuration settings and either a configuration template or\n environment, and determines whether those values are valid.
\nThis action returns a list of messages indicating any errors or warnings associated\n with the selection of option values.
", + "smithy.api#examples": [ + { + "title": "To validate configuration settings", + "documentation": "The following operation validates a CloudWatch custom metrics config document:", + "input": { + "ApplicationName": "my-app", + "EnvironmentName": "my-env", + "OptionSettings": [ + { + "Namespace": "aws:elasticbeanstalk:healthreporting:system", + "OptionName": "ConfigDocument", + "Value": "{\"CloudWatchMetrics\": {\"Environment\": {\"ApplicationLatencyP99.9\": null,\"InstancesSevere\": 60,\"ApplicationLatencyP90\": 60,\"ApplicationLatencyP99\": null,\"ApplicationLatencyP95\": 60,\"InstancesUnknown\": 60,\"ApplicationLatencyP85\": 60,\"InstancesInfo\": null,\"ApplicationRequests2xx\": null,\"InstancesDegraded\": null,\"InstancesWarning\": 60,\"ApplicationLatencyP50\": 60,\"ApplicationRequestsTotal\": null,\"InstancesNoData\": null,\"InstancesPending\": 60,\"ApplicationLatencyP10\": null,\"ApplicationRequests5xx\": null,\"ApplicationLatencyP75\": null,\"InstancesOk\": 60,\"ApplicationRequests3xx\": null,\"ApplicationRequests4xx\": null},\"Instance\": {\"ApplicationLatencyP99.9\": null,\"ApplicationLatencyP90\": 60,\"ApplicationLatencyP99\": null,\"ApplicationLatencyP95\": null,\"ApplicationLatencyP85\": null,\"CPUUser\": 60,\"ApplicationRequests2xx\": null,\"CPUIdle\": null,\"ApplicationLatencyP50\": null,\"ApplicationRequestsTotal\": 60,\"RootFilesystemUtil\": null,\"LoadAverage1min\": null,\"CPUIrq\": null,\"CPUNice\": 60,\"CPUIowait\": 60,\"ApplicationLatencyP10\": null,\"LoadAverage5min\": null,\"ApplicationRequests5xx\": null,\"ApplicationLatencyP75\": 60,\"CPUSystem\": 60,\"ApplicationRequests3xx\": 60,\"ApplicationRequests4xx\": null,\"InstanceHealth\": null,\"CPUSoftirq\": 60}},\"Version\": 1}" + } + ] + }, + "output": { + "Messages": [] + } + } + ] } }, "com.amazonaws.elasticbeanstalk#ValidateConfigurationSettingsMessage": { @@ -7740,7 +8595,8 @@ } }, "traits": { - "smithy.api#documentation": "A list of validation messages for a specified configuration template.
" + "smithy.api#documentation": "A list of validation messages for a specified configuration template.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticbeanstalk#ValidationMessage": { diff --git a/codegen/sdk-codegen/aws-models/elastic-inference.json b/codegen/sdk-codegen/aws-models/elastic-inference.json index 81de7181ce2..5267a9a05da 100644 --- a/codegen/sdk-codegen/aws-models/elastic-inference.json +++ b/codegen/sdk-codegen/aws-models/elastic-inference.json @@ -470,52 +470,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", @@ -523,13 +527,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -539,224 +552,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://api.elastic-inference-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://api.elastic-inference-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": [ { "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": [], - "endpoint": { - "url": "https://api.elastic-inference-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://api.elastic-inference-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://api.elastic-inference.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://api.elastic-inference.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://api.elastic-inference.{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.elastic-inference.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -1347,6 +1311,9 @@ "smithy.api#documentation": "\n The tags of the Elastic Inference Accelerator.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.elasticinference#Location": { @@ -1554,7 +1521,10 @@ }, "com.amazonaws.elasticinference#TagResourceResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.elasticinference#TagValue": { "type": "string", @@ -1635,7 +1605,10 @@ }, "com.amazonaws.elasticinference#UntagResourceResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.elasticinference#Value": { "type": "integer", diff --git a/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.json b/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.json index 3188ebe9904..a8bf82bb0bc 100644 --- a/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.json +++ b/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.json @@ -3087,6 +3087,7 @@ "arnNamespace": "elasticloadbalancing", "cloudFormationName": "ElasticLoadBalancingV2", "cloudTrailEventSource": "elasticloadbalancingv2.amazonaws.com", + "docId": "elasticloadbalancingv2-2015-12-01", "endpointPrefix": "elasticloadbalancing" }, "aws.auth#sigv4": { diff --git a/codegen/sdk-codegen/aws-models/elastic-load-balancing.json b/codegen/sdk-codegen/aws-models/elastic-load-balancing.json index 8d774735026..3e50cb0c8eb 100644 --- a/codegen/sdk-codegen/aws-models/elastic-load-balancing.json +++ b/codegen/sdk-codegen/aws-models/elastic-load-balancing.json @@ -120,7 +120,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for EnableAvailabilityZonesForLoadBalancer.
" + "smithy.api#documentation": "Contains the parameters for EnableAvailabilityZonesForLoadBalancer.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#AddAvailabilityZonesOutput": { @@ -134,7 +135,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output of EnableAvailabilityZonesForLoadBalancer.
" + "smithy.api#documentation": "Contains the output of EnableAvailabilityZonesForLoadBalancer.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#AddTags": { @@ -157,7 +159,28 @@ } ], "traits": { - "smithy.api#documentation": "Adds the specified tags to the specified load balancer. Each load balancer can have a maximum of 10 tags.
\n \nEach tag consists of a key and an optional value. If a tag with the same key is already associated \n with the load balancer, AddTags
updates its value.
For more information, see Tag Your Classic Load Balancer\n in the Classic Load Balancers Guide.
" + "smithy.api#documentation": "Adds the specified tags to the specified load balancer. Each load balancer can have a maximum of 10 tags.
\n \nEach tag consists of a key and an optional value. If a tag with the same key is already associated \n with the load balancer, AddTags
updates its value.
For more information, see Tag Your Classic Load Balancer\n in the Classic Load Balancers Guide.
", + "smithy.api#examples": [ + { + "title": "To add tags to a load balancer", + "documentation": "This example adds two tags to the specified load balancer.", + "input": { + "LoadBalancerNames": [ + "my-load-balancer" + ], + "Tags": [ + { + "Key": "project", + "Value": "lima" + }, + { + "Key": "department", + "Value": "digital-media" + } + ] + } + } + ] } }, "com.amazonaws.elasticloadbalancing#AddTagsInput": { @@ -179,14 +202,16 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for AddTags.
" + "smithy.api#documentation": "Contains the parameters for AddTags.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#AddTagsOutput": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Contains the output of AddTags.
" + "smithy.api#documentation": "Contains the output of AddTags.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#AdditionalAttribute": { @@ -287,7 +312,24 @@ } ], "traits": { - "smithy.api#documentation": "Associates one or more security groups with your load balancer in a virtual private cloud (VPC). The specified security groups override the previously associated security groups.
\nFor more information, see Security Groups for Load Balancers in a VPC \n in the Classic Load Balancers Guide.
" + "smithy.api#documentation": "Associates one or more security groups with your load balancer in a virtual private cloud (VPC). The specified security groups override the previously associated security groups.
\nFor more information, see Security Groups for Load Balancers in a VPC \n in the Classic Load Balancers Guide.
", + "smithy.api#examples": [ + { + "title": "To associate a security group with a load balancer in a VPC", + "documentation": "This example associates a security group with the specified load balancer in a VPC.", + "input": { + "LoadBalancerName": "my-load-balancer", + "SecurityGroups": [ + "sg-fc448899" + ] + }, + "output": { + "SecurityGroups": [ + "sg-fc448899" + ] + } + } + ] } }, "com.amazonaws.elasticloadbalancing#ApplySecurityGroupsToLoadBalancerInput": { @@ -309,7 +351,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for ApplySecurityGroupsToLoadBalancer.
" + "smithy.api#documentation": "Contains the parameters for ApplySecurityGroupsToLoadBalancer.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#ApplySecurityGroupsToLoadBalancerOutput": { @@ -323,7 +366,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output of ApplySecurityGroupsToLoadBalancer.
" + "smithy.api#documentation": "Contains the output of ApplySecurityGroupsToLoadBalancer.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#AttachLoadBalancerToSubnets": { @@ -349,7 +393,25 @@ } ], "traits": { - "smithy.api#documentation": "Adds one or more subnets to the set of configured subnets for the specified load balancer.
\nThe load balancer evenly distributes requests across all registered subnets. \n For more information, see Add or Remove Subnets for Your Load Balancer in a VPC\n in the Classic Load Balancers Guide.
" + "smithy.api#documentation": "Adds one or more subnets to the set of configured subnets for the specified load balancer.
\nThe load balancer evenly distributes requests across all registered subnets. \n For more information, see Add or Remove Subnets for Your Load Balancer in a VPC\n in the Classic Load Balancers Guide.
", + "smithy.api#examples": [ + { + "title": "To attach subnets to a load balancer", + "documentation": "This example adds the specified subnet to the set of configured subnets for the specified load balancer.", + "input": { + "LoadBalancerName": "my-load-balancer", + "Subnets": [ + "subnet-0ecac448" + ] + }, + "output": { + "Subnets": [ + "subnet-15aaab61", + "subnet-0ecac448" + ] + } + } + ] } }, "com.amazonaws.elasticloadbalancing#AttachLoadBalancerToSubnetsInput": { @@ -371,7 +433,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for AttachLoaBalancerToSubnets.
" + "smithy.api#documentation": "Contains the parameters for AttachLoaBalancerToSubnets.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#AttachLoadBalancerToSubnetsOutput": { @@ -385,7 +448,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output of AttachLoadBalancerToSubnets.
" + "smithy.api#documentation": "Contains the output of AttachLoadBalancerToSubnets.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#AttributeName": { @@ -467,7 +531,32 @@ } ], "traits": { - "smithy.api#documentation": "Specifies the health check settings to use when evaluating the health state of your EC2 instances.
\nFor more information, see Configure Health Checks for Your Load Balancer \n in the Classic Load Balancers Guide.
" + "smithy.api#documentation": "Specifies the health check settings to use when evaluating the health state of your EC2 instances.
\nFor more information, see Configure Health Checks for Your Load Balancer \n in the Classic Load Balancers Guide.
", + "smithy.api#examples": [ + { + "title": "To specify the health check settings for your backend EC2 instances", + "documentation": "This example specifies the health check settings used to evaluate the health of your backend EC2 instances.", + "input": { + "LoadBalancerName": "my-load-balancer", + "HealthCheck": { + "Target": "HTTP:80/png", + "Interval": 30, + "Timeout": 3, + "UnhealthyThreshold": 2, + "HealthyThreshold": 2 + } + }, + "output": { + "HealthCheck": { + "HealthyThreshold": 2, + "Interval": 30, + "Target": "HTTP:80/png", + "Timeout": 3, + "UnhealthyThreshold": 2 + } + } + } + ] } }, "com.amazonaws.elasticloadbalancing#ConfigureHealthCheckInput": { @@ -489,7 +578,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for ConfigureHealthCheck.
" + "smithy.api#documentation": "Contains the parameters for ConfigureHealthCheck.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#ConfigureHealthCheckOutput": { @@ -503,7 +593,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output of ConfigureHealthCheck.
" + "smithy.api#documentation": "Contains the output of ConfigureHealthCheck.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#ConnectionDraining": { @@ -607,7 +698,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for CreateLoadBalancer.
" + "smithy.api#documentation": "Contains the parameters for CreateLoadBalancer.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#CreateAccessPointOutput": { @@ -621,7 +713,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output for CreateLoadBalancer.
" + "smithy.api#documentation": "Contains the output for CreateLoadBalancer.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#CreateAppCookieStickinessPolicy": { @@ -647,7 +740,18 @@ } ], "traits": { - "smithy.api#documentation": "Generates a stickiness policy with sticky session lifetimes that follow that of an application-generated cookie. This policy can be associated only with HTTP/HTTPS listeners.
\nThis policy is similar to the policy created by CreateLBCookieStickinessPolicy, \n except that the lifetime of the special Elastic Load Balancing cookie, AWSELB
, \n follows the lifetime of the application-generated cookie specified in the policy configuration. \n The load balancer only inserts a new stickiness cookie when the application response\n includes a new application cookie.
If the application cookie is explicitly removed or expires, the session stops being sticky until a new application cookie is issued.
\nFor more information, see Application-Controlled Session Stickiness\n in the Classic Load Balancers Guide.
" + "smithy.api#documentation": "Generates a stickiness policy with sticky session lifetimes that follow that of an application-generated cookie. This policy can be associated only with HTTP/HTTPS listeners.
\nThis policy is similar to the policy created by CreateLBCookieStickinessPolicy, \n except that the lifetime of the special Elastic Load Balancing cookie, AWSELB
, \n follows the lifetime of the application-generated cookie specified in the policy configuration. \n The load balancer only inserts a new stickiness cookie when the application response\n includes a new application cookie.
If the application cookie is explicitly removed or expires, the session stops being sticky until a new application cookie is issued.
\nFor more information, see Application-Controlled Session Stickiness\n in the Classic Load Balancers Guide.
", + "smithy.api#examples": [ + { + "title": "To generate a stickiness policy for your load balancer", + "documentation": "This example generates a stickiness policy that follows the sticky session lifetimes of the application-generated cookie.", + "input": { + "LoadBalancerName": "my-load-balancer", + "PolicyName": "my-app-cookie-policy", + "CookieName": "my-app-cookie" + } + } + ] } }, "com.amazonaws.elasticloadbalancing#CreateAppCookieStickinessPolicyInput": { @@ -676,14 +780,16 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for CreateAppCookieStickinessPolicy.
" + "smithy.api#documentation": "Contains the parameters for CreateAppCookieStickinessPolicy.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#CreateAppCookieStickinessPolicyOutput": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Contains the output for CreateAppCookieStickinessPolicy.
" + "smithy.api#documentation": "Contains the output for CreateAppCookieStickinessPolicy.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#CreateLBCookieStickinessPolicy": { @@ -709,7 +815,18 @@ } ], "traits": { - "smithy.api#documentation": "Generates a stickiness policy with sticky session lifetimes controlled by the lifetime of the browser (user-agent) or a specified expiration period. This policy can be associated only with HTTP/HTTPS listeners.
\nWhen a load balancer implements this policy, the load balancer uses a special cookie to track the instance for each request. When the load balancer receives a request, it first checks to see if this cookie is present in the request. \n If so, the load balancer sends the request to the application server specified in the cookie. If not, the load balancer sends the request to a server that is chosen based on the existing load-balancing algorithm.
\nA cookie is inserted into the response for binding subsequent requests from the same user to that server. The validity of the cookie is based on the cookie expiration time, which is specified in the policy configuration.
\n \nFor more information, see Duration-Based Session Stickiness\n in the Classic Load Balancers Guide.
" + "smithy.api#documentation": "Generates a stickiness policy with sticky session lifetimes controlled by the lifetime of the browser (user-agent) or a specified expiration period. This policy can be associated only with HTTP/HTTPS listeners.
\nWhen a load balancer implements this policy, the load balancer uses a special cookie to track the instance for each request. When the load balancer receives a request, it first checks to see if this cookie is present in the request. \n If so, the load balancer sends the request to the application server specified in the cookie. If not, the load balancer sends the request to a server that is chosen based on the existing load-balancing algorithm.
\nA cookie is inserted into the response for binding subsequent requests from the same user to that server. The validity of the cookie is based on the cookie expiration time, which is specified in the policy configuration.
\n \nFor more information, see Duration-Based Session Stickiness\n in the Classic Load Balancers Guide.
", + "smithy.api#examples": [ + { + "title": "To generate a duration-based stickiness policy for your load balancer", + "documentation": "This example generates a stickiness policy with sticky session lifetimes controlled by the specified expiration period.", + "input": { + "LoadBalancerName": "my-load-balancer", + "PolicyName": "my-duration-cookie-policy", + "CookieExpirationPeriod": 60 + } + } + ] } }, "com.amazonaws.elasticloadbalancing#CreateLBCookieStickinessPolicyInput": { @@ -737,14 +854,16 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for CreateLBCookieStickinessPolicy.
" + "smithy.api#documentation": "Contains the parameters for CreateLBCookieStickinessPolicy.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#CreateLBCookieStickinessPolicyOutput": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Contains the output for CreateLBCookieStickinessPolicy.
" + "smithy.api#documentation": "Contains the output for CreateLBCookieStickinessPolicy.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#CreateLoadBalancer": { @@ -794,7 +913,33 @@ } ], "traits": { - "smithy.api#documentation": "Creates a Classic Load Balancer.
\n\nYou can add listeners, security groups, subnets, and tags when you create your load balancer, \n or you can add them later using CreateLoadBalancerListeners, \n ApplySecurityGroupsToLoadBalancer, AttachLoadBalancerToSubnets, \n and AddTags.
\nTo describe your current load balancers, see DescribeLoadBalancers.\n When you are finished with a load balancer, you can delete it using \n DeleteLoadBalancer.
\n \nYou can create up to 20 load balancers per region per account. \n You can request an increase for the number of load balancers for your account. \n For more information, see Limits for Your Classic Load Balancer\n in the Classic Load Balancers Guide.
" + "smithy.api#documentation": "Creates a Classic Load Balancer.
\n\nYou can add listeners, security groups, subnets, and tags when you create your load balancer, \n or you can add them later using CreateLoadBalancerListeners, \n ApplySecurityGroupsToLoadBalancer, AttachLoadBalancerToSubnets, \n and AddTags.
\nTo describe your current load balancers, see DescribeLoadBalancers.\n When you are finished with a load balancer, you can delete it using \n DeleteLoadBalancer.
\n \nYou can create up to 20 load balancers per region per account. \n You can request an increase for the number of load balancers for your account. \n For more information, see Limits for Your Classic Load Balancer\n in the Classic Load Balancers Guide.
", + "smithy.api#examples": [ + { + "title": "To create an HTTP load balancer in a VPC", + "documentation": "This example creates a load balancer with an HTTP listener in a VPC.", + "input": { + "LoadBalancerName": "my-load-balancer", + "Listeners": [ + { + "Protocol": "HTTP", + "LoadBalancerPort": 80, + "InstanceProtocol": "HTTP", + "InstancePort": 80 + } + ], + "Subnets": [ + "subnet-15aaab61" + ], + "SecurityGroups": [ + "sg-a61988c3" + ] + }, + "output": { + "DNSName": "my-load-balancer-1234567890.us-west-2.elb.amazonaws.com" + } + } + ] } }, "com.amazonaws.elasticloadbalancing#CreateLoadBalancerListenerInput": { @@ -816,14 +961,16 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for CreateLoadBalancerListeners.
" + "smithy.api#documentation": "Contains the parameters for CreateLoadBalancerListeners.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#CreateLoadBalancerListenerOutput": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Contains the parameters for CreateLoadBalancerListener.
" + "smithy.api#documentation": "Contains the parameters for CreateLoadBalancerListener.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#CreateLoadBalancerListeners": { @@ -852,7 +999,24 @@ } ], "traits": { - "smithy.api#documentation": "Creates one or more listeners for the specified load balancer. If a listener with the specified port does not already exist, it is created; otherwise, the properties of the new listener must match the properties of the existing listener.
\nFor more information, see Listeners for Your Classic Load Balancer \n in the Classic Load Balancers Guide.
" + "smithy.api#documentation": "Creates one or more listeners for the specified load balancer. If a listener with the specified port does not already exist, it is created; otherwise, the properties of the new listener must match the properties of the existing listener.
\nFor more information, see Listeners for Your Classic Load Balancer \n in the Classic Load Balancers Guide.
", + "smithy.api#examples": [ + { + "title": "To create an HTTP listener for a load balancer", + "documentation": "This example creates a listener for your load balancer at port 80 using the HTTP protocol.", + "input": { + "LoadBalancerName": "my-load-balancer", + "Listeners": [ + { + "Protocol": "HTTP", + "LoadBalancerPort": 80, + "InstanceProtocol": "HTTP", + "InstancePort": 80 + } + ] + } + } + ] } }, "com.amazonaws.elasticloadbalancing#CreateLoadBalancerPolicy": { @@ -881,7 +1045,24 @@ } ], "traits": { - "smithy.api#documentation": "Creates a policy with the specified attributes for the specified load balancer.
\nPolicies are settings that are saved for your load balancer and that can be applied to the listener or the application server, depending on the policy type.
" + "smithy.api#documentation": "Creates a policy with the specified attributes for the specified load balancer.
\nPolicies are settings that are saved for your load balancer and that can be applied to the listener or the application server, depending on the policy type.
", + "smithy.api#examples": [ + { + "title": "To create a policy that enables Proxy Protocol on a load balancer", + "documentation": "This example creates a policy that enables Proxy Protocol on the specified load balancer.", + "input": { + "LoadBalancerName": "my-load-balancer", + "PolicyName": "my-ProxyProtocol-policy", + "PolicyTypeName": "ProxyProtocolPolicyType", + "PolicyAttributes": [ + { + "AttributeName": "ProxyProtocol", + "AttributeValue": "true" + } + ] + } + } + ] } }, "com.amazonaws.elasticloadbalancing#CreateLoadBalancerPolicyInput": { @@ -916,14 +1097,16 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for CreateLoadBalancerPolicy.
" + "smithy.api#documentation": "Contains the parameters for CreateLoadBalancerPolicy.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#CreateLoadBalancerPolicyOutput": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Contains the output of CreateLoadBalancerPolicy.
" + "smithy.api#documentation": "Contains the output of CreateLoadBalancerPolicy.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#CreatedTime": { @@ -969,14 +1152,16 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for DeleteLoadBalancer.
" + "smithy.api#documentation": "Contains the parameters for DeleteLoadBalancer.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#DeleteAccessPointOutput": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Contains the output of DeleteLoadBalancer.
" + "smithy.api#documentation": "Contains the output of DeleteLoadBalancer.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#DeleteLoadBalancer": { @@ -988,7 +1173,16 @@ "target": "com.amazonaws.elasticloadbalancing#DeleteAccessPointOutput" }, "traits": { - "smithy.api#documentation": "Deletes the specified load balancer.
\nIf you are attempting to recreate a load balancer, you must reconfigure all settings. The DNS name associated with a deleted load balancer are no longer usable. The name and associated DNS record of the deleted load balancer no longer exist and traffic sent to any of its IP addresses is no longer delivered to your instances.
\nIf the load balancer does not exist or has already been deleted, the call to\n DeleteLoadBalancer
still succeeds.
Deletes the specified load balancer.
\nIf you are attempting to recreate a load balancer, you must reconfigure all settings. The DNS name associated with a deleted load balancer are no longer usable. The name and associated DNS record of the deleted load balancer no longer exist and traffic sent to any of its IP addresses is no longer delivered to your instances.
\nIf the load balancer does not exist or has already been deleted, the call to\n DeleteLoadBalancer
still succeeds.
Contains the parameters for DeleteLoadBalancerListeners.
" + "smithy.api#documentation": "Contains the parameters for DeleteLoadBalancerListeners.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#DeleteLoadBalancerListenerOutput": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Contains the output of DeleteLoadBalancerListeners.
" + "smithy.api#documentation": "Contains the output of DeleteLoadBalancerListeners.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#DeleteLoadBalancerListeners": { @@ -1034,7 +1230,19 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the specified listeners from the specified load balancer.
" + "smithy.api#documentation": "Deletes the specified listeners from the specified load balancer.
", + "smithy.api#examples": [ + { + "title": "To delete a listener from your load balancer", + "documentation": "This example deletes the listener for the specified port from the specified load balancer.", + "input": { + "LoadBalancerName": "my-load-balancer", + "LoadBalancerPorts": [ + 80 + ] + } + } + ] } }, "com.amazonaws.elasticloadbalancing#DeleteLoadBalancerPolicy": { @@ -1054,7 +1262,17 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the specified policy from the specified load balancer. This policy must not be enabled for any listeners.
" + "smithy.api#documentation": "Deletes the specified policy from the specified load balancer. This policy must not be enabled for any listeners.
", + "smithy.api#examples": [ + { + "title": "To delete a policy from your load balancer", + "documentation": "This example deletes the specified policy from the specified load balancer. The policy must not be enabled on any listener.", + "input": { + "LoadBalancerName": "my-load-balancer", + "PolicyName": "my-duration-cookie-policy" + } + } + ] } }, "com.amazonaws.elasticloadbalancing#DeleteLoadBalancerPolicyInput": { @@ -1076,14 +1294,16 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for DeleteLoadBalancerPolicy.
" + "smithy.api#documentation": "Contains the parameters for DeleteLoadBalancerPolicy.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#DeleteLoadBalancerPolicyOutput": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Contains the output of DeleteLoadBalancerPolicy.
" + "smithy.api#documentation": "Contains the output of DeleteLoadBalancerPolicy.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#DependencyThrottleException": { @@ -1122,7 +1342,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for DeregisterInstancesFromLoadBalancer.
" + "smithy.api#documentation": "Contains the parameters for DeregisterInstancesFromLoadBalancer.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#DeregisterEndPointsOutput": { @@ -1136,7 +1357,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output of DeregisterInstancesFromLoadBalancer.
" + "smithy.api#documentation": "Contains the output of DeregisterInstancesFromLoadBalancer.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#DeregisterInstancesFromLoadBalancer": { @@ -1156,7 +1378,31 @@ } ], "traits": { - "smithy.api#documentation": "Deregisters the specified instances from the specified load balancer. After the instance is deregistered, it no longer receives traffic from the load balancer.
\n \nYou can use DescribeLoadBalancers to verify that the instance is deregistered from the load balancer.
\n\nFor more information, see Register or De-Register EC2 Instances \n in the Classic Load Balancers Guide.
" + "smithy.api#documentation": "Deregisters the specified instances from the specified load balancer. After the instance is deregistered, it no longer receives traffic from the load balancer.
\n \nYou can use DescribeLoadBalancers to verify that the instance is deregistered from the load balancer.
\n\nFor more information, see Register or De-Register EC2 Instances \n in the Classic Load Balancers Guide.
", + "smithy.api#examples": [ + { + "title": "To deregister instances from a load balancer", + "documentation": "This example deregisters the specified instance from the specified load balancer.", + "input": { + "LoadBalancerName": "my-load-balancer", + "Instances": [ + { + "InstanceId": "i-d6f6fae3" + } + ] + }, + "output": { + "Instances": [ + { + "InstanceId": "i-207d9717" + }, + { + "InstanceId": "i-afefb49b" + } + ] + } + } + ] } }, "com.amazonaws.elasticloadbalancing#DescribeAccessPointsInput": { @@ -1182,7 +1428,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for DescribeLoadBalancers.
" + "smithy.api#documentation": "Contains the parameters for DescribeLoadBalancers.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#DescribeAccessPointsOutput": { @@ -1202,7 +1449,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for DescribeLoadBalancers.
" + "smithy.api#documentation": "Contains the parameters for DescribeLoadBalancers.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#DescribeAccountLimits": { @@ -1232,6 +1480,9 @@ "smithy.api#documentation": "The maximum number of results to return with this call.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#DescribeAccountLimitsOutput": { @@ -1249,6 +1500,9 @@ "smithy.api#documentation": "The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#DescribeEndPointStateInput": { @@ -1269,7 +1523,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for DescribeInstanceHealth.
" + "smithy.api#documentation": "Contains the parameters for DescribeInstanceHealth.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#DescribeEndPointStateOutput": { @@ -1283,7 +1538,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output for DescribeInstanceHealth.
" + "smithy.api#documentation": "Contains the output for DescribeInstanceHealth.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#DescribeInstanceHealth": { @@ -1304,6 +1560,34 @@ ], "traits": { "smithy.api#documentation": "Describes the state of the specified instances with respect to the specified load balancer. If no instances are specified, the call describes the state of all instances that are currently registered with the load balancer. If instances are specified, their state is returned even if they are no longer registered with the load balancer. The state of terminated instances is not returned.
", + "smithy.api#examples": [ + { + "title": "To describe the health of the instances for a load balancer", + "documentation": "This example describes the health of the instances for the specified load balancer.", + "input": { + "LoadBalancerName": "my-load-balancer" + }, + "output": { + "InstanceStates": [ + { + "InstanceId": "i-207d9717", + "ReasonCode": "N/A", + "State": "InService", + "Description": "N/A" + }, + { + "InstanceId": "i-afefb49b", + "ReasonCode": "N/A", + "State": "InService", + "Description": "N/A" + } + ] + } + } + ], + "smithy.api#suppress": [ + "WaitableTraitInvalidErrorType" + ], "smithy.waiters#waitable": { "AnyInstanceInService": { "acceptors": [ @@ -1319,6 +1603,48 @@ } ], "minDelay": 15 + }, + "InstanceDeregistered": { + "acceptors": [ + { + "state": "success", + "matcher": { + "output": { + "path": "InstanceStates[].State", + "expected": "OutOfService", + "comparator": "allStringEquals" + } + } + }, + { + "state": "success", + "matcher": { + "errorType": "InvalidInstance" + } + } + ], + "minDelay": 15 + }, + "InstanceInService": { + "acceptors": [ + { + "state": "success", + "matcher": { + "output": { + "path": "InstanceStates[].State", + "expected": "InService", + "comparator": "allStringEquals" + } + } + }, + { + "state": "retry", + "matcher": { + "errorType": "InvalidInstance" + } + } + ], + "minDelay": 15 } } } @@ -1340,7 +1666,33 @@ } ], "traits": { - "smithy.api#documentation": "Describes the attributes for the specified load balancer.
" + "smithy.api#documentation": "Describes the attributes for the specified load balancer.
", + "smithy.api#examples": [ + { + "title": "To describe the attributes of a load balancer", + "documentation": "This example describes the attributes of the specified load balancer.", + "input": { + "LoadBalancerName": "my-load-balancer" + }, + "output": { + "LoadBalancerAttributes": { + "ConnectionDraining": { + "Enabled": false, + "Timeout": 300 + }, + "CrossZoneLoadBalancing": { + "Enabled": false + }, + "ConnectionSettings": { + "IdleTimeout": 60 + }, + "AccessLog": { + "Enabled": false + } + } + } + } + ] } }, "com.amazonaws.elasticloadbalancing#DescribeLoadBalancerAttributesInput": { @@ -1355,7 +1707,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for DescribeLoadBalancerAttributes.
" + "smithy.api#documentation": "Contains the parameters for DescribeLoadBalancerAttributes.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#DescribeLoadBalancerAttributesOutput": { @@ -1369,7 +1722,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output of DescribeLoadBalancerAttributes.
" + "smithy.api#documentation": "Contains the output of DescribeLoadBalancerAttributes.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#DescribeLoadBalancerPolicies": { @@ -1389,7 +1743,33 @@ } ], "traits": { - "smithy.api#documentation": "Describes the specified policies.
\nIf you specify a load balancer name, the action returns the descriptions of all policies created for the load balancer.\n If you specify a policy name associated with your load balancer, the action returns the description of that policy. \n If you don't specify a load balancer name, the action returns descriptions of the specified sample policies, or descriptions of all sample policies.\n The names of the sample policies have the ELBSample-
prefix.
Describes the specified policies.
\nIf you specify a load balancer name, the action returns the descriptions of all policies created for the load balancer.\n If you specify a policy name associated with your load balancer, the action returns the description of that policy. \n If you don't specify a load balancer name, the action returns descriptions of the specified sample policies, or descriptions of all sample policies.\n The names of the sample policies have the ELBSample-
prefix.
Contains the parameters for DescribeLoadBalancerPolicies.
" + "smithy.api#documentation": "Contains the parameters for DescribeLoadBalancerPolicies.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#DescribeLoadBalancerPoliciesOutput": { @@ -1423,7 +1804,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output of DescribeLoadBalancerPolicies.
" + "smithy.api#documentation": "Contains the output of DescribeLoadBalancerPolicies.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#DescribeLoadBalancerPolicyTypes": { @@ -1440,7 +1822,33 @@ } ], "traits": { - "smithy.api#documentation": "Describes the specified load balancer policy types or all load balancer policy types.
\nThe description of each type indicates how it can be used. For example, \n some policies can be used only with layer 7 listeners,\n some policies can be used only with layer 4 listeners,\n and some policies can be used only with your EC2 instances.
\nYou can use CreateLoadBalancerPolicy to create a policy configuration for any of these policy types. \n Then, depending on the policy type, use either SetLoadBalancerPoliciesOfListener or \n SetLoadBalancerPoliciesForBackendServer to set the policy.
" + "smithy.api#documentation": "Describes the specified load balancer policy types or all load balancer policy types.
\nThe description of each type indicates how it can be used. For example, \n some policies can be used only with layer 7 listeners,\n some policies can be used only with layer 4 listeners,\n and some policies can be used only with your EC2 instances.
\nYou can use CreateLoadBalancerPolicy to create a policy configuration for any of these policy types. \n Then, depending on the policy type, use either SetLoadBalancerPoliciesOfListener or \n SetLoadBalancerPoliciesForBackendServer to set the policy.
", + "smithy.api#examples": [ + { + "title": "To describe a load balancer policy type defined by Elastic Load Balancing", + "documentation": "This example describes the specified load balancer policy type.", + "input": { + "PolicyTypeNames": [ + "ProxyProtocolPolicyType" + ] + }, + "output": { + "PolicyTypeDescriptions": [ + { + "PolicyAttributeTypeDescriptions": [ + { + "Cardinality": "ONE", + "AttributeName": "ProxyProtocol", + "AttributeType": "Boolean" + } + ], + "PolicyTypeName": "ProxyProtocolPolicyType", + "Description": "Policy that controls whether to include the IP address and port of the originating request for TCP messages. This policy operates on TCP listeners only." + } + ] + } + } + ] } }, "com.amazonaws.elasticloadbalancing#DescribeLoadBalancerPolicyTypesInput": { @@ -1454,7 +1862,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for DescribeLoadBalancerPolicyTypes.
" + "smithy.api#documentation": "Contains the parameters for DescribeLoadBalancerPolicyTypes.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#DescribeLoadBalancerPolicyTypesOutput": { @@ -1468,7 +1877,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output of DescribeLoadBalancerPolicyTypes.
" + "smithy.api#documentation": "Contains the output of DescribeLoadBalancerPolicyTypes.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#DescribeLoadBalancers": { @@ -1489,6 +1899,105 @@ ], "traits": { "smithy.api#documentation": "Describes the specified the load balancers. If no load balancers are specified, the call describes all of your load balancers.
", + "smithy.api#examples": [ + { + "title": "To describe one of your load balancers", + "documentation": "This example describes the specified load balancer.", + "input": { + "LoadBalancerNames": [ + "my-load-balancer" + ] + }, + "output": { + "LoadBalancerDescriptions": [ + { + "Subnets": [ + "subnet-15aaab61" + ], + "CanonicalHostedZoneNameID": "Z3DZXE0EXAMPLE", + "CanonicalHostedZoneName": "my-load-balancer-1234567890.us-west-2.elb.amazonaws.com", + "ListenerDescriptions": [ + { + "Listener": { + "InstancePort": 80, + "LoadBalancerPort": 80, + "Protocol": "HTTP", + "InstanceProtocol": "HTTP" + }, + "PolicyNames": [] + }, + { + "Listener": { + "InstancePort": 443, + "SSLCertificateId": "arn:aws:iam::123456789012:server-certificate/my-server-cert", + "LoadBalancerPort": 443, + "Protocol": "HTTPS", + "InstanceProtocol": "HTTPS" + }, + "PolicyNames": [ + "ELBSecurityPolicy-2015-03" + ] + } + ], + "HealthCheck": { + "HealthyThreshold": 2, + "Interval": 30, + "Target": "HTTP:80/png", + "Timeout": 3, + "UnhealthyThreshold": 2 + }, + "VPCId": "vpc-a01106c2", + "BackendServerDescriptions": [ + { + "InstancePort": 80, + "PolicyNames": [ + "my-ProxyProtocol-policy" + ] + } + ], + "Instances": [ + { + "InstanceId": "i-207d9717" + }, + { + "InstanceId": "i-afefb49b" + } + ], + "DNSName": "my-load-balancer-1234567890.us-west-2.elb.amazonaws.com", + "SecurityGroups": [ + "sg-a61988c3" + ], + "Policies": { + "LBCookieStickinessPolicies": [ + { + "PolicyName": "my-duration-cookie-policy", + "CookieExpirationPeriod": 60 + } + ], + "AppCookieStickinessPolicies": [], + "OtherPolicies": [ + "my-PublicKey-policy", + "my-authentication-policy", + "my-SSLNegotiation-policy", + "my-ProxyProtocol-policy", + "ELBSecurityPolicy-2015-03" + ] + }, + "LoadBalancerName": "my-load-balancer", + "CreatedTime": "2015-03-19T03:24:02.650Z", + "AvailabilityZones": [ + "us-west-2a" + ], + "Scheme": "internet-facing", + "SourceSecurityGroup": { + "OwnerAlias": "123456789012", + "GroupName": "my-elb-sg" + } + } + ] + } + } + ], "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "NextMarker", @@ -1510,7 +2019,35 @@ } ], "traits": { - "smithy.api#documentation": "Describes the tags associated with the specified load balancers.
" + "smithy.api#documentation": "Describes the tags associated with the specified load balancers.
", + "smithy.api#examples": [ + { + "title": "To describe the tags for a load balancer", + "documentation": "This example describes the tags for the specified load balancer.", + "input": { + "LoadBalancerNames": [ + "my-load-balancer" + ] + }, + "output": { + "TagDescriptions": [ + { + "Tags": [ + { + "Key": "project", + "Value": "lima" + }, + { + "Key": "department", + "Value": "digital-media" + } + ], + "LoadBalancerName": "my-load-balancer" + } + ] + } + } + ] } }, "com.amazonaws.elasticloadbalancing#DescribeTagsInput": { @@ -1525,7 +2062,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for DescribeTags.
" + "smithy.api#documentation": "Contains the parameters for DescribeTags.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#DescribeTagsOutput": { @@ -1539,7 +2077,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output for DescribeTags.
" + "smithy.api#documentation": "Contains the output for DescribeTags.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#Description": { @@ -1562,7 +2101,24 @@ } ], "traits": { - "smithy.api#documentation": "Removes the specified subnets from the set of configured subnets for the load balancer.
\nAfter a subnet is removed, all EC2 instances registered with the load balancer \n in the removed subnet go into the OutOfService
state. Then, \n the load balancer balances the traffic among the remaining routable subnets.
Removes the specified subnets from the set of configured subnets for the load balancer.
\nAfter a subnet is removed, all EC2 instances registered with the load balancer \n in the removed subnet go into the OutOfService
state. Then, \n the load balancer balances the traffic among the remaining routable subnets.
Contains the parameters for DetachLoadBalancerFromSubnets.
" + "smithy.api#documentation": "Contains the parameters for DetachLoadBalancerFromSubnets.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#DetachLoadBalancerFromSubnetsOutput": { @@ -1598,7 +2155,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output of DetachLoadBalancerFromSubnets.
" + "smithy.api#documentation": "Contains the output of DetachLoadBalancerFromSubnets.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#DisableAvailabilityZonesForLoadBalancer": { @@ -1618,7 +2176,24 @@ } ], "traits": { - "smithy.api#documentation": "Removes the specified Availability Zones from the set of Availability Zones for the specified load balancer\n in EC2-Classic or a default VPC.
\nFor load balancers in a non-default VPC, use DetachLoadBalancerFromSubnets.
\nThere must be at least one Availability Zone registered with a load balancer at all times. \n After an Availability Zone is removed, all instances registered with the load balancer that are in the removed\n Availability Zone go into the OutOfService
state. Then, the load balancer attempts to equally balance\n the traffic among its remaining Availability Zones.
For more information, see Add or Remove Availability Zones\n in the Classic Load Balancers Guide.
" + "smithy.api#documentation": "Removes the specified Availability Zones from the set of Availability Zones for the specified load balancer\n in EC2-Classic or a default VPC.
\nFor load balancers in a non-default VPC, use DetachLoadBalancerFromSubnets.
\nThere must be at least one Availability Zone registered with a load balancer at all times. \n After an Availability Zone is removed, all instances registered with the load balancer that are in the removed\n Availability Zone go into the OutOfService
state. Then, the load balancer attempts to equally balance\n the traffic among its remaining Availability Zones.
For more information, see Add or Remove Availability Zones\n in the Classic Load Balancers Guide.
", + "smithy.api#examples": [ + { + "title": "To disable an Availability Zone for a load balancer", + "documentation": "This example removes the specified Availability Zone from the set of Availability Zones for the specified load balancer.", + "input": { + "LoadBalancerName": "my-load-balancer", + "AvailabilityZones": [ + "us-west-2a" + ] + }, + "output": { + "AvailabilityZones": [ + "us-west-2b" + ] + } + } + ] } }, "com.amazonaws.elasticloadbalancing#DuplicateAccessPointNameException": { @@ -1787,6 +2362,7 @@ "arnNamespace": "elasticloadbalancing", "cloudFormationName": "ElasticLoadBalancing", "cloudTrailEventSource": "elasticloadbalancing.amazonaws.com", + "docId": "elasticloadbalancing-2012-06-01", "endpointPrefix": "elasticloadbalancing" }, "aws.auth#sigv4": { @@ -1858,52 +2434,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", @@ -1911,13 +2491,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -1927,175 +2516,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://elasticloadbalancing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://elasticloadbalancing.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [], - "endpoint": { - "url": "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dnsSuffix}", - "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": [ { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } + "ref": "UseFIPS" + }, + true ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -2104,72 +2601,115 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws-us-gov", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsDualStack" + "name" ] } ] } ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://elasticloadbalancing.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "endpoint": { + "url": "https://elasticloadbalancing.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" + "endpoint": { + "url": "https://elasticloadbalancing-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": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://elasticloadbalancing.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://elasticloadbalancing.{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://elasticloadbalancing.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -2184,8 +2724,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2197,8 +2737,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2210,8 +2750,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2223,8 +2763,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2236,8 +2776,8 @@ }, "params": { "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2249,8 +2789,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2262,8 +2802,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2275,8 +2815,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2288,8 +2828,8 @@ }, "params": { "Region": "ap-southeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2301,8 +2841,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2314,8 +2854,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2327,8 +2867,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2340,8 +2880,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2353,8 +2893,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2366,8 +2906,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2379,8 +2919,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2392,8 +2932,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2405,8 +2945,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2418,8 +2958,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2431,8 +2971,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2444,8 +2984,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2457,8 +2997,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2470,8 +3010,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2483,8 +3023,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2496,8 +3036,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2509,8 +3049,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2522,8 +3062,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2535,8 +3075,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2548,8 +3088,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2561,8 +3101,8 @@ }, "params": { "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2574,8 +3114,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2587,8 +3127,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2600,8 +3140,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2613,8 +3153,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2626,8 +3166,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2639,8 +3179,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2652,8 +3192,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2665,8 +3205,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2678,8 +3218,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2691,8 +3231,8 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2704,8 +3244,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 } }, { @@ -2717,8 +3268,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 } }, { @@ -2730,8 +3292,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 } }, { @@ -2743,8 +3316,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 } }, { @@ -2756,8 +3340,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2769,8 +3353,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2781,8 +3365,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2793,10 +3377,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" @@ -2817,7 +3407,25 @@ } ], "traits": { - "smithy.api#documentation": "Adds the specified Availability Zones to the set of Availability Zones for the specified load balancer\n in EC2-Classic or a default VPC.
\nFor load balancers in a non-default VPC, use AttachLoadBalancerToSubnets.
\nThe load balancer evenly distributes requests across all its registered Availability Zones \n that contain instances. For more information, see Add or Remove Availability Zones\n in the Classic Load Balancers Guide.
" + "smithy.api#documentation": "Adds the specified Availability Zones to the set of Availability Zones for the specified load balancer\n in EC2-Classic or a default VPC.
\nFor load balancers in a non-default VPC, use AttachLoadBalancerToSubnets.
\nThe load balancer evenly distributes requests across all its registered Availability Zones \n that contain instances. For more information, see Add or Remove Availability Zones\n in the Classic Load Balancers Guide.
", + "smithy.api#examples": [ + { + "title": "To enable an Availability Zone for a load balancer", + "documentation": "This example adds the specified Availability Zone to the specified load balancer.", + "input": { + "LoadBalancerName": "my-load-balancer", + "AvailabilityZones": [ + "us-west-2b" + ] + }, + "output": { + "AvailabilityZones": [ + "us-west-2a", + "us-west-2b" + ] + } + } + ] } }, "com.amazonaws.elasticloadbalancing#EndPointPort": { @@ -3427,7 +4035,29 @@ } ], "traits": { - "smithy.api#documentation": "Modifies the attributes of the specified load balancer.
\nYou can modify the load balancer attributes, such as AccessLogs
, ConnectionDraining
, and \n CrossZoneLoadBalancing
by either enabling or disabling them. Or, you can modify the load balancer attribute \n ConnectionSettings
by specifying an idle connection timeout value for your load balancer.
For more information, see the following in the Classic Load Balancers Guide:
\n\n Connection Draining\n
\n\n Access Logs\n
\nModifies the attributes of the specified load balancer.
\nYou can modify the load balancer attributes, such as AccessLogs
, ConnectionDraining
, and \n CrossZoneLoadBalancing
by either enabling or disabling them. Or, you can modify the load balancer attribute \n ConnectionSettings
by specifying an idle connection timeout value for your load balancer.
For more information, see the following in the Classic Load Balancers Guide:
\n\n Connection Draining\n
\n\n Access Logs\n
\nContains the parameters for ModifyLoadBalancerAttributes.
" + "smithy.api#documentation": "Contains the parameters for ModifyLoadBalancerAttributes.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#ModifyLoadBalancerAttributesOutput": { @@ -3469,7 +4100,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output of ModifyLoadBalancerAttributes.
" + "smithy.api#documentation": "Contains the output of ModifyLoadBalancerAttributes.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#Name": { @@ -3770,7 +4402,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for RegisterInstancesWithLoadBalancer.
" + "smithy.api#documentation": "Contains the parameters for RegisterInstancesWithLoadBalancer.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#RegisterEndPointsOutput": { @@ -3784,7 +4417,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output of RegisterInstancesWithLoadBalancer.
" + "smithy.api#documentation": "Contains the output of RegisterInstancesWithLoadBalancer.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#RegisterInstancesWithLoadBalancer": { @@ -3804,7 +4438,34 @@ } ], "traits": { - "smithy.api#documentation": "Adds the specified instances to the specified load balancer.
\n\nThe instance must be a running instance in the same network as the load balancer (EC2-Classic or the same VPC). If you have EC2-Classic instances and a load balancer in a VPC with ClassicLink enabled, you can link the EC2-Classic instances to that VPC and then register the linked EC2-Classic instances with the load balancer in the VPC.
\n\nNote that RegisterInstanceWithLoadBalancer
completes when the request has been registered.\n Instance registration takes a little time to complete. To check the state of the registered instances, use \n DescribeLoadBalancers or DescribeInstanceHealth.
After the instance is registered, it starts receiving traffic\n and requests from the load balancer. Any instance that is not\n in one of the Availability Zones registered for the load balancer\n is moved to the OutOfService
state. If an Availability Zone\n is added to the load balancer later, any instances registered with the\n load balancer move to the InService
state.
To deregister instances from a load balancer, use DeregisterInstancesFromLoadBalancer.
\n \nFor more information, see Register or De-Register EC2 Instances\n in the Classic Load Balancers Guide.
" + "smithy.api#documentation": "Adds the specified instances to the specified load balancer.
\n\nThe instance must be a running instance in the same network as the load balancer (EC2-Classic or the same VPC). If you have EC2-Classic instances and a load balancer in a VPC with ClassicLink enabled, you can link the EC2-Classic instances to that VPC and then register the linked EC2-Classic instances with the load balancer in the VPC.
\n\nNote that RegisterInstanceWithLoadBalancer
completes when the request has been registered.\n Instance registration takes a little time to complete. To check the state of the registered instances, use \n DescribeLoadBalancers or DescribeInstanceHealth.
After the instance is registered, it starts receiving traffic\n and requests from the load balancer. Any instance that is not\n in one of the Availability Zones registered for the load balancer\n is moved to the OutOfService
state. If an Availability Zone\n is added to the load balancer later, any instances registered with the\n load balancer move to the InService
state.
To deregister instances from a load balancer, use DeregisterInstancesFromLoadBalancer.
\n \nFor more information, see Register or De-Register EC2 Instances\n in the Classic Load Balancers Guide.
", + "smithy.api#examples": [ + { + "title": "To register instances with a load balancer", + "documentation": "This example registers the specified instance with the specified load balancer.", + "input": { + "LoadBalancerName": "my-load-balancer", + "Instances": [ + { + "InstanceId": "i-d6f6fae3" + } + ] + }, + "output": { + "Instances": [ + { + "InstanceId": "i-d6f6fae3" + }, + { + "InstanceId": "i-207d9717" + }, + { + "InstanceId": "i-afefb49b" + } + ] + } + } + ] } }, "com.amazonaws.elasticloadbalancing#RemoveAvailabilityZonesInput": { @@ -3826,7 +4487,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for DisableAvailabilityZonesForLoadBalancer.
" + "smithy.api#documentation": "Contains the parameters for DisableAvailabilityZonesForLoadBalancer.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#RemoveAvailabilityZonesOutput": { @@ -3840,7 +4502,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output for DisableAvailabilityZonesForLoadBalancer.
" + "smithy.api#documentation": "Contains the output for DisableAvailabilityZonesForLoadBalancer.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#RemoveTags": { @@ -3857,7 +4520,23 @@ } ], "traits": { - "smithy.api#documentation": "Removes one or more tags from the specified load balancer.
" + "smithy.api#documentation": "Removes one or more tags from the specified load balancer.
", + "smithy.api#examples": [ + { + "title": "To remove tags from a load balancer", + "documentation": "This example removes the specified tag from the specified load balancer.", + "input": { + "LoadBalancerNames": [ + "my-load-balancer" + ], + "Tags": [ + { + "Key": "project" + } + ] + } + } + ] } }, "com.amazonaws.elasticloadbalancing#RemoveTagsInput": { @@ -3879,14 +4558,16 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for RemoveTags.
" + "smithy.api#documentation": "Contains the parameters for RemoveTags.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#RemoveTagsOutput": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Contains the output of RemoveTags.
" + "smithy.api#documentation": "Contains the output of RemoveTags.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#S3BucketName": { @@ -3936,7 +4617,18 @@ } ], "traits": { - "smithy.api#documentation": "Sets the certificate that terminates the specified listener's SSL connections. The specified certificate replaces any prior certificate that was used on the same load balancer and port.
\n \nFor more information about updating your SSL certificate, see \n Replace the SSL Certificate for Your Load Balancer\n in the Classic Load Balancers Guide.
" + "smithy.api#documentation": "Sets the certificate that terminates the specified listener's SSL connections. The specified certificate replaces any prior certificate that was used on the same load balancer and port.
\n \nFor more information about updating your SSL certificate, see \n Replace the SSL Certificate for Your Load Balancer\n in the Classic Load Balancers Guide.
", + "smithy.api#examples": [ + { + "title": "To update the SSL certificate for an HTTPS listener", + "documentation": "This example replaces the existing SSL certificate for the specified HTTPS listener.", + "input": { + "LoadBalancerName": "my-load-balancer", + "LoadBalancerPort": 443, + "SSLCertificateId": "arn:aws:iam::123456789012:server-certificate/new-server-cert" + } + } + ] } }, "com.amazonaws.elasticloadbalancing#SetLoadBalancerListenerSSLCertificateInput": { @@ -3966,14 +4658,16 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for SetLoadBalancerListenerSSLCertificate.
" + "smithy.api#documentation": "Contains the parameters for SetLoadBalancerListenerSSLCertificate.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#SetLoadBalancerListenerSSLCertificateOutput": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Contains the output of SetLoadBalancerListenerSSLCertificate.
" + "smithy.api#documentation": "Contains the output of SetLoadBalancerListenerSSLCertificate.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#SetLoadBalancerPoliciesForBackendServer": { @@ -3996,7 +4690,20 @@ } ], "traits": { - "smithy.api#documentation": "Replaces the set of policies associated with the specified port on which the EC2 instance is listening with a new set of policies. \n At this time, only the back-end server authentication policy type can be applied to the instance ports; this policy type is composed of multiple public key policies.
\nEach time you use SetLoadBalancerPoliciesForBackendServer
to enable the policies, \n use the PolicyNames
parameter to list the policies that you want to enable.
You can use DescribeLoadBalancers or DescribeLoadBalancerPolicies to verify that the policy \n is associated with the EC2 instance.
\n\nFor more information about enabling back-end instance authentication, see Configure Back-end Instance Authentication\n in the Classic Load Balancers Guide. For more information about Proxy Protocol, see \n Configure Proxy Protocol Support\n in the Classic Load Balancers Guide.
" + "smithy.api#documentation": "Replaces the set of policies associated with the specified port on which the EC2 instance is listening with a new set of policies. \n At this time, only the back-end server authentication policy type can be applied to the instance ports; this policy type is composed of multiple public key policies.
\nEach time you use SetLoadBalancerPoliciesForBackendServer
to enable the policies, \n use the PolicyNames
parameter to list the policies that you want to enable.
You can use DescribeLoadBalancers or DescribeLoadBalancerPolicies to verify that the policy \n is associated with the EC2 instance.
\n\nFor more information about enabling back-end instance authentication, see Configure Back-end Instance Authentication\n in the Classic Load Balancers Guide. For more information about Proxy Protocol, see \n Configure Proxy Protocol Support\n in the Classic Load Balancers Guide.
", + "smithy.api#examples": [ + { + "title": "To replace the policies associated with a port for a backend instance", + "documentation": "This example replaces the policies that are currently associated with the specified port.", + "input": { + "LoadBalancerName": "my-load-balancer", + "InstancePort": 80, + "PolicyNames": [ + "my-ProxyProtocol-policy" + ] + } + } + ] } }, "com.amazonaws.elasticloadbalancing#SetLoadBalancerPoliciesForBackendServerInput": { @@ -4025,14 +4732,16 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for SetLoadBalancerPoliciesForBackendServer.
" + "smithy.api#documentation": "Contains the parameters for SetLoadBalancerPoliciesForBackendServer.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#SetLoadBalancerPoliciesForBackendServerOutput": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Contains the output of SetLoadBalancerPoliciesForBackendServer.
" + "smithy.api#documentation": "Contains the output of SetLoadBalancerPoliciesForBackendServer.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#SetLoadBalancerPoliciesOfListener": { @@ -4058,7 +4767,20 @@ } ], "traits": { - "smithy.api#documentation": "Replaces the current set of policies for the specified load balancer port with the specified set of policies.
\nTo enable back-end server authentication, use SetLoadBalancerPoliciesForBackendServer.
\nFor more information about setting policies, see\n Update the SSL Negotiation Configuration,\n Duration-Based Session Stickiness, and\n Application-Controlled Session Stickiness\n in the Classic Load Balancers Guide.
" + "smithy.api#documentation": "Replaces the current set of policies for the specified load balancer port with the specified set of policies.
\nTo enable back-end server authentication, use SetLoadBalancerPoliciesForBackendServer.
\nFor more information about setting policies, see\n Update the SSL Negotiation Configuration,\n Duration-Based Session Stickiness, and\n Application-Controlled Session Stickiness\n in the Classic Load Balancers Guide.
", + "smithy.api#examples": [ + { + "title": "To replace the policies associated with a listener", + "documentation": "This example replaces the policies that are currently associated with the specified listener.", + "input": { + "LoadBalancerName": "my-load-balancer", + "LoadBalancerPort": 80, + "PolicyNames": [ + "my-SSLNegotiation-policy" + ] + } + } + ] } }, "com.amazonaws.elasticloadbalancing#SetLoadBalancerPoliciesOfListenerInput": { @@ -4088,14 +4810,16 @@ } }, "traits": { - "smithy.api#documentation": "Contains the parameters for SetLoadBalancePoliciesOfListener.
" + "smithy.api#documentation": "Contains the parameters for SetLoadBalancePoliciesOfListener.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticloadbalancing#SetLoadBalancerPoliciesOfListenerOutput": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Contains the output of SetLoadBalancePoliciesOfListener.
" + "smithy.api#documentation": "Contains the output of SetLoadBalancePoliciesOfListener.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticloadbalancing#SourceSecurityGroup": { diff --git a/codegen/sdk-codegen/aws-models/elastic-transcoder.json b/codegen/sdk-codegen/aws-models/elastic-transcoder.json index 9d7d93789e9..56fb6c74c61 100644 --- a/codegen/sdk-codegen/aws-models/elastic-transcoder.json +++ b/codegen/sdk-codegen/aws-models/elastic-transcoder.json @@ -32,7 +32,7 @@ "com.amazonaws.elastictranscoder#AccessControl": { "type": "string", "traits": { - "smithy.api#pattern": "(^FullControl$)|(^Read$)|(^ReadAcp$)|(^WriteAcp$)" + "smithy.api#pattern": "^(^FullControl$)|(^Read$)|(^ReadAcp$)|(^WriteAcp$)$" } }, "com.amazonaws.elastictranscoder#AccessControls": { @@ -122,25 +122,25 @@ "com.amazonaws.elastictranscoder#Ascending": { "type": "string", "traits": { - "smithy.api#pattern": "(^true$)|(^false$)" + "smithy.api#pattern": "^(^true$)|(^false$)$" } }, "com.amazonaws.elastictranscoder#AspectRatio": { "type": "string", "traits": { - "smithy.api#pattern": "(^auto$)|(^1:1$)|(^4:3$)|(^3:2$)|(^16:9$)" + "smithy.api#pattern": "^(^auto$)|(^1:1$)|(^4:3$)|(^3:2$)|(^16:9$)$" } }, "com.amazonaws.elastictranscoder#AudioBitDepth": { "type": "string", "traits": { - "smithy.api#pattern": "(^8$)|(^16$)|(^24$)|(^32$)" + "smithy.api#pattern": "^(^8$)|(^16$)|(^24$)|(^32$)$" } }, "com.amazonaws.elastictranscoder#AudioBitOrder": { "type": "string", "traits": { - "smithy.api#pattern": "(^LittleEndian$)" + "smithy.api#pattern": "^(^LittleEndian$)$" } }, "com.amazonaws.elastictranscoder#AudioBitRate": { @@ -152,13 +152,13 @@ "com.amazonaws.elastictranscoder#AudioChannels": { "type": "string", "traits": { - "smithy.api#pattern": "(^auto$)|(^0$)|(^1$)|(^2$)" + "smithy.api#pattern": "^(^auto$)|(^0$)|(^1$)|(^2$)$" } }, "com.amazonaws.elastictranscoder#AudioCodec": { "type": "string", "traits": { - "smithy.api#pattern": "(^AAC$)|(^vorbis$)|(^mp3$)|(^mp2$)|(^pcm$)|(^flac$)" + "smithy.api#pattern": "^(^AAC$)|(^vorbis$)|(^mp3$)|(^mp2$)|(^pcm$)|(^flac$)$" } }, "com.amazonaws.elastictranscoder#AudioCodecOptions": { @@ -196,13 +196,13 @@ "com.amazonaws.elastictranscoder#AudioCodecProfile": { "type": "string", "traits": { - "smithy.api#pattern": "(^auto$)|(^AAC-LC$)|(^HE-AAC$)|(^HE-AACv2$)" + "smithy.api#pattern": "^(^auto$)|(^AAC-LC$)|(^HE-AAC$)|(^HE-AACv2$)$" } }, "com.amazonaws.elastictranscoder#AudioPackingMode": { "type": "string", "traits": { - "smithy.api#pattern": "(^SingleTrack$)|(^OneChannelPerTrack$)|(^OneChannelPerTrackWithMosTo8Tracks$)" + "smithy.api#pattern": "^(^SingleTrack$)|(^OneChannelPerTrack$)|(^OneChannelPerTrackWithMosTo8Tracks$)$" } }, "com.amazonaws.elastictranscoder#AudioParameters": { @@ -252,19 +252,19 @@ "com.amazonaws.elastictranscoder#AudioSampleRate": { "type": "string", "traits": { - "smithy.api#pattern": "(^auto$)|(^22050$)|(^32000$)|(^44100$)|(^48000$)|(^96000$)|(^192000$)" + "smithy.api#pattern": "^(^auto$)|(^22050$)|(^32000$)|(^44100$)|(^48000$)|(^96000$)|(^192000$)$" } }, "com.amazonaws.elastictranscoder#AudioSigned": { "type": "string", "traits": { - "smithy.api#pattern": "(^Unsigned$)|(^Signed$)" + "smithy.api#pattern": "^(^Unsigned$)|(^Signed$)$" } }, "com.amazonaws.elastictranscoder#Base64EncodedString": { "type": "string", "traits": { - "smithy.api#pattern": "^$|(^(?:[A-Za-z0-9\\+/]{4})*(?:[A-Za-z0-9\\+/]{2}==|[A-Za-z0-9\\+/]{3}=)?$)" + "smithy.api#pattern": "^$|(^(?:[A-Za-z0-9\\+/]{4})*(?:[A-Za-z0-9\\+/]{2}==|[A-Za-z0-9\\+/]{3}=)?$)$" } }, "com.amazonaws.elastictranscoder#BucketName": { @@ -323,14 +323,16 @@ } }, "traits": { - "smithy.api#documentation": "The CancelJobRequest
structure.
The CancelJobRequest
structure.
The response body contains a JSON object. If the job is successfully canceled, the value\n of Success
is true
.
The response body contains a JSON object. If the job is successfully canceled, the value\n of Success
is true
.
The CreateJobRequest
structure.
The CreateJobRequest
structure.
The CreateJobResponse structure.
" + "smithy.api#documentation": "The CreateJobResponse structure.
", + "smithy.api#output": {} } }, "com.amazonaws.elastictranscoder#CreatePipeline": { @@ -853,7 +857,8 @@ } }, "traits": { - "smithy.api#documentation": "The CreatePipelineRequest
structure.
The CreatePipelineRequest
structure.
When you create a pipeline, Elastic Transcoder returns the values that you specified in the request.
" + "smithy.api#documentation": "When you create a pipeline, Elastic Transcoder returns the values that you specified in the request.
", + "smithy.api#output": {} } }, "com.amazonaws.elastictranscoder#CreatePreset": { @@ -953,7 +959,8 @@ } }, "traits": { - "smithy.api#documentation": "The CreatePresetRequest
structure.
The CreatePresetRequest
structure.
The CreatePresetResponse
structure.
The CreatePresetResponse
structure.
The DeletePipelineRequest
structure.
The DeletePipelineRequest
structure.
The DeletePipelineResponse
structure.
The DeletePipelineResponse
structure.
The DeletePresetRequest
structure.
The DeletePresetRequest
structure.
The DeletePresetResponse
structure.
The DeletePresetResponse
structure.
The ListJobsByPipelineRequest
structure.
The ListJobsByPipelineRequest
structure.
The ListJobsByPipelineResponse
structure.
The ListJobsByPipelineResponse
structure.
The ListJobsByStatusRequest
structure.
The ListJobsByStatusRequest
structure.
\n The ListJobsByStatusResponse
structure.\n
\n The ListJobsByStatusResponse
structure.\n
The ListPipelineRequest
structure.
The ListPipelineRequest
structure.
A list of the pipelines associated with the current AWS account.
" + "smithy.api#documentation": "A list of the pipelines associated with the current AWS account.
", + "smithy.api#output": {} } }, "com.amazonaws.elastictranscoder#ListPresets": { @@ -2879,7 +2912,8 @@ } }, "traits": { - "smithy.api#documentation": "The ListPresetsRequest
structure.
The ListPresetsRequest
structure.
The ListPresetsResponse
structure.
The ListPresetsResponse
structure.
The ReadJobRequest
structure.
The ReadJobRequest
structure.
The ReadJobResponse
structure.
The ReadJobResponse
structure.
The ReadPipelineRequest
structure.
The ReadPipelineRequest
structure.
The ReadPipelineResponse
structure.
The ReadPipelineResponse
structure.
The ReadPresetRequest
structure.
The ReadPresetRequest
structure.
The ReadPresetResponse
structure.
The ReadPresetResponse
structure.
The TestRoleRequest
structure.
The TestRoleRequest
structure.
The TestRoleResponse
structure.
The TestRoleResponse
structure.
The UpdatePipelineNotificationsRequest
structure.
The UpdatePipelineNotificationsRequest
structure.
The UpdatePipelineNotificationsResponse
structure.
The UpdatePipelineNotificationsResponse
structure.
The UpdatePipelineRequest
structure.
The UpdatePipelineRequest
structure.
When you update a pipeline, Elastic Transcoder returns the values that you specified in the request.
" + "smithy.api#documentation": "When you update a pipeline, Elastic Transcoder returns the values that you specified in the request.
", + "smithy.api#output": {} } }, "com.amazonaws.elastictranscoder#UpdatePipelineStatus": { @@ -4235,7 +4282,8 @@ } }, "traits": { - "smithy.api#documentation": "The UpdatePipelineStatusRequest
structure.
The UpdatePipelineStatusRequest
structure.
When you update status for a pipeline,\n Elastic Transcoder returns the values that you specified in the request.
" + "smithy.api#documentation": "When you update status for a pipeline,\n Elastic Transcoder returns the values that you specified in the request.
", + "smithy.api#output": {} } }, "com.amazonaws.elastictranscoder#UserMetadata": { @@ -4280,19 +4329,19 @@ "com.amazonaws.elastictranscoder#VerticalAlign": { "type": "string", "traits": { - "smithy.api#pattern": "(^Top$)|(^Bottom$)|(^Center$)" + "smithy.api#pattern": "^(^Top$)|(^Bottom$)|(^Center$)$" } }, "com.amazonaws.elastictranscoder#VideoBitRate": { "type": "string", "traits": { - "smithy.api#pattern": "(^\\d{2,5}$)|(^auto$)" + "smithy.api#pattern": "^(^\\d{2,5}$)|(^auto$)$" } }, "com.amazonaws.elastictranscoder#VideoCodec": { "type": "string", "traits": { - "smithy.api#pattern": "(^H\\.264$)|(^vp8$)|(^vp9$)|(^mpeg2$)|(^gif$)" + "smithy.api#pattern": "^(^H\\.264$)|(^vp8$)|(^vp9$)|(^mpeg2$)|(^gif$)$" } }, "com.amazonaws.elastictranscoder#VideoParameters": { @@ -4426,13 +4475,13 @@ "min": 1, "max": 1024 }, - "smithy.api#pattern": "(^.{1,1020}.jpg$)|(^.{1,1019}.jpeg$)|(^.{1,1020}.png$)" + "smithy.api#pattern": "^(^.{1,1020}.jpg$)|(^.{1,1019}.jpeg$)|(^.{1,1020}.png$)$" } }, "com.amazonaws.elastictranscoder#WatermarkSizingPolicy": { "type": "string", "traits": { - "smithy.api#pattern": "(^Fit$)|(^Stretch$)|(^ShrinkToFit$)" + "smithy.api#pattern": "^(^Fit$)|(^Stretch$)|(^ShrinkToFit$)$" } }, "com.amazonaws.elastictranscoder#ZeroTo255String": { diff --git a/codegen/sdk-codegen/aws-models/elasticache.json b/codegen/sdk-codegen/aws-models/elasticache.json index e50ed4082f0..3b678d9c797 100644 --- a/codegen/sdk-codegen/aws-models/elasticache.json +++ b/codegen/sdk-codegen/aws-models/elasticache.json @@ -116,7 +116,38 @@ } ], "traits": { - "smithy.api#documentation": "A tag is a key-value pair where the key and value are case-sensitive. You can use tags\n to categorize and track all your ElastiCache resources, with the exception of global\n replication group. When you add or remove tags on replication groups, those actions will\n be replicated to all nodes in the replication group. For more information, see Resource-level permissions.
\nFor example, you can use cost-allocation tags to your ElastiCache resources, Amazon\n generates a cost allocation report as a comma-separated value (CSV) file with your usage\n and costs aggregated by your tags. You can apply tags that represent business categories\n (such as cost centers, application names, or owners) to organize your costs across\n multiple services.
\nFor more information, see Using Cost Allocation Tags in\n Amazon ElastiCache in the ElastiCache User\n Guide.
" + "smithy.api#documentation": "A tag is a key-value pair where the key and value are case-sensitive. You can use tags\n to categorize and track all your ElastiCache resources, with the exception of global\n replication group. When you add or remove tags on replication groups, those actions will\n be replicated to all nodes in the replication group. For more information, see Resource-level permissions.
\nFor example, you can use cost-allocation tags to your ElastiCache resources, Amazon\n generates a cost allocation report as a comma-separated value (CSV) file with your usage\n and costs aggregated by your tags. You can apply tags that represent business categories\n (such as cost centers, application names, or owners) to organize your costs across\n multiple services.
\nFor more information, see Using Cost Allocation Tags in\n Amazon ElastiCache in the ElastiCache User\n Guide.
", + "smithy.api#examples": [ + { + "title": "AddTagsToResource", + "documentation": "Adds up to 10 tags, key/value pairs, to a cluster or snapshot resource.", + "input": { + "ResourceName": "arn:aws:elasticache:us-east-1:1234567890:cluster:my-mem-cluster", + "Tags": [ + { + "Value": "20150202", + "Key": "APIVersion" + }, + { + "Value": "ElastiCache", + "Key": "Service" + } + ] + }, + "output": { + "TagList": [ + { + "Value": "20150202", + "Key": "APIVersion" + }, + { + "Value": "ElastiCache", + "Key": "Service" + } + ] + } + } + ] } }, "com.amazonaws.elasticache#AddTagsToResourceMessage": { @@ -138,7 +169,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of an AddTagsToResource operation.
" + "smithy.api#documentation": "Represents the input of an AddTagsToResource operation.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticache#AllowedNodeGroupId": { @@ -168,7 +200,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the allowed node types you can use to modify your cluster or replication\n group.
" + "smithy.api#documentation": "Represents the allowed node types you can use to modify your cluster or replication\n group.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticache#AmazonElastiCacheV9": { @@ -451,52 +484,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", @@ -504,13 +541,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -520,92 +566,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://elasticache-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://elasticache-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -614,155 +651,115 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws-us-gov", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsFIPS" + "name" ] } ] } ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://elasticache.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [], - "endpoint": { - "url": "https://elasticache-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "endpoint": { + "url": "https://elasticache.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://elasticache-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://elasticache.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://elasticache.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://elasticache.{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://elasticache.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -1609,7 +1606,18 @@ } ], "traits": { - "smithy.api#documentation": "Allows network ingress to a cache security group. Applications using ElastiCache must\n be running on Amazon EC2, and Amazon EC2 security groups are used as the authorization\n mechanism.
\nYou cannot authorize ingress from an Amazon EC2 security group in one region to an\n ElastiCache cluster in another region.
\nAllows network ingress to a cache security group. Applications using ElastiCache must\n be running on Amazon EC2, and Amazon EC2 security groups are used as the authorization\n mechanism.
\nYou cannot authorize ingress from an Amazon EC2 security group in one region to an\n ElastiCache cluster in another region.
\nRepresents the input of an AuthorizeCacheSecurityGroupIngress operation.
" + "smithy.api#documentation": "Represents the input of an AuthorizeCacheSecurityGroupIngress operation.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticache#AuthorizeCacheSecurityGroupIngressResult": { @@ -1749,6 +1758,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.elasticache#BatchStopUpdateAction": { @@ -1793,6 +1805,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.elasticache#Boolean": { @@ -2064,7 +2079,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the output of a DescribeCacheClusters
operation.
Represents the output of a DescribeCacheClusters
operation.
Represents the output of a DescribeCacheEngineVersions\n operation.
" + "smithy.api#documentation": "Represents the output of a DescribeCacheEngineVersions\n operation.
", + "smithy.api#output": {} } }, "com.amazonaws.elasticache#CacheNode": { @@ -2573,7 +2590,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the output of a DescribeCacheParameterGroups
operation.
Represents the output of a DescribeCacheParameterGroups
operation.
Represents the output of a DescribeCacheSecurityGroups
operation.
Represents the output of a DescribeCacheSecurityGroups
operation.
Represents the output of a DescribeCacheSubnetGroups
operation.
Represents the output of a DescribeCacheSubnetGroups
operation.
Forces the migration to stop without ensuring that data is in sync. It is recommended\n to use this option only to abort the migration and not recommended when application\n wants to continue migration to ElastiCache.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.elasticache#CompleteMigrationResponse": { @@ -3090,7 +3113,48 @@ } ], "traits": { - "smithy.api#documentation": "Makes a copy of an existing snapshot.
\nThis operation is valid for Redis only.
\nUsers or groups that have permissions to use the CopySnapshot
\n operation can create their own Amazon S3 buckets and copy snapshots to it. To\n control access to your snapshots, use an IAM policy to control who has the ability\n to use the CopySnapshot
operation. For more information about using IAM\n to control the use of ElastiCache operations, see Exporting\n Snapshots and Authentication & Access\n Control.
You could receive the following error messages.
\n\n Error Messages\n
\n\n Error Message: The S3 bucket %s is outside of\n the region.
\n\n Solution: Create an Amazon S3 bucket in the\n same region as your snapshot. For more information, see Step 1: Create an Amazon S3 Bucket in the ElastiCache User\n Guide.
\n\n Error Message: The S3 bucket %s does not\n exist.
\n\n Solution: Create an Amazon S3 bucket in the\n same region as your snapshot. For more information, see Step 1: Create an Amazon S3 Bucket in the ElastiCache User\n Guide.
\n\n Error Message: The S3 bucket %s is not owned\n by the authenticated user.
\n\n Solution: Create an Amazon S3 bucket in the\n same region as your snapshot. For more information, see Step 1: Create an Amazon S3 Bucket in the ElastiCache User\n Guide.
\n\n Error Message: The authenticated user does\n not have sufficient permissions to perform the desired activity.
\n\n Solution: Contact your system administrator\n to get the needed permissions.
\n\n Error Message: The S3 bucket %s already\n contains an object with key %s.
\n\n Solution: Give the\n TargetSnapshotName
a new and unique value. If exporting a\n snapshot, you could alternatively create a new Amazon S3 bucket and use this\n same value for TargetSnapshotName
.
\n Error Message: ElastiCache has not been\n granted READ permissions %s on the S3 Bucket.
\n\n Solution: Add List and Read permissions on\n the bucket. For more information, see Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the\n ElastiCache User Guide.
\n\n Error Message: ElastiCache has not been\n granted WRITE permissions %s on the S3 Bucket.
\n\n Solution: Add Upload/Delete permissions on\n the bucket. For more information, see Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the\n ElastiCache User Guide.
\n\n Error Message: ElastiCache has not been\n granted READ_ACP permissions %s on the S3 Bucket.
\n\n Solution: Add View Permissions on the bucket.\n For more information, see Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the\n ElastiCache User Guide.
\nMakes a copy of an existing snapshot.
\nThis operation is valid for Redis only.
\nUsers or groups that have permissions to use the CopySnapshot
\n operation can create their own Amazon S3 buckets and copy snapshots to it. To\n control access to your snapshots, use an IAM policy to control who has the ability\n to use the CopySnapshot
operation. For more information about using IAM\n to control the use of ElastiCache operations, see Exporting\n Snapshots and Authentication & Access\n Control.
You could receive the following error messages.
\n\n Error Messages\n
\n\n Error Message: The S3 bucket %s is outside of\n the region.
\n\n Solution: Create an Amazon S3 bucket in the\n same region as your snapshot. For more information, see Step 1: Create an Amazon S3 Bucket in the ElastiCache User\n Guide.
\n\n Error Message: The S3 bucket %s does not\n exist.
\n\n Solution: Create an Amazon S3 bucket in the\n same region as your snapshot. For more information, see Step 1: Create an Amazon S3 Bucket in the ElastiCache User\n Guide.
\n\n Error Message: The S3 bucket %s is not owned\n by the authenticated user.
\n\n Solution: Create an Amazon S3 bucket in the\n same region as your snapshot. For more information, see Step 1: Create an Amazon S3 Bucket in the ElastiCache User\n Guide.
\n\n Error Message: The authenticated user does\n not have sufficient permissions to perform the desired activity.
\n\n Solution: Contact your system administrator\n to get the needed permissions.
\n\n Error Message: The S3 bucket %s already\n contains an object with key %s.
\n\n Solution: Give the\n TargetSnapshotName
a new and unique value. If exporting a\n snapshot, you could alternatively create a new Amazon S3 bucket and use this\n same value for TargetSnapshotName
.
\n Error Message: ElastiCache has not been\n granted READ permissions %s on the S3 Bucket.
\n\n Solution: Add List and Read permissions on\n the bucket. For more information, see Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the\n ElastiCache User Guide.
\n\n Error Message: ElastiCache has not been\n granted WRITE permissions %s on the S3 Bucket.
\n\n Solution: Add Upload/Delete permissions on\n the bucket. For more information, see Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the\n ElastiCache User Guide.
\n\n Error Message: ElastiCache has not been\n granted READ_ACP permissions %s on the S3 Bucket.
\n\n Solution: Add View Permissions on the bucket.\n For more information, see Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the\n ElastiCache User Guide.
\nRepresents the input of a CopySnapshotMessage
operation.
Represents the input of a CopySnapshotMessage
operation.
Creates a cluster. All nodes in the cluster run the same protocol-compliant cache\n engine software, either Memcached or Redis.
\nThis operation is not supported for Redis (cluster mode enabled) clusters.
" + "smithy.api#documentation": "Creates a cluster. All nodes in the cluster run the same protocol-compliant cache\n engine software, either Memcached or Redis.
\nThis operation is not supported for Redis (cluster mode enabled) clusters.
", + "smithy.api#examples": [ + { + "title": "CreateCacheCluster", + "documentation": "Creates a Memcached cluster with 2 nodes. ", + "input": { + "CacheClusterId": "my-memcached-cluster", + "AZMode": "cross-az", + "NumCacheNodes": 2, + "CacheNodeType": "cache.r3.large", + "Engine": "memcached", + "EngineVersion": "1.4.24", + "CacheSubnetGroupName": "default", + "Port": 11211 + }, + "output": { + "CacheCluster": { + "Engine": "memcached", + "CacheParameterGroup": { + "CacheNodeIdsToReboot": [], + "CacheParameterGroupName": "default.memcached1.4", + "ParameterApplyStatus": "in-sync" + }, + "CacheClusterId": "my-memcached-cluster", + "CacheSecurityGroups": [], + "NumCacheNodes": 2, + "AutoMinorVersionUpgrade": true, + "CacheClusterStatus": "creating", + "PreferredAvailabilityZone": "Multiple", + "ClientDownloadLandingPage": "https://console.aws.amazon.com/elasticache/home#client-download:", + "CacheSubnetGroupName": "default", + "EngineVersion": "1.4.24", + "PendingModifiedValues": {}, + "PreferredMaintenanceWindow": "wed:09:00-wed:10:00", + "CacheNodeType": "cache.r3.large" + } + } + } + ] } }, "com.amazonaws.elasticache#CreateCacheClusterMessage": { @@ -3386,7 +3489,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of a CreateCacheCluster operation.
" + "smithy.api#documentation": "Represents the input of a CreateCacheCluster operation.
", + "smithy.api#input": {} } }, "com.amazonaws.elasticache#CreateCacheClusterResult": { @@ -3429,8 +3533,26 @@ } ], "traits": { - "smithy.api#documentation": "Creates a new Amazon ElastiCache cache parameter group. An ElastiCache cache parameter\n group is a collection of parameters and their values that are applied to all of the\n nodes in any cluster or replication group using the CacheParameterGroup.
\nA newly created CacheParameterGroup is an exact duplicate of the default parameter\n group for the CacheParameterGroupFamily. To customize the newly created\n CacheParameterGroup you can change the values of specific parameters. For more\n information, see:
\n\n ModifyCacheParameterGroup in the ElastiCache API Reference.
\n\n Parameters and\n Parameter Groups in the ElastiCache User Guide.
\nCreates a new Amazon ElastiCache cache parameter group. An ElastiCache cache parameter\n group is a collection of parameters and their values that are applied to all of the\n nodes in any cluster or replication group using the CacheParameterGroup.
\nA newly created CacheParameterGroup is an exact duplicate of the default parameter\n group for the CacheParameterGroupFamily. To customize the newly created\n CacheParameterGroup you can change the values of specific parameters. For more\n information, see:
\n\n ModifyCacheParameterGroup in the ElastiCache API Reference.
\n\n Parameters and\n Parameter Groups in the ElastiCache User Guide.
\nRepresents the input of a CreateCacheParameterGroup
operation.
Represents the input of a CreateCacheParameterGroup
operation.
Creates a new cache security group. Use a cache security group to control access to\n one or more clusters.
\nCache security groups are only used when you are creating a cluster outside of an\n Amazon Virtual Private Cloud (Amazon VPC). If you are creating a cluster inside of a\n VPC, use a cache subnet group instead. For more information, see CreateCacheSubnetGroup.
" + "smithy.api#documentation": "Creates a new cache security group. Use a cache security group to control access to\n one or more clusters.
\nCache security groups are only used when you are creating a cluster outside of an\n Amazon Virtual Private Cloud (Amazon VPC). If you are creating a cluster inside of a\n VPC, use a cache subnet group instead. For more information, see CreateCacheSubnetGroup.
", + "smithy.api#examples": [ + { + "title": "CreateCacheSecurityGroup", + "documentation": "Creates an ElastiCache security group. ElastiCache security groups are only for clusters not running in an AWS VPC.", + "input": { + "CacheSecurityGroupName": "my-cache-sec-grp", + "Description": "Example ElastiCache security group." + } + } + ] } }, "com.amazonaws.elasticache#CreateCacheSecurityGroupMessage": { @@ -3532,7 +3665,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of a CreateCacheSecurityGroup
operation.
Represents the input of a CreateCacheSecurityGroup
operation.
Creates a new cache subnet group.
\nUse this parameter only when you are creating a cluster in an Amazon Virtual Private\n Cloud (Amazon VPC).
" + "smithy.api#documentation": "Creates a new cache subnet group.
\nUse this parameter only when you are creating a cluster in an Amazon Virtual Private\n Cloud (Amazon VPC).
", + "smithy.api#examples": [ + { + "title": "CreateCacheSubnet", + "documentation": "Creates a new cache subnet group.", + "input": { + "CacheSubnetGroupName": "my-sn-grp2", + "CacheSubnetGroupDescription": "Sample subnet group", + "SubnetIds": [ + "subnet-6f28c982", + "subnet-bcd382f3", + "subnet-845b3e7c0" + ] + }, + "output": { + "CacheSubnetGroup": { + "VpcId": "vpc-91280df6", + "CacheSubnetGroupDescription": "My subnet group.", + "Subnets": [ + { + "SubnetIdentifier": "subnet-6f28c982", + "SubnetAvailabilityZone": { + "Name": "us-east-1a" + } + }, + { + "SubnetIdentifier": "subnet-bcd382f3", + "SubnetAvailabilityZone": { + "Name": "us-east-1c" + } + }, + { + "SubnetIdentifier": "subnet-845b3e7c0", + "SubnetAvailabilityZone": { + "Name": "us-east-1b" + } + } + ], + "CacheSubnetGroupName": "my-sn-grp" + } + } + } + ] } }, "com.amazonaws.elasticache#CreateCacheSubnetGroupMessage": { @@ -3610,7 +3786,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of a CreateCacheSubnetGroup
operation.
Represents the input of a CreateCacheSubnetGroup
operation.
Creates a Redis (cluster mode disabled) or a Redis (cluster mode enabled) replication\n group.
\nThis API can be used to create a standalone regional replication group or a secondary\n replication group associated with a Global datastore.
\nA Redis (cluster mode disabled) replication group is a collection of clusters, where\n one of the clusters is a read/write primary and the others are read-only replicas.\n Writes to the primary are asynchronously propagated to the replicas.
\nA Redis cluster-mode enabled cluster is comprised of from 1 to 90 shards (API/CLI:\n node groups). Each shard has a primary node and up to 5 read-only replica nodes. The\n configuration can range from 90 shards and 0 replicas to 15 shards and 5 replicas, which\n is the maximum number or replicas allowed.
\nThe node or shard limit can be increased to a maximum of 500 per cluster if the Redis\n engine version is 5.0.6 or higher. For example, you can choose to configure a 500 node\n cluster that ranges between 83 shards (one primary and 5 replicas per shard) and 500\n shards (single primary and no replicas). Make sure there are enough available IP\n addresses to accommodate the increase. Common pitfalls include the subnets in the subnet\n group have too small a CIDR range or the subnets are shared and heavily used by other\n clusters. For more information, see Creating a Subnet\n Group. For versions below 5.0.6, the limit is 250 per cluster.
\nTo request a limit increase, see Amazon Service Limits and\n choose the limit type Nodes per cluster per instance\n type.
\nWhen a Redis (cluster mode disabled) replication group has been successfully created,\n you can add one or more read replicas to it, up to a total of 5 read replicas. If you\n need to increase or decrease the number of node groups (console: shards), you can avail\n yourself of ElastiCache for Redis' scaling. For more information, see Scaling\n ElastiCache for Redis Clusters in the ElastiCache User\n Guide.
\nThis operation is valid for Redis only.
\nCreates a Redis (cluster mode disabled) or a Redis (cluster mode enabled) replication\n group.
\nThis API can be used to create a standalone regional replication group or a secondary\n replication group associated with a Global datastore.
\nA Redis (cluster mode disabled) replication group is a collection of clusters, where\n one of the clusters is a read/write primary and the others are read-only replicas.\n Writes to the primary are asynchronously propagated to the replicas.
\nA Redis cluster-mode enabled cluster is comprised of from 1 to 90 shards (API/CLI:\n node groups). Each shard has a primary node and up to 5 read-only replica nodes. The\n configuration can range from 90 shards and 0 replicas to 15 shards and 5 replicas, which\n is the maximum number or replicas allowed.
\nThe node or shard limit can be increased to a maximum of 500 per cluster if the Redis\n engine version is 5.0.6 or higher. For example, you can choose to configure a 500 node\n cluster that ranges between 83 shards (one primary and 5 replicas per shard) and 500\n shards (single primary and no replicas). Make sure there are enough available IP\n addresses to accommodate the increase. Common pitfalls include the subnets in the subnet\n group have too small a CIDR range or the subnets are shared and heavily used by other\n clusters. For more information, see Creating a Subnet\n Group. For versions below 5.0.6, the limit is 250 per cluster.
\nTo request a limit increase, see Amazon Service Limits and\n choose the limit type Nodes per cluster per instance\n type.
\nWhen a Redis (cluster mode disabled) replication group has been successfully created,\n you can add one or more read replicas to it, up to a total of 5 read replicas. If you\n need to increase or decrease the number of node groups (console: shards), you can avail\n yourself of ElastiCache for Redis' scaling. For more information, see Scaling\n ElastiCache for Redis Clusters in the ElastiCache User\n Guide.
\nThis operation is valid for Redis only.
\nRepresents the input of a CreateReplicationGroup
operation.
Represents the input of a CreateReplicationGroup
operation.
Creates a copy of an entire cluster or replication group at a specific moment in\n time.
\nThis operation is valid for Redis only.
\nCreates a copy of an entire cluster or replication group at a specific moment in\n time.
\nThis operation is valid for Redis only.
\nRepresents the input of a CreateSnapshot
operation.
Represents the input of a CreateSnapshot
operation.
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must\n be accompanied by a tag value, although null is accepted.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.elasticache#CreateUserMessage": { @@ -4262,6 +4517,9 @@ "smithy.api#documentation": "Specifies how to authenticate the user.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.elasticache#CustomerNodeEndpoint": { @@ -4371,6 +4629,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.elasticache#DecreaseNodeGroupsInGlobalReplicationGroupResult": { @@ -4470,6 +4731,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.elasticache#DecreaseReplicaCountResult": { @@ -4549,7 +4813,43 @@ } ], "traits": { - "smithy.api#documentation": "Deletes a previously provisioned cluster. DeleteCacheCluster
deletes all\n associated cache nodes, node endpoints and the cluster itself. When you receive a\n successful response from this operation, Amazon ElastiCache immediately begins deleting\n the cluster; you cannot cancel or revert this operation.
This operation is not valid for:
\nRedis (cluster mode enabled) clusters
\nRedis (cluster mode disabled) clusters
\nA cluster that is the last read replica of a replication group
\nA cluster that is the primary node of a replication group
\nA node group (shard) that has Multi-AZ mode enabled
\nA cluster from a Redis (cluster mode enabled) replication group
\nA cluster that is not in the available
state
Deletes a previously provisioned cluster. DeleteCacheCluster
deletes all\n associated cache nodes, node endpoints and the cluster itself. When you receive a\n successful response from this operation, Amazon ElastiCache immediately begins deleting\n the cluster; you cannot cancel or revert this operation.
This operation is not valid for:
\nRedis (cluster mode enabled) clusters
\nRedis (cluster mode disabled) clusters
\nA cluster that is the last read replica of a replication group
\nA cluster that is the primary node of a replication group
\nA node group (shard) that has Multi-AZ mode enabled
\nA cluster from a Redis (cluster mode enabled) replication group
\nA cluster that is not in the available
state
Represents the input of a DeleteCacheCluster
operation.
Represents the input of a DeleteCacheCluster
operation.
Deletes the specified cache parameter group. You cannot delete a cache parameter group\n if it is associated with any cache clusters. You cannot delete the default cache\n parameter groups in your account.
" + "smithy.api#documentation": "Deletes the specified cache parameter group. You cannot delete a cache parameter group\n if it is associated with any cache clusters. You cannot delete the default cache\n parameter groups in your account.
", + "smithy.api#examples": [ + { + "title": "DeleteCacheParameterGroup", + "documentation": "Deletes the Amazon ElastiCache parameter group custom-mem1-4.", + "input": { + "CacheParameterGroupName": "custom-mem1-4" + } + } + ] } }, "com.amazonaws.elasticache#DeleteCacheParameterGroupMessage": { @@ -4622,7 +4932,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of a DeleteCacheParameterGroup
operation.
Represents the input of a DeleteCacheParameterGroup
operation.
Deletes a cache security group.
\nYou cannot delete a cache security group if it is associated with any\n clusters.
\nDeletes a cache security group.
\nYou cannot delete a cache security group if it is associated with any\n clusters.
\nRepresents the input of a DeleteCacheSecurityGroup
operation.
Represents the input of a DeleteCacheSecurityGroup
operation.
Deletes a cache subnet group.
\nYou cannot delete a default cache subnet group or one that is associated with any\n clusters.
\nDeletes a cache subnet group.
\nYou cannot delete a default cache subnet group or one that is associated with any\n clusters.
\nRepresents the input of a DeleteCacheSubnetGroup
operation.
Represents the input of a DeleteCacheSubnetGroup
operation.
Deletes an existing replication group. By default, this operation deletes the entire\n replication group, including the primary/primaries and all of the read replicas. If the\n replication group has only one primary, you can optionally delete only the read\n replicas, while retaining the primary by setting\n RetainPrimaryCluster=true
.
When you receive a successful response from this operation, Amazon ElastiCache\n immediately begins deleting the selected resources; you cannot cancel or revert this\n operation.
\nThis operation is valid for Redis only.
\nDeletes an existing replication group. By default, this operation deletes the entire\n replication group, including the primary/primaries and all of the read replicas. If the\n replication group has only one primary, you can optionally delete only the read\n replicas, while retaining the primary by setting\n RetainPrimaryCluster=true
.
When you receive a successful response from this operation, Amazon ElastiCache\n immediately begins deleting the selected resources; you cannot cancel or revert this\n operation.
\nThis operation is valid for Redis only.
\nRepresents the input of a DeleteReplicationGroup
operation.
Represents the input of a DeleteReplicationGroup
operation.
Deletes an existing snapshot. When you receive a successful response from this\n operation, ElastiCache immediately begins deleting the snapshot; you cannot cancel or\n revert this operation.
\nThis operation is valid for Redis only.
\nDeletes an existing snapshot. When you receive a successful response from this\n operation, ElastiCache immediately begins deleting the snapshot; you cannot cancel or\n revert this operation.
\nThis operation is valid for Redis only.
\nRepresents the input of a DeleteSnapshot
operation.
Represents the input of a DeleteSnapshot
operation.
Returns information about all provisioned clusters if no cluster identifier is\n specified, or about a specific cache cluster if a cluster identifier is supplied.
\nBy default, abbreviated information about the clusters is returned. You can use the\n optional ShowCacheNodeInfo flag to retrieve detailed information\n about the cache nodes associated with the clusters. These details include the DNS\n address and port for the cache node endpoint.
\nIf the cluster is in the creating state, only cluster-level\n information is displayed until all of the nodes are successfully provisioned.
\nIf the cluster is in the deleting state, only cluster-level\n information is displayed.
\nIf cache nodes are currently being added to the cluster, node endpoint information and\n creation time for the additional nodes are not displayed until they are completely\n provisioned. When the cluster state is available, the cluster is\n ready for use.
\nIf cache nodes are currently being removed from the cluster, no endpoint information\n for the removed nodes is displayed.
", + "smithy.api#examples": [ + { + "title": "DescribeCacheClusters", + "documentation": "Lists the details for up to 50 cache clusters.", + "input": { + "CacheClusterId": "my-mem-cluster" + }, + "output": { + "CacheClusters": [ + { + "Engine": "memcached", + "CacheParameterGroup": { + "CacheNodeIdsToReboot": [], + "CacheParameterGroupName": "default.memcached1.4", + "ParameterApplyStatus": "in-sync" + }, + "CacheClusterId": "my-mem-cluster", + "PreferredAvailabilityZone": "Multiple", + "ConfigurationEndpoint": { + "Port": 11211, + "Address": "my-mem-cluster.abcdef.cfg.use1.cache.amazonaws.com" + }, + "CacheSecurityGroups": [], + "CacheClusterCreateTime": "2016-12-21T21:59:43.794Z", + "AutoMinorVersionUpgrade": true, + "CacheClusterStatus": "available", + "NumCacheNodes": 2, + "ClientDownloadLandingPage": "https://console.aws.amazon.com/elasticache/home#client-download:", + "CacheSubnetGroupName": "default", + "EngineVersion": "1.4.24", + "PendingModifiedValues": {}, + "PreferredMaintenanceWindow": "wed:06:00-wed:07:00", + "CacheNodeType": "cache.t2.medium" + } + ] + } + } + ], "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "Marker", @@ -5166,7 +5604,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of a DescribeCacheClusters
operation.
Represents the input of a DescribeCacheClusters
operation.
Returns a list of the available cache engines and their versions.
", + "smithy.api#examples": [ + { + "title": "DescribeCacheEngineVersions", + "documentation": "Lists the details for up to 25 Memcached and Redis cache engine versions.", + "output": { + "CacheEngineVersions": [ + { + "Engine": "memcached", + "CacheEngineDescription": "memcached", + "CacheEngineVersionDescription": "memcached version 1.4.14", + "CacheParameterGroupFamily": "memcached1.4", + "EngineVersion": "1.4.14" + }, + { + "Engine": "memcached", + "CacheEngineDescription": "memcached", + "CacheEngineVersionDescription": "memcached version 1.4.24", + "CacheParameterGroupFamily": "memcached1.4", + "EngineVersion": "1.4.24" + }, + { + "Engine": "memcached", + "CacheEngineDescription": "memcached", + "CacheEngineVersionDescription": "memcached version 1.4.33", + "CacheParameterGroupFamily": "memcached1.4", + "EngineVersion": "1.4.33" + }, + { + "Engine": "memcached", + "CacheEngineDescription": "memcached", + "CacheEngineVersionDescription": "memcached version 1.4.5", + "CacheParameterGroupFamily": "memcached1.4", + "EngineVersion": "1.4.5" + }, + { + "Engine": "redis", + "CacheEngineDescription": "Redis", + "CacheEngineVersionDescription": "redis version 2.6.13", + "CacheParameterGroupFamily": "redis2.6", + "EngineVersion": "2.6.13" + }, + { + "Engine": "redis", + "CacheEngineDescription": "Redis", + "CacheEngineVersionDescription": "redis version 2.8.19", + "CacheParameterGroupFamily": "redis2.8", + "EngineVersion": "2.8.19" + }, + { + "Engine": "redis", + "CacheEngineDescription": "Redis", + "CacheEngineVersionDescription": "redis version 2.8.21", + "CacheParameterGroupFamily": "redis2.8", + "EngineVersion": "2.8.21" + }, + { + "Engine": "redis", + "CacheEngineDescription": "Redis", + "CacheEngineVersionDescription": "redis version 2.8.22 R5", + "CacheParameterGroupFamily": "redis2.8", + "EngineVersion": "2.8.22" + }, + { + "Engine": "redis", + "CacheEngineDescription": "Redis", + "CacheEngineVersionDescription": "redis version 2.8.23 R4", + "CacheParameterGroupFamily": "redis2.8", + "EngineVersion": "2.8.23" + }, + { + "Engine": "redis", + "CacheEngineDescription": "Redis", + "CacheEngineVersionDescription": "redis version 2.8.24 R3", + "CacheParameterGroupFamily": "redis2.8", + "EngineVersion": "2.8.24" + }, + { + "Engine": "redis", + "CacheEngineDescription": "Redis", + "CacheEngineVersionDescription": "redis version 2.8.6", + "CacheParameterGroupFamily": "redis2.8", + "EngineVersion": "2.8.6" + }, + { + "Engine": "redis", + "CacheEngineDescription": "Redis", + "CacheEngineVersionDescription": "redis version 3.2.4", + "CacheParameterGroupFamily": "redis3.2", + "EngineVersion": "3.2.4" + } + ] + } + } + ], "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "Marker", @@ -5229,7 +5762,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of a DescribeCacheEngineVersions
operation.
Represents the input of a DescribeCacheEngineVersions
operation.
Returns a list of cache parameter group descriptions. If a cache parameter group name\n is specified, the list contains only the descriptions for that group.
", + "smithy.api#examples": [ + { + "title": "DescribeCacheParameterGroups", + "documentation": "Returns a list of cache parameter group descriptions. If a cache parameter group name is specified, the list contains only the descriptions for that group.", + "input": { + "CacheParameterGroupName": "custom-mem1-4" + }, + "output": { + "CacheParameterGroups": [ + { + "CacheParameterGroupName": "custom-mem1-4", + "CacheParameterGroupFamily": "memcached1.4", + "Description": "Custom memcache param group" + } + ] + } + } + ], "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "Marker", @@ -5284,7 +5836,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of a DescribeCacheParameterGroups
operation.
Represents the input of a DescribeCacheParameterGroups
operation.
Returns the detailed parameter list for a particular cache parameter group.
", + "smithy.api#examples": [ + { + "title": "DescribeCacheParameters", + "documentation": "Lists up to 100 user parameter values for the parameter group custom.redis2.8.", + "input": { + "CacheParameterGroupName": "custom-redis2-8", + "Source": "user", + "MaxRecords": 100 + }, + "output": { + "Marker": "", + "Parameters": [ + { + "Description": "Apply rehashing or not.", + "DataType": "string", + "ChangeType": "requires-reboot", + "IsModifiable": true, + "AllowedValues": "yes,no", + "Source": "system", + "ParameterValue": "yes", + "ParameterName": "activerehashing", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "fsync policy for AOF persistence", + "DataType": "string", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "always,everysec,no", + "Source": "system", + "ParameterValue": "everysec", + "ParameterName": "appendfsync", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Enable Redis persistence.", + "DataType": "string", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "yes,no", + "Source": "system", + "ParameterValue": "no", + "ParameterName": "appendonly", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Normal client output buffer hard limit in bytes.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "0", + "ParameterName": "client-output-buffer-limit-normal-hard-limit", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Normal client output buffer soft limit in bytes.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "0", + "ParameterName": "client-output-buffer-limit-normal-soft-limit", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Normal client output buffer soft limit in seconds.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "0", + "ParameterName": "client-output-buffer-limit-normal-soft-seconds", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Pubsub client output buffer hard limit in bytes.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "33554432", + "ParameterName": "client-output-buffer-limit-pubsub-hard-limit", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Pubsub client output buffer soft limit in bytes.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "8388608", + "ParameterName": "client-output-buffer-limit-pubsub-soft-limit", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Pubsub client output buffer soft limit in seconds.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "60", + "ParameterName": "client-output-buffer-limit-pubsub-soft-seconds", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Slave client output buffer soft limit in seconds.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": false, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "60", + "ParameterName": "client-output-buffer-limit-slave-soft-seconds", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "If enabled, clients who attempt to write to a read-only slave will be disconnected. Applicable to 2.8.23 and higher.", + "DataType": "string", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "yes,no", + "Source": "system", + "ParameterValue": "yes", + "ParameterName": "close-on-slave-write", + "MinimumEngineVersion": "2.8.23" + }, + { + "Description": "Set the number of databases.", + "DataType": "integer", + "ChangeType": "requires-reboot", + "IsModifiable": true, + "AllowedValues": "1-1200000", + "Source": "system", + "ParameterValue": "16", + "ParameterName": "databases", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "The maximum number of hash entries in order for the dataset to be compressed.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "512", + "ParameterName": "hash-max-ziplist-entries", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "The threshold of biggest hash entries in order for the dataset to be compressed.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "64", + "ParameterName": "hash-max-ziplist-value", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "The maximum number of list entries in order for the dataset to be compressed.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "512", + "ParameterName": "list-max-ziplist-entries", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "The threshold of biggest list entries in order for the dataset to be compressed.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "64", + "ParameterName": "list-max-ziplist-value", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Max execution time of a Lua script in milliseconds. 0 for unlimited execution without warnings.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": false, + "AllowedValues": "5000", + "Source": "system", + "ParameterValue": "5000", + "ParameterName": "lua-time-limit", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "The maximum number of Redis clients.", + "DataType": "integer", + "ChangeType": "requires-reboot", + "IsModifiable": false, + "AllowedValues": "1-65000", + "Source": "system", + "ParameterValue": "65000", + "ParameterName": "maxclients", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Max memory policy.", + "DataType": "string", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "volatile-lru,allkeys-lru,volatile-random,allkeys-random,volatile-ttl,noeviction", + "Source": "system", + "ParameterValue": "volatile-lru", + "ParameterName": "maxmemory-policy", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Max memory samples.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "1-", + "Source": "system", + "ParameterValue": "3", + "ParameterName": "maxmemory-samples", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Maximum number of seconds within which the master must receive a ping from a slave to take writes. Use this parameter together with min-slaves-to-write to regulate when the master stops accepting writes. Setting this value to 0 means the master always takes writes.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "10", + "ParameterName": "min-slaves-max-lag", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Number of slaves that must be connected in order for master to take writes. Use this parameter together with min-slaves-max-lag to regulate when the master stops accepting writes. Setting this to 0 means the master always takes writes.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "0", + "ParameterName": "min-slaves-to-write", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "The keyspace events for Redis to notify Pub/Sub clients about. By default all notifications are disabled", + "DataType": "string", + "ChangeType": "immediate", + "Source": "system", + "IsModifiable": true, + "ParameterName": "notify-keyspace-events", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "The replication backlog size in bytes for PSYNC. This is the size of the buffer which accumulates slave data when slave is disconnected for some time, so that when slave reconnects again, only transfer the portion of data which the slave missed. Minimum value is 16K.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "16384-", + "Source": "system", + "ParameterValue": "1048576", + "ParameterName": "repl-backlog-size", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "The amount of time in seconds after the master no longer have any slaves connected for the master to free the replication backlog. A value of 0 means to never release the backlog.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "3600", + "ParameterName": "repl-backlog-ttl", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "The timeout in seconds for bulk transfer I/O during sync and master timeout from the perspective of the slave, and slave timeout from the perspective of the master.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "11-", + "Source": "system", + "ParameterValue": "60", + "ParameterName": "repl-timeout", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "The amount of memory reserved for non-cache memory usage, in bytes. You may want to increase this parameter for nodes with read replicas, AOF enabled, etc, to reduce swap usage.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "0", + "ParameterName": "reserved-memory", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "The limit in the size of the set in order for the dataset to be compressed.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "512", + "ParameterName": "set-max-intset-entries", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Configures if chaining of slaves is allowed", + "DataType": "string", + "ChangeType": "immediate", + "IsModifiable": false, + "AllowedValues": "yes,no", + "Source": "system", + "ParameterValue": "no", + "ParameterName": "slave-allow-chaining", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "The execution time, in microseconds, to exceed in order for the command to get logged. Note that a negative number disables the slow log, while a value of zero forces the logging of every command.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "-", + "Source": "system", + "ParameterValue": "10000", + "ParameterName": "slowlog-log-slower-than", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "The length of the slow log. There is no limit to this length. Just be aware that it will consume memory. You can reclaim memory used by the slow log with SLOWLOG RESET.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "128", + "ParameterName": "slowlog-max-len", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "If non-zero, send ACKs every given number of seconds.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "0", + "ParameterName": "tcp-keepalive", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Close connection if client is idle for a given number of seconds, or never if 0.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0,20-", + "Source": "system", + "ParameterValue": "0", + "ParameterName": "timeout", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "The maximum number of sorted set entries in order for the dataset to be compressed.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "128", + "ParameterName": "zset-max-ziplist-entries", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "The threshold of biggest sorted set entries in order for the dataset to be compressed.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "64", + "ParameterName": "zset-max-ziplist-value", + "MinimumEngineVersion": "2.8.6" + } + ] + } + } + ], "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "Marker", @@ -5346,7 +6298,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of a DescribeCacheParameters
operation.
Represents the input of a DescribeCacheParameters
operation.
Returns a list of cache security group descriptions. If a cache security group name is\n specified, the list contains only the description of that group. This applicable only\n when you have ElastiCache in Classic setup
", + "smithy.api#examples": [ + { + "title": "DescribeCacheSecurityGroups", + "documentation": "Returns a list of cache security group descriptions. If a cache security group name is specified, the list contains only the description of that group.", + "input": { + "CacheSecurityGroupName": "my-sec-group" + } + } + ], "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "Marker", @@ -5401,7 +6363,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of a DescribeCacheSecurityGroups
operation.
Represents the input of a DescribeCacheSecurityGroups
operation.
Returns a list of cache subnet group descriptions. If a subnet group name is\n specified, the list contains only the description of that group. This is applicable only\n when you have ElastiCache in VPC setup. All ElastiCache clusters now launch in VPC by\n default.
", + "smithy.api#examples": [ + { + "title": "DescribeCacheSubnetGroups", + "documentation": "Describes up to 25 cache subnet groups.", + "input": { + "MaxRecords": 25 + }, + "output": { + "Marker": "", + "CacheSubnetGroups": [ + { + "VpcId": "vpc-91280df6", + "CacheSubnetGroupDescription": "Default CacheSubnetGroup", + "Subnets": [ + { + "SubnetIdentifier": "subnet-1a2b3c4d", + "SubnetAvailabilityZone": { + "Name": "us-east-1a" + } + }, + { + "SubnetIdentifier": "subnet-a1b2c3d4", + "SubnetAvailabilityZone": { + "Name": "us-east-1c" + } + }, + { + "SubnetIdentifier": "subnet-abcd1234", + "SubnetAvailabilityZone": { + "Name": "us-east-1e" + } + }, + { + "SubnetIdentifier": "subnet-1234abcd", + "SubnetAvailabilityZone": { + "Name": "us-east-1b" + } + } + ], + "CacheSubnetGroupName": "default" + } + ] + } + } + ], "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "Marker", @@ -5450,7 +6458,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of a DescribeCacheSubnetGroups
operation.
Represents the input of a DescribeCacheSubnetGroups
operation.
Returns the default engine and system parameter information for the specified cache\n engine.
", + "smithy.api#examples": [ + { + "title": "DescribeEngineDefaultParameters", + "documentation": "Returns the default engine and system parameter information for the specified cache engine.", + "input": { + "CacheParameterGroupFamily": "redis2.8", + "MaxRecords": 25 + }, + "output": { + "EngineDefaults": { + "Marker": "bWluLXNsYXZlcy10by13cml0ZQ==", + "CacheParameterGroupFamily": "redis2.8", + "Parameters": [ + { + "Description": "Apply rehashing or not.", + "DataType": "string", + "ChangeType": "requires-reboot", + "IsModifiable": true, + "AllowedValues": "yes,no", + "Source": "system", + "ParameterValue": "yes", + "ParameterName": "activerehashing", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "fsync policy for AOF persistence", + "DataType": "string", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "always,everysec,no", + "Source": "system", + "ParameterValue": "everysec", + "ParameterName": "appendfsync", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Enable Redis persistence.", + "DataType": "string", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "yes,no", + "Source": "system", + "ParameterValue": "no", + "ParameterName": "appendonly", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Normal client output buffer hard limit in bytes.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "0", + "ParameterName": "client-output-buffer-limit-normal-hard-limit", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Normal client output buffer soft limit in bytes.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "0", + "ParameterName": "client-output-buffer-limit-normal-soft-limit", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Normal client output buffer soft limit in seconds.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "0", + "ParameterName": "client-output-buffer-limit-normal-soft-seconds", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Pubsub client output buffer hard limit in bytes.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "33554432", + "ParameterName": "client-output-buffer-limit-pubsub-hard-limit", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Pubsub client output buffer soft limit in bytes.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "8388608", + "ParameterName": "client-output-buffer-limit-pubsub-soft-limit", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Pubsub client output buffer soft limit in seconds.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "60", + "ParameterName": "client-output-buffer-limit-pubsub-soft-seconds", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Slave client output buffer soft limit in seconds.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": false, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "60", + "ParameterName": "client-output-buffer-limit-slave-soft-seconds", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "If enabled, clients who attempt to write to a read-only slave will be disconnected. Applicable to 2.8.23 and higher.", + "DataType": "string", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "yes,no", + "Source": "system", + "ParameterValue": "yes", + "ParameterName": "close-on-slave-write", + "MinimumEngineVersion": "2.8.23" + }, + { + "Description": "Set the number of databases.", + "DataType": "integer", + "ChangeType": "requires-reboot", + "IsModifiable": true, + "AllowedValues": "1-1200000", + "Source": "system", + "ParameterValue": "16", + "ParameterName": "databases", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "The maximum number of hash entries in order for the dataset to be compressed.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "512", + "ParameterName": "hash-max-ziplist-entries", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "The threshold of biggest hash entries in order for the dataset to be compressed.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "64", + "ParameterName": "hash-max-ziplist-value", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "The maximum number of list entries in order for the dataset to be compressed.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "512", + "ParameterName": "list-max-ziplist-entries", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "The threshold of biggest list entries in order for the dataset to be compressed.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "64", + "ParameterName": "list-max-ziplist-value", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Max execution time of a Lua script in milliseconds. 0 for unlimited execution without warnings.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": false, + "AllowedValues": "5000", + "Source": "system", + "ParameterValue": "5000", + "ParameterName": "lua-time-limit", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "The maximum number of Redis clients.", + "DataType": "integer", + "ChangeType": "requires-reboot", + "IsModifiable": false, + "AllowedValues": "1-65000", + "Source": "system", + "ParameterValue": "65000", + "ParameterName": "maxclients", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Max memory policy.", + "DataType": "string", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "volatile-lru,allkeys-lru,volatile-random,allkeys-random,volatile-ttl,noeviction", + "Source": "system", + "ParameterValue": "volatile-lru", + "ParameterName": "maxmemory-policy", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Max memory samples.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "1-", + "Source": "system", + "ParameterValue": "3", + "ParameterName": "maxmemory-samples", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Maximum number of seconds within which the master must receive a ping from a slave to take writes. Use this parameter together with min-slaves-to-write to regulate when the master stops accepting writes. Setting this value to 0 means the master always takes writes.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "10", + "ParameterName": "min-slaves-max-lag", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Number of slaves that must be connected in order for master to take writes. Use this parameter together with min-slaves-max-lag to regulate when the master stops accepting writes. Setting this to 0 means the master always takes writes.", + "DataType": "integer", + "ChangeType": "immediate", + "IsModifiable": true, + "AllowedValues": "0-", + "Source": "system", + "ParameterValue": "0", + "ParameterName": "min-slaves-to-write", + "MinimumEngineVersion": "2.8.6" + } + ], + "CacheNodeTypeSpecificParameters": [ + { + "Description": "Slave client output buffer hard limit in bytes.", + "DataType": "integer", + "ChangeType": "immediate", + "AllowedValues": "0-", + "Source": "system", + "IsModifiable": false, + "CacheNodeTypeSpecificValues": [ + { + "Value": "650117120", + "CacheNodeType": "cache.c1.xlarge" + }, + { + "Value": "702545920", + "CacheNodeType": "cache.m1.large" + }, + { + "Value": "309329920", + "CacheNodeType": "cache.m1.medium" + }, + { + "Value": "94371840", + "CacheNodeType": "cache.m1.small" + }, + { + "Value": "1488977920", + "CacheNodeType": "cache.m1.xlarge" + }, + { + "Value": "3502243840", + "CacheNodeType": "cache.m2.2xlarge" + }, + { + "Value": "7088373760", + "CacheNodeType": "cache.m2.4xlarge" + }, + { + "Value": "1709178880", + "CacheNodeType": "cache.m2.xlarge" + }, + { + "Value": "2998927360", + "CacheNodeType": "cache.m3.2xlarge" + }, + { + "Value": "650117120", + "CacheNodeType": "cache.m3.large" + }, + { + "Value": "309329920", + "CacheNodeType": "cache.m3.medium" + }, + { + "Value": "1426063360", + "CacheNodeType": "cache.m3.xlarge" + }, + { + "Value": "16604761424", + "CacheNodeType": "cache.m4.10xlarge" + }, + { + "Value": "3188912636", + "CacheNodeType": "cache.m4.2xlarge" + }, + { + "Value": "6525729063", + "CacheNodeType": "cache.m4.4xlarge" + }, + { + "Value": "689259315", + "CacheNodeType": "cache.m4.large" + }, + { + "Value": "1532850176", + "CacheNodeType": "cache.m4.xlarge" + }, + { + "Value": "6081740800", + "CacheNodeType": "cache.r3.2xlarge" + }, + { + "Value": "12268339200", + "CacheNodeType": "cache.r3.4xlarge" + }, + { + "Value": "24536678400", + "CacheNodeType": "cache.r3.8xlarge" + }, + { + "Value": "1468006400", + "CacheNodeType": "cache.r3.large" + }, + { + "Value": "3040870400", + "CacheNodeType": "cache.r3.xlarge" + }, + { + "Value": "14260633", + "CacheNodeType": "cache.t1.micro" + }, + { + "Value": "346134937", + "CacheNodeType": "cache.t2.medium" + }, + { + "Value": "58195968", + "CacheNodeType": "cache.t2.micro" + }, + { + "Value": "166513868", + "CacheNodeType": "cache.t2.small" + } + ], + "ParameterName": "client-output-buffer-limit-slave-hard-limit", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "Slave client output buffer soft limit in bytes.", + "DataType": "integer", + "ChangeType": "immediate", + "AllowedValues": "0-", + "Source": "system", + "IsModifiable": false, + "CacheNodeTypeSpecificValues": [ + { + "Value": "650117120", + "CacheNodeType": "cache.c1.xlarge" + }, + { + "Value": "702545920", + "CacheNodeType": "cache.m1.large" + }, + { + "Value": "309329920", + "CacheNodeType": "cache.m1.medium" + }, + { + "Value": "94371840", + "CacheNodeType": "cache.m1.small" + }, + { + "Value": "1488977920", + "CacheNodeType": "cache.m1.xlarge" + }, + { + "Value": "3502243840", + "CacheNodeType": "cache.m2.2xlarge" + }, + { + "Value": "7088373760", + "CacheNodeType": "cache.m2.4xlarge" + }, + { + "Value": "1709178880", + "CacheNodeType": "cache.m2.xlarge" + }, + { + "Value": "2998927360", + "CacheNodeType": "cache.m3.2xlarge" + }, + { + "Value": "650117120", + "CacheNodeType": "cache.m3.large" + }, + { + "Value": "309329920", + "CacheNodeType": "cache.m3.medium" + }, + { + "Value": "1426063360", + "CacheNodeType": "cache.m3.xlarge" + }, + { + "Value": "16604761424", + "CacheNodeType": "cache.m4.10xlarge" + }, + { + "Value": "3188912636", + "CacheNodeType": "cache.m4.2xlarge" + }, + { + "Value": "6525729063", + "CacheNodeType": "cache.m4.4xlarge" + }, + { + "Value": "689259315", + "CacheNodeType": "cache.m4.large" + }, + { + "Value": "1532850176", + "CacheNodeType": "cache.m4.xlarge" + }, + { + "Value": "6081740800", + "CacheNodeType": "cache.r3.2xlarge" + }, + { + "Value": "12268339200", + "CacheNodeType": "cache.r3.4xlarge" + }, + { + "Value": "24536678400", + "CacheNodeType": "cache.r3.8xlarge" + }, + { + "Value": "1468006400", + "CacheNodeType": "cache.r3.large" + }, + { + "Value": "3040870400", + "CacheNodeType": "cache.r3.xlarge" + }, + { + "Value": "14260633", + "CacheNodeType": "cache.t1.micro" + }, + { + "Value": "346134937", + "CacheNodeType": "cache.t2.medium" + }, + { + "Value": "58195968", + "CacheNodeType": "cache.t2.micro" + }, + { + "Value": "166513868", + "CacheNodeType": "cache.t2.small" + } + ], + "ParameterName": "client-output-buffer-limit-slave-soft-limit", + "MinimumEngineVersion": "2.8.6" + }, + { + "Description": "The maximum configurable amount of memory to use to store items, in bytes.", + "DataType": "integer", + "ChangeType": "immediate", + "AllowedValues": "0-", + "Source": "system", + "IsModifiable": false, + "CacheNodeTypeSpecificValues": [ + { + "Value": "6501171200", + "CacheNodeType": "cache.c1.xlarge" + }, + { + "Value": "7025459200", + "CacheNodeType": "cache.m1.large" + }, + { + "Value": "3093299200", + "CacheNodeType": "cache.m1.medium" + }, + { + "Value": "943718400", + "CacheNodeType": "cache.m1.small" + }, + { + "Value": "14889779200", + "CacheNodeType": "cache.m1.xlarge" + }, + { + "Value": "35022438400", + "CacheNodeType": "cache.m2.2xlarge" + }, + { + "Value": "70883737600", + "CacheNodeType": "cache.m2.4xlarge" + }, + { + "Value": "17091788800", + "CacheNodeType": "cache.m2.xlarge" + }, + { + "Value": "29989273600", + "CacheNodeType": "cache.m3.2xlarge" + }, + { + "Value": "6501171200", + "CacheNodeType": "cache.m3.large" + }, + { + "Value": "2988441600", + "CacheNodeType": "cache.m3.medium" + }, + { + "Value": "14260633600", + "CacheNodeType": "cache.m3.xlarge" + }, + { + "Value": "166047614239", + "CacheNodeType": "cache.m4.10xlarge" + }, + { + "Value": "31889126359", + "CacheNodeType": "cache.m4.2xlarge" + }, + { + "Value": "65257290629", + "CacheNodeType": "cache.m4.4xlarge" + }, + { + "Value": "6892593152", + "CacheNodeType": "cache.m4.large" + }, + { + "Value": "15328501760", + "CacheNodeType": "cache.m4.xlarge" + }, + { + "Value": "62495129600", + "CacheNodeType": "cache.r3.2xlarge" + }, + { + "Value": "126458265600", + "CacheNodeType": "cache.r3.4xlarge" + }, + { + "Value": "254384537600", + "CacheNodeType": "cache.r3.8xlarge" + }, + { + "Value": "14470348800", + "CacheNodeType": "cache.r3.large" + }, + { + "Value": "30513561600", + "CacheNodeType": "cache.r3.xlarge" + }, + { + "Value": "142606336", + "CacheNodeType": "cache.t1.micro" + }, + { + "Value": "3461349376", + "CacheNodeType": "cache.t2.medium" + }, + { + "Value": "581959680", + "CacheNodeType": "cache.t2.micro" + }, + { + "Value": "1665138688", + "CacheNodeType": "cache.t2.small" + } + ], + "ParameterName": "maxmemory", + "MinimumEngineVersion": "2.8.6" + } + ] + } + } + } + ], "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "EngineDefaults.Marker", @@ -5503,7 +7122,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of a DescribeEngineDefaultParameters
\n operation.
Represents the input of a DescribeEngineDefaultParameters
\n operation.
Returns events related to clusters, cache security groups, and cache parameter groups.\n You can obtain events specific to a particular cluster, cache security group, or cache\n parameter group by providing the name as a parameter.
\nBy default, only the events occurring within the last hour are returned; however, you\n can retrieve up to 14 days' worth of events if necessary.
", + "smithy.api#examples": [ + { + "title": "DescribeEvents", + "documentation": "Describes all the cache-cluster events for the past 120 minutes.", + "input": { + "SourceType": "cache-cluster", + "Duration": 360 + }, + "output": { + "Marker": "", + "Events": [ + { + "Date": "2016-12-22T16:27:56.088Z", + "Message": "Added cache node 0001 in availability zone us-east-1e", + "SourceIdentifier": "redis-cluster", + "SourceType": "cache-cluster" + }, + { + "Date": "2016-12-22T16:27:56.078Z", + "Message": "Cache cluster created", + "SourceIdentifier": "redis-cluster", + "SourceType": "cache-cluster" + }, + { + "Date": "2016-12-22T16:05:17.326Z", + "Message": "Added cache node 0002 in availability zone us-east-1c", + "SourceIdentifier": "my-memcached2", + "SourceType": "cache-cluster" + }, + { + "Date": "2016-12-22T16:05:17.323Z", + "Message": "Added cache node 0001 in availability zone us-east-1e", + "SourceIdentifier": "my-memcached2", + "SourceType": "cache-cluster" + }, + { + "Date": "2016-12-22T16:05:17.314Z", + "Message": "Cache cluster created", + "SourceIdentifier": "my-memcached2", + "SourceType": "cache-cluster" + } + ] + } + } + ], "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "Marker", @@ -5590,7 +7255,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of a DescribeEvents
operation.
Represents the input of a DescribeEvents
operation.
Returns the list of members that comprise the Global datastore.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.elasticache#DescribeGlobalReplicationGroupsResult": { @@ -5692,6 +7361,64 @@ ], "traits": { "smithy.api#documentation": "Returns information about a particular replication group. If no identifier is\n specified, DescribeReplicationGroups
returns information about all\n replication groups.
This operation is valid for Redis only.
\nRepresents the input of a DescribeReplicationGroups
operation.
Represents the input of a DescribeReplicationGroups
operation.
Returns information about reserved cache nodes for this account, or about a specified\n reserved cache node.
", + "smithy.api#examples": [ + { + "title": "DescribeReservedCacheNodes", + "documentation": "Returns information about reserved cache nodes for this account, or about a specified reserved cache node. If the account has no reserved cache nodes, the operation returns an empty list, as shown here.", + "input": { + "MaxRecords": 25 + } + } + ], "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "Marker", @@ -5868,7 +7605,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of a DescribeReservedCacheNodes
operation.
Represents the input of a DescribeReservedCacheNodes
operation.
Lists available reserved cache node offerings.
", + "smithy.api#examples": [ + { + "title": "DescribeReseredCacheNodeOfferings", + "documentation": "Lists available reserved cache node offerings.", + "input": { + "MaxRecords": 20 + }, + "output": { + "Marker": "1ef01f5b-433f-94ff-a530-61a56bfc8e7a", + "ReservedCacheNodesOfferings": [ + { + "OfferingType": "Medium Utilization", + "FixedPrice": 157.0, + "ReservedCacheNodesOfferingId": "0167633d-37f6-4222-b872-b1f22eb79ba4", + "UsagePrice": 0.017, + "RecurringCharges": [], + "ProductDescription": "memcached", + "Duration": 94608000, + "CacheNodeType": "cache.m1.small" + }, + { + "OfferingType": "Heavy Utilization", + "FixedPrice": 1248.0, + "ReservedCacheNodesOfferingId": "02c04e13-baca-4e71-9ceb-620eed94827d", + "UsagePrice": 0.0, + "RecurringCharges": [ + { + "RecurringChargeAmount": 0.077, + "RecurringChargeFrequency": "Hourly" + } + ], + "ProductDescription": "redis", + "Duration": 94608000, + "CacheNodeType": "cache.m4.xlarge" + }, + { + "OfferingType": "Medium Utilization", + "FixedPrice": 2381.0, + "ReservedCacheNodesOfferingId": "02e1755e-76e8-48e3-8d82-820a5726a458", + "UsagePrice": 0.276, + "RecurringCharges": [], + "ProductDescription": "memcached", + "Duration": 94608000, + "CacheNodeType": "cache.m2.4xlarge" + }, + { + "OfferingType": "Heavy Utilization", + "FixedPrice": 188.0, + "ReservedCacheNodesOfferingId": "03315215-7b87-421a-a3dd-785021e4113f", + "UsagePrice": 0.0, + "RecurringCharges": [ + { + "RecurringChargeAmount": 0.013, + "RecurringChargeFrequency": "Hourly" + } + ], + "ProductDescription": "redis", + "Duration": 94608000, + "CacheNodeType": "cache.m1.small" + }, + { + "OfferingType": "Heavy Utilization", + "FixedPrice": 6158.0, + "ReservedCacheNodesOfferingId": "05ffbb44-2ace-4476-a2a5-8ec99f866fb3", + "UsagePrice": 0.0, + "RecurringCharges": [ + { + "RecurringChargeAmount": 1.125, + "RecurringChargeFrequency": "Hourly" + } + ], + "ProductDescription": "redis", + "Duration": 31536000, + "CacheNodeType": "cache.m4.10xlarge" + }, + { + "OfferingType": "Medium Utilization", + "FixedPrice": 101.0, + "ReservedCacheNodesOfferingId": "065c71ae-4a4e-4f1e-bebf-37525f4c6cb2", + "UsagePrice": 0.023, + "RecurringCharges": [], + "ProductDescription": "redis", + "Duration": 31536000, + "CacheNodeType": "cache.m1.small" + }, + { + "OfferingType": "Medium Utilization", + "FixedPrice": 314.0, + "ReservedCacheNodesOfferingId": "06774b12-7f5e-48c1-907a-f286c63f327d", + "UsagePrice": 0.034, + "RecurringCharges": [], + "ProductDescription": "memcached", + "Duration": 94608000, + "CacheNodeType": "cache.m1.medium" + }, + { + "OfferingType": "Light Utilization", + "FixedPrice": 163.0, + "ReservedCacheNodesOfferingId": "0924ac6b-847f-4761-ba6b-4290b2adf719", + "UsagePrice": 0.137, + "RecurringCharges": [], + "ProductDescription": "memcached", + "Duration": 31536000, + "CacheNodeType": "cache.m2.xlarge" + }, + { + "OfferingType": "Heavy Utilization", + "FixedPrice": 719.0, + "ReservedCacheNodesOfferingId": "09eeb126-69b6-4d3f-8f94-ca3510629f53", + "UsagePrice": 0.0, + "RecurringCharges": [ + { + "RecurringChargeAmount": 0.049, + "RecurringChargeFrequency": "Hourly" + } + ], + "ProductDescription": "redis", + "Duration": 94608000, + "CacheNodeType": "cache.m2.xlarge" + }, + { + "OfferingType": "Heavy Utilization", + "FixedPrice": 4132.0, + "ReservedCacheNodesOfferingId": "0a516ad8-557f-4310-9dd0-2448c2ff4d62", + "UsagePrice": 0.0, + "RecurringCharges": [ + { + "RecurringChargeAmount": 0.182, + "RecurringChargeFrequency": "Hourly" + } + ], + "ProductDescription": "redis", + "Duration": 94608000, + "CacheNodeType": "cache.r3.2xlarge" + }, + { + "OfferingType": "Light Utilization", + "FixedPrice": 875.0, + "ReservedCacheNodesOfferingId": "0b0c1cc5-2177-4150-95d7-c67ec34dcb19", + "UsagePrice": 0.363, + "RecurringCharges": [], + "ProductDescription": "memcached", + "Duration": 94608000, + "CacheNodeType": "cache.c1.xlarge" + }, + { + "OfferingType": "Heavy Utilization", + "FixedPrice": 12483.0, + "ReservedCacheNodesOfferingId": "0c2b139b-1cff-43d0-8fba-0c753f9b1950", + "UsagePrice": 0.0, + "RecurringCharges": [ + { + "RecurringChargeAmount": 0.76, + "RecurringChargeFrequency": "Hourly" + } + ], + "ProductDescription": "memcached", + "Duration": 94608000, + "CacheNodeType": "cache.m4.10xlarge" + }, + { + "OfferingType": "Heavy Utilization", + "FixedPrice": 1620.0, + "ReservedCacheNodesOfferingId": "0c52115b-38cb-47a2-8dbc-e02e40b6a13f", + "UsagePrice": 0.0, + "RecurringCharges": [ + { + "RecurringChargeAmount": 0.207, + "RecurringChargeFrequency": "Hourly" + } + ], + "ProductDescription": "memcached", + "Duration": 31536000, + "CacheNodeType": "cache.c1.xlarge" + }, + { + "OfferingType": "Medium Utilization", + "FixedPrice": 2381.0, + "ReservedCacheNodesOfferingId": "12fcb19c-5416-4e1d-934f-28f1e2cb8599", + "UsagePrice": 0.276, + "RecurringCharges": [], + "ProductDescription": "redis", + "Duration": 94608000, + "CacheNodeType": "cache.m2.4xlarge" + }, + { + "OfferingType": "Heavy Utilization", + "FixedPrice": 616.0, + "ReservedCacheNodesOfferingId": "13af20ad-914d-4d8b-9763-fa2e565f3549", + "UsagePrice": 0.0, + "RecurringCharges": [ + { + "RecurringChargeAmount": 0.112, + "RecurringChargeFrequency": "Hourly" + } + ], + "ProductDescription": "memcached", + "Duration": 31536000, + "CacheNodeType": "cache.m4.xlarge" + }, + { + "OfferingType": "Heavy Utilization", + "FixedPrice": 16528.0, + "ReservedCacheNodesOfferingId": "14da3d3f-b526-4dbf-b09b-355578b2a576", + "UsagePrice": 0.0, + "RecurringCharges": [ + { + "RecurringChargeAmount": 0.729, + "RecurringChargeFrequency": "Hourly" + } + ], + "ProductDescription": "memcached", + "Duration": 94608000, + "CacheNodeType": "cache.r3.8xlarge" + }, + { + "OfferingType": "Light Utilization", + "FixedPrice": 140.0, + "ReservedCacheNodesOfferingId": "15d7018c-71fb-4717-8409-4bdcdca18da7", + "UsagePrice": 0.052, + "RecurringCharges": [], + "ProductDescription": "redis", + "Duration": 94608000, + "CacheNodeType": "cache.m1.medium" + }, + { + "OfferingType": "Heavy Utilization", + "FixedPrice": 4993.0, + "ReservedCacheNodesOfferingId": "1ae7ec5f-a76e-49b6-822b-629b1768a13a", + "UsagePrice": 0.0, + "RecurringCharges": [ + { + "RecurringChargeAmount": 0.304, + "RecurringChargeFrequency": "Hourly" + } + ], + "ProductDescription": "memcached", + "Duration": 94608000, + "CacheNodeType": "cache.m4.4xlarge" + }, + { + "OfferingType": "Heavy Utilization", + "FixedPrice": 1772.0, + "ReservedCacheNodesOfferingId": "1d31242b-3925-48d1-b882-ce03204e6013", + "UsagePrice": 0.0, + "RecurringCharges": [ + { + "RecurringChargeAmount": 0.25, + "RecurringChargeFrequency": "Hourly" + } + ], + "ProductDescription": "redis", + "Duration": 31536000, + "CacheNodeType": "cache.m3.2xlarge" + }, + { + "OfferingType": "Medium Utilization", + "FixedPrice": 54.0, + "ReservedCacheNodesOfferingId": "1ef01f5b-94ff-433f-a530-61a56bfc8e7a", + "UsagePrice": 0.008, + "RecurringCharges": [], + "ProductDescription": "memcached", + "Duration": 31536000, + "CacheNodeType": "cache.t1.micro" + } + ] + } + } + ], "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "Marker", @@ -5947,7 +7954,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of a DescribeReservedCacheNodesOfferings
\n operation.
Represents the input of a DescribeReservedCacheNodesOfferings
\n operation.
An optional marker returned from a prior request. Use this marker for pagination of\n results from this operation. If this parameter is specified, the response includes only\n records beyond the marker, up to the value specified by MaxRecords
.
Returns information about cluster or replication group snapshots. By default,\n DescribeSnapshots
lists all of your snapshots; it can optionally\n describe a single snapshot, or just the snapshots associated with a particular cache\n cluster.
This operation is valid for Redis only.
\nRepresents the output of a DescribeSnapshots
operation.
Represents the output of a DescribeSnapshots
operation.
Represents the input of a DescribeSnapshotsMessage
operation.
Represents the input of a DescribeSnapshotsMessage
operation.
An optional marker returned from a prior request. Use this marker for pagination of\n results from this operation. If this parameter is specified, the response includes only\n records beyond the marker, up to the value specified by MaxRecords
.
An optional marker returned from a prior request. Use this marker for pagination of\n results from this operation. If this parameter is specified, the response includes only\n records beyond the marker, up to the value specified by MaxRecords. >
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.elasticache#DescribeUserGroupsResult": { @@ -6335,6 +8396,9 @@ "smithy.api#documentation": "An optional marker returned from a prior request. Use this marker for pagination of\n results from this operation. If this parameter is specified, the response includes only\n records beyond the marker, up to the value specified by MaxRecords. >
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.elasticache#DescribeUsersResult": { @@ -6444,6 +8508,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.elasticache#DisassociateGlobalReplicationGroupResult": { @@ -6632,7 +8699,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the output of a DescribeEvents
operation.
Represents the output of a DescribeEvents
operation.
Lists all available node types that you can scale your Redis cluster's or replication\n group's current node type.
\nWhen you use the ModifyCacheCluster
or\n ModifyReplicationGroup
operations to scale your cluster or replication\n group, the value of the CacheNodeType
parameter must be one of the node\n types returned by this operation.
Lists all available node types that you can scale your Redis cluster's or replication\n group's current node type.
\nWhen you use the ModifyCacheCluster
or\n ModifyReplicationGroup
operations to scale your cluster or replication\n group, the value of the CacheNodeType
parameter must be one of the node\n types returned by this operation.
The input parameters for the ListAllowedNodeTypeModifications
\n operation.
The input parameters for the ListAllowedNodeTypeModifications
\n operation.
Lists all tags currently on a named resource.
\nA tag is a key-value pair where the key and value are case-sensitive. You can use\n tags to categorize and track all your ElastiCache resources, with the exception of\n global replication group. When you add or remove tags on replication groups, those\n actions will be replicated to all nodes in the replication group. For more information,\n see Resource-level permissions.
\nIf the cluster is not in the available state,\n ListTagsForResource
returns an error.
Lists all tags currently on a named resource.
\nA tag is a key-value pair where the key and value are case-sensitive. You can use\n tags to categorize and track all your ElastiCache resources, with the exception of\n global replication group. When you add or remove tags on replication groups, those\n actions will be replicated to all nodes in the replication group. For more information,\n see Resource-level permissions.
\nIf the cluster is not in the available state,\n ListTagsForResource
returns an error.
The input parameters for the ListTagsForResource
operation.
The input parameters for the ListTagsForResource
operation.
Modifies the settings for a cluster. You can use this operation to change one or more\n cluster configuration parameters by specifying the parameters and the new values.
" + "smithy.api#documentation": "Modifies the settings for a cluster. You can use this operation to change one or more\n cluster configuration parameters by specifying the parameters and the new values.
", + "smithy.api#examples": [ + { + "title": "ModifyCacheCluster", + "documentation": "Copies a snapshot to a specified name.", + "input": { + "CacheClusterId": "redis-cluster", + "ApplyImmediately": true, + "SnapshotRetentionLimit": 14 + }, + "output": { + "CacheCluster": { + "Engine": "redis", + "CacheParameterGroup": { + "CacheNodeIdsToReboot": [], + "CacheParameterGroupName": "default.redis3.2", + "ParameterApplyStatus": "in-sync" + }, + "SnapshotRetentionLimit": 14, + "CacheClusterId": "redis-cluster", + "CacheSecurityGroups": [], + "NumCacheNodes": 1, + "SnapshotWindow": "07:00-08:00", + "CacheClusterCreateTime": "2016-12-22T16:27:56.078Z", + "AutoMinorVersionUpgrade": true, + "CacheClusterStatus": "available", + "PreferredAvailabilityZone": "us-east-1e", + "ClientDownloadLandingPage": "https://console.aws.amazon.com/elasticache/home#client-download:", + "CacheSubnetGroupName": "default", + "EngineVersion": "3.2.4", + "PendingModifiedValues": {}, + "PreferredMaintenanceWindow": "fri:09:00-fri:10:00", + "CacheNodeType": "cache.r3.large" + } + } + } + ] } }, "com.amazonaws.elasticache#ModifyCacheClusterMessage": { @@ -7934,7 +10091,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of a ModifyCacheCluster
operation.
Represents the input of a ModifyCacheCluster
operation.
Modifies the parameters of a cache parameter group. You can modify up to 20 parameters\n in a single request by submitting a list parameter name and value pairs.
" + "smithy.api#documentation": "Modifies the parameters of a cache parameter group. You can modify up to 20 parameters\n in a single request by submitting a list parameter name and value pairs.
", + "smithy.api#examples": [ + { + "title": "ModifyCacheParameterGroup", + "documentation": "Modifies one or more parameter values in the specified parameter group. You cannot modify any default parameter group.", + "input": { + "CacheParameterGroupName": "custom-mem1-4", + "ParameterNameValues": [ + { + "ParameterName": "binding_protocol", + "ParameterValue": "ascii" + }, + { + "ParameterName": "chunk_size", + "ParameterValue": "96" + } + ] + }, + "output": { + "CacheParameterGroupName": "custom-mem1-4" + } + } + ] } }, "com.amazonaws.elasticache#ModifyCacheParameterGroupMessage": { @@ -7996,7 +10176,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of a ModifyCacheParameterGroup
operation.
Represents the input of a ModifyCacheParameterGroup
operation.
Modifies an existing cache subnet group.
" + "smithy.api#documentation": "Modifies an existing cache subnet group.
", + "smithy.api#examples": [ + { + "title": "ModifyCacheSubnetGroup", + "documentation": "Modifies an existing ElastiCache subnet group.", + "input": { + "CacheSubnetGroupName": "my-sn-grp", + "SubnetIds": [ + "subnet-bcde2345" + ] + }, + "output": { + "CacheSubnetGroup": { + "VpcId": "vpc-91280df6", + "CacheSubnetGroupDescription": "My subnet group.", + "Subnets": [ + { + "SubnetIdentifier": "subnet-a1b2c3d4", + "SubnetAvailabilityZone": { + "Name": "us-east-1c" + } + }, + { + "SubnetIdentifier": "subnet-1a2b3c4d", + "SubnetAvailabilityZone": { + "Name": "us-east-1e" + } + }, + { + "SubnetIdentifier": "subnet-bcde2345", + "SubnetAvailabilityZone": { + "Name": "us-east-1e" + } + }, + { + "SubnetIdentifier": "subnet-1234abcd", + "SubnetAvailabilityZone": { + "Name": "us-east-1c" + } + }, + { + "SubnetIdentifier": "subnet-abcd1234", + "SubnetAvailabilityZone": { + "Name": "us-east-1b" + } + } + ], + "CacheSubnetGroupName": "my-sn-grp" + } + } + } + ] } }, "com.amazonaws.elasticache#ModifyCacheSubnetGroupMessage": { @@ -8052,7 +10284,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of a ModifyCacheSubnetGroup
operation.
Represents the input of a ModifyCacheSubnetGroup
operation.
Determines whether a read replica is automatically promoted to read/write primary if\n the existing primary encounters a failure.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.elasticache#ModifyGlobalReplicationGroupResult": { @@ -8209,7 +10445,77 @@ } ], "traits": { - "smithy.api#documentation": "Modifies the settings for a replication group.
\n\n Scaling for Amazon ElastiCache for Redis (cluster mode enabled) in\n the ElastiCache User Guide
\n\n ModifyReplicationGroupShardConfiguration in the ElastiCache API\n Reference
\nThis operation is valid for Redis only.
\nModifies the settings for a replication group.
\n\n Scaling for Amazon ElastiCache for Redis (cluster mode enabled) in\n the ElastiCache User Guide
\n\n ModifyReplicationGroupShardConfiguration in the ElastiCache API\n Reference
\nThis operation is valid for Redis only.
\nRepresents the input of a ModifyReplicationGroups
operation.
Represents the input of a ModifyReplicationGroups
operation.
Represents the input for a ModifyReplicationGroupShardConfiguration
\n operation.
Represents the input for a ModifyReplicationGroupShardConfiguration
\n operation.
The list of user IDs to remove from the user group.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.elasticache#ModifyUserMessage": { @@ -8643,6 +10954,9 @@ "smithy.api#documentation": "Specifies how to authenticate the user.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.elasticache#MultiAZStatus": { @@ -9539,7 +11853,16 @@ } ], "traits": { - "smithy.api#documentation": "Allows you to purchase a reserved cache node offering. Reserved nodes are not eligible\n for cancellation and are non-refundable. For more information, see Managing Costs with Reserved Nodes for Redis or Managing Costs with\n Reserved Nodes for Memcached.
" + "smithy.api#documentation": "Allows you to purchase a reserved cache node offering. Reserved nodes are not eligible\n for cancellation and are non-refundable. For more information, see Managing Costs with Reserved Nodes for Redis or Managing Costs with\n Reserved Nodes for Memcached.
", + "smithy.api#examples": [ + { + "title": "PurchaseReservedCacheNodesOfferings", + "documentation": "Allows you to purchase a reserved cache node offering.", + "input": { + "ReservedCacheNodesOfferingId": "1ef01f5b-94ff-433f-a530-61a56bfc8e7a" + } + } + ] } }, "com.amazonaws.elasticache#PurchaseReservedCacheNodesOfferingMessage": { @@ -9572,7 +11895,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of a PurchaseReservedCacheNodesOffering
\n operation.
Represents the input of a PurchaseReservedCacheNodesOffering
\n operation.
Reboots some, or all, of the cache nodes within a provisioned cluster. This operation\n applies any modified cache parameter groups to the cluster. The reboot operation takes\n place as soon as possible, and results in a momentary outage to the cluster. During the\n reboot, the cluster status is set to REBOOTING.
\nThe reboot causes the contents of the cache (for each cache node being rebooted) to be\n lost.
\nWhen the reboot is complete, a cluster event is created.
\nRebooting a cluster is currently supported on Memcached and Redis (cluster mode\n disabled) clusters. Rebooting is not supported on Redis (cluster mode enabled)\n clusters.
\nIf you make changes to parameters that require a Redis (cluster mode enabled) cluster\n reboot for the changes to be applied, see Rebooting a Cluster for an alternate process.
" + "smithy.api#documentation": "Reboots some, or all, of the cache nodes within a provisioned cluster. This operation\n applies any modified cache parameter groups to the cluster. The reboot operation takes\n place as soon as possible, and results in a momentary outage to the cluster. During the\n reboot, the cluster status is set to REBOOTING.
\nThe reboot causes the contents of the cache (for each cache node being rebooted) to be\n lost.
\nWhen the reboot is complete, a cluster event is created.
\nRebooting a cluster is currently supported on Memcached and Redis (cluster mode\n disabled) clusters. Rebooting is not supported on Redis (cluster mode enabled)\n clusters.
\nIf you make changes to parameters that require a Redis (cluster mode enabled) cluster\n reboot for the changes to be applied, see Rebooting a Cluster for an alternate process.
", + "smithy.api#examples": [ + { + "title": "RebootCacheCluster", + "documentation": "Reboots the specified nodes in the names cluster.", + "input": { + "CacheClusterId": "custom-mem1-4 ", + "CacheNodeIdsToReboot": [ + "0001", + "0002" + ] + }, + "output": { + "CacheCluster": { + "Engine": "memcached", + "CacheParameterGroup": { + "CacheNodeIdsToReboot": [], + "CacheParameterGroupName": "default.memcached1.4", + "ParameterApplyStatus": "in-sync" + }, + "CacheClusterId": "my-mem-cluster", + "PreferredAvailabilityZone": "Multiple", + "ConfigurationEndpoint": { + "Port": 11211, + "Address": "my-mem-cluster.abcdef.cfg.use1.cache.amazonaws.com" + }, + "CacheSecurityGroups": [], + "CacheClusterCreateTime": "2016-12-21T21:59:43.794Z", + "AutoMinorVersionUpgrade": true, + "CacheClusterStatus": "rebooting cache cluster nodes", + "NumCacheNodes": 2, + "ClientDownloadLandingPage": "https://console.aws.amazon.com/elasticache/home#client-download:", + "CacheSubnetGroupName": "default", + "EngineVersion": "1.4.24", + "PendingModifiedValues": {}, + "PreferredMaintenanceWindow": "wed:06:00-wed:07:00", + "CacheNodeType": "cache.t2.medium" + } + } + } + ] } }, "com.amazonaws.elasticache#RebootCacheClusterMessage": { @@ -9679,7 +12046,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of a RebootCacheCluster
operation.
Represents the input of a RebootCacheCluster
operation.
Removes the tags identified by the TagKeys
list from the named resource.\n A tag is a key-value pair where the key and value are case-sensitive. You can use tags\n to categorize and track all your ElastiCache resources, with the exception of global\n replication group. When you add or remove tags on replication groups, those actions will\n be replicated to all nodes in the replication group. For more information, see Resource-level permissions.
Removes the tags identified by the TagKeys
list from the named resource.\n A tag is a key-value pair where the key and value are case-sensitive. You can use tags\n to categorize and track all your ElastiCache resources, with the exception of global\n replication group. When you add or remove tags on replication groups, those actions will\n be replicated to all nodes in the replication group. For more information, see Resource-level permissions.
Represents the input of a RemoveTagsFromResource
operation.
Represents the input of a RemoveTagsFromResource
operation.
Represents the output of a DescribeReplicationGroups
operation.
Represents the output of a DescribeReplicationGroups
operation.
Represents the output of a DescribeReservedCacheNodes
operation.
Represents the output of a DescribeReservedCacheNodes
operation.
Represents the output of a DescribeReservedCacheNodesOfferings
\n operation.
Represents the output of a DescribeReservedCacheNodesOfferings
\n operation.
Modifies the parameters of a cache parameter group to the engine or system default\n value. You can reset specific parameters by submitting a list of parameter names. To\n reset the entire cache parameter group, specify the ResetAllParameters
and\n CacheParameterGroupName
parameters.
Modifies the parameters of a cache parameter group to the engine or system default\n value. You can reset specific parameters by submitting a list of parameter names. To\n reset the entire cache parameter group, specify the ResetAllParameters
and\n CacheParameterGroupName
parameters.
Represents the input of a ResetCacheParameterGroup
operation.
Represents the input of a ResetCacheParameterGroup
operation.
Revokes ingress from a cache security group. Use this operation to disallow access\n from an Amazon EC2 security group that had been previously authorized.
" + "smithy.api#documentation": "Revokes ingress from a cache security group. Use this operation to disallow access\n from an Amazon EC2 security group that had been previously authorized.
", + "smithy.api#examples": [ + { + "title": "DescribeCacheSecurityGroups", + "documentation": "Returns a list of cache security group descriptions. If a cache security group name is specified, the list contains only the description of that group.", + "input": { + "CacheSecurityGroupName": "my-sec-grp", + "EC2SecurityGroupName": "my-ec2-sec-grp", + "EC2SecurityGroupOwnerId": "1234567890" + } + } + ] } }, "com.amazonaws.elasticache#RevokeCacheSecurityGroupIngressMessage": { @@ -10653,7 +13088,8 @@ } }, "traits": { - "smithy.api#documentation": "Represents the input of a RevokeCacheSecurityGroupIngress
\n operation.
Represents the input of a RevokeCacheSecurityGroupIngress
\n operation.
A list of service updates
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.elasticache#SlaMet": { @@ -11308,6 +13747,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.elasticache#StartMigrationResponse": { @@ -11560,6 +14002,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.elasticache#TestFailoverNotAvailableFault": { @@ -11633,6 +14078,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.elasticache#TestMigrationResponse": { @@ -11958,6 +14406,9 @@ "smithy.api#documentation": "Returns a list of update actions
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.elasticache#User": { diff --git a/codegen/sdk-codegen/aws-models/elasticsearch-service.json b/codegen/sdk-codegen/aws-models/elasticsearch-service.json index 19488cd4838..055e35ee74f 100644 --- a/codegen/sdk-codegen/aws-models/elasticsearch-service.json +++ b/codegen/sdk-codegen/aws-models/elasticsearch-service.json @@ -512,6 +512,7 @@ "arnNamespace": "es", "cloudFormationName": "Elasticsearch", "cloudTrailEventSource": "elasticsearchservice.amazonaws.com", + "docId": "es-2015-01-01", "endpointPrefix": "es" }, "aws.auth#sigv4": { @@ -583,52 +584,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", @@ -636,13 +641,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -652,224 +666,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://es-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://es-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": [ { "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": [], - "endpoint": { - "url": "https://es-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://es-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://es.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://es.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://es.{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://es.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/emr-containers.json b/codegen/sdk-codegen/aws-models/emr-containers.json index 45f3ee74f19..f61f780df6a 100644 --- a/codegen/sdk-codegen/aws-models/emr-containers.json +++ b/codegen/sdk-codegen/aws-models/emr-containers.json @@ -178,52 +178,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", @@ -231,13 +235,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -247,224 +260,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://emr-containers-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://emr-containers-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": [ { "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": [], - "endpoint": { - "url": "https://emr-containers-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://emr-containers-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://emr-containers.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://emr-containers.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://emr-containers.{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://emr-containers.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/emr-serverless.json b/codegen/sdk-codegen/aws-models/emr-serverless.json index c802b39f927..7357a119ffa 100644 --- a/codegen/sdk-codegen/aws-models/emr-serverless.json +++ b/codegen/sdk-codegen/aws-models/emr-serverless.json @@ -490,52 +490,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", @@ -543,13 +547,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -559,224 +572,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://emr-serverless-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://emr-serverless-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": [ { "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": [], - "endpoint": { - "url": "https://emr-serverless-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://emr-serverless-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://emr-serverless.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://emr-serverless.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://emr-serverless.{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://emr-serverless.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/emr.json b/codegen/sdk-codegen/aws-models/emr.json index 96cd70eea49..942be6f9d05 100644 --- a/codegen/sdk-codegen/aws-models/emr.json +++ b/codegen/sdk-codegen/aws-models/emr.json @@ -2744,6 +2744,7 @@ "arnNamespace": "elasticmapreduce", "cloudFormationName": "EMR", "cloudTrailEventSource": "emr.amazonaws.com", + "docId": "elasticmapreduce-2009-03-31", "endpointPrefix": "elasticmapreduce" }, "aws.auth#sigv4": { @@ -2815,52 +2816,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", @@ -2868,13 +2873,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -2884,92 +2898,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://elasticmapreduce-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://elasticmapreduce-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -2978,155 +2983,115 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws-us-gov", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsFIPS" + "name" ] } ] } ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://elasticmapreduce.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [], - "endpoint": { - "url": "https://elasticmapreduce-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "endpoint": { + "url": "https://elasticmapreduce.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://elasticmapreduce-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://elasticmapreduce.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://elasticmapreduce.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://elasticmapreduce.{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://elasticmapreduce.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/evidently.json b/codegen/sdk-codegen/aws-models/evidently.json index a0d5f80467a..df0337b14a6 100644 --- a/codegen/sdk-codegen/aws-models/evidently.json +++ b/codegen/sdk-codegen/aws-models/evidently.json @@ -1402,52 +1402,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", @@ -1455,13 +1459,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -1471,224 +1484,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://evidently-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://evidently-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": [ { "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": [], - "endpoint": { - "url": "https://evidently-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://evidently-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://evidently.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://evidently.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://evidently.{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://evidently.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -1702,9 +1666,9 @@ } }, "params": { + "Region": "ap-northeast-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-1" + "UseDualStack": false } }, { @@ -1715,9 +1679,9 @@ } }, "params": { + "Region": "ap-southeast-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-1" + "UseDualStack": false } }, { @@ -1728,9 +1692,9 @@ } }, "params": { + "Region": "ap-southeast-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-2" + "UseDualStack": false } }, { @@ -1741,9 +1705,9 @@ } }, "params": { + "Region": "eu-central-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-central-1" + "UseDualStack": false } }, { @@ -1754,9 +1718,9 @@ } }, "params": { + "Region": "eu-north-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-north-1" + "UseDualStack": false } }, { @@ -1767,9 +1731,9 @@ } }, "params": { + "Region": "eu-west-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-1" + "UseDualStack": false } }, { @@ -1780,9 +1744,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -1793,9 +1757,9 @@ } }, "params": { + "Region": "us-east-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-east-2" + "UseDualStack": false } }, { @@ -1806,9 +1770,9 @@ } }, "params": { + "Region": "us-west-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-2" + "UseDualStack": false } }, { @@ -1819,9 +1783,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -1832,9 +1796,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -1845,9 +1809,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -1858,9 +1822,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -1871,9 +1835,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -1884,9 +1848,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -1897,9 +1861,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -1910,9 +1874,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -1923,9 +1887,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -1936,9 +1900,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -1949,9 +1913,20 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-gov-east-1" + "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 } }, { @@ -1962,9 +1937,20 @@ } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-iso-east-1" + "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 } }, { @@ -1975,9 +1961,20 @@ } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-iso-east-1" + "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 } }, { @@ -1988,9 +1985,20 @@ } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-isob-east-1" + "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 } }, { @@ -2001,9 +2009,9 @@ } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -2014,9 +2022,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -2039,9 +2047,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -2051,11 +2059,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true, - "Region": "us-east-1", "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/codegen/sdk-codegen/aws-models/finspace-data.json b/codegen/sdk-codegen/aws-models/finspace-data.json index 7ae488aac46..7a05fb6f548 100644 --- a/codegen/sdk-codegen/aws-models/finspace-data.json +++ b/codegen/sdk-codegen/aws-models/finspace-data.json @@ -133,6 +133,7 @@ "arnNamespace": "finspace-api", "cloudFormationName": "Finspacedata", "cloudTrailEventSource": "finspacedata.amazonaws.com", + "docId": "finspace-2020-07-13", "endpointPrefix": "finspace-api" }, "aws.auth#sigv4": { @@ -201,52 +202,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", @@ -254,13 +259,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -270,224 +284,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://finspace-api-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://finspace-api-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": [ { "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": [], - "endpoint": { - "url": "https://finspace-api-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://finspace-api-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://finspace-api.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://finspace-api.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://finspace-api.{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://finspace-api.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -502,8 +467,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -515,8 +480,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -528,8 +493,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -541,8 +506,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -554,8 +519,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -567,8 +532,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -580,8 +545,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -593,8 +558,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -606,8 +571,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -619,8 +584,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -632,8 +597,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -645,8 +610,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -658,8 +623,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -671,8 +636,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -684,8 +649,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -697,8 +662,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -710,8 +686,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 } }, { @@ -723,8 +710,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -736,8 +734,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 } }, { @@ -749,8 +758,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -762,8 +771,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -775,8 +784,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -787,8 +796,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -799,10 +808,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" @@ -843,53 +858,67 @@ } }, "com.amazonaws.finspacedata#ApiAccess": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" } - ] + } } }, "com.amazonaws.finspacedata#ApplicationPermission": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CreateDataset", - "name": "CreateDataset" - }, - { - "value": "ManageClusters", - "name": "ManageClusters" - }, - { - "value": "ManageUsersAndGroups", - "name": "ManageUsersAndGroups" - }, - { - "value": "ManageAttributeSets", - "name": "ManageAttributeSets" - }, - { - "value": "ViewAuditData", - "name": "ViewAuditData" - }, - { - "value": "AccessNotebooks", - "name": "AccessNotebooks" - }, - { - "value": "GetTemporaryCredentials", - "name": "GetTemporaryCredentials" + "type": "enum", + "members": { + "CreateDataset": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CreateDataset" + } + }, + "ManageClusters": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ManageClusters" + } + }, + "ManageUsersAndGroups": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ManageUsersAndGroups" + } + }, + "ManageAttributeSets": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ManageAttributeSets" + } + }, + "ViewAuditData": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ViewAuditData" } - ] + }, + "AccessNotebooks": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AccessNotebooks" + } + }, + "GetTemporaryCredentials": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GetTemporaryCredentials" + } + } } }, "com.amazonaws.finspacedata#ApplicationPermissionList": { @@ -961,6 +990,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.finspacedata#AssociateUserToPermissionGroupResponse": { @@ -974,6 +1006,9 @@ "smithy.api#httpResponseCode": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#AwsCredentials": { @@ -1017,23 +1052,29 @@ } }, "com.amazonaws.finspacedata#ChangeType": { - "type": "string", - "traits": { - "smithy.api#documentation": "Indicates how the given change will be applied to the dataset.", - "smithy.api#enum": [ - { - "value": "REPLACE", - "name": "REPLACE" - }, - { - "value": "APPEND", - "name": "APPEND" - }, - { - "value": "MODIFY", - "name": "MODIFY" + "type": "enum", + "members": { + "REPLACE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REPLACE" + } + }, + "APPEND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "APPEND" + } + }, + "MODIFY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MODIFY" } - ] + } + }, + "traits": { + "smithy.api#documentation": "Indicates how the given change will be applied to the dataset." } }, "com.amazonaws.finspacedata#ChangesetArn": { @@ -1130,7 +1171,7 @@ "status": { "target": "com.amazonaws.finspacedata#IngestionStatus", "traits": { - "smithy.api#documentation": "Status of the Changeset ingestion.
\n\n PENDING
– Changeset is pending creation.
\n FAILED
– Changeset creation has failed.
\n SUCCESS
– Changeset creation has succeeded.
\n RUNNING
– Changeset creation is running.
\n STOP_REQUESTED
– User requested Changeset creation to stop.
Status of the Changeset ingestion.
\n\n PENDING
– Changeset is pending creation.
\n FAILED
– Changeset creation has failed.
\n SUCCESS
– Changeset creation has succeeded.
\n RUNNING
– Changeset creation is running.
\n STOP_REQUESTED
– User requested Changeset creation to stop.
Options that define the structure of the source file(s) including the format type (formatType
), header row (withHeader
), data separation character (separator
) and the type of compression (compression
).\n
\n formatType
is a required attribute and can have the following values:\n
\n PARQUET
– Parquet source file format.
\n CSV
– CSV source file format.
\n JSON
– JSON source file format.
\n XML
– XML source file format.
Here is an example of how you could specify the formatParams
:
\n \n \"formatParams\": \n {\n \"formatType\": \"CSV\",\n \"withHeader\": \"true\",\n \"separator\": \",\",\n \"compression\":\"None\"\n } \n
\n
Note that if you only provide formatType
as CSV
, the rest of the attributes will automatically default to CSV values as following:
\n \n {\n \"withHeader\": \"true\",\n \"separator\": \",\"\n }\n
\n
For more information about supported file formats, see Supported Data Types and File Formats in the FinSpace User Guide.
", + "smithy.api#documentation": "Options that define the structure of the source file(s) including the format type (formatType
), header row (withHeader
), data separation character (separator
) and the type of compression (compression
).\n
\n formatType
is a required attribute and can have the following values:\n
\n PARQUET
– Parquet source file format.
\n CSV
– CSV source file format.
\n JSON
– JSON source file format.
\n XML
– XML source file format.
Here is an example of how you could specify the formatParams
:
\n \n \"formatParams\": \n {\n \"formatType\": \"CSV\",\n \"withHeader\": \"true\",\n \"separator\": \",\",\n \"compression\":\"None\"\n } \n
\n
Note that if you only provide formatType
as CSV
, the rest of the attributes will automatically default to CSV values as following:
\n \n {\n \"withHeader\": \"true\",\n \"separator\": \",\"\n }\n
\n
For more information about supported file formats, see Supported Data Types and File Formats in the FinSpace User Guide.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "The request for a CreateChangeset operation." + "smithy.api#documentation": "The request for a CreateChangeset operation.", + "smithy.api#input": {} } }, "com.amazonaws.finspacedata#CreateChangesetResponse": { @@ -1420,7 +1486,8 @@ } }, "traits": { - "smithy.api#documentation": "The response from a CreateChangeset operation." + "smithy.api#documentation": "The response from a CreateChangeset operation.", + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#CreateDataView": { @@ -1513,7 +1580,8 @@ } }, "traits": { - "smithy.api#documentation": "Request for creating a data view." + "smithy.api#documentation": "Request for creating a data view.", + "smithy.api#input": {} } }, "com.amazonaws.finspacedata#CreateDataViewResponse": { @@ -1533,7 +1601,8 @@ } }, "traits": { - "smithy.api#documentation": "Response for creating a data view." + "smithy.api#documentation": "Response for creating a data view.", + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#CreateDataset": { @@ -1633,7 +1702,8 @@ } }, "traits": { - "smithy.api#documentation": "The request for a CreateDataset operation" + "smithy.api#documentation": "The request for a CreateDataset operation", + "smithy.api#input": {} } }, "com.amazonaws.finspacedata#CreateDatasetResponse": { @@ -1647,7 +1717,8 @@ } }, "traits": { - "smithy.api#documentation": "The response from a CreateDataset operation" + "smithy.api#documentation": "The response from a CreateDataset operation", + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#CreatePermissionGroup": { @@ -1717,6 +1788,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.finspacedata#CreatePermissionGroupResponse": { @@ -1728,6 +1802,9 @@ "smithy.api#documentation": "The unique identifier for the permission group.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#CreateUser": { @@ -1815,6 +1892,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.finspacedata#CreateUserResponse": { @@ -1826,6 +1906,9 @@ "smithy.api#documentation": "The unique identifier for the user.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#Credentials": { @@ -1885,7 +1968,7 @@ "s3DestinationExportFileFormatOptions": { "target": "com.amazonaws.finspacedata#S3DestinationFormatOptions", "traits": { - "smithy.api#documentation": "Format Options for S3 Destination type.
\nHere is an example of how you could specify the s3DestinationExportFileFormatOptions
\n
\n \n {\n \"header\": \"true\",\n \"delimiter\": \",\",\n \"compression\": \"gzip\"\n }
\n
Format Options for S3 Destination type.
\nHere is an example of how you could specify the s3DestinationExportFileFormatOptions
\n
\n \n {\n \"header\": \"true\",\n \"delimiter\": \",\",\n \"compression\": \"gzip\"\n }
\n
The status of a Dataview creation.
\n\n RUNNING
– Dataview creation is running.
\n STARTING
– Dataview creation is starting.
\n FAILED
– Dataview creation has failed.
\n CANCELLED
– Dataview creation has been cancelled.
\n TIMEOUT
– Dataview creation has timed out.
\n SUCCESS
– Dataview creation has succeeded.
\n PENDING
– Dataview creation is pending.
\n FAILED_CLEANUP_FAILED
– Dataview creation failed and resource cleanup failed.
The status of a Dataview creation.
\n\n RUNNING
– Dataview creation is running.
\n STARTING
– Dataview creation is starting.
\n FAILED
– Dataview creation has failed.
\n CANCELLED
– Dataview creation has been cancelled.
\n TIMEOUT
– Dataview creation has timed out.
\n SUCCESS
– Dataview creation has succeeded.
\n PENDING
– Dataview creation is pending.
\n FAILED_CLEANUP_FAILED
– Dataview creation failed and resource cleanup failed.
The unique identifier for the deleted permission group.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#DisableUser": { @@ -2444,6 +2563,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.finspacedata#DisableUserResponse": { @@ -2455,6 +2577,9 @@ "smithy.api#documentation": "The unique identifier for the disabled user account.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#DisassociateUserFromPermissionGroup": { @@ -2521,6 +2646,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.finspacedata#DisassociateUserFromPermissionGroupResponse": { @@ -2534,6 +2662,9 @@ "smithy.api#httpResponseCode": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#Email": { @@ -2605,6 +2736,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.finspacedata#EnableUserResponse": { @@ -2616,46 +2750,65 @@ "smithy.api#documentation": "The unique identifier for the enabled user account.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#ErrorCategory": { - "type": "string", - "traits": { - "smithy.api#documentation": "Changeset Error Category", - "smithy.api#enum": [ - { - "value": "VALIDATION", - "name": "VALIDATION" - }, - { - "value": "SERVICE_QUOTA_EXCEEDED", - "name": "SERVICE_QUOTA_EXCEEDED" - }, - { - "value": "ACCESS_DENIED", - "name": "ACCESS_DENIED" - }, - { - "value": "RESOURCE_NOT_FOUND", - "name": "RESOURCE_NOT_FOUND" - }, - { - "value": "THROTTLING", - "name": "THROTTLING" - }, - { - "value": "INTERNAL_SERVICE_EXCEPTION", - "name": "INTERNAL_SERVICE_EXCEPTION" - }, - { - "value": "CANCELLED", - "name": "CANCELLED" - }, - { - "value": "USER_RECOVERABLE", - "name": "USER_RECOVERABLE" + "type": "enum", + "members": { + "VALIDATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VALIDATION" + } + }, + "SERVICE_QUOTA_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SERVICE_QUOTA_EXCEEDED" + } + }, + "ACCESS_DENIED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACCESS_DENIED" + } + }, + "RESOURCE_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESOURCE_NOT_FOUND" + } + }, + "THROTTLING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "THROTTLING" + } + }, + "INTERNAL_SERVICE_EXCEPTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERNAL_SERVICE_EXCEPTION" + } + }, + "CANCELLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANCELLED" + } + }, + "USER_RECOVERABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "USER_RECOVERABLE" } - ] + } + }, + "traits": { + "smithy.api#documentation": "Changeset Error Category" } }, "com.amazonaws.finspacedata#ErrorMessage": { @@ -2672,19 +2825,23 @@ "type": "string" }, "com.amazonaws.finspacedata#ExportFileFormat": { - "type": "string", - "traits": { - "smithy.api#documentation": "Data View Export File Format", - "smithy.api#enum": [ - { - "value": "PARQUET", - "name": "PARQUET" - }, - { - "value": "DELIMITED_TEXT", - "name": "DELIMITED_TEXT" + "type": "enum", + "members": { + "PARQUET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PARQUET" + } + }, + "DELIMITED_TEXT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELIMITED_TEXT" } - ] + } + }, + "traits": { + "smithy.api#documentation": "Data View Export File Format" } }, "com.amazonaws.finspacedata#FirstName": { @@ -2768,7 +2925,8 @@ } }, "traits": { - "smithy.api#documentation": "Request to describe a changeset." + "smithy.api#documentation": "Request to describe a changeset.", + "smithy.api#input": {} } }, "com.amazonaws.finspacedata#GetChangesetResponse": { @@ -2857,7 +3015,8 @@ } }, "traits": { - "smithy.api#documentation": "The response from a describe changeset operation" + "smithy.api#documentation": "The response from a describe changeset operation", + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#GetDataView": { @@ -2915,7 +3074,8 @@ } }, "traits": { - "smithy.api#documentation": "Request for retrieving a data view detail. Grouped / accessible within a dataset by its dataset id." + "smithy.api#documentation": "Request for retrieving a data view detail. Grouped / accessible within a dataset by its dataset id.", + "smithy.api#input": {} } }, "com.amazonaws.finspacedata#GetDataViewResponse": { @@ -2994,12 +3154,13 @@ "status": { "target": "com.amazonaws.finspacedata#DataViewStatus", "traits": { - "smithy.api#documentation": "The status of a Dataview creation.
\n\n RUNNING
– Dataview creation is running.
\n STARTING
– Dataview creation is starting.
\n FAILED
– Dataview creation has failed.
\n CANCELLED
– Dataview creation has been cancelled.
\n TIMEOUT
– Dataview creation has timed out.
\n SUCCESS
– Dataview creation has succeeded.
\n PENDING
– Dataview creation is pending.
\n FAILED_CLEANUP_FAILED
– Dataview creation failed and resource cleanup failed.
The status of a Dataview creation.
\n\n RUNNING
– Dataview creation is running.
\n STARTING
– Dataview creation is starting.
\n FAILED
– Dataview creation has failed.
\n CANCELLED
– Dataview creation has been cancelled.
\n TIMEOUT
– Dataview creation has timed out.
\n SUCCESS
– Dataview creation has succeeded.
\n PENDING
– Dataview creation is pending.
\n FAILED_CLEANUP_FAILED
– Dataview creation failed and resource cleanup failed.
The location where the external Dataview is stored.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#GetPermissionGroup": { @@ -3242,6 +3411,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.finspacedata#GetPermissionGroupResponse": { @@ -3250,6 +3422,9 @@ "permissionGroup": { "target": "com.amazonaws.finspacedata#PermissionGroup" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#GetProgrammaticAccessCredentials": { @@ -3304,7 +3479,8 @@ } }, "traits": { - "smithy.api#documentation": "Request for GetProgrammaticAccessCredentials operation" + "smithy.api#documentation": "Request for GetProgrammaticAccessCredentials operation", + "smithy.api#input": {} } }, "com.amazonaws.finspacedata#GetProgrammaticAccessCredentialsResponse": { @@ -3325,7 +3501,8 @@ } }, "traits": { - "smithy.api#documentation": "Response for GetProgrammaticAccessCredentials operation" + "smithy.api#documentation": "Response for GetProgrammaticAccessCredentials operation", + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#GetUser": { @@ -3373,6 +3550,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.finspacedata#GetUserResponse": { @@ -3461,6 +3641,9 @@ "smithy.api#documentation": "Describes the last time that the user logged into their account. The value is determined as epoch time in milliseconds.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#GetWorkingLocation": { @@ -3503,6 +3686,9 @@ "smithy.api#documentation": "Specify the type of the working location.
\n\n SAGEMAKER
– Use the Amazon S3 location as a temporary location to store data content when\n working with FinSpace Notebooks that run on SageMaker studio.
\n INGESTION
– Use the Amazon S3 location as a staging location to copy your\n data content and then use the location with the Changeset creation operation.
Returns the Amazon S3 bucket name for the working location.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#IdType": { @@ -3538,31 +3727,41 @@ } }, "com.amazonaws.finspacedata#IngestionStatus": { - "type": "string", - "traits": { - "smithy.api#documentation": "Status of the ingestion process returned from scheduler service.", - "smithy.api#enum": [ - { - "value": "PENDING", - "name": "PENDING" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "SUCCESS", - "name": "SUCCESS" - }, - { - "value": "RUNNING", - "name": "RUNNING" - }, - { - "value": "STOP_REQUESTED", - "name": "STOP_REQUESTED" + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCESS" + } + }, + "RUNNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RUNNING" } - ] + }, + "STOP_REQUESTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STOP_REQUESTED" + } + } + }, + "traits": { + "smithy.api#documentation": "Status of the ingestion process returned from scheduler service." } }, "com.amazonaws.finspacedata#InternalServerException": { @@ -3673,7 +3872,8 @@ } }, "traits": { - "smithy.api#documentation": "Request to ListChangesetsRequest. It exposes minimal query filters." + "smithy.api#documentation": "Request to ListChangesetsRequest. It exposes minimal query filters.", + "smithy.api#input": {} } }, "com.amazonaws.finspacedata#ListChangesetsResponse": { @@ -3693,7 +3893,8 @@ } }, "traits": { - "smithy.api#documentation": "Response to ListChangesetsResponse. This returns a list of dataset changesets that match the query criteria." + "smithy.api#documentation": "Response to ListChangesetsResponse. This returns a list of dataset changesets that match the query criteria.", + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#ListDataViews": { @@ -3764,7 +3965,8 @@ } }, "traits": { - "smithy.api#documentation": "Request for a list data views." + "smithy.api#documentation": "Request for a list data views.", + "smithy.api#input": {} } }, "com.amazonaws.finspacedata#ListDataViewsResponse": { @@ -3782,6 +3984,9 @@ "smithy.api#documentation": "A list of Dataviews.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#ListDatasets": { @@ -3844,7 +4049,8 @@ } }, "traits": { - "smithy.api#documentation": "Request for the ListDatasets operation." + "smithy.api#documentation": "Request for the ListDatasets operation.", + "smithy.api#input": {} } }, "com.amazonaws.finspacedata#ListDatasetsResponse": { @@ -3864,7 +4070,8 @@ } }, "traits": { - "smithy.api#documentation": "Response for the ListDatasets operation" + "smithy.api#documentation": "Response for the ListDatasets operation", + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#ListPermissionGroups": { @@ -3965,6 +4172,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.finspacedata#ListPermissionGroupsByUserResponse": { @@ -3982,6 +4192,9 @@ "smithy.api#documentation": "A token that indicates where a results page should begin.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#ListPermissionGroupsRequest": { @@ -4003,6 +4216,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.finspacedata#ListPermissionGroupsResponse": { @@ -4020,6 +4236,9 @@ "smithy.api#documentation": "A token that indicates where a results page should begin.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#ListUsers": { @@ -4120,6 +4339,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.finspacedata#ListUsersByPermissionGroupResponse": { @@ -4137,6 +4359,9 @@ "smithy.api#documentation": "A token that indicates where a results page should begin.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#ListUsersRequest": { @@ -4158,6 +4383,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.finspacedata#ListUsersResponse": { @@ -4175,6 +4403,9 @@ "smithy.api#documentation": "A token that indicates where a results page should begin.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#OwnerName": { @@ -4323,22 +4554,26 @@ } }, "com.amazonaws.finspacedata#PermissionGroupMembershipStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ADDITION_IN_PROGRESS", - "name": "ADDITION_IN_PROGRESS" - }, - { - "value": "ADDITION_SUCCESS", - "name": "ADDITION_SUCCESS" - }, - { - "value": "REMOVAL_IN_PROGRESS", - "name": "REMOVAL_IN_PROGRESS" + "type": "enum", + "members": { + "ADDITION_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ADDITION_IN_PROGRESS" + } + }, + "ADDITION_SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ADDITION_SUCCESS" + } + }, + "REMOVAL_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REMOVAL_IN_PROGRESS" } - ] + } } }, "com.amazonaws.finspacedata#PermissionGroupName": { @@ -4438,6 +4673,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.finspacedata#ResetUserPasswordResponse": { @@ -4455,6 +4693,9 @@ "smithy.api#documentation": "A randomly generated temporary password for the requested user account. This password expires in 7 days.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#ResourceNotFoundException": { @@ -4800,13 +5041,14 @@ "formatParams": { "target": "com.amazonaws.finspacedata#FormatParams", "traits": { - "smithy.api#documentation": "Options that define the structure of the source file(s) including the format type (formatType
), header row (withHeader
), data separation character (separator
) and the type of compression (compression
).\n
\n formatType
is a required attribute and can have the following values:\n
\n PARQUET
– Parquet source file format.
\n CSV
– CSV source file format.
\n JSON
– JSON source file format.
\n XML
– XML source file format.
Here is an example of how you could specify the formatParams
:
\n \n \"formatParams\": \n {\n \"formatType\": \"CSV\",\n \"withHeader\": \"true\",\n \"separator\": \",\",\n \"compression\":\"None\"\n } \n
\n
Note that if you only provide formatType
as CSV
, the rest of the attributes will automatically default to CSV values as following:
\n \n {\n \"withHeader\": \"true\",\n \"separator\": \",\"\n }\n
\n
For more information about supported file formats, see Supported Data Types and File Formats in the FinSpace User Guide.
", + "smithy.api#documentation": "Options that define the structure of the source file(s) including the format type (formatType
), header row (withHeader
), data separation character (separator
) and the type of compression (compression
).\n
\n formatType
is a required attribute and can have the following values:\n
\n PARQUET
– Parquet source file format.
\n CSV
– CSV source file format.
\n JSON
– JSON source file format.
\n XML
– XML source file format.
Here is an example of how you could specify the formatParams
:
\n \n \"formatParams\": \n {\n \"formatType\": \"CSV\",\n \"withHeader\": \"true\",\n \"separator\": \",\",\n \"compression\":\"None\"\n } \n
\n
Note that if you only provide formatType
as CSV
, the rest of the attributes will automatically default to CSV values as following:
\n \n {\n \"withHeader\": \"true\",\n \"separator\": \",\"\n }\n
\n
For more information about supported file formats, see Supported Data Types and File Formats in the FinSpace User Guide.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "Request to update an existing changeset." + "smithy.api#documentation": "Request to update an existing changeset.", + "smithy.api#input": {} } }, "com.amazonaws.finspacedata#UpdateChangesetResponse": { @@ -4826,7 +5068,8 @@ } }, "traits": { - "smithy.api#documentation": "The response from a update changeset operation." + "smithy.api#documentation": "The response from a update changeset operation.", + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#UpdateDataset": { @@ -4918,7 +5161,8 @@ } }, "traits": { - "smithy.api#documentation": "The request for an UpdateDataset operation" + "smithy.api#documentation": "The request for an UpdateDataset operation", + "smithy.api#input": {} } }, "com.amazonaws.finspacedata#UpdateDatasetResponse": { @@ -4932,7 +5176,8 @@ } }, "traits": { - "smithy.api#documentation": "The response from an UpdateDataset operation" + "smithy.api#documentation": "The response from an UpdateDataset operation", + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#UpdatePermissionGroup": { @@ -5008,6 +5253,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.finspacedata#UpdatePermissionGroupResponse": { @@ -5019,6 +5267,9 @@ "smithy.api#documentation": "The unique identifier for the updated permission group.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#UpdateUser": { @@ -5106,6 +5357,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.finspacedata#UpdateUserResponse": { @@ -5117,6 +5371,9 @@ "smithy.api#documentation": "The unique identifier of the updated user account.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.finspacedata#User": { @@ -5295,37 +5552,43 @@ } }, "com.amazonaws.finspacedata#UserStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "type": "enum", + "members": { + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" } - ] + } } }, "com.amazonaws.finspacedata#UserType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SUPER_USER", - "name": "SUPER_USER" - }, - { - "value": "APP_USER", - "name": "APP_USER" + "type": "enum", + "members": { + "SUPER_USER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUPER_USER" + } + }, + "APP_USER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "APP_USER" } - ] + } } }, "com.amazonaws.finspacedata#ValidationException": { @@ -5345,18 +5608,20 @@ } }, "com.amazonaws.finspacedata#locationType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INGESTION", - "name": "INGESTION" - }, - { - "value": "SAGEMAKER", - "name": "SAGEMAKER" + "type": "enum", + "members": { + "INGESTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INGESTION" } - ] + }, + "SAGEMAKER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SAGEMAKER" + } + } } }, "com.amazonaws.finspacedata#stringValueLength1to1024": { diff --git a/codegen/sdk-codegen/aws-models/fis.json b/codegen/sdk-codegen/aws-models/fis.json index 523592f8894..ef0adce9d2c 100644 --- a/codegen/sdk-codegen/aws-models/fis.json +++ b/codegen/sdk-codegen/aws-models/fis.json @@ -1971,52 +1971,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", @@ -2024,13 +2028,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -2040,92 +2053,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://fis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://fis-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -2134,155 +2138,115 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws-us-gov", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsFIPS" + "name" ] } ] } ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://fis.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [], - "endpoint": { - "url": "https://fis-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "endpoint": { + "url": "https://fis.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://fis-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://fis.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://fis.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://fis.{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://fis.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -2297,8 +2261,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2310,8 +2274,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2323,8 +2287,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2336,8 +2300,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2349,8 +2313,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2362,8 +2326,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2375,8 +2339,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2388,8 +2352,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2401,8 +2365,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2414,8 +2378,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2427,8 +2391,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2440,8 +2404,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2453,8 +2417,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2466,8 +2430,19 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "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 } }, { @@ -2479,8 +2454,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 } }, { @@ -2492,8 +2478,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -2505,8 +2502,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 } }, { @@ -2518,8 +2526,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2531,8 +2539,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2544,8 +2552,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2556,8 +2564,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2568,10 +2576,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" diff --git a/codegen/sdk-codegen/aws-models/fms.json b/codegen/sdk-codegen/aws-models/fms.json index 115d33232da..69f08090654 100644 --- a/codegen/sdk-codegen/aws-models/fms.json +++ b/codegen/sdk-codegen/aws-models/fms.json @@ -250,52 +250,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", @@ -303,13 +307,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -319,224 +332,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://fms-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://fms-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": [ { "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": [], - "endpoint": { - "url": "https://fms-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://fms-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://fms.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://fms.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://fms.{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://fms.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/forecast.json b/codegen/sdk-codegen/aws-models/forecast.json index 350df27a9ea..5b16ba68659 100644 --- a/codegen/sdk-codegen/aws-models/forecast.json +++ b/codegen/sdk-codegen/aws-models/forecast.json @@ -359,52 +359,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", @@ -412,13 +416,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -428,224 +441,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://forecast-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://forecast-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": [ { "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": [], - "endpoint": { - "url": "https://forecast-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://forecast-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://forecast.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://forecast.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://forecast.{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://forecast.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -660,8 +624,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -673,8 +637,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -686,8 +650,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -699,8 +663,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -712,8 +676,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -725,8 +689,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -738,8 +702,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -751,8 +715,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -764,8 +728,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -777,8 +741,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -790,8 +754,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -803,8 +767,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -816,8 +780,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -829,8 +793,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -842,8 +806,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -855,8 +819,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -868,8 +832,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -881,8 +845,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -894,8 +858,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -907,8 +871,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -920,8 +884,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -933,8 +897,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -946,8 +910,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -959,8 +934,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 } }, { @@ -972,8 +958,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -985,8 +982,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 } }, { @@ -998,8 +1006,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1011,8 +1019,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1024,8 +1032,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1036,8 +1044,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1048,10 +1056,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" @@ -1440,6 +1454,9 @@ "smithy.api#documentation": "The time boundary Forecast uses to align and aggregate any data that doesn't align with your forecast frequency. Provide the unit of time and the time boundary as a key value pair. \n For more information on specifying a time boundary, see Specifying a Time Boundary.\n If you\n don't provide a time boundary, Forecast uses a set of Default Time Boundaries.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#CreateAutoPredictorResponse": { @@ -1451,6 +1468,9 @@ "smithy.api#documentation": "The Amazon Resource Name (ARN) of the predictor.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#CreateDataset": { @@ -1534,6 +1554,9 @@ "smithy.api#documentation": "The optional metadata that you apply to the dataset group to help you categorize and\n organize them. Each tag consists of a key and an optional value, both of which you\n define.
\nThe following basic restrictions apply to tags:
\nMaximum number of tags per resource - 50.
\nFor each resource, each tag key must be unique, and each tag key can have only one\n value.
\nMaximum key length - 128 Unicode characters in UTF-8.
\nMaximum value length - 256 Unicode characters in UTF-8.
\nIf your tagging schema is used across multiple services and resources, remember that\n other services may have restrictions on allowed characters. Generally allowed characters\n are: letters, numbers, and spaces representable in UTF-8, and the following characters: +\n - = . _ : / @.
\nTag keys and values are case sensitive.
\nDo not use aws:
, AWS:
, or any upper or lowercase combination\n of such as a prefix for keys as it is reserved for Amazon Web Services use. You cannot edit or delete tag\n keys with this prefix. Values can have this prefix. If a tag value has aws
as\n its prefix but the key does not, then Forecast considers it to be a user tag and will\n count against the limit of 50 tags. Tags with only the key prefix of aws
do\n not count against your tags per resource limit.
The Amazon Resource Name (ARN) of the dataset group.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#CreateDatasetImportJob": { @@ -1643,6 +1669,9 @@ "smithy.api#documentation": "Specifies whether the dataset import job is a FULL
or INCREMENTAL
import. A FULL
dataset import replaces all of the existing data with the newly imported data. An INCREMENTAL
import appends the imported data to the existing data.
The Amazon Resource Name (ARN) of the dataset import job.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#CreateDatasetRequest": { @@ -1705,6 +1737,9 @@ "smithy.api#documentation": "The optional metadata that you apply to the dataset to help you categorize and organize\n them. Each tag consists of a key and an optional value, both of which you define.
\nThe following basic restrictions apply to tags:
\nMaximum number of tags per resource - 50.
\nFor each resource, each tag key must be unique, and each tag key can have only one\n value.
\nMaximum key length - 128 Unicode characters in UTF-8.
\nMaximum value length - 256 Unicode characters in UTF-8.
\nIf your tagging schema is used across multiple services and resources, remember that\n other services may have restrictions on allowed characters. Generally allowed characters\n are: letters, numbers, and spaces representable in UTF-8, and the following characters: +\n - = . _ : / @.
\nTag keys and values are case sensitive.
\nDo not use aws:
, AWS:
, or any upper or lowercase combination\n of such as a prefix for keys as it is reserved for Amazon Web Services use. You cannot edit or delete tag\n keys with this prefix. Values can have this prefix. If a tag value has aws
as\n its prefix but the key does not, then Forecast considers it to be a user tag and will\n count against the limit of 50 tags. Tags with only the key prefix of aws
do\n not count against your tags per resource limit.
The Amazon Resource Name (ARN) of the dataset.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#CreateExplainability": { @@ -1811,6 +1849,9 @@ "smithy.api#documentation": "The format of the exported data, CSV or PARQUET.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#CreateExplainabilityExportResponse": { @@ -1822,6 +1863,9 @@ "smithy.api#documentation": "The Amazon Resource Name (ARN) of the export.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#CreateExplainabilityRequest": { @@ -1878,6 +1922,9 @@ "smithy.api#documentation": "Optional metadata to help you categorize and organize your resources. Each tag\n consists of a key and an optional value, both of which you define. Tag keys and values\n are case sensitive.
\nThe following restrictions apply to tags:
\nFor each resource, each tag key must be unique and each tag key must have one\n value.
\nMaximum number of tags per resource: 50.
\nMaximum key length: 128 Unicode characters in UTF-8.
\nMaximum value length: 256 Unicode characters in UTF-8.
\nAccepted characters: all letters and numbers, spaces representable in UTF-8,\n and + - = . _ : / @. If your tagging schema is used across other services and\n resources, the character restrictions of those services also apply.
\nKey prefixes cannot include any upper or lowercase combination of\n aws:
or AWS:
. Values can have this prefix. If a\n tag value has aws
as its prefix but the key does not, Forecast\n considers it to be a user tag and will count against the limit of 50 tags. Tags\n with only the key prefix of aws
do not count against your tags per\n resource limit. You cannot edit or delete tag keys with this prefix.
The Amazon Resource Name (ARN) of the Explainability.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#CreateForecast": { @@ -1985,6 +2035,9 @@ "smithy.api#documentation": "The format of the exported data, CSV or PARQUET. The default value is CSV.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#CreateForecastExportJobResponse": { @@ -1996,6 +2049,9 @@ "smithy.api#documentation": "The Amazon Resource Name (ARN) of the export job.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#CreateForecastRequest": { @@ -2033,6 +2089,9 @@ "smithy.api#documentation": "Defines the set of time series that are used to create the forecasts in a TimeSeriesIdentifiers
object.
The TimeSeriesIdentifiers
object needs the following information:
\n DataSource
\n
\n Format
\n
\n Schema
\n
The Amazon Resource Name (ARN) of the forecast.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#CreateMonitor": { @@ -2098,6 +2160,9 @@ "smithy.api#documentation": "A list of tags to apply to the monitor resource.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#CreateMonitorResponse": { @@ -2109,6 +2174,9 @@ "smithy.api#documentation": "The Amazon Resource Name (ARN) of the monitor resource.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#CreatePredictor": { @@ -2204,6 +2272,9 @@ "smithy.api#documentation": "The format of the exported data, CSV or PARQUET. The default value is CSV.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#CreatePredictorBacktestExportJobResponse": { @@ -2215,6 +2286,9 @@ "smithy.api#documentation": "The Amazon Resource Name (ARN) of the predictor backtest export job that you want to\n export.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#CreatePredictorRequest": { @@ -2314,6 +2388,9 @@ "smithy.api#documentation": "The accuracy metric used to optimize the predictor.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#CreatePredictorResponse": { @@ -2325,6 +2402,9 @@ "smithy.api#documentation": "The Amazon Resource Name (ARN) of the predictor.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#CreateWhatIfAnalysis": { @@ -2385,6 +2465,9 @@ "smithy.api#documentation": "A list of tags to apply to the what if forecast.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#CreateWhatIfAnalysisResponse": { @@ -2396,6 +2479,9 @@ "smithy.api#documentation": "The Amazon Resource Name (ARN) of the what-if analysis.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#CreateWhatIfForecast": { @@ -2492,6 +2578,9 @@ "smithy.api#documentation": "The format of the exported data, CSV or PARQUET.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#CreateWhatIfForecastExportResponse": { @@ -2503,6 +2592,9 @@ "smithy.api#documentation": "The Amazon Resource Name (ARN) of the what-if forecast.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#CreateWhatIfForecastRequest": { @@ -2540,6 +2632,9 @@ "smithy.api#documentation": "A list of tags to apply to the what if forecast.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#CreateWhatIfForecastResponse": { @@ -2551,6 +2646,9 @@ "smithy.api#documentation": "The Amazon Resource Name (ARN) of the what-if forecast.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#DataConfig": { @@ -2897,6 +2995,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#DeleteDatasetImportJob": { @@ -2933,6 +3034,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#DeleteDatasetRequest": { @@ -2945,6 +3049,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#DeleteExplainability": { @@ -3005,6 +3112,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#DeleteExplainabilityRequest": { @@ -3017,6 +3127,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#DeleteForecast": { @@ -3077,6 +3190,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#DeleteForecastRequest": { @@ -3089,6 +3205,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#DeleteMonitor": { @@ -3125,6 +3244,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#DeletePredictor": { @@ -3185,6 +3307,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#DeletePredictorRequest": { @@ -3197,6 +3322,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#DeleteResourceTree": { @@ -3233,6 +3361,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#DeleteWhatIfAnalysis": { @@ -3269,6 +3400,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#DeleteWhatIfForecast": { @@ -3329,6 +3463,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#DeleteWhatIfForecastRequest": { @@ -3341,6 +3478,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#DescribeAutoPredictor": { @@ -3374,6 +3514,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#DescribeAutoPredictorResponse": { @@ -3490,6 +3633,9 @@ "smithy.api#documentation": "The time boundary Forecast uses when aggregating data.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#DescribeDataset": { @@ -3544,6 +3690,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#DescribeDatasetGroupResponse": { @@ -3591,6 +3740,9 @@ "smithy.api#documentation": "When the dataset group was created or last updated from a call to the UpdateDatasetGroup operation. While the dataset group is being updated,\n LastModificationTime
is the current time of the\n DescribeDatasetGroup
call.
The import mode of the dataset import job, FULL or INCREMENTAL.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#DescribeDatasetRequest": { @@ -3744,6 +3902,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#DescribeDatasetResponse": { @@ -3809,6 +3970,9 @@ "smithy.api#documentation": "When you create a dataset, LastModificationTime
is the same as\n CreationTime
. While data is being imported to the dataset,\n LastModificationTime
is the current time of the DescribeDataset
\n call. After a CreateDatasetImportJob\n operation has finished, LastModificationTime
is when the import job completed or\n failed.
The format of the exported data, CSV or PARQUET.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#DescribeExplainabilityRequest": { @@ -3931,6 +4101,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#DescribeExplainabilityResponse": { @@ -4014,6 +4187,9 @@ "smithy.api#documentation": "The last time the resource was modified. The timestamp depends on the status of the\n job:
\n\n CREATE_PENDING
- The CreationTime
.
\n CREATE_IN_PROGRESS
- The current timestamp.
\n CREATE_STOPPING
- The current timestamp.
\n CREATE_STOPPED
- When the job stopped.
\n ACTIVE
or CREATE_FAILED
- When the job finished or\n failed.
The format of the exported data, CSV or PARQUET.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#DescribeForecastRequest": { @@ -4139,6 +4321,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#DescribeForecastResponse": { @@ -4210,6 +4395,9 @@ "smithy.api#documentation": "The time series to include in the forecast.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#DescribeMonitor": { @@ -4243,6 +4431,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#DescribeMonitorResponse": { @@ -4314,6 +4505,9 @@ "smithy.api#documentation": "The estimated number of minutes remaining before the monitor resource finishes its current evaluation.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#DescribePredictor": { @@ -4368,6 +4562,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#DescribePredictorBacktestExportJobResponse": { @@ -4424,6 +4621,9 @@ "smithy.api#documentation": "The format of the exported data, CSV or PARQUET.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#DescribePredictorRequest": { @@ -4436,6 +4636,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#DescribePredictorResponse": { @@ -4585,6 +4788,9 @@ "smithy.api#documentation": "The accuracy metric used to optimize the predictor.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#DescribeWhatIfAnalysis": { @@ -4618,6 +4824,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#DescribeWhatIfAnalysisResponse": { @@ -4674,6 +4883,9 @@ "TimeSeriesSelector": { "target": "com.amazonaws.forecast#TimeSeriesSelector" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#DescribeWhatIfForecast": { @@ -4728,6 +4940,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#DescribeWhatIfForecastExportResponse": { @@ -4790,6 +5005,9 @@ "smithy.api#documentation": "The format of the exported data, CSV or PARQUET.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#DescribeWhatIfForecastRequest": { @@ -4802,6 +5020,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#DescribeWhatIfForecastResponse": { @@ -4873,6 +5094,9 @@ "smithy.api#documentation": "The quantiles at which probabilistic forecasts are generated. You can specify up to five quantiles per what-if\n forecast in the CreateWhatIfForecast operation. If you didn't specify quantiles, the default\n values are [\"0.1\", \"0.5\", \"0.9\"]
.
The accuracy metric used to optimize the predictor.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#Hour": { @@ -5858,6 +6088,9 @@ "smithy.api#documentation": "The number of items to return in the response.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#ListDatasetGroupsResponse": { @@ -5875,6 +6108,9 @@ "smithy.api#documentation": "If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of\n results, use the token in the next request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#ListDatasetImportJobs": { @@ -5925,6 +6161,9 @@ "smithy.api#documentation": "An array of filters. For each filter, you provide a condition and a match statement. The\n condition is either IS
or IS_NOT
, which specifies whether to include\n or exclude the datasets that match the statement from the list, respectively. The match\n statement consists of a key and a value.
\n Filter properties\n
\n\n Condition
- The condition to apply. Valid values are IS
and\n IS_NOT
. To include the datasets that match the statement, specify\n IS
. To exclude matching datasets, specify IS_NOT
.
\n Key
- The name of the parameter to filter on. Valid values are\n DatasetArn
and Status
.
\n Value
- The value to match.
For example, to list all dataset import jobs whose status is ACTIVE, you specify the\n following filter:
\n\n \"Filters\": [ { \"Condition\": \"IS\", \"Key\": \"Status\", \"Value\": \"ACTIVE\" } ]
\n
If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of\n results, use the token in the next request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#ListDatasets": { @@ -5983,6 +6225,9 @@ "smithy.api#documentation": "The number of items to return in the response.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#ListDatasetsResponse": { @@ -6000,6 +6245,9 @@ "smithy.api#documentation": "If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of\n results, use the token in the next request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#ListExplainabilities": { @@ -6050,6 +6298,9 @@ "smithy.api#documentation": "An array of filters. For each filter, provide a condition and a match statement. The\n condition is either IS
or IS_NOT
, which specifies whether to\n include or exclude the resources that match the statement from the list. The match\n statement consists of a key and a value.
\n Filter properties\n
\n\n Condition
- The condition to apply. Valid values are\n IS
and IS_NOT
.
\n Key
- The name of the parameter to filter on. Valid values are\n ResourceArn
and Status
.
\n Value
- The value to match.
Returns this token if the response is truncated. To retrieve the next set of results,\n use the token in the next request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#ListExplainabilityExports": { @@ -6117,6 +6371,9 @@ "smithy.api#documentation": "An array of filters. For each filter, provide a condition and a match statement. The\n condition is either IS
or IS_NOT
, which specifies whether to\n include or exclude resources that match the statement from the list. The match statement\n consists of a key and a value.
\n Filter properties\n
\n\n Condition
- The condition to apply. Valid values are\n IS
and IS_NOT
.
\n Key
- The name of the parameter to filter on. Valid values are\n ResourceArn
and Status
.
\n Value
- The value to match.
Returns this token if the response is truncated. To retrieve the next set of results,\n use the token in the next request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#ListForecastExportJobs": { @@ -6184,6 +6444,9 @@ "smithy.api#documentation": "An array of filters. For each filter, you provide a condition and a match statement. The\n condition is either IS
or IS_NOT
, which specifies whether to include\n or exclude the forecast export jobs that match the statement from the list, respectively. The\n match statement consists of a key and a value.
\n Filter properties\n
\n\n Condition
- The condition to apply. Valid values are IS
and\n IS_NOT
. To include the forecast export jobs that match the statement,\n specify IS
. To exclude matching forecast export jobs, specify\n IS_NOT
.
\n Key
- The name of the parameter to filter on. Valid values are\n ForecastArn
and Status
.
\n Value
- The value to match.
For example, to list all jobs that export a forecast named\n electricityforecast, specify the following filter:
\n\n \"Filters\": [ { \"Condition\": \"IS\", \"Key\": \"ForecastArn\", \"Value\":\n \"arn:aws:forecast:us-west-2:
\n
If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of\n results, use the token in the next request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#ListForecasts": { @@ -6251,6 +6517,9 @@ "smithy.api#documentation": "An array of filters. For each filter, you provide a condition and a match statement. The\n condition is either IS
or IS_NOT
, which specifies whether to include\n or exclude the forecasts that match the statement from the list, respectively. The match\n statement consists of a key and a value.
\n Filter properties\n
\n\n Condition
- The condition to apply. Valid values are IS
and\n IS_NOT
. To include the forecasts that match the statement, specify\n IS
. To exclude matching forecasts, specify IS_NOT
.
\n Key
- The name of the parameter to filter on. Valid values are\n DatasetGroupArn
, PredictorArn
, and Status
.
\n Value
- The value to match.
For example, to list all forecasts whose status is not ACTIVE, you would specify:
\n\n \"Filters\": [ { \"Condition\": \"IS_NOT\", \"Key\": \"Status\", \"Value\": \"ACTIVE\" }\n ]
\n
If the response is truncated, Amazon Forecast returns this token. To retrieve the next set\n of results, use the token in the next request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#ListMonitorEvaluations": { @@ -6328,6 +6600,9 @@ "smithy.api#documentation": "An array of filters. For each filter, provide a condition and a match statement. The\n condition is either IS
or IS_NOT
, which specifies whether to\n include or exclude the resources that match the statement from the list. The match\n statement consists of a key and a value.
\n Filter properties\n
\n\n Condition
- The condition to apply. Valid values are\n IS
and IS_NOT
.
\n Key
- The name of the parameter to filter on. The only valid value is \n EvaluationState
.
\n Value
- The value to match. Valid values are only SUCCESS
or FAILURE
.
For example, to list only successful monitor evaluations, you would specify:
\n\n \"Filters\": [ { \"Condition\": \"IS\", \"Key\": \"EvaluationState\", \"Value\": \"SUCCESS\" } ]
\n
The monitoring results and predictor events collected by the monitor resource during different windows of time.
\nFor information about monitoring see Viewing Monitoring Results. For more information about retrieving monitoring results see Viewing Monitoring Results.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#ListMonitors": { @@ -6395,6 +6673,9 @@ "smithy.api#documentation": "An array of filters. For each filter, provide a condition and a match statement. The\n condition is either IS
or IS_NOT
, which specifies whether to\n include or exclude the resources that match the statement from the list. The match\n statement consists of a key and a value.
\n Filter properties\n
\n\n Condition
- The condition to apply. Valid values are\n IS
and IS_NOT
.
\n Key
- The name of the parameter to filter on. The only valid value is \n Status
.
\n Value
- The value to match.
For example, to list all monitors who's status is ACTIVE, you would specify:
\n\n \"Filters\": [ { \"Condition\": \"IS\", \"Key\": \"Status\", \"Value\": \"ACTIVE\" } ]
\n
If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of\n results, use the token in the next request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#ListPredictorBacktestExportJobs": { @@ -6462,6 +6746,9 @@ "smithy.api#documentation": "An array of filters. For each filter, provide a condition and a match statement. The\n condition is either IS
or IS_NOT
, which specifies whether to\n include or exclude the predictor backtest export jobs that match the statement from the\n list. The match statement consists of a key and a value.
\n Filter properties\n
\n\n Condition
- The condition to apply. Valid values are\n IS
and IS_NOT
. To include the predictor backtest\n export jobs that match the statement, specify IS
. To exclude\n matching predictor backtest export jobs, specify IS_NOT
.
\n Key
- The name of the parameter to filter on. Valid values are\n PredictorArn
and Status
.
\n Value
- The value to match.
Returns this token if the response is truncated. To retrieve the next set of results,\n use the token in the next request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#ListPredictors": { @@ -6529,6 +6819,9 @@ "smithy.api#documentation": "An array of filters. For each filter, you provide a condition and a match statement. The\n condition is either IS
or IS_NOT
, which specifies whether to include\n or exclude the predictors that match the statement from the list, respectively. The match\n statement consists of a key and a value.
\n Filter properties\n
\n\n Condition
- The condition to apply. Valid values are IS
and\n IS_NOT
. To include the predictors that match the statement, specify\n IS
. To exclude matching predictors, specify IS_NOT
.
\n Key
- The name of the parameter to filter on. Valid values are\n DatasetGroupArn
and Status
.
\n Value
- The value to match.
For example, to list all predictors whose status is ACTIVE, you would specify:
\n\n \"Filters\": [ { \"Condition\": \"IS\", \"Key\": \"Status\", \"Value\": \"ACTIVE\" }\n ]
\n
If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of\n results, use the token in the next request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#ListTagsForResource": { @@ -6578,6 +6874,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.forecast#ListTagsForResourceResponse": { @@ -6589,6 +6888,9 @@ "smithy.api#documentation": "The tags for the resource.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#ListWhatIfAnalyses": { @@ -6639,6 +6941,9 @@ "smithy.api#documentation": "An array of filters. For each filter, you provide a condition and a match statement. The condition is either\n IS
or IS_NOT
, which specifies whether to include or exclude the what-if analysis jobs\n that match the statement from the list, respectively. The match statement consists of a key and a value.
\n Filter properties\n
\n\n Condition
- The condition to apply. Valid values are IS
and\n IS_NOT
. To include the what-if analysis jobs that match the statement, specify IS
.\n To exclude matching what-if analysis jobs, specify IS_NOT
.
\n Key
- The name of the parameter to filter on. Valid values are\n WhatIfAnalysisArn
and Status
.
\n Value
- The value to match.
For example, to list all jobs that export a forecast named\n electricityWhatIf, specify the following filter:
\n\n \"Filters\": [ { \"Condition\": \"IS\", \"Key\": \"WhatIfAnalysisArn\", \"Value\":\n \"arn:aws:forecast:us-west-2:
\n
If the response is truncated, Forecast returns this token. To retrieve the next set of results, use the token in the next request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#ListWhatIfForecastExports": { @@ -6706,6 +7014,9 @@ "smithy.api#documentation": "An array of filters. For each filter, you provide a condition and a match statement. The condition is either\n IS
or IS_NOT
, which specifies whether to include or exclude the what-if forecast\n export jobs that match the statement from the list, respectively. The match statement consists of a key and a\n value.
\n Filter properties\n
\n\n Condition
- The condition to apply. Valid values are IS
and\n IS_NOT
. To include the forecast export jobs that match the statement,\n specify IS
. To exclude matching forecast export jobs, specify\n IS_NOT
.
\n Key
- The name of the parameter to filter on. Valid values are\n WhatIfForecastExportArn
and Status
.
\n Value
- The value to match.
For example, to list all jobs that export a forecast named\n electricityWIFExport, specify the following filter:
\n\n \"Filters\": [ { \"Condition\": \"IS\", \"Key\": \"WhatIfForecastExportArn\", \"Value\":\n \"arn:aws:forecast:us-west-2:
\n
If the response is truncated, Forecast returns this token. To retrieve the next set of results, use the token in the next request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecast#ListWhatIfForecasts": { @@ -6773,6 +7087,9 @@ "smithy.api#documentation": "An array of filters. For each filter, you provide a condition and a match statement. The condition is either\n IS
or IS_NOT
, which specifies whether to include or exclude the what-if forecast\n export jobs that match the statement from the list, respectively. The match statement consists of a key and a\n value.
\n Filter properties\n
\n\n Condition
- The condition to apply. Valid values are IS
and\n IS_NOT
. To include the forecast export jobs that match the statement,\n specify IS
. To exclude matching forecast export jobs, specify\n IS_NOT
.
\n Key
- The name of the parameter to filter on. Valid values are\n WhatIfForecastArn
and Status
.
\n Value
- The value to match.
For example, to list all jobs that export a forecast named\n electricityWhatIfForecast, specify the following filter:
\n\n \"Filters\": [ { \"Condition\": \"IS\", \"Key\": \"WhatIfForecastArn\", \"Value\":\n \"arn:aws:forecast:us-west-2:
\n
If the result of the previous request was truncated, the response includes a NextToken
. To retrieve the next set of results, use the token in the next\u2028 request. Tokens expire after 24 hours.
If the result of the previous request was truncated, the response includes a\n NextToken
. To retrieve the next set of results, use the token in the next\n request. Tokens expire after 24 hours.
The forecast.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.forecastquery#QueryWhatIfForecast": { @@ -1108,6 +1128,9 @@ "smithy.api#documentation": "If the result of the previous request was truncated, the response includes a\n NextToken
. To retrieve the next set of results, use the token in the next\n request. Tokens expire after 24 hours.
\n The BatchCreateTableRows API allows you to create one or more rows at the end of a table in a workbook.\n The API allows you to specify the values to set in some or all of the columns in the new rows.\n
\n\n If a column is not explicitly set in a specific row, then the column level formula specified in the table\n will be applied to the new row. If there is no column level formula but the last row of the table has a\n formula, then that formula will be copied down to the new row. If there is no column level formula and\n no formula in the last row of the table, then that column will be left blank for the new rows.\n
", + "smithy.api#documentation": "\n The BatchCreateTableRows API allows you to create one or more rows at the end of a table in a workbook.\n The API allows you to specify the values to set in some or all of the columns in the new rows.\n
\n\n If a column is not explicitly set in a specific row, then the column level formula specified in the table\n will be applied to the new row. If there is no column level formula but the last row of the table has a\n formula, then that formula will be copied down to the new row. If there is no column level formula and\n no formula in the last row of the table, then that column will be left blank for the new rows.\n
", "smithy.api#http": { "method": "POST", "uri": "/workbooks/{workbookId}/tables/{tableId}/rows/batchcreate", @@ -126,7 +126,7 @@ "workbookId": { "target": "com.amazonaws.honeycode#ResourceId", "traits": { - "smithy.api#documentation": "The ID of the workbook where the new rows are being added.
\n\n If a workbook with the specified ID could not be found, this API throws ResourceNotFoundException.\n
", + "smithy.api#documentation": "The ID of the workbook where the new rows are being added.
\n\n If a workbook with the specified ID could not be found, this API throws ResourceNotFoundException.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -134,7 +134,7 @@ "tableId": { "target": "com.amazonaws.honeycode#ResourceId", "traits": { - "smithy.api#documentation": "The ID of the table where the new rows are being added.
\n\n If a table with the specified ID could not be found, this API throws ResourceNotFoundException.\n
", + "smithy.api#documentation": "The ID of the table where the new rows are being added.
\n\n If a table with the specified ID could not be found, this API throws ResourceNotFoundException.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -142,16 +142,19 @@ "rowsToCreate": { "target": "com.amazonaws.honeycode#CreateRowDataList", "traits": { - "smithy.api#documentation": "\n The list of rows to create at the end of the table. Each item in this list needs to have a batch item id\n to uniquely identify the element in the request and the cells to create for that row.\n You need to specify at least one item in this list.\n
\n\n Note that if one of the column ids in any of the rows in the request does not exist in the table, then the\n request fails and no updates are made to the table.\n
", + "smithy.api#documentation": "\n The list of rows to create at the end of the table. Each item in this list needs to have a batch item id\n to uniquely identify the element in the request and the cells to create for that row.\n You need to specify at least one item in this list.\n
\n\n Note that if one of the column ids in any of the rows in the request does not exist in the table, then the\n request fails and no updates are made to the table.\n
", "smithy.api#required": {} } }, "clientRequestToken": { "target": "com.amazonaws.honeycode#ClientRequestToken", "traits": { - "smithy.api#documentation": "\n The request token for performing the batch create operation.\n Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error\n like a failed network connection, you can retry the call with the same request token. The service ensures\n that if the first call using that request token is successfully performed, the second call will not perform\n the operation again.\n
\n\n Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests\n spanning hours or days.\n
" + "smithy.api#documentation": "\n The request token for performing the batch create operation.\n Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error\n like a failed network connection, you can retry the call with the same request token. The service ensures\n that if the first call using that request token is successfully performed, the second call will not perform\n the operation again.\n
\n\n Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests\n spanning hours or days.\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.honeycode#BatchCreateTableRowsResult": { @@ -178,6 +181,9 @@ "smithy.api#documentation": "\n The list of batch items in the request that could not be added to the table. Each element in this list\n contains one item from the request that could not be added to the table along with the reason why\n that item could not be added.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.honeycode#BatchDeleteTableRows": { @@ -226,7 +232,7 @@ "workbookId": { "target": "com.amazonaws.honeycode#ResourceId", "traits": { - "smithy.api#documentation": "The ID of the workbook where the rows are being deleted.
\n\n If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.\n
", + "smithy.api#documentation": "The ID of the workbook where the rows are being deleted.
\n\n If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -234,7 +240,7 @@ "tableId": { "target": "com.amazonaws.honeycode#ResourceId", "traits": { - "smithy.api#documentation": "The ID of the table where the rows are being deleted.
\n\n If a table with the specified id could not be found, this API throws ResourceNotFoundException.\n
", + "smithy.api#documentation": "The ID of the table where the rows are being deleted.
\n\n If a table with the specified id could not be found, this API throws ResourceNotFoundException.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -242,16 +248,19 @@ "rowIds": { "target": "com.amazonaws.honeycode#RowIdList", "traits": { - "smithy.api#documentation": "\n The list of row ids to delete from the table. You need to specify at least one row id in this list.\n
\n\n Note that if one of the row ids provided in the request does not exist in the table, then the request fails\n and no rows are deleted from the table.\n
", + "smithy.api#documentation": "\n The list of row ids to delete from the table. You need to specify at least one row id in this list.\n
\n\n Note that if one of the row ids provided in the request does not exist in the table, then the request fails\n and no rows are deleted from the table.\n
", "smithy.api#required": {} } }, "clientRequestToken": { "target": "com.amazonaws.honeycode#ClientRequestToken", "traits": { - "smithy.api#documentation": "\n The request token for performing the delete action.\n Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error\n like a failed network connection, you can retry the call with the same request token. The service ensures\n that if the first call using that request token is successfully performed, the second call will not perform\n the action again.\n
\n\n Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests\n spanning hours or days.\n
" + "smithy.api#documentation": "\n The request token for performing the delete action.\n Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error\n like a failed network connection, you can retry the call with the same request token. The service ensures\n that if the first call using that request token is successfully performed, the second call will not perform\n the action again.\n
\n\n Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests\n spanning hours or days.\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.honeycode#BatchDeleteTableRowsResult": { @@ -271,6 +280,9 @@ "smithy.api#documentation": "\n The list of row ids in the request that could not be deleted from the table. Each element in this list\n contains one row id from the request that could not be deleted along with the reason why that item could not\n be deleted.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.honeycode#BatchErrorMessage": { @@ -321,7 +333,7 @@ } ], "traits": { - "smithy.api#documentation": "\n The BatchUpdateTableRows API allows you to update one or more rows in a table in a workbook.\n
\n\n You can specify the values to set in some or all of the columns in the table for the specified\n rows.\n If a column is not explicitly specified in a particular row, then that column will not be updated\n for that row. To clear out the data in a specific cell, you need to set the value as an empty string\n (\"\").\n
", + "smithy.api#documentation": "\n The BatchUpdateTableRows API allows you to update one or more rows in a table in a workbook.\n
\n\n You can specify the values to set in some or all of the columns in the table for the specified\n rows.\n If a column is not explicitly specified in a particular row, then that column will not be updated\n for that row. To clear out the data in a specific cell, you need to set the value as an empty string\n (\"\").\n
", "smithy.api#http": { "method": "POST", "uri": "/workbooks/{workbookId}/tables/{tableId}/rows/batchupdate", @@ -335,7 +347,7 @@ "workbookId": { "target": "com.amazonaws.honeycode#ResourceId", "traits": { - "smithy.api#documentation": "The ID of the workbook where the rows are being updated.
\n\n If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.\n
", + "smithy.api#documentation": "The ID of the workbook where the rows are being updated.
\n\n If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -343,7 +355,7 @@ "tableId": { "target": "com.amazonaws.honeycode#ResourceId", "traits": { - "smithy.api#documentation": "The ID of the table where the rows are being updated.
\n\n If a table with the specified id could not be found, this API throws ResourceNotFoundException.\n
", + "smithy.api#documentation": "The ID of the table where the rows are being updated.
\n\n If a table with the specified id could not be found, this API throws ResourceNotFoundException.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -351,16 +363,19 @@ "rowsToUpdate": { "target": "com.amazonaws.honeycode#UpdateRowDataList", "traits": { - "smithy.api#documentation": "\n The list of rows to update in the table. Each item in this list needs to contain the row id to update\n along with the map of column id to cell values for each column in that row that needs to be updated.\n You need to specify at least one row in this list, and for each row, you need to specify at least one\n column to update.\n
\n\n Note that if one of the row or column ids in the request does not exist in the table, then the request fails\n and no updates are made to the table.\n
", + "smithy.api#documentation": "\n The list of rows to update in the table. Each item in this list needs to contain the row id to update\n along with the map of column id to cell values for each column in that row that needs to be updated.\n You need to specify at least one row in this list, and for each row, you need to specify at least one\n column to update.\n
\n\n Note that if one of the row or column ids in the request does not exist in the table, then the request fails\n and no updates are made to the table.\n
", "smithy.api#required": {} } }, "clientRequestToken": { "target": "com.amazonaws.honeycode#ClientRequestToken", "traits": { - "smithy.api#documentation": "\n The request token for performing the update action.\n Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error\n like a failed network connection, you can retry the call with the same request token. The service ensures\n that if the first call using that request token is successfully performed, the second call will not perform\n the action again.\n
\n\n Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests\n spanning hours or days.\n
" + "smithy.api#documentation": "\n The request token for performing the update action.\n Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error\n like a failed network connection, you can retry the call with the same request token. The service ensures\n that if the first call using that request token is successfully performed, the second call will not perform\n the action again.\n
\n\n Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests\n spanning hours or days.\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.honeycode#BatchUpdateTableRowsResult": { @@ -380,6 +395,9 @@ "smithy.api#documentation": "\n The list of batch items in the request that could not be updated in the table. Each element in this list\n contains one item from the request that could not be updated in the table along with the reason why\n that item could not be updated.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.honeycode#BatchUpsertTableRows": { @@ -417,7 +435,7 @@ } ], "traits": { - "smithy.api#documentation": "\n The BatchUpsertTableRows API allows you to upsert one or more rows in a table. The upsert\n operation takes a filter expression as input and evaluates it to find matching rows on the destination\n table. If matching rows are found, it will update the cells in the matching rows to new values specified\n in the request. If no matching rows are found, a new row is added at the end of the table and the cells in\n that row are set to the new values specified in the request.\n
\n\n You can specify the values to set in some or all of the columns in the table for the\n matching or newly appended rows. If a column is not explicitly specified for a particular row, then that\n column will not be updated for that row. To clear out the data in a specific cell, you need to set the value\n as an empty string (\"\").\n
", + "smithy.api#documentation": "\n The BatchUpsertTableRows API allows you to upsert one or more rows in a table. The upsert\n operation takes a filter expression as input and evaluates it to find matching rows on the destination\n table. If matching rows are found, it will update the cells in the matching rows to new values specified\n in the request. If no matching rows are found, a new row is added at the end of the table and the cells in\n that row are set to the new values specified in the request.\n
\n\n You can specify the values to set in some or all of the columns in the table for the\n matching or newly appended rows. If a column is not explicitly specified for a particular row, then that\n column will not be updated for that row. To clear out the data in a specific cell, you need to set the value\n as an empty string (\"\").\n
", "smithy.api#http": { "method": "POST", "uri": "/workbooks/{workbookId}/tables/{tableId}/rows/batchupsert", @@ -431,7 +449,7 @@ "workbookId": { "target": "com.amazonaws.honeycode#ResourceId", "traits": { - "smithy.api#documentation": "The ID of the workbook where the rows are being upserted.
\n\n If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.\n
", + "smithy.api#documentation": "The ID of the workbook where the rows are being upserted.
\n\n If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -439,7 +457,7 @@ "tableId": { "target": "com.amazonaws.honeycode#ResourceId", "traits": { - "smithy.api#documentation": "The ID of the table where the rows are being upserted.
\n\n If a table with the specified id could not be found, this API throws ResourceNotFoundException.\n
", + "smithy.api#documentation": "The ID of the table where the rows are being upserted.
\n\n If a table with the specified id could not be found, this API throws ResourceNotFoundException.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -447,16 +465,19 @@ "rowsToUpsert": { "target": "com.amazonaws.honeycode#UpsertRowDataList", "traits": { - "smithy.api#documentation": "\n The list of rows to upsert in the table. Each item in this list needs to have a batch item id to uniquely\n identify the element in the request, a filter expression to find the rows to update for that element\n and the cell values to set for each column in the upserted rows. You need to specify\n at least one item in this list.\n
\n\n Note that if one of the filter formulas in the request fails to evaluate because of an error or one of the\n column ids in any of the rows does not exist in the table, then the request fails\n and no updates are made to the table.\n
", + "smithy.api#documentation": "\n The list of rows to upsert in the table. Each item in this list needs to have a batch item id to uniquely\n identify the element in the request, a filter expression to find the rows to update for that element\n and the cell values to set for each column in the upserted rows. You need to specify\n at least one item in this list.\n
\n\n Note that if one of the filter formulas in the request fails to evaluate because of an error or one of the\n column ids in any of the rows does not exist in the table, then the request fails\n and no updates are made to the table.\n
", "smithy.api#required": {} } }, "clientRequestToken": { "target": "com.amazonaws.honeycode#ClientRequestToken", "traits": { - "smithy.api#documentation": "\n The request token for performing the update action.\n Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error\n like a failed network connection, you can retry the call with the same request token. The service ensures\n that if the first call using that request token is successfully performed, the second call will not perform\n the action again.\n
\n\n Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests\n spanning hours or days.\n
" + "smithy.api#documentation": "\n The request token for performing the update action.\n Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error\n like a failed network connection, you can retry the call with the same request token. The service ensures\n that if the first call using that request token is successfully performed, the second call will not perform\n the action again.\n
\n\n Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests\n spanning hours or days.\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.honeycode#BatchUpsertTableRowsResult": { @@ -483,6 +504,9 @@ "smithy.api#documentation": "\n The list of batch items in the request that could not be updated or appended in the table. Each element in\n this list contains one item from the request that could not be updated in the table along with the reason\n why that item could not be updated or appended.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.honeycode#Cell": { @@ -503,13 +527,13 @@ "rawValue": { "target": "com.amazonaws.honeycode#RawValue", "traits": { - "smithy.api#documentation": "\n The raw value of the data contained in the cell. The raw value depends on the format of the data in the\n cell. However the attribute in the API return value is always a string containing the raw value.\n
\n\n Cells with format DATE, DATE_TIME or TIME have the raw value as a floating point\n number where the whole number represents the number of days since 1/1/1900 and the fractional part\n represents the fraction of the day since midnight. For example, a cell with date 11/3/2020 has the raw value\n \"44138\". A cell with the time 9:00 AM has the raw value \"0.375\" and a cell with date/time value of\n 11/3/2020 9:00 AM has the raw value \"44138.375\". Notice that even though the raw value is a number in all\n three cases, it is still represented as a string.\n
\n\n Cells with format NUMBER, CURRENCY, PERCENTAGE and ACCOUNTING have the raw value of the data as the number\n representing the data being displayed. For example, the number 1.325 with two decimal places in the format\n will have it's raw value as \"1.325\" and formatted value as \"1.33\". A currency value for\n $10 will have the raw value as \"10\" and formatted value as \"$10.00\". A value representing 20% with two\n decimal places in the format will have its raw value as \"0.2\" and the formatted value as \"20.00%\". An\n accounting value of -$25 will have \"-25\" as the raw value and \"$ (25.00)\" as the formatted value.\n
\n\n Cells with format TEXT will have the raw text as the raw value. For example, a cell with text \"John Smith\"\n will have \"John Smith\" as both the raw value and the formatted value.\n
\n\n Cells with format CONTACT will have the name of the contact as a formatted value and the email address of\n the contact as the raw value. For example, a contact for John Smith will have \"John Smith\" as the\n formatted value and \"john.smith@example.com\" as the raw value.\n
\n\n Cells with format ROWLINK (aka picklist) will have the first column of the linked row as the formatted value\n and the row id of the linked row as the raw value. For example, a cell containing a picklist to a table\n that displays task status might have \"Completed\" as the formatted value and\n \"row:dfcefaee-5b37-4355-8f28-40c3e4ff5dd4/ca432b2f-b8eb-431d-9fb5-cbe0342f9f03\" as the raw value.\n
\n\n Cells with format ROWSET (aka multi-select or multi-record picklist) will by default have the first column\n of each of the linked rows as the formatted value in the list, and the rowset id of the linked rows as the\n raw value. For example, a cell containing a multi-select picklist to a table that contains items might have\n \"Item A\", \"Item B\" in the formatted value list and \"rows:b742c1f4-6cb0-4650-a845-35eb86fcc2bb/\n [fdea123b-8f68-474a-aa8a-5ff87aa333af,6daf41f0-a138-4eee-89da-123086d36ecf]\" as the raw value.\n
\n\n Cells with format ATTACHMENT will have the name of the attachment as the formatted value and the attachment\n id as the raw value. For example, a cell containing an attachment named \"image.jpeg\" will have\n \"image.jpeg\" as the formatted value and \"attachment:ca432b2f-b8eb-431d-9fb5-cbe0342f9f03\" as the raw value.\n
\n\n Cells with format AUTO or cells without any format that are auto-detected as one of the formats above will\n contain the raw and formatted values as mentioned above, based on the auto-detected formats. If there is no\n auto-detected format, the raw and formatted values will be the same as the data in the cell.\n
" + "smithy.api#documentation": "\n The raw value of the data contained in the cell. The raw value depends on the format of the data in the\n cell. However the attribute in the API return value is always a string containing the raw value.\n
\n\n Cells with format DATE, DATE_TIME or TIME have the raw value as a floating point\n number where the whole number represents the number of days since 1/1/1900 and the fractional part\n represents the fraction of the day since midnight. For example, a cell with date 11/3/2020 has the raw value\n \"44138\". A cell with the time 9:00 AM has the raw value \"0.375\" and a cell with date/time value of\n 11/3/2020 9:00 AM has the raw value \"44138.375\". Notice that even though the raw value is a number in all\n three cases, it is still represented as a string.\n
\n\n Cells with format NUMBER, CURRENCY, PERCENTAGE and ACCOUNTING have the raw value of the data as the number\n representing the data being displayed. For example, the number 1.325 with two decimal places in the format\n will have it's raw value as \"1.325\" and formatted value as \"1.33\". A currency value for\n $10 will have the raw value as \"10\" and formatted value as \"$10.00\". A value representing 20% with two\n decimal places in the format will have its raw value as \"0.2\" and the formatted value as \"20.00%\". An\n accounting value of -$25 will have \"-25\" as the raw value and \"$ (25.00)\" as the formatted value.\n
\n\n Cells with format TEXT will have the raw text as the raw value. For example, a cell with text \"John Smith\"\n will have \"John Smith\" as both the raw value and the formatted value.\n
\n\n Cells with format CONTACT will have the name of the contact as a formatted value and the email address of\n the contact as the raw value. For example, a contact for John Smith will have \"John Smith\" as the\n formatted value and \"john.smith@example.com\" as the raw value.\n
\n\n Cells with format ROWLINK (aka picklist) will have the first column of the linked row as the formatted value\n and the row id of the linked row as the raw value. For example, a cell containing a picklist to a table\n that displays task status might have \"Completed\" as the formatted value and\n \"row:dfcefaee-5b37-4355-8f28-40c3e4ff5dd4/ca432b2f-b8eb-431d-9fb5-cbe0342f9f03\" as the raw value.\n
\n\n Cells with format ROWSET (aka multi-select or multi-record picklist) will by default have the first column\n of each of the linked rows as the formatted value in the list, and the rowset id of the linked rows as the\n raw value. For example, a cell containing a multi-select picklist to a table that contains items might have\n \"Item A\", \"Item B\" in the formatted value list and \"rows:b742c1f4-6cb0-4650-a845-35eb86fcc2bb/\n [fdea123b-8f68-474a-aa8a-5ff87aa333af,6daf41f0-a138-4eee-89da-123086d36ecf]\" as the raw value.\n
\n\n Cells with format ATTACHMENT will have the name of the attachment as the formatted value and the attachment\n id as the raw value. For example, a cell containing an attachment named \"image.jpeg\" will have\n \"image.jpeg\" as the formatted value and \"attachment:ca432b2f-b8eb-431d-9fb5-cbe0342f9f03\" as the raw value.\n
\n\n Cells with format AUTO or cells without any format that are auto-detected as one of the formats above will\n contain the raw and formatted values as mentioned above, based on the auto-detected formats. If there is no\n auto-detected format, the raw and formatted values will be the same as the data in the cell.\n
" } }, "formattedValue": { "target": "com.amazonaws.honeycode#FormattedValue", "traits": { - "smithy.api#documentation": "\n The formatted value of the cell. This is the value that you see displayed in the cell in the UI.\n
\n\n Note that the formatted value of a cell is always represented as a string irrespective of the data that is\n stored in the cell. For example, if a cell contains a date, the formatted value of the cell is the string\n representation of the formatted date being shown in the cell in the UI. See details in the rawValue field\n below for how cells of different formats will have different raw and formatted values.\n
" + "smithy.api#documentation": "\n The formatted value of the cell. This is the value that you see displayed in the cell in the UI.\n
\n\n Note that the formatted value of a cell is always represented as a string irrespective of the data that is\n stored in the cell. For example, if a cell contains a date, the formatted value of the cell is the string\n representation of the formatted date being shown in the cell in the UI. See details in the rawValue field\n below for how cells of different formats will have different raw and formatted values.\n
" } }, "formattedValues": { @@ -541,7 +565,7 @@ } }, "traits": { - "smithy.api#documentation": "\n CellInput object contains the data needed to create or update cells in a table.\n
\n\n CellInput object has only a facts field or a fact field, but not both. A 400 bad request will be\n thrown if both fact and facts field are present.\n
\n\n CellInput object contains the data needed to create or update cells in a table.\n
\n\n CellInput object has only a facts field or a fact field, but not both. A 400 bad request will be\n thrown if both fact and facts field are present.\n
\nThe ID of the workbook into which data was imported.
\n\n If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.\n
", + "smithy.api#documentation": "The ID of the workbook into which data was imported.
\n\n If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -757,7 +781,7 @@ "tableId": { "target": "com.amazonaws.honeycode#ResourceId", "traits": { - "smithy.api#documentation": "The ID of the table into which data was imported.
\n\n If a table with the specified id could not be found, this API throws ResourceNotFoundException.\n
", + "smithy.api#documentation": "The ID of the table into which data was imported.
\n\n If a table with the specified id could not be found, this API throws ResourceNotFoundException.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -765,11 +789,14 @@ "jobId": { "target": "com.amazonaws.honeycode#JobId", "traits": { - "smithy.api#documentation": "The ID of the job that was returned by the StartTableDataImportJob request.
\n\n If a job with the specified id could not be found, this API throws ResourceNotFoundException.\n
", + "smithy.api#documentation": "The ID of the job that was returned by the StartTableDataImportJob request.
\n\n If a job with the specified id could not be found, this API throws ResourceNotFoundException.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.honeycode#DescribeTableDataImportJobResult": { @@ -802,6 +829,9 @@ "smithy.api#documentation": "\n If job status is failed, error code to understand reason for the failure.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.honeycode#DestinationOptions": { @@ -830,66 +860,92 @@ } }, "com.amazonaws.honeycode#ErrorCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACCESS_DENIED", - "name": "AccessDenied" - }, - { - "value": "INVALID_URL_ERROR", - "name": "InvalidUrlError" - }, - { - "value": "INVALID_IMPORT_OPTIONS_ERROR", - "name": "InvalidImportOptionsError" - }, - { - "value": "INVALID_TABLE_ID_ERROR", - "name": "InvalidTableIdError" - }, - { - "value": "INVALID_TABLE_COLUMN_ID_ERROR", - "name": "InvalidTableColumnIdError" - }, - { - "value": "TABLE_NOT_FOUND_ERROR", - "name": "TableNotFoundError" - }, - { - "value": "FILE_EMPTY_ERROR", - "name": "FileEmptyError" - }, - { - "value": "INVALID_FILE_TYPE_ERROR", - "name": "InvalidFileTypeError" - }, - { - "value": "FILE_PARSING_ERROR", - "name": "FileParsingError" - }, - { - "value": "FILE_SIZE_LIMIT_ERROR", - "name": "FileSizeLimitError" - }, - { - "value": "FILE_NOT_FOUND_ERROR", - "name": "FileNotFoundError" - }, - { - "value": "UNKNOWN_ERROR", - "name": "UnknownError" - }, - { - "value": "RESOURCE_NOT_FOUND_ERROR", - "name": "ResourceNotFoundError" - }, - { - "value": "SYSTEM_LIMIT_ERROR", - "name": "SystemLimitError" + "type": "enum", + "members": { + "AccessDenied": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACCESS_DENIED" + } + }, + "InvalidUrlError": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_URL_ERROR" + } + }, + "InvalidImportOptionsError": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_IMPORT_OPTIONS_ERROR" + } + }, + "InvalidTableIdError": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_TABLE_ID_ERROR" + } + }, + "InvalidTableColumnIdError": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_TABLE_COLUMN_ID_ERROR" + } + }, + "TableNotFoundError": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TABLE_NOT_FOUND_ERROR" + } + }, + "FileEmptyError": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FILE_EMPTY_ERROR" + } + }, + "InvalidFileTypeError": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_FILE_TYPE_ERROR" + } + }, + "FileParsingError": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FILE_PARSING_ERROR" } - ] + }, + "FileSizeLimitError": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FILE_SIZE_LIMIT_ERROR" + } + }, + "FileNotFoundError": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FILE_NOT_FOUND_ERROR" + } + }, + "UnknownError": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNKNOWN_ERROR" + } + }, + "ResourceNotFoundError": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESOURCE_NOT_FOUND_ERROR" + } + }, + "SystemLimitError": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SYSTEM_LIMIT_ERROR" + } + } } }, "com.amazonaws.honeycode#ErrorMessage": { @@ -974,58 +1030,80 @@ } }, "com.amazonaws.honeycode#Format": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AUTO", - "name": "Auto" - }, - { - "value": "NUMBER", - "name": "Number" - }, - { - "value": "CURRENCY", - "name": "Currency" - }, - { - "value": "DATE", - "name": "Date" - }, - { - "value": "TIME", - "name": "Time" - }, - { - "value": "DATE_TIME", - "name": "DateTime" - }, - { - "value": "PERCENTAGE", - "name": "Percentage" - }, - { - "value": "TEXT", - "name": "Text" - }, - { - "value": "ACCOUNTING", - "name": "Accounting" - }, - { - "value": "CONTACT", - "name": "Contact" - }, - { - "value": "ROWLINK", - "name": "Rowlink" - }, - { - "value": "ROWSET", - "name": "Rowset" + "type": "enum", + "members": { + "Auto": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTO" + } + }, + "Number": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NUMBER" + } + }, + "Currency": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CURRENCY" + } + }, + "Date": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATE" + } + }, + "Time": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIME" + } + }, + "DateTime": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATE_TIME" + } + }, + "Percentage": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PERCENTAGE" + } + }, + "Text": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TEXT" + } + }, + "Accounting": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACCOUNTING" + } + }, + "Contact": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACT" + } + }, + "Rowlink": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROWLINK" } - ] + }, + "Rowset": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROWSET" + } + } } }, "com.amazonaws.honeycode#FormattedValue": { @@ -1134,15 +1212,18 @@ "maxResults": { "target": "com.amazonaws.honeycode#MaxResults", "traits": { - "smithy.api#documentation": "\n The number of results to be returned on a single page.\n Specify a number between 1 and 100. The maximum value is 100.\n
\n\n This parameter is optional. If you don't specify this parameter, the default page size is 100.\n
" + "smithy.api#documentation": "\n The number of results to be returned on a single page.\n Specify a number between 1 and 100. The maximum value is 100.\n
\n\n This parameter is optional. If you don't specify this parameter, the default page size is 100.\n
" } }, "nextToken": { "target": "com.amazonaws.honeycode#PaginationToken", "traits": { - "smithy.api#documentation": "\n This parameter is optional. If a nextToken is not specified, the API returns the first page of data.\n
\n\n Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API\n will throw ValidationException.\n
" + "smithy.api#documentation": "\n This parameter is optional. If a nextToken is not specified, the API returns the first page of data.\n
\n\n Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API\n will throw ValidationException.\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.honeycode#GetScreenDataResult": { @@ -1169,6 +1250,9 @@ "smithy.api#documentation": "\n Provides the pagination token to load the next page if there are more results matching the request. If a\n pagination token is not present in the response, it means that all data matching the query has been loaded.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.honeycode#HasHeaderRow": { @@ -1199,34 +1283,44 @@ } }, "com.amazonaws.honeycode#ImportDataCharacterEncoding": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "UTF-8", - "name": "UTF_8" - }, - { - "value": "US-ASCII", - "name": "US_ASCII" - }, - { - "value": "ISO-8859-1", - "name": "ISO_8859_1" - }, - { - "value": "UTF-16BE", - "name": "UTF_16BE" - }, - { - "value": "UTF-16LE", - "name": "UTF_16LE" - }, - { - "value": "UTF-16", - "name": "UTF_16" + "type": "enum", + "members": { + "UTF_8": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UTF-8" + } + }, + "US_ASCII": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "US-ASCII" } - ] + }, + "ISO_8859_1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ISO-8859-1" + } + }, + "UTF_16BE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UTF-16BE" + } + }, + "UTF_16LE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UTF-16LE" + } + }, + "UTF_16": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UTF-16" + } + } } }, "com.amazonaws.honeycode#ImportDataSource": { @@ -1299,14 +1393,14 @@ } }, "com.amazonaws.honeycode#ImportSourceDataFormat": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DELIMITED_TEXT", - "name": "DelimitedText" + "type": "enum", + "members": { + "DelimitedText": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELIMITED_TEXT" } - ] + } } }, "com.amazonaws.honeycode#InternalServerException": { @@ -1421,9 +1515,12 @@ "clientRequestToken": { "target": "com.amazonaws.honeycode#ClientRequestToken", "traits": { - "smithy.api#documentation": "\n The request token for performing the automation action.\n Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error\n like a failed network connection, you can retry the call with the same request token. The service ensures\n that if the first call using that request token is successfully performed, the second call will return the\n response of the previous call rather than performing the action again.\n
\n\n Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests\n spanning hours or days.\n
" + "smithy.api#documentation": "\n The request token for performing the automation action.\n Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error\n like a failed network connection, you can retry the call with the same request token. The service ensures\n that if the first call using that request token is successfully performed, the second call will return the\n response of the previous call rather than performing the action again.\n
\n\n Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests\n spanning hours or days.\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.honeycode#InvokeScreenAutomationResult": { @@ -1437,6 +1534,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.honeycode#JobId": { @@ -1489,7 +1589,8 @@ }, "smithy.api#paginated": { "inputToken": "nextToken", - "outputToken": "nextToken" + "outputToken": "nextToken", + "items": "tableColumns" } } }, @@ -1499,7 +1600,7 @@ "workbookId": { "target": "com.amazonaws.honeycode#ResourceId", "traits": { - "smithy.api#documentation": "The ID of the workbook that contains the table whose columns are being retrieved.
\n\n If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.\n
", + "smithy.api#documentation": "The ID of the workbook that contains the table whose columns are being retrieved.
\n\n If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1507,7 +1608,7 @@ "tableId": { "target": "com.amazonaws.honeycode#ResourceId", "traits": { - "smithy.api#documentation": "The ID of the table whose columns are being retrieved.
\n\n If a table with the specified id could not be found, this API throws ResourceNotFoundException.\n
", + "smithy.api#documentation": "The ID of the table whose columns are being retrieved.
\n\n If a table with the specified id could not be found, this API throws ResourceNotFoundException.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1515,10 +1616,13 @@ "nextToken": { "target": "com.amazonaws.honeycode#PaginationToken", "traits": { - "smithy.api#documentation": "\n This parameter is optional. If a nextToken is not specified, the API returns the first page of data.\n
\n\n Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API\n will throw ValidationException.\n
", + "smithy.api#documentation": "\n This parameter is optional. If a nextToken is not specified, the API returns the first page of data.\n
\n\n Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API\n will throw ValidationException.\n
", "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.honeycode#ListTableColumnsResult": { @@ -1544,6 +1648,9 @@ "smithy.api#documentation": "\n Indicates the cursor of the workbook at which the data returned by this request is read. Workbook cursor\n keeps increasing with every update and the increments are not sequential.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.honeycode#ListTableRows": { @@ -1587,6 +1694,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "rows", "pageSize": "maxResults" } } @@ -1597,7 +1705,7 @@ "workbookId": { "target": "com.amazonaws.honeycode#ResourceId", "traits": { - "smithy.api#documentation": "The ID of the workbook that contains the table whose rows are being retrieved.
\n\n If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.\n
", + "smithy.api#documentation": "The ID of the workbook that contains the table whose rows are being retrieved.
\n\n If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1605,7 +1713,7 @@ "tableId": { "target": "com.amazonaws.honeycode#ResourceId", "traits": { - "smithy.api#documentation": "The ID of the table whose rows are being retrieved.
\n\n If a table with the specified id could not be found, this API throws ResourceNotFoundException.\n
", + "smithy.api#documentation": "The ID of the table whose rows are being retrieved.
\n\n If a table with the specified id could not be found, this API throws ResourceNotFoundException.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1625,9 +1733,12 @@ "nextToken": { "target": "com.amazonaws.honeycode#PaginationToken", "traits": { - "smithy.api#documentation": "\n This parameter is optional. If a nextToken is not specified, the API returns the first page of data.\n
\n\n Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API\n will throw ValidationException.\n
" + "smithy.api#documentation": "\n This parameter is optional. If a nextToken is not specified, the API returns the first page of data.\n
\n\n Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API\n will throw ValidationException.\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.honeycode#ListTableRowsResult": { @@ -1667,6 +1778,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.honeycode#ListTables": { @@ -1710,6 +1824,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "tables", "pageSize": "maxResults" } } @@ -1720,7 +1835,7 @@ "workbookId": { "target": "com.amazonaws.honeycode#ResourceId", "traits": { - "smithy.api#documentation": "The ID of the workbook whose tables are being retrieved.
\n\n If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.\n
", + "smithy.api#documentation": "The ID of the workbook whose tables are being retrieved.
\n\n If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1735,10 +1850,13 @@ "nextToken": { "target": "com.amazonaws.honeycode#PaginationToken", "traits": { - "smithy.api#documentation": "\n This parameter is optional. If a nextToken is not specified, the API returns the first page of data.\n
\n\n Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API\n will throw ValidationException.\n
", + "smithy.api#documentation": "\n This parameter is optional. If a nextToken is not specified, the API returns the first page of data.\n
\n\n Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API\n will throw ValidationException.\n
", "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.honeycode#ListTablesResult": { @@ -1764,6 +1882,9 @@ "smithy.api#documentation": "\n Indicates the cursor of the workbook at which the data returned by this request is read. Workbook cursor\n keeps increasing with every update and the increments are not sequential.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.honeycode#ListTagsForResource": { @@ -1817,6 +1938,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.honeycode#ListTagsForResourceResult": { @@ -1828,6 +1952,9 @@ "smithy.api#documentation": "The resource's tags.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.honeycode#MaxResults": { @@ -1896,6 +2023,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "rows", "pageSize": "maxResults" } } @@ -1906,7 +2034,7 @@ "workbookId": { "target": "com.amazonaws.honeycode#ResourceId", "traits": { - "smithy.api#documentation": "The ID of the workbook whose table rows are being queried.
\n\n If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.\n
", + "smithy.api#documentation": "The ID of the workbook whose table rows are being queried.
\n\n If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1914,7 +2042,7 @@ "tableId": { "target": "com.amazonaws.honeycode#ResourceId", "traits": { - "smithy.api#documentation": "The ID of the table whose rows are being queried.
\n\n If a table with the specified id could not be found, this API throws ResourceNotFoundException.\n
", + "smithy.api#documentation": "The ID of the table whose rows are being queried.
\n\n If a table with the specified id could not be found, this API throws ResourceNotFoundException.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1935,9 +2063,12 @@ "nextToken": { "target": "com.amazonaws.honeycode#PaginationToken", "traits": { - "smithy.api#documentation": "\n This parameter is optional. If a nextToken is not specified, the API returns the first page of data.\n
\n\n Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API\n will throw ValidationException.\n
" + "smithy.api#documentation": "\n This parameter is optional. If a nextToken is not specified, the API returns the first page of data.\n
\n\n Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API\n will throw ValidationException.\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.honeycode#QueryTableRowsResult": { @@ -1971,6 +2102,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.honeycode#RawValue": { @@ -2080,7 +2214,7 @@ "headers": { "target": "com.amazonaws.honeycode#ResultHeader", "traits": { - "smithy.api#documentation": "\n List of headers for all the data cells in the block. The header identifies the name and default format of\n the data cell. Data cells appear in the same order in all rows as defined in the header. The names and\n formats are not repeated in the rows. If a particular row does not have a value for a data cell, a blank\n value is used.\n
\n\n For example, a task list that displays the task name, due date and assigned person might have headers\n [ { \"name\": \"Task Name\"}, {\"name\": \"Due Date\", \"format\": \"DATE\"}, {\"name\": \"Assigned\", \"format\": \"CONTACT\"} ].\n Every row in the result will have the task name as the first item, due date as the second item and assigned\n person as the third item. If a particular task does not have a due date, that row will still have a blank\n value in the second element and the assigned person will still be in the third element.\n
", + "smithy.api#documentation": "\n List of headers for all the data cells in the block. The header identifies the name and default format of\n the data cell. Data cells appear in the same order in all rows as defined in the header. The names and\n formats are not repeated in the rows. If a particular row does not have a value for a data cell, a blank\n value is used.\n
\n\n For example, a task list that displays the task name, due date and assigned person might have headers\n [ { \"name\": \"Task Name\"}, {\"name\": \"Due Date\", \"format\": \"DATE\"}, {\"name\": \"Assigned\", \"format\": \"CONTACT\"} ].\n Every row in the result will have the task name as the first item, due date as the second item and assigned\n person as the third item. If a particular task does not have a due date, that row will still have a blank\n value in the second element and the assigned person will still be in the third element.\n
", "smithy.api#required": {} } }, @@ -2306,52 +2440,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", @@ -2359,13 +2497,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -2375,224 +2522,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://honeycode-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://honeycode-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": [ { "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": [], - "endpoint": { - "url": "https://honeycode-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://honeycode-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://honeycode.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://honeycode.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://honeycode.{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://honeycode.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -2607,8 +2705,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2620,8 +2718,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2633,8 +2731,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2646,8 +2744,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2659,8 +2757,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2672,8 +2770,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2685,8 +2783,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2698,8 +2796,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2711,8 +2809,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2724,8 +2822,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2737,8 +2835,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2750,8 +2848,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2763,8 +2861,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -2776,8 +2885,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 } }, { @@ -2789,8 +2909,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -2802,8 +2933,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 } }, { @@ -2815,8 +2957,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2828,8 +2970,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2841,8 +2983,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2853,8 +2995,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2865,10 +3007,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" @@ -2948,7 +3096,7 @@ "workbookId": { "target": "com.amazonaws.honeycode#ResourceId", "traits": { - "smithy.api#documentation": "The ID of the workbook where the rows are being imported.
\n\n If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.\n
", + "smithy.api#documentation": "The ID of the workbook where the rows are being imported.
\n\n If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2970,7 +3118,7 @@ "destinationTableId": { "target": "com.amazonaws.honeycode#ResourceId", "traits": { - "smithy.api#documentation": "The ID of the table where the rows are being imported.
\n\n If a table with the specified id could not be found, this API throws ResourceNotFoundException.\n
", + "smithy.api#documentation": "The ID of the table where the rows are being imported.
\n\n If a table with the specified id could not be found, this API throws ResourceNotFoundException.\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2985,10 +3133,13 @@ "clientRequestToken": { "target": "com.amazonaws.honeycode#ClientRequestToken", "traits": { - "smithy.api#documentation": "\n The request token for performing the update action.\n Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error\n like a failed network connection, you can retry the call with the same request token. The service ensures\n that if the first call using that request token is successfully performed, the second call will not perform\n the action again.\n
\n\n Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests\n spanning hours or days.\n
", + "smithy.api#documentation": "\n The request token for performing the update action.\n Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error\n like a failed network connection, you can retry the call with the same request token. The service ensures\n that if the first call using that request token is successfully performed, the second call will not perform\n the action again.\n
\n\n Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests\n spanning hours or days.\n
", "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.honeycode#StartTableDataImportJobResult": { @@ -3008,6 +3159,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.honeycode#Table": { @@ -3105,26 +3259,32 @@ } }, "com.amazonaws.honeycode#TableDataImportJobStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SUBMITTED", - "name": "Submitted" - }, - { - "value": "IN_PROGRESS", - "name": "InProgress" - }, - { - "value": "COMPLETED", - "name": "Completed" - }, - { - "value": "FAILED", - "name": "Failed" + "type": "enum", + "members": { + "Submitted": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUBMITTED" + } + }, + "InProgress": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" } - ] + }, + "Completed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" + } + }, + "Failed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + } } }, "com.amazonaws.honeycode#TableName": { @@ -3245,11 +3405,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.honeycode#TagResourceResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.honeycode#TagValue": { "type": "string", @@ -3352,11 +3518,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.honeycode#UntagResourceResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.honeycode#UpdateRowData": { "type": "structure", @@ -3393,18 +3565,20 @@ } }, "com.amazonaws.honeycode#UpsertAction": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "UPDATED", - "name": "Updated" - }, - { - "value": "APPENDED", - "name": "Appended" + "type": "enum", + "members": { + "Updated": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATED" } - ] + }, + "Appended": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "APPENDED" + } + } } }, "com.amazonaws.honeycode#UpsertRowData": { @@ -3420,7 +3594,7 @@ "filter": { "target": "com.amazonaws.honeycode#Filter", "traits": { - "smithy.api#documentation": "\n The filter formula to use to find existing matching rows to update. The formula needs to return zero or more\n rows. If the formula returns 0 rows, then a new row will be appended in the target table. If the formula\n returns one or more rows, then the returned rows will be updated.\n
\n\n Note that the filter formula needs to return rows from the target table for the upsert operation to succeed.\n If the filter formula has a syntax error or it doesn't evaluate to zero or more rows in the target table\n for any one item in the input list, then the entire BatchUpsertTableRows request fails and no updates are\n made to the table.\n
", + "smithy.api#documentation": "\n The filter formula to use to find existing matching rows to update. The formula needs to return zero or more\n rows. If the formula returns 0 rows, then a new row will be appended in the target table. If the formula\n returns one or more rows, then the returned rows will be updated.\n
\n\n Note that the filter formula needs to return rows from the target table for the upsert operation to succeed.\n If the filter formula has a syntax error or it doesn't evaluate to zero or more rows in the target table\n for any one item in the input list, then the entire BatchUpsertTableRows request fails and no updates are\n made to the table.\n
", "smithy.api#required": {} } }, diff --git a/codegen/sdk-codegen/aws-models/iam.json b/codegen/sdk-codegen/aws-models/iam.json index d1b5c5e6220..8ad03eb5281 100644 --- a/codegen/sdk-codegen/aws-models/iam.json +++ b/codegen/sdk-codegen/aws-models/iam.json @@ -588,52 +588,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", @@ -641,597 +645,557 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "stringEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] + "ref": "PartitionResult" }, - "aws" + "name" ] }, + "aws" + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - false - ] + "ref": "UseFIPS" }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - false - ] - } - ], - "endpoint": { - "url": "https://iam.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "iam", - "signingRegion": "us-east-1" - } - ] + "ref": "UseDualStack" }, - "headers": {} - }, - "type": "endpoint" + false + ] + } + ], + "endpoint": { + "url": "https://iam.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "iam", + "signingRegion": "us-east-1" + } + ] }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ { - "conditions": [ + "fn": "stringEquals", + "argv": [ { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] + "ref": "PartitionResult" }, - "aws" + "name" ] }, + "aws" + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] + "ref": "UseFIPS" }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - false - ] - } - ], - "endpoint": { - "url": "https://iam-fips.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "iam", - "signingRegion": "us-east-1" - } - ] + "ref": "UseDualStack" }, - "headers": {} - }, - "type": "endpoint" + false + ] + } + ], + "endpoint": { + "url": "https://iam-fips.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "iam", + "signingRegion": "us-east-1" + } + ] }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ { - "conditions": [ + "fn": "stringEquals", + "argv": [ { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] + "ref": "PartitionResult" }, - "aws-cn" + "name" ] }, + "aws-cn" + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - false - ] + "ref": "UseFIPS" }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - false - ] - } - ], - "endpoint": { - "url": "https://iam.cn-north-1.amazonaws.com.cn", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "iam", - "signingRegion": "cn-north-1" - } - ] + "ref": "UseDualStack" }, - "headers": {} - }, - "type": "endpoint" + false + ] + } + ], + "endpoint": { + "url": "https://iam.cn-north-1.amazonaws.com.cn", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "iam", + "signingRegion": "cn-north-1" + } + ] }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ { - "conditions": [ + "fn": "stringEquals", + "argv": [ { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] + "ref": "PartitionResult" }, - "aws-us-gov" + "name" ] }, + "aws-us-gov" + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - false - ] + "ref": "UseFIPS" }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - false - ] - } - ], - "endpoint": { - "url": "https://iam.us-gov.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "iam", - "signingRegion": "us-gov-west-1" - } - ] + "ref": "UseDualStack" }, - "headers": {} - }, - "type": "endpoint" + false + ] + } + ], + "endpoint": { + "url": "https://iam.us-gov.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "iam", + "signingRegion": "us-gov-west-1" + } + ] }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ { - "conditions": [ + "fn": "stringEquals", + "argv": [ { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] + "ref": "PartitionResult" }, - "aws-us-gov" + "name" ] }, + "aws-us-gov" + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + false + ] + } + ], + "endpoint": { + "url": "https://iam.us-gov.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "iam", + "signingRegion": "us-gov-west-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "fn": "getAttr", "argv": [ { - "ref": "UseFIPS" + "ref": "PartitionResult" }, - true + "name" ] }, + "aws-iso" + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + false + ] + } + ], + "endpoint": { + "url": "https://iam.us-iso-east-1.c2s.ic.gov", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "iam", + "signingRegion": "us-iso-east-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ { - "ref": "UseDualStack" + "ref": "PartitionResult" }, - false - ] - } - ], - "endpoint": { - "url": "https://iam.us-gov.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "iam", - "signingRegion": "us-gov-west-1" - } + "name" ] }, - "headers": {} - }, - "type": "endpoint" + "aws-iso-b" + ] }, { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "stringEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - }, - "aws-iso" - ] + "ref": "UseFIPS" }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - false - ] + "ref": "UseDualStack" }, + false + ] + } + ], + "endpoint": { + "url": "https://iam.us-isob-east-1.sc2s.sgov.gov", + "properties": { + "authSchemes": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - false - ] + "name": "sigv4", + "signingName": "iam", + "signingRegion": "us-isob-east-1" } - ], - "endpoint": { - "url": "https://iam.us-iso-east-1.c2s.ic.gov", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "iam", - "signingRegion": "us-iso-east-1" - } - ] + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" }, - "headers": {} - }, - "type": "endpoint" + true + ] }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { - "fn": "stringEquals", + "fn": "booleanEquals", "argv": [ + true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "name" + "supportsFIPS" ] - }, - "aws-iso-b" - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - false - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - false - ] - } - ], - "endpoint": { - "url": "https://iam.us-isob-east-1.sc2s.sgov.gov", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "iam", - "signingRegion": "us-isob-east-1" } ] }, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, { "fn": "booleanEquals", "argv": [ + true, { - "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://iam-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://iam-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": [ { "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": [], - "endpoint": { - "url": "https://iam-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://iam-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://iam.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://iam.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://iam.{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://iam.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -1978,7 +1942,17 @@ } ], "traits": { - "smithy.api#documentation": "Adds a new client ID (also known as audience) to the list of client IDs already\n registered for the specified IAM OpenID Connect (OIDC) provider resource.
\nThis operation is idempotent; it does not fail or return an error if you add an\n existing client ID to the provider.
" + "smithy.api#documentation": "Adds a new client ID (also known as audience) to the list of client IDs already\n registered for the specified IAM OpenID Connect (OIDC) provider resource.
\nThis operation is idempotent; it does not fail or return an error if you add an\n existing client ID to the provider.
", + "smithy.api#examples": [ + { + "title": "To add a client ID (audience) to an Open-ID Connect (OIDC) provider", + "documentation": "The following add-client-id-to-open-id-connect-provider command adds the client ID my-application-ID to the OIDC provider named server.example.com:", + "input": { + "ClientID": "my-application-ID", + "OpenIDConnectProviderArn": "arn:aws:iam::123456789012:oidc-provider/server.example.com" + } + } + ] } }, "com.amazonaws.iam#AddClientIDToOpenIDConnectProviderRequest": { @@ -2029,7 +2003,17 @@ } ], "traits": { - "smithy.api#documentation": "Adds the specified IAM role to the specified instance profile. An instance profile\n can contain only one role, and this quota cannot be increased. You can remove the\n existing role and then add a different role to an instance profile. You must then wait\n for the change to appear across all of Amazon Web Services because of eventual\n consistency. To force the change, you must disassociate the instance profile and then associate the\n instance profile, or you can stop your instance and then restart it.
\nThe caller of this operation must be granted the PassRole
permission\n on the IAM role by a permissions policy.
For more information about roles, see IAM roles in the\n IAM User Guide. For more information about instance profiles,\n see Using\n instance profiles in the IAM User Guide.
" + "smithy.api#documentation": "Adds the specified IAM role to the specified instance profile. An instance profile\n can contain only one role, and this quota cannot be increased. You can remove the\n existing role and then add a different role to an instance profile. You must then wait\n for the change to appear across all of Amazon Web Services because of eventual\n consistency. To force the change, you must disassociate the instance profile and then associate the\n instance profile, or you can stop your instance and then restart it.
\nThe caller of this operation must be granted the PassRole
permission\n on the IAM role by a permissions policy.
For more information about roles, see IAM roles in the\n IAM User Guide. For more information about instance profiles,\n see Using\n instance profiles in the IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To add a role to an instance profile", + "documentation": "The following command adds the role named S3Access to the instance profile named Webserver:", + "input": { + "RoleName": "S3Access", + "InstanceProfileName": "Webserver" + } + } + ] } }, "com.amazonaws.iam#AddRoleToInstanceProfileRequest": { @@ -2074,7 +2058,17 @@ } ], "traits": { - "smithy.api#documentation": "Adds the specified user to the specified group.
" + "smithy.api#documentation": "Adds the specified user to the specified group.
", + "smithy.api#examples": [ + { + "title": "To add a user to an IAM group", + "documentation": "The following command adds an IAM user named Bob to the IAM group named Admins:", + "input": { + "UserName": "Bob", + "GroupName": "Admins" + } + } + ] } }, "com.amazonaws.iam#AddUserToGroupRequest": { @@ -2131,7 +2125,17 @@ } ], "traits": { - "smithy.api#documentation": "Attaches the specified managed policy to the specified IAM group.
\nYou use this operation to attach a managed policy to a group. To embed an inline\n policy in a group, use \n PutGroupPolicy
\n .
As a best practice, you can validate your IAM policies. \n To learn more, see Validating IAM policies \n in the IAM User Guide.
\nFor more information about policies, see Managed policies and inline\n policies in the IAM User Guide.
" + "smithy.api#documentation": "Attaches the specified managed policy to the specified IAM group.
\nYou use this operation to attach a managed policy to a group. To embed an inline\n policy in a group, use \n PutGroupPolicy
\n .
As a best practice, you can validate your IAM policies. \n To learn more, see Validating IAM policies \n in the IAM User Guide.
\nFor more information about policies, see Managed policies and inline\n policies in the IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To attach a managed policy to an IAM group", + "documentation": "The following command attaches the AWS managed policy named ReadOnlyAccess to the IAM group named Finance.", + "input": { + "GroupName": "Finance", + "PolicyArn": "arn:aws:iam::aws:policy/ReadOnlyAccess" + } + } + ] } }, "com.amazonaws.iam#AttachGroupPolicyRequest": { @@ -2185,7 +2189,17 @@ } ], "traits": { - "smithy.api#documentation": "Attaches the specified managed policy to the specified IAM role. When you attach a\n managed policy to a role, the managed policy becomes part of the role's permission\n (access) policy.
\nYou cannot use a managed policy as the role's trust policy. The role's trust\n policy is created at the same time as the role, using \n CreateRole
\n . You can update a role's trust policy using\n \n UpdateAssumerolePolicy
\n .
Use this operation to attach a managed policy to a role. To embed\n an inline policy in a role, use \n PutRolePolicy
\n . For more information about policies, see Managed\n policies and inline policies in the\n IAM User Guide.
As a best practice, you can validate your IAM policies. \n To learn more, see Validating IAM policies \n in the IAM User Guide.
" + "smithy.api#documentation": "Attaches the specified managed policy to the specified IAM role. When you attach a\n managed policy to a role, the managed policy becomes part of the role's permission\n (access) policy.
\nYou cannot use a managed policy as the role's trust policy. The role's trust\n policy is created at the same time as the role, using \n CreateRole
\n . You can update a role's trust policy using\n \n UpdateAssumerolePolicy
\n .
Use this operation to attach a managed policy to a role. To embed\n an inline policy in a role, use \n PutRolePolicy
\n . For more information about policies, see Managed\n policies and inline policies in the\n IAM User Guide.
As a best practice, you can validate your IAM policies. \n To learn more, see Validating IAM policies \n in the IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To attach a managed policy to an IAM role", + "documentation": "The following command attaches the AWS managed policy named ReadOnlyAccess to the IAM role named ReadOnlyRole.", + "input": { + "RoleName": "ReadOnlyRole", + "PolicyArn": "arn:aws:iam::aws:policy/ReadOnlyAccess" + } + } + ] } }, "com.amazonaws.iam#AttachRolePolicyRequest": { @@ -2236,7 +2250,17 @@ } ], "traits": { - "smithy.api#documentation": "Attaches the specified managed policy to the specified user.
\nYou use this operation to attach a managed policy to a user. To\n embed an inline policy in a user, use \n PutUserPolicy
\n .
As a best practice, you can validate your IAM policies. \n To learn more, see Validating IAM policies \n in the IAM User Guide.
\nFor more information about policies, see Managed policies and inline\n policies in the IAM User Guide.
" + "smithy.api#documentation": "Attaches the specified managed policy to the specified user.
\nYou use this operation to attach a managed policy to a user. To\n embed an inline policy in a user, use \n PutUserPolicy
\n .
As a best practice, you can validate your IAM policies. \n To learn more, see Validating IAM policies \n in the IAM User Guide.
\nFor more information about policies, see Managed policies and inline\n policies in the IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To attach a managed policy to an IAM user", + "documentation": "The following command attaches the AWS managed policy named AdministratorAccess to the IAM user named Alice.", + "input": { + "UserName": "Alice", + "PolicyArn": "arn:aws:iam::aws:policy/AdministratorAccess" + } + } + ] } }, "com.amazonaws.iam#AttachUserPolicyRequest": { @@ -2362,7 +2386,17 @@ } ], "traits": { - "smithy.api#documentation": "Changes the password of the IAM user who is calling this operation. This operation\n can be performed using the CLI, the Amazon Web Services API, or the My\n Security Credentials page in the Amazon Web Services Management Console. The Amazon Web Services account root user password is\n not affected by this operation.
\nUse UpdateLoginProfile to use the CLI, the Amazon Web Services API, or the\n Users page in the IAM console to change the\n password for any IAM user. For more information about modifying passwords, see Managing\n passwords in the IAM User Guide.
" + "smithy.api#documentation": "Changes the password of the IAM user who is calling this operation. This operation\n can be performed using the CLI, the Amazon Web Services API, or the My\n Security Credentials page in the Amazon Web Services Management Console. The Amazon Web Services account root user password is\n not affected by this operation.
\nUse UpdateLoginProfile to use the CLI, the Amazon Web Services API, or the\n Users page in the IAM console to change the\n password for any IAM user. For more information about modifying passwords, see Managing\n passwords in the IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To change the password for your IAM user", + "documentation": "The following command changes the password for the current IAM user.", + "input": { + "NewPassword": "]35d/{pB9Fo9wJ", + "OldPassword": "3s0K_;xh4~8XXI" + } + } + ] } }, "com.amazonaws.iam#ChangePasswordRequest": { @@ -2566,7 +2600,25 @@ } ], "traits": { - "smithy.api#documentation": " Creates a new Amazon Web Services secret access key and corresponding Amazon Web Services access key ID for the\n specified user. The default status for new keys is Active
.
If you do not specify a user name, IAM determines the user name implicitly based on\n the Amazon Web Services access key ID signing the request. This operation works for access keys under\n the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root\n user credentials. This is true even if the Amazon Web Services account has no associated users.
\nFor information about quotas on the number of keys you can create, see IAM and STS\n quotas in the IAM User Guide.
\nTo ensure the security of your Amazon Web Services account, the secret access key is accessible\n only during key and user creation. You must save the key (for example, in a text\n file) if you want to be able to access it again. If a secret key is lost, you can\n delete the access keys for the associated user and then create new keys.
\n Creates a new Amazon Web Services secret access key and corresponding Amazon Web Services access key ID for the\n specified user. The default status for new keys is Active
.
If you do not specify a user name, IAM determines the user name implicitly based on\n the Amazon Web Services access key ID signing the request. This operation works for access keys under\n the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root\n user credentials. This is true even if the Amazon Web Services account has no associated users.
\nFor information about quotas on the number of keys you can create, see IAM and STS\n quotas in the IAM User Guide.
\nTo ensure the security of your Amazon Web Services account, the secret access key is accessible\n only during key and user creation. You must save the key (for example, in a text\n file) if you want to be able to access it again. If a secret key is lost, you can\n delete the access keys for the associated user and then create new keys.
\nCreates an alias for your Amazon Web Services account. For information about using an Amazon Web Services account\n alias, see Creating, deleting, and\n listing an Amazon Web Services account alias in the Amazon Web Services Sign-In User\n Guide.
" + "smithy.api#documentation": "Creates an alias for your Amazon Web Services account. For information about using an Amazon Web Services account\n alias, see Creating, deleting, and\n listing an Amazon Web Services account alias in the Amazon Web Services Sign-In User\n Guide.
", + "smithy.api#examples": [ + { + "title": "To create an account alias", + "documentation": "The following command associates the alias examplecorp to your AWS account.", + "input": { + "AccountAlias": "examplecorp" + } + } + ] } }, "com.amazonaws.iam#CreateAccountAliasRequest": { @@ -2663,7 +2724,25 @@ } ], "traits": { - "smithy.api#documentation": "Creates a new group.
\nFor information about the number of groups you can create, see IAM and STS\n quotas in the IAM User Guide.
" + "smithy.api#documentation": "Creates a new group.
\nFor information about the number of groups you can create, see IAM and STS\n quotas in the IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To create an IAM group", + "documentation": "The following command creates an IAM group named Admins.", + "input": { + "GroupName": "Admins" + }, + "output": { + "Group": { + "Path": "/", + "CreateDate": "2015-03-09T20:30:24.940Z", + "GroupId": "AIDGPMS9RO4H3FEXAMPLE", + "Arn": "arn:aws:iam::123456789012:group/Admins", + "GroupName": "Admins" + } + } + } + ] } }, "com.amazonaws.iam#CreateGroupRequest": { @@ -2729,7 +2808,26 @@ } ], "traits": { - "smithy.api#documentation": "Creates a new instance profile. For information about instance profiles, see Using\n roles for applications on Amazon EC2 in the\n IAM User Guide, and Instance profiles in the Amazon EC2 User Guide.
\nFor information about the number of instance profiles you can create, see IAM object\n quotas in the IAM User Guide.
" + "smithy.api#documentation": "Creates a new instance profile. For information about instance profiles, see Using\n roles for applications on Amazon EC2 in the\n IAM User Guide, and Instance profiles in the Amazon EC2 User Guide.
\nFor information about the number of instance profiles you can create, see IAM object\n quotas in the IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To create an instance profile", + "documentation": "The following command creates an instance profile named Webserver that is ready to have a role attached and then be associated with an EC2 instance.", + "input": { + "InstanceProfileName": "Webserver" + }, + "output": { + "InstanceProfile": { + "InstanceProfileId": "AIPAJMBYC7DLSPEXAMPLE", + "Roles": [], + "CreateDate": "2015-03-09T20:33:19.626Z", + "InstanceProfileName": "Webserver", + "Path": "/", + "Arn": "arn:aws:iam::123456789012:instance-profile/Webserver" + } + } + } + ] } }, "com.amazonaws.iam#CreateInstanceProfileRequest": { @@ -2801,7 +2899,25 @@ } ], "traits": { - "smithy.api#documentation": "Creates a password for the specified IAM user. A password allows an IAM user to\n access Amazon Web Services services through the Amazon Web Services Management Console.
\nYou can use the CLI, the Amazon Web Services API, or the Users\n page in the IAM console to create a password for any IAM user. Use ChangePassword to update your own existing password in the My Security Credentials page in the Amazon Web Services Management Console.
\nFor more information about managing passwords, see Managing passwords in the\n IAM User Guide.
" + "smithy.api#documentation": "Creates a password for the specified IAM user. A password allows an IAM user to\n access Amazon Web Services services through the Amazon Web Services Management Console.
\nYou can use the CLI, the Amazon Web Services API, or the Users\n page in the IAM console to create a password for any IAM user. Use ChangePassword to update your own existing password in the My Security Credentials page in the Amazon Web Services Management Console.
\nFor more information about managing passwords, see Managing passwords in the\n IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To create an instance profile", + "documentation": "The following command changes IAM user Bob's password and sets the flag that required Bob to change the password the next time he signs in.", + "input": { + "UserName": "Bob", + "Password": "h]6EszR}vJ*m", + "PasswordResetRequired": true + }, + "output": { + "LoginProfile": { + "UserName": "Bob", + "CreateDate": "2015-03-10T20:55:40.274Z", + "PasswordResetRequired": true + } + } + } + ] } }, "com.amazonaws.iam#CreateLoginProfileRequest": { @@ -2875,7 +2991,25 @@ } ], "traits": { - "smithy.api#documentation": "Creates an IAM entity to describe an identity provider (IdP) that supports OpenID Connect (OIDC).
\nThe OIDC provider that you create with this operation can be used as a principal in a\n role's trust policy. Such a policy establishes a trust relationship between Amazon Web Services and\n the OIDC provider.
\nIf you are using an OIDC identity provider from Google, Facebook, or Amazon Cognito, you don't\n need to create a separate IAM identity provider. These OIDC identity providers are\n already built-in to Amazon Web Services and are available for your use. Instead, you can move directly\n to creating new roles using your identity provider. To learn more, see Creating\n a role for web identity or OpenID connect federation in the IAM\n User Guide.
\nWhen you create the IAM OIDC provider, you specify the following:
\nThe URL of the OIDC identity provider (IdP) to trust
\nA list of client IDs (also known as audiences) that identify the application\n or applications allowed to authenticate using the OIDC provider
\nA list of tags that are attached to the specified IAM OIDC provider
\nA list of thumbprints of one or more server certificates that the IdP\n uses
\nYou get all of this information from the OIDC IdP you want to use to access\n Amazon Web Services.
\nAmazon Web Services secures communication with some OIDC identity providers (IdPs) through our\n library of trusted root certificate authorities (CAs) instead of using a certificate\n thumbprint to verify your IdP server certificate. These OIDC IdPs include Auth0, GitHub,\n Google, and those that use an Amazon S3 bucket to host a JSON Web Key Set (JWKS) endpoint. In\n these cases, your legacy thumbprint remains in your configuration, but is no longer used\n for validation.
\nThe trust for the OIDC provider is derived from the IAM provider that this\n operation creates. Therefore, it is best to limit access to the CreateOpenIDConnectProvider operation to highly privileged\n users.
\nCreates an IAM entity to describe an identity provider (IdP) that supports OpenID Connect (OIDC).
\nThe OIDC provider that you create with this operation can be used as a principal in a\n role's trust policy. Such a policy establishes a trust relationship between Amazon Web Services and\n the OIDC provider.
\nIf you are using an OIDC identity provider from Google, Facebook, or Amazon Cognito, you don't\n need to create a separate IAM identity provider. These OIDC identity providers are\n already built-in to Amazon Web Services and are available for your use. Instead, you can move directly\n to creating new roles using your identity provider. To learn more, see Creating\n a role for web identity or OpenID connect federation in the IAM\n User Guide.
\nWhen you create the IAM OIDC provider, you specify the following:
\nThe URL of the OIDC identity provider (IdP) to trust
\nA list of client IDs (also known as audiences) that identify the application\n or applications allowed to authenticate using the OIDC provider
\nA list of tags that are attached to the specified IAM OIDC provider
\nA list of thumbprints of one or more server certificates that the IdP\n uses
\nYou get all of this information from the OIDC IdP you want to use to access\n Amazon Web Services.
\nAmazon Web Services secures communication with some OIDC identity providers (IdPs) through our\n library of trusted root certificate authorities (CAs) instead of using a certificate\n thumbprint to verify your IdP server certificate. These OIDC IdPs include Auth0, GitHub,\n Google, and those that use an Amazon S3 bucket to host a JSON Web Key Set (JWKS) endpoint. In\n these cases, your legacy thumbprint remains in your configuration, but is no longer used\n for validation.
\nThe trust for the OIDC provider is derived from the IAM provider that this\n operation creates. Therefore, it is best to limit access to the CreateOpenIDConnectProvider operation to highly privileged\n users.
\nCreates a new role for your Amazon Web Services account.
\nFor more information about roles, see IAM roles in the\n IAM User Guide. For information about quotas for role names\n and the number of roles you can create, see IAM and STS quotas in the\n IAM User Guide.
" + "smithy.api#documentation": "Creates a new role for your Amazon Web Services account.
\nFor more information about roles, see IAM roles in the\n IAM User Guide. For information about quotas for role names\n and the number of roles you can create, see IAM and STS quotas in the\n IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To create an IAM role", + "documentation": "The following command creates a role named Test-Role and attaches a trust policy that you must convert from JSON to a string. Upon success, the response includes the same policy as a URL-encoded JSON string.", + "input": { + "AssumeRolePolicyDocument": "Creates a new IAM user for your Amazon Web Services account.
\nFor information about quotas for the number of IAM users you can create, see IAM and STS\n quotas in the IAM User Guide.
" + "smithy.api#documentation": "Creates a new IAM user for your Amazon Web Services account.
\nFor information about quotas for the number of IAM users you can create, see IAM and STS\n quotas in the IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To create an IAM user", + "documentation": "The following create-user command creates an IAM user named Bob in the current account.", + "input": { + "UserName": "Bob" + }, + "output": { + "User": { + "UserName": "Bob", + "Path": "/", + "CreateDate": "2013-06-08T03:20:41.270Z", + "UserId": "AKIAIOSFODNN7EXAMPLE", + "Arn": "arn:aws:iam::123456789012:user/Bob" + } + } + } + ] } }, "com.amazonaws.iam#CreateUserRequest": { @@ -3671,7 +3844,17 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the access key pair associated with the specified IAM user.
\nIf you do not specify a user name, IAM determines the user name implicitly based on\n the Amazon Web Services access key ID signing the request. This operation works for access keys under\n the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root\n user credentials even if the Amazon Web Services account has no associated users.
" + "smithy.api#documentation": "Deletes the access key pair associated with the specified IAM user.
\nIf you do not specify a user name, IAM determines the user name implicitly based on\n the Amazon Web Services access key ID signing the request. This operation works for access keys under\n the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root\n user credentials even if the Amazon Web Services account has no associated users.
", + "smithy.api#examples": [ + { + "title": "To delete an access key for an IAM user", + "documentation": "The following command deletes one access key (access key ID and secret access key) assigned to the IAM user named Bob.", + "input": { + "UserName": "Bob", + "AccessKeyId": "AKIDPMS9RO4H3FEXAMPLE" + } + } + ] } }, "com.amazonaws.iam#DeleteAccessKeyRequest": { @@ -3718,7 +3901,16 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the specified Amazon Web Services account alias. For information about using an Amazon Web Services\n account alias, see Creating, deleting, and\n listing an Amazon Web Services account alias in the Amazon Web Services Sign-In User\n Guide.
" + "smithy.api#documentation": "Deletes the specified Amazon Web Services account alias. For information about using an Amazon Web Services\n account alias, see Creating, deleting, and\n listing an Amazon Web Services account alias in the Amazon Web Services Sign-In User\n Guide.
", + "smithy.api#examples": [ + { + "title": "To delete an account alias", + "documentation": "The following command removes the alias mycompany from the current AWS account:", + "input": { + "AccountAlias": "mycompany" + } + } + ] } }, "com.amazonaws.iam#DeleteAccountAliasRequest": { @@ -3756,7 +3948,13 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the password policy for the Amazon Web Services account. There are no parameters.
" + "smithy.api#documentation": "Deletes the password policy for the Amazon Web Services account. There are no parameters.
", + "smithy.api#examples": [ + { + "title": "To delete the current account password policy", + "documentation": "The following command removes the password policy from the current AWS account:" + } + ] } }, "com.amazonaws.iam#DeleteConflictException": { @@ -3822,7 +4020,17 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the specified inline policy that is embedded in the specified IAM\n group.
\nA group can also have managed policies attached to it. To detach a managed policy from\n a group, use DetachGroupPolicy. For more information about policies,\n refer to Managed policies and inline\n policies in the IAM User Guide.
" + "smithy.api#documentation": "Deletes the specified inline policy that is embedded in the specified IAM\n group.
\nA group can also have managed policies attached to it. To detach a managed policy from\n a group, use DetachGroupPolicy. For more information about policies,\n refer to Managed policies and inline\n policies in the IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To delete a policy from an IAM group", + "documentation": "The following command deletes the policy named ExamplePolicy from the group named Admins:", + "input": { + "GroupName": "Admins", + "PolicyName": "ExamplePolicy" + } + } + ] } }, "com.amazonaws.iam#DeleteGroupPolicyRequest": { @@ -3885,7 +4093,16 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the specified instance profile. The instance profile must not have an\n associated role.
\nMake sure that you do not have any Amazon EC2 instances running with the instance\n profile you are about to delete. Deleting a role or instance profile that is\n associated with a running instance will break any applications running on the\n instance.
\nFor more information about instance profiles, see Using\n instance profiles in the IAM User Guide.
" + "smithy.api#documentation": "Deletes the specified instance profile. The instance profile must not have an\n associated role.
\nMake sure that you do not have any Amazon EC2 instances running with the instance\n profile you are about to delete. Deleting a role or instance profile that is\n associated with a running instance will break any applications running on the\n instance.
\nFor more information about instance profiles, see Using\n instance profiles in the IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To delete an instance profile", + "documentation": "The following command deletes the instance profile named ExampleInstanceProfile", + "input": { + "InstanceProfileName": "ExampleInstanceProfile" + } + } + ] } }, "com.amazonaws.iam#DeleteInstanceProfileRequest": { @@ -3926,7 +4143,16 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the password for the specified IAM user, For more information, see Managing\n passwords for IAM users.
\nYou can use the CLI, the Amazon Web Services API, or the Users\n page in the IAM console to delete a password for any IAM user. You can use ChangePassword to update, but not delete, your own password in the\n My Security Credentials page in the\n Amazon Web Services Management Console.
\nDeleting a user's password does not prevent a user from accessing Amazon Web Services through\n the command line interface or the API. To prevent all user access, you must also\n either make any access keys inactive or delete them. For more information about\n making keys inactive or deleting them, see UpdateAccessKey and\n DeleteAccessKey.
\nDeletes the password for the specified IAM user, For more information, see Managing\n passwords for IAM users.
\nYou can use the CLI, the Amazon Web Services API, or the Users\n page in the IAM console to delete a password for any IAM user. You can use ChangePassword to update, but not delete, your own password in the\n My Security Credentials page in the\n Amazon Web Services Management Console.
\nDeleting a user's password does not prevent a user from accessing Amazon Web Services through\n the command line interface or the API. To prevent all user access, you must also\n either make any access keys inactive or delete them. For more information about\n making keys inactive or deleting them, see UpdateAccessKey and\n DeleteAccessKey.
\nDeletes the specified role. Unlike the Amazon Web Services Management Console, when you delete a role\n programmatically, you must delete the items attached to the role manually, or the\n deletion fails. For more information, see Deleting an IAM role. Before attempting to delete a role, remove the\n following attached items:
\nInline policies (DeleteRolePolicy)
\nAttached managed policies (DetachRolePolicy)
\nInstance profile (RemoveRoleFromInstanceProfile)
\nOptional – Delete instance profile after detaching from role for\n resource clean up (DeleteInstanceProfile)
\nMake sure that you do not have any Amazon EC2 instances running with the role you\n are about to delete. Deleting a role or instance profile that is associated with a\n running instance will break any applications running on the instance.
\nDeletes the specified role. Unlike the Amazon Web Services Management Console, when you delete a role\n programmatically, you must delete the items attached to the role manually, or the\n deletion fails. For more information, see Deleting an IAM role. Before attempting to delete a role, remove the\n following attached items:
\nInline policies (DeleteRolePolicy)
\nAttached managed policies (DetachRolePolicy)
\nInstance profile (RemoveRoleFromInstanceProfile)
\nOptional – Delete instance profile after detaching from role for\n resource clean up (DeleteInstanceProfile)
\nMake sure that you do not have any Amazon EC2 instances running with the role you\n are about to delete. Deleting a role or instance profile that is associated with a\n running instance will break any applications running on the instance.
\nDeletes the specified inline policy that is embedded in the specified IAM\n role.
\nA role can also have managed policies attached to it. To detach a managed policy from\n a role, use DetachRolePolicy. For more information about policies,\n refer to Managed policies and inline\n policies in the IAM User Guide.
" + "smithy.api#documentation": "Deletes the specified inline policy that is embedded in the specified IAM\n role.
\nA role can also have managed policies attached to it. To detach a managed policy from\n a role, use DetachRolePolicy. For more information about policies,\n refer to Managed policies and inline\n policies in the IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To remove a policy from an IAM role", + "documentation": "The following command removes the policy named ExamplePolicy from the role named Test-Role.", + "input": { + "RoleName": "Test-Role", + "PolicyName": "ExamplePolicy" + } + } + ] } }, "com.amazonaws.iam#DeleteRolePolicyRequest": { @@ -4445,7 +4690,17 @@ } ], "traits": { - "smithy.api#documentation": "Deletes a signing certificate associated with the specified IAM user.
\nIf you do not specify a user name, IAM determines the user name implicitly based on\n the Amazon Web Services access key ID signing the request. This operation works for access keys under\n the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root\n user credentials even if the Amazon Web Services account has no associated IAM users.
" + "smithy.api#documentation": "Deletes a signing certificate associated with the specified IAM user.
\nIf you do not specify a user name, IAM determines the user name implicitly based on\n the Amazon Web Services access key ID signing the request. This operation works for access keys under\n the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root\n user credentials even if the Amazon Web Services account has no associated IAM users.
", + "smithy.api#examples": [ + { + "title": "To delete a signing certificate for an IAM user", + "documentation": "The following command deletes the specified signing certificate for the IAM user named Anika.", + "input": { + "UserName": "Anika", + "CertificateId": "TA7SMP42TDN5Z26OBPJE7EXAMPLE" + } + } + ] } }, "com.amazonaws.iam#DeleteSigningCertificateRequest": { @@ -4495,7 +4750,16 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the specified IAM user. Unlike the Amazon Web Services Management Console, when you delete a user\n programmatically, you must delete the items attached to the user manually, or the\n deletion fails. For more information, see Deleting an IAM\n user. Before attempting to delete a user, remove the following items:
\nPassword (DeleteLoginProfile)
\nAccess keys (DeleteAccessKey)
\nSigning certificate (DeleteSigningCertificate)
\nSSH public key (DeleteSSHPublicKey)
\nGit credentials (DeleteServiceSpecificCredential)
\nMulti-factor authentication (MFA) device (DeactivateMFADevice, DeleteVirtualMFADevice)
\nInline policies (DeleteUserPolicy)
\nAttached managed policies (DetachUserPolicy)
\nGroup memberships (RemoveUserFromGroup)
\nDeletes the specified IAM user. Unlike the Amazon Web Services Management Console, when you delete a user\n programmatically, you must delete the items attached to the user manually, or the\n deletion fails. For more information, see Deleting an IAM\n user. Before attempting to delete a user, remove the following items:
\nPassword (DeleteLoginProfile)
\nAccess keys (DeleteAccessKey)
\nSigning certificate (DeleteSigningCertificate)
\nSSH public key (DeleteSSHPublicKey)
\nGit credentials (DeleteServiceSpecificCredential)
\nMulti-factor authentication (MFA) device (DeactivateMFADevice, DeleteVirtualMFADevice)
\nInline policies (DeleteUserPolicy)
\nAttached managed policies (DetachUserPolicy)
\nGroup memberships (RemoveUserFromGroup)
\nDeletes the specified inline policy that is embedded in the specified IAM\n user.
\nA user can also have managed policies attached to it. To detach a managed policy from\n a user, use DetachUserPolicy. For more information about policies,\n refer to Managed policies and inline\n policies in the IAM User Guide.
" + "smithy.api#documentation": "Deletes the specified inline policy that is embedded in the specified IAM\n user.
\nA user can also have managed policies attached to it. To detach a managed policy from\n a user, use DetachUserPolicy. For more information about policies,\n refer to Managed policies and inline\n policies in the IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To remove a policy from an IAM user", + "documentation": "The following delete-user-policy command removes the specified policy from the IAM user named Juan:", + "input": { + "UserName": "Juan", + "PolicyName": "ExamplePolicy" + } + } + ] } }, "com.amazonaws.iam#DeleteUserPolicyRequest": { @@ -4619,7 +4893,16 @@ } ], "traits": { - "smithy.api#documentation": "Deletes a virtual MFA device.
\nYou must deactivate a user's virtual MFA device before you can delete it. For\n information about deactivating MFA devices, see DeactivateMFADevice.
\nDeletes a virtual MFA device.
\nYou must deactivate a user's virtual MFA device before you can delete it. For\n information about deactivating MFA devices, see DeactivateMFADevice.
\nGenerates a report for service last accessed data for Organizations. You can generate a\n report for any entities (organization root, organizational unit, or account) or policies\n in your organization.
\nTo call this operation, you must be signed in using your Organizations management account\n credentials. You can use your long-term IAM user or root user credentials, or temporary\n credentials from assuming an IAM role. SCPs must be enabled for your organization\n root. You must have the required IAM and Organizations permissions. For more information, see\n Refining permissions using service last accessed data in the\n IAM User Guide.
\nYou can generate a service last accessed data report for entities by specifying only\n the entity's path. This data includes a list of services that are allowed by any service\n control policies (SCPs) that apply to the entity.
\nYou can generate a service last accessed data report for a policy by specifying an\n entity's path and an optional Organizations policy ID. This data includes a list of services that\n are allowed by the specified SCP.
\nFor each service in both report types, the data includes the most recent account\n activity that the policy allows to account principals in the entity or the entity's\n children. For important information about the data, reporting period, permissions\n required, troubleshooting, and supported Regions see Reducing permissions using\n service last accessed data in the\n IAM User Guide.
\nThe data includes all attempts to access Amazon Web Services, not just the successful ones. This\n includes all attempts that were made using the Amazon Web Services Management Console, the Amazon Web Services API through any\n of the SDKs, or any of the command line tools. An unexpected entry in the service\n last accessed data does not mean that an account has been compromised, because the\n request might have been denied. Refer to your CloudTrail logs as the authoritative\n source for information about all API calls and whether they were successful or\n denied access. For more information, see Logging IAM events with\n CloudTrail in the IAM User Guide.
\nThis operation returns a JobId
. Use this parameter in the \n GetOrganizationsAccessReport\n
operation to check the status of\n the report generation. To check the status of this request, use the JobId
\n parameter in the \n GetOrganizationsAccessReport\n
operation\n and test the JobStatus
response parameter. When the job is complete, you\n can retrieve the report.
To generate a service last accessed data report for entities, specify an entity path\n without specifying the optional Organizations policy ID. The type of entity that you specify\n determines the data returned in the report.
\n\n Root – When you specify the\n organizations root as the entity, the resulting report lists all of the services\n allowed by SCPs that are attached to your root. For each service, the report\n includes data for all accounts in your organization except the\n management account, because the management account is not limited by SCPs.
\n\n OU – When you specify an\n organizational unit (OU) as the entity, the resulting report lists all of the\n services allowed by SCPs that are attached to the OU and its parents. For each\n service, the report includes data for all accounts in the OU or its children.\n This data excludes the management account, because the management account is not\n limited by SCPs.
\n\n management account – When you specify the\n management account, the resulting report lists all Amazon Web Services services, because the\n management account is not limited by SCPs. For each service, the report includes\n data for only the management account.
\n\n Account – When you specify another\n account as the entity, the resulting report lists all of the services allowed by\n SCPs that are attached to the account and its parents. For each service, the\n report includes data for only the specified account.
\nTo generate a service last accessed data report for policies, specify an entity path\n and the optional Organizations policy ID. The type of entity that you specify determines the data\n returned for each service.
\n\n Root – When you specify the root\n entity and a policy ID, the resulting report lists all of the services that are\n allowed by the specified SCP. For each service, the report includes data for all\n accounts in your organization to which the SCP applies. This data excludes the\n management account, because the management account is not limited by SCPs. If the\n SCP is not attached to any entities in the organization, then the report will\n return a list of services with no data.
\n\n OU – When you specify an OU entity and\n a policy ID, the resulting report lists all of the services that are allowed by\n the specified SCP. For each service, the report includes data for all accounts\n in the OU or its children to which the SCP applies. This means that other\n accounts outside the OU that are affected by the SCP might not be included in\n the data. This data excludes the management account, because the\n management account is not limited by SCPs. If the SCP is not attached to the OU\n or one of its children, the report will return a list of services with no\n data.
\n\n management account – When you specify the\n management account, the resulting report lists all Amazon Web Services services, because the\n management account is not limited by SCPs. If you specify a policy ID in the CLI\n or API, the policy is ignored. For each service, the report includes data for\n only the management account.
\n\n Account – When you specify another\n account entity and a policy ID, the resulting report lists all of the services\n that are allowed by the specified SCP. For each service, the report includes\n data for only the specified account. This means that other accounts in the\n organization that are affected by the SCP might not be included in the data. If\n the SCP is not attached to the account, the report will return a list of\n services with no data.
\nService last accessed data does not use other policy types when determining\n whether a principal could access a service. These other policy types include\n identity-based policies, resource-based policies, access control lists, IAM\n permissions boundaries, and STS assume role policies. It only applies SCP logic.\n For more about the evaluation of policy types, see Evaluating policies in the\n IAM User Guide.
\nFor more information about service last accessed data, see Reducing policy scope by\n viewing user activity in the IAM User Guide.
" + "smithy.api#documentation": "Generates a report for service last accessed data for Organizations. You can generate a\n report for any entities (organization root, organizational unit, or account) or policies\n in your organization.
\nTo call this operation, you must be signed in using your Organizations management account\n credentials. You can use your long-term IAM user or root user credentials, or temporary\n credentials from assuming an IAM role. SCPs must be enabled for your organization\n root. You must have the required IAM and Organizations permissions. For more information, see\n Refining permissions using service last accessed data in the\n IAM User Guide.
\nYou can generate a service last accessed data report for entities by specifying only\n the entity's path. This data includes a list of services that are allowed by any service\n control policies (SCPs) that apply to the entity.
\nYou can generate a service last accessed data report for a policy by specifying an\n entity's path and an optional Organizations policy ID. This data includes a list of services that\n are allowed by the specified SCP.
\nFor each service in both report types, the data includes the most recent account\n activity that the policy allows to account principals in the entity or the entity's\n children. For important information about the data, reporting period, permissions\n required, troubleshooting, and supported Regions see Reducing permissions using\n service last accessed data in the\n IAM User Guide.
\nThe data includes all attempts to access Amazon Web Services, not just the successful ones. This\n includes all attempts that were made using the Amazon Web Services Management Console, the Amazon Web Services API through any\n of the SDKs, or any of the command line tools. An unexpected entry in the service\n last accessed data does not mean that an account has been compromised, because the\n request might have been denied. Refer to your CloudTrail logs as the authoritative\n source for information about all API calls and whether they were successful or\n denied access. For more information, see Logging IAM events with\n CloudTrail in the IAM User Guide.
\nThis operation returns a JobId
. Use this parameter in the \n GetOrganizationsAccessReport\n
operation to check the status of\n the report generation. To check the status of this request, use the JobId
\n parameter in the \n GetOrganizationsAccessReport\n
operation\n and test the JobStatus
response parameter. When the job is complete, you\n can retrieve the report.
To generate a service last accessed data report for entities, specify an entity path\n without specifying the optional Organizations policy ID. The type of entity that you specify\n determines the data returned in the report.
\n\n Root – When you specify the\n organizations root as the entity, the resulting report lists all of the services\n allowed by SCPs that are attached to your root. For each service, the report\n includes data for all accounts in your organization except the\n management account, because the management account is not limited by SCPs.
\n\n OU – When you specify an\n organizational unit (OU) as the entity, the resulting report lists all of the\n services allowed by SCPs that are attached to the OU and its parents. For each\n service, the report includes data for all accounts in the OU or its children.\n This data excludes the management account, because the management account is not\n limited by SCPs.
\n\n management account – When you specify the\n management account, the resulting report lists all Amazon Web Services services, because the\n management account is not limited by SCPs. For each service, the report includes\n data for only the management account.
\n\n Account – When you specify another\n account as the entity, the resulting report lists all of the services allowed by\n SCPs that are attached to the account and its parents. For each service, the\n report includes data for only the specified account.
\nTo generate a service last accessed data report for policies, specify an entity path\n and the optional Organizations policy ID. The type of entity that you specify determines the data\n returned for each service.
\n\n Root – When you specify the root\n entity and a policy ID, the resulting report lists all of the services that are\n allowed by the specified SCP. For each service, the report includes data for all\n accounts in your organization to which the SCP applies. This data excludes the\n management account, because the management account is not limited by SCPs. If the\n SCP is not attached to any entities in the organization, then the report will\n return a list of services with no data.
\n\n OU – When you specify an OU entity and\n a policy ID, the resulting report lists all of the services that are allowed by\n the specified SCP. For each service, the report includes data for all accounts\n in the OU or its children to which the SCP applies. This means that other\n accounts outside the OU that are affected by the SCP might not be included in\n the data. This data excludes the management account, because the\n management account is not limited by SCPs. If the SCP is not attached to the OU\n or one of its children, the report will return a list of services with no\n data.
\n\n management account – When you specify the\n management account, the resulting report lists all Amazon Web Services services, because the\n management account is not limited by SCPs. If you specify a policy ID in the CLI\n or API, the policy is ignored. For each service, the report includes data for\n only the management account.
\n\n Account – When you specify another\n account entity and a policy ID, the resulting report lists all of the services\n that are allowed by the specified SCP. For each service, the report includes\n data for only the specified account. This means that other accounts in the\n organization that are affected by the SCP might not be included in the data. If\n the SCP is not attached to the account, the report will return a list of\n services with no data.
\nService last accessed data does not use other policy types when determining\n whether a principal could access a service. These other policy types include\n identity-based policies, resource-based policies, access control lists, IAM\n permissions boundaries, and STS assume role policies. It only applies SCP logic.\n For more about the evaluation of policy types, see Evaluating policies in the\n IAM User Guide.
\nFor more information about service last accessed data, see Reducing policy scope by\n viewing user activity in the IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To generate a service last accessed data report for an organizational unit", + "documentation": "The following operation generates a report for the organizational unit ou-rge0-awexample", + "input": { + "EntityPath": "o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-1a2b3c-k9l8m7n6o5example" + }, + "output": { + "JobId": "examplea-1234-b567-cde8-90fg123abcd4" + } + } + ] } }, "com.amazonaws.iam#GenerateOrganizationsAccessReportRequest": { @@ -5298,7 +5593,19 @@ } ], "traits": { - "smithy.api#documentation": "Generates a report that includes details about when an IAM resource (user, group,\n role, or policy) was last used in an attempt to access Amazon Web Services services. Recent activity\n usually appears within four hours. IAM reports activity for at least the last 400\n days, or less if your Region began supporting this feature within the last year. For\n more information, see Regions where data is tracked.
\nThe service last accessed data includes all attempts to access an Amazon Web Services API, not\n just the successful ones. This includes all attempts that were made using the\n Amazon Web Services Management Console, the Amazon Web Services API through any of the SDKs, or any of the command line tools.\n An unexpected entry in the service last accessed data does not mean that your\n account has been compromised, because the request might have been denied. Refer to\n your CloudTrail logs as the authoritative source for information about all API calls\n and whether they were successful or denied access. For more information, see Logging\n IAM events with CloudTrail in the\n IAM User Guide.
\nThe GenerateServiceLastAccessedDetails
operation returns a\n JobId
. Use this parameter in the following operations to retrieve the\n following details from your report:
\n GetServiceLastAccessedDetails – Use this operation\n for users, groups, roles, or policies to list every Amazon Web Services service that the\n resource could access using permissions policies. For each service, the response\n includes information about the most recent access attempt.
\nThe JobId
returned by\n GenerateServiceLastAccessedDetail
must be used by the same role\n within a session, or by the same user when used to call\n GetServiceLastAccessedDetail
.
\n GetServiceLastAccessedDetailsWithEntities – Use this\n operation for groups and policies to list information about the associated\n entities (users or roles) that attempted to access a specific Amazon Web Services service.\n
\nTo check the status of the GenerateServiceLastAccessedDetails
request,\n use the JobId
parameter in the same operations and test the\n JobStatus
response parameter.
For additional information about the permissions policies that allow an identity\n (user, group, or role) to access specific services, use the ListPoliciesGrantingServiceAccess operation.
\nService last accessed data does not use other policy types when determining\n whether a resource could access a service. These other policy types include\n resource-based policies, access control lists, Organizations policies, IAM permissions\n boundaries, and STS assume role policies. It only applies permissions policy\n logic. For more about the evaluation of policy types, see Evaluating policies in the\n IAM User Guide.
\nFor more information about service and action last accessed data, see Reducing permissions using service last accessed data in the\n IAM User Guide.
" + "smithy.api#documentation": "Generates a report that includes details about when an IAM resource (user, group,\n role, or policy) was last used in an attempt to access Amazon Web Services services. Recent activity\n usually appears within four hours. IAM reports activity for at least the last 400\n days, or less if your Region began supporting this feature within the last year. For\n more information, see Regions where data is tracked.
\nThe service last accessed data includes all attempts to access an Amazon Web Services API, not\n just the successful ones. This includes all attempts that were made using the\n Amazon Web Services Management Console, the Amazon Web Services API through any of the SDKs, or any of the command line tools.\n An unexpected entry in the service last accessed data does not mean that your\n account has been compromised, because the request might have been denied. Refer to\n your CloudTrail logs as the authoritative source for information about all API calls\n and whether they were successful or denied access. For more information, see Logging\n IAM events with CloudTrail in the\n IAM User Guide.
\nThe GenerateServiceLastAccessedDetails
operation returns a\n JobId
. Use this parameter in the following operations to retrieve the\n following details from your report:
\n GetServiceLastAccessedDetails – Use this operation\n for users, groups, roles, or policies to list every Amazon Web Services service that the\n resource could access using permissions policies. For each service, the response\n includes information about the most recent access attempt.
\nThe JobId
returned by\n GenerateServiceLastAccessedDetail
must be used by the same role\n within a session, or by the same user when used to call\n GetServiceLastAccessedDetail
.
\n GetServiceLastAccessedDetailsWithEntities – Use this\n operation for groups and policies to list information about the associated\n entities (users or roles) that attempted to access a specific Amazon Web Services service.\n
\nTo check the status of the GenerateServiceLastAccessedDetails
request,\n use the JobId
parameter in the same operations and test the\n JobStatus
response parameter.
For additional information about the permissions policies that allow an identity\n (user, group, or role) to access specific services, use the ListPoliciesGrantingServiceAccess operation.
\nService last accessed data does not use other policy types when determining\n whether a resource could access a service. These other policy types include\n resource-based policies, access control lists, Organizations policies, IAM permissions\n boundaries, and STS assume role policies. It only applies permissions policy\n logic. For more about the evaluation of policy types, see Evaluating policies in the\n IAM User Guide.
\nFor more information about service and action last accessed data, see Reducing permissions using service last accessed data in the\n IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To generate a service last accessed data report for a policy", + "documentation": "The following operation generates a report for the policy: ExamplePolicy1", + "input": { + "Arn": "arn:aws:iam::123456789012:policy/ExamplePolicy1" + }, + "output": { + "JobId": "examplef-1305-c245-eba4-71fe298bcda7" + } + } + ] } }, "com.amazonaws.iam#GenerateServiceLastAccessedDetailsRequest": { @@ -5500,7 +5807,27 @@ } ], "traits": { - "smithy.api#documentation": "Retrieves the password policy for the Amazon Web Services account. This tells you the complexity\n requirements and mandatory rotation periods for the IAM user passwords in your account.\n For more information about using a password policy, see Managing an IAM password\n policy.
" + "smithy.api#documentation": "Retrieves the password policy for the Amazon Web Services account. This tells you the complexity\n requirements and mandatory rotation periods for the IAM user passwords in your account.\n For more information about using a password policy, see Managing an IAM password\n policy.
", + "smithy.api#examples": [ + { + "title": "To see the current account password policy", + "documentation": "The following command displays details about the password policy for the current AWS account.", + "output": { + "PasswordPolicy": { + "AllowUsersToChangePassword": false, + "RequireNumbers": true, + "RequireLowercaseCharacters": false, + "RequireUppercaseCharacters": false, + "MinimumPasswordLength": 8, + "RequireSymbols": true, + "ExpirePasswords": false, + "PasswordReusePrevention": 12, + "MaxPasswordAge": 90, + "HardExpiry": false + } + } + } + ] } }, "com.amazonaws.iam#GetAccountPasswordPolicyResponse": { @@ -5533,7 +5860,43 @@ } ], "traits": { - "smithy.api#documentation": "Retrieves information about IAM entity usage and IAM quotas in the Amazon Web Services\n account.
\nFor information about IAM quotas, see IAM and STS quotas in the\n IAM User Guide.
" + "smithy.api#documentation": "Retrieves information about IAM entity usage and IAM quotas in the Amazon Web Services\n account.
\nFor information about IAM quotas, see IAM and STS quotas in the\n IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To get information about IAM entity quotas and usage in the current account", + "documentation": "The following command returns information about the IAM entity quotas and usage in the current AWS account.", + "output": { + "SummaryMap": { + "Users": 27, + "UsersQuota": 5000, + "Groups": 15, + "GroupsQuota": 100, + "Policies": 8, + "PoliciesQuota": 1000, + "PolicySizeQuota": 5120, + "PolicyVersionsInUse": 22, + "PolicyVersionsInUseQuota": 10000, + "VersionsPerPolicyQuota": 5, + "ServerCertificates": 1, + "ServerCertificatesQuota": 20, + "UserPolicySizeQuota": 2048, + "GroupPolicySizeQuota": 5120, + "GroupsPerUserQuota": 10, + "GlobalEndpointTokenVersion": 2, + "SigningCertificatesPerUserQuota": 2, + "AccessKeysPerUserQuota": 2, + "MFADevices": 6, + "MFADevicesInUse": 3, + "AccountMFAEnabled": 0, + "AccountAccessKeysPresent": 1, + "AccountSigningCertificatesPresent": 0, + "AttachedPoliciesPerGroupQuota": 10, + "AttachedPoliciesPerRoleQuota": 10, + "AttachedPoliciesPerUserQuota": 10 + } + } + } + ] } }, "com.amazonaws.iam#GetAccountSummaryResponse": { @@ -5870,6 +6233,34 @@ ], "traits": { "smithy.api#documentation": "Retrieves information about the specified instance profile, including the instance\n profile's path, GUID, ARN, and role. For more information about instance profiles, see\n Using\n instance profiles in the IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To get information about an instance profile", + "documentation": "The following command gets information about the instance profile named ExampleInstanceProfile.", + "input": { + "InstanceProfileName": "ExampleInstanceProfile" + }, + "output": { + "InstanceProfile": { + "InstanceProfileId": "AID2MAB8DPLSRHEXAMPLE", + "Roles": [ + { + "AssumeRolePolicyDocument": "Retrieves the user name for the specified IAM user. A login profile is created when\n you create a password for the user to access the Amazon Web Services Management Console. If the user does not exist\n or does not have a password, the operation returns a 404 (NoSuchEntity
)\n error.
If you create an IAM user with access to the console, the CreateDate
\n reflects the date you created the initial password for the user.
If you create an IAM user with programmatic access, and then later add a password\n for the user to access the Amazon Web Services Management Console, the CreateDate
reflects the initial\n password creation date. A user with programmatic access does not have a login profile\n unless you create a password for the user to access the Amazon Web Services Management Console.
Retrieves the user name for the specified IAM user. A login profile is created when\n you create a password for the user to access the Amazon Web Services Management Console. If the user does not exist\n or does not have a password, the operation returns a 404 (NoSuchEntity
)\n error.
If you create an IAM user with access to the console, the CreateDate
\n reflects the date you created the initial password for the user.
If you create an IAM user with programmatic access, and then later add a password\n for the user to access the Amazon Web Services Management Console, the CreateDate
reflects the initial\n password creation date. A user with programmatic access does not have a login profile\n unless you create a password for the user to access the Amazon Web Services Management Console.
Retrieves the service last accessed data report for Organizations that was previously\n generated using the \n GenerateOrganizationsAccessReport\n
\n operation. This operation retrieves the status of your report job and the report\n contents.
Depending on the parameters that you passed when you generated the report, the data\n returned could include different information. For details, see GenerateOrganizationsAccessReport.
\nTo call this operation, you must be signed in to the management account in your\n organization. SCPs must be enabled for your organization root. You must have permissions\n to perform this operation. For more information, see Refining permissions using\n service last accessed data in the\n IAM User Guide.
\nFor each service that principals in an account (root user, IAM users, or IAM roles)\n could access using SCPs, the operation returns details about the most recent access\n attempt. If there was no attempt, the service is listed without details about the most\n recent attempt to access the service. If the operation fails, it returns the reason that\n it failed.
\nBy default, the list is sorted by service namespace.
" + "smithy.api#documentation": "Retrieves the service last accessed data report for Organizations that was previously\n generated using the \n GenerateOrganizationsAccessReport\n
\n operation. This operation retrieves the status of your report job and the report\n contents.
Depending on the parameters that you passed when you generated the report, the data\n returned could include different information. For details, see GenerateOrganizationsAccessReport.
\nTo call this operation, you must be signed in to the management account in your\n organization. SCPs must be enabled for your organization root. You must have permissions\n to perform this operation. For more information, see Refining permissions using\n service last accessed data in the\n IAM User Guide.
\nFor each service that principals in an account (root user, IAM users, or IAM roles)\n could access using SCPs, the operation returns details about the most recent access\n attempt. If there was no attempt, the service is listed without details about the most\n recent attempt to access the service. If the operation fails, it returns the reason that\n it failed.
\nBy default, the list is sorted by service namespace.
", + "smithy.api#examples": [ + { + "title": "To get details from a previously generated organizational unit report", + "documentation": "The following operation gets details about the report with the job ID: examplea-1234-b567-cde8-90fg123abcd4", + "input": { + "JobId": "examplea-1234-b567-cde8-90fg123abcd4" + }, + "output": { + "IsTruncated": false, + "JobCompletionDate": "2019-06-18T19:47:35.241Z", + "JobCreationDate": "2019-06-18T19:47:31.466Z", + "JobStatus": "COMPLETED", + "NumberOfServicesAccessible": 3, + "NumberOfServicesNotAccessed": 1, + "AccessDetails": [ + { + "EntityPath": "o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-1a2b3c-k9l8m7n6o5example/111122223333", + "LastAuthenticatedTime": "2019-05-25T16:29:52Z", + "Region": "us-east-1", + "ServiceName": "Amazon DynamoDB", + "ServiceNamespace": "dynamodb", + "TotalAuthenticatedEntities": 2 + }, + { + "EntityPath": "o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-1a2b3c-k9l8m7n6o5example/123456789012", + "LastAuthenticatedTime": "2019-06-15T13:12:06Z", + "Region": "us-east-1", + "ServiceName": "AWS Identity and Access Management", + "ServiceNamespace": "iam", + "TotalAuthenticatedEntities": 4 + }, + { + "ServiceName": "Amazon Simple Storage Service", + "ServiceNamespace": "s3", + "TotalAuthenticatedEntities": 0 + } + ] + } + } + ] } }, "com.amazonaws.iam#GetOrganizationsAccessReportRequest": { @@ -6389,6 +6835,30 @@ ], "traits": { "smithy.api#documentation": "Retrieves information about the specified role, including the role's path, GUID, ARN,\n and the role's trust policy that grants permission to assume the role. For more\n information about roles, see IAM roles in the\n IAM User Guide.
\nPolicies returned by this operation are URL-encoded compliant \n with RFC 3986. You can use a URL \n decoding method to convert the policy back to plain JSON text. For example, if you use Java, you \n can use the decode
method of the java.net.URLDecoder
utility class in \n the Java SDK. Other languages and SDKs provide similar functionality.
Retrieves a service last accessed report that was created using the\n GenerateServiceLastAccessedDetails
operation. You can use the\n JobId
parameter in GetServiceLastAccessedDetails
to\n retrieve the status of your report job. When the report is complete, you can retrieve\n the generated report. The report includes a list of Amazon Web Services services that the resource\n (user, group, role, or managed policy) can access.
Service last accessed data does not use other policy types when determining\n whether a resource could access a service. These other policy types include\n resource-based policies, access control lists, Organizations policies, IAM permissions\n boundaries, and STS assume role policies. It only applies permissions policy\n logic. For more about the evaluation of policy types, see Evaluating policies in the\n IAM User Guide.
\nFor each service that the resource could access using permissions policies, the\n operation returns details about the most recent access attempt. If there was no attempt,\n the service is listed without details about the most recent attempt to access the\n service. If the operation fails, the GetServiceLastAccessedDetails
\n operation returns the reason that it failed.
The GetServiceLastAccessedDetails
operation returns a list of services.\n This list includes the number of entities that have attempted to access the service and\n the date and time of the last attempt. It also returns the ARN of the following entity,\n depending on the resource ARN that you used to generate the report:
\n User – Returns the user ARN that you\n used to generate the report
\n\n Group – Returns the ARN of the group\n member (user) that last attempted to access the service
\n\n Role – Returns the role ARN that you\n used to generate the report
\n\n Policy – Returns the ARN of the user\n or role that last used the policy to attempt to access the service
\nBy default, the list is sorted by service namespace.
\nIf you specified ACTION_LEVEL
granularity when you generated the report,\n this operation returns service and action last accessed data. This includes the most\n recent access attempt for each tracked action within a service. Otherwise, this\n operation returns only service data.
For more information about service and action last accessed data, see Reducing permissions using service last accessed data in the\n IAM User Guide.
" + "smithy.api#documentation": "Retrieves a service last accessed report that was created using the\n GenerateServiceLastAccessedDetails
operation. You can use the\n JobId
parameter in GetServiceLastAccessedDetails
to\n retrieve the status of your report job. When the report is complete, you can retrieve\n the generated report. The report includes a list of Amazon Web Services services that the resource\n (user, group, role, or managed policy) can access.
Service last accessed data does not use other policy types when determining\n whether a resource could access a service. These other policy types include\n resource-based policies, access control lists, Organizations policies, IAM permissions\n boundaries, and STS assume role policies. It only applies permissions policy\n logic. For more about the evaluation of policy types, see Evaluating policies in the\n IAM User Guide.
\nFor each service that the resource could access using permissions policies, the\n operation returns details about the most recent access attempt. If there was no attempt,\n the service is listed without details about the most recent attempt to access the\n service. If the operation fails, the GetServiceLastAccessedDetails
\n operation returns the reason that it failed.
The GetServiceLastAccessedDetails
operation returns a list of services.\n This list includes the number of entities that have attempted to access the service and\n the date and time of the last attempt. It also returns the ARN of the following entity,\n depending on the resource ARN that you used to generate the report:
\n User – Returns the user ARN that you\n used to generate the report
\n\n Group – Returns the ARN of the group\n member (user) that last attempted to access the service
\n\n Role – Returns the role ARN that you\n used to generate the report
\n\n Policy – Returns the ARN of the user\n or role that last used the policy to attempt to access the service
\nBy default, the list is sorted by service namespace.
\nIf you specified ACTION_LEVEL
granularity when you generated the report,\n this operation returns service and action last accessed data. This includes the most\n recent access attempt for each tracked action within a service. Otherwise, this\n operation returns only service data.
For more information about service and action last accessed data, see Reducing permissions using service last accessed data in the\n IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To get details from a previously-generated report", + "documentation": "The following operation gets details about the report with the job ID: examplef-1305-c245-eba4-71fe298bcda7", + "input": { + "JobId": "examplef-1305-c245-eba4-71fe298bcda7" + }, + "output": { + "JobStatus": "COMPLETED", + "JobCreationDate": "2018-10-24T19:47:31.466Z", + "ServicesLastAccessed": [ + { + "TotalAuthenticatedEntities": 2, + "LastAuthenticated": "2018-10-24T19:11:00Z", + "ServiceNamespace": "iam", + "LastAuthenticatedEntity": "arn:aws:iam::123456789012:user/AWSExampleUser01", + "ServiceName": "AWS Identity and Access Management" + }, + { + "TotalAuthenticatedEntities": 0, + "ServiceNamespace": "s3", + "ServiceName": "Amazon Simple Storage Service" + } + ], + "JobCompletionDate": "2018-10-24T19:47:35.241Z", + "IsTruncated": false + } + } + ] } }, "com.amazonaws.iam#GetServiceLastAccessedDetailsRequest": { @@ -6827,7 +7326,44 @@ } ], "traits": { - "smithy.api#documentation": "After you generate a group or policy report using the\n GenerateServiceLastAccessedDetails
operation, you can use the\n JobId
parameter in\n GetServiceLastAccessedDetailsWithEntities
. This operation retrieves the\n status of your report job and a list of entities that could have used group or policy\n permissions to access the specified service.
\n Group – For a group report, this\n operation returns a list of users in the group that could have used the group’s\n policies in an attempt to access the service.
\n\n Policy – For a policy report, this\n operation returns a list of entities (users or roles) that could have used the\n policy in an attempt to access the service.
\nYou can also use this operation for user or role reports to retrieve details about\n those entities.
\nIf the operation fails, the GetServiceLastAccessedDetailsWithEntities
\n operation returns the reason that it failed.
By default, the list of associated entities is sorted by date, with the most recent\n access listed first.
" + "smithy.api#documentation": "After you generate a group or policy report using the\n GenerateServiceLastAccessedDetails
operation, you can use the\n JobId
parameter in\n GetServiceLastAccessedDetailsWithEntities
. This operation retrieves the\n status of your report job and a list of entities that could have used group or policy\n permissions to access the specified service.
\n Group – For a group report, this\n operation returns a list of users in the group that could have used the group’s\n policies in an attempt to access the service.
\n\n Policy – For a policy report, this\n operation returns a list of entities (users or roles) that could have used the\n policy in an attempt to access the service.
\nYou can also use this operation for user or role reports to retrieve details about\n those entities.
\nIf the operation fails, the GetServiceLastAccessedDetailsWithEntities
\n operation returns the reason that it failed.
By default, the list of associated entities is sorted by date, with the most recent\n access listed first.
", + "smithy.api#examples": [ + { + "title": "To get sntity details from a previously-generated report", + "documentation": "The following operation returns details about the entities that attempted to access the IAM service.", + "input": { + "JobId": "examplef-1305-c245-eba4-71fe298bcda7", + "ServiceNamespace": "iam" + }, + "output": { + "JobStatus": "COMPLETED", + "JobCreationDate": "2018-10-24T19:47:31.466Z", + "JobCompletionDate": "2018-10-24T19:47:35.241Z", + "EntityDetailsList": [ + { + "EntityInfo": { + "Id": "AIDAEX2EXAMPLEB6IGCDC", + "Name": "AWSExampleUser01", + "Type": "USER", + "Path": "/", + "Arn": "arn:aws:iam::123456789012:user/AWSExampleUser01" + }, + "LastAuthenticated": "2018-10-24T19:10:00Z" + }, + { + "EntityInfo": { + "Id": "AROAEAEXAMPLEIANXSIU4", + "Name": "AWSExampleRole01", + "Type": "ROLE", + "Path": "/", + "Arn": "arn:aws:iam::123456789012:role/AWSExampleRole01" + } + } + ], + "IsTruncated": false + } + } + ] } }, "com.amazonaws.iam#GetServiceLastAccessedDetailsWithEntitiesRequest": { @@ -6996,6 +7532,24 @@ ], "traits": { "smithy.api#documentation": "Retrieves information about the specified IAM user, including the user's creation\n date, path, unique ID, and ARN.
\nIf you do not specify a user name, IAM determines the user name implicitly based on\n the Amazon Web Services access key ID used to sign the request to this operation.
", + "smithy.api#examples": [ + { + "title": "To get information about an IAM user", + "documentation": "The following command gets information about the IAM user named Bob.", + "input": { + "UserName": "Bob" + }, + "output": { + "User": { + "UserName": "Bob", + "Path": "/", + "CreateDate": "2012-09-21T23:03:13Z", + "UserId": "AKIAIOSFODNN7EXAMPLE", + "Arn": "arn:aws:iam::123456789012:user/Bob" + } + } + } + ], "smithy.api#suppress": [ "WaitableTraitInvalidErrorType" ], @@ -7411,6 +7965,31 @@ ], "traits": { "smithy.api#documentation": "Returns information about the access key IDs associated with the specified IAM user.\n If there is none, the operation returns an empty list.
\nAlthough each user is limited to a small number of keys, you can still paginate the\n results using the MaxItems
and Marker
parameters.
If the UserName
is not specified, the user name is determined implicitly\n based on the Amazon Web Services access key ID used to sign the request. If a temporary access key is\n used, then UserName
is required. If a long-term key is assigned to the\n user, then UserName
is not required. This operation works for access keys\n under the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root user\n credentials even if the Amazon Web Services account has no associated users.
To ensure the security of your Amazon Web Services account, the secret access key is accessible\n only during key and user creation.
\nLists the account alias associated with the Amazon Web Services account (Note: you can have only\n one). For information about using an Amazon Web Services account alias, see Creating,\n deleting, and listing an Amazon Web Services account alias in the Amazon Web Services Sign-In\n User Guide.
", + "smithy.api#examples": [ + { + "title": "To list account aliases", + "documentation": "The following command lists the aliases for the current account.", + "output": { + "AccountAliases": [ + "exmaple-corporation" + ] + } + } + ], "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "Marker", @@ -7947,6 +8537,21 @@ ], "traits": { "smithy.api#documentation": "Lists the names of the inline policies that are embedded in the specified IAM\n group.
\nAn IAM group can also have managed policies attached to it. To list the managed\n policies that are attached to a group, use ListAttachedGroupPolicies.\n For more information about policies, see Managed policies and inline\n policies in the IAM User Guide.
\nYou can paginate the results using the MaxItems
and Marker
\n parameters. If there are no inline policies embedded with the specified group, the\n operation returns an empty list.
Lists the IAM groups that have the specified path prefix.
\n You can paginate the results using the MaxItems
and Marker
\n parameters.
Lists the IAM groups that the specified IAM user belongs to.
\nYou can paginate the results using the MaxItems
and Marker
\n parameters.
Retrieves a list of policies that the IAM identity (user, group, or role) can use to\n access each specified service.
\nThis operation does not use other policy types when determining whether a resource\n could access a service. These other policy types include resource-based policies,\n access control lists, Organizations policies, IAM permissions boundaries, and STS\n assume role policies. It only applies permissions policy logic. For more about the\n evaluation of policy types, see Evaluating policies in the\n IAM User Guide.
\nThe list of policies returned by the operation depends on the ARN of the identity that\n you provide.
\n\n User – The list of policies includes\n the managed and inline policies that are attached to the user directly. The list\n also includes any additional managed and inline policies that are attached to\n the group to which the user belongs.
\n\n Group – The list of policies includes\n only the managed and inline policies that are attached to the group directly.\n Policies that are attached to the group’s user are not included.
\n\n Role – The list of policies includes\n only the managed and inline policies that are attached to the role.
\nFor each managed policy, this operation returns the ARN and policy name. For each\n inline policy, it returns the policy name and the entity to which it is attached. Inline\n policies do not have an ARN. For more information about these policy types, see Managed policies and inline policies in the\n IAM User Guide.
\nPolicies that are attached to users and roles as permissions boundaries are not\n returned. To view which managed policy is currently used to set the permissions boundary\n for a user or role, use the GetUser or GetRole\n operations.
" + "smithy.api#documentation": "Retrieves a list of policies that the IAM identity (user, group, or role) can use to\n access each specified service.
\nThis operation does not use other policy types when determining whether a resource\n could access a service. These other policy types include resource-based policies,\n access control lists, Organizations policies, IAM permissions boundaries, and STS\n assume role policies. It only applies permissions policy logic. For more about the\n evaluation of policy types, see Evaluating policies in the\n IAM User Guide.
\nThe list of policies returned by the operation depends on the ARN of the identity that\n you provide.
\n\n User – The list of policies includes\n the managed and inline policies that are attached to the user directly. The list\n also includes any additional managed and inline policies that are attached to\n the group to which the user belongs.
\n\n Group – The list of policies includes\n only the managed and inline policies that are attached to the group directly.\n Policies that are attached to the group’s user are not included.
\n\n Role – The list of policies includes\n only the managed and inline policies that are attached to the role.
\nFor each managed policy, this operation returns the ARN and policy name. For each\n inline policy, it returns the policy name and the entity to which it is attached. Inline\n policies do not have an ARN. For more information about these policy types, see Managed policies and inline policies in the\n IAM User Guide.
\nPolicies that are attached to users and roles as permissions boundaries are not\n returned. To view which managed policy is currently used to set the permissions boundary\n for a user or role, use the GetUser or GetRole\n operations.
", + "smithy.api#examples": [ + { + "title": "To list policies that allow access to a service", + "documentation": "The following operation lists policies that allow ExampleUser01 to access IAM or EC2.", + "input": { + "Arn": "arn:aws:iam::123456789012:user/ExampleUser01", + "ServiceNamespaces": [ + "iam", + "ec2" + ] + }, + "output": { + "IsTruncated": false, + "PoliciesGrantingServiceAccess": [ + { + "Policies": [ + { + "PolicyArn": "arn:aws:iam::123456789012:policy/ExampleIamPolicy", + "PolicyType": "MANAGED", + "PolicyName": "ExampleIamPolicy" + }, + { + "EntityName": "AWSExampleGroup1", + "EntityType": "GROUP", + "PolicyType": "INLINE", + "PolicyName": "ExampleGroup1Policy" + } + ], + "ServiceNamespace": "iam" + }, + { + "Policies": [ + { + "PolicyArn": "arn:aws:iam::123456789012:policy/ExampleEc2Policy", + "PolicyType": "MANAGED", + "PolicyName": "ExampleEc2Policy" + } + ], + "ServiceNamespace": "ec2" + } + ] + } + } + ] } }, "com.amazonaws.iam#ListPoliciesGrantingServiceAccessEntry": { @@ -9160,6 +9867,28 @@ ], "traits": { "smithy.api#documentation": "Lists the tags that are attached to the specified role. The returned list of tags is\n sorted by tag key. For more information about tagging, see Tagging IAM resources in the\n IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To list the tags attached to an IAM role", + "documentation": "The following example shows how to list the tags attached to a role.", + "input": { + "RoleName": "taggedrole1" + }, + "output": { + "Tags": [ + { + "Key": "Dept", + "Value": "12345" + }, + { + "Key": "Team", + "Value": "Accounting" + } + ], + "IsTruncated": false + } + } + ], "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "Marker", @@ -9732,6 +10461,26 @@ ], "traits": { "smithy.api#documentation": "Returns information about the signing certificates associated with the specified IAM\n user. If none exists, the operation returns an empty list.
\nAlthough each user is limited to a small number of signing certificates, you can still\n paginate the results using the MaxItems
and Marker
\n parameters.
If the UserName
field is not specified, the user name is determined\n implicitly based on the Amazon Web Services access key ID used to sign the request for this operation.\n This operation works for access keys under the Amazon Web Services account. Consequently, you can use\n this operation to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no\n associated users.
Lists the tags that are attached to the specified IAM user. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the\n IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To list the tags attached to an IAM user", + "documentation": "The following example shows how to list the tags attached to a user.", + "input": { + "UserName": "anika" + }, + "output": { + "Tags": [ + { + "Key": "Dept", + "Value": "12345" + }, + { + "Key": "Team", + "Value": "Accounting" + } + ], + "IsTruncated": false + } + } + ], "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "Marker", @@ -9973,6 +10744,32 @@ ], "traits": { "smithy.api#documentation": "Lists the IAM users that have the specified path prefix. If no path prefix is\n specified, the operation returns all users in the Amazon Web Services account. If there are none, the\n operation returns an empty list.
\nIAM resource-listing operations return a subset of the available \n attributes for the resource. This operation does not return the following attributes, even though they are an attribute of the returned object:
\nPermissionsBoundary
\nTags
\nTo view all of the information for a user, see GetUser.
\nYou can paginate the results using the MaxItems
and Marker
\n parameters.
Lists the virtual MFA devices defined in the Amazon Web Services account by assignment status. If\n you do not specify an assignment status, the operation returns a list of all virtual MFA\n devices. Assignment status can be Assigned
, Unassigned
, or\n Any
.
IAM resource-listing operations return a subset of the available \n attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view tag information for a virtual MFA device, see ListMFADeviceTags.
\nYou can paginate the results using the MaxItems
and Marker
\n parameters.
Adds or updates an inline policy document that is embedded in the specified IAM\n group.
\nA user can also have managed policies attached to it. To attach a managed policy to a\n group, use \n AttachGroupPolicy
\n . To create a new managed policy, use\n \n CreatePolicy
\n . For information about policies, see Managed\n policies and inline policies in the\n IAM User Guide.
For information about the maximum number of inline policies that you can embed in a\n group, see IAM and STS quotas in the IAM User Guide.
\nBecause policy documents can be large, you should use POST rather than GET when\n calling PutGroupPolicy
. For general information about using the Query\n API with IAM, see Making query requests in the\n IAM User Guide.
Adds or updates an inline policy document that is embedded in the specified IAM\n group.
\nA user can also have managed policies attached to it. To attach a managed policy to a\n group, use \n AttachGroupPolicy
\n . To create a new managed policy, use\n \n CreatePolicy
\n . For information about policies, see Managed\n policies and inline policies in the\n IAM User Guide.
For information about the maximum number of inline policies that you can embed in a\n group, see IAM and STS quotas in the IAM User Guide.
\nBecause policy documents can be large, you should use POST rather than GET when\n calling PutGroupPolicy
. For general information about using the Query\n API with IAM, see Making query requests in the\n IAM User Guide.
Adds or updates an inline policy document that is embedded in the specified IAM\n role.
\nWhen you embed an inline policy in a role, the inline policy is used as part of the\n role's access (permissions) policy. The role's trust policy is created at the same time\n as the role, using \n CreateRole
\n .\n You can update a role's trust policy using \n UpdateAssumeRolePolicy
\n . For more information about roles,\n see IAM\n roles in the IAM User Guide.
A role can also have a managed policy attached to it. To attach a managed policy to a\n role, use \n AttachRolePolicy
\n . To create a new managed policy, use\n \n CreatePolicy
\n . For information about policies, see Managed\n policies and inline policies in the\n IAM User Guide.
For information about the maximum number of inline policies that you can embed with a\n role, see IAM and STS quotas in the IAM User Guide.
\nBecause policy documents can be large, you should use POST rather than GET when\n calling PutRolePolicy
. For general information about using the Query\n API with IAM, see Making query requests in the\n IAM User Guide.
Adds or updates an inline policy document that is embedded in the specified IAM\n role.
\nWhen you embed an inline policy in a role, the inline policy is used as part of the\n role's access (permissions) policy. The role's trust policy is created at the same time\n as the role, using \n CreateRole
\n .\n You can update a role's trust policy using \n UpdateAssumeRolePolicy
\n . For more information about roles,\n see IAM\n roles in the IAM User Guide.
A role can also have a managed policy attached to it. To attach a managed policy to a\n role, use \n AttachRolePolicy
\n . To create a new managed policy, use\n \n CreatePolicy
\n . For information about policies, see Managed\n policies and inline policies in the\n IAM User Guide.
For information about the maximum number of inline policies that you can embed with a\n role, see IAM and STS quotas in the IAM User Guide.
\nBecause policy documents can be large, you should use POST rather than GET when\n calling PutRolePolicy
. For general information about using the Query\n API with IAM, see Making query requests in the\n IAM User Guide.
Adds or updates an inline policy document that is embedded in the specified IAM\n user.
\nAn IAM user can also have a managed policy attached to it. To attach a managed\n policy to a user, use \n AttachUserPolicy
\n . To create a new managed policy, use\n \n CreatePolicy
\n . For information about policies, see Managed\n policies and inline policies in the\n IAM User Guide.
For information about the maximum number of inline policies that you can embed in a\n user, see IAM and STS quotas in the IAM User Guide.
\nBecause policy documents can be large, you should use POST rather than GET when\n calling PutUserPolicy
. For general information about using the Query\n API with IAM, see Making query requests in the\n IAM User Guide.
Adds or updates an inline policy document that is embedded in the specified IAM\n user.
\nAn IAM user can also have a managed policy attached to it. To attach a managed\n policy to a user, use \n AttachUserPolicy
\n . To create a new managed policy, use\n \n CreatePolicy
\n . For information about policies, see Managed\n policies and inline policies in the\n IAM User Guide.
For information about the maximum number of inline policies that you can embed in a\n user, see IAM and STS quotas in the IAM User Guide.
\nBecause policy documents can be large, you should use POST rather than GET when\n calling PutUserPolicy
. For general information about using the Query\n API with IAM, see Making query requests in the\n IAM User Guide.
Removes the specified IAM role from the specified EC2 instance profile.
\nMake sure that you do not have any Amazon EC2 instances running with the role you\n are about to remove from the instance profile. Removing a role from an instance\n profile that is associated with a running instance might break any applications\n running on the instance.
\nFor more information about roles, see IAM roles in the\n IAM User Guide. For more information about instance profiles,\n see Using\n instance profiles in the IAM User Guide.
" + "smithy.api#documentation": "Removes the specified IAM role from the specified EC2 instance profile.
\nMake sure that you do not have any Amazon EC2 instances running with the role you\n are about to remove from the instance profile. Removing a role from an instance\n profile that is associated with a running instance might break any applications\n running on the instance.
\nFor more information about roles, see IAM roles in the\n IAM User Guide. For more information about instance profiles,\n see Using\n instance profiles in the IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To remove a role from an instance profile", + "documentation": "The following command removes the role named Test-Role from the instance profile named ExampleInstanceProfile.", + "input": { + "RoleName": "Test-Role", + "InstanceProfileName": "ExampleInstanceProfile" + } + } + ] } }, "com.amazonaws.iam#RemoveRoleFromInstanceProfileRequest": { @@ -11257,7 +12113,17 @@ } ], "traits": { - "smithy.api#documentation": "Removes the specified user from the specified group.
" + "smithy.api#documentation": "Removes the specified user from the specified group.
", + "smithy.api#examples": [ + { + "title": "To remove a user from an IAM group", + "documentation": "The following command removes the user named Bob from the IAM group named Admins.", + "input": { + "UserName": "Bob", + "GroupName": "Admins" + } + } + ] } }, "com.amazonaws.iam#RemoveUserFromGroupRequest": { @@ -12225,7 +13091,16 @@ } ], "traits": { - "smithy.api#documentation": "Sets the specified version of the global endpoint token as the token version used for\n the Amazon Web Services account.
\nBy default, Security Token Service (STS) is available as a global service, and all STS requests\n go to a single endpoint at https://sts.amazonaws.com
. Amazon Web Services recommends\n using Regional STS endpoints to reduce latency, build in redundancy, and increase\n session token availability. For information about Regional endpoints for STS, see\n Security Token Service\n endpoints and quotas in the Amazon Web Services General Reference.
If you make an STS call to the global endpoint, the resulting session tokens might\n be valid in some Regions but not others. It depends on the version that is set in this\n operation. Version 1 tokens are valid only in Amazon Web Services Regions that are\n available by default. These tokens do not work in manually enabled Regions, such as Asia\n Pacific (Hong Kong). Version 2 tokens are valid in all Regions. However, version 2\n tokens are longer and might affect systems where you temporarily store tokens. For\n information, see Activating and\n deactivating STS in an Amazon Web Services Region in the\n IAM User Guide.
\nTo view the current session token version, see the\n GlobalEndpointTokenVersion
entry in the response of the GetAccountSummary operation.
Sets the specified version of the global endpoint token as the token version used for\n the Amazon Web Services account.
\nBy default, Security Token Service (STS) is available as a global service, and all STS requests\n go to a single endpoint at https://sts.amazonaws.com
. Amazon Web Services recommends\n using Regional STS endpoints to reduce latency, build in redundancy, and increase\n session token availability. For information about Regional endpoints for STS, see\n Security Token Service\n endpoints and quotas in the Amazon Web Services General Reference.
If you make an STS call to the global endpoint, the resulting session tokens might\n be valid in some Regions but not others. It depends on the version that is set in this\n operation. Version 1 tokens are valid only in Amazon Web Services Regions that are\n available by default. These tokens do not work in manually enabled Regions, such as Asia\n Pacific (Hong Kong). Version 2 tokens are valid in all Regions. However, version 2\n tokens are longer and might affect systems where you temporarily store tokens. For\n information, see Activating and\n deactivating STS in an Amazon Web Services Region in the\n IAM User Guide.
\nTo view the current session token version, see the\n GlobalEndpointTokenVersion
entry in the response of the GetAccountSummary operation.
Adds one or more tags to an IAM role. The role can be a regular role or a\n service-linked role. If a tag with the same key name already exists, then that tag is\n overwritten with the new value.
\nA tag consists of a key name and an associated value. By assigning tags to your\n resources, you can do the following:
\n\n Administrative grouping and discovery - Attach\n tags to resources to aid in organization and search. For example, you could search for all\n resources with the key name Project and the value\n MyImportantProject. Or search for all resources with the key name\n Cost Center and the value 41200.
\n\n Access control - Include tags in IAM user-based\n and resource-based policies. You can use tags to restrict access to only an IAM role\n that has a specified tag attached. You can also restrict access to only those resources\n that have a certain tag attached. For examples of policies that show how to use tags to\n control access, see Control access using IAM tags in the\n IAM User Guide.
\n\n Cost allocation - Use tags to help track which\n individuals and teams are using which Amazon Web Services resources.
\nIf any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request \n fails and the resource is not created. For more information about tagging, see Tagging IAM resources in the\n IAM User Guide.
\nAmazon Web Services always interprets the tag Value
as a single string. If you\n need to store an array, you can store comma-separated values in the string. However, you\n must interpret the value in your code.
For more information about tagging, see Tagging IAM identities in the\n IAM User Guide.
" + "smithy.api#documentation": "Adds one or more tags to an IAM role. The role can be a regular role or a\n service-linked role. If a tag with the same key name already exists, then that tag is\n overwritten with the new value.
\nA tag consists of a key name and an associated value. By assigning tags to your\n resources, you can do the following:
\n\n Administrative grouping and discovery - Attach\n tags to resources to aid in organization and search. For example, you could search for all\n resources with the key name Project and the value\n MyImportantProject. Or search for all resources with the key name\n Cost Center and the value 41200.
\n\n Access control - Include tags in IAM user-based\n and resource-based policies. You can use tags to restrict access to only an IAM role\n that has a specified tag attached. You can also restrict access to only those resources\n that have a certain tag attached. For examples of policies that show how to use tags to\n control access, see Control access using IAM tags in the\n IAM User Guide.
\n\n Cost allocation - Use tags to help track which\n individuals and teams are using which Amazon Web Services resources.
\nIf any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request \n fails and the resource is not created. For more information about tagging, see Tagging IAM resources in the\n IAM User Guide.
\nAmazon Web Services always interprets the tag Value
as a single string. If you\n need to store an array, you can store comma-separated values in the string. However, you\n must interpret the value in your code.
For more information about tagging, see Tagging IAM identities in the\n IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To add a tag key and value to an IAM role", + "documentation": "The following example shows how to add tags to an existing role.", + "input": { + "RoleName": "taggedrole", + "Tags": [ + { + "Key": "Dept", + "Value": "Accounting" + }, + { + "Key": "CostCenter", + "Value": "12345" + } + ] + } + } + ] } }, "com.amazonaws.iam#TagRoleRequest": { @@ -12974,7 +13868,26 @@ } ], "traits": { - "smithy.api#documentation": "Adds one or more tags to an IAM user. If a tag with the same key name already exists,\n then that tag is overwritten with the new value.
\nA tag consists of a key name and an associated value. By assigning tags to your\n resources, you can do the following:
\n\n Administrative grouping and discovery - Attach\n tags to resources to aid in organization and search. For example, you could search for all\n resources with the key name Project and the value\n MyImportantProject. Or search for all resources with the key name\n Cost Center and the value 41200.
\n\n Access control - Include tags in IAM identity-based\n and resource-based policies. You can use tags to restrict access to only an IAM\n requesting user that has a specified tag attached. You can also restrict access to only\n those resources that have a certain tag attached. For examples of policies that show how\n to use tags to control access, see Control access using IAM tags in the\n IAM User Guide.
\n\n Cost allocation - Use tags to help track which\n individuals and teams are using which Amazon Web Services resources.
\nIf any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request \n fails and the resource is not created. For more information about tagging, see Tagging IAM resources in the\n IAM User Guide.
\nAmazon Web Services always interprets the tag Value
as a single string. If you\n need to store an array, you can store comma-separated values in the string. However, you\n must interpret the value in your code.
For more information about tagging, see Tagging IAM identities in the\n IAM User Guide.
" + "smithy.api#documentation": "Adds one or more tags to an IAM user. If a tag with the same key name already exists,\n then that tag is overwritten with the new value.
\nA tag consists of a key name and an associated value. By assigning tags to your\n resources, you can do the following:
\n\n Administrative grouping and discovery - Attach\n tags to resources to aid in organization and search. For example, you could search for all\n resources with the key name Project and the value\n MyImportantProject. Or search for all resources with the key name\n Cost Center and the value 41200.
\n\n Access control - Include tags in IAM identity-based\n and resource-based policies. You can use tags to restrict access to only an IAM\n requesting user that has a specified tag attached. You can also restrict access to only\n those resources that have a certain tag attached. For examples of policies that show how\n to use tags to control access, see Control access using IAM tags in the\n IAM User Guide.
\n\n Cost allocation - Use tags to help track which\n individuals and teams are using which Amazon Web Services resources.
\nIf any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request \n fails and the resource is not created. For more information about tagging, see Tagging IAM resources in the\n IAM User Guide.
\nAmazon Web Services always interprets the tag Value
as a single string. If you\n need to store an array, you can store comma-separated values in the string. However, you\n must interpret the value in your code.
For more information about tagging, see Tagging IAM identities in the\n IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To add a tag key and value to an IAM user", + "documentation": "The following example shows how to add tags to an existing user.", + "input": { + "UserName": "anika", + "Tags": [ + { + "Key": "Dept", + "Value": "Accounting" + }, + { + "Key": "CostCenter", + "Value": "12345" + } + ] + } + } + ] } }, "com.amazonaws.iam#TagUserRequest": { @@ -13280,7 +14193,19 @@ } ], "traits": { - "smithy.api#documentation": "Removes the specified tags from the role. For more information about tagging, see Tagging IAM resources in the\n IAM User Guide.
" + "smithy.api#documentation": "Removes the specified tags from the role. For more information about tagging, see Tagging IAM resources in the\n IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To remove a tag from an IAM role", + "documentation": "The following example shows how to remove a tag with the key 'Dept' from a role named 'taggedrole'.", + "input": { + "RoleName": "taggedrole", + "TagKeys": [ + "Dept" + ] + } + } + ] } }, "com.amazonaws.iam#UntagRoleRequest": { @@ -13421,7 +14346,19 @@ } ], "traits": { - "smithy.api#documentation": "Removes the specified tags from the user. For more information about tagging, see Tagging IAM resources in the\n IAM User Guide.
" + "smithy.api#documentation": "Removes the specified tags from the user. For more information about tagging, see Tagging IAM resources in the\n IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To remove a tag from an IAM user", + "documentation": "The following example shows how to remove tags that are attached to a user named 'anika'.", + "input": { + "UserName": "anika", + "TagKeys": [ + "Dept" + ] + } + } + ] } }, "com.amazonaws.iam#UntagUserRequest": { @@ -13466,7 +14403,18 @@ } ], "traits": { - "smithy.api#documentation": "Changes the status of the specified access key from Active to Inactive, or vice versa.\n This operation can be used to disable a user's key as part of a key rotation\n workflow.
\nIf the UserName
is not specified, the user name is determined implicitly\n based on the Amazon Web Services access key ID used to sign the request. If a temporary access key is\n used, then UserName
is required. If a long-term key is assigned to the\n user, then UserName
is not required. This operation works for access keys\n under the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root user\n credentials even if the Amazon Web Services account has no associated users.
For information about rotating keys, see Managing keys and certificates\n in the IAM User Guide.
" + "smithy.api#documentation": "Changes the status of the specified access key from Active to Inactive, or vice versa.\n This operation can be used to disable a user's key as part of a key rotation\n workflow.
\nIf the UserName
is not specified, the user name is determined implicitly\n based on the Amazon Web Services access key ID used to sign the request. If a temporary access key is\n used, then UserName
is required. If a long-term key is assigned to the\n user, then UserName
is not required. This operation works for access keys\n under the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root user\n credentials even if the Amazon Web Services account has no associated users.
For information about rotating keys, see Managing keys and certificates\n in the IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To activate or deactivate an access key for an IAM user", + "documentation": "The following command deactivates the specified access key (access key ID and secret access key) for the IAM user named Bob.", + "input": { + "UserName": "Bob", + "Status": "Inactive", + "AccessKeyId": "AKIAIOSFODNN7EXAMPLE" + } + } + ] } }, "com.amazonaws.iam#UpdateAccessKeyRequest": { @@ -13520,7 +14468,17 @@ } ], "traits": { - "smithy.api#documentation": "Updates the password policy settings for the Amazon Web Services account.
\nThis operation does not support partial updates. No parameters are required, but\n if you do not specify a parameter, that parameter's value reverts to its default\n value. See the Request Parameters section for each\n parameter's default value. Also note that some parameters do not allow the default\n parameter to be explicitly set. Instead, to invoke the default value, do not include\n that parameter when you invoke the operation.
\nFor more information about using a password policy, see Managing an IAM password\n policy in the IAM User Guide.
" + "smithy.api#documentation": "Updates the password policy settings for the Amazon Web Services account.
\nThis operation does not support partial updates. No parameters are required, but\n if you do not specify a parameter, that parameter's value reverts to its default\n value. See the Request Parameters section for each\n parameter's default value. Also note that some parameters do not allow the default\n parameter to be explicitly set. Instead, to invoke the default value, do not include\n that parameter when you invoke the operation.
\nFor more information about using a password policy, see Managing an IAM password\n policy in the IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To set or change the current account password policy", + "documentation": "The following command sets the password policy to require a minimum length of eight characters and to require one or more numbers in the password:", + "input": { + "MinimumPasswordLength": 8, + "RequireNumbers": true + } + } + ] } }, "com.amazonaws.iam#UpdateAccountPasswordPolicyRequest": { @@ -13616,7 +14574,17 @@ } ], "traits": { - "smithy.api#documentation": "Updates the policy that grants an IAM entity permission to assume a role. This is\n typically referred to as the \"role trust policy\". For more information about roles, see\n Using roles to\n delegate permissions and federate identities.
" + "smithy.api#documentation": "Updates the policy that grants an IAM entity permission to assume a role. This is\n typically referred to as the \"role trust policy\". For more information about roles, see\n Using roles to\n delegate permissions and federate identities.
", + "smithy.api#examples": [ + { + "title": "To update the trust policy for an IAM role", + "documentation": "The following command updates the role trust policy for the role named Test-Role:", + "input": { + "PolicyDocument": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":{\"Service\":[\"ec2.amazonaws.com\"]},\"Action\":[\"sts:AssumeRole\"]}]}", + "RoleName": "S3AccessForEC2Instances" + } + } + ] } }, "com.amazonaws.iam#UpdateAssumeRolePolicyRequest": { @@ -13664,7 +14632,17 @@ } ], "traits": { - "smithy.api#documentation": "Updates the name and/or the path of the specified IAM group.
\nYou should understand the implications of changing a group's path or name. For\n more information, see Renaming users and\n groups in the IAM User Guide.
\nThe person making the request (the principal), must have permission to change the\n role group with the old name and the new name. For example, to change the group\n named Managers
to MGRs
, the principal must have a policy\n that allows them to update both groups. If the principal has permission to update\n the Managers
group, but not the MGRs
group, then the\n update fails. For more information about permissions, see Access management.\n
Updates the name and/or the path of the specified IAM group.
\nYou should understand the implications of changing a group's path or name. For\n more information, see Renaming users and\n groups in the IAM User Guide.
\nThe person making the request (the principal), must have permission to change the\n role group with the old name and the new name. For example, to change the group\n named Managers
to MGRs
, the principal must have a policy\n that allows them to update both groups. If the principal has permission to update\n the Managers
group, but not the MGRs
group, then the\n update fails. For more information about permissions, see Access management.\n
Changes the password for the specified IAM user. You can use the CLI, the Amazon Web Services\n API, or the Users page in the IAM console to change\n the password for any IAM user. Use ChangePassword to change your own\n password in the My Security Credentials page in the\n Amazon Web Services Management Console.
\nFor more information about modifying passwords, see Managing passwords in the\n IAM User Guide.
" + "smithy.api#documentation": "Changes the password for the specified IAM user. You can use the CLI, the Amazon Web Services\n API, or the Users page in the IAM console to change\n the password for any IAM user. Use ChangePassword to change your own\n password in the My Security Credentials page in the\n Amazon Web Services Management Console.
\nFor more information about modifying passwords, see Managing passwords in the\n IAM User Guide.
", + "smithy.api#examples": [ + { + "title": "To change the password for an IAM user", + "documentation": "The following command creates or changes the password for the IAM user named Bob.", + "input": { + "UserName": "Bob", + "Password": "SomeKindOfPassword123!@#" + } + } + ] } }, "com.amazonaws.iam#UpdateLoginProfileRequest": { @@ -14138,7 +15126,18 @@ } ], "traits": { - "smithy.api#documentation": "Changes the status of the specified user signing certificate from active to disabled,\n or vice versa. This operation can be used to disable an IAM user's signing\n certificate as part of a certificate rotation work flow.
\nIf the UserName
field is not specified, the user name is determined\n implicitly based on the Amazon Web Services access key ID used to sign the request. This operation\n works for access keys under the Amazon Web Services account. Consequently, you can use this operation\n to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no associated\n users.
Changes the status of the specified user signing certificate from active to disabled,\n or vice versa. This operation can be used to disable an IAM user's signing\n certificate as part of a certificate rotation work flow.
\nIf the UserName
field is not specified, the user name is determined\n implicitly based on the Amazon Web Services access key ID used to sign the request. This operation\n works for access keys under the Amazon Web Services account. Consequently, you can use this operation\n to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no associated\n users.
Updates the name and/or the path of the specified IAM user.
\nYou should understand the implications of changing an IAM user's path or\n name. For more information, see Renaming an IAM\n user and Renaming an IAM\n group in the IAM User Guide.
\nTo change a user name, the requester must have appropriate permissions on both\n the source object and the target object. For example, to change Bob to Robert, the\n entity making the request must have permission on Bob and Robert, or must have\n permission on all (*). For more information about permissions, see Permissions and policies.
\nUpdates the name and/or the path of the specified IAM user.
\nYou should understand the implications of changing an IAM user's path or\n name. For more information, see Renaming an IAM\n user and Renaming an IAM\n group in the IAM User Guide.
\nTo change a user name, the requester must have appropriate permissions on both\n the source object and the target object. For example, to change Bob to Robert, the\n entity making the request must have permission on Bob and Robert, or must have\n permission on all (*). For more information about permissions, see Permissions and policies.
\nUploads a server certificate entity for the Amazon Web Services account. The server certificate\n entity includes a public key certificate, a private key, and an optional certificate\n chain, which should all be PEM-encoded.
\nWe recommend that you use Certificate Manager to\n provision, manage, and deploy your server certificates. With ACM you can request a\n certificate, deploy it to Amazon Web Services resources, and let ACM handle certificate renewals for\n you. Certificates provided by ACM are free. For more information about using ACM,\n see the Certificate Manager User\n Guide.
\nFor more information about working with server certificates, see Working\n with server certificates in the IAM User Guide. This\n topic includes a list of Amazon Web Services services that can use the server certificates that you\n manage with IAM.
\nFor information about the number of server certificates you can upload, see IAM and STS\n quotas in the IAM User Guide.
\nBecause the body of the public key certificate, private key, and the certificate\n chain can be large, you should use POST rather than GET when calling\n UploadServerCertificate
. For information about setting up\n signatures and authorization through the API, see Signing Amazon Web Services API\n requests in the Amazon Web Services General Reference. For general\n information about using the Query API with IAM, see Calling the API by making HTTP query\n requests in the IAM User Guide.
Uploads a server certificate entity for the Amazon Web Services account. The server certificate\n entity includes a public key certificate, a private key, and an optional certificate\n chain, which should all be PEM-encoded.
\nWe recommend that you use Certificate Manager to\n provision, manage, and deploy your server certificates. With ACM you can request a\n certificate, deploy it to Amazon Web Services resources, and let ACM handle certificate renewals for\n you. Certificates provided by ACM are free. For more information about using ACM,\n see the Certificate Manager User\n Guide.
\nFor more information about working with server certificates, see Working\n with server certificates in the IAM User Guide. This\n topic includes a list of Amazon Web Services services that can use the server certificates that you\n manage with IAM.
\nFor information about the number of server certificates you can upload, see IAM and STS\n quotas in the IAM User Guide.
\nBecause the body of the public key certificate, private key, and the certificate\n chain can be large, you should use POST rather than GET when calling\n UploadServerCertificate
. For information about setting up\n signatures and authorization through the API, see Signing Amazon Web Services API\n requests in the Amazon Web Services General Reference. For general\n information about using the Query API with IAM, see Calling the API by making HTTP query\n requests in the IAM User Guide.
Uploads an X.509 signing certificate and associates it with the specified IAM user.\n Some Amazon Web Services services require you to use certificates to validate requests that are signed\n with a corresponding private key. When you upload the certificate, its default status is\n Active
.
For information about when you would use an X.509 signing certificate, see Managing\n server certificates in IAM in the\n IAM User Guide.
\nIf the UserName
is not specified, the IAM user name is determined\n implicitly based on the Amazon Web Services access key ID used to sign the request. This operation\n works for access keys under the Amazon Web Services account. Consequently, you can use this operation\n to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no associated\n users.
Because the body of an X.509 certificate can be large, you should use POST rather\n than GET when calling UploadSigningCertificate
. For information about\n setting up signatures and authorization through the API, see Signing\n Amazon Web Services API requests in the Amazon Web Services General Reference. For\n general information about using the Query API with IAM, see Making query\n requests in the IAM User Guide.
Uploads an X.509 signing certificate and associates it with the specified IAM user.\n Some Amazon Web Services services require you to use certificates to validate requests that are signed\n with a corresponding private key. When you upload the certificate, its default status is\n Active
.
For information about when you would use an X.509 signing certificate, see Managing\n server certificates in IAM in the\n IAM User Guide.
\nIf the UserName
is not specified, the IAM user name is determined\n implicitly based on the Amazon Web Services access key ID used to sign the request. This operation\n works for access keys under the Amazon Web Services account. Consequently, you can use this operation\n to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no associated\n users.
Because the body of an X.509 certificate can be large, you should use POST rather\n than GET when calling UploadSigningCertificate
. For information about\n setting up signatures and authorization through the API, see Signing\n Amazon Web Services API requests in the Amazon Web Services General Reference. For\n general information about using the Query API with IAM, see Making query\n requests in the IAM User Guide.
Assigns attributes (key and value pairs) to the findings that are specified by the\n ARNs of the findings.
" + "smithy.api#documentation": "Assigns attributes (key and value pairs) to the findings that are specified by the\n ARNs of the findings.
", + "smithy.api#examples": [ + { + "title": "Add attributes to findings", + "documentation": "Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.", + "input": { + "findingArns": [ + "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-8l1VIE0D/run/0-Z02cjjug/finding/0-T8yM9mEU" + ], + "attributes": [ + { + "key": "Example", + "value": "example" + } + ] + }, + "output": { + "failedItems": {} + } + } + ] } }, "com.amazonaws.inspector#AddAttributesToFindingsRequest": { @@ -145,6 +179,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#AddAttributesToFindingsResponse": { @@ -157,6 +194,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#AddRemoveAttributesFindingArnList": { @@ -228,53 +268,67 @@ } }, "com.amazonaws.inspector#AgentHealth": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "HEALTHY", - "name": "HEALTHY" - }, - { - "value": "UNHEALTHY", - "name": "UNHEALTHY" - }, - { - "value": "UNKNOWN", - "name": "UNKNOWN" + "type": "enum", + "members": { + "HEALTHY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HEALTHY" } - ] + }, + "UNHEALTHY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNHEALTHY" + } + }, + "UNKNOWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNKNOWN" + } + } } }, "com.amazonaws.inspector#AgentHealthCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IDLE", - "name": "IDLE" - }, - { - "value": "RUNNING", - "name": "RUNNING" - }, - { - "value": "SHUTDOWN", - "name": "SHUTDOWN" - }, - { - "value": "UNHEALTHY", - "name": "UNHEALTHY" - }, - { - "value": "THROTTLED", - "name": "THROTTLED" - }, - { - "value": "UNKNOWN", - "name": "UNKNOWN" + "type": "enum", + "members": { + "IDLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IDLE" } - ] + }, + "RUNNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RUNNING" + } + }, + "SHUTDOWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SHUTDOWN" + } + }, + "UNHEALTHY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNHEALTHY" + } + }, + "THROTTLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "THROTTLED" + } + }, + "UNKNOWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNKNOWN" + } + } } }, "com.amazonaws.inspector#AgentHealthCodeList": { @@ -848,85 +902,115 @@ } }, "com.amazonaws.inspector#AssessmentRunNotificationSnsStatusCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SUCCESS", - "name": "SUCCESS" - }, - { - "value": "TOPIC_DOES_NOT_EXIST", - "name": "TOPIC_DOES_NOT_EXIST" - }, - { - "value": "ACCESS_DENIED", - "name": "ACCESS_DENIED" - }, - { - "value": "INTERNAL_ERROR", - "name": "INTERNAL_ERROR" + "type": "enum", + "members": { + "SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCESS" } - ] + }, + "TOPIC_DOES_NOT_EXIST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TOPIC_DOES_NOT_EXIST" + } + }, + "ACCESS_DENIED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACCESS_DENIED" + } + }, + "INTERNAL_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERNAL_ERROR" + } + } } }, "com.amazonaws.inspector#AssessmentRunState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATED", - "name": "CREATED" - }, - { - "value": "START_DATA_COLLECTION_PENDING", - "name": "START_DATA_COLLECTION_PENDING" - }, - { - "value": "START_DATA_COLLECTION_IN_PROGRESS", - "name": "START_DATA_COLLECTION_IN_PROGRESS" - }, - { - "value": "COLLECTING_DATA", - "name": "COLLECTING_DATA" - }, - { - "value": "STOP_DATA_COLLECTION_PENDING", - "name": "STOP_DATA_COLLECTION_PENDING" - }, - { - "value": "DATA_COLLECTED", - "name": "DATA_COLLECTED" - }, - { - "value": "START_EVALUATING_RULES_PENDING", - "name": "START_EVALUATING_RULES_PENDING" - }, - { - "value": "EVALUATING_RULES", - "name": "EVALUATING_RULES" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "ERROR", - "name": "ERROR" - }, - { - "value": "COMPLETED", - "name": "COMPLETED" - }, - { - "value": "COMPLETED_WITH_ERRORS", - "name": "COMPLETED_WITH_ERRORS" - }, - { - "value": "CANCELED", - "name": "CANCELED" + "type": "enum", + "members": { + "CREATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATED" } - ] + }, + "START_DATA_COLLECTION_PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "START_DATA_COLLECTION_PENDING" + } + }, + "START_DATA_COLLECTION_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "START_DATA_COLLECTION_IN_PROGRESS" + } + }, + "COLLECTING_DATA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COLLECTING_DATA" + } + }, + "STOP_DATA_COLLECTION_PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STOP_DATA_COLLECTION_PENDING" + } + }, + "DATA_COLLECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_COLLECTED" + } + }, + "START_EVALUATING_RULES_PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "START_EVALUATING_RULES_PENDING" + } + }, + "EVALUATING_RULES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EVALUATING_RULES" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ERROR" + } + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" + } + }, + "COMPLETED_WITH_ERRORS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED_WITH_ERRORS" + } + }, + "CANCELED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANCELED" + } + } } }, "com.amazonaws.inspector#AssessmentRunStateChange": { @@ -1241,14 +1325,14 @@ } }, "com.amazonaws.inspector#AssetType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ec2-instance", - "name": "EC2_INSTANCE" + "type": "enum", + "members": { + "EC2_INSTANCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ec2-instance" } - ] + } } }, "com.amazonaws.inspector#Attribute": { @@ -1382,7 +1466,20 @@ } ], "traits": { - "smithy.api#documentation": "Creates a new assessment target using the ARN of the resource group that is generated\n by CreateResourceGroup. If resourceGroupArn is not specified, all EC2\n instances in the current AWS account and region are included in the assessment target. If\n the service-linked role isn’t already registered, this action also creates and\n registers a service-linked role to grant Amazon Inspector access to AWS Services needed to\n perform security assessments. You can create up to 50 assessment targets per AWS account.\n You can run up to 500 concurrent agents per AWS account. For more information, see \n Amazon Inspector Assessment Targets.
" + "smithy.api#documentation": "Creates a new assessment target using the ARN of the resource group that is generated\n by CreateResourceGroup. If resourceGroupArn is not specified, all EC2\n instances in the current AWS account and region are included in the assessment target. If\n the service-linked role isn’t already registered, this action also creates and\n registers a service-linked role to grant Amazon Inspector access to AWS Services needed to\n perform security assessments. You can create up to 50 assessment targets per AWS account.\n You can run up to 500 concurrent agents per AWS account. For more information, see \n Amazon Inspector Assessment Targets.
", + "smithy.api#examples": [ + { + "title": "Create assessment target", + "documentation": "Creates a new assessment target using the ARN of the resource group that is generated by CreateResourceGroup. You can create up to 50 assessment targets per AWS account. You can run up to 500 concurrent agents per AWS account.", + "input": { + "assessmentTargetName": "ExampleAssessmentTarget", + "resourceGroupArn": "arn:aws:inspector:us-west-2:123456789012:resourcegroup/0-AB6DMKnv" + }, + "output": { + "assessmentTargetArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX" + } + } + ] } }, "com.amazonaws.inspector#CreateAssessmentTargetRequest": { @@ -1401,6 +1498,9 @@ "smithy.api#documentation": "The ARN that specifies the resource group that is used to create the assessment\n target. If resourceGroupArn is not specified, all EC2 instances in the current AWS account\n and region are included in the assessment target.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#CreateAssessmentTargetResponse": { @@ -1413,6 +1513,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#CreateAssessmentTemplate": { @@ -1444,7 +1547,30 @@ } ], "traits": { - "smithy.api#documentation": "Creates an assessment template for the assessment target that is specified by the ARN\n of the assessment target. If the service-linked role isn’t already registered, this action also creates and\n registers a service-linked role to grant Amazon Inspector access to AWS Services needed to\n perform security assessments.
" + "smithy.api#documentation": "Creates an assessment template for the assessment target that is specified by the ARN\n of the assessment target. If the service-linked role isn’t already registered, this action also creates and\n registers a service-linked role to grant Amazon Inspector access to AWS Services needed to\n perform security assessments.
", + "smithy.api#examples": [ + { + "title": "Create assessment template", + "documentation": "Creates an assessment template for the assessment target that is specified by the ARN of the assessment target.", + "input": { + "assessmentTargetArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX", + "assessmentTemplateName": "ExampleAssessmentTemplate", + "durationInSeconds": 180, + "rulesPackageArns": [ + "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-11B9DBXp" + ], + "userAttributesForFindings": [ + { + "key": "Example", + "value": "example" + } + ] + }, + "output": { + "assessmentTemplateArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-it5r2S4T" + } + } + ] } }, "com.amazonaws.inspector#CreateAssessmentTemplateRequest": { @@ -1485,6 +1611,9 @@ "smithy.api#documentation": "The user-defined attributes that are assigned to every finding that is generated by\n the assessment run that uses this assessment template. An attribute is a key and value pair\n (an Attribute object). Within an assessment template, each key must be\n unique.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#CreateAssessmentTemplateResponse": { @@ -1497,6 +1626,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#CreateExclusionsPreview": { @@ -1541,6 +1673,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#CreateExclusionsPreviewResponse": { @@ -1553,6 +1688,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#CreateResourceGroup": { @@ -1581,7 +1719,24 @@ } ], "traits": { - "smithy.api#documentation": "Creates a resource group using the specified set of tags (key and value pairs) that\n are used to select the EC2 instances to be included in an Amazon Inspector assessment\n target. The created resource group is then used to create an Amazon Inspector assessment\n target. For more information, see CreateAssessmentTarget.
" + "smithy.api#documentation": "Creates a resource group using the specified set of tags (key and value pairs) that\n are used to select the EC2 instances to be included in an Amazon Inspector assessment\n target. The created resource group is then used to create an Amazon Inspector assessment\n target. For more information, see CreateAssessmentTarget.
", + "smithy.api#examples": [ + { + "title": "Create resource group", + "documentation": "Creates a resource group using the specified set of tags (key and value pairs) that are used to select the EC2 instances to be included in an Amazon Inspector assessment target. The created resource group is then used to create an Amazon Inspector assessment target. ", + "input": { + "resourceGroupTags": [ + { + "key": "Name", + "value": "example" + } + ] + }, + "output": { + "resourceGroupArn": "arn:aws:inspector:us-west-2:123456789012:resourcegroup/0-AB6DMKnv" + } + } + ] } }, "com.amazonaws.inspector#CreateResourceGroupRequest": { @@ -1594,6 +1749,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#CreateResourceGroupResponse": { @@ -1606,6 +1764,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#DeleteAssessmentRun": { @@ -1637,7 +1798,16 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the assessment run that is specified by the ARN of the assessment\n run.
" + "smithy.api#documentation": "Deletes the assessment run that is specified by the ARN of the assessment\n run.
", + "smithy.api#examples": [ + { + "title": "Delete assessment run", + "documentation": "Deletes the assessment run that is specified by the ARN of the assessment run.", + "input": { + "assessmentRunArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-it5r2S4T/run/0-11LMTAVe" + } + } + ] } }, "com.amazonaws.inspector#DeleteAssessmentRunRequest": { @@ -1650,6 +1820,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#DeleteAssessmentTarget": { @@ -1681,7 +1854,16 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the assessment target that is specified by the ARN of the assessment\n target.
" + "smithy.api#documentation": "Deletes the assessment target that is specified by the ARN of the assessment\n target.
", + "smithy.api#examples": [ + { + "title": "Delete assessment target", + "documentation": "Deletes the assessment target that is specified by the ARN of the assessment target.", + "input": { + "assessmentTargetArn": "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq" + } + } + ] } }, "com.amazonaws.inspector#DeleteAssessmentTargetRequest": { @@ -1694,6 +1876,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#DeleteAssessmentTemplate": { @@ -1725,7 +1910,16 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the assessment template that is specified by the ARN of the assessment\n template.
" + "smithy.api#documentation": "Deletes the assessment template that is specified by the ARN of the assessment\n template.
", + "smithy.api#examples": [ + { + "title": "Delete assessment template", + "documentation": "Deletes the assessment template that is specified by the ARN of the assessment template.", + "input": { + "assessmentTemplateArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-it5r2S4T" + } + } + ] } }, "com.amazonaws.inspector#DeleteAssessmentTemplateRequest": { @@ -1738,6 +1932,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#DescribeAssessmentRuns": { @@ -1770,7 +1967,10 @@ "smithy.api#required": {} } } - } + }, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.inspector#DescribeAssessmentRunsResponse": { "type": "structure", @@ -1789,6 +1989,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#DescribeAssessmentTargets": { @@ -1821,6 +2024,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#DescribeAssessmentTargetsResponse": { @@ -1840,6 +2046,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#DescribeAssessmentTemplates": { @@ -1871,6 +2080,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#DescribeAssessmentTemplatesResponse": { @@ -1890,6 +2102,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#DescribeCrossAccountAccessRole": { @@ -1933,6 +2148,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#DescribeExclusions": { @@ -1971,6 +2189,9 @@ "smithy.api#documentation": "The locale into which you want to translate the exclusion's title, description, and\n recommendation.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#DescribeExclusionsResponse": { @@ -1990,6 +2211,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#DescribeFindings": { @@ -2028,6 +2252,9 @@ "smithy.api#documentation": "The locale into which you want to translate a finding description, recommendation,\n and the short description that identifies the finding.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#DescribeFindingsResponse": { @@ -2047,6 +2274,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#DescribeResourceGroups": { @@ -2079,6 +2309,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#DescribeResourceGroupsResponse": { @@ -2098,6 +2331,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#DescribeRulesPackages": { @@ -2117,7 +2353,30 @@ } ], "traits": { - "smithy.api#documentation": "Describes the rules packages that are specified by the ARNs of the rules\n packages.
" + "smithy.api#documentation": "Describes the rules packages that are specified by the ARNs of the rules\n packages.
", + "smithy.api#examples": [ + { + "title": "Describe rules packages", + "documentation": "Describes the rules packages that are specified by the ARNs of the rules packages.", + "input": { + "rulesPackageArns": [ + "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-JJOtZiqQ" + ] + }, + "output": { + "rulesPackages": [ + { + "arn": "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-JJOtZiqQ", + "description": "The rules in this package help determine whether your systems are configured securely.", + "name": "Security Best Practices", + "provider": "Amazon Web Services, Inc.", + "version": "1.1" + } + ], + "failedItems": {} + } + } + ] } }, "com.amazonaws.inspector#DescribeRulesPackagesRequest": { @@ -2136,6 +2395,9 @@ "smithy.api#documentation": "The locale that you want to translate a rules package description into.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#DescribeRulesPackagesResponse": { @@ -2155,6 +2417,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#DurationRange": { @@ -2363,34 +2628,44 @@ } }, "com.amazonaws.inspector#FailedItemErrorCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INVALID_ARN", - "name": "INVALID_ARN" - }, - { - "value": "DUPLICATE_ARN", - "name": "DUPLICATE_ARN" - }, - { - "value": "ITEM_DOES_NOT_EXIST", - "name": "ITEM_DOES_NOT_EXIST" - }, - { - "value": "ACCESS_DENIED", - "name": "ACCESS_DENIED" - }, - { - "value": "LIMIT_EXCEEDED", - "name": "LIMIT_EXCEEDED" - }, - { - "value": "INTERNAL_ERROR", - "name": "INTERNAL_ERROR" + "type": "enum", + "members": { + "INVALID_ARN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_ARN" } - ] + }, + "DUPLICATE_ARN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DUPLICATE_ARN" + } + }, + "ITEM_DOES_NOT_EXIST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ITEM_DOES_NOT_EXIST" + } + }, + "ACCESS_DENIED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACCESS_DENIED" + } + }, + "LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LIMIT_EXCEEDED" + } + }, + "INTERNAL_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERNAL_ERROR" + } + } } }, "com.amazonaws.inspector#FailedItems": { @@ -2677,6 +2952,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#GetAssessmentReportResponse": { @@ -2695,6 +2973,9 @@ "smithy.api#documentation": "Specifies the URL where you can find the generated assessment report. This parameter\n is only returned if the report is successfully generated.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#GetExclusionsPreview": { @@ -2763,6 +3044,9 @@ "smithy.api#documentation": "The locale into which you want to translate the exclusion's title, description, and\n recommendation.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#GetExclusionsPreviewResponse": { @@ -2787,6 +3071,9 @@ "smithy.api#documentation": "When a response is generated, if there is more data to be listed, this parameters is\n present in the response and contains the value to use for the nextToken parameter in a\n subsequent pagination request. If there is no more data to be listed, this parameter is set\n to null.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#GetTelemetryMetadata": { @@ -2812,7 +3099,165 @@ } ], "traits": { - "smithy.api#documentation": "Information about the data that is collected for the specified assessment\n run.
" + "smithy.api#documentation": "Information about the data that is collected for the specified assessment\n run.
", + "smithy.api#examples": [ + { + "title": "Get telemetry metadata", + "documentation": "Information about the data that is collected for the specified assessment run.", + "input": { + "assessmentRunArn": "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE" + }, + "output": { + "telemetryMetadata": [ + { + "count": 2, + "dataSize": 345, + "messageType": "InspectorDuplicateProcess" + }, + { + "count": 3, + "dataSize": 255, + "messageType": "InspectorTimeEventMsg" + }, + { + "count": 4, + "dataSize": 1082, + "messageType": "InspectorNetworkInterface" + }, + { + "count": 2, + "dataSize": 349, + "messageType": "InspectorDnsEntry" + }, + { + "count": 11, + "dataSize": 2514, + "messageType": "InspectorDirectoryInfoMsg" + }, + { + "count": 1, + "dataSize": 179, + "messageType": "InspectorTcpV6ListeningPort" + }, + { + "count": 101, + "dataSize": 10949, + "messageType": "InspectorTerminal" + }, + { + "count": 26, + "dataSize": 5916, + "messageType": "InspectorUser" + }, + { + "count": 282, + "dataSize": 32148, + "messageType": "InspectorDynamicallyLoadedCodeModule" + }, + { + "count": 18, + "dataSize": 10172, + "messageType": "InspectorCreateProcess" + }, + { + "count": 3, + "dataSize": 8001, + "messageType": "InspectorProcessPerformance" + }, + { + "count": 1, + "dataSize": 360, + "messageType": "InspectorOperatingSystem" + }, + { + "count": 6, + "dataSize": 546, + "messageType": "InspectorStopProcess" + }, + { + "count": 1, + "dataSize": 1553, + "messageType": "InspectorInstanceMetaData" + }, + { + "count": 2, + "dataSize": 434, + "messageType": "InspectorTcpV4Connection" + }, + { + "count": 474, + "dataSize": 2960322, + "messageType": "InspectorPackageInfo" + }, + { + "count": 3, + "dataSize": 2235, + "messageType": "InspectorSystemPerformance" + }, + { + "count": 105, + "dataSize": 46048, + "messageType": "InspectorCodeModule" + }, + { + "count": 1, + "dataSize": 182, + "messageType": "InspectorUdpV6ListeningPort" + }, + { + "count": 2, + "dataSize": 371, + "messageType": "InspectorUdpV4ListeningPort" + }, + { + "count": 18, + "dataSize": 8362, + "messageType": "InspectorKernelModule" + }, + { + "count": 29, + "dataSize": 48788, + "messageType": "InspectorConfigurationInfo" + }, + { + "count": 1, + "dataSize": 79, + "messageType": "InspectorMonitoringStart" + }, + { + "count": 5, + "dataSize": 0, + "messageType": "InspectorSplitMsgBegin" + }, + { + "count": 51, + "dataSize": 4593, + "messageType": "InspectorGroup" + }, + { + "count": 1, + "dataSize": 184, + "messageType": "InspectorTcpV4ListeningPort" + }, + { + "count": 1159, + "dataSize": 3146579, + "messageType": "Total" + }, + { + "count": 5, + "dataSize": 0, + "messageType": "InspectorSplitMsgEnd" + }, + { + "count": 1, + "dataSize": 612, + "messageType": "InspectorLoadImageInProcess" + } + ] + } + } + ] } }, "com.amazonaws.inspector#GetTelemetryMetadataRequest": { @@ -2825,6 +3270,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#GetTelemetryMetadataResponse": { @@ -2837,6 +3285,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#Hostname": { @@ -2849,30 +3300,38 @@ } }, "com.amazonaws.inspector#InspectorEvent": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ASSESSMENT_RUN_STARTED", - "name": "ASSESSMENT_RUN_STARTED" - }, - { - "value": "ASSESSMENT_RUN_COMPLETED", - "name": "ASSESSMENT_RUN_COMPLETED" - }, - { - "value": "ASSESSMENT_RUN_STATE_CHANGED", - "name": "ASSESSMENT_RUN_STATE_CHANGED" - }, - { - "value": "FINDING_REPORTED", - "name": "FINDING_REPORTED" - }, - { - "value": "OTHER", - "name": "OTHER" + "type": "enum", + "members": { + "ASSESSMENT_RUN_STARTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASSESSMENT_RUN_STARTED" } - ] + }, + "ASSESSMENT_RUN_COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASSESSMENT_RUN_COMPLETED" + } + }, + "ASSESSMENT_RUN_STATE_CHANGED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASSESSMENT_RUN_STATE_CHANGED" + } + }, + "FINDING_REPORTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FINDING_REPORTED" + } + }, + "OTHER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OTHER" + } + } } }, "com.amazonaws.inspector#InspectorService": { @@ -3065,52 +3524,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", @@ -3118,13 +3581,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -3134,224 +3606,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } ] } ], "type": "tree", "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://inspector-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" + "endpoint": { + "url": "https://inspector-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": [ { "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": [], - "endpoint": { - "url": "https://inspector-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://inspector-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://inspector.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://inspector.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://inspector.{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://inspector.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -3366,8 +3789,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3379,8 +3802,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3392,8 +3815,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3405,8 +3828,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3418,8 +3841,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3431,8 +3854,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3444,8 +3867,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3457,8 +3880,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3470,8 +3893,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3483,8 +3906,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3496,8 +3919,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3509,8 +3932,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3522,8 +3945,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3535,8 +3958,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3548,8 +3971,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3561,8 +3984,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3574,8 +3997,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3587,8 +4010,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3600,8 +4023,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3613,8 +4036,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3626,8 +4049,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3639,8 +4062,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3652,8 +4075,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3665,8 +4088,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3678,8 +4101,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3691,8 +4114,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3704,8 +4127,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3717,8 +4140,19 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "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 } }, { @@ -3730,8 +4164,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 } }, { @@ -3743,8 +4188,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -3756,8 +4212,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 } }, { @@ -3769,8 +4236,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3782,8 +4249,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3795,8 +4262,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3807,8 +4274,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3819,10 +4286,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" @@ -3881,18 +4354,20 @@ } }, "com.amazonaws.inspector#InvalidCrossAccountRoleErrorCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP", - "name": "ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP" - }, - { - "value": "ROLE_DOES_NOT_HAVE_CORRECT_POLICY", - "name": "ROLE_DOES_NOT_HAVE_CORRECT_POLICY" + "type": "enum", + "members": { + "ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP" } - ] + }, + "ROLE_DOES_NOT_HAVE_CORRECT_POLICY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROLE_DOES_NOT_HAVE_CORRECT_POLICY" + } + } } }, "com.amazonaws.inspector#InvalidCrossAccountRoleException": { @@ -3908,244 +4383,350 @@ "errorCode": { "target": "com.amazonaws.inspector#InvalidCrossAccountRoleErrorCode", "traits": { - "smithy.api#documentation": "Code that indicates the type of error that is generated.
", - "smithy.api#required": {} + "smithy.api#documentation": "Code that indicates the type of error that is generated.
", + "smithy.api#required": {} + } + }, + "canRetry": { + "target": "com.amazonaws.inspector#Bool", + "traits": { + "smithy.api#documentation": "You can immediately retry your request.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Amazon Inspector cannot assume the cross-account role that it needs to list your EC2\n instances during the assessment run.
", + "smithy.api#error": "client" + } + }, + "com.amazonaws.inspector#InvalidInputErrorCode": { + "type": "enum", + "members": { + "INVALID_ASSESSMENT_TARGET_ARN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_ASSESSMENT_TARGET_ARN" + } + }, + "INVALID_ASSESSMENT_TEMPLATE_ARN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_ASSESSMENT_TEMPLATE_ARN" + } + }, + "INVALID_ASSESSMENT_RUN_ARN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_ASSESSMENT_RUN_ARN" + } + }, + "INVALID_FINDING_ARN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_FINDING_ARN" + } + }, + "INVALID_RESOURCE_GROUP_ARN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_RESOURCE_GROUP_ARN" + } + }, + "INVALID_RULES_PACKAGE_ARN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_RULES_PACKAGE_ARN" + } + }, + "INVALID_RESOURCE_ARN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_RESOURCE_ARN" + } + }, + "INVALID_SNS_TOPIC_ARN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_SNS_TOPIC_ARN" + } + }, + "INVALID_IAM_ROLE_ARN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_IAM_ROLE_ARN" + } + }, + "INVALID_ASSESSMENT_TARGET_NAME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_ASSESSMENT_TARGET_NAME" + } + }, + "INVALID_ASSESSMENT_TARGET_NAME_PATTERN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_ASSESSMENT_TARGET_NAME_PATTERN" + } + }, + "INVALID_ASSESSMENT_TEMPLATE_NAME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_ASSESSMENT_TEMPLATE_NAME" + } + }, + "INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN" + } + }, + "INVALID_ASSESSMENT_TEMPLATE_DURATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_ASSESSMENT_TEMPLATE_DURATION" + } + }, + "INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE" + } + }, + "INVALID_ASSESSMENT_RUN_DURATION_RANGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_ASSESSMENT_RUN_DURATION_RANGE" + } + }, + "INVALID_ASSESSMENT_RUN_START_TIME_RANGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_ASSESSMENT_RUN_START_TIME_RANGE" + } + }, + "INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE" + } + }, + "INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE" + } + }, + "INVALID_ASSESSMENT_RUN_STATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_ASSESSMENT_RUN_STATE" + } + }, + "INVALID_TAG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_TAG" + } + }, + "INVALID_TAG_KEY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_TAG_KEY" + } + }, + "INVALID_TAG_VALUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_TAG_VALUE" + } + }, + "INVALID_RESOURCE_GROUP_TAG_KEY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_RESOURCE_GROUP_TAG_KEY" + } + }, + "INVALID_RESOURCE_GROUP_TAG_VALUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_RESOURCE_GROUP_TAG_VALUE" + } + }, + "INVALID_ATTRIBUTE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_ATTRIBUTE" + } + }, + "INVALID_USER_ATTRIBUTE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_USER_ATTRIBUTE" + } + }, + "INVALID_USER_ATTRIBUTE_KEY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_USER_ATTRIBUTE_KEY" + } + }, + "INVALID_USER_ATTRIBUTE_VALUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_USER_ATTRIBUTE_VALUE" + } + }, + "INVALID_PAGINATION_TOKEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_PAGINATION_TOKEN" + } + }, + "INVALID_MAX_RESULTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_MAX_RESULTS" + } + }, + "INVALID_AGENT_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_AGENT_ID" + } + }, + "INVALID_AUTO_SCALING_GROUP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_AUTO_SCALING_GROUP" + } + }, + "INVALID_RULE_NAME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_RULE_NAME" + } + }, + "INVALID_SEVERITY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_SEVERITY" + } + }, + "INVALID_LOCALE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_LOCALE" + } + }, + "INVALID_EVENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_EVENT" + } + }, + "ASSESSMENT_TARGET_NAME_ALREADY_TAKEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASSESSMENT_TARGET_NAME_ALREADY_TAKEN" + } + }, + "ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN" + } + }, + "INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS" + } + }, + "INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS" + } + }, + "INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS" + } + }, + "INVALID_NUMBER_OF_FINDING_ARNS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_NUMBER_OF_FINDING_ARNS" + } + }, + "INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS" + } + }, + "INVALID_NUMBER_OF_RULES_PACKAGE_ARNS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_NUMBER_OF_RULES_PACKAGE_ARNS" + } + }, + "INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES" + } + }, + "INVALID_NUMBER_OF_TAGS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_NUMBER_OF_TAGS" + } + }, + "INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS" + } + }, + "INVALID_NUMBER_OF_ATTRIBUTES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_NUMBER_OF_ATTRIBUTES" + } + }, + "INVALID_NUMBER_OF_USER_ATTRIBUTES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_NUMBER_OF_USER_ATTRIBUTES" + } + }, + "INVALID_NUMBER_OF_AGENT_IDS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_NUMBER_OF_AGENT_IDS" + } + }, + "INVALID_NUMBER_OF_AUTO_SCALING_GROUPS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_NUMBER_OF_AUTO_SCALING_GROUPS" + } + }, + "INVALID_NUMBER_OF_RULE_NAMES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_NUMBER_OF_RULE_NAMES" } }, - "canRetry": { - "target": "com.amazonaws.inspector#Bool", + "INVALID_NUMBER_OF_SEVERITIES": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "You can immediately retry your request.
", - "smithy.api#required": {} + "smithy.api#enumValue": "INVALID_NUMBER_OF_SEVERITIES" } } - }, - "traits": { - "smithy.api#documentation": "Amazon Inspector cannot assume the cross-account role that it needs to list your EC2\n instances during the assessment run.
", - "smithy.api#error": "client" - } - }, - "com.amazonaws.inspector#InvalidInputErrorCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INVALID_ASSESSMENT_TARGET_ARN", - "name": "INVALID_ASSESSMENT_TARGET_ARN" - }, - { - "value": "INVALID_ASSESSMENT_TEMPLATE_ARN", - "name": "INVALID_ASSESSMENT_TEMPLATE_ARN" - }, - { - "value": "INVALID_ASSESSMENT_RUN_ARN", - "name": "INVALID_ASSESSMENT_RUN_ARN" - }, - { - "value": "INVALID_FINDING_ARN", - "name": "INVALID_FINDING_ARN" - }, - { - "value": "INVALID_RESOURCE_GROUP_ARN", - "name": "INVALID_RESOURCE_GROUP_ARN" - }, - { - "value": "INVALID_RULES_PACKAGE_ARN", - "name": "INVALID_RULES_PACKAGE_ARN" - }, - { - "value": "INVALID_RESOURCE_ARN", - "name": "INVALID_RESOURCE_ARN" - }, - { - "value": "INVALID_SNS_TOPIC_ARN", - "name": "INVALID_SNS_TOPIC_ARN" - }, - { - "value": "INVALID_IAM_ROLE_ARN", - "name": "INVALID_IAM_ROLE_ARN" - }, - { - "value": "INVALID_ASSESSMENT_TARGET_NAME", - "name": "INVALID_ASSESSMENT_TARGET_NAME" - }, - { - "value": "INVALID_ASSESSMENT_TARGET_NAME_PATTERN", - "name": "INVALID_ASSESSMENT_TARGET_NAME_PATTERN" - }, - { - "value": "INVALID_ASSESSMENT_TEMPLATE_NAME", - "name": "INVALID_ASSESSMENT_TEMPLATE_NAME" - }, - { - "value": "INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN", - "name": "INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN" - }, - { - "value": "INVALID_ASSESSMENT_TEMPLATE_DURATION", - "name": "INVALID_ASSESSMENT_TEMPLATE_DURATION" - }, - { - "value": "INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE", - "name": "INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE" - }, - { - "value": "INVALID_ASSESSMENT_RUN_DURATION_RANGE", - "name": "INVALID_ASSESSMENT_RUN_DURATION_RANGE" - }, - { - "value": "INVALID_ASSESSMENT_RUN_START_TIME_RANGE", - "name": "INVALID_ASSESSMENT_RUN_START_TIME_RANGE" - }, - { - "value": "INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE", - "name": "INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE" - }, - { - "value": "INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE", - "name": "INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE" - }, - { - "value": "INVALID_ASSESSMENT_RUN_STATE", - "name": "INVALID_ASSESSMENT_RUN_STATE" - }, - { - "value": "INVALID_TAG", - "name": "INVALID_TAG" - }, - { - "value": "INVALID_TAG_KEY", - "name": "INVALID_TAG_KEY" - }, - { - "value": "INVALID_TAG_VALUE", - "name": "INVALID_TAG_VALUE" - }, - { - "value": "INVALID_RESOURCE_GROUP_TAG_KEY", - "name": "INVALID_RESOURCE_GROUP_TAG_KEY" - }, - { - "value": "INVALID_RESOURCE_GROUP_TAG_VALUE", - "name": "INVALID_RESOURCE_GROUP_TAG_VALUE" - }, - { - "value": "INVALID_ATTRIBUTE", - "name": "INVALID_ATTRIBUTE" - }, - { - "value": "INVALID_USER_ATTRIBUTE", - "name": "INVALID_USER_ATTRIBUTE" - }, - { - "value": "INVALID_USER_ATTRIBUTE_KEY", - "name": "INVALID_USER_ATTRIBUTE_KEY" - }, - { - "value": "INVALID_USER_ATTRIBUTE_VALUE", - "name": "INVALID_USER_ATTRIBUTE_VALUE" - }, - { - "value": "INVALID_PAGINATION_TOKEN", - "name": "INVALID_PAGINATION_TOKEN" - }, - { - "value": "INVALID_MAX_RESULTS", - "name": "INVALID_MAX_RESULTS" - }, - { - "value": "INVALID_AGENT_ID", - "name": "INVALID_AGENT_ID" - }, - { - "value": "INVALID_AUTO_SCALING_GROUP", - "name": "INVALID_AUTO_SCALING_GROUP" - }, - { - "value": "INVALID_RULE_NAME", - "name": "INVALID_RULE_NAME" - }, - { - "value": "INVALID_SEVERITY", - "name": "INVALID_SEVERITY" - }, - { - "value": "INVALID_LOCALE", - "name": "INVALID_LOCALE" - }, - { - "value": "INVALID_EVENT", - "name": "INVALID_EVENT" - }, - { - "value": "ASSESSMENT_TARGET_NAME_ALREADY_TAKEN", - "name": "ASSESSMENT_TARGET_NAME_ALREADY_TAKEN" - }, - { - "value": "ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN", - "name": "ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN" - }, - { - "value": "INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS", - "name": "INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS" - }, - { - "value": "INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS", - "name": "INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS" - }, - { - "value": "INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS", - "name": "INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS" - }, - { - "value": "INVALID_NUMBER_OF_FINDING_ARNS", - "name": "INVALID_NUMBER_OF_FINDING_ARNS" - }, - { - "value": "INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS", - "name": "INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS" - }, - { - "value": "INVALID_NUMBER_OF_RULES_PACKAGE_ARNS", - "name": "INVALID_NUMBER_OF_RULES_PACKAGE_ARNS" - }, - { - "value": "INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES", - "name": "INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES" - }, - { - "value": "INVALID_NUMBER_OF_TAGS", - "name": "INVALID_NUMBER_OF_TAGS" - }, - { - "value": "INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS", - "name": "INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS" - }, - { - "value": "INVALID_NUMBER_OF_ATTRIBUTES", - "name": "INVALID_NUMBER_OF_ATTRIBUTES" - }, - { - "value": "INVALID_NUMBER_OF_USER_ATTRIBUTES", - "name": "INVALID_NUMBER_OF_USER_ATTRIBUTES" - }, - { - "value": "INVALID_NUMBER_OF_AGENT_IDS", - "name": "INVALID_NUMBER_OF_AGENT_IDS" - }, - { - "value": "INVALID_NUMBER_OF_AUTO_SCALING_GROUPS", - "name": "INVALID_NUMBER_OF_AUTO_SCALING_GROUPS" - }, - { - "value": "INVALID_NUMBER_OF_RULE_NAMES", - "name": "INVALID_NUMBER_OF_RULE_NAMES" - }, - { - "value": "INVALID_NUMBER_OF_SEVERITIES", - "name": "INVALID_NUMBER_OF_SEVERITIES" - } - ] } }, "com.amazonaws.inspector#InvalidInputException": { @@ -4225,30 +4806,38 @@ } }, "com.amazonaws.inspector#LimitExceededErrorCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ASSESSMENT_TARGET_LIMIT_EXCEEDED", - "name": "ASSESSMENT_TARGET_LIMIT_EXCEEDED" - }, - { - "value": "ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED", - "name": "ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED" - }, - { - "value": "ASSESSMENT_RUN_LIMIT_EXCEEDED", - "name": "ASSESSMENT_RUN_LIMIT_EXCEEDED" - }, - { - "value": "RESOURCE_GROUP_LIMIT_EXCEEDED", - "name": "RESOURCE_GROUP_LIMIT_EXCEEDED" - }, - { - "value": "EVENT_SUBSCRIPTION_LIMIT_EXCEEDED", - "name": "EVENT_SUBSCRIPTION_LIMIT_EXCEEDED" + "type": "enum", + "members": { + "ASSESSMENT_TARGET_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASSESSMENT_TARGET_LIMIT_EXCEEDED" } - ] + }, + "ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED" + } + }, + "ASSESSMENT_RUN_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASSESSMENT_RUN_LIMIT_EXCEEDED" + } + }, + "RESOURCE_GROUP_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESOURCE_GROUP_LIMIT_EXCEEDED" + } + }, + "EVENT_SUBSCRIPTION_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EVENT_SUBSCRIPTION_LIMIT_EXCEEDED" + } + } } }, "com.amazonaws.inspector#LimitExceededException": { @@ -4305,6 +4894,174 @@ ], "traits": { "smithy.api#documentation": "Lists the agents of the assessment runs that are specified by the ARNs of the\n assessment runs.
", + "smithy.api#examples": [ + { + "title": "List assessment run agents", + "documentation": "Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.", + "input": { + "assessmentRunArn": "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE", + "maxResults": 123 + }, + "output": { + "assessmentRunAgents": [ + { + "agentHealth": "HEALTHY", + "agentHealthCode": "RUNNING", + "agentId": "i-49113b93", + "assessmentRunArn": "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE", + "telemetryMetadata": [ + { + "count": 2, + "dataSize": 345, + "messageType": "InspectorDuplicateProcess" + }, + { + "count": 3, + "dataSize": 255, + "messageType": "InspectorTimeEventMsg" + }, + { + "count": 4, + "dataSize": 1082, + "messageType": "InspectorNetworkInterface" + }, + { + "count": 2, + "dataSize": 349, + "messageType": "InspectorDnsEntry" + }, + { + "count": 11, + "dataSize": 2514, + "messageType": "InspectorDirectoryInfoMsg" + }, + { + "count": 1, + "dataSize": 179, + "messageType": "InspectorTcpV6ListeningPort" + }, + { + "count": 101, + "dataSize": 10949, + "messageType": "InspectorTerminal" + }, + { + "count": 26, + "dataSize": 5916, + "messageType": "InspectorUser" + }, + { + "count": 282, + "dataSize": 32148, + "messageType": "InspectorDynamicallyLoadedCodeModule" + }, + { + "count": 18, + "dataSize": 10172, + "messageType": "InspectorCreateProcess" + }, + { + "count": 3, + "dataSize": 8001, + "messageType": "InspectorProcessPerformance" + }, + { + "count": 1, + "dataSize": 360, + "messageType": "InspectorOperatingSystem" + }, + { + "count": 6, + "dataSize": 546, + "messageType": "InspectorStopProcess" + }, + { + "count": 1, + "dataSize": 1553, + "messageType": "InspectorInstanceMetaData" + }, + { + "count": 2, + "dataSize": 434, + "messageType": "InspectorTcpV4Connection" + }, + { + "count": 474, + "dataSize": 2960322, + "messageType": "InspectorPackageInfo" + }, + { + "count": 3, + "dataSize": 2235, + "messageType": "InspectorSystemPerformance" + }, + { + "count": 105, + "dataSize": 46048, + "messageType": "InspectorCodeModule" + }, + { + "count": 1, + "dataSize": 182, + "messageType": "InspectorUdpV6ListeningPort" + }, + { + "count": 2, + "dataSize": 371, + "messageType": "InspectorUdpV4ListeningPort" + }, + { + "count": 18, + "dataSize": 8362, + "messageType": "InspectorKernelModule" + }, + { + "count": 29, + "dataSize": 48788, + "messageType": "InspectorConfigurationInfo" + }, + { + "count": 1, + "dataSize": 79, + "messageType": "InspectorMonitoringStart" + }, + { + "count": 5, + "dataSize": 0, + "messageType": "InspectorSplitMsgBegin" + }, + { + "count": 51, + "dataSize": 4593, + "messageType": "InspectorGroup" + }, + { + "count": 1, + "dataSize": 184, + "messageType": "InspectorTcpV4ListeningPort" + }, + { + "count": 1159, + "dataSize": 3146579, + "messageType": "Total" + }, + { + "count": 5, + "dataSize": 0, + "messageType": "InspectorSplitMsgEnd" + }, + { + "count": 1, + "dataSize": 612, + "messageType": "InspectorLoadImageInProcess" + } + ] + } + ], + "nextToken": "1" + } + } + ], "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -4340,6 +5097,9 @@ "smithy.api#documentation": "You can use this parameter to indicate the maximum number of items that you want in\n the response. The default value is 10. The maximum value is 500.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#ListAssessmentRunAgentsResponse": { @@ -4358,6 +5118,9 @@ "smithy.api#documentation": "When a response is generated, if there is more data to be listed, this parameter is\n present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more\n data to be listed, this parameter is set to null.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#ListAssessmentRuns": { @@ -4384,6 +5147,25 @@ ], "traits": { "smithy.api#documentation": "Lists the assessment runs that correspond to the assessment templates that are\n specified by the ARNs of the assessment templates.
", + "smithy.api#examples": [ + { + "title": "List assessment runs", + "documentation": "Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates.", + "input": { + "assessmentTemplateArns": [ + "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw" + ], + "maxResults": 123 + }, + "output": { + "assessmentRunArns": [ + "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE", + "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-v5D6fI3v" + ], + "nextToken": "1" + } + } + ], "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -4418,6 +5200,9 @@ "smithy.api#documentation": "You can use this parameter to indicate the maximum number of items that you want in\n the response. The default value is 10. The maximum value is 500.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#ListAssessmentRunsResponse": { @@ -4436,6 +5221,9 @@ "smithy.api#documentation": "When a response is generated, if there is more data to be listed, this parameter is\n present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more\n data to be listed, this parameter is set to null.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#ListAssessmentTargets": { @@ -4459,6 +5247,21 @@ ], "traits": { "smithy.api#documentation": "Lists the ARNs of the assessment targets within this AWS account. For more\n information about assessment targets, see Amazon Inspector Assessment\n Targets.
", + "smithy.api#examples": [ + { + "title": "List assessment targets", + "documentation": "Lists the ARNs of the assessment targets within this AWS account. ", + "input": { + "maxResults": 123 + }, + "output": { + "assessmentTargetArns": [ + "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq" + ], + "nextToken": "1" + } + } + ], "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -4487,6 +5290,9 @@ "smithy.api#documentation": "You can use this parameter to indicate the maximum number of items you want in the\n response. The default value is 10. The maximum value is 500.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#ListAssessmentTargetsResponse": { @@ -4505,6 +5311,9 @@ "smithy.api#documentation": "When a response is generated, if there is more data to be listed, this parameter is\n present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more\n data to be listed, this parameter is set to null.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#ListAssessmentTemplates": { @@ -4531,6 +5340,25 @@ ], "traits": { "smithy.api#documentation": "Lists the assessment templates that correspond to the assessment targets that are\n specified by the ARNs of the assessment targets.
", + "smithy.api#examples": [ + { + "title": "List assessment templates", + "documentation": "Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets.", + "input": { + "assessmentTargetArns": [ + "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq" + ], + "maxResults": 123 + }, + "output": { + "assessmentTemplateArns": [ + "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw", + "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-Uza6ihLh" + ], + "nextToken": "1" + } + } + ], "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -4565,6 +5393,9 @@ "smithy.api#documentation": "You can use this parameter to indicate the maximum number of items you want in the\n response. The default value is 10. The maximum value is 500.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#ListAssessmentTemplatesResponse": { @@ -4583,6 +5414,9 @@ "smithy.api#documentation": "When a response is generated, if there is more data to be listed, this parameter is\n present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more\n data to be listed, this parameter is set to null.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#ListEventSubscriptions": { @@ -4640,6 +5474,9 @@ "smithy.api#documentation": "You can use this parameter to indicate the maximum number of items you want in the\n response. The default value is 10. The maximum value is 500.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#ListEventSubscriptionsResponse": { @@ -4658,6 +5495,9 @@ "smithy.api#documentation": "When a response is generated, if there is more data to be listed, this parameter is\n present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more\n data to be listed, this parameter is set to null.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#ListExclusions": { @@ -4713,6 +5553,9 @@ "smithy.api#documentation": "You can use this parameter to indicate the maximum number of items you want in the\n response. The default value is 100. The maximum value is 500.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#ListExclusionsResponse": { @@ -4731,6 +5574,9 @@ "smithy.api#documentation": "When a response is generated, if there is more data to be listed, this parameters is\n present in the response and contains the value to use for the nextToken parameter in a\n subsequent pagination request. If there is no more data to be listed, this parameter is set\n to null.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#ListFindings": { @@ -4757,6 +5603,25 @@ ], "traits": { "smithy.api#documentation": "Lists findings that are generated by the assessment runs that are specified by the\n ARNs of the assessment runs.
", + "smithy.api#examples": [ + { + "title": "List findings", + "documentation": "Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.", + "input": { + "assessmentRunArns": [ + "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE" + ], + "maxResults": 123 + }, + "output": { + "findingArns": [ + "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE/finding/0-HwPnsDm4", + "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-v5D6fI3v/finding/0-tyvmqBLy" + ], + "nextToken": "1" + } + } + ], "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -4791,6 +5656,9 @@ "smithy.api#documentation": "You can use this parameter to indicate the maximum number of items you want in the\n response. The default value is 10. The maximum value is 500.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#ListFindingsResponse": { @@ -4809,6 +5677,9 @@ "smithy.api#documentation": "When a response is generated, if there is more data to be listed, this parameter is\n present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more\n data to be listed, this parameter is set to null.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#ListMaxResults": { @@ -4859,6 +5730,24 @@ ], "traits": { "smithy.api#documentation": "Lists all available Amazon Inspector rules packages.
", + "smithy.api#examples": [ + { + "title": "List rules packages", + "documentation": "Lists all available Amazon Inspector rules packages.", + "input": { + "maxResults": 123 + }, + "output": { + "rulesPackageArns": [ + "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-9hgA516p", + "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-H5hpSawc", + "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-JJOtZiqQ", + "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-vg5GGHSD" + ], + "nextToken": "1" + } + } + ], "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -4881,6 +5770,9 @@ "smithy.api#documentation": "You can use this parameter to indicate the maximum number of items you want in the\n response. The default value is 10. The maximum value is 500.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#ListRulesPackagesResponse": { @@ -4899,6 +5791,9 @@ "smithy.api#documentation": "When a response is generated, if there is more data to be listed, this parameter is\n present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more\n data to be listed, this parameter is set to null.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#ListTagsForResource": { @@ -4924,7 +5819,24 @@ } ], "traits": { - "smithy.api#documentation": "Lists all tags associated with an assessment template.
" + "smithy.api#documentation": "Lists all tags associated with an assessment template.
", + "smithy.api#examples": [ + { + "title": "List tags for resource", + "documentation": "Lists all tags associated with an assessment template.", + "input": { + "resourceArn": "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-gcwFliYu" + }, + "output": { + "tags": [ + { + "key": "Name", + "value": "Example" + } + ] + } + } + ] } }, "com.amazonaws.inspector#ListTagsForResourceRequest": { @@ -4937,6 +5849,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#ListTagsForResourceResponse": { @@ -4949,17 +5864,20 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#Locale": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EN_US", - "name": "EN_US" + "type": "enum", + "members": { + "EN_US": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EN_US" } - ] + } } }, "com.amazonaws.inspector#Long": { @@ -5067,42 +5985,56 @@ } }, "com.amazonaws.inspector#NoSuchEntityErrorCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ASSESSMENT_TARGET_DOES_NOT_EXIST", - "name": "ASSESSMENT_TARGET_DOES_NOT_EXIST" - }, - { - "value": "ASSESSMENT_TEMPLATE_DOES_NOT_EXIST", - "name": "ASSESSMENT_TEMPLATE_DOES_NOT_EXIST" - }, - { - "value": "ASSESSMENT_RUN_DOES_NOT_EXIST", - "name": "ASSESSMENT_RUN_DOES_NOT_EXIST" - }, - { - "value": "FINDING_DOES_NOT_EXIST", - "name": "FINDING_DOES_NOT_EXIST" - }, - { - "value": "RESOURCE_GROUP_DOES_NOT_EXIST", - "name": "RESOURCE_GROUP_DOES_NOT_EXIST" - }, - { - "value": "RULES_PACKAGE_DOES_NOT_EXIST", - "name": "RULES_PACKAGE_DOES_NOT_EXIST" - }, - { - "value": "SNS_TOPIC_DOES_NOT_EXIST", - "name": "SNS_TOPIC_DOES_NOT_EXIST" - }, - { - "value": "IAM_ROLE_DOES_NOT_EXIST", - "name": "IAM_ROLE_DOES_NOT_EXIST" + "type": "enum", + "members": { + "ASSESSMENT_TARGET_DOES_NOT_EXIST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASSESSMENT_TARGET_DOES_NOT_EXIST" } - ] + }, + "ASSESSMENT_TEMPLATE_DOES_NOT_EXIST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASSESSMENT_TEMPLATE_DOES_NOT_EXIST" + } + }, + "ASSESSMENT_RUN_DOES_NOT_EXIST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASSESSMENT_RUN_DOES_NOT_EXIST" + } + }, + "FINDING_DOES_NOT_EXIST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FINDING_DOES_NOT_EXIST" + } + }, + "RESOURCE_GROUP_DOES_NOT_EXIST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESOURCE_GROUP_DOES_NOT_EXIST" + } + }, + "RULES_PACKAGE_DOES_NOT_EXIST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RULES_PACKAGE_DOES_NOT_EXIST" + } + }, + "SNS_TOPIC_DOES_NOT_EXIST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SNS_TOPIC_DOES_NOT_EXIST" + } + }, + "IAM_ROLE_DOES_NOT_EXIST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IAM_ROLE_DOES_NOT_EXIST" + } + } } }, "com.amazonaws.inspector#NoSuchEntityException": { @@ -5199,6 +6131,24 @@ ], "traits": { "smithy.api#documentation": "Previews the agents installed on the EC2 instances that are part of the specified\n assessment target.
", + "smithy.api#examples": [ + { + "title": "Preview agents", + "documentation": "Previews the agents installed on the EC2 instances that are part of the specified assessment target.", + "input": { + "previewAgentsArn": "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq", + "maxResults": 123 + }, + "output": { + "agentPreviews": [ + { + "agentId": "i-49113b93" + } + ], + "nextToken": "1" + } + } + ], "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -5231,6 +6181,9 @@ "smithy.api#documentation": "You can use this parameter to indicate the maximum number of items you want in the\n response. The default value is 10. The maximum value is 500.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#PreviewAgentsResponse": { @@ -5249,6 +6202,9 @@ "smithy.api#documentation": "When a response is generated, if there is more data to be listed, this parameter is\n present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more\n data to be listed, this parameter is set to null.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#PreviewGenerationInProgressException": { @@ -5267,18 +6223,20 @@ } }, "com.amazonaws.inspector#PreviewStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "WORK_IN_PROGRESS", - "name": "WORK_IN_PROGRESS" - }, - { - "value": "COMPLETED", - "name": "COMPLETED" + "type": "enum", + "members": { + "WORK_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WORK_IN_PROGRESS" } - ] + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" + } + } } }, "com.amazonaws.inspector#PrivateIp": { @@ -5342,7 +6300,16 @@ } ], "traits": { - "smithy.api#documentation": "Registers the IAM role that grants Amazon Inspector access to AWS Services needed to\n perform security assessments.
" + "smithy.api#documentation": "Registers the IAM role that grants Amazon Inspector access to AWS Services needed to\n perform security assessments.
", + "smithy.api#examples": [ + { + "title": "Register cross account access role", + "documentation": "Registers the IAM role that Amazon Inspector uses to list your EC2 instances at the start of the assessment run or when you call the PreviewAgents action.", + "input": { + "roleArn": "arn:aws:iam::123456789012:role/inspector" + } + } + ] } }, "com.amazonaws.inspector#RegisterCrossAccountAccessRoleRequest": { @@ -5355,6 +6322,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#RemoveAttributesFromFindings": { @@ -5383,7 +6353,24 @@ } ], "traits": { - "smithy.api#documentation": "Removes entire attributes (key and value pairs) from the findings that are specified\n by the ARNs of the findings where an attribute with the specified key exists.
" + "smithy.api#documentation": "Removes entire attributes (key and value pairs) from the findings that are specified\n by the ARNs of the findings where an attribute with the specified key exists.
", + "smithy.api#examples": [ + { + "title": "Remove attributes from findings", + "documentation": "Removes entire attributes (key and value pairs) from the findings that are specified by the ARNs of the findings where an attribute with the specified key exists.", + "input": { + "findingArns": [ + "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-8l1VIE0D/run/0-Z02cjjug/finding/0-T8yM9mEU" + ], + "attributeKeys": [ + "key=Example,value=example" + ] + }, + "output": { + "failedItems": {} + } + } + ] } }, "com.amazonaws.inspector#RemoveAttributesFromFindingsRequest": { @@ -5403,6 +6390,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#RemoveAttributesFromFindingsResponse": { @@ -5415,55 +6405,66 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#ReportFileFormat": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "HTML", - "name": "HTML" - }, - { - "value": "PDF", - "name": "PDF" + "type": "enum", + "members": { + "HTML": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HTML" } - ] + }, + "PDF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PDF" + } + } } }, "com.amazonaws.inspector#ReportStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "WORK_IN_PROGRESS", - "name": "WORK_IN_PROGRESS" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "COMPLETED", - "name": "COMPLETED" + "type": "enum", + "members": { + "WORK_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WORK_IN_PROGRESS" } - ] + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" + } + } } }, "com.amazonaws.inspector#ReportType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FINDING", - "name": "FINDING" - }, - { - "value": "FULL", - "name": "FULL" + "type": "enum", + "members": { + "FINDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FINDING" } - ] + }, + "FULL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FULL" + } + } } }, "com.amazonaws.inspector#ResourceGroup": { @@ -5656,18 +6657,20 @@ } }, "com.amazonaws.inspector#ScopeType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INSTANCE_ID", - "name": "INSTANCE_ID" - }, - { - "value": "RULES_PACKAGE_ARN", - "name": "RULES_PACKAGE_ARN" + "type": "enum", + "members": { + "INSTANCE_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INSTANCE_ID" } - ] + }, + "RULES_PACKAGE_ARN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RULES_PACKAGE_ARN" + } + } } }, "com.amazonaws.inspector#ScopeValue": { @@ -5758,7 +6761,22 @@ } ], "traits": { - "smithy.api#documentation": "Sets tags (key and value pairs) to the assessment template that is specified by the\n ARN of the assessment template.
" + "smithy.api#documentation": "Sets tags (key and value pairs) to the assessment template that is specified by the\n ARN of the assessment template.
", + "smithy.api#examples": [ + { + "title": "Set tags for resource", + "documentation": "Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template.", + "input": { + "resourceArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-7sbz2Kz0", + "tags": [ + { + "key": "Example", + "value": "example" + } + ] + } + } + ] } }, "com.amazonaws.inspector#SetTagsForResourceRequest": { @@ -5777,33 +6795,44 @@ "smithy.api#documentation": "A collection of key and value pairs that you want to set to the assessment\n template.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#Severity": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Low", - "name": "LOW" - }, - { - "value": "Medium", - "name": "MEDIUM" - }, - { - "value": "High", - "name": "HIGH" - }, - { - "value": "Informational", - "name": "INFORMATIONAL" - }, - { - "value": "Undefined", - "name": "UNDEFINED" + "type": "enum", + "members": { + "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" + } + }, + "INFORMATIONAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Informational" + } + }, + "UNDEFINED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Undefined" + } + } } }, "com.amazonaws.inspector#SeverityList": { @@ -5853,7 +6882,20 @@ } ], "traits": { - "smithy.api#documentation": "Starts the assessment run specified by the ARN of the assessment template. For this\n API to function properly, you must not exceed the limit of running up to 500 concurrent\n agents per AWS account.
" + "smithy.api#documentation": "Starts the assessment run specified by the ARN of the assessment template. For this\n API to function properly, you must not exceed the limit of running up to 500 concurrent\n agents per AWS account.
", + "smithy.api#examples": [ + { + "title": "Start assessment run", + "documentation": "Starts the assessment run specified by the ARN of the assessment template. For this API to function properly, you must not exceed the limit of running up to 500 concurrent agents per AWS account.", + "input": { + "assessmentTemplateArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-it5r2S4T", + "assessmentRunName": "examplerun" + }, + "output": { + "assessmentRunArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-it5r2S4T/run/0-jOoroxyY" + } + } + ] } }, "com.amazonaws.inspector#StartAssessmentRunRequest": { @@ -5872,6 +6914,9 @@ "smithy.api#documentation": "You can specify the name for the assessment run. The name must be unique for the\n assessment template whose ARN is used to start the assessment run.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#StartAssessmentRunResponse": { @@ -5884,21 +6929,26 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.inspector#StopAction": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "START_EVALUATION", - "name": "START_EVALUATION" - }, - { - "value": "SKIP_EVALUATION", - "name": "SKIP_EVALUATION" + "type": "enum", + "members": { + "START_EVALUATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "START_EVALUATION" } - ] + }, + "SKIP_EVALUATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SKIP_EVALUATION" + } + } } }, "com.amazonaws.inspector#StopAssessmentRun": { @@ -5927,7 +6977,16 @@ } ], "traits": { - "smithy.api#documentation": "Stops the assessment run that is specified by the ARN of the assessment\n run.
" + "smithy.api#documentation": "Stops the assessment run that is specified by the ARN of the assessment\n run.
", + "smithy.api#examples": [ + { + "title": "Stop assessment run", + "documentation": "Stops the assessment run that is specified by the ARN of the assessment run.", + "input": { + "assessmentRunArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-it5r2S4T/run/0-11LMTAVe" + } + } + ] } }, "com.amazonaws.inspector#StopAssessmentRunRequest": { @@ -5946,6 +7005,9 @@ "smithy.api#documentation": "An input option that can be set to either START_EVALUATION or SKIP_EVALUATION.\n START_EVALUATION (the default value), stops the AWS agent from collecting data and begins\n the results evaluation and the findings generation process. SKIP_EVALUATION cancels the\n assessment run immediately, after which no findings are generated.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#SubscribeToEvent": { @@ -5977,7 +7039,18 @@ } ], "traits": { - "smithy.api#documentation": "Enables the process of sending Amazon Simple Notification Service (SNS) notifications\n about a specified event to a specified SNS topic.
" + "smithy.api#documentation": "Enables the process of sending Amazon Simple Notification Service (SNS) notifications\n about a specified event to a specified SNS topic.
", + "smithy.api#examples": [ + { + "title": "Subscribe to event", + "documentation": "Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.", + "input": { + "resourceArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-7sbz2Kz0", + "event": "ASSESSMENT_RUN_COMPLETED", + "topicArn": "arn:aws:sns:us-west-2:123456789012:exampletopic" + } + } + ] } }, "com.amazonaws.inspector#SubscribeToEventRequest": { @@ -6004,6 +7077,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#Subscription": { @@ -6179,7 +7255,7 @@ "com.amazonaws.inspector#UUID": { "type": "string", "traits": { - "smithy.api#pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}" + "smithy.api#pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } }, "com.amazonaws.inspector#UnsubscribeFromEvent": { @@ -6208,7 +7284,18 @@ } ], "traits": { - "smithy.api#documentation": "Disables the process of sending Amazon Simple Notification Service (SNS)\n notifications about a specified event to a specified SNS topic.
" + "smithy.api#documentation": "Disables the process of sending Amazon Simple Notification Service (SNS)\n notifications about a specified event to a specified SNS topic.
", + "smithy.api#examples": [ + { + "title": "Unsubscribe from event", + "documentation": "Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.", + "input": { + "resourceArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-7sbz2Kz0", + "event": "ASSESSMENT_RUN_COMPLETED", + "topicArn": "arn:aws:sns:us-west-2:123456789012:exampletopic" + } + } + ] } }, "com.amazonaws.inspector#UnsubscribeFromEventRequest": { @@ -6235,6 +7322,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#UnsupportedFeatureException": { @@ -6284,7 +7374,18 @@ } ], "traits": { - "smithy.api#documentation": "Updates the assessment target that is specified by the ARN of the assessment\n target.
\nIf resourceGroupArn is not specified, all EC2 instances in the current AWS account\n and region are included in the assessment target.
" + "smithy.api#documentation": "Updates the assessment target that is specified by the ARN of the assessment\n target.
\nIf resourceGroupArn is not specified, all EC2 instances in the current AWS account\n and region are included in the assessment target.
", + "smithy.api#examples": [ + { + "title": "Update assessment target", + "documentation": "Updates the assessment target that is specified by the ARN of the assessment target.", + "input": { + "assessmentTargetArn": "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX", + "assessmentTargetName": "Example", + "resourceGroupArn": "arn:aws:inspector:us-west-2:123456789012:resourcegroup/0-yNbgL5Pt" + } + } + ] } }, "com.amazonaws.inspector#UpdateAssessmentTargetRequest": { @@ -6310,6 +7411,9 @@ "smithy.api#documentation": "The ARN of the resource group that is used to specify the new resource group to\n associate with the assessment target.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.inspector#Url": { diff --git a/codegen/sdk-codegen/aws-models/iot-1click-devices-service.json b/codegen/sdk-codegen/aws-models/iot-1click-devices-service.json index 4b35aed3dc6..598653219e8 100644 --- a/codegen/sdk-codegen/aws-models/iot-1click-devices-service.json +++ b/codegen/sdk-codegen/aws-models/iot-1click-devices-service.json @@ -72,6 +72,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iot1clickdevicesservice#ClaimDevicesByClaimCodeResponse": { @@ -87,11 +90,13 @@ "Total": { "target": "com.amazonaws.iot1clickdevicesservice#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The total number of devices associated with the claim code that has been processed in\n the claim request.
", "smithy.api#jsonName": "total" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iot1clickdevicesservice#DescribeDevice": { @@ -133,6 +138,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iot1clickdevicesservice#DescribeDeviceResponse": { @@ -145,6 +153,9 @@ "smithy.api#jsonName": "deviceDescription" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iot1clickdevicesservice#Device": { @@ -212,7 +223,6 @@ "Enabled": { "target": "com.amazonaws.iot1clickdevicesservice#__boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "A Boolean value indicating whether or not the device is enabled.
", "smithy.api#jsonName": "enabled" } @@ -220,7 +230,6 @@ "RemainingLife": { "target": "com.amazonaws.iot1clickdevicesservice#__doubleMin0Max100", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "A value between 0 and 1 inclusive, representing the fraction of life remaining for the\n device.
", "smithy.api#jsonName": "remainingLife" } @@ -331,6 +340,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iot1clickdevicesservice#FinalizeDeviceClaimResponse": { @@ -343,6 +355,9 @@ "smithy.api#jsonName": "state" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iot1clickdevicesservice#ForbiddenException": { @@ -407,6 +422,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iot1clickdevicesservice#GetDeviceMethodsResponse": { @@ -419,6 +437,9 @@ "smithy.api#jsonName": "deviceMethods" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iot1clickdevicesservice#InitiateDeviceClaim": { @@ -463,6 +484,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iot1clickdevicesservice#InitiateDeviceClaimResponse": { @@ -475,6 +499,9 @@ "smithy.api#jsonName": "state" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iot1clickdevicesservice#InternalFailureException": { @@ -585,6 +612,9 @@ "smithy.api#jsonName": "deviceMethodParameters" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iot1clickdevicesservice#InvokeDeviceMethodResponse": { @@ -597,6 +627,9 @@ "smithy.api#jsonName": "deviceMethodResponse" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iot1clickdevicesservice#IoT1ClickDevicesService": { @@ -649,6 +682,7 @@ "arnNamespace": "iot1click", "cloudFormationName": "IoT1ClickDevicesService", "cloudTrailEventSource": "iot1clickdevicesservice.amazonaws.com", + "docId": "devices-2018-05-14", "endpointPrefix": "devices.iot1click" }, "aws.auth#sigv4": { @@ -717,52 +751,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", @@ -770,13 +808,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -786,224 +833,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://devices.iot1click-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://devices.iot1click-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": [ { "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": [], - "endpoint": { - "url": "https://devices.iot1click-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://devices.iot1click-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://devices.iot1click.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://devices.iot1click.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://devices.iot1click.{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://devices.iot1click.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -1018,8 +1016,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1031,8 +1029,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1044,8 +1042,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1057,8 +1055,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1070,8 +1068,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1083,8 +1081,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1096,8 +1094,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1109,8 +1107,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1122,8 +1120,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1135,8 +1133,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1148,8 +1146,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1161,8 +1159,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -1174,8 +1183,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 } }, { @@ -1187,8 +1207,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -1200,8 +1231,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 } }, { @@ -1213,8 +1255,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1226,8 +1268,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1239,8 +1281,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1251,8 +1293,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1263,10 +1305,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" @@ -1326,7 +1374,6 @@ "MaxResults": { "target": "com.amazonaws.iot1clickdevicesservice#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return per request. If not set, a default value of\n 100 is used.
", "smithy.api#httpQuery": "maxResults" } @@ -1346,6 +1393,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iot1clickdevicesservice#ListDeviceEventsResponse": { @@ -1365,6 +1415,9 @@ "smithy.api#jsonName": "nextToken" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iot1clickdevicesservice#ListDevices": { @@ -1408,7 +1461,6 @@ "MaxResults": { "target": "com.amazonaws.iot1clickdevicesservice#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to return per request. If not set, a default value of\n 100 is used.
", "smithy.api#httpQuery": "maxResults" } @@ -1420,6 +1472,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iot1clickdevicesservice#ListDevicesResponse": { @@ -1439,6 +1494,9 @@ "smithy.api#jsonName": "nextToken" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iot1clickdevicesservice#ListTagsForResource": { @@ -1477,6 +1535,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iot1clickdevicesservice#ListTagsForResourceResponse": { @@ -1489,12 +1550,14 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iot1clickdevicesservice#MaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 250 @@ -1640,6 +1703,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iot1clickdevicesservice#UnclaimDevice": { @@ -1681,6 +1747,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iot1clickdevicesservice#UnclaimDeviceResponse": { @@ -1693,6 +1762,9 @@ "smithy.api#jsonName": "state" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iot1clickdevicesservice#UntagResource": { @@ -1742,6 +1814,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iot1clickdevicesservice#UpdateDeviceState": { @@ -1786,34 +1861,30 @@ "Enabled": { "target": "com.amazonaws.iot1clickdevicesservice#__boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "If true, the device is enabled. If false, the device is\n disabled.
", "smithy.api#jsonName": "enabled" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iot1clickdevicesservice#UpdateDeviceStateResponse": { "type": "structure", - "members": {} - }, - "com.amazonaws.iot1clickdevicesservice#__boolean": { - "type": "boolean", + "members": {}, "traits": { - "smithy.api#default": false + "smithy.api#output": {} } }, + "com.amazonaws.iot1clickdevicesservice#__boolean": { + "type": "boolean" + }, "com.amazonaws.iot1clickdevicesservice#__doubleMin0Max100": { - "type": "double", - "traits": { - "smithy.api#default": 0 - } + "type": "double" }, "com.amazonaws.iot1clickdevicesservice#__integer": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } + "type": "integer" }, "com.amazonaws.iot1clickdevicesservice#__listOfDeviceDescription": { "type": "list", diff --git a/codegen/sdk-codegen/aws-models/iot-1click-projects.json b/codegen/sdk-codegen/aws-models/iot-1click-projects.json index eb5532aebe6..941ea127e32 100644 --- a/codegen/sdk-codegen/aws-models/iot-1click-projects.json +++ b/codegen/sdk-codegen/aws-models/iot-1click-projects.json @@ -88,6 +88,7 @@ "arnNamespace": "iot1click", "cloudFormationName": "IoT1Click", "cloudTrailEventSource": "iot1clickprojects.amazonaws.com", + "docId": "iot1click-projects-2018-05-14", "endpointPrefix": "projects.iot1click" }, "aws.auth#sigv4": { @@ -156,52 +157,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", @@ -209,13 +214,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -225,224 +239,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://projects.iot1click-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://projects.iot1click-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": [ { "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": [], - "endpoint": { - "url": "https://projects.iot1click-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://projects.iot1click-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://projects.iot1click.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://projects.iot1click.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://projects.iot1click.{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://projects.iot1click.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -457,8 +422,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -470,8 +435,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -483,8 +448,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -496,8 +461,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -509,8 +474,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -522,8 +487,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -535,8 +500,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -548,8 +513,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -561,8 +526,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -574,8 +539,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -587,8 +552,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -600,8 +565,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -613,8 +578,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -626,8 +591,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -639,8 +604,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -652,8 +617,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -665,8 +630,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -678,8 +643,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -691,8 +667,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 } }, { @@ -704,8 +691,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -717,8 +715,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 } }, { @@ -730,8 +739,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -743,8 +752,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -756,8 +765,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -768,8 +777,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -780,10 +789,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" @@ -855,11 +870,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iot1clickprojects#AssociateDeviceWithPlacementResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iot1clickprojects#AttributeDefaultValue": { "type": "string", @@ -946,11 +967,17 @@ "smithy.api#documentation": "Optional user-defined key/value pairs providing contextual data (such as location or\n function) for the placement.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iot1clickprojects#CreatePlacementResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iot1clickprojects#CreateProject": { "type": "operation", @@ -1008,11 +1035,17 @@ "smithy.api#documentation": "Optional tags (metadata key/value pairs) to be associated with the project. For example,\n { {\"key1\": \"value1\", \"key2\": \"value2\"} }
. For more information, see AWS Tagging\n Strategies.
The token used to retrieve the next set of results - will be effectively empty if there\n are no further results.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iot1clickprojects#ListProjects": { @@ -1639,6 +1714,9 @@ "smithy.api#httpQuery": "maxResults" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iot1clickprojects#ListProjectsResponse": { @@ -1657,6 +1735,9 @@ "smithy.api#documentation": "The token used to retrieve the next set of results - will be effectively empty if there\n are no further results.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iot1clickprojects#ListTagsForResource": { @@ -1698,6 +1779,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iot1clickprojects#ListTagsForResourceResponse": { @@ -1709,6 +1793,9 @@ "smithy.api#documentation": "The tags (metadata key/value pairs) which you have assigned to the resource.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iot1clickprojects#MaxResults": { @@ -2099,11 +2186,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iot1clickprojects#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iot1clickprojects#TagValue": { "type": "string", @@ -2186,11 +2279,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iot1clickprojects#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iot1clickprojects#UpdatePlacement": { "type": "operation", @@ -2248,11 +2347,17 @@ "smithy.api#documentation": "The user-defined object of attributes used to update the placement. The maximum number of\n key/value pairs is 50.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iot1clickprojects#UpdatePlacementResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iot1clickprojects#UpdateProject": { "type": "operation", @@ -2308,11 +2413,17 @@ "smithy.api#documentation": "An object defining the project update. Once a project has been created, you cannot add\n device template names to the project. However, for a given placementTemplate
, you\n can update the associated callbackOverrides
for the device definition using this\n API.
The name of the alarm state. The state name can be one of the following values:
\n\n DISABLED
- When the alarm is in the DISABLED
state, \n\t\tit isn't ready to evaluate data. To enable the alarm, \n\t\tyou must change the alarm to the NORMAL
state.
\n NORMAL
- When the alarm is in the NORMAL
state, \n\t\tit's ready to evaluate data.
\n ACTIVE
- If the alarm is in the ACTIVE
state, \n\t\tthe alarm is invoked.
\n ACKNOWLEDGED
- When the alarm is in the ACKNOWLEDGED
state, \n\t\tthe alarm was invoked and you acknowledged the alarm.
\n SNOOZE_DISABLED
- When the alarm is in the SNOOZE_DISABLED
state, \n\t\tthe alarm is disabled for a specified period of time. After the snooze time, \n\t\tthe alarm automatically changes to the NORMAL
state.
\n LATCHED
- When the alarm is in the LATCHED
state, \n\t\tthe alarm was invoked. However, the data that the alarm is currently evaluating is within the specified range. \n\t\tTo change the alarm to the NORMAL
state, you must acknowledge the alarm.
The name of the alarm state. The state name can be one of the following values:
\n\n DISABLED
- When the alarm is in the DISABLED
state, \n\t\tit isn't ready to evaluate data. To enable the alarm, \n\t\tyou must change the alarm to the NORMAL
state.
\n NORMAL
- When the alarm is in the NORMAL
state, \n\t\tit's ready to evaluate data.
\n ACTIVE
- If the alarm is in the ACTIVE
state, \n\t\tthe alarm is invoked.
\n ACKNOWLEDGED
- When the alarm is in the ACKNOWLEDGED
state, \n\t\tthe alarm was invoked and you acknowledged the alarm.
\n SNOOZE_DISABLED
- When the alarm is in the SNOOZE_DISABLED
state, \n\t\tthe alarm is disabled for a specified period of time. After the snooze time, \n\t\tthe alarm automatically changes to the NORMAL
state.
\n LATCHED
- When the alarm is in the LATCHED
state, \n\t\tthe alarm was invoked. However, the data that the alarm is currently evaluating is within the specified range. \n\t\tTo change the alarm to the NORMAL
state, you must acknowledge the alarm.
The name of the alarm state. The state name can be one of the following values:
\n\n DISABLED
- When the alarm is in the DISABLED
state, \n\t\tit isn't ready to evaluate data. To enable the alarm, \n\t\tyou must change the alarm to the NORMAL
state.
\n NORMAL
- When the alarm is in the NORMAL
state, \n\t\tit's ready to evaluate data.
\n ACTIVE
- If the alarm is in the ACTIVE
state, \n\t\tthe alarm is invoked.
\n ACKNOWLEDGED
- When the alarm is in the ACKNOWLEDGED
state, \n\t\tthe alarm was invoked and you acknowledged the alarm.
\n SNOOZE_DISABLED
- When the alarm is in the SNOOZE_DISABLED
state, \n\t\tthe alarm is disabled for a specified period of time. After the snooze time, \n\t\tthe alarm automatically changes to the NORMAL
state.
\n LATCHED
- When the alarm is in the LATCHED
state, \n\t\tthe alarm was invoked. However, the data that the alarm is currently evaluating is within the specified range. \n\t\tTo change the alarm to the NORMAL
state, you must acknowledge the alarm.
The name of the alarm state. The state name can be one of the following values:
\n\n DISABLED
- When the alarm is in the DISABLED
state, \n\t\tit isn't ready to evaluate data. To enable the alarm, \n\t\tyou must change the alarm to the NORMAL
state.
\n NORMAL
- When the alarm is in the NORMAL
state, \n\t\tit's ready to evaluate data.
\n ACTIVE
- If the alarm is in the ACTIVE
state, \n\t\tthe alarm is invoked.
\n ACKNOWLEDGED
- When the alarm is in the ACKNOWLEDGED
state, \n\t\tthe alarm was invoked and you acknowledged the alarm.
\n SNOOZE_DISABLED
- When the alarm is in the SNOOZE_DISABLED
state, \n\t\tthe alarm is disabled for a specified period of time. After the snooze time, \n\t\tthe alarm automatically changes to the NORMAL
state.
\n LATCHED
- When the alarm is in the LATCHED
state, \n\t\tthe alarm was invoked. However, the data that the alarm is currently evaluating is within the specified range. \n\t\tTo change the alarm to the NORMAL
state, you must acknowledge the alarm.
A list of errors associated with the request, or null
if there are no errors. \nEach error entry contains an entry ID that helps you identify the entry that failed.
A list of errors associated with the request, or an empty array ([]
) if there are no errors. Each error entry contains a messageId
that helps you identify the entry that failed.
A list of errors associated with the request, or null
if there are no errors. \nEach error entry contains an entry ID that helps you identify the entry that failed.
A list of errors associated with the request, or null
if there are no errors. \nEach error entry contains an entry ID that helps you identify the entry that failed.
A list of any errors encountered when sending the messages.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ioteventsdata#BatchResetAlarm": { @@ -677,6 +717,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ioteventsdata#BatchResetAlarmResponse": { @@ -688,6 +731,9 @@ "smithy.api#documentation": "A list of errors associated with the request, or null
if there are no errors. \nEach error entry contains an entry ID that helps you identify the entry that failed.
A list of errors associated with the request, or null
if there are no errors. \nEach error entry contains an entry ID that helps you identify the entry that failed.
A list of those detector updates that resulted in errors. (If an error is listed here, the\n specific update did not occur.)
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ioteventsdata#ComparisonOperator": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "GREATER", - "name": "GREATER" - }, - { - "value": "GREATER_OR_EQUAL", - "name": "GREATER_OR_EQUAL" - }, - { - "value": "LESS", - "name": "LESS" - }, - { - "value": "LESS_OR_EQUAL", - "name": "LESS_OR_EQUAL" - }, - { - "value": "EQUAL", - "name": "EQUAL" - }, - { - "value": "NOT_EQUAL", - "name": "NOT_EQUAL" + "type": "enum", + "members": { + "GREATER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GREATER" + } + }, + "GREATER_OR_EQUAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GREATER_OR_EQUAL" + } + }, + "LESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LESS" + } + }, + "LESS_OR_EQUAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LESS_OR_EQUAL" + } + }, + "EQUAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EQUAL" } - ] + }, + "NOT_EQUAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NOT_EQUAL" + } + } } }, "com.amazonaws.ioteventsdata#CustomerAction": { @@ -867,7 +935,7 @@ "actionName": { "target": "com.amazonaws.ioteventsdata#CustomerActionName", "traits": { - "smithy.api#documentation": "The name of the action. The action name can be one of the following values:
\n\n SNOOZE
- When you snooze the alarm, the alarm state changes to SNOOZE_DISABLED
.
\n ENABLE
- When you enable the alarm, the alarm state changes to NORMAL
.
\n DISABLE
- When you disable the alarm, the alarm state changes to DISABLED
.
\n ACKNOWLEDGE
- When you acknowledge the alarm, the alarm state changes to ACKNOWLEDGED
.
\n RESET
- When you reset the alarm, the alarm state changes to NORMAL
.
For more information, see the AlarmState API.
" + "smithy.api#documentation": "The name of the action. The action name can be one of the following values:
\n\n SNOOZE
- When you snooze the alarm, the alarm state changes to SNOOZE_DISABLED
.
\n ENABLE
- When you enable the alarm, the alarm state changes to NORMAL
.
\n DISABLE
- When you disable the alarm, the alarm state changes to DISABLED
.
\n ACKNOWLEDGE
- When you acknowledge the alarm, the alarm state changes to ACKNOWLEDGED
.
\n RESET
- When you reset the alarm, the alarm state changes to NORMAL
.
For more information, see the AlarmState API.
" } }, "snoozeActionConfiguration": { @@ -906,30 +974,38 @@ } }, "com.amazonaws.ioteventsdata#CustomerActionName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SNOOZE", - "name": "SNOOZE" - }, - { - "value": "ENABLE", - "name": "ENABLE" - }, - { - "value": "DISABLE", - "name": "DISABLE" - }, - { - "value": "ACKNOWLEDGE", - "name": "ACKNOWLEDGE" - }, - { - "value": "RESET", - "name": "RESET" + "type": "enum", + "members": { + "SNOOZE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SNOOZE" } - ] + }, + "ENABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLE" + } + }, + "DISABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLE" + } + }, + "ACKNOWLEDGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACKNOWLEDGE" + } + }, + "RESET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESET" + } + } } }, "com.amazonaws.ioteventsdata#DeleteDetectorRequest": { @@ -1023,6 +1099,9 @@ "smithy.api#httpQuery": "keyValue" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ioteventsdata#DescribeAlarmResponse": { @@ -1034,6 +1113,9 @@ "smithy.api#documentation": "Contains information about an alarm.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ioteventsdata#DescribeDetector": { @@ -1088,6 +1170,9 @@ "smithy.api#httpQuery": "keyValue" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ioteventsdata#DescribeDetectorResponse": { @@ -1099,6 +1184,9 @@ "smithy.api#documentation": "Information about the detector (instance).
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ioteventsdata#Detector": { @@ -1424,44 +1512,52 @@ } }, "com.amazonaws.ioteventsdata#ErrorCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ResourceNotFoundException", - "name": "ResourceNotFoundException" - }, - { - "value": "InvalidRequestException", - "name": "InvalidRequestException" - }, - { - "value": "InternalFailureException", - "name": "InternalFailureException" - }, - { - "value": "ServiceUnavailableException", - "name": "ServiceUnavailableException" - }, - { - "value": "ThrottlingException", - "name": "ThrottlingException" + "type": "enum", + "members": { + "ResourceNotFoundException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ResourceNotFoundException" + } + }, + "InvalidRequestException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InvalidRequestException" + } + }, + "InternalFailureException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InternalFailureException" + } + }, + "ServiceUnavailableException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ServiceUnavailableException" + } + }, + "ThrottlingException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ThrottlingException" } - ] + } } }, "com.amazonaws.ioteventsdata#ErrorMessage": { "type": "string" }, "com.amazonaws.ioteventsdata#EventType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "STATE_CHANGE", - "name": "STATE_CHANGE" + "type": "enum", + "members": { + "STATE_CHANGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STATE_CHANGE" } - ] + } } }, "com.amazonaws.ioteventsdata#InputPropertyValue": { @@ -1546,6 +1642,7 @@ "arnNamespace": "ioteventsdata", "cloudFormationName": "IoTEventsData", "cloudTrailEventSource": "ioteventsdata.amazonaws.com", + "docId": "iotevents-data-2018-10-23", "endpointPrefix": "data.iotevents" }, "aws.auth#sigv4": { @@ -1614,52 +1711,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", @@ -1667,13 +1768,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -1683,224 +1793,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://data.iotevents-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://data.iotevents-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": [ { "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": [], - "endpoint": { - "url": "https://data.iotevents-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://data.iotevents-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://data.iotevents.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://data.iotevents.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://data.iotevents.{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://data.iotevents.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -1915,8 +1976,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1928,8 +1989,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1941,8 +2002,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1954,8 +2015,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1967,8 +2028,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1980,8 +2041,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1993,8 +2054,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2006,8 +2067,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2019,8 +2080,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2032,8 +2093,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2045,8 +2106,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2058,8 +2119,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -2071,8 +2143,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 } }, { @@ -2084,8 +2167,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -2097,8 +2191,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 } }, { @@ -2110,8 +2215,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2123,8 +2228,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2136,8 +2241,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2148,8 +2253,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2160,10 +2265,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" @@ -2239,6 +2350,9 @@ "smithy.api#httpQuery": "maxResults" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ioteventsdata#ListAlarmsResponse": { @@ -2256,6 +2370,9 @@ "smithy.api#documentation": "The token that you can use to return the next set of results, \nor null
if there are no more results.
The token that you can use to return the next set of results, \nor null
if there are no more results.
Contains the configuration information of alarm state changes.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotevents#CreateAlarmModelResponse": { @@ -863,6 +890,9 @@ "smithy.api#documentation": "The status of the alarm model. The status can be one of the following values:
\n\n ACTIVE
- The alarm model is active and it's ready to evaluate data.
\n ACTIVATING
- AWS IoT Events is activating your alarm model. \n Activating an alarm model can take up to a few minutes.
\n INACTIVE
- The alarm model is inactive, so it isn't ready to evaluate data. \n\t Check your alarm model information and update the alarm model.
\n FAILED
- You couldn't create or update the alarm model. Check your alarm model information \n and try again.
Information about the order in which events are evaluated and how actions are executed.\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotevents#CreateDetectorModelResponse": { @@ -964,6 +997,9 @@ "smithy.api#documentation": "Information about how the detector model is configured.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotevents#CreateInput": { @@ -1029,6 +1065,9 @@ "smithy.api#documentation": "Metadata that can be used to manage the input.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotevents#CreateInputResponse": { @@ -1040,6 +1079,9 @@ "smithy.api#documentation": "Information about the configuration of the input.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotevents#DeleteAlarmModel": { @@ -1090,11 +1132,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotevents#DeleteAlarmModelResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iotevents#DeleteDetectorModel": { "type": "operation", @@ -1144,11 +1192,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotevents#DeleteDetectorModelResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iotevents#DeleteInput": { "type": "operation", @@ -1198,11 +1252,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotevents#DeleteInputResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iotevents#DeliveryStreamName": { "type": "string" @@ -1259,6 +1319,9 @@ "smithy.api#httpQuery": "version" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotevents#DescribeAlarmModelResponse": { @@ -1354,6 +1417,9 @@ "smithy.api#documentation": "Contains the configuration information of alarm state changes.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotevents#DescribeDetectorModel": { @@ -1435,6 +1501,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotevents#DescribeDetectorModelAnalysisResponse": { @@ -1446,6 +1515,9 @@ "smithy.api#documentation": "The status of the analysis activity. The status can be one of the following values:
\n\n RUNNING
- AWS IoT Events is analyzing your detector model. This process can take\n several minutes to complete.
\n COMPLETE
- AWS IoT Events finished analyzing your detector model.
\n FAILED
- AWS IoT Events couldn't analyze your detector model. Try again\n later.
Information about the detector model.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotevents#DescribeInput": { @@ -1524,6 +1602,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotevents#DescribeInputResponse": { @@ -1535,6 +1616,9 @@ "smithy.api#documentation": "Information about the input.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotevents#DescribeLoggingOptions": { @@ -1576,7 +1660,10 @@ }, "com.amazonaws.iotevents#DescribeLoggingOptionsRequest": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.iotevents#DescribeLoggingOptionsResponse": { "type": "structure", @@ -1587,6 +1674,9 @@ "smithy.api#documentation": "The current settings of the AWS IoT Events logging options.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotevents#DetectorDebugOption": { @@ -1795,38 +1885,50 @@ } }, "com.amazonaws.iotevents#DetectorModelVersionStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "ACTIVATING", - "name": "ACTIVATING" - }, - { - "value": "INACTIVE", - "name": "INACTIVE" - }, - { - "value": "DEPRECATED", - "name": "DEPRECATED" - }, - { - "value": "DRAFT", - "name": "DRAFT" - }, - { - "value": "PAUSED", - "name": "PAUSED" - }, - { - "value": "FAILED", - "name": "FAILED" + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "ACTIVATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVATING" + } + }, + "INACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INACTIVE" + } + }, + "DEPRECATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEPRECATED" + } + }, + "DRAFT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DRAFT" + } + }, + "PAUSED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PAUSED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" } - ] + } } }, "com.amazonaws.iotevents#DetectorModelVersionSummaries": { @@ -2072,18 +2174,20 @@ "type": "string" }, "com.amazonaws.iotevents#EvaluationMethod": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "BATCH", - "name": "BATCH" - }, - { - "value": "SERIAL", - "name": "SERIAL" + "type": "enum", + "members": { + "BATCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BATCH" + } + }, + "SERIAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SERIAL" } - ] + } } }, "com.amazonaws.iotevents#Event": { @@ -2223,6 +2327,9 @@ "smithy.api#httpQuery": "maxResults" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotevents#GetDetectorModelAnalysisResultsResponse": { @@ -2240,6 +2347,9 @@ "smithy.api#documentation": "The token that you can use to return the next set of results, \nor null
if there are no more results.
The token that you can use to return the next set of results, \nor null
if there are no more results.
The token that you can use to return the next set of results, \nor null
if there are no more results.
The token that you can use to return the next set of results, \nor null
if there are no more results.
The token that you can use to return the next set of results, \nor null
if there are no more results.
\n The token that you can use to return the next set of results.\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotevents#ListInputRoutingsResponse": { @@ -3910,6 +4068,9 @@ "smithy.api#documentation": "\n The token that you can use to return the next set of results, \nor null
if there are no more results.\n
The token that you can use to return the next set of results, \nor null
if there are no more results.
The list of tags assigned to the resource.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotevents#LoggingEnabled": { @@ -4044,22 +4217,26 @@ } }, "com.amazonaws.iotevents#LoggingLevel": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ERROR", - "name": "ERROR" - }, - { - "value": "INFO", - "name": "INFO" - }, - { - "value": "DEBUG", - "name": "DEBUG" + "type": "enum", + "members": { + "ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ERROR" + } + }, + "INFO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INFO" + } + }, + "DEBUG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEBUG" } - ] + } } }, "com.amazonaws.iotevents#LoggingOptions": { @@ -4245,18 +4422,20 @@ } }, "com.amazonaws.iotevents#PayloadType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "STRING", - "name": "STRING" - }, - { - "value": "JSON", - "name": "JSON" + "type": "enum", + "members": { + "STRING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STRING" + } + }, + "JSON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JSON" } - ] + } } }, "com.amazonaws.iotevents#PutLoggingOptions": { @@ -4306,6 +4485,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotevents#QueueUrl": { @@ -4711,6 +4893,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotevents#StartDetectorModelAnalysisResponse": { @@ -4722,6 +4907,9 @@ "smithy.api#documentation": "The ID that you can use to retrieve the analysis result.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotevents#State": { @@ -4872,11 +5060,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotevents#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iotevents#TagValue": { "type": "string", @@ -5040,11 +5234,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotevents#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iotevents#UpdateAlarmModel": { "type": "operation", @@ -5138,6 +5338,9 @@ "smithy.api#documentation": "Contains the configuration information of alarm state changes.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotevents#UpdateAlarmModelResponse": { @@ -5173,6 +5376,9 @@ "smithy.api#documentation": "The status of the alarm model. The status can be one of the following values:
\n\n ACTIVE
- The alarm model is active and it's ready to evaluate data.
\n ACTIVATING
- AWS IoT Events is activating your alarm model. \n Activating an alarm model can take up to a few minutes.
\n INACTIVE
- The alarm model is inactive, so it isn't ready to evaluate data. \n\t Check your alarm model information and update the alarm model.
\n FAILED
- You couldn't create or update the alarm model. Check your alarm model information \n and try again.
Information about the order in which events are evaluated and how actions are executed.\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotevents#UpdateDetectorModelResponse": { @@ -5260,6 +5469,9 @@ "smithy.api#documentation": "Information about how the detector model is configured.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotevents#UpdateInput": { @@ -5323,6 +5535,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotevents#UpdateInputResponse": { @@ -5334,6 +5549,9 @@ "smithy.api#documentation": "Information about the configuration of the input.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotevents#UseBase64": { diff --git a/codegen/sdk-codegen/aws-models/iot-jobs-data-plane.json b/codegen/sdk-codegen/aws-models/iot-jobs-data-plane.json index 138351c6b79..497a337f008 100644 --- a/codegen/sdk-codegen/aws-models/iot-jobs-data-plane.json +++ b/codegen/sdk-codegen/aws-models/iot-jobs-data-plane.json @@ -91,7 +91,7 @@ "com.amazonaws.iotjobsdataplane#DescribeJobExecutionJobId": { "type": "string", "traits": { - "smithy.api#pattern": "[a-zA-Z0-9_-]+|^\\$next" + "smithy.api#pattern": "^[a-zA-Z0-9_-]+|^\\$next$" } }, "com.amazonaws.iotjobsdataplane#DescribeJobExecutionRequest": { @@ -127,6 +127,9 @@ "smithy.api#httpQuery": "executionNumber" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotjobsdataplane#DescribeJobExecutionResponse": { @@ -138,6 +141,9 @@ "smithy.api#documentation": "Contains data about a job execution.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotjobsdataplane#DetailsKey": { @@ -147,7 +153,7 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": "[a-zA-Z0-9:_-]+" + "smithy.api#pattern": "^[a-zA-Z0-9:_-]+$" } }, "com.amazonaws.iotjobsdataplane#DetailsMap": { @@ -166,7 +172,7 @@ "min": 1, "max": 1024 }, - "smithy.api#pattern": "[^\\p{C}]*+" + "smithy.api#pattern": "^[^\\p{C}]*+$" } }, "com.amazonaws.iotjobsdataplane#ExecutionNumber": { @@ -220,6 +226,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotjobsdataplane#GetPendingJobExecutionsResponse": { @@ -237,6 +246,9 @@ "smithy.api#documentation": "A list of JobExecutionSummary objects with status QUEUED.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotjobsdataplane#IncludeExecutionState": { @@ -297,6 +309,7 @@ "arnNamespace": "iot-jobs-data", "cloudFormationName": "IoTJobsDataPlane", "cloudTrailEventSource": "iotjobsdataplane.amazonaws.com", + "docId": "iot-jobs-data-2017-09-29", "endpointPrefix": "data.jobs.iot" }, "aws.auth#sigv4": { @@ -365,52 +378,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", @@ -418,13 +435,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -434,224 +460,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://data.jobs.iot-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://data.jobs.iot-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": [ { "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": [], - "endpoint": { - "url": "https://data.jobs.iot-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://data.jobs.iot-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://data.jobs.iot.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://data.jobs.iot.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://data.jobs.iot.{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://data.jobs.iot.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -666,8 +643,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -679,8 +656,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -692,8 +669,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -705,8 +682,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -718,8 +695,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -731,8 +708,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -744,8 +721,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -757,8 +734,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -770,8 +747,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -783,8 +760,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -796,8 +773,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -809,8 +786,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -822,8 +799,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -835,8 +812,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -848,8 +825,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -861,8 +838,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -874,8 +851,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -887,8 +864,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -900,8 +877,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -913,8 +890,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -926,8 +903,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -939,8 +916,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -952,8 +929,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -965,8 +942,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -978,8 +955,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -991,8 +968,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1004,8 +981,8 @@ }, "params": { "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1017,8 +994,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1030,8 +1007,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1043,8 +1020,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1056,8 +1033,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1069,8 +1046,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1082,8 +1059,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1095,8 +1072,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1108,8 +1085,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1121,8 +1098,19 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "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 } }, { @@ -1134,8 +1122,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 } }, { @@ -1147,8 +1146,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -1160,8 +1170,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 } }, { @@ -1173,8 +1194,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1186,8 +1207,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1199,8 +1220,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1211,8 +1232,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1223,10 +1244,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" @@ -1347,42 +1374,56 @@ } }, "com.amazonaws.iotjobsdataplane#JobExecutionStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "QUEUED", - "name": "QUEUED" - }, - { - "value": "IN_PROGRESS", - "name": "IN_PROGRESS" - }, - { - "value": "SUCCEEDED", - "name": "SUCCEEDED" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "TIMED_OUT", - "name": "TIMED_OUT" - }, - { - "value": "REJECTED", - "name": "REJECTED" - }, - { - "value": "REMOVED", - "name": "REMOVED" - }, - { - "value": "CANCELED", - "name": "CANCELED" + "type": "enum", + "members": { + "QUEUED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUEUED" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" + } + }, + "SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCEEDED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "TIMED_OUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIMED_OUT" + } + }, + "REJECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REJECTED" + } + }, + "REMOVED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REMOVED" + } + }, + "CANCELED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANCELED" } - ] + } } }, "com.amazonaws.iotjobsdataplane#JobExecutionSummary": { @@ -1445,7 +1486,7 @@ "min": 1, "max": 64 }, - "smithy.api#pattern": "[a-zA-Z0-9_-]+" + "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" } }, "com.amazonaws.iotjobsdataplane#LastUpdatedAt": { @@ -1549,6 +1590,9 @@ "smithy.api#documentation": "Specifies the amount of time this device has to finish execution of this job. If the job \n execution status is not set to a terminal state before this timer expires, or before the \n timer is reset (by calling UpdateJobExecution
, setting the status to\n IN_PROGRESS
and specifying a new timeout value in field stepTimeoutInMinutes
) \n the job execution status will be automatically set to TIMED_OUT
. Note that setting \n this timeout has no effect on that job execution timeout which may have been specified when \n the job was created (CreateJob
using field timeoutConfig
).
A JobExecution object.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotjobsdataplane#StartedAt": { @@ -1588,7 +1635,7 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": "[a-zA-Z0-9:_-]+" + "smithy.api#pattern": "^[a-zA-Z0-9:_-]+$" } }, "com.amazonaws.iotjobsdataplane#ThrottlingException": { @@ -1712,6 +1759,9 @@ "smithy.api#documentation": "Optional. A number that identifies a particular job execution on a particular device.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotjobsdataplane#UpdateJobExecutionResponse": { @@ -1729,6 +1779,9 @@ "smithy.api#documentation": "The contents of the Job Documents.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotjobsdataplane#VersionNumber": { diff --git a/codegen/sdk-codegen/aws-models/iot-roborunner.json b/codegen/sdk-codegen/aws-models/iot-roborunner.json index 5c185ec3ff5..b6dee2cc9a5 100644 --- a/codegen/sdk-codegen/aws-models/iot-roborunner.json +++ b/codegen/sdk-codegen/aws-models/iot-roborunner.json @@ -1687,55 +1687,55 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://iotroborunner-fips.us-gov-east-1.api.aws" + "url": "https://iotroborunner-fips.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://iotroborunner-fips.us-gov-east-1.amazonaws.com" + "url": "https://iotroborunner-fips.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://iotroborunner.us-gov-east-1.api.aws" + "url": "https://iotroborunner.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://iotroborunner.us-gov-east-1.amazonaws.com" + "url": "https://iotroborunner.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -1746,9 +1746,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -1759,9 +1759,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -1772,9 +1772,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -1785,109 +1785,109 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://iotroborunner-fips.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://iotroborunner-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://iotroborunner-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://iotroborunner.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://iotroborunner.us-iso-east-1.c2s.ic.gov" + "url": "https://iotroborunner.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://iotroborunner-fips.us-east-1.api.aws" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://iotroborunner-fips.us-east-1.amazonaws.com" + "url": "https://iotroborunner-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://iotroborunner.us-east-1.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://iotroborunner.us-east-1.amazonaws.com" + "url": "https://iotroborunner.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -1896,9 +1896,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -1909,9 +1909,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -1920,9 +1920,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -1933,22 +1933,35 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { + "Region": "us-east-1", + "UseFIPS": false, "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { "UseFIPS": false, - "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1958,9 +1971,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1970,11 +1983,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" @@ -3304,4 +3323,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/iot-wireless.json b/codegen/sdk-codegen/aws-models/iot-wireless.json index 8e1f4f13ef6..26831b943ae 100644 --- a/codegen/sdk-codegen/aws-models/iot-wireless.json +++ b/codegen/sdk-codegen/aws-models/iot-wireless.json @@ -15408,6 +15408,7 @@ "arnNamespace": "iotwireless", "cloudFormationName": "IoTWireless", "cloudTrailEventSource": "iotwireless.amazonaws.com", + "docId": "iotwireless-2020-11-22", "endpointPrefix": "api.iotwireless" }, "aws.auth#sigv4": { @@ -15476,52 +15477,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", @@ -15529,13 +15534,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -15545,224 +15559,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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.iotwireless-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://api.iotwireless-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": [ { "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": [], - "endpoint": { - "url": "https://api.iotwireless-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://api.iotwireless-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://api.iotwireless.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://api.iotwireless.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://api.iotwireless.{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.iotwireless.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/iot.json b/codegen/sdk-codegen/aws-models/iot.json index 23016447971..68544049c90 100644 --- a/codegen/sdk-codegen/aws-models/iot.json +++ b/codegen/sdk-codegen/aws-models/iot.json @@ -858,52 +858,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", @@ -911,13 +915,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -927,299 +940,250 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://iot-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://iot-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": [ { "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": [], - "endpoint": { - "url": "https://iot-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://iot-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://iot.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], + "conditions": [], "endpoint": { - "url": "https://iot.{Region}.amazonaws.com", + "url": "https://iot.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" - }, + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws", { - "conditions": [ + "fn": "getAttr", + "argv": [ { - "fn": "stringEquals", - "argv": [ - "aws-cn", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://iot.{Region}.amazonaws.com.cn", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://iot.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws-cn", { - "conditions": [ + "fn": "getAttr", + "argv": [ { - "fn": "stringEquals", - "argv": [ - "aws-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://iot.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://iot.{Region}.amazonaws.com.cn", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws-us-gov", { - "conditions": [], - "endpoint": { - "url": "https://iot.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] } ] } - ] + ], + "endpoint": { + "url": "https://iot.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://iot.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/iotanalytics.json b/codegen/sdk-codegen/aws-models/iotanalytics.json index 7f49a6716e9..20a762f4f33 100644 --- a/codegen/sdk-codegen/aws-models/iotanalytics.json +++ b/codegen/sdk-codegen/aws-models/iotanalytics.json @@ -148,7 +148,7 @@ "name": "iotanalytics" }, "aws.protocols#restJson1": {}, - "smithy.api#documentation": "IoT Analytics allows you to collect large amounts of device data, process messages, and store them. \n You can then query the data and run sophisticated analytics on it. IoT Analytics enables advanced \n data exploration through integration with Jupyter Notebooks and data visualization through integration \n with Amazon QuickSight.
\n\nTraditional analytics and business intelligence tools are designed to process structured data. IoT data \n often comes from devices that record noisy processes (such as temperature, motion, or sound). As a result \n the data from these devices can have significant gaps, corrupted messages, and false readings that must be \n cleaned up before analysis can occur. Also, IoT data is often only meaningful in the context of other data \n from external sources.
\n\nIoT Analytics automates the steps required to analyze data from IoT devices. IoT Analytics \n filters, transforms, and enriches IoT data before storing it in a time-series data store for analysis. You \n can set up the service to collect only the data you need from your devices, apply mathematical transforms \n to process the data, and enrich the data with device-specific metadata such as device type and location \n before storing it. Then, you can analyze your data by running queries using the built-in SQL query engine, \n or perform more complex analytics and machine learning inference. IoT Analytics includes pre-built models \n for common IoT use cases so you can answer questions like which devices are about to fail or which customers \n are at risk of abandoning their wearable devices.
", + "smithy.api#documentation": "IoT Analytics allows you to collect large amounts of device data, process messages, and store them. \n You can then query the data and run sophisticated analytics on it. IoT Analytics enables advanced \n data exploration through integration with Jupyter Notebooks and data visualization through integration \n with Amazon QuickSight.
\nTraditional analytics and business intelligence tools are designed to process structured data. IoT data \n often comes from devices that record noisy processes (such as temperature, motion, or sound). As a result \n the data from these devices can have significant gaps, corrupted messages, and false readings that must be \n cleaned up before analysis can occur. Also, IoT data is often only meaningful in the context of other data \n from external sources.
\nIoT Analytics automates the steps required to analyze data from IoT devices. IoT Analytics \n filters, transforms, and enriches IoT data before storing it in a time-series data store for analysis. You \n can set up the service to collect only the data you need from your devices, apply mathematical transforms \n to process the data, and enrich the data with device-specific metadata such as device type and location \n before storing it. Then, you can analyze your data by running queries using the built-in SQL query engine, \n or perform more complex analytics and machine learning inference. IoT Analytics includes pre-built models \n for common IoT use cases so you can answer questions like which devices are about to fail or which customers \n are at risk of abandoning their wearable devices.
", "smithy.api#title": "AWS IoT Analytics", "smithy.rules#endpointRuleSet": { "version": "1.0", @@ -210,52 +210,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", @@ -263,13 +267,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -279,224 +292,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://iotanalytics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://iotanalytics-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": [ { "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": [], - "endpoint": { - "url": "https://iotanalytics-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://iotanalytics-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://iotanalytics.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://iotanalytics.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://iotanalytics.{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://iotanalytics.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -511,8 +475,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -524,8 +488,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -537,8 +501,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -550,8 +514,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -563,8 +527,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -576,8 +540,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -589,8 +553,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -602,8 +566,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -615,8 +579,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -628,8 +592,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -641,8 +605,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -654,8 +618,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -667,8 +631,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -680,8 +644,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -693,8 +657,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -706,8 +670,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -719,8 +683,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -732,8 +696,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -745,8 +709,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -758,8 +733,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 } }, { @@ -771,8 +757,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -784,8 +781,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 } }, { @@ -797,8 +805,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -810,8 +818,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -823,8 +831,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -835,8 +843,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -847,10 +855,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" @@ -1018,10 +1032,13 @@ "messages": { "target": "com.amazonaws.iotanalytics#Messages", "traits": { - "smithy.api#documentation": "The list of messages to be sent. Each message has the format: { \"messageId\": \"string\",\n \"payload\": \"string\"}.
\nThe field names of message payloads (data) that you send to IoT Analytics:
\nMust contain only alphanumeric characters and undescores (_). No other special characters are\n allowed.
\nMust begin with an alphabetic character or single underscore (_).
\nCannot contain hyphens (-).
\nIn regular expression terms: \"^[A-Za-z_]([A-Za-z0-9]*|[A-Za-z0-9][A-Za-z0-9_]*)$\".\n
\nCannot be more than 255 characters.
\nAre case insensitive. (Fields named foo and FOO in the same payload are considered\n duplicates.)
\nFor example, {\"temp_01\": 29} or {\"_temp_01\": 29} are valid, but {\"temp-01\": 29},\n {\"01_temp\": 29} or {\"__temp_01\": 29} are invalid in message payloads.
", + "smithy.api#documentation": "The list of messages to be sent. Each message has the format: { \"messageId\": \"string\",\n \"payload\": \"string\"}.
\nThe field names of message payloads (data) that you send to IoT Analytics:
\nMust contain only alphanumeric characters and undescores (_). No other special characters are\n allowed.
\nMust begin with an alphabetic character or single underscore (_).
\nCannot contain hyphens (-).
\nIn regular expression terms: \"^[A-Za-z_]([A-Za-z0-9]*|[A-Za-z0-9][A-Za-z0-9_]*)$\".\n
\nCannot be more than 255 characters.
\nAre case insensitive. (Fields named foo and FOO in the same payload are considered\n duplicates.)
\nFor example, {\"temp_01\": 29} or {\"_temp_01\": 29} are valid, but {\"temp-01\": 29},\n {\"01_temp\": 29} or {\"__temp_01\": 29} are invalid in message payloads.
", "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotanalytics#BatchPutMessageResponse": { @@ -1033,6 +1050,9 @@ "smithy.api#documentation": "A list of any errors encountered when sending the messages to the channel.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotanalytics#BucketKeyExpression": { @@ -1108,11 +1128,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotanalytics#CancelPipelineReprocessingResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iotanalytics#Channel": { "type": "structure", @@ -1162,7 +1188,7 @@ "lastMessageArrivalTime": { "target": "com.amazonaws.iotanalytics#Timestamp", "traits": { - "smithy.api#documentation": "The last time when a new message arrived in the channel.
\nIoT Analytics updates this value at most once per minute for one channel. Hence, the lastMessageArrivalTime
value is an approximation.
This feature only applies to messages that arrived in the data store after October 23, 2020.
" + "smithy.api#documentation": "The last time when a new message arrived in the channel.
\nIoT Analytics updates this value at most once per minute for one channel. Hence, the lastMessageArrivalTime
value is an approximation.
This feature only applies to messages that arrived in the data store after October 23, 2020.
" } } }, @@ -1240,22 +1266,26 @@ } }, "com.amazonaws.iotanalytics#ChannelStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "DELETING", - "name": "DELETING" + "type": "enum", + "members": { + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" } - ] + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + } } }, "com.amazonaws.iotanalytics#ChannelStorage": { @@ -1340,7 +1370,7 @@ "lastMessageArrivalTime": { "target": "com.amazonaws.iotanalytics#Timestamp", "traits": { - "smithy.api#documentation": "The last time when a new message arrived in the channel.
\nIoT Analytics updates this value at most once per minute for one channel. Hence, the lastMessageArrivalTime
value is an approximation.
This feature only applies to messages that arrived in the data store after October 23, 2020.
" + "smithy.api#documentation": "The last time when a new message arrived in the channel.
\nIoT Analytics updates this value at most once per minute for one channel. Hence, the lastMessageArrivalTime
value is an approximation.
This feature only applies to messages that arrived in the data store after October 23, 2020.
" } } }, @@ -1397,18 +1427,20 @@ } }, "com.amazonaws.iotanalytics#ComputeType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACU_1", - "name": "ACU_1" - }, - { - "value": "ACU_2", - "name": "ACU_2" + "type": "enum", + "members": { + "ACU_1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACU_1" } - ] + }, + "ACU_2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACU_2" + } + } } }, "com.amazonaws.iotanalytics#ContainerDatasetAction": { @@ -1511,6 +1543,9 @@ "smithy.api#documentation": "Metadata which can be used to manage the channel.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotanalytics#CreateChannelResponse": { @@ -1534,6 +1569,9 @@ "smithy.api#documentation": "How long, in days, message data is kept for the channel.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotanalytics#CreateDataset": { @@ -1624,6 +1662,9 @@ "smithy.api#documentation": "The version ID of the dataset content. To specify versionId
for a dataset\n content, the dataset must use a DeltaTimer filter.
The version ID of the dataset contents that are being created.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotanalytics#CreateDatasetRequest": { @@ -1690,6 +1734,9 @@ "smithy.api#documentation": "A list of data rules that send notifications to CloudWatch, when data arrives late. To specify lateDataRules
, the dataset must use a DeltaTimer filter.
How long, in days, dataset contents are kept for the dataset.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotanalytics#CreateDatastore": { @@ -1783,7 +1833,7 @@ "fileFormatConfiguration": { "target": "com.amazonaws.iotanalytics#FileFormatConfiguration", "traits": { - "smithy.api#documentation": "Contains the configuration information of file formats. IoT Analytics data stores support JSON and Parquet.
\nThe default file format is JSON. You can specify only one format.
\nYou can't change the file format after you create the data store.
" + "smithy.api#documentation": "Contains the configuration information of file formats. IoT Analytics data stores support JSON and Parquet.
\nThe default file format is JSON. You can specify only one format.
\nYou can't change the file format after you create the data store.
" } }, "datastorePartitions": { @@ -1792,6 +1842,9 @@ "smithy.api#documentation": "Contains information about the partition dimensions in a data store.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotanalytics#CreateDatastoreResponse": { @@ -1815,6 +1868,9 @@ "smithy.api#documentation": "How long, in days, message data is kept for the data store.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotanalytics#CreatePipeline": { @@ -1877,6 +1933,9 @@ "smithy.api#documentation": "Metadata which can be used to manage the pipeline.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotanalytics#CreatePipelineResponse": { @@ -1894,6 +1953,9 @@ "smithy.api#documentation": "The ARN of the pipeline.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotanalytics#CustomerManagedChannelS3Storage": { @@ -2147,18 +2209,20 @@ } }, "com.amazonaws.iotanalytics#DatasetActionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "QUERY", - "name": "QUERY" - }, - { - "value": "CONTAINER", - "name": "CONTAINER" + "type": "enum", + "members": { + "QUERY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUERY" + } + }, + "CONTAINER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTAINER" } - ] + } } }, "com.amazonaws.iotanalytics#DatasetActions": { @@ -2230,22 +2294,26 @@ } }, "com.amazonaws.iotanalytics#DatasetContentState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "SUCCEEDED", - "name": "SUCCEEDED" - }, - { - "value": "FAILED", - "name": "FAILED" + "type": "enum", + "members": { + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" } - ] + }, + "SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCEEDED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + } } }, "com.amazonaws.iotanalytics#DatasetContentStatus": { @@ -2373,22 +2441,26 @@ } }, "com.amazonaws.iotanalytics#DatasetStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "DELETING", - "name": "DELETING" + "type": "enum", + "members": { + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" } - ] + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + } } }, "com.amazonaws.iotanalytics#DatasetSummaries": { @@ -2521,13 +2593,13 @@ "lastMessageArrivalTime": { "target": "com.amazonaws.iotanalytics#Timestamp", "traits": { - "smithy.api#documentation": "The last time when a new message arrived in the data store.
\nIoT Analytics updates this value at most once per minute for Amazon Simple Storage Service one data store. Hence, the lastMessageArrivalTime
value is an approximation.
This feature only applies to messages that arrived in the data store after October 23, 2020.
" + "smithy.api#documentation": "The last time when a new message arrived in the data store.
\nIoT Analytics updates this value at most once per minute for Amazon Simple Storage Service one data store. Hence, the lastMessageArrivalTime
value is an approximation.
This feature only applies to messages that arrived in the data store after October 23, 2020.
" } }, "fileFormatConfiguration": { "target": "com.amazonaws.iotanalytics#FileFormatConfiguration", "traits": { - "smithy.api#documentation": "Contains the configuration information of file formats. IoT Analytics data stores support JSON and Parquet.
\nThe default file format is JSON. You can specify only one format.
\nYou can't change the file format after you create the data store.
" + "smithy.api#documentation": "Contains the configuration information of file formats. IoT Analytics data stores support JSON and Parquet.
\nThe default file format is JSON. You can specify only one format.
\nYou can't change the file format after you create the data store.
" } }, "datastorePartitions": { @@ -2654,22 +2726,26 @@ } }, "com.amazonaws.iotanalytics#DatastoreStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "DELETING", - "name": "DELETING" + "type": "enum", + "members": { + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" } - ] + } } }, "com.amazonaws.iotanalytics#DatastoreStorage": { @@ -2766,7 +2842,7 @@ "lastMessageArrivalTime": { "target": "com.amazonaws.iotanalytics#Timestamp", "traits": { - "smithy.api#documentation": "The last time when a new message arrived in the data store.
\nIoT Analytics updates this value at most once per minute for Amazon Simple Storage Service one data store. Hence, the lastMessageArrivalTime
value is an approximation.
This feature only applies to messages that arrived in the data store after October 23, 2020.
" + "smithy.api#documentation": "The last time when a new message arrived in the data store.
\nIoT Analytics updates this value at most once per minute for Amazon Simple Storage Service one data store. Hence, the lastMessageArrivalTime
value is an approximation.
This feature only applies to messages that arrived in the data store after October 23, 2020.
" } }, "fileFormatType": { @@ -2831,6 +2907,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotanalytics#DeleteDataset": { @@ -2919,6 +2998,9 @@ "smithy.api#httpQuery": "versionId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotanalytics#DeleteDatasetRequest": { @@ -2932,6 +3014,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotanalytics#DeleteDatastore": { @@ -2979,6 +3064,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotanalytics#DeletePipeline": { @@ -3026,6 +3114,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotanalytics#DeltaTime": { @@ -3118,6 +3209,9 @@ "smithy.api#httpQuery": "includeStatistics" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotanalytics#DescribeChannelResponse": { @@ -3135,6 +3229,9 @@ "smithy.api#documentation": "Statistics about the channel. Included if the includeStatistics
parameter is\n set to true
in the request.
An object that contains information about the dataset.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotanalytics#DescribeDatastore": { @@ -3248,6 +3351,9 @@ "smithy.api#httpQuery": "includeStatistics" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotanalytics#DescribeDatastoreResponse": { @@ -3265,6 +3371,9 @@ "smithy.api#documentation": "Additional statistical information about the data store. Included if the\n includeStatistics
parameter is set to true
in the request.
The current settings of the IoT Analytics logging options.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotanalytics#DescribePipeline": { @@ -3361,6 +3476,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotanalytics#DescribePipelineResponse": { @@ -3372,6 +3490,9 @@ "smithy.api#documentation": "A Pipeline
object that contains information about the pipeline.
Contains the configuration information of file formats. IoT Analytics data stores support JSON and Parquet.
\nThe default file format is JSON. You can specify only one format.
\nYou can't change the file format after you create the data store.
" + "smithy.api#documentation": "Contains the configuration information of file formats. IoT Analytics data stores support JSON and Parquet.
\nThe default file format is JSON. You can specify only one format.
\nYou can't change the file format after you create the data store.
" } }, "com.amazonaws.iotanalytics#FileFormatType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "JSON", - "name": "JSON" - }, - { - "value": "PARQUET", - "name": "PARQUET" + "type": "enum", + "members": { + "JSON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JSON" + } + }, + "PARQUET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PARQUET" } - ] + } } }, "com.amazonaws.iotanalytics#FilterActivity": { @@ -3620,6 +3743,9 @@ "smithy.api#httpQuery": "versionId" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotanalytics#GetDatasetContentResponse": { @@ -3643,6 +3769,9 @@ "smithy.api#documentation": "The status of the dataset content.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotanalytics#GlueConfiguration": { @@ -3976,6 +4105,9 @@ "smithy.api#httpQuery": "maxResults" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotanalytics#ListChannelsResponse": { @@ -3993,6 +4125,9 @@ "smithy.api#documentation": "The token to retrieve the next set of results, or null
if there are no more\n results.
The token to retrieve the next set of results, or null
if there are no more\n results.
The token to retrieve the next set of results, or null
if there are no more\n results.
The token to retrieve the next set of results, or null
if there are no more\n results.
The token to retrieve the next set of results, or null
if there are no more\n results.
The tags (metadata) that you have assigned to the resource.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotanalytics#LogResult": { @@ -4379,14 +4544,14 @@ } }, "com.amazonaws.iotanalytics#LoggingLevel": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ERROR", - "name": "ERROR" + "type": "enum", + "members": { + "ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ERROR" } - ] + } } }, "com.amazonaws.iotanalytics#LoggingOptions": { @@ -4840,6 +5005,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotanalytics#QueryFilter": { @@ -4903,26 +5071,32 @@ "type": "string" }, "com.amazonaws.iotanalytics#ReprocessingStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "RUNNING", - "name": "RUNNING" - }, - { - "value": "SUCCEEDED", - "name": "SUCCEEDED" - }, - { - "value": "CANCELLED", - "name": "CANCELLED" - }, - { - "value": "FAILED", - "name": "FAILED" + "type": "enum", + "members": { + "RUNNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RUNNING" + } + }, + "SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCEEDED" + } + }, + "CANCELLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANCELLED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" } - ] + } } }, "com.amazonaws.iotanalytics#ReprocessingSummaries": { @@ -5116,6 +5290,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotanalytics#RunPipelineActivityResponse": { @@ -5133,6 +5310,9 @@ "smithy.api#documentation": "In case the pipeline activity fails, the log message that is generated.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotanalytics#S3DestinationConfiguration": { @@ -5268,6 +5448,9 @@ "smithy.api#httpQuery": "endTime" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotanalytics#SampleChannelDataResponse": { @@ -5279,6 +5462,9 @@ "smithy.api#documentation": "The list of message samples. Each sample message is returned as a base64-encoded\n string.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotanalytics#Schedule": { @@ -5483,6 +5669,9 @@ "smithy.api#documentation": "Specifies one or more sets of channel messages that you want to reprocess.
\nIf you use the channelMessages
object, you must not specify a value for\n startTime
and endTime
.
The ID of the pipeline reprocessing activity that was started.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotanalytics#StartTime": { @@ -5618,11 +5810,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotanalytics#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iotanalytics#TagValue": { "type": "string", @@ -5766,11 +5964,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotanalytics#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iotanalytics#UpdateChannel": { "type": "operation", @@ -5829,6 +6033,9 @@ "smithy.api#documentation": "How long, in days, message data is kept for the channel. The retention period can't be\n updated if the channel's Amazon S3 storage is customer-managed.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotanalytics#UpdateDataset": { @@ -5913,6 +6120,9 @@ "smithy.api#documentation": "A list of data rules that send notifications to CloudWatch, when data arrives late. To specify lateDataRules
, the dataset must use a DeltaTimer filter.
Contains the configuration information of file formats. IoT Analytics data stores support JSON and Parquet.
\nThe default file format is JSON. You can specify only one format.
\nYou can't change the file format after you create the data store.
" + "smithy.api#documentation": "Contains the configuration information of file formats. IoT Analytics data stores support JSON and Parquet.
\nThe default file format is JSON. You can specify only one format.
\nYou can't change the file format after you create the data store.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotanalytics#UpdatePipeline": { @@ -6035,6 +6248,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotanalytics#Variable": { diff --git a/codegen/sdk-codegen/aws-models/iotdeviceadvisor.json b/codegen/sdk-codegen/aws-models/iotdeviceadvisor.json index fdde42439a7..14af55eda5f 100644 --- a/codegen/sdk-codegen/aws-models/iotdeviceadvisor.json +++ b/codegen/sdk-codegen/aws-models/iotdeviceadvisor.json @@ -808,52 +808,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", @@ -861,13 +865,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -877,224 +890,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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.iotdeviceadvisor-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://api.iotdeviceadvisor-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": [ { "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": [], - "endpoint": { - "url": "https://api.iotdeviceadvisor-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://api.iotdeviceadvisor-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://api.iotdeviceadvisor.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://api.iotdeviceadvisor.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://api.iotdeviceadvisor.{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.iotdeviceadvisor.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/iotfleethub.json b/codegen/sdk-codegen/aws-models/iotfleethub.json index 568960b97ef..0fc1ba33e85 100644 --- a/codegen/sdk-codegen/aws-models/iotfleethub.json +++ b/codegen/sdk-codegen/aws-models/iotfleethub.json @@ -132,52 +132,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", @@ -185,13 +189,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -201,224 +214,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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.fleethub.iot-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://api.fleethub.iot-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": [ { "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": [], - "endpoint": { - "url": "https://api.fleethub.iot-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://api.fleethub.iot-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://api.fleethub.iot.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://api.fleethub.iot.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://api.fleethub.iot.{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.fleethub.iot.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -433,8 +397,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -446,8 +410,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -459,8 +423,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -472,8 +436,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -485,8 +449,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -498,8 +462,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -511,8 +475,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -524,8 +488,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -537,8 +501,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -550,8 +514,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -563,8 +527,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -576,8 +540,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -589,8 +553,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -602,8 +566,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -615,8 +579,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -628,8 +592,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -641,8 +605,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -654,8 +618,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -667,8 +631,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -680,8 +644,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -693,8 +657,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -706,8 +670,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -719,8 +683,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -732,8 +696,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -745,8 +709,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -758,8 +722,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -771,8 +735,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -784,8 +759,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 } }, { @@ -797,8 +783,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -810,8 +807,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 } }, { @@ -823,8 +831,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -836,8 +844,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -849,8 +857,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -861,8 +869,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -873,10 +881,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" @@ -884,30 +898,38 @@ } }, "com.amazonaws.iotfleethub#ApplicationState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "DELETING", - "name": "DELETING" - }, - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "CREATE_FAILED", - "name": "CREATE_FAILED" - }, - { - "value": "DELETE_FAILED", - "name": "DELETE_FAILED" + "type": "enum", + "members": { + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" } - ] + }, + "CREATE_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATE_FAILED" + } + }, + "DELETE_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETE_FAILED" + } + } } }, "com.amazonaws.iotfleethub#ApplicationSummaries": { @@ -1071,6 +1093,9 @@ "smithy.api#documentation": "A set of key/value pairs that you can use to manage the web application resource.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotfleethub#CreateApplicationResponse": { @@ -1090,6 +1115,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotfleethub#DeleteApplication": { @@ -1142,11 +1170,17 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotfleethub#DeleteApplicationResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iotfleethub#DescribeApplication": { "type": "operation", @@ -1190,6 +1224,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotfleethub#DescribeApplicationResponse": { @@ -1277,6 +1314,9 @@ "smithy.api#documentation": "A set of key/value pairs that you can use to manage the web application resource.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotfleethub#Description": { @@ -1369,7 +1409,8 @@ }, "smithy.api#paginated": { "inputToken": "nextToken", - "outputToken": "nextToken" + "outputToken": "nextToken", + "items": "applicationSummaries" } } }, @@ -1383,6 +1424,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotfleethub#ListApplicationsResponse": { @@ -1400,6 +1444,9 @@ "smithy.api#documentation": "A token used to get the next set of results.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotfleethub#ListTagsForResource": { @@ -1441,6 +1488,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotfleethub#ListTagsForResourceResponse": { @@ -1452,6 +1502,9 @@ "smithy.api#documentation": "The list of tags assigned to the resource.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotfleethub#Name": { @@ -1570,11 +1623,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotfleethub#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iotfleethub#TagValue": { "type": "string", @@ -1651,11 +1710,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotfleethub#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iotfleethub#UpdateApplication": { "type": "operation", @@ -1721,11 +1786,17 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotfleethub#UpdateApplicationResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iotfleethub#Url": { "type": "string", diff --git a/codegen/sdk-codegen/aws-models/iotfleetwise.json b/codegen/sdk-codegen/aws-models/iotfleetwise.json index a5220247b79..5690793377c 100644 --- a/codegen/sdk-codegen/aws-models/iotfleetwise.json +++ b/codegen/sdk-codegen/aws-models/iotfleetwise.json @@ -3668,52 +3668,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", @@ -3721,13 +3725,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -3737,224 +3750,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://iotfleetwise-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://iotfleetwise-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": [ { "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": [], - "endpoint": { - "url": "https://iotfleetwise-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://iotfleetwise-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://iotfleetwise.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://iotfleetwise.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://iotfleetwise.{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://iotfleetwise.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/iotsecuretunneling.json b/codegen/sdk-codegen/aws-models/iotsecuretunneling.json index 0a8aef9d30d..a09d5e8ec65 100644 --- a/codegen/sdk-codegen/aws-models/iotsecuretunneling.json +++ b/codegen/sdk-codegen/aws-models/iotsecuretunneling.json @@ -45,22 +45,26 @@ } }, "com.amazonaws.iotsecuretunneling#ClientMode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SOURCE", - "name": "SOURCE" - }, - { - "value": "DESTINATION", - "name": "DESTINATION" - }, - { - "value": "ALL", - "name": "ALL" + "type": "enum", + "members": { + "SOURCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SOURCE" + } + }, + "DESTINATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DESTINATION" + } + }, + "ALL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALL" } - ] + } } }, "com.amazonaws.iotsecuretunneling#CloseTunnel": { @@ -77,7 +81,7 @@ } ], "traits": { - "smithy.api#documentation": "Closes a tunnel identified by the unique tunnel id. When a CloseTunnel
\n\t\t\trequest is received, we close the WebSocket connections between the client and proxy\n\t\t\tserver so no data can be transmitted.
Requires permission to access the CloseTunnel action.
", + "smithy.api#documentation": "Closes a tunnel identified by the unique tunnel id. When a CloseTunnel
\n\t\t\trequest is received, we close the WebSocket connections between the client and proxy\n\t\t\tserver so no data can be transmitted.
Requires permission to access the CloseTunnel action.
", "smithy.api#http": { "method": "DELETE", "uri": "/tunnels/{tunnelId}", @@ -104,11 +108,17 @@ "smithy.api#httpQuery": "delete" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotsecuretunneling#CloseTunnelResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iotsecuretunneling#ConnectionState": { "type": "structure", @@ -131,18 +141,20 @@ } }, "com.amazonaws.iotsecuretunneling#ConnectionStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CONNECTED", - "name": "CONNECTED" - }, - { - "value": "DISCONNECTED", - "name": "DISCONNECTED" + "type": "enum", + "members": { + "CONNECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONNECTED" } - ] + }, + "DISCONNECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISCONNECTED" + } + } } }, "com.amazonaws.iotsecuretunneling#DateType": { @@ -168,7 +180,7 @@ } ], "traits": { - "smithy.api#documentation": "Gets information about a tunnel identified by the unique tunnel id.
\n\t\tRequires permission to access the DescribeTunnel action.
", + "smithy.api#documentation": "Gets information about a tunnel identified by the unique tunnel id.
\nRequires permission to access the DescribeTunnel action.
", "smithy.api#http": { "method": "GET", "uri": "/tunnels/{tunnelId}", @@ -187,6 +199,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotsecuretunneling#DescribeTunnelResponse": { @@ -198,6 +213,9 @@ "smithy.api#documentation": "The tunnel being described.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotsecuretunneling#Description": { @@ -271,7 +289,7 @@ "name": "IoTSecuredTunneling" }, "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "IoT Secure Tunneling creates remote connections to devices deployed in the\n\t\t\tfield.
\n\t\tFor more information about how IoT Secure Tunneling works, see IoT\n\t\t\t\tSecure Tunneling.
", + "smithy.api#documentation": "IoT Secure Tunneling creates remote connections to devices deployed in the\n\t\t\tfield.
\nFor more information about how IoT Secure Tunneling works, see IoT\n\t\t\t\tSecure Tunneling.
", "smithy.api#title": "AWS IoT Secure Tunneling", "smithy.rules#endpointRuleSet": { "version": "1.0", @@ -333,52 +351,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", @@ -386,13 +408,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -402,224 +433,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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.tunneling.iot-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://api.tunneling.iot-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": [ { "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": [], - "endpoint": { - "url": "https://api.tunneling.iot-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://api.tunneling.iot-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://api.tunneling.iot.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://api.tunneling.iot.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://api.tunneling.iot.{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.tunneling.iot.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -634,8 +616,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -647,8 +629,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -660,8 +642,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -673,8 +655,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -686,8 +668,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -699,8 +681,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -712,8 +694,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -725,8 +707,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -738,8 +720,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -751,8 +733,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -764,8 +746,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -777,8 +759,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -790,8 +772,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -803,8 +785,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -816,8 +798,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -829,8 +811,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -842,8 +824,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -855,8 +837,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -868,8 +850,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -881,8 +863,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -894,8 +876,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -907,8 +889,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -920,8 +902,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -933,8 +915,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -946,8 +928,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -959,8 +941,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -972,8 +954,8 @@ }, "params": { "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -985,8 +967,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -998,8 +980,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1011,8 +993,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1024,8 +1006,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1037,8 +1019,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1050,8 +1032,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1063,8 +1045,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1076,8 +1058,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1089,8 +1071,19 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "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 } }, { @@ -1102,8 +1095,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 } }, { @@ -1115,8 +1119,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -1128,8 +1143,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 } }, { @@ -1141,8 +1167,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1154,8 +1180,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1167,8 +1193,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1179,8 +1205,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1191,10 +1217,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" @@ -1251,6 +1283,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotsecuretunneling#ListTagsForResourceResponse": { @@ -1262,6 +1297,9 @@ "smithy.api#documentation": "The tags for the specified resource.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotsecuretunneling#ListTunnels": { @@ -1273,7 +1311,7 @@ "target": "com.amazonaws.iotsecuretunneling#ListTunnelsResponse" }, "traits": { - "smithy.api#documentation": "List all tunnels for an Amazon Web Services account. Tunnels are listed by creation time in\n\t\t\tdescending order, newer tunnels will be listed before older tunnels.
\n\t\tRequires permission to access the ListTunnels action.
", + "smithy.api#documentation": "List all tunnels for an Amazon Web Services account. Tunnels are listed by creation time in\n\t\t\tdescending order, newer tunnels will be listed before older tunnels.
\nRequires permission to access the ListTunnels action.
", "smithy.api#http": { "method": "GET", "uri": "/tunnels", @@ -1311,6 +1349,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotsecuretunneling#ListTunnelsResponse": { @@ -1328,6 +1369,9 @@ "smithy.api#documentation": "The token to use to get the next set of results, or null if there are no additional\n\t\t\tresults.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotsecuretunneling#MaxResults": { @@ -1360,7 +1404,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates a new tunnel, and returns two client access tokens for clients to use to\n\t\t\tconnect to the IoT Secure Tunneling proxy server.
\n\t\tRequires permission to access the OpenTunnel action.
", + "smithy.api#documentation": "Creates a new tunnel, and returns two client access tokens for clients to use to\n\t\t\tconnect to the IoT Secure Tunneling proxy server.
\nRequires permission to access the OpenTunnel action.
", "smithy.api#http": { "method": "POST", "uri": "/tunnels", @@ -1395,6 +1439,9 @@ "smithy.api#documentation": "Timeout configuration for a tunnel.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotsecuretunneling#OpenTunnelResponse": { @@ -1424,6 +1471,9 @@ "smithy.api#documentation": "The access token the destination local proxy uses to connect to IoT Secure\n\t\t\tTunneling.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotsecuretunneling#ResourceNotFoundException": { @@ -1457,7 +1507,7 @@ } ], "traits": { - "smithy.api#documentation": "Revokes the current client access token (CAT) and returns new CAT for clients to\n\t\t\tuse when reconnecting to secure tunneling to access the same tunnel.
\n\t\tRequires permission to access the RotateTunnelAccessToken action.
\n\t\tRotating the CAT doesn't extend the tunnel duration. For example, say the tunnel\n\t\t\t\tduration is 12 hours and the tunnel has already been open for 4 hours. When you\n\t\t\t\trotate the access tokens, the new tokens that are generated can only be used for the\n\t\t\t\tremaining 8 hours.
\n\t\tRevokes the current client access token (CAT) and returns new CAT for clients to\n\t\t\tuse when reconnecting to secure tunneling to access the same tunnel.
\nRequires permission to access the RotateTunnelAccessToken action.
\nRotating the CAT doesn't extend the tunnel duration. For example, say the tunnel\n\t\t\t\tduration is 12 hours and the tunnel has already been open for 4 hours. When you\n\t\t\t\trotate the access tokens, the new tokens that are generated can only be used for the\n\t\t\t\tremaining 8 hours.
\nThe client access token that the destination local proxy uses to connect to IoT\n\t\t\tSecure Tunneling.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotsecuretunneling#Service": { @@ -1627,11 +1683,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotsecuretunneling#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iotsecuretunneling#TagValue": { "type": "string", @@ -1768,18 +1830,20 @@ } }, "com.amazonaws.iotsecuretunneling#TunnelStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "OPEN", - "name": "OPEN" - }, - { - "value": "CLOSED", - "name": "CLOSED" + "type": "enum", + "members": { + "OPEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPEN" + } + }, + "CLOSED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLOSED" } - ] + } } }, "com.amazonaws.iotsecuretunneling#TunnelSummary": { @@ -1871,11 +1935,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotsecuretunneling#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } } } } diff --git a/codegen/sdk-codegen/aws-models/iotsitewise.json b/codegen/sdk-codegen/aws-models/iotsitewise.json index 9e37e637385..d428e143870 100644 --- a/codegen/sdk-codegen/aws-models/iotsitewise.json +++ b/codegen/sdk-codegen/aws-models/iotsitewise.json @@ -337,52 +337,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", @@ -390,13 +394,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -406,224 +419,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://iotsitewise-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://iotsitewise-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": [ { "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": [], - "endpoint": { - "url": "https://iotsitewise-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://iotsitewise-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://iotsitewise.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://iotsitewise.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://iotsitewise.{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://iotsitewise.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/iotthingsgraph.json b/codegen/sdk-codegen/aws-models/iotthingsgraph.json index 8b6ef748fca..be81f856d75 100644 --- a/codegen/sdk-codegen/aws-models/iotthingsgraph.json +++ b/codegen/sdk-codegen/aws-models/iotthingsgraph.json @@ -84,11 +84,17 @@ "smithy.api#documentation": "The version of the user's namespace. Defaults to the latest version of the user's namespace.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotthingsgraph#AssociateEntityToThingResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iotthingsgraph#CreateFlowTemplate": { "type": "operation", @@ -138,6 +144,9 @@ "smithy.api#documentation": "The namespace version in which the workflow is to be created.
\nIf no value is specified, the latest version is used by default.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotthingsgraph#CreateFlowTemplateResponse": { @@ -149,6 +158,9 @@ "smithy.api#documentation": "The summary object that describes the created workflow.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotthingsgraph#CreateSystemInstance": { @@ -226,6 +238,9 @@ "smithy.api#documentation": "The ARN of the IAM role that AWS IoT Things Graph will assume when it executes the flow. This role must have \n read and write access to AWS Lambda and AWS IoT and any other AWS services that the flow uses when it executes. This \n value is required if the value of the target
parameter is CLOUD
.
The summary object that describes the new system instance.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotthingsgraph#CreateSystemTemplate": { @@ -284,6 +302,9 @@ "smithy.api#documentation": "The namespace version in which the system is to be created.
\nIf no value is specified, the latest version is used by default.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotthingsgraph#CreateSystemTemplateResponse": { @@ -295,6 +316,9 @@ "smithy.api#documentation": "The summary object that describes the created system.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotthingsgraph#DefinitionDocument": { @@ -320,14 +344,14 @@ } }, "com.amazonaws.iotthingsgraph#DefinitionLanguage": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "GRAPHQL", - "name": "GRAPHQL" + "type": "enum", + "members": { + "GRAPHQL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GRAPHQL" } - ] + } } }, "com.amazonaws.iotthingsgraph#DefinitionText": { @@ -378,11 +402,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotthingsgraph#DeleteFlowTemplateResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iotthingsgraph#DeleteNamespace": { "type": "operation", @@ -409,7 +439,10 @@ }, "com.amazonaws.iotthingsgraph#DeleteNamespaceRequest": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.iotthingsgraph#DeleteNamespaceResponse": { "type": "structure", @@ -426,6 +459,9 @@ "smithy.api#documentation": "The name of the namespace to be deleted.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotthingsgraph#DeleteSystemInstance": { @@ -466,11 +502,17 @@ "smithy.api#documentation": "The ID of the system instance to be deleted.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotthingsgraph#DeleteSystemInstanceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iotthingsgraph#DeleteSystemTemplate": { "type": "operation", @@ -511,11 +553,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotthingsgraph#DeleteSystemTemplateResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iotthingsgraph#DependencyRevision": { "type": "structure", @@ -584,6 +632,9 @@ "smithy.api#documentation": "The ID of the system instance. This value is returned by the CreateSystemInstance
action.
The ID should be in the following format.
\n\n urn:tdm:REGION/ACCOUNT ID/default:deployment:DEPLOYMENTNAME
\n
The ID of the Greengrass deployment used to deploy the system instance.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotthingsgraph#DeploymentTarget": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "GREENGRASS", - "name": "GREENGRASS" - }, - { - "value": "CLOUD", - "name": "CLOUD" + "type": "enum", + "members": { + "GREENGRASS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GREENGRASS" + } + }, + "CLOUD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLOUD" } - ] + } } }, "com.amazonaws.iotthingsgraph#DeprecateExistingEntities": { @@ -664,11 +720,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotthingsgraph#DeprecateFlowTemplateResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iotthingsgraph#DeprecateSystemTemplate": { "type": "operation", @@ -709,11 +771,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotthingsgraph#DeprecateSystemTemplateResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iotthingsgraph#DescribeNamespace": { "type": "operation", @@ -753,6 +821,9 @@ "smithy.api#documentation": "The name of the user's namespace. Set this to aws
to get the public namespace.
The version of the user's namespace to describe.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotthingsgraph#DissociateEntityFromThing": { @@ -836,11 +910,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotthingsgraph#DissociateEntityFromThingResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iotthingsgraph#Enabled": { "type": "boolean", @@ -913,26 +993,32 @@ } }, "com.amazonaws.iotthingsgraph#EntityFilterName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NAME", - "name": "NAME" - }, - { - "value": "NAMESPACE", - "name": "NAMESPACE" - }, - { - "value": "SEMANTIC_TYPE_PATH", - "name": "SEMANTIC_TYPE_PATH" - }, - { - "value": "REFERENCED_ENTITY_ID", - "name": "REFERENCED_ENTITY_ID" + "type": "enum", + "members": { + "NAME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NAME" + } + }, + "NAMESPACE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NAMESPACE" + } + }, + "SEMANTIC_TYPE_PATH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SEMANTIC_TYPE_PATH" + } + }, + "REFERENCED_ENTITY_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REFERENCED_ENTITY_ID" } - ] + } } }, "com.amazonaws.iotthingsgraph#EntityFilterValue": { @@ -951,50 +1037,68 @@ } }, "com.amazonaws.iotthingsgraph#EntityType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DEVICE", - "name": "DEVICE" - }, - { - "value": "SERVICE", - "name": "SERVICE" - }, - { - "value": "DEVICE_MODEL", - "name": "DEVICE_MODEL" - }, - { - "value": "CAPABILITY", - "name": "CAPABILITY" - }, - { - "value": "STATE", - "name": "STATE" - }, - { - "value": "ACTION", - "name": "ACTION" - }, - { - "value": "EVENT", - "name": "EVENT" - }, - { - "value": "PROPERTY", - "name": "PROPERTY" - }, - { - "value": "MAPPING", - "name": "MAPPING" - }, - { - "value": "ENUM", - "name": "ENUM" + "type": "enum", + "members": { + "DEVICE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEVICE" } - ] + }, + "SERVICE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SERVICE" + } + }, + "DEVICE_MODEL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEVICE_MODEL" + } + }, + "CAPABILITY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CAPABILITY" + } + }, + "STATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STATE" + } + }, + "ACTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTION" + } + }, + "EVENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EVENT" + } + }, + "PROPERTY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PROPERTY" + } + }, + "MAPPING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MAPPING" + } + }, + "ENUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENUM" + } + } } }, "com.amazonaws.iotthingsgraph#EntityTypes": { @@ -1013,78 +1117,110 @@ } }, "com.amazonaws.iotthingsgraph#FlowExecutionEventType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EXECUTION_STARTED", - "name": "EXECUTION_STARTED" - }, - { - "value": "EXECUTION_FAILED", - "name": "EXECUTION_FAILED" - }, - { - "value": "EXECUTION_ABORTED", - "name": "EXECUTION_ABORTED" - }, - { - "value": "EXECUTION_SUCCEEDED", - "name": "EXECUTION_SUCCEEDED" - }, - { - "value": "STEP_STARTED", - "name": "STEP_STARTED" - }, - { - "value": "STEP_FAILED", - "name": "STEP_FAILED" - }, - { - "value": "STEP_SUCCEEDED", - "name": "STEP_SUCCEEDED" - }, - { - "value": "ACTIVITY_SCHEDULED", - "name": "ACTIVITY_SCHEDULED" - }, - { - "value": "ACTIVITY_STARTED", - "name": "ACTIVITY_STARTED" - }, - { - "value": "ACTIVITY_FAILED", - "name": "ACTIVITY_FAILED" - }, - { - "value": "ACTIVITY_SUCCEEDED", - "name": "ACTIVITY_SUCCEEDED" - }, - { - "value": "START_FLOW_EXECUTION_TASK", - "name": "START_FLOW_EXECUTION_TASK" - }, - { - "value": "SCHEDULE_NEXT_READY_STEPS_TASK", - "name": "SCHEDULE_NEXT_READY_STEPS_TASK" - }, - { - "value": "THING_ACTION_TASK", - "name": "THING_ACTION_TASK" - }, - { - "value": "THING_ACTION_TASK_FAILED", - "name": "THING_ACTION_TASK_FAILED" - }, - { - "value": "THING_ACTION_TASK_SUCCEEDED", - "name": "THING_ACTION_TASK_SUCCEEDED" - }, - { - "value": "ACKNOWLEDGE_TASK_MESSAGE", - "name": "ACKNOWLEDGE_TASK_MESSAGE" + "type": "enum", + "members": { + "EXECUTION_STARTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXECUTION_STARTED" + } + }, + "EXECUTION_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXECUTION_FAILED" + } + }, + "EXECUTION_ABORTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXECUTION_ABORTED" + } + }, + "EXECUTION_SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXECUTION_SUCCEEDED" + } + }, + "STEP_STARTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STEP_STARTED" + } + }, + "STEP_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STEP_FAILED" + } + }, + "STEP_SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STEP_SUCCEEDED" + } + }, + "ACTIVITY_SCHEDULED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVITY_SCHEDULED" + } + }, + "ACTIVITY_STARTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVITY_STARTED" + } + }, + "ACTIVITY_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVITY_FAILED" + } + }, + "ACTIVITY_SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVITY_SUCCEEDED" + } + }, + "START_FLOW_EXECUTION_TASK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "START_FLOW_EXECUTION_TASK" + } + }, + "SCHEDULE_NEXT_READY_STEPS_TASK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SCHEDULE_NEXT_READY_STEPS_TASK" + } + }, + "THING_ACTION_TASK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "THING_ACTION_TASK" + } + }, + "THING_ACTION_TASK_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "THING_ACTION_TASK_FAILED" + } + }, + "THING_ACTION_TASK_SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "THING_ACTION_TASK_SUCCEEDED" + } + }, + "ACKNOWLEDGE_TASK_MESSAGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACKNOWLEDGE_TASK_MESSAGE" } - ] + } } }, "com.amazonaws.iotthingsgraph#FlowExecutionId": { @@ -1135,26 +1271,32 @@ } }, "com.amazonaws.iotthingsgraph#FlowExecutionStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "RUNNING", - "name": "RUNNING" - }, - { - "value": "ABORTED", - "name": "ABORTED" - }, - { - "value": "SUCCEEDED", - "name": "SUCCEEDED" - }, - { - "value": "FAILED", - "name": "FAILED" + "type": "enum", + "members": { + "RUNNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RUNNING" + } + }, + "ABORTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ABORTED" + } + }, + "SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCEEDED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" } - ] + } } }, "com.amazonaws.iotthingsgraph#FlowExecutionSummaries": { @@ -1256,14 +1398,14 @@ } }, "com.amazonaws.iotthingsgraph#FlowTemplateFilterName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DEVICE_MODEL_ID", - "name": "DEVICE_MODEL_ID" + "type": "enum", + "members": { + "DEVICE_MODEL_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEVICE_MODEL_ID" } - ] + } } }, "com.amazonaws.iotthingsgraph#FlowTemplateFilterValue": { @@ -1367,6 +1509,9 @@ "smithy.api#documentation": "The version of the user's namespace. Defaults to the latest version of the user's namespace.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotthingsgraph#GetEntitiesResponse": { @@ -1378,6 +1523,9 @@ "smithy.api#documentation": "An array of descriptions for the specified entities.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotthingsgraph#GetFlowTemplate": { @@ -1425,6 +1573,9 @@ "smithy.api#documentation": "The number of the workflow revision to retrieve.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotthingsgraph#GetFlowTemplateResponse": { @@ -1436,6 +1587,9 @@ "smithy.api#documentation": "The object that describes the specified workflow.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotthingsgraph#GetFlowTemplateRevisions": { @@ -1495,6 +1649,9 @@ "smithy.api#documentation": "The maximum number of results to return in the response.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotthingsgraph#GetFlowTemplateRevisionsResponse": { @@ -1512,6 +1669,9 @@ "smithy.api#documentation": "The string to specify as nextToken
when you request the next page of results.
An error code returned by the namespace deletion task.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotthingsgraph#GetSystemInstance": { @@ -1618,6 +1784,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotthingsgraph#GetSystemInstanceResponse": { @@ -1629,6 +1798,9 @@ "smithy.api#documentation": "An object that describes the system instance.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotthingsgraph#GetSystemTemplate": { @@ -1676,6 +1848,9 @@ "smithy.api#documentation": "The number that specifies the revision of the system to get.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotthingsgraph#GetSystemTemplateResponse": { @@ -1687,6 +1862,9 @@ "smithy.api#documentation": "An object that contains summary data about the system.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotthingsgraph#GetSystemTemplateRevisions": { @@ -1746,6 +1924,9 @@ "smithy.api#documentation": "The maximum number of results to return in the response.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotthingsgraph#GetSystemTemplateRevisionsResponse": { @@ -1763,6 +1944,9 @@ "smithy.api#documentation": "The string to specify as nextToken
when you request the next page of results.
AWS IoT Things Graph provides an integrated set of tools that enable developers to connect devices and services that use different standards, \n such as units of measure and communication protocols. AWS IoT Things Graph makes it possible to build IoT applications with little to no code by connecting devices and services \n and defining how they interact at an abstract level.
\nFor more information about how AWS IoT Things Graph works, see the User Guide.
\n \nThe AWS IoT Things Graph service is discontinued.
", + "smithy.api#documentation": "AWS IoT Things Graph provides an integrated set of tools that enable developers to connect devices and services that use different standards, \n such as units of measure and communication protocols. AWS IoT Things Graph makes it possible to build IoT applications with little to no code by connecting devices and services \n and defining how they interact at an abstract level.
\nFor more information about how AWS IoT Things Graph works, see the User Guide.
\nThe AWS IoT Things Graph service is discontinued.
", "smithy.api#title": "AWS IoT Things Graph", "smithy.rules#endpointRuleSet": { "version": "1.0", @@ -2078,52 +2268,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", @@ -2131,13 +2325,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -2147,249 +2350,200 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://iotthingsgraph-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://iotthingsgraph-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": [ { "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": [], - "endpoint": { - "url": "https://iotthingsgraph-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://iotthingsgraph-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://iotthingsgraph.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://iotthingsgraph.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, { "conditions": [], "endpoint": { - "url": "https://iotthingsgraph.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://iotthingsgraph.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws", + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://iotthingsgraph.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://iotthingsgraph.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -2404,8 +2558,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2417,8 +2571,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2430,8 +2584,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2443,8 +2597,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2456,8 +2610,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2469,8 +2623,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2482,8 +2636,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2495,8 +2649,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2508,8 +2662,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2521,8 +2675,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2534,8 +2688,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2547,8 +2701,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2560,8 +2714,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2573,8 +2727,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2586,8 +2740,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2599,8 +2753,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2612,8 +2766,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -2625,8 +2790,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 } }, { @@ -2638,8 +2814,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -2651,8 +2838,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 } }, { @@ -2664,8 +2862,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2677,8 +2875,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2690,8 +2888,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2702,8 +2900,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2714,10 +2912,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" @@ -2794,6 +2998,9 @@ "smithy.api#documentation": "The maximum number of results to return in the response.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotthingsgraph#ListFlowExecutionMessagesResponse": { @@ -2811,6 +3018,9 @@ "smithy.api#documentation": "The string to specify as nextToken
when you request the next page of results.
The token that specifies the next page of results to return.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotthingsgraph#ListTagsForResourceResponse": { @@ -2887,6 +3100,9 @@ "smithy.api#documentation": "The token that specifies the next page of results to return.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotthingsgraph#MaxResults": { @@ -2920,33 +3136,37 @@ } }, "com.amazonaws.iotthingsgraph#NamespaceDeletionStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IN_PROGRESS", - "name": "IN_PROGRESS" - }, - { - "value": "SUCCEEDED", - "name": "SUCCEEDED" - }, - { - "value": "FAILED", - "name": "FAILED" + "type": "enum", + "members": { + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" } - ] + }, + "SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCEEDED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + } } }, "com.amazonaws.iotthingsgraph#NamespaceDeletionStatusErrorCodes": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "VALIDATION_FAILED", - "name": "VALIDATION_FAILED" + "type": "enum", + "members": { + "VALIDATION_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VALIDATION_FAILED" } - ] + } } }, "com.amazonaws.iotthingsgraph#NamespaceName": { @@ -3066,7 +3286,7 @@ "filters": { "target": "com.amazonaws.iotthingsgraph#EntityFilters", "traits": { - "smithy.api#documentation": "Optional filter to apply to the search. Valid filters are NAME
\n NAMESPACE
, SEMANTIC_TYPE_PATH
and REFERENCED_ENTITY_ID
. \n REFERENCED_ENTITY_ID
filters on entities that are used by the entity in the result set. For example, \n you can filter on the ID of a property that is used in a state.
Multiple filters function as OR criteria in the query. Multiple values passed inside the filter function as AND criteria.
" + "smithy.api#documentation": "Optional filter to apply to the search. Valid filters are NAME
\n NAMESPACE
, SEMANTIC_TYPE_PATH
and REFERENCED_ENTITY_ID
. \n REFERENCED_ENTITY_ID
filters on entities that are used by the entity in the result set. For example, \n you can filter on the ID of a property that is used in a state.
Multiple filters function as OR criteria in the query. Multiple values passed inside the filter function as AND criteria.
" } }, "nextToken": { @@ -3087,6 +3307,9 @@ "smithy.api#documentation": "The version of the user's namespace. Defaults to the latest version of the user's namespace.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotthingsgraph#SearchEntitiesResponse": { @@ -3104,6 +3327,9 @@ "smithy.api#documentation": "The string to specify as nextToken
when you request the next page of results.
The maximum number of results to return in the response.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotthingsgraph#SearchFlowExecutionsResponse": { @@ -3198,6 +3427,9 @@ "smithy.api#documentation": "The string to specify as nextToken
when you request the next page of results.
The maximum number of results to return in the response.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotthingsgraph#SearchFlowTemplatesResponse": { @@ -3270,6 +3505,9 @@ "smithy.api#documentation": "The string to specify as nextToken
when you request the next page of results.
The maximum number of results to return in the response.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotthingsgraph#SearchSystemInstancesResponse": { @@ -3342,6 +3583,9 @@ "smithy.api#documentation": "The string to specify as nextToken
when you request the next page of results.
The maximum number of results to return in the response.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotthingsgraph#SearchSystemTemplatesResponse": { @@ -3414,6 +3661,9 @@ "smithy.api#documentation": "The string to specify as nextToken
when you request the next page of results.
The version of the user's namespace. Defaults to the latest version of the user's namespace.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotthingsgraph#SearchThingsResponse": { @@ -3496,6 +3749,9 @@ "smithy.api#documentation": "The string to specify as nextToken
when you request the next page of results.
The ID of the system instance to remove from its target.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotthingsgraph#UndeploySystemInstanceResponse": { @@ -4057,6 +4340,9 @@ "smithy.api#documentation": "An object that contains summary information about the system instance that was removed from its target.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotthingsgraph#UntagResource": { @@ -4105,11 +4391,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotthingsgraph#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.iotthingsgraph#UpdateFlowTemplate": { "type": "operation", @@ -4163,6 +4455,9 @@ "smithy.api#documentation": "The version of the user's namespace.
\nIf no value is specified, the latest version is used by default. Use the GetFlowTemplateRevisions
if you want to find earlier revisions of the flow \n to update.
An object containing summary information about the updated workflow.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotthingsgraph#UpdateSystemTemplate": { @@ -4228,6 +4526,9 @@ "smithy.api#documentation": "The version of the user's namespace. Defaults to the latest version of the user's namespace.
\nIf no value is specified, the latest version is used by default.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.iotthingsgraph#UpdateSystemTemplateResponse": { @@ -4239,6 +4540,9 @@ "smithy.api#documentation": "An object containing summary information about the updated system.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.iotthingsgraph#UploadEntityDefinitions": { @@ -4290,6 +4594,9 @@ "smithy.api#documentation": "A Boolean that specifies whether to deprecate all entities in the latest version before uploading the new DefinitionDocument
. \n If set to true
, the upload will create a new namespace version.
When the Status
field value is \n FAILED
, the ErrorMessage
field \n contains a message that explains why.
If the response is truncated, Amazon Kendra Intelligent \n Ranking returns a pagination token in the response.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kendraranking#ListTagsForResource": { @@ -1042,7 +1039,8 @@ } }, "traits": { - "smithy.api#documentation": "The request information for listing tags associated with \n a rescore execution plan. A rescore execution plan is an \n Amazon Kendra Intelligent Ranking resource used for \n provisioning the Rescore
API.
The request information for listing tags associated with \n a rescore execution plan. A rescore execution plan is an \n Amazon Kendra Intelligent Ranking resource used for \n provisioning the Rescore
API.
If the action is successful, the service sends back an \n HTTP 200 response.
" + "smithy.api#documentation": "If the action is successful, the service sends back an \n HTTP 200 response.
", + "smithy.api#output": {} } }, "com.amazonaws.kendraranking#MaxResultsIntegerForListRescoreExecutionPlansRequest": { @@ -1267,6 +1266,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kendraranking#RescoreResult": { @@ -1284,6 +1286,9 @@ "smithy.api#documentation": "A list of result items for documents with new relevancy \n scores. The results are in descending order.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kendraranking#RescoreResultItem": { @@ -1468,14 +1473,16 @@ } }, "traits": { - "smithy.api#documentation": "The request information for tagging a rescore execution \n plan. A rescore execution plan is an Amazon Kendra \n Intelligent Ranking resource used for provisioning the \n Rescore
API.
The request information for tagging a rescore execution \n plan. A rescore execution plan is an Amazon Kendra \n Intelligent Ranking resource used for provisioning the \n Rescore
API.
If the action is successful, the service sends back an \n HTTP 200 response with an empty HTTP body.
" + "smithy.api#documentation": "If the action is successful, the service sends back an \n HTTP 200 response with an empty HTTP body.
", + "smithy.api#output": {} } }, "com.amazonaws.kendraranking#TagValue": { @@ -1571,14 +1578,16 @@ } }, "traits": { - "smithy.api#documentation": "The request information to remove a tag from a rescore \n execution plan. A rescore execution plan is an \n Amazon Kendra Intelligent Ranking resource used for\n provisioning the Rescore
API.
The request information to remove a tag from a rescore \n execution plan. A rescore execution plan is an \n Amazon Kendra Intelligent Ranking resource used for\n provisioning the Rescore
API.
If the action is successful, the service sends back an \n HTTP 200 response with an empty HTTP body.
" + "smithy.api#documentation": "If the action is successful, the service sends back an \n HTTP 200 response with an empty HTTP body.
", + "smithy.api#output": {} } }, "com.amazonaws.kendraranking#UpdateRescoreExecutionPlan": { @@ -1650,6 +1659,9 @@ "smithy.api#documentation": "You can set additional capacity units to meet the needs \n of your rescore execution plan. You are given a single capacity \n unit by default. If you want to use the default capacity, you \n don't set additional capacity units. For more information on the\n default capacity and additional capacity units, see \n Adjusting capacity.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kendraranking#ValidationException": { diff --git a/codegen/sdk-codegen/aws-models/keyspaces.json b/codegen/sdk-codegen/aws-models/keyspaces.json index 6af4cb8c43f..0b6f584a571 100644 --- a/codegen/sdk-codegen/aws-models/keyspaces.json +++ b/codegen/sdk-codegen/aws-models/keyspaces.json @@ -942,52 +942,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", @@ -995,13 +999,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -1011,92 +1024,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://cassandra-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://cassandra-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -1105,155 +1109,115 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws-us-gov", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsFIPS" + "name" ] } ] } ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://cassandra.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [], - "endpoint": { - "url": "https://cassandra-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "endpoint": { + "url": "https://cassandra.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://cassandra-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://cassandra.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://cassandra.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://cassandra.{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://cassandra.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/kinesis-analytics-v2.json b/codegen/sdk-codegen/aws-models/kinesis-analytics-v2.json index 8af138d065b..e8c3a11dcd0 100644 --- a/codegen/sdk-codegen/aws-models/kinesis-analytics-v2.json +++ b/codegen/sdk-codegen/aws-models/kinesis-analytics-v2.json @@ -3685,6 +3685,7 @@ "arnNamespace": "kinesisanalytics", "cloudFormationName": "KinesisAnalyticsV2", "cloudTrailEventSource": "kinesisanalyticsv2.amazonaws.com", + "docId": "kinesisanalyticsv2-2018-05-23", "endpointPrefix": "kinesisanalytics" }, "aws.auth#sigv4": { @@ -3756,52 +3757,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", @@ -3809,13 +3814,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -3825,224 +3839,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://kinesisanalytics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://kinesisanalytics-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": [ { "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": [], - "endpoint": { - "url": "https://kinesisanalytics-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://kinesisanalytics-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://kinesisanalytics.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://kinesisanalytics.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://kinesisanalytics.{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://kinesisanalytics.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/kinesis-analytics.json b/codegen/sdk-codegen/aws-models/kinesis-analytics.json index 1efc6dedb64..f72ca07d2de 100644 --- a/codegen/sdk-codegen/aws-models/kinesis-analytics.json +++ b/codegen/sdk-codegen/aws-models/kinesis-analytics.json @@ -82,11 +82,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kinesisanalytics#AddApplicationCloudWatchLoggingOptionResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.kinesisanalytics#AddApplicationInput": { "type": "operation", @@ -180,11 +186,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kinesisanalytics#AddApplicationInputProcessingConfigurationResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.kinesisanalytics#AddApplicationInputRequest": { "type": "structure", @@ -212,14 +224,16 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.kinesisanalytics#AddApplicationInputResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#output": {} } }, "com.amazonaws.kinesisanalytics#AddApplicationOutput": { @@ -277,14 +291,16 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.kinesisanalytics#AddApplicationOutputResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#output": {} } }, "com.amazonaws.kinesisanalytics#AddApplicationReferenceDataSource": { @@ -342,14 +358,16 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.kinesisanalytics#AddApplicationReferenceDataSourceResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#output": {} } }, "com.amazonaws.kinesisanalytics#ApplicationCode": { @@ -461,38 +479,48 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": "[a-zA-Z0-9_.-]+" + "smithy.api#pattern": "^[a-zA-Z0-9_.-]+$" } }, "com.amazonaws.kinesisanalytics#ApplicationStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DELETING", - "name": "DELETING" - }, - { - "value": "STARTING", - "name": "STARTING" - }, - { - "value": "STOPPING", - "name": "STOPPING" - }, - { - "value": "READY", - "name": "READY" - }, - { - "value": "RUNNING", - "name": "RUNNING" - }, - { - "value": "UPDATING", - "name": "UPDATING" + "type": "enum", + "members": { + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "STARTING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STARTING" + } + }, + "STOPPING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STOPPING" } - ] + }, + "READY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "READY" + } + }, + "RUNNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RUNNING" + } + }, + "UPDATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATING" + } + } } }, "com.amazonaws.kinesisanalytics#ApplicationSummaries": { @@ -587,7 +615,7 @@ "min": 1, "max": 2048 }, - "smithy.api#pattern": "arn:.*" + "smithy.api#pattern": "^arn:" } }, "com.amazonaws.kinesisanalytics#CSVMappingParameters": { @@ -818,7 +846,8 @@ } }, "traits": { - "smithy.api#documentation": "TBD
" + "smithy.api#documentation": "TBD
", + "smithy.api#input": {} } }, "com.amazonaws.kinesisanalytics#CreateApplicationResponse": { @@ -833,7 +862,8 @@ } }, "traits": { - "smithy.api#documentation": "TBD
" + "smithy.api#documentation": "TBD
", + "smithy.api#output": {} } }, "com.amazonaws.kinesisanalytics#DeleteApplication": { @@ -915,11 +945,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kinesisanalytics#DeleteApplicationCloudWatchLoggingOptionResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.kinesisanalytics#DeleteApplicationInputProcessingConfiguration": { "type": "operation", @@ -974,11 +1010,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kinesisanalytics#DeleteApplicationInputProcessingConfigurationResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.kinesisanalytics#DeleteApplicationOutput": { "type": "operation", @@ -1035,14 +1077,16 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.kinesisanalytics#DeleteApplicationOutputResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#output": {} } }, "com.amazonaws.kinesisanalytics#DeleteApplicationReferenceDataSource": { @@ -1098,11 +1142,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kinesisanalytics#DeleteApplicationReferenceDataSourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.kinesisanalytics#DeleteApplicationRequest": { "type": "structure", @@ -1123,14 +1173,16 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.kinesisanalytics#DeleteApplicationResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#output": {} } }, "com.amazonaws.kinesisanalytics#DescribeApplication": { @@ -1165,7 +1217,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.kinesisanalytics#DescribeApplicationResponse": { @@ -1180,7 +1233,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#output": {} } }, "com.amazonaws.kinesisanalytics#DestinationSchema": { @@ -1257,6 +1311,9 @@ "smithy.api#documentation": "The InputProcessingConfiguration to use to preprocess the records before discovering the schema of the records.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kinesisanalytics#DiscoverInputSchemaResponse": { @@ -1288,7 +1345,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#output": {} } }, "com.amazonaws.kinesisanalytics#ErrorMessage": { @@ -1310,7 +1368,7 @@ "min": 1, "max": 50 }, - "smithy.api#pattern": "[a-zA-Z0-9_.-]+" + "smithy.api#pattern": "^[a-zA-Z0-9_.-]+$" } }, "com.amazonaws.kinesisanalytics#InAppStreamName": { @@ -1649,22 +1707,26 @@ } }, "com.amazonaws.kinesisanalytics#InputStartingPosition": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NOW", - "name": "NOW" - }, - { - "value": "TRIM_HORIZON", - "name": "TRIM_HORIZON" - }, - { - "value": "LAST_STOPPED_POINT", - "name": "LAST_STOPPED_POINT" + "type": "enum", + "members": { + "NOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NOW" + } + }, + "TRIM_HORIZON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TRIM_HORIZON" } - ] + }, + "LAST_STOPPED_POINT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LAST_STOPPED_POINT" + } + } } }, "com.amazonaws.kinesisanalytics#InputStartingPositionConfiguration": { @@ -1796,7 +1858,7 @@ "min": 1, "max": 2048 }, - "smithy.api#pattern": "arn:aws:kinesisanalytics:[a-z]{2}-[a-z]+-\\d{1}+:\\d{12}+:application/[a-zA-Z0-9_.-]{1,128}" + "smithy.api#pattern": "^arn:aws:kinesisanalytics:[a-z]{2}-[a-z]+-\\d{1}+:\\d{12}+:application/[a-zA-Z0-9_.-]{1,128}$" } }, "com.amazonaws.kinesisanalytics#KinesisAnalytics_20150814": { @@ -1870,6 +1932,7 @@ "arnNamespace": "kinesisanalytics", "cloudFormationName": "KinesisAnalytics", "cloudTrailEventSource": "kinesisanalytics.amazonaws.com", + "docId": "kinesisanalytics-2015-08-14", "endpointPrefix": "kinesisanalytics" }, "aws.auth#sigv4": { @@ -1941,52 +2004,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", @@ -1994,13 +2061,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -2010,224 +2086,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://kinesisanalytics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://kinesisanalytics-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": [ { "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": [], - "endpoint": { - "url": "https://kinesisanalytics-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://kinesisanalytics-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://kinesisanalytics.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://kinesisanalytics.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://kinesisanalytics.{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://kinesisanalytics.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -2242,8 +2269,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2255,8 +2282,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2268,8 +2295,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2281,8 +2308,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2294,8 +2321,8 @@ }, "params": { "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2307,8 +2334,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2320,8 +2347,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2333,8 +2360,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2346,8 +2373,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2359,8 +2386,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2372,8 +2399,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2385,8 +2412,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2398,8 +2425,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2411,8 +2438,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2424,8 +2451,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2437,8 +2464,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2450,8 +2477,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2463,8 +2490,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2476,8 +2503,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2489,8 +2516,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2502,8 +2529,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2515,8 +2542,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2528,8 +2555,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2541,8 +2568,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2554,8 +2581,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2567,8 +2594,8 @@ }, "params": { "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2580,8 +2607,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2593,8 +2620,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2606,8 +2633,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2619,8 +2646,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2632,8 +2659,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2645,8 +2672,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2658,8 +2685,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2671,8 +2698,19 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "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 } }, { @@ -2684,8 +2722,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 } }, { @@ -2697,8 +2746,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -2710,8 +2770,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 } }, { @@ -2723,8 +2794,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2736,8 +2807,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2749,8 +2820,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2761,8 +2832,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2773,10 +2844,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" @@ -3146,7 +3223,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.kinesisanalytics#ListApplicationsResponse": { @@ -3168,7 +3246,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#output": {} } }, "com.amazonaws.kinesisanalytics#ListTagsForResource": { @@ -3204,6 +3283,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kinesisanalytics#ListTagsForResourceResponse": { @@ -3215,6 +3297,9 @@ "smithy.api#documentation": "The key-value tags assigned to the application.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kinesisanalytics#LogStreamARN": { @@ -3224,7 +3309,7 @@ "min": 1, "max": 2048 }, - "smithy.api#pattern": "arn:.*" + "smithy.api#pattern": "^arn:" } }, "com.amazonaws.kinesisanalytics#MappingParameters": { @@ -3492,7 +3577,7 @@ "com.amazonaws.kinesisanalytics#RecordEncoding": { "type": "string", "traits": { - "smithy.api#pattern": "UTF-8" + "smithy.api#pattern": "^UTF-8$" } }, "com.amazonaws.kinesisanalytics#RecordFormat": { @@ -3517,18 +3602,20 @@ } }, "com.amazonaws.kinesisanalytics#RecordFormatType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "JSON", - "name": "JSON" - }, - { - "value": "CSV", - "name": "CSV" + "type": "enum", + "members": { + "JSON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JSON" + } + }, + "CSV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CSV" } - ] + } } }, "com.amazonaws.kinesisanalytics#RecordRowDelimiter": { @@ -3662,7 +3749,7 @@ "min": 1, "max": 2048 }, - "smithy.api#pattern": "arn:.*" + "smithy.api#pattern": "^arn:" } }, "com.amazonaws.kinesisanalytics#ResourceInUseException": { @@ -3714,7 +3801,7 @@ "min": 1, "max": 2048 }, - "smithy.api#pattern": "arn:aws:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+" + "smithy.api#pattern": "^arn:aws:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+$" } }, "com.amazonaws.kinesisanalytics#S3Configuration": { @@ -3919,14 +4006,16 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.kinesisanalytics#StartApplicationResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#output": {} } }, "com.amazonaws.kinesisanalytics#StopApplication": { @@ -3964,14 +4053,16 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.kinesisanalytics#StopApplicationResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#output": {} } }, "com.amazonaws.kinesisanalytics#Tag": { @@ -4062,11 +4153,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kinesisanalytics#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.kinesisanalytics#TagValue": { "type": "string", @@ -4180,11 +4277,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kinesisanalytics#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.kinesisanalytics#UpdateApplication": { "type": "operation", @@ -4242,11 +4345,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kinesisanalytics#UpdateApplicationResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } } } } diff --git a/codegen/sdk-codegen/aws-models/kinesis-video-archived-media.json b/codegen/sdk-codegen/aws-models/kinesis-video-archived-media.json index 58f4391edec..b09c67c6e3c 100644 --- a/codegen/sdk-codegen/aws-models/kinesis-video-archived-media.json +++ b/codegen/sdk-codegen/aws-models/kinesis-video-archived-media.json @@ -126,52 +126,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", @@ -179,13 +183,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -195,224 +208,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://kinesisvideo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://kinesisvideo-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": [ { "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": [], - "endpoint": { - "url": "https://kinesisvideo-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://kinesisvideo-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://kinesisvideo.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://kinesisvideo.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://kinesisvideo.{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://kinesisvideo.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -1682,6 +1646,12 @@ "method": "POST", "uri": "/getImages", "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "Images", + "pageSize": "MaxResults" } } }, @@ -2162,6 +2132,12 @@ "method": "POST", "uri": "/listFragments", "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "Fragments", + "pageSize": "MaxResults" } } }, diff --git a/codegen/sdk-codegen/aws-models/kinesis-video-media.json b/codegen/sdk-codegen/aws-models/kinesis-video-media.json index cce54df63d6..40b0ebde538 100644 --- a/codegen/sdk-codegen/aws-models/kinesis-video-media.json +++ b/codegen/sdk-codegen/aws-models/kinesis-video-media.json @@ -111,52 +111,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", @@ -164,13 +168,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -180,224 +193,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://kinesisvideo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://kinesisvideo-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": [ { "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": [], - "endpoint": { - "url": "https://kinesisvideo-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://kinesisvideo-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://kinesisvideo.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://kinesisvideo.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://kinesisvideo.{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://kinesisvideo.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -412,8 +376,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -425,8 +389,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -438,8 +402,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -451,8 +415,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -464,8 +428,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -477,8 +441,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -490,8 +454,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -503,8 +467,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -516,8 +480,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -529,8 +493,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -542,8 +506,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -555,8 +519,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -568,8 +532,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -581,8 +545,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -594,8 +558,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -607,8 +571,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -620,8 +584,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -633,8 +597,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -646,8 +610,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -659,8 +623,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -672,8 +636,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -685,8 +649,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -698,8 +662,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -711,8 +675,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -724,8 +688,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -737,8 +701,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -750,8 +714,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -763,8 +738,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 } }, { @@ -776,8 +762,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -789,8 +786,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 } }, { @@ -802,8 +810,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -815,8 +823,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -828,8 +836,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -840,8 +848,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -852,10 +860,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" @@ -980,6 +994,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kinesisvideomedia#GetMediaOutput": { @@ -1000,6 +1017,9 @@ "smithy.api#httpPayload": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kinesisvideomedia#InvalidArgumentException": { @@ -1054,7 +1074,7 @@ "min": 1, "max": 1024 }, - "smithy.api#pattern": "arn:aws:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+" + "smithy.api#pattern": "^arn:aws:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+$" } }, "com.amazonaws.kinesisvideomedia#ResourceNotFoundException": { @@ -1104,34 +1124,44 @@ } }, "com.amazonaws.kinesisvideomedia#StartSelectorType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FRAGMENT_NUMBER", - "name": "FRAGMENT_NUMBER" - }, - { - "value": "SERVER_TIMESTAMP", - "name": "SERVER_TIMESTAMP" - }, - { - "value": "PRODUCER_TIMESTAMP", - "name": "PRODUCER_TIMESTAMP" - }, - { - "value": "NOW", - "name": "NOW" - }, - { - "value": "EARLIEST", - "name": "EARLIEST" - }, - { - "value": "CONTINUATION_TOKEN", - "name": "CONTINUATION_TOKEN" + "type": "enum", + "members": { + "FRAGMENT_NUMBER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FRAGMENT_NUMBER" + } + }, + "SERVER_TIMESTAMP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SERVER_TIMESTAMP" + } + }, + "PRODUCER_TIMESTAMP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRODUCER_TIMESTAMP" } - ] + }, + "NOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NOW" + } + }, + "EARLIEST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EARLIEST" + } + }, + "CONTINUATION_TOKEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTINUATION_TOKEN" + } + } } }, "com.amazonaws.kinesisvideomedia#StreamName": { @@ -1141,7 +1171,7 @@ "min": 1, "max": 256 }, - "smithy.api#pattern": "[a-zA-Z0-9_.-]+" + "smithy.api#pattern": "^[a-zA-Z0-9_.-]+$" } }, "com.amazonaws.kinesisvideomedia#Timestamp": { diff --git a/codegen/sdk-codegen/aws-models/kinesis-video-signaling.json b/codegen/sdk-codegen/aws-models/kinesis-video-signaling.json index 1492f9a9cc3..1e619ed2168 100644 --- a/codegen/sdk-codegen/aws-models/kinesis-video-signaling.json +++ b/codegen/sdk-codegen/aws-models/kinesis-video-signaling.json @@ -114,52 +114,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", @@ -167,13 +171,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -183,224 +196,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://kinesisvideo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://kinesisvideo-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": [ { "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": [], - "endpoint": { - "url": "https://kinesisvideo-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://kinesisvideo-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://kinesisvideo.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://kinesisvideo.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://kinesisvideo.{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://kinesisvideo.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -415,8 +379,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -428,8 +392,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -441,8 +405,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -454,8 +418,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -467,8 +431,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -480,8 +444,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -493,8 +457,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -506,8 +470,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -519,8 +483,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -532,8 +496,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -545,8 +509,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -558,8 +522,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -571,8 +535,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -584,8 +548,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -597,8 +561,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -610,8 +574,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -623,8 +587,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -636,8 +600,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -649,8 +613,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -662,8 +626,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -675,8 +639,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -688,8 +652,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -701,8 +665,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -714,8 +678,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -727,8 +691,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -740,8 +704,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -753,8 +717,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -766,8 +741,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 } }, { @@ -779,8 +765,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -792,8 +789,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 } }, { @@ -805,8 +813,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -818,8 +826,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -831,8 +839,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -843,8 +851,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -855,10 +863,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" @@ -881,7 +895,7 @@ "min": 1, "max": 256 }, - "smithy.api#pattern": "[a-zA-Z0-9_.-]+" + "smithy.api#pattern": "^[a-zA-Z0-9_.-]+$" } }, "com.amazonaws.kinesisvideosignaling#ClientLimitExceededException": { @@ -965,6 +979,9 @@ "smithy.api#documentation": "An optional user ID to be associated with the credentials.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kinesisvideosignaling#GetIceServerConfigResponse": { @@ -976,6 +993,9 @@ "smithy.api#documentation": "The list of ICE server information objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kinesisvideosignaling#IceServer": { @@ -1050,7 +1070,7 @@ "min": 1, "max": 10000 }, - "smithy.api#pattern": "[a-zA-Z0-9+/=]+" + "smithy.api#pattern": "^[a-zA-Z0-9+/=]+$" } }, "com.amazonaws.kinesisvideosignaling#NotAuthorizedException": { @@ -1073,7 +1093,7 @@ "min": 1, "max": 256 }, - "smithy.api#pattern": "[a-zA-Z0-9_.-]+" + "smithy.api#pattern": "^[a-zA-Z0-9_.-]+$" } }, "com.amazonaws.kinesisvideosignaling#ResourceARN": { @@ -1083,7 +1103,7 @@ "min": 1, "max": 1024 }, - "smithy.api#pattern": "arn:aws:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+" + "smithy.api#pattern": "^arn:aws:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+$" } }, "com.amazonaws.kinesisvideosignaling#ResourceNotFoundException": { @@ -1154,6 +1174,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kinesisvideosignaling#SendAlexaOfferToMasterResponse": { @@ -1165,17 +1188,20 @@ "smithy.api#documentation": "The base64-encoded SDP answer content.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kinesisvideosignaling#Service": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "TURN", - "name": "TURN" + "type": "enum", + "members": { + "TURN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TURN" } - ] + } } }, "com.amazonaws.kinesisvideosignaling#SessionExpiredException": { @@ -1223,7 +1249,7 @@ "min": 1, "max": 256 }, - "smithy.api#pattern": "[a-zA-Z0-9_.-]+" + "smithy.api#pattern": "^[a-zA-Z0-9_.-]+$" } } } diff --git a/codegen/sdk-codegen/aws-models/kinesis-video-webrtc-storage.json b/codegen/sdk-codegen/aws-models/kinesis-video-webrtc-storage.json index 48b0174327a..f1080dd13ce 100644 --- a/codegen/sdk-codegen/aws-models/kinesis-video-webrtc-storage.json +++ b/codegen/sdk-codegen/aws-models/kinesis-video-webrtc-storage.json @@ -386,55 +386,55 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://kinesisvideo-fips.us-gov-east-1.api.aws" + "url": "https://kinesisvideo-fips.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kinesisvideo-fips.us-gov-east-1.amazonaws.com" + "url": "https://kinesisvideo-fips.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://kinesisvideo.us-gov-east-1.api.aws" + "url": "https://kinesisvideo.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kinesisvideo.us-gov-east-1.amazonaws.com" + "url": "https://kinesisvideo.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -445,9 +445,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -458,9 +458,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -471,9 +471,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -484,109 +484,109 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://kinesisvideo-fips.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kinesisvideo-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://kinesisvideo-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://kinesisvideo.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kinesisvideo.us-iso-east-1.c2s.ic.gov" + "url": "https://kinesisvideo.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://kinesisvideo-fips.us-east-1.api.aws" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kinesisvideo-fips.us-east-1.amazonaws.com" + "url": "https://kinesisvideo-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://kinesisvideo.us-east-1.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kinesisvideo.us-east-1.amazonaws.com" + "url": "https://kinesisvideo.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -595,9 +595,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -608,9 +608,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -619,9 +619,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -632,22 +632,35 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { + "Region": "us-east-1", + "UseFIPS": false, "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { "UseFIPS": false, - "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -657,9 +670,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -669,11 +682,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" @@ -785,4 +804,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/kinesis-video.json b/codegen/sdk-codegen/aws-models/kinesis-video.json index 164994cb4b4..1edd9ca070c 100644 --- a/codegen/sdk-codegen/aws-models/kinesis-video.json +++ b/codegen/sdk-codegen/aws-models/kinesis-video.json @@ -1828,6 +1828,7 @@ "arnNamespace": "kinesisvideo", "cloudFormationName": "KinesisVideo", "cloudTrailEventSource": "kinesisvideo.amazonaws.com", + "docId": "kinesisvideo-2017-09-30", "endpointPrefix": "kinesisvideo" }, "aws.auth#sigv4": { diff --git a/codegen/sdk-codegen/aws-models/kinesis.json b/codegen/sdk-codegen/aws-models/kinesis.json index be019ded5c4..162fd4dde40 100644 --- a/codegen/sdk-codegen/aws-models/kinesis.json +++ b/codegen/sdk-codegen/aws-models/kinesis.json @@ -1644,7 +1644,7 @@ "uri": "http://kinesis.amazonaws.com/doc/2013-12-02" }, "smithy.rules#endpointRuleSet": { - "version": "1.3", + "version": "1.0", "parameters": { "Region": { "builtIn": "AWS::Region", @@ -1787,7 +1787,23 @@ "type": "tree", "rules": [ { - "conditions": [], + "conditions": [ + { + "fn": "isValidHostLabel", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "arn" + }, + "accountId" + ] + }, + false + ] + } + ], "type": "tree", "rules": [ { @@ -1801,7 +1817,7 @@ { "ref": "arn" }, - "accountId" + "region" ] }, false @@ -1811,31 +1827,66 @@ "type": "tree", "rules": [ { - "conditions": [], + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "arn" + }, + "service" + ] + }, + "kinesis" + ] + } + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "isValidHostLabel", + "fn": "getAttr", + "argv": [ + { + "ref": "arn" + }, + "resourceId[0]" + ], + "assign": "arnType" + }, + { + "fn": "not", "argv": [ { - "fn": "getAttr", + "fn": "stringEquals", "argv": [ { - "ref": "arn" + "ref": "arnType" }, - "region" + "" ] - }, - false + } ] } ], "type": "tree", "rules": [ { - "conditions": [], + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "arnType" + }, + "stream" + ] + } + ], "type": "tree", "rules": [ { @@ -1847,63 +1898,88 @@ "fn": "getAttr", "argv": [ { - "ref": "arn" + "ref": "PartitionResult" }, - "service" + "name" ] }, - "kinesis" + "{arn#partition}" ] } ], "type": "tree", "rules": [ { - "conditions": [], + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "OperationType" + } + ] + } + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "arn" + "ref": "UseFIPS" }, - "resourceId[0]" - ], - "assign": "arnType" + true + ] }, { - "fn": "not", + "fn": "booleanEquals", "argv": [ { - "fn": "stringEquals", - "argv": [ - { - "ref": "arnType" - }, - "" - ] - } + "ref": "UseDualStack" + }, + true ] } ], "type": "tree", "rules": [ { - "conditions": [], + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + }, + true + ] + } + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "stringEquals", + "fn": "booleanEquals", "argv": [ { - "ref": "arnType" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] }, - "stream" + true ] } ], @@ -1911,320 +1987,190 @@ "rules": [ { "conditions": [], - "type": "tree", - "rules": [ + "endpoint": { + "url": "https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled, but this partition does not support DualStack.", + "type": "error" + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled, but this partition does not support FIPS.", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - }, - "{arn#partition}" - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "OperationType" - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "DualStack is enabled, but this partition does not support DualStack.", - "type": "error" - } - ] - } - ] - }, - { - "conditions": [], - "error": "FIPS is enabled, but this partition does not support FIPS.", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://{arn#accountId}.{OperationType}-kinesis-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": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://{arn#accountId}.{OperationType}-kinesis.{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://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, - { - "conditions": [], - "error": "Operation Type is not set. Please contact service team for resolution.", - "type": "error" - } - ] - } - ] + "ref": "PartitionResult" }, - { - "conditions": [], - "error": "Partition: {arn#partition} from ARN doesn't match with partition name: {PartitionResult#name}.", - "type": "error" - } + "supportsFIPS" ] - } + }, + true ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://{arn#accountId}.{OperationType}-kinesis-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": [ + { + "fn": "booleanEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "Invalid ARN: Kinesis ARNs don't support `{arnType}` arn types.", - "type": "error" + "endpoint": { + "url": "https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] }, { "conditions": [], - "error": "Invalid ARN: No ARN type specified", - "type": "error" + "endpoint": { + "url": "https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "Operation Type is not set. Please contact service team for resolution.", + "type": "error" } ] }, { "conditions": [], - "error": "Invalid ARN: The ARN was not for the Kinesis service, found: {arn#service}.", + "error": "Partition: {arn#partition} from ARN doesn't match with partition name: {PartitionResult#name}.", "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid ARN: Kinesis ARNs don't support `{arnType}` arn types.", + "type": "error" } ] }, { "conditions": [], - "error": "Invalid ARN: Invalid region.", + "error": "Invalid ARN: No ARN type specified", "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid ARN: The ARN was not for the Kinesis service, found: {arn#service}.", + "type": "error" } ] }, { "conditions": [], - "error": "Invalid ARN: Invalid account id.", + "error": "Invalid ARN: Invalid region.", "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid ARN: Invalid account id.", + "type": "error" } ] }, @@ -2333,7 +2279,23 @@ "type": "tree", "rules": [ { - "conditions": [], + "conditions": [ + { + "fn": "isValidHostLabel", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "arn" + }, + "accountId" + ] + }, + false + ] + } + ], "type": "tree", "rules": [ { @@ -2347,7 +2309,7 @@ { "ref": "arn" }, - "accountId" + "region" ] }, false @@ -2357,31 +2319,66 @@ "type": "tree", "rules": [ { - "conditions": [], + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "arn" + }, + "service" + ] + }, + "kinesis" + ] + } + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "isValidHostLabel", + "fn": "getAttr", + "argv": [ + { + "ref": "arn" + }, + "resourceId[0]" + ], + "assign": "arnType" + }, + { + "fn": "not", "argv": [ { - "fn": "getAttr", + "fn": "stringEquals", "argv": [ { - "ref": "arn" + "ref": "arnType" }, - "region" + "" ] - }, - false + } ] } ], "type": "tree", "rules": [ { - "conditions": [], + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "arnType" + }, + "stream" + ] + } + ], "type": "tree", "rules": [ { @@ -2393,63 +2390,88 @@ "fn": "getAttr", "argv": [ { - "ref": "arn" + "ref": "PartitionResult" }, - "service" + "name" ] }, - "kinesis" + "{arn#partition}" ] } ], "type": "tree", "rules": [ { - "conditions": [], + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "OperationType" + } + ] + } + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "arn" + "ref": "UseFIPS" }, - "resourceId[0]" - ], - "assign": "arnType" + true + ] }, { - "fn": "not", + "fn": "booleanEquals", "argv": [ { - "fn": "stringEquals", - "argv": [ - { - "ref": "arnType" - }, - "" - ] - } + "ref": "UseDualStack" + }, + true ] } ], "type": "tree", "rules": [ { - "conditions": [], + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + }, + true + ] + } + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "stringEquals", + "fn": "booleanEquals", "argv": [ { - "ref": "arnType" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] }, - "stream" + true ] } ], @@ -2457,320 +2479,190 @@ "rules": [ { "conditions": [], - "type": "tree", - "rules": [ + "endpoint": { + "url": "https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled, but this partition does not support DualStack.", + "type": "error" + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled, but this partition does not support FIPS.", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - }, - "{arn#partition}" - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "OperationType" - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "DualStack is enabled, but this partition does not support DualStack.", - "type": "error" - } - ] - } - ] - }, - { - "conditions": [], - "error": "FIPS is enabled, but this partition does not support FIPS.", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://{arn#accountId}.{OperationType}-kinesis-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": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://{arn#accountId}.{OperationType}-kinesis.{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://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, - { - "conditions": [], - "error": "Operation Type is not set. Please contact service team for resolution.", - "type": "error" - } - ] - } - ] + "ref": "PartitionResult" }, - { - "conditions": [], - "error": "Partition: {arn#partition} from ARN doesn't match with partition name: {PartitionResult#name}.", - "type": "error" - } + "supportsFIPS" ] - } + }, + true ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://{arn#accountId}.{OperationType}-kinesis-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": [ + { + "fn": "booleanEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "Invalid ARN: Kinesis ARNs don't support `{arnType}` arn types.", - "type": "error" + "endpoint": { + "url": "https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] }, { "conditions": [], - "error": "Invalid ARN: No ARN type specified", - "type": "error" + "endpoint": { + "url": "https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "Operation Type is not set. Please contact service team for resolution.", + "type": "error" } ] }, { "conditions": [], - "error": "Invalid ARN: The ARN was not for the Kinesis service, found: {arn#service}.", + "error": "Partition: {arn#partition} from ARN doesn't match with partition name: {PartitionResult#name}.", "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid ARN: Kinesis ARNs don't support `{arnType}` arn types.", + "type": "error" } ] }, { "conditions": [], - "error": "Invalid ARN: Invalid region.", + "error": "Invalid ARN: No ARN type specified", "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid ARN: The ARN was not for the Kinesis service, found: {arn#service}.", + "type": "error" } ] }, { "conditions": [], - "error": "Invalid ARN: Invalid account id.", + "error": "Invalid ARN: Invalid region.", "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid ARN: Invalid account id.", + "type": "error" } ] }, @@ -2810,52 +2702,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", @@ -2863,13 +2759,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -2879,175 +2784,83 @@ { "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://kinesis-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-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://kinesis.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "ref": "PartitionResult" }, - { - "conditions": [], - "endpoint": { - "url": "https://kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://kinesis-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -3056,110 +2869,115 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws-us-gov", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsDualStack" + "name" ] } ] } ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "endpoint": { + "url": "https://kinesis.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" + "endpoint": { + "url": "https://kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { "conditions": [], - "type": "tree", - "rules": [ + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "us-gov-east-1" - ] - } - ], - "endpoint": { - "url": "https://kinesis.us-gov-east-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "ref": "UseDualStack" }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ + true, { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "ref": "Region" + "ref": "PartitionResult" }, - "us-gov-west-1" + "supportsDualStack" ] } - ], - "endpoint": { - "url": "https://kinesis.us-gov-west-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [], "endpoint": { - "url": "https://kinesis.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://kinesis.{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://kinesis.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -3174,8 +2992,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3187,8 +3005,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3200,8 +3018,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3213,8 +3031,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3226,8 +3044,8 @@ }, "params": { "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3239,8 +3057,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3252,8 +3070,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3265,8 +3083,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3278,8 +3096,8 @@ }, "params": { "Region": "ap-southeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3291,8 +3109,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3304,8 +3122,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3317,8 +3135,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3330,8 +3148,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3343,8 +3161,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3356,8 +3174,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3369,8 +3187,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3382,8 +3200,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3395,8 +3213,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3408,8 +3226,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3421,8 +3239,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3434,8 +3252,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3447,8 +3265,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3460,8 +3278,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3473,8 +3291,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3486,8 +3304,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3499,8 +3317,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3512,8 +3330,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3525,8 +3343,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3538,8 +3356,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3551,8 +3369,8 @@ }, "params": { "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3564,8 +3382,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3577,8 +3395,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3590,8 +3408,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3603,8 +3421,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3616,8 +3434,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3629,8 +3447,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3642,8 +3460,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3655,8 +3473,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3668,8 +3486,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3681,8 +3499,8 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3694,8 +3512,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 } }, { @@ -3707,8 +3536,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 } }, { @@ -3720,8 +3560,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 } }, { @@ -3733,8 +3584,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 } }, { @@ -3746,8 +3608,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3759,8 +3621,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3771,8 +3633,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3783,11 +3645,17 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } + }, { "documentation": "Invalid ARN: Failed to parse ARN.", "expect": { diff --git a/codegen/sdk-codegen/aws-models/kms.json b/codegen/sdk-codegen/aws-models/kms.json index c5426034d9b..3a8eb8f9747 100644 --- a/codegen/sdk-codegen/aws-models/kms.json +++ b/codegen/sdk-codegen/aws-models/kms.json @@ -188,7 +188,19 @@ } ], "traits": { - "smithy.api#documentation": "Cancels the deletion of a KMS key. When this operation succeeds, the key state of the KMS\n key is Disabled
. To enable the KMS key, use EnableKey.
For more information about scheduling and canceling deletion of a KMS key, see Deleting KMS keys in the\n Key Management Service Developer Guide.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:CancelKeyDeletion (key policy)
\n\n Related operations: ScheduleKeyDeletion\n
" + "smithy.api#documentation": "Cancels the deletion of a KMS key. When this operation succeeds, the key state of the KMS\n key is Disabled
. To enable the KMS key, use EnableKey.
For more information about scheduling and canceling deletion of a KMS key, see Deleting KMS keys in the\n Key Management Service Developer Guide.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:CancelKeyDeletion (key policy)
\n\n Related operations: ScheduleKeyDeletion\n
", + "smithy.api#examples": [ + { + "title": "To cancel deletion of a KMS key", + "documentation": "The following example cancels deletion of the specified KMS key.", + "input": { + "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab" + }, + "output": { + "KeyId": "arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" + } + } + ] } }, "com.amazonaws.kms#CancelKeyDeletionRequest": { @@ -350,7 +362,17 @@ } ], "traits": { - "smithy.api#documentation": "Connects or reconnects a custom key store to its backing key store. For an CloudHSM key\n store, ConnectCustomKeyStore
connects the key store to its associated CloudHSM\n cluster. For an external key store, ConnectCustomKeyStore
connects the key store\n to the external key store proxy that communicates with your external key manager.
The custom key store must be connected before you can create KMS keys in the key store or\n use the KMS keys it contains. You can disconnect and reconnect a custom key store at any\n time.
\nThe connection process for a custom key store can take an extended amount of time to\n complete. This operation starts the connection process, but it does not wait for it to\n complete. When it succeeds, this operation quickly returns an HTTP 200 response and a JSON\n object with no properties. However, this response does not indicate that the custom key store\n is connected. To get the connection state of the custom key store, use the DescribeCustomKeyStores operation.
\nThis operation is part of the custom key stores feature in KMS, which\ncombines the convenience and extensive integration of KMS with the isolation and control of a\nkey store that you own and manage.
\nThe ConnectCustomKeyStore
operation might fail for various reasons. To find\n the reason, use the DescribeCustomKeyStores operation and see the\n ConnectionErrorCode
in the response. For help interpreting the\n ConnectionErrorCode
, see CustomKeyStoresListEntry.
To fix the failure, use the DisconnectCustomKeyStore operation to\n disconnect the custom key store, correct the error, use the UpdateCustomKeyStore operation if necessary, and then use\n ConnectCustomKeyStore
again.
\n CloudHSM key store\n
\nDuring the connection process for an CloudHSM key store, KMS finds the CloudHSM cluster that\n is associated with the custom key store, creates the connection infrastructure, connects to\n the cluster, logs into the CloudHSM client as the kmsuser
CU, and rotates its\n password.
To connect an CloudHSM key store, its associated CloudHSM cluster must have at least one active\n HSM. To get the number of active HSMs in a cluster, use the DescribeClusters operation. To add HSMs\n to the cluster, use the CreateHsm operation. Also, the \n kmsuser
crypto\n user (CU) must not be logged into the cluster. This prevents KMS from using this\n account to log in.
If you are having trouble connecting or disconnecting a CloudHSM key store, see Troubleshooting an CloudHSM key\n store in the Key Management Service Developer Guide.
\n\n External key store\n
\nWhen you connect an external key store that uses public endpoint connectivity, KMS tests\n its ability to communicate with your external key manager by sending a request via the\n external key store proxy.
\nWhen you connect to an external key store that uses VPC endpoint service connectivity,\n KMS establishes the networking elements that it needs to communicate with your external key\n manager via the external key store proxy. This includes creating an interface endpoint to the\n VPC endpoint service and a private hosted zone for traffic between KMS and the VPC endpoint\n service.
\nTo connect an external key store, KMS must be able to connect to the external key store\n proxy, the external key store proxy must be able to communicate with your external key\n manager, and the external key manager must be available for cryptographic operations.
\nIf you are having trouble connecting or disconnecting an external key store, see Troubleshooting an external\n key store in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.
\n\n Required permissions: kms:ConnectCustomKeyStore (IAM policy)
\n\n Related operations\n
\n\n CreateCustomKeyStore\n
\n\n DeleteCustomKeyStore\n
\n\n UpdateCustomKeyStore\n
\nConnects or reconnects a custom key store to its backing key store. For an CloudHSM key\n store, ConnectCustomKeyStore
connects the key store to its associated CloudHSM\n cluster. For an external key store, ConnectCustomKeyStore
connects the key store\n to the external key store proxy that communicates with your external key manager.
The custom key store must be connected before you can create KMS keys in the key store or\n use the KMS keys it contains. You can disconnect and reconnect a custom key store at any\n time.
\nThe connection process for a custom key store can take an extended amount of time to\n complete. This operation starts the connection process, but it does not wait for it to\n complete. When it succeeds, this operation quickly returns an HTTP 200 response and a JSON\n object with no properties. However, this response does not indicate that the custom key store\n is connected. To get the connection state of the custom key store, use the DescribeCustomKeyStores operation.
\nThis operation is part of the custom key stores feature in KMS, which\ncombines the convenience and extensive integration of KMS with the isolation and control of a\nkey store that you own and manage.
\nThe ConnectCustomKeyStore
operation might fail for various reasons. To find\n the reason, use the DescribeCustomKeyStores operation and see the\n ConnectionErrorCode
in the response. For help interpreting the\n ConnectionErrorCode
, see CustomKeyStoresListEntry.
To fix the failure, use the DisconnectCustomKeyStore operation to\n disconnect the custom key store, correct the error, use the UpdateCustomKeyStore operation if necessary, and then use\n ConnectCustomKeyStore
again.
\n CloudHSM key store\n
\nDuring the connection process for an CloudHSM key store, KMS finds the CloudHSM cluster that\n is associated with the custom key store, creates the connection infrastructure, connects to\n the cluster, logs into the CloudHSM client as the kmsuser
CU, and rotates its\n password.
To connect an CloudHSM key store, its associated CloudHSM cluster must have at least one active\n HSM. To get the number of active HSMs in a cluster, use the DescribeClusters operation. To add HSMs\n to the cluster, use the CreateHsm operation. Also, the \n kmsuser
crypto\n user (CU) must not be logged into the cluster. This prevents KMS from using this\n account to log in.
If you are having trouble connecting or disconnecting a CloudHSM key store, see Troubleshooting an CloudHSM key\n store in the Key Management Service Developer Guide.
\n\n External key store\n
\nWhen you connect an external key store that uses public endpoint connectivity, KMS tests\n its ability to communicate with your external key manager by sending a request via the\n external key store proxy.
\nWhen you connect to an external key store that uses VPC endpoint service connectivity,\n KMS establishes the networking elements that it needs to communicate with your external key\n manager via the external key store proxy. This includes creating an interface endpoint to the\n VPC endpoint service and a private hosted zone for traffic between KMS and the VPC endpoint\n service.
\nTo connect an external key store, KMS must be able to connect to the external key store\n proxy, the external key store proxy must be able to communicate with your external key\n manager, and the external key manager must be available for cryptographic operations.
\nIf you are having trouble connecting or disconnecting an external key store, see Troubleshooting an external\n key store in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.
\n\n Required permissions: kms:ConnectCustomKeyStore (IAM policy)
\n\n Related operations\n
\n\n CreateCustomKeyStore\n
\n\n DeleteCustomKeyStore\n
\n\n UpdateCustomKeyStore\n
\nDescribeCustomKeyStores
operation.",
+ "input": {
+ "CustomKeyStoreId": "cks-1234567890abcdef0"
+ },
+ "output": {}
+ }
+ ]
}
},
"com.amazonaws.kms#ConnectCustomKeyStoreRequest": {
@@ -555,7 +577,17 @@
}
],
"traits": {
- "smithy.api#documentation": "Creates a friendly name for a KMS key.
\nAdding, deleting, or updating an alias can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.
\nYou can use an alias to identify a KMS key in the KMS console, in the DescribeKey operation and in cryptographic operations, such as Encrypt and\n GenerateDataKey. You can also change the KMS key that's associated with\n the alias (UpdateAlias) or delete the alias (DeleteAlias)\n at any time. These operations don't affect the underlying KMS key.
\nYou can associate the alias with any customer managed key in the same Amazon Web Services Region. Each\n alias is associated with only one KMS key at a time, but a KMS key can have multiple aliases.\n A valid KMS key is required. You can't create an alias without a KMS key.
\nThe alias must be unique in the account and Region, but you can have aliases with the same\n name in different Regions. For detailed information about aliases, see Using aliases in the\n Key Management Service Developer Guide.
\nThis operation does not return a response. To get the alias that you created, use the\n ListAliases operation.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on an alias in a different Amazon Web Services account.
\n\n Required permissions\n
\n\n kms:CreateAlias on\n the alias (IAM policy).
\n\n kms:CreateAlias on\n the KMS key (key policy).
\nFor details, see Controlling access to aliases in the\n Key Management Service Developer Guide.
\n\n Related operations:\n
\n\n DeleteAlias\n
\n\n ListAliases\n
\n\n UpdateAlias\n
\nCreates a friendly name for a KMS key.
\nAdding, deleting, or updating an alias can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.
\nYou can use an alias to identify a KMS key in the KMS console, in the DescribeKey operation and in cryptographic operations, such as Encrypt and\n GenerateDataKey. You can also change the KMS key that's associated with\n the alias (UpdateAlias) or delete the alias (DeleteAlias)\n at any time. These operations don't affect the underlying KMS key.
\nYou can associate the alias with any customer managed key in the same Amazon Web Services Region. Each\n alias is associated with only one KMS key at a time, but a KMS key can have multiple aliases.\n A valid KMS key is required. You can't create an alias without a KMS key.
\nThe alias must be unique in the account and Region, but you can have aliases with the same\n name in different Regions. For detailed information about aliases, see Using aliases in the\n Key Management Service Developer Guide.
\nThis operation does not return a response. To get the alias that you created, use the\n ListAliases operation.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on an alias in a different Amazon Web Services account.
\n\n Required permissions\n
\n\n kms:CreateAlias on\n the alias (IAM policy).
\n\n kms:CreateAlias on\n the KMS key (key policy).
\nFor details, see Controlling access to aliases in the\n Key Management Service Developer Guide.
\n\n Related operations:\n
\n\n DeleteAlias\n
\n\n ListAliases\n
\n\n UpdateAlias\n
\nCreates a custom key store backed by a key store that you own and manage. When you use a\n KMS key in a custom key store for a cryptographic operation, the cryptographic operation is\n actually performed in your key store using your keys. KMS supports CloudHSM key stores\n backed by an CloudHSM cluster\n and external key\n stores backed by an external key store proxy and external key manager outside of\n Amazon Web Services.
\nThis operation is part of the custom key stores feature in KMS, which\ncombines the convenience and extensive integration of KMS with the isolation and control of a\nkey store that you own and manage.
\nBefore you create the custom key store, the required elements must be in place and\n operational. We recommend that you use the test tools that KMS provides to verify the\n configuration your external key store proxy. For details about the required elements and\n verification tests, see Assemble the prerequisites (for\n CloudHSM key stores) or Assemble the prerequisites (for\n external key stores) in the Key Management Service Developer Guide.
\nTo create a custom key store, use the following parameters.
\nTo create an CloudHSM key store, specify the CustomKeyStoreName
,\n CloudHsmClusterId
, KeyStorePassword
, and\n TrustAnchorCertificate
. The CustomKeyStoreType
parameter is\n optional for CloudHSM key stores. If you include it, set it to the default value,\n AWS_CLOUDHSM
. For help with failures, see Troubleshooting an CloudHSM key store in the\n Key Management Service Developer Guide.
To create an external key store, specify the CustomKeyStoreName
and a\n CustomKeyStoreType
of EXTERNAL_KEY_STORE
. Also, specify values\n for XksProxyConnectivity
, XksProxyAuthenticationCredential
,\n XksProxyUriEndpoint
, and XksProxyUriPath
. If your\n XksProxyConnectivity
value is VPC_ENDPOINT_SERVICE
, specify\n the XksProxyVpcEndpointServiceName
parameter. For help with failures, see\n Troubleshooting\n an external key store in the Key Management Service Developer Guide.
For external key stores:
\nSome external key managers provide a simpler method for creating an external key store.\n For details, see your external key manager documentation.
\nWhen creating an external key store in the KMS console, you can upload a JSON-based\n proxy configuration file with the desired values. You cannot use a proxy configuration with\n the CreateCustomKeyStore
operation. However, you can use the values in the file\n to help you determine the correct values for the CreateCustomKeyStore
\n parameters.
When the operation completes successfully, it returns the ID of the new custom key store.\n Before you can use your new custom key store, you need to use the ConnectCustomKeyStore operation to connect a new CloudHSM key store to its CloudHSM\n cluster, or to connect a new external key store to the external key store proxy for your\n external key manager. Even if you are not going to use your custom key store immediately, you\n might want to connect it to verify that all settings are correct and then disconnect it until\n you are ready to use it.
\nFor help with failures, see Troubleshooting a custom key store in the\n Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.
\n\n Required permissions: kms:CreateCustomKeyStore (IAM policy).
\n\n Related operations:\n
\n\n DeleteCustomKeyStore\n
\n\n UpdateCustomKeyStore\n
\nCreates a custom key store backed by a key store that you own and manage. When you use a\n KMS key in a custom key store for a cryptographic operation, the cryptographic operation is\n actually performed in your key store using your keys. KMS supports CloudHSM key stores\n backed by an CloudHSM cluster\n and external key\n stores backed by an external key store proxy and external key manager outside of\n Amazon Web Services.
\nThis operation is part of the custom key stores feature in KMS, which\ncombines the convenience and extensive integration of KMS with the isolation and control of a\nkey store that you own and manage.
\nBefore you create the custom key store, the required elements must be in place and\n operational. We recommend that you use the test tools that KMS provides to verify the\n configuration your external key store proxy. For details about the required elements and\n verification tests, see Assemble the prerequisites (for\n CloudHSM key stores) or Assemble the prerequisites (for\n external key stores) in the Key Management Service Developer Guide.
\nTo create a custom key store, use the following parameters.
\nTo create an CloudHSM key store, specify the CustomKeyStoreName
,\n CloudHsmClusterId
, KeyStorePassword
, and\n TrustAnchorCertificate
. The CustomKeyStoreType
parameter is\n optional for CloudHSM key stores. If you include it, set it to the default value,\n AWS_CLOUDHSM
. For help with failures, see Troubleshooting an CloudHSM key store in the\n Key Management Service Developer Guide.
To create an external key store, specify the CustomKeyStoreName
and a\n CustomKeyStoreType
of EXTERNAL_KEY_STORE
. Also, specify values\n for XksProxyConnectivity
, XksProxyAuthenticationCredential
,\n XksProxyUriEndpoint
, and XksProxyUriPath
. If your\n XksProxyConnectivity
value is VPC_ENDPOINT_SERVICE
, specify\n the XksProxyVpcEndpointServiceName
parameter. For help with failures, see\n Troubleshooting\n an external key store in the Key Management Service Developer Guide.
For external key stores:
\nSome external key managers provide a simpler method for creating an external key store.\n For details, see your external key manager documentation.
\nWhen creating an external key store in the KMS console, you can upload a JSON-based\n proxy configuration file with the desired values. You cannot use a proxy configuration with\n the CreateCustomKeyStore
operation. However, you can use the values in the file\n to help you determine the correct values for the CreateCustomKeyStore
\n parameters.
When the operation completes successfully, it returns the ID of the new custom key store.\n Before you can use your new custom key store, you need to use the ConnectCustomKeyStore operation to connect a new CloudHSM key store to its CloudHSM\n cluster, or to connect a new external key store to the external key store proxy for your\n external key manager. Even if you are not going to use your custom key store immediately, you\n might want to connect it to verify that all settings are correct and then disconnect it until\n you are ready to use it.
\nFor help with failures, see Troubleshooting a custom key store in the\n Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.
\n\n Required permissions: kms:CreateCustomKeyStore (IAM policy).
\n\n Related operations:\n
\n\n DeleteCustomKeyStore\n
\n\n UpdateCustomKeyStore\n
\nAdds a grant to a KMS key.
\nA grant is a policy instrument that allows Amazon Web Services principals to use\n KMS keys in cryptographic operations. It also can allow them to view a KMS key (DescribeKey) and create and manage grants. When authorizing access to a KMS key,\n grants are considered along with key policies and IAM policies. Grants are often used for\n temporary permissions because you can create one, use its permissions, and delete it without\n changing your key policies or IAM policies.
\nFor detailed information about grants, including grant terminology, see Grants in KMS in the\n \n Key Management Service Developer Guide\n . For examples of working with grants in several\n programming languages, see Programming grants.
\nThe CreateGrant
operation returns a GrantToken
and a\n GrantId
.
When you create, retire, or revoke a grant, there might be a brief delay, usually less than five minutes, until the grant is available throughout KMS. This state is known as eventual consistency. Once the grant has achieved eventual consistency, the grantee\n principal can use the permissions in the grant without identifying the grant.
\nHowever, to use the permissions in the grant immediately, use the\n GrantToken
that CreateGrant
returns. For details, see Using a\n grant token in the \n Key Management Service Developer Guide\n .
The CreateGrant
operation also returns a GrantId
. You can\n use the GrantId
and a key identifier to identify the grant in the RetireGrant and RevokeGrant operations. To find the grant\n ID, use the ListGrants or ListRetirableGrants\n operations.
The KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key\n ARN in the value of the KeyId
parameter.
\n Required permissions: kms:CreateGrant (key policy)
\n\n Related operations:\n
\n\n ListGrants\n
\n\n ListRetirableGrants\n
\n\n RetireGrant\n
\n\n RevokeGrant\n
\nAdds a grant to a KMS key.
\nA grant is a policy instrument that allows Amazon Web Services principals to use\n KMS keys in cryptographic operations. It also can allow them to view a KMS key (DescribeKey) and create and manage grants. When authorizing access to a KMS key,\n grants are considered along with key policies and IAM policies. Grants are often used for\n temporary permissions because you can create one, use its permissions, and delete it without\n changing your key policies or IAM policies.
\nFor detailed information about grants, including grant terminology, see Grants in KMS in the\n \n Key Management Service Developer Guide\n . For examples of working with grants in several\n programming languages, see Programming grants.
\nThe CreateGrant
operation returns a GrantToken
and a\n GrantId
.
When you create, retire, or revoke a grant, there might be a brief delay, usually less than five minutes, until the grant is available throughout KMS. This state is known as eventual consistency. Once the grant has achieved eventual consistency, the grantee\n principal can use the permissions in the grant without identifying the grant.
\nHowever, to use the permissions in the grant immediately, use the\n GrantToken
that CreateGrant
returns. For details, see Using a\n grant token in the \n Key Management Service Developer Guide\n .
The CreateGrant
operation also returns a GrantId
. You can\n use the GrantId
and a key identifier to identify the grant in the RetireGrant and RevokeGrant operations. To find the grant\n ID, use the ListGrants or ListRetirableGrants\n operations.
The KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key\n ARN in the value of the KeyId
parameter.
\n Required permissions: kms:CreateGrant (key policy)
\n\n Related operations:\n
\n\n ListGrants\n
\n\n ListRetirableGrants\n
\n\n RetireGrant\n
\n\n RevokeGrant\n
\nDecrypts ciphertext that was encrypted by a KMS key using any of the following\n operations:
\n\n Encrypt\n
\n\n GenerateDataKey\n
\n\n GenerateDataKeyPair\n
\nYou can use this operation to decrypt ciphertext that was encrypted under a symmetric\n encryption KMS key or an asymmetric encryption KMS key. When the KMS key is asymmetric, you\n must specify the KMS key and the encryption algorithm that was used to encrypt the ciphertext.\n For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.
\nThe Decrypt
operation also decrypts ciphertext that was encrypted outside of\n KMS by the public key in an KMS asymmetric KMS key. However, it cannot decrypt symmetric\n ciphertext produced by other libraries, such as the Amazon Web Services Encryption SDK or Amazon S3 client-side encryption.\n These libraries return a ciphertext format that is incompatible with KMS.
If the ciphertext was encrypted under a symmetric encryption KMS key, the\n KeyId
parameter is optional. KMS can get this information from metadata that\n it adds to the symmetric ciphertext blob. This feature adds durability to your implementation\n by ensuring that authorized users can decrypt ciphertext decades after it was encrypted, even\n if they've lost track of the key ID. However, specifying the KMS key is always recommended as\n a best practice. When you use the KeyId
parameter to specify a KMS key, KMS\n only uses the KMS key you specify. If the ciphertext was encrypted under a different KMS key,\n the Decrypt
operation fails. This practice ensures that you use the KMS key that\n you intend.
Whenever possible, use key policies to give users permission to call the\n Decrypt
operation on a particular KMS key, instead of using &IAM; policies.\n Otherwise, you might create an &IAM; policy that gives the user Decrypt
\n permission on all KMS keys. This user could decrypt ciphertext that was encrypted by KMS keys\n in other accounts if the key policy for the cross-account KMS key permits it. If you must use\n an IAM policy for Decrypt
permissions, limit the user to particular KMS keys or\n particular trusted accounts. For details, see Best practices for IAM\n policies in the Key Management Service Developer Guide.
\n Decrypt
also supports Amazon Web Services Nitro Enclaves, which provide an\n isolated compute environment in Amazon EC2. To call Decrypt
for a Nitro enclave, use\n the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK. Use the Recipient
parameter to provide the\n attestation document for the enclave. Instead of the plaintext data, the response includes the\n plaintext data encrypted with the public key from the attestation document\n (CiphertextForRecipient
).For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide..
The KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: Yes. If you use the KeyId
\n parameter to identify a KMS key in a different Amazon Web Services account, specify the key ARN or the alias\n ARN of the KMS key.
\n Required permissions: kms:Decrypt (key policy)
\n\n Related operations:\n
\n\n Encrypt\n
\n\n GenerateDataKey\n
\n\n GenerateDataKeyPair\n
\n\n ReEncrypt\n
\nDecrypts ciphertext that was encrypted by a KMS key using any of the following\n operations:
\n\n Encrypt\n
\n\n GenerateDataKey\n
\n\n GenerateDataKeyPair\n
\nYou can use this operation to decrypt ciphertext that was encrypted under a symmetric\n encryption KMS key or an asymmetric encryption KMS key. When the KMS key is asymmetric, you\n must specify the KMS key and the encryption algorithm that was used to encrypt the ciphertext.\n For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.
\nThe Decrypt
operation also decrypts ciphertext that was encrypted outside of\n KMS by the public key in an KMS asymmetric KMS key. However, it cannot decrypt symmetric\n ciphertext produced by other libraries, such as the Amazon Web Services Encryption SDK or Amazon S3 client-side encryption.\n These libraries return a ciphertext format that is incompatible with KMS.
If the ciphertext was encrypted under a symmetric encryption KMS key, the\n KeyId
parameter is optional. KMS can get this information from metadata that\n it adds to the symmetric ciphertext blob. This feature adds durability to your implementation\n by ensuring that authorized users can decrypt ciphertext decades after it was encrypted, even\n if they've lost track of the key ID. However, specifying the KMS key is always recommended as\n a best practice. When you use the KeyId
parameter to specify a KMS key, KMS\n only uses the KMS key you specify. If the ciphertext was encrypted under a different KMS key,\n the Decrypt
operation fails. This practice ensures that you use the KMS key that\n you intend.
Whenever possible, use key policies to give users permission to call the\n Decrypt
operation on a particular KMS key, instead of using &IAM; policies.\n Otherwise, you might create an &IAM; policy that gives the user Decrypt
\n permission on all KMS keys. This user could decrypt ciphertext that was encrypted by KMS keys\n in other accounts if the key policy for the cross-account KMS key permits it. If you must use\n an IAM policy for Decrypt
permissions, limit the user to particular KMS keys or\n particular trusted accounts. For details, see Best practices for IAM\n policies in the Key Management Service Developer Guide.
\n Decrypt
also supports Amazon Web Services Nitro Enclaves, which provide an\n isolated compute environment in Amazon EC2. To call Decrypt
for a Nitro enclave, use\n the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK. Use the Recipient
parameter to provide the\n attestation document for the enclave. Instead of the plaintext data, the response includes the\n plaintext data encrypted with the public key from the attestation document\n (CiphertextForRecipient
).For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide..
The KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: Yes. If you use the KeyId
\n parameter to identify a KMS key in a different Amazon Web Services account, specify the key ARN or the alias\n ARN of the KMS key.
\n Required permissions: kms:Decrypt (key policy)
\n\n Related operations:\n
\n\n Encrypt\n
\n\n GenerateDataKey\n
\n\n GenerateDataKeyPair\n
\n\n ReEncrypt\n
\nDeletes the specified alias.
\nAdding, deleting, or updating an alias can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.
\nBecause an alias is not a property of a KMS key, you can delete and change the aliases of\n a KMS key without affecting the KMS key. Also, aliases do not appear in the response from the\n DescribeKey operation. To get the aliases of all KMS keys, use the ListAliases operation.
\nEach KMS key can have multiple aliases. To change the alias of a KMS key, use DeleteAlias to delete the current alias and CreateAlias to\n create a new alias. To associate an existing alias with a different KMS key, call UpdateAlias.
\n\n Cross-account use: No. You cannot perform this operation on an alias in a different Amazon Web Services account.
\n\n Required permissions\n
\n\n kms:DeleteAlias on\n the alias (IAM policy).
\n\n kms:DeleteAlias on\n the KMS key (key policy).
\nFor details, see Controlling access to aliases in the\n Key Management Service Developer Guide.
\n\n Related operations:\n
\n\n CreateAlias\n
\n\n ListAliases\n
\n\n UpdateAlias\n
\nDeletes the specified alias.
\nAdding, deleting, or updating an alias can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.
\nBecause an alias is not a property of a KMS key, you can delete and change the aliases of\n a KMS key without affecting the KMS key. Also, aliases do not appear in the response from the\n DescribeKey operation. To get the aliases of all KMS keys, use the ListAliases operation.
\nEach KMS key can have multiple aliases. To change the alias of a KMS key, use DeleteAlias to delete the current alias and CreateAlias to\n create a new alias. To associate an existing alias with a different KMS key, call UpdateAlias.
\n\n Cross-account use: No. You cannot perform this operation on an alias in a different Amazon Web Services account.
\n\n Required permissions\n
\n\n kms:DeleteAlias on\n the alias (IAM policy).
\n\n kms:DeleteAlias on\n the KMS key (key policy).
\nFor details, see Controlling access to aliases in the\n Key Management Service Developer Guide.
\n\n Related operations:\n
\n\n CreateAlias\n
\n\n ListAliases\n
\n\n UpdateAlias\n
\nDeletes a custom key store. This operation does not affect any backing elements of the\n custom key store. It does not delete the CloudHSM cluster that is associated with an CloudHSM key\n store, or affect any users or keys in the cluster. For an external key store, it does not\n affect the external key store proxy, external key manager, or any external keys.
\nThis operation is part of the custom key stores feature in KMS, which\ncombines the convenience and extensive integration of KMS with the isolation and control of a\nkey store that you own and manage.
\nThe custom key store that you delete cannot contain any KMS keys. Before deleting the key store,\n verify that you will never need to use any of the KMS keys in the key store for any\n cryptographic operations. Then, use ScheduleKeyDeletion to delete the KMS keys from the\n key store. After the required waiting period expires and all KMS keys are deleted from the\n custom key store, use DisconnectCustomKeyStore to disconnect the key store\n from KMS. Then, you can delete the custom key store.
\nFor keys in an CloudHSM key store, the ScheduleKeyDeletion
operation makes a\n best effort to delete the key material from the associated cluster. However, you might need to\n manually delete the orphaned key\n material from the cluster and its backups. KMS never creates, manages, or deletes\n cryptographic keys in the external key manager associated with an external key store. You must\n manage them using your external key manager tools.
Instead of deleting the custom key store, consider using the DisconnectCustomKeyStore operation to disconnect the custom key store from its\n backing key store. While the key store is disconnected, you cannot create or use the KMS keys\n in the key store. But, you do not need to delete KMS keys and you can reconnect a disconnected\n custom key store at any time.
\nIf the operation succeeds, it returns a JSON object with no\nproperties.
\n\n Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.
\n\n Required permissions: kms:DeleteCustomKeyStore (IAM policy)
\n\n Related operations:\n
\n\n CreateCustomKeyStore\n
\n\n UpdateCustomKeyStore\n
\nDeletes a custom key store. This operation does not affect any backing elements of the\n custom key store. It does not delete the CloudHSM cluster that is associated with an CloudHSM key\n store, or affect any users or keys in the cluster. For an external key store, it does not\n affect the external key store proxy, external key manager, or any external keys.
\nThis operation is part of the custom key stores feature in KMS, which\ncombines the convenience and extensive integration of KMS with the isolation and control of a\nkey store that you own and manage.
\nThe custom key store that you delete cannot contain any KMS keys. Before deleting the key store,\n verify that you will never need to use any of the KMS keys in the key store for any\n cryptographic operations. Then, use ScheduleKeyDeletion to delete the KMS keys from the\n key store. After the required waiting period expires and all KMS keys are deleted from the\n custom key store, use DisconnectCustomKeyStore to disconnect the key store\n from KMS. Then, you can delete the custom key store.
\nFor keys in an CloudHSM key store, the ScheduleKeyDeletion
operation makes a\n best effort to delete the key material from the associated cluster. However, you might need to\n manually delete the orphaned key\n material from the cluster and its backups. KMS never creates, manages, or deletes\n cryptographic keys in the external key manager associated with an external key store. You must\n manage them using your external key manager tools.
Instead of deleting the custom key store, consider using the DisconnectCustomKeyStore operation to disconnect the custom key store from its\n backing key store. While the key store is disconnected, you cannot create or use the KMS keys\n in the key store. But, you do not need to delete KMS keys and you can reconnect a disconnected\n custom key store at any time.
\nIf the operation succeeds, it returns a JSON object with no\nproperties.
\n\n Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.
\n\n Required permissions: kms:DeleteCustomKeyStore (IAM policy)
\n\n Related operations:\n
\n\n CreateCustomKeyStore\n
\n\n UpdateCustomKeyStore\n
\nDeletes key material that was previously imported. This operation makes the specified KMS\n key temporarily unusable. To restore the usability of the KMS key, reimport the same key\n material. For more information about importing key material into KMS, see Importing Key Material\n in the Key Management Service Developer Guide.
\nWhen the specified KMS key is in the PendingDeletion
state, this operation\n does not change the KMS key's state. Otherwise, it changes the KMS key's state to\n PendingImport
.
The KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:DeleteImportedKeyMaterial (key policy)
\n\n Related operations:\n
\n\n ImportKeyMaterial\n
\nDeletes key material that was previously imported. This operation makes the specified KMS\n key temporarily unusable. To restore the usability of the KMS key, reimport the same key\n material. For more information about importing key material into KMS, see Importing Key Material\n in the Key Management Service Developer Guide.
\nWhen the specified KMS key is in the PendingDeletion
state, this operation\n does not change the KMS key's state. Otherwise, it changes the KMS key's state to\n PendingImport
.
The KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:DeleteImportedKeyMaterial (key policy)
\n\n Related operations:\n
\n\n ImportKeyMaterial\n
\nGets information about custom key stores in the account and Region.
\nThis operation is part of the custom key stores feature in KMS, which\ncombines the convenience and extensive integration of KMS with the isolation and control of a\nkey store that you own and manage.
\nBy default, this operation returns information about all custom key stores in the account\n and Region. To get only information about a particular custom key store, use either the\n CustomKeyStoreName
or CustomKeyStoreId
parameter (but not\n both).
To determine whether the custom key store is connected to its CloudHSM cluster or external\n key store proxy, use the ConnectionState
element in the response. If an attempt\n to connect the custom key store failed, the ConnectionState
value is\n FAILED
and the ConnectionErrorCode
element in the response\n indicates the cause of the failure. For help interpreting the\n ConnectionErrorCode
, see CustomKeyStoresListEntry.
Custom key stores have a DISCONNECTED
connection state if the key store has\n never been connected or you used the DisconnectCustomKeyStore operation to\n disconnect it. Otherwise, the connection state is CONNECTED. If your custom key store\n connection state is CONNECTED
but you are having trouble using it, verify that\n the backing store is active and available. For an CloudHSM key store, verify that the associated\n CloudHSM cluster is active and contains the minimum number of HSMs required for the operation, if\n any. For an external key store, verify that the external key store proxy and its associated\n external key manager are reachable and enabled.
For help repairing your CloudHSM key store, see the Troubleshooting CloudHSM key stores. For help\n repairing your external key store, see the Troubleshooting external key stores.\n Both topics are in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.
\n\n Required permissions: kms:DescribeCustomKeyStores (IAM policy)
\n\n Related operations:\n
\n\n CreateCustomKeyStore\n
\n\n DeleteCustomKeyStore\n
\n\n UpdateCustomKeyStore\n
\nSets the state of a KMS key to disabled. This change temporarily prevents use of the KMS\n key for cryptographic operations.
\nFor more information about how key state affects the use of a KMS key, see\n Key states of KMS keys in the \n Key Management Service Developer Guide\n .
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:DisableKey (key policy)
\n\n Related operations: EnableKey\n
" + "smithy.api#documentation": "Sets the state of a KMS key to disabled. This change temporarily prevents use of the KMS\n key for cryptographic operations.
\nFor more information about how key state affects the use of a KMS key, see\n Key states of KMS keys in the \n Key Management Service Developer Guide\n .
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:DisableKey (key policy)
\n\n Related operations: EnableKey\n
", + "smithy.api#examples": [ + { + "title": "To disable a KMS key", + "documentation": "The following example disables the specified KMS key.", + "input": { + "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab" + } + } + ] } }, "com.amazonaws.kms#DisableKeyRequest": { @@ -1842,7 +1968,16 @@ } ], "traits": { - "smithy.api#documentation": "Disables automatic\n rotation of the key material of the specified symmetric encryption KMS key.
\nAutomatic key rotation is supported only on symmetric encryption KMS keys.\n You cannot enable automatic rotation of asymmetric KMS keys, HMAC KMS keys, KMS keys with imported key material, or KMS keys in a custom key store. To enable or disable automatic rotation of a set of related multi-Region keys, set the property on the primary key.
\nYou can enable (EnableKeyRotation) and disable automatic rotation of the\n key material in customer managed KMS keys. Key material rotation of Amazon Web Services managed KMS keys is not\n configurable. KMS always rotates the key material for every year. Rotation of Amazon Web Services owned KMS\n keys varies.
\nIn May 2022, KMS changed the rotation schedule for Amazon Web Services managed keys from every three\n years to every year. For details, see EnableKeyRotation.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:DisableKeyRotation (key policy)
\n\n Related operations:\n
\n\n EnableKeyRotation\n
\n\n GetKeyRotationStatus\n
\nDisables automatic\n rotation of the key material of the specified symmetric encryption KMS key.
\nAutomatic key rotation is supported only on symmetric encryption KMS keys.\n You cannot enable automatic rotation of asymmetric KMS keys, HMAC KMS keys, KMS keys with imported key material, or KMS keys in a custom key store. To enable or disable automatic rotation of a set of related multi-Region keys, set the property on the primary key.
\nYou can enable (EnableKeyRotation) and disable automatic rotation of the\n key material in customer managed KMS keys. Key material rotation of Amazon Web Services managed KMS keys is not\n configurable. KMS always rotates the key material for every year. Rotation of Amazon Web Services owned KMS\n keys varies.
\nIn May 2022, KMS changed the rotation schedule for Amazon Web Services managed keys from every three\n years to every year. For details, see EnableKeyRotation.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:DisableKeyRotation (key policy)
\n\n Related operations:\n
\n\n EnableKeyRotation\n
\n\n GetKeyRotationStatus\n
\nDisconnects the custom key store from its backing key store. This operation disconnects an\n CloudHSM key store from its associated CloudHSM cluster or disconnects an external key store from\n the external key store proxy that communicates with your external key manager.
\nThis operation is part of the custom key stores feature in KMS, which\ncombines the convenience and extensive integration of KMS with the isolation and control of a\nkey store that you own and manage.
\nWhile a custom key store is disconnected, you can manage the custom key store and its KMS\n keys, but you cannot create or use its KMS keys. You can reconnect the custom key store at any\n time.
\nWhile a custom key store is disconnected, all attempts to create KMS keys in the custom key store or to use existing KMS keys in cryptographic operations will\n fail. This action can prevent users from storing and accessing sensitive data.
\nWhen you disconnect a custom key store, its ConnectionState
changes to\n Disconnected
. To find the connection state of a custom key store, use the DescribeCustomKeyStores operation. To reconnect a custom key store, use the\n ConnectCustomKeyStore operation.
If the operation succeeds, it returns a JSON object with no\nproperties.
\n\n Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.
\n\n Required permissions: kms:DisconnectCustomKeyStore (IAM policy)
\n\n Related operations:\n
\n\n CreateCustomKeyStore\n
\n\n DeleteCustomKeyStore\n
\n\n UpdateCustomKeyStore\n
\nDisconnects the custom key store from its backing key store. This operation disconnects an\n CloudHSM key store from its associated CloudHSM cluster or disconnects an external key store from\n the external key store proxy that communicates with your external key manager.
\nThis operation is part of the custom key stores feature in KMS, which\ncombines the convenience and extensive integration of KMS with the isolation and control of a\nkey store that you own and manage.
\nWhile a custom key store is disconnected, you can manage the custom key store and its KMS\n keys, but you cannot create or use its KMS keys. You can reconnect the custom key store at any\n time.
\nWhile a custom key store is disconnected, all attempts to create KMS keys in the custom key store or to use existing KMS keys in cryptographic operations will\n fail. This action can prevent users from storing and accessing sensitive data.
\nWhen you disconnect a custom key store, its ConnectionState
changes to\n Disconnected
. To find the connection state of a custom key store, use the DescribeCustomKeyStores operation. To reconnect a custom key store, use the\n ConnectCustomKeyStore operation.
If the operation succeeds, it returns a JSON object with no\nproperties.
\n\n Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.
\n\n Required permissions: kms:DisconnectCustomKeyStore (IAM policy)
\n\n Related operations:\n
\n\n CreateCustomKeyStore\n
\n\n DeleteCustomKeyStore\n
\n\n UpdateCustomKeyStore\n
\nDescribeCustomKeyStores
operation.",
+ "input": {
+ "CustomKeyStoreId": "cks-1234567890abcdef0"
+ },
+ "output": {}
+ }
+ ]
}
},
"com.amazonaws.kms#DisconnectCustomKeyStoreRequest": {
@@ -1968,7 +2113,16 @@
}
],
"traits": {
- "smithy.api#documentation": "Sets the key state of a KMS key to enabled. This allows you to use the KMS key for\n cryptographic operations.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:EnableKey (key policy)
\n\n Related operations: DisableKey\n
" + "smithy.api#documentation": "Sets the key state of a KMS key to enabled. This allows you to use the KMS key for\n cryptographic operations.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:EnableKey (key policy)
\n\n Related operations: DisableKey\n
", + "smithy.api#examples": [ + { + "title": "To enable a KMS key", + "documentation": "The following example enables the specified KMS key.", + "input": { + "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab" + } + } + ] } }, "com.amazonaws.kms#EnableKeyRequest": { @@ -2018,7 +2172,16 @@ } ], "traits": { - "smithy.api#documentation": "Enables automatic rotation\n of the key material of the specified symmetric encryption KMS key.
\nWhen you enable automatic rotation of acustomer managed KMS key, KMS\n rotates the key material of the KMS key one year (approximately 365 days) from the enable date\n and every year thereafter. You can monitor rotation of the key material for your KMS keys in\n CloudTrail and Amazon CloudWatch. To disable rotation of the key material in a customer\n managed KMS key, use the DisableKeyRotation operation.
\nAutomatic key rotation is supported only on symmetric encryption KMS keys.\n You cannot enable automatic rotation of asymmetric KMS keys, HMAC KMS keys, KMS keys with imported key material, or KMS keys in a custom key store. To enable or disable automatic rotation of a set of related multi-Region keys, set the property on the primary key.
\nYou cannot enable or disable automatic rotation Amazon Web Services managed KMS keys. KMS\n always rotates the key material of Amazon Web Services managed keys every year. Rotation of Amazon Web Services owned KMS\n keys varies.
\nIn May 2022, KMS changed the rotation schedule for Amazon Web Services managed keys from every three\n years (approximately 1,095 days) to every year (approximately 365 days).
\nNew Amazon Web Services managed keys are automatically rotated one year after they are created, and\n approximately every year thereafter.
\nExisting Amazon Web Services managed keys are automatically rotated one year after their most recent\n rotation, and every year thereafter.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:EnableKeyRotation (key policy)
\n\n Related operations:\n
\n\n DisableKeyRotation\n
\n\n GetKeyRotationStatus\n
\nEnables automatic rotation\n of the key material of the specified symmetric encryption KMS key.
\nWhen you enable automatic rotation of acustomer managed KMS key, KMS\n rotates the key material of the KMS key one year (approximately 365 days) from the enable date\n and every year thereafter. You can monitor rotation of the key material for your KMS keys in\n CloudTrail and Amazon CloudWatch. To disable rotation of the key material in a customer\n managed KMS key, use the DisableKeyRotation operation.
\nAutomatic key rotation is supported only on symmetric encryption KMS keys.\n You cannot enable automatic rotation of asymmetric KMS keys, HMAC KMS keys, KMS keys with imported key material, or KMS keys in a custom key store. To enable or disable automatic rotation of a set of related multi-Region keys, set the property on the primary key.
\nYou cannot enable or disable automatic rotation Amazon Web Services managed KMS keys. KMS\n always rotates the key material of Amazon Web Services managed keys every year. Rotation of Amazon Web Services owned KMS\n keys varies.
\nIn May 2022, KMS changed the rotation schedule for Amazon Web Services managed keys from every three\n years (approximately 1,095 days) to every year (approximately 365 days).
\nNew Amazon Web Services managed keys are automatically rotated one year after they are created, and\n approximately every year thereafter.
\nExisting Amazon Web Services managed keys are automatically rotated one year after their most recent\n rotation, and every year thereafter.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:EnableKeyRotation (key policy)
\n\n Related operations:\n
\n\n DisableKeyRotation\n
\n\n GetKeyRotationStatus\n
\nEncrypts plaintext of up to 4,096 bytes using a KMS key. You can use a symmetric or\n asymmetric KMS key with a KeyUsage
of ENCRYPT_DECRYPT
.
You can use this operation to encrypt small amounts of arbitrary data, such as a personal\n identifier or database password, or other sensitive information. You don't need to use the\n Encrypt
operation to encrypt a data key. The GenerateDataKey\n and GenerateDataKeyPair operations return a plaintext data key and an\n encrypted copy of that data key.
If you use a symmetric encryption KMS key, you can use an encryption context to add\n additional security to your encryption operation. If you specify an\n EncryptionContext
when encrypting data, you must specify the same encryption\n context (a case-sensitive exact match) when decrypting the data. Otherwise, the request to\n decrypt fails with an InvalidCiphertextException
. For more information, see\n Encryption\n Context in the Key Management Service Developer Guide.
If you specify an asymmetric KMS key, you must also specify the encryption algorithm. The\n algorithm must be compatible with the KMS key spec.
\nWhen you use an asymmetric KMS key to encrypt or reencrypt data, be sure to record the KMS key and encryption algorithm that you choose. You will be required to provide the same KMS key and encryption algorithm when you decrypt the data. If the KMS key and algorithm do not match the values used to encrypt the data, the decrypt operation fails.
\nYou are not required to supply the key ID and encryption algorithm when you decrypt with symmetric encryption KMS keys because KMS stores this information in the ciphertext blob. KMS cannot store metadata in ciphertext generated with asymmetric keys. The standard format for asymmetric key ciphertext does not include configurable fields.
\nThe maximum size of the data that you can encrypt varies with the type of KMS key and the\n encryption algorithm that you choose.
\nSymmetric encryption KMS keys
\n\n SYMMETRIC_DEFAULT
: 4096 bytes
\n RSA_2048
\n
\n RSAES_OAEP_SHA_1
: 214 bytes
\n RSAES_OAEP_SHA_256
: 190 bytes
\n RSA_3072
\n
\n RSAES_OAEP_SHA_1
: 342 bytes
\n RSAES_OAEP_SHA_256
: 318 bytes
\n RSA_4096
\n
\n RSAES_OAEP_SHA_1
: 470 bytes
\n RSAES_OAEP_SHA_256
: 446 bytes
\n SM2PKE
: 1024 bytes (China Regions only)
The KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify\n the key ARN or alias ARN in the value of the KeyId
parameter.
\n Required permissions: kms:Encrypt (key policy)
\n\n Related operations:\n
\n\n Decrypt\n
\n\n GenerateDataKey\n
\n\n GenerateDataKeyPair\n
\nEncrypts plaintext of up to 4,096 bytes using a KMS key. You can use a symmetric or\n asymmetric KMS key with a KeyUsage
of ENCRYPT_DECRYPT
.
You can use this operation to encrypt small amounts of arbitrary data, such as a personal\n identifier or database password, or other sensitive information. You don't need to use the\n Encrypt
operation to encrypt a data key. The GenerateDataKey\n and GenerateDataKeyPair operations return a plaintext data key and an\n encrypted copy of that data key.
If you use a symmetric encryption KMS key, you can use an encryption context to add\n additional security to your encryption operation. If you specify an\n EncryptionContext
when encrypting data, you must specify the same encryption\n context (a case-sensitive exact match) when decrypting the data. Otherwise, the request to\n decrypt fails with an InvalidCiphertextException
. For more information, see\n Encryption\n Context in the Key Management Service Developer Guide.
If you specify an asymmetric KMS key, you must also specify the encryption algorithm. The\n algorithm must be compatible with the KMS key spec.
\nWhen you use an asymmetric KMS key to encrypt or reencrypt data, be sure to record the KMS key and encryption algorithm that you choose. You will be required to provide the same KMS key and encryption algorithm when you decrypt the data. If the KMS key and algorithm do not match the values used to encrypt the data, the decrypt operation fails.
\nYou are not required to supply the key ID and encryption algorithm when you decrypt with symmetric encryption KMS keys because KMS stores this information in the ciphertext blob. KMS cannot store metadata in ciphertext generated with asymmetric keys. The standard format for asymmetric key ciphertext does not include configurable fields.
\nThe maximum size of the data that you can encrypt varies with the type of KMS key and the\n encryption algorithm that you choose.
\nSymmetric encryption KMS keys
\n\n SYMMETRIC_DEFAULT
: 4096 bytes
\n RSA_2048
\n
\n RSAES_OAEP_SHA_1
: 214 bytes
\n RSAES_OAEP_SHA_256
: 190 bytes
\n RSA_3072
\n
\n RSAES_OAEP_SHA_1
: 342 bytes
\n RSAES_OAEP_SHA_256
: 318 bytes
\n RSA_4096
\n
\n RSAES_OAEP_SHA_1
: 470 bytes
\n RSAES_OAEP_SHA_256
: 446 bytes
\n SM2PKE
: 1024 bytes (China Regions only)
The KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify\n the key ARN or alias ARN in the value of the KeyId
parameter.
\n Required permissions: kms:Encrypt (key policy)
\n\n Related operations:\n
\n\n Decrypt\n
\n\n GenerateDataKey\n
\n\n GenerateDataKeyPair\n
\nReturns a unique symmetric data key for use outside of KMS. This operation returns a\n plaintext copy of the data key and a copy that is encrypted under a symmetric encryption KMS\n key that you specify. The bytes in the plaintext key are random; they are not related to the\n caller or the KMS key. You can use the plaintext key to encrypt your data outside of KMS and\n store the encrypted data key with the encrypted data.
\nTo generate a data key, specify the symmetric encryption KMS key that will be used to\n encrypt the data key. You cannot use an asymmetric KMS key to encrypt data keys. To get the\n type of your KMS key, use the DescribeKey operation.
\nYou must also specify the length of the data key. Use either the KeySpec
or\n NumberOfBytes
parameters (but not both). For 128-bit and 256-bit data keys, use\n the KeySpec
parameter.
To generate a 128-bit SM4 data key (China Regions only), specify a KeySpec
\n value of AES_128
or a NumberOfBytes
value of 16
. The\n symmetric encryption key used in China Regions to encrypt your data key is an SM4 encryption\n key.
To get only an encrypted copy of the data key, use GenerateDataKeyWithoutPlaintext. To generate an asymmetric data key pair, use\n the GenerateDataKeyPair or GenerateDataKeyPairWithoutPlaintext operation. To get a cryptographically secure\n random byte string, use GenerateRandom.
\nYou can use an optional encryption context to add additional security to the encryption\n operation. If you specify an EncryptionContext
, you must specify the same\n encryption context (a case-sensitive exact match) when decrypting the encrypted data key.\n Otherwise, the request to decrypt fails with an InvalidCiphertextException
. For more information, see Encryption Context in the\n Key Management Service Developer Guide.
\n GenerateDataKey
also supports Amazon Web Services Nitro Enclaves, which provide an\n isolated compute environment in Amazon EC2. To call GenerateDataKey
for an Amazon Web Services Nitro\n enclave, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK. Use the Recipient
parameter\n to provide the attestation document for the enclave. GenerateDataKey
returns a\n copy of the data key encrypted under the specified KMS key, as usual. But instead of a\n plaintext copy of the data key, the response includes a copy of the data key encrypted under\n the public key from the attestation document (CiphertextForRecipient
).\n For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide..
The KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n How to use your data key\n
\nWe recommend that you use the following pattern to encrypt data locally in your\n application. You can write your own code or use a client-side encryption library, such as the\n Amazon Web Services Encryption SDK, the\n Amazon DynamoDB Encryption Client,\n or Amazon S3\n client-side encryption to do these tasks for you.
\nTo encrypt data outside of KMS:
\nUse the GenerateDataKey
operation to get a data key.
Use the plaintext data key (in the Plaintext
field of the response) to\n encrypt your data outside of KMS. Then erase the plaintext data key from memory.
Store the encrypted data key (in the CiphertextBlob
field of the\n response) with the encrypted data.
To decrypt data outside of KMS:
\nUse the Decrypt operation to decrypt the encrypted data key. The\n operation returns a plaintext copy of the data key.
\nUse the plaintext data key to decrypt data outside of KMS, then erase the plaintext\n data key from memory.
\n\n Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify\n the key ARN or alias ARN in the value of the KeyId
parameter.
\n Required permissions: kms:GenerateDataKey (key policy)
\n\n Related operations:\n
\n\n Decrypt\n
\n\n Encrypt\n
\n\n GenerateDataKeyPair\n
\nReturns a unique symmetric data key for use outside of KMS. This operation returns a\n plaintext copy of the data key and a copy that is encrypted under a symmetric encryption KMS\n key that you specify. The bytes in the plaintext key are random; they are not related to the\n caller or the KMS key. You can use the plaintext key to encrypt your data outside of KMS and\n store the encrypted data key with the encrypted data.
\nTo generate a data key, specify the symmetric encryption KMS key that will be used to\n encrypt the data key. You cannot use an asymmetric KMS key to encrypt data keys. To get the\n type of your KMS key, use the DescribeKey operation.
\nYou must also specify the length of the data key. Use either the KeySpec
or\n NumberOfBytes
parameters (but not both). For 128-bit and 256-bit data keys, use\n the KeySpec
parameter.
To generate a 128-bit SM4 data key (China Regions only), specify a KeySpec
\n value of AES_128
or a NumberOfBytes
value of 16
. The\n symmetric encryption key used in China Regions to encrypt your data key is an SM4 encryption\n key.
To get only an encrypted copy of the data key, use GenerateDataKeyWithoutPlaintext. To generate an asymmetric data key pair, use\n the GenerateDataKeyPair or GenerateDataKeyPairWithoutPlaintext operation. To get a cryptographically secure\n random byte string, use GenerateRandom.
\nYou can use an optional encryption context to add additional security to the encryption\n operation. If you specify an EncryptionContext
, you must specify the same\n encryption context (a case-sensitive exact match) when decrypting the encrypted data key.\n Otherwise, the request to decrypt fails with an InvalidCiphertextException
. For more information, see Encryption Context in the\n Key Management Service Developer Guide.
\n GenerateDataKey
also supports Amazon Web Services Nitro Enclaves, which provide an\n isolated compute environment in Amazon EC2. To call GenerateDataKey
for an Amazon Web Services Nitro\n enclave, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK. Use the Recipient
parameter\n to provide the attestation document for the enclave. GenerateDataKey
returns a\n copy of the data key encrypted under the specified KMS key, as usual. But instead of a\n plaintext copy of the data key, the response includes a copy of the data key encrypted under\n the public key from the attestation document (CiphertextForRecipient
).\n For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide..
The KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n How to use your data key\n
\nWe recommend that you use the following pattern to encrypt data locally in your\n application. You can write your own code or use a client-side encryption library, such as the\n Amazon Web Services Encryption SDK, the\n Amazon DynamoDB Encryption Client,\n or Amazon S3\n client-side encryption to do these tasks for you.
\nTo encrypt data outside of KMS:
\nUse the GenerateDataKey
operation to get a data key.
Use the plaintext data key (in the Plaintext
field of the response) to\n encrypt your data outside of KMS. Then erase the plaintext data key from memory.
Store the encrypted data key (in the CiphertextBlob
field of the\n response) with the encrypted data.
To decrypt data outside of KMS:
\nUse the Decrypt operation to decrypt the encrypted data key. The\n operation returns a plaintext copy of the data key.
\nUse the plaintext data key to decrypt data outside of KMS, then erase the plaintext\n data key from memory.
\n\n Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify\n the key ARN or alias ARN in the value of the KeyId
parameter.
\n Required permissions: kms:GenerateDataKey (key policy)
\n\n Related operations:\n
\n\n Decrypt\n
\n\n Encrypt\n
\n\n GenerateDataKeyPair\n
\nReturns a unique asymmetric data key pair for use outside of KMS. This operation returns\n a plaintext public key, a plaintext private key, and a copy of the private key that is\n encrypted under the symmetric encryption KMS key you specify. You can use the data key pair to\n perform asymmetric cryptography and implement digital signatures outside of KMS. The bytes\n in the keys are random; they not related to the caller or to the KMS key that is used to\n encrypt the private key.
\nYou can use the public key that GenerateDataKeyPair
returns to encrypt data\n or verify a signature outside of KMS. Then, store the encrypted private key with the data.\n When you are ready to decrypt data or sign a message, you can use the Decrypt operation to decrypt the encrypted private key.
To generate a data key pair, you must specify a symmetric encryption KMS key to encrypt\n the private key in a data key pair. You cannot use an asymmetric KMS key or a KMS key in a\n custom key store. To get the type and origin of your KMS key, use the DescribeKey operation.
\nUse the KeyPairSpec
parameter to choose an RSA or Elliptic Curve (ECC) data\n key pair. In China Regions, you can also choose an SM2 data key pair. KMS recommends that\n you use ECC key pairs for signing, and use RSA and SM2 key pairs for either encryption or\n signing, but not both. However, KMS cannot enforce any restrictions on the use of data key\n pairs outside of KMS.
If you are using the data key pair to encrypt data, or for any operation where you don't\n immediately need a private key, consider using the GenerateDataKeyPairWithoutPlaintext operation.\n GenerateDataKeyPairWithoutPlaintext
returns a plaintext public key and an\n encrypted private key, but omits the plaintext private key that you need only to decrypt\n ciphertext or sign a message. Later, when you need to decrypt the data or sign a message, use\n the Decrypt operation to decrypt the encrypted private key in the data key\n pair.
\n GenerateDataKeyPair
returns a unique data key pair for each request. The\n bytes in the keys are random; they are not related to the caller or the KMS key that is used\n to encrypt the private key. The public key is a DER-encoded X.509 SubjectPublicKeyInfo, as\n specified in RFC 5280. The private\n key is a DER-encoded PKCS8 PrivateKeyInfo, as specified in RFC 5958.
\n GenerateDataKeyPair
also supports Amazon Web Services Nitro Enclaves, which provide an\n isolated compute environment in Amazon EC2. To call GenerateDataKeyPair
for an Amazon Web Services\n Nitro enclave, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK. Use the Recipient
\n parameter to provide the attestation document for the enclave.\n GenerateDataKeyPair
returns the public data key and a copy of the private data\n key encrypted under the specified KMS key, as usual. But instead of a plaintext copy of the\n private data key (PrivateKeyPlaintext
), the response includes a copy of the\n private data key encrypted under the public key from the attestation document\n (CiphertextForRecipient
). For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide..
You can use an optional encryption context to add additional security to the encryption\n operation. If you specify an EncryptionContext
, you must specify the same\n encryption context (a case-sensitive exact match) when decrypting the encrypted data key.\n Otherwise, the request to decrypt fails with an InvalidCiphertextException
. For more information, see Encryption Context in the\n Key Management Service Developer Guide.
The KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify\n the key ARN or alias ARN in the value of the KeyId
parameter.
\n Required permissions: kms:GenerateDataKeyPair (key policy)
\n\n Related operations:\n
\n\n Decrypt\n
\n\n Encrypt\n
\n\n GenerateDataKey\n
\nReturns a unique asymmetric data key pair for use outside of KMS. This operation returns\n a plaintext public key, a plaintext private key, and a copy of the private key that is\n encrypted under the symmetric encryption KMS key you specify. You can use the data key pair to\n perform asymmetric cryptography and implement digital signatures outside of KMS. The bytes\n in the keys are random; they not related to the caller or to the KMS key that is used to\n encrypt the private key.
\nYou can use the public key that GenerateDataKeyPair
returns to encrypt data\n or verify a signature outside of KMS. Then, store the encrypted private key with the data.\n When you are ready to decrypt data or sign a message, you can use the Decrypt operation to decrypt the encrypted private key.
To generate a data key pair, you must specify a symmetric encryption KMS key to encrypt\n the private key in a data key pair. You cannot use an asymmetric KMS key or a KMS key in a\n custom key store. To get the type and origin of your KMS key, use the DescribeKey operation.
\nUse the KeyPairSpec
parameter to choose an RSA or Elliptic Curve (ECC) data\n key pair. In China Regions, you can also choose an SM2 data key pair. KMS recommends that\n you use ECC key pairs for signing, and use RSA and SM2 key pairs for either encryption or\n signing, but not both. However, KMS cannot enforce any restrictions on the use of data key\n pairs outside of KMS.
If you are using the data key pair to encrypt data, or for any operation where you don't\n immediately need a private key, consider using the GenerateDataKeyPairWithoutPlaintext operation.\n GenerateDataKeyPairWithoutPlaintext
returns a plaintext public key and an\n encrypted private key, but omits the plaintext private key that you need only to decrypt\n ciphertext or sign a message. Later, when you need to decrypt the data or sign a message, use\n the Decrypt operation to decrypt the encrypted private key in the data key\n pair.
\n GenerateDataKeyPair
returns a unique data key pair for each request. The\n bytes in the keys are random; they are not related to the caller or the KMS key that is used\n to encrypt the private key. The public key is a DER-encoded X.509 SubjectPublicKeyInfo, as\n specified in RFC 5280. The private\n key is a DER-encoded PKCS8 PrivateKeyInfo, as specified in RFC 5958.
\n GenerateDataKeyPair
also supports Amazon Web Services Nitro Enclaves, which provide an\n isolated compute environment in Amazon EC2. To call GenerateDataKeyPair
for an Amazon Web Services\n Nitro enclave, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK. Use the Recipient
\n parameter to provide the attestation document for the enclave.\n GenerateDataKeyPair
returns the public data key and a copy of the private data\n key encrypted under the specified KMS key, as usual. But instead of a plaintext copy of the\n private data key (PrivateKeyPlaintext
), the response includes a copy of the\n private data key encrypted under the public key from the attestation document\n (CiphertextForRecipient
). For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide..
You can use an optional encryption context to add additional security to the encryption\n operation. If you specify an EncryptionContext
, you must specify the same\n encryption context (a case-sensitive exact match) when decrypting the encrypted data key.\n Otherwise, the request to decrypt fails with an InvalidCiphertextException
. For more information, see Encryption Context in the\n Key Management Service Developer Guide.
The KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify\n the key ARN or alias ARN in the value of the KeyId
parameter.
\n Required permissions: kms:GenerateDataKeyPair (key policy)
\n\n Related operations:\n
\n\n Decrypt\n
\n\n Encrypt\n
\n\n GenerateDataKey\n
\nReturns a unique asymmetric data key pair for use outside of KMS. This operation returns\n a plaintext public key and a copy of the private key that is encrypted under the symmetric\n encryption KMS key you specify. Unlike GenerateDataKeyPair, this operation\n does not return a plaintext private key. The bytes in the keys are random; they are not\n related to the caller or to the KMS key that is used to encrypt the private key.
\nYou can use the public key that GenerateDataKeyPairWithoutPlaintext
returns\n to encrypt data or verify a signature outside of KMS. Then, store the encrypted private key\n with the data. When you are ready to decrypt data or sign a message, you can use the Decrypt operation to decrypt the encrypted private key.
To generate a data key pair, you must specify a symmetric encryption KMS key to encrypt\n the private key in a data key pair. You cannot use an asymmetric KMS key or a KMS key in a\n custom key store. To get the type and origin of your KMS key, use the DescribeKey operation.
\nUse the KeyPairSpec
parameter to choose an RSA or Elliptic Curve (ECC) data\n key pair. In China Regions, you can also choose an SM2 data key pair. KMS recommends that\n you use ECC key pairs for signing, and use RSA and SM2 key pairs for either encryption or\n signing, but not both. However, KMS cannot enforce any restrictions on the use of data key\n pairs outside of KMS.
\n GenerateDataKeyPairWithoutPlaintext
returns a unique data key pair for each\n request. The bytes in the key are not related to the caller or KMS key that is used to encrypt\n the private key. The public key is a DER-encoded X.509 SubjectPublicKeyInfo, as specified in\n RFC 5280.
You can use an optional encryption context to add additional security to the encryption\n operation. If you specify an EncryptionContext
, you must specify the same\n encryption context (a case-sensitive exact match) when decrypting the encrypted data key.\n Otherwise, the request to decrypt fails with an InvalidCiphertextException
. For more information, see Encryption Context in the\n Key Management Service Developer Guide.
The KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify\n the key ARN or alias ARN in the value of the KeyId
parameter.
\n Required permissions: kms:GenerateDataKeyPairWithoutPlaintext (key\n policy)
\n\n Related operations:\n
\n\n Decrypt\n
\n\n Encrypt\n
\n\n GenerateDataKey\n
\n\n GenerateDataKeyPair\n
\nReturns a unique asymmetric data key pair for use outside of KMS. This operation returns\n a plaintext public key and a copy of the private key that is encrypted under the symmetric\n encryption KMS key you specify. Unlike GenerateDataKeyPair, this operation\n does not return a plaintext private key. The bytes in the keys are random; they are not\n related to the caller or to the KMS key that is used to encrypt the private key.
\nYou can use the public key that GenerateDataKeyPairWithoutPlaintext
returns\n to encrypt data or verify a signature outside of KMS. Then, store the encrypted private key\n with the data. When you are ready to decrypt data or sign a message, you can use the Decrypt operation to decrypt the encrypted private key.
To generate a data key pair, you must specify a symmetric encryption KMS key to encrypt\n the private key in a data key pair. You cannot use an asymmetric KMS key or a KMS key in a\n custom key store. To get the type and origin of your KMS key, use the DescribeKey operation.
\nUse the KeyPairSpec
parameter to choose an RSA or Elliptic Curve (ECC) data\n key pair. In China Regions, you can also choose an SM2 data key pair. KMS recommends that\n you use ECC key pairs for signing, and use RSA and SM2 key pairs for either encryption or\n signing, but not both. However, KMS cannot enforce any restrictions on the use of data key\n pairs outside of KMS.
\n GenerateDataKeyPairWithoutPlaintext
returns a unique data key pair for each\n request. The bytes in the key are not related to the caller or KMS key that is used to encrypt\n the private key. The public key is a DER-encoded X.509 SubjectPublicKeyInfo, as specified in\n RFC 5280.
You can use an optional encryption context to add additional security to the encryption\n operation. If you specify an EncryptionContext
, you must specify the same\n encryption context (a case-sensitive exact match) when decrypting the encrypted data key.\n Otherwise, the request to decrypt fails with an InvalidCiphertextException
. For more information, see Encryption Context in the\n Key Management Service Developer Guide.
The KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify\n the key ARN or alias ARN in the value of the KeyId
parameter.
\n Required permissions: kms:GenerateDataKeyPairWithoutPlaintext (key\n policy)
\n\n Related operations:\n
\n\n Decrypt\n
\n\n Encrypt\n
\n\n GenerateDataKey\n
\n\n GenerateDataKeyPair\n
\nReturns a unique symmetric data key for use outside of KMS. This operation returns a\n data key that is encrypted under a symmetric encryption KMS key that you specify. The bytes in\n the key are random; they are not related to the caller or to the KMS key.
\n\n GenerateDataKeyWithoutPlaintext
is identical to the GenerateDataKey operation except that it does not return a plaintext copy of the\n data key.
This operation is useful for systems that need to encrypt data at some point, but not\n immediately. When you need to encrypt the data, you call the Decrypt\n operation on the encrypted copy of the key.
\nIt's also useful in distributed systems with different levels of trust. For example, you\n might store encrypted data in containers. One component of your system creates new containers\n and stores an encrypted data key with each container. Then, a different component puts the\n data into the containers. That component first decrypts the data key, uses the plaintext data\n key to encrypt data, puts the encrypted data into the container, and then destroys the\n plaintext data key. In this system, the component that creates the containers never sees the\n plaintext data key.
\nTo request an asymmetric data key pair, use the GenerateDataKeyPair or\n GenerateDataKeyPairWithoutPlaintext operations.
\nTo generate a data key, you must specify the symmetric encryption KMS key that is used to\n encrypt the data key. You cannot use an asymmetric KMS key or a key in a custom key store to\n generate a data key. To get the type of your KMS key, use the DescribeKey\n operation.
\nYou must also specify the length of the data key. Use either the KeySpec
or\n NumberOfBytes
parameters (but not both). For 128-bit and 256-bit data keys, use\n the KeySpec
parameter.
To generate an SM4 data key (China Regions only), specify a KeySpec
value of\n AES_128
or NumberOfBytes
value of 16
. The symmetric\n encryption key used in China Regions to encrypt your data key is an SM4 encryption key.
If the operation succeeds, you will find the encrypted copy of the data key in the\n CiphertextBlob
field.
You can use an optional encryption context to add additional security to the encryption\n operation. If you specify an EncryptionContext
, you must specify the same\n encryption context (a case-sensitive exact match) when decrypting the encrypted data key.\n Otherwise, the request to decrypt fails with an InvalidCiphertextException
. For more information, see Encryption Context in the\n Key Management Service Developer Guide.
The KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify\n the key ARN or alias ARN in the value of the KeyId
parameter.
\n Required permissions: kms:GenerateDataKeyWithoutPlaintext (key\n policy)
\n\n Related operations:\n
\n\n Decrypt\n
\n\n Encrypt\n
\n\n GenerateDataKey\n
\n\n GenerateDataKeyPair\n
\nReturns a unique symmetric data key for use outside of KMS. This operation returns a\n data key that is encrypted under a symmetric encryption KMS key that you specify. The bytes in\n the key are random; they are not related to the caller or to the KMS key.
\n\n GenerateDataKeyWithoutPlaintext
is identical to the GenerateDataKey operation except that it does not return a plaintext copy of the\n data key.
This operation is useful for systems that need to encrypt data at some point, but not\n immediately. When you need to encrypt the data, you call the Decrypt\n operation on the encrypted copy of the key.
\nIt's also useful in distributed systems with different levels of trust. For example, you\n might store encrypted data in containers. One component of your system creates new containers\n and stores an encrypted data key with each container. Then, a different component puts the\n data into the containers. That component first decrypts the data key, uses the plaintext data\n key to encrypt data, puts the encrypted data into the container, and then destroys the\n plaintext data key. In this system, the component that creates the containers never sees the\n plaintext data key.
\nTo request an asymmetric data key pair, use the GenerateDataKeyPair or\n GenerateDataKeyPairWithoutPlaintext operations.
\nTo generate a data key, you must specify the symmetric encryption KMS key that is used to\n encrypt the data key. You cannot use an asymmetric KMS key or a key in a custom key store to\n generate a data key. To get the type of your KMS key, use the DescribeKey\n operation.
\nYou must also specify the length of the data key. Use either the KeySpec
or\n NumberOfBytes
parameters (but not both). For 128-bit and 256-bit data keys, use\n the KeySpec
parameter.
To generate an SM4 data key (China Regions only), specify a KeySpec
value of\n AES_128
or NumberOfBytes
value of 16
. The symmetric\n encryption key used in China Regions to encrypt your data key is an SM4 encryption key.
If the operation succeeds, you will find the encrypted copy of the data key in the\n CiphertextBlob
field.
You can use an optional encryption context to add additional security to the encryption\n operation. If you specify an EncryptionContext
, you must specify the same\n encryption context (a case-sensitive exact match) when decrypting the encrypted data key.\n Otherwise, the request to decrypt fails with an InvalidCiphertextException
. For more information, see Encryption Context in the\n Key Management Service Developer Guide.
The KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify\n the key ARN or alias ARN in the value of the KeyId
parameter.
\n Required permissions: kms:GenerateDataKeyWithoutPlaintext (key\n policy)
\n\n Related operations:\n
\n\n Decrypt\n
\n\n Encrypt\n
\n\n GenerateDataKey\n
\n\n GenerateDataKeyPair\n
\nGenerates a hash-based message authentication code (HMAC) for a message using an HMAC KMS\n key and a MAC algorithm that the key supports. HMAC KMS keys and the HMAC algorithms that\n KMS uses conform to industry standards defined in RFC 2104.
\nYou can use value that GenerateMac returns in the VerifyMac operation to\n demonstrate that the original message has not changed. Also, because a secret key is used to\n create the hash, you can verify that the party that generated the hash has the required secret\n key. You can also use the raw result to implement HMAC-based algorithms such as key derivation\n functions. This operation is part of KMS support for HMAC KMS keys. For\n details, see HMAC keys in\n KMS in the \n Key Management Service Developer Guide\n .
\nBest practices recommend that you limit the time during which any signing mechanism,\n including an HMAC, is effective. This deters an attack where the actor uses a signed message\n to establish validity repeatedly or long after the message is superseded. HMAC tags do not\n include a timestamp, but you can include a timestamp in the token or message to help you\n detect when its time to refresh the HMAC.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify\n the key ARN or alias ARN in the value of the KeyId
parameter.
\n Required permissions: kms:GenerateMac (key policy)
\n\n Related operations: VerifyMac\n
" + "smithy.api#documentation": "Generates a hash-based message authentication code (HMAC) for a message using an HMAC KMS\n key and a MAC algorithm that the key supports. HMAC KMS keys and the HMAC algorithms that\n KMS uses conform to industry standards defined in RFC 2104.
\nYou can use value that GenerateMac returns in the VerifyMac operation to\n demonstrate that the original message has not changed. Also, because a secret key is used to\n create the hash, you can verify that the party that generated the hash has the required secret\n key. You can also use the raw result to implement HMAC-based algorithms such as key derivation\n functions. This operation is part of KMS support for HMAC KMS keys. For\n details, see HMAC keys in\n KMS in the \n Key Management Service Developer Guide\n .
\nBest practices recommend that you limit the time during which any signing mechanism,\n including an HMAC, is effective. This deters an attack where the actor uses a signed message\n to establish validity repeatedly or long after the message is superseded. HMAC tags do not\n include a timestamp, but you can include a timestamp in the token or message to help you\n detect when its time to refresh the HMAC.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify\n the key ARN or alias ARN in the value of the KeyId
parameter.
\n Required permissions: kms:GenerateMac (key policy)
\n\n Related operations: VerifyMac\n
", + "smithy.api#examples": [ + { + "title": "To generate an HMAC for a message", + "documentation": "This example generates an HMAC for a message, an HMAC KMS key, and a MAC algorithm. The algorithm must be supported by the specified HMAC KMS key.", + "input": { + "Message": "Hello World", + "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab", + "MacAlgorithm": "HMAC_SHA_384" + }, + "output": { + "Mac": "Returns a random byte string that is cryptographically secure.
\nYou must use the NumberOfBytes
parameter to specify the length of the random\n byte string. There is no default value for string length.
By default, the random byte string is generated in KMS. To generate the byte string in\n the CloudHSM cluster associated with an CloudHSM key store, use the CustomKeyStoreId
\n parameter.
\n GenerateRandom
also supports Amazon Web Services Nitro Enclaves, which provide an\n isolated compute environment in Amazon EC2. To call GenerateRandom
for a Nitro\n enclave, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK. Use the Recipient
parameter\n to provide the attestation document for the enclave. Instead of plaintext bytes, the response\n includes the plaintext bytes encrypted under the public key from the attestation document\n (CiphertextForRecipient
).For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide.
For more information about entropy and random number generation, see\n Key Management Service Cryptographic Details.
\n\n Cross-account use: Not applicable.\n GenerateRandom
does not use any account-specific resources, such as KMS\n keys.
\n Required permissions: kms:GenerateRandom (IAM policy)
" + "smithy.api#documentation": "Returns a random byte string that is cryptographically secure.
\nYou must use the NumberOfBytes
parameter to specify the length of the random\n byte string. There is no default value for string length.
By default, the random byte string is generated in KMS. To generate the byte string in\n the CloudHSM cluster associated with an CloudHSM key store, use the CustomKeyStoreId
\n parameter.
\n GenerateRandom
also supports Amazon Web Services Nitro Enclaves, which provide an\n isolated compute environment in Amazon EC2. To call GenerateRandom
for a Nitro\n enclave, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK. Use the Recipient
parameter\n to provide the attestation document for the enclave. Instead of plaintext bytes, the response\n includes the plaintext bytes encrypted under the public key from the attestation document\n (CiphertextForRecipient
).For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide.
For more information about entropy and random number generation, see\n Key Management Service Cryptographic Details.
\n\n Cross-account use: Not applicable.\n GenerateRandom
does not use any account-specific resources, such as KMS\n keys.
\n Required permissions: kms:GenerateRandom (IAM policy)
", + "smithy.api#examples": [ + { + "title": "To generate random data", + "documentation": "The following example generates 32 bytes of random data.", + "input": { + "NumberOfBytes": 32 + }, + "output": { + "Plaintext": "Gets a key policy attached to the specified KMS key.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:GetKeyPolicy (key policy)
\n\n Related operations: PutKeyPolicy\n
" + "smithy.api#documentation": "Gets a key policy attached to the specified KMS key.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:GetKeyPolicy (key policy)
\n\n Related operations: PutKeyPolicy\n
", + "smithy.api#examples": [ + { + "title": "To retrieve a key policy", + "documentation": "The following example retrieves the key policy for the specified KMS key.", + "input": { + "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab", + "PolicyName": "default" + }, + "output": { + "Policy": "{\n \"Version\" : \"2012-10-17\",\n \"Id\" : \"key-default-1\",\n \"Statement\" : [ {\n \"Sid\" : \"Enable IAM User Permissions\",\n \"Effect\" : \"Allow\",\n \"Principal\" : {\n \"AWS\" : \"arn:aws:iam::111122223333:root\"\n },\n \"Action\" : \"kms:*\",\n \"Resource\" : \"*\"\n } ]\n}" + } + } + ] } }, "com.amazonaws.kms#GetKeyPolicyRequest": { @@ -2990,7 +3271,19 @@ } ], "traits": { - "smithy.api#documentation": "Gets a Boolean value that indicates whether automatic rotation of the key material is\n enabled for the specified KMS key.
\nWhen you enable automatic rotation for customer managed KMS keys, KMS\n rotates the key material of the KMS key one year (approximately 365 days) from the enable date\n and every year thereafter. You can monitor rotation of the key material for your KMS keys in\n CloudTrail and Amazon CloudWatch.
\nAutomatic key rotation is supported only on symmetric encryption KMS keys.\n You cannot enable automatic rotation of asymmetric KMS keys, HMAC KMS keys, KMS keys with imported key material, or KMS keys in a custom key store. To enable or disable automatic rotation of a set of related multi-Region keys, set the property on the primary key..
\nYou can enable (EnableKeyRotation) and disable automatic rotation (DisableKeyRotation) of the key material in customer managed KMS keys. Key\n material rotation of Amazon Web Services managed KMS keys is not\n configurable. KMS always rotates the key material in Amazon Web Services managed KMS keys every year. The\n key rotation status for Amazon Web Services managed KMS keys is always true
.
In May 2022, KMS changed the rotation schedule for Amazon Web Services managed keys from every three\n years to every year. For details, see EnableKeyRotation.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\nDisabled: The key rotation status does not change when you disable a KMS key. However,\n while the KMS key is disabled, KMS does not rotate the key material. When you re-enable\n the KMS key, rotation resumes. If the key material in the re-enabled KMS key hasn't been\n rotated in one year, KMS rotates it immediately, and every year thereafter. If it's been\n less than a year since the key material in the re-enabled KMS key was rotated, the KMS key\n resumes its prior rotation schedule.
\nPending deletion: While a KMS key is pending deletion, its key rotation status is\n false
and KMS does not rotate the key material. If you cancel the\n deletion, the original key rotation status returns to true
.
\n Cross-account use: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key\n ARN in the value of the KeyId
parameter.
\n Required permissions: kms:GetKeyRotationStatus (key policy)
\n\n Related operations:\n
\n\n DisableKeyRotation\n
\n\n EnableKeyRotation\n
\nGets a Boolean value that indicates whether automatic rotation of the key material is\n enabled for the specified KMS key.
\nWhen you enable automatic rotation for customer managed KMS keys, KMS\n rotates the key material of the KMS key one year (approximately 365 days) from the enable date\n and every year thereafter. You can monitor rotation of the key material for your KMS keys in\n CloudTrail and Amazon CloudWatch.
\nAutomatic key rotation is supported only on symmetric encryption KMS keys.\n You cannot enable automatic rotation of asymmetric KMS keys, HMAC KMS keys, KMS keys with imported key material, or KMS keys in a custom key store. To enable or disable automatic rotation of a set of related multi-Region keys, set the property on the primary key..
\nYou can enable (EnableKeyRotation) and disable automatic rotation (DisableKeyRotation) of the key material in customer managed KMS keys. Key\n material rotation of Amazon Web Services managed KMS keys is not\n configurable. KMS always rotates the key material in Amazon Web Services managed KMS keys every year. The\n key rotation status for Amazon Web Services managed KMS keys is always true
.
In May 2022, KMS changed the rotation schedule for Amazon Web Services managed keys from every three\n years to every year. For details, see EnableKeyRotation.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\nDisabled: The key rotation status does not change when you disable a KMS key. However,\n while the KMS key is disabled, KMS does not rotate the key material. When you re-enable\n the KMS key, rotation resumes. If the key material in the re-enabled KMS key hasn't been\n rotated in one year, KMS rotates it immediately, and every year thereafter. If it's been\n less than a year since the key material in the re-enabled KMS key was rotated, the KMS key\n resumes its prior rotation schedule.
\nPending deletion: While a KMS key is pending deletion, its key rotation status is\n false
and KMS does not rotate the key material. If you cancel the\n deletion, the original key rotation status returns to true
.
\n Cross-account use: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key\n ARN in the value of the KeyId
parameter.
\n Required permissions: kms:GetKeyRotationStatus (key policy)
\n\n Related operations:\n
\n\n DisableKeyRotation\n
\n\n EnableKeyRotation\n
\nReturns the public key of an asymmetric KMS key. Unlike the private key of a asymmetric\n KMS key, which never leaves KMS unencrypted, callers with kms:GetPublicKey
\n permission can download the public key of an asymmetric KMS key. You can share the public key\n to allow others to encrypt messages and verify signatures outside of KMS.\n For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.
You do not need to download the public key. Instead, you can use the public key within\n KMS by calling the Encrypt, ReEncrypt, or Verify operations with the identifier of an asymmetric KMS key. When you use the\n public key within KMS, you benefit from the authentication, authorization, and logging that\n are part of every KMS operation. You also reduce of risk of encrypting data that cannot be\n decrypted. These features are not effective outside of KMS.
\nTo help you use the public key safely outside of KMS, GetPublicKey
returns\n important information about the public key in the response, including:
\n KeySpec: The type of key material in the public key, such as\n RSA_4096
or ECC_NIST_P521
.
\n KeyUsage: Whether the key is used for encryption or signing.
\n\n EncryptionAlgorithms or SigningAlgorithms: A list of the encryption algorithms or the signing\n algorithms for the key.
\nAlthough KMS cannot enforce these restrictions on external operations, it is crucial\n that you use this information to prevent the public key from being used improperly. For\n example, you can prevent a public signing key from being used encrypt data, or prevent a\n public key from being used with an encryption algorithm that is not supported by KMS. You\n can also avoid errors, such as using the wrong signing algorithm in a verification\n operation.
\nTo verify a signature outside of KMS with an SM2 public key (China Regions only), you\n must specify the distinguishing ID. By default, KMS uses 1234567812345678
as\n the distinguishing ID. For more information, see Offline\n verification with SM2 key pairs.
The KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify\n the key ARN or alias ARN in the value of the KeyId
parameter.
\n Required permissions: kms:GetPublicKey (key policy)
\n\n Related operations: CreateKey\n
" + "smithy.api#documentation": "Returns the public key of an asymmetric KMS key. Unlike the private key of a asymmetric\n KMS key, which never leaves KMS unencrypted, callers with kms:GetPublicKey
\n permission can download the public key of an asymmetric KMS key. You can share the public key\n to allow others to encrypt messages and verify signatures outside of KMS.\n For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.
You do not need to download the public key. Instead, you can use the public key within\n KMS by calling the Encrypt, ReEncrypt, or Verify operations with the identifier of an asymmetric KMS key. When you use the\n public key within KMS, you benefit from the authentication, authorization, and logging that\n are part of every KMS operation. You also reduce of risk of encrypting data that cannot be\n decrypted. These features are not effective outside of KMS.
\nTo help you use the public key safely outside of KMS, GetPublicKey
returns\n important information about the public key in the response, including:
\n KeySpec: The type of key material in the public key, such as\n RSA_4096
or ECC_NIST_P521
.
\n KeyUsage: Whether the key is used for encryption or signing.
\n\n EncryptionAlgorithms or SigningAlgorithms: A list of the encryption algorithms or the signing\n algorithms for the key.
\nAlthough KMS cannot enforce these restrictions on external operations, it is crucial\n that you use this information to prevent the public key from being used improperly. For\n example, you can prevent a public signing key from being used encrypt data, or prevent a\n public key from being used with an encryption algorithm that is not supported by KMS. You\n can also avoid errors, such as using the wrong signing algorithm in a verification\n operation.
\nTo verify a signature outside of KMS with an SM2 public key (China Regions only), you\n must specify the distinguishing ID. By default, KMS uses 1234567812345678
as\n the distinguishing ID. For more information, see Offline\n verification with SM2 key pairs.
The KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify\n the key ARN or alias ARN in the value of the KeyId
parameter.
\n Required permissions: kms:GetPublicKey (key policy)
\n\n Related operations: CreateKey\n
", + "smithy.api#examples": [ + { + "title": "To download the public key of an asymmetric KMS key", + "documentation": "This example gets the public key of an asymmetric RSA KMS key used for encryption and decryption. The operation returns the key spec, key usage, and encryption or signing algorithms to help you use the public key correctly outside of AWS KMS.", + "input": { + "KeyId": "arn:aws:kms:us-west-2:111122223333:key/0987dcba-09fe-87dc-65ba-ab0987654321" + }, + "output": { + "KeyId": "arn:aws:kms:us-west-2:111122223333:key/0987dcba-09fe-87dc-65ba-ab0987654321", + "PublicKey": "Imports or reimports key material into an existing KMS key that was created without key\n material. ImportKeyMaterial
also sets the expiration model and expiration date of\n the imported key material.
By default, KMS keys are created with key material that KMS generates. This operation\n supports Importing key\n material, an advanced feature that lets you generate and import the cryptographic\n key material for a KMS key. For more information about importing key material into KMS, see\n Importing key\n material in the Key Management Service Developer Guide.
\nAfter you successfully import key material into a KMS key, you can reimport\n the same key material into that KMS key, but you cannot import different key\n material. You might reimport key material to replace key material that expired or key material\n that you deleted. You might also reimport key material to change the expiration model or\n expiration date of the key material. Before reimporting key material, if necessary, call DeleteImportedKeyMaterial to delete the current imported key material.
\nEach time you import key material into KMS, you can determine whether\n (ExpirationModel
) and when (ValidTo
) the key material expires. To\n change the expiration of your key material, you must import it again, either by calling\n ImportKeyMaterial
or using the import features of the KMS console.
Before calling ImportKeyMaterial
:
Create or identify a KMS key with no key material. The KMS key must have an\n Origin
value of EXTERNAL
, which indicates that the KMS key is\n designed for imported key material.
To create an new KMS key for imported key material, call the CreateKey operation with an Origin
value of EXTERNAL
. You can create a\n symmetric encryption KMS key, HMAC KMS key, asymmetric encryption KMS key, or asymmetric\n signing KMS key. You can also import key material into a multi-Region key of any\n supported type. However, you can't import key material into a KMS key in a custom key store.
Use the DescribeKey operation to verify that the\n KeyState
of the KMS key is PendingImport
, which indicates that\n the KMS key has no key material.
If you are reimporting the same key material into an existing KMS key, you might need\n to call the DeleteImportedKeyMaterial to delete its existing key\n material.
\nCall the GetParametersForImport operation to get a public key and\n import token set for importing key material.
\nUse the public key in the GetParametersForImport response to encrypt\n your key material.
\n Then, in an ImportKeyMaterial
request, you submit your encrypted key\n material and import token. When calling this operation, you must specify the following\n values:
The key ID or key ARN of the KMS key to associate with the imported key material. Its\n Origin
must be EXTERNAL
and its KeyState
must be\n PendingImport
. You cannot perform this operation on a KMS key in a custom key store, or on a KMS\n key in a different Amazon Web Services account. To get the Origin
and KeyState
\n of a KMS key, call DescribeKey.
The encrypted key material.
\nThe import token that GetParametersForImport returned. You must use\n a public key and token from the same GetParametersForImport
response.
Whether the key material expires (ExpirationModel
) and, if so, when\n (ValidTo
). For help with this choice, see Setting an expiration time in the Key Management Service Developer Guide.
If you set an expiration date, KMS deletes the key material from the KMS key on the\n specified date, making the KMS key unusable. To use the KMS key in cryptographic\n operations again, you must reimport the same key material. However, you can delete and\n reimport the key material at any time, including before the key material expires. Each\n time you reimport, you can eliminate or reset the expiration time.
\nWhen this operation is successful, the key state of the KMS key changes from\n PendingImport
to Enabled
, and you can use the KMS key in\n cryptographic operations.
If this operation fails, use the exception to help determine the problem. If the error is\n related to the key material, the import token, or wrapping key, use GetParametersForImport to get a new public key and import token for the KMS key\n and repeat the import procedure. For help, see How To Import Key\n Material in the Key Management Service Developer Guide.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:ImportKeyMaterial (key policy)
\n\n Related operations:\n
\nImports or reimports key material into an existing KMS key that was created without key\n material. ImportKeyMaterial
also sets the expiration model and expiration date of\n the imported key material.
By default, KMS keys are created with key material that KMS generates. This operation\n supports Importing key\n material, an advanced feature that lets you generate and import the cryptographic\n key material for a KMS key. For more information about importing key material into KMS, see\n Importing key\n material in the Key Management Service Developer Guide.
\nAfter you successfully import key material into a KMS key, you can reimport\n the same key material into that KMS key, but you cannot import different key\n material. You might reimport key material to replace key material that expired or key material\n that you deleted. You might also reimport key material to change the expiration model or\n expiration date of the key material. Before reimporting key material, if necessary, call DeleteImportedKeyMaterial to delete the current imported key material.
\nEach time you import key material into KMS, you can determine whether\n (ExpirationModel
) and when (ValidTo
) the key material expires. To\n change the expiration of your key material, you must import it again, either by calling\n ImportKeyMaterial
or using the import features of the KMS console.
Before calling ImportKeyMaterial
:
Create or identify a KMS key with no key material. The KMS key must have an\n Origin
value of EXTERNAL
, which indicates that the KMS key is\n designed for imported key material.
To create an new KMS key for imported key material, call the CreateKey operation with an Origin
value of EXTERNAL
. You can create a\n symmetric encryption KMS key, HMAC KMS key, asymmetric encryption KMS key, or asymmetric\n signing KMS key. You can also import key material into a multi-Region key of any\n supported type. However, you can't import key material into a KMS key in a custom key store.
Use the DescribeKey operation to verify that the\n KeyState
of the KMS key is PendingImport
, which indicates that\n the KMS key has no key material.
If you are reimporting the same key material into an existing KMS key, you might need\n to call the DeleteImportedKeyMaterial to delete its existing key\n material.
\nCall the GetParametersForImport operation to get a public key and\n import token set for importing key material.
\nUse the public key in the GetParametersForImport response to encrypt\n your key material.
\n Then, in an ImportKeyMaterial
request, you submit your encrypted key\n material and import token. When calling this operation, you must specify the following\n values:
The key ID or key ARN of the KMS key to associate with the imported key material. Its\n Origin
must be EXTERNAL
and its KeyState
must be\n PendingImport
. You cannot perform this operation on a KMS key in a custom key store, or on a KMS\n key in a different Amazon Web Services account. To get the Origin
and KeyState
\n of a KMS key, call DescribeKey.
The encrypted key material.
\nThe import token that GetParametersForImport returned. You must use\n a public key and token from the same GetParametersForImport
response.
Whether the key material expires (ExpirationModel
) and, if so, when\n (ValidTo
). For help with this choice, see Setting an expiration time in the Key Management Service Developer Guide.
If you set an expiration date, KMS deletes the key material from the KMS key on the\n specified date, making the KMS key unusable. To use the KMS key in cryptographic\n operations again, you must reimport the same key material. However, you can delete and\n reimport the key material at any time, including before the key material expires. Each\n time you reimport, you can eliminate or reset the expiration time.
\nWhen this operation is successful, the key state of the KMS key changes from\n PendingImport
to Enabled
, and you can use the KMS key in\n cryptographic operations.
If this operation fails, use the exception to help determine the problem. If the error is\n related to the key material, the import token, or wrapping key, use GetParametersForImport to get a new public key and import token for the KMS key\n and repeat the import procedure. For help, see How To Import Key\n Material in the Key Management Service Developer Guide.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:ImportKeyMaterial (key policy)
\n\n Related operations:\n
\nGets a list of aliases in the caller's Amazon Web Services account and region. For more information\n about aliases, see CreateAlias.
\nBy default, the ListAliases
operation returns all aliases in the account and\n region. To get only the aliases associated with a particular KMS key, use the\n KeyId
parameter.
The ListAliases
response can include aliases that you created and associated\n with your customer managed keys, and aliases that Amazon Web Services created and associated with Amazon Web Services\n managed keys in your account. You can recognize Amazon Web Services aliases because their names have the\n format aws/
, such as aws/dynamodb
.
The response might also include aliases that have no TargetKeyId
field. These\n are predefined aliases that Amazon Web Services has created but has not yet associated with a KMS key.\n Aliases that Amazon Web Services creates in your account, including predefined aliases, do not count against\n your KMS aliases\n quota.
\n Cross-account use: No. ListAliases
does not\n return aliases in other Amazon Web Services accounts.
\n Required permissions: kms:ListAliases (IAM policy)
\nFor details, see Controlling access to aliases in the\n Key Management Service Developer Guide.
\n\n Related operations:\n
\n\n CreateAlias\n
\n\n DeleteAlias\n
\n\n UpdateAlias\n
\nGets the names of the key policies that are attached to a KMS key. This operation is\n designed to get policy names that you can use in a GetKeyPolicy operation.\n However, the only valid policy name is default
.
\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:ListKeyPolicies (key policy)
\n\n Related operations:\n
\n\n GetKeyPolicy\n
\n\n PutKeyPolicy\n
\nGets a list of all KMS keys in the caller's Amazon Web Services account and Region.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:ListKeys (IAM policy)
\n\n Related operations:\n
\n\n CreateKey\n
\n\n DescribeKey\n
\n\n ListAliases\n
\n\n ListResourceTags\n
\nReturns all tags on the specified KMS key.
\nFor general information about tags, including the format and syntax, see Tagging Amazon Web Services resources in\n the Amazon Web Services General Reference. For information about using\n tags in KMS, see Tagging\n keys.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:ListResourceTags (key policy)
\n\n Related operations:\n
\n\n CreateKey\n
\n\n ReplicateKey\n
\n\n TagResource\n
\n\n UntagResource\n
\nAttaches a key policy to the specified KMS key.
\nFor more information about key policies, see Key Policies in the Key Management Service Developer Guide.\n For help writing and formatting a JSON policy document, see the IAM JSON Policy Reference in the \n Identity and Access Management User Guide\n . For examples of adding a key policy in multiple programming languages,\n see Setting a key policy in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:PutKeyPolicy (key policy)
\n\n Related operations: GetKeyPolicy\n
" + "smithy.api#documentation": "Attaches a key policy to the specified KMS key.
\nFor more information about key policies, see Key Policies in the Key Management Service Developer Guide.\n For help writing and formatting a JSON policy document, see the IAM JSON Policy Reference in the \n Identity and Access Management User Guide\n . For examples of adding a key policy in multiple programming languages,\n see Setting a key policy in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:PutKeyPolicy (key policy)
\n\n Related operations: GetKeyPolicy\n
", + "smithy.api#examples": [ + { + "title": "To attach a key policy to a KMS key", + "documentation": "The following example attaches a key policy to the specified KMS key.", + "input": { + "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab", + "PolicyName": "default", + "Policy": "{\n \"Version\": \"2012-10-17\",\n \"Id\": \"custom-policy-2016-12-07\",\n \"Statement\": [\n {\n \"Sid\": \"Enable IAM User Permissions\",\n \"Effect\": \"Allow\",\n \"Principal\": {\n \"AWS\": \"arn:aws:iam::111122223333:root\"\n },\n \"Action\": \"kms:*\",\n \"Resource\": \"*\"\n },\n {\n \"Sid\": \"Allow access for Key Administrators\",\n \"Effect\": \"Allow\",\n \"Principal\": {\n \"AWS\": [\n \"arn:aws:iam::111122223333:user/ExampleAdminUser\",\n \"arn:aws:iam::111122223333:role/ExampleAdminRole\"\n ]\n },\n \"Action\": [\n \"kms:Create*\",\n \"kms:Describe*\",\n \"kms:Enable*\",\n \"kms:List*\",\n \"kms:Put*\",\n \"kms:Update*\",\n \"kms:Revoke*\",\n \"kms:Disable*\",\n \"kms:Get*\",\n \"kms:Delete*\",\n \"kms:ScheduleKeyDeletion\",\n \"kms:CancelKeyDeletion\"\n ],\n \"Resource\": \"*\"\n },\n {\n \"Sid\": \"Allow use of the key\",\n \"Effect\": \"Allow\",\n \"Principal\": {\n \"AWS\": \"arn:aws:iam::111122223333:role/ExamplePowerUserRole\"\n },\n \"Action\": [\n \"kms:Encrypt\",\n \"kms:Decrypt\",\n \"kms:ReEncrypt*\",\n \"kms:GenerateDataKey*\",\n \"kms:DescribeKey\"\n ],\n \"Resource\": \"*\"\n },\n {\n \"Sid\": \"Allow attachment of persistent resources\",\n \"Effect\": \"Allow\",\n \"Principal\": {\n \"AWS\": \"arn:aws:iam::111122223333:role/ExamplePowerUserRole\"\n },\n \"Action\": [\n \"kms:CreateGrant\",\n \"kms:ListGrants\",\n \"kms:RevokeGrant\"\n ],\n \"Resource\": \"*\",\n \"Condition\": {\n \"Bool\": {\n \"kms:GrantIsForAWSResource\": \"true\"\n }\n }\n }\n ]\n}\n" + } + } + ] } }, "com.amazonaws.kms#PutKeyPolicyRequest": { @@ -5141,7 +5607,22 @@ } ], "traits": { - "smithy.api#documentation": "Decrypts ciphertext and then reencrypts it entirely within KMS. You can use this\n operation to change the KMS key under which data is encrypted, such as when you manually\n rotate a KMS key or change the KMS key that protects a ciphertext. You can also use\n it to reencrypt ciphertext under the same KMS key, such as to change the encryption\n context of a ciphertext.
\nThe ReEncrypt
operation can decrypt ciphertext that was encrypted by using a\n KMS key in an KMS operation, such as Encrypt or GenerateDataKey. It can also decrypt ciphertext that was encrypted by using the\n public key of an asymmetric KMS key\n outside of KMS. However, it cannot decrypt ciphertext produced by other libraries, such as\n the Amazon Web Services Encryption SDK or\n Amazon S3\n client-side encryption. These libraries return a ciphertext format that is\n incompatible with KMS.
When you use the ReEncrypt
operation, you need to provide information for the\n decrypt operation and the subsequent encrypt operation.
If your ciphertext was encrypted under an asymmetric KMS key, you must use the\n SourceKeyId
parameter to identify the KMS key that encrypted the\n ciphertext. You must also supply the encryption algorithm that was used. This information\n is required to decrypt the data.
If your ciphertext was encrypted under a symmetric encryption KMS key, the\n SourceKeyId
parameter is optional. KMS can get this information from\n metadata that it adds to the symmetric ciphertext blob. This feature adds durability to\n your implementation by ensuring that authorized users can decrypt ciphertext decades after\n it was encrypted, even if they've lost track of the key ID. However, specifying the source\n KMS key is always recommended as a best practice. When you use the\n SourceKeyId
parameter to specify a KMS key, KMS uses only the KMS key you\n specify. If the ciphertext was encrypted under a different KMS key, the\n ReEncrypt
operation fails. This practice ensures that you use the KMS key\n that you intend.
To reencrypt the data, you must use the DestinationKeyId
parameter to\n specify the KMS key that re-encrypts the data after it is decrypted. If the destination\n KMS key is an asymmetric KMS key, you must also provide the encryption algorithm. The\n algorithm that you choose must be compatible with the KMS key.
When you use an asymmetric KMS key to encrypt or reencrypt data, be sure to record the KMS key and encryption algorithm that you choose. You will be required to provide the same KMS key and encryption algorithm when you decrypt the data. If the KMS key and algorithm do not match the values used to encrypt the data, the decrypt operation fails.
\nYou are not required to supply the key ID and encryption algorithm when you decrypt with symmetric encryption KMS keys because KMS stores this information in the ciphertext blob. KMS cannot store metadata in ciphertext generated with asymmetric keys. The standard format for asymmetric key ciphertext does not include configurable fields.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: Yes. The source KMS key and\n destination KMS key can be in different Amazon Web Services accounts. Either or both KMS keys can be in a\n different account than the caller. To specify a KMS key in a different account, you must use\n its key ARN or alias ARN.
\n\n Required permissions:
\n\n kms:ReEncryptFrom\n permission on the source KMS key (key policy)
\n\n kms:ReEncryptTo\n permission on the destination KMS key (key policy)
\nTo permit reencryption from or to a KMS key, include the \"kms:ReEncrypt*\"
\n permission in your key policy. This permission is\n automatically included in the key policy when you use the console to create a KMS key. But you\n must include it manually when you create a KMS key programmatically or when you use the PutKeyPolicy operation to set a key policy.
\n Related operations:\n
\n\n Decrypt\n
\n\n Encrypt\n
\n\n GenerateDataKey\n
\n\n GenerateDataKeyPair\n
\nDecrypts ciphertext and then reencrypts it entirely within KMS. You can use this\n operation to change the KMS key under which data is encrypted, such as when you manually\n rotate a KMS key or change the KMS key that protects a ciphertext. You can also use\n it to reencrypt ciphertext under the same KMS key, such as to change the encryption\n context of a ciphertext.
\nThe ReEncrypt
operation can decrypt ciphertext that was encrypted by using a\n KMS key in an KMS operation, such as Encrypt or GenerateDataKey. It can also decrypt ciphertext that was encrypted by using the\n public key of an asymmetric KMS key\n outside of KMS. However, it cannot decrypt ciphertext produced by other libraries, such as\n the Amazon Web Services Encryption SDK or\n Amazon S3\n client-side encryption. These libraries return a ciphertext format that is\n incompatible with KMS.
When you use the ReEncrypt
operation, you need to provide information for the\n decrypt operation and the subsequent encrypt operation.
If your ciphertext was encrypted under an asymmetric KMS key, you must use the\n SourceKeyId
parameter to identify the KMS key that encrypted the\n ciphertext. You must also supply the encryption algorithm that was used. This information\n is required to decrypt the data.
If your ciphertext was encrypted under a symmetric encryption KMS key, the\n SourceKeyId
parameter is optional. KMS can get this information from\n metadata that it adds to the symmetric ciphertext blob. This feature adds durability to\n your implementation by ensuring that authorized users can decrypt ciphertext decades after\n it was encrypted, even if they've lost track of the key ID. However, specifying the source\n KMS key is always recommended as a best practice. When you use the\n SourceKeyId
parameter to specify a KMS key, KMS uses only the KMS key you\n specify. If the ciphertext was encrypted under a different KMS key, the\n ReEncrypt
operation fails. This practice ensures that you use the KMS key\n that you intend.
To reencrypt the data, you must use the DestinationKeyId
parameter to\n specify the KMS key that re-encrypts the data after it is decrypted. If the destination\n KMS key is an asymmetric KMS key, you must also provide the encryption algorithm. The\n algorithm that you choose must be compatible with the KMS key.
When you use an asymmetric KMS key to encrypt or reencrypt data, be sure to record the KMS key and encryption algorithm that you choose. You will be required to provide the same KMS key and encryption algorithm when you decrypt the data. If the KMS key and algorithm do not match the values used to encrypt the data, the decrypt operation fails.
\nYou are not required to supply the key ID and encryption algorithm when you decrypt with symmetric encryption KMS keys because KMS stores this information in the ciphertext blob. KMS cannot store metadata in ciphertext generated with asymmetric keys. The standard format for asymmetric key ciphertext does not include configurable fields.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: Yes. The source KMS key and\n destination KMS key can be in different Amazon Web Services accounts. Either or both KMS keys can be in a\n different account than the caller. To specify a KMS key in a different account, you must use\n its key ARN or alias ARN.
\n\n Required permissions:
\n\n kms:ReEncryptFrom\n permission on the source KMS key (key policy)
\n\n kms:ReEncryptTo\n permission on the destination KMS key (key policy)
\nTo permit reencryption from or to a KMS key, include the \"kms:ReEncrypt*\"
\n permission in your key policy. This permission is\n automatically included in the key policy when you use the console to create a KMS key. But you\n must include it manually when you create a KMS key programmatically or when you use the PutKeyPolicy operation to set a key policy.
\n Related operations:\n
\n\n Decrypt\n
\n\n Encrypt\n
\n\n GenerateDataKey\n
\n\n GenerateDataKeyPair\n
\nReplicates a multi-Region key into the specified Region. This operation creates a\n multi-Region replica key based on a multi-Region primary key in a different Region of the same\n Amazon Web Services partition. You can create multiple replicas of a primary key, but each must be in a\n different Region. To create a multi-Region primary key, use the CreateKey\n operation.
\nThis operation supports multi-Region keys, an KMS feature that lets you create multiple\n interoperable KMS keys in different Amazon Web Services Regions. Because these KMS keys have the same key ID, key\n material, and other metadata, you can use them interchangeably to encrypt data in one Amazon Web Services Region and decrypt\n it in a different Amazon Web Services Region without re-encrypting the data or making a cross-Region call. For more information about multi-Region keys, see Multi-Region keys in KMS in the Key Management Service Developer Guide.
\nA replica key is a fully-functional KMS key that can be used\n independently of its primary and peer replica keys. A primary key and its replica keys share\n properties that make them interoperable. They have the same key ID and key material. They also\n have the same key\n spec, key\n usage, key\n material origin, and automatic key rotation status. KMS automatically synchronizes these shared\n properties among related multi-Region keys. All other properties of a replica key can differ,\n including its key\n policy, tags, aliases, and Key states of KMS keys. KMS pricing and quotas for KMS keys apply to each\n primary key and replica key.
\nWhen this operation completes, the new replica key has a transient key state of\n Creating
. This key state changes to Enabled
(or\n PendingImport
) after a few seconds when the process of creating the new replica\n key is complete. While the key state is Creating
, you can manage key, but you\n cannot yet use it in cryptographic operations. If you are creating and using the replica key\n programmatically, retry on KMSInvalidStateException
or call\n DescribeKey
to check its KeyState
value before using it. For\n details about the Creating
key state, see Key states of KMS keys in the\n Key Management Service Developer Guide.
You cannot create more than one replica of a primary key in any Region. If the Region\n already includes a replica of the key you're trying to replicate, ReplicateKey
\n returns an AlreadyExistsException
error. If the key state of the existing replica\n is PendingDeletion
, you can cancel the scheduled key deletion (CancelKeyDeletion) or wait for the key to be deleted. The new replica key you\n create will have the same shared\n properties as the original replica key.
The CloudTrail log of a ReplicateKey
operation records a\n ReplicateKey
operation in the primary key's Region and a CreateKey operation in the replica key's Region.
If you replicate a multi-Region primary key with imported key material, the replica key is\n created with no key material. You must import the same key material that you imported into the\n primary key. For details, see Importing key material into multi-Region keys in the Key Management Service Developer Guide.
\nTo convert a replica key to a primary key, use the UpdatePrimaryRegion\n operation.
\n\n ReplicateKey
uses different default values for the KeyPolicy
\n and Tags
parameters than those used in the KMS console. For details, see the\n parameter descriptions.
\n Cross-account use: No. You cannot use this operation to\n create a replica key in a different Amazon Web Services account.
\n\n Required permissions:
\n\n kms:ReplicateKey
on the primary key (in the primary key's Region).\n Include this permission in the primary key's key policy.
\n kms:CreateKey
in an IAM policy in the replica Region.
To use the Tags
parameter, kms:TagResource
in an IAM policy\n in the replica Region.
\n Related operations\n
\n\n CreateKey\n
\n\n UpdatePrimaryRegion\n
\nReplicates a multi-Region key into the specified Region. This operation creates a\n multi-Region replica key based on a multi-Region primary key in a different Region of the same\n Amazon Web Services partition. You can create multiple replicas of a primary key, but each must be in a\n different Region. To create a multi-Region primary key, use the CreateKey\n operation.
\nThis operation supports multi-Region keys, an KMS feature that lets you create multiple\n interoperable KMS keys in different Amazon Web Services Regions. Because these KMS keys have the same key ID, key\n material, and other metadata, you can use them interchangeably to encrypt data in one Amazon Web Services Region and decrypt\n it in a different Amazon Web Services Region without re-encrypting the data or making a cross-Region call. For more information about multi-Region keys, see Multi-Region keys in KMS in the Key Management Service Developer Guide.
\nA replica key is a fully-functional KMS key that can be used\n independently of its primary and peer replica keys. A primary key and its replica keys share\n properties that make them interoperable. They have the same key ID and key material. They also\n have the same key\n spec, key\n usage, key\n material origin, and automatic key rotation status. KMS automatically synchronizes these shared\n properties among related multi-Region keys. All other properties of a replica key can differ,\n including its key\n policy, tags, aliases, and Key states of KMS keys. KMS pricing and quotas for KMS keys apply to each\n primary key and replica key.
\nWhen this operation completes, the new replica key has a transient key state of\n Creating
. This key state changes to Enabled
(or\n PendingImport
) after a few seconds when the process of creating the new replica\n key is complete. While the key state is Creating
, you can manage key, but you\n cannot yet use it in cryptographic operations. If you are creating and using the replica key\n programmatically, retry on KMSInvalidStateException
or call\n DescribeKey
to check its KeyState
value before using it. For\n details about the Creating
key state, see Key states of KMS keys in the\n Key Management Service Developer Guide.
You cannot create more than one replica of a primary key in any Region. If the Region\n already includes a replica of the key you're trying to replicate, ReplicateKey
\n returns an AlreadyExistsException
error. If the key state of the existing replica\n is PendingDeletion
, you can cancel the scheduled key deletion (CancelKeyDeletion) or wait for the key to be deleted. The new replica key you\n create will have the same shared\n properties as the original replica key.
The CloudTrail log of a ReplicateKey
operation records a\n ReplicateKey
operation in the primary key's Region and a CreateKey operation in the replica key's Region.
If you replicate a multi-Region primary key with imported key material, the replica key is\n created with no key material. You must import the same key material that you imported into the\n primary key. For details, see Importing key material into multi-Region keys in the Key Management Service Developer Guide.
\nTo convert a replica key to a primary key, use the UpdatePrimaryRegion\n operation.
\n\n ReplicateKey
uses different default values for the KeyPolicy
\n and Tags
parameters than those used in the KMS console. For details, see the\n parameter descriptions.
\n Cross-account use: No. You cannot use this operation to\n create a replica key in a different Amazon Web Services account.
\n\n Required permissions:
\n\n kms:ReplicateKey
on the primary key (in the primary key's Region).\n Include this permission in the primary key's key policy.
\n kms:CreateKey
in an IAM policy in the replica Region.
To use the Tags
parameter, kms:TagResource
in an IAM policy\n in the replica Region.
\n Related operations\n
\n\n CreateKey\n
\n\n UpdatePrimaryRegion\n
\nDeletes a grant. Typically, you retire a grant when you no longer need its permissions. To\n identify the grant to retire, use a grant token, or both the grant ID and a\n key identifier (key ID or key ARN) of the KMS key. The CreateGrant operation\n returns both values.
\nThis operation can be called by the retiring principal for a grant,\n by the grantee principal if the grant allows the RetireGrant
\n operation, and by the Amazon Web Services account in which the grant is created. It can also be called by\n principals to whom permission for retiring a grant is delegated. For details, see Retiring and revoking\n grants in the Key Management Service Developer Guide.
For detailed information about grants, including grant terminology, see Grants in KMS in the\n \n Key Management Service Developer Guide\n . For examples of working with grants in several\n programming languages, see Programming grants.
\n\n Cross-account use: Yes. You can retire a grant on a KMS\n key in a different Amazon Web Services account.
\n\n Required permissions::Permission to retire a grant is\n determined primarily by the grant. For details, see Retiring and revoking grants in\n the Key Management Service Developer Guide.
\n\n Related operations:\n
\n\n CreateGrant\n
\n\n ListGrants\n
\n\n ListRetirableGrants\n
\n\n RevokeGrant\n
\nDeletes a grant. Typically, you retire a grant when you no longer need its permissions. To\n identify the grant to retire, use a grant token, or both the grant ID and a\n key identifier (key ID or key ARN) of the KMS key. The CreateGrant operation\n returns both values.
\nThis operation can be called by the retiring principal for a grant,\n by the grantee principal if the grant allows the RetireGrant
\n operation, and by the Amazon Web Services account in which the grant is created. It can also be called by\n principals to whom permission for retiring a grant is delegated. For details, see Retiring and revoking\n grants in the Key Management Service Developer Guide.
For detailed information about grants, including grant terminology, see Grants in KMS in the\n \n Key Management Service Developer Guide\n . For examples of working with grants in several\n programming languages, see Programming grants.
\n\n Cross-account use: Yes. You can retire a grant on a KMS\n key in a different Amazon Web Services account.
\n\n Required permissions::Permission to retire a grant is\n determined primarily by the grant. For details, see Retiring and revoking grants in\n the Key Management Service Developer Guide.
\n\n Related operations:\n
\n\n CreateGrant\n
\n\n ListGrants\n
\n\n ListRetirableGrants\n
\n\n RevokeGrant\n
\nDeletes the specified grant. You revoke a grant to terminate the permissions that the\n grant allows. For more information, see Retiring and revoking grants in\n the \n Key Management Service Developer Guide\n .
\nWhen you create, retire, or revoke a grant, there might be a brief delay, usually less than five minutes, until the grant is available throughout KMS. This state is known as eventual consistency. For details, see Eventual consistency in\n the \n Key Management Service Developer Guide\n .
\nFor detailed information about grants, including grant terminology, see Grants in KMS in the\n \n Key Management Service Developer Guide\n . For examples of working with grants in several\n programming languages, see Programming grants.
\n\n Cross-account use: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key\n ARN in the value of the KeyId
parameter.
\n Required permissions: kms:RevokeGrant (key policy).
\n\n Related operations:\n
\n\n CreateGrant\n
\n\n ListGrants\n
\n\n ListRetirableGrants\n
\n\n RetireGrant\n
\nDeletes the specified grant. You revoke a grant to terminate the permissions that the\n grant allows. For more information, see Retiring and revoking grants in\n the \n Key Management Service Developer Guide\n .
\nWhen you create, retire, or revoke a grant, there might be a brief delay, usually less than five minutes, until the grant is available throughout KMS. This state is known as eventual consistency. For details, see Eventual consistency in\n the \n Key Management Service Developer Guide\n .
\nFor detailed information about grants, including grant terminology, see Grants in KMS in the\n \n Key Management Service Developer Guide\n . For examples of working with grants in several\n programming languages, see Programming grants.
\n\n Cross-account use: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key\n ARN in the value of the KeyId
parameter.
\n Required permissions: kms:RevokeGrant (key policy).
\n\n Related operations:\n
\n\n CreateGrant\n
\n\n ListGrants\n
\n\n ListRetirableGrants\n
\n\n RetireGrant\n
\nCreates a digital\n signature for a message or message digest by using the private key in an asymmetric\n signing KMS key. To verify the signature, use the Verify operation, or use\n the public key in the same asymmetric KMS key outside of KMS. For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.
\nDigital signatures are generated and verified by using asymmetric key pair, such as an RSA\n or ECC pair that is represented by an asymmetric KMS key. The key owner (or an authorized\n user) uses their private key to sign a message. Anyone with the public key can verify that the\n message was signed with that particular private key and that the message hasn't changed since\n it was signed.
\nTo use the Sign
operation, provide the following information:
Use the KeyId
parameter to identify an asymmetric KMS key with a\n KeyUsage
value of SIGN_VERIFY
. To get the\n KeyUsage
value of a KMS key, use the DescribeKey\n operation. The caller must have kms:Sign
permission on the KMS key.
Use the Message
parameter to specify the message or message digest to\n sign. You can submit messages of up to 4096 bytes. To sign a larger message, generate a\n hash digest of the message, and then provide the hash digest in the Message
\n parameter. To indicate whether the message is a full message or a digest, use the\n MessageType
parameter.
Choose a signing algorithm that is compatible with the KMS key.
\nWhen signing a message, be sure to record the KMS key and the signing algorithm. This\n information is required to verify the signature.
\nBest practices recommend that you limit the time during which any signature is\n effective. This deters an attack where the actor uses a signed message to establish validity\n repeatedly or long after the message is superseded. Signatures do not include a timestamp,\n but you can include a timestamp in the signed message to help you detect when its time to\n refresh the signature.
\nTo verify the signature that this operation generates, use the Verify\n operation. Or use the GetPublicKey operation to download the public key and\n then use the public key to verify the signature outside of KMS.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify\n the key ARN or alias ARN in the value of the KeyId
parameter.
\n Required permissions: kms:Sign (key policy)
\n\n Related operations: Verify\n
" + "smithy.api#documentation": "Creates a digital\n signature for a message or message digest by using the private key in an asymmetric\n signing KMS key. To verify the signature, use the Verify operation, or use\n the public key in the same asymmetric KMS key outside of KMS. For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.
\nDigital signatures are generated and verified by using asymmetric key pair, such as an RSA\n or ECC pair that is represented by an asymmetric KMS key. The key owner (or an authorized\n user) uses their private key to sign a message. Anyone with the public key can verify that the\n message was signed with that particular private key and that the message hasn't changed since\n it was signed.
\nTo use the Sign
operation, provide the following information:
Use the KeyId
parameter to identify an asymmetric KMS key with a\n KeyUsage
value of SIGN_VERIFY
. To get the\n KeyUsage
value of a KMS key, use the DescribeKey\n operation. The caller must have kms:Sign
permission on the KMS key.
Use the Message
parameter to specify the message or message digest to\n sign. You can submit messages of up to 4096 bytes. To sign a larger message, generate a\n hash digest of the message, and then provide the hash digest in the Message
\n parameter. To indicate whether the message is a full message or a digest, use the\n MessageType
parameter.
Choose a signing algorithm that is compatible with the KMS key.
\nWhen signing a message, be sure to record the KMS key and the signing algorithm. This\n information is required to verify the signature.
\nBest practices recommend that you limit the time during which any signature is\n effective. This deters an attack where the actor uses a signed message to establish validity\n repeatedly or long after the message is superseded. Signatures do not include a timestamp,\n but you can include a timestamp in the signed message to help you detect when its time to\n refresh the signature.
\nTo verify the signature that this operation generates, use the Verify\n operation. Or use the GetPublicKey operation to download the public key and\n then use the public key to verify the signature outside of KMS.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify\n the key ARN or alias ARN in the value of the KeyId
parameter.
\n Required permissions: kms:Sign (key policy)
\n\n Related operations: Verify\n
", + "smithy.api#examples": [ + { + "title": "To digitally sign a message with an asymmetric KMS key.", + "documentation": "This operation uses the private key in an asymmetric elliptic curve (ECC) KMS key to generate a digital signature for a given message.", + "input": { + "KeyId": "alias/ECC_signing_key", + "Message": "Adds or edits tags on a customer managed key.
\nTagging or untagging a KMS key can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.
\nEach tag consists of a tag key and a tag value, both of which are case-sensitive strings.\n The tag value can be an empty (null) string. To add a tag, specify a new tag key and a tag\n value. To edit a tag, specify an existing tag key and a new tag value.
\nYou can use this operation to tag a customer managed key, but you cannot\n tag an Amazon Web Services\n managed key, an Amazon Web Services owned key, a custom key\n store, or an alias.
\nYou can also add tags to a KMS key while creating it (CreateKey) or\n replicating it (ReplicateKey).
\nFor information about using tags in KMS, see Tagging keys. For general information about\n tags, including the format and syntax, see Tagging Amazon Web Services resources in the Amazon\n Web Services General Reference.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:TagResource (key policy)
\n\n Related operations\n
\n\n CreateKey\n
\n\n ListResourceTags\n
\n\n ReplicateKey\n
\n\n UntagResource\n
\nAdds or edits tags on a customer managed key.
\nTagging or untagging a KMS key can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.
\nEach tag consists of a tag key and a tag value, both of which are case-sensitive strings.\n The tag value can be an empty (null) string. To add a tag, specify a new tag key and a tag\n value. To edit a tag, specify an existing tag key and a new tag value.
\nYou can use this operation to tag a customer managed key, but you cannot\n tag an Amazon Web Services\n managed key, an Amazon Web Services owned key, a custom key\n store, or an alias.
\nYou can also add tags to a KMS key while creating it (CreateKey) or\n replicating it (ReplicateKey).
\nFor information about using tags in KMS, see Tagging keys. For general information about\n tags, including the format and syntax, see Tagging Amazon Web Services resources in the Amazon\n Web Services General Reference.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:TagResource (key policy)
\n\n Related operations\n
\n\n CreateKey\n
\n\n ListResourceTags\n
\n\n ReplicateKey\n
\n\n UntagResource\n
\nDeletes tags from a customer managed key. To delete a tag,\n specify the tag key and the KMS key.
\nTagging or untagging a KMS key can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.
\nWhen it succeeds, the UntagResource
operation doesn't return any output.\n Also, if the specified tag key isn't found on the KMS key, it doesn't throw an exception or\n return a response. To confirm that the operation worked, use the ListResourceTags operation.
For information about using tags in KMS, see Tagging keys. For general information about\n tags, including the format and syntax, see Tagging Amazon Web Services resources in the Amazon\n Web Services General Reference.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:UntagResource (key policy)
\n\n Related operations\n
\n\n CreateKey\n
\n\n ListResourceTags\n
\n\n ReplicateKey\n
\n\n TagResource\n
\nDeletes tags from a customer managed key. To delete a tag,\n specify the tag key and the KMS key.
\nTagging or untagging a KMS key can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.
\nWhen it succeeds, the UntagResource
operation doesn't return any output.\n Also, if the specified tag key isn't found on the KMS key, it doesn't throw an exception or\n return a response. To confirm that the operation worked, use the ListResourceTags operation.
For information about using tags in KMS, see Tagging keys. For general information about\n tags, including the format and syntax, see Tagging Amazon Web Services resources in the Amazon\n Web Services General Reference.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:UntagResource (key policy)
\n\n Related operations\n
\n\n CreateKey\n
\n\n ListResourceTags\n
\n\n ReplicateKey\n
\n\n TagResource\n
\nAssociates an existing KMS alias with a different KMS key. Each alias is associated with\n only one KMS key at a time, although a KMS key can have multiple aliases. The alias and the\n KMS key must be in the same Amazon Web Services account and Region.
\nAdding, deleting, or updating an alias can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.
\nThe current and new KMS key must be the same type (both symmetric or both asymmetric or\n both HMAC), and they must have the same key usage. This restriction prevents errors in code\n that uses aliases. If you must assign an alias to a different type of KMS key, use DeleteAlias to delete the old alias and CreateAlias to create\n a new alias.
\nYou cannot use UpdateAlias
to change an alias name. To change an alias name,\n use DeleteAlias to delete the old alias and CreateAlias to\n create a new alias.
Because an alias is not a property of a KMS key, you can create, update, and delete the\n aliases of a KMS key without affecting the KMS key. Also, aliases do not appear in the\n response from the DescribeKey operation. To get the aliases of all KMS keys\n in the account, use the ListAliases operation.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions\n
\n\n kms:UpdateAlias on\n the alias (IAM policy).
\n\n kms:UpdateAlias on\n the current KMS key (key policy).
\n\n kms:UpdateAlias on\n the new KMS key (key policy).
\nFor details, see Controlling access to aliases in the\n Key Management Service Developer Guide.
\n\n Related operations:\n
\n\n CreateAlias\n
\n\n DeleteAlias\n
\n\n ListAliases\n
\nAssociates an existing KMS alias with a different KMS key. Each alias is associated with\n only one KMS key at a time, although a KMS key can have multiple aliases. The alias and the\n KMS key must be in the same Amazon Web Services account and Region.
\nAdding, deleting, or updating an alias can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.
\nThe current and new KMS key must be the same type (both symmetric or both asymmetric or\n both HMAC), and they must have the same key usage. This restriction prevents errors in code\n that uses aliases. If you must assign an alias to a different type of KMS key, use DeleteAlias to delete the old alias and CreateAlias to create\n a new alias.
\nYou cannot use UpdateAlias
to change an alias name. To change an alias name,\n use DeleteAlias to delete the old alias and CreateAlias to\n create a new alias.
Because an alias is not a property of a KMS key, you can create, update, and delete the\n aliases of a KMS key without affecting the KMS key. Also, aliases do not appear in the\n response from the DescribeKey operation. To get the aliases of all KMS keys\n in the account, use the ListAliases operation.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions\n
\n\n kms:UpdateAlias on\n the alias (IAM policy).
\n\n kms:UpdateAlias on\n the current KMS key (key policy).
\n\n kms:UpdateAlias on\n the new KMS key (key policy).
\nFor details, see Controlling access to aliases in the\n Key Management Service Developer Guide.
\n\n Related operations:\n
\n\n CreateAlias\n
\n\n DeleteAlias\n
\n\n ListAliases\n
\nChanges the properties of a custom key store. You can use this operation to change the\n properties of an CloudHSM key store or an external key store.
\nUse the required CustomKeyStoreId
parameter to identify the custom key store.\n Use the remaining optional parameters to change its properties. This operation does not return\n any property values. To verify the updated property values, use the DescribeCustomKeyStores operation.
This operation is part of the custom key stores feature in KMS, which\ncombines the convenience and extensive integration of KMS with the isolation and control of a\nkey store that you own and manage.
\nWhen updating the properties of an external key store, verify that the updated settings\n connect your key store, via the external key store proxy, to the same external key manager\n as the previous settings, or to a backup or snapshot of the external key manager with the\n same cryptographic keys. If the updated connection settings fail, you can fix them and\n retry, although an extended delay might disrupt Amazon Web Services services. However, if KMS\n permanently loses its access to cryptographic keys, ciphertext encrypted under those keys is\n unrecoverable.
\nFor external key stores:
\nSome external key managers provide a simpler method for updating an external key store.\n For details, see your external key manager documentation.
\nWhen updating an external key store in the KMS console, you can upload a JSON-based\n proxy configuration file with the desired values. You cannot upload the proxy configuration\n file to the UpdateCustomKeyStore
operation. However, you can use the file to\n help you determine the correct values for the UpdateCustomKeyStore
\n parameters.
For an CloudHSM key store, you can use this operation to change the custom key store friendly\n name (NewCustomKeyStoreName
), to tell KMS about a change to the\n kmsuser
crypto user password (KeyStorePassword
), or to associate\n the custom key store with a different, but related, CloudHSM cluster\n (CloudHsmClusterId
). To update any property of an CloudHSM key store, the\n ConnectionState
of the CloudHSM key store must be DISCONNECTED
.
For an external key store, you can use this operation to change the custom key store\n friendly name (NewCustomKeyStoreName
), or to tell KMS about a change to the\n external key store proxy authentication credentials\n (XksProxyAuthenticationCredential
), connection method\n (XksProxyConnectivity
), external proxy endpoint\n (XksProxyUriEndpoint
) and path (XksProxyUriPath
). For external key\n stores with an XksProxyConnectivity
of VPC_ENDPOINT_SERVICE
, you can\n also update the Amazon VPC endpoint service name (XksProxyVpcEndpointServiceName
). To\n update most properties of an external key store, the ConnectionState
of the\n external key store must be DISCONNECTED
. However, you can update the\n CustomKeyStoreName
, XksProxyAuthenticationCredential
, and\n XksProxyUriPath
of an external key store when it is in the CONNECTED or\n DISCONNECTED state.
If your update requires a DISCONNECTED
state, before using\n UpdateCustomKeyStore
, use the DisconnectCustomKeyStore\n operation to disconnect the custom key store. After the UpdateCustomKeyStore
\n operation completes, use the ConnectCustomKeyStore to reconnect the custom\n key store. To find the ConnectionState
of the custom key store, use the DescribeCustomKeyStores operation.
\n
\nBefore updating the custom key store, verify that the new values allow KMS to connect\n the custom key store to its backing key store. For example, before you change the\n XksProxyUriPath
value, verify that the external key store proxy is reachable at\n the new path.
If the operation succeeds, it returns a JSON object with no\nproperties.
\n\n Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.
\n\n Required permissions: kms:UpdateCustomKeyStore (IAM policy)
\n\n Related operations:\n
\n\n CreateCustomKeyStore\n
\n\n DeleteCustomKeyStore\n
\nChanges the properties of a custom key store. You can use this operation to change the\n properties of an CloudHSM key store or an external key store.
\nUse the required CustomKeyStoreId
parameter to identify the custom key store.\n Use the remaining optional parameters to change its properties. This operation does not return\n any property values. To verify the updated property values, use the DescribeCustomKeyStores operation.
This operation is part of the custom key stores feature in KMS, which\ncombines the convenience and extensive integration of KMS with the isolation and control of a\nkey store that you own and manage.
\nWhen updating the properties of an external key store, verify that the updated settings\n connect your key store, via the external key store proxy, to the same external key manager\n as the previous settings, or to a backup or snapshot of the external key manager with the\n same cryptographic keys. If the updated connection settings fail, you can fix them and\n retry, although an extended delay might disrupt Amazon Web Services services. However, if KMS\n permanently loses its access to cryptographic keys, ciphertext encrypted under those keys is\n unrecoverable.
\nFor external key stores:
\nSome external key managers provide a simpler method for updating an external key store.\n For details, see your external key manager documentation.
\nWhen updating an external key store in the KMS console, you can upload a JSON-based\n proxy configuration file with the desired values. You cannot upload the proxy configuration\n file to the UpdateCustomKeyStore
operation. However, you can use the file to\n help you determine the correct values for the UpdateCustomKeyStore
\n parameters.
For an CloudHSM key store, you can use this operation to change the custom key store friendly\n name (NewCustomKeyStoreName
), to tell KMS about a change to the\n kmsuser
crypto user password (KeyStorePassword
), or to associate\n the custom key store with a different, but related, CloudHSM cluster\n (CloudHsmClusterId
). To update any property of an CloudHSM key store, the\n ConnectionState
of the CloudHSM key store must be DISCONNECTED
.
For an external key store, you can use this operation to change the custom key store\n friendly name (NewCustomKeyStoreName
), or to tell KMS about a change to the\n external key store proxy authentication credentials\n (XksProxyAuthenticationCredential
), connection method\n (XksProxyConnectivity
), external proxy endpoint\n (XksProxyUriEndpoint
) and path (XksProxyUriPath
). For external key\n stores with an XksProxyConnectivity
of VPC_ENDPOINT_SERVICE
, you can\n also update the Amazon VPC endpoint service name (XksProxyVpcEndpointServiceName
). To\n update most properties of an external key store, the ConnectionState
of the\n external key store must be DISCONNECTED
. However, you can update the\n CustomKeyStoreName
, XksProxyAuthenticationCredential
, and\n XksProxyUriPath
of an external key store when it is in the CONNECTED or\n DISCONNECTED state.
If your update requires a DISCONNECTED
state, before using\n UpdateCustomKeyStore
, use the DisconnectCustomKeyStore\n operation to disconnect the custom key store. After the UpdateCustomKeyStore
\n operation completes, use the ConnectCustomKeyStore to reconnect the custom\n key store. To find the ConnectionState
of the custom key store, use the DescribeCustomKeyStores operation.
\n
\nBefore updating the custom key store, verify that the new values allow KMS to connect\n the custom key store to its backing key store. For example, before you change the\n XksProxyUriPath
value, verify that the external key store proxy is reachable at\n the new path.
If the operation succeeds, it returns a JSON object with no\nproperties.
\n\n Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.
\n\n Required permissions: kms:UpdateCustomKeyStore (IAM policy)
\n\n Related operations:\n
\n\n CreateCustomKeyStore\n
\n\n DeleteCustomKeyStore\n
\nUpdates the description of a KMS key. To see the description of a KMS key, use DescribeKey.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:UpdateKeyDescription (key policy)
\n\n Related operations\n
\n\n CreateKey\n
\n\n DescribeKey\n
\nUpdates the description of a KMS key. To see the description of a KMS key, use DescribeKey.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
\n\n Required permissions: kms:UpdateKeyDescription (key policy)
\n\n Related operations\n
\n\n CreateKey\n
\n\n DescribeKey\n
\nChanges the primary key of a multi-Region key.
\nThis operation changes the replica key in the specified Region to a primary key and\n changes the former primary key to a replica key. For example, suppose you have a primary key\n in us-east-1
and a replica key in eu-west-2
. If you run\n UpdatePrimaryRegion
with a PrimaryRegion
value of\n eu-west-2
, the primary key is now the key in eu-west-2
, and the\n key in us-east-1
becomes a replica key. For details, see Updating the primary Region in the Key Management Service Developer Guide.
This operation supports multi-Region keys, an KMS feature that lets you create multiple\n interoperable KMS keys in different Amazon Web Services Regions. Because these KMS keys have the same key ID, key\n material, and other metadata, you can use them interchangeably to encrypt data in one Amazon Web Services Region and decrypt\n it in a different Amazon Web Services Region without re-encrypting the data or making a cross-Region call. For more information about multi-Region keys, see Multi-Region keys in KMS in the Key Management Service Developer Guide.
\nThe primary key of a multi-Region key is the source for properties\n that are always shared by primary and replica keys, including the key material, key ID, key spec, key usage, key material\n origin, and automatic\n key rotation. It's the only key that can be replicated. You cannot delete the primary\n key until all replica keys are deleted.
\nThe key ID and primary Region that you specify uniquely identify the replica key that will\n become the primary key. The primary Region must already have a replica key. This operation\n does not create a KMS key in the specified Region. To find the replica keys, use the DescribeKey operation on the primary key or any replica key. To create a replica\n key, use the ReplicateKey operation.
\nYou can run this operation while using the affected multi-Region keys in cryptographic\n operations. This operation should not delay, interrupt, or cause failures in cryptographic\n operations.
\nEven after this operation completes, the process of updating the primary Region might\n still be in progress for a few more seconds. Operations such as DescribeKey
might\n display both the old and new primary keys as replicas. The old and new primary keys have a\n transient key state of Updating
. The original key state is restored when the\n update is complete. While the key state is Updating
, you can use the keys in\n cryptographic operations, but you cannot replicate the new primary key or perform certain\n management operations, such as enabling or disabling these keys. For details about the\n Updating
key state, see Key states of KMS keys in the Key Management Service Developer Guide.
This operation does not return any output. To verify that primary key is changed, use the\n DescribeKey operation.
\n\n Cross-account use: No. You cannot use this operation in a\n different Amazon Web Services account.
\n\n Required permissions:
\n\n kms:UpdatePrimaryRegion
on the current primary key (in the primary key's\n Region). Include this permission primary key's key policy.
\n kms:UpdatePrimaryRegion
on the current replica key (in the replica key's\n Region). Include this permission in the replica key's key policy.
\n Related operations\n
\n\n CreateKey\n
\n\n ReplicateKey\n
\nChanges the primary key of a multi-Region key.
\nThis operation changes the replica key in the specified Region to a primary key and\n changes the former primary key to a replica key. For example, suppose you have a primary key\n in us-east-1
and a replica key in eu-west-2
. If you run\n UpdatePrimaryRegion
with a PrimaryRegion
value of\n eu-west-2
, the primary key is now the key in eu-west-2
, and the\n key in us-east-1
becomes a replica key. For details, see Updating the primary Region in the Key Management Service Developer Guide.
This operation supports multi-Region keys, an KMS feature that lets you create multiple\n interoperable KMS keys in different Amazon Web Services Regions. Because these KMS keys have the same key ID, key\n material, and other metadata, you can use them interchangeably to encrypt data in one Amazon Web Services Region and decrypt\n it in a different Amazon Web Services Region without re-encrypting the data or making a cross-Region call. For more information about multi-Region keys, see Multi-Region keys in KMS in the Key Management Service Developer Guide.
\nThe primary key of a multi-Region key is the source for properties\n that are always shared by primary and replica keys, including the key material, key ID, key spec, key usage, key material\n origin, and automatic\n key rotation. It's the only key that can be replicated. You cannot delete the primary\n key until all replica keys are deleted.
\nThe key ID and primary Region that you specify uniquely identify the replica key that will\n become the primary key. The primary Region must already have a replica key. This operation\n does not create a KMS key in the specified Region. To find the replica keys, use the DescribeKey operation on the primary key or any replica key. To create a replica\n key, use the ReplicateKey operation.
\nYou can run this operation while using the affected multi-Region keys in cryptographic\n operations. This operation should not delay, interrupt, or cause failures in cryptographic\n operations.
\nEven after this operation completes, the process of updating the primary Region might\n still be in progress for a few more seconds. Operations such as DescribeKey
might\n display both the old and new primary keys as replicas. The old and new primary keys have a\n transient key state of Updating
. The original key state is restored when the\n update is complete. While the key state is Updating
, you can use the keys in\n cryptographic operations, but you cannot replicate the new primary key or perform certain\n management operations, such as enabling or disabling these keys. For details about the\n Updating
key state, see Key states of KMS keys in the Key Management Service Developer Guide.
This operation does not return any output. To verify that primary key is changed, use the\n DescribeKey operation.
\n\n Cross-account use: No. You cannot use this operation in a\n different Amazon Web Services account.
\n\n Required permissions:
\n\n kms:UpdatePrimaryRegion
on the current primary key (in the primary key's\n Region). Include this permission primary key's key policy.
\n kms:UpdatePrimaryRegion
on the current replica key (in the replica key's\n Region). Include this permission in the replica key's key policy.
\n Related operations\n
\n\n CreateKey\n
\n\n ReplicateKey\n
\nVerifies a digital signature that was generated by the Sign operation.
\n \nVerification confirms that an authorized user signed the message with the specified KMS\n key and signing algorithm, and the message hasn't changed since it was signed. If the\n signature is verified, the value of the SignatureValid
field in the response is\n True
. If the signature verification fails, the Verify
operation\n fails with an KMSInvalidSignatureException
exception.
A digital signature is generated by using the private key in an asymmetric KMS key. The\n signature is verified by using the public key in the same asymmetric KMS key.\n For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.
\nTo use the Verify
operation, specify the same asymmetric KMS key, message,\n and signing algorithm that were used to produce the signature. The message type does not need\n to be the same as the one used for signing, but it must indicate whether the value of the\n Message
parameter should be hashed as part of the verification process.
You can also verify the digital signature by using the public key of the KMS key outside\n of KMS. Use the GetPublicKey operation to download the public key in the\n asymmetric KMS key and then use the public key to verify the signature outside of KMS. The\n advantage of using the Verify
operation is that it is performed within KMS. As\n a result, it's easy to call, the operation is performed within the FIPS boundary, it is logged\n in CloudTrail, and you can use key policy and IAM policy to determine who is authorized to use\n the KMS key to verify signatures.
To verify a signature outside of KMS with an SM2 public key (China Regions only), you\n must specify the distinguishing ID. By default, KMS uses 1234567812345678
as\n the distinguishing ID. For more information, see Offline\n verification with SM2 key pairs.
The KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify\n the key ARN or alias ARN in the value of the KeyId
parameter.
\n Required permissions: kms:Verify (key policy)
\n\n Related operations: Sign\n
" + "smithy.api#documentation": "Verifies a digital signature that was generated by the Sign operation.
\n \nVerification confirms that an authorized user signed the message with the specified KMS\n key and signing algorithm, and the message hasn't changed since it was signed. If the\n signature is verified, the value of the SignatureValid
field in the response is\n True
. If the signature verification fails, the Verify
operation\n fails with an KMSInvalidSignatureException
exception.
A digital signature is generated by using the private key in an asymmetric KMS key. The\n signature is verified by using the public key in the same asymmetric KMS key.\n For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.
\nTo use the Verify
operation, specify the same asymmetric KMS key, message,\n and signing algorithm that were used to produce the signature. The message type does not need\n to be the same as the one used for signing, but it must indicate whether the value of the\n Message
parameter should be hashed as part of the verification process.
You can also verify the digital signature by using the public key of the KMS key outside\n of KMS. Use the GetPublicKey operation to download the public key in the\n asymmetric KMS key and then use the public key to verify the signature outside of KMS. The\n advantage of using the Verify
operation is that it is performed within KMS. As\n a result, it's easy to call, the operation is performed within the FIPS boundary, it is logged\n in CloudTrail, and you can use key policy and IAM policy to determine who is authorized to use\n the KMS key to verify signatures.
To verify a signature outside of KMS with an SM2 public key (China Regions only), you\n must specify the distinguishing ID. By default, KMS uses 1234567812345678
as\n the distinguishing ID. For more information, see Offline\n verification with SM2 key pairs.
The KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify\n the key ARN or alias ARN in the value of the KeyId
parameter.
\n Required permissions: kms:Verify (key policy)
\n\n Related operations: Sign\n
", + "smithy.api#examples": [ + { + "title": "To use an asymmetric KMS key to verify a digital signature", + "documentation": "This operation uses the public key in an elliptic curve (ECC) asymmetric key to verify a digital signature within AWS KMS.", + "input": { + "KeyId": "alias/ECC_signing_key", + "Message": "Verifies the hash-based message authentication code (HMAC) for a specified message, HMAC\n KMS key, and MAC algorithm. To verify the HMAC, VerifyMac
computes an HMAC using\n the message, HMAC KMS key, and MAC algorithm that you specify, and compares the computed HMAC\n to the HMAC that you specify. If the HMACs are identical, the verification succeeds;\n otherwise, it fails. Verification indicates that the message hasn't changed since the HMAC was\n calculated, and the specified key was used to generate and verify the HMAC.
HMAC KMS keys and the HMAC algorithms that KMS uses conform to industry standards\n defined in RFC 2104.
\nThis operation is part of KMS support for HMAC KMS keys. For details, see\n HMAC keys in KMS in the\n Key Management Service Developer Guide.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify\n the key ARN or alias ARN in the value of the KeyId
parameter.
\n Required permissions: kms:VerifyMac (key policy)
\n\n Related operations: GenerateMac\n
" + "smithy.api#documentation": "Verifies the hash-based message authentication code (HMAC) for a specified message, HMAC\n KMS key, and MAC algorithm. To verify the HMAC, VerifyMac
computes an HMAC using\n the message, HMAC KMS key, and MAC algorithm that you specify, and compares the computed HMAC\n to the HMAC that you specify. If the HMACs are identical, the verification succeeds;\n otherwise, it fails. Verification indicates that the message hasn't changed since the HMAC was\n calculated, and the specified key was used to generate and verify the HMAC.
HMAC KMS keys and the HMAC algorithms that KMS uses conform to industry standards\n defined in RFC 2104.
\nThis operation is part of KMS support for HMAC KMS keys. For details, see\n HMAC keys in KMS in the\n Key Management Service Developer Guide.
\nThe KMS key that you use for this operation must be in a compatible key state. For\ndetails, see Key states of KMS keys in the Key Management Service Developer Guide.
\n\n Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify\n the key ARN or alias ARN in the value of the KeyId
parameter.
\n Required permissions: kms:VerifyMac (key policy)
\n\n Related operations: GenerateMac\n
", + "smithy.api#examples": [ + { + "title": "To verify an HMAC", + "documentation": "This example verifies an HMAC for a particular message, HMAC KMS keys, and MAC algorithm. A value of 'true' in the MacValid value in the response indicates that the HMAC is valid.", + "input": { + "Message": "Hello World", + "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab", + "MacAlgorithm": "HMAC_SHA_384", + "Mac": "The name of the Amazon Lex bot to which this association is being made.
\nCurrently, Amazon Lex supports associations with Facebook and Slack,\n and Twilio.
\n\nThe name of the Amazon Lex bot to which this association is being made.
\nCurrently, Amazon Lex supports associations with Facebook and Slack,\n and Twilio.
\nIdentifies a specific revision of the $LATEST
version\n of the bot. If you specify a checksum and the $LATEST
version\n of the bot has a different checksum, a\n PreconditionFailedException
exception is returned and Amazon Lex\n doesn't publish a new version. If you don't specify a checksum, Amazon Lex\n publishes the $LATEST
version.
Indicates whether utterances entered by the user should be sent to\n Amazon Comprehend for sentiment analysis.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexmodelbuildingservice#CreateIntentVersion": { @@ -1781,6 +1816,9 @@ "smithy.api#documentation": "Checksum of the $LATEST
version of the intent that\n should be used to create the new version. If you specify a checksum and\n the $LATEST
version of the intent has a different checksum,\n Amazon Lex returns a PreconditionFailedException
exception and\n doesn't publish a new version. If you don't specify a checksum, Amazon Lex\n publishes the $LATEST
version.
An array of OutputContext
objects that lists the contexts\n that the intent activates when the intent is fulfilled.
Creates a new version of a slot type based on the\n $LATEST
version of the specified slot type. If the\n $LATEST
version of this resource has not changed since the\n last version that you created, Amazon Lex doesn't create a new version. It\n returns the last version that you created.
You can update only the $LATEST
version of a slot\n type. You can't update the numbered versions that you create with the\n CreateSlotTypeVersion
operation.
When you create a version of a slot type, Amazon Lex sets the version to\n 1. Subsequent versions increment by 1. For more information, see versioning-intro.
\n\nThis operation requires permissions for the\n lex:CreateSlotTypeVersion
action.
Creates a new version of a slot type based on the\n $LATEST
version of the specified slot type. If the\n $LATEST
version of this resource has not changed since the\n last version that you created, Amazon Lex doesn't create a new version. It\n returns the last version that you created.
You can update only the $LATEST
version of a slot\n type. You can't update the numbered versions that you create with the\n CreateSlotTypeVersion
operation.
When you create a version of a slot type, Amazon Lex sets the version to\n 1. Subsequent versions increment by 1. For more information, see versioning-intro.
\nThis operation requires permissions for the\n lex:CreateSlotTypeVersion
action.
Checksum for the $LATEST
version of the slot type that\n you want to publish. If you specify a checksum and the\n $LATEST
version of the slot type has a different checksum,\n Amazon Lex returns a PreconditionFailedException
exception and\n doesn't publish the new version. If you don't specify a checksum, Amazon Lex\n publishes the $LATEST
version.
Configuration information that extends the parent built-in slot\n type.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexmodelbuildingservice#CustomOrBuiltinSlotTypeName": { @@ -2056,7 +2103,7 @@ } ], "traits": { - "smithy.api#documentation": "Deletes all versions of the bot, including the $LATEST
\n version. To delete a specific version of the bot, use the DeleteBotVersion operation. The DeleteBot
\n operation doesn't immediately remove the bot schema. Instead, it is marked\n for deletion and removed later.
Amazon Lex stores utterances indefinitely for improving the ability of\n your bot to respond to user inputs. These utterances are not removed when\n the bot is deleted. To remove the utterances, use the DeleteUtterances operation.
\nIf a bot has an alias, you can't delete it. Instead, the\n DeleteBot
operation returns a\n ResourceInUseException
exception that includes a reference\n to the alias that refers to the bot. To remove the reference to the bot,\n delete the alias. If you get the same exception again, delete the\n referring alias until the DeleteBot
operation is\n successful.
This operation requires permissions for the\n lex:DeleteBot
action.
Deletes all versions of the bot, including the $LATEST
\n version. To delete a specific version of the bot, use the DeleteBotVersion operation. The DeleteBot
\n operation doesn't immediately remove the bot schema. Instead, it is marked\n for deletion and removed later.
Amazon Lex stores utterances indefinitely for improving the ability of\n your bot to respond to user inputs. These utterances are not removed when\n the bot is deleted. To remove the utterances, use the DeleteUtterances operation.
\nIf a bot has an alias, you can't delete it. Instead, the\n DeleteBot
operation returns a\n ResourceInUseException
exception that includes a reference\n to the alias that refers to the bot. To remove the reference to the bot,\n delete the alias. If you get the same exception again, delete the\n referring alias until the DeleteBot
operation is\n successful.
This operation requires permissions for the\n lex:DeleteBot
action.
Deletes all versions of the intent, including the\n $LATEST
version. To delete a specific version of the\n intent, use the DeleteIntentVersion operation.
You can delete a version of an intent only if it is not\n referenced. To delete an intent that is referred to in one or more bots\n (see how-it-works), you must remove those references\n first.
\n If you get the ResourceInUseException
exception, it\n provides an example reference that shows where the intent is referenced.\n To remove the reference to the intent, either update the bot or delete\n it. If you get the same exception when you attempt to delete the intent\n again, repeat until the intent has no references and the call to\n DeleteIntent
is successful.
This operation requires permission for the\n lex:DeleteIntent
action.
Deletes all versions of the intent, including the\n $LATEST
version. To delete a specific version of the\n intent, use the DeleteIntentVersion operation.
You can delete a version of an intent only if it is not\n referenced. To delete an intent that is referred to in one or more bots\n (see how-it-works), you must remove those references\n first.
\n If you get the ResourceInUseException
exception, it\n provides an example reference that shows where the intent is referenced.\n To remove the reference to the intent, either update the bot or delete\n it. If you get the same exception when you attempt to delete the intent\n again, repeat until the intent has no references and the call to\n DeleteIntent
is successful.
This operation requires permission for the\n lex:DeleteIntent
action.
Describes how the intent is fulfilled after the user provides all\n of the information required for the intent. You can provide a Lambda\n function to process the intent, or you can return the intent information\n to the client application. We recommend that you use a Lambda function so\n that the relevant logic lives in the Cloud and limit the client-side code\n primarily to presentation. If you need to update the logic, you only\n update the Lambda function; you don't need to upgrade your client\n application.
\n\n\nConsider the following examples:
\nIn a pizza ordering application, after the user provides all of\n the information for placing an order, you use a Lambda function to\n place an order with a pizzeria.
\nIn a gaming application, when a user says \"pick up a rock,\"\n this information must go back to the client application so that it can\n perform the operation and update the graphics. In this case, you want\n Amazon Lex to return the intent data to the client.
\nDescribes how the intent is fulfilled after the user provides all\n of the information required for the intent. You can provide a Lambda\n function to process the intent, or you can return the intent information\n to the client application. We recommend that you use a Lambda function so\n that the relevant logic lives in the Cloud and limit the client-side code\n primarily to presentation. If you need to update the logic, you only\n update the Lambda function; you don't need to upgrade your client\n application.
\nConsider the following examples:
\nIn a pizza ordering application, after the user provides all of\n the information for placing an order, you use a Lambda function to\n place an order with a pizzeria.
\nIn a gaming application, when a user says \"pick up a rock,\"\n this information must go back to the client application so that it can\n perform the operation and update the graphics. In this case, you want\n Amazon Lex to return the intent data to the client.
\nReturns metadata information for a specific bot. You must provide\n the bot name and the bot version or alias.
\n This operation requires permissions for the\n lex:GetBot
action.
The settings that determine how Amazon Lex uses conversation logs for the\n alias.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexmodelbuildingservice#GetBotAliases": { @@ -2874,6 +3017,9 @@ "smithy.api#httpQuery": "nameContains" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lexmodelbuildingservice#GetBotAliasesResponse": { @@ -2891,6 +3037,9 @@ "smithy.api#documentation": "A pagination token for fetching next page of aliases. If the\n response to this call is truncated, Amazon Lex returns a pagination token in\n the response. To fetch the next page of aliases, specify the pagination\n token in the next request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexmodelbuildingservice#GetBotChannelAssociation": { @@ -2951,6 +3100,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lexmodelbuildingservice#GetBotChannelAssociationResponse": { @@ -3010,6 +3162,9 @@ "smithy.api#documentation": "If status
is FAILED
, Amazon Lex provides the\n reason that it failed to create the association.
A pagination token that fetches the next page of associations. If\n the response to this call is truncated, Amazon Lex returns a pagination token\n in the response. To fetch the next page of associations, specify the\n pagination token in the next request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexmodelbuildingservice#GetBotRequest": { @@ -3123,6 +3284,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lexmodelbuildingservice#GetBotResponse": { @@ -3236,6 +3400,9 @@ "smithy.api#documentation": "Indicates whether user utterances should be sent to Amazon Comprehend\n for sentiment analysis.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexmodelbuildingservice#GetBotVersions": { @@ -3299,6 +3466,9 @@ "smithy.api#httpQuery": "maxResults" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lexmodelbuildingservice#GetBotVersionsResponse": { @@ -3316,6 +3486,9 @@ "smithy.api#documentation": "A pagination token for fetching the next page of bot versions. If\n the response to this call is truncated, Amazon Lex returns a pagination token\n in the response. To fetch the next page of versions, specify the\n pagination token in the next request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexmodelbuildingservice#GetBots": { @@ -3342,6 +3515,28 @@ ], "traits": { "smithy.api#documentation": "Returns bot information as follows:
\nIf you provide the nameContains
field, the\n response includes information for the $LATEST
version of\n all bots whose name contains the specified string.
If you don't specify the nameContains
field, the\n operation returns information about the $LATEST
version\n of all of your bots.
This operation requires permission for the lex:GetBots
\n action.
If the response is truncated, it includes a pagination token that\n you can specify in your next request to fetch the next page of bots.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexmodelbuildingservice#GetBuiltinIntent": { @@ -3439,6 +3640,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lexmodelbuildingservice#GetBuiltinIntentResponse": { @@ -3462,6 +3666,9 @@ "smithy.api#documentation": "An array of BuiltinIntentSlot
objects, one entry for\n each slot type in the intent.
A pagination token that fetches the next page of intents. If the\n response to this API call is truncated, Amazon Lex returns a pagination token\n in the response. To fetch the next page of intents, specify the pagination\n token in the next request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexmodelbuildingservice#GetBuiltinSlotTypes": { @@ -3567,7 +3780,7 @@ } ], "traits": { - "smithy.api#documentation": "Gets a list of built-in slot types that meet the specified\n criteria.
\nFor a list of built-in slot types, see Slot Type Reference in the Alexa Skills\n Kit.
\n\nThis operation requires permission for the\n lex:GetBuiltInSlotTypes
action.
Gets a list of built-in slot types that meet the specified\n criteria.
\nFor a list of built-in slot types, see Slot Type Reference in the Alexa Skills\n Kit.
\nThis operation requires permission for the\n lex:GetBuiltInSlotTypes
action.
If the response is truncated, the response includes a pagination\n token that you can use in your next request to fetch the next page of slot\n types.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexmodelbuildingservice#GetExport": { @@ -3696,6 +3915,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lexmodelbuildingservice#GetExportResponse": { @@ -3743,6 +3965,9 @@ "smithy.api#documentation": "An S3 pre-signed URL that provides the location of the exported\n resource. The exported resource is a ZIP archive that contains the\n exported resource in JSON format. The structure of the archive may change.\n Your code should not rely on the archive structure.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexmodelbuildingservice#GetImport": { @@ -3787,6 +4012,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lexmodelbuildingservice#GetImportResponse": { @@ -3834,6 +4062,9 @@ "smithy.api#documentation": "A timestamp for the date and time that the import job was\n created.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexmodelbuildingservice#GetIntent": { @@ -3860,6 +4091,149 @@ ], "traits": { "smithy.api#documentation": "Returns information about an intent. In addition to the intent\n name, you must specify the intent version.
\n This operation requires permissions to perform the\n lex:GetIntent
action.
An array of OutputContext
objects that lists the contexts\n that the intent activates when the intent is fulfilled.
A pagination token for fetching the next page of intent versions.\n If the response to this call is truncated, Amazon Lex returns a pagination\n token in the response. To fetch the next page of versions, specify the\n pagination token in the next request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexmodelbuildingservice#GetIntents": { @@ -4105,6 +4491,27 @@ ], "traits": { "smithy.api#documentation": "Returns intent information as follows:
\nIf you specify the nameContains
field, returns the\n $LATEST
version of all intents that contain the\n specified string.
If you don't specify the nameContains
field,\n returns information about the $LATEST
version of all\n intents.
The operation requires permission for the\n lex:GetIntents
action.
If the response is truncated, the response includes a pagination\n token that you can specify in your next request to fetch the next page of\n intents.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexmodelbuildingservice#GetMigration": { @@ -4202,6 +4615,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lexmodelbuildingservice#GetMigrationResponse": { @@ -4267,6 +4683,9 @@ "smithy.api#documentation": "A list of alerts and warnings that indicate issues with the migration\n for the Amazon Lex V1 bot to Amazon Lex V2. You receive a warning when an Amazon Lex V1\n feature has a different implementation if Amazon Lex V2.
\nFor more information, see Migrating a bot in the Amazon Lex V2\n developer guide.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexmodelbuildingservice#GetMigrations": { @@ -4347,6 +4766,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lexmodelbuildingservice#GetMigrationsResponse": { @@ -4364,6 +4786,9 @@ "smithy.api#documentation": "If the response is truncated, it includes a pagination token that you\n can specify in your next request to fetch the next page of\n migrations.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexmodelbuildingservice#GetSlotType": { @@ -4390,6 +4815,32 @@ ], "traits": { "smithy.api#documentation": "Returns information about a specific version of a slot type. In\n addition to specifying the slot type name, you must specify the slot type\n version.
\nThis operation requires permissions for the\n lex:GetSlotType
action.
Configuration information that extends the parent built-in slot\n type.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexmodelbuildingservice#GetSlotTypeVersions": { @@ -4544,6 +5001,9 @@ "smithy.api#httpQuery": "maxResults" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lexmodelbuildingservice#GetSlotTypeVersionsResponse": { @@ -4561,6 +5021,9 @@ "smithy.api#documentation": "A pagination token for fetching the next page of slot type\n versions. If the response to this call is truncated, Amazon Lex returns a\n pagination token in the response. To fetch the next page of versions,\n specify the pagination token in the next request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexmodelbuildingservice#GetSlotTypes": { @@ -4587,6 +5050,41 @@ ], "traits": { "smithy.api#documentation": "Returns slot type information as follows:
\nIf you specify the nameContains
field, returns the\n $LATEST
version of all slot types that contain the\n specified string.
If you don't specify the nameContains
field,\n returns information about the $LATEST
version of all slot\n types.
The operation requires permission for the\n lex:GetSlotTypes
action.
If the response is truncated, it includes a pagination token that\n you can specify in your next request to fetch the next page of slot\n types.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexmodelbuildingservice#GetUtterancesView": { @@ -4697,6 +5201,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lexmodelbuildingservice#GetUtterancesViewResponse": { @@ -4714,6 +5221,9 @@ "smithy.api#documentation": "An array of UtteranceList objects, each\n containing a list of UtteranceData objects describing\n the utterances that were processed by your bot. The response contains a\n maximum of 100 UtteranceData
objects for each version. Amazon Lex\n returns the most frequent utterances received by the bot in the last 15\n days.
The tags associated with a resource.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexmodelbuildingservice#ListsOfUtterances": { @@ -5043,62 +5563,86 @@ } }, "com.amazonaws.lexmodelbuildingservice#Locale": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "de-DE", - "name": "DE_DE" - }, - { - "value": "en-AU", - "name": "EN_AU" - }, - { - "value": "en-GB", - "name": "EN_GB" - }, - { - "value": "en-IN", - "name": "EN_IN" - }, - { - "value": "en-US", - "name": "EN_US" - }, - { - "value": "es-419", - "name": "ES_419" - }, - { - "value": "es-ES", - "name": "ES_ES" - }, - { - "value": "es-US", - "name": "ES_US" - }, - { - "value": "fr-FR", - "name": "FR_FR" - }, - { - "value": "fr-CA", - "name": "FR_CA" - }, - { - "value": "it-IT", - "name": "IT_IT" - }, - { - "value": "ja-JP", - "name": "JA_JP" - }, - { - "value": "ko-KR", - "name": "KO_KR" + "type": "enum", + "members": { + "DE_DE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "de-DE" + } + }, + "EN_AU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-AU" + } + }, + "EN_GB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-GB" + } + }, + "EN_IN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-IN" + } + }, + "EN_US": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-US" + } + }, + "ES_419": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "es-419" + } + }, + "ES_ES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "es-ES" + } + }, + "ES_US": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "es-US" + } + }, + "FR_FR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "fr-FR" + } + }, + "FR_CA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "fr-CA" + } + }, + "IT_IT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "it-IT" + } + }, + "JA_JP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ja-JP" } - ] + }, + "KO_KR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ko-KR" + } + } } }, "com.amazonaws.lexmodelbuildingservice#LocaleList": { @@ -5193,18 +5737,20 @@ } }, "com.amazonaws.lexmodelbuildingservice#LogType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AUDIO", - "name": "AUDIO" - }, - { - "value": "TEXT", - "name": "TEXT" + "type": "enum", + "members": { + "AUDIO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUDIO" + } + }, + "TEXT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TEXT" } - ] + } } }, "com.amazonaws.lexmodelbuildingservice#MaxResults": { @@ -5217,18 +5763,20 @@ } }, "com.amazonaws.lexmodelbuildingservice#MergeStrategy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "OVERWRITE_LATEST", - "name": "OVERWRITE_LATEST" - }, - { - "value": "FAIL_ON_CONFLICT", - "name": "FAIL_ON_CONFLICT" + "type": "enum", + "members": { + "OVERWRITE_LATEST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OVERWRITE_LATEST" + } + }, + "FAIL_ON_CONFLICT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAIL_ON_CONFLICT" } - ] + } } }, "com.amazonaws.lexmodelbuildingservice#Message": { @@ -5334,18 +5882,20 @@ } }, "com.amazonaws.lexmodelbuildingservice#MigrationAlertType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ERROR", - "name": "ERROR" - }, - { - "value": "WARN", - "name": "WARN" + "type": "enum", + "members": { + "ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ERROR" + } + }, + "WARN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WARN" } - ] + } } }, "com.amazonaws.lexmodelbuildingservice#MigrationAlerts": { @@ -5365,52 +5915,60 @@ } }, "com.amazonaws.lexmodelbuildingservice#MigrationSortAttribute": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "V1_BOT_NAME", - "name": "V1_BOT_NAME" - }, - { - "value": "MIGRATION_DATE_TIME", - "name": "MIGRATION_DATE_TIME" + "type": "enum", + "members": { + "V1_BOT_NAME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "V1_BOT_NAME" + } + }, + "MIGRATION_DATE_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MIGRATION_DATE_TIME" + } + } + } + }, + "com.amazonaws.lexmodelbuildingservice#MigrationStatus": { + "type": "enum", + "members": { + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" + } + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" } - ] - } - }, - "com.amazonaws.lexmodelbuildingservice#MigrationStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IN_PROGRESS", - "name": "IN_PROGRESS" - }, - { - "value": "COMPLETED", - "name": "COMPLETED" - }, - { - "value": "FAILED", - "name": "FAILED" + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" } - ] + } } }, "com.amazonaws.lexmodelbuildingservice#MigrationStrategy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATE_NEW", - "name": "CREATE_NEW" - }, - { - "value": "UPDATE_EXISTING", - "name": "UPDATE_EXISTING" + "type": "enum", + "members": { + "CREATE_NEW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATE_NEW" + } + }, + "UPDATE_EXISTING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATE_EXISTING" } - ] + } } }, "com.amazonaws.lexmodelbuildingservice#MigrationSummary": { @@ -5518,18 +6076,20 @@ } }, "com.amazonaws.lexmodelbuildingservice#ObfuscationSetting": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NONE", - "name": "NONE" - }, - { - "value": "DEFAULT_OBFUSCATION", - "name": "DEFAULT_OBFUSCATION" + "type": "enum", + "members": { + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" } - ] + }, + "DEFAULT_OBFUSCATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEFAULT_OBFUSCATION" + } + } } }, "com.amazonaws.lexmodelbuildingservice#OutputContext": { @@ -5606,18 +6166,20 @@ } }, "com.amazonaws.lexmodelbuildingservice#ProcessBehavior": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SAVE", - "name": "SAVE" - }, - { - "value": "BUILD", - "name": "BUILD" + "type": "enum", + "members": { + "SAVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SAVE" + } + }, + "BUILD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BUILD" } - ] + } } }, "com.amazonaws.lexmodelbuildingservice#Prompt": { @@ -5683,7 +6245,95 @@ } ], "traits": { - "smithy.api#documentation": "Creates an Amazon Lex conversational bot or replaces an existing bot.\n When you create or update a bot you are only required to specify a name, a\n locale, and whether the bot is directed toward children under age 13. You\n can use this to add intents later, or to remove intents from an existing\n bot. When you create a bot with the minimum information, the bot is\n created or updated but Amazon Lex returns the response\n
FAILED
. You can build the bot after you add one or more\n intents. For more information about Amazon Lex bots, see how-it-works.
If you specify the name of an existing bot, the fields in the\n request replace the existing values in the $LATEST
version of\n the bot. Amazon Lex removes any fields that you don't provide values for in the\n request, except for the idleTTLInSeconds
and\n privacySettings
fields, which are set to their default\n values. If you don't specify values for required fields, Amazon Lex throws an\n exception.
This operation requires permissions for the lex:PutBot
\n action. For more information, see security-iam.
Creates an Amazon Lex conversational bot or replaces an existing bot.\n When you create or update a bot you are only required to specify a name, a\n locale, and whether the bot is directed toward children under age 13. You\n can use this to add intents later, or to remove intents from an existing\n bot. When you create a bot with the minimum information, the bot is\n created or updated but Amazon Lex returns the response\n
FAILED
. You can build the bot after you add one or more\n intents. For more information about Amazon Lex bots, see how-it-works.
If you specify the name of an existing bot, the fields in the\n request replace the existing values in the $LATEST
version of\n the bot. Amazon Lex removes any fields that you don't provide values for in the\n request, except for the idleTTLInSeconds
and\n privacySettings
fields, which are set to their default\n values. If you don't specify values for required fields, Amazon Lex throws an\n exception.
This operation requires permissions for the lex:PutBot
\n action. For more information, see security-iam.
A list of tags to add to the bot alias. You can only add tags when you\n create an alias, you can't use the PutBotAlias
operation to\n update the tags on a bot alias. To update tags, use the\n TagResource
operation.
A list of tags associated with a bot.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexmodelbuildingservice#PutBotRequest": { @@ -5910,7 +6566,7 @@ "locale": { "target": "com.amazonaws.lexmodelbuildingservice#Locale", "traits": { - "smithy.api#documentation": "Specifies the target locale for the bot. Any intent used in the\n bot must be compatible with the locale of the bot.
\n\nThe default is en-US
.
Specifies the target locale for the bot. Any intent used in the\n bot must be compatible with the locale of the bot.
\nThe default is en-US
.
A list of tags to add to the bot. You can only add tags when you\n create a bot, you can't use the PutBot
operation to update\n the tags on a bot. To update tags, use the TagResource
\n operation.
A list of tags associated with the bot.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexmodelbuildingservice#PutIntent": { @@ -6092,7 +6754,275 @@ } ], "traits": { - "smithy.api#documentation": "Creates an intent or replaces an existing intent.
\nTo define the interaction between the user and your bot, you use\n one or more intents. For a pizza ordering bot, for example, you would\n create an OrderPizza
intent.
To create an intent or replace an existing intent, you must provide\n the following:
\nIntent name. For example, OrderPizza
.
Sample utterances. For example, \"Can I order a pizza, please.\"\n and \"I want to order a pizza.\"
\nInformation to be gathered. You specify slot types for the\n information that your bot will request from the user. You can specify\n standard slot types, such as a date or a time, or custom slot types\n such as the size and crust of a pizza.
\nHow the intent will be fulfilled. You can provide a Lambda\n function or configure the intent to return the intent information to\n the client application. If you use a Lambda function, when all of the\n intent information is available, Amazon Lex invokes your Lambda function.\n If you configure your intent to return the intent information to the\n client application.
\nYou can specify other optional information in the request, such\n as:
\n\nA confirmation prompt to ask the user to confirm an intent. For\n example, \"Shall I order your pizza?\"
\nA conclusion statement to send to the user after the intent has\n been fulfilled. For example, \"I placed your pizza order.\"
\nA follow-up prompt that asks the user for additional activity.\n For example, asking \"Do you want to order a drink with your\n pizza?\"
\nIf you specify an existing intent name to update the intent, Amazon Lex\n replaces the values in the $LATEST
version of the intent with\n the values in the request. Amazon Lex removes fields that you don't provide in\n the request. If you don't specify the required fields, Amazon Lex throws an\n exception. When you update the $LATEST
version of an intent,\n the status
field of any bot that uses the\n $LATEST
version of the intent is set to\n NOT_BUILT
.
For more information, see how-it-works.
\nThis operation requires permissions for the\n lex:PutIntent
action.
Creates an intent or replaces an existing intent.
\nTo define the interaction between the user and your bot, you use\n one or more intents. For a pizza ordering bot, for example, you would\n create an OrderPizza
intent.
To create an intent or replace an existing intent, you must provide\n the following:
\nIntent name. For example, OrderPizza
.
Sample utterances. For example, \"Can I order a pizza, please.\"\n and \"I want to order a pizza.\"
\nInformation to be gathered. You specify slot types for the\n information that your bot will request from the user. You can specify\n standard slot types, such as a date or a time, or custom slot types\n such as the size and crust of a pizza.
\nHow the intent will be fulfilled. You can provide a Lambda\n function or configure the intent to return the intent information to\n the client application. If you use a Lambda function, when all of the\n intent information is available, Amazon Lex invokes your Lambda function.\n If you configure your intent to return the intent information to the\n client application.
\nYou can specify other optional information in the request, such\n as:
\nA confirmation prompt to ask the user to confirm an intent. For\n example, \"Shall I order your pizza?\"
\nA conclusion statement to send to the user after the intent has\n been fulfilled. For example, \"I placed your pizza order.\"
\nA follow-up prompt that asks the user for additional activity.\n For example, asking \"Do you want to order a drink with your\n pizza?\"
\nIf you specify an existing intent name to update the intent, Amazon Lex\n replaces the values in the $LATEST
version of the intent with\n the values in the request. Amazon Lex removes fields that you don't provide in\n the request. If you don't specify the required fields, Amazon Lex throws an\n exception. When you update the $LATEST
version of an intent,\n the status
field of any bot that uses the\n $LATEST
version of the intent is set to\n NOT_BUILT
.
For more information, see how-it-works.
\nThis operation requires permissions for the\n lex:PutIntent
action.
An array of utterances (strings) that a user might say to signal\n the intent. For example, \"I want {PizzaSize} pizza\", \"Order {Quantity}\n {PizzaSize} pizzas\".
\n\nIn each utterance, a slot name is enclosed in curly braces.\n
" + "smithy.api#documentation": "An array of utterances (strings) that a user might say to signal\n the intent. For example, \"I want {PizzaSize} pizza\", \"Order {Quantity}\n {PizzaSize} pizzas\".
\nIn each utterance, a slot name is enclosed in curly braces.\n
" } }, "confirmationPrompt": { @@ -6144,7 +7074,7 @@ "followUpPrompt": { "target": "com.amazonaws.lexmodelbuildingservice#FollowUpPrompt", "traits": { - "smithy.api#documentation": "Amazon Lex uses this prompt to solicit additional activity after\n fulfilling an intent. For example, after the OrderPizza
\n intent is fulfilled, you might prompt the user to order a drink.
The action that Amazon Lex takes depends on the user's response, as\n follows:
\nIf the user says \"Yes\" it responds with the clarification\n prompt that is configured for the bot.
\nif the user says \"Yes\" and continues with an utterance that\n triggers an intent it starts a conversation for the intent.
\nIf the user says \"No\" it responds with the rejection statement\n configured for the the follow-up prompt.
\nIf it doesn't recognize the utterance it repeats the follow-up\n prompt again.
\nThe followUpPrompt
field and the\n conclusionStatement
field are mutually exclusive. You can\n specify only one.
Amazon Lex uses this prompt to solicit additional activity after\n fulfilling an intent. For example, after the OrderPizza
\n intent is fulfilled, you might prompt the user to order a drink.
The action that Amazon Lex takes depends on the user's response, as\n follows:
\nIf the user says \"Yes\" it responds with the clarification\n prompt that is configured for the bot.
\nif the user says \"Yes\" and continues with an utterance that\n triggers an intent it starts a conversation for the intent.
\nIf the user says \"No\" it responds with the rejection statement\n configured for the the follow-up prompt.
\nIf it doesn't recognize the utterance it repeats the follow-up\n prompt again.
\nThe followUpPrompt
field and the\n conclusionStatement
field are mutually exclusive. You can\n specify only one.
An array of OutputContext
objects that lists the contexts\n that the intent activates when the intent is fulfilled.
An array of OutputContext
objects that lists the contexts\n that the intent activates when the intent is fulfilled.
Creates a custom slot type or replaces an existing custom slot\n type.
\nTo create a custom slot type, specify a name for the slot type and\n a set of enumeration values, which are the values that a slot of this type\n can assume. For more information, see how-it-works.
\nIf you specify the name of an existing slot type, the fields in the\n request replace the existing values in the $LATEST
version of\n the slot type. Amazon Lex removes the fields that you don't provide in the\n request. If you don't specify required fields, Amazon Lex throws an exception.\n When you update the $LATEST
version of a slot type, if a bot\n uses the $LATEST
version of an intent that contains the slot\n type, the bot's status
field is set to\n NOT_BUILT
.
This operation requires permissions for the\n lex:PutSlotType
action.
Creates a custom slot type or replaces an existing custom slot\n type.
\nTo create a custom slot type, specify a name for the slot type and\n a set of enumeration values, which are the values that a slot of this type\n can assume. For more information, see how-it-works.
\nIf you specify the name of an existing slot type, the fields in the\n request replace the existing values in the $LATEST
version of\n the slot type. Amazon Lex removes the fields that you don't provide in the\n request. If you don't specify required fields, Amazon Lex throws an exception.\n When you update the $LATEST
version of a slot type, if a bot\n uses the $LATEST
version of an intent that contains the slot\n type, the bot's status
field is set to\n NOT_BUILT
.
This operation requires permissions for the\n lex:PutSlotType
action.
Configuration information that extends the parent built-in slot type.\n The configuration is added to the settings for the parent slot\n type.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lexmodelbuildingservice#PutSlotTypeResponse": { @@ -6480,6 +7453,9 @@ "smithy.api#documentation": "Configuration information that extends the parent built-in slot\n type.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexmodelbuildingservice#QueryFilterString": { @@ -6491,26 +7467,32 @@ } }, "com.amazonaws.lexmodelbuildingservice#ReferenceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Intent", - "name": "INTENT" - }, - { - "value": "Bot", - "name": "BOT" - }, - { - "value": "BotAlias", - "name": "BOTALIAS" - }, - { - "value": "BotChannel", - "name": "BOTCHANNEL" + "type": "enum", + "members": { + "INTENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Intent" } - ] + }, + "BOT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Bot" + } + }, + "BOTALIAS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BotAlias" + } + }, + "BOTCHANNEL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BotChannel" + } + } } }, "com.amazonaws.lexmodelbuildingservice#RegexPattern": { @@ -6578,22 +7560,26 @@ } }, "com.amazonaws.lexmodelbuildingservice#ResourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "BOT", - "name": "BOT" - }, - { - "value": "INTENT", - "name": "INTENT" - }, - { - "value": "SLOT_TYPE", - "name": "SLOT_TYPE" + "type": "enum", + "members": { + "BOT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BOT" + } + }, + "INTENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTENT" + } + }, + "SLOT_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SLOT_TYPE" } - ] + } } }, "com.amazonaws.lexmodelbuildingservice#ResponseCard": { @@ -6691,18 +7677,20 @@ } }, "com.amazonaws.lexmodelbuildingservice#SlotConstraint": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Required", - "name": "REQUIRED" - }, - { - "value": "Optional", - "name": "OPTIONAL" + "type": "enum", + "members": { + "REQUIRED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Required" + } + }, + "OPTIONAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Optional" } - ] + } } }, "com.amazonaws.lexmodelbuildingservice#SlotDefaultValue": { @@ -6886,33 +7874,37 @@ } }, "com.amazonaws.lexmodelbuildingservice#SlotValueSelectionStrategy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ORIGINAL_VALUE", - "name": "ORIGINAL_VALUE" - }, - { - "value": "TOP_RESOLUTION", - "name": "TOP_RESOLUTION" + "type": "enum", + "members": { + "ORIGINAL_VALUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ORIGINAL_VALUE" } - ] + }, + "TOP_RESOLUTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TOP_RESOLUTION" + } + } } }, "com.amazonaws.lexmodelbuildingservice#SortOrder": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ASCENDING", - "name": "ASCENDING" - }, - { - "value": "DESCENDING", - "name": "DESCENDING" + "type": "enum", + "members": { + "ASCENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASCENDING" + } + }, + "DESCENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DESCENDING" } - ] + } } }, "com.amazonaws.lexmodelbuildingservice#StartImport": { @@ -6973,6 +7965,9 @@ "smithy.api#documentation": "A list of tags to add to the imported bot. You can only add tags when\n you import a bot, you can't add tags to an intent or slot type.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lexmodelbuildingservice#StartImportResponse": { @@ -7020,6 +8015,9 @@ "smithy.api#documentation": "A timestamp for the date and time that the import job was\n requested.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexmodelbuildingservice#StartMigration": { @@ -7094,6 +8092,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lexmodelbuildingservice#StartMigrationResponse": { @@ -7147,6 +8148,9 @@ "smithy.api#documentation": "The date and time that the migration started.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexmodelbuildingservice#Statement": { @@ -7171,45 +8175,55 @@ } }, "com.amazonaws.lexmodelbuildingservice#Status": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "BUILDING", - "name": "BUILDING" - }, - { - "value": "READY", - "name": "READY" - }, - { - "value": "READY_BASIC_TESTING", - "name": "READY_BASIC_TESTING" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "NOT_BUILT", - "name": "NOT_BUILT" + "type": "enum", + "members": { + "BUILDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BUILDING" } - ] + }, + "READY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "READY" + } + }, + "READY_BASIC_TESTING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "READY_BASIC_TESTING" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "NOT_BUILT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NOT_BUILT" + } + } } }, "com.amazonaws.lexmodelbuildingservice#StatusType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Detected", - "name": "DETECTED" - }, - { - "value": "Missed", - "name": "MISSED" + "type": "enum", + "members": { + "DETECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Detected" } - ] + }, + "MISSED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Missed" + } + } } }, "com.amazonaws.lexmodelbuildingservice#String": { @@ -7334,11 +8348,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lexmodelbuildingservice#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.lexmodelbuildingservice#TagValue": { "type": "string", @@ -7405,11 +8425,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lexmodelbuildingservice#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.lexmodelbuildingservice#UserId": { "type": "string", diff --git a/codegen/sdk-codegen/aws-models/lex-models-v2.json b/codegen/sdk-codegen/aws-models/lex-models-v2.json index 74e0ce765d0..9cdde682d53 100644 --- a/codegen/sdk-codegen/aws-models/lex-models-v2.json +++ b/codegen/sdk-codegen/aws-models/lex-models-v2.json @@ -12408,6 +12408,7 @@ "arnNamespace": "lex", "cloudFormationName": "LexModelsV2", "cloudTrailEventSource": "lexmodelsv2.amazonaws.com", + "docId": "models.lex.v2-2020-08-07", "endpointPrefix": "models-v2-lex" }, "aws.auth#sigv4": { diff --git a/codegen/sdk-codegen/aws-models/lex-runtime-service.json b/codegen/sdk-codegen/aws-models/lex-runtime-service.json index 635a195ff03..f292ef82197 100644 --- a/codegen/sdk-codegen/aws-models/lex-runtime-service.json +++ b/codegen/sdk-codegen/aws-models/lex-runtime-service.json @@ -55,6 +55,7 @@ "arnNamespace": "lex", "cloudFormationName": "LexRuntimeService", "cloudTrailEventSource": "lexruntimeservice.amazonaws.com", + "docId": "runtime.lex-2016-11-28", "endpointPrefix": "runtime.lex" }, "aws.auth#sigv4": { @@ -123,52 +124,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", @@ -176,13 +181,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -192,251 +206,86 @@ { "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://runtime.lex-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://runtime-fips.lex.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://runtime-fips.lex.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "ref": "PartitionResult" }, - { - "conditions": [], - "endpoint": { - "url": "https://runtime.lex-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://runtime.lex-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://runtime.lex.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { @@ -458,7 +307,7 @@ } ], "endpoint": { - "url": "https://runtime.lex.{Region}.amazonaws.com", + "url": "https://runtime-fips.lex.{Region}.amazonaws.com", "properties": {}, "headers": {} }, @@ -483,7 +332,7 @@ } ], "endpoint": { - "url": "https://runtime.lex.{Region}.amazonaws.com", + "url": "https://runtime-fips.lex.{Region}.amazonaws.com", "properties": {}, "headers": {} }, @@ -492,24 +341,140 @@ { "conditions": [], "endpoint": { - "url": "https://runtime.lex.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://runtime.lex-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": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://runtime.lex.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws", + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://runtime.lex.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws-us-gov", + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://runtime.lex.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://runtime.lex.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -524,8 +489,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -537,8 +502,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -550,8 +515,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -563,8 +528,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -576,8 +541,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -589,8 +554,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -602,8 +567,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -615,8 +580,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -628,8 +593,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -641,8 +606,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -654,8 +619,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -667,8 +632,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -680,8 +645,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -693,8 +658,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -706,8 +671,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -719,8 +684,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -732,8 +697,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -745,8 +710,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -758,8 +723,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -771,8 +736,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -784,8 +749,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -797,8 +762,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -810,8 +786,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 } }, { @@ -823,8 +810,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -836,8 +834,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 } }, { @@ -849,8 +858,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -862,8 +871,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -875,8 +884,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -887,8 +896,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -899,10 +908,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" @@ -1062,7 +1077,7 @@ "min": 1, "max": 64 }, - "smithy.api#pattern": "[0-9]+|\\$LATEST" + "smithy.api#pattern": "^[0-9]+|\\$LATEST$" } }, "com.amazonaws.lexruntimeservice#Button": { @@ -1106,22 +1121,26 @@ } }, "com.amazonaws.lexruntimeservice#ConfirmationStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "None", - "name": "NONE" - }, - { - "value": "Confirmed", - "name": "CONFIRMED" - }, - { - "value": "Denied", - "name": "DENIED" + "type": "enum", + "members": { + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "None" + } + }, + "CONFIRMED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Confirmed" + } + }, + "DENIED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Denied" } - ] + } } }, "com.amazonaws.lexruntimeservice#ConflictException": { @@ -1138,14 +1157,14 @@ } }, "com.amazonaws.lexruntimeservice#ContentType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "application/vnd.amazonaws.card.generic", - "name": "GENERIC" + "type": "enum", + "members": { + "GENERIC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "application/vnd.amazonaws.card.generic" } - ] + } } }, "com.amazonaws.lexruntimeservice#DeleteSession": { @@ -1209,6 +1228,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lexruntimeservice#DeleteSessionResponse": { @@ -1238,6 +1260,9 @@ "smithy.api#documentation": "The unique identifier for the session.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexruntimeservice#DependencyFailedException": { @@ -1305,61 +1330,79 @@ } }, "com.amazonaws.lexruntimeservice#DialogActionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ElicitIntent", - "name": "ELICIT_INTENT" - }, - { - "value": "ConfirmIntent", - "name": "CONFIRM_INTENT" - }, - { - "value": "ElicitSlot", - "name": "ELICIT_SLOT" - }, - { - "value": "Close", - "name": "CLOSE" - }, - { - "value": "Delegate", - "name": "DELEGATE" + "type": "enum", + "members": { + "ELICIT_INTENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ElicitIntent" + } + }, + "CONFIRM_INTENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ConfirmIntent" + } + }, + "ELICIT_SLOT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ElicitSlot" } - ] + }, + "CLOSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Close" + } + }, + "DELEGATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Delegate" + } + } } }, "com.amazonaws.lexruntimeservice#DialogState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ElicitIntent", - "name": "ELICIT_INTENT" - }, - { - "value": "ConfirmIntent", - "name": "CONFIRM_INTENT" - }, - { - "value": "ElicitSlot", - "name": "ELICIT_SLOT" - }, - { - "value": "Fulfilled", - "name": "FULFILLED" - }, - { - "value": "ReadyForFulfillment", - "name": "READY_FOR_FULFILLMENT" - }, - { - "value": "Failed", - "name": "FAILED" + "type": "enum", + "members": { + "ELICIT_INTENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ElicitIntent" + } + }, + "CONFIRM_INTENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ConfirmIntent" + } + }, + "ELICIT_SLOT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ElicitSlot" + } + }, + "FULFILLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Fulfilled" + } + }, + "READY_FOR_FULFILLMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ReadyForFulfillment" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" } - ] + } } }, "com.amazonaws.lexruntimeservice#Double": { @@ -1372,22 +1415,26 @@ "type": "string" }, "com.amazonaws.lexruntimeservice#FulfillmentState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Fulfilled", - "name": "FULFILLED" - }, - { - "value": "Failed", - "name": "FAILED" - }, - { - "value": "ReadyForFulfillment", - "name": "READY_FOR_FULFILLMENT" + "type": "enum", + "members": { + "FULFILLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Fulfilled" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "READY_FOR_FULFILLMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ReadyForFulfillment" } - ] + } } }, "com.amazonaws.lexruntimeservice#GenericAttachment": { @@ -1493,6 +1540,9 @@ "smithy.api#httpQuery": "checkpointLabelFilter" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lexruntimeservice#GetSessionResponse": { @@ -1528,6 +1578,9 @@ "smithy.api#documentation": "A list of active contexts for the session. A context can be set when\n an intent is fulfilled or by calling the PostContent
,\n PostText
, or PutSession
operation.
You can use a context to control the intents that can follow up an\n intent, or to modify the operation of your application.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexruntimeservice#HttpContentType": { @@ -1621,7 +1674,7 @@ "min": 1, "max": 255 }, - "smithy.api#pattern": "[a-zA-Z0-9-]+" + "smithy.api#pattern": "^[a-zA-Z0-9-]+$" } }, "com.amazonaws.lexruntimeservice#IntentSummaryList": { @@ -1682,26 +1735,32 @@ } }, "com.amazonaws.lexruntimeservice#MessageFormatType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PlainText", - "name": "PLAIN_TEXT" - }, - { - "value": "CustomPayload", - "name": "CUSTOM_PAYLOAD" - }, - { - "value": "SSML", - "name": "SSML" - }, - { - "value": "Composite", - "name": "COMPOSITE" + "type": "enum", + "members": { + "PLAIN_TEXT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PlainText" + } + }, + "CUSTOM_PAYLOAD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CustomPayload" } - ] + }, + "SSML": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SSML" + } + }, + "COMPOSITE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Composite" + } + } } }, "com.amazonaws.lexruntimeservice#NotAcceptableException": { @@ -1866,6 +1925,9 @@ "smithy.api#httpHeader": "x-amz-lex-active-contexts" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lexruntimeservice#PostContentResponse": { @@ -2004,6 +2066,9 @@ "smithy.api#httpHeader": "x-amz-lex-active-contexts" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexruntimeservice#PostText": { @@ -2101,6 +2166,9 @@ "smithy.api#documentation": "A list of contexts active for the request. A context can be activated\n when a previous intent is fulfilled, or by including the context in the\n request,
\nIf you don't specify a list of contexts, Amazon Lex will use the current\n list of contexts for the session. If you specify an empty list, all\n contexts for the session are cleared.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lexruntimeservice#PostTextResponse": { @@ -2190,6 +2258,9 @@ "smithy.api#documentation": "A list of active contexts for the session. A context can be set when\n an intent is fulfilled or by calling the PostContent
,\n PostText
, or PutSession
operation.
You can use a context to control the intents that can follow up an\n intent, or to modify the operation of your application.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexruntimeservice#PredictedIntent": { @@ -2319,6 +2390,9 @@ "smithy.api#documentation": "A list of contexts active for the request. A context can be activated\n when a previous intent is fulfilled, or by including the context in the\n request,
\nIf you don't specify a list of contexts, Amazon Lex will use the current\n list of contexts for the session. If you specify an empty list, all\n contexts for the session are cleared.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lexruntimeservice#PutSessionResponse": { @@ -2412,6 +2486,9 @@ "smithy.api#httpHeader": "x-amz-lex-active-contexts" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexruntimeservice#RequestTimeoutException": { @@ -2578,7 +2655,7 @@ "min": 2, "max": 100 }, - "smithy.api#pattern": "[0-9a-zA-Z._:-]+" + "smithy.api#pattern": "^[0-9a-zA-Z._:-]+$" } }, "com.amazonaws.lexruntimeservice#genericAttachmentList": { diff --git a/codegen/sdk-codegen/aws-models/lex-runtime-v2.json b/codegen/sdk-codegen/aws-models/lex-runtime-v2.json index 3ed86ff6287..c3835852a55 100644 --- a/codegen/sdk-codegen/aws-models/lex-runtime-v2.json +++ b/codegen/sdk-codegen/aws-models/lex-runtime-v2.json @@ -58,6 +58,7 @@ "arnNamespace": "lex", "cloudFormationName": "LexRuntimeV2", "cloudTrailEventSource": "lexruntimev2.amazonaws.com", + "docId": "runtime.lex.v2-2020-08-07", "endpointPrefix": "runtime-v2-lex" }, "aws.auth#sigv4": { @@ -79,7 +80,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": true, + "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -108,13 +109,12 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "isSet", "argv": [ { - "ref": "Region" + "ref": "Endpoint" } - ], - "assign": "PartitionResult" + ] } ], "type": "tree", @@ -122,64 +122,17 @@ { "conditions": [ { - "fn": "isSet", + "fn": "booleanEquals", "argv": [ { - "ref": "Endpoint" - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" + "ref": "UseFIPS" }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + true ] } - ] + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" }, { "conditions": [ @@ -187,19 +140,51 @@ "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "ref": "UseDualStack" }, true ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [ + { + "fn": "isSet", + "argv": [ { - "fn": "booleanEquals", + "ref": "Region" + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", "argv": [ { - "ref": "UseDualStack" - }, - true - ] + "ref": "Region" + } + ], + "assign": "PartitionResult" } ], "type": "tree", @@ -209,90 +194,109 @@ { "fn": "booleanEquals", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } + "ref": "UseFIPS" + }, + true ] }, { "fn": "booleanEquals", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } + "ref": "UseDualStack" + }, + true ] } ], "type": "tree", "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://runtime-v2-lex-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, { "conditions": [], - "endpoint": { - "url": "https://runtime-v2-lex-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" } ] }, - { - "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": [ { "fn": "booleanEquals", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } + "ref": "UseFIPS" + }, + true ] } ], "type": "tree", "rules": [ { - "conditions": [], + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], "type": "tree", "rules": [ { @@ -305,657 +309,486 @@ "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" } ] }, - { - "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" - ] - } + "ref": "UseDualStack" + }, + true ] } ], "type": "tree", "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://runtime-v2-lex.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, { "conditions": [], - "endpoint": { - "url": "https://runtime-v2-lex.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] }, { "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" + "endpoint": { + "url": "https://runtime-v2-lex.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "endpoint": { - "url": "https://runtime-v2-lex.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://runtime-v2-lex-fips.ca-central-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "ca-central-1" - } - }, - { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://runtime-v2-lex-fips.ca-central-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "ca-central-1" - } - }, - { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex.ca-central-1.api.aws" + "url": "https://runtime-v2-lex.af-south-1.amazonaws.com" } }, "params": { + "Region": "af-south-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "ca-central-1" + "UseDualStack": false } }, { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex.ca-central-1.amazonaws.com" + "url": "https://runtime-v2-lex.ap-northeast-1.amazonaws.com" } }, "params": { + "Region": "ap-northeast-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ca-central-1" - } - }, - { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://runtime-v2-lex-fips.eu-central-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-central-1" + "UseDualStack": false } }, { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://runtime-v2-lex-fips.eu-central-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "eu-central-1" - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex.eu-central-1.api.aws" + "url": "https://runtime-v2-lex.ap-northeast-2.amazonaws.com" } }, "params": { + "Region": "ap-northeast-2", "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-central-1" + "UseDualStack": false } }, { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex.eu-central-1.amazonaws.com" + "url": "https://runtime-v2-lex.ap-southeast-1.amazonaws.com" } }, "params": { + "Region": "ap-southeast-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-central-1" - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://runtime-v2-lex-fips.us-west-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "us-west-2" - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://runtime-v2-lex-fips.us-west-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "us-west-2" + "UseDualStack": false } }, { - "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex.us-west-2.api.aws" + "url": "https://runtime-v2-lex.ap-southeast-2.amazonaws.com" } }, "params": { + "Region": "ap-southeast-2", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-west-2" + "UseDualStack": false } }, { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex.us-west-2.amazonaws.com" + "url": "https://runtime-v2-lex.ca-central-1.amazonaws.com" } }, "params": { + "Region": "ca-central-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-2" + "UseDualStack": false } }, { - "documentation": "For region af-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://runtime-v2-lex-fips.af-south-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "af-south-1" - } - }, - { - "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://runtime-v2-lex-fips.af-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "af-south-1" - } - }, - { - "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled", + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex.af-south-1.api.aws" + "url": "https://runtime-v2-lex.eu-central-1.amazonaws.com" } }, "params": { + "Region": "eu-central-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "af-south-1" + "UseDualStack": false } }, { - "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex.af-south-1.amazonaws.com" + "url": "https://runtime-v2-lex.eu-west-1.amazonaws.com" } }, "params": { + "Region": "eu-west-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "af-south-1" + "UseDualStack": false } }, { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://runtime-v2-lex-fips.eu-west-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-west-2" - } - }, - { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex-fips.eu-west-2.amazonaws.com" + "url": "https://runtime-v2-lex.eu-west-2.amazonaws.com" } }, "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex.eu-west-2.api.aws" + "url": "https://runtime-v2-lex.us-east-1.amazonaws.com" } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-west-2" + "UseDualStack": false } }, { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex.eu-west-2.amazonaws.com" + "url": "https://runtime-v2-lex.us-west-2.amazonaws.com" } }, "params": { + "Region": "us-west-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-2" + "UseDualStack": false } }, { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex-fips.eu-west-1.api.aws" + "url": "https://runtime-v2-lex-fips.us-east-1.api.aws" } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-west-1" + "UseDualStack": true } }, { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex-fips.eu-west-1.amazonaws.com" + "url": "https://runtime-v2-lex-fips.us-east-1.amazonaws.com" } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "eu-west-1" + "UseDualStack": false } }, { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://runtime-v2-lex.eu-west-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-west-1" - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex.eu-west-1.amazonaws.com" + "url": "https://runtime-v2-lex.us-east-1.api.aws" } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-1" + "UseDualStack": true } }, { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex-fips.ap-northeast-2.api.aws" + "url": "https://runtime-v2-lex-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-northeast-2" + "UseDualStack": true } }, { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex-fips.ap-northeast-2.amazonaws.com" + "url": "https://runtime-v2-lex-fips.cn-north-1.amazonaws.com.cn" } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-northeast-2" + "UseDualStack": false } }, { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex.ap-northeast-2.api.aws" + "url": "https://runtime-v2-lex.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-northeast-2" + "UseDualStack": true } }, { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex.ap-northeast-2.amazonaws.com" + "url": "https://runtime-v2-lex.cn-north-1.amazonaws.com.cn" } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-2" + "UseDualStack": false } }, { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex-fips.ap-northeast-1.api.aws" + "url": "https://runtime-v2-lex-fips.us-gov-east-1.api.aws" } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-northeast-1" + "UseDualStack": true } }, { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex-fips.ap-northeast-1.amazonaws.com" + "url": "https://runtime-v2-lex-fips.us-gov-east-1.amazonaws.com" } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-northeast-1" + "UseDualStack": false } }, { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex.ap-northeast-1.api.aws" + "url": "https://runtime-v2-lex.us-gov-east-1.api.aws" } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-northeast-1" + "UseDualStack": true } }, { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex.ap-northeast-1.amazonaws.com" + "url": "https://runtime-v2-lex.us-gov-east-1.amazonaws.com" } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-1" + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://runtime-v2-lex-fips.ap-southeast-1.api.aws" - } + "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, - "Region": "ap-southeast-1" + "UseDualStack": true } }, { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex-fips.ap-southeast-1.amazonaws.com" + "url": "https://runtime-v2-lex-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-southeast-1" + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://runtime-v2-lex.ap-southeast-1.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-southeast-1" + "UseDualStack": true } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex.ap-southeast-1.amazonaws.com" + "url": "https://runtime-v2-lex.us-iso-east-1.c2s.ic.gov" } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-1" + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://runtime-v2-lex-fips.ap-southeast-2.api.aws" - } + "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, - "Region": "ap-southeast-2" + "UseDualStack": true } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex-fips.ap-southeast-2.amazonaws.com" + "url": "https://runtime-v2-lex-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-southeast-2" + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://runtime-v2-lex.ap-southeast-2.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "Region": "us-isob-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-southeast-2" + "UseDualStack": true } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex.ap-southeast-2.amazonaws.com" + "url": "https://runtime-v2-lex.us-isob-east-1.sc2s.sgov.gov" } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-2" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { - "url": "https://runtime-v2-lex-fips.us-east-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "us-east-1" - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://runtime-v2-lex-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "us-east-1" - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://runtime-v2-lex.us-east-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "us-east-1" - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://runtime-v2-lex.us-east-1.amazonaws.com" + "url": "https://example.com" } }, "params": { + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false, - "Region": "us-east-1" + "Endpoint": "https://example.com" } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" @@ -964,7 +797,6 @@ "params": { "UseFIPS": false, "UseDualStack": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -974,9 +806,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -986,11 +818,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true, - "Region": "us-east-1", "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" @@ -1525,6 +1363,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lexruntimev2#DeleteSessionResponse": { @@ -1554,6 +1395,9 @@ "smithy.api#documentation": "The identifier of the deleted session.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexruntimev2#DependencyFailedException": { @@ -1779,6 +1623,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lexruntimev2#GetSessionResponse": { @@ -1808,6 +1655,9 @@ "smithy.api#documentation": "Represents the current state of the dialog between the user and the\n bot.
\nYou can use this to determine the progress of the conversation and\n what the next action might be.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexruntimev2#HeartbeatEvent": { @@ -2329,6 +2179,9 @@ "smithy.api#httpHeader": "ResponseContentType" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lexruntimev2#PutSessionResponse": { @@ -2377,6 +2230,9 @@ "smithy.api#httpPayload": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexruntimev2#RecognizeText": { @@ -2476,6 +2332,9 @@ "smithy.api#documentation": "Request-specific information passed between the client application\n and Amazon Lex V2
\nThe namespace x-amz-lex:
is reserved for special\n attributes. Don't create any request attributes with the prefix\n x-amz-lex:
.
The bot member that recognized the text.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexruntimev2#RecognizeUtterance": { @@ -2638,6 +2500,9 @@ "smithy.api#httpPayload": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lexruntimev2#RecognizeUtteranceResponse": { @@ -2714,6 +2579,9 @@ "smithy.api#httpHeader": "x-amz-lex-recognized-bot-member" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexruntimev2#RecognizedBotMember": { @@ -3128,6 +2996,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lexruntimev2#StartConversationRequestEventStream": { @@ -3185,6 +3056,9 @@ "smithy.api#httpPayload": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lexruntimev2#StartConversationResponseEventStream": { diff --git a/codegen/sdk-codegen/aws-models/license-manager-linux-subscriptions.json b/codegen/sdk-codegen/aws-models/license-manager-linux-subscriptions.json index f53bda0383a..30c6469b382 100644 --- a/codegen/sdk-codegen/aws-models/license-manager-linux-subscriptions.json +++ b/codegen/sdk-codegen/aws-models/license-manager-linux-subscriptions.json @@ -598,55 +598,55 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://license-manager-linux-subscriptions-fips.us-gov-east-1.api.aws" + "url": "https://license-manager-linux-subscriptions-fips.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://license-manager-linux-subscriptions-fips.us-gov-east-1.amazonaws.com" + "url": "https://license-manager-linux-subscriptions-fips.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://license-manager-linux-subscriptions.us-gov-east-1.api.aws" + "url": "https://license-manager-linux-subscriptions.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://license-manager-linux-subscriptions.us-gov-east-1.amazonaws.com" + "url": "https://license-manager-linux-subscriptions.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -657,9 +657,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -670,9 +670,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -683,9 +683,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -696,109 +696,109 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://license-manager-linux-subscriptions-fips.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://license-manager-linux-subscriptions-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://license-manager-linux-subscriptions-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://license-manager-linux-subscriptions.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://license-manager-linux-subscriptions.us-iso-east-1.c2s.ic.gov" + "url": "https://license-manager-linux-subscriptions.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://license-manager-linux-subscriptions-fips.us-east-1.api.aws" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://license-manager-linux-subscriptions-fips.us-east-1.amazonaws.com" + "url": "https://license-manager-linux-subscriptions-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://license-manager-linux-subscriptions.us-east-1.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://license-manager-linux-subscriptions.us-east-1.amazonaws.com" + "url": "https://license-manager-linux-subscriptions.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -807,9 +807,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -820,9 +820,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -831,9 +831,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -844,22 +844,35 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { + "Region": "us-east-1", + "UseFIPS": false, "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { "UseFIPS": false, - "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -869,9 +882,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -881,11 +894,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" @@ -1345,4 +1364,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/license-manager-user-subscriptions.json b/codegen/sdk-codegen/aws-models/license-manager-user-subscriptions.json index 195cd6f73fb..db82722fba1 100644 --- a/codegen/sdk-codegen/aws-models/license-manager-user-subscriptions.json +++ b/codegen/sdk-codegen/aws-models/license-manager-user-subscriptions.json @@ -636,52 +636,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", @@ -689,13 +693,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -705,224 +718,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://license-manager-user-subscriptions-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://license-manager-user-subscriptions-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": [ { "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": [], - "endpoint": { - "url": "https://license-manager-user-subscriptions-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://license-manager-user-subscriptions-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://license-manager-user-subscriptions.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://license-manager-user-subscriptions.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://license-manager-user-subscriptions.{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://license-manager-user-subscriptions.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -937,8 +901,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -950,8 +914,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -963,8 +927,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -976,8 +940,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -989,8 +953,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1002,8 +966,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1015,8 +979,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1028,8 +992,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1041,8 +1005,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1054,8 +1018,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1067,8 +1031,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1080,8 +1044,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -1093,8 +1068,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 } }, { @@ -1106,8 +1092,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -1119,8 +1116,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 } }, { @@ -1132,8 +1140,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1145,8 +1153,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1158,8 +1166,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1170,8 +1178,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1182,10 +1190,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" @@ -2070,4 +2084,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/license-manager.json b/codegen/sdk-codegen/aws-models/license-manager.json index 7633da76a1a..80ff6c46186 100644 --- a/codegen/sdk-codegen/aws-models/license-manager.json +++ b/codegen/sdk-codegen/aws-models/license-manager.json @@ -261,52 +261,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", @@ -314,13 +318,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -330,224 +343,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://license-manager-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://license-manager-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": [ { "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": [], - "endpoint": { - "url": "https://license-manager-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://license-manager-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://license-manager.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://license-manager.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://license-manager.{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://license-manager.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -561,9 +525,9 @@ } }, "params": { + "Region": "af-south-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "af-south-1" + "UseDualStack": false } }, { @@ -574,9 +538,9 @@ } }, "params": { + "Region": "ap-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-east-1" + "UseDualStack": false } }, { @@ -587,9 +551,9 @@ } }, "params": { + "Region": "ap-northeast-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-1" + "UseDualStack": false } }, { @@ -600,9 +564,9 @@ } }, "params": { + "Region": "ap-northeast-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-2" + "UseDualStack": false } }, { @@ -613,9 +577,9 @@ } }, "params": { + "Region": "ap-northeast-3", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-3" + "UseDualStack": false } }, { @@ -626,9 +590,9 @@ } }, "params": { + "Region": "ap-south-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-south-1" + "UseDualStack": false } }, { @@ -639,9 +603,9 @@ } }, "params": { + "Region": "ap-southeast-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-1" + "UseDualStack": false } }, { @@ -652,9 +616,9 @@ } }, "params": { + "Region": "ap-southeast-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-2" + "UseDualStack": false } }, { @@ -665,9 +629,9 @@ } }, "params": { + "Region": "ap-southeast-3", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-3" + "UseDualStack": false } }, { @@ -678,9 +642,9 @@ } }, "params": { + "Region": "ca-central-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ca-central-1" + "UseDualStack": false } }, { @@ -691,9 +655,9 @@ } }, "params": { + "Region": "eu-central-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-central-1" + "UseDualStack": false } }, { @@ -704,9 +668,9 @@ } }, "params": { + "Region": "eu-north-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-north-1" + "UseDualStack": false } }, { @@ -717,9 +681,9 @@ } }, "params": { + "Region": "eu-south-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-south-1" + "UseDualStack": false } }, { @@ -730,9 +694,9 @@ } }, "params": { + "Region": "eu-west-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-1" + "UseDualStack": false } }, { @@ -743,9 +707,9 @@ } }, "params": { + "Region": "eu-west-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-2" + "UseDualStack": false } }, { @@ -756,9 +720,9 @@ } }, "params": { + "Region": "eu-west-3", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-3" + "UseDualStack": false } }, { @@ -769,9 +733,9 @@ } }, "params": { + "Region": "me-south-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "me-south-1" + "UseDualStack": false } }, { @@ -782,9 +746,9 @@ } }, "params": { + "Region": "sa-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "sa-east-1" + "UseDualStack": false } }, { @@ -795,9 +759,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -808,9 +772,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -821,9 +785,9 @@ } }, "params": { + "Region": "us-east-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-east-2" + "UseDualStack": false } }, { @@ -834,9 +798,9 @@ } }, "params": { + "Region": "us-east-2", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-east-2" + "UseDualStack": false } }, { @@ -847,9 +811,9 @@ } }, "params": { + "Region": "us-west-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-1" + "UseDualStack": false } }, { @@ -860,9 +824,9 @@ } }, "params": { + "Region": "us-west-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-west-1" + "UseDualStack": false } }, { @@ -873,9 +837,9 @@ } }, "params": { + "Region": "us-west-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-2" + "UseDualStack": false } }, { @@ -886,9 +850,9 @@ } }, "params": { + "Region": "us-west-2", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-west-2" + "UseDualStack": false } }, { @@ -899,9 +863,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -912,9 +876,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -925,9 +889,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -938,9 +902,9 @@ } }, "params": { + "Region": "cn-northwest-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "cn-northwest-1" + "UseDualStack": false } }, { @@ -951,9 +915,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -964,9 +928,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -977,9 +941,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -990,9 +954,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -1003,9 +967,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -1016,9 +980,9 @@ } }, "params": { + "Region": "us-gov-west-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-gov-west-1" + "UseDualStack": false } }, { @@ -1029,9 +993,9 @@ } }, "params": { + "Region": "us-gov-west-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-gov-west-1" + "UseDualStack": false } }, { @@ -1042,9 +1006,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -1055,9 +1019,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -1068,9 +1032,9 @@ } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { @@ -1079,9 +1043,9 @@ "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, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { @@ -1092,9 +1056,9 @@ } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { @@ -1103,9 +1067,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { @@ -1116,9 +1080,9 @@ } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -1127,9 +1091,9 @@ "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, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -1140,9 +1104,9 @@ } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -1151,9 +1115,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "Region": "us-isob-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -1164,9 +1128,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -1189,9 +1153,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -1201,9 +1165,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, diff --git a/codegen/sdk-codegen/aws-models/lightsail.json b/codegen/sdk-codegen/aws-models/lightsail.json index 6aa25950b36..e5dd7ea8d33 100644 --- a/codegen/sdk-codegen/aws-models/lightsail.json +++ b/codegen/sdk-codegen/aws-models/lightsail.json @@ -15658,52 +15658,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", @@ -15711,13 +15715,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -15727,224 +15740,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://lightsail-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://lightsail-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": [ { "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": [], - "endpoint": { - "url": "https://lightsail-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://lightsail-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://lightsail.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://lightsail.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://lightsail.{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://lightsail.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/location.json b/codegen/sdk-codegen/aws-models/location.json index 8cfcddac72c..3a53e67e88d 100644 --- a/codegen/sdk-codegen/aws-models/location.json +++ b/codegen/sdk-codegen/aws-models/location.json @@ -5903,52 +5903,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", @@ -5956,13 +5960,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -5972,224 +5985,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://geo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://geo-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": [ { "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": [], - "endpoint": { - "url": "https://geo-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://geo-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://geo.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://geo.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://geo.{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://geo.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/lookoutmetrics.json b/codegen/sdk-codegen/aws-models/lookoutmetrics.json index 6735296ddc3..32b92028eae 100644 --- a/codegen/sdk-codegen/aws-models/lookoutmetrics.json +++ b/codegen/sdk-codegen/aws-models/lookoutmetrics.json @@ -112,25 +112,33 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#ActivateAnomalyDetectorResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.lookoutmetrics#AggregationFunction": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AVG", - "name": "AVG" - }, - { - "value": "SUM", - "name": "SUM" + "type": "enum", + "members": { + "AVG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AVG" + } + }, + "SUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUM" } - ] + } } }, "com.amazonaws.lookoutmetrics#Alert": { @@ -249,18 +257,20 @@ } }, "com.amazonaws.lookoutmetrics#AlertStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "INACTIVE", - "name": "INACTIVE" + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "INACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INACTIVE" } - ] + } } }, "com.amazonaws.lookoutmetrics#AlertSummary": { @@ -333,45 +343,55 @@ } }, "com.amazonaws.lookoutmetrics#AlertType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SNS", - "name": "SNS" - }, - { - "value": "LAMBDA", - "name": "LAMBDA" + "type": "enum", + "members": { + "SNS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SNS" + } + }, + "LAMBDA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LAMBDA" } - ] + } } }, "com.amazonaws.lookoutmetrics#AnomalyDetectionTaskStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PENDING", - "name": "PENDING" - }, - { - "value": "IN_PROGRESS", - "name": "IN_PROGRESS" - }, - { - "value": "COMPLETED", - "name": "COMPLETED" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "FAILED_TO_SCHEDULE", - "name": "FAILED_TO_SCHEDULE" + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" + } + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" } - ] + }, + "FAILED_TO_SCHEDULE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED_TO_SCHEDULE" + } + } } }, "com.amazonaws.lookoutmetrics#AnomalyDetectionTaskStatusMessage": { @@ -449,26 +469,32 @@ } }, "com.amazonaws.lookoutmetrics#AnomalyDetectorFailureType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVATION_FAILURE", - "name": "ACTIVATION_FAILURE" - }, - { - "value": "BACK_TEST_ACTIVATION_FAILURE", - "name": "BACK_TEST_ACTIVATION_FAILURE" - }, - { - "value": "DELETION_FAILURE", - "name": "DELETION_FAILURE" - }, - { - "value": "DEACTIVATION_FAILURE", - "name": "DEACTIVATION_FAILURE" + "type": "enum", + "members": { + "ACTIVATION_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVATION_FAILURE" + } + }, + "BACK_TEST_ACTIVATION_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BACK_TEST_ACTIVATION_FAILURE" + } + }, + "DELETION_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETION_FAILURE" + } + }, + "DEACTIVATION_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEACTIVATION_FAILURE" } - ] + } } }, "com.amazonaws.lookoutmetrics#AnomalyDetectorName": { @@ -482,54 +508,74 @@ } }, "com.amazonaws.lookoutmetrics#AnomalyDetectorStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "ACTIVATING", - "name": "ACTIVATING" - }, - { - "value": "DELETING", - "name": "DELETING" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "INACTIVE", - "name": "INACTIVE" - }, - { - "value": "LEARNING", - "name": "LEARNING" - }, - { - "value": "BACK_TEST_ACTIVATING", - "name": "BACK_TEST_ACTIVATING" - }, - { - "value": "BACK_TEST_ACTIVE", - "name": "BACK_TEST_ACTIVE" - }, - { - "value": "BACK_TEST_COMPLETE", - "name": "BACK_TEST_COMPLETE" - }, - { - "value": "DEACTIVATED", - "name": "DEACTIVATED" - }, - { - "value": "DEACTIVATING", - "name": "DEACTIVATING" + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "ACTIVATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVATING" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "INACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INACTIVE" + } + }, + "LEARNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LEARNING" + } + }, + "BACK_TEST_ACTIVATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BACK_TEST_ACTIVATING" + } + }, + "BACK_TEST_ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BACK_TEST_ACTIVE" + } + }, + "BACK_TEST_COMPLETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BACK_TEST_COMPLETE" + } + }, + "DEACTIVATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEACTIVATED" + } + }, + "DEACTIVATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEACTIVATING" } - ] + } } }, "com.amazonaws.lookoutmetrics#AnomalyDetectorSummary": { @@ -1005,11 +1051,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#BackTestAnomalyDetectorResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.lookoutmetrics#BackTestConfiguration": { "type": "structure", @@ -1039,18 +1091,20 @@ "type": "boolean" }, "com.amazonaws.lookoutmetrics#CSVFileCompression": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NONE", - "name": "NONE" - }, - { - "value": "GZIP", - "name": "GZIP" + "type": "enum", + "members": { + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" + } + }, + "GZIP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GZIP" } - ] + } } }, "com.amazonaws.lookoutmetrics#Charset": { @@ -1094,22 +1148,26 @@ } }, "com.amazonaws.lookoutmetrics#Confidence": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "HIGH", - "name": "HIGH" - }, - { - "value": "LOW", - "name": "LOW" - }, - { - "value": "NONE", - "name": "NONE" + "type": "enum", + "members": { + "HIGH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HIGH" + } + }, + "LOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LOW" } - ] + }, + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" + } + } } }, "com.amazonaws.lookoutmetrics#ConflictException": { @@ -1243,6 +1301,9 @@ "smithy.api#documentation": "The configuration of the alert filters, containing MetricList and DimensionFilterList.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#CreateAlertResponse": { @@ -1254,6 +1315,9 @@ "smithy.api#documentation": "The ARN of the alert.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutmetrics#CreateAnomalyDetector": { @@ -1328,6 +1392,9 @@ "smithy.api#documentation": "A list of tags to apply to the anomaly detector.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#CreateAnomalyDetectorResponse": { @@ -1339,6 +1406,9 @@ "smithy.api#documentation": "The ARN of the detector.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutmetrics#CreateMetricSet": { @@ -1461,6 +1531,9 @@ "smithy.api#documentation": "A list of filters that specify which data is kept for anomaly detection.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#CreateMetricSetResponse": { @@ -1472,6 +1545,9 @@ "smithy.api#documentation": "The ARN of the dataset.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutmetrics#CsvFormatDescriptor": { @@ -1570,50 +1646,68 @@ } }, "com.amazonaws.lookoutmetrics#DataQualityMetricType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "COLUMN_COMPLETENESS", - "name": "COLUMN_COMPLETENESS" - }, - { - "value": "DIMENSION_UNIQUENESS", - "name": "DIMENSION_UNIQUENESS" - }, - { - "value": "TIME_SERIES_COUNT", - "name": "TIME_SERIES_COUNT" - }, - { - "value": "ROWS_PROCESSED", - "name": "ROWS_PROCESSED" - }, - { - "value": "ROWS_PARTIAL_COMPLIANCE", - "name": "ROWS_PARTIAL_COMPLIANCE" - }, - { - "value": "INVALID_ROWS_COMPLIANCE", - "name": "INVALID_ROWS_COMPLIANCE" - }, - { - "value": "BACKTEST_TRAINING_DATA_START_TIME_STAMP", - "name": "BACKTEST_TRAINING_DATA_START_TIME_STAMP" - }, - { - "value": "BACKTEST_TRAINING_DATA_END_TIME_STAMP", - "name": "BACKTEST_TRAINING_DATA_END_TIME_STAMP" - }, - { - "value": "BACKTEST_INFERENCE_DATA_START_TIME_STAMP", - "name": "BACKTEST_INFERENCE_DATA_START_TIME_STAMP" - }, - { - "value": "BACKTEST_INFERENCE_DATA_END_TIME_STAMP", - "name": "BACKTEST_INFERENCE_DATA_END_TIME_STAMP" + "type": "enum", + "members": { + "COLUMN_COMPLETENESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COLUMN_COMPLETENESS" + } + }, + "DIMENSION_UNIQUENESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DIMENSION_UNIQUENESS" + } + }, + "TIME_SERIES_COUNT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIME_SERIES_COUNT" + } + }, + "ROWS_PROCESSED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROWS_PROCESSED" + } + }, + "ROWS_PARTIAL_COMPLIANCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROWS_PARTIAL_COMPLIANCE" + } + }, + "INVALID_ROWS_COMPLIANCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_ROWS_COMPLIANCE" + } + }, + "BACKTEST_TRAINING_DATA_START_TIME_STAMP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BACKTEST_TRAINING_DATA_START_TIME_STAMP" + } + }, + "BACKTEST_TRAINING_DATA_END_TIME_STAMP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BACKTEST_TRAINING_DATA_END_TIME_STAMP" + } + }, + "BACKTEST_INFERENCE_DATA_START_TIME_STAMP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BACKTEST_INFERENCE_DATA_START_TIME_STAMP" + } + }, + "BACKTEST_INFERENCE_DATA_END_TIME_STAMP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BACKTEST_INFERENCE_DATA_END_TIME_STAMP" } - ] + } } }, "com.amazonaws.lookoutmetrics#DatabaseHost": { @@ -1693,11 +1787,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#DeactivateAnomalyDetectorResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.lookoutmetrics#DeleteAlert": { "type": "operation", @@ -1743,11 +1843,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#DeleteAlertResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.lookoutmetrics#DeleteAnomalyDetector": { "type": "operation", @@ -1796,11 +1902,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#DeleteAnomalyDetectorResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.lookoutmetrics#Delimiter": { "type": "string", @@ -1856,6 +1968,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#DescribeAlertResponse": { @@ -1867,6 +1982,9 @@ "smithy.api#documentation": "Contains information about an alert.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutmetrics#DescribeAnomalyDetectionExecutions": { @@ -1937,6 +2055,9 @@ "smithy.api#documentation": "Specify the pagination token that's returned by a previous request to retrieve the next page of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#DescribeAnomalyDetectionExecutionsResponse": { @@ -1954,6 +2075,9 @@ "smithy.api#documentation": "The pagination token that's included if more results are available.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutmetrics#DescribeAnomalyDetector": { @@ -2000,6 +2124,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#DescribeAnomalyDetectorResponse": { @@ -2065,6 +2192,9 @@ "smithy.api#documentation": "The process that caused the detector to fail.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutmetrics#DescribeMetricSet": { @@ -2111,6 +2241,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#DescribeMetricSetResponse": { @@ -2201,6 +2334,9 @@ "smithy.api#documentation": "The dimensions and their values that were used to filter the dataset.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutmetrics#DetectMetricSetConfig": { @@ -2254,6 +2390,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#DetectMetricSetConfigResponse": { @@ -2265,6 +2404,9 @@ "smithy.api#documentation": "The inferred dataset configuration for the datasource.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutmetrics#DetectedCsvFormatDescriptor": { @@ -2668,14 +2810,14 @@ } }, "com.amazonaws.lookoutmetrics#FilterOperation": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EQUALS", - "name": "EQUALS" + "type": "enum", + "members": { + "EQUALS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EQUALS" } - ] + } } }, "com.amazonaws.lookoutmetrics#FlowName": { @@ -2689,26 +2831,32 @@ } }, "com.amazonaws.lookoutmetrics#Frequency": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "P1D", - "name": "P1D" - }, - { - "value": "PT1H", - "name": "PT1H" - }, - { - "value": "PT10M", - "name": "PT10M" - }, - { - "value": "PT5M", - "name": "PT5M" + "type": "enum", + "members": { + "P1D": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "P1D" + } + }, + "PT1H": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PT1H" } - ] + }, + "PT10M": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PT10M" + } + }, + "PT5M": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PT5M" + } + } } }, "com.amazonaws.lookoutmetrics#GetAnomalyGroup": { @@ -2762,6 +2910,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#GetAnomalyGroupResponse": { @@ -2773,6 +2924,9 @@ "smithy.api#documentation": "Details about the anomaly group.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutmetrics#GetDataQualityMetrics": { @@ -2825,6 +2979,9 @@ "smithy.api#documentation": "The Amazon Resource Name (ARN) of a specific data quality metric set.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#GetDataQualityMetricsResponse": { @@ -2836,6 +2993,9 @@ "smithy.api#documentation": "A list of the data quality metrics for the AnomalyDetectorArn
that you requested.
Specify the pagination token that's returned by a previous request to retrieve the next page of results.
" } } - } + }, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.lookoutmetrics#GetFeedbackResponse": { "type": "structure", @@ -2924,6 +3087,9 @@ "smithy.api#documentation": "The pagination token that's included if more results are available.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutmetrics#GetSampleData": { @@ -2969,6 +3135,9 @@ "smithy.api#documentation": "A datasource bucket in Amazon S3.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#GetSampleDataResponse": { @@ -2986,6 +3155,9 @@ "smithy.api#documentation": "A list of records.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutmetrics#HeaderList": { @@ -3060,7 +3232,7 @@ } }, "traits": { - "smithy.api#documentation": "Aggregated details about the measures contributing to the anomaly group, and the measures\n potentially impacted by the anomaly group.
\n " + "smithy.api#documentation": "Aggregated details about the measures contributing to the anomaly group, and the measures\n potentially impacted by the anomaly group.
\n " } }, "com.amazonaws.lookoutmetrics#InterMetricImpactList": { @@ -3113,18 +3285,20 @@ } }, "com.amazonaws.lookoutmetrics#JsonFileCompression": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NONE", - "name": "NONE" - }, - { - "value": "GZIP", - "name": "GZIP" + "type": "enum", + "members": { + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" + } + }, + "GZIP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GZIP" } - ] + } } }, "com.amazonaws.lookoutmetrics#JsonFormatDescriptor": { @@ -3240,6 +3414,9 @@ "smithy.api#documentation": "The maximum number of results that will be displayed by the request.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#ListAlertsResponse": { @@ -3257,6 +3434,9 @@ "smithy.api#documentation": "If the response is truncated, the service returns this token. To retrieve the next set of results, use this\n token in the next request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutmetrics#ListAnomalyDetectors": { @@ -3314,6 +3494,9 @@ "smithy.api#documentation": "If the result of the previous request was truncated, the response includes a NextToken
. To\n retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
If the response is truncated, the service returns this token. To retrieve the next set of results, use the\n token in the next request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutmetrics#ListAnomalyGroupRelatedMetrics": { @@ -3408,6 +3594,9 @@ "smithy.api#documentation": "Specify the pagination token that's returned by a previous request to retrieve the next\n page of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#ListAnomalyGroupRelatedMetricsResponse": { @@ -3425,6 +3614,9 @@ "smithy.api#documentation": "The pagination token that's included if more results are available.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutmetrics#ListAnomalyGroupSummaries": { @@ -3497,6 +3689,9 @@ "smithy.api#documentation": "Specify the pagination token that's returned by a previous request to retrieve the next page of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#ListAnomalyGroupSummariesResponse": { @@ -3520,6 +3715,9 @@ "smithy.api#documentation": "The pagination token that's included if more results are available.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutmetrics#ListAnomalyGroupTimeSeries": { @@ -3598,6 +3796,9 @@ "smithy.api#documentation": "Specify the pagination token that's returned by a previous request to retrieve the next page of results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#ListAnomalyGroupTimeSeriesResponse": { @@ -3633,6 +3834,9 @@ "smithy.api#documentation": "A list of anomalous metrics.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutmetrics#ListMetricSets": { @@ -3696,6 +3900,9 @@ "smithy.api#documentation": "If the result of the previous request was truncated, the response includes a\n NextToken
. To retrieve the next set of results, use the token in the next\n request. Tokens expire after 24 hours.
If the response is truncated, the list call returns this token. To retrieve the next set\n of results, use the token in the next list request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutmetrics#ListTagsForResource": { @@ -3755,6 +3965,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#ListTagsForResourceResponse": { @@ -3767,6 +3980,9 @@ "smithy.api#jsonName": "Tags" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutmetrics#LookoutMetrics": { @@ -3938,52 +4154,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", @@ -3991,13 +4211,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -4007,224 +4236,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://lookoutmetrics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://lookoutmetrics-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": [ { "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": [], - "endpoint": { - "url": "https://lookoutmetrics-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://lookoutmetrics-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://lookoutmetrics.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://lookoutmetrics.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://lookoutmetrics.{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://lookoutmetrics.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -4239,8 +4419,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4252,8 +4432,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4265,8 +4445,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4278,8 +4458,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4291,8 +4471,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4304,8 +4484,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4317,8 +4497,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4330,8 +4510,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4343,8 +4523,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4356,8 +4536,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -4369,8 +4549,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -4382,8 +4562,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -4395,8 +4575,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -4408,8 +4588,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -4421,8 +4601,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -4434,8 +4614,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4447,8 +4627,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -4460,8 +4640,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -4473,8 +4653,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -4486,8 +4666,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -4499,8 +4690,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 } }, { @@ -4512,8 +4714,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -4525,8 +4738,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 } }, { @@ -4538,8 +4762,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4551,8 +4775,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -4564,8 +4788,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -4576,8 +4800,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -4588,10 +4812,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" @@ -4992,11 +5222,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#PutFeedbackResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.lookoutmetrics#QuotaCode": { "type": "string" @@ -5176,18 +5412,20 @@ } }, "com.amazonaws.lookoutmetrics#RelationshipType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CAUSE_OF_INPUT_ANOMALY_GROUP", - "name": "CAUSE_OF_INPUT_ANOMALY_GROUP" - }, - { - "value": "EFFECT_OF_INPUT_ANOMALY_GROUP", - "name": "EFFECT_OF_INPUT_ANOMALY_GROUP" + "type": "enum", + "members": { + "CAUSE_OF_INPUT_ANOMALY_GROUP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CAUSE_OF_INPUT_ANOMALY_GROUP" } - ] + }, + "EFFECT_OF_INPUT_ANOMALY_GROUP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EFFECT_OF_INPUT_ANOMALY_GROUP" + } + } } }, "com.amazonaws.lookoutmetrics#ResourceId": { @@ -5408,22 +5646,26 @@ } }, "com.amazonaws.lookoutmetrics#SnsFormat": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "LONG_TEXT", - "name": "LONG_TEXT" - }, - { - "value": "SHORT_TEXT", - "name": "SHORT_TEXT" - }, - { - "value": "JSON", - "name": "JSON" + "type": "enum", + "members": { + "LONG_TEXT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LONG_TEXT" + } + }, + "SHORT_TEXT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SHORT_TEXT" + } + }, + "JSON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JSON" } - ] + } } }, "com.amazonaws.lookoutmetrics#StringAttributeValue": { @@ -5545,11 +5787,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.lookoutmetrics#TagValue": { "type": "string", @@ -5777,11 +6025,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.lookoutmetrics#UpdateAlert": { "type": "operation", @@ -5852,6 +6106,9 @@ "smithy.api#documentation": "The configuration of the alert filters, containing MetricList and DimensionFilterList.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#UpdateAlertResponse": { @@ -5863,6 +6120,9 @@ "smithy.api#documentation": "The ARN of the updated alert.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutmetrics#UpdateAnomalyDetector": { @@ -5927,6 +6187,9 @@ "smithy.api#documentation": "Contains information about the configuration to which the detector will be updated.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#UpdateAnomalyDetectorResponse": { @@ -5938,6 +6201,9 @@ "smithy.api#documentation": "The ARN of the updated detector.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutmetrics#UpdateMetricSet": { @@ -6033,6 +6299,9 @@ "smithy.api#documentation": "Describes a list of filters for choosing specific dimensions and specific values. Each\n filter consists of the dimension and one of its values that you want to include. When\n multiple dimensions or values are specified, the dimensions are joined with an AND operation\n and the values are joined with an OR operation.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutmetrics#UpdateMetricSetResponse": { @@ -6044,6 +6313,9 @@ "smithy.api#documentation": "The ARN of the dataset.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutmetrics#ValidationException": { @@ -6103,26 +6375,32 @@ } }, "com.amazonaws.lookoutmetrics#ValidationExceptionReason": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "UNKNOWN_OPERATION", - "name": "UNKNOWN_OPERATION" - }, - { - "value": "CANNOT_PARSE", - "name": "CANNOT_PARSE" - }, - { - "value": "FIELD_VALIDATION_FAILED", - "name": "FIELD_VALIDATION_FAILED" - }, - { - "value": "OTHER", - "name": "OTHER" + "type": "enum", + "members": { + "UNKNOWN_OPERATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNKNOWN_OPERATION" + } + }, + "CANNOT_PARSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANNOT_PARSE" + } + }, + "FIELD_VALIDATION_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FIELD_VALIDATION_FAILED" + } + }, + "OTHER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OTHER" } - ] + } } }, "com.amazonaws.lookoutmetrics#VpcConfiguration": { diff --git a/codegen/sdk-codegen/aws-models/lookoutvision.json b/codegen/sdk-codegen/aws-models/lookoutvision.json index d43f04eafce..320b6532103 100644 --- a/codegen/sdk-codegen/aws-models/lookoutvision.json +++ b/codegen/sdk-codegen/aws-models/lookoutvision.json @@ -244,7 +244,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates a new dataset in an Amazon Lookout for Vision project. CreateDataset
can create a \n training or a test dataset from a valid dataset source (DatasetSource
).
If you want a single dataset project, specify train
for the value of \n DatasetType
.
To have a project with separate training and test datasets, call CreateDataset
twice.\n On the first call, specify train
for the value of \n DatasetType
. On the second call, specify test
for the value of \n DatasetType
.
This operation requires permissions to perform the\n lookoutvision:CreateDataset
operation.
Creates a new dataset in an Amazon Lookout for Vision project. CreateDataset
can create a \n training or a test dataset from a valid dataset source (DatasetSource
).
If you want a single dataset project, specify train
for the value of \n DatasetType
.
To have a project with separate training and test datasets, call CreateDataset
twice.\n On the first call, specify train
for the value of \n DatasetType
. On the second call, specify test
for the value of \n DatasetType
.
This operation requires permissions to perform the\n lookoutvision:CreateDataset
operation.
Information about the dataset.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutvision#CreateModel": { @@ -357,7 +363,7 @@ "ClientToken": { "target": "com.amazonaws.lookoutvision#ClientToken", "traits": { - "smithy.api#documentation": "ClientToken is an idempotency token that ensures a call to CreateModel
\n completes only once. You choose the value to pass. For example, An issue\n might prevent you from getting a response from CreateModel
.\n In this case, safely retry your call\n to CreateModel
by using the same ClientToken
parameter value.
If you don't supply a value for ClientToken
, the AWS SDK you are using inserts a value for you. \n This prevents retries after a network error from starting multiple training jobs. You'll need to\n provide your own value for other use cases.
An error occurs if the other input parameters are not the same as in the first request. Using a different \n value for ClientToken
is considered a new call to CreateModel
. An idempotency\n token is active for 8 hours.
ClientToken is an idempotency token that ensures a call to CreateModel
\n completes only once. You choose the value to pass. For example, An issue\n might prevent you from getting a response from CreateModel
.\n In this case, safely retry your call\n to CreateModel
by using the same ClientToken
parameter value.
If you don't supply a value for ClientToken
, the AWS SDK you are using inserts a value for you. \n This prevents retries after a network error from starting multiple training jobs. You'll need to\n provide your own value for other use cases.
An error occurs if the other input parameters are not the same as in the first request. Using a different \n value for ClientToken
is considered a new call to CreateModel
. An idempotency\n token is active for 8 hours.
A set of tags (key-value pairs) that you want to attach to the model.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutvision#CreateModelResponse": { @@ -392,6 +401,9 @@ "smithy.api#documentation": "The response from a call to CreateModel
.
ClientToken is an idempotency token that ensures a call to CreateProject
\n completes only once. You choose the value to pass. For example, An issue might prevent you from \n getting a response from CreateProject
.\n In this case, safely retry your call\n to CreateProject
by using the same ClientToken
parameter value.
If you don't supply a value for ClientToken
, the AWS SDK you are using inserts a value for you. \n This prevents retries after a network error from making multiple project creation requests. You'll need to\n provide your own value for other use cases.
An error occurs\n if the other input parameters are not the same as in the first request. Using a different \n value for ClientToken
is considered a new call to CreateProject
. An idempotency\n token is active for 8 hours.
ClientToken is an idempotency token that ensures a call to CreateProject
\n completes only once. You choose the value to pass. For example, An issue might prevent you from \n getting a response from CreateProject
.\n In this case, safely retry your call\n to CreateProject
by using the same ClientToken
parameter value.
If you don't supply a value for ClientToken
, the AWS SDK you are using inserts a value for you. \n This prevents retries after a network error from making multiple project creation requests. You'll need to\n provide your own value for other use cases.
An error occurs\n if the other input parameters are not the same as in the first request. Using a different \n value for ClientToken
is considered a new call to CreateProject
. An idempotency\n token is active for 8 hours.
Information about the project.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutvision#DatasetChanges": { @@ -778,16 +796,22 @@ "ClientToken": { "target": "com.amazonaws.lookoutvision#ClientToken", "traits": { - "smithy.api#documentation": "ClientToken is an idempotency token that ensures a call to DeleteDataset
\n completes only once. You choose the value to pass. For example, An issue might prevent you from getting a response from DeleteDataset
.\n In this case, safely retry your call\n to DeleteDataset
by using the same ClientToken
parameter value.
If you don't supply a value for ClientToken
, the AWS SDK you are using inserts a value for you. \n This prevents retries after a network error from making multiple deletetion requests. You'll need to\n provide your own value for other use cases.
An error occurs if the other input parameters are not the same as in the first request. Using a different \n value for ClientToken
is considered a new call to DeleteDataset
. An idempotency\n token is active for 8 hours.
ClientToken is an idempotency token that ensures a call to DeleteDataset
\n completes only once. You choose the value to pass. For example, An issue might prevent you from getting a response from DeleteDataset
.\n In this case, safely retry your call\n to DeleteDataset
by using the same ClientToken
parameter value.
If you don't supply a value for ClientToken
, the AWS SDK you are using inserts a value for you. \n This prevents retries after a network error from making multiple deletetion requests. You'll need to\n provide your own value for other use cases.
An error occurs if the other input parameters are not the same as in the first request. Using a different \n value for ClientToken
is considered a new call to DeleteDataset
. An idempotency\n token is active for 8 hours.
ClientToken is an idempotency token that ensures a call to DeleteModel
\n completes only once. You choose the value to pass. For example, an issue might prevent\n you from getting a response from DeleteModel
.\n In this case, safely retry your call\n to DeleteModel
by using the same ClientToken
parameter value.
If you don't supply a value for ClientToken, the AWS SDK you are using inserts a value for you. \n This prevents retries after a network error from making multiple model deletion requests. You'll need to\n provide your own value for other use cases.
\n \nAn error occurs if the other input parameters are not the same as in the first request. Using a different \n value for ClientToken
is considered a new call to DeleteModel
. An idempotency\n token is active for 8 hours.
ClientToken is an idempotency token that ensures a call to DeleteModel
\n completes only once. You choose the value to pass. For example, an issue might prevent\n you from getting a response from DeleteModel
.\n In this case, safely retry your call\n to DeleteModel
by using the same ClientToken
parameter value.
If you don't supply a value for ClientToken, the AWS SDK you are using inserts a value for you. \n This prevents retries after a network error from making multiple model deletion requests. You'll need to\n provide your own value for other use cases.
\nAn error occurs if the other input parameters are not the same as in the first request. Using a different \n value for ClientToken
is considered a new call to DeleteModel
. An idempotency\n token is active for 8 hours.
The Amazon Resource Name (ARN) of the model that was deleted.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutvision#DeleteProject": { @@ -922,6 +952,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutvision#DeleteProjectResponse": { @@ -933,6 +966,9 @@ "smithy.api#documentation": "The Amazon Resource Name (ARN) of the project that was deleted.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutvision#DescribeDataset": { @@ -991,6 +1027,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutvision#DescribeDatasetResponse": { @@ -1002,6 +1041,9 @@ "smithy.api#documentation": "The description of the requested dataset.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutvision#DescribeModel": { @@ -1067,7 +1109,7 @@ } ], "traits": { - "smithy.api#documentation": "Describes an Amazon Lookout for Vision model packaging job.\n
\nThis operation requires permissions to perform the\n lookoutvision:DescribeModelPackagingJob
operation.
For more information, see \n Using your Amazon Lookout for Vision model on an edge device in the Amazon Lookout for Vision Developer Guide.
", + "smithy.api#documentation": "Describes an Amazon Lookout for Vision model packaging job.\n
\nThis operation requires permissions to perform the\n lookoutvision:DescribeModelPackagingJob
operation.
For more information, see \n Using your Amazon Lookout for Vision model on an edge device in the Amazon Lookout for Vision Developer Guide.
", "smithy.api#http": { "method": "GET", "uri": "/2020-11-20/projects/{ProjectName}/modelpackagingjobs/{JobName}", @@ -1094,6 +1136,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutvision#DescribeModelPackagingJobResponse": { @@ -1105,6 +1150,9 @@ "smithy.api#documentation": "The description of the model packaging job.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutvision#DescribeModelRequest": { @@ -1126,6 +1174,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutvision#DescribeModelResponse": { @@ -1137,6 +1188,9 @@ "smithy.api#documentation": "Contains the description of the model.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutvision#DescribeProject": { @@ -1187,6 +1241,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutvision#DescribeProjectResponse": { @@ -1198,6 +1255,9 @@ "smithy.api#documentation": "The description of the project.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutvision#DetectAnomalies": { @@ -1229,7 +1289,7 @@ } ], "traits": { - "smithy.api#documentation": "Detects anomalies in an image that you supply.
\nThe response from DetectAnomalies
includes a boolean prediction\n that the image contains one or more anomalies and a confidence value for the prediction.\n If the model is an image segmentation model, the response also includes segmentation\n information for each type of anomaly found in the image.
Before calling DetectAnomalies
, you must first start your model with the StartModel operation.\n You are charged for the amount of time, in minutes, that a model runs and for the number of anomaly detection units that your\n model uses. If you are not using a model, use the StopModel operation to stop your model.
For more information, see Detecting anomalies in an image in the Amazon Lookout for Vision developer guide.
\n \nThis operation requires permissions to perform the\n lookoutvision:DetectAnomalies
operation.
Detects anomalies in an image that you supply.
\nThe response from DetectAnomalies
includes a boolean prediction\n that the image contains one or more anomalies and a confidence value for the prediction.\n If the model is an image segmentation model, the response also includes segmentation\n information for each type of anomaly found in the image.
Before calling DetectAnomalies
, you must first start your model with the StartModel operation.\n You are charged for the amount of time, in minutes, that a model runs and for the number of anomaly detection units that your\n model uses. If you are not using a model, use the StopModel operation to stop your model.
For more information, see Detecting anomalies in an image in the Amazon Lookout for Vision developer guide.
\nThis operation requires permissions to perform the\n lookoutvision:DetectAnomalies
operation.
The results of the DetectAnomalies
operation.
Additional compiler options for the Greengrass component. Currently, \n only NVIDIA Graphics Processing Units (GPU) and CPU accelerators are supported. \n If you specify TargetDevice
, don't specify CompilerOptions
.
For more information, see \n Compiler options in the Amazon Lookout for Vision Developer Guide.
" + "smithy.api#documentation": "Additional compiler options for the Greengrass component. Currently, \n only NVIDIA Graphics Processing Units (GPU) and CPU accelerators are supported. \n If you specify TargetDevice
, don't specify CompilerOptions
.
For more information, see \n Compiler options in the Amazon Lookout for Vision Developer Guide.
" } }, "TargetDevice": { @@ -1621,6 +1687,9 @@ "smithy.api#httpQuery": "sourceRefContains" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutvision#ListDatasetEntriesResponse": { @@ -1638,6 +1707,9 @@ "smithy.api#documentation": "If the response is truncated, Amazon Lookout for Vision returns this token\n that you can use in the subsequent request to retrieve the next set ofdataset entries.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutvision#ListModelPackagingJobs": { @@ -1666,7 +1738,7 @@ } ], "traits": { - "smithy.api#documentation": "\nLists the model packaging jobs created for an Amazon Lookout for Vision project.\n
\nThis operation requires permissions to perform the\n lookoutvision:ListModelPackagingJobs
operation.\n
For more information, see \n Using your Amazon Lookout for Vision model on an edge device in the Amazon Lookout for Vision Developer Guide.
", + "smithy.api#documentation": "\nLists the model packaging jobs created for an Amazon Lookout for Vision project.\n
\nThis operation requires permissions to perform the\n lookoutvision:ListModelPackagingJobs
operation.\n
For more information, see \n Using your Amazon Lookout for Vision model on an edge device in the Amazon Lookout for Vision Developer Guide.
", "smithy.api#http": { "method": "GET", "uri": "/2020-11-20/projects/{ProjectName}/modelpackagingjobs", @@ -1705,6 +1777,9 @@ "smithy.api#httpQuery": "maxResults" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutvision#ListModelPackagingJobsResponse": { @@ -1722,6 +1797,9 @@ "smithy.api#documentation": "If the previous response was incomplete (because there is more\n results to retrieve), Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination \n token to retrieve the next set of results.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutvision#ListModels": { @@ -1792,6 +1870,9 @@ "smithy.api#httpQuery": "maxResults" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutvision#ListModelsResponse": { @@ -1809,6 +1890,9 @@ "smithy.api#documentation": "If the response is truncated, Amazon Lookout for Vision returns this token\n that you can use in the subsequent request to retrieve the next set of models.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutvision#ListProjects": { @@ -1871,6 +1955,9 @@ "smithy.api#httpQuery": "maxResults" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutvision#ListProjectsResponse": { @@ -1888,6 +1975,9 @@ "smithy.api#documentation": "If the response is truncated, Amazon Lookout for Vision returns this token\n that you can use in the subsequent request to retrieve the next set of projects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutvision#ListTagsForResource": { @@ -1938,6 +2028,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutvision#ListTagsForResourceResponse": { @@ -1949,6 +2042,9 @@ "smithy.api#documentation": "A map of tag keys and values attached to the specified model.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutvision#LookoutVisionService": { @@ -2096,52 +2192,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", @@ -2149,13 +2249,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -2165,224 +2274,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://lookoutvision-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://lookoutvision-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": [ { "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": [], - "endpoint": { - "url": "https://lookoutvision-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://lookoutvision-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://lookoutvision.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://lookoutvision.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://lookoutvision.{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://lookoutvision.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -2397,8 +2457,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2410,8 +2470,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2423,8 +2483,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2436,8 +2496,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2449,8 +2509,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2462,8 +2522,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2475,8 +2535,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2488,8 +2548,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2501,8 +2561,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2514,8 +2574,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2527,8 +2587,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2540,8 +2600,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2553,8 +2613,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2566,8 +2626,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2579,8 +2639,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2592,8 +2652,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2605,8 +2665,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2618,8 +2678,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -2631,8 +2702,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 } }, { @@ -2644,8 +2726,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -2657,8 +2750,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 } }, { @@ -2670,8 +2774,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2683,8 +2787,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2696,8 +2800,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2708,8 +2812,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2720,10 +2824,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" @@ -3676,7 +3786,7 @@ } ], "traits": { - "smithy.api#documentation": "Starts an Amazon Lookout for Vision model packaging job. A model packaging job creates an AWS IoT Greengrass component for\n a Lookout for Vision model. You can use the component to deploy your model to an edge device managed by Greengrass.\n
\n \nUse the DescribeModelPackagingJob API to determine the current status of the job.\n \n The model packaging job is complete if the value of Status
is SUCCEEDED
.
To deploy the component\n to the target device, use the component name and component version\n with the AWS IoT Greengrass CreateDeployment API.
\n\nThis operation requires the following permissions:
\n\n lookoutvision:StartModelPackagingJob
\n
\n s3:PutObject
\n
\n s3:GetBucketLocation
\n
\n kms:GenerateDataKey
\n
\n greengrass:CreateComponentVersion
\n
\n greengrass:DescribeComponent
\n
(Optional) greengrass:TagResource
. Only required if you want to tag the component.
For more information, see \n Using your Amazon Lookout for Vision model on an edge device in the Amazon Lookout for Vision Developer Guide.
", + "smithy.api#documentation": "Starts an Amazon Lookout for Vision model packaging job. A model packaging job creates an AWS IoT Greengrass component for\n a Lookout for Vision model. You can use the component to deploy your model to an edge device managed by Greengrass.\n
\nUse the DescribeModelPackagingJob API to determine the current status of the job.\n \n The model packaging job is complete if the value of Status
is SUCCEEDED
.
To deploy the component\n to the target device, use the component name and component version\n with the AWS IoT Greengrass CreateDeployment API.
\nThis operation requires the following permissions:
\n\n lookoutvision:StartModelPackagingJob
\n
\n s3:PutObject
\n
\n s3:GetBucketLocation
\n
\n kms:GenerateDataKey
\n
\n greengrass:CreateComponentVersion
\n
\n greengrass:DescribeComponent
\n
(Optional) greengrass:TagResource
. Only required if you want to tag the component.
For more information, see \n Using your Amazon Lookout for Vision model on an edge device in the Amazon Lookout for Vision Developer Guide.
", "smithy.api#http": { "method": "POST", "uri": "/2020-11-20/projects/{ProjectName}/modelpackagingjobs", @@ -3729,6 +3839,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutvision#StartModelPackagingJobResponse": { @@ -3740,6 +3853,9 @@ "smithy.api#documentation": "The job name for the model packaging job. If you don't supply a job name in the JobName
input parameter,\n the service creates a job name for you.\n\n
ClientToken is an idempotency token that ensures a call to StartModel
\n completes only once. You choose the value to pass. For example, An issue might prevent \n you from getting a response from StartModel
.\n In this case, safely retry your call\n to StartModel
by using the same ClientToken
parameter value.
If you don't supply a value for ClientToken
, the AWS SDK you are using inserts a value for you. \n This prevents retries after a network error from making multiple start requests. You'll need to\n provide your own value for other use cases.
An error occurs if the other input parameters are not the same as in the first request. Using a different \n value for ClientToken
is considered a new call to StartModel
. An idempotency\n token is active for 8 hours.\n
ClientToken is an idempotency token that ensures a call to StartModel
\n completes only once. You choose the value to pass. For example, An issue might prevent \n you from getting a response from StartModel
.\n In this case, safely retry your call\n to StartModel
by using the same ClientToken
parameter value.
If you don't supply a value for ClientToken
, the AWS SDK you are using inserts a value for you. \n This prevents retries after a network error from making multiple start requests. You'll need to\n provide your own value for other use cases.
An error occurs if the other input parameters are not the same as in the first request. Using a different \n value for ClientToken
is considered a new call to StartModel
. An idempotency\n token is active for 8 hours.\n
The maximum number of inference units to use for auto-scaling the model. If you don't\n specify a value, Amazon Lookout for Vision doesn't auto-scale the model.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutvision#StartModelResponse": { @@ -3793,6 +3912,9 @@ "smithy.api#documentation": "The current running status of the model.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutvision#StopModel": { @@ -3859,6 +3981,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutvision#StopModelResponse": { @@ -3870,6 +3995,9 @@ "smithy.api#documentation": "The status of the model.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutvision#Stream": { @@ -4002,11 +4130,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutvision#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.lookoutvision#TagValue": { "type": "string", @@ -4188,11 +4322,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.lookoutvision#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.lookoutvision#UpdateDatasetEntries": { "type": "operation", @@ -4223,7 +4363,7 @@ } ], "traits": { - "smithy.api#documentation": "Adds or updates one or more JSON Line entries in a dataset. A JSON Line includes information about an image\n used for training or testing an Amazon Lookout for Vision model.
\nTo update an existing JSON Line, use the source-ref
field to identify the JSON Line. The JSON line\n that you supply replaces the existing JSON line. Any existing annotations that are not in the new JSON line are removed from the dataset.\n
For more information, see \n Defining JSON lines for anomaly classification in the Amazon Lookout for Vision Developer Guide.
\n \nThe images you reference in the source-ref
field of a JSON line, must be \n in the same S3 bucket as the existing images in the dataset.
Updating a dataset might take a while to complete. To check the current status, call DescribeDataset and\n check the Status
field in the response.
This operation requires permissions to perform the\n lookoutvision:UpdateDatasetEntries
operation.
Adds or updates one or more JSON Line entries in a dataset. A JSON Line includes information about an image\n used for training or testing an Amazon Lookout for Vision model.
\nTo update an existing JSON Line, use the source-ref
field to identify the JSON Line. The JSON line\n that you supply replaces the existing JSON line. Any existing annotations that are not in the new JSON line are removed from the dataset.\n
For more information, see \n Defining JSON lines for anomaly classification in the Amazon Lookout for Vision Developer Guide.
\nThe images you reference in the source-ref
field of a JSON line, must be \n in the same S3 bucket as the existing images in the dataset.
Updating a dataset might take a while to complete. To check the current status, call DescribeDataset and\n check the Status
field in the response.
This operation requires permissions to perform the\n lookoutvision:UpdateDatasetEntries
operation.
The status of the dataset update.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.lookoutvision#ValidationException": { diff --git a/codegen/sdk-codegen/aws-models/m2.json b/codegen/sdk-codegen/aws-models/m2.json index fe5f88c9d0d..56674c35a43 100644 --- a/codegen/sdk-codegen/aws-models/m2.json +++ b/codegen/sdk-codegen/aws-models/m2.json @@ -513,52 +513,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", @@ -566,13 +570,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -582,224 +595,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://m2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://m2-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": [ { "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": [], - "endpoint": { - "url": "https://m2-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://m2-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://m2.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://m2.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://m2.{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://m2.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/machine-learning.json b/codegen/sdk-codegen/aws-models/machine-learning.json index 20f8fb8e701..9a751001301 100644 --- a/codegen/sdk-codegen/aws-models/machine-learning.json +++ b/codegen/sdk-codegen/aws-models/machine-learning.json @@ -82,6 +82,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.machinelearning#AddTagsOutput": { @@ -101,19 +104,22 @@ } }, "traits": { - "smithy.api#documentation": "Amazon ML returns the following elements.
" + "smithy.api#documentation": "Amazon ML returns the following elements.
", + "smithy.api#output": {} } }, "com.amazonaws.machinelearning#Algorithm": { - "type": "string", - "traits": { - "smithy.api#documentation": "The function used to train an MLModel
. Training choices supported by Amazon ML include the following:
\n SGD
- Stochastic Gradient Descent.
\n RandomForest
- Random forest of decision trees.
The function used to train an MLModel
. Training choices supported by Amazon ML include the following:
\n SGD
- Stochastic Gradient Descent.
\n RandomForest
- Random forest of decision trees.
An Amazon Web Service (AWS) user account identifier. The account identifier can be an AWS root account or an AWS Identity and Access Management (IAM) user.
", - "smithy.api#pattern": "arn:aws:iam::[0-9]+:((user/.+)|(root))" + "smithy.api#pattern": "^arn:aws:iam::[0-9]+:((user/.+)|(root))$" } }, "com.amazonaws.machinelearning#BatchPrediction": { @@ -948,43 +969,59 @@ } }, "com.amazonaws.machinelearning#BatchPredictionFilterVariable": { - "type": "string", - "traits": { - "smithy.api#documentation": "A list of the variables to use in searching or filtering BatchPrediction
.
\n CreatedAt
- Sets the search criteria to BatchPrediction
creation date.
\n Status
- Sets the search criteria to BatchPrediction
status.
\n Name
- Sets the search criteria to the contents of BatchPrediction
\n Name
.
\n IAMUser
- Sets the search criteria to the user account that invoked the BatchPrediction
creation.
\n MLModelId
- Sets the search criteria to the MLModel
used in the BatchPrediction
.
\n DataSourceId
- Sets the search criteria to the DataSource
used in the BatchPrediction
.
\n DataURI
- Sets the search criteria to the data file(s) used in the BatchPrediction
. The URL can \n identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.
A list of the variables to use in searching or filtering BatchPrediction
.
\n CreatedAt
- Sets the search criteria to BatchPrediction
creation date.
\n Status
- Sets the search criteria to BatchPrediction
status.
\n Name
- Sets the search criteria to the contents of BatchPrediction
\n Name
.
\n IAMUser
- Sets the search criteria to the user account that invoked the BatchPrediction
creation.
\n MLModelId
- Sets the search criteria to the MLModel
used in the BatchPrediction
.
\n DataSourceId
- Sets the search criteria to the DataSource
used in the BatchPrediction
.
\n DataURI
- Sets the search criteria to the data file(s) used in the BatchPrediction
. The URL can \n identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.
Represents the output of a CreateBatchPrediction
operation, and is an acknowledgement that Amazon ML received the request.
The CreateBatchPrediction
operation is asynchronous. You can poll for status updates by using the >GetBatchPrediction
\n operation and checking the Status
parameter of the result.\n
Represents the output of a CreateBatchPrediction
operation, and is an acknowledgement that Amazon ML received the request.
The CreateBatchPrediction
operation is asynchronous. You can poll for status updates by using the >GetBatchPrediction
\n operation and checking the Status
parameter of the result.\n
The compute statistics for a DataSource
. The statistics are generated from the observation data referenced by \n a DataSource
. Amazon ML uses the statistics internally during MLModel
training.\n This parameter must be set to true
if the DataSource
needs to be used for
MLModel
training.\n
Represents the output of a CreateDataSourceFromRDS
operation, and is an acknowledgement that Amazon ML received the request.
The CreateDataSourceFromRDS
> operation is asynchronous. You can poll for updates by using\n the GetBatchPrediction
operation and checking the Status
parameter. You can \n inspect the Message
when Status
shows up as FAILED
. You can\n also check the progress of the copy operation by going to the DataPipeline
console and looking up\n the pipeline using the pipelineId
from the describe call.
Represents the output of a CreateDataSourceFromRDS
operation, and is an acknowledgement that Amazon ML received the request.
The CreateDataSourceFromRDS
> operation is asynchronous. You can poll for updates by using\n the GetBatchPrediction
operation and checking the Status
parameter. You can \n inspect the Message
when Status
shows up as FAILED
. You can\n also check the progress of the copy operation by going to the DataPipeline
console and looking up\n the pipeline using the pipelineId
from the describe call.
The compute statistics for a DataSource
. The statistics are generated from the observation data referenced by \n a DataSource
. Amazon ML uses the statistics internally during MLModel
training.\n This parameter must be set to true
if the DataSource
needs to\n be used for MLModel
training.
Represents the output of a CreateDataSourceFromRedshift
operation, and is an acknowledgement that Amazon ML received the request.
The CreateDataSourceFromRedshift
operation is asynchronous. You can poll for updates by using\n the GetBatchPrediction
operation and checking the Status
parameter.
Represents the output of a CreateDataSourceFromRedshift
operation, and is an acknowledgement that Amazon ML received the request.
The CreateDataSourceFromRedshift
operation is asynchronous. You can poll for updates by using\n the GetBatchPrediction
operation and checking the Status
parameter.
The compute statistics for a DataSource
. The statistics are generated from the observation data referenced by \n a DataSource
. Amazon ML uses the statistics internally during MLModel
training.\n This parameter must be set to true
if the DataSource
needs to be used for
MLModel
training.
Represents the output of a CreateDataSourceFromS3
operation, and is an acknowledgement that Amazon ML received the request.
The CreateDataSourceFromS3
operation is asynchronous. You can poll for updates by using\n the GetBatchPrediction
operation and checking the Status
parameter.
Represents the output of a CreateDataSourceFromS3
operation, and is an acknowledgement that Amazon ML received the request.
The CreateDataSourceFromS3
operation is asynchronous. You can poll for updates by using\n the GetBatchPrediction
operation and checking the Status
parameter.
Represents the output of a CreateEvaluation
operation, and is an acknowledgement that Amazon ML received the request.
\n CreateEvaluation
operation is asynchronous. You can poll for status updates\n by using the GetEvcaluation
operation \n and checking the Status
parameter.\n
Represents the output of a CreateEvaluation
operation, and is an acknowledgement that Amazon ML received the request.
\n CreateEvaluation
operation is asynchronous. You can poll for status updates\n by using the GetEvcaluation
operation \n and checking the Status
parameter.\n
The Amazon Simple Storage Service (Amazon S3) location and file name that contains the MLModel
recipe. You must specify either the recipe or its URI. If you don't specify a recipe or its URI, Amazon ML creates a default.
Represents the output of a CreateMLModel
operation, and is an acknowledgement that Amazon ML received the request.
The CreateMLModel
operation is asynchronous. You can poll for status updates by using the \n GetMLModel
operation and checking the Status
parameter.\n
Represents the output of a CreateMLModel
operation, and is an acknowledgement that Amazon ML received the request.
The CreateMLModel
operation is asynchronous. You can poll for status updates by using the \n GetMLModel
operation and checking the Status
parameter.\n
Represents the output of an CreateRealtimeEndpoint
operation.
The result contains the MLModelId
and the endpoint information for the MLModel
.
\n Note: The endpoint information includes the URI of the MLModel
; that is, the location to send online prediction requests for the specified MLModel
.
Represents the output of an CreateRealtimeEndpoint
operation.
The result contains the MLModelId
and the endpoint information for the MLModel
.
\n Note: The endpoint information includes the URI of the MLModel
; that is, the location to send online prediction requests for the specified MLModel
.
A list of the variables to use in searching or filtering DataSource
.
\n CreatedAt
- Sets the search criteria to DataSource
creation date.
\n Status
- Sets the search criteria to DataSource
status.
\n Name
- Sets the search criteria to the contents of DataSource
\n Name
.
\n DataUri
- Sets the search criteria to the URI of data files used to create the DataSource
. The URI can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.
\n IAMUser
- Sets the search criteria to the user account that invoked the DataSource
creation.
\n Note: \n The variable names should match the variable names in the DataSource
.
A list of the variables to use in searching or filtering DataSource
.
\n CreatedAt
- Sets the search criteria to DataSource
creation date.
\n Status
- Sets the search criteria to DataSource
status.
\n Name
- Sets the search criteria to the contents of DataSource
\n Name
.
\n DataUri
- Sets the search criteria to the URI of data files used to create the DataSource
. The URI can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.
\n IAMUser
- Sets the search criteria to the user account that invoked the DataSource
creation.
\n Note: \n The variable names should match the variable names in the DataSource
.
Represents the output of a DeleteBatchPrediction
operation.
You can use the GetBatchPrediction
operation and check the value of the Status
parameter to see whether a \n BatchPrediction
is marked as DELETED
.
Represents the output of a DeleteBatchPrediction
operation.
You can use the GetBatchPrediction
operation and check the value of the Status
parameter to see whether a \n BatchPrediction
is marked as DELETED
.
Represents the output of a DeleteDataSource
operation.
Represents the output of a DeleteDataSource
operation.
Represents the output of a DeleteEvaluation
operation. The output indicates that Amazon Machine Learning (Amazon ML) received the request.
You can use the GetEvaluation
operation and check the value of the Status
parameter to see whether an \n Evaluation
is marked as DELETED
.
Represents the output of a DeleteEvaluation
operation. The output indicates that Amazon Machine Learning (Amazon ML) received the request.
You can use the GetEvaluation
operation and check the value of the Status
parameter to see whether an \n Evaluation
is marked as DELETED
.
Represents the output of a DeleteMLModel
operation.
You can use the GetMLModel
operation and check the value of the Status
parameter to see whether an \n MLModel
is marked as DELETED
.
Represents the output of a DeleteMLModel
operation.
You can use the GetMLModel
operation and check the value of the Status
parameter to see whether an \n MLModel
is marked as DELETED
.
Represents the output of an DeleteRealtimeEndpoint
operation.
The result contains the MLModelId
and the endpoint information for the MLModel
.
Represents the output of an DeleteRealtimeEndpoint
operation.
The result contains the MLModelId
and the endpoint information for the MLModel
.
Amazon ML returns the following elements.
" + "smithy.api#documentation": "Amazon ML returns the following elements.
", + "smithy.api#output": {} } }, "com.amazonaws.machinelearning#DescribeBatchPredictions": { @@ -2113,6 +2214,9 @@ "smithy.api#documentation": "The number of pages of information to include in the result. The range of acceptable values is 1
through 100
. The default value is 100
.
Represents the output of a DescribeBatchPredictions
operation. The content is essentially a list of BatchPrediction
s.
Represents the output of a DescribeBatchPredictions
operation. The content is essentially a list of BatchPrediction
s.
The maximum number of DataSource
to include in the result.
Represents the query results from a DescribeDataSources operation. The content is essentially a list of DataSource
.
Represents the query results from a DescribeDataSources operation. The content is essentially a list of DataSource
.
The maximum number of Evaluation
to include in the result.
Represents the query results from a DescribeEvaluations
operation. The content is essentially a list of Evaluation
.
Represents the query results from a DescribeEvaluations
operation. The content is essentially a list of Evaluation
.
The number of pages of information to include in the result. The range of acceptable values is 1
through 100
. The default value is 100
.
Represents the output of a DescribeMLModels
operation. The content is essentially a list of MLModel
.
Represents the output of a DescribeMLModels
operation. The content is essentially a list of MLModel
.
Amazon ML returns the following elements.
" + "smithy.api#documentation": "Amazon ML returns the following elements.
", + "smithy.api#output": {} } }, "com.amazonaws.machinelearning#DetailsAttributes": { - "type": "string", - "traits": { - "smithy.api#documentation": "Contains the key values of DetailsMap
:
\n PredictiveModelType
- Indicates the type of the MLModel
.
\n Algorithm
- Indicates the algorithm that was used for the MLModel
.
Contains the key values of DetailsMap
:
\n PredictiveModelType
- Indicates the type of the MLModel
.
\n Algorithm
- Indicates the algorithm that was used for the MLModel
.
Object status with the following possible values:
\n\n PENDING
\n
\n INPROGRESS
\n
\n FAILED
\n
\n COMPLETED
\n
\n DELETED
\n
Object status with the following possible values:
\n\n PENDING
\n
\n INPROGRESS
\n
\n FAILED
\n
\n COMPLETED
\n
\n DELETED
\n
A list of the variables to use in searching or filtering Evaluation
.
\n CreatedAt
- Sets the search criteria to Evaluation
creation date.
\n Status
- Sets the search criteria to Evaluation
status.
\n Name
- Sets the search criteria to the contents of Evaluation
\n \n Name
.
\n IAMUser
- Sets the search criteria to the user account that invoked an evaluation.
\n MLModelId
- Sets the search criteria to the Predictor
that was evaluated.
\n DataSourceId
- Sets the search criteria to the DataSource
used in evaluation.
\n DataUri
- Sets the search criteria to the data file(s) used in evaluation. The URL can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.
A list of the variables to use in searching or filtering Evaluation
.
\n CreatedAt
- Sets the search criteria to Evaluation
creation date.
\n Status
- Sets the search criteria to Evaluation
status.
\n Name
- Sets the search criteria to the contents of Evaluation
\n \n Name
.
\n IAMUser
- Sets the search criteria to the user account that invoked an evaluation.
\n MLModelId
- Sets the search criteria to the Predictor
that was evaluated.
\n DataSourceId
- Sets the search criteria to the DataSource
used in evaluation.
\n DataUri
- Sets the search criteria to the data file(s) used in evaluation. The URL can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.
Represents the output of a GetBatchPrediction
operation and describes a BatchPrediction
.
Represents the output of a GetBatchPrediction
operation and describes a BatchPrediction
.
Specifies whether the GetDataSource
operation should return DataSourceSchema
.
If true, DataSourceSchema
is returned.
If false, DataSourceSchema
is not returned.
Represents the output of a GetDataSource
operation and describes a DataSource
.
Represents the output of a GetDataSource
operation and describes a DataSource
.
Represents the output of a GetEvaluation
operation and describes an Evaluation
.
Represents the output of a GetEvaluation
operation and describes an Evaluation
.
Specifies whether the GetMLModel
operation should return Recipe
.
If true, Recipe
is returned.
If false, Recipe
is not returned.
Represents the output of a GetMLModel
operation, and provides detailed information about a MLModel
.
Represents the output of a GetMLModel
operation, and provides detailed information about a MLModel
.
The sort order specified in a listing condition. Possible values include the following:
\n\n asc
- Present the information in ascending order (from A-Z).
\n dsc
- Present the information in descending order (from Z-A).
The sort order specified in a listing condition. Possible values include the following:
\n\n asc
- Present the information in ascending order (from A-Z).
\n dsc
- Present the information in descending order (from Z-A).
Represents the output of an UpdateBatchPrediction
operation.
You can see the updated content by using the GetBatchPrediction
operation.
Represents the output of an UpdateBatchPrediction
operation.
You can see the updated content by using the GetBatchPrediction
operation.
Represents the output of an UpdateDataSource
operation.
You can see the updated content by using the GetBatchPrediction
operation.
Represents the output of an UpdateDataSource
operation.
You can see the updated content by using the GetBatchPrediction
operation.
Represents the output of an UpdateEvaluation
operation.
You can see the updated content by using the GetEvaluation
operation.
Represents the output of an UpdateEvaluation
operation.
You can see the updated content by using the GetEvaluation
operation.
The ScoreThreshold
used in binary classification MLModel
that marks the boundary between a positive prediction and a negative prediction.
Output values greater than or equal to the ScoreThreshold
receive a positive result from the MLModel
, such as true
. Output values less than the ScoreThreshold
receive a negative response from the MLModel
, such as false
.
Represents the output of an UpdateMLModel
operation.
You can see the updated content by using the GetMLModel
operation.
Represents the output of an UpdateMLModel
operation.
You can see the updated content by using the GetMLModel
operation.
(Discontinued) S3 resources that couldn't be associated with Amazon Macie Classic. An\n error code and an error message are provided for each failed item.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.macie#BucketName": { @@ -221,6 +230,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.macie#DisassociateS3Resources": { @@ -262,6 +274,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.macie#DisassociateS3ResourcesResult": { @@ -273,6 +288,9 @@ "smithy.api#documentation": "(Discontinued) S3 resources that couldn't be removed from being monitored and\n classified by Amazon Macie Classic. An error code and an error message are provided for each\n failed item.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.macie#ErrorCode": { @@ -427,6 +445,9 @@ "smithy.api#documentation": "(Discontinued) Use this parameter to indicate the maximum number of items that you want\n in the response. The default value is 250.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.macie#ListMemberAccountsResult": { @@ -444,6 +465,9 @@ "smithy.api#documentation": "(Discontinued) When a response is generated, if there is more data to be listed, this\n parameter is present in the response and contains the value to use for the nextToken
parameter\n in a subsequent pagination request. If there is no more data to be listed, this parameter is\n set to null.
(Discontinued) Use this parameter to indicate the maximum number of items that you want\n in the response. The default value is 250.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.macie#ListS3ResourcesResult": { @@ -512,6 +539,9 @@ "smithy.api#documentation": "(Discontinued) When a response is generated, if there is more data to be listed, this\n parameter is present in the response and contains the value to use for the nextToken
parameter\n in a subsequent pagination request. If there is no more data to be listed, this parameter is\n set to null.
Amazon Macie Classic has been discontinued and is no longer available.
\n \nA new Amazon Macie is now available with significant design improvements and additional\n features, at a lower price and in most Amazon Web Services Regions. We encourage you to take advantage of the\n new and improved features, and benefit from the reduced cost. To learn about features and pricing for the new Macie, see Amazon Macie. To learn how to use the new Macie, see the Amazon Macie User\n Guide.
", + "smithy.api#documentation": "Amazon Macie Classic has been discontinued and is no longer available.
\nA new Amazon Macie is now available with significant design improvements and additional\n features, at a lower price and in most Amazon Web Services Regions. We encourage you to take advantage of the\n new and improved features, and benefit from the reduced cost. To learn about features and pricing for the new Macie, see Amazon Macie. To learn how to use the new Macie, see the Amazon Macie User\n Guide.
", "smithy.api#title": "Amazon Macie", "smithy.rules#endpointRuleSet": { "version": "1.0", @@ -614,52 +644,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", @@ -667,13 +701,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -683,224 +726,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://macie-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://macie-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": [ { "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": [], - "endpoint": { - "url": "https://macie-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://macie-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://macie.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://macie.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://macie.{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://macie.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -915,8 +909,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -928,8 +922,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -941,8 +935,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -954,8 +948,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -967,8 +961,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -980,8 +974,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -993,8 +987,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1006,8 +1000,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1019,8 +1013,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1032,8 +1026,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1045,8 +1039,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1058,8 +1052,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1071,8 +1065,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1084,8 +1078,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -1097,8 +1102,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 } }, { @@ -1110,8 +1126,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -1123,8 +1150,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 } }, { @@ -1136,8 +1174,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1149,8 +1187,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1162,8 +1200,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1174,8 +1212,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1186,10 +1224,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" @@ -1253,29 +1297,31 @@ } }, "com.amazonaws.macie#S3ContinuousClassificationType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FULL", - "name": "FULL" + "type": "enum", + "members": { + "FULL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FULL" } - ] + } } }, "com.amazonaws.macie#S3OneTimeClassificationType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FULL", - "name": "FULL" - }, - { - "value": "NONE", - "name": "NONE" + "type": "enum", + "members": { + "FULL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FULL" } - ] + }, + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" + } + } } }, "com.amazonaws.macie#S3Resource": { @@ -1412,6 +1458,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.macie#UpdateS3ResourcesResult": { @@ -1423,6 +1472,9 @@ "smithy.api#documentation": "(Discontinued) The S3 resources whose classification types can't be updated. An error\n code and an error message are provided for each failed item.
" } } + }, + "traits": { + "smithy.api#output": {} } } } diff --git a/codegen/sdk-codegen/aws-models/macie2.json b/codegen/sdk-codegen/aws-models/macie2.json index 63ec5f70d31..a199bca8a3b 100644 --- a/codegen/sdk-codegen/aws-models/macie2.json +++ b/codegen/sdk-codegen/aws-models/macie2.json @@ -8886,52 +8886,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", @@ -8939,13 +8943,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -8955,224 +8968,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://macie2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://macie2-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": [ { "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": [], - "endpoint": { - "url": "https://macie2-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://macie2-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://macie2.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://macie2.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://macie2.{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://macie2.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/managedblockchain.json b/codegen/sdk-codegen/aws-models/managedblockchain.json index fd9b3e330c3..3f1caebf716 100644 --- a/codegen/sdk-codegen/aws-models/managedblockchain.json +++ b/codegen/sdk-codegen/aws-models/managedblockchain.json @@ -3911,52 +3911,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", @@ -3964,13 +3968,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -3980,224 +3993,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://managedblockchain-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://managedblockchain-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": [ { "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": [], - "endpoint": { - "url": "https://managedblockchain-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://managedblockchain-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://managedblockchain.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://managedblockchain.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://managedblockchain.{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://managedblockchain.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/marketplace-catalog.json b/codegen/sdk-codegen/aws-models/marketplace-catalog.json index 27b1ffb7277..ca72e87c52c 100644 --- a/codegen/sdk-codegen/aws-models/marketplace-catalog.json +++ b/codegen/sdk-codegen/aws-models/marketplace-catalog.json @@ -154,52 +154,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", @@ -207,13 +211,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -223,224 +236,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://catalog.marketplace-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://catalog.marketplace-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": [ { "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": [], - "endpoint": { - "url": "https://catalog.marketplace-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://catalog.marketplace-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://catalog.marketplace.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://catalog.marketplace.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://catalog.marketplace.{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://catalog.marketplace.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/marketplace-commerce-analytics.json b/codegen/sdk-codegen/aws-models/marketplace-commerce-analytics.json index 3d782d299a5..994e17cce26 100644 --- a/codegen/sdk-codegen/aws-models/marketplace-commerce-analytics.json +++ b/codegen/sdk-codegen/aws-models/marketplace-commerce-analytics.json @@ -51,110 +51,160 @@ "type": "string" }, "com.amazonaws.marketplacecommerceanalytics#DataSetType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "customer_subscriber_hourly_monthly_subscriptions", - "name": "CUSTOMER_SUBSCRIBER_HOURLY_MONTHLY_SUBSCRIPTIONS" - }, - { - "value": "customer_subscriber_annual_subscriptions", - "name": "CUSTOMER_SUBSCRIBER_ANNUAL_SUBSCRIPTIONS" - }, - { - "value": "daily_business_usage_by_instance_type", - "name": "DAILY_BUSINESS_USAGE_BY_INSTANCE_TYPE" - }, - { - "value": "daily_business_fees", - "name": "DAILY_BUSINESS_FEES" - }, - { - "value": "daily_business_free_trial_conversions", - "name": "DAILY_BUSINESS_FREE_TRIAL_CONVERSIONS" - }, - { - "value": "daily_business_new_instances", - "name": "DAILY_BUSINESS_NEW_INSTANCES" - }, - { - "value": "daily_business_new_product_subscribers", - "name": "DAILY_BUSINESS_NEW_PRODUCT_SUBSCRIBERS" - }, - { - "value": "daily_business_canceled_product_subscribers", - "name": "DAILY_BUSINESS_CANCELED_PRODUCT_SUBSCRIBERS" - }, - { - "value": "monthly_revenue_billing_and_revenue_data", - "name": "MONTHLY_REVENUE_BILLING_AND_REVENUE_DATA" - }, - { - "value": "monthly_revenue_annual_subscriptions", - "name": "MONTHLY_REVENUE_ANNUAL_SUBSCRIPTIONS" - }, - { - "value": "monthly_revenue_field_demonstration_usage", - "name": "MONTHLY_REVENUE_FIELD_DEMONSTRATION_USAGE" - }, - { - "value": "monthly_revenue_flexible_payment_schedule", - "name": "MONTHLY_REVENUE_FLEXIBLE_PAYMENT_SCHEDULE" - }, - { - "value": "disbursed_amount_by_product", - "name": "DISBURSED_AMOUNT_BY_PRODUCT" - }, - { - "value": "disbursed_amount_by_product_with_uncollected_funds", - "name": "DISBURSED_AMOUNT_BY_PRODUCT_WITH_UNCOLLECTED_FUNDS" - }, - { - "value": "disbursed_amount_by_instance_hours", - "name": "DISBURSED_AMOUNT_BY_INSTANCE_HOURS" - }, - { - "value": "disbursed_amount_by_customer_geo", - "name": "DISBURSED_AMOUNT_BY_CUSTOMER_GEO" - }, - { - "value": "disbursed_amount_by_age_of_uncollected_funds", - "name": "DISBURSED_AMOUNT_BY_AGE_OF_UNCOLLECTED_FUNDS" - }, - { - "value": "disbursed_amount_by_age_of_disbursed_funds", - "name": "DISBURSED_AMOUNT_BY_AGE_OF_DISBURSED_FUNDS" - }, - { - "value": "disbursed_amount_by_age_of_past_due_funds", - "name": "DISBURSED_AMOUNT_BY_AGE_OF_PAST_DUE_FUNDS" - }, - { - "value": "disbursed_amount_by_uncollected_funds_breakdown", - "name": "DISBURSED_AMOUNT_BY_UNCOLLECTED_FUNDS_BREAKDOWN" - }, - { - "value": "customer_profile_by_industry", - "name": "CUSTOMER_PROFILE_BY_INDUSTRY" - }, - { - "value": "customer_profile_by_revenue", - "name": "CUSTOMER_PROFILE_BY_REVENUE" - }, - { - "value": "customer_profile_by_geography", - "name": "CUSTOMER_PROFILE_BY_GEOGRAPHY" - }, - { - "value": "sales_compensation_billed_revenue", - "name": "SALES_COMPENSATION_BILLED_REVENUE" - }, - { - "value": "us_sales_and_use_tax_records", - "name": "US_SALES_AND_USE_TAX_RECORDS" + "type": "enum", + "members": { + "CUSTOMER_SUBSCRIBER_HOURLY_MONTHLY_SUBSCRIPTIONS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "customer_subscriber_hourly_monthly_subscriptions" + } + }, + "CUSTOMER_SUBSCRIBER_ANNUAL_SUBSCRIPTIONS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "customer_subscriber_annual_subscriptions" + } + }, + "DAILY_BUSINESS_USAGE_BY_INSTANCE_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "daily_business_usage_by_instance_type" + } + }, + "DAILY_BUSINESS_FEES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "daily_business_fees" + } + }, + "DAILY_BUSINESS_FREE_TRIAL_CONVERSIONS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "daily_business_free_trial_conversions" + } + }, + "DAILY_BUSINESS_NEW_INSTANCES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "daily_business_new_instances" + } + }, + "DAILY_BUSINESS_NEW_PRODUCT_SUBSCRIBERS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "daily_business_new_product_subscribers" + } + }, + "DAILY_BUSINESS_CANCELED_PRODUCT_SUBSCRIBERS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "daily_business_canceled_product_subscribers" + } + }, + "MONTHLY_REVENUE_BILLING_AND_REVENUE_DATA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "monthly_revenue_billing_and_revenue_data" + } + }, + "MONTHLY_REVENUE_ANNUAL_SUBSCRIPTIONS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "monthly_revenue_annual_subscriptions" + } + }, + "MONTHLY_REVENUE_FIELD_DEMONSTRATION_USAGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "monthly_revenue_field_demonstration_usage" + } + }, + "MONTHLY_REVENUE_FLEXIBLE_PAYMENT_SCHEDULE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "monthly_revenue_flexible_payment_schedule" + } + }, + "DISBURSED_AMOUNT_BY_PRODUCT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "disbursed_amount_by_product" + } + }, + "DISBURSED_AMOUNT_BY_PRODUCT_WITH_UNCOLLECTED_FUNDS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "disbursed_amount_by_product_with_uncollected_funds" + } + }, + "DISBURSED_AMOUNT_BY_INSTANCE_HOURS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "disbursed_amount_by_instance_hours" + } + }, + "DISBURSED_AMOUNT_BY_CUSTOMER_GEO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "disbursed_amount_by_customer_geo" + } + }, + "DISBURSED_AMOUNT_BY_AGE_OF_UNCOLLECTED_FUNDS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "disbursed_amount_by_age_of_uncollected_funds" + } + }, + "DISBURSED_AMOUNT_BY_AGE_OF_DISBURSED_FUNDS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "disbursed_amount_by_age_of_disbursed_funds" + } + }, + "DISBURSED_AMOUNT_BY_AGE_OF_PAST_DUE_FUNDS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "disbursed_amount_by_age_of_past_due_funds" + } + }, + "DISBURSED_AMOUNT_BY_UNCOLLECTED_FUNDS_BREAKDOWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "disbursed_amount_by_uncollected_funds_breakdown" + } + }, + "CUSTOMER_PROFILE_BY_INDUSTRY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "customer_profile_by_industry" + } + }, + "CUSTOMER_PROFILE_BY_REVENUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "customer_profile_by_revenue" + } + }, + "CUSTOMER_PROFILE_BY_GEOGRAPHY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "customer_profile_by_geography" } - ], + }, + "SALES_COMPENSATION_BILLED_REVENUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "sales_compensation_billed_revenue" + } + }, + "US_SALES_AND_USE_TAX_RECORDS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "us_sales_and_use_tax_records" + } + } + }, + "traits": { "smithy.api#length": { "min": 1, "max": 255 @@ -247,7 +297,8 @@ } }, "traits": { - "smithy.api#documentation": "Container for the parameters to the GenerateDataSet operation." + "smithy.api#documentation": "Container for the parameters to the GenerateDataSet operation.", + "smithy.api#input": {} } }, "com.amazonaws.marketplacecommerceanalytics#GenerateDataSetResult": { @@ -261,7 +312,8 @@ } }, "traits": { - "smithy.api#documentation": "Container for the result of the GenerateDataSet operation." + "smithy.api#documentation": "Container for the result of the GenerateDataSet operation.", + "smithy.api#output": {} } }, "com.amazonaws.marketplacecommerceanalytics#MarketplaceCommerceAnalytics20150701": { @@ -281,6 +333,7 @@ "arnNamespace": "marketplacecommerceanalytics", "cloudFormationName": "MarketplaceCommerceAnalytics", "cloudTrailEventSource": "marketplacecommerceanalytics.amazonaws.com", + "docId": "marketplacecommerceanalytics-2015-07-01", "endpointPrefix": "marketplacecommerceanalytics" }, "aws.auth#sigv4": { @@ -349,52 +402,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", @@ -402,13 +459,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -418,224 +484,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://marketplacecommerceanalytics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://marketplacecommerceanalytics-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": [ { "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": [], - "endpoint": { - "url": "https://marketplacecommerceanalytics-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://marketplacecommerceanalytics-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://marketplacecommerceanalytics.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://marketplacecommerceanalytics.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://marketplacecommerceanalytics.{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://marketplacecommerceanalytics.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -650,8 +667,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -663,8 +680,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -676,8 +693,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -689,8 +706,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -702,8 +719,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -715,8 +732,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -728,8 +745,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -741,8 +758,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -754,8 +771,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -767,8 +784,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -780,8 +797,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -793,8 +810,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -806,8 +834,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 } }, { @@ -819,8 +858,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -832,8 +882,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 } }, { @@ -845,8 +906,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -858,8 +919,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -871,8 +932,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -883,8 +944,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -895,10 +956,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" @@ -1023,7 +1090,8 @@ } }, "traits": { - "smithy.api#documentation": "Container for the parameters to the StartSupportDataExport operation." + "smithy.api#documentation": "Container for the parameters to the StartSupportDataExport operation.", + "smithy.api#input": {} } }, "com.amazonaws.marketplacecommerceanalytics#StartSupportDataExportResult": { @@ -1037,22 +1105,27 @@ } }, "traits": { - "smithy.api#documentation": "Container for the result of the StartSupportDataExport operation." + "smithy.api#documentation": "Container for the result of the StartSupportDataExport operation.", + "smithy.api#output": {} } }, "com.amazonaws.marketplacecommerceanalytics#SupportDataSetType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "customer_support_contacts_data", - "name": "customer_support_contacts_data" - }, - { - "value": "test_customer_support_contacts_data", - "name": "test_customer_support_contacts_data" + "type": "enum", + "members": { + "customer_support_contacts_data": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "customer_support_contacts_data" } - ], + }, + "test_customer_support_contacts_data": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "test_customer_support_contacts_data" + } + } + }, + "traits": { "smithy.api#length": { "min": 1, "max": 255 diff --git a/codegen/sdk-codegen/aws-models/marketplace-entitlement-service.json b/codegen/sdk-codegen/aws-models/marketplace-entitlement-service.json index 7dc1e35629a..b8dab8047a0 100644 --- a/codegen/sdk-codegen/aws-models/marketplace-entitlement-service.json +++ b/codegen/sdk-codegen/aws-models/marketplace-entitlement-service.json @@ -43,6 +43,7 @@ "arnNamespace": "aws-marketplace", "cloudFormationName": "MarketplaceEntitlementService", "cloudTrailEventSource": "marketplaceentitlementservice.amazonaws.com", + "docId": "entitlement.marketplace-2017-01-11", "endpointPrefix": "entitlement.marketplace" }, "aws.auth#sigv4": { @@ -111,52 +112,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", @@ -164,13 +169,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -180,249 +194,200 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://entitlement.marketplace-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://entitlement.marketplace-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": [ { "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": [], - "endpoint": { - "url": "https://entitlement.marketplace-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://entitlement.marketplace-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://entitlement.marketplace.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://entitlement.marketplace.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, { "conditions": [], "endpoint": { - "url": "https://entitlement.marketplace.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://entitlement.marketplace.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws", + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://entitlement.marketplace.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://entitlement.marketplace.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -437,8 +402,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -450,8 +415,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -463,8 +428,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -476,8 +441,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -489,8 +454,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -502,8 +467,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -515,8 +480,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -528,8 +493,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -541,8 +506,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -554,8 +519,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -567,8 +532,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -580,8 +545,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -593,8 +569,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 } }, { @@ -606,8 +593,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -619,8 +617,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 } }, { @@ -632,8 +641,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -645,8 +654,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -658,8 +667,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -670,8 +679,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -682,10 +691,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" @@ -797,18 +812,20 @@ } }, "com.amazonaws.marketplaceentitlementservice#GetEntitlementFilterName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CUSTOMER_IDENTIFIER", - "name": "CUSTOMER_IDENTIFIER" - }, - { - "value": "DIMENSION", - "name": "DIMENSION" + "type": "enum", + "members": { + "CUSTOMER_IDENTIFIER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CUSTOMER_IDENTIFIER" } - ] + }, + "DIMENSION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DIMENSION" + } + } } }, "com.amazonaws.marketplaceentitlementservice#GetEntitlementFilters": { @@ -873,7 +890,8 @@ } }, "traits": { - "smithy.api#documentation": "The GetEntitlementsRequest contains parameters for the GetEntitlements\n operation.
" + "smithy.api#documentation": "The GetEntitlementsRequest contains parameters for the GetEntitlements\n operation.
", + "smithy.api#input": {} } }, "com.amazonaws.marketplaceentitlementservice#GetEntitlementsResult": { @@ -893,7 +911,8 @@ } }, "traits": { - "smithy.api#documentation": "The GetEntitlementsRequest contains results from the GetEntitlements operation.
" + "smithy.api#documentation": "The GetEntitlementsRequest contains results from the GetEntitlements operation.
", + "smithy.api#output": {} } }, "com.amazonaws.marketplaceentitlementservice#Integer": { @@ -926,7 +945,7 @@ "com.amazonaws.marketplaceentitlementservice#NonEmptyString": { "type": "string", "traits": { - "smithy.api#pattern": "\\S+" + "smithy.api#pattern": "^\\S+$" } }, "com.amazonaws.marketplaceentitlementservice#ProductCode": { diff --git a/codegen/sdk-codegen/aws-models/marketplace-metering.json b/codegen/sdk-codegen/aws-models/marketplace-metering.json index fa3a3621d63..fa5cb0ff6e1 100644 --- a/codegen/sdk-codegen/aws-models/marketplace-metering.json +++ b/codegen/sdk-codegen/aws-models/marketplace-metering.json @@ -52,13 +52,14 @@ "arnNamespace": "aws-marketplace", "cloudFormationName": "MarketplaceMetering", "cloudTrailEventSource": "marketplacemetering.amazonaws.com", + "docId": "meteringmarketplace-2016-01-14", "endpointPrefix": "metering.marketplace" }, "aws.auth#sigv4": { "name": "aws-marketplace" }, "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "This reference provides descriptions of the low-level AWS Marketplace Metering Service\n API.
\nAWS Marketplace sellers can use this API to submit usage data for custom usage\n dimensions.
\nFor information on the permissions you need to use this API, see AWS Marketplace metering and entitlement API permissions in the\n AWS Marketplace Seller Guide.\n
\n\n Submitting Metering Records\n
\n\n MeterUsage - Submits the metering record for an AWS\n Marketplace product. MeterUsage
is called from an EC2 instance or a\n container running on EKS or ECS.
\n BatchMeterUsage - Submits the metering record for a set of\n customers. BatchMeterUsage
is called from a software-as-a-service\n (SaaS) application.
\n Accepting New Customers\n
\n\n ResolveCustomer - Called by a SaaS application during the\n registration process. When a buyer visits your website during the registration\n process, the buyer submits a Registration Token through the browser. The\n Registration Token is resolved through this API to obtain a\n CustomerIdentifier
\n \n along with the CustomerAWSAccountId
and\n ProductCode
.
\n Entitlement and Metering for Paid Container Products\n
\nPaid container software products sold through AWS Marketplace must integrate\n with the AWS Marketplace Metering Service and call the\n RegisterUsage
operation for software entitlement and metering.\n Free and BYOL products for Amazon ECS or Amazon EKS aren't required to call\n RegisterUsage
, but you can do so if you want to receive usage\n data in your seller reports. For more information on using the\n RegisterUsage
operation, see Container-Based Products.
\n BatchMeterUsage
API calls are captured by AWS CloudTrail. You can use\n Cloudtrail to verify that the SaaS metering records that you sent are accurate by\n searching for records with the eventName
of BatchMeterUsage
.\n You can also use CloudTrail to audit records over time. For more information, see the\n \n AWS CloudTrail User Guide.\n
This reference provides descriptions of the low-level AWS Marketplace Metering Service\n API.
\nAWS Marketplace sellers can use this API to submit usage data for custom usage\n dimensions.
\nFor information on the permissions you need to use this API, see AWS Marketplace metering and entitlement API permissions in the\n AWS Marketplace Seller Guide.\n
\n\n Submitting Metering Records\n
\n\n MeterUsage - Submits the metering record for an AWS\n Marketplace product. MeterUsage
is called from an EC2 instance or a\n container running on EKS or ECS.
\n BatchMeterUsage - Submits the metering record for a set of\n customers. BatchMeterUsage
is called from a software-as-a-service\n (SaaS) application.
\n Accepting New Customers\n
\n\n ResolveCustomer - Called by a SaaS application during the\n registration process. When a buyer visits your website during the registration\n process, the buyer submits a Registration Token through the browser. The\n Registration Token is resolved through this API to obtain a\n CustomerIdentifier
\n \n along with the CustomerAWSAccountId
and\n ProductCode
.
\n Entitlement and Metering for Paid Container Products\n
\nPaid container software products sold through AWS Marketplace must integrate\n with the AWS Marketplace Metering Service and call the\n RegisterUsage
operation for software entitlement and metering.\n Free and BYOL products for Amazon ECS or Amazon EKS aren't required to call\n RegisterUsage
, but you can do so if you want to receive usage\n data in your seller reports. For more information on using the\n RegisterUsage
operation, see Container-Based Products.
\n BatchMeterUsage
API calls are captured by AWS CloudTrail. You can use\n Cloudtrail to verify that the SaaS metering records that you sent are accurate by\n searching for records with the eventName
of BatchMeterUsage
.\n You can also use CloudTrail to audit records over time. For more information, see the\n \n AWS CloudTrail User Guide.\n
\n BatchMeterUsage
is called from a SaaS application listed on AWS\n Marketplace to post metering records for a set of customers.
For identical requests, the API is idempotent; requests can be retried with the same\n records or a subset of the input records.
\nEvery request to BatchMeterUsage
is for one product. If you need to meter\n usage for multiple products, you must make multiple calls to\n BatchMeterUsage
.
Usage records are expected to be submitted as quickly as possible after the event that\n is being recorded, and are not accepted more than 6 hours after the event.
\n\n BatchMeterUsage
can process up to 25 UsageRecords
at a\n time.
A UsageRecord
can optionally include multiple usage allocations, to\n provide customers with usage data split into buckets by tags that you define (or allow\n the customer to define).
\n BatchMeterUsage
returns a list of UsageRecordResult
objects,\n showing the result for each UsageRecord
, as well as a list of\n UnprocessedRecords
, indicating errors in the service side that you\n should retry.
\n BatchMeterUsage
requests must be less than 1MB in size.
For an example of using BatchMeterUsage
, see BatchMeterUsage code example in the AWS Marketplace Seller\n Guide.
\n BatchMeterUsage
is called from a SaaS application listed on AWS\n Marketplace to post metering records for a set of customers.
For identical requests, the API is idempotent; requests can be retried with the same\n records or a subset of the input records.
\nEvery request to BatchMeterUsage
is for one product. If you need to meter\n usage for multiple products, you must make multiple calls to\n BatchMeterUsage
.
Usage records are expected to be submitted as quickly as possible after the event that\n is being recorded, and are not accepted more than 6 hours after the event.
\n\n BatchMeterUsage
can process up to 25 UsageRecords
at a\n time.
A UsageRecord
can optionally include multiple usage allocations, to\n provide customers with usage data split into buckets by tags that you define (or allow\n the customer to define).
\n BatchMeterUsage
returns a list of UsageRecordResult
objects,\n showing the result for each UsageRecord
, as well as a list of\n UnprocessedRecords
, indicating errors in the service side that you\n should retry.
\n BatchMeterUsage
requests must be less than 1MB in size.
For an example of using BatchMeterUsage
, see BatchMeterUsage code example in the AWS Marketplace Seller\n Guide.
A BatchMeterUsageRequest
contains UsageRecords
, which\n indicate quantities of usage within your application.
A BatchMeterUsageRequest
contains UsageRecords
, which\n indicate quantities of usage within your application.
Contains the UsageRecords
processed by BatchMeterUsage
and\n any records that have failed due to transient error.
Contains the UsageRecords
processed by BatchMeterUsage
and\n any records that have failed due to transient error.
API to emit metering records. For identical requests, the API is idempotent. It simply\n returns the metering record ID.
\n\n MeterUsage
is authenticated on the buyer's AWS account using credentials\n from the EC2 instance, ECS task, or EKS pod.
\n MeterUsage
can optionally include multiple usage allocations, to provide\n customers with usage data split into buckets by tags that you define (or allow the\n customer to define).
Usage records are expected to be submitted as quickly as possible after the event that\n is being recorded, and are not accepted more than 6 hours after the event.
" + "smithy.api#documentation": "API to emit metering records. For identical requests, the API is idempotent. It simply\n returns the metering record ID.
\n\n MeterUsage
is authenticated on the buyer's AWS account using credentials\n from the EC2 instance, ECS task, or EKS pod.
\n MeterUsage
can optionally include multiple usage allocations, to provide\n customers with usage data split into buckets by tags that you define (or allow the\n customer to define).
Usage records are expected to be submitted as quickly as possible after the event that\n is being recorded, and are not accepted more than 6 hours after the event.
" } }, "com.amazonaws.marketplacemetering#MeterUsageRequest": { @@ -1378,9 +1395,12 @@ "UsageAllocations": { "target": "com.amazonaws.marketplacemetering#UsageAllocations", "traits": { - "smithy.api#documentation": "The set of UsageAllocations
to submit.
The sum of all UsageAllocation
quantities must equal the\n UsageQuantity
of the MeterUsage
request, and each\n UsageAllocation
must have a unique set of tags (include no\n tags).
The set of UsageAllocations
to submit.
The sum of all UsageAllocation
quantities must equal the\n UsageQuantity
of the MeterUsage
request, and each\n UsageAllocation
must have a unique set of tags (include no\n tags).
Metering record id.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.marketplacemetering#NonEmptyString": { @@ -1467,7 +1490,7 @@ } ], "traits": { - "smithy.api#documentation": "Paid container software products sold through AWS Marketplace must integrate with the\n AWS Marketplace Metering Service and call the RegisterUsage
operation for\n software entitlement and metering. Free and BYOL products for Amazon ECS or Amazon EKS\n aren't required to call RegisterUsage
, but you may choose to do so if you\n would like to receive usage data in your seller reports. The sections below explain the\n behavior of RegisterUsage
. RegisterUsage
performs two primary\n functions: metering and entitlement.
\n Entitlement: RegisterUsage
allows you to\n verify that the customer running your paid software is subscribed to your\n product on AWS Marketplace, enabling you to guard against unauthorized use. Your\n container image that integrates with RegisterUsage
is only required\n to guard against unauthorized use at container startup, as such a\n CustomerNotSubscribedException
or\n PlatformNotSupportedException
will only be thrown on the\n initial call to RegisterUsage
. Subsequent calls from the same\n Amazon ECS task instance (e.g. task-id) or Amazon EKS pod will not throw a\n CustomerNotSubscribedException
, even if the customer\n unsubscribes while the Amazon ECS task or Amazon EKS pod is still\n running.
\n Metering: RegisterUsage
meters software use\n per ECS task, per hour, or per pod for Amazon EKS with usage prorated to the\n second. A minimum of 1 minute of usage applies to tasks that are short lived.\n For example, if a customer has a 10 node Amazon ECS or Amazon EKS cluster and a\n service configured as a Daemon Set, then Amazon ECS or Amazon EKS will launch a\n task on all 10 cluster nodes and the customer will be charged: (10 *\n hourly_rate). Metering for software use is automatically handled by the AWS\n Marketplace Metering Control Plane -- your software is not required to perform\n any metering specific actions, other than call RegisterUsage
once\n for metering of software use to commence. The AWS Marketplace Metering Control\n Plane will also continue to bill customers for running ECS tasks and Amazon EKS\n pods, regardless of the customers subscription state, removing the need for your\n software to perform entitlement checks at runtime.
Paid container software products sold through AWS Marketplace must integrate with the\n AWS Marketplace Metering Service and call the RegisterUsage
operation for\n software entitlement and metering. Free and BYOL products for Amazon ECS or Amazon EKS\n aren't required to call RegisterUsage
, but you may choose to do so if you\n would like to receive usage data in your seller reports. The sections below explain the\n behavior of RegisterUsage
. RegisterUsage
performs two primary\n functions: metering and entitlement.
\n Entitlement: RegisterUsage
allows you to\n verify that the customer running your paid software is subscribed to your\n product on AWS Marketplace, enabling you to guard against unauthorized use. Your\n container image that integrates with RegisterUsage
is only required\n to guard against unauthorized use at container startup, as such a\n CustomerNotSubscribedException
or\n PlatformNotSupportedException
will only be thrown on the\n initial call to RegisterUsage
. Subsequent calls from the same\n Amazon ECS task instance (e.g. task-id) or Amazon EKS pod will not throw a\n CustomerNotSubscribedException
, even if the customer\n unsubscribes while the Amazon ECS task or Amazon EKS pod is still\n running.
\n Metering: RegisterUsage
meters software use\n per ECS task, per hour, or per pod for Amazon EKS with usage prorated to the\n second. A minimum of 1 minute of usage applies to tasks that are short lived.\n For example, if a customer has a 10 node Amazon ECS or Amazon EKS cluster and a\n service configured as a Daemon Set, then Amazon ECS or Amazon EKS will launch a\n task on all 10 cluster nodes and the customer will be charged: (10 *\n hourly_rate). Metering for software use is automatically handled by the AWS\n Marketplace Metering Control Plane -- your software is not required to perform\n any metering specific actions, other than call RegisterUsage
once\n for metering of software use to commence. The AWS Marketplace Metering Control\n Plane will also continue to bill customers for running ECS tasks and Amazon EKS\n pods, regardless of the customers subscription state, removing the need for your\n software to perform entitlement checks at runtime.
(Optional) To scope down the registration to a specific running software instance and\n guard against replay attacks.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.marketplacemetering#RegisterUsageResult": { @@ -1510,6 +1536,9 @@ "smithy.api#documentation": "JWT Token
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.marketplacemetering#ResolveCustomer": { @@ -1538,7 +1567,7 @@ } ], "traits": { - "smithy.api#documentation": "\n ResolveCustomer
is called by a SaaS application during the registration\n process. When a buyer visits your website during the registration process, the buyer\n submits a registration token through their browser. The registration token is resolved\n through this API to obtain a CustomerIdentifier
\n along with the\n CustomerAWSAccountId
and\n ProductCode
.
The API needs to called from the seller account id used to publish the SaaS\n application to successfully resolve the token.
\nFor an example of using ResolveCustomer
, see ResolveCustomer code example in the AWS Marketplace Seller\n Guide.
\n ResolveCustomer
is called by a SaaS application during the registration\n process. When a buyer visits your website during the registration process, the buyer\n submits a registration token through their browser. The registration token is resolved\n through this API to obtain a CustomerIdentifier
\n along with the\n CustomerAWSAccountId
and\n ProductCode
.
The API needs to called from the seller account id used to publish the SaaS\n application to successfully resolve the token.
\nFor an example of using ResolveCustomer
, see ResolveCustomer code example in the AWS Marketplace Seller\n Guide.
Contains input to the ResolveCustomer
operation.
Contains input to the ResolveCustomer
operation.
The result of the ResolveCustomer
operation. Contains the\n CustomerIdentifier
\n \n along with the CustomerAWSAccountId
and\n ProductCode
.
The result of the ResolveCustomer
operation. Contains the\n CustomerIdentifier
\n \n along with the CustomerAWSAccountId
and\n ProductCode
.
The timestamp
value passed in the UsageRecord
is out of\n allowed range.
For BatchMeterUsage
, if any of the records are outside of the allowed\n range, the entire batch is not processed. You must remove invalid records and try\n again.
The timestamp
value passed in the UsageRecord
is out of\n allowed range.
For BatchMeterUsage
, if any of the records are outside of the allowed\n range, the entire batch is not processed. You must remove invalid records and try\n again.
Usage allocations allow you to split usage into buckets by tags.
\nEach UsageAllocation
indicates the usage quantity for a specific set of\n tags.
Usage allocations allow you to split usage into buckets by tags.
\nEach UsageAllocation
indicates the usage quantity for a specific set of\n tags.
Timestamp, in UTC, for which the usage is being reported.
\nYour application can meter usage for up to one hour in the past. Make sure the\n timestamp
value is not before the start of the software usage.
Timestamp, in UTC, for which the usage is being reported.
\nYour application can meter usage for up to one hour in the past. Make sure the\n timestamp
value is not before the start of the software usage.
A UsageRecord
indicates a quantity of usage for a given product,\n customer, dimension and time.
Multiple requests with the same UsageRecords
as input will be\n de-duplicated to prevent double charges.
A UsageRecord
indicates a quantity of usage for a given product,\n customer, dimension and time.
Multiple requests with the same UsageRecords
as input will be\n de-duplicated to prevent double charges.
The UsageRecordResult
\n Status
indicates the status of an individual UsageRecord
\n processed by BatchMeterUsage
.
\n Success- The UsageRecord
was accepted and\n honored by BatchMeterUsage
.
\n CustomerNotSubscribed- The CustomerIdentifier
\n specified is not able to use your product. The UsageRecord
was not\n honored. There are three causes for this result:
The customer identifier is invalid.
\nThe customer identifier provided in the metering record does not have\n an active agreement or subscription with this product. Future\n UsageRecords
for this customer will fail until the\n customer subscribes to your product.
The customer's AWS account was suspended.
\n\n DuplicateRecord- Indicates that the\n UsageRecord
was invalid and not honored. A previously metered\n UsageRecord
had the same customer, dimension, and time, but a\n different quantity.
The UsageRecordResult
\n Status
indicates the status of an individual UsageRecord
\n processed by BatchMeterUsage
.
\n Success- The UsageRecord
was accepted and\n honored by BatchMeterUsage
.
\n CustomerNotSubscribed- The CustomerIdentifier
\n specified is not able to use your product. The UsageRecord
was not\n honored. There are three causes for this result:
The customer identifier is invalid.
\nThe customer identifier provided in the metering record does not have\n an active agreement or subscription with this product. Future\n UsageRecords
for this customer will fail until the\n customer subscribes to your product.
The customer's AWS account was suspended.
\n\n DuplicateRecord- Indicates that the\n UsageRecord
was invalid and not honored. A previously metered\n UsageRecord
had the same customer, dimension, and time, but a\n different quantity.
The token that can be used in a request to view the next set of results. For example,\n you submit a ListItems
request that matches 2,000 items with\n MaxResults
set at 500. The service returns the first batch of results (up\n to 500) and a NextToken
value that can be used to fetch the next batch of\n results.
The storage class where the object was persisted. The class should be\n “Temporal”.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediastoredata#RangePattern": { @@ -1414,18 +1460,20 @@ "min": 64, "max": 64 }, - "smithy.api#pattern": "[0-9A-Fa-f]{64}" + "smithy.api#pattern": "^[0-9A-Fa-f]{64}$" } }, "com.amazonaws.mediastoredata#StorageClass": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "TEMPORAL", - "name": "TEMPORAL" + "type": "enum", + "members": { + "TEMPORAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TEMPORAL" } - ], + } + }, + "traits": { "smithy.api#length": { "min": 1, "max": 16 @@ -1439,18 +1487,22 @@ "type": "timestamp" }, "com.amazonaws.mediastoredata#UploadAvailability": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "STANDARD", - "name": "STANDARD" - }, - { - "value": "STREAMING", - "name": "STREAMING" + "type": "enum", + "members": { + "STANDARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STANDARD" } - ], + }, + "STREAMING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STREAMING" + } + } + }, + "traits": { "smithy.api#length": { "min": 1, "max": 16 diff --git a/codegen/sdk-codegen/aws-models/mediastore.json b/codegen/sdk-codegen/aws-models/mediastore.json index bb51e10009c..1f4035bc309 100644 --- a/codegen/sdk-codegen/aws-models/mediastore.json +++ b/codegen/sdk-codegen/aws-models/mediastore.json @@ -116,7 +116,7 @@ "min": 1, "max": 1024 }, - "smithy.api#pattern": "arn:aws:mediastore:[a-z]+-[a-z]+-\\d:\\d{12}:container/[\\w-]{1,255}" + "smithy.api#pattern": "^arn:aws:mediastore:[a-z]+-[a-z]+-\\d:\\d{12}:container/[\\w-]{1,255}$" } }, "com.amazonaws.mediastore#ContainerAccessLoggingEnabled": { @@ -135,18 +135,20 @@ } }, "com.amazonaws.mediastore#ContainerLevelMetrics": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" } - ] + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + } } }, "com.amazonaws.mediastore#ContainerList": { @@ -171,7 +173,7 @@ "min": 1, "max": 255 }, - "smithy.api#pattern": "[\\w-]+" + "smithy.api#pattern": "^[\\w-]+$" } }, "com.amazonaws.mediastore#ContainerNotFoundException": { @@ -193,26 +195,32 @@ "min": 1, "max": 8192 }, - "smithy.api#pattern": "[\\x00-\\x7F]+" + "smithy.api#pattern": "^[\\x00-\\x7F]+$" } }, "com.amazonaws.mediastore#ContainerStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "DELETING", - "name": "DELETING" + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" } - ], + }, + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + } + }, + "traits": { "smithy.api#length": { "min": 1, "max": 16 @@ -324,6 +332,9 @@ "smithy.api#documentation": "An array of key:value pairs that you define. These values can be anything that you want. Typically, the tag key represents a category (such as\n \"environment\") and the tag value represents a specific value within that category (such as \"test,\" \"development,\" or \"production\"). You can add up to 50 \n tags to each container. For more information about tagging, including naming and usage conventions, see Tagging Resources in MediaStore.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediastore#CreateContainerOutput": { @@ -336,6 +347,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediastore#DeleteContainer": { @@ -371,11 +385,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediastore#DeleteContainerOutput": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mediastore#DeleteContainerPolicy": { "type": "operation", @@ -413,11 +433,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediastore#DeleteContainerPolicyOutput": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mediastore#DeleteCorsPolicy": { "type": "operation", @@ -455,11 +481,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediastore#DeleteCorsPolicyOutput": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mediastore#DeleteLifecyclePolicy": { "type": "operation", @@ -497,11 +529,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediastore#DeleteLifecyclePolicyOutput": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mediastore#DeleteMetricPolicy": { "type": "operation", @@ -539,11 +577,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediastore#DeleteMetricPolicyOutput": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mediastore#DescribeContainer": { "type": "operation", @@ -574,6 +618,9 @@ "smithy.api#documentation": "The name of the container to query.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediastore#DescribeContainerOutput": { @@ -585,6 +632,9 @@ "smithy.api#documentation": "The name of the queried container.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediastore#Endpoint": { @@ -594,7 +644,7 @@ "min": 1, "max": 255 }, - "smithy.api#pattern": "[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+" + "smithy.api#pattern": "^[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+$" } }, "com.amazonaws.mediastore#ErrorMessage": { @@ -604,7 +654,7 @@ "min": 1, "max": 255 }, - "smithy.api#pattern": "[ \\w:\\.\\?-]+" + "smithy.api#pattern": "^[ \\w:\\.\\?-]+$" } }, "com.amazonaws.mediastore#ExposeHeaders": { @@ -655,6 +705,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediastore#GetContainerPolicyOutput": { @@ -667,6 +720,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediastore#GetCorsPolicy": { @@ -705,6 +761,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediastore#GetCorsPolicyOutput": { @@ -717,6 +776,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediastore#GetLifecyclePolicy": { @@ -755,6 +817,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediastore#GetLifecyclePolicyOutput": { @@ -767,6 +832,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediastore#GetMetricPolicy": { @@ -805,6 +873,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediastore#GetMetricPolicyOutput": { @@ -817,6 +888,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediastore#Header": { @@ -826,7 +900,7 @@ "min": 1, "max": 8192 }, - "smithy.api#pattern": "[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+" + "smithy.api#pattern": "^[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+$" } }, "com.amazonaws.mediastore#InternalServerError": { @@ -848,7 +922,7 @@ "min": 0, "max": 8192 }, - "smithy.api#pattern": "[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+" + "smithy.api#pattern": "^[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+$" } }, "com.amazonaws.mediastore#LimitExceededException": { @@ -900,6 +974,9 @@ "smithy.api#documentation": "Enter the maximum number of containers in the response. Use from 1 to 255 characters.\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediastore#ListContainersOutput": { @@ -918,6 +995,9 @@ "smithy.api#documentation": "\n NextToken
is the token to use in the next call to ListContainers
.\n This token is returned only if you included the MaxResults
tag in the original\n command, and only if there are still containers to return.
An array of key:value pairs that are assigned to the container.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediastore#MaxAgeSeconds": { @@ -1121,52 +1207,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", @@ -1174,13 +1264,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -1190,224 +1289,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://mediastore-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://mediastore-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": [ { "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": [], - "endpoint": { - "url": "https://mediastore-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://mediastore-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://mediastore.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://mediastore.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://mediastore.{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://mediastore.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -1422,8 +1472,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1435,8 +1485,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1448,8 +1498,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1461,8 +1511,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1474,8 +1524,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1487,8 +1537,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1500,8 +1550,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1513,8 +1563,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1526,8 +1576,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1539,8 +1589,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1552,8 +1602,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1565,8 +1615,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1578,8 +1628,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1591,8 +1641,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1604,8 +1654,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1617,8 +1667,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1630,8 +1680,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1643,8 +1693,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1656,8 +1706,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1669,8 +1719,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -1682,8 +1743,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 } }, { @@ -1695,8 +1767,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -1708,8 +1791,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 } }, { @@ -1721,8 +1815,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1734,8 +1828,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1747,8 +1841,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1759,8 +1853,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1771,10 +1865,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" @@ -1782,26 +1882,32 @@ } }, "com.amazonaws.mediastore#MethodName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PUT", - "name": "PUT" - }, - { - "value": "GET", - "name": "GET" - }, - { - "value": "DELETE", - "name": "DELETE" - }, - { - "value": "HEAD", - "name": "HEAD" + "type": "enum", + "members": { + "PUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PUT" + } + }, + "GET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GET" } - ] + }, + "DELETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETE" + } + }, + "HEAD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HEAD" + } + } } }, "com.amazonaws.mediastore#MetricPolicy": { @@ -1866,7 +1972,7 @@ "min": 1, "max": 900 }, - "smithy.api#pattern": "/?(?:[A-Za-z0-9_=:\\.\\-\\~\\*]+/){0,10}(?:[A-Za-z0-9_=:\\.\\-\\~\\*]+)?/?" + "smithy.api#pattern": "^/?(?:[A-Za-z0-9_=:\\.\\-\\~\\*]+/){0,10}(?:[A-Za-z0-9_=:\\.\\-\\~\\*]+)?/?$" } }, "com.amazonaws.mediastore#ObjectGroupName": { @@ -1876,7 +1982,7 @@ "min": 1, "max": 30 }, - "smithy.api#pattern": "[a-zA-Z0-9_]+" + "smithy.api#pattern": "^[a-zA-Z0-9_]+$" } }, "com.amazonaws.mediastore#Origin": { @@ -1886,7 +1992,7 @@ "min": 1, "max": 2048 }, - "smithy.api#pattern": "[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+" + "smithy.api#pattern": "^[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+$" } }, "com.amazonaws.mediastore#PaginationToken": { @@ -1896,7 +2002,7 @@ "min": 1, "max": 1024 }, - "smithy.api#pattern": "[0-9A-Za-z=/+]+" + "smithy.api#pattern": "^[0-9A-Za-z=/+]+$" } }, "com.amazonaws.mediastore#PolicyNotFoundException": { @@ -1951,11 +2057,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediastore#PutContainerPolicyOutput": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mediastore#PutCorsPolicy": { "type": "operation", @@ -1997,11 +2109,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediastore#PutCorsPolicyOutput": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mediastore#PutLifecyclePolicy": { "type": "operation", @@ -2043,11 +2161,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediastore#PutLifecyclePolicyOutput": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mediastore#PutMetricPolicy": { "type": "operation", @@ -2089,11 +2213,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediastore#PutMetricPolicyOutput": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mediastore#StartAccessLogging": { "type": "operation", @@ -2128,11 +2258,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediastore#StartAccessLoggingOutput": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mediastore#StopAccessLogging": { "type": "operation", @@ -2167,11 +2303,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediastore#StopAccessLoggingOutput": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mediastore#Tag": { "type": "structure", @@ -2201,7 +2343,7 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": "[\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*" + "smithy.api#pattern": "^[\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*$" } }, "com.amazonaws.mediastore#TagKeyList": { @@ -2262,11 +2404,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediastore#TagResourceOutput": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mediastore#TagValue": { "type": "string", @@ -2275,7 +2423,7 @@ "min": 0, "max": 256 }, - "smithy.api#pattern": "[\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*" + "smithy.api#pattern": "^[\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*$" } }, "com.amazonaws.mediastore#TimeStamp": { @@ -2321,11 +2469,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediastore#UntagResourceOutput": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } } } } diff --git a/codegen/sdk-codegen/aws-models/medical-imaging.json b/codegen/sdk-codegen/aws-models/medical-imaging.json index e888dfcaccf..66215e6b763 100644 --- a/codegen/sdk-codegen/aws-models/medical-imaging.json +++ b/codegen/sdk-codegen/aws-models/medical-imaging.json @@ -435,53 +435,53 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://medical-imaging-fips.us-gov-east-1.api.aws" + "url": "https://medical-imaging-fips.us-east-1.api.aws" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-east-1", "UseFIPS": true, "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://medical-imaging-fips.us-gov-east-1.amazonaws.com" + "url": "https://medical-imaging-fips.us-east-1.amazonaws.com" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://medical-imaging.us-gov-east-1.api.aws" + "url": "https://medical-imaging.us-east-1.api.aws" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://medical-imaging.us-gov-east-1.amazonaws.com" + "url": "https://medical-imaging.us-east-1.amazonaws.com" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false } @@ -539,101 +539,101 @@ } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://medical-imaging-fips.us-gov-east-1.api.aws" + } }, "params": { - "Region": "us-iso-east-1", + "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://medical-imaging-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://medical-imaging-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "Region": "us-iso-east-1", + "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://medical-imaging.us-gov-east-1.api.aws" + } }, "params": { - "Region": "us-iso-east-1", + "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://medical-imaging.us-iso-east-1.c2s.ic.gov" + "url": "https://medical-imaging.us-gov-east-1.amazonaws.com" } }, "params": { - "Region": "us-iso-east-1", + "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://medical-imaging-fips.us-east-1.api.aws" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "Region": "us-east-1", + "Region": "us-iso-east-1", "UseFIPS": true, "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://medical-imaging-fips.us-east-1.amazonaws.com" + "url": "https://medical-imaging-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "Region": "us-east-1", + "Region": "us-iso-east-1", "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://medical-imaging.us-east-1.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "Region": "us-east-1", + "Region": "us-iso-east-1", "UseFIPS": false, "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://medical-imaging.us-east-1.amazonaws.com" + "url": "https://medical-imaging.us-iso-east-1.c2s.ic.gov" } }, "params": { - "Region": "us-east-1", + "Region": "us-iso-east-1", "UseFIPS": false, "UseDualStack": false } @@ -687,7 +687,7 @@ } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" @@ -700,6 +700,19 @@ "Endpoint": "https://example.com" } }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, { "documentation": "For custom endpoint with fips enabled and dualstack disabled", "expect": { @@ -723,6 +736,12 @@ "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/codegen/sdk-codegen/aws-models/memorydb.json b/codegen/sdk-codegen/aws-models/memorydb.json index 8c7a63a6bc4..97b84e04821 100644 --- a/codegen/sdk-codegen/aws-models/memorydb.json +++ b/codegen/sdk-codegen/aws-models/memorydb.json @@ -427,52 +427,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", @@ -480,13 +484,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -496,251 +509,202 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://memory-db-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://memory-db-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": [ { "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": [], - "endpoint": { - "url": "https://memory-db-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://memory-db-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://memory-db.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "fips" - ] - } - ], - "endpoint": { - "url": "https://memory-db-fips.us-west-1.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "memorydb", - "signingRegion": "us-west-1" - } - ] - }, - "headers": {} - }, - "type": "endpoint" - }, { "conditions": [], "endpoint": { - "url": "https://memory-db.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://memory-db.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "fips" + ] + } + ], + "endpoint": { + "url": "https://memory-db-fips.us-west-1.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "memorydb", + "signingRegion": "us-west-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://memory-db.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/mgn.json b/codegen/sdk-codegen/aws-models/mgn.json index 842ffe57e82..80c6e633ae0 100644 --- a/codegen/sdk-codegen/aws-models/mgn.json +++ b/codegen/sdk-codegen/aws-models/mgn.json @@ -467,52 +467,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", @@ -520,13 +524,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -536,224 +549,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://mgn-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://mgn-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": [ { "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": [], - "endpoint": { - "url": "https://mgn-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://mgn-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://mgn.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://mgn.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://mgn.{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://mgn.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/migration-hub-refactor-spaces.json b/codegen/sdk-codegen/aws-models/migration-hub-refactor-spaces.json index 28ffe997fa6..3d151cb2996 100644 --- a/codegen/sdk-codegen/aws-models/migration-hub-refactor-spaces.json +++ b/codegen/sdk-codegen/aws-models/migration-hub-refactor-spaces.json @@ -3616,52 +3616,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", @@ -3669,13 +3673,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -3685,224 +3698,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://refactor-spaces-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://refactor-spaces-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": [ { "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": [], - "endpoint": { - "url": "https://refactor-spaces-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://refactor-spaces-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://refactor-spaces.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://refactor-spaces.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://refactor-spaces.{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://refactor-spaces.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/migration-hub.json b/codegen/sdk-codegen/aws-models/migration-hub.json index a55702403dd..3d9f9a2bae4 100644 --- a/codegen/sdk-codegen/aws-models/migration-hub.json +++ b/codegen/sdk-codegen/aws-models/migration-hub.json @@ -91,6 +91,7 @@ "arnNamespace": "mgh", "cloudFormationName": "MigrationHub", "cloudTrailEventSource": "migrationhub.amazonaws.com", + "docId": "AWSMigrationHub-2017-05-31", "endpointPrefix": "mgh" }, "aws.auth#sigv4": { @@ -159,52 +160,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", @@ -212,13 +217,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -228,224 +242,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://mgh-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://mgh-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": [ { "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": [], - "endpoint": { - "url": "https://mgh-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://mgh-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://mgh.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://mgh.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://mgh.{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://mgh.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -460,8 +425,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -473,8 +438,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -486,8 +451,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -499,8 +464,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -512,8 +477,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -525,8 +490,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -538,8 +503,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -551,8 +516,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -564,8 +529,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -577,8 +542,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -590,8 +555,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -603,8 +568,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -616,8 +581,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -629,8 +594,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -642,8 +607,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -655,8 +620,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -668,8 +633,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -681,8 +646,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -694,8 +670,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 } }, { @@ -707,8 +694,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -720,8 +718,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 } }, { @@ -733,8 +742,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -746,8 +755,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -759,8 +768,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -771,8 +780,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -783,10 +792,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" @@ -866,22 +881,26 @@ } }, "com.amazonaws.migrationhub#ApplicationStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NOT_STARTED", - "name": "NOT_STARTED" - }, - { - "value": "IN_PROGRESS", - "name": "IN_PROGRESS" - }, - { - "value": "COMPLETED", - "name": "COMPLETED" + "type": "enum", + "members": { + "NOT_STARTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NOT_STARTED" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" } - ] + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" + } + } } }, "com.amazonaws.migrationhub#AssociateCreatedArtifact": { @@ -956,11 +975,17 @@ "smithy.api#documentation": "Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.migrationhub#AssociateCreatedArtifactResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.migrationhub#AssociateDiscoveredResource": { "type": "operation", @@ -1037,11 +1062,17 @@ "smithy.api#documentation": "Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.migrationhub#AssociateDiscoveredResourceResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.migrationhub#ConfigurationId": { "type": "string", @@ -1108,11 +1139,17 @@ "smithy.api#documentation": "Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.migrationhub#CreateProgressUpdateStreamResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.migrationhub#CreatedArtifact": { "type": "structure", @@ -1158,7 +1195,7 @@ "min": 1, "max": 1600 }, - "smithy.api#pattern": "arn:[a-z-]+:[a-z0-9-]+:(?:[a-z0-9-]+|):(?:[0-9]{12}|):.*" + "smithy.api#pattern": "^arn:[a-z-]+:[a-z0-9-]+:(?:[a-z0-9-]+|):(?:[0-9]{12}|):" } }, "com.amazonaws.migrationhub#DeleteProgressUpdateStream": { @@ -1219,11 +1256,17 @@ "smithy.api#documentation": "Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.migrationhub#DeleteProgressUpdateStreamResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.migrationhub#DescribeApplicationState": { "type": "operation", @@ -1273,6 +1316,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.migrationhub#DescribeApplicationStateResult": { @@ -1290,6 +1336,9 @@ "smithy.api#documentation": "The timestamp when the application status was last updated.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.migrationhub#DescribeMigrationTask": { @@ -1344,6 +1393,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.migrationhub#DescribeMigrationTaskResult": { @@ -1355,6 +1407,9 @@ "smithy.api#documentation": "Object encapsulating information about the migration task.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.migrationhub#DisassociateCreatedArtifact": { @@ -1429,11 +1484,17 @@ "smithy.api#documentation": "Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.migrationhub#DisassociateCreatedArtifactResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.migrationhub#DisassociateDiscoveredResource": { "type": "operation", @@ -1507,11 +1568,17 @@ "smithy.api#documentation": "Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.migrationhub#DisassociateDiscoveredResourceResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.migrationhub#DiscoveredResource": { "type": "structure", @@ -1648,11 +1715,17 @@ "smithy.api#documentation": "Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.migrationhub#ImportMigrationTaskResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.migrationhub#InternalServerError": { "type": "structure", @@ -1749,6 +1822,9 @@ "smithy.api#documentation": "Maximum number of results to be returned per page.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.migrationhub#ListApplicationStatesResult": { @@ -1766,6 +1842,9 @@ "smithy.api#documentation": "If a NextToken
was returned by a previous call, there are more results\n available. To retrieve the next page of results, make the call again using the returned\n token in NextToken
.
Maximum number of results to be returned per page.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.migrationhub#ListCreatedArtifactsResult": { @@ -1855,6 +1937,9 @@ "smithy.api#documentation": "List of created artifacts up to the maximum number of results specified in the\n request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.migrationhub#ListDiscoveredResources": { @@ -1927,6 +2012,9 @@ "smithy.api#documentation": "The maximum number of results returned per page.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.migrationhub#ListDiscoveredResourcesResult": { @@ -1944,6 +2032,9 @@ "smithy.api#documentation": "Returned list of discovered resources associated with the given MigrationTask.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.migrationhub#ListMigrationTasks": { @@ -2011,6 +2102,9 @@ "smithy.api#documentation": "Filter migration tasks by discovered resource name.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.migrationhub#ListMigrationTasksResult": { @@ -2028,6 +2122,9 @@ "smithy.api#documentation": "Lists the migration task's summary which includes: MigrationTaskName
,\n ProgressPercent
, ProgressUpdateStream
, Status
,\n and the UpdateDateTime
for each task.
Filter to limit the maximum number of results to list per page.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.migrationhub#ListProgressUpdateStreamsResult": { @@ -2100,6 +2200,9 @@ "smithy.api#documentation": "If there are more streams created than the max result, return the next token to be\n passed to the next call as a bookmark of where to start from.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.migrationhub#MaxResults": { @@ -2174,7 +2277,7 @@ "min": 1, "max": 256 }, - "smithy.api#pattern": "[^:|]+" + "smithy.api#pattern": "^[^:|]+$" } }, "com.amazonaws.migrationhub#MigrationTaskSummary": { @@ -2310,11 +2413,17 @@ "smithy.api#documentation": "Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.migrationhub#NotifyApplicationStateResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.migrationhub#NotifyMigrationTaskState": { "type": "operation", @@ -2403,11 +2512,17 @@ "smithy.api#documentation": "Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.migrationhub#NotifyMigrationTaskStateResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.migrationhub#PolicyErrorException": { "type": "structure", @@ -2437,7 +2552,7 @@ "min": 1, "max": 50 }, - "smithy.api#pattern": "[^/:|\\000-\\037]+" + "smithy.api#pattern": "^[^/:|\\000-\\037]+$" } }, "com.amazonaws.migrationhub#ProgressUpdateStreamSummary": { @@ -2532,11 +2647,17 @@ "smithy.api#documentation": "Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.migrationhub#PutResourceAttributesResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.migrationhub#ResourceAttribute": { "type": "structure", @@ -2573,50 +2694,68 @@ } }, "com.amazonaws.migrationhub#ResourceAttributeType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IPV4_ADDRESS", - "name": "IPV4_ADDRESS" - }, - { - "value": "IPV6_ADDRESS", - "name": "IPV6_ADDRESS" - }, - { - "value": "MAC_ADDRESS", - "name": "MAC_ADDRESS" - }, - { - "value": "FQDN", - "name": "FQDN" - }, - { - "value": "VM_MANAGER_ID", - "name": "VM_MANAGER_ID" - }, - { - "value": "VM_MANAGED_OBJECT_REFERENCE", - "name": "VM_MANAGED_OBJECT_REFERENCE" - }, - { - "value": "VM_NAME", - "name": "VM_NAME" - }, - { - "value": "VM_PATH", - "name": "VM_PATH" - }, - { - "value": "BIOS_ID", - "name": "BIOS_ID" - }, - { - "value": "MOTHERBOARD_SERIAL_NUMBER", - "name": "MOTHERBOARD_SERIAL_NUMBER" + "type": "enum", + "members": { + "IPV4_ADDRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IPV4_ADDRESS" + } + }, + "IPV6_ADDRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IPV6_ADDRESS" + } + }, + "MAC_ADDRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MAC_ADDRESS" + } + }, + "FQDN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FQDN" } - ] + }, + "VM_MANAGER_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VM_MANAGER_ID" + } + }, + "VM_MANAGED_OBJECT_REFERENCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VM_MANAGED_OBJECT_REFERENCE" + } + }, + "VM_NAME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VM_NAME" + } + }, + "VM_PATH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VM_PATH" + } + }, + "BIOS_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BIOS_ID" + } + }, + "MOTHERBOARD_SERIAL_NUMBER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MOTHERBOARD_SERIAL_NUMBER" + } + } } }, "com.amazonaws.migrationhub#ResourceAttributeValue": { @@ -2670,26 +2809,32 @@ } }, "com.amazonaws.migrationhub#Status": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NOT_STARTED", - "name": "NOT_STARTED" - }, - { - "value": "IN_PROGRESS", - "name": "IN_PROGRESS" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "COMPLETED", - "name": "COMPLETED" + "type": "enum", + "members": { + "NOT_STARTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NOT_STARTED" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" } - ] + } } }, "com.amazonaws.migrationhub#StatusDetail": { diff --git a/codegen/sdk-codegen/aws-models/migrationhub-config.json b/codegen/sdk-codegen/aws-models/migrationhub-config.json index f821b4aa9b9..aa775111ef0 100644 --- a/codegen/sdk-codegen/aws-models/migrationhub-config.json +++ b/codegen/sdk-codegen/aws-models/migrationhub-config.json @@ -117,52 +117,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", @@ -170,13 +174,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -186,224 +199,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://migrationhub-config-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://migrationhub-config-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": [ { "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": [], - "endpoint": { - "url": "https://migrationhub-config-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://migrationhub-config-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://migrationhub-config.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://migrationhub-config.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://migrationhub-config.{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://migrationhub-config.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -418,8 +382,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -431,8 +395,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -444,8 +408,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -457,8 +421,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -470,8 +434,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -483,8 +447,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -496,8 +460,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -509,8 +473,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -522,8 +486,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -535,8 +499,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -548,8 +512,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -561,8 +525,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -574,8 +549,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 } }, { @@ -587,8 +573,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -600,8 +597,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 } }, { @@ -613,8 +621,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -626,8 +634,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -639,8 +647,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -651,8 +659,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -663,10 +671,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" @@ -751,6 +765,9 @@ "smithy.api#documentation": "Optional Boolean flag to indicate whether any effect should take place. It tests whether\n the caller has permission to make the call.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.migrationhubconfig#CreateHomeRegionControlResult": { @@ -762,6 +779,9 @@ "smithy.api#documentation": "This object is the HomeRegionControl
object that's returned by a successful\n call to CreateHomeRegionControl
.
If a NextToken
was returned by a previous call, more results are available.\n To retrieve the next page of results, make the call again using the returned token in\n NextToken
.
If a NextToken
was returned by a previous call, more results are available.\n To retrieve the next page of results, make the call again using the returned token in\n NextToken
.
The name of the home region of the calling account.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.migrationhubconfig#HomeRegion": { @@ -1055,14 +1087,14 @@ } }, "com.amazonaws.migrationhubconfig#TargetType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACCOUNT", - "name": "ACCOUNT" + "type": "enum", + "members": { + "ACCOUNT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACCOUNT" } - ] + } } }, "com.amazonaws.migrationhubconfig#ThrottlingException": { diff --git a/codegen/sdk-codegen/aws-models/migrationhuborchestrator.json b/codegen/sdk-codegen/aws-models/migrationhuborchestrator.json index 9acf80a8168..adfc31af45b 100644 --- a/codegen/sdk-codegen/aws-models/migrationhuborchestrator.json +++ b/codegen/sdk-codegen/aws-models/migrationhuborchestrator.json @@ -436,55 +436,55 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://migrationhub-orchestrator-fips.us-gov-east-1.api.aws" + "url": "https://migrationhub-orchestrator-fips.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://migrationhub-orchestrator-fips.us-gov-east-1.amazonaws.com" + "url": "https://migrationhub-orchestrator-fips.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://migrationhub-orchestrator.us-gov-east-1.api.aws" + "url": "https://migrationhub-orchestrator.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://migrationhub-orchestrator.us-gov-east-1.amazonaws.com" + "url": "https://migrationhub-orchestrator.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -495,9 +495,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -508,9 +508,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -521,9 +521,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -534,109 +534,109 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://migrationhub-orchestrator-fips.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://migrationhub-orchestrator-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://migrationhub-orchestrator-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://migrationhub-orchestrator.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://migrationhub-orchestrator.us-iso-east-1.c2s.ic.gov" + "url": "https://migrationhub-orchestrator.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://migrationhub-orchestrator-fips.us-east-1.api.aws" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://migrationhub-orchestrator-fips.us-east-1.amazonaws.com" + "url": "https://migrationhub-orchestrator-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://migrationhub-orchestrator.us-east-1.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://migrationhub-orchestrator.us-east-1.amazonaws.com" + "url": "https://migrationhub-orchestrator.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -645,9 +645,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -658,9 +658,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -669,9 +669,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -682,22 +682,35 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { + "Region": "us-east-1", + "UseFIPS": false, "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { "UseFIPS": false, - "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -707,9 +720,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -719,11 +732,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" @@ -5171,4 +5190,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/migrationhubstrategy.json b/codegen/sdk-codegen/aws-models/migrationhubstrategy.json index 16d3cde21e6..6089f8a3c81 100644 --- a/codegen/sdk-codegen/aws-models/migrationhubstrategy.json +++ b/codegen/sdk-codegen/aws-models/migrationhubstrategy.json @@ -141,52 +141,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", @@ -194,13 +198,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -210,224 +223,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://migrationhub-strategy-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://migrationhub-strategy-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": [ { "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": [], - "endpoint": { - "url": "https://migrationhub-strategy-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://migrationhub-strategy-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://migrationhub-strategy.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://migrationhub-strategy.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://migrationhub-strategy.{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://migrationhub-strategy.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -667,6 +631,17 @@ "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 + } + }, { "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { @@ -680,6 +655,17 @@ "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 + } + }, { "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { @@ -693,6 +679,17 @@ "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 + } + }, { "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { @@ -706,6 +703,17 @@ "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 + } + }, { "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { @@ -769,6 +777,12 @@ "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/codegen/sdk-codegen/aws-models/mobile.json b/codegen/sdk-codegen/aws-models/mobile.json index 126900e5e31..86d89569714 100644 --- a/codegen/sdk-codegen/aws-models/mobile.json +++ b/codegen/sdk-codegen/aws-models/mobile.json @@ -138,52 +138,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", @@ -191,13 +195,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -207,224 +220,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://mobile-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://mobile-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": [ { "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": [], - "endpoint": { - "url": "https://mobile-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://mobile-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://mobile.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://mobile.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://mobile.{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://mobile.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -439,8 +403,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -452,8 +416,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -465,8 +429,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -478,8 +442,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -491,8 +455,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -504,8 +468,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -517,8 +481,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -530,8 +494,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -543,8 +507,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -556,8 +520,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -569,8 +533,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -582,8 +546,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -595,8 +570,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 } }, { @@ -608,8 +594,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -621,8 +618,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 } }, { @@ -634,8 +642,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -647,8 +655,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -660,8 +668,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -672,8 +680,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -684,10 +692,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" @@ -891,7 +905,8 @@ } }, "traits": { - "smithy.api#documentation": "\n Request structure used to request a project be created.\n
" + "smithy.api#documentation": "\n Request structure used to request a project be created.\n
", + "smithy.api#input": {} } }, "com.amazonaws.mobile#CreateProjectResult": { @@ -905,7 +920,8 @@ } }, "traits": { - "smithy.api#documentation": "\n Result structure used in response to a request to create a project.\n
" + "smithy.api#documentation": "\n Result structure used in response to a request to create a project.\n
", + "smithy.api#output": {} } }, "com.amazonaws.mobile#Date": { @@ -958,7 +974,8 @@ } }, "traits": { - "smithy.api#documentation": "\n Request structure used to request a project be deleted.\n
" + "smithy.api#documentation": "\n Request structure used to request a project be deleted.\n
", + "smithy.api#input": {} } }, "com.amazonaws.mobile#DeleteProjectResult": { @@ -978,7 +995,8 @@ } }, "traits": { - "smithy.api#documentation": "\n Result structure used in response to request to delete a project.\n
" + "smithy.api#documentation": "\n Result structure used in response to request to delete a project.\n
", + "smithy.api#output": {} } }, "com.amazonaws.mobile#DescribeBundle": { @@ -1031,7 +1049,8 @@ } }, "traits": { - "smithy.api#documentation": "\n Request structure to request the details of a specific bundle.\n
" + "smithy.api#documentation": "\n Request structure to request the details of a specific bundle.\n
", + "smithy.api#input": {} } }, "com.amazonaws.mobile#DescribeBundleResult": { @@ -1045,7 +1064,8 @@ } }, "traits": { - "smithy.api#documentation": "\n Result structure contains the details of the bundle.\n
" + "smithy.api#documentation": "\n Result structure contains the details of the bundle.\n
", + "smithy.api#output": {} } }, "com.amazonaws.mobile#DescribeProject": { @@ -1106,7 +1126,8 @@ } }, "traits": { - "smithy.api#documentation": "\n Request structure used to request details about a project.\n
" + "smithy.api#documentation": "\n Request structure used to request details about a project.\n
", + "smithy.api#input": {} } }, "com.amazonaws.mobile#DescribeProjectResult": { @@ -1117,7 +1138,8 @@ } }, "traits": { - "smithy.api#documentation": "\n Result structure used for requests of project details.\n
" + "smithy.api#documentation": "\n Result structure used for requests of project details.\n
", + "smithy.api#output": {} } }, "com.amazonaws.mobile#DownloadUrl": { @@ -1196,7 +1218,8 @@ } }, "traits": { - "smithy.api#documentation": "\n Request structure used to request generation of custom SDK and tool packages\n required to integrate mobile web or app clients with backed AWS resources.\n
" + "smithy.api#documentation": "\n Request structure used to request generation of custom SDK and tool packages\n required to integrate mobile web or app clients with backed AWS resources.\n
", + "smithy.api#input": {} } }, "com.amazonaws.mobile#ExportBundleResult": { @@ -1210,7 +1233,8 @@ } }, "traits": { - "smithy.api#documentation": "\n Result structure which contains link to download custom-generated SDK and\n tool packages used to integrate mobile web or app clients with backed\n AWS resources.\n
" + "smithy.api#documentation": "\n Result structure which contains link to download custom-generated SDK and\n tool packages used to integrate mobile web or app clients with backed\n AWS resources.\n
", + "smithy.api#output": {} } }, "com.amazonaws.mobile#ExportProject": { @@ -1263,7 +1287,8 @@ } }, "traits": { - "smithy.api#documentation": "\n Request structure used in requests to export project configuration details.\n
" + "smithy.api#documentation": "\n Request structure used in requests to export project configuration details.\n
", + "smithy.api#input": {} } }, "com.amazonaws.mobile#ExportProjectResult": { @@ -1289,7 +1314,8 @@ } }, "traits": { - "smithy.api#documentation": "\n Result structure used for requests to export project configuration details.\n
" + "smithy.api#documentation": "\n Result structure used for requests to export project configuration details.\n
", + "smithy.api#output": {} } }, "com.amazonaws.mobile#Feature": { @@ -1395,7 +1421,8 @@ } }, "traits": { - "smithy.api#documentation": "\n Request structure to request all available bundles.\n
" + "smithy.api#documentation": "\n Request structure to request all available bundles.\n
", + "smithy.api#input": {} } }, "com.amazonaws.mobile#ListBundlesResult": { @@ -1415,7 +1442,8 @@ } }, "traits": { - "smithy.api#documentation": "\n Result structure contains a list of all available bundles with details.\n
" + "smithy.api#documentation": "\n Result structure contains a list of all available bundles with details.\n
", + "smithy.api#output": {} } }, "com.amazonaws.mobile#ListProjects": { @@ -1477,7 +1505,8 @@ } }, "traits": { - "smithy.api#documentation": "\n Request structure used to request projects list in AWS Mobile Hub.\n
" + "smithy.api#documentation": "\n Request structure used to request projects list in AWS Mobile Hub.\n
", + "smithy.api#input": {} } }, "com.amazonaws.mobile#ListProjectsResult": { @@ -1491,7 +1520,8 @@ } }, "traits": { - "smithy.api#documentation": "\n Result structure used for requests to list projects in AWS Mobile Hub.\n
" + "smithy.api#documentation": "\n Result structure used for requests to list projects in AWS Mobile Hub.\n
", + "smithy.api#output": {} } }, "com.amazonaws.mobile#MaxResults": { @@ -1521,39 +1551,53 @@ } }, "com.amazonaws.mobile#Platform": { - "type": "string", - "traits": { - "smithy.api#documentation": "\n Developer desktop or target mobile app or website platform.\n
", - "smithy.api#enum": [ - { - "value": "OSX", - "name": "OSX" - }, - { - "value": "WINDOWS", - "name": "WINDOWS" - }, - { - "value": "LINUX", - "name": "LINUX" - }, - { - "value": "OBJC", - "name": "OBJC" - }, - { - "value": "SWIFT", - "name": "SWIFT" - }, - { - "value": "ANDROID", - "name": "ANDROID" - }, - { - "value": "JAVASCRIPT", - "name": "JAVASCRIPT" + "type": "enum", + "members": { + "OSX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OSX" + } + }, + "WINDOWS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WINDOWS" + } + }, + "LINUX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LINUX" + } + }, + "OBJC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OBJC" + } + }, + "SWIFT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SWIFT" + } + }, + "ANDROID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ANDROID" + } + }, + "JAVASCRIPT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JAVASCRIPT" } - ] + } + }, + "traits": { + "smithy.api#documentation": "\n Developer desktop or target mobile app or website platform.\n
" } }, "com.amazonaws.mobile#Platforms": { @@ -1625,23 +1669,29 @@ } }, "com.amazonaws.mobile#ProjectState": { - "type": "string", - "traits": { - "smithy.api#documentation": "\n Synchronization state for a project.\n
", - "smithy.api#enum": [ - { - "value": "NORMAL", - "name": "NORMAL" - }, - { - "value": "SYNCING", - "name": "SYNCING" - }, - { - "value": "IMPORTING", - "name": "IMPORTING" + "type": "enum", + "members": { + "NORMAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NORMAL" } - ] + }, + "SYNCING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SYNCING" + } + }, + "IMPORTING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IMPORTING" + } + } + }, + "traits": { + "smithy.api#documentation": "\n Synchronization state for a project.\n
" } }, "com.amazonaws.mobile#ProjectSummaries": { @@ -1849,7 +1899,8 @@ } }, "traits": { - "smithy.api#documentation": "\n Request structure used for requests to update project configuration.\n
" + "smithy.api#documentation": "\n Request structure used for requests to update project configuration.\n
", + "smithy.api#input": {} } }, "com.amazonaws.mobile#UpdateProjectResult": { @@ -1863,7 +1914,8 @@ } }, "traits": { - "smithy.api#documentation": "\n Result structure used for requests to updated project configuration.\n
" + "smithy.api#documentation": "\n Result structure used for requests to updated project configuration.\n
", + "smithy.api#output": {} } } } diff --git a/codegen/sdk-codegen/aws-models/mq.json b/codegen/sdk-codegen/aws-models/mq.json index f8845f59120..76f345eb797 100644 --- a/codegen/sdk-codegen/aws-models/mq.json +++ b/codegen/sdk-codegen/aws-models/mq.json @@ -4057,52 +4057,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", @@ -4110,13 +4114,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -4126,224 +4139,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://mq-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://mq-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": [ { "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": [], - "endpoint": { - "url": "https://mq-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://mq-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://mq.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://mq.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://mq.{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://mq.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/mturk.json b/codegen/sdk-codegen/aws-models/mturk.json index 85c12dae9fc..c424d11dcf9 100644 --- a/codegen/sdk-codegen/aws-models/mturk.json +++ b/codegen/sdk-codegen/aws-models/mturk.json @@ -65,11 +65,17 @@ "smithy.api#documentation": "\n The value of the Qualification. You can omit this value if you are using the\n presence or absence of the Qualification as the basis for a HIT requirement.\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#AcceptQualificationRequestResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mturk#ApproveAssignment": { "type": "operation", @@ -114,11 +120,17 @@ "smithy.api#documentation": "\n A flag indicating that an assignment should be approved even if it was previously rejected. Defaults to False
.\n
\n Specifies whether to send a notification email message to the Worker\n saying that the qualification was assigned to the Worker.\n Note: this is true by default.\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#AssociateQualificationWithWorkerResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mturk#BonusPayment": { "type": "structure", @@ -331,50 +353,68 @@ "type": "boolean" }, "com.amazonaws.mturk#Comparator": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "LessThan", - "name": "LessThan" - }, - { - "value": "LessThanOrEqualTo", - "name": "LessThanOrEqualTo" - }, - { - "value": "GreaterThan", - "name": "GreaterThan" - }, - { - "value": "GreaterThanOrEqualTo", - "name": "GreaterThanOrEqualTo" - }, - { - "value": "EqualTo", - "name": "EqualTo" - }, - { - "value": "NotEqualTo", - "name": "NotEqualTo" - }, - { - "value": "Exists", - "name": "Exists" - }, - { - "value": "DoesNotExist", - "name": "DoesNotExist" - }, - { - "value": "In", - "name": "In" - }, - { - "value": "NotIn", - "name": "NotIn" + "type": "enum", + "members": { + "LessThan": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LessThan" + } + }, + "LessThanOrEqualTo": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LessThanOrEqualTo" + } + }, + "GreaterThan": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GreaterThan" + } + }, + "GreaterThanOrEqualTo": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GreaterThanOrEqualTo" + } + }, + "EqualTo": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EqualTo" + } + }, + "NotEqualTo": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotEqualTo" + } + }, + "Exists": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Exists" + } + }, + "DoesNotExist": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DoesNotExist" + } + }, + "In": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "In" + } + }, + "NotIn": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotIn" } - ] + } } }, "com.amazonaws.mturk#CountryParameters": { @@ -429,11 +469,17 @@ "smithy.api#documentation": "\n A unique identifier for this request, which allows you to retry the call on error\n without extending the HIT multiple times.\n This is useful in cases such as network timeouts where it is unclear whether or not\n the call succeeded on the server. If the extend HIT already exists in the system\n from a previous call using the same UniqueRequestToken
,\n subsequent calls will return an error with a message containing the request ID.\n
\n If the HITLayoutId is provided, any placeholder values must be filled in with values\n using the HITLayoutParameter structure. For more information, see HITLayout.\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#CreateHITResponse": { @@ -570,6 +619,9 @@ "smithy.api#documentation": "Contains the newly created HIT data. For a description of\n the HIT data structure as it appears in responses, see the HIT Data\n Structure documentation.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mturk#CreateHITType": { @@ -642,6 +694,9 @@ "smithy.api#documentation": "\n Conditions that a Worker's Qualifications must meet in order\n to accept the HIT. A HIT can have between zero and ten\n Qualification requirements. All requirements must be met in\n order for a Worker to accept the HIT. Additionally, other\n actions can be restricted using the ActionsGuarded
\n field on each QualificationRequirement
structure.\n
The ID of the newly registered HIT type.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mturk#CreateHITWithHITType": { @@ -740,6 +798,9 @@ "smithy.api#documentation": "\n If the HITLayoutId is provided, any placeholder values must be filled in with values\n using the HITLayoutParameter structure. For more information, see HITLayout.\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#CreateHITWithHITTypeResponse": { @@ -751,6 +812,9 @@ "smithy.api#documentation": "Contains the newly created HIT data. For a description of\n the HIT data structure as it appears in responses, see the HIT Data\n Structure documentation.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mturk#CreateQualificationType": { @@ -839,6 +903,9 @@ "smithy.api#documentation": "The Qualification value to use for automatically granted\n Qualifications. This parameter is used only if the AutoGranted\n parameter is true.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#CreateQualificationTypeResponse": { @@ -850,6 +917,9 @@ "smithy.api#documentation": "The created Qualification type, returned as a\n QualificationType data structure.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mturk#CreateWorkerBlock": { @@ -889,11 +959,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#CreateWorkerBlockResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mturk#CurrencyAmount": { "type": "string", @@ -949,11 +1025,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#DeleteHITResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mturk#DeleteQualificationType": { "type": "operation", @@ -986,11 +1068,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#DeleteQualificationTypeResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mturk#DeleteWorkerBlock": { "type": "operation", @@ -1029,11 +1117,17 @@ "smithy.api#documentation": "A message that explains the reason for unblocking the Worker. The Worker does not see this message.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#DeleteWorkerBlockResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mturk#DisassociateQualificationFromWorker": { "type": "operation", @@ -1078,11 +1172,17 @@ "smithy.api#documentation": "A text message that explains why the Qualification was revoked. The user who had the Qualification sees this message.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#DisassociateQualificationFromWorkerResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mturk#EntityId": { "type": "string", @@ -1095,58 +1195,80 @@ } }, "com.amazonaws.mturk#EventType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AssignmentAccepted", - "name": "AssignmentAccepted" - }, - { - "value": "AssignmentAbandoned", - "name": "AssignmentAbandoned" - }, - { - "value": "AssignmentReturned", - "name": "AssignmentReturned" - }, - { - "value": "AssignmentSubmitted", - "name": "AssignmentSubmitted" - }, - { - "value": "AssignmentRejected", - "name": "AssignmentRejected" - }, - { - "value": "AssignmentApproved", - "name": "AssignmentApproved" - }, - { - "value": "HITCreated", - "name": "HITCreated" - }, - { - "value": "HITExpired", - "name": "HITExpired" - }, - { - "value": "HITReviewable", - "name": "HITReviewable" - }, - { - "value": "HITExtended", - "name": "HITExtended" - }, - { - "value": "HITDisposed", - "name": "HITDisposed" - }, - { - "value": "Ping", - "name": "Ping" + "type": "enum", + "members": { + "AssignmentAccepted": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AssignmentAccepted" + } + }, + "AssignmentAbandoned": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AssignmentAbandoned" + } + }, + "AssignmentReturned": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AssignmentReturned" + } + }, + "AssignmentSubmitted": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AssignmentSubmitted" + } + }, + "AssignmentRejected": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AssignmentRejected" + } + }, + "AssignmentApproved": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AssignmentApproved" + } + }, + "HITCreated": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HITCreated" + } + }, + "HITExpired": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HITExpired" + } + }, + "HITReviewable": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HITReviewable" + } + }, + "HITExtended": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HITExtended" + } + }, + "HITDisposed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HITDisposed" + } + }, + "Ping": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Ping" } - ] + } } }, "com.amazonaws.mturk#EventTypeList": { @@ -1181,7 +1303,10 @@ }, "com.amazonaws.mturk#GetAccountBalanceRequest": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.mturk#GetAccountBalanceResponse": { "type": "structure", @@ -1192,6 +1317,9 @@ "OnHoldBalance": { "target": "com.amazonaws.mturk#CurrencyAmount" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mturk#GetAssignment": { @@ -1225,6 +1353,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#GetAssignmentResponse": { @@ -1242,6 +1373,9 @@ "smithy.api#documentation": "The HIT associated with this assignment. The response\n includes one HIT element.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mturk#GetFileUploadURL": { @@ -1282,6 +1416,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#GetFileUploadURLResponse": { @@ -1293,6 +1430,9 @@ "smithy.api#documentation": "A temporary URL for the file that the Worker uploaded for\n the answer.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mturk#GetHIT": { @@ -1326,6 +1466,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#GetHITResponse": { @@ -1337,6 +1480,9 @@ "smithy.api#documentation": "Contains the requested HIT data.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mturk#GetQualificationScore": { @@ -1377,6 +1523,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#GetQualificationScoreResponse": { @@ -1388,6 +1537,9 @@ "smithy.api#documentation": "The Qualification data structure of the Qualification\n assigned to a user, including the Qualification type and the value\n (score).\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mturk#GetQualificationType": { @@ -1421,6 +1573,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#GetQualificationTypeResponse": { @@ -1432,6 +1587,9 @@ "smithy.api#documentation": "The returned Qualification Type
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mturk#HIT": { @@ -1566,22 +1724,26 @@ } }, "com.amazonaws.mturk#HITAccessActions": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Accept", - "name": "Accept" - }, - { - "value": "PreviewAndAccept", - "name": "PreviewAndAccept" - }, - { - "value": "DiscoverPreviewAndAccept", - "name": "DiscoverPreviewAndAccept" + "type": "enum", + "members": { + "Accept": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Accept" + } + }, + "PreviewAndAccept": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PreviewAndAccept" } - ] + }, + "DiscoverPreviewAndAccept": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DiscoverPreviewAndAccept" + } + } } }, "com.amazonaws.mturk#HITLayoutParameter": { @@ -1619,53 +1781,67 @@ } }, "com.amazonaws.mturk#HITReviewStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NotReviewed", - "name": "NotReviewed" - }, - { - "value": "MarkedForReview", - "name": "MarkedForReview" - }, - { - "value": "ReviewedAppropriate", - "name": "ReviewedAppropriate" - }, - { - "value": "ReviewedInappropriate", - "name": "ReviewedInappropriate" + "type": "enum", + "members": { + "NotReviewed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotReviewed" + } + }, + "MarkedForReview": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MarkedForReview" + } + }, + "ReviewedAppropriate": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ReviewedAppropriate" + } + }, + "ReviewedInappropriate": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ReviewedInappropriate" } - ] + } } }, "com.amazonaws.mturk#HITStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Assignable", - "name": "Assignable" - }, - { - "value": "Unassignable", - "name": "Unassignable" - }, - { - "value": "Reviewable", - "name": "Reviewable" - }, - { - "value": "Reviewing", - "name": "Reviewing" - }, - { - "value": "Disposed", - "name": "Disposed" + "type": "enum", + "members": { + "Assignable": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Assignable" + } + }, + "Unassignable": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Unassignable" + } + }, + "Reviewable": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Reviewable" + } + }, + "Reviewing": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Reviewing" + } + }, + "Disposed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Disposed" } - ] + } } }, "com.amazonaws.mturk#IdempotencyToken": { @@ -1737,6 +1913,9 @@ "smithy.api#documentation": "The status of the assignments to return: Submitted | Approved\n | Rejected
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#ListAssignmentsForHITResponse": { @@ -1757,6 +1936,9 @@ "smithy.api#documentation": "The collection of Assignment data structures returned by\n this call.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mturk#ListBonusPayments": { @@ -1809,6 +1991,9 @@ "MaxResults": { "target": "com.amazonaws.mturk#ResultSize" } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#ListBonusPaymentsResponse": { @@ -1829,6 +2014,9 @@ "smithy.api#documentation": "A successful request to the ListBonusPayments operation\n returns a list of BonusPayment objects.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mturk#ListHITs": { @@ -1905,6 +2093,9 @@ "smithy.api#documentation": "\n Limit the number of results returned.\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#ListHITsForQualificationTypeResponse": { @@ -1925,6 +2116,9 @@ "smithy.api#documentation": "The list of HIT elements returned by the query.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mturk#ListHITsRequest": { @@ -1939,6 +2133,9 @@ "MaxResults": { "target": "com.amazonaws.mturk#ResultSize" } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#ListHITsResponse": { @@ -1959,6 +2156,9 @@ "smithy.api#documentation": "The list of HIT elements returned by the query.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mturk#ListQualificationRequests": { @@ -2005,6 +2205,9 @@ "smithy.api#documentation": "The maximum number of results to return in a single call.\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#ListQualificationRequestsResponse": { @@ -2025,6 +2228,9 @@ "smithy.api#documentation": "The Qualification request. The response includes one\n QualificationRequest element\n for each Qualification request returned\n by the query.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mturk#ListQualificationTypes": { @@ -2084,6 +2290,9 @@ "smithy.api#documentation": "The maximum number of results to return in a single call.\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#ListQualificationTypesResponse": { @@ -2104,6 +2313,9 @@ "smithy.api#documentation": "The list of QualificationType elements returned by the\n query.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mturk#ListReviewPolicyResultsForHIT": { @@ -2172,6 +2384,9 @@ "smithy.api#documentation": "Limit the number of results returned.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#ListReviewPolicyResultsForHITResponse": { @@ -2210,6 +2425,9 @@ "NextToken": { "target": "com.amazonaws.mturk#PaginationToken" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mturk#ListReviewableHITs": { @@ -2265,6 +2483,9 @@ "smithy.api#documentation": "\n Limit the number of results returned.\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#ListReviewableHITsResponse": { @@ -2285,6 +2506,9 @@ "smithy.api#documentation": "The list of HIT elements returned by the query.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mturk#ListWorkerBlocks": { @@ -2325,6 +2549,9 @@ "MaxResults": { "target": "com.amazonaws.mturk#ResultSize" } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#ListWorkerBlocksResponse": { @@ -2345,6 +2572,9 @@ "smithy.api#documentation": "The list of WorkerBlocks, containing the collection of\n Worker IDs and reasons for blocking.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mturk#ListWorkersWithQualificationType": { @@ -2401,6 +2631,9 @@ "smithy.api#documentation": "\n Limit the number of results returned.\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#ListWorkersWithQualificationTypeResponse": { @@ -2421,6 +2654,9 @@ "smithy.api#documentation": "The list of Qualification elements returned by this call.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mturk#Locale": { @@ -2581,6 +2817,7 @@ "arnNamespace": "mturk-requester", "cloudFormationName": "MTurk", "cloudTrailEventSource": "mturk.amazonaws.com", + "docId": "mturk-requester-2017-01-17", "endpointPrefix": "mturk-requester" }, "aws.auth#sigv4": { @@ -2652,52 +2889,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", @@ -2705,13 +2946,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -2721,243 +2971,194 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://mturk-requester-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://mturk-requester-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": [ { "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": [], - "endpoint": { - "url": "https://mturk-requester-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://mturk-requester-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://mturk-requester.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "sandbox" - ] - } - ], - "endpoint": { - "url": "https://mturk-requester-sandbox.us-east-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, { "conditions": [], "endpoint": { - "url": "https://mturk-requester.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://mturk-requester.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "sandbox" + ] + } + ], + "endpoint": { + "url": "https://mturk-requester-sandbox.us-east-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://mturk-requester.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -2972,8 +3173,8 @@ }, "params": { "Region": "sandbox", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2985,8 +3186,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2998,8 +3199,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3011,8 +3212,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3024,8 +3225,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3037,8 +3238,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3050,8 +3251,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3063,8 +3264,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3076,8 +3277,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3089,8 +3290,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3102,8 +3303,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3115,8 +3316,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3128,8 +3329,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -3141,8 +3353,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 } }, { @@ -3154,8 +3377,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -3167,8 +3401,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 } }, { @@ -3180,8 +3425,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3193,8 +3438,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3206,8 +3451,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3218,8 +3463,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3230,10 +3475,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" @@ -3277,22 +3528,26 @@ } }, "com.amazonaws.mturk#NotificationTransport": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Email", - "name": "Email" - }, - { - "value": "SQS", - "name": "SQS" - }, - { - "value": "SNS", - "name": "SNS" + "type": "enum", + "members": { + "Email": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Email" } - ] + }, + "SQS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SQS" + } + }, + "SNS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SNS" + } + } } }, "com.amazonaws.mturk#NotifyWorkers": { @@ -3316,18 +3571,20 @@ } }, "com.amazonaws.mturk#NotifyWorkersFailureCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SoftFailure", - "name": "SoftFailure" - }, - { - "value": "HardFailure", - "name": "HardFailure" + "type": "enum", + "members": { + "SoftFailure": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SoftFailure" + } + }, + "HardFailure": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HardFailure" } - ] + } } }, "com.amazonaws.mturk#NotifyWorkersFailureStatus": { @@ -3386,6 +3643,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#NotifyWorkersResponse": { @@ -3397,6 +3657,9 @@ "smithy.api#documentation": "When MTurk sends notifications to the list of Workers, it\n returns back any failures it encounters in this list of\n NotifyWorkersFailureStatus objects.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mturk#PaginationToken": { @@ -3618,18 +3881,20 @@ } }, "com.amazonaws.mturk#QualificationStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Granted", - "name": "Granted" - }, - { - "value": "Revoked", - "name": "Revoked" + "type": "enum", + "members": { + "Granted": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Granted" + } + }, + "Revoked": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Revoked" } - ] + } } }, "com.amazonaws.mturk#QualificationType": { @@ -3725,18 +3990,20 @@ } }, "com.amazonaws.mturk#QualificationTypeStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Active", - "name": "Active" - }, - { - "value": "Inactive", - "name": "Inactive" + "type": "enum", + "members": { + "Active": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Active" + } + }, + "Inactive": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Inactive" } - ] + } } }, "com.amazonaws.mturk#RejectAssignment": { @@ -3777,11 +4044,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#RejectAssignmentResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mturk#RejectQualificationRequest": { "type": "operation", @@ -3819,11 +4092,17 @@ "smithy.api#documentation": "A text message explaining why the request was rejected, to be\n shown to the Worker who made the request.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#RejectQualificationRequestResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mturk#RequestError": { "type": "structure", @@ -3836,6 +4115,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "RequestError", + "httpResponseCode": 400 + }, "smithy.api#documentation": "Your request is invalid.
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -3913,26 +4196,32 @@ } }, "com.amazonaws.mturk#ReviewActionStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Intended", - "name": "Intended" - }, - { - "value": "Succeeded", - "name": "Succeeded" - }, - { - "value": "Failed", - "name": "Failed" - }, - { - "value": "Cancelled", - "name": "Cancelled" + "type": "enum", + "members": { + "Intended": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Intended" + } + }, + "Succeeded": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Succeeded" + } + }, + "Failed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" } - ] + }, + "Cancelled": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Cancelled" + } + } } }, "com.amazonaws.mturk#ReviewPolicy": { @@ -3957,18 +4246,20 @@ } }, "com.amazonaws.mturk#ReviewPolicyLevel": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Assignment", - "name": "Assignment" - }, - { - "value": "HIT", - "name": "HIT" + "type": "enum", + "members": { + "Assignment": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Assignment" + } + }, + "HIT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HIT" } - ] + } } }, "com.amazonaws.mturk#ReviewPolicyLevelList": { @@ -4048,18 +4339,20 @@ } }, "com.amazonaws.mturk#ReviewableHITStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Reviewable", - "name": "Reviewable" - }, - { - "value": "Reviewing", - "name": "Reviewing" + "type": "enum", + "members": { + "Reviewable": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Reviewable" } - ] + }, + "Reviewing": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Reviewing" + } + } } }, "com.amazonaws.mturk#SendBonus": { @@ -4119,11 +4412,17 @@ "smithy.api#documentation": "A unique identifier for this request, which allows you to\n retry the call on error without granting multiple bonuses. This is\n useful in cases such as network timeouts where it is unclear whether\n or not the call succeeded on the server. If the bonus already exists\n in the system from a previous call using the same UniqueRequestToken,\n subsequent calls will return an error with a message containing the\n request ID.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#SendBonusResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mturk#SendTestEventNotification": { "type": "operation", @@ -4162,11 +4461,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#SendTestEventNotificationResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mturk#ServiceFault": { "type": "structure", @@ -4179,6 +4484,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "ServiceFault", + "httpResponseCode": 500 + }, "smithy.api#documentation": "Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.
", "smithy.api#error": "server", "smithy.api#httpError": 500 @@ -4237,11 +4546,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#UpdateExpirationForHITResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mturk#UpdateHITReviewStatus": { "type": "operation", @@ -4280,11 +4595,17 @@ "smithy.api#documentation": "\n Specifies how to update the HIT status. Default is False
.\n
\n Setting this to false will only transition a HIT from Reviewable
to Reviewing
\n
\n Setting this to true will only transition a HIT from Reviewing
to Reviewable
\n
\n Specifies whether notifications are sent for HITs of this HIT type,\n according to the notification specification.\n You must specify either the Notification parameter or the Active parameter\n for the call to UpdateNotificationSettings to succeed.\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#UpdateNotificationSettingsResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mturk#UpdateQualificationType": { "type": "operation", @@ -4457,6 +4790,9 @@ "smithy.api#documentation": "The Qualification value to use for automatically granted Qualifications. This parameter is used only if the AutoGranted parameter is true.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mturk#UpdateQualificationTypeResponse": { @@ -4468,6 +4804,9 @@ "smithy.api#documentation": "Contains a QualificationType data structure.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mturk#WorkerBlock": { diff --git a/codegen/sdk-codegen/aws-models/mwaa.json b/codegen/sdk-codegen/aws-models/mwaa.json index 747e02550ad..52be1efe86f 100644 --- a/codegen/sdk-codegen/aws-models/mwaa.json +++ b/codegen/sdk-codegen/aws-models/mwaa.json @@ -145,52 +145,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", @@ -198,13 +202,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -214,224 +227,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://airflow-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://airflow-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": [ { "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": [], - "endpoint": { - "url": "https://airflow-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://airflow-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://airflow.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://airflow.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://airflow.{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://airflow.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/neptune.json b/codegen/sdk-codegen/aws-models/neptune.json index 2bc05c7eeeb..2b2694467bf 100644 --- a/codegen/sdk-codegen/aws-models/neptune.json +++ b/codegen/sdk-codegen/aws-models/neptune.json @@ -78,6 +78,9 @@ "smithy.api#documentation": "The name of the feature for the Neptune DB cluster that the IAM role is to be associated with.\n For the list of supported feature names, see DBEngineVersion.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#AddSourceIdentifierToSubscription": { @@ -117,6 +120,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#AddSourceIdentifierToSubscriptionResult": { @@ -125,6 +131,9 @@ "EventSubscription": { "target": "com.amazonaws.neptune#EventSubscription" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#AddTagsToResource": { @@ -167,6 +176,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#AmazonRDSv19": { @@ -458,52 +470,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", @@ -511,13 +527,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -527,92 +552,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://rds-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://rds-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -621,155 +637,115 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws-us-gov", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsFIPS" + "name" ] } ] } ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://rds.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [], - "endpoint": { - "url": "https://rds-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "endpoint": { + "url": "https://rds.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://rds-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://rds.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://rds.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://rds.{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://rds.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -1321,6 +1297,17 @@ "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 + } + }, { "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { @@ -1334,6 +1321,17 @@ "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 + } + }, { "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { @@ -1347,6 +1345,17 @@ "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 + } + }, { "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { @@ -1360,6 +1369,17 @@ "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 + } + }, { "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { @@ -1410,6 +1430,12 @@ "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" @@ -1474,6 +1500,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#ApplyPendingMaintenanceActionResult": { @@ -1482,6 +1511,9 @@ "ResourcePendingMaintenanceActions": { "target": "com.amazonaws.neptune#ResourcePendingMaintenanceActions" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#AttributeValueList": { @@ -1717,6 +1749,9 @@ "smithy.api#documentation": "The tags to be assigned to the copied DB cluster parameter group.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#CopyDBClusterParameterGroupResult": { @@ -1725,6 +1760,9 @@ "DBClusterParameterGroup": { "target": "com.amazonaws.neptune#DBClusterParameterGroup" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#CopyDBClusterSnapshot": { @@ -1800,6 +1838,9 @@ "smithy.api#documentation": "The tags to assign to the new DB cluster snapshot copy.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#CopyDBClusterSnapshotResult": { @@ -1808,6 +1849,9 @@ "DBClusterSnapshot": { "target": "com.amazonaws.neptune#DBClusterSnapshot" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#CopyDBParameterGroup": { @@ -1863,6 +1907,9 @@ "smithy.api#documentation": "The tags to be assigned to the copied DB parameter group.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#CopyDBParameterGroupResult": { @@ -1871,6 +1918,9 @@ "DBParameterGroup": { "target": "com.amazonaws.neptune#DBParameterGroup" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#CreateDBCluster": { @@ -2012,6 +2062,9 @@ "smithy.api#documentation": "The tags to be assigned to the Amazon Neptune resource.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#CreateDBClusterEndpointOutput": { @@ -2247,6 +2300,9 @@ "smithy.api#documentation": "The ID of the Neptune global database to which this new DB cluster\n should be added.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#CreateDBClusterParameterGroup": { @@ -2299,6 +2355,9 @@ "smithy.api#documentation": "The tags to be assigned to the new DB cluster parameter group.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#CreateDBClusterParameterGroupResult": { @@ -2307,6 +2366,9 @@ "DBClusterParameterGroup": { "target": "com.amazonaws.neptune#DBClusterParameterGroup" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#CreateDBClusterResult": { @@ -2315,6 +2377,9 @@ "DBCluster": { "target": "com.amazonaws.neptune#DBCluster" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#CreateDBClusterSnapshot": { @@ -2369,6 +2434,9 @@ "smithy.api#documentation": "The tags to be assigned to the DB cluster snapshot.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#CreateDBClusterSnapshotResult": { @@ -2377,6 +2445,9 @@ "DBClusterSnapshot": { "target": "com.amazonaws.neptune#DBClusterSnapshot" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#CreateDBInstance": { @@ -2713,6 +2784,9 @@ "smithy.api#documentation": "A value that indicates whether the DB instance has deletion protection enabled.\n The database can't be deleted when deletion protection is enabled. By default,\n deletion protection is disabled. See Deleting\n a DB Instance.
\nDB instances in a DB cluster can be deleted even when deletion\n protection is enabled in their parent DB cluster.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#CreateDBInstanceResult": { @@ -2721,6 +2795,9 @@ "DBInstance": { "target": "com.amazonaws.neptune#DBInstance" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#CreateDBParameterGroup": { @@ -2773,6 +2850,9 @@ "smithy.api#documentation": "The tags to be assigned to the new DB parameter group.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#CreateDBParameterGroupResult": { @@ -2781,6 +2861,9 @@ "DBParameterGroup": { "target": "com.amazonaws.neptune#DBParameterGroup" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#CreateDBSubnetGroup": { @@ -2842,6 +2925,9 @@ "smithy.api#documentation": "The tags to be assigned to the new DB subnet group.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#CreateDBSubnetGroupResult": { @@ -2850,6 +2936,9 @@ "DBSubnetGroup": { "target": "com.amazonaws.neptune#DBSubnetGroup" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#CreateEventSubscription": { @@ -2934,6 +3023,9 @@ "smithy.api#documentation": "The tags to be applied to the new event subscription.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#CreateEventSubscriptionResult": { @@ -2942,6 +3034,9 @@ "EventSubscription": { "target": "com.amazonaws.neptune#EventSubscription" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#CreateGlobalCluster": { @@ -3010,6 +3105,9 @@ "smithy.api#documentation": "The storage encryption setting for the new global database\n cluster.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#CreateGlobalClusterResult": { @@ -3018,6 +3116,9 @@ "GlobalCluster": { "target": "com.amazonaws.neptune#GlobalCluster" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#DBCluster": { @@ -3418,6 +3519,9 @@ "smithy.api#documentation": "Contains the details of the endpoints associated with the cluster\n and matching any filter conditions.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#DBClusterEndpointNotFoundFault": { @@ -3526,6 +3630,9 @@ "smithy.api#documentation": "Contains a list of DB clusters for the user.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#DBClusterNotFoundFault": { @@ -3681,6 +3788,9 @@ "smithy.api#documentation": "A list of DB cluster parameter groups.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#DBClusterQuotaExceededFault": { @@ -4024,6 +4134,9 @@ "smithy.api#documentation": "Provides a list of DB cluster snapshots for the user.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#DBClusterSnapshotNotFoundFault": { @@ -4159,6 +4272,9 @@ "smithy.api#documentation": " A list of DBEngineVersion
elements.
A list of DBInstance instances.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#DBInstanceNotFoundFault": { @@ -4778,6 +4897,9 @@ "smithy.api#documentation": "A list of DBParameterGroup instances.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#DBSecurityGroupMembership": { @@ -4977,6 +5099,9 @@ "smithy.api#documentation": "A list of DBSubnetGroup instances.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#DBSubnetGroupNotFoundFault": { @@ -5130,6 +5255,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#DeleteDBClusterEndpointOutput": { @@ -5224,6 +5352,9 @@ "smithy.api#documentation": " The DB cluster snapshot identifier of the new DB cluster snapshot created when\n SkipFinalSnapshot
is set to false
.
Specifying this parameter and also setting the SkipFinalShapshot
parameter\n to true results in an error.
Constraints:
\nMust be 1 to 255 letters, numbers, or hyphens.
\nFirst character must be a letter
\nCannot end with a hyphen or contain two consecutive hyphens
\n The DBSnapshotIdentifier of the new DBSnapshot created when SkipFinalSnapshot is set to\n false
.
Specifying this parameter and also setting the SkipFinalShapshot parameter to true\n results in an error.
\nConstraints:
\nMust be 1 to 255 letters or numbers.
\nFirst character must be a letter
\nCannot end with a hyphen or contain two consecutive hyphens
\nCannot be specified when deleting a Read Replica.
\n An optional pagination token provided by a previous\n DescribeDBClusterEndpoints
request.\n If this parameter is specified, the response includes\n only records beyond the marker,\n up to the value specified by MaxRecords
.\n
An optional pagination token provided by a previous\n DescribeDBClusterParameterGroups
request. If this parameter is specified, the\n response includes only records beyond the marker, up to the value specified by\n MaxRecords
.
An optional pagination token provided by a previous\n DescribeDBClusterParameters
request. If this parameter is specified, the response\n includes only records beyond the marker, up to the value specified by MaxRecords
.\n
True to include manual DB cluster snapshots that are public and can be copied or restored\n by any Amazon account, and otherwise false. The default is false
. The default is\n false.
You can share a manual DB cluster snapshot as public by using the ModifyDBClusterSnapshotAttribute API action.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#DescribeDBClusters": { @@ -5849,6 +6034,9 @@ "smithy.api#documentation": "An optional pagination token provided by a previous DescribeDBClusters\n request. If this parameter is specified, the response includes only records beyond the marker,\n up to the value specified by MaxRecords
.
If this parameter is specified and the requested engine supports the TimeZone
\n parameter for CreateDBInstance
, the response includes a list of supported time\n zones for each engine version.
An optional pagination token provided by a previous DescribeDBInstances
\n request. If this parameter is specified, the response includes only records beyond the marker,\n up to the value specified by MaxRecords
.
An optional pagination token provided by a previous\n DescribeDBParameterGroups
request. If this parameter is specified, the response\n includes only records beyond the marker, up to the value specified by MaxRecords
.
An optional pagination token provided by a previous DescribeDBParameters
\n request. If this parameter is specified, the response includes only records beyond the marker,\n up to the value specified by MaxRecords
.
An optional pagination token provided by a previous DescribeDBSubnetGroups request. If\n this parameter is specified, the response includes only records beyond the marker, up to the\n value specified by MaxRecords
.
An optional pagination token provided by a previous\n DescribeEngineDefaultClusterParameters
request. If this parameter is specified,\n the response includes only records beyond the marker, up to the value specified by\n MaxRecords
.
An optional pagination token provided by a previous\n DescribeEngineDefaultParameters
request. If this parameter is specified, the\n response includes only records beyond the marker, up to the value specified by\n MaxRecords
.
This parameter is not currently supported.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#DescribeEventSubscriptions": { @@ -6460,6 +6678,9 @@ "smithy.api#documentation": " An optional pagination token provided by a previous DescribeOrderableDBInstanceOptions\n request. If this parameter is specified, the response includes only records beyond the marker,\n up to the value specified by MaxRecords
.
An optional pagination token provided by a previous DescribeEvents request. If this\n parameter is specified, the response includes only records beyond the marker, up to the value\n specified by MaxRecords
.
(Optional) A pagination token returned by a previous\n call to DescribeGlobalClusters
. If this parameter is specified,\n the response will only include records beyond the marker, up to the number\n specified by MaxRecords
.
An optional pagination token provided by a previous DescribeOrderableDBInstanceOptions\n request. If this parameter is specified, the response includes only records beyond the marker,\n up to the value specified by MaxRecords
.
The maximum number of records to include in the response. If more records exist than the\n specified MaxRecords
value, a pagination token called a marker is included in the\n response so that the remaining results can be retrieved.
Default: 100
\nConstraints: Minimum 20, maximum 100.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#DescribeValidDBInstanceModifications": { @@ -6739,6 +6972,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#DescribeValidDBInstanceModificationsResult": { @@ -6747,6 +6983,9 @@ "ValidDBInstanceModificationsMessage": { "target": "com.amazonaws.neptune#ValidDBInstanceModificationsMessage" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#DomainMembership": { @@ -6994,6 +7233,9 @@ "smithy.api#documentation": "A list of EventCategoriesMap data types.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#EventList": { @@ -7118,6 +7360,9 @@ "smithy.api#documentation": "A list of EventSubscriptions data types.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#EventsMessage": { @@ -7135,6 +7380,9 @@ "smithy.api#documentation": "A list of Event instances.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#ExceptionMessage": { @@ -7178,6 +7426,9 @@ "smithy.api#documentation": "The name of the instance to promote to the primary instance.
\nYou must specify the instance identifier for an Read Replica in the DB cluster. For\n example, mydbcluster-replica1
.
The list of global clusters and instances returned by this request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#InstanceQuotaExceededFault": { @@ -7909,6 +8172,9 @@ "smithy.api#documentation": "This parameter is not currently supported.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#LogTypeList": { @@ -8021,6 +8287,9 @@ "smithy.api#documentation": "List of DB instance identifiers that aren't part of the custom endpoint group.\n All other eligible instances are reachable through the custom endpoint.\n Only relevant if the list of static members is empty.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#ModifyDBClusterEndpointOutput": { @@ -8209,6 +8478,9 @@ "ServerlessV2ScalingConfiguration": { "target": "com.amazonaws.neptune#ServerlessV2ScalingConfiguration" } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#ModifyDBClusterParameterGroup": { @@ -8248,6 +8520,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#ModifyDBClusterResult": { @@ -8256,6 +8531,9 @@ "DBCluster": { "target": "com.amazonaws.neptune#DBCluster" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#ModifyDBClusterSnapshotAttribute": { @@ -8310,6 +8588,9 @@ "smithy.api#documentation": "A list of DB cluster snapshot attributes to remove from the attribute specified by\n AttributeName
.
To remove authorization for other Amazon accounts to copy or restore a manual DB cluster\n snapshot, set this list to include one or more Amazon account identifiers, or all
to\n remove authorization for any Amazon account to copy or restore the DB cluster snapshot. If you\n specify all
, an Amazon account whose account ID is explicitly added to the\n restore
attribute can still copy or restore a manual DB cluster snapshot.
A value that indicates whether the DB instance has deletion protection enabled.\n The database can't be deleted when deletion protection is enabled. By default,\n deletion protection is disabled. See Deleting\n a DB Instance.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#ModifyDBInstanceResult": { @@ -8619,6 +8906,9 @@ "DBInstance": { "target": "com.amazonaws.neptune#DBInstance" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#ModifyDBParameterGroup": { @@ -8658,6 +8948,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#ModifyDBSubnetGroup": { @@ -8712,6 +9005,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#ModifyDBSubnetGroupResult": { @@ -8720,6 +9016,9 @@ "DBSubnetGroup": { "target": "com.amazonaws.neptune#DBSubnetGroup" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#ModifyEventSubscription": { @@ -8788,6 +9087,9 @@ "smithy.api#documentation": "A Boolean value; set to true to activate the\n subscription.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#ModifyEventSubscriptionResult": { @@ -8796,6 +9098,9 @@ "EventSubscription": { "target": "com.amazonaws.neptune#EventSubscription" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#ModifyGlobalCluster": { @@ -8852,6 +9157,9 @@ "smithy.api#documentation": "A value that indicates whether major version upgrades are allowed.
\nConstraints: You must allow major version upgrades if you specify a value\n for the EngineVersion
parameter that is a different major version\n than the DB cluster's current version.
If you upgrade the major version of a global database, the cluster and\n DB instance parameter groups are set to the default parameter groups for the\n new version, so you will need to apply any custom parameter groups after\n completing the upgrade.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#ModifyGlobalClusterResult": { @@ -8860,6 +9168,9 @@ "GlobalCluster": { "target": "com.amazonaws.neptune#GlobalCluster" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#OptionGroupMembership": { @@ -9078,6 +9389,9 @@ "smithy.api#documentation": " An optional pagination token provided by a previous OrderableDBInstanceOptions request.\n If this parameter is specified, the response includes only records beyond the marker, up to\n the value specified by MaxRecords
.
An optional pagination token provided by a previous\n DescribePendingMaintenanceActions
request. If this parameter is specified, the\n response includes only records beyond the marker, up to a number of records specified by\n MaxRecords
.
When true
, the reboot is conducted through a MultiAZ failover.
Constraint: You can't specify true
if the instance is not configured for\n MultiAZ.
The name of the feature for the DB cluster that the IAM role is to be disassociated from.\n For the list of supported feature names, see DescribeDBEngineVersions.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#RemoveSourceIdentifierFromSubscription": { @@ -9660,6 +9998,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#RemoveSourceIdentifierFromSubscriptionResult": { @@ -9668,6 +10009,9 @@ "EventSubscription": { "target": "com.amazonaws.neptune#EventSubscription" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#RemoveTagsFromResource": { @@ -9710,6 +10054,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.neptune#ResetDBClusterParameterGroup": { @@ -9755,6 +10102,9 @@ "smithy.api#documentation": "A list of parameter names in the DB cluster parameter group to reset to the default\n values. You can't use this parameter if the ResetAllParameters
parameter is set\n to true
.
To reset the entire DB parameter group, specify the DBParameterGroup
name and\n ResetAllParameters
parameters. To reset specific parameters, provide a list of\n the following: ParameterName
and ApplyMethod
. A maximum of 20\n parameters can be modified in a single request.
Valid Values (for Apply method): pending-reboot
\n
List of tags returned by the ListTagsForResource operation.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.neptune#Timezone": { diff --git a/codegen/sdk-codegen/aws-models/networkmanager.json b/codegen/sdk-codegen/aws-models/networkmanager.json index 1a8c67f3286..2710e20fa60 100644 --- a/codegen/sdk-codegen/aws-models/networkmanager.json +++ b/codegen/sdk-codegen/aws-models/networkmanager.json @@ -8650,52 +8650,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", @@ -8703,449 +8707,168 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "stringEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] + "ref": "PartitionResult" }, - "aws" + "name" ] + }, + "aws" + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + false + ] + } + ], + "endpoint": { + "url": "https://networkmanager.us-west-2.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "networkmanager", + "signingRegion": "us-west-2" } - ], - "type": "tree", - "rules": [ + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ + "fn": "getAttr", + "argv": [ { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://networkmanager-fips.{Region}.api.aws", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] + "ref": "PartitionResult" }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } + "name" ] }, + "aws-us-gov" + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://networkmanager-fips.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ] + "ref": "UseFIPS" }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "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": [], - "endpoint": { - "url": "https://networkmanager.{Region}.api.aws", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ] + "ref": "UseDualStack" }, + false + ] + } + ], + "endpoint": { + "url": "https://networkmanager.us-gov-west-1.amazonaws.com", + "properties": { + "authSchemes": [ { - "conditions": [], - "endpoint": { - "url": "https://networkmanager.us-west-2.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "networkmanager", - "signingRegion": "us-west-2" - } - ] - }, - "headers": {} - }, - "type": "endpoint" + "name": "sigv4", + "signingName": "networkmanager", + "signingRegion": "us-gov-west-1" } ] }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { - "fn": "stringEquals", + "fn": "booleanEquals", "argv": [ + true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "name" - ] - }, - "aws-us-gov" - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true + "supportsFIPS" ] } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://networkmanager-fips.{Region}.api.aws", - "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": [ + true, { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ { - "ref": "UseFIPS" + "ref": "PartitionResult" }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://networkmanager-fips.{Region}.amazonaws.com", - "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": [], - "endpoint": { - "url": "https://networkmanager.{Region}.api.aws", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], "endpoint": { - "url": "https://networkmanager.us-gov-west-1.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "networkmanager", - "signingRegion": "us-gov-west-1" - } - ] - }, + "url": "https://networkmanager-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, "headers": {} }, "type": "endpoint" @@ -9153,282 +8876,133 @@ ] }, { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://networkmanager-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "ref": "UseFIPS" }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } + true ] - }, + } + ], + "type": "tree", + "rules": [ { "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": [], - "endpoint": { - "url": "https://networkmanager-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, - { - "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://networkmanager.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, { "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" + "endpoint": { + "url": "https://networkmanager-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { "conditions": [], - "type": "tree", - "rules": [ + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "aws-global" - ] - } - ], - "endpoint": { - "url": "https://networkmanager.us-west-2.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "networkmanager", - "signingRegion": "us-west-2" - } - ] - }, - "headers": {} - }, - "type": "endpoint" + "ref": "UseDualStack" }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ + true, { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "ref": "Region" + "ref": "PartitionResult" }, - "aws-us-gov-global" + "supportsDualStack" ] } - ], - "endpoint": { - "url": "https://networkmanager.us-gov-west-1.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "networkmanager", - "signingRegion": "us-gov-west-1" - } - ] - }, - "headers": {} - }, - "type": "endpoint" - }, + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [], "endpoint": { - "url": "https://networkmanager.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://networkmanager.{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://networkmanager.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -9451,9 +9025,9 @@ } }, "params": { + "Region": "aws-global", "UseFIPS": false, - "UseDualStack": false, - "Region": "aws-global" + "UseDualStack": false } }, { @@ -9464,9 +9038,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -9477,9 +9051,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -9490,9 +9064,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -9512,9 +9086,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -9525,9 +9099,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -9538,9 +9112,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -9551,9 +9125,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -9564,9 +9138,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -9586,9 +9160,9 @@ } }, "params": { + "Region": "aws-us-gov-global", "UseFIPS": false, - "UseDualStack": false, - "Region": "aws-us-gov-global" + "UseDualStack": false } }, { @@ -9599,9 +9173,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -9612,9 +9186,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -9625,9 +9199,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -9647,9 +9221,20 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-gov-east-1" + "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 } }, { @@ -9660,9 +9245,20 @@ } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-iso-east-1" + "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 } }, { @@ -9673,9 +9269,20 @@ } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-iso-east-1" + "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 } }, { @@ -9686,9 +9293,20 @@ } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-isob-east-1" + "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 } }, { @@ -9699,9 +9317,9 @@ } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -9712,9 +9330,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -9737,9 +9355,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -9749,11 +9367,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true, - "Region": "us-east-1", "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/codegen/sdk-codegen/aws-models/nimble.json b/codegen/sdk-codegen/aws-models/nimble.json index 46e1ebd0b8b..8af2f87c6da 100644 --- a/codegen/sdk-codegen/aws-models/nimble.json +++ b/codegen/sdk-codegen/aws-models/nimble.json @@ -9706,52 +9706,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", @@ -9759,13 +9763,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -9775,224 +9788,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://nimble-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://nimble-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": [ { "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": [], - "endpoint": { - "url": "https://nimble-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://nimble-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://nimble.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://nimble.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://nimble.{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://nimble.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -10007,8 +9971,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -10020,8 +9984,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -10033,8 +9997,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -10046,8 +10010,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -10059,8 +10023,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -10072,8 +10036,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -10085,8 +10049,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -10098,8 +10062,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -10111,8 +10075,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -10124,8 +10088,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -10137,8 +10101,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -10150,8 +10114,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -10163,8 +10127,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -10176,8 +10140,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -10189,8 +10153,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -10202,8 +10166,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -10215,8 +10179,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -10228,8 +10203,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 } }, { @@ -10241,8 +10227,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -10254,8 +10251,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 } }, { @@ -10267,8 +10275,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -10280,8 +10288,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -10293,8 +10301,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -10305,8 +10313,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -10317,10 +10325,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" @@ -10328,4 +10342,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/oam.json b/codegen/sdk-codegen/aws-models/oam.json index cdb73066717..6bdf61fa917 100644 --- a/codegen/sdk-codegen/aws-models/oam.json +++ b/codegen/sdk-codegen/aws-models/oam.json @@ -2048,55 +2048,55 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://oam-fips.us-gov-east-1.api.aws" + "url": "https://oam-fips.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://oam-fips.us-gov-east-1.amazonaws.com" + "url": "https://oam-fips.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://oam.us-gov-east-1.api.aws" + "url": "https://oam.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://oam.us-gov-east-1.amazonaws.com" + "url": "https://oam.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -2107,9 +2107,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -2120,9 +2120,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -2133,9 +2133,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -2146,109 +2146,109 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://oam-fips.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://oam-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://oam-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://oam.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://oam.us-iso-east-1.c2s.ic.gov" + "url": "https://oam.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://oam-fips.us-east-1.api.aws" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://oam-fips.us-east-1.amazonaws.com" + "url": "https://oam-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://oam.us-east-1.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://oam.us-east-1.amazonaws.com" + "url": "https://oam.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -2257,9 +2257,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -2270,9 +2270,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -2281,9 +2281,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -2294,22 +2294,35 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { + "Region": "us-east-1", + "UseFIPS": false, "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { "UseFIPS": false, - "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2319,9 +2332,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2331,11 +2344,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" @@ -2343,4 +2362,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/opensearch.json b/codegen/sdk-codegen/aws-models/opensearch.json index bcce7710be5..81495fe3dbb 100644 --- a/codegen/sdk-codegen/aws-models/opensearch.json +++ b/codegen/sdk-codegen/aws-models/opensearch.json @@ -714,52 +714,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", @@ -767,13 +771,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -783,224 +796,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://es-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://es-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": [ { "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": [], - "endpoint": { - "url": "https://es-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://es-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://es.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://es.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://es.{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://es.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/opensearchserverless.json b/codegen/sdk-codegen/aws-models/opensearchserverless.json index 43f5b065abc..0ad1db914c3 100644 --- a/codegen/sdk-codegen/aws-models/opensearchserverless.json +++ b/codegen/sdk-codegen/aws-models/opensearchserverless.json @@ -2572,55 +2572,55 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://aoss-fips.us-gov-east-1.api.aws" + "url": "https://aoss-fips.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, - "Region": "us-gov-east-1", - "UseFIPS": true + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://aoss-fips.us-gov-east-1.amazonaws.com" + "url": "https://aoss-fips.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "Region": "us-gov-east-1", - "UseFIPS": true + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://aoss.us-gov-east-1.api.aws" + "url": "https://aoss.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, - "Region": "us-gov-east-1", - "UseFIPS": false + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://aoss.us-gov-east-1.amazonaws.com" + "url": "https://aoss.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "Region": "us-gov-east-1", - "UseFIPS": false + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2631,9 +2631,9 @@ } }, "params": { - "UseDualStack": true, "Region": "cn-north-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2644,9 +2644,9 @@ } }, "params": { - "UseDualStack": false, "Region": "cn-north-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2657,9 +2657,9 @@ } }, "params": { - "UseDualStack": true, "Region": "cn-north-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2670,109 +2670,109 @@ } }, "params": { - "UseDualStack": false, "Region": "cn-north-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://aoss-fips.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, - "Region": "us-iso-east-1", - "UseFIPS": true + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://aoss-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://aoss-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "Region": "us-iso-east-1", - "UseFIPS": true + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://aoss.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, - "Region": "us-iso-east-1", - "UseFIPS": false + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://aoss.us-iso-east-1.c2s.ic.gov" + "url": "https://aoss.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "Region": "us-iso-east-1", - "UseFIPS": false + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://aoss-fips.us-east-1.api.aws" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, - "Region": "us-east-1", - "UseFIPS": true + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://aoss-fips.us-east-1.amazonaws.com" + "url": "https://aoss-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, - "Region": "us-east-1", - "UseFIPS": true + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://aoss.us-east-1.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, - "Region": "us-east-1", - "UseFIPS": false + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://aoss.us-east-1.amazonaws.com" + "url": "https://aoss.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, - "Region": "us-east-1", - "UseFIPS": false + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2781,9 +2781,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, "Region": "us-isob-east-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2794,9 +2794,9 @@ } }, "params": { - "UseDualStack": false, "Region": "us-isob-east-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2805,9 +2805,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, "Region": "us-isob-east-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2818,22 +2818,35 @@ } }, "params": { - "UseDualStack": false, "Region": "us-isob-east-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { - "UseDualStack": false, "Region": "us-east-1", "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2843,9 +2856,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, "Region": "us-east-1", "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2855,11 +2868,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, "Region": "us-east-1", "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/codegen/sdk-codegen/aws-models/opsworks.json b/codegen/sdk-codegen/aws-models/opsworks.json index 1735a73858e..4398a58ebf0 100644 --- a/codegen/sdk-codegen/aws-models/opsworks.json +++ b/codegen/sdk-codegen/aws-models/opsworks.json @@ -157,61 +157,79 @@ } }, "com.amazonaws.opsworks#AppAttributesKeys": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DocumentRoot", - "name": "DocumentRoot" - }, - { - "value": "RailsEnv", - "name": "RailsEnv" - }, - { - "value": "AutoBundleOnDeploy", - "name": "AutoBundleOnDeploy" - }, - { - "value": "AwsFlowRubySettings", - "name": "AwsFlowRubySettings" + "type": "enum", + "members": { + "DocumentRoot": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DocumentRoot" + } + }, + "RailsEnv": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RailsEnv" + } + }, + "AutoBundleOnDeploy": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AutoBundleOnDeploy" + } + }, + "AwsFlowRubySettings": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AwsFlowRubySettings" } - ] + } } }, "com.amazonaws.opsworks#AppType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "aws-flow-ruby", - "name": "aws_flow_ruby" - }, - { - "value": "java", - "name": "java" - }, - { - "value": "rails", - "name": "rails" - }, - { - "value": "php", - "name": "php" - }, - { - "value": "nodejs", - "name": "nodejs" - }, - { - "value": "static", - "name": "static" - }, - { - "value": "other", - "name": "other" + "type": "enum", + "members": { + "aws_flow_ruby": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "aws-flow-ruby" + } + }, + "java": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "java" } - ] + }, + "rails": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "rails" + } + }, + "php": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "php" + } + }, + "nodejs": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "nodejs" + } + }, + "static": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "static" + } + }, + "other": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "other" + } + } } }, "com.amazonaws.opsworks#Apps": { @@ -221,18 +239,20 @@ } }, "com.amazonaws.opsworks#Architecture": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "x86_64", - "name": "x86_64" - }, - { - "value": "i386", - "name": "i386" + "type": "enum", + "members": { + "x86_64": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "x86_64" + } + }, + "i386": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "i386" } - ] + } } }, "com.amazonaws.opsworks#AssignInstance": { @@ -272,6 +292,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#AssignVolume": { @@ -310,6 +333,9 @@ "smithy.api#documentation": "The instance ID.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#AssociateElasticIp": { @@ -348,6 +374,9 @@ "smithy.api#documentation": "The instance ID.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#AttachElasticLoadBalancer": { @@ -387,6 +416,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#AutoScalingThresholds": { @@ -440,18 +472,20 @@ } }, "com.amazonaws.opsworks#AutoScalingType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "load", - "name": "load" - }, - { - "value": "timer", - "name": "timer" + "type": "enum", + "members": { + "load": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "load" + } + }, + "timer": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "timer" } - ] + } } }, "com.amazonaws.opsworks#BlockDeviceMapping": { @@ -541,563 +575,755 @@ "SourceStackId": { "target": "com.amazonaws.opsworks#String", "traits": { - "smithy.api#documentation": "The source stack ID.
", - "smithy.api#required": {} + "smithy.api#documentation": "The source stack ID.
", + "smithy.api#required": {} + } + }, + "Name": { + "target": "com.amazonaws.opsworks#String", + "traits": { + "smithy.api#documentation": "The cloned stack name.
" + } + }, + "Region": { + "target": "com.amazonaws.opsworks#String", + "traits": { + "smithy.api#documentation": "The cloned stack AWS region, such as \"ap-northeast-2\". For more information about AWS regions, see\n Regions and Endpoints.
" + } + }, + "VpcId": { + "target": "com.amazonaws.opsworks#String", + "traits": { + "smithy.api#documentation": "The ID of the VPC that the cloned stack is to be launched into. It must be in the specified region. All\n instances are launched into this VPC, and you cannot change the ID later.
\nIf your account supports EC2 Classic, the default value is no VPC.
\nIf your account does not support EC2 Classic, the default value is the default VPC for the specified region.
\nIf the VPC ID corresponds to a default VPC and you have specified either the\n DefaultAvailabilityZone
or the DefaultSubnetId
parameter only,\n AWS OpsWorks Stacks infers the value of the other parameter. If you specify neither parameter, AWS OpsWorks Stacks sets\n these parameters to the first valid Availability Zone for the specified region and the\n corresponding default VPC subnet ID, respectively.
If you specify a nondefault VPC ID, note the following:
\nIt must belong to a VPC in your account that is in the specified region.
\nYou must specify a value for DefaultSubnetId
.
For more information about how to use AWS OpsWorks Stacks with a VPC, see Running a Stack in a\n VPC. For more information about default VPC and EC2 Classic, see Supported\n Platforms.
" + } + }, + "Attributes": { + "target": "com.amazonaws.opsworks#StackAttributes", + "traits": { + "smithy.api#documentation": "A list of stack attributes and values as key/value pairs to be added to the cloned stack.
" + } + }, + "ServiceRoleArn": { + "target": "com.amazonaws.opsworks#String", + "traits": { + "smithy.api#documentation": "The stack AWS Identity and Access Management (IAM) role, which allows AWS OpsWorks Stacks to work with AWS\n resources on your behalf. You must set this parameter to the Amazon Resource Name (ARN) for an\n existing IAM role. If you create a stack by using the AWS OpsWorks Stacks console, it creates the role for\n you. You can obtain an existing stack's IAM ARN programmatically by calling\n DescribePermissions. For more information about IAM ARNs, see Using\n Identifiers.
\nYou must set this parameter to a valid service role ARN or the action will fail; there is no default value. You can specify the source stack's service role ARN, if you prefer, but you must do so explicitly.
\nThe Amazon Resource Name (ARN) of an IAM profile that is the default profile for all of the stack's EC2 instances.\n For more information about IAM ARNs, see Using\n Identifiers.
" + } + }, + "DefaultOs": { + "target": "com.amazonaws.opsworks#String", + "traits": { + "smithy.api#documentation": "The stack's operating system, which must be set to one of the following.
\nA supported Linux operating system: An Amazon Linux version, such as Amazon Linux 2018.03
, Amazon Linux 2017.09
, Amazon Linux 2017.03
, Amazon Linux\n 2016.09
, Amazon Linux 2016.03
, Amazon Linux 2015.09
, or Amazon Linux 2015.03
.
A supported Ubuntu operating system, such as Ubuntu 16.04 LTS
, Ubuntu 14.04 LTS
, or Ubuntu 12.04 LTS
.
\n CentOS Linux 7
\n
\n Red Hat Enterprise Linux 7
\n
\n Microsoft Windows Server 2012 R2 Base
, Microsoft Windows Server 2012 R2 with SQL Server Express
, \n Microsoft Windows Server 2012 R2 with SQL Server Standard
, or Microsoft Windows Server 2012 R2 with SQL Server Web
.
A custom AMI: Custom
. You specify the custom AMI you want to use when\n you create instances. For more information about how to use custom AMIs with OpsWorks, see Using\n Custom AMIs.
The default option is the parent stack's operating system.\n For more information about supported operating systems,\n see AWS OpsWorks Stacks Operating Systems.
\nYou can specify a different Linux operating system for the cloned stack, but you cannot change from Linux to Windows or Windows to Linux.
\nThe stack's host name theme, with spaces are replaced by underscores. The theme is used to\n generate host names for the stack's instances. By default, HostnameTheme
is set\n to Layer_Dependent
, which creates host names by appending integers to the layer's\n short name. The other themes are:
\n Baked_Goods
\n
\n Clouds
\n
\n Europe_Cities
\n
\n Fruits
\n
\n Greek_Deities_and_Titans
\n
\n Legendary_creatures_from_Japan
\n
\n Planets_and_Moons
\n
\n Roman_Deities
\n
\n Scottish_Islands
\n
\n US_Cities
\n
\n Wild_Cats
\n
To obtain a generated host name, call GetHostNameSuggestion
, which returns a\n host name based on the current theme.
The cloned stack's default Availability Zone, which must be in the specified region. For more\n information, see Regions and\n Endpoints. If you also specify a value for DefaultSubnetId
, the subnet must\n be in the same zone. For more information, see the VpcId
parameter description.\n
The stack's default VPC subnet ID. This parameter is required if you specify a value for the\n VpcId
parameter. All instances are launched into this subnet unless you specify\n otherwise when you create the instance. If you also specify a value for\n DefaultAvailabilityZone
, the subnet must be in that zone. For information on\n default values and when this parameter is required, see the VpcId
parameter\n description.
A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format:
\n\n \"{\\\"key1\\\": \\\"value1\\\", \\\"key2\\\": \\\"value2\\\",...}\"
\n
For more information about custom JSON, see Use Custom JSON to\n Modify the Stack Configuration Attributes\n
" + } + }, + "ConfigurationManager": { + "target": "com.amazonaws.opsworks#StackConfigurationManager", + "traits": { + "smithy.api#documentation": "The configuration manager. When you clone a stack we recommend that you use the configuration manager to specify the Chef version: 12, 11.10, or 11.4 for Linux stacks, or 12.2 for Windows stacks. The default value for Linux stacks is currently 12.
" + } + }, + "ChefConfiguration": { + "target": "com.amazonaws.opsworks#ChefConfiguration", + "traits": { + "smithy.api#documentation": "A ChefConfiguration
object that specifies whether to enable Berkshelf and the\n Berkshelf version on Chef 11.10 stacks. For more information, see Create a New Stack.
Whether to use custom cookbooks.
" + } + }, + "UseOpsworksSecurityGroups": { + "target": "com.amazonaws.opsworks#Boolean", + "traits": { + "smithy.api#documentation": "Whether to associate the AWS OpsWorks Stacks built-in security groups with the stack's layers.
\nAWS OpsWorks Stacks provides a standard set of built-in security groups, one for each layer, which are\n associated with layers by default. With UseOpsworksSecurityGroups
you can instead\n provide your own custom security groups. UseOpsworksSecurityGroups
has the\n following settings:
True - AWS OpsWorks Stacks automatically associates the appropriate built-in security group with each layer (default setting). You can associate additional security groups with a layer after you create it but you cannot delete the built-in security group.
\nFalse - AWS OpsWorks Stacks does not associate built-in security groups with layers. You must create appropriate Amazon Elastic Compute Cloud (Amazon EC2) security groups and associate a security group with each layer that you create. However, you can still manually associate a built-in security group with a layer on creation; custom security groups are required only for those layers that need custom settings.
\nFor more information, see Create a New\n Stack.
" + } + }, + "CustomCookbooksSource": { + "target": "com.amazonaws.opsworks#Source", + "traits": { + "smithy.api#documentation": "Contains the information required to retrieve an app or cookbook from a repository. For more information, \n see Adding Apps or Cookbooks and Recipes.
" + } + }, + "DefaultSshKeyName": { + "target": "com.amazonaws.opsworks#String", + "traits": { + "smithy.api#documentation": "A default Amazon EC2 key pair name. The default value is none. If you specify a key pair name, AWS\n OpsWorks installs the public key on the instance and you can use the private key with an SSH\n client to log in to the instance. For more information, see Using SSH to\n Communicate with an Instance and Managing SSH\n Access. You can override this setting by specifying a different key pair, or no key\n pair, when you \n create an instance.
" + } + }, + "ClonePermissions": { + "target": "com.amazonaws.opsworks#Boolean", + "traits": { + "smithy.api#documentation": "Whether to clone the source stack's permissions.
" + } + }, + "CloneAppIds": { + "target": "com.amazonaws.opsworks#Strings", + "traits": { + "smithy.api#documentation": "A list of source stack app IDs to be included in the cloned stack.
" + } + }, + "DefaultRootDeviceType": { + "target": "com.amazonaws.opsworks#RootDeviceType", + "traits": { + "smithy.api#documentation": "The default root device type. This value is used by default for all instances in the cloned\n stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.
" + } + }, + "AgentVersion": { + "target": "com.amazonaws.opsworks#String", + "traits": { + "smithy.api#documentation": "The default AWS OpsWorks Stacks agent version. You have the following options:
\nAuto-update - Set this parameter to LATEST
. AWS OpsWorks Stacks\n automatically installs new agent versions on the stack's instances as soon as\n they are available.
Fixed version - Set this parameter to your preferred agent version. To update \n the agent version, you must edit the stack configuration and specify a new version. \n AWS OpsWorks Stacks then automatically installs that version on the stack's instances.
\nThe default setting is LATEST
. To specify an agent version,\n you must use the complete version number, not the abbreviated number shown on the console.\n For a list of available agent version numbers, call DescribeAgentVersions. AgentVersion cannot be set to Chef 12.2.
You can also specify an agent version when you create or update an instance, which overrides the stack's default setting.
\nThe cloned stack ID.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Contains the response to a CloneStack
request.
Whether CloudWatch Logs is enabled for a layer.
" + } + }, + "LogStreams": { + "target": "com.amazonaws.opsworks#CloudWatchLogsLogStreams", + "traits": { + "smithy.api#documentation": "A list of configuration options for CloudWatch Logs.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Describes the Amazon CloudWatch logs configuration for a layer.
" + } + }, + "com.amazonaws.opsworks#CloudWatchLogsEncoding": { + "type": "enum", + "members": { + "ascii": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ascii" + } + }, + "big5": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "big5" + } + }, + "big5hkscs": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "big5hkscs" + } + }, + "cp037": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp037" + } + }, + "cp424": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp424" + } + }, + "cp437": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp437" + } + }, + "cp500": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp500" + } + }, + "cp720": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp720" + } + }, + "cp737": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp737" + } + }, + "cp775": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp775" + } + }, + "cp850": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp850" + } + }, + "cp852": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp852" + } + }, + "cp855": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp855" + } + }, + "cp856": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp856" + } + }, + "cp857": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp857" + } + }, + "cp858": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp858" + } + }, + "cp860": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp860" + } + }, + "cp861": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp861" + } + }, + "cp862": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp862" + } + }, + "cp863": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp863" + } + }, + "cp864": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp864" + } + }, + "cp865": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp865" + } + }, + "cp866": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp866" + } + }, + "cp869": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp869" + } + }, + "cp874": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp874" + } + }, + "cp875": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp875" + } + }, + "cp932": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp932" + } + }, + "cp949": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp949" + } + }, + "cp950": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp950" + } + }, + "cp1006": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp1006" + } + }, + "cp1026": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp1026" + } + }, + "cp1140": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp1140" + } + }, + "cp1250": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp1250" + } + }, + "cp1251": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp1251" + } + }, + "cp1252": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp1252" + } + }, + "cp1253": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp1253" + } + }, + "cp1254": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp1254" + } + }, + "cp1255": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp1255" + } + }, + "cp1256": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp1256" + } + }, + "cp1257": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp1257" + } + }, + "cp1258": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cp1258" + } + }, + "euc_jp": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "euc_jp" + } + }, + "euc_jis_2004": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "euc_jis_2004" + } + }, + "euc_jisx0213": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "euc_jisx0213" + } + }, + "euc_kr": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "euc_kr" + } + }, + "gb2312": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "gb2312" + } + }, + "gbk": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "gbk" + } + }, + "gb18030": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "gb18030" + } + }, + "hz": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "hz" + } + }, + "iso2022_jp": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "iso2022_jp" + } + }, + "iso2022_jp_1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "iso2022_jp_1" + } + }, + "iso2022_jp_2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "iso2022_jp_2" + } + }, + "iso2022_jp_2004": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "iso2022_jp_2004" + } + }, + "iso2022_jp_3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "iso2022_jp_3" + } + }, + "iso2022_jp_ext": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "iso2022_jp_ext" + } + }, + "iso2022_kr": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "iso2022_kr" + } + }, + "latin_1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "latin_1" + } + }, + "iso8859_2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "iso8859_2" + } + }, + "iso8859_3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "iso8859_3" + } + }, + "iso8859_4": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "iso8859_4" + } + }, + "iso8859_5": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "iso8859_5" + } + }, + "iso8859_6": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "iso8859_6" + } + }, + "iso8859_7": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "iso8859_7" + } + }, + "iso8859_8": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "iso8859_8" + } + }, + "iso8859_9": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "iso8859_9" + } + }, + "iso8859_10": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "iso8859_10" + } + }, + "iso8859_13": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "iso8859_13" + } + }, + "iso8859_14": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "iso8859_14" + } + }, + "iso8859_15": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "iso8859_15" } }, - "Name": { - "target": "com.amazonaws.opsworks#String", + "iso8859_16": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "The cloned stack name.
" + "smithy.api#enumValue": "iso8859_16" } }, - "Region": { - "target": "com.amazonaws.opsworks#String", + "johab": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "The cloned stack AWS region, such as \"ap-northeast-2\". For more information about AWS regions, see\n Regions and Endpoints.
" + "smithy.api#enumValue": "johab" } }, - "VpcId": { - "target": "com.amazonaws.opsworks#String", + "koi8_r": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "The ID of the VPC that the cloned stack is to be launched into. It must be in the specified region. All\n instances are launched into this VPC, and you cannot change the ID later.
\nIf your account supports EC2 Classic, the default value is no VPC.
\nIf your account does not support EC2 Classic, the default value is the default VPC for the specified region.
\nIf the VPC ID corresponds to a default VPC and you have specified either the\n DefaultAvailabilityZone
or the DefaultSubnetId
parameter only,\n AWS OpsWorks Stacks infers the value of the other parameter. If you specify neither parameter, AWS OpsWorks Stacks sets\n these parameters to the first valid Availability Zone for the specified region and the\n corresponding default VPC subnet ID, respectively.
If you specify a nondefault VPC ID, note the following:
\nIt must belong to a VPC in your account that is in the specified region.
\nYou must specify a value for DefaultSubnetId
.
For more information about how to use AWS OpsWorks Stacks with a VPC, see Running a Stack in a\n VPC. For more information about default VPC and EC2 Classic, see Supported\n Platforms.
" + "smithy.api#enumValue": "koi8_r" } }, - "Attributes": { - "target": "com.amazonaws.opsworks#StackAttributes", + "koi8_u": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "A list of stack attributes and values as key/value pairs to be added to the cloned stack.
" + "smithy.api#enumValue": "koi8_u" } }, - "ServiceRoleArn": { - "target": "com.amazonaws.opsworks#String", + "mac_cyrillic": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "The stack AWS Identity and Access Management (IAM) role, which allows AWS OpsWorks Stacks to work with AWS\n resources on your behalf. You must set this parameter to the Amazon Resource Name (ARN) for an\n existing IAM role. If you create a stack by using the AWS OpsWorks Stacks console, it creates the role for\n you. You can obtain an existing stack's IAM ARN programmatically by calling\n DescribePermissions. For more information about IAM ARNs, see Using\n Identifiers.
\nYou must set this parameter to a valid service role ARN or the action will fail; there is no default value. You can specify the source stack's service role ARN, if you prefer, but you must do so explicitly.
\nThe Amazon Resource Name (ARN) of an IAM profile that is the default profile for all of the stack's EC2 instances.\n For more information about IAM ARNs, see Using\n Identifiers.
" + "smithy.api#enumValue": "mac_greek" } }, - "DefaultOs": { - "target": "com.amazonaws.opsworks#String", + "mac_iceland": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "The stack's operating system, which must be set to one of the following.
\nA supported Linux operating system: An Amazon Linux version, such as Amazon Linux 2018.03
, Amazon Linux 2017.09
, Amazon Linux 2017.03
, Amazon Linux\n 2016.09
, Amazon Linux 2016.03
, Amazon Linux 2015.09
, or Amazon Linux 2015.03
.
A supported Ubuntu operating system, such as Ubuntu 16.04 LTS
, Ubuntu 14.04 LTS
, or Ubuntu 12.04 LTS
.
\n CentOS Linux 7
\n
\n Red Hat Enterprise Linux 7
\n
\n Microsoft Windows Server 2012 R2 Base
, Microsoft Windows Server 2012 R2 with SQL Server Express
, \n Microsoft Windows Server 2012 R2 with SQL Server Standard
, or Microsoft Windows Server 2012 R2 with SQL Server Web
.
A custom AMI: Custom
. You specify the custom AMI you want to use when\n you create instances. For more information about how to use custom AMIs with OpsWorks, see Using\n Custom AMIs.
The default option is the parent stack's operating system.\n For more information about supported operating systems,\n see AWS OpsWorks Stacks Operating Systems.
\nYou can specify a different Linux operating system for the cloned stack, but you cannot change from Linux to Windows or Windows to Linux.
\nThe stack's host name theme, with spaces are replaced by underscores. The theme is used to\n generate host names for the stack's instances. By default, HostnameTheme
is set\n to Layer_Dependent
, which creates host names by appending integers to the layer's\n short name. The other themes are:
\n Baked_Goods
\n
\n Clouds
\n
\n Europe_Cities
\n
\n Fruits
\n
\n Greek_Deities_and_Titans
\n
\n Legendary_creatures_from_Japan
\n
\n Planets_and_Moons
\n
\n Roman_Deities
\n
\n Scottish_Islands
\n
\n US_Cities
\n
\n Wild_Cats
\n
To obtain a generated host name, call GetHostNameSuggestion
, which returns a\n host name based on the current theme.
The cloned stack's default Availability Zone, which must be in the specified region. For more\n information, see Regions and\n Endpoints. If you also specify a value for DefaultSubnetId
, the subnet must\n be in the same zone. For more information, see the VpcId
parameter description.\n
The stack's default VPC subnet ID. This parameter is required if you specify a value for the\n VpcId
parameter. All instances are launched into this subnet unless you specify\n otherwise when you create the instance. If you also specify a value for\n DefaultAvailabilityZone
, the subnet must be in that zone. For information on\n default values and when this parameter is required, see the VpcId
parameter\n description.
A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format:
\n\n \"{\\\"key1\\\": \\\"value1\\\", \\\"key2\\\": \\\"value2\\\",...}\"
\n
For more information about custom JSON, see Use Custom JSON to\n Modify the Stack Configuration Attributes\n
" + "smithy.api#enumValue": "ptcp154" } }, - "ConfigurationManager": { - "target": "com.amazonaws.opsworks#StackConfigurationManager", + "shift_jis": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "The configuration manager. When you clone a stack we recommend that you use the configuration manager to specify the Chef version: 12, 11.10, or 11.4 for Linux stacks, or 12.2 for Windows stacks. The default value for Linux stacks is currently 12.
" + "smithy.api#enumValue": "shift_jis" } }, - "ChefConfiguration": { - "target": "com.amazonaws.opsworks#ChefConfiguration", + "shift_jis_2004": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "A ChefConfiguration
object that specifies whether to enable Berkshelf and the\n Berkshelf version on Chef 11.10 stacks. For more information, see Create a New Stack.
Whether to use custom cookbooks.
" + "smithy.api#enumValue": "shift_jisx0213" } }, - "UseOpsworksSecurityGroups": { - "target": "com.amazonaws.opsworks#Boolean", + "utf_32": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "Whether to associate the AWS OpsWorks Stacks built-in security groups with the stack's layers.
\nAWS OpsWorks Stacks provides a standard set of built-in security groups, one for each layer, which are\n associated with layers by default. With UseOpsworksSecurityGroups
you can instead\n provide your own custom security groups. UseOpsworksSecurityGroups
has the\n following settings:
True - AWS OpsWorks Stacks automatically associates the appropriate built-in security group with each layer (default setting). You can associate additional security groups with a layer after you create it but you cannot delete the built-in security group.
\nFalse - AWS OpsWorks Stacks does not associate built-in security groups with layers. You must create appropriate Amazon Elastic Compute Cloud (Amazon EC2) security groups and associate a security group with each layer that you create. However, you can still manually associate a built-in security group with a layer on creation; custom security groups are required only for those layers that need custom settings.
\nFor more information, see Create a New\n Stack.
" + "smithy.api#enumValue": "utf_32" } }, - "CustomCookbooksSource": { - "target": "com.amazonaws.opsworks#Source", + "utf_32_be": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "Contains the information required to retrieve an app or cookbook from a repository. For more information, \n see Adding Apps or Cookbooks and Recipes.
" + "smithy.api#enumValue": "utf_32_be" } }, - "DefaultSshKeyName": { - "target": "com.amazonaws.opsworks#String", + "utf_32_le": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "A default Amazon EC2 key pair name. The default value is none. If you specify a key pair name, AWS\n OpsWorks installs the public key on the instance and you can use the private key with an SSH\n client to log in to the instance. For more information, see Using SSH to\n Communicate with an Instance and Managing SSH\n Access. You can override this setting by specifying a different key pair, or no key\n pair, when you \n create an instance.
" + "smithy.api#enumValue": "utf_32_le" } }, - "ClonePermissions": { - "target": "com.amazonaws.opsworks#Boolean", + "utf_16": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "Whether to clone the source stack's permissions.
" + "smithy.api#enumValue": "utf_16" } }, - "CloneAppIds": { - "target": "com.amazonaws.opsworks#Strings", + "utf_16_be": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "A list of source stack app IDs to be included in the cloned stack.
" + "smithy.api#enumValue": "utf_16_be" } }, - "DefaultRootDeviceType": { - "target": "com.amazonaws.opsworks#RootDeviceType", + "utf_16_le": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "The default root device type. This value is used by default for all instances in the cloned\n stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.
" + "smithy.api#enumValue": "utf_16_le" } }, - "AgentVersion": { - "target": "com.amazonaws.opsworks#String", + "utf_7": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "The default AWS OpsWorks Stacks agent version. You have the following options:
\nAuto-update - Set this parameter to LATEST
. AWS OpsWorks Stacks\n automatically installs new agent versions on the stack's instances as soon as\n they are available.
Fixed version - Set this parameter to your preferred agent version. To update \n the agent version, you must edit the stack configuration and specify a new version. \n AWS OpsWorks Stacks then automatically installs that version on the stack's instances.
\nThe default setting is LATEST
. To specify an agent version,\n you must use the complete version number, not the abbreviated number shown on the console.\n For a list of available agent version numbers, call DescribeAgentVersions. AgentVersion cannot be set to Chef 12.2.
You can also specify an agent version when you create or update an instance, which overrides the stack's default setting.
\nThe cloned stack ID.
" + "smithy.api#enumValue": "utf_8" + } + }, + "utf_8_sig": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "utf_8_sig" } } }, "traits": { - "smithy.api#documentation": "Contains the response to a CloneStack
request.
Specifies the encoding of the log file so that the file can be read correctly. The default is utf_8
. Encodings supported by Python codecs.decode()
can be used here.
Whether CloudWatch Logs is enabled for a layer.
" + "smithy.api#enumValue": "start_of_file" } }, - "LogStreams": { - "target": "com.amazonaws.opsworks#CloudWatchLogsLogStreams", + "end_of_file": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "A list of configuration options for CloudWatch Logs.
" + "smithy.api#enumValue": "end_of_file" } } }, "traits": { - "smithy.api#documentation": "Describes the Amazon CloudWatch logs configuration for a layer.
" - } - }, - "com.amazonaws.opsworks#CloudWatchLogsEncoding": { - "type": "string", - "traits": { - "smithy.api#documentation": "Specifies the encoding of the log file so that the file can be read correctly. The default is utf_8
. Encodings supported by Python codecs.decode()
can be used here.
Specifies where to start to read data (start_of_file or end_of_file). The default is start_of_file. It's only used if there is no state persisted for that log stream.
", - "smithy.api#enum": [ - { - "value": "start_of_file", - "name": "start_of_file" - }, - { - "value": "end_of_file", - "name": "end_of_file" - } - ] + "smithy.api#documentation": "Specifies where to start to read data (start_of_file or end_of_file). The default is start_of_file. It's only used if there is no state persisted for that log stream.
" } }, "com.amazonaws.opsworks#CloudWatchLogsLogStream": { @@ -1184,19 +1410,23 @@ } }, "com.amazonaws.opsworks#CloudWatchLogsTimeZone": { - "type": "string", - "traits": { - "smithy.api#documentation": "The preferred time zone for logs streamed to CloudWatch Logs. Valid values are LOCAL
and UTC
, for Coordinated Universal Time.
The preferred time zone for logs streamed to CloudWatch Logs. Valid values are LOCAL
and UTC
, for Coordinated Universal Time.
An array of EnvironmentVariable
objects that specify environment variables to be\n associated with the app. After you deploy the app, these variables are defined on the\n associated app server instance. For more information, see Environment Variables.
There is no specific limit on the number of environment variables. However, the size of the associated data structure - which includes the variables' names, values, and protected flag values - cannot exceed 20 KB. This limit should accommodate most if not all use cases. Exceeding it will cause an exception with the message, \"Environment: is too large (maximum is 20KB).\"
\nIf you have specified one or more environment variables, you cannot modify the stack's Chef version.
\nContains the response to a CreateApp
request.
Contains the response to a CreateApp
request.
A string that contains user-defined, custom JSON. You can use this parameter to override some corresponding default stack configuration JSON values. The string should be in the following format:
\n\n \"{\\\"key1\\\": \\\"value1\\\", \\\"key2\\\": \\\"value2\\\",...}\"
\n
For more information about custom JSON, see Use Custom JSON to\n Modify the Stack Configuration Attributes and \n Overriding Attributes With Custom JSON.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#CreateDeploymentResult": { @@ -1467,7 +1704,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the response to a CreateDeployment
request.
Contains the response to a CreateDeployment
request.
The instance's tenancy option. The default option is no tenancy, or if the instance is running in a VPC, inherit tenancy settings from the VPC. The following are valid values for this parameter: dedicated
, default
, or host
. Because there are costs associated with changes in tenancy options, we recommend that you research tenancy options before choosing them for your instances. For more information about dedicated hosts, see Dedicated Hosts Overview and Amazon EC2 Dedicated Hosts. For more information about dedicated instances, see Dedicated Instances and Amazon EC2 Dedicated Instances.
Contains the response to a CreateInstance
request.
Contains the response to a CreateInstance
request.
A LifeCycleEventConfiguration
object that you can use to configure the Shutdown event to\n specify an execution timeout and enable or disable Elastic Load Balancer connection\n draining.
Contains the response to a CreateLayer
request.
Contains the response to a CreateLayer
request.
The default AWS OpsWorks Stacks agent version. You have the following options:
\nAuto-update - Set this parameter to LATEST
. AWS OpsWorks Stacks\n automatically installs new agent versions on the stack's instances as soon as\n they are available.
Fixed version - Set this parameter to your preferred agent version. To update the agent version, you must edit the stack configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the stack's instances.
\nThe default setting is the most recent release of the agent. To specify an agent version,\n you must use the complete version number, not the abbreviated number shown on the console.\n For a list of available agent version numbers, call DescribeAgentVersions. AgentVersion cannot be set to Chef 12.2.
\nYou can also specify an agent version when you create or update an instance, which overrides the stack's default setting.
\nContains the response to a CreateStack
request.
Contains the response to a CreateStack
request.
Whether users can specify their own SSH public key through the My Settings page. For more\n information, see Setting an IAM\n User's Public SSH Key.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#CreateUserProfileResult": { @@ -1983,7 +2236,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the response to a CreateUserProfile
request.
Contains the response to a CreateUserProfile
request.
Whether to delete the instance's Amazon EBS volumes.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#DeleteLayer": { @@ -2136,6 +2396,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#DeleteStack": { @@ -2168,6 +2431,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#DeleteUserProfile": { @@ -2200,6 +2466,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#Deployment": { @@ -2313,58 +2582,80 @@ } }, "com.amazonaws.opsworks#DeploymentCommandName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "install_dependencies", - "name": "install_dependencies" - }, - { - "value": "update_dependencies", - "name": "update_dependencies" - }, - { - "value": "update_custom_cookbooks", - "name": "update_custom_cookbooks" - }, - { - "value": "execute_recipes", - "name": "execute_recipes" - }, - { - "value": "configure", - "name": "configure" - }, - { - "value": "setup", - "name": "setup" - }, - { - "value": "deploy", - "name": "deploy" - }, - { - "value": "rollback", - "name": "rollback" - }, - { - "value": "start", - "name": "start" - }, - { - "value": "stop", - "name": "stop" - }, - { - "value": "restart", - "name": "restart" - }, - { - "value": "undeploy", - "name": "undeploy" + "type": "enum", + "members": { + "install_dependencies": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "install_dependencies" + } + }, + "update_dependencies": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "update_dependencies" + } + }, + "update_custom_cookbooks": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "update_custom_cookbooks" + } + }, + "execute_recipes": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "execute_recipes" + } + }, + "configure": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "configure" + } + }, + "setup": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "setup" + } + }, + "deploy": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "deploy" } - ] + }, + "rollback": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "rollback" + } + }, + "start": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "start" + } + }, + "stop": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "stop" + } + }, + "restart": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "restart" + } + }, + "undeploy": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "undeploy" + } + } } }, "com.amazonaws.opsworks#Deployments": { @@ -2403,6 +2694,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#DeregisterElasticIp": { @@ -2435,6 +2729,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#DeregisterInstance": { @@ -2467,6 +2764,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#DeregisterRdsDbInstance": { @@ -2499,6 +2799,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#DeregisterVolume": { @@ -2531,6 +2834,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#DescribeAgentVersions": { @@ -2568,6 +2874,9 @@ "smithy.api#documentation": "The configuration manager.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#DescribeAgentVersionsResult": { @@ -2581,7 +2890,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the response to a DescribeAgentVersions
request.
Contains the response to a DescribeAgentVersions
request.
An array of app IDs for the apps to be described. If you use this parameter,\n DescribeApps
returns a description of the specified apps. Otherwise, it returns\n a description of every app.
Contains the response to a DescribeApps
request.
Contains the response to a DescribeApps
request.
An array of command IDs. If you include this parameter, DescribeCommands
returns\n a description of the specified commands. Otherwise, it returns a description of every\n command.
Contains the response to a DescribeCommands
request.
Contains the response to a DescribeCommands
request.
An array of deployment IDs to be described. If you include this parameter,\n the command returns a description of the specified deployments.\n Otherwise, it returns a description of every deployment.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#DescribeDeploymentsResult": { @@ -2793,7 +3114,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the response to a DescribeDeployments
request.
Contains the response to a DescribeDeployments
request.
To receive a paginated response, use this parameter to specify the maximum number\n of results to be returned with a single call. If the number of available results exceeds this maximum, the\n response includes a NextToken
value that you can assign\n to the NextToken
request parameter to get the next set of results.
Contains the response to a DescribeEcsClusters
request.
Contains the response to a DescribeEcsClusters
request.
An array of Elastic IP addresses to be described. If you include this parameter,\n DescribeElasticIps
returns a description of the specified Elastic IP addresses.\n Otherwise, it returns a description of every Elastic IP address.
Contains the response to a DescribeElasticIps
request.
Contains the response to a DescribeElasticIps
request.
A list of layer IDs. The action describes the Elastic Load Balancing instances for the specified layers.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#DescribeElasticLoadBalancersResult": { @@ -2976,7 +3309,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the response to a DescribeElasticLoadBalancers
request.
Contains the response to a DescribeElasticLoadBalancers
request.
An array of instance IDs to be described. If you use this parameter,\n DescribeInstances
returns a description of the specified instances. Otherwise,\n it returns a description of every instance.
Contains the response to a DescribeInstances
request.
Contains the response to a DescribeInstances
request.
An array of layer IDs that specify the layers to be described. If you omit this parameter,\n DescribeLayers
returns a description of every layer in the specified stack.
Contains the response to a DescribeLayers
request.
Contains the response to a DescribeLayers
request.
Contains the response to a DescribeLoadBasedAutoScaling
request.
Contains the response to a DescribeLoadBasedAutoScaling
request.
Contains the response to a DescribeMyUserProfile
request.
Contains the response to a DescribeMyUserProfile
request.
The response to a DescribeOperatingSystems
request.
The response to a DescribeOperatingSystems
request.
The stack ID.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#DescribePermissionsResult": { @@ -3615,7 +3966,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the response to a DescribePermissions
request.
Contains the response to a DescribePermissions
request.
An array of RAID array IDs. If you use this parameter, DescribeRaidArrays
\n returns descriptions of the specified arrays. Otherwise, it returns a description of every\n array.
Contains the response to a DescribeRaidArrays
request.
Contains the response to a DescribeRaidArrays
request.
An array containing the ARNs of the instances to be described.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#DescribeRdsDbInstancesResult": { @@ -3724,7 +4083,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the response to a DescribeRdsDbInstances
request.
Contains the response to a DescribeRdsDbInstances
request.
An array of service error IDs. If you use this parameter, DescribeServiceErrors
\n returns descriptions of the specified errors. Otherwise, it returns a description of every\n error.
Contains the response to a DescribeServiceErrors
request.
Contains the response to a DescribeServiceErrors
request.
Contains the response to a DescribeStackProvisioningParameters
request.
Contains the response to a DescribeStackProvisioningParameters
request.
Contains the response to a DescribeStackSummary
request.
Contains the response to a DescribeStackSummary
request.
An array of stack IDs that specify the stacks to be described. If you omit this parameter,\n DescribeStacks
returns a description of every stack.
Contains the response to a DescribeStacks
request.
Contains the response to a DescribeStacks
request.
Contains the response to a DescribeTimeBasedAutoScaling
request.
Contains the response to a DescribeTimeBasedAutoScaling
request.
An array of IAM or federated user ARNs that identify the users to be described.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#DescribeUserProfilesResult": { @@ -4015,7 +4398,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the response to a DescribeUserProfiles
request.
Contains the response to a DescribeUserProfiles
request.
Am array of volume IDs. If you use this parameter, DescribeVolumes
returns\n descriptions of the specified volumes. Otherwise, it returns a description of every\n volume.
Contains the response to a DescribeVolumes
request.
Contains the response to a DescribeVolumes
request.
Contains the response to a GetHostnameSuggestion
request.
Contains the response to a GetHostnameSuggestion
request.
The length of time (in minutes) that the grant is valid. When the grant expires at the end of this period, the user will no longer be able to use the credentials to log in. If the user is logged in at the time, he or she automatically will be logged out.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#GrantAccessResult": { @@ -4475,7 +4876,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the response to a GrantAccess
request.
Contains the response to a GrantAccess
request.
The layer name.
" } }, - "Shortname": { - "target": "com.amazonaws.opsworks#String", + "Shortname": { + "target": "com.amazonaws.opsworks#String", + "traits": { + "smithy.api#documentation": "The layer short name.
" + } + }, + "Attributes": { + "target": "com.amazonaws.opsworks#LayerAttributes", + "traits": { + "smithy.api#documentation": "The layer attributes.
\nFor the HaproxyStatsPassword
, MysqlRootPassword
, and\n GangliaPassword
attributes, AWS OpsWorks Stacks returns *****FILTERED*****
\n instead of the actual value
For an ECS Cluster layer, AWS OpsWorks Stacks the EcsClusterArn
attribute is set to the cluster's ARN.
The Amazon CloudWatch Logs configuration settings for the layer.
" + } + }, + "CustomInstanceProfileArn": { + "target": "com.amazonaws.opsworks#String", + "traits": { + "smithy.api#documentation": "The ARN of the default IAM profile to be used for the layer's EC2 instances. For more\n information about IAM ARNs, see Using\n Identifiers.
" + } + }, + "CustomJson": { + "target": "com.amazonaws.opsworks#String", + "traits": { + "smithy.api#documentation": "A JSON formatted string containing the layer's custom stack configuration and deployment attributes.
" + } + }, + "CustomSecurityGroupIds": { + "target": "com.amazonaws.opsworks#Strings", + "traits": { + "smithy.api#documentation": "An array containing the layer's custom security group IDs.
" + } + }, + "DefaultSecurityGroupNames": { + "target": "com.amazonaws.opsworks#Strings", + "traits": { + "smithy.api#documentation": "An array containing the layer's security group names.
" + } + }, + "Packages": { + "target": "com.amazonaws.opsworks#Strings", + "traits": { + "smithy.api#documentation": "An array of Package
objects that describe the layer's packages.
A VolumeConfigurations
object that describes the layer's Amazon EBS volumes.
Whether auto healing is disabled for the layer.
" + } + }, + "AutoAssignElasticIps": { + "target": "com.amazonaws.opsworks#Boolean", + "traits": { + "smithy.api#documentation": "Whether to automatically assign an Elastic IP\n address to the layer's instances. For more information, see How to Edit\n a Layer.
" + } + }, + "AutoAssignPublicIps": { + "target": "com.amazonaws.opsworks#Boolean", + "traits": { + "smithy.api#documentation": "For stacks that are running in a VPC, whether to automatically assign a public IP address to\n the layer's instances. For more information, see How to Edit\n a Layer.
" + } + }, + "DefaultRecipes": { + "target": "com.amazonaws.opsworks#Recipes", + "traits": { + "smithy.api#documentation": "AWS OpsWorks Stacks supports five lifecycle events: setup, configuration, \n deploy, undeploy, and shutdown.\n For each layer, AWS OpsWorks Stacks runs a set of standard recipes for each event. You can also provide \n custom recipes for any or all layers and events. AWS OpsWorks Stacks runs custom event recipes after the standard \n recipes. LayerCustomRecipes
specifies the custom recipes for a particular layer to be run in response to each of \n the five events.
To specify a recipe, use the cookbook's directory name in the repository followed by two colons and the recipe \n name, which is the recipe's file name without the .rb
extension. For example: phpapp2::dbsetup
specifies the \n dbsetup.rb
recipe in the repository's phpapp2
folder.
A LayerCustomRecipes
object that specifies the layer's custom recipes.
Date when the layer was created.
" + } + }, + "InstallUpdatesOnBoot": { + "target": "com.amazonaws.opsworks#Boolean", + "traits": { + "smithy.api#documentation": "Whether to install operating system and package updates when the instance boots. The default\n value is true
. If this value is set to false
, you must then update\n your instances manually by using CreateDeployment to run the\n update_dependencies
stack command or manually running yum
(Amazon\n Linux) or apt-get
(Ubuntu) on the instances.
We strongly recommend using the default value of true
, to ensure that your\n instances have the latest security updates.
Whether the layer uses Amazon EBS-optimized instances.
" + } + }, + "LifecycleEventConfiguration": { + "target": "com.amazonaws.opsworks#LifecycleEventConfiguration", + "traits": { + "smithy.api#documentation": "A LifeCycleEventConfiguration
object that specifies the Shutdown event\n configuration.
Describes a layer.
" + } + }, + "com.amazonaws.opsworks#LayerAttributes": { + "type": "map", + "key": { + "target": "com.amazonaws.opsworks#LayerAttributesKeys" + }, + "value": { + "target": "com.amazonaws.opsworks#String" + } + }, + "com.amazonaws.opsworks#LayerAttributesKeys": { + "type": "enum", + "members": { + "EcsClusterArn": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EcsClusterArn" + } + }, + "EnableHaproxyStats": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EnableHaproxyStats" + } + }, + "HaproxyStatsUrl": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HaproxyStatsUrl" + } + }, + "HaproxyStatsUser": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HaproxyStatsUser" + } + }, + "HaproxyStatsPassword": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HaproxyStatsPassword" + } + }, + "HaproxyHealthCheckUrl": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HaproxyHealthCheckUrl" + } + }, + "HaproxyHealthCheckMethod": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HaproxyHealthCheckMethod" + } + }, + "MysqlRootPassword": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MysqlRootPassword" + } + }, + "MysqlRootPasswordUbiquitous": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MysqlRootPasswordUbiquitous" + } + }, + "GangliaUrl": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GangliaUrl" + } + }, + "GangliaUser": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GangliaUser" + } + }, + "GangliaPassword": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GangliaPassword" + } + }, + "MemcachedMemory": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MemcachedMemory" + } + }, + "NodejsVersion": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NodejsVersion" + } + }, + "RubyVersion": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RubyVersion" + } + }, + "RubygemsVersion": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RubygemsVersion" + } + }, + "ManageBundler": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ManageBundler" + } + }, + "BundlerVersion": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BundlerVersion" + } + }, + "RailsStack": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RailsStack" + } + }, + "PassengerVersion": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "The layer short name.
" + "smithy.api#enumValue": "PassengerVersion" } }, - "Attributes": { - "target": "com.amazonaws.opsworks#LayerAttributes", + "Jvm": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "The layer attributes.
\nFor the HaproxyStatsPassword
, MysqlRootPassword
, and\n GangliaPassword
attributes, AWS OpsWorks Stacks returns *****FILTERED*****
\n instead of the actual value
For an ECS Cluster layer, AWS OpsWorks Stacks the EcsClusterArn
attribute is set to the cluster's ARN.
The Amazon CloudWatch Logs configuration settings for the layer.
" + "smithy.api#enumValue": "JvmVersion" } }, - "CustomInstanceProfileArn": { - "target": "com.amazonaws.opsworks#String", + "JvmOptions": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "The ARN of the default IAM profile to be used for the layer's EC2 instances. For more\n information about IAM ARNs, see Using\n Identifiers.
" + "smithy.api#enumValue": "JvmOptions" } }, - "CustomJson": { - "target": "com.amazonaws.opsworks#String", + "JavaAppServer": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "A JSON formatted string containing the layer's custom stack configuration and deployment attributes.
" + "smithy.api#enumValue": "JavaAppServer" } }, - "CustomSecurityGroupIds": { - "target": "com.amazonaws.opsworks#Strings", + "JavaAppServerVersion": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "An array containing the layer's custom security group IDs.
" + "smithy.api#enumValue": "JavaAppServerVersion" } - }, - "DefaultSecurityGroupNames": { - "target": "com.amazonaws.opsworks#Strings", + } + } + }, + "com.amazonaws.opsworks#LayerType": { + "type": "enum", + "members": { + "aws_flow_ruby": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "An array containing the layer's security group names.
" + "smithy.api#enumValue": "aws-flow-ruby" } }, - "Packages": { - "target": "com.amazonaws.opsworks#Strings", + "ecs_cluster": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "An array of Package
objects that describe the layer's packages.
A VolumeConfigurations
object that describes the layer's Amazon EBS volumes.
Whether auto healing is disabled for the layer.
" + "smithy.api#enumValue": "lb" } }, - "AutoAssignElasticIps": { - "target": "com.amazonaws.opsworks#Boolean", + "web": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "Whether to automatically assign an Elastic IP\n address to the layer's instances. For more information, see How to Edit\n a Layer.
" + "smithy.api#enumValue": "web" } }, - "AutoAssignPublicIps": { - "target": "com.amazonaws.opsworks#Boolean", + "php_app": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "For stacks that are running in a VPC, whether to automatically assign a public IP address to\n the layer's instances. For more information, see How to Edit\n a Layer.
" + "smithy.api#enumValue": "php-app" } }, - "DefaultRecipes": { - "target": "com.amazonaws.opsworks#Recipes", + "rails_app": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "AWS OpsWorks Stacks supports five lifecycle events: setup, configuration, \n deploy, undeploy, and shutdown.\n For each layer, AWS OpsWorks Stacks runs a set of standard recipes for each event. You can also provide \n custom recipes for any or all layers and events. AWS OpsWorks Stacks runs custom event recipes after the standard \n recipes. LayerCustomRecipes
specifies the custom recipes for a particular layer to be run in response to each of \n the five events.
To specify a recipe, use the cookbook's directory name in the repository followed by two colons and the recipe \n name, which is the recipe's file name without the .rb
extension. For example: phpapp2::dbsetup
specifies the \n dbsetup.rb
recipe in the repository's phpapp2
folder.
A LayerCustomRecipes
object that specifies the layer's custom recipes.
Date when the layer was created.
" + "smithy.api#enumValue": "memcached" } }, - "InstallUpdatesOnBoot": { - "target": "com.amazonaws.opsworks#Boolean", + "db_master": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "Whether to install operating system and package updates when the instance boots. The default\n value is true
. If this value is set to false
, you must then update\n your instances manually by using CreateDeployment to run the\n update_dependencies
stack command or manually running yum
(Amazon\n Linux) or apt-get
(Ubuntu) on the instances.
We strongly recommend using the default value of true
, to ensure that your\n instances have the latest security updates.
Whether the layer uses Amazon EBS-optimized instances.
" + "smithy.api#enumValue": "monitoring-master" } }, - "LifecycleEventConfiguration": { - "target": "com.amazonaws.opsworks#LifecycleEventConfiguration", + "custom": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "A LifeCycleEventConfiguration
object that specifies the Shutdown event\n configuration.
Describes a layer.
" - } - }, - "com.amazonaws.opsworks#LayerAttributes": { - "type": "map", - "key": { - "target": "com.amazonaws.opsworks#LayerAttributesKeys" - }, - "value": { - "target": "com.amazonaws.opsworks#String" - } - }, - "com.amazonaws.opsworks#LayerAttributesKeys": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EcsClusterArn", - "name": "EcsClusterArn" - }, - { - "value": "EnableHaproxyStats", - "name": "EnableHaproxyStats" - }, - { - "value": "HaproxyStatsUrl", - "name": "HaproxyStatsUrl" - }, - { - "value": "HaproxyStatsUser", - "name": "HaproxyStatsUser" - }, - { - "value": "HaproxyStatsPassword", - "name": "HaproxyStatsPassword" - }, - { - "value": "HaproxyHealthCheckUrl", - "name": "HaproxyHealthCheckUrl" - }, - { - "value": "HaproxyHealthCheckMethod", - "name": "HaproxyHealthCheckMethod" - }, - { - "value": "MysqlRootPassword", - "name": "MysqlRootPassword" - }, - { - "value": "MysqlRootPasswordUbiquitous", - "name": "MysqlRootPasswordUbiquitous" - }, - { - "value": "GangliaUrl", - "name": "GangliaUrl" - }, - { - "value": "GangliaUser", - "name": "GangliaUser" - }, - { - "value": "GangliaPassword", - "name": "GangliaPassword" - }, - { - "value": "MemcachedMemory", - "name": "MemcachedMemory" - }, - { - "value": "NodejsVersion", - "name": "NodejsVersion" - }, - { - "value": "RubyVersion", - "name": "RubyVersion" - }, - { - "value": "RubygemsVersion", - "name": "RubygemsVersion" - }, - { - "value": "ManageBundler", - "name": "ManageBundler" - }, - { - "value": "BundlerVersion", - "name": "BundlerVersion" - }, - { - "value": "RailsStack", - "name": "RailsStack" - }, - { - "value": "PassengerVersion", - "name": "PassengerVersion" - }, - { - "value": "Jvm", - "name": "Jvm" - }, - { - "value": "JvmVersion", - "name": "JvmVersion" - }, - { - "value": "JvmOptions", - "name": "JvmOptions" - }, - { - "value": "JavaAppServer", - "name": "JavaAppServer" - }, - { - "value": "JavaAppServerVersion", - "name": "JavaAppServerVersion" - } - ] - } - }, - "com.amazonaws.opsworks#LayerType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "aws-flow-ruby", - "name": "aws_flow_ruby" - }, - { - "value": "ecs-cluster", - "name": "ecs_cluster" - }, - { - "value": "java-app", - "name": "java_app" - }, - { - "value": "lb", - "name": "lb" - }, - { - "value": "web", - "name": "web" - }, - { - "value": "php-app", - "name": "php_app" - }, - { - "value": "rails-app", - "name": "rails_app" - }, - { - "value": "nodejs-app", - "name": "nodejs_app" - }, - { - "value": "memcached", - "name": "memcached" - }, - { - "value": "db-master", - "name": "db_master" - }, - { - "value": "monitoring-master", - "name": "monitoring_master" - }, - { - "value": "custom", - "name": "custom" - } - ] } }, "com.amazonaws.opsworks#Layers": { @@ -5272,6 +5744,9 @@ "smithy.api#documentation": "Do not use. A validation exception occurs if you add a NextToken
parameter to a ListTagsRequest
call.\n
Contains the response to a ListTags
request.
Contains the response to a ListTags
request.
Contains the response to a RegisterEcsCluster
request.
Contains the response to a RegisterEcsCluster
request.
Contains the response to a RegisterElasticIp
request.
Contains the response to a RegisterElasticIp
request.
An InstanceIdentity object that contains the instance's identity.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#RegisterInstanceResult": { @@ -6942,7 +7446,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the response to a RegisterInstanceResult
request.
Contains the response to a RegisterInstanceResult
request.
Contains the response to a RegisterVolume
request.
Contains the response to a RegisterVolume
request.
An AutoScalingThresholds
object with the downscaling threshold configuration. If\n the load falls below these thresholds for a specified amount of time, AWS OpsWorks Stacks stops a specified\n number of instances.
The user's permission level, which must be set to one of the following strings. You cannot set your own permissions level.
\n\n deny
\n
\n show
\n
\n deploy
\n
\n manage
\n
\n iam_only
\n
For more information about the permissions associated with these levels, see Managing User Permissions.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#SetTimeBasedAutoScaling": { @@ -7334,6 +7854,9 @@ "smithy.api#documentation": "An AutoScalingSchedule
with the instance schedule.
Specifies whether to force an instance to stop. If the instance's root device type is ebs
, or EBS-backed, \n adding the Force
parameter to the StopInstances
API call disassociates the AWS OpsWorks Stacks instance from EC2, and forces deletion of only the OpsWorks Stacks instance. \n You must also delete the formerly-associated instance in EC2 after troubleshooting and replacing the AWS OpsWorks Stacks instance with a new one.
An array of EnvironmentVariable
objects that specify environment variables to be\n associated with the app. After you deploy the app, these variables are defined on the\n associated app server instances.For more information, see Environment Variables.
There is no specific limit on the number of environment variables. However, the size of the associated data structure - which includes the variables' names, values, and protected flag values - cannot exceed 20 KB. This limit should accommodate most if not all use cases. Exceeding it will cause an exception with the message, \"Environment: is too large (maximum is 20 KB).\"
\nIf you have specified one or more environment variables, you cannot modify the stack's Chef version.
\nThe new name.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#UpdateInstance": { @@ -8274,6 +8833,9 @@ "smithy.api#documentation": "The default AWS OpsWorks Stacks agent version. You have the following options:
\n\n INHERIT
- Use the stack's default agent version setting.
\n version_number - Use the specified agent version.\n This value overrides the stack's default setting.\n To update the agent version, you must edit the instance configuration and specify a\n new version.\n AWS OpsWorks Stacks then automatically installs that version on the instance.
\nThe default setting is INHERIT
. To specify an agent version,\n you must use the complete version number, not the abbreviated number shown on the console.\n For a list of available agent version numbers, call DescribeAgentVersions.
AgentVersion cannot be set to Chef 12.2.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#UpdateLayer": { @@ -8402,6 +8964,9 @@ "smithy.api#documentation": "" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#UpdateMyUserProfile": { @@ -8430,6 +8995,9 @@ "smithy.api#documentation": "The user's SSH public key.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#UpdateRdsDbInstance": { @@ -8474,6 +9042,9 @@ "smithy.api#documentation": "The database password.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#UpdateStack": { @@ -8608,6 +9179,9 @@ "smithy.api#documentation": "The default AWS OpsWorks Stacks agent version. You have the following options:
\nAuto-update - Set this parameter to LATEST
. AWS OpsWorks Stacks\n automatically installs new agent versions on the stack's instances as soon as\n they are available.
Fixed version - Set this parameter to your preferred agent version. To update the agent version, you must edit the stack configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the stack's instances.
\nThe default setting is LATEST
. To specify an agent version,\n you must use the complete version number, not the abbreviated number shown on the console.\n For a list of available agent version numbers, call DescribeAgentVersions. \n AgentVersion cannot be set to Chef 12.2.
You can also specify an agent version when you create or update an instance, which overrides the stack's default setting.
\nWhether users can specify their own SSH public key through the My Settings page. For more\n information, see Managing User\n Permissions.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#UpdateVolume": { @@ -8702,6 +9279,9 @@ "smithy.api#documentation": "The new mount point.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworks#UserProfile": { @@ -8773,18 +9353,20 @@ } }, "com.amazonaws.opsworks#VirtualizationType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "paravirtual", - "name": "paravirtual" - }, - { - "value": "hvm", - "name": "hvm" + "type": "enum", + "members": { + "paravirtual": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "paravirtual" } - ] + }, + "hvm": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "hvm" + } + } } }, "com.amazonaws.opsworks#Volume": { @@ -8939,22 +9521,26 @@ } }, "com.amazonaws.opsworks#VolumeType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "gp2", - "name": "gp2" - }, - { - "value": "io1", - "name": "io1" - }, - { - "value": "standard", - "name": "standard" + "type": "enum", + "members": { + "gp2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "gp2" + } + }, + "io1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "io1" } - ] + }, + "standard": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "standard" + } + } } }, "com.amazonaws.opsworks#Volumes": { diff --git a/codegen/sdk-codegen/aws-models/opsworkscm.json b/codegen/sdk-codegen/aws-models/opsworkscm.json index 2db2e37eec8..33c41f2a3d6 100644 --- a/codegen/sdk-codegen/aws-models/opsworkscm.json +++ b/codegen/sdk-codegen/aws-models/opsworkscm.json @@ -32,7 +32,7 @@ "com.amazonaws.opsworkscm#AWSOpsWorksCMResourceArn": { "type": "string", "traits": { - "smithy.api#pattern": "arn:aws.*:opsworks-cm:.*:[0-9]{12}:.*" + "smithy.api#pattern": "^arn:aws.*:opsworks-cm:.*:[0-9]{12}:" } }, "com.amazonaws.opsworkscm#AccountAttribute": { @@ -117,6 +117,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworkscm#AssociateNodeResponse": { @@ -128,6 +131,9 @@ "smithy.api#documentation": "Contains a token which can be passed to the DescribeNodeAssociationStatus
API call to get the status of the association request.\n
A map that contains tag keys and tag values to attach to an AWS OpsWorks-CM server backup.
\nThe key cannot be empty.
\nThe key can be a maximum of 127 characters, and can contain only Unicode letters, numbers, or separators, or the following special characters: + - = . _ : /
\n
The value can be a maximum 255 characters, and contain only Unicode letters, numbers, or separators, or the following special characters: + - = . _ : /
\n
Leading and trailing white spaces are trimmed from both the key and value.
\nA maximum of 50 user-applied tags is allowed for tag-supported AWS OpsWorks-CM resources.
\nBackup created by request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.opsworkscm#CreateServer": { @@ -590,6 +610,9 @@ "smithy.api#documentation": "\n If you specify this field, AWS OpsWorks CM creates the server by using the backup represented by BackupId.\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworkscm#CreateServerResponse": { @@ -601,6 +624,9 @@ "smithy.api#documentation": "The server that is created by the request.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.opsworkscm#CustomCertificate": { @@ -610,7 +636,7 @@ "min": 0, "max": 2097152 }, - "smithy.api#pattern": "(?s)\\s*-----BEGIN CERTIFICATE-----.+-----END CERTIFICATE-----\\s*" + "smithy.api#pattern": "^(?s)\\s*-----BEGIN CERTIFICATE-----.+-----END CERTIFICATE-----\\s*$" } }, "com.amazonaws.opsworkscm#CustomDomain": { @@ -630,7 +656,7 @@ "min": 0, "max": 4096 }, - "smithy.api#pattern": "(?ms)\\s*^-----BEGIN (?-s:.*)PRIVATE KEY-----$.*?^-----END (?-s:.*)PRIVATE KEY-----$\\s*", + "smithy.api#pattern": "^(?ms)\\s*^-----BEGIN (?-s:.*)PRIVATE KEY-----$.*?^-----END (?-s:.*)PRIVATE KEY-----$\\s*$", "smithy.api#sensitive": {} } }, @@ -667,11 +693,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworkscm#DeleteBackupResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.opsworkscm#DeleteServer": { "type": "operation", @@ -706,11 +738,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworkscm#DeleteServerResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.opsworkscm#DescribeAccountAttributes": { "type": "operation", @@ -726,7 +764,10 @@ }, "com.amazonaws.opsworkscm#DescribeAccountAttributesRequest": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.opsworkscm#DescribeAccountAttributesResponse": { "type": "structure", @@ -737,6 +778,9 @@ "smithy.api#documentation": "\n The attributes that are currently set for the account.\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.opsworkscm#DescribeBackups": { @@ -795,6 +839,9 @@ "smithy.api#documentation": "This is not currently implemented for DescribeBackups
requests.
This is not currently implemented for DescribeBackups
requests.
To receive a paginated response, use this parameter to specify the maximum number\n of results to be returned with a single call. If the number of available results exceeds\n this maximum, the response includes a NextToken
value that you can assign to the NextToken
\n request parameter to get the next set of results.\n
NextToken is a string that is returned in some command responses. It indicates that\n not all entries have been returned, and that you must run at least one more request to get remaining\n items. To get remaining results, call DescribeEvents
again, and assign the token from the previous\n results as the value of the nextToken
parameter. If there are no more results,\n the response object's nextToken
parameter value is null
.\n Setting a nextToken
value that was not returned in\n your previous results causes an InvalidNextTokenException
to occur.\n
Attributes specific to the node association. \n In Puppet, the attibute PUPPET_NODE_CERT contains the signed certificate (the result of the CSR).\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.opsworkscm#DescribeServers": { @@ -1018,6 +1080,9 @@ "smithy.api#documentation": "This is not currently implemented for DescribeServers
requests.\n
This is not currently implemented for DescribeServers
requests.\n
Engine attributes that are used for disassociating the node. No attributes are required for Puppet.\n
\n\n Attributes required in a DisassociateNode request for Chef\n
\n\n CHEF_ORGANIZATION
: The Chef organization\n with which the node was associated. By default only one organization\n named default
can exist.\n
Contains a token which can be passed to the\n DescribeNodeAssociationStatus
API call to get the status of\n the disassociation request.\n
The list of engine attributes. The list type is EngineAttribute
. An EngineAttribute
list item \n is a pair that includes an attribute name and its value. For the Userdata
ExportAttributeName, the following are \n supported engine attribute names.
\n RunList In Chef, a list of roles or recipes that are run in the specified order. \n In Puppet, this parameter is ignored.
\n\n OrganizationName In Chef, an organization name. AWS OpsWorks for Chef Automate \n always creates the organization default
. In Puppet, this parameter is ignored.
\n NodeEnvironment In Chef, a node environment (for example, development, staging, or one-box). \n In Puppet, this parameter is ignored.
\n\n NodeClientVersion In Chef, the version of the Chef engine (three numbers separated \n by dots, such as 13.8.5). If this attribute is empty, OpsWorks for Chef Automate uses the most current version. In Puppet, \n this parameter is ignored.
\nThe server name used in the request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.opsworkscm#InstanceProfileArn": { @@ -1215,7 +1295,7 @@ "min": 0, "max": 10000 }, - "smithy.api#pattern": "arn:aws:iam::[0-9]{12}:instance-profile/.*" + "smithy.api#pattern": "^arn:aws:iam::[0-9]{12}:instance-profile/" } }, "com.amazonaws.opsworkscm#Integer": { @@ -1324,6 +1404,9 @@ "smithy.api#documentation": "To receive a paginated response, use this parameter to specify the maximum number\n of results to be returned with a single call. If the number of available results exceeds\n this maximum, the response includes a NextToken
value that you can assign to the NextToken
\n request parameter to get the next set of results.
A token that you can use as the value of NextToken
in subsequent calls to the API to show more results.
The status of the association or disassociation request.\n
\n\n Possible values:\n
\n\n SUCCESS
: The association or disassociation succeeded.\n
\n FAILED
: The association or disassociation failed.\n
\n IN_PROGRESS
: The association or disassociation is still in progress.\n
The status of the association or disassociation request.\n
\n\n Possible values:\n
\n\n SUCCESS
: The association or disassociation succeeded.\n
\n FAILED
: The association or disassociation failed.\n
\n IN_PROGRESS
: The association or disassociation is still in progress.\n
The name of the key pair to set on the new EC2 instance. This can be helpful\n if the administrator no longer has the SSH key.\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworkscm#RestoreServerResponse": { @@ -2306,6 +2417,9 @@ "Server": { "target": "com.amazonaws.opsworkscm#Server" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.opsworkscm#Server": { @@ -2505,66 +2619,90 @@ "min": 1, "max": 40 }, - "smithy.api#pattern": "[a-zA-Z][a-zA-Z0-9\\-]*" + "smithy.api#pattern": "^[a-zA-Z][a-zA-Z0-9\\-]*$" } }, "com.amazonaws.opsworkscm#ServerStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "BACKING_UP", - "name": "BACKING_UP" - }, - { - "value": "CONNECTION_LOST", - "name": "CONNECTION_LOST" - }, - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "DELETING", - "name": "DELETING" - }, - { - "value": "MODIFYING", - "name": "MODIFYING" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "HEALTHY", - "name": "HEALTHY" - }, - { - "value": "RUNNING", - "name": "RUNNING" - }, - { - "value": "RESTORING", - "name": "RESTORING" - }, - { - "value": "SETUP", - "name": "SETUP" - }, - { - "value": "UNDER_MAINTENANCE", - "name": "UNDER_MAINTENANCE" - }, - { - "value": "UNHEALTHY", - "name": "UNHEALTHY" - }, - { - "value": "TERMINATED", - "name": "TERMINATED" + "type": "enum", + "members": { + "BACKING_UP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BACKING_UP" } - ] + }, + "CONNECTION_LOST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONNECTION_LOST" + } + }, + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "MODIFYING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MODIFYING" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "HEALTHY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HEALTHY" + } + }, + "RUNNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RUNNING" + } + }, + "RESTORING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESTORING" + } + }, + "SETUP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SETUP" + } + }, + "UNDER_MAINTENANCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNDER_MAINTENANCE" + } + }, + "UNHEALTHY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNHEALTHY" + } + }, + "TERMINATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TERMINATED" + } + } } }, "com.amazonaws.opsworkscm#Servers": { @@ -2580,7 +2718,7 @@ "min": 0, "max": 10000 }, - "smithy.api#pattern": "arn:aws:iam::[0-9]{12}:role/.*" + "smithy.api#pattern": "^arn:aws:iam::[0-9]{12}:role/" } }, "com.amazonaws.opsworkscm#StartMaintenance": { @@ -2622,6 +2760,9 @@ "smithy.api#documentation": "Engine attributes that are specific to the server on which you want to run maintenance.
\n\n Attributes accepted in a StartMaintenance request for Chef\n
\n\n CHEF_MAJOR_UPGRADE
: If a Chef Automate server is eligible for upgrade to Chef Automate 2, \n add this engine attribute to a StartMaintenance
request and set the value to true
to upgrade the server to Chef Automate 2. For more information, see \n Upgrade an AWS OpsWorks for Chef Automate Server to Chef Automate 2.\n
Contains the response to a StartMaintenance
request.\n
The value to set for the attribute.\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.opsworkscm#UpdateServerEngineAttributesResponse": { @@ -2903,6 +3062,9 @@ "smithy.api#documentation": "Contains the response to an UpdateServerEngineAttributes
request.\n
Contains the response to a UpdateServer
request.\n
A string map of event-specific data that you might choose to record. For example, if a\n user rates a movie on your site, other than movie ID (itemId
) and rating (eventValue
)\n , you might also send the number of movie ratings made by the user.
Each item in the map consists of a key-value pair. For example,
\n \n\n {\"numberOfRatings\": \"12\"}
\n
The keys use camel case names that match the fields in the Interactions\n schema. In the above example, the numberOfRatings
would match the\n 'NUMBER_OF_RATINGS' field defined in the Interactions schema.
A string map of event-specific data that you might choose to record. For example, if a\n user rates a movie on your site, other than movie ID (itemId
) and rating (eventValue
)\n , you might also send the number of movie ratings made by the user.
Each item in the map consists of a key-value pair. For example,
\n\n {\"numberOfRatings\": \"12\"}
\n
The keys use camel case names that match the fields in the Interactions\n schema. In the above example, the numberOfRatings
would match the\n 'NUMBER_OF_RATINGS' field defined in the Interactions schema.
The values to use when filtering recommendations. For each placeholder parameter in your filter expression, provide the parameter name (in matching case)\n as a key and the filter value(s) as the corresponding value. Separate multiple values for one parameter with a comma.\n
\nFor filter expressions that use an INCLUDE
element to include items,\n you must provide values for all parameters that are defined in the expression. For\n filters with expressions that use an EXCLUDE
element to exclude items, you\n can omit the filter-values
.In this case, Amazon Personalize doesn't use that portion of\n the expression to filter recommendations.
For more information, see\n Filtering Recommendations.
" + "smithy.api#documentation": "The values to use when filtering recommendations. For each placeholder parameter in your filter expression, provide the parameter name (in matching case)\n as a key and the filter value(s) as the corresponding value. Separate multiple values for one parameter with a comma.\n
\nFor filter expressions that use an INCLUDE
element to include items,\n you must provide values for all parameters that are defined in the expression. For\n filters with expressions that use an EXCLUDE
element to exclude items, you\n can omit the filter-values
.In this case, Amazon Personalize doesn't use that portion of\n the expression to filter recommendations.
For more information, see\n Filtering Recommendations.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.personalizeruntime#GetPersonalizedRankingResponse": { @@ -838,6 +855,9 @@ "smithy.api#documentation": "The ID of the recommendation.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.personalizeruntime#GetRecommendations": { @@ -909,7 +929,7 @@ "filterValues": { "target": "com.amazonaws.personalizeruntime#FilterValues", "traits": { - "smithy.api#documentation": "The values to use when filtering recommendations. For each placeholder parameter in your filter expression, provide the parameter name (in matching case)\n as a key and the filter value(s) as the corresponding value. Separate multiple values for one parameter with a comma.\n
\nFor filter expressions that use an INCLUDE
element to include items,\n you must provide values for all parameters that are defined in the expression. For\n filters with expressions that use an EXCLUDE
element to exclude items, you\n can omit the filter-values
.In this case, Amazon Personalize doesn't use that portion of\n the expression to filter recommendations.
For more information, see\n Filtering recommendations and user segments.
" + "smithy.api#documentation": "The values to use when filtering recommendations. For each placeholder parameter in your filter expression, provide the parameter name (in matching case)\n as a key and the filter value(s) as the corresponding value. Separate multiple values for one parameter with a comma.\n
\nFor filter expressions that use an INCLUDE
element to include items,\n you must provide values for all parameters that are defined in the expression. For\n filters with expressions that use an EXCLUDE
element to exclude items, you\n can omit the filter-values
.In this case, Amazon Personalize doesn't use that portion of\n the expression to filter recommendations.
For more information, see\n Filtering recommendations and user segments.
" } }, "recommenderArn": { @@ -924,6 +944,9 @@ "smithy.api#documentation": "The promotions to apply to the recommendation request. \n A promotion defines additional business rules that apply to a configurable subset of recommended items.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.personalizeruntime#GetRecommendationsResponse": { @@ -941,6 +964,9 @@ "smithy.api#documentation": "The ID of the recommendation.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.personalizeruntime#InputList": { diff --git a/codegen/sdk-codegen/aws-models/personalize.json b/codegen/sdk-codegen/aws-models/personalize.json index a1c62d3218b..c6b9840b2cb 100644 --- a/codegen/sdk-codegen/aws-models/personalize.json +++ b/codegen/sdk-codegen/aws-models/personalize.json @@ -407,52 +407,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", @@ -460,13 +464,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -476,224 +489,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://personalize-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://personalize-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": [ { "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": [], - "endpoint": { - "url": "https://personalize-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://personalize-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://personalize.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://personalize.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://personalize.{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://personalize.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/pinpoint-email.json b/codegen/sdk-codegen/aws-models/pinpoint-email.json index 92121e00083..a4d3c61d698 100644 --- a/codegen/sdk-codegen/aws-models/pinpoint-email.json +++ b/codegen/sdk-codegen/aws-models/pinpoint-email.json @@ -260,52 +260,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", @@ -313,13 +317,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -329,224 +342,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://email-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://email-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": [ { "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": [], - "endpoint": { - "url": "https://email-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://email-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://email.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://email.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://email.{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://email.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -561,8 +525,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -574,8 +538,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -587,8 +551,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -600,8 +564,8 @@ }, "params": { "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -613,8 +577,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -626,8 +590,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -639,8 +603,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -652,8 +616,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -665,8 +629,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -678,8 +642,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -691,8 +655,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -704,8 +668,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -717,8 +681,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -730,8 +694,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -743,8 +707,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -756,8 +720,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -769,8 +733,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -782,8 +746,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -795,8 +759,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -808,8 +772,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -821,8 +785,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -834,8 +798,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -847,8 +811,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -860,8 +824,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -873,8 +837,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -886,8 +850,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -899,8 +863,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -912,8 +876,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -925,8 +889,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -938,8 +902,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -951,8 +915,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -964,8 +928,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -977,8 +941,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -990,8 +954,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -1003,8 +978,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 } }, { @@ -1016,8 +1002,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -1029,8 +1026,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 } }, { @@ -1042,8 +1050,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1055,8 +1063,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1068,8 +1076,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1080,8 +1088,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1092,10 +1100,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" @@ -1119,19 +1133,23 @@ } }, "com.amazonaws.pinpointemail#BehaviorOnMxFailure": { - "type": "string", - "traits": { - "smithy.api#documentation": "The action that you want Amazon Pinpoint to take if it can't read the required MX record for a\n custom MAIL FROM domain. When you set this value to UseDefaultValue
, Amazon Pinpoint\n uses amazonses.com as the MAIL FROM domain. When you set this value\n to RejectMessage
, Amazon Pinpoint returns a MailFromDomainNotVerified
\n error, and doesn't attempt to deliver the email.
These behaviors are taken when the custom MAIL FROM domain configuration is in the\n Pending
, Failed
, and TemporaryFailure
\n states.
The action that you want Amazon Pinpoint to take if it can't read the required MX record for a\n custom MAIL FROM domain. When you set this value to UseDefaultValue
, Amazon Pinpoint\n uses amazonses.com as the MAIL FROM domain. When you set this value\n to RejectMessage
, Amazon Pinpoint returns a MailFromDomainNotVerified
\n error, and doesn't attempt to deliver the email.
These behaviors are taken when the custom MAIL FROM domain configuration is in the\n Pending
, Failed
, and TemporaryFailure
\n states.
A request to add an event destination to a configuration set.
" + "smithy.api#documentation": "A request to add an event destination to a configuration set.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#CreateConfigurationSetEventDestinationResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
" + "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#CreateConfigurationSetRequest": { @@ -1465,14 +1485,16 @@ } }, "traits": { - "smithy.api#documentation": "A request to create a configuration set.
" + "smithy.api#documentation": "A request to create a configuration set.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#CreateConfigurationSetResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
" + "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#CreateDedicatedIpPool": { @@ -1527,14 +1549,16 @@ } }, "traits": { - "smithy.api#documentation": "A request to create a new dedicated IP pool.
" + "smithy.api#documentation": "A request to create a new dedicated IP pool.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#CreateDedicatedIpPoolResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
" + "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#CreateDeliverabilityTestReport": { @@ -1614,7 +1638,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to perform a predictive inbox placement test. Predictive inbox placement tests can help you predict how your messages will\n be handled by various email providers around the world. When you perform a predictive inbox placement test, you\n provide a sample message that contains the content that you plan to send to your\n customers. Amazon Pinpoint then sends that message to special email addresses spread across\n several major email providers. After about 24 hours, the test is complete, and you can\n use the GetDeliverabilityTestReport
operation to view the results of the\n test.
A request to perform a predictive inbox placement test. Predictive inbox placement tests can help you predict how your messages will\n be handled by various email providers around the world. When you perform a predictive inbox placement test, you\n provide a sample message that contains the content that you plan to send to your\n customers. Amazon Pinpoint then sends that message to special email addresses spread across\n several major email providers. After about 24 hours, the test is complete, and you can\n use the GetDeliverabilityTestReport
operation to view the results of the\n test.
Information about the predictive inbox placement test that you created.
" + "smithy.api#documentation": "Information about the predictive inbox placement test that you created.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#CreateEmailIdentity": { @@ -1688,7 +1714,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to begin the verification process for an email identity (an email address or\n domain).
" + "smithy.api#documentation": "A request to begin the verification process for an email identity (an email address or\n domain).
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#CreateEmailIdentityResponse": { @@ -1715,7 +1742,8 @@ } }, "traits": { - "smithy.api#documentation": "If the email identity is a domain, this object contains tokens that you can use to\n create a set of CNAME records. To sucessfully verify your domain, you have to add these\n records to the DNS configuration for your domain.
\nIf the email identity is an email address, this object is empty.
" + "smithy.api#documentation": "If the email identity is a domain, this object contains tokens that you can use to\n create a set of CNAME records. To sucessfully verify your domain, you have to add these\n records to the DNS configuration for your domain.
\nIf the email identity is an email address, this object is empty.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#CustomRedirectDomain": { @@ -1886,14 +1914,16 @@ } }, "traits": { - "smithy.api#documentation": "A request to delete an event destination from a configuration set.
" + "smithy.api#documentation": "A request to delete an event destination from a configuration set.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#DeleteConfigurationSetEventDestinationResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
" + "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#DeleteConfigurationSetRequest": { @@ -1909,14 +1939,16 @@ } }, "traits": { - "smithy.api#documentation": "A request to delete a configuration set.
" + "smithy.api#documentation": "A request to delete a configuration set.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#DeleteConfigurationSetResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
" + "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#DeleteDedicatedIpPool": { @@ -1963,14 +1995,16 @@ } }, "traits": { - "smithy.api#documentation": "A request to delete a dedicated IP pool.
" + "smithy.api#documentation": "A request to delete a dedicated IP pool.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#DeleteDedicatedIpPoolResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
" + "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#DeleteEmailIdentity": { @@ -2017,34 +2051,42 @@ } }, "traits": { - "smithy.api#documentation": "A request to delete an existing email identity. When you delete an identity, you lose\n the ability to use Amazon Pinpoint to send email from that identity. You can restore your ability\n to send email by completing the verification process for the identity again.
" + "smithy.api#documentation": "A request to delete an existing email identity. When you delete an identity, you lose\n the ability to use Amazon Pinpoint to send email from that identity. You can restore your ability\n to send email by completing the verification process for the identity again.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#DeleteEmailIdentityResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
" + "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#DeliverabilityDashboardAccountStatus": { - "type": "string", - "traits": { - "smithy.api#documentation": "The current status of your Deliverability dashboard subscription. If this value is\n PENDING_EXPIRATION
, your subscription is scheduled to expire at the end\n of the current calendar month.
The current status of your Deliverability dashboard subscription. If this value is\n PENDING_EXPIRATION
, your subscription is scheduled to expire at the end\n of the current calendar month.
The status of a predictive inbox placement test. If the status is IN_PROGRESS
, then the predictive inbox placement test is\n currently running. Predictive inbox placement tests are usually complete within 24 hours of creating the test.\n If the status is COMPLETE
, then the test is finished, and you can use the\n GetDeliverabilityTestReport
operation to view the results of the\n test.
The status of a predictive inbox placement test. If the status is IN_PROGRESS
, then the predictive inbox placement test is\n currently running. Predictive inbox placement tests are usually complete within 24 hours of creating the test.\n If the status is COMPLETE
, then the test is finished, and you can use the\n GetDeliverabilityTestReport
operation to view the results of the\n test.
The location where Amazon Pinpoint finds the value of a dimension to publish to Amazon CloudWatch. If you\n want Amazon Pinpoint to use the message tags that you specify using an X-SES-MESSAGE-TAGS header\n or a parameter to the SendEmail/SendRawEmail API, choose messageTag
. If you\n want Amazon Pinpoint to use your own email headers, choose emailHeader
. If you want\n Amazon Pinpoint to use link tags, choose linkTags
.
The location where Amazon Pinpoint finds the value of a dimension to publish to Amazon CloudWatch. If you\n want Amazon Pinpoint to use the message tags that you specify using an X-SES-MESSAGE-TAGS header\n or a parameter to the SendEmail/SendRawEmail API, choose messageTag
. If you\n want Amazon Pinpoint to use your own email headers, choose emailHeader
. If you want\n Amazon Pinpoint to use link tags, choose linkTags
.
The DKIM authentication status of the identity. The status can be one of the\n following:
\n\n PENDING
– The DKIM verification process was initiated, and\n Amazon Pinpoint is still waiting for the required CNAME records to appear in the DNS\n configuration for the domain.
\n SUCCESS
– The DKIM authentication process completed\n successfully.
\n FAILED
– The DKIM authentication process failed. This can\n happen when Amazon Pinpoint fails to find the required CNAME records in the DNS\n configuration of the domain.
\n TEMPORARY_FAILURE
– A temporary issue is preventing Amazon Pinpoint\n from determining the DKIM authentication status of the domain.
\n NOT_STARTED
– The DKIM verification process hasn't been\n initiated for the domain.
The DKIM authentication status of the identity. The status can be one of the\n following:
\n\n PENDING
– The DKIM verification process was initiated, and\n Amazon Pinpoint is still waiting for the required CNAME records to appear in the DNS\n configuration for the domain.
\n SUCCESS
– The DKIM authentication process completed\n successfully.
\n FAILED
– The DKIM authentication process failed. This can\n happen when Amazon Pinpoint fails to find the required CNAME records in the DNS\n configuration of the domain.
\n TEMPORARY_FAILURE
– A temporary issue is preventing Amazon Pinpoint\n from determining the DKIM authentication status of the domain.
\n NOT_STARTED
– The DKIM verification process hasn't been\n initiated for the domain.
An email sending event type. For example, email sends, opens, and bounces are all\n email events.
", - "smithy.api#enum": [ - { - "value": "SEND", - "name": "SEND" - }, - { - "value": "REJECT", - "name": "REJECT" - }, - { - "value": "BOUNCE", - "name": "BOUNCE" - }, - { - "value": "COMPLAINT", - "name": "COMPLAINT" - }, - { - "value": "DELIVERY", - "name": "DELIVERY" - }, - { - "value": "OPEN", - "name": "OPEN" - }, - { - "value": "CLICK", - "name": "CLICK" - }, - { - "value": "RENDERING_FAILURE", - "name": "RENDERING_FAILURE" + "type": "enum", + "members": { + "SEND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SEND" } - ] + }, + "REJECT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REJECT" + } + }, + "BOUNCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BOUNCE" + } + }, + "COMPLAINT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLAINT" + } + }, + "DELIVERY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELIVERY" + } + }, + "OPEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPEN" + } + }, + "CLICK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLICK" + } + }, + "RENDERING_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RENDERING_FAILURE" + } + } + }, + "traits": { + "smithy.api#documentation": "An email sending event type. For example, email sends, opens, and bounces are all\n email events.
" } }, "com.amazonaws.pinpointemail#EventTypes": { @@ -2679,7 +2757,8 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "A request to obtain information about the email-sending capabilities of your Amazon Pinpoint\n account.
" + "smithy.api#documentation": "A request to obtain information about the email-sending capabilities of your Amazon Pinpoint\n account.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#GetAccountResponse": { @@ -2720,7 +2799,8 @@ } }, "traits": { - "smithy.api#documentation": "A list of details about the email-sending capabilities of your Amazon Pinpoint account in the\n current AWS Region.
" + "smithy.api#documentation": "A list of details about the email-sending capabilities of your Amazon Pinpoint account in the\n current AWS Region.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#GetBlacklistReports": { @@ -2764,7 +2844,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to retrieve a list of the blacklists that your dedicated IP addresses appear\n on.
" + "smithy.api#documentation": "A request to retrieve a list of the blacklists that your dedicated IP addresses appear\n on.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#GetBlacklistReportsResponse": { @@ -2779,7 +2860,8 @@ } }, "traits": { - "smithy.api#documentation": "An object that contains information about blacklist events.
" + "smithy.api#documentation": "An object that contains information about blacklist events.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#GetConfigurationSet": { @@ -2851,7 +2933,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to obtain information about the event destinations for a configuration\n set.
" + "smithy.api#documentation": "A request to obtain information about the event destinations for a configuration\n set.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#GetConfigurationSetEventDestinationsResponse": { @@ -2865,7 +2948,8 @@ } }, "traits": { - "smithy.api#documentation": "Information about an event destination for a configuration set.
" + "smithy.api#documentation": "Information about an event destination for a configuration set.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#GetConfigurationSetRequest": { @@ -2881,7 +2965,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to obtain information about a configuration set.
" + "smithy.api#documentation": "A request to obtain information about a configuration set.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#GetConfigurationSetResponse": { @@ -2925,7 +3010,8 @@ } }, "traits": { - "smithy.api#documentation": "Information about a configuration set.
" + "smithy.api#documentation": "Information about a configuration set.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#GetDedicatedIp": { @@ -2969,7 +3055,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to obtain more information about a dedicated IP address.
" + "smithy.api#documentation": "A request to obtain more information about a dedicated IP address.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#GetDedicatedIpResponse": { @@ -2983,7 +3070,8 @@ } }, "traits": { - "smithy.api#documentation": "Information about a dedicated IP address.
" + "smithy.api#documentation": "Information about a dedicated IP address.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#GetDedicatedIps": { @@ -3045,7 +3133,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to obtain more information about dedicated IP pools.
" + "smithy.api#documentation": "A request to obtain more information about dedicated IP pools.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#GetDedicatedIpsResponse": { @@ -3065,7 +3154,8 @@ } }, "traits": { - "smithy.api#documentation": "Information about the dedicated IP addresses that are associated with your Amazon Pinpoint\n account.
" + "smithy.api#documentation": "Information about the dedicated IP addresses that are associated with your Amazon Pinpoint\n account.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#GetDeliverabilityDashboardOptions": { @@ -3100,7 +3190,8 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Retrieve information about the status of the Deliverability dashboard for your Amazon Pinpoint account.\n When the Deliverability dashboard is enabled, you gain access to reputation, deliverability, and\n other metrics for the domains that you use to send email using Amazon Pinpoint. You also gain the\n ability to perform predictive inbox placement tests.
\nWhen you use the Deliverability dashboard, you pay a monthly subscription charge, in addition\n to any other fees that you accrue by using Amazon Pinpoint. For more information about the\n features and cost of a Deliverability dashboard subscription, see Amazon Pinpoint Pricing.
" + "smithy.api#documentation": "Retrieve information about the status of the Deliverability dashboard for your Amazon Pinpoint account.\n When the Deliverability dashboard is enabled, you gain access to reputation, deliverability, and\n other metrics for the domains that you use to send email using Amazon Pinpoint. You also gain the\n ability to perform predictive inbox placement tests.
\nWhen you use the Deliverability dashboard, you pay a monthly subscription charge, in addition\n to any other fees that you accrue by using Amazon Pinpoint. For more information about the\n features and cost of a Deliverability dashboard subscription, see Amazon Pinpoint Pricing.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#GetDeliverabilityDashboardOptionsResponse": { @@ -3140,7 +3231,8 @@ } }, "traits": { - "smithy.api#documentation": "An object that shows the status of the Deliverability dashboard for your Amazon Pinpoint account.
" + "smithy.api#documentation": "An object that shows the status of the Deliverability dashboard for your Amazon Pinpoint account.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#GetDeliverabilityTestReport": { @@ -3184,7 +3276,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to retrieve the results of a predictive inbox placement test.
" + "smithy.api#documentation": "A request to retrieve the results of a predictive inbox placement test.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#GetDeliverabilityTestReportResponse": { @@ -3225,7 +3318,8 @@ } }, "traits": { - "smithy.api#documentation": "The results of the predictive inbox placement test.
" + "smithy.api#documentation": "The results of the predictive inbox placement test.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#GetDomainDeliverabilityCampaign": { @@ -3269,7 +3363,8 @@ } }, "traits": { - "smithy.api#documentation": "Retrieve all the deliverability data for a specific campaign. This data is available\n for a campaign only if the campaign sent email by using a domain that the\n Deliverability dashboard is enabled for (PutDeliverabilityDashboardOption
\n operation).
Retrieve all the deliverability data for a specific campaign. This data is available\n for a campaign only if the campaign sent email by using a domain that the\n Deliverability dashboard is enabled for (PutDeliverabilityDashboardOption
\n operation).
An object that contains all the deliverability data for a specific campaign. This data\n is available for a campaign only if the campaign sent email by using a domain that the\n Deliverability dashboard is enabled for (PutDeliverabilityDashboardOption
\n operation).
An object that contains all the deliverability data for a specific campaign. This data\n is available for a campaign only if the campaign sent email by using a domain that the\n Deliverability dashboard is enabled for (PutDeliverabilityDashboardOption
\n operation).
A request to obtain deliverability metrics for a domain.
" + "smithy.api#documentation": "A request to obtain deliverability metrics for a domain.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#GetDomainStatisticsReportResponse": { @@ -3366,7 +3463,8 @@ } }, "traits": { - "smithy.api#documentation": "An object that includes statistics that are related to the domain that you\n specified.
" + "smithy.api#documentation": "An object that includes statistics that are related to the domain that you\n specified.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#GetEmailIdentity": { @@ -3410,7 +3508,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to return details about an email identity.
" + "smithy.api#documentation": "A request to return details about an email identity.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#GetEmailIdentityResponse": { @@ -3456,7 +3555,8 @@ } }, "traits": { - "smithy.api#documentation": "Details about an email identity.
" + "smithy.api#documentation": "Details about an email identity.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#Identity": { @@ -3496,23 +3596,29 @@ } }, "com.amazonaws.pinpointemail#IdentityType": { - "type": "string", - "traits": { - "smithy.api#documentation": "The email identity type. The identity type can be one of the following:
\n\n EMAIL_ADDRESS
– The identity is an email address.
\n DOMAIN
– The identity is a domain.
The email identity type. The identity type can be one of the following:
\n\n EMAIL_ADDRESS
– The identity is an email address.
\n DOMAIN
– The identity is a domain.
A request to obtain a list of configuration sets for your Amazon Pinpoint account in the current\n AWS Region.
" + "smithy.api#documentation": "A request to obtain a list of configuration sets for your Amazon Pinpoint account in the current\n AWS Region.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#ListConfigurationSetsResponse": { @@ -3699,7 +3806,8 @@ } }, "traits": { - "smithy.api#documentation": "A list of configuration sets in your Amazon Pinpoint account in the current AWS Region.
" + "smithy.api#documentation": "A list of configuration sets in your Amazon Pinpoint account in the current AWS Region.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#ListDedicatedIpPools": { @@ -3751,7 +3859,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to obtain a list of dedicated IP pools.
" + "smithy.api#documentation": "A request to obtain a list of dedicated IP pools.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#ListDedicatedIpPoolsResponse": { @@ -3771,7 +3880,8 @@ } }, "traits": { - "smithy.api#documentation": "A list of dedicated IP pools.
" + "smithy.api#documentation": "A list of dedicated IP pools.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#ListDeliverabilityTestReports": { @@ -3826,7 +3936,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to list all of the predictive inbox placement tests that you've performed.
" + "smithy.api#documentation": "A request to list all of the predictive inbox placement tests that you've performed.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#ListDeliverabilityTestReportsResponse": { @@ -3847,7 +3958,8 @@ } }, "traits": { - "smithy.api#documentation": "A list of the predictive inbox placement test reports that are available for your account, regardless of\n whether or not those tests are complete.
" + "smithy.api#documentation": "A list of the predictive inbox placement test reports that are available for your account, regardless of\n whether or not those tests are complete.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#ListDomainDeliverabilityCampaigns": { @@ -3926,7 +4038,8 @@ } }, "traits": { - "smithy.api#documentation": "Retrieve deliverability data for all the campaigns that used a specific domain to send\n email during a specified time range. This data is available for a domain only if you\n enabled the Deliverability dashboard (PutDeliverabilityDashboardOption
operation)\n for the domain.
Retrieve deliverability data for all the campaigns that used a specific domain to send\n email during a specified time range. This data is available for a domain only if you\n enabled the Deliverability dashboard (PutDeliverabilityDashboardOption
operation)\n for the domain.
An array of objects that provide deliverability data for all the campaigns that used a\n specific domain to send email during a specified time range. This data is available for\n a domain only if you enabled the Deliverability dashboard\n (PutDeliverabilityDashboardOption
operation) for the domain.
An array of objects that provide deliverability data for all the campaigns that used a\n specific domain to send email during a specified time range. This data is available for\n a domain only if you enabled the Deliverability dashboard\n (PutDeliverabilityDashboardOption
operation) for the domain.
A request to list all of the email identities associated with your Amazon Pinpoint account. This\n list includes identities that you've already verified, identities that are unverified,\n and identities that were verified in the past, but are no longer verified.
" + "smithy.api#documentation": "A request to list all of the email identities associated with your Amazon Pinpoint account. This\n list includes identities that you've already verified, identities that are unverified,\n and identities that were verified in the past, but are no longer verified.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#ListEmailIdentitiesResponse": { @@ -4019,7 +4134,8 @@ } }, "traits": { - "smithy.api#documentation": "A list of all of the identities that you've attempted to verify for use with Amazon Pinpoint,\n regardless of whether or not those identities were successfully verified.
" + "smithy.api#documentation": "A list of all of the identities that you've attempted to verify for use with Amazon Pinpoint,\n regardless of whether or not those identities were successfully verified.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#ListOfDedicatedIpPools": { @@ -4070,6 +4186,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#ListTagsForResourceResponse": { @@ -4082,6 +4201,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#MailFromAttributes": { @@ -4133,27 +4255,35 @@ } }, "com.amazonaws.pinpointemail#MailFromDomainStatus": { - "type": "string", - "traits": { - "smithy.api#documentation": "The status of the MAIL FROM domain. This status can have the following values:
\n\n PENDING
– Amazon Pinpoint hasn't started searching for the MX record\n yet.
\n SUCCESS
– Amazon Pinpoint detected the required MX record for the\n MAIL FROM domain.
\n FAILED
– Amazon Pinpoint can't find the required MX record, or the\n record no longer exists.
\n TEMPORARY_FAILURE
– A temporary issue occurred, which\n prevented Amazon Pinpoint from determining the status of the MAIL FROM domain.
The status of the MAIL FROM domain. This status can have the following values:
\n\n PENDING
– Amazon Pinpoint hasn't started searching for the MX record\n yet.
\n SUCCESS
– Amazon Pinpoint detected the required MX record for the\n MAIL FROM domain.
\n FAILED
– Amazon Pinpoint can't find the required MX record, or the\n record no longer exists.
\n TEMPORARY_FAILURE
– A temporary issue occurred, which\n prevented Amazon Pinpoint from determining the status of the MAIL FROM domain.
A request to enable or disable the automatic IP address warm-up feature.
" + "smithy.api#documentation": "A request to enable or disable the automatic IP address warm-up feature.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#PutAccountDedicatedIpWarmupAttributesResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
" + "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#PutAccountSendingAttributes": { @@ -4454,14 +4586,16 @@ } }, "traits": { - "smithy.api#documentation": "A request to change the ability of your account to send email.
" + "smithy.api#documentation": "A request to change the ability of your account to send email.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#PutAccountSendingAttributesResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
" + "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#PutConfigurationSetDeliveryOptions": { @@ -4517,14 +4651,16 @@ } }, "traits": { - "smithy.api#documentation": "A request to associate a configuration set with a dedicated IP pool.
" + "smithy.api#documentation": "A request to associate a configuration set with a dedicated IP pool.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#PutConfigurationSetDeliveryOptionsResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
" + "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#PutConfigurationSetReputationOptions": { @@ -4575,14 +4711,16 @@ } }, "traits": { - "smithy.api#documentation": "A request to enable or disable tracking of reputation metrics for a configuration\n set.
" + "smithy.api#documentation": "A request to enable or disable tracking of reputation metrics for a configuration\n set.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#PutConfigurationSetReputationOptionsResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
" + "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#PutConfigurationSetSendingOptions": { @@ -4633,14 +4771,16 @@ } }, "traits": { - "smithy.api#documentation": "A request to enable or disable the ability of Amazon Pinpoint to send emails that use a specific\n configuration set.
" + "smithy.api#documentation": "A request to enable or disable the ability of Amazon Pinpoint to send emails that use a specific\n configuration set.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#PutConfigurationSetSendingOptionsResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
" + "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#PutConfigurationSetTrackingOptions": { @@ -4690,14 +4830,16 @@ } }, "traits": { - "smithy.api#documentation": "A request to add a custom domain for tracking open and click events to a configuration\n set.
" + "smithy.api#documentation": "A request to add a custom domain for tracking open and click events to a configuration\n set.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#PutConfigurationSetTrackingOptionsResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
" + "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#PutDedicatedIpInPool": { @@ -4748,14 +4890,16 @@ } }, "traits": { - "smithy.api#documentation": "A request to move a dedicated IP address to a dedicated IP pool.
" + "smithy.api#documentation": "A request to move a dedicated IP address to a dedicated IP pool.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#PutDedicatedIpInPoolResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
" + "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#PutDedicatedIpWarmupAttributes": { @@ -4806,14 +4950,16 @@ } }, "traits": { - "smithy.api#documentation": "A request to change the warm-up attributes for a dedicated IP address. This operation\n is useful when you want to resume the warm-up process for an existing IP address.
" + "smithy.api#documentation": "A request to change the warm-up attributes for a dedicated IP address. This operation\n is useful when you want to resume the warm-up process for an existing IP address.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#PutDedicatedIpWarmupAttributesResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
" + "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#PutDeliverabilityDashboardOption": { @@ -4869,14 +5015,16 @@ } }, "traits": { - "smithy.api#documentation": "Enable or disable the Deliverability dashboard for your Amazon Pinpoint account. When you enable the\n Deliverability dashboard, you gain access to reputation, deliverability, and other metrics for\n the domains that you use to send email using Amazon Pinpoint. You also gain the ability to perform\n predictive inbox placement tests.
\nWhen you use the Deliverability dashboard, you pay a monthly subscription charge, in addition\n to any other fees that you accrue by using Amazon Pinpoint. For more information about the\n features and cost of a Deliverability dashboard subscription, see Amazon Pinpoint Pricing.
" + "smithy.api#documentation": "Enable or disable the Deliverability dashboard for your Amazon Pinpoint account. When you enable the\n Deliverability dashboard, you gain access to reputation, deliverability, and other metrics for\n the domains that you use to send email using Amazon Pinpoint. You also gain the ability to perform\n predictive inbox placement tests.
\nWhen you use the Deliverability dashboard, you pay a monthly subscription charge, in addition\n to any other fees that you accrue by using Amazon Pinpoint. For more information about the\n features and cost of a Deliverability dashboard subscription, see Amazon Pinpoint Pricing.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#PutDeliverabilityDashboardOptionResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "A response that indicates whether the Deliverability dashboard is enabled for your Amazon Pinpoint\n account.
" + "smithy.api#documentation": "A response that indicates whether the Deliverability dashboard is enabled for your Amazon Pinpoint\n account.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#PutEmailIdentityDkimAttributes": { @@ -4927,14 +5075,16 @@ } }, "traits": { - "smithy.api#documentation": "A request to enable or disable DKIM signing of email that you send from an email\n identity.
" + "smithy.api#documentation": "A request to enable or disable DKIM signing of email that you send from an email\n identity.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#PutEmailIdentityDkimAttributesResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
" + "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#PutEmailIdentityFeedbackAttributes": { @@ -4985,14 +5135,16 @@ } }, "traits": { - "smithy.api#documentation": "A request to set the attributes that control how bounce and complaint events are\n processed.
" + "smithy.api#documentation": "A request to set the attributes that control how bounce and complaint events are\n processed.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#PutEmailIdentityFeedbackAttributesResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
" + "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#PutEmailIdentityMailFromAttributes": { @@ -5048,14 +5200,16 @@ } }, "traits": { - "smithy.api#documentation": "A request to configure the custom MAIL FROM domain for a verified identity.
" + "smithy.api#documentation": "A request to configure the custom MAIL FROM domain for a verified identity.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#PutEmailIdentityMailFromAttributesResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
" + "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#RawMessage": { @@ -5210,7 +5364,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to send an email message.
" + "smithy.api#documentation": "A request to send an email message.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#SendEmailResponse": { @@ -5224,7 +5379,8 @@ } }, "traits": { - "smithy.api#documentation": "A unique message ID that you receive when Amazon Pinpoint accepts an email for sending.
" + "smithy.api#documentation": "A unique message ID that you receive when Amazon Pinpoint accepts an email for sending.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#SendQuota": { @@ -5399,11 +5555,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.pinpointemail#TagValue": { "type": "string" @@ -5441,19 +5603,23 @@ "type": "timestamp" }, "com.amazonaws.pinpointemail#TlsPolicy": { - "type": "string", - "traits": { - "smithy.api#documentation": "Specifies whether messages that use the configuration set are required to use\n Transport Layer Security (TLS). If the value is Require
, messages are only\n delivered if a TLS connection can be established. If the value is Optional
,\n messages can be delivered in plain text if a TLS connection can't be established.
Specifies whether messages that use the configuration set are required to use\n Transport Layer Security (TLS). If the value is Require
, messages are only\n delivered if a TLS connection can be established. If the value is Optional
,\n messages can be delivered in plain text if a TLS connection can't be established.
A request to change the settings for an event destination for a configuration\n set.
" + "smithy.api#documentation": "A request to change the settings for an event destination for a configuration\n set.
", + "smithy.api#input": {} } }, "com.amazonaws.pinpointemail#UpdateConfigurationSetEventDestinationResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
" + "smithy.api#documentation": "An HTTP 200 response if the request succeeds, or an error message if the request\n fails.
", + "smithy.api#output": {} } }, "com.amazonaws.pinpointemail#Volume": { @@ -5645,19 +5819,23 @@ } }, "com.amazonaws.pinpointemail#WarmupStatus": { - "type": "string", - "traits": { - "smithy.api#documentation": "The warmup status of a dedicated IP.
", - "smithy.api#enum": [ - { - "value": "IN_PROGRESS", - "name": "IN_PROGRESS" - }, - { - "value": "DONE", - "name": "DONE" + "type": "enum", + "members": { + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" + } + }, + "DONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DONE" } - ] + } + }, + "traits": { + "smithy.api#documentation": "The warmup status of a dedicated IP.
" } } } diff --git a/codegen/sdk-codegen/aws-models/pinpoint-sms-voice-v2.json b/codegen/sdk-codegen/aws-models/pinpoint-sms-voice-v2.json index da7d86af608..39be86c3a8f 100644 --- a/codegen/sdk-codegen/aws-models/pinpoint-sms-voice-v2.json +++ b/codegen/sdk-codegen/aws-models/pinpoint-sms-voice-v2.json @@ -4003,52 +4003,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", @@ -4056,13 +4060,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -4072,224 +4085,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://sms-voice-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://sms-voice-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": [ { "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": [], - "endpoint": { - "url": "https://sms-voice-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://sms-voice-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://sms-voice.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://sms-voice.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://sms-voice.{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://sms-voice.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -4304,8 +4268,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4317,8 +4281,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4330,8 +4294,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4343,8 +4307,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4356,8 +4320,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4369,8 +4333,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4382,8 +4346,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4395,8 +4359,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4408,8 +4372,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4421,8 +4385,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4434,8 +4398,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -4447,8 +4411,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -4460,8 +4424,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -4473,8 +4437,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -4486,8 +4450,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -4499,8 +4463,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -4512,8 +4476,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4525,8 +4489,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4538,8 +4502,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -4551,8 +4515,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -4564,8 +4528,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -4577,8 +4541,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -4590,8 +4565,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 } }, { @@ -4603,8 +4589,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -4616,8 +4613,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 } }, { @@ -4629,8 +4637,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4642,8 +4650,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -4655,8 +4663,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -4667,8 +4675,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -4679,10 +4687,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" @@ -7454,4 +7468,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/pinpoint-sms-voice.json b/codegen/sdk-codegen/aws-models/pinpoint-sms-voice.json index 71fce0643f5..64ac8bcf3c8 100644 --- a/codegen/sdk-codegen/aws-models/pinpoint-sms-voice.json +++ b/codegen/sdk-codegen/aws-models/pinpoint-sms-voice.json @@ -56,10 +56,7 @@ } }, "com.amazonaws.pinpointsmsvoice#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.pinpointsmsvoice#CallInstructionsMessageType": { "type": "structure", @@ -197,14 +194,16 @@ } }, "traits": { - "smithy.api#documentation": "Create a new event destination in a configuration set." + "smithy.api#documentation": "Create a new event destination in a configuration set.", + "smithy.api#input": {} } }, "com.amazonaws.pinpointsmsvoice#CreateConfigurationSetEventDestinationResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "An empty object that indicates that the event destination was created successfully." + "smithy.api#documentation": "An empty object that indicates that the event destination was created successfully.", + "smithy.api#output": {} } }, "com.amazonaws.pinpointsmsvoice#CreateConfigurationSetRequest": { @@ -218,14 +217,16 @@ } }, "traits": { - "smithy.api#documentation": "A request to create a new configuration set." + "smithy.api#documentation": "A request to create a new configuration set.", + "smithy.api#input": {} } }, "com.amazonaws.pinpointsmsvoice#CreateConfigurationSetResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "An empty object that indicates that the configuration set was successfully created." + "smithy.api#documentation": "An empty object that indicates that the configuration set was successfully created.", + "smithy.api#output": {} } }, "com.amazonaws.pinpointsmsvoice#DeleteConfigurationSet": { @@ -309,13 +310,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.pinpointsmsvoice#DeleteConfigurationSetEventDestinationResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "An empty object that indicates that the event destination was deleted successfully." + "smithy.api#documentation": "An empty object that indicates that the event destination was deleted successfully.", + "smithy.api#output": {} } }, "com.amazonaws.pinpointsmsvoice#DeleteConfigurationSetRequest": { @@ -329,13 +334,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.pinpointsmsvoice#DeleteConfigurationSetResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "An empty object that indicates that the configuration set was deleted successfully." + "smithy.api#documentation": "An empty object that indicates that the configuration set was deleted successfully.", + "smithy.api#output": {} } }, "com.amazonaws.pinpointsmsvoice#EventDestination": { @@ -347,7 +356,6 @@ "Enabled": { "target": "com.amazonaws.pinpointsmsvoice#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "Indicates whether or not the event destination is enabled. If the event destination is enabled, then Amazon Pinpoint sends response data to the specified event destination." } }, @@ -380,7 +388,6 @@ "Enabled": { "target": "com.amazonaws.pinpointsmsvoice#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "Indicates whether or not the event destination is enabled. If the event destination is enabled, then Amazon Pinpoint sends response data to the specified event destination." } }, @@ -408,39 +415,53 @@ } }, "com.amazonaws.pinpointsmsvoice#EventType": { - "type": "string", - "traits": { - "smithy.api#documentation": "The types of events that are sent to the event destination.", - "smithy.api#enum": [ - { - "value": "INITIATED_CALL", - "name": "INITIATED_CALL" - }, - { - "value": "RINGING", - "name": "RINGING" - }, - { - "value": "ANSWERED", - "name": "ANSWERED" - }, - { - "value": "COMPLETED_CALL", - "name": "COMPLETED_CALL" - }, - { - "value": "BUSY", - "name": "BUSY" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "NO_ANSWER", - "name": "NO_ANSWER" + "type": "enum", + "members": { + "INITIATED_CALL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INITIATED_CALL" + } + }, + "RINGING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RINGING" } - ] + }, + "ANSWERED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ANSWERED" + } + }, + "COMPLETED_CALL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED_CALL" + } + }, + "BUSY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BUSY" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "NO_ANSWER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NO_ANSWER" + } + } + }, + "traits": { + "smithy.api#documentation": "The types of events that are sent to the event destination." } }, "com.amazonaws.pinpointsmsvoice#EventTypes": { @@ -494,6 +515,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.pinpointsmsvoice#GetConfigurationSetEventDestinationsResponse": { @@ -504,7 +528,8 @@ } }, "traits": { - "smithy.api#documentation": "An object that contains information about an event destination." + "smithy.api#documentation": "An object that contains information about an event destination.", + "smithy.api#output": {} } }, "com.amazonaws.pinpointsmsvoice#InternalServiceErrorException": { @@ -598,6 +623,9 @@ "smithy.api#httpQuery": "PageSize" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.pinpointsmsvoice#ListConfigurationSetsResponse": { @@ -617,7 +645,8 @@ } }, "traits": { - "smithy.api#documentation": "An object that contains information about the configuration sets for your account in the current region." + "smithy.api#documentation": "An object that contains information about the configuration sets for your account in the current region.", + "smithy.api#output": {} } }, "com.amazonaws.pinpointsmsvoice#NextTokenString": { @@ -1035,55 +1064,55 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://sms-voice.pinpoint-fips.us-gov-east-1.api.aws" + "url": "https://sms-voice.pinpoint-fips.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://sms-voice.pinpoint-fips.us-gov-east-1.amazonaws.com" + "url": "https://sms-voice.pinpoint-fips.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://sms-voice.pinpoint.us-gov-east-1.api.aws" + "url": "https://sms-voice.pinpoint.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://sms-voice.pinpoint.us-gov-east-1.amazonaws.com" + "url": "https://sms-voice.pinpoint.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -1094,9 +1123,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -1107,9 +1136,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -1120,9 +1149,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -1133,109 +1162,109 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://sms-voice.pinpoint-fips.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://sms-voice.pinpoint-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://sms-voice.pinpoint-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://sms-voice.pinpoint.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://sms-voice.pinpoint.us-iso-east-1.c2s.ic.gov" + "url": "https://sms-voice.pinpoint.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://sms-voice.pinpoint-fips.us-east-1.api.aws" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://sms-voice.pinpoint-fips.us-east-1.amazonaws.com" + "url": "https://sms-voice.pinpoint-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://sms-voice.pinpoint.us-east-1.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://sms-voice.pinpoint.us-east-1.amazonaws.com" + "url": "https://sms-voice.pinpoint.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -1244,9 +1273,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -1257,9 +1286,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -1268,9 +1297,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -1281,22 +1310,35 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { + "Region": "us-east-1", + "UseFIPS": false, "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { "UseFIPS": false, - "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1306,9 +1348,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1318,11 +1360,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" @@ -1441,7 +1489,8 @@ } }, "traits": { - "smithy.api#documentation": "SendVoiceMessageRequest" + "smithy.api#documentation": "SendVoiceMessageRequest", + "smithy.api#input": {} } }, "com.amazonaws.pinpointsmsvoice#SendVoiceMessageResponse": { @@ -1455,7 +1504,8 @@ } }, "traits": { - "smithy.api#documentation": "An object that that contains the Message ID of a Voice message that was sent successfully." + "smithy.api#documentation": "An object that that contains the Message ID of a Voice message that was sent successfully.", + "smithy.api#output": {} } }, "com.amazonaws.pinpointsmsvoice#SnsDestination": { @@ -1543,14 +1593,16 @@ } }, "traits": { - "smithy.api#documentation": "UpdateConfigurationSetEventDestinationRequest" + "smithy.api#documentation": "UpdateConfigurationSetEventDestinationRequest", + "smithy.api#input": {} } }, "com.amazonaws.pinpointsmsvoice#UpdateConfigurationSetEventDestinationResponse": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "An empty object that indicates that the event destination was updated successfully." + "smithy.api#documentation": "An empty object that indicates that the event destination was updated successfully.", + "smithy.api#output": {} } }, "com.amazonaws.pinpointsmsvoice#VoiceMessageContent": { diff --git a/codegen/sdk-codegen/aws-models/pinpoint.json b/codegen/sdk-codegen/aws-models/pinpoint.json index 1138cdceddf..bd6e997877b 100644 --- a/codegen/sdk-codegen/aws-models/pinpoint.json +++ b/codegen/sdk-codegen/aws-models/pinpoint.json @@ -14950,52 +14950,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", @@ -15003,13 +15007,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -15019,331 +15032,282 @@ { "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://pinpoint-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": [], - "endpoint": { - "url": "https://pinpoint-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://pinpoint-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://pinpoint.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "us-east-1" - ] - } - ], + "conditions": [], "endpoint": { - "url": "https://pinpoint.us-east-1.amazonaws.com", + "url": "https://pinpoint-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-west-2" + "supportsDualStack" ] } - ], + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], "endpoint": { - "url": "https://pinpoint.us-west-2.amazonaws.com", + "url": "https://pinpoint.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" }, + "us-east-1" + ] + } + ], + "endpoint": { + "url": "https://pinpoint.us-east-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "us-gov-west-1" - ] - } - ], - "endpoint": { - "url": "https://pinpoint.us-gov-west-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "ref": "Region" }, + "us-west-2" + ] + } + ], + "endpoint": { + "url": "https://pinpoint.us-west-2.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://pinpoint.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "ref": "Region" }, + "us-gov-west-1" + ] + } + ], + "endpoint": { + "url": "https://pinpoint.us-gov-west-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws", { - "conditions": [ + "fn": "getAttr", + "argv": [ { - "fn": "stringEquals", - "argv": [ - "aws-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://pinpoint.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://pinpoint.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws-us-gov", { - "conditions": [], - "endpoint": { - "url": "https://pinpoint.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] } ] } - ] + ], + "endpoint": { + "url": "https://pinpoint.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://pinpoint.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/pipes.json b/codegen/sdk-codegen/aws-models/pipes.json index b22242dff4a..88960b59138 100644 --- a/codegen/sdk-codegen/aws-models/pipes.json +++ b/codegen/sdk-codegen/aws-models/pipes.json @@ -3333,54 +3333,54 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://pipes-fips.us-gov-east-1.api.aws" + "url": "https://pipes-fips.us-east-1.api.aws" } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1", "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://pipes-fips.us-gov-east-1.amazonaws.com" + "url": "https://pipes-fips.us-east-1.amazonaws.com" } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1", "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://pipes.us-gov-east-1.api.aws" + "url": "https://pipes.us-east-1.api.aws" } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1", "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://pipes.us-gov-east-1.amazonaws.com" + "url": "https://pipes.us-east-1.amazonaws.com" } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1", "UseDualStack": false } }, @@ -3392,8 +3392,8 @@ } }, "params": { - "UseFIPS": true, "Region": "cn-north-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -3405,8 +3405,8 @@ } }, "params": { - "UseFIPS": true, "Region": "cn-north-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -3418,8 +3418,8 @@ } }, "params": { - "UseFIPS": false, "Region": "cn-north-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -3431,108 +3431,108 @@ } }, "params": { - "UseFIPS": false, "Region": "cn-north-1", + "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://pipes-fips.us-gov-east-1.api.aws" + } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1", "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://pipes-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://pipes-fips.us-gov-east-1.amazonaws.com" } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1", "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://pipes.us-gov-east-1.api.aws" + } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1", "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://pipes.us-iso-east-1.c2s.ic.gov" + "url": "https://pipes.us-gov-east-1.amazonaws.com" } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1", "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://pipes-fips.us-east-1.api.aws" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1", "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://pipes-fips.us-east-1.amazonaws.com" + "url": "https://pipes-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1", "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://pipes.us-east-1.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1", "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://pipes.us-east-1.amazonaws.com" + "url": "https://pipes.us-iso-east-1.c2s.ic.gov" } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1", "UseDualStack": false } }, @@ -3542,8 +3542,8 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseFIPS": true, "Region": "us-isob-east-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -3555,8 +3555,8 @@ } }, "params": { - "UseFIPS": true, "Region": "us-isob-east-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -3566,8 +3566,8 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseFIPS": false, "Region": "us-isob-east-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -3579,21 +3579,34 @@ } }, "params": { - "UseFIPS": false, "Region": "us-isob-east-1", + "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, "UseDualStack": false, "Endpoint": "https://example.com" } @@ -3604,8 +3617,8 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, "UseDualStack": false, "Endpoint": "https://example.com" } @@ -3616,11 +3629,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/codegen/sdk-codegen/aws-models/pricing.json b/codegen/sdk-codegen/aws-models/pricing.json index 2b134cfddd0..34e66964998 100644 --- a/codegen/sdk-codegen/aws-models/pricing.json +++ b/codegen/sdk-codegen/aws-models/pricing.json @@ -95,52 +95,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", @@ -148,13 +152,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -164,249 +177,200 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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.pricing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://api.pricing-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": [ { "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": [], - "endpoint": { - "url": "https://api.pricing-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://api.pricing-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://api.pricing.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://api.pricing.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, { "conditions": [], "endpoint": { - "url": "https://api.pricing.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://api.pricing.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws", + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://api.pricing.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://api.pricing.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/privatenetworks.json b/codegen/sdk-codegen/aws-models/privatenetworks.json index fbb6897e3f2..486a6a1a0a9 100644 --- a/codegen/sdk-codegen/aws-models/privatenetworks.json +++ b/codegen/sdk-codegen/aws-models/privatenetworks.json @@ -1154,52 +1154,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", @@ -1207,13 +1211,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -1223,224 +1236,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://private-networks-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://private-networks-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": [ { "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": [], - "endpoint": { - "url": "https://private-networks-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://private-networks-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://private-networks.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://private-networks.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://private-networks.{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://private-networks.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/proton.json b/codegen/sdk-codegen/aws-models/proton.json index 37a96148f2f..c03add3c310 100644 --- a/codegen/sdk-codegen/aws-models/proton.json +++ b/codegen/sdk-codegen/aws-models/proton.json @@ -321,52 +321,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", @@ -374,13 +378,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -390,224 +403,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://proton-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://proton-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": [ { "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": [], - "endpoint": { - "url": "https://proton-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://proton-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://proton.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://proton.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://proton.{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://proton.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/qldb-session.json b/codegen/sdk-codegen/aws-models/qldb-session.json index 37782b8b966..df4974f8c5d 100644 --- a/codegen/sdk-codegen/aws-models/qldb-session.json +++ b/codegen/sdk-codegen/aws-models/qldb-session.json @@ -326,7 +326,7 @@ "min": 1, "max": 32 }, - "smithy.api#pattern": "(?!^.*--)(?!^[0-9]+$)(?!^-)(?!.*-$)^[A-Za-z0-9-]+$" + "smithy.api#pattern": "^(?!^.*--)(?!^[0-9]+$)(?!^-)(?!.*-$)^[A-Za-z0-9-]+$" } }, "com.amazonaws.qldbsession#LimitExceededException": { @@ -471,52 +471,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", @@ -524,13 +528,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -540,224 +553,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://session.qldb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://session.qldb-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": [ { "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": [], - "endpoint": { - "url": "https://session.qldb-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://session.qldb-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://session.qldb.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://session.qldb.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://session.qldb.{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://session.qldb.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -772,8 +736,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -785,8 +749,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -798,8 +762,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -811,8 +775,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -824,8 +788,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -837,8 +801,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -850,8 +814,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -863,8 +827,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -876,8 +840,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -889,8 +853,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -902,8 +866,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -915,8 +879,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -928,8 +892,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -941,8 +905,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -954,8 +918,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -967,8 +931,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -980,8 +944,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -993,8 +957,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1006,8 +970,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1019,8 +983,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1032,8 +996,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1045,8 +1009,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1058,8 +1022,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1071,8 +1035,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -1084,8 +1059,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 } }, { @@ -1097,8 +1083,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -1110,8 +1107,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 } }, { @@ -1123,8 +1131,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1136,8 +1144,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1149,8 +1157,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1161,8 +1169,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1173,10 +1181,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" @@ -1284,6 +1298,9 @@ "smithy.api#documentation": "Command to fetch a page.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.qldbsession#SendCommandResult": { @@ -1331,6 +1348,9 @@ "smithy.api#documentation": "Contains the details of the fetched page.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.qldbsession#SessionToken": { diff --git a/codegen/sdk-codegen/aws-models/qldb.json b/codegen/sdk-codegen/aws-models/qldb.json index 272219762ed..26471be1935 100644 --- a/codegen/sdk-codegen/aws-models/qldb.json +++ b/codegen/sdk-codegen/aws-models/qldb.json @@ -171,52 +171,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", @@ -224,13 +228,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -240,224 +253,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://qldb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://qldb-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": [ { "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": [], - "endpoint": { - "url": "https://qldb-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://qldb-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://qldb.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://qldb.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://qldb.{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://qldb.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/ram.json b/codegen/sdk-codegen/aws-models/ram.json index 8116db437fb..aec11a67469 100644 --- a/codegen/sdk-codegen/aws-models/ram.json +++ b/codegen/sdk-codegen/aws-models/ram.json @@ -300,52 +300,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", @@ -353,13 +357,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -369,92 +382,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://ram-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://ram-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -463,155 +467,115 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws-us-gov", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsFIPS" + "name" ] } ] } ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://ram.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [], - "endpoint": { - "url": "https://ram-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "endpoint": { + "url": "https://ram.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://ram-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://ram.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://ram.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://ram.{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://ram.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/rbin.json b/codegen/sdk-codegen/aws-models/rbin.json index a817492adb9..8749707767c 100644 --- a/codegen/sdk-codegen/aws-models/rbin.json +++ b/codegen/sdk-codegen/aws-models/rbin.json @@ -76,7 +76,7 @@ "name": "rbin" }, "aws.protocols#restJson1": {}, - "smithy.api#documentation": "This is the Recycle Bin API Reference. This documentation provides \n descriptions and syntax for each of the actions and data types in Recycle Bin.
\n \nRecycle Bin is a resource recovery feature that enables you to restore accidentally \n deleted snapshots and EBS-backed AMIs. When using Recycle Bin, if your resources are \n deleted, they are retained in the Recycle Bin for a time period that you specify.
\n \nYou can restore a resource from the Recycle Bin at any time before its retention period \n expires. After you restore a resource from the Recycle Bin, the resource is removed from the \n Recycle Bin, and you can then use it in the same way you use any other resource of that type \n in your account. If the retention period expires and the resource is not restored, the resource \n is permanently deleted from the Recycle Bin and is no longer available for recovery. For more \n information about Recycle Bin, see \n Recycle Bin in the Amazon Elastic Compute Cloud User Guide.
", + "smithy.api#documentation": "This is the Recycle Bin API Reference. This documentation provides \n descriptions and syntax for each of the actions and data types in Recycle Bin.
\nRecycle Bin is a resource recovery feature that enables you to restore accidentally \n deleted snapshots and EBS-backed AMIs. When using Recycle Bin, if your resources are \n deleted, they are retained in the Recycle Bin for a time period that you specify.
\nYou can restore a resource from the Recycle Bin at any time before its retention period \n expires. After you restore a resource from the Recycle Bin, the resource is removed from the \n Recycle Bin, and you can then use it in the same way you use any other resource of that type \n in your account. If the retention period expires and the resource is not restored, the resource \n is permanently deleted from the Recycle Bin and is no longer available for recovery. For more \n information about Recycle Bin, see \n Recycle Bin in the Amazon Elastic Compute Cloud User Guide.
", "smithy.api#title": "Amazon Recycle Bin", "smithy.rules#endpointRuleSet": { "version": "1.0", @@ -138,52 +138,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", @@ -191,13 +195,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -207,224 +220,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://rbin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://rbin-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": [ { "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": [], - "endpoint": { - "url": "https://rbin-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://rbin-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://rbin.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://rbin.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://rbin.{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://rbin.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -439,8 +403,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -452,8 +416,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -465,8 +429,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -478,8 +442,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -491,8 +455,8 @@ }, "params": { "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -504,8 +468,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -517,8 +481,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -530,8 +494,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -543,8 +507,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -556,8 +520,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -569,8 +533,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -582,8 +546,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -595,8 +559,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -608,8 +572,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -621,8 +585,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -634,8 +598,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -647,8 +611,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -660,8 +624,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -673,8 +637,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -686,8 +650,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -699,8 +663,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -712,8 +676,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -725,8 +689,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -738,8 +702,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -751,8 +715,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -764,8 +728,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -777,8 +741,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -790,8 +754,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -803,8 +767,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -816,8 +780,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -829,8 +793,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -842,8 +806,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -855,8 +830,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 } }, { @@ -868,8 +854,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -881,8 +878,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 } }, { @@ -894,8 +902,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -907,8 +915,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -920,8 +928,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -932,8 +940,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -944,10 +952,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" @@ -1053,6 +1067,9 @@ "smithy.api#documentation": "Information about the retention rule lock configuration.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.rbin#CreateRuleResponse": { @@ -1109,6 +1126,9 @@ "smithy.api#documentation": "The lock state for the retention rule.
\n\n locked
- The retention rule is locked and can't be modified or deleted.
\n pending_unlock
- The retention rule has been unlocked but it is still within \n the unlock delay period. The retention rule can be modified or deleted only after the unlock \n delay period has expired.
\n unlocked
- The retention rule is unlocked and it can be modified or deleted by \n any user with the required permissions.
\n null
- The retention rule has never been locked. Once a retention rule has \n been locked, it can transition between the locked
and unlocked
states \n only; it can never transition back to null
.
The date and time at which the unlock delay is set to expire. Only returned \n for retention rules that have been unlocked and that are still within the unlock \n delay period.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.rbin#InternalServerException": { @@ -1346,6 +1378,9 @@ "smithy.api#documentation": "The lock state of the retention rules to list. Only retention rules with the specified \n lock state are returned.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.rbin#ListRulesResponse": { @@ -1363,6 +1398,9 @@ "smithy.api#documentation": "The token to use to retrieve the next page of results. This value is null
when there are no more results to return.
Information about the tags assigned to the retention rule.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.rbin#LockConfiguration": { @@ -1481,6 +1525,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.rbin#LockRuleResponse": { @@ -1531,6 +1578,9 @@ "smithy.api#documentation": "The lock state for the retention rule.
\n\n locked
- The retention rule is locked and can't be modified or deleted.
\n pending_unlock
- The retention rule has been unlocked but it is still within \n the unlock delay period. The retention rule can be modified or deleted only after the unlock \n delay period has expired.
\n unlocked
- The retention rule is unlocked and it can be modified or deleted by \n any user with the required permissions.
\n null
- The retention rule has never been locked. Once a retention rule has \n been locked, it can transition between the locked
and unlocked
states \n only; it can never transition back to null
.
The date and time at which the unlock delay is set to expire. Only returned \n for retention rules that have been unlocked and that are still within the unlock \n delay period.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.rbin#UntagResource": { @@ -2119,11 +2181,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.rbin#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.rbin#UpdateRule": { "type": "operation", @@ -2191,6 +2259,9 @@ "smithy.api#documentation": "Specifies the resource tags to use to identify resources that are to be retained by a \n tag-level retention rule. For tag-level retention rules, only deleted resources, of the specified resource type, that \n have one or more of the specified tag key and value pairs are retained. If a resource is deleted, but it does not have \n any of the specified tag key and value pairs, it is immediately deleted without being retained by the retention rule.
\nYou can add the same tag key and value pair to a maximum or five retention rules.
\nTo create a Region-level retention rule, omit this parameter. A Region-level retention rule \n does not have any resource tags specified. It retains all deleted resources of the specified \n resource type in the Region in which the rule is created, even if the resources are not tagged.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.rbin#UpdateRuleResponse": { @@ -2241,6 +2312,9 @@ "smithy.api#documentation": "The date and time at which the unlock delay is set to expire. Only returned \n for retention rules that have been unlocked and that are still within the unlock \n delay period.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.rbin#ValidationException": { diff --git a/codegen/sdk-codegen/aws-models/rds-data.json b/codegen/sdk-codegen/aws-models/rds-data.json index 3843dfc38ac..9f9613274eb 100644 --- a/codegen/sdk-codegen/aws-models/rds-data.json +++ b/codegen/sdk-codegen/aws-models/rds-data.json @@ -1029,52 +1029,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", @@ -1082,13 +1086,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -1098,224 +1111,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://rds-data-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://rds-data-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": [ { "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": [], - "endpoint": { - "url": "https://rds-data-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://rds-data-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://rds-data.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://rds-data.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://rds-data.{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://rds-data.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -1330,8 +1294,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1343,8 +1307,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1356,8 +1320,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1369,8 +1333,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1382,8 +1346,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1395,8 +1359,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1408,8 +1372,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1421,8 +1385,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1434,8 +1398,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1447,8 +1411,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1460,8 +1424,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1473,8 +1437,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -1486,8 +1461,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 } }, { @@ -1499,8 +1485,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -1512,8 +1509,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 } }, { @@ -1525,8 +1533,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1538,8 +1546,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1551,8 +1559,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1563,8 +1571,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1575,10 +1583,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" @@ -2041,4 +2055,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/redshift-data.json b/codegen/sdk-codegen/aws-models/redshift-data.json index 2b3f50a2dea..61ee5c0fc89 100644 --- a/codegen/sdk-codegen/aws-models/redshift-data.json +++ b/codegen/sdk-codegen/aws-models/redshift-data.json @@ -1509,52 +1509,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", @@ -1562,13 +1566,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -1578,224 +1591,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://redshift-data-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://redshift-data-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": [ { "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": [], - "endpoint": { - "url": "https://redshift-data-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://redshift-data-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://redshift-data.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://redshift-data.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://redshift-data.{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://redshift-data.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/redshift-serverless.json b/codegen/sdk-codegen/aws-models/redshift-serverless.json index 775c4699b3f..51645eb82bc 100644 --- a/codegen/sdk-codegen/aws-models/redshift-serverless.json +++ b/codegen/sdk-codegen/aws-models/redshift-serverless.json @@ -2853,52 +2853,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", @@ -2906,13 +2910,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -2922,224 +2935,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://redshift-serverless-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://redshift-serverless-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": [ { "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": [], - "endpoint": { - "url": "https://redshift-serverless-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://redshift-serverless-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://redshift-serverless.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://redshift-serverless.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://redshift-serverless.{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://redshift-serverless.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -3154,8 +3118,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3167,8 +3131,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3180,8 +3144,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3193,8 +3157,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3206,8 +3170,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3219,8 +3183,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3232,8 +3196,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3245,8 +3209,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3258,8 +3222,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3271,8 +3235,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3284,8 +3248,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3297,8 +3261,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3310,8 +3274,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3323,8 +3287,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3336,8 +3300,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3349,8 +3313,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3362,8 +3326,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3375,8 +3339,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3388,8 +3352,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3401,8 +3365,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3414,8 +3378,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3427,8 +3391,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -3440,8 +3415,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 } }, { @@ -3453,8 +3439,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -3466,8 +3463,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 } }, { @@ -3479,8 +3487,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3492,8 +3500,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3505,8 +3513,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3517,8 +3525,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3529,10 +3537,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" @@ -5178,4 +5192,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/redshift.json b/codegen/sdk-codegen/aws-models/redshift.json index f4426a3d960..f9b86d9deca 100644 --- a/codegen/sdk-codegen/aws-models/redshift.json +++ b/codegen/sdk-codegen/aws-models/redshift.json @@ -81,6 +81,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#AcceptReservedNodeExchangeOutputMessage": { @@ -92,6 +95,9 @@ "smithy.api#documentation": "" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.redshift#AccessToClusterDeniedFault": { @@ -348,6 +354,9 @@ "smithy.api#documentation": "From a datashare consumer account, associates a datashare with all existing and future namespaces in the specified Amazon Web Services Region.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#AssociatedClusterList": { @@ -646,7 +655,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#AuthorizeClusterSecurityGroupIngressResult": { @@ -694,6 +704,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#AuthorizeEndpointAccess": { @@ -750,6 +763,9 @@ "smithy.api#documentation": "The virtual private cloud (VPC) identifiers to grant access to.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#AuthorizeSnapshotAccess": { @@ -817,7 +833,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#AuthorizeSnapshotAccessResult": { @@ -989,6 +1006,9 @@ "smithy.api#documentation": "A boolean value indicating whether to override an exception if the retention period\n has passed.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#BatchModifyClusterSnapshotsOutputMessage": { @@ -1006,6 +1026,9 @@ "smithy.api#documentation": "A list of any errors returned.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.redshift#BatchSnapshotOperationErrorList": { @@ -1088,6 +1111,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#CertificateAssociation": { @@ -1583,6 +1609,9 @@ "smithy.api#documentation": "A list of revisions.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.redshift#ClusterExtendedCredentials": { @@ -1893,7 +1922,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output from the DescribeClusterParameterGroups\n action.
" + "smithy.api#documentation": "Contains the output from the DescribeClusterParameterGroups\n action.
", + "smithy.api#output": {} } }, "com.amazonaws.redshift#ClusterParameterStatus": { @@ -2046,7 +2076,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#output": {} } }, "com.amazonaws.redshift#ClusterSecurityGroupNameList": { @@ -2264,7 +2295,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output from the DescribeClusterSubnetGroups action.\n
" + "smithy.api#documentation": "Contains the output from the DescribeClusterSubnetGroups action.\n
", + "smithy.api#output": {} } }, "com.amazonaws.redshift#ClusterSubnetGroupNotFoundFault": { @@ -2379,7 +2411,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output from the DescribeClusterVersions action.\n
" + "smithy.api#documentation": "Contains the output from the DescribeClusterVersions action.\n
", + "smithy.api#output": {} } }, "com.amazonaws.redshift#ClustersMessage": { @@ -2399,7 +2432,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output from the DescribeClusters action.
" + "smithy.api#documentation": "Contains the output from the DescribeClusters action.
", + "smithy.api#output": {} } }, "com.amazonaws.redshift#CopyClusterSnapshot": { @@ -2462,7 +2496,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#CopyClusterSnapshotResult": { @@ -2533,6 +2568,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#CreateAuthenticationProfileResult": { @@ -2848,7 +2886,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#CreateClusterParameterGroup": { @@ -2909,7 +2948,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#CreateClusterParameterGroupResult": { @@ -2985,7 +3025,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#CreateClusterSecurityGroupResult": { @@ -3065,7 +3106,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#CreateClusterSnapshotResult": { @@ -3149,7 +3191,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#CreateClusterSubnetGroupResult": { @@ -3210,6 +3253,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#CreateCustomDomainAssociationResult": { @@ -3323,6 +3369,9 @@ "smithy.api#documentation": "The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#CreateEventSubscription": { @@ -3427,7 +3476,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#CreateEventSubscriptionResult": { @@ -3485,7 +3535,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#CreateHsmClientCertificateResult": { @@ -3578,7 +3629,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#CreateHsmConfigurationResult": { @@ -3679,6 +3731,9 @@ "smithy.api#documentation": "If true, the schedule is enabled. If false, the scheduled action does not trigger. \n For more information about state
of the scheduled action, see ScheduledAction.
The result of the CreateSnapshotCopyGrant
action.
The result of the CreateSnapshotCopyGrant
action.
Contains the output from the CreateTags
action.
Contains the output from the CreateTags
action.
A list of tag instances.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#CustomCnameAssociationFault": { @@ -4008,6 +4071,9 @@ "smithy.api#documentation": "The associations for the custom domain.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.redshift#CustomDomainCertificateArnString": { @@ -4047,6 +4113,9 @@ "smithy.api#documentation": "The total amount of storage currently provisioned.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.redshift#DataShare": { @@ -4317,6 +4386,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#DefaultClusterParameters": { @@ -4410,6 +4482,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#DeleteAuthenticationProfileResult": { @@ -4486,7 +4561,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#DeleteClusterParameterGroup": { @@ -4521,7 +4597,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#DeleteClusterResult": { @@ -4567,7 +4644,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#DeleteClusterSnapshot": { @@ -4666,7 +4744,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#DeleteCustomDomainAssociation": { @@ -4702,6 +4781,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#DeleteEndpointAccess": { @@ -4743,6 +4825,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#DeleteEventSubscription": { @@ -4777,7 +4862,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#DeleteHsmClientCertificate": { @@ -4812,7 +4898,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#DeleteHsmConfiguration": { @@ -4847,7 +4934,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#DeletePartner": { @@ -4903,6 +4991,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#DeleteSnapshotCopyGrant": { @@ -4937,7 +5028,8 @@ } }, "traits": { - "smithy.api#documentation": "The result of the DeleteSnapshotCopyGrant
action.
The result of the DeleteSnapshotCopyGrant
action.
Contains the output from the DeleteTags
action.
Contains the output from the DeleteTags
action.
A list of attribute names.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#DescribeAuthenticationProfiles": { @@ -5132,6 +5234,9 @@ "smithy.api#documentation": "The name of the authentication profile to describe. If not specified then all authentication profiles owned by the account are listed.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#DescribeAuthenticationProfilesResult": { @@ -5195,6 +5300,9 @@ "smithy.api#documentation": "An optional parameter that specifies the starting point for returning a set of\n response records. When the results of a DescribeClusterDbRevisions
request\n exceed the value specified in MaxRecords
, Amazon Redshift returns a value\n in the marker
field of the response. You can retrieve the next set of\n response records by providing the returned marker
value in the\n marker
parameter and retrying the request.
Constraints: You can specify either the ClusterIdentifier
parameter, or\n the marker
parameter, but not both.
An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeClusterTracks
request exceed the\n value specified in MaxRecords
, Amazon Redshift returns a value in the\n Marker
field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker
parameter and\n retrying the request.
The marker for the custom domain association.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#DescribeDataShares": { @@ -5983,6 +6104,9 @@ "smithy.api#documentation": "An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeDataSharesForConsumer request\n exceed the value specified in MaxRecords
, Amazon Web Services returns a value in the\n Marker
field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker
parameter and\n retrying the request.
An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeDataSharesForProducer request\n exceed the value specified in MaxRecords
, Amazon Web Services returns a value in the\n Marker
field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker
parameter and\n retrying the request.
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataShares request exceed the value specified in MaxRecords
, Amazon Web Services returns a value in the Marker
field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker
parameter and retrying the request.
An optional pagination token provided by a previous\n DescribeEndpointAccess
request. If this parameter is specified, the\n response includes only records beyond the marker, up to the value specified by the\n MaxRecords
parameter.
An optional pagination token provided by a previous\n DescribeEndpointAuthorization
request. If this parameter is specified, the\n response includes only records beyond the marker, up to the value specified by the\n MaxRecords
parameter.
The maximum number of response records to return in each call. If the number of\n remaining response records exceeds the specified MaxRecords
value, a value\n is returned in a marker
field of the response. You can retrieve the next\n set of records by retrying the command with the returned marker value.
Default: 500
\n
Constraints: minimum 100, maximum 500.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#DescribeOrderableClusterOptions": { @@ -6762,7 +6908,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#DescribePartners": { @@ -6814,6 +6961,9 @@ "smithy.api#documentation": "The name of the partner that is being described. If partner name is not specified, then all partner integrations are described.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#DescribePartnersOutputMessage": { @@ -6825,6 +6975,9 @@ "smithy.api#documentation": "A list of partner integrations.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.redshift#DescribeReservedNodeExchangeStatus": { @@ -6883,6 +7036,9 @@ "smithy.api#documentation": "An optional pagination token provided by a previous DescribeReservedNodeExchangeStatus
request. If this \n parameter is specified, the response includes only records beyond the marker, up to the value \n specified by the MaxRecords
parameter. You can retrieve the next set of response\n records by providing the returned marker value in the Marker
parameter and\n retrying the request.
A pagination token provided by a previous DescribeReservedNodeExchangeStatus
request.
The maximum number of response records to return in each call. If the number of\n remaining response records exceeds the specified MaxRecords
value, a value\n is returned in a marker
field of the response. You can retrieve the next\n set of records by retrying the command with the returned marker value.
Default: 100
\n
Constraints: minimum 20, maximum 100.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#DescribeSnapshotCopyGrants": { @@ -7184,7 +7349,8 @@ } }, "traits": { - "smithy.api#documentation": "The result of the DescribeSnapshotCopyGrants
action.
The result of the DescribeSnapshotCopyGrants
action.
The maximum number or response records to return in each call. If the number of\n remaining response records exceeds the specified MaxRecords
value, a value\n is returned in a marker
field of the response. You can retrieve the next\n set of records by retrying the command with the returned marker
\n value.
A value that indicates the starting point for the next set of response records in a\n subsequent request. If a value is returned in a response, you can retrieve the next set\n of records by providing this returned marker value in the marker
parameter\n and retrying the command. If the marker
field is empty, all response\n records have been retrieved for the request.
A tag value or values for which you want to return all matching usage limit objects\n that are associated with the specified tag value or values. For example, suppose\n that you have parameter groups that are tagged with values called admin
and\n test
. If you specify both of these tag values in the request, Amazon Redshift\n returns a response with the usage limit objects that have either or both of these tag\n values associated with them.
From a datashare consumer account, removes association of a datashare from all the existing and future namespaces in the specified Amazon Web Services Region.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#Double": { @@ -7760,7 +7942,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#EnableSnapshotCopy": { @@ -7847,7 +8030,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#EnableSnapshotCopyResult": { @@ -8282,7 +8466,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#output": {} } }, "com.amazonaws.redshift#EventInfoMap": { @@ -8453,7 +8638,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#output": {} } }, "com.amazonaws.redshift#EventsMessage": { @@ -8473,7 +8659,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#output": {} } }, "com.amazonaws.redshift#ExceptionMessage": { @@ -8547,7 +8734,8 @@ } }, "traits": { - "smithy.api#documentation": "The request parameters to get cluster credentials.
" + "smithy.api#documentation": "The request parameters to get cluster credentials.
", + "smithy.api#input": {} } }, "com.amazonaws.redshift#GetClusterCredentialsWithIAM": { @@ -8597,6 +8785,9 @@ "smithy.api#documentation": "The custom domain name for the IAM message cluster credentials.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#GetReservedNodeExchangeConfigurationOptions": { @@ -8677,6 +8868,9 @@ "smithy.api#documentation": "An optional pagination token provided by a previous GetReservedNodeExchangeConfigurationOptions
request. If this \n parameter is specified, the response includes only records beyond the marker, up to the value \n specified by the MaxRecords
parameter. You can retrieve the next set of response\n records by providing the returned marker value in the Marker
parameter and\n retrying the request.
the configuration options for the reserved-node\n exchange. These options include information about the source reserved node and target reserved\n node. Details include the node type, the price, the node count, and the offering\n type.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.redshift#GetReservedNodeExchangeOfferings": { @@ -8758,7 +8955,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#GetReservedNodeExchangeOfferingsOutputMessage": { @@ -8776,6 +8974,9 @@ "smithy.api#documentation": "Returns an array of ReservedNodeOffering objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.redshift#HsmClientCertificate": { @@ -8847,7 +9048,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#output": {} } }, "com.amazonaws.redshift#HsmClientCertificateNotFoundFault": { @@ -8965,7 +9167,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#output": {} } }, "com.amazonaws.redshift#HsmConfigurationNotFoundFault": { @@ -9865,6 +10068,9 @@ "smithy.api#documentation": "This parameter is retired. Amazon Redshift automatically determines whether to use AQUA (Advanced Query Accelerator).
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#ModifyAquaOutputMessage": { @@ -9876,7 +10082,10 @@ "smithy.api#documentation": "This parameter is retired. Amazon Redshift automatically determines whether to use AQUA (Advanced Query Accelerator).
" } } - } + }, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.redshift#ModifyAuthenticationProfile": { "type": "operation", @@ -9918,6 +10127,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#ModifyAuthenticationProfileResult": { @@ -10057,6 +10269,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#ModifyClusterDbRevisionResult": { @@ -10120,7 +10335,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#ModifyClusterIamRolesResult": { @@ -10194,6 +10410,9 @@ "smithy.api#documentation": "An integer indicating the duration of the maintenance window in days. If you specify a\n duration, you can't specify an end time. The duration must be 45 days or less.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#ModifyClusterMaintenanceResult": { @@ -10363,7 +10582,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#ModifyClusterParameterGroup": { @@ -10405,7 +10625,8 @@ } }, "traits": { - "smithy.api#documentation": "Describes a modify cluster parameter group operation.
" + "smithy.api#documentation": "Describes a modify cluster parameter group operation.
", + "smithy.api#input": {} } }, "com.amazonaws.redshift#ModifyClusterResult": { @@ -10465,6 +10686,9 @@ "smithy.api#documentation": "A Boolean option to override an exception if the retention period has already\n passed.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#ModifyClusterSnapshotResult": { @@ -10523,6 +10747,9 @@ "smithy.api#documentation": "A boolean to indicate whether to remove the assoiciation between the cluster and the\n schedule.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#ModifyClusterSubnetGroup": { @@ -10582,7 +10809,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#ModifyClusterSubnetGroupResult": { @@ -10641,6 +10869,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#ModifyCustomDomainAssociationResult": { @@ -10723,6 +10954,9 @@ "smithy.api#documentation": "The complete list of VPC security groups associated with the endpoint after the endpoint is modified.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#ModifyEventSubscription": { @@ -10814,7 +11048,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#ModifyEventSubscriptionResult": { @@ -10909,6 +11144,9 @@ "smithy.api#documentation": "A modified enable flag of the scheduled action. If true, the scheduled action is active. If false, the scheduled action is disabled.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#ModifySnapshotCopyRetentionPeriod": { @@ -10967,7 +11205,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#ModifySnapshotCopyRetentionPeriodResult": { @@ -11021,6 +11260,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#ModifyUsageLimit": { @@ -11068,6 +11310,9 @@ "smithy.api#documentation": "The new action that Amazon Redshift takes when the limit is reached. \n For more information about this parameter, see UsageLimit.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#NetworkInterface": { @@ -11233,6 +11478,9 @@ "smithy.api#documentation": "A value that indicates the starting point for the next set of response records in a\n subsequent request. If a value is returned in a response, you can retrieve the next set\n of records by providing this returned marker value in the Marker
parameter\n and retrying the command. If the Marker
field is empty, all response\n records have been retrieved for the request.
Contains the output from the DescribeOrderableClusterOptions\n action.
" + "smithy.api#documentation": "Contains the output from the DescribeOrderableClusterOptions\n action.
", + "smithy.api#output": {} } }, "com.amazonaws.redshift#Parameter": { @@ -11844,7 +12093,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#PurchaseReservedNodeOfferingResult": { @@ -11890,7 +12140,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#RebootClusterResult": { @@ -12385,52 +12636,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", @@ -12438,13 +12693,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -12454,92 +12718,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://redshift-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://redshift-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -12548,155 +12803,115 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws-us-gov", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsFIPS" + "name" ] } ] } ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://redshift.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [], - "endpoint": { - "url": "https://redshift-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "endpoint": { + "url": "https://redshift.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://redshift-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://redshift.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://redshift.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://redshift.{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://redshift.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -13420,6 +13635,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#ReservedNode": { @@ -13875,7 +14093,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#output": {} } }, "com.amazonaws.redshift#ReservedNodeQuotaExceededFault": { @@ -13912,7 +14131,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#output": {} } }, "com.amazonaws.redshift#ResetClusterParameterGroup": { @@ -13960,7 +14180,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#ResizeCluster": { @@ -14566,7 +14787,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#RestoreFromClusterSnapshotResult": { @@ -14728,7 +14950,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#RestoreTableFromClusterSnapshotResult": { @@ -14879,7 +15102,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#RevokeClusterSecurityGroupIngressResult": { @@ -14956,6 +15180,9 @@ "smithy.api#documentation": "Indicates whether to force the revoke action. \n If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#RevokeSnapshotAccess": { @@ -15014,7 +15241,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#RevokeSnapshotAccessResult": { @@ -15063,7 +15291,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.redshift#RotateEncryptionKeyResult": { @@ -15454,6 +15683,9 @@ "smithy.api#documentation": "List of retrieved scheduled actions.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.redshift#ScheduledSnapshotTimeList": { @@ -15837,7 +16069,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#output": {} } }, "com.amazonaws.redshift#SnapshotCopyGrantNotFoundFault": { @@ -15941,7 +16174,8 @@ } }, "traits": { - "smithy.api#documentation": "Contains the output from the DescribeClusterSnapshots action.\n
" + "smithy.api#documentation": "Contains the output from the DescribeClusterSnapshots action.\n
", + "smithy.api#output": {} } }, "com.amazonaws.redshift#SnapshotSchedule": { @@ -16535,7 +16769,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#output": {} } }, "com.amazonaws.redshift#TableRestoreStatusType": { @@ -16689,7 +16924,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#output": {} } }, "com.amazonaws.redshift#TrackList": { @@ -16716,6 +16952,9 @@ "smithy.api#documentation": "The starting point to return a set of response tracklist records. You can retrieve the\n next set of response records by providing the returned marker value in the\n Marker
parameter and retrying the request.
The status message provided by the partner.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.redshift#UpdateTarget": { diff --git a/codegen/sdk-codegen/aws-models/resiliencehub.json b/codegen/sdk-codegen/aws-models/resiliencehub.json index a8cfaef70c8..6f00feb405b 100644 --- a/codegen/sdk-codegen/aws-models/resiliencehub.json +++ b/codegen/sdk-codegen/aws-models/resiliencehub.json @@ -1216,52 +1216,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", @@ -1269,13 +1273,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -1285,224 +1298,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://resiliencehub-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://resiliencehub-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": [ { "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": [], - "endpoint": { - "url": "https://resiliencehub-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://resiliencehub-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://resiliencehub.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://resiliencehub.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://resiliencehub.{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://resiliencehub.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/resource-explorer-2.json b/codegen/sdk-codegen/aws-models/resource-explorer-2.json index 9363c532738..15b7e34953b 100644 --- a/codegen/sdk-codegen/aws-models/resource-explorer-2.json +++ b/codegen/sdk-codegen/aws-models/resource-explorer-2.json @@ -1432,18 +1432,28 @@ ] }, { - "conditions": [], + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], "type": "tree", @@ -1451,19 +1461,35 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ + true, { - "ref": "Region" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] } - ], - "assign": "PartitionResult" + ] } ], "type": "tree", "rules": [ { - "conditions": [], + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], "type": "tree", "rules": [ { @@ -1478,7 +1504,7 @@ { "ref": "PartitionResult" }, - "supportsDualStack" + "supportsFIPS" ] } ] @@ -1486,62 +1512,10 @@ ], "type": "tree", "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://resource-explorer-2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ] - }, { "conditions": [], "endpoint": { - "url": "https://resource-explorer-2.{Region}.{PartitionResult#dualStackDnsSuffix}", + "url": "https://resource-explorer-2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, @@ -1551,95 +1525,91 @@ }, { "conditions": [], - "type": "tree", - "rules": [ + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://resource-explorer-2.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ + "fn": "getAttr", + "argv": [ { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://resource-explorer-2-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "ref": "PartitionResult" }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ] - }, - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://resource-explorer-2.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "supportsFIPS" ] } ] } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://resource-explorer-2-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" } ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://resource-explorer-2.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -1752,6 +1722,12 @@ "UseFIPS": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/codegen/sdk-codegen/aws-models/resource-groups-tagging-api.json b/codegen/sdk-codegen/aws-models/resource-groups-tagging-api.json index ad7c41d5ddf..7992be145fd 100644 --- a/codegen/sdk-codegen/aws-models/resource-groups-tagging-api.json +++ b/codegen/sdk-codegen/aws-models/resource-groups-tagging-api.json @@ -88,7 +88,7 @@ } }, "traits": { - "smithy.api#documentation": "The request was denied because performing this operation violates a constraint.
\nSome of the reasons in the following list might not apply to this specific\n operation.
\nYou must meet the prerequisites for using tag policies. For information, see\n Prerequisites and Permissions for Using Tag Policies in the\n Organizations User Guide.\n
\nYou must enable the tag policies service principal\n (tagpolicies.tag.amazonaws.com
) to integrate with Organizations For\n information, see EnableAWSServiceAccess.
You must have a tag policy attached to the organization root, an OU, or an\n account.
\nThe request was denied because performing this operation violates a constraint.
\nSome of the reasons in the following list might not apply to this specific\n operation.
\nYou must meet the prerequisites for using tag policies. For information, see\n Prerequisites and Permissions for Using Tag Policies in the\n Organizations User Guide.\n
\nYou must enable the tag policies service principal\n (tagpolicies.tag.amazonaws.com
) to integrate with Organizations For\n information, see EnableAWSServiceAccess.
You must have a tag policy attached to the organization root, an OU, or an\n account.
\nDescribes the status of the StartReportCreation
operation.
You can call this operation only from the organization's \n management account and from the us-east-1 Region.
" + "smithy.api#documentation": "Describes the status of the StartReportCreation
operation.
You can call this operation only from the organization's \n management account and from the us-east-1 Region.
" } }, "com.amazonaws.resourcegroupstaggingapi#DescribeReportCreationInput": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.resourcegroupstaggingapi#DescribeReportCreationOutput": { "type": "structure", @@ -128,7 +131,7 @@ "Status": { "target": "com.amazonaws.resourcegroupstaggingapi#Status", "traits": { - "smithy.api#documentation": "Reports the status of the operation.
\nThe operation status can be one of the following:
\n\n RUNNING
- Report creation is in progress.
\n SUCCEEDED
- Report creation is complete. You can open the report\n from the Amazon S3 bucket that you specified when you ran\n StartReportCreation
.
\n FAILED
- Report creation timed out or the Amazon S3 bucket is not\n accessible.
\n NO REPORT
- No report was generated in the last 90 days.
Reports the status of the operation.
\nThe operation status can be one of the following:
\n\n RUNNING
- Report creation is in progress.
\n SUCCEEDED
- Report creation is complete. You can open the report\n from the Amazon S3 bucket that you specified when you ran\n StartReportCreation
.
\n FAILED
- Report creation timed out or the Amazon S3 bucket is not\n accessible.
\n NO REPORT
- No report was generated in the last 90 days.
Details of the common errors that all operations return.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.resourcegroupstaggingapi#ErrorCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "InternalServiceException", - "name": "INTERNAL_SERVICE_EXCEPTION" - }, - { - "value": "InvalidParameterException", - "name": "INVALID_PARAMETER_EXCEPTION" + "type": "enum", + "members": { + "INTERNAL_SERVICE_EXCEPTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InternalServiceException" + } + }, + "INVALID_PARAMETER_EXCEPTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InvalidParameterException" } - ] + } } }, "com.amazonaws.resourcegroupstaggingapi#ErrorMessage": { @@ -214,7 +222,7 @@ } }, "traits": { - "smithy.api#documentation": "Information about the errors that are returned for each failed resource. This\n information can include InternalServiceException
and\n InvalidParameterException
errors. It can also include any valid error\n code returned by the Amazon Web Services service that hosts the resource that the ARN key\n represents.
The following are common error codes that you might receive from other Amazon Web Services\n services:
\n\n InternalServiceException – This can\n mean that the Resource Groups Tagging API didn't receive a response from another Amazon Web Services service. It\n can also mean that the resource type in the request is not supported by the\n Resource Groups Tagging API. In these cases, it's safe to retry the request and then call GetResources to verify the changes.
\n\n AccessDeniedException – This can mean\n that you need permission to call the tagging operations in the Amazon Web Services service\n that contains the resource. For example, to use the Resource Groups Tagging API to tag a Amazon CloudWatch\n alarm resource, you need permission to call both \n TagResources
\n \n and\n \n TagResource
\n in the CloudWatch API.
For more information on errors that are generated from other Amazon Web Services services, see the\n documentation for that service.
" + "smithy.api#documentation": "Information about the errors that are returned for each failed resource. This\n information can include InternalServiceException
and\n InvalidParameterException
errors. It can also include any valid error\n code returned by the Amazon Web Services service that hosts the resource that the ARN key\n represents.
The following are common error codes that you might receive from other Amazon Web Services\n services:
\n\n InternalServiceException – This can\n mean that the Resource Groups Tagging API didn't receive a response from another Amazon Web Services service. It\n can also mean that the resource type in the request is not supported by the\n Resource Groups Tagging API. In these cases, it's safe to retry the request and then call GetResources to verify the changes.
\n\n AccessDeniedException – This can mean\n that you need permission to call the tagging operations in the Amazon Web Services service\n that contains the resource. For example, to use the Resource Groups Tagging API to tag a Amazon CloudWatch\n alarm resource, you need permission to call both \n TagResources
\n \n and\n \n TagResource
\n in the CloudWatch API.
For more information on errors that are generated from other Amazon Web Services services, see the\n documentation for that service.
" } }, "com.amazonaws.resourcegroupstaggingapi#GetComplianceSummary": { @@ -240,7 +248,7 @@ } ], "traits": { - "smithy.api#documentation": "Returns a table that shows counts of resources that are noncompliant with their tag\n policies.
\nFor more information on tag policies, see Tag Policies in\n the Organizations User Guide.\n
\nYou can call this operation only from the organization's \n management account and from the us-east-1 Region.
\nThis operation supports pagination, where the response can be sent in \n multiple pages. You should check the PaginationToken
response parameter to determine\n if there are additional results available to return. Repeat the query, passing the\n PaginationToken
response parameter value as an input to the next request until you\n recieve a null
value. A null value for PaginationToken
indicates that\n there are no more results waiting to be returned.
Returns a table that shows counts of resources that are noncompliant with their tag\n policies.
\nFor more information on tag policies, see Tag Policies in\n the Organizations User Guide.\n
\nYou can call this operation only from the organization's \n management account and from the us-east-1 Region.
\nThis operation supports pagination, where the response can be sent in \n multiple pages. You should check the PaginationToken
response parameter to determine\n if there are additional results available to return. Repeat the query, passing the\n PaginationToken
response parameter value as an input to the next request until you\n recieve a null
value. A null value for PaginationToken
indicates that\n there are no more results waiting to be returned.
Specifies that you want the response to include information for only resources of the\n specified types. The format of each resource type is\n service[:resourceType]
. For example, specifying a resource type of\n ec2
returns all Amazon EC2 resources (which includes EC2 instances).\n Specifying a resource type of ec2:instance
returns only EC2\n instances.
The string for each service name and resource type is the same as that embedded in a\n resource's Amazon Resource Name (ARN). Consult the \n Amazon Web Services General Reference\n \n for the following:
\nFor a list of service name strings, see Amazon Web Services Service Namespaces.
\nFor resource type strings, see Example\n ARNs.
\nFor more information about ARNs, see Amazon Resource Names\n (ARNs) and Amazon Web Services Service Namespaces.
\nYou can specify multiple resource types by using a comma separated array. The array\n can include up to 100 items. Note that the length constraint requirement applies to each\n resource type filter.
" + "smithy.api#documentation": "Specifies that you want the response to include information for only resources of the\n specified types. The format of each resource type is\n service[:resourceType]
. For example, specifying a resource type of\n ec2
returns all Amazon EC2 resources (which includes EC2 instances).\n Specifying a resource type of ec2:instance
returns only EC2\n instances.
The string for each service name and resource type is the same as that embedded in a\n resource's Amazon Resource Name (ARN). Consult the \n Amazon Web Services General Reference\n \n for the following:
\nFor a list of service name strings, see Amazon Web Services Service Namespaces.
\nFor resource type strings, see Example\n ARNs.
\nFor more information about ARNs, see Amazon Resource Names\n (ARNs) and Amazon Web Services Service Namespaces.
\nYou can specify multiple resource types by using a comma separated array. The array\n can include up to 100 items. Note that the length constraint requirement applies to each\n resource type filter.
" } }, "TagKeyFilters": { @@ -294,6 +302,9 @@ "smithy.api#documentation": "Specifies a PaginationToken
response value from a \n previous request to indicate that you want the next page of results. Leave this parameter empty \n in your initial request.
A string that indicates that there is more data available than this\n response contains. To receive the next part of the response, specify this response value \n as the PaginationToken
value in the request for the next page.
Returns all the tagged or previously tagged resources that are located in the\n specified Amazon Web Services Region for the account.
\nDepending on what information you want returned, you can also specify the\n following:
\n\n Filters that specify what tags and resource types you\n want returned. The response includes all tags that are associated with the\n requested resources.
\nInformation about compliance with the account's effective tag policy. For more\n information on tag policies, see Tag\n Policies in the Organizations User Guide.\n
\nThis operation supports pagination, where the response can be sent in \n multiple pages. You should check the PaginationToken
response parameter to determine\n if there are additional results available to return. Repeat the query, passing the\n PaginationToken
response parameter value as an input to the next request until you\n recieve a null
value. A null value for PaginationToken
indicates that\n there are no more results waiting to be returned.
Returns all the tagged or previously tagged resources that are located in the\n specified Amazon Web Services Region for the account.
\nDepending on what information you want returned, you can also specify the\n following:
\n\n Filters that specify what tags and resource types you\n want returned. The response includes all tags that are associated with the\n requested resources.
\nInformation about compliance with the account's effective tag policy. For more\n information on tag policies, see Tag\n Policies in the Organizations User Guide.\n
\nThis operation supports pagination, where the response can be sent in \n multiple pages. You should check the PaginationToken
response parameter to determine\n if there are additional results available to return. Repeat the query, passing the\n PaginationToken
response parameter value as an input to the next request until you\n recieve a null
value. A null value for PaginationToken
indicates that\n there are no more results waiting to be returned.
Specifies a list of TagFilters (keys and values) to restrict the output to only those\n resources that have tags with the specified keys and, if included, the specified values.\n Each TagFilter
must contain a key with values optional. A request can\n include up to 50 keys, and each key can include up to 20 values.
Note the following when deciding how to use TagFilters:
\nIf you don't specify a TagFilter
, the\n response includes all resources that are currently tagged or ever had a tag.\n Resources that currently don't have tags are shown with an empty tag set, like\n this: \"Tags\": []
.
If you specify more than one filter in a single request, the response returns\n only those resources that satisfy all filters.
\nIf you specify a filter that contains more than one value for a key, the\n response returns resources that match any of the specified\n values for that key.
\nIf you don't specify a value for a key, the response returns all resources\n that are tagged with that key, with any or no value.
\nFor example, for the following filters: filter1= {keyA,{value1}}
,\n filter2={keyB,{value2,value3,value4}}
, filter3=\n {keyC}
:
\n GetResources({filter1})
returns resources tagged with\n key1=value1
\n
\n GetResources({filter2})
returns resources tagged with\n key2=value2
or key2=value3
or\n key2=value4
\n
\n GetResources({filter3})
returns resources tagged with any\n tag with the key key3
, and with any or no value
\n GetResources({filter1,filter2,filter3})
returns resources\n tagged with (key1=value1) and (key2=value2 or key2=value3 or\n key2=value4) and (key3, any or no value)
\n
Specifies a list of TagFilters (keys and values) to restrict the output to only those\n resources that have tags with the specified keys and, if included, the specified values.\n Each TagFilter
must contain a key with values optional. A request can\n include up to 50 keys, and each key can include up to 20 values.
Note the following when deciding how to use TagFilters:
\nIf you don't specify a TagFilter
, the\n response includes all resources that are currently tagged or ever had a tag.\n Resources that currently don't have tags are shown with an empty tag set, like\n this: \"Tags\": []
.
If you specify more than one filter in a single request, the response returns\n only those resources that satisfy all filters.
\nIf you specify a filter that contains more than one value for a key, the\n response returns resources that match any of the specified\n values for that key.
\nIf you don't specify a value for a key, the response returns all resources\n that are tagged with that key, with any or no value.
\nFor example, for the following filters: filter1= {keyA,{value1}}
,\n filter2={keyB,{value2,value3,value4}}
, filter3=\n {keyC}
:
\n GetResources({filter1})
returns resources tagged with\n key1=value1
\n
\n GetResources({filter2})
returns resources tagged with\n key2=value2
or key2=value3
or\n key2=value4
\n
\n GetResources({filter3})
returns resources tagged with any\n tag with the key key3
, and with any or no value
\n GetResources({filter1,filter2,filter3})
returns resources\n tagged with (key1=value1) and (key2=value2 or key2=value3 or\n key2=value4) and (key3, any or no value)
\n
Amazon Web Services recommends using ResourcesPerPage
instead of this parameter.
A limit that restricts the number of tags (key and value pairs) returned by\n GetResources
in paginated output. A resource with no tags is counted as\n having one tag (one key and value pair).
\n GetResources
does not split a resource and its associated tags across\n pages. If the specified TagsPerPage
would cause such a break, a\n PaginationToken
is returned in place of the affected resource and its\n tags. Use that token in another request to get the remaining data. For example, if you\n specify a TagsPerPage
of 100
and the account has 22 resources\n with 10 tags each (meaning that each resource has 10 key and value pairs), the output\n will consist of three pages. The first page displays the first 10 resources, each with\n its 10 tags. The second page displays the next 10 resources, each with its 10 tags. The\n third page displays the remaining 2 resources, each with its 10 tags.
You can set TagsPerPage
to a minimum of 100 items up to a maximum of 500\n items.
Amazon Web Services recommends using ResourcesPerPage
instead of this parameter.
A limit that restricts the number of tags (key and value pairs) returned by\n GetResources
in paginated output. A resource with no tags is counted as\n having one tag (one key and value pair).
\n GetResources
does not split a resource and its associated tags across\n pages. If the specified TagsPerPage
would cause such a break, a\n PaginationToken
is returned in place of the affected resource and its\n tags. Use that token in another request to get the remaining data. For example, if you\n specify a TagsPerPage
of 100
and the account has 22 resources\n with 10 tags each (meaning that each resource has 10 key and value pairs), the output\n will consist of three pages. The first page displays the first 10 resources, each with\n its 10 tags. The second page displays the next 10 resources, each with its 10 tags. The\n third page displays the remaining 2 resources, each with its 10 tags.
You can set TagsPerPage
to a minimum of 100 items up to a maximum of 500\n items.
Specifies the resource types that you want included in the response. The format of\n each resource type is service[:resourceType]
. For example, specifying a\n resource type of ec2
returns all Amazon EC2 resources (which includes EC2\n instances). Specifying a resource type of ec2:instance
returns only EC2\n instances.
The string for each service name and resource type is the same as that embedded in a\n resource's Amazon Resource Name (ARN). For the list of services whose resources you can\n use in this parameter, see Services that support the Resource Groups Tagging API.
\nYou can specify multiple resource types by using an array. The array can include up to\n 100 items. Note that the length constraint requirement applies to each resource type\n filter. For example, the following string would limit the response to only Amazon EC2\n instances, Amazon S3 buckets, or any Audit Manager resource:
\n\n ec2:instance,s3:bucket,auditmanager
\n
Specifies the resource types that you want included in the response. The format of\n each resource type is service[:resourceType]
. For example, specifying a\n resource type of ec2
returns all Amazon EC2 resources (which includes EC2\n instances). Specifying a resource type of ec2:instance
returns only EC2\n instances.
The string for each service name and resource type is the same as that embedded in a\n resource's Amazon Resource Name (ARN). For the list of services whose resources you can\n use in this parameter, see Services that support the Resource Groups Tagging API.
\nYou can specify multiple resource types by using an array. The array can include up to\n 100 items. Note that the length constraint requirement applies to each resource type\n filter. For example, the following string would limit the response to only Amazon EC2\n instances, Amazon S3 buckets, or any Audit Manager resource:
\n\n ec2:instance,s3:bucket,auditmanager
\n
Specifies whether to exclude resources that are compliant with the tag policy. Set\n this to true
if you are interested in retrieving information on\n noncompliant resources only.
You can use this parameter only if the IncludeComplianceDetails
parameter\n is also set to true
.
Specifies whether to exclude resources that are compliant with the tag policy. Set\n this to true
if you are interested in retrieving information on\n noncompliant resources only.
You can use this parameter only if the IncludeComplianceDetails
parameter\n is also set to true
.
Specifies a list of ARNs of resources for which you want to retrieve tag data. You\n can't specify both this parameter and any of the pagination parameters\n (ResourcesPerPage
, TagsPerPage
,\n PaginationToken
) in the same request. If you specify both, you get an\n Invalid Parameter
exception.
If a resource specified by this parameter doesn't exist, it doesn't generate an error;\n it simply isn't included in the response.
\nAn ARN (Amazon Resource Name) uniquely identifies a resource. For more information,\n see Amazon\n Resource Names (ARNs) and Amazon Web Services Service Namespaces in the\n Amazon Web Services General Reference.
" + "smithy.api#documentation": "Specifies a list of ARNs of resources for which you want to retrieve tag data. You\n can't specify both this parameter and any of the pagination parameters\n (ResourcesPerPage
, TagsPerPage
,\n PaginationToken
) in the same request. If you specify both, you get an\n Invalid Parameter
exception.
If a resource specified by this parameter doesn't exist, it doesn't generate an error;\n it simply isn't included in the response.
\nAn ARN (Amazon Resource Name) uniquely identifies a resource. For more information,\n see Amazon\n Resource Names (ARNs) and Amazon Web Services Service Namespaces in the\n Amazon Web Services General Reference.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.resourcegroupstaggingapi#GetResourcesOutput": { @@ -413,6 +430,9 @@ "smithy.api#documentation": "A list of resource ARNs and the tags (keys and values) associated with \n each.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.resourcegroupstaggingapi#GetTagKeys": { @@ -438,7 +458,7 @@ } ], "traits": { - "smithy.api#documentation": "Returns all tag keys currently in use in the specified Amazon Web Services Region for the calling\n account.
\nThis operation supports pagination, where the response can be sent in \n multiple pages. You should check the PaginationToken
response parameter to determine\n if there are additional results available to return. Repeat the query, passing the\n PaginationToken
response parameter value as an input to the next request until you\n recieve a null
value. A null value for PaginationToken
indicates that\n there are no more results waiting to be returned.
Returns all tag keys currently in use in the specified Amazon Web Services Region for the calling\n account.
\nThis operation supports pagination, where the response can be sent in \n multiple pages. You should check the PaginationToken
response parameter to determine\n if there are additional results available to return. Repeat the query, passing the\n PaginationToken
response parameter value as an input to the next request until you\n recieve a null
value. A null value for PaginationToken
indicates that\n there are no more results waiting to be returned.
Specifies a PaginationToken
response value from a \n previous request to indicate that you want the next page of results. Leave this parameter empty \n in your initial request.
A list of all tag keys in the Amazon Web Services account.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.resourcegroupstaggingapi#GetTagValues": { @@ -497,7 +523,7 @@ } ], "traits": { - "smithy.api#documentation": "Returns all tag values for the specified key that are used in the specified Amazon Web Services\n Region for the calling account.
\nThis operation supports pagination, where the response can be sent in \n multiple pages. You should check the PaginationToken
response parameter to determine\n if there are additional results available to return. Repeat the query, passing the\n PaginationToken
response parameter value as an input to the next request until you\n recieve a null
value. A null value for PaginationToken
indicates that\n there are no more results waiting to be returned.
Returns all tag values for the specified key that are used in the specified Amazon Web Services\n Region for the calling account.
\nThis operation supports pagination, where the response can be sent in \n multiple pages. You should check the PaginationToken
response parameter to determine\n if there are additional results available to return. Repeat the query, passing the\n PaginationToken
response parameter value as an input to the next request until you\n recieve a null
value. A null value for PaginationToken
indicates that\n there are no more results waiting to be returned.
A list of all tag values for the specified key currently used in the specified Amazon Web Services\n Region for the calling account.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.resourcegroupstaggingapi#GroupBy": { @@ -547,22 +579,26 @@ } }, "com.amazonaws.resourcegroupstaggingapi#GroupByAttribute": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "TARGET_ID", - "name": "TARGET_ID" - }, - { - "value": "REGION", - "name": "REGION" - }, - { - "value": "RESOURCE_TYPE", - "name": "RESOURCE_TYPE" + "type": "enum", + "members": { + "TARGET_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TARGET_ID" } - ] + }, + "REGION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REGION" + } + }, + "RESOURCE_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESOURCE_TYPE" + } + } } }, "com.amazonaws.resourcegroupstaggingapi#IncludeComplianceDetails": { @@ -588,7 +624,7 @@ } }, "traits": { - "smithy.api#documentation": "This error indicates one of the following:
\nA parameter is missing.
\nA malformed string was supplied for the request parameter.
\nAn out-of-range value was supplied for the request parameter.
\nThe target ID is invalid, unsupported, or doesn't exist.
\nYou can't access the Amazon S3 bucket for report storage. For more information, see\n Additional Requirements for Organization-wide Tag Compliance\n Reports in the Organizations User Guide.\n
\nThis error indicates one of the following:
\nA parameter is missing.
\nA malformed string was supplied for the request parameter.
\nAn out-of-range value was supplied for the request parameter.
\nThe target ID is invalid, unsupported, or doesn't exist.
\nYou can't access the Amazon S3 bucket for report storage. For more information, see\n Additional Requirements for Organization-wide Tag Compliance\n Reports in the Organizations User Guide.\n
\nGenerates a report that lists all tagged resources in the accounts across your\n organization and tells whether each resource is compliant with the effective tag policy.\n Compliance data is refreshed daily. The report is generated asynchronously.
\nThe generated report is saved to the following location:
\n\n s3://example-bucket/AwsTagPolicies/o-exampleorgid/YYYY-MM-ddTHH:mm:ssZ/report.csv
\n
You can call this operation only from the organization's \n management account and from the us-east-1 Region.
" + "smithy.api#documentation": "Generates a report that lists all tagged resources in the accounts across your\n organization and tells whether each resource is compliant with the effective tag policy.\n Compliance data is refreshed daily. The report is generated asynchronously.
\nThe generated report is saved to the following location:
\n\n s3://example-bucket/AwsTagPolicies/o-exampleorgid/YYYY-MM-ddTHH:mm:ssZ/report.csv
\n
You can call this operation only from the organization's \n management account and from the us-east-1 Region.
" } }, "com.amazonaws.resourcegroupstaggingapi#StartReportCreationInput": { @@ -1738,15 +1789,21 @@ "S3Bucket": { "target": "com.amazonaws.resourcegroupstaggingapi#S3Bucket", "traits": { - "smithy.api#documentation": "The name of the Amazon S3 bucket where the report will be stored; for example:
\n\n awsexamplebucket
\n
For more information on S3 bucket requirements, including an example bucket policy,\n see the example S3 bucket policy on this page.
", + "smithy.api#documentation": "The name of the Amazon S3 bucket where the report will be stored; for example:
\n\n awsexamplebucket
\n
For more information on S3 bucket requirements, including an example bucket policy,\n see the example S3 bucket policy on this page.
", "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.resourcegroupstaggingapi#StartReportCreationOutput": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.resourcegroupstaggingapi#Status": { "type": "string" @@ -1943,7 +2000,7 @@ } ], "traits": { - "smithy.api#documentation": "Applies one or more tags to the specified resources. Note the following:
\nNot all resources can have tags. For a list of services with resources that\n support tagging using this operation, see Services that support the\n Resource Groups Tagging API. If the resource doesn't yet support\n this operation, the resource's service might support tagging using its own API\n operations. For more information, refer to the documentation for that\n service.
\nEach resource can have up to 50 tags. For other limits, see Tag Naming and Usage Conventions in the Amazon Web Services General\n Reference.\n
\nYou can only tag resources that are located in the specified Amazon Web Services Region for\n the Amazon Web Services account.
\nTo add tags to a resource, you need the necessary permissions for the service\n that the resource belongs to as well as permissions for adding tags. For more\n information, see the documentation for each service.
\nDo not store personally identifiable information (PII) or other confidential or\n sensitive information in tags. We use tags to provide you with billing and\n administration services. Tags are not intended to be used for private or sensitive\n data.
\n\n Minimum permissions\n
\nIn addition to the tag:TagResources
permission required by this\n operation, you must also have the tagging permission defined by the service that created\n the resource. For example, to tag an Amazon EC2 instance using the TagResources
\n operation, you must have both of the following permissions:
\n tag:TagResource
\n
\n ec2:CreateTags
\n
Applies one or more tags to the specified resources. Note the following:
\nNot all resources can have tags. For a list of services with resources that\n support tagging using this operation, see Services that support the\n Resource Groups Tagging API. If the resource doesn't yet support\n this operation, the resource's service might support tagging using its own API\n operations. For more information, refer to the documentation for that\n service.
\nEach resource can have up to 50 tags. For other limits, see Tag Naming and Usage Conventions in the Amazon Web Services General\n Reference.\n
\nYou can only tag resources that are located in the specified Amazon Web Services Region for\n the Amazon Web Services account.
\nTo add tags to a resource, you need the necessary permissions for the service\n that the resource belongs to as well as permissions for adding tags. For more\n information, see the documentation for each service.
\nDo not store personally identifiable information (PII) or other confidential or\n sensitive information in tags. We use tags to provide you with billing and\n administration services. Tags are not intended to be used for private or sensitive\n data.
\n\n Minimum permissions\n
\nIn addition to the tag:TagResources
permission required by this\n operation, you must also have the tagging permission defined by the service that created\n the resource. For example, to tag an Amazon EC2 instance using the TagResources
\n operation, you must have both of the following permissions:
\n tag:TagResource
\n
\n ec2:CreateTags
\n
Specifies the list of ARNs of the resources that you want to apply tags to.
\nAn ARN (Amazon Resource Name) uniquely identifies a resource. For more information,\n see Amazon\n Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services\n General Reference.
", + "smithy.api#documentation": "Specifies the list of ARNs of the resources that you want to apply tags to.
\nAn ARN (Amazon Resource Name) uniquely identifies a resource. For more information,\n see Amazon\n Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services\n General Reference.
", "smithy.api#required": {} } }, @@ -1963,6 +2020,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.resourcegroupstaggingapi#TagResourcesOutput": { @@ -1974,6 +2034,9 @@ "smithy.api#documentation": "A map containing a key-value pair for each failed item that couldn't be tagged. The\n key is the ARN of the failed resource. The value is a FailureInfo
object\n that contains an error code, a status code, and an error message. If there are no\n errors, the FailedResourcesMap
is empty.
Removes the specified tags from the specified resources. When you specify a tag key,\n the action removes both that key and its associated value. The operation succeeds even\n if you attempt to remove tags from a resource that were already removed. Note the\n following:
\nTo remove tags from a resource, you need the necessary permissions for the\n service that the resource belongs to as well as permissions for removing tags.\n For more information, see the documentation for the service whose resource you\n want to untag.
\nYou can only tag resources that are located in the specified Amazon Web Services Region for\n the calling Amazon Web Services account.
\n\n Minimum permissions\n
\nIn addition to the tag:UntagResources
permission required by this\n operation, you must also have the remove tags permission defined by the service that\n created the resource. For example, to remove the tags from an Amazon EC2 instance using the\n UntagResources
operation, you must have both of the following\n permissions:
\n tag:UntagResource
\n
\n ec2:DeleteTags
\n
Removes the specified tags from the specified resources. When you specify a tag key,\n the action removes both that key and its associated value. The operation succeeds even\n if you attempt to remove tags from a resource that were already removed. Note the\n following:
\nTo remove tags from a resource, you need the necessary permissions for the\n service that the resource belongs to as well as permissions for removing tags.\n For more information, see the documentation for the service whose resource you\n want to untag.
\nYou can only tag resources that are located in the specified Amazon Web Services Region for\n the calling Amazon Web Services account.
\n\n Minimum permissions\n
\nIn addition to the tag:UntagResources
permission required by this\n operation, you must also have the remove tags permission defined by the service that\n created the resource. For example, to remove the tags from an Amazon EC2 instance using the\n UntagResources
operation, you must have both of the following\n permissions:
\n tag:UntagResource
\n
\n ec2:DeleteTags
\n
Specifies a list of ARNs of the resources that you want to remove tags from.
\nAn ARN (Amazon Resource Name) uniquely identifies a resource. For more information,\n see Amazon\n Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services\n General Reference.
", + "smithy.api#documentation": "Specifies a list of ARNs of the resources that you want to remove tags from.
\nAn ARN (Amazon Resource Name) uniquely identifies a resource. For more information,\n see Amazon\n Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services\n General Reference.
", "smithy.api#required": {} } }, @@ -2100,6 +2167,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.resourcegroupstaggingapi#UntagResourcesOutput": { @@ -2111,6 +2181,9 @@ "smithy.api#documentation": "A map containing a key-value pair for each failed item that couldn't be untagged. The\n key is the ARN of the failed resource. The value is a FailureInfo
object\n that contains an error code, a status code, and an error message. If there are no\n errors, the FailedResourcesMap
is empty.
A configuration associates the resource group with an Amazon Web Services service and specifies how\n the service can interact with the resources in the group. A configuration is an array of\n GroupConfigurationItem elements. For details about the syntax of\n service configurations, see Service configurations for Resource Groups.
\nA resource group can contain either a Configuration
or a\n ResourceQuery
, but not both.
The service configuration associated with the resource group. For details about the\n syntax of a service configuration, see Service configurations for Resource Groups.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.resourcegroups#DeleteGroup": { @@ -1287,6 +1307,9 @@ "smithy.api#documentation": "The name or the ARN of the resource group to delete.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.resourcegroups#DeleteGroupOutput": { @@ -1298,6 +1321,9 @@ "smithy.api#documentation": "A full description of the deleted resource group.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.resourcegroups#Description": { @@ -1416,6 +1442,9 @@ "smithy.api#documentation": "The current settings for the optional features in Resource Groups.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.resourcegroups#GetGroup": { @@ -1501,6 +1530,9 @@ "smithy.api#documentation": "The name or the ARN of the resource group for which you want to retrive the service\n configuration.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.resourcegroups#GetGroupConfigurationOutput": { @@ -1512,6 +1544,9 @@ "smithy.api#documentation": "A structure that describes the service configuration attached with the specified\n group. For details about the service configuration syntax, see Service configurations for\n Resource Groups.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.resourcegroups#GetGroupInput": { @@ -1532,6 +1567,9 @@ "smithy.api#documentation": "The name or the ARN of the resource group to retrieve.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.resourcegroups#GetGroupOutput": { @@ -1543,6 +1581,9 @@ "smithy.api#documentation": "A structure that contains the metadata details for the specified resource group. Use\n GetGroupQuery and GetGroupConfiguration to get\n those additional details of the resource group.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.resourcegroups#GetGroupQuery": { @@ -1600,6 +1641,9 @@ "smithy.api#documentation": "The name or the ARN of the resource group to query.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.resourcegroups#GetGroupQueryOutput": { @@ -1611,6 +1655,9 @@ "smithy.api#documentation": "The resource query associated with the specified group. For more information about\n resource queries, see Create\n a tag-based group in Resource Groups.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.resourcegroups#GetTags": { @@ -1661,6 +1708,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.resourcegroups#GetTagsOutput": { @@ -1678,6 +1728,9 @@ "smithy.api#documentation": "The tags associated with the specified resource group.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.resourcegroups#Group": { @@ -2112,6 +2165,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.resourcegroups#GroupResourcesOutput": { @@ -2135,6 +2191,9 @@ "smithy.api#documentation": "A list of ARNs of any resources that this operation is still in the process adding to\n the group. These pending additions continue asynchronously. You can check the status of\n pending additions by using the \n ListGroupResources\n
\n operation, and checking the Resources
array in the response and the\n Status
field of each object in that array.
The parameter for receiving additional results if you receive a\nNextToken
response in a previous request. A NextToken
response \nindicates that more output is available. Set this parameter to the value provided by a previous \ncall's NextToken
response to indicate where the output should continue from.
A list of QueryError
objects. Each error is an object that contains\n ErrorCode
and Message
structures. Possible values for\n ErrorCode
are CLOUDFORMATION_STACK_INACTIVE
and\n CLOUDFORMATION_STACK_NOT_EXISTING
.
If present, indicates that more output is available than is \nincluded in the current response. Use this value in the NextToken
request parameter \nin a subsequent call to the operation to get the next part of the output. You should repeat this \nuntil the NextToken
response element comes back as null
.
The new configuration to associate with the specified group. A configuration\n associates the resource group with an Amazon Web Services service and specifies how the service can\n interact with the resources in the group. A configuration is an array of GroupConfigurationItem elements.
\nFor information about the syntax of a service configuration, see Service configurations for\n Resource Groups.
\nA resource group can contain either a Configuration
or a\n ResourceQuery
, but not both.
The parameter for receiving additional results if you receive a\nNextToken
response in a previous request. A NextToken
response \nindicates that more output is available. Set this parameter to the value provided by a previous \ncall's NextToken
response to indicate where the output should continue from.
A list of QueryError
objects. Each error is an object that contains\n ErrorCode
and Message
structures.
Possible values for ErrorCode
:
\n CLOUDFORMATION_STACK_INACTIVE
\n
\n CLOUDFORMATION_STACK_NOT_EXISTING
\n
The tags that have been added to the specified resource group.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.resourcegroups#TagValue": { @@ -3036,6 +3125,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.resourcegroups#UngroupResourcesOutput": { @@ -3059,6 +3151,9 @@ "smithy.api#documentation": "A list of any resources that are still in the process of being removed from the group\n by this operation. These pending removals continue asynchronously. You can check the\n status of pending removals by using the \n ListGroupResources\n
operation. After the resource is successfully removed, it no longer\n appears in the response.
The keys of the tags that were removed.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.resourcegroups#UpdateAccountSettings": { @@ -3178,6 +3279,9 @@ "smithy.api#documentation": "Specifies whether you want to turn group lifecycle events on or off.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.resourcegroups#UpdateAccountSettingsOutput": { @@ -3189,6 +3293,9 @@ "smithy.api#documentation": "A structure that displays the status of the optional features in the account.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.resourcegroups#UpdateGroup": { @@ -3252,6 +3359,9 @@ "smithy.api#documentation": "The new description that you want to update the resource group with. Descriptions can\n contain letters, numbers, hyphens, underscores, periods, and spaces.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.resourcegroups#UpdateGroupOutput": { @@ -3263,6 +3373,9 @@ "smithy.api#documentation": "The update description of the resource group.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.resourcegroups#UpdateGroupQuery": { @@ -3327,6 +3440,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.resourcegroups#UpdateGroupQueryOutput": { @@ -3338,6 +3454,9 @@ "smithy.api#documentation": "The updated resource query associated with the resource group after the update.
" } } + }, + "traits": { + "smithy.api#output": {} } } } diff --git a/codegen/sdk-codegen/aws-models/robomaker.json b/codegen/sdk-codegen/aws-models/robomaker.json index fe7edeae891..d0735e918bf 100644 --- a/codegen/sdk-codegen/aws-models/robomaker.json +++ b/codegen/sdk-codegen/aws-models/robomaker.json @@ -30,22 +30,26 @@ }, "shapes": { "com.amazonaws.robomaker#Architecture": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "X86_64", - "name": "X86_64" - }, - { - "value": "ARM64", - "name": "ARM64" - }, - { - "value": "ARMHF", - "name": "ARMHF" + "type": "enum", + "members": { + "X86_64": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "X86_64" + } + }, + "ARM64": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ARM64" + } + }, + "ARMHF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ARMHF" } - ] + } } }, "com.amazonaws.robomaker#Arn": { @@ -108,6 +112,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#BatchDeleteWorldsResponse": { @@ -119,6 +126,9 @@ "smithy.api#documentation": "A list of unprocessed worlds associated with the call. These worlds were not\n deleted.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.robomaker#BatchDescribeSimulationJob": { @@ -162,6 +172,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#BatchDescribeSimulationJobResponse": { @@ -179,6 +192,9 @@ "smithy.api#documentation": "A list of unprocessed simulation job Amazon Resource Names (ARNs).
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.robomaker#BatchPolicy": { @@ -261,7 +277,8 @@ "traits": { "smithy.api#deprecated": { "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - } + }, + "smithy.api#input": {} } }, "com.amazonaws.robomaker#CancelDeploymentJobResponse": { @@ -270,7 +287,8 @@ "traits": { "smithy.api#deprecated": { "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - } + }, + "smithy.api#output": {} } }, "com.amazonaws.robomaker#CancelSimulationJob": { @@ -345,11 +363,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#CancelSimulationJobBatchResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.robomaker#CancelSimulationJobRequest": { "type": "structure", @@ -361,11 +385,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#CancelSimulationJobResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.robomaker#CancelWorldExportJob": { "type": "operation", @@ -408,11 +438,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#CancelWorldExportJobResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.robomaker#CancelWorldGenerationJob": { "type": "operation", @@ -455,11 +491,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#CancelWorldGenerationJobResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.robomaker#ClientRequestToken": { "type": "string", @@ -540,18 +582,20 @@ } }, "com.amazonaws.robomaker#ComputeType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CPU", - "name": "CPU" - }, - { - "value": "GPU_AND_CPU", - "name": "GPU_AND_CPU" + "type": "enum", + "members": { + "CPU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CPU" + } + }, + "GPU_AND_CPU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GPU_AND_CPU" } - ] + } } }, "com.amazonaws.robomaker#ConcurrentDeploymentException": { @@ -651,7 +695,8 @@ "traits": { "smithy.api#deprecated": { "message": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - } + }, + "smithy.api#input": {} } }, "com.amazonaws.robomaker#CreateDeploymentJobResponse": { @@ -715,7 +760,8 @@ "traits": { "smithy.api#deprecated": { "message": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - } + }, + "smithy.api#output": {} } }, "com.amazonaws.robomaker#CreateFleet": { @@ -772,7 +818,8 @@ "traits": { "smithy.api#deprecated": { "message": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - } + }, + "smithy.api#input": {} } }, "com.amazonaws.robomaker#CreateFleetResponse": { @@ -806,7 +853,8 @@ "traits": { "smithy.api#deprecated": { "message": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - } + }, + "smithy.api#output": {} } }, "com.amazonaws.robomaker#CreateRobot": { @@ -918,6 +966,9 @@ "smithy.api#documentation": "The object that contains that URI of the Docker image that you use for your robot\n application.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#CreateRobotApplicationResponse": { @@ -977,6 +1028,9 @@ "smithy.api#documentation": "An object that contains the Docker image URI used to a create your robot\n application.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.robomaker#CreateRobotApplicationVersion": { @@ -1041,6 +1095,9 @@ "smithy.api#documentation": "A SHA256 identifier for the Docker image that you use for your robot application.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#CreateRobotApplicationVersionResponse": { @@ -1094,6 +1151,9 @@ "smithy.api#documentation": "The object that contains the Docker image URI used to create your robot\n application.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.robomaker#CreateRobotRequest": { @@ -1130,7 +1190,8 @@ "traits": { "smithy.api#deprecated": { "message": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - } + }, + "smithy.api#input": {} } }, "com.amazonaws.robomaker#CreateRobotResponse": { @@ -1176,7 +1237,8 @@ "traits": { "smithy.api#deprecated": { "message": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - } + }, + "smithy.api#output": {} } }, "com.amazonaws.robomaker#CreateSimulationApplication": { @@ -1264,6 +1326,9 @@ "smithy.api#documentation": "The object that contains the Docker image URI used to create your simulation\n application.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#CreateSimulationApplicationResponse": { @@ -1335,6 +1400,9 @@ "smithy.api#documentation": "The object that contains the Docker image URI that you used to create your simulation\n application.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.robomaker#CreateSimulationApplicationVersion": { @@ -1399,6 +1467,9 @@ "smithy.api#documentation": "The SHA256 digest used to identify the Docker image URI used to created the simulation\n application.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#CreateSimulationApplicationVersionResponse": { @@ -1464,6 +1535,9 @@ "smithy.api#documentation": "The object that contains the Docker image URI used to create the simulation\n application.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.robomaker#CreateSimulationJob": { @@ -1585,6 +1659,9 @@ "smithy.api#documentation": "Compute information for the simulation job.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#CreateSimulationJobRequests": { @@ -1712,6 +1789,9 @@ "smithy.api#documentation": "Compute information for the simulation job.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.robomaker#CreateWorldExportJob": { @@ -1787,6 +1867,9 @@ "smithy.api#documentation": "A map that contains tag keys and tag values that are attached to the world export\n job.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#CreateWorldExportJobResponse": { @@ -1837,6 +1920,9 @@ "smithy.api#documentation": "A map that contains tag keys and tag values that are attached to the world export\n job.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.robomaker#CreateWorldGenerationJob": { @@ -1915,6 +2001,9 @@ "smithy.api#documentation": "A map that contains tag keys and tag values that are attached to the generated\n worlds.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#CreateWorldGenerationJobResponse": { @@ -1974,6 +2063,9 @@ "smithy.api#documentation": "A map that contains tag keys and tag values that are attached to the generated\n worlds.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.robomaker#CreateWorldTemplate": { @@ -2046,6 +2138,9 @@ "smithy.api#documentation": "A map that contains tag keys and tag values that are attached to the world\n template.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#CreateWorldTemplateResponse": { @@ -2081,6 +2176,9 @@ "smithy.api#documentation": "A map that contains tag keys and tag values that are attached to the world\n template.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.robomaker#CreatedAt": { @@ -2184,22 +2282,26 @@ } }, "com.amazonaws.robomaker#DataSourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Prefix", - "name": "Prefix" - }, - { - "value": "Archive", - "name": "Archive" - }, - { - "value": "File", - "name": "File" + "type": "enum", + "members": { + "Prefix": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Prefix" } - ] + }, + "Archive": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Archive" + } + }, + "File": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "File" + } + } } }, "com.amazonaws.robomaker#DataSources": { @@ -2253,7 +2355,8 @@ "traits": { "smithy.api#deprecated": { "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - } + }, + "smithy.api#input": {} } }, "com.amazonaws.robomaker#DeleteFleetResponse": { @@ -2262,7 +2365,8 @@ "traits": { "smithy.api#deprecated": { "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - } + }, + "smithy.api#output": {} } }, "com.amazonaws.robomaker#DeleteRobot": { @@ -2340,11 +2444,17 @@ "smithy.api#documentation": "The version of the robot application to delete.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#DeleteRobotApplicationResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.robomaker#DeleteRobotRequest": { "type": "structure", @@ -2360,7 +2470,8 @@ "traits": { "smithy.api#deprecated": { "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - } + }, + "smithy.api#input": {} } }, "com.amazonaws.robomaker#DeleteRobotResponse": { @@ -2369,7 +2480,8 @@ "traits": { "smithy.api#deprecated": { "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - } + }, + "smithy.api#output": {} } }, "com.amazonaws.robomaker#DeleteSimulationApplication": { @@ -2416,11 +2528,17 @@ "smithy.api#documentation": "The version of the simulation application to delete.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#DeleteSimulationApplicationResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.robomaker#DeleteWorldTemplate": { "type": "operation", @@ -2463,11 +2581,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#DeleteWorldTemplateResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.robomaker#DeploymentApplicationConfig": { "type": "structure", @@ -2599,106 +2723,152 @@ } }, "com.amazonaws.robomaker#DeploymentJobErrorCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ResourceNotFound", - "name": "ResourceNotFound" - }, - { - "value": "EnvironmentSetupError", - "name": "EnvironmentSetupError" - }, - { - "value": "EtagMismatch", - "name": "EtagMismatch" - }, - { - "value": "FailureThresholdBreached", - "name": "FailureThresholdBreached" - }, - { - "value": "RobotDeploymentAborted", - "name": "RobotDeploymentAborted" - }, - { - "value": "RobotDeploymentNoResponse", - "name": "RobotDeploymentNoResponse" - }, - { - "value": "RobotAgentConnectionTimeout", - "name": "RobotAgentConnectionTimeout" - }, - { - "value": "GreengrassDeploymentFailed", - "name": "GreengrassDeploymentFailed" - }, - { - "value": "InvalidGreengrassGroup", - "name": "InvalidGreengrassGroup" - }, - { - "value": "MissingRobotArchitecture", - "name": "MissingRobotArchitecture" - }, - { - "value": "MissingRobotApplicationArchitecture", - "name": "MissingRobotApplicationArchitecture" - }, - { - "value": "MissingRobotDeploymentResource", - "name": "MissingRobotDeploymentResource" - }, - { - "value": "GreengrassGroupVersionDoesNotExist", - "name": "GreengrassGroupVersionDoesNotExist" - }, - { - "value": "LambdaDeleted", - "name": "LambdaDeleted" - }, - { - "value": "ExtractingBundleFailure", - "name": "ExtractingBundleFailure" - }, - { - "value": "PreLaunchFileFailure", - "name": "PreLaunchFileFailure" - }, - { - "value": "PostLaunchFileFailure", - "name": "PostLaunchFileFailure" - }, - { - "value": "BadPermissionError", - "name": "BadPermissionError" - }, - { - "value": "DownloadConditionFailed", - "name": "DownloadConditionFailed" - }, - { - "value": "BadLambdaAssociated", - "name": "BadLambdaAssociated" - }, - { - "value": "InternalServerError", - "name": "InternalServerError" - }, - { - "value": "RobotApplicationDoesNotExist", - "name": "RobotApplicationDoesNotExist" - }, - { - "value": "DeploymentFleetDoesNotExist", - "name": "DeploymentFleetDoesNotExist" - }, - { - "value": "FleetDeploymentTimeout", - "name": "FleetDeploymentTimeout" + "type": "enum", + "members": { + "ResourceNotFound": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ResourceNotFound" + } + }, + "EnvironmentSetupError": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EnvironmentSetupError" + } + }, + "EtagMismatch": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EtagMismatch" + } + }, + "FailureThresholdBreached": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FailureThresholdBreached" + } + }, + "RobotDeploymentAborted": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RobotDeploymentAborted" + } + }, + "RobotDeploymentNoResponse": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RobotDeploymentNoResponse" + } + }, + "RobotAgentConnectionTimeout": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RobotAgentConnectionTimeout" + } + }, + "GreengrassDeploymentFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GreengrassDeploymentFailed" + } + }, + "InvalidGreengrassGroup": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InvalidGreengrassGroup" + } + }, + "MissingRobotArchitecture": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MissingRobotArchitecture" + } + }, + "MissingRobotApplicationArchitecture": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MissingRobotApplicationArchitecture" + } + }, + "MissingRobotDeploymentResource": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MissingRobotDeploymentResource" + } + }, + "GreengrassGroupVersionDoesNotExist": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GreengrassGroupVersionDoesNotExist" + } + }, + "LambdaDeleted": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LambdaDeleted" + } + }, + "ExtractingBundleFailure": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ExtractingBundleFailure" + } + }, + "PreLaunchFileFailure": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PreLaunchFileFailure" + } + }, + "PostLaunchFileFailure": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PostLaunchFileFailure" + } + }, + "BadPermissionError": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BadPermissionError" + } + }, + "DownloadConditionFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DownloadConditionFailed" + } + }, + "BadLambdaAssociated": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BadLambdaAssociated" + } + }, + "InternalServerError": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InternalServerError" + } + }, + "RobotApplicationDoesNotExist": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RobotApplicationDoesNotExist" } - ] + }, + "DeploymentFleetDoesNotExist": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DeploymentFleetDoesNotExist" + } + }, + "FleetDeploymentTimeout": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FleetDeploymentTimeout" + } + } } }, "com.amazonaws.robomaker#DeploymentJobs": { @@ -2754,34 +2924,44 @@ } }, "com.amazonaws.robomaker#DeploymentStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Pending", - "name": "Pending" - }, - { - "value": "Preparing", - "name": "Preparing" - }, - { - "value": "InProgress", - "name": "InProgress" - }, - { - "value": "Failed", - "name": "Failed" - }, - { - "value": "Succeeded", - "name": "Succeeded" - }, - { - "value": "Canceled", - "name": "Canceled" + "type": "enum", + "members": { + "Pending": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" } - ] + }, + "Preparing": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Preparing" + } + }, + "InProgress": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InProgress" + } + }, + "Failed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "Succeeded": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Succeeded" + } + }, + "Canceled": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Canceled" + } + } } }, "com.amazonaws.robomaker#DeploymentTimeout": { @@ -2852,7 +3032,8 @@ "traits": { "smithy.api#deprecated": { "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - } + }, + "smithy.api#input": {} } }, "com.amazonaws.robomaker#DeregisterRobotResponse": { @@ -2874,7 +3055,8 @@ "traits": { "smithy.api#deprecated": { "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - } + }, + "smithy.api#output": {} } }, "com.amazonaws.robomaker#DescribeDeploymentJob": { @@ -2925,7 +3107,8 @@ "traits": { "smithy.api#deprecated": { "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - } + }, + "smithy.api#input": {} } }, "com.amazonaws.robomaker#DescribeDeploymentJobResponse": { @@ -2995,7 +3178,8 @@ "traits": { "smithy.api#deprecated": { "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - } + }, + "smithy.api#output": {} } }, "com.amazonaws.robomaker#DescribeFleet": { @@ -3046,7 +3230,8 @@ "traits": { "smithy.api#deprecated": { "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - } + }, + "smithy.api#input": {} } }, "com.amazonaws.robomaker#DescribeFleetResponse": { @@ -3104,7 +3289,8 @@ "traits": { "smithy.api#deprecated": { "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - } + }, + "smithy.api#output": {} } }, "com.amazonaws.robomaker#DescribeRobot": { @@ -3188,6 +3374,9 @@ "smithy.api#documentation": "The version of the robot application to describe.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#DescribeRobotApplicationResponse": { @@ -3253,6 +3442,9 @@ "smithy.api#documentation": "A SHA256 identifier for the Docker image that you use for your robot application.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.robomaker#DescribeRobotRequest": { @@ -3269,7 +3461,8 @@ "traits": { "smithy.api#deprecated": { "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - } + }, + "smithy.api#input": {} } }, "com.amazonaws.robomaker#DescribeRobotResponse": { @@ -3339,7 +3532,8 @@ "traits": { "smithy.api#deprecated": { "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - } + }, + "smithy.api#output": {} } }, "com.amazonaws.robomaker#DescribeSimulationApplication": { @@ -3389,6 +3583,9 @@ "smithy.api#documentation": "The version of the simulation application to describe.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#DescribeSimulationApplicationResponse": { @@ -3466,6 +3663,9 @@ "smithy.api#documentation": "A SHA256 identifier for the Docker image that you use for your simulation\n application.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.robomaker#DescribeSimulationJob": { @@ -3537,6 +3737,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#DescribeSimulationJobBatchResponse": { @@ -3614,6 +3817,9 @@ "smithy.api#documentation": "A map that contains tag keys and tag values that are attached to the simulation job\n batch.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.robomaker#DescribeSimulationJobRequest": { @@ -3626,6 +3832,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#DescribeSimulationJobResponse": { @@ -3759,6 +3968,9 @@ "smithy.api#documentation": "Compute information for the simulation job.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.robomaker#DescribeWorld": { @@ -3833,6 +4045,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#DescribeWorldExportJobResponse": { @@ -3895,6 +4110,9 @@ "smithy.api#documentation": "A map that contains tag keys and tag values that are attached to the world export\n job.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.robomaker#DescribeWorldGenerationJob": { @@ -3938,6 +4156,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#DescribeWorldGenerationJobResponse": { @@ -4009,6 +4230,9 @@ "smithy.api#documentation": "A map that contains tag keys and tag values that are attached to the generated\n worlds.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.robomaker#DescribeWorldRequest": { @@ -4021,6 +4245,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#DescribeWorldResponse": { @@ -4062,6 +4289,9 @@ "smithy.api#documentation": "Returns the JSON formatted string that describes the contents of your world.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.robomaker#DescribeWorldTemplate": { @@ -4105,6 +4335,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#DescribeWorldTemplateResponse": { @@ -4152,6 +4385,9 @@ "smithy.api#documentation": "The version of the world template that you're using.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.robomaker#Environment": { @@ -4204,18 +4440,20 @@ } }, "com.amazonaws.robomaker#ExitBehavior": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FAIL", - "name": "FAIL" - }, - { - "value": "RESTART", - "name": "RESTART" + "type": "enum", + "members": { + "FAIL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAIL" + } + }, + "RESTART": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESTART" } - ] + } } }, "com.amazonaws.robomaker#FailedAt": { @@ -4260,18 +4498,20 @@ } }, "com.amazonaws.robomaker#FailureBehavior": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Fail", - "name": "Fail" - }, - { - "value": "Continue", - "name": "Continue" + "type": "enum", + "members": { + "Fail": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Fail" + } + }, + "Continue": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Continue" } - ] + } } }, "com.amazonaws.robomaker#FailureSummary": { @@ -4493,6 +4733,9 @@ "smithy.api#documentation": "The Amazon Resource Name (arn) of the world generator job.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#GetWorldTemplateBodyResponse": { @@ -4504,6 +4747,9 @@ "smithy.api#documentation": "The world template body.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.robomaker#IamRole": { @@ -4699,6 +4945,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "deploymentJobs", "pageSize": "maxResults" } } @@ -4728,7 +4975,8 @@ "traits": { "smithy.api#deprecated": { "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - } + }, + "smithy.api#input": {} } }, "com.amazonaws.robomaker#ListDeploymentJobsResponse": { @@ -4750,7 +4998,8 @@ "traits": { "smithy.api#deprecated": { "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - } + }, + "smithy.api#output": {} } }, "com.amazonaws.robomaker#ListFleets": { @@ -4788,6 +5037,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "fleetDetails", "pageSize": "maxResults" } } @@ -4817,7 +5067,8 @@ "traits": { "smithy.api#deprecated": { "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - } + }, + "smithy.api#input": {} } }, "com.amazonaws.robomaker#ListFleetsResponse": { @@ -4839,7 +5090,8 @@ "traits": { "smithy.api#deprecated": { "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - } + }, + "smithy.api#output": {} } }, "com.amazonaws.robomaker#ListRobotApplications": { @@ -4871,6 +5123,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "robotApplicationSummaries", "pageSize": "maxResults" } } @@ -4902,6 +5155,9 @@ "smithy.api#documentation": "Optional filters to limit results.
\nThe filter name name
is supported. When filtering, you must use the\n complete value of the filtered item. You can use up to three filters.
If the previous paginated request did not return all of the remaining results, the\n response object's nextToken
parameter value is set to a token. To retrieve the\n next set of results, call ListRobotApplications
again and assign that token to\n the request object's nextToken
parameter. If there are no remaining results,\n the previous response object's NextToken parameter is set to null.
Optional list of filters to limit results.
\nThe filter name name
is supported. When filtering, you must use the\n complete value of the filtered item. You can use up to three filters.
If the previous paginated request did not return all of the remaining results, the\n response object's nextToken
parameter value is set to a token. To retrieve the\n next set of results, call ListSimulationApplications
again and assign that\n token to the request object's nextToken
parameter. If there are no remaining\n results, the previous response object's NextToken parameter is set to null.
Optional filters to limit results.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#ListSimulationJobBatchesResponse": { @@ -5157,6 +5430,9 @@ "smithy.api#documentation": "If the previous paginated request did not return all of the remaining results, the\n response object's nextToken
parameter value is set to a token. To retrieve the\n next set of results, call ListSimulationJobBatches
again and assign that token\n to the request object's nextToken
parameter. If there are no remaining\n results, the previous response object's NextToken parameter is set to null.
Optional filters to limit results.
\nThe filter names status
and simulationApplicationName
and\n robotApplicationName
are supported. When filtering, you must use the\n complete value of the filtered item. You can use up to three filters, but they must be for\n the same named item. For example, if you are looking for items with the status\n Preparing
or the status Running
.
If the previous paginated request did not return all of the remaining results, the\n response object's nextToken
parameter value is set to a token. To retrieve the\n next set of results, call ListSimulationJobs
again and assign that token to\n the request object's nextToken
parameter. If there are no remaining results,\n the previous response object's NextToken parameter is set to null.
The list of all tags added to the specified resource.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.robomaker#ListWorldExportJobs": { @@ -5317,6 +5606,7 @@ "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", + "items": "worldExportJobSummaries", "pageSize": "maxResults" } } @@ -5342,6 +5632,9 @@ "smithy.api#documentation": "Optional filters to limit results. You can use generationJobId
and\n templateId
.
If the previous paginated request did not return all of the remaining results, the\n response object's nextToken
parameter value is set to a token. To retrieve the\n next set of results, call ListWorldExportJobsRequest
again and assign that\n token to the request object's nextToken
parameter. If there are no remaining\n results, the previous response object's NextToken parameter is set to null.
Optional filters to limit results. You can use status
and\n templateId
.
If the previous paginated request did not return all of the remaining results, the\n response object's nextToken
parameter value is set to a token. To retrieve the\n next set of results, call ListWorldGeneratorJobsRequest
again and assign that\n token to the request object's nextToken
parameter. If there are no remaining\n results, the previous response object's NextToken parameter is set to null.
When this parameter is used, ListWorldTemplates
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 ListWorldTemplates
request with the returned nextToken
\n value. This value can be between 1 and 100. If this parameter is not used, then\n ListWorldTemplates
returns up to 100 results and a nextToken
\n value if applicable.
If the previous paginated request did not return all of the remaining results, the\n response object's nextToken
parameter value is set to a token. To retrieve the\n next set of results, call ListWorldTemplates
again and assign that token to\n the request object's nextToken
parameter. If there are no remaining results,\n the previous response object's NextToken parameter is set to null.
Optional filters to limit results. You can use status
.
If the previous paginated request did not return all of the remaining results, the\n response object's nextToken
parameter value is set to a token. To retrieve the\n next set of results, call ListWorlds
again and assign that token to the\n request object's nextToken
parameter. If there are no remaining results, the\n previous response object's NextToken parameter is set to null.
The Amazon Resource Name (ARN) of the batch.
" + "smithy.api#enumValue": "Pending" } }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", + "InProgress": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "The time, in milliseconds since the epoch, when the simulation job batch was last\n updated.
" + "smithy.api#enumValue": "InProgress" } }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", + "Failed": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "The time, in milliseconds since the epoch, when the simulation job batch was\n created.
" + "smithy.api#enumValue": "Failed" } }, - "status": { + "Completed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Completed" + } + }, + "Canceled": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Canceled" + } + }, + "Canceling": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Canceling" + } + }, + "Completing": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Completing" + } + }, + "TimingOut": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TimingOut" + } + }, + "TimedOut": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TimedOut" + } + } + } + }, + "com.amazonaws.robomaker#SimulationJobBatchSummaries": { + "type": "list", + "member": { + "target": "com.amazonaws.robomaker#SimulationJobBatchSummary" + } + }, + "com.amazonaws.robomaker#SimulationJobBatchSummary": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.robomaker#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the batch.
" + } + }, + "lastUpdatedAt": { + "target": "com.amazonaws.robomaker#LastUpdatedAt", + "traits": { + "smithy.api#documentation": "The time, in milliseconds since the epoch, when the simulation job batch was last\n updated.
" + } + }, + "createdAt": { + "target": "com.amazonaws.robomaker#CreatedAt", + "traits": { + "smithy.api#documentation": "The time, in milliseconds since the epoch, when the simulation job batch was\n created.
" + } + }, + "status": { "target": "com.amazonaws.robomaker#SimulationJobBatchStatus", "traits": { "smithy.api#documentation": "The status of the simulation job batch.
\nThe simulation job batch request is pending.
\nThe simulation job batch is in progress.
\nThe simulation job batch failed. One or more simulation job requests could not\n be completed due to an internal failure (like InternalServiceError
).\n See failureCode
and failureReason
for more\n information.
The simulation batch job completed. A batch is complete when (1) there are no\n pending simulation job requests in the batch and none of the failed simulation job\n requests are due to InternalServiceError
and (2) when all created\n simulation jobs have reached a terminal state (for example, Completed
\n or Failed
).
The simulation batch job was cancelled.
\nThe simulation batch job is being cancelled.
\nThe simulation batch job is completing.
\nThe simulation job batch is timing out.
\nIf a batch timing out, and there are pending requests that were failing due to\n an internal failure (like InternalServiceError
), the batch status\n will be Failed
. If there are no such failing request, the batch\n status will be TimedOut
.
The simulation batch job timed out.
\nA map that contains tag keys and tag values that are attached to the deployment job\n batch.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#StartSimulationJobBatchResponse": { @@ -7530,6 +7990,9 @@ "smithy.api#documentation": "A map that contains tag keys and tag values that are attached to the deployment job\n batch.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.robomaker#Subnets": { @@ -7609,7 +8072,8 @@ "traits": { "smithy.api#deprecated": { "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - } + }, + "smithy.api#input": {} } }, "com.amazonaws.robomaker#SyncDeploymentJobResponse": { @@ -7667,7 +8131,8 @@ "traits": { "smithy.api#deprecated": { "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - } + }, + "smithy.api#output": {} } }, "com.amazonaws.robomaker#TagKey": { @@ -7750,11 +8215,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.robomaker#TagValue": { "type": "string", @@ -7967,11 +8438,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.robomaker#UpdateRobotApplication": { "type": "operation", @@ -8042,6 +8519,9 @@ "smithy.api#documentation": "The object that contains the Docker image URI for your robot application.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#UpdateRobotApplicationResponse": { @@ -8095,6 +8575,9 @@ "smithy.api#documentation": "The object that contains the Docker image URI for your robot application.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.robomaker#UpdateSimulationApplication": { @@ -8179,6 +8662,9 @@ "smithy.api#documentation": "The object that contains the Docker image URI for your simulation application.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#UpdateSimulationApplicationResponse": { @@ -8244,6 +8730,9 @@ "smithy.api#documentation": "The object that contains the Docker image URI used for your simulation\n application.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.robomaker#UpdateWorldTemplate": { @@ -8305,6 +8794,9 @@ "smithy.api#documentation": "The location of the world template.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.robomaker#UpdateWorldTemplateResponse": { @@ -8334,21 +8826,26 @@ "smithy.api#documentation": "The time, in milliseconds since the epoch, when the world template was last\n updated.
" } } - } + }, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.robomaker#UploadBehavior": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "UPLOAD_ON_TERMINATE", - "name": "UPLOAD_ON_TERMINATE" - }, - { - "value": "UPLOAD_ROLLING_AUTO_REMOVE", - "name": "UPLOAD_ROLLING_AUTO_REMOVE" + "type": "enum", + "members": { + "UPLOAD_ON_TERMINATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPLOAD_ON_TERMINATE" + } + }, + "UPLOAD_ROLLING_AUTO_REMOVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPLOAD_ROLLING_AUTO_REMOVE" } - ] + } } }, "com.amazonaws.robomaker#UploadConfiguration": { @@ -8520,65 +9017,85 @@ } }, "com.amazonaws.robomaker#WorldExportJobErrorCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "InternalServiceError", - "name": "InternalServiceError" - }, - { - "value": "LimitExceeded", - "name": "LimitExceeded" - }, - { - "value": "ResourceNotFound", - "name": "ResourceNotFound" - }, - { - "value": "RequestThrottled", - "name": "RequestThrottled" - }, - { - "value": "InvalidInput", - "name": "InvalidInput" - }, - { - "value": "AccessDenied", - "name": "AccessDenied" + "type": "enum", + "members": { + "InternalServiceError": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InternalServiceError" + } + }, + "LimitExceeded": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LimitExceeded" } - ] + }, + "ResourceNotFound": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ResourceNotFound" + } + }, + "RequestThrottled": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RequestThrottled" + } + }, + "InvalidInput": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InvalidInput" + } + }, + "AccessDenied": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AccessDenied" + } + } } }, "com.amazonaws.robomaker#WorldExportJobStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Pending", - "name": "Pending" - }, - { - "value": "Running", - "name": "Running" - }, - { - "value": "Completed", - "name": "Completed" - }, - { - "value": "Failed", - "name": "Failed" - }, - { - "value": "Canceling", - "name": "Canceling" - }, - { - "value": "Canceled", - "name": "Canceled" + "type": "enum", + "members": { + "Pending": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" + } + }, + "Running": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Running" } - ] + }, + "Completed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Completed" + } + }, + "Failed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "Canceling": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Canceling" + } + }, + "Canceled": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Canceled" + } + } } }, "com.amazonaws.robomaker#WorldExportJobSummaries": { @@ -8668,69 +9185,91 @@ } }, "com.amazonaws.robomaker#WorldGenerationJobErrorCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "InternalServiceError", - "name": "InternalServiceError" - }, - { - "value": "LimitExceeded", - "name": "LimitExceeded" - }, - { - "value": "ResourceNotFound", - "name": "ResourceNotFound" - }, - { - "value": "RequestThrottled", - "name": "RequestThrottled" - }, - { - "value": "InvalidInput", - "name": "InvalidInput" - }, - { - "value": "AllWorldGenerationFailed", - "name": "AllWorldGenerationFailed" + "type": "enum", + "members": { + "InternalServiceError": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InternalServiceError" + } + }, + "LimitExceeded": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LimitExceeded" } - ] + }, + "ResourceNotFound": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ResourceNotFound" + } + }, + "RequestThrottled": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RequestThrottled" + } + }, + "InvalidInput": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InvalidInput" + } + }, + "AllWorldGenerationFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AllWorldGenerationFailed" + } + } } }, "com.amazonaws.robomaker#WorldGenerationJobStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Pending", - "name": "Pending" - }, - { - "value": "Running", - "name": "Running" - }, - { - "value": "Completed", - "name": "Completed" - }, - { - "value": "Failed", - "name": "Failed" - }, - { - "value": "PartialFailed", - "name": "PartialFailed" - }, - { - "value": "Canceling", - "name": "Canceling" - }, - { - "value": "Canceled", - "name": "Canceled" + "type": "enum", + "members": { + "Pending": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" + } + }, + "Running": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Running" } - ] + }, + "Completed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Completed" + } + }, + "Failed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "PartialFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PartialFailed" + } + }, + "Canceling": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Canceling" + } + }, + "Canceled": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Canceled" + } + } } }, "com.amazonaws.robomaker#WorldGenerationJobSummaries": { @@ -9088,52 +9627,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", @@ -9141,13 +9684,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -9157,224 +9709,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://robomaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://robomaker-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": [ { "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": [], - "endpoint": { - "url": "https://robomaker-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://robomaker-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://robomaker.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://robomaker.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://robomaker.{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://robomaker.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -9389,8 +9892,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -9402,8 +9905,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -9415,8 +9918,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -9428,8 +9931,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -9441,8 +9944,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -9454,8 +9957,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -9467,8 +9970,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -9480,8 +9983,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -9493,8 +9996,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -9506,8 +10009,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -9519,8 +10022,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -9532,8 +10035,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -9545,8 +10048,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -9558,8 +10061,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -9571,8 +10074,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -9584,8 +10087,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -9597,8 +10100,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -9610,8 +10113,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -9623,8 +10126,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -9636,8 +10150,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 } }, { @@ -9649,8 +10174,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -9662,8 +10198,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 } }, { @@ -9675,8 +10222,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -9688,8 +10235,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -9701,8 +10248,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -9713,8 +10260,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -9725,10 +10272,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" diff --git a/codegen/sdk-codegen/aws-models/rolesanywhere.json b/codegen/sdk-codegen/aws-models/rolesanywhere.json index 9c734c6555c..04f5c106422 100644 --- a/codegen/sdk-codegen/aws-models/rolesanywhere.json +++ b/codegen/sdk-codegen/aws-models/rolesanywhere.json @@ -1735,52 +1735,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", @@ -1788,13 +1792,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -1804,224 +1817,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://rolesanywhere-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://rolesanywhere-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": [ { "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": [], - "endpoint": { - "url": "https://rolesanywhere-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://rolesanywhere-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://rolesanywhere.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://rolesanywhere.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://rolesanywhere.{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://rolesanywhere.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/route-53-domains.json b/codegen/sdk-codegen/aws-models/route-53-domains.json index 6b6b6756e5a..7a4006f5240 100644 --- a/codegen/sdk-codegen/aws-models/route-53-domains.json +++ b/codegen/sdk-codegen/aws-models/route-53-domains.json @@ -4899,6 +4899,7 @@ "arnNamespace": "route53domains", "cloudFormationName": "Route53Domains", "cloudTrailEventSource": "route53domains.amazonaws.com", + "docId": "route53domains-2014-05-15", "endpointPrefix": "route53domains" }, "aws.auth#sigv4": { diff --git a/codegen/sdk-codegen/aws-models/route-53.json b/codegen/sdk-codegen/aws-models/route-53.json index 388346dd5b7..cb171eb7c42 100644 --- a/codegen/sdk-codegen/aws-models/route-53.json +++ b/codegen/sdk-codegen/aws-models/route-53.json @@ -263,6 +263,7 @@ "arnNamespace": "route53", "cloudFormationName": "Route53", "cloudTrailEventSource": "route53.amazonaws.com", + "docId": "route53-2013-04-01", "endpointPrefix": "route53" }, "aws.auth#sigv4": { @@ -334,52 +335,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", @@ -387,597 +392,557 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "stringEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] + "ref": "PartitionResult" }, - "aws" + "name" ] }, + "aws" + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - false - ] + "ref": "UseFIPS" }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - false - ] - } - ], - "endpoint": { - "url": "https://route53.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "route53", - "signingRegion": "us-east-1" - } - ] + "ref": "UseDualStack" }, - "headers": {} - }, - "type": "endpoint" + false + ] + } + ], + "endpoint": { + "url": "https://route53.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-east-1" + } + ] }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ { - "conditions": [ + "fn": "stringEquals", + "argv": [ { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] + "ref": "PartitionResult" }, - "aws" + "name" ] }, + "aws" + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" }, + false + ] + } + ], + "endpoint": { + "url": "https://route53-fips.amazonaws.com", + "properties": { + "authSchemes": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - false - ] + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-east-1" } - ], - "endpoint": { - "url": "https://route53-fips.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "route53", - "signingRegion": "us-east-1" - } - ] - }, - "headers": {} - }, - "type": "endpoint" + ] }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ { - "conditions": [ + "fn": "stringEquals", + "argv": [ { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] + "ref": "PartitionResult" }, - "aws-cn" + "name" ] }, + "aws-cn" + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - false - ] + "ref": "UseFIPS" }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - false - ] - } - ], - "endpoint": { - "url": "https://route53.amazonaws.com.cn", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "route53", - "signingRegion": "cn-northwest-1" - } - ] + "ref": "UseDualStack" }, - "headers": {} - }, - "type": "endpoint" + false + ] + } + ], + "endpoint": { + "url": "https://route53.amazonaws.com.cn", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "cn-northwest-1" + } + ] }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ { - "conditions": [ + "fn": "stringEquals", + "argv": [ { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] + "ref": "PartitionResult" }, - "aws-us-gov" + "name" ] }, + "aws-us-gov" + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - false - ] + "ref": "UseFIPS" }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - false - ] - } - ], - "endpoint": { - "url": "https://route53.us-gov.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "route53", - "signingRegion": "us-gov-west-1" - } - ] + "ref": "UseDualStack" }, - "headers": {} - }, - "type": "endpoint" + false + ] + } + ], + "endpoint": { + "url": "https://route53.us-gov.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-gov-west-1" + } + ] }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ { - "conditions": [ + "fn": "stringEquals", + "argv": [ { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] + "ref": "PartitionResult" }, - "aws-us-gov" + "name" ] }, + "aws-us-gov" + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] + "ref": "UseFIPS" }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", + "ref": "UseDualStack" + }, + false + ] + } + ], + "endpoint": { + "url": "https://route53.us-gov.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-gov-west-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "fn": "getAttr", "argv": [ { - "ref": "UseDualStack" + "ref": "PartitionResult" }, - false - ] - } - ], - "endpoint": { - "url": "https://route53.us-gov.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "route53", - "signingRegion": "us-gov-west-1" - } + "name" ] }, - "headers": {} - }, - "type": "endpoint" + "aws-iso" + ] }, { - "conditions": [ + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + false + ] + } + ], + "endpoint": { + "url": "https://route53.c2s.ic.gov", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-iso-east-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] + "ref": "PartitionResult" }, - "aws-iso" + "name" ] }, + "aws-iso-b" + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - false - ] + "ref": "UseFIPS" }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - false - ] + "ref": "UseDualStack" + }, + false + ] + } + ], + "endpoint": { + "url": "https://route53.sc2s.sgov.gov", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-isob-east-1" } - ], - "endpoint": { - "url": "https://route53.c2s.ic.gov", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "route53", - "signingRegion": "us-iso-east-1" - } - ] + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" }, - "headers": {} - }, - "type": "endpoint" + true + ] }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { - "fn": "stringEquals", + "fn": "booleanEquals", "argv": [ + true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "name" + "supportsFIPS" ] - }, - "aws-iso-b" - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - false - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - false - ] - } - ], - "endpoint": { - "url": "https://route53.sc2s.sgov.gov", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "route53", - "signingRegion": "us-isob-east-1" } ] }, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, { "fn": "booleanEquals", "argv": [ + true, { - "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://route53-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://route53-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": [ { "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": [], - "endpoint": { - "url": "https://route53-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://route53-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://route53.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://route53.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://route53.{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://route53.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -1753,6 +1718,28 @@ ], "traits": { "smithy.api#documentation": "Associates an Amazon VPC with a private hosted zone.
\nTo perform the association, the VPC and the private hosted zone must already\n\t\t\t\texist. You can't convert a public hosted zone into a private hosted zone.
\nIf you want to associate a VPC that was created by using one Amazon Web Services account with a private hosted zone that was created by using a\n\t\t\t\tdifferent account, the Amazon Web Services account that created the private hosted\n\t\t\t\tzone must first submit a CreateVPCAssociationAuthorization
request.\n\t\t\t\tThen the account that created the VPC must submit an\n\t\t\t\t\tAssociateVPCWithHostedZone
request.
When granting access, the hosted zone and the Amazon VPC must belong to\n\t\t\t\tthe same partition. A partition is a group of Amazon Web Services Regions. Each\n\t\t\t\t\tAmazon Web Services account is scoped to one partition.
\nThe following are the supported partitions:
\n\n aws
- Amazon Web Services Regions
\n aws-cn
- China Regions
\n aws-us-gov
- Amazon Web Services GovCloud (US) Region
For more information, see Access Management\n\t\t\t\tin the Amazon Web Services General Reference.
\nCreates, changes, or deletes a resource record set, which contains authoritative DNS\n\t\t\tinformation for a specified domain name or subdomain name. For example, you can use\n\t\t\t\tChangeResourceRecordSets
to create a resource record set that routes\n\t\t\ttraffic for test.example.com to a web server that has an IP address of\n\t\t\t192.0.2.44.
\n Deleting Resource Record Sets\n
\nTo delete a resource record set, you must specify all the same values that you\n\t\t\tspecified when you created it.
\n\n Change Batches and Transactional Changes\n
\nThe request body must include a document with a\n\t\t\t\tChangeResourceRecordSetsRequest
element. The request body contains a\n\t\t\tlist of change items, known as a change batch. Change batches are considered\n\t\t\ttransactional changes. Route 53 validates the changes in the request and then either\n\t\t\tmakes all or none of the changes in the change batch request. This ensures that DNS\n\t\t\trouting isn't adversely affected by partial changes to the resource record sets in a\n\t\t\thosted zone.
For example, suppose a change batch request contains two changes: it deletes the\n\t\t\t\tCNAME
resource record set for www.example.com and creates an alias\n\t\t\tresource record set for www.example.com. If validation for both records succeeds, Route\n\t\t\t53 deletes the first resource record set and creates the second resource record set in a\n\t\t\tsingle operation. If validation for either the DELETE
or the\n\t\t\t\tCREATE
action fails, then the request is canceled, and the original\n\t\t\t\tCNAME
record continues to exist.
If you try to delete the same resource record set more than once in a single\n\t\t\t\tchange batch, Route 53 returns an InvalidChangeBatch
error.
\n Traffic Flow\n
\nTo create resource record sets for complex routing configurations, use either the\n\t\t\ttraffic flow visual editor in the Route 53 console or the API actions for traffic\n\t\t\tpolicies and traffic policy instances. Save the configuration as a traffic policy, then\n\t\t\tassociate the traffic policy with one or more domain names (such as example.com) or\n\t\t\tsubdomain names (such as www.example.com), in the same hosted zone or in multiple hosted\n\t\t\tzones. You can roll back the updates if the new configuration isn't performing as\n\t\t\texpected. For more information, see Using Traffic Flow to Route\n\t\t\t\tDNS Traffic in the Amazon Route 53 Developer\n\t\t\tGuide.
\n\n Create, Delete, and Upsert\n
\nUse ChangeResourceRecordsSetsRequest
to perform the following\n\t\t\tactions:
\n CREATE
: Creates a resource record set that has the specified\n\t\t\t\t\tvalues.
\n DELETE
: Deletes an existing resource record set that has the\n\t\t\t\t\tspecified values.
\n UPSERT
: If a resource set exists Route 53 updates it with the\n\t\t\t\t\tvalues in the request.
\n Syntaxes for Creating, Updating, and Deleting Resource Record\n\t\t\t\tSets\n
\nThe syntax for a request depends on the type of resource record set that you want to\n\t\t\tcreate, delete, or update, such as weighted, alias, or failover. The XML elements in\n\t\t\tyour request must appear in the order listed in the syntax.
\nFor an example for each type of resource record set, see \"Examples.\"
\nDon't refer to the syntax in the \"Parameter Syntax\" section, which includes\n\t\t\tall of the elements for every kind of resource record set that you can create, delete,\n\t\t\tor update by using ChangeResourceRecordSets
.
\n Change Propagation to Route 53 DNS Servers\n
\nWhen you submit a ChangeResourceRecordSets
request, Route 53 propagates your\n\t\t\tchanges to all of the Route 53 authoritative DNS servers managing the hosted zone. While\n\t\t\tyour changes are propagating, GetChange
returns a status of\n\t\t\t\tPENDING
. When propagation is complete, GetChange
returns a\n\t\t\tstatus of INSYNC
. Changes generally propagate to all Route 53 name servers\n\t\t\tmanaging the hosted zone within 60 seconds. For more information, see GetChange.
\n Limits on ChangeResourceRecordSets Requests\n
\nFor information about the limits on a ChangeResourceRecordSets
request,\n\t\t\tsee Limits in the Amazon Route 53 Developer Guide.
Adds, edits, or deletes tags for a health check or a hosted zone.
\nFor information about using tags for cost allocation, see Using Cost Allocation\n\t\t\t\tTags in the Billing and Cost Management User Guide.
", + "smithy.api#examples": [ + { + "title": "To add or remove tags from a hosted zone or health check", + "documentation": "The following example adds two tags and removes one tag from the hosted zone with ID Z3M3LMPEXAMPLE.", + "input": { + "ResourceType": "hostedzone", + "ResourceId": "Z3M3LMPEXAMPLE", + "AddTags": [ + { + "Key": "apex", + "Value": "3874" + }, + { + "Key": "acme", + "Value": "4938" + } + ], + "RemoveTagKeys": [ + "Nadir" + ] + }, + "output": {} + } + ], "smithy.api#http": { "method": "POST", "uri": "/2013-04-01/tags/{ResourceType}/{ResourceId}", @@ -5578,6 +5624,34 @@ ], "traits": { "smithy.api#documentation": "Gets information about a specified hosted zone including the four name servers\n\t\t\tassigned to the hosted zone.
", + "smithy.api#examples": [ + { + "title": "To get information about a hosted zone", + "documentation": "The following example gets information about the Z3M3LMPEXAMPLE hosted zone.", + "input": { + "Id": "Z3M3LMPEXAMPLE" + }, + "output": { + "HostedZone": { + "ResourceRecordSetCount": 8, + "CallerReference": "C741617D-04E4-F8DE-B9D7-0D150FC61C2E", + "Config": { + "PrivateZone": false + }, + "Id": "/hostedzone/Z3M3LMPEXAMPLE", + "Name": "myawsbucket.com." + }, + "DelegationSet": { + "NameServers": [ + "ns-2048.awsdns-64.com", + "ns-2049.awsdns-65.net", + "ns-2050.awsdns-66.org", + "ns-2051.awsdns-67.co.uk" + ] + } + } + } + ], "smithy.api#http": { "method": "GET", "uri": "/2013-04-01/hostedzone/{Id}", diff --git a/codegen/sdk-codegen/aws-models/route53-recovery-cluster.json b/codegen/sdk-codegen/aws-models/route53-recovery-cluster.json index a09889df69e..b50c000fb50 100644 --- a/codegen/sdk-codegen/aws-models/route53-recovery-cluster.json +++ b/codegen/sdk-codegen/aws-models/route53-recovery-cluster.json @@ -147,7 +147,7 @@ } ], "traits": { - "smithy.api#documentation": "Get the state for a routing control. A routing control is a simple on/off switch that you\n\t\t\t\tcan use to route traffic to cells. When a routing control state is On, traffic flows to a cell. When\n\t\t\t\tthe state is Off, traffic does not flow.
\n\t\t\tBefore you can create a routing control, you must first create a cluster, and then host the control\n\t\t\t\tin a control panel on the cluster. For more information, see \n\t\t\t\t\tCreate routing control structures in the Amazon Route 53 Application Recovery Controller Developer Guide. \n\t\t\t\tYou access one of the endpoints for the cluster to get or update the routing control state to\n\t\t\t\tredirect traffic for your application.
\n\t\t\t\n You must specify Regional endpoints when you work with API cluster operations \n\t\t\t\tto get or update routing control states in Route 53 ARC.\n
\n\t\t\tTo see a code example for getting a routing control state, including accessing Regional cluster endpoints\n\t\t\t\tin sequence, see API examples\n\t\t\t\tin the Amazon Route 53 Application Recovery Controller Developer Guide.
\n\t\t\tLearn more about working with routing controls in the following topics in the \n\t\t\t\tAmazon Route 53 Application Recovery Controller Developer Guide:
\n\t\t\t\n \n\t\t\t\t\tViewing and updating routing control states\n
\n\n Working with \n\t\t\t\t\trouting controls in Route 53 ARC\n
\nGet the state for a routing control. A routing control is a simple on/off switch that you\n\t\t\t\tcan use to route traffic to cells. When a routing control state is On, traffic flows to a cell. When\n\t\t\t\tthe state is Off, traffic does not flow.
\nBefore you can create a routing control, you must first create a cluster, and then host the control\n\t\t\t\tin a control panel on the cluster. For more information, see \n\t\t\t\t\tCreate routing control structures in the Amazon Route 53 Application Recovery Controller Developer Guide. \n\t\t\t\tYou access one of the endpoints for the cluster to get or update the routing control state to\n\t\t\t\tredirect traffic for your application.
\n\n You must specify Regional endpoints when you work with API cluster operations \n\t\t\t\tto get or update routing control states in Route 53 ARC.\n
\nTo see a code example for getting a routing control state, including accessing Regional cluster endpoints\n\t\t\t\tin sequence, see API examples\n\t\t\t\tin the Amazon Route 53 Application Recovery Controller Developer Guide.
\nLearn more about working with routing controls in the following topics in the \n\t\t\t\tAmazon Route 53 Application Recovery Controller Developer Guide:
\n\n \n\t\t\t\t\tViewing and updating routing control states\n
\n\n Working with \n\t\t\t\t\trouting controls in Route 53 ARC\n
\nThe routing control name.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoverycluster#InternalServerException": { @@ -239,10 +245,11 @@ } ], "traits": { - "smithy.api#documentation": "List routing control names and Amazon Resource Names (ARNs), as well as the routing control \n\t\t\tstate for each routing control, along with the control panel name and control panel ARN for the routing controls.\n\t\t\tIf you specify a control panel ARN, this call lists the routing controls in the control panel. Otherwise, it lists\n\t\t\tall the routing controls in the cluster.
\n\t\tA routing control is a simple on/off switch in Route 53 ARC that you\n\t\t\tcan use to route traffic to cells. When a routing control state is On, traffic flows to a cell. When\n\t\t\tthe state is Off, traffic does not flow.
\n\t\tBefore you can create a routing control, you must first create a cluster, and then host the control\n\t\t\tin a control panel on the cluster. For more information, see \n\t\t\t\tCreate routing control structures in the Amazon Route 53 Application Recovery Controller Developer Guide. \n\t\t\tYou access one of the endpoints for the cluster to get or update the routing control state to\n\t\t\tredirect traffic for your application.
\n\t\t\n You must specify Regional endpoints when you work with API cluster operations \n\t\t\tto use this API operation to list routing controls in Route 53 ARC.\n
\n\t\tLearn more about working with routing controls in the following topics in the \n\t\t\tAmazon Route 53 Application Recovery Controller Developer Guide:
\n\t\t\n Working with \n\t\t\t\trouting controls in Route 53 ARC\n
\nList routing control names and Amazon Resource Names (ARNs), as well as the routing control \n\t\t\tstate for each routing control, along with the control panel name and control panel ARN for the routing controls.\n\t\t\tIf you specify a control panel ARN, this call lists the routing controls in the control panel. Otherwise, it lists\n\t\t\tall the routing controls in the cluster.
\nA routing control is a simple on/off switch in Route 53 ARC that you\n\t\t\tcan use to route traffic to cells. When a routing control state is On, traffic flows to a cell. When\n\t\t\tthe state is Off, traffic does not flow.
\nBefore you can create a routing control, you must first create a cluster, and then host the control\n\t\t\tin a control panel on the cluster. For more information, see \n\t\t\t\tCreate routing control structures in the Amazon Route 53 Application Recovery Controller Developer Guide. \n\t\t\tYou access one of the endpoints for the cluster to get or update the routing control state to\n\t\t\tredirect traffic for your application.
\n\n You must specify Regional endpoints when you work with API cluster operations \n\t\t\tto use this API operation to list routing controls in Route 53 ARC.\n
\nLearn more about working with routing controls in the following topics in the \n\t\t\tAmazon Route 53 Application Recovery Controller Developer Guide:
\n\n Working with \n\t\t\t\trouting controls in Route 53 ARC\n
\nThe number of routing controls objects that you want to return with this call. The default value is 500.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoverycluster#ListRoutingControlsResponse": { @@ -287,6 +297,9 @@ "smithy.api#documentation": "The token for the next set of results. You receive this token from a previous call.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoverycluster#MaxResults": { @@ -394,18 +407,20 @@ } }, "com.amazonaws.route53recoverycluster#RoutingControlState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "On", - "name": "On" - }, - { - "value": "Off", - "name": "Off" + "type": "enum", + "members": { + "On": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "On" + } + }, + "Off": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Off" } - ] + } } }, "com.amazonaws.route53recoverycluster#RoutingControls": { @@ -511,7 +526,7 @@ "name": "route53-recovery-cluster" }, "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "Welcome to the Routing Control (Recovery Cluster) API Reference Guide for Amazon Route 53 Application Recovery Controller.
\n\t\t\tWith Route 53 ARC, you can use routing control with extreme reliability to\n\t\t\trecover applications by rerouting traffic across\n\t\t\tAvailability Zones or Amazon Web Services Regions. Routing controls are simple on/off switches hosted\n\t\t\ton a highly available cluster in Route 53 ARC. A cluster provides a set of five redundant Regional endpoints against which you\n\t\t\tcan run API calls to get or update the state of routing controls. To implement failover, you set \n\t\t\tone routing control On and another one Off, to reroute traffic from one Availability Zone or Amazon Web Services Region \n\t\t\tto another.
\n\t\t\t\n Be aware that you must specify a Regional endpoint for a cluster when you work with API cluster operations \n\t\t\t\tto get or update routing control states in Route 53 ARC. In addition, you must specify the US West (Oregon) Region \n\t\t\t\tfor Route 53 ARC API calls. For example, use the parameter --region us-west-2
with AWS CLI commands.\n\t\t\t\tFor more information, see\n\t\t\t\t\n\t\t\t\t\tGet and update routing control states using the API in the Amazon Route 53 Application Recovery Controller Developer Guide.
This API guide includes information about the API operations for how to get and update routing control states\n\t\t\tin Route 53 ARC. To work with routing control in Route 53 ARC, you must first create the required components (clusters, control \n\t\t\tpanels, and routing controls) using the recovery cluster configuration API.
\n\t\t\tFor more information about working with routing control in Route 53 ARC, see the following:
\n\t\tCreate clusters, control panels, and routing controls by using API operations. For more information, \n\t\t\t\t\tsee the Recovery Control Configuration API Reference Guide for Amazon Route 53 Application Recovery Controller.
\n\t\t\tLearn about the components in recovery control, including clusters,\n\t\t\t\trouting controls, and control panels, and how to work with Route 53 ARC in the Amazon Web Services console. For more \n\t\t\t\tinformation, see \n\t\t\t\t\tRecovery control components in the Amazon Route 53 Application Recovery Controller Developer Guide.
\nRoute 53 ARC also provides readiness checks that continually audit resources to help make sure that your\n\t\t\t\t\tapplications are scaled and ready to handle failover traffic. For more information about\n\t\t\t\t\tthe related API operations, see the Recovery Readiness API Reference Guide for Amazon Route 53 Application Recovery Controller.
\n\t\t\tFor more information about creating resilient applications and preparing for\n\t\t\t\t\trecovery readiness with Route 53 ARC, see the Amazon Route 53 Application Recovery Controller Developer Guide.
\n\t\t\tWelcome to the Routing Control (Recovery Cluster) API Reference Guide for Amazon Route 53 Application Recovery Controller.
\nWith Route 53 ARC, you can use routing control with extreme reliability to\n\t\t\trecover applications by rerouting traffic across\n\t\t\tAvailability Zones or Amazon Web Services Regions. Routing controls are simple on/off switches hosted\n\t\t\ton a highly available cluster in Route 53 ARC. A cluster provides a set of five redundant Regional endpoints against which you\n\t\t\tcan run API calls to get or update the state of routing controls. To implement failover, you set \n\t\t\tone routing control On and another one Off, to reroute traffic from one Availability Zone or Amazon Web Services Region \n\t\t\tto another.
\n\n Be aware that you must specify a Regional endpoint for a cluster when you work with API cluster operations \n\t\t\t\tto get or update routing control states in Route 53 ARC. In addition, you must specify the US West (Oregon) Region \n\t\t\t\tfor Route 53 ARC API calls. For example, use the parameter --region us-west-2
with AWS CLI commands.\n\t\t\t\tFor more information, see\n\t\t\t\t\n\t\t\t\t\tGet and update routing control states using the API in the Amazon Route 53 Application Recovery Controller Developer Guide.
This API guide includes information about the API operations for how to get and update routing control states\n\t\t\tin Route 53 ARC. To work with routing control in Route 53 ARC, you must first create the required components (clusters, control \n\t\t\tpanels, and routing controls) using the recovery cluster configuration API.
\nFor more information about working with routing control in Route 53 ARC, see the following:
\nCreate clusters, control panels, and routing controls by using API operations. For more information, \n\t\t\t\t\tsee the Recovery Control Configuration API Reference Guide for Amazon Route 53 Application Recovery Controller.
\nLearn about the components in recovery control, including clusters,\n\t\t\t\trouting controls, and control panels, and how to work with Route 53 ARC in the Amazon Web Services console. For more \n\t\t\t\tinformation, see \n\t\t\t\t\tRecovery control components in the Amazon Route 53 Application Recovery Controller Developer Guide.
\nRoute 53 ARC also provides readiness checks that continually audit resources to help make sure that your\n\t\t\t\t\tapplications are scaled and ready to handle failover traffic. For more information about\n\t\t\t\t\tthe related API operations, see the Recovery Readiness API Reference Guide for Amazon Route 53 Application Recovery Controller.
\nFor more information about creating resilient applications and preparing for\n\t\t\t\t\trecovery readiness with Route 53 ARC, see the Amazon Route 53 Application Recovery Controller Developer Guide.
\nSet the state of the routing control to reroute traffic. You can set the value to be On or\n\t\t\tOff. When the state is On, traffic flows to a cell. When the state is Off, traffic does not\n\t\t\tflow.
\n\t\t\tWith Route 53 ARC, you can add safety rules for routing controls, which are safeguards for routing \n\t\t\t\tcontrol state updates that help prevent unexpected outcomes, like fail open traffic routing. However, \n\t\t\t\tthere are scenarios when you might want to bypass the routing control safeguards that are enforced with \n\t\t\t\tsafety rules that you've configured. For example, you might want to fail over quickly for disaster recovery, \n\t\t\t\tand one or more safety rules might be unexpectedly preventing you from updating a routing control state to \n\t\t\t\treroute traffic. In a \"break glass\" scenario like this, you can override one or more safety rules to change \n\t\t\t\ta routing control state and fail over your application.
\n\t\t\tThe SafetyRulesToOverride
property enables you override one or more safety rules and \n\t\t\t\tupdate routing control states. For more information, see \n\t\t\t\t\n\t\t\t\t\tOverride safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide.
\n You must specify Regional endpoints when you work with API cluster operations \n\t\t\t\tto get or update routing control states in Route 53 ARC.\n
\n\t\t\tTo see a code example for getting a routing control state, including accessing Regional cluster endpoints\n\t\t\t\tin sequence, see API examples\n\t\t\t\tin the Amazon Route 53 Application Recovery Controller Developer Guide.
\n\t\t\t\n \n\t\t\t\t\tViewing and updating routing control states\n
\nSet the state of the routing control to reroute traffic. You can set the value to be On or\n\t\t\tOff. When the state is On, traffic flows to a cell. When the state is Off, traffic does not\n\t\t\tflow.
\nWith Route 53 ARC, you can add safety rules for routing controls, which are safeguards for routing \n\t\t\t\tcontrol state updates that help prevent unexpected outcomes, like fail open traffic routing. However, \n\t\t\t\tthere are scenarios when you might want to bypass the routing control safeguards that are enforced with \n\t\t\t\tsafety rules that you've configured. For example, you might want to fail over quickly for disaster recovery, \n\t\t\t\tand one or more safety rules might be unexpectedly preventing you from updating a routing control state to \n\t\t\t\treroute traffic. In a \"break glass\" scenario like this, you can override one or more safety rules to change \n\t\t\t\ta routing control state and fail over your application.
\nThe SafetyRulesToOverride
property enables you override one or more safety rules and \n\t\t\t\tupdate routing control states. For more information, see \n\t\t\t\t\n\t\t\t\t\tOverride safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide.
\n You must specify Regional endpoints when you work with API cluster operations \n\t\t\t\tto get or update routing control states in Route 53 ARC.\n
\nTo see a code example for getting a routing control state, including accessing Regional cluster endpoints\n\t\t\t\tin sequence, see API examples\n\t\t\t\tin the Amazon Route 53 Application Recovery Controller Developer Guide.
\n\n \n\t\t\t\t\tViewing and updating routing control states\n
\nThe Amazon Resource Names (ARNs) for the safety rules that you want to override when you're updating the state of\n\t\t\ta routing control. You can override one safety rule or multiple safety rules by including one or more ARNs, separated \n\t\t\tby commas.
\n\t\tFor more information, see \n\t\t\tOverride safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide.
" + "smithy.api#documentation": "The Amazon Resource Names (ARNs) for the safety rules that you want to override when you're updating the state of\n\t\t\ta routing control. You can override one safety rule or multiple safety rules by including one or more ARNs, separated \n\t\t\tby commas.
\nFor more information, see \n\t\t\tOverride safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoverycluster#UpdateRoutingControlStateResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.route53recoverycluster#UpdateRoutingControlStates": { "type": "operation", @@ -1256,7 +1291,7 @@ } ], "traits": { - "smithy.api#documentation": "Set multiple routing control states. You can set the value for each state to be On or Off.\n\t\t\tWhen the state is On, traffic flows to a cell. When it's Off, traffic does not\n\t\t\tflow.
\n\t\t\tWith Route 53 ARC, you can add safety rules for routing controls, which are safeguards for routing \n\t\t\t\tcontrol state updates that help prevent unexpected outcomes, like fail open traffic routing. However, \n\t\t\t\tthere are scenarios when you might want to bypass the routing control safeguards that are enforced with \n\t\t\t\tsafety rules that you've configured. For example, you might want to fail over quickly for disaster recovery, \n\t\t\t\tand one or more safety rules might be unexpectedly preventing you from updating a routing control state to \n\t\t\t\treroute traffic. In a \"break glass\" scenario like this, you can override one or more safety rules to change \n\t\t\t\ta routing control state and fail over your application.
\n\t\t\tThe SafetyRulesToOverride
property enables you override one or more safety rules and \n\t\t\t\tupdate routing control states. For more information, see \n\t\t\t\t\n\t\t\t\t\tOverride safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide.
\n You must specify Regional endpoints when you work with API cluster operations \n\t\t\t\tto get or update routing control states in Route 53 ARC.\n
\n\t\t\tTo see a code example for getting a routing control state, including accessing Regional cluster endpoints\n\t\t\t\tin sequence, see API examples\n\t\t\t\tin the Amazon Route 53 Application Recovery Controller Developer Guide.
\n\t\t\t\n \n\t\t\t\t\tViewing and updating routing control states\n
\nSet multiple routing control states. You can set the value for each state to be On or Off.\n\t\t\tWhen the state is On, traffic flows to a cell. When it's Off, traffic does not\n\t\t\tflow.
\nWith Route 53 ARC, you can add safety rules for routing controls, which are safeguards for routing \n\t\t\t\tcontrol state updates that help prevent unexpected outcomes, like fail open traffic routing. However, \n\t\t\t\tthere are scenarios when you might want to bypass the routing control safeguards that are enforced with \n\t\t\t\tsafety rules that you've configured. For example, you might want to fail over quickly for disaster recovery, \n\t\t\t\tand one or more safety rules might be unexpectedly preventing you from updating a routing control state to \n\t\t\t\treroute traffic. In a \"break glass\" scenario like this, you can override one or more safety rules to change \n\t\t\t\ta routing control state and fail over your application.
\nThe SafetyRulesToOverride
property enables you override one or more safety rules and \n\t\t\t\tupdate routing control states. For more information, see \n\t\t\t\t\n\t\t\t\t\tOverride safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide.
\n You must specify Regional endpoints when you work with API cluster operations \n\t\t\t\tto get or update routing control states in Route 53 ARC.\n
\nTo see a code example for getting a routing control state, including accessing Regional cluster endpoints\n\t\t\t\tin sequence, see API examples\n\t\t\t\tin the Amazon Route 53 Application Recovery Controller Developer Guide.
\n\n \n\t\t\t\t\tViewing and updating routing control states\n
\nThe Amazon Resource Names (ARNs) for the safety rules that you want to override when you're updating routing\n\t\t\tcontrol states. You can override one safety rule or multiple safety rules by including one or more ARNs, separated \n\t\t\tby commas.
\n\t\tFor more information, see \n\t\t\tOverride safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide.
" + "smithy.api#documentation": "The Amazon Resource Names (ARNs) for the safety rules that you want to override when you're updating routing\n\t\t\tcontrol states. You can override one safety rule or multiple safety rules by including one or more ARNs, separated \n\t\t\tby commas.
\nFor more information, see \n\t\t\tOverride safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoverycluster#UpdateRoutingControlStatesResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.route53recoverycluster#ValidationException": { "type": "structure", @@ -1335,27 +1376,35 @@ } }, "com.amazonaws.route53recoverycluster#ValidationExceptionReason": { - "type": "string", - "traits": { - "smithy.api#documentation": "Reason the request failed validation", - "smithy.api#enum": [ - { - "value": "unknownOperation", - "name": "UNKNOWN_OPERATION" - }, - { - "value": "cannotParse", - "name": "CANNOT_PARSE" - }, - { - "value": "fieldValidationFailed", - "name": "FIELD_VALIDATION_FAILED" - }, - { - "value": "other", - "name": "OTHER" + "type": "enum", + "members": { + "UNKNOWN_OPERATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "unknownOperation" + } + }, + "CANNOT_PARSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cannotParse" } - ] + }, + "FIELD_VALIDATION_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "fieldValidationFailed" + } + }, + "OTHER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "other" + } + } + }, + "traits": { + "smithy.api#documentation": "Reason the request failed validation" } } } diff --git a/codegen/sdk-codegen/aws-models/route53-recovery-control-config.json b/codegen/sdk-codegen/aws-models/route53-recovery-control-config.json index 2f5f1ca422c..8e429edd649 100644 --- a/codegen/sdk-codegen/aws-models/route53-recovery-control-config.json +++ b/codegen/sdk-codegen/aws-models/route53-recovery-control-config.json @@ -94,7 +94,6 @@ "WaitPeriodMs": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value.
", "smithy.api#required": {} } @@ -124,7 +123,6 @@ "WaitPeriodMs": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value.
", "smithy.api#required": {} } @@ -221,7 +219,6 @@ "DefaultControlPanel": { "target": "com.amazonaws.route53recoverycontrolconfig#__boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "A flag that Amazon Route 53 Application Recovery Controller sets to true to designate the default control panel for a cluster. When you create a cluster, Amazon Route 53 Application Recovery Controller creates a control panel, and sets this flag for that control panel. If you create a control panel yourself, this flag is set to false.
" } }, @@ -234,7 +231,6 @@ "RoutingControlCount": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The number of routing controls in the control panel.
" } }, @@ -314,7 +310,8 @@ } }, "traits": { - "smithy.api#documentation": "Creates a cluster.
" + "smithy.api#documentation": "Creates a cluster.
", + "smithy.api#input": {} } }, "com.amazonaws.route53recoverycontrolconfig#CreateClusterResponse": { @@ -326,6 +323,9 @@ "smithy.api#documentation": "The cluster that was created.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoverycontrolconfig#CreateControlPanel": { @@ -400,7 +400,8 @@ } }, "traits": { - "smithy.api#documentation": "The details of the control panel that you're creating.
" + "smithy.api#documentation": "The details of the control panel that you're creating.
", + "smithy.api#input": {} } }, "com.amazonaws.route53recoverycontrolconfig#CreateControlPanelResponse": { @@ -412,6 +413,9 @@ "smithy.api#documentation": "Information about a control panel.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoverycontrolconfig#CreateRoutingControl": { @@ -486,7 +490,8 @@ } }, "traits": { - "smithy.api#documentation": "The details of the routing control that you're creating.
" + "smithy.api#documentation": "The details of the routing control that you're creating.
", + "smithy.api#input": {} } }, "com.amazonaws.route53recoverycontrolconfig#CreateRoutingControlResponse": { @@ -498,6 +503,9 @@ "smithy.api#documentation": "The routing control that is created.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoverycontrolconfig#CreateSafetyRule": { @@ -555,7 +563,8 @@ } }, "traits": { - "smithy.api#documentation": "The request body that you include when you create a safety rule.
" + "smithy.api#documentation": "The request body that you include when you create a safety rule.
", + "smithy.api#input": {} } }, "com.amazonaws.route53recoverycontrolconfig#CreateSafetyRuleResponse": { @@ -573,6 +582,9 @@ "smithy.api#documentation": "The gating rule created.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoverycontrolconfig#DeleteCluster": { @@ -623,11 +635,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoverycontrolconfig#DeleteClusterResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.route53recoverycontrolconfig#DeleteControlPanel": { "type": "operation", @@ -677,11 +695,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoverycontrolconfig#DeleteControlPanelResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.route53recoverycontrolconfig#DeleteRoutingControl": { "type": "operation", @@ -731,11 +755,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoverycontrolconfig#DeleteRoutingControlResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.route53recoverycontrolconfig#DeleteSafetyRule": { "type": "operation", @@ -776,11 +806,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoverycontrolconfig#DeleteSafetyRuleResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.route53recoverycontrolconfig#DescribeCluster": { "type": "operation", @@ -892,6 +928,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoverycontrolconfig#DescribeClusterResponse": { @@ -903,6 +942,9 @@ "smithy.api#documentation": "The cluster for the DescribeCluster request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoverycontrolconfig#DescribeControlPanel": { @@ -1015,6 +1057,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoverycontrolconfig#DescribeControlPanelResponse": { @@ -1026,6 +1071,9 @@ "smithy.api#documentation": "Information about the control panel.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoverycontrolconfig#DescribeRoutingControl": { @@ -1138,6 +1186,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoverycontrolconfig#DescribeRoutingControlResponse": { @@ -1149,6 +1200,9 @@ "smithy.api#documentation": "Information about the routing control.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoverycontrolconfig#DescribeSafetyRule": { @@ -1187,6 +1241,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoverycontrolconfig#DescribeSafetyRuleResponse": { @@ -1204,6 +1261,9 @@ "smithy.api#documentation": "The gating rule in the response.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoverycontrolconfig#GatingRule": { @@ -1261,7 +1321,6 @@ "WaitPeriodMs": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value.
", "smithy.api#required": {} } @@ -1291,7 +1350,6 @@ "WaitPeriodMs": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value.
", "smithy.api#required": {} } @@ -1358,7 +1416,6 @@ "MaxResults": { "target": "com.amazonaws.route53recoverycontrolconfig#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "MaxResults" } @@ -1378,6 +1435,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoverycontrolconfig#ListAssociatedRoute53HealthChecksResponse": { @@ -1395,6 +1455,9 @@ "smithy.api#documentation": "Next token for listing health checks.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoverycontrolconfig#ListClusters": { @@ -1443,7 +1506,6 @@ "MaxResults": { "target": "com.amazonaws.route53recoverycontrolconfig#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "MaxResults" } @@ -1455,6 +1517,9 @@ "smithy.api#httpQuery": "NextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoverycontrolconfig#ListClustersResponse": { @@ -1472,6 +1537,9 @@ "smithy.api#documentation": "The token that identifies which batch of results you want to see.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoverycontrolconfig#ListControlPanels": { @@ -1527,7 +1595,6 @@ "MaxResults": { "target": "com.amazonaws.route53recoverycontrolconfig#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "MaxResults" } @@ -1539,6 +1606,9 @@ "smithy.api#httpQuery": "NextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoverycontrolconfig#ListControlPanelsResponse": { @@ -1556,6 +1626,9 @@ "smithy.api#documentation": "The token that identifies which batch of results you want to see.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoverycontrolconfig#ListRoutingControls": { @@ -1612,7 +1685,6 @@ "MaxResults": { "target": "com.amazonaws.route53recoverycontrolconfig#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "MaxResults" } @@ -1624,6 +1696,9 @@ "smithy.api#httpQuery": "NextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoverycontrolconfig#ListRoutingControlsResponse": { @@ -1641,6 +1716,9 @@ "smithy.api#documentation": "An array of routing controls.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoverycontrolconfig#ListSafetyRules": { @@ -1697,7 +1775,6 @@ "MaxResults": { "target": "com.amazonaws.route53recoverycontrolconfig#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "MaxResults" } @@ -1709,6 +1786,9 @@ "smithy.api#httpQuery": "NextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoverycontrolconfig#ListSafetyRulesResponse": { @@ -1726,6 +1806,9 @@ "smithy.api#documentation": "The list of safety rules in a control panel.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoverycontrolconfig#ListTagsForResource": { @@ -1767,6 +1850,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoverycontrolconfig#ListTagsForResourceResponse": { @@ -1778,12 +1864,14 @@ "smithy.api#documentation": "The tags associated with the resource.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoverycontrolconfig#MaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -1824,7 +1912,6 @@ "WaitPeriodMs": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value.
", "smithy.api#required": {} } @@ -1875,7 +1962,6 @@ "WaitPeriodMs": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value.
", "smithy.api#required": {} } @@ -2050,52 +2136,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", @@ -2103,13 +2193,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -2119,251 +2218,202 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://route53-recovery-control-config-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://route53-recovery-control-config-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": [ { "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": [], - "endpoint": { - "url": "https://route53-recovery-control-config-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://route53-recovery-control-config-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://route53-recovery-control-config.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "aws-global" - ] - } - ], - "endpoint": { - "url": "https://route53-recovery-control-config.us-west-2.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "route53-recovery-control-config", - "signingRegion": "us-west-2" - } - ] - }, - "headers": {} - }, - "type": "endpoint" - }, { "conditions": [], "endpoint": { - "url": "https://route53-recovery-control-config.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://route53-recovery-control-config.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "aws-global" + ] + } + ], + "endpoint": { + "url": "https://route53-recovery-control-config.us-west-2.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53-recovery-control-config", + "signingRegion": "us-west-2" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://route53-recovery-control-config.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -2387,8 +2437,8 @@ }, "params": { "Region": "aws-global", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2400,8 +2450,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2413,8 +2463,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2426,8 +2476,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2439,8 +2489,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2452,8 +2502,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2465,8 +2515,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2478,8 +2528,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2491,8 +2541,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2504,8 +2554,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2517,8 +2567,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2530,8 +2580,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2543,8 +2593,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -2556,8 +2617,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 } }, { @@ -2569,8 +2641,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -2582,8 +2665,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 } }, { @@ -2595,8 +2689,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2608,8 +2702,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2621,8 +2715,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2633,8 +2727,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2645,10 +2739,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" @@ -2713,7 +2813,6 @@ "Inverted": { "target": "com.amazonaws.route53recoverycontrolconfig#__boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "Logical negation of the rule. If the rule would usually evaluate true, it's evaluated as false, and vice versa.
", "smithy.api#required": {} } @@ -2721,7 +2820,6 @@ "Threshold": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The value of N, when you specify an ATLEAST rule type. That is, Threshold is the number of controls that must be set when you specify an ATLEAST type.
", "smithy.api#required": {} } @@ -2855,12 +2953,16 @@ } }, "traits": { - "smithy.api#documentation": "Request of adding tag to the resource
" + "smithy.api#documentation": "Request of adding tag to the resource
", + "smithy.api#input": {} } }, "com.amazonaws.route53recoverycontrolconfig#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.route53recoverycontrolconfig#ThrottlingException": { "type": "structure", @@ -2926,11 +3028,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoverycontrolconfig#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.route53recoverycontrolconfig#UpdateControlPanel": { "type": "operation", @@ -2988,7 +3096,8 @@ } }, "traits": { - "smithy.api#documentation": "The details of the control panel that you're updating.
" + "smithy.api#documentation": "The details of the control panel that you're updating.
", + "smithy.api#input": {} } }, "com.amazonaws.route53recoverycontrolconfig#UpdateControlPanelResponse": { @@ -3000,6 +3109,9 @@ "smithy.api#documentation": "The control panel to update.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoverycontrolconfig#UpdateRoutingControl": { @@ -3058,7 +3170,8 @@ } }, "traits": { - "smithy.api#documentation": "The details of the routing control that you're updating.
" + "smithy.api#documentation": "The details of the routing control that you're updating.
", + "smithy.api#input": {} } }, "com.amazonaws.route53recoverycontrolconfig#UpdateRoutingControlResponse": { @@ -3070,6 +3183,9 @@ "smithy.api#documentation": "The routing control that was updated.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoverycontrolconfig#UpdateSafetyRule": { @@ -3117,7 +3233,8 @@ } }, "traits": { - "smithy.api#documentation": "A rule that you add to Application Recovery Controller to ensure that recovery actions don't accidentally impair your application's availability.
" + "smithy.api#documentation": "A rule that you add to Application Recovery Controller to ensure that recovery actions don't accidentally impair your application's availability.
", + "smithy.api#input": {} } }, "com.amazonaws.route53recoverycontrolconfig#UpdateSafetyRuleResponse": { @@ -3135,6 +3252,9 @@ "smithy.api#documentation": "The gating rule updated.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoverycontrolconfig#ValidationException": { @@ -3155,16 +3275,10 @@ } }, "com.amazonaws.route53recoverycontrolconfig#__boolean": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.route53recoverycontrolconfig#__integer": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } + "type": "integer" }, "com.amazonaws.route53recoverycontrolconfig#__listOfCluster": { "type": "list", diff --git a/codegen/sdk-codegen/aws-models/route53-recovery-readiness.json b/codegen/sdk-codegen/aws-models/route53-recovery-readiness.json index ecbe8f2a84d..a2a7e390214 100644 --- a/codegen/sdk-codegen/aws-models/route53-recovery-readiness.json +++ b/codegen/sdk-codegen/aws-models/route53-recovery-readiness.json @@ -166,6 +166,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#CreateCellResponse": { @@ -206,6 +209,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoveryreadiness#CreateCrossAccountAuthorization": { @@ -253,6 +259,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#CreateCrossAccountAuthorizationResponse": { @@ -265,6 +274,9 @@ "smithy.api#jsonName": "crossAccountAuthorization" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoveryreadiness#CreateReadinessCheck": { @@ -326,6 +338,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#CreateReadinessCheckResponse": { @@ -358,6 +373,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoveryreadiness#CreateRecoveryGroup": { @@ -418,6 +436,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#CreateRecoveryGroupResponse": { @@ -451,6 +472,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoveryreadiness#CreateResourceSet": { @@ -521,6 +545,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#CreateResourceSetResponse": { @@ -560,6 +587,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoveryreadiness#CrossAccountAuthorization": { @@ -656,6 +686,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#DeleteCrossAccountAuthorization": { @@ -700,11 +733,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#DeleteCrossAccountAuthorizationResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.route53recoveryreadiness#DeleteReadinessCheck": { "type": "operation", @@ -751,6 +790,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#DeleteRecoveryGroup": { @@ -798,6 +840,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#DeleteResourceSet": { @@ -845,6 +890,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#GetArchitectureRecommendations": { @@ -887,7 +935,6 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "maxResults" } @@ -907,6 +954,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#GetArchitectureRecommendationsResponse": { @@ -933,6 +983,9 @@ "smithy.api#jsonName": "recommendations" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoveryreadiness#GetCell": { @@ -1023,7 +1076,6 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "maxResults" } @@ -1035,6 +1087,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#GetCellReadinessSummaryResponse": { @@ -1061,6 +1116,9 @@ "smithy.api#jsonName": "readinessChecks" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoveryreadiness#GetCellRequest": { @@ -1074,6 +1132,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#GetCellResponse": { @@ -1114,6 +1175,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoveryreadiness#GetReadinessCheck": { @@ -1161,6 +1225,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#GetReadinessCheckResourceStatus": { @@ -1209,7 +1276,6 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "maxResults" } @@ -1237,6 +1303,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#GetReadinessCheckResourceStatusResponse": { @@ -1263,6 +1332,9 @@ "smithy.api#jsonName": "rules" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoveryreadiness#GetReadinessCheckResponse": { @@ -1295,6 +1367,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoveryreadiness#GetReadinessCheckStatus": { @@ -1343,7 +1418,6 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "maxResults" } @@ -1363,6 +1437,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#GetReadinessCheckStatusResponse": { @@ -1396,6 +1473,9 @@ "smithy.api#jsonName": "resources" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoveryreadiness#GetRecoveryGroup": { @@ -1478,7 +1558,6 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "maxResults" } @@ -1498,6 +1577,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#GetRecoveryGroupReadinessSummaryResponse": { @@ -1524,6 +1606,9 @@ "smithy.api#jsonName": "readinessChecks" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoveryreadiness#GetRecoveryGroupRequest": { @@ -1537,6 +1622,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#GetRecoveryGroupResponse": { @@ -1570,6 +1658,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoveryreadiness#GetResourceSet": { @@ -1617,6 +1708,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#GetResourceSetResponse": { @@ -1656,6 +1750,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoveryreadiness#InternalServerException": { @@ -1724,7 +1821,6 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "maxResults" } @@ -1736,6 +1832,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#ListCellsResponse": { @@ -1755,6 +1854,9 @@ "smithy.api#jsonName": "nextToken" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoveryreadiness#ListCrossAccountAuthorizations": { @@ -1800,7 +1902,6 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "maxResults" } @@ -1812,6 +1913,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#ListCrossAccountAuthorizationsResponse": { @@ -1831,6 +1935,9 @@ "smithy.api#jsonName": "nextToken" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoveryreadiness#ListReadinessChecks": { @@ -1876,7 +1983,6 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "maxResults" } @@ -1888,6 +1994,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#ListReadinessChecksResponse": { @@ -1907,6 +2016,9 @@ "smithy.api#jsonName": "readinessChecks" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoveryreadiness#ListRecoveryGroups": { @@ -1952,7 +2064,6 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "maxResults" } @@ -1964,6 +2075,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#ListRecoveryGroupsResponse": { @@ -1983,6 +2097,9 @@ "smithy.api#jsonName": "recoveryGroups" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoveryreadiness#ListResourceSets": { @@ -2028,7 +2145,6 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "maxResults" } @@ -2040,6 +2156,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#ListResourceSetsResponse": { @@ -2059,6 +2178,9 @@ "smithy.api#jsonName": "resourceSets" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoveryreadiness#ListRules": { @@ -2136,7 +2258,6 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The number of objects that you want to return with this call.
", "smithy.api#httpQuery": "maxResults" } @@ -2155,6 +2276,9 @@ "smithy.api#httpQuery": "resourceType" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#ListRulesResponse": { @@ -2174,6 +2298,9 @@ "smithy.api#jsonName": "rules" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoveryreadiness#ListTagsForResources": { @@ -2215,6 +2342,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#ListTagsForResourcesResponse": { @@ -2227,12 +2357,14 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoveryreadiness#MaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -2292,27 +2424,35 @@ } }, "com.amazonaws.route53recoveryreadiness#Readiness": { - "type": "string", - "traits": { - "smithy.api#documentation": "The readiness status.
", - "smithy.api#enum": [ - { - "value": "READY", - "name": "READY" - }, - { - "value": "NOT_READY", - "name": "NOT_READY" - }, - { - "value": "UNKNOWN", - "name": "UNKNOWN" - }, - { - "value": "NOT_AUTHORIZED", - "name": "NOT_AUTHORIZED" + "type": "enum", + "members": { + "READY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "READY" } - ] + }, + "NOT_READY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NOT_READY" + } + }, + "UNKNOWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNKNOWN" + } + }, + "NOT_AUTHORIZED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NOT_AUTHORIZED" + } + } + }, + "traits": { + "smithy.api#documentation": "The readiness status.
" } }, "com.amazonaws.route53recoveryreadiness#ReadinessCheckOutput": { @@ -2747,52 +2887,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", @@ -2800,13 +2944,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -2816,224 +2969,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://route53-recovery-readiness-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://route53-recovery-readiness-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": [ { "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": [], - "endpoint": { - "url": "https://route53-recovery-readiness-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://route53-recovery-readiness-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://route53-recovery-readiness.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://route53-recovery-readiness.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://route53-recovery-readiness.{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://route53-recovery-readiness.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -3048,8 +3152,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3061,8 +3165,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3074,8 +3178,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3087,8 +3191,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3100,8 +3204,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3113,8 +3217,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3126,8 +3230,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3139,8 +3243,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3152,8 +3256,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3165,8 +3269,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3178,8 +3282,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3191,8 +3295,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -3204,8 +3319,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 } }, { @@ -3217,8 +3343,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -3230,8 +3367,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 } }, { @@ -3243,8 +3391,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3256,8 +3404,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3269,8 +3417,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3281,8 +3429,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3293,10 +3441,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" @@ -3390,11 +3544,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.route53recoveryreadiness#Tags": { "type": "map", @@ -3493,6 +3653,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#UpdateCell": { @@ -3548,6 +3711,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#UpdateCellResponse": { @@ -3588,6 +3754,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoveryreadiness#UpdateReadinessCheck": { @@ -3645,7 +3814,8 @@ } }, "traits": { - "smithy.api#documentation": "Name of a readiness check to describe.
" + "smithy.api#documentation": "Name of a readiness check to describe.
", + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#UpdateReadinessCheckResponse": { @@ -3678,6 +3848,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoveryreadiness#UpdateRecoveryGroup": { @@ -3735,7 +3908,8 @@ } }, "traits": { - "smithy.api#documentation": "Name of a recovery group.
" + "smithy.api#documentation": "Name of a recovery group.
", + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#UpdateRecoveryGroupResponse": { @@ -3769,6 +3943,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoveryreadiness#UpdateResourceSet": { @@ -3834,7 +4011,8 @@ } }, "traits": { - "smithy.api#documentation": "Name of a resource set.
" + "smithy.api#documentation": "Name of a resource set.
", + "smithy.api#input": {} } }, "com.amazonaws.route53recoveryreadiness#UpdateResourceSetResponse": { @@ -3874,6 +4052,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.route53recoveryreadiness#ValidationException": { diff --git a/codegen/sdk-codegen/aws-models/route53resolver.json b/codegen/sdk-codegen/aws-models/route53resolver.json index 9c64f5d16d3..b8941ed1d6e 100644 --- a/codegen/sdk-codegen/aws-models/route53resolver.json +++ b/codegen/sdk-codegen/aws-models/route53resolver.json @@ -6891,52 +6891,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", @@ -6944,13 +6948,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -6960,92 +6973,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://route53resolver-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://route53resolver-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -7054,130 +7058,128 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } + "ref": "Region" + }, + "us-gov-east-1" ] } ], - "type": "tree", - "rules": [ + "endpoint": { + "url": "https://route53resolver.us-gov-east-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ { - "conditions": [], - "type": "tree", - "rules": [ + "fn": "stringEquals", + "argv": [ { - "conditions": [], - "endpoint": { - "url": "https://route53resolver-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "Region" + }, + "us-gov-west-1" ] } - ] + ], + "endpoint": { + "url": "https://route53resolver.us-gov-west-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://route53resolver-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://route53resolver.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://route53resolver.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://route53resolver.{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://route53resolver.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -7586,6 +7588,19 @@ "UseDualStack": false } }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://route53resolver.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, { "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", "expect": { @@ -7600,29 +7615,29 @@ } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://route53resolver-fips.us-gov-east-1.api.aws" + "url": "https://route53resolver.us-gov-west-1.amazonaws.com" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-gov-west-1", "UseFIPS": true, - "UseDualStack": true + "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://route53resolver-fips.us-gov-east-1.amazonaws.com" + "url": "https://route53resolver-fips.us-gov-east-1.api.aws" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": false + "UseDualStack": true } }, { diff --git a/codegen/sdk-codegen/aws-models/rum.json b/codegen/sdk-codegen/aws-models/rum.json index 4d981a0d915..b37fa1da48e 100644 --- a/codegen/sdk-codegen/aws-models/rum.json +++ b/codegen/sdk-codegen/aws-models/rum.json @@ -2041,52 +2041,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", @@ -2094,13 +2098,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -2110,224 +2123,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://rum-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://rum-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": [ { "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": [], - "endpoint": { - "url": "https://rum-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://rum-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://rum.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://rum.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://rum.{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://rum.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -2342,8 +2306,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2355,8 +2319,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2368,8 +2332,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2381,8 +2345,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2394,8 +2358,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2407,8 +2371,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2420,8 +2384,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2433,8 +2397,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2446,8 +2410,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2459,8 +2423,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2472,8 +2436,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2485,8 +2449,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2498,8 +2462,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2511,8 +2475,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2524,8 +2488,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2537,8 +2501,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2550,8 +2514,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2563,8 +2527,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2576,8 +2540,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2589,8 +2553,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2602,8 +2566,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -2615,8 +2590,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 } }, { @@ -2628,8 +2614,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -2641,8 +2638,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 } }, { @@ -2654,8 +2662,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2667,8 +2675,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2680,8 +2688,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2692,8 +2700,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2704,10 +2712,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" diff --git a/codegen/sdk-codegen/aws-models/s3-control.json b/codegen/sdk-codegen/aws-models/s3-control.json index 34dd5ad3475..7b83470c3f3 100644 --- a/codegen/sdk-codegen/aws-models/s3-control.json +++ b/codegen/sdk-codegen/aws-models/s3-control.json @@ -232,6 +232,7 @@ "arnNamespace": "s3", "cloudFormationName": "S3Control", "cloudTrailEventSource": "s3control.amazonaws.com", + "docId": "s3control-2018-08-20", "endpointPrefix": "s3-control" }, "aws.auth#sigv4": { diff --git a/codegen/sdk-codegen/aws-models/s3outposts.json b/codegen/sdk-codegen/aws-models/s3outposts.json index 4bc2ec0465b..9893bdf1a0b 100644 --- a/codegen/sdk-codegen/aws-models/s3outposts.json +++ b/codegen/sdk-codegen/aws-models/s3outposts.json @@ -160,6 +160,9 @@ "smithy.api#documentation": "The Amazon Resource Name (ARN) of the endpoint.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.s3outposts#CreationTime": { @@ -499,6 +502,9 @@ "smithy.api#documentation": "If the number of endpoints associated with the specified Outpost exceeds MaxResults
, \n you can include this value in subsequent calls to this operation to retrieve more results.
Returns a token that you can use to call ListOutpostsWithS3
again and receive additional results, if there are any.
If the number of endpoints associated with the specified Outpost exceeds MaxResults
, \n you can include this value in subsequent calls to this operation to retrieve more results.
An object that contains information about the output of the human loop.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.sagemakera2iruntime#FailureReason": { @@ -954,30 +982,38 @@ } }, "com.amazonaws.sagemakera2iruntime#HumanLoopStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "InProgress", - "name": "IN_PROGRESS" - }, - { - "value": "Failed", - "name": "FAILED" - }, - { - "value": "Completed", - "name": "COMPLETED" - }, - { - "value": "Stopped", - "name": "STOPPED" - }, - { - "value": "Stopping", - "name": "STOPPING" + "type": "enum", + "members": { + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InProgress" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Completed" + } + }, + "STOPPED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Stopped" } - ] + }, + "STOPPING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Stopping" + } + } } }, "com.amazonaws.sagemakera2iruntime#HumanLoopSummaries": { @@ -1130,6 +1166,9 @@ "smithy.api#httpQuery": "MaxResults" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.sagemakera2iruntime#ListHumanLoopsResponse": { @@ -1148,6 +1187,9 @@ "smithy.api#documentation": "A token to display the next page of results.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.sagemakera2iruntime#MaxResults": { @@ -1197,18 +1239,20 @@ } }, "com.amazonaws.sagemakera2iruntime#SortOrder": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Ascending", - "name": "ASCENDING" - }, - { - "value": "Descending", - "name": "DESCENDING" + "type": "enum", + "members": { + "ASCENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Ascending" + } + }, + "DESCENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Descending" } - ] + } } }, "com.amazonaws.sagemakera2iruntime#StartHumanLoop": { @@ -1275,6 +1319,9 @@ "smithy.api#documentation": "Attributes of the specified data. Use DataAttributes
to specify if your data\n is free of personally identifiable information and/or free of adult content.
The Amazon Resource Name (ARN) of the human loop.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.sagemakera2iruntime#StopHumanLoop": { @@ -1329,11 +1379,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.sagemakera2iruntime#StopHumanLoopResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.sagemakera2iruntime#String": { "type": "string" diff --git a/codegen/sdk-codegen/aws-models/sagemaker-edge.json b/codegen/sdk-codegen/aws-models/sagemaker-edge.json index 53c9e9fdd19..e9cceefc711 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker-edge.json +++ b/codegen/sdk-codegen/aws-models/sagemaker-edge.json @@ -117,52 +117,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", @@ -170,13 +174,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -186,224 +199,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://edge.sagemaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://edge.sagemaker-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": [ { "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": [], - "endpoint": { - "url": "https://edge.sagemaker-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://edge.sagemaker-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://edge.sagemaker.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://edge.sagemaker.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://edge.sagemaker.{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://edge.sagemaker.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -418,8 +382,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -431,8 +395,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -444,8 +408,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -457,8 +421,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -470,8 +434,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -483,8 +447,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -496,8 +460,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -509,8 +473,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -522,8 +486,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -535,8 +499,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -548,8 +512,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -561,8 +525,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -574,8 +538,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -587,8 +551,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -600,8 +564,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -613,8 +577,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -626,8 +590,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -639,8 +614,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 } }, { @@ -652,8 +638,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -665,8 +662,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 } }, { @@ -678,8 +686,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -691,8 +699,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -704,8 +712,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -716,8 +724,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -728,10 +736,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" @@ -778,14 +792,14 @@ } }, "com.amazonaws.sagemakeredge#ChecksumType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SHA1", - "name": "Sha1" + "type": "enum", + "members": { + "Sha1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SHA1" } - ] + } } }, "com.amazonaws.sagemakeredge#Definition": { @@ -933,29 +947,31 @@ } }, "com.amazonaws.sagemakeredge#DeploymentStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SUCCESS", - "name": "Success" - }, - { - "value": "FAIL", - "name": "Fail" + "type": "enum", + "members": { + "Success": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCESS" + } + }, + "Fail": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAIL" } - ] + } } }, "com.amazonaws.sagemakeredge#DeploymentType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Model", - "name": "Model" + "type": "enum", + "members": { + "Model": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Model" } - ] + } } }, "com.amazonaws.sagemakeredge#DeviceFleetName": { @@ -1088,18 +1104,20 @@ "type": "string" }, "com.amazonaws.sagemakeredge#FailureHandlingPolicy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ROLLBACK_ON_FAILURE", - "name": "RollbackOnFailure" - }, - { - "value": "DO_NOTHING", - "name": "DoNothing" + "type": "enum", + "members": { + "RollbackOnFailure": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROLLBACK_ON_FAILURE" } - ] + }, + "DoNothing": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DO_NOTHING" + } + } } }, "com.amazonaws.sagemakeredge#GetDeployments": { @@ -1141,6 +1159,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.sagemakeredge#GetDeploymentsResult": { @@ -1152,6 +1173,9 @@ "smithy.api#documentation": "Returns a list of the configurations of the active deployments on the device.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.sagemakeredge#GetDeviceRegistration": { @@ -1193,6 +1217,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.sagemakeredge#GetDeviceRegistrationResult": { @@ -1210,6 +1237,9 @@ "smithy.api#documentation": "The amount of time, in seconds, that the registration status is stored on the device’s cache before it is refreshed.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.sagemakeredge#InternalServiceException": { @@ -1283,18 +1313,20 @@ } }, "com.amazonaws.sagemakeredge#ModelState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DEPLOY", - "name": "Deploy" - }, - { - "value": "UNDEPLOY", - "name": "Undeploy" + "type": "enum", + "members": { + "Deploy": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEPLOY" } - ] + }, + "Undeploy": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNDEPLOY" + } + } } }, "com.amazonaws.sagemakeredge#Models": { @@ -1377,6 +1409,9 @@ "smithy.api#documentation": "Returns the result of a deployment on the device.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.sagemakeredge#String": { diff --git a/codegen/sdk-codegen/aws-models/sagemaker-featurestore-runtime.json b/codegen/sdk-codegen/aws-models/sagemaker-featurestore-runtime.json index 0674506fa31..7bafa5cad7c 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker-featurestore-runtime.json +++ b/codegen/sdk-codegen/aws-models/sagemaker-featurestore-runtime.json @@ -133,52 +133,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", @@ -186,13 +190,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -202,224 +215,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://featurestore-runtime.sagemaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://featurestore-runtime.sagemaker-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": [ { "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": [], - "endpoint": { - "url": "https://featurestore-runtime.sagemaker-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://featurestore-runtime.sagemaker-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://featurestore-runtime.sagemaker.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://featurestore-runtime.sagemaker.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://featurestore-runtime.sagemaker.{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://featurestore-runtime.sagemaker.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/sagemaker-geospatial.json b/codegen/sdk-codegen/aws-models/sagemaker-geospatial.json index 852cd7ba6e5..0a5fd878066 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker-geospatial.json +++ b/codegen/sdk-codegen/aws-models/sagemaker-geospatial.json @@ -3506,55 +3506,55 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://sagemaker-geospatial-fips.us-gov-east-1.api.aws" + "url": "https://sagemaker-geospatial-fips.us-east-1.api.aws" } }, "params": { - "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://sagemaker-geospatial-fips.us-gov-east-1.amazonaws.com" + "url": "https://sagemaker-geospatial-fips.us-east-1.amazonaws.com" } }, "params": { - "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://sagemaker-geospatial.us-gov-east-1.api.aws" + "url": "https://sagemaker-geospatial.us-east-1.api.aws" } }, "params": { - "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://sagemaker-geospatial.us-gov-east-1.amazonaws.com" + "url": "https://sagemaker-geospatial.us-east-1.amazonaws.com" } }, "params": { - "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3566,8 +3566,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3579,8 +3579,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3592,8 +3592,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3605,108 +3605,108 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://sagemaker-geospatial-fips.us-gov-east-1.api.aws" + } }, "params": { - "Region": "us-iso-east-1", - "UseDualStack": true, - "UseFIPS": true + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://sagemaker-geospatial-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://sagemaker-geospatial-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": true + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://sagemaker-geospatial.us-gov-east-1.api.aws" + } }, "params": { - "Region": "us-iso-east-1", - "UseDualStack": true, - "UseFIPS": false + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://sagemaker-geospatial.us-iso-east-1.c2s.ic.gov" + "url": "https://sagemaker-geospatial.us-gov-east-1.amazonaws.com" } }, "params": { - "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": false + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://sagemaker-geospatial-fips.us-east-1.api.aws" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://sagemaker-geospatial-fips.us-east-1.amazonaws.com" + "url": "https://sagemaker-geospatial-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://sagemaker-geospatial.us-east-1.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://sagemaker-geospatial.us-east-1.amazonaws.com" + "url": "https://sagemaker-geospatial.us-iso-east-1.c2s.ic.gov" } }, "params": { - "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3716,8 +3716,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3729,8 +3729,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3740,8 +3740,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3753,12 +3753,12 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" @@ -3766,8 +3766,21 @@ }, "params": { "Region": "us-east-1", + "UseFIPS": false, "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3778,8 +3791,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3790,10 +3803,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" diff --git a/codegen/sdk-codegen/aws-models/sagemaker-metrics.json b/codegen/sdk-codegen/aws-models/sagemaker-metrics.json index 6e2c529ee24..c2f289e19f5 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker-metrics.json +++ b/codegen/sdk-codegen/aws-models/sagemaker-metrics.json @@ -96,6 +96,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.sagemakermetrics#BatchPutMetricsResponse": { @@ -107,6 +110,9 @@ "smithy.api#documentation": "Lists any errors that occur when inserting metric data.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.sagemakermetrics#Double": { @@ -593,55 +599,55 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://metrics.sagemaker-fips.us-gov-east-1.api.aws" + "url": "https://metrics.sagemaker-fips.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://metrics.sagemaker-fips.us-gov-east-1.amazonaws.com" + "url": "https://metrics.sagemaker-fips.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://metrics.sagemaker.us-gov-east-1.api.aws" + "url": "https://metrics.sagemaker.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://metrics.sagemaker.us-gov-east-1.amazonaws.com" + "url": "https://metrics.sagemaker.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -652,9 +658,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -665,9 +671,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -678,9 +684,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -691,109 +697,109 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://metrics.sagemaker-fips.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://metrics.sagemaker-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://metrics.sagemaker-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://metrics.sagemaker.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://metrics.sagemaker.us-iso-east-1.c2s.ic.gov" + "url": "https://metrics.sagemaker.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://metrics.sagemaker-fips.us-east-1.api.aws" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://metrics.sagemaker-fips.us-east-1.amazonaws.com" + "url": "https://metrics.sagemaker-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://metrics.sagemaker.us-east-1.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://metrics.sagemaker.us-east-1.amazonaws.com" + "url": "https://metrics.sagemaker.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -802,9 +808,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -815,9 +821,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -826,9 +832,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -839,22 +845,35 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { + "Region": "us-east-1", + "UseFIPS": false, "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { "UseFIPS": false, - "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -864,9 +883,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -876,11 +895,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/codegen/sdk-codegen/aws-models/sagemaker-runtime.json b/codegen/sdk-codegen/aws-models/sagemaker-runtime.json index d47ae5614b1..87841548987 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker-runtime.json +++ b/codegen/sdk-codegen/aws-models/sagemaker-runtime.json @@ -49,6 +49,7 @@ "arnNamespace": "sagemaker", "cloudFormationName": "SageMakerRuntime", "cloudTrailEventSource": "sagemakerruntime.amazonaws.com", + "docId": "runtime.sagemaker-2017-05-13", "endpointPrefix": "runtime.sagemaker" }, "aws.auth#sigv4": { diff --git a/codegen/sdk-codegen/aws-models/savingsplans.json b/codegen/sdk-codegen/aws-models/savingsplans.json index 8d09ed34f39..1198faaa863 100644 --- a/codegen/sdk-codegen/aws-models/savingsplans.json +++ b/codegen/sdk-codegen/aws-models/savingsplans.json @@ -135,52 +135,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", @@ -188,291 +192,251 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "stringEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] + "ref": "PartitionResult" }, - "aws" + "name" ] }, + "aws" + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - false - ] + "ref": "UseDualStack" }, + false + ] + } + ], + "endpoint": { + "url": "https://savingsplans.amazonaws.com", + "properties": { + "authSchemes": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - false - ] + "name": "sigv4", + "signingName": "savingsplans", + "signingRegion": "us-east-1" } - ], - "endpoint": { - "url": "https://savingsplans.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "savingsplans", - "signingRegion": "us-east-1" - } - ] + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" }, - "headers": {} - }, - "type": "endpoint" + true + ] }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://savingsplans-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://savingsplans-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": [ { "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": [], - "endpoint": { - "url": "https://savingsplans-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://savingsplans-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://savingsplans.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://savingsplans.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://savingsplans.{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://savingsplans.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/scheduler.json b/codegen/sdk-codegen/aws-models/scheduler.json index 3c3775ed731..770f19c1719 100644 --- a/codegen/sdk-codegen/aws-models/scheduler.json +++ b/codegen/sdk-codegen/aws-models/scheduler.json @@ -388,55 +388,55 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://scheduler-fips.us-gov-east-1.api.aws" + "url": "https://scheduler-fips.us-east-1.api.aws" } }, "params": { - "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://scheduler-fips.us-gov-east-1.amazonaws.com" + "url": "https://scheduler-fips.us-east-1.amazonaws.com" } }, "params": { - "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://scheduler.us-gov-east-1.api.aws" + "url": "https://scheduler.us-east-1.api.aws" } }, "params": { - "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://scheduler.us-gov-east-1.amazonaws.com" + "url": "https://scheduler.us-east-1.amazonaws.com" } }, "params": { - "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { @@ -448,8 +448,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -461,8 +461,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -474,8 +474,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -487,108 +487,108 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://scheduler-fips.us-gov-east-1.api.aws" + } }, "params": { - "Region": "us-iso-east-1", - "UseDualStack": true, - "UseFIPS": true + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://scheduler-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://scheduler-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": true + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://scheduler.us-gov-east-1.api.aws" + } }, "params": { - "Region": "us-iso-east-1", - "UseDualStack": true, - "UseFIPS": false + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://scheduler.us-iso-east-1.c2s.ic.gov" + "url": "https://scheduler.us-gov-east-1.amazonaws.com" } }, "params": { - "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": false + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://scheduler-fips.us-east-1.api.aws" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://scheduler-fips.us-east-1.amazonaws.com" + "url": "https://scheduler-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://scheduler.us-east-1.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://scheduler.us-east-1.amazonaws.com" + "url": "https://scheduler.us-iso-east-1.c2s.ic.gov" } }, "params": { - "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { @@ -598,8 +598,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -611,8 +611,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -622,8 +622,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -635,12 +635,12 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" @@ -648,8 +648,21 @@ }, "params": { "Region": "us-east-1", + "UseFIPS": false, "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -660,8 +673,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -672,10 +685,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" diff --git a/codegen/sdk-codegen/aws-models/schemas.json b/codegen/sdk-codegen/aws-models/schemas.json index 50c6e50d5fa..a2f40451e14 100644 --- a/codegen/sdk-codegen/aws-models/schemas.json +++ b/codegen/sdk-codegen/aws-models/schemas.json @@ -56,22 +56,26 @@ "type": "blob" }, "com.amazonaws.schemas#CodeGenerationStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATE_IN_PROGRESS", - "name": "CREATE_IN_PROGRESS" - }, - { - "value": "CREATE_COMPLETE", - "name": "CREATE_COMPLETE" - }, - { - "value": "CREATE_FAILED", - "name": "CREATE_FAILED" + "type": "enum", + "members": { + "CREATE_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATE_IN_PROGRESS" + } + }, + "CREATE_COMPLETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATE_COMPLETE" } - ] + }, + "CREATE_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATE_FAILED" + } + } } }, "com.amazonaws.schemas#ConflictException": { @@ -153,7 +157,6 @@ "CrossAccount": { "target": "com.amazonaws.schemas#__boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "Support discovery of schemas in events sent to the bus from another account. (default: true).
" } }, @@ -164,6 +167,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#CreateDiscovererResponse": { @@ -202,7 +208,6 @@ "CrossAccount": { "target": "com.amazonaws.schemas#__boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "The Status if the discoverer will discover schemas from events sent from another account.
" } }, @@ -213,6 +218,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.schemas#CreateRegistry": { @@ -276,6 +284,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#CreateRegistryResponse": { @@ -306,6 +317,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.schemas#CreateSchema": { @@ -385,6 +399,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#CreateSchemaResponse": { @@ -438,6 +455,9 @@ "smithy.api#documentation": "The date the schema version was created.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.schemas#DeleteDiscoverer": { @@ -488,6 +508,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#DeleteRegistry": { @@ -538,6 +561,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#DeleteResourcePolicy": { @@ -587,6 +613,9 @@ "smithy.api#httpQuery": "registryName" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#DeleteSchema": { @@ -645,6 +674,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#DeleteSchemaVersion": { @@ -711,6 +743,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#DescribeCodeBinding": { @@ -827,6 +862,9 @@ "smithy.api#httpQuery": "schemaVersion" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#DescribeCodeBindingResponse": { @@ -856,6 +894,9 @@ "smithy.api#documentation": "The current status of code binding generation.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.schemas#DescribeDiscoverer": { @@ -906,6 +947,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#DescribeDiscovererResponse": { @@ -944,7 +988,6 @@ "CrossAccount": { "target": "com.amazonaws.schemas#__boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "The Status if the discoverer will discover schemas from events sent from another account.
" } }, @@ -955,6 +998,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.schemas#DescribeRegistry": { @@ -1005,6 +1051,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#DescribeRegistryResponse": { @@ -1035,6 +1084,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.schemas#DescribeSchema": { @@ -1100,6 +1152,9 @@ "smithy.api#httpQuery": "schemaVersion" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#DescribeSchemaResponse": { @@ -1160,21 +1215,26 @@ "smithy.api#documentation": "The date the schema version was created.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.schemas#DiscovererState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "STARTED", - "name": "STARTED" - }, - { - "value": "STOPPED", - "name": "STOPPED" + "type": "enum", + "members": { + "STARTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STARTED" + } + }, + "STOPPED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STOPPED" } - ] + } } }, "com.amazonaws.schemas#DiscovererSummary": { @@ -1207,7 +1267,6 @@ "CrossAccount": { "target": "com.amazonaws.schemas#__boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "The Status if the discoverer will discover schemas from events sent from another account.
" } }, @@ -1292,6 +1351,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#ExportSchemaResponse": { @@ -1312,6 +1374,9 @@ "Type": { "target": "com.amazonaws.schemas#__string" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.schemas#ForbiddenException": { @@ -1408,6 +1473,9 @@ "smithy.api#httpQuery": "schemaVersion" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#GetCodeBindingSourceResponse": { @@ -1419,6 +1487,9 @@ "smithy.api#httpPayload": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.schemas#GetDiscoveredSchema": { @@ -1472,6 +1543,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#GetDiscoveredSchemaResponse": { @@ -1483,6 +1557,9 @@ "smithy.api#documentation": "The source of the schema definition.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.schemas#GetDiscoveredSchemaVersionItemInput": { @@ -1541,6 +1618,9 @@ "smithy.api#httpQuery": "registryName" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#GetResourcePolicyResponse": { @@ -1558,6 +1638,9 @@ "smithy.api#documentation": "The revision ID.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.schemas#GoneException": { @@ -1659,7 +1742,6 @@ "Limit": { "target": "com.amazonaws.schemas#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#httpQuery": "limit" } }, @@ -1677,6 +1759,9 @@ "smithy.api#httpQuery": "sourceArnPrefix" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#ListDiscoverersResponse": { @@ -1694,6 +1779,9 @@ "smithy.api#documentation": "The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.schemas#ListRegistries": { @@ -1742,7 +1830,6 @@ "Limit": { "target": "com.amazonaws.schemas#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#httpQuery": "limit" } }, @@ -1767,6 +1854,9 @@ "smithy.api#httpQuery": "scope" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#ListRegistriesResponse": { @@ -1784,6 +1874,9 @@ "smithy.api#documentation": "An array of registry summaries.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.schemas#ListSchemaVersions": { @@ -1835,7 +1928,6 @@ "Limit": { "target": "com.amazonaws.schemas#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#httpQuery": "limit" } }, @@ -1862,6 +1954,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#ListSchemaVersionsResponse": { @@ -1879,6 +1974,9 @@ "smithy.api#documentation": "An array of schema version summaries.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.schemas#ListSchemas": { @@ -1927,7 +2025,6 @@ "Limit": { "target": "com.amazonaws.schemas#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#httpQuery": "limit" } }, @@ -1953,6 +2050,9 @@ "smithy.api#httpQuery": "schemaNamePrefix" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#ListSchemasResponse": { @@ -1970,6 +2070,9 @@ "smithy.api#documentation": "An array of schema summaries.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.schemas#ListTagsForResource": { @@ -2014,6 +2117,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#ListTagsForResourceResponse": { @@ -2025,6 +2131,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.schemas#NotFoundException": { @@ -2147,6 +2256,9 @@ "smithy.api#httpQuery": "schemaVersion" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#PutCodeBindingResponse": { @@ -2176,6 +2288,9 @@ "smithy.api#documentation": "The current status of code binding generation.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.schemas#PutResourcePolicy": { @@ -2243,7 +2358,8 @@ } }, "traits": { - "smithy.api#documentation": "The name of the policy.
" + "smithy.api#documentation": "The name of the policy.
", + "smithy.api#input": {} } }, "com.amazonaws.schemas#PutResourcePolicyResponse": { @@ -2261,6 +2377,9 @@ "smithy.api#documentation": "The revision ID of the policy.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.schemas#RegistrySummary": { @@ -2318,7 +2437,6 @@ "VersionCount": { "target": "com.amazonaws.schemas#__long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The number of versions available for the schema.
" } } @@ -2462,7 +2580,6 @@ "Limit": { "target": "com.amazonaws.schemas#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#httpQuery": "limit" } }, @@ -2481,6 +2598,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#SearchSchemasResponse": { @@ -2498,6 +2618,9 @@ "smithy.api#documentation": "An array of SearchSchemaSummary information.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.schemas#ServiceUnavailableException": { @@ -2571,6 +2694,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#StartDiscovererResponse": { @@ -2588,6 +2714,9 @@ "smithy.api#documentation": "The state of the discoverer.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.schemas#StopDiscoverer": { @@ -2638,6 +2767,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#StopDiscovererResponse": { @@ -2655,6 +2787,9 @@ "smithy.api#documentation": "The state of the discoverer.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.schemas#SynthesizedJson__string": { @@ -2715,7 +2850,8 @@ } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "", + "smithy.api#input": {} } }, "com.amazonaws.schemas#Tags": { @@ -2754,18 +2890,20 @@ } }, "com.amazonaws.schemas#Type": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "OpenApi3", - "name": "OpenApi3" - }, - { - "value": "JSONSchemaDraft4", - "name": "JSONSchemaDraft4" + "type": "enum", + "members": { + "OpenApi3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OpenApi3" + } + }, + "JSONSchemaDraft4": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JSONSchemaDraft4" } - ] + } } }, "com.amazonaws.schemas#UnauthorizedException": { @@ -2841,6 +2979,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#UpdateDiscoverer": { @@ -2900,10 +3041,12 @@ "CrossAccount": { "target": "com.amazonaws.schemas#__boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "Support discovery of schemas in events sent to the bus from another account. (default: true)
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#UpdateDiscovererResponse": { @@ -2942,7 +3085,6 @@ "CrossAccount": { "target": "com.amazonaws.schemas#__boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "The Status if the discoverer will discover schemas from events sent from another account.
" } }, @@ -2953,6 +3095,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.schemas#UpdateRegistry": { @@ -3011,7 +3156,8 @@ } }, "traits": { - "smithy.api#documentation": "Updates the registry.
" + "smithy.api#documentation": "Updates the registry.
", + "smithy.api#input": {} } }, "com.amazonaws.schemas#UpdateRegistryResponse": { @@ -3042,6 +3188,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.schemas#UpdateSchema": { @@ -3122,6 +3271,9 @@ "smithy.api#documentation": "The schema type for the events schema.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.schemas#UpdateSchemaResponse": { @@ -3175,19 +3327,16 @@ "smithy.api#documentation": "The date the schema version was created.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.schemas#__boolean": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.schemas#__integer": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } + "type": "integer" }, "com.amazonaws.schemas#__listOfDiscovererSummary": { "type": "list", @@ -3244,10 +3393,7 @@ } }, "com.amazonaws.schemas#__long": { - "type": "long", - "traits": { - "smithy.api#default": 0 - } + "type": "long" }, "com.amazonaws.schemas#__string": { "type": "string" @@ -3466,52 +3612,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", @@ -3519,13 +3669,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -3535,224 +3694,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://schemas-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://schemas-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": [ { "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": [], - "endpoint": { - "url": "https://schemas-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://schemas-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://schemas.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://schemas.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://schemas.{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://schemas.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -3767,8 +3877,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3780,8 +3890,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3793,8 +3903,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3806,8 +3916,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3819,8 +3929,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3832,8 +3942,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3845,8 +3955,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3858,8 +3968,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3871,8 +3981,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3884,8 +3994,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3897,8 +4007,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3910,8 +4020,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3923,8 +4033,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3936,8 +4046,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3949,8 +4059,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3962,8 +4072,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3975,8 +4085,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3988,8 +4098,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -4001,8 +4111,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -4014,8 +4124,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -4027,8 +4137,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -4040,8 +4150,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -4053,8 +4163,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -4066,8 +4176,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4079,8 +4189,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -4092,8 +4202,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -4105,8 +4215,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -4118,8 +4228,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -4131,8 +4252,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 } }, { @@ -4144,8 +4276,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -4157,8 +4300,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 } }, { @@ -4170,8 +4324,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4183,8 +4337,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -4196,8 +4350,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -4208,8 +4362,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -4220,10 +4374,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" diff --git a/codegen/sdk-codegen/aws-models/secrets-manager.json b/codegen/sdk-codegen/aws-models/secrets-manager.json index 724bc1b2dbe..6227ccf3a62 100644 --- a/codegen/sdk-codegen/aws-models/secrets-manager.json +++ b/codegen/sdk-codegen/aws-models/secrets-manager.json @@ -79,7 +79,20 @@ } ], "traits": { - "smithy.api#documentation": "Turns off automatic rotation, and if a rotation is currently in\n progress, cancels the rotation.
\nIf you cancel a rotation in progress, it can leave the VersionStage
\n labels in an unexpected state. You might\n need to remove the staging label AWSPENDING
from the partially created version. \n You also need to determine whether to roll back to the previous version of the secret \n by moving the staging label AWSCURRENT
to the version that has AWSPENDING
.\n To determine \n which version has a specific staging label, call ListSecretVersionIds. Then use \n UpdateSecretVersionStage to change staging labels. \n For more information, see How rotation works.
To turn on automatic rotation again, call RotateSecret.
\nSecrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:CancelRotateSecret
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Turns off automatic rotation, and if a rotation is currently in\n progress, cancels the rotation.
\nIf you cancel a rotation in progress, it can leave the VersionStage
\n labels in an unexpected state. You might\n need to remove the staging label AWSPENDING
from the partially created version. \n You also need to determine whether to roll back to the previous version of the secret \n by moving the staging label AWSCURRENT
to the version that has AWSPENDING
.\n To determine \n which version has a specific staging label, call ListSecretVersionIds. Then use \n UpdateSecretVersionStage to change staging labels. \n For more information, see How rotation works.
To turn on automatic rotation again, call RotateSecret.
\nSecrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:CancelRotateSecret
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Creates a new secret. A secret can be a password, a set of \n credentials such as a user name and password, an OAuth token, or other secret information \n that you store in an encrypted form in Secrets Manager. The secret also \n includes the connection information to access a database or other service, which Secrets Manager \n doesn't encrypt. A secret in Secrets Manager consists of both the protected secret data and the\n important information needed to manage the secret.
\nFor secrets that use managed rotation, you need to create the secret through the managing service. For more information, see Secrets Manager secrets managed by other Amazon Web Services services.\n\n
\nFor information about creating a secret in the console, see Create a secret.
\nTo create a secret, you can provide the secret value to be encrypted in either the\n SecretString
parameter or the SecretBinary
parameter, but not both. \n If you include SecretString
or SecretBinary
\n then Secrets Manager creates an initial secret version and automatically attaches the staging\n label AWSCURRENT
to it.
For database credentials you want to rotate, for Secrets Manager to be able to rotate the secret,\n you must make sure the JSON you store in the SecretString
matches the JSON structure of\n a database secret.
If you don't specify an KMS encryption key, Secrets Manager uses the Amazon Web Services managed key \n aws/secretsmanager
. If this key \n doesn't already exist in your account, then Secrets Manager creates it for you automatically. All\n users and roles in the Amazon Web Services account automatically have access to use aws/secretsmanager
. \n Creating aws/secretsmanager
can result in a one-time significant delay in returning the \n result.
If the secret is in a different Amazon Web Services account from the credentials calling the API, then \n you can't use aws/secretsmanager
to encrypt the secret, and you must create \n and use a customer managed KMS key.
Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters except SecretBinary
or SecretString
because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n Required permissions: \n secretsmanager:CreateSecret
. If you \n include tags in the secret, you also need secretsmanager:TagResource
.\n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
To encrypt the secret with a KMS key other than aws/secretsmanager
, you need kms:GenerateDataKey
and kms:Decrypt
permission to the key.
Creates a new secret. A secret can be a password, a set of \n credentials such as a user name and password, an OAuth token, or other secret information \n that you store in an encrypted form in Secrets Manager. The secret also \n includes the connection information to access a database or other service, which Secrets Manager \n doesn't encrypt. A secret in Secrets Manager consists of both the protected secret data and the\n important information needed to manage the secret.
\nFor secrets that use managed rotation, you need to create the secret through the managing service. For more information, see Secrets Manager secrets managed by other Amazon Web Services services.\n\n
\nFor information about creating a secret in the console, see Create a secret.
\nTo create a secret, you can provide the secret value to be encrypted in either the\n SecretString
parameter or the SecretBinary
parameter, but not both. \n If you include SecretString
or SecretBinary
\n then Secrets Manager creates an initial secret version and automatically attaches the staging\n label AWSCURRENT
to it.
For database credentials you want to rotate, for Secrets Manager to be able to rotate the secret,\n you must make sure the JSON you store in the SecretString
matches the JSON structure of\n a database secret.
If you don't specify an KMS encryption key, Secrets Manager uses the Amazon Web Services managed key \n aws/secretsmanager
. If this key \n doesn't already exist in your account, then Secrets Manager creates it for you automatically. All\n users and roles in the Amazon Web Services account automatically have access to use aws/secretsmanager
. \n Creating aws/secretsmanager
can result in a one-time significant delay in returning the \n result.
If the secret is in a different Amazon Web Services account from the credentials calling the API, then \n you can't use aws/secretsmanager
to encrypt the secret, and you must create \n and use a customer managed KMS key.
Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters except SecretBinary
or SecretString
because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n Required permissions: \n secretsmanager:CreateSecret
. If you \n include tags in the secret, you also need secretsmanager:TagResource
.\n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
To encrypt the secret with a KMS key other than aws/secretsmanager
, you need kms:GenerateDataKey
and kms:Decrypt
permission to the key.
Deletes the resource-based permission policy attached to the secret. To attach a policy to \n a secret, use PutResourcePolicy.
\nSecrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:DeleteResourcePolicy
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Deletes the resource-based permission policy attached to the secret. To attach a policy to \n a secret, use PutResourcePolicy.
\nSecrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:DeleteResourcePolicy
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Generates a random password. We recommend that you specify the\n maximum length and include every character type that the system you are generating a password\n for can support.
\nSecrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:GetRandomPassword
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Generates a random password. We recommend that you specify the\n maximum length and include every character type that the system you are generating a password\n for can support.
\nSecrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:GetRandomPassword
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Retrieves the JSON text of the resource-based policy document attached to the\n secret. For more information about permissions policies attached to a secret, see \n Permissions \n policies attached to a secret.
\nSecrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:GetResourcePolicy
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Retrieves the JSON text of the resource-based policy document attached to the\n secret. For more information about permissions policies attached to a secret, see \n Permissions \n policies attached to a secret.
\nSecrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:GetResourcePolicy
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Retrieves the contents of the encrypted fields SecretString
or\n SecretBinary
from the specified version of a secret, whichever contains\n content.
We recommend that you cache your secret values by using client-side caching. \n Caching secrets improves speed and reduces your costs. For more information, see Cache secrets for \n your applications.
\nTo retrieve the previous version of a secret, use VersionStage
and specify \n AWSPREVIOUS. To revert to the previous version of a secret, call UpdateSecretVersionStage.
Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:GetSecretValue
. \n If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key \n aws/secretsmanager
, then you also need kms:Decrypt
permissions for that key.\n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Retrieves the contents of the encrypted fields SecretString
or\n SecretBinary
from the specified version of a secret, whichever contains\n content.
We recommend that you cache your secret values by using client-side caching. \n Caching secrets improves speed and reduces your costs. For more information, see Cache secrets for \n your applications.
\nTo retrieve the previous version of a secret, use VersionStage
and specify \n AWSPREVIOUS. To revert to the previous version of a secret, call UpdateSecretVersionStage.
Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:GetSecretValue
. \n If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key \n aws/secretsmanager
, then you also need kms:Decrypt
permissions for that key.\n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Lists the versions of a secret. Secrets Manager uses staging labels to indicate the different versions \n of a secret. For more information, see \n Secrets Manager concepts: Versions.
\nTo list the secrets in the account, use ListSecrets.
\nSecrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:ListSecretVersionIds
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Lists the secrets that are stored by Secrets Manager in the Amazon Web Services account, not including secrets \n that are marked for deletion. To see secrets marked for deletion, use the Secrets Manager console.
\nListSecrets is eventually consistent, however it might not reflect changes from the last five minutes. \n To get the latest information for a specific secret, use DescribeSecret.
\nTo list the versions of a secret, use ListSecretVersionIds.
\nTo get the secret value from SecretString
or SecretBinary
, \n call GetSecretValue.
For information about finding secrets in the console, see Find secrets in Secrets Manager.
\nSecrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:ListSecrets
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Attaches a resource-based permission policy to a secret. A resource-based policy is \n optional. For more information, see Authentication and access control for Secrets Manager\n
\nFor information about attaching a policy in the console, see Attach a \n permissions policy to a secret.
\nSecrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:PutResourcePolicy
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Attaches a resource-based permission policy to a secret. A resource-based policy is \n optional. For more information, see Authentication and access control for Secrets Manager\n
\nFor information about attaching a policy in the console, see Attach a \n permissions policy to a secret.
\nSecrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:PutResourcePolicy
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Creates a new version with a new encrypted secret value and attaches it to the secret. The \n version can contain a new SecretString
value or a new SecretBinary
value.
We recommend you avoid calling PutSecretValue
at a sustained rate of more than \n once every 10 minutes. When you update the secret value, Secrets Manager creates a new version \n of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not \n remove versions created less than 24 hours ago. If you call PutSecretValue
more \n than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach \n the quota for secret versions.
You can specify the staging labels to attach to the new version in VersionStages
. \n If you don't include VersionStages
, then Secrets Manager automatically\n moves the staging label AWSCURRENT
to this version. If this operation creates \n the first version for the secret, then Secrets Manager\n automatically attaches the staging label AWSCURRENT
to it. \n If this operation moves the staging label AWSCURRENT
from another version to this\n version, then Secrets Manager also automatically moves the staging label AWSPREVIOUS
to\n the version that AWSCURRENT
was removed from.
This operation is idempotent. If you call this operation with a ClientRequestToken
\n that matches an existing version's VersionId, and you specify the\n same secret data, the operation succeeds but does nothing. However, if the secret data is\n different, then the operation fails because you can't modify an existing version; you can\n only create new ones.
Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters except SecretBinary
or SecretString
because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n Required permissions: \n secretsmanager:PutSecretValue
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Creates a new version with a new encrypted secret value and attaches it to the secret. The \n version can contain a new SecretString
value or a new SecretBinary
value.
We recommend you avoid calling PutSecretValue
at a sustained rate of more than \n once every 10 minutes. When you update the secret value, Secrets Manager creates a new version \n of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not \n remove versions created less than 24 hours ago. If you call PutSecretValue
more \n than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach \n the quota for secret versions.
You can specify the staging labels to attach to the new version in VersionStages
. \n If you don't include VersionStages
, then Secrets Manager automatically\n moves the staging label AWSCURRENT
to this version. If this operation creates \n the first version for the secret, then Secrets Manager\n automatically attaches the staging label AWSCURRENT
to it. \n If this operation moves the staging label AWSCURRENT
from another version to this\n version, then Secrets Manager also automatically moves the staging label AWSPREVIOUS
to\n the version that AWSCURRENT
was removed from.
This operation is idempotent. If you call this operation with a ClientRequestToken
\n that matches an existing version's VersionId, and you specify the\n same secret data, the operation succeeds but does nothing. However, if the secret data is\n different, then the operation fails because you can't modify an existing version; you can\n only create new ones.
Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters except SecretBinary
or SecretString
because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n Required permissions: \n secretsmanager:PutSecretValue
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Replicates the secret to a new Regions. See Multi-Region secrets.
\nSecrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:ReplicateSecretToRegions
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Replicates the secret to a new Regions. See Multi-Region secrets.
\nSecrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:ReplicateSecretToRegions
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Cancels the scheduled deletion of a secret by removing the DeletedDate
time\n stamp. You can access a secret again after it has been restored.
Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:RestoreSecret
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Cancels the scheduled deletion of a secret by removing the DeletedDate
time\n stamp. You can access a secret again after it has been restored.
Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:RestoreSecret
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Configures and starts the asynchronous process of rotating the secret. For information about rotation, \n see Rotate secrets in the Secrets Manager User Guide. If you include the configuration parameters, the operation sets the values for the secret and then immediately starts a rotation. If you don't include the configuration parameters, the operation starts a rotation with the values already stored in the secret.
\nWhen rotation is successful, the AWSPENDING
staging label might be attached\n to the same version as the AWSCURRENT
version, or it might not be attached to any\n version. If the AWSPENDING
staging label is present but not attached to the same\n version as AWSCURRENT
, then any later invocation of RotateSecret
\n assumes that a previous rotation request is still in progress and returns an error. When rotation is unsuccessful, the AWSPENDING
staging label might be attached to an empty secret version. For more information, see Troubleshoot rotation in the Secrets Manager User Guide.
Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:RotateSecret
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager. You also need lambda:InvokeFunction
permissions on the rotation function. \n For more information, see \n Permissions for rotation.
Configures and starts the asynchronous process of rotating the secret. For information about rotation, \n see Rotate secrets in the Secrets Manager User Guide. If you include the configuration parameters, the operation sets the values for the secret and then immediately starts a rotation. If you don't include the configuration parameters, the operation starts a rotation with the values already stored in the secret.
\nWhen rotation is successful, the AWSPENDING
staging label might be attached\n to the same version as the AWSCURRENT
version, or it might not be attached to any\n version. If the AWSPENDING
staging label is present but not attached to the same\n version as AWSCURRENT
, then any later invocation of RotateSecret
\n assumes that a previous rotation request is still in progress and returns an error. When rotation is unsuccessful, the AWSPENDING
staging label might be attached to an empty secret version. For more information, see Troubleshoot rotation in the Secrets Manager User Guide.
Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:RotateSecret
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager. You also need lambda:InvokeFunction
permissions on the rotation function. \n For more information, see \n Permissions for rotation.
Attaches tags to a secret. Tags consist of a key name and a value. Tags are part of the \n secret's metadata. They are not associated with specific versions of the secret. This operation appends tags to the existing list of tags.
\nThe following restrictions apply to tags:
\nMaximum number of tags per secret: 50
\nMaximum key length: 127 Unicode characters in UTF-8
\nMaximum value length: 255 Unicode characters in UTF-8
\nTag keys and values are case sensitive.
\nDo not use the aws:
prefix in your tag names or values because Amazon Web Services reserves it\n for Amazon Web Services use. You can't edit or delete tag names or values with this \n prefix. Tags with this prefix do not count against your tags per secret limit.
If you use your tagging schema across multiple services and resources,\n other services might have restrictions on allowed characters. Generally\n allowed characters: letters, spaces, and numbers representable in UTF-8, plus the\n following special characters: + - = . _ : / @.
\nIf you use tags as part of your security strategy, then adding or removing a tag can\n change permissions. If successfully completing this operation would result in you losing\n your permissions for this secret, then the operation is blocked and returns an Access Denied\n error.
\nSecrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:TagResource
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Attaches tags to a secret. Tags consist of a key name and a value. Tags are part of the \n secret's metadata. They are not associated with specific versions of the secret. This operation appends tags to the existing list of tags.
\nThe following restrictions apply to tags:
\nMaximum number of tags per secret: 50
\nMaximum key length: 127 Unicode characters in UTF-8
\nMaximum value length: 255 Unicode characters in UTF-8
\nTag keys and values are case sensitive.
\nDo not use the aws:
prefix in your tag names or values because Amazon Web Services reserves it\n for Amazon Web Services use. You can't edit or delete tag names or values with this \n prefix. Tags with this prefix do not count against your tags per secret limit.
If you use your tagging schema across multiple services and resources,\n other services might have restrictions on allowed characters. Generally\n allowed characters: letters, spaces, and numbers representable in UTF-8, plus the\n following special characters: + - = . _ : / @.
\nIf you use tags as part of your security strategy, then adding or removing a tag can\n change permissions. If successfully completing this operation would result in you losing\n your permissions for this secret, then the operation is blocked and returns an Access Denied\n error.
\nSecrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:TagResource
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Removes specific tags from a secret.
\nThis operation is idempotent. If a requested tag is not attached to the secret, no error\n is returned and the secret metadata is unchanged.
\nIf you use tags as part of your security strategy, then removing a tag can change\n permissions. If successfully completing this operation would result in you losing your\n permissions for this secret, then the operation is blocked and returns an Access Denied\n error.
\nSecrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:UntagResource
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Removes specific tags from a secret.
\nThis operation is idempotent. If a requested tag is not attached to the secret, no error\n is returned and the secret metadata is unchanged.
\nIf you use tags as part of your security strategy, then removing a tag can change\n permissions. If successfully completing this operation would result in you losing your\n permissions for this secret, then the operation is blocked and returns an Access Denied\n error.
\nSecrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:UntagResource
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Modifies the details of a secret, including metadata and the secret value. To change the secret value, you can also use PutSecretValue.
\nTo change the rotation configuration of a secret, use RotateSecret instead.
\nTo change a secret so that it is managed by another service, you need to recreate the secret in that service. See Secrets Manager secrets managed by other Amazon Web Services services.
\nWe recommend you avoid calling UpdateSecret
at a sustained rate of more than \n once every 10 minutes. When you call UpdateSecret
to update the secret value, Secrets Manager creates a new version \n of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not \n remove versions created less than 24 hours ago. If you update the secret value more \n than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach \n the quota for secret versions.
If you include SecretString
or SecretBinary
to create a new\n secret version, Secrets Manager automatically moves the staging label AWSCURRENT
to the new\n version. Then it attaches the label AWSPREVIOUS
\n to the version that AWSCURRENT
was removed from.
If you call this operation with a ClientRequestToken
that matches an existing version's \n VersionId
, the operation results in an error. You can't modify an existing \n version, you can only create a new version. To remove a version, remove all staging labels from it. See \n UpdateSecretVersionStage.
Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters except SecretBinary
or SecretString
because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n Required permissions: \n secretsmanager:UpdateSecret
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager. \n If you use a customer managed key, you must also have kms:GenerateDataKey
, kms:Encrypt
, and \n kms:Decrypt
permissions on the key. If you change the KMS key and you don't have kms:Encrypt
permission to the new key, Secrets Manager does not re-ecrypt existing secret versions with the new key. For more information, see \n Secret encryption and decryption.
Modifies the details of a secret, including metadata and the secret value. To change the secret value, you can also use PutSecretValue.
\nTo change the rotation configuration of a secret, use RotateSecret instead.
\nTo change a secret so that it is managed by another service, you need to recreate the secret in that service. See Secrets Manager secrets managed by other Amazon Web Services services.
\nWe recommend you avoid calling UpdateSecret
at a sustained rate of more than \n once every 10 minutes. When you call UpdateSecret
to update the secret value, Secrets Manager creates a new version \n of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not \n remove versions created less than 24 hours ago. If you update the secret value more \n than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach \n the quota for secret versions.
If you include SecretString
or SecretBinary
to create a new\n secret version, Secrets Manager automatically moves the staging label AWSCURRENT
to the new\n version. Then it attaches the label AWSPREVIOUS
\n to the version that AWSCURRENT
was removed from.
If you call this operation with a ClientRequestToken
that matches an existing version's \n VersionId
, the operation results in an error. You can't modify an existing \n version, you can only create a new version. To remove a version, remove all staging labels from it. See \n UpdateSecretVersionStage.
Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters except SecretBinary
or SecretString
because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n Required permissions: \n secretsmanager:UpdateSecret
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager. \n If you use a customer managed key, you must also have kms:GenerateDataKey
, kms:Encrypt
, and \n kms:Decrypt
permissions on the key. If you change the KMS key and you don't have kms:Encrypt
permission to the new key, Secrets Manager does not re-ecrypt existing secret versions with the new key. For more information, see \n Secret encryption and decryption.
Modifies the staging labels attached to a version of a secret. Secrets Manager uses staging labels to\n track a version as it progresses through the secret rotation process. Each staging label can be \n attached to only one version at a time. To add a staging label to a version when it is already \n attached to another version, Secrets Manager first removes it from the other version first and\n then attaches it to this one. For more information about versions and staging labels, see Concepts: Version.
\nThe staging labels that you specify in the VersionStage
parameter are added\n to the existing list of staging labels for the version.
You can move the AWSCURRENT
staging label to this version by including it in this\n call.
Whenever you move AWSCURRENT
, Secrets Manager automatically moves the label AWSPREVIOUS
\n to the version that AWSCURRENT
was removed from.
If this action results in the last label being removed from a version, then the version is\n considered to be 'deprecated' and can be deleted by Secrets Manager.
\nSecrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:UpdateSecretVersionStage
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Modifies the staging labels attached to a version of a secret. Secrets Manager uses staging labels to\n track a version as it progresses through the secret rotation process. Each staging label can be \n attached to only one version at a time. To add a staging label to a version when it is already \n attached to another version, Secrets Manager first removes it from the other version first and\n then attaches it to this one. For more information about versions and staging labels, see Concepts: Version.
\nThe staging labels that you specify in the VersionStage
parameter are added\n to the existing list of staging labels for the version.
You can move the AWSCURRENT
staging label to this version by including it in this\n call.
Whenever you move AWSCURRENT
, Secrets Manager automatically moves the label AWSPREVIOUS
\n to the version that AWSCURRENT
was removed from.
If this action results in the last label being removed from a version, then the version is\n considered to be 'deprecated' and can be deleted by Secrets Manager.
\nSecrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:UpdateSecretVersionStage
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Validates that a resource policy does not grant a wide range of principals access to\n your secret. A resource-based policy is optional for secrets.
\nThe API performs three checks when validating the policy:
\nSends a call to Zelkova, an automated reasoning engine, to ensure your resource policy does not\n allow broad access to your secret, for example policies that use a wildcard for the principal.
\nChecks for correct syntax in a policy.
\nVerifies the policy does not lock out a caller.
\nSecrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:ValidateResourcePolicy
and secretsmanager:PutResourcePolicy
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Validates that a resource policy does not grant a wide range of principals access to\n your secret. A resource-based policy is optional for secrets.
\nThe API performs three checks when validating the policy:
\nSends a call to Zelkova, an automated reasoning engine, to ensure your resource policy does not\n allow broad access to your secret, for example policies that use a wildcard for the principal.
\nChecks for correct syntax in a policy.
\nVerifies the policy does not lock out a caller.
\nSecrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
\n\n Required permissions: \n secretsmanager:ValidateResourcePolicy
and secretsmanager:PutResourcePolicy
. \n For more information, see \n IAM policy actions for Secrets Manager and Authentication \n and access control in Secrets Manager.
Whether the author of this application has been verified. This means means that AWS has made a good faith review, as a reasonable and prudent service provider, of the information provided by the requester and has confirmed that the requester's identity is as claimed.
", "smithy.api#jsonName": "isVerifiedAuthor" } @@ -609,7 +608,6 @@ "ResourcesSupported": { "target": "com.amazonaws.serverlessapplicationrepository#__boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "Whether all of the AWS resources contained in this application are supported in the region\n in which it is being retrieved.
", "smithy.api#jsonName": "resourcesSupported" } @@ -1169,7 +1167,6 @@ "IsVerifiedAuthor": { "target": "com.amazonaws.serverlessapplicationrepository#__boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "Whether the author of this application has been verified. This means means that AWS has made a good faith review, as a reasonable and prudent service provider, of the information provided by the requester and has confirmed that the requester's identity is as claimed.
", "smithy.api#jsonName": "isVerifiedAuthor" } @@ -1420,7 +1417,6 @@ "MaxItems": { "target": "com.amazonaws.serverlessapplicationrepository#MaxItems", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The total number of items to return.
", "smithy.api#httpQuery": "maxItems" } @@ -1519,7 +1515,6 @@ "MaxItems": { "target": "com.amazonaws.serverlessapplicationrepository#MaxItems", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The total number of items to return.
", "smithy.api#httpQuery": "maxItems" } @@ -1600,7 +1595,6 @@ "MaxItems": { "target": "com.amazonaws.serverlessapplicationrepository#MaxItems", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "The total number of items to return.
", "smithy.api#httpQuery": "maxItems" } @@ -1642,7 +1636,6 @@ "com.amazonaws.serverlessapplicationrepository#MaxItems": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -1714,7 +1707,6 @@ "MaxLength": { "target": "com.amazonaws.serverlessapplicationrepository#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "An integer value that determines the largest number of characters that you want to allow for String types.
", "smithy.api#jsonName": "maxLength" } @@ -1722,7 +1714,6 @@ "MaxValue": { "target": "com.amazonaws.serverlessapplicationrepository#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "A numeric value that determines the largest numeric value that you want to allow for Number types.
", "smithy.api#jsonName": "maxValue" } @@ -1730,7 +1721,6 @@ "MinLength": { "target": "com.amazonaws.serverlessapplicationrepository#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "An integer value that determines the smallest number of characters that you want to allow for String types.
", "smithy.api#jsonName": "minLength" } @@ -1738,7 +1728,6 @@ "MinValue": { "target": "com.amazonaws.serverlessapplicationrepository#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "A numeric value that determines the smallest numeric value that you want to allow for Number types.
", "smithy.api#jsonName": "minValue" } @@ -1754,7 +1743,6 @@ "NoEcho": { "target": "com.amazonaws.serverlessapplicationrepository#__boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "Whether to mask the parameter value whenever anyone makes a call that describes the stack. If you set the\n value to true, the parameter value is masked with asterisks (*****).
", "smithy.api#jsonName": "noEcho" } @@ -1882,7 +1870,6 @@ "MonitoringTimeInMinutes": { "target": "com.amazonaws.serverlessapplicationrepository#__integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "This property corresponds to the content of the same name for the AWS CloudFormation RollbackConfiguration\n Data Type.
", "smithy.api#jsonName": "monitoringTimeInMinutes" } @@ -1976,6 +1963,7 @@ "arnNamespace": "serverlessrepo", "cloudFormationName": "ServerlessApplicationRepository", "cloudTrailEventSource": "serverlessapplicationrepository.amazonaws.com", + "docId": "serverlessrepo-2017-09-08", "endpointPrefix": "serverlessrepo" }, "aws.auth#sigv4": { @@ -2044,52 +2032,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", @@ -2097,13 +2089,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -2113,175 +2114,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://serverlessrepo-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-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://serverlessrepo.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "ref": "PartitionResult" }, - { - "conditions": [], - "endpoint": { - "url": "https://serverlessrepo-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://serverlessrepo-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -2290,110 +2199,115 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws-us-gov", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsDualStack" + "name" ] } ] } ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://serverlessrepo.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "endpoint": { + "url": "https://serverlessrepo.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" + "endpoint": { + "url": "https://serverlessrepo-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { "conditions": [], - "type": "tree", - "rules": [ + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "us-gov-east-1" - ] - } - ], - "endpoint": { - "url": "https://serverlessrepo.us-gov-east-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "ref": "UseDualStack" }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ + true, { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "ref": "Region" + "ref": "PartitionResult" }, - "us-gov-west-1" + "supportsDualStack" ] } - ], - "endpoint": { - "url": "https://serverlessrepo.us-gov-west-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [], "endpoint": { - "url": "https://serverlessrepo.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://serverlessrepo.{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://serverlessrepo.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -2408,8 +2322,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2421,8 +2335,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2434,8 +2348,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2447,8 +2361,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2460,8 +2374,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2473,8 +2387,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2486,8 +2400,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2499,8 +2413,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2512,8 +2426,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2525,8 +2439,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2538,8 +2452,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2551,8 +2465,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2564,8 +2478,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2577,8 +2491,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2590,8 +2504,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2603,8 +2517,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2616,8 +2530,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2629,8 +2543,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2642,8 +2556,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2655,8 +2569,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2668,8 +2582,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2681,8 +2595,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2694,8 +2608,8 @@ }, "params": { "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2707,8 +2621,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2720,8 +2634,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2733,8 +2647,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2746,8 +2660,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2759,8 +2673,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2772,8 +2686,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2785,8 +2699,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2798,8 +2712,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2811,8 +2725,19 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "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 } }, { @@ -2824,8 +2749,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 } }, { @@ -2837,8 +2773,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -2850,8 +2797,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 } }, { @@ -2863,8 +2821,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2876,8 +2834,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2889,8 +2847,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2901,8 +2859,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2913,10 +2871,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" @@ -3188,7 +3152,6 @@ "IsVerifiedAuthor": { "target": "com.amazonaws.serverlessapplicationrepository#__boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "Whether the author of this application has been verified. This means means that AWS has made a good faith review, as a reasonable and prudent service provider, of the information provided by the requester and has confirmed that the requester's identity is as claimed.
", "smithy.api#jsonName": "isVerifiedAuthor" } @@ -3285,7 +3248,6 @@ "ResourcesSupported": { "target": "com.amazonaws.serverlessapplicationrepository#__boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "Whether all of the AWS resources contained in this application are supported in the region\n in which it is being retrieved.
", "smithy.api#jsonName": "resourcesSupported", "smithy.api#required": {} @@ -3366,16 +3328,10 @@ } }, "com.amazonaws.serverlessapplicationrepository#__boolean": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.serverlessapplicationrepository#__integer": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } + "type": "integer" }, "com.amazonaws.serverlessapplicationrepository#__listOfApplicationDependencySummary": { "type": "list", diff --git a/codegen/sdk-codegen/aws-models/service-catalog-appregistry.json b/codegen/sdk-codegen/aws-models/service-catalog-appregistry.json index f376bfb5df2..ac9925afe86 100644 --- a/codegen/sdk-codegen/aws-models/service-catalog-appregistry.json +++ b/codegen/sdk-codegen/aws-models/service-catalog-appregistry.json @@ -112,6 +112,7 @@ "arnNamespace": "servicecatalog", "cloudFormationName": "ServiceCatalogAppRegistry", "cloudTrailEventSource": "servicecatalogappregistry.amazonaws.com", + "docId": "AWS242AppRegistry-2020-06-24", "endpointPrefix": "servicecatalog-appregistry" }, "aws.auth#sigv4": { @@ -180,52 +181,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", @@ -233,13 +238,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -249,92 +263,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://servicecatalog-appregistry-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://servicecatalog-appregistry-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -343,155 +348,115 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws-us-gov", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsFIPS" + "name" ] } ] } ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://servicecatalog-appregistry.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [], - "endpoint": { - "url": "https://servicecatalog-appregistry-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "endpoint": { + "url": "https://servicecatalog-appregistry.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://servicecatalog-appregistry-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://servicecatalog-appregistry.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://servicecatalog-appregistry.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://servicecatalog-appregistry.{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://servicecatalog-appregistry.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -505,9 +470,9 @@ } }, "params": { + "Region": "af-south-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "af-south-1" + "UseDualStack": false } }, { @@ -518,9 +483,9 @@ } }, "params": { + "Region": "ap-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-east-1" + "UseDualStack": false } }, { @@ -531,9 +496,9 @@ } }, "params": { + "Region": "ap-northeast-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-1" + "UseDualStack": false } }, { @@ -544,9 +509,9 @@ } }, "params": { + "Region": "ap-northeast-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-2" + "UseDualStack": false } }, { @@ -557,9 +522,9 @@ } }, "params": { + "Region": "ap-northeast-3", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-3" + "UseDualStack": false } }, { @@ -570,9 +535,9 @@ } }, "params": { + "Region": "ap-south-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-south-1" + "UseDualStack": false } }, { @@ -583,9 +548,9 @@ } }, "params": { + "Region": "ap-southeast-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-1" + "UseDualStack": false } }, { @@ -596,9 +561,9 @@ } }, "params": { + "Region": "ap-southeast-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-2" + "UseDualStack": false } }, { @@ -609,9 +574,9 @@ } }, "params": { + "Region": "ap-southeast-3", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-3" + "UseDualStack": false } }, { @@ -622,9 +587,9 @@ } }, "params": { + "Region": "ca-central-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ca-central-1" + "UseDualStack": false } }, { @@ -635,9 +600,9 @@ } }, "params": { + "Region": "ca-central-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "ca-central-1" + "UseDualStack": false } }, { @@ -648,9 +613,9 @@ } }, "params": { + "Region": "eu-central-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-central-1" + "UseDualStack": false } }, { @@ -661,9 +626,9 @@ } }, "params": { + "Region": "eu-north-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-north-1" + "UseDualStack": false } }, { @@ -674,9 +639,9 @@ } }, "params": { + "Region": "eu-south-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-south-1" + "UseDualStack": false } }, { @@ -687,9 +652,9 @@ } }, "params": { + "Region": "eu-west-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-1" + "UseDualStack": false } }, { @@ -700,9 +665,9 @@ } }, "params": { + "Region": "eu-west-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-2" + "UseDualStack": false } }, { @@ -713,9 +678,9 @@ } }, "params": { + "Region": "eu-west-3", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-3" + "UseDualStack": false } }, { @@ -726,9 +691,9 @@ } }, "params": { + "Region": "me-south-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "me-south-1" + "UseDualStack": false } }, { @@ -739,9 +704,9 @@ } }, "params": { + "Region": "sa-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "sa-east-1" + "UseDualStack": false } }, { @@ -752,9 +717,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -765,9 +730,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -778,9 +743,9 @@ } }, "params": { + "Region": "us-east-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-east-2" + "UseDualStack": false } }, { @@ -791,9 +756,9 @@ } }, "params": { + "Region": "us-east-2", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-east-2" + "UseDualStack": false } }, { @@ -804,9 +769,9 @@ } }, "params": { + "Region": "us-west-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-1" + "UseDualStack": false } }, { @@ -817,9 +782,9 @@ } }, "params": { + "Region": "us-west-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-west-1" + "UseDualStack": false } }, { @@ -830,9 +795,9 @@ } }, "params": { + "Region": "us-west-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-2" + "UseDualStack": false } }, { @@ -843,9 +808,9 @@ } }, "params": { + "Region": "us-west-2", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-west-2" + "UseDualStack": false } }, { @@ -856,9 +821,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -869,9 +834,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -882,9 +847,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -895,9 +860,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -908,9 +873,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -921,9 +886,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -934,9 +899,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -947,9 +912,9 @@ } }, "params": { + "Region": "us-gov-west-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-gov-west-1" + "UseDualStack": false } }, { @@ -960,9 +925,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -973,9 +938,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -986,9 +951,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -997,9 +962,9 @@ "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, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { @@ -1010,9 +975,9 @@ } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { @@ -1021,9 +986,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { @@ -1034,9 +999,9 @@ } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { @@ -1045,9 +1010,9 @@ "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, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -1058,9 +1023,9 @@ } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -1069,9 +1034,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "Region": "us-isob-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -1082,9 +1047,9 @@ } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -1095,9 +1060,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -1120,9 +1085,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -1132,9 +1097,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, diff --git a/codegen/sdk-codegen/aws-models/service-catalog.json b/codegen/sdk-codegen/aws-models/service-catalog.json index b8a67f2a1a6..3dd3ad023d8 100644 --- a/codegen/sdk-codegen/aws-models/service-catalog.json +++ b/codegen/sdk-codegen/aws-models/service-catalog.json @@ -310,6 +310,7 @@ "arnNamespace": "servicecatalog", "cloudFormationName": "ServiceCatalog", "cloudTrailEventSource": "servicecatalog.amazonaws.com", + "docId": "servicecatalog-2015-12-10", "endpointPrefix": "servicecatalog" }, "aws.auth#sigv4": { diff --git a/codegen/sdk-codegen/aws-models/servicediscovery.json b/codegen/sdk-codegen/aws-models/servicediscovery.json index c47eb7c1e62..15725cb349e 100644 --- a/codegen/sdk-codegen/aws-models/servicediscovery.json +++ b/codegen/sdk-codegen/aws-models/servicediscovery.json @@ -105,7 +105,21 @@ } ], "traits": { - "smithy.api#documentation": "Creates an HTTP namespace. Service instances registered using an HTTP namespace can be\n discovered using a DiscoverInstances
request but can't be discovered using\n DNS.
For the current quota on the number of namespaces that you can create using the same Amazon Web Services account, see Cloud Map quotas in the\n Cloud Map Developer Guide.
" + "smithy.api#documentation": "Creates an HTTP namespace. Service instances registered using an HTTP namespace can be\n discovered using a DiscoverInstances
request but can't be discovered using\n DNS.
For the current quota on the number of namespaces that you can create using the same Amazon Web Services account, see Cloud Map quotas in the\n Cloud Map Developer Guide.
", + "smithy.api#examples": [ + { + "title": "CreateHttpNamespace example", + "documentation": "This example creates an HTTP namespace.", + "input": { + "CreatorRequestId": "example-creator-request-id-0001", + "Name": "example-http.com", + "Description": "Example.com AWS Cloud Map HTTP Namespace" + }, + "output": { + "OperationId": "httpvoqozuhfet5kzxoxg-a-response-example" + } + } + ] } }, "com.amazonaws.servicediscovery#CreateHttpNamespaceRequest": { @@ -182,7 +196,21 @@ } ], "traits": { - "smithy.api#documentation": "Creates a private namespace based on DNS, which is visible only inside a specified Amazon\n VPC. The namespace defines your service naming scheme. For example, if you name your namespace\n example.com
and name your service backend
, the resulting DNS name for\n the service is backend.example.com
. Service instances that are registered using a\n private DNS namespace can be discovered using either a DiscoverInstances
request or\n using DNS. For the current quota on the number of namespaces that you can create using the same\n Amazon Web Services account, see Cloud Map quotas in the\n Cloud Map Developer Guide.
Creates a private namespace based on DNS, which is visible only inside a specified Amazon\n VPC. The namespace defines your service naming scheme. For example, if you name your namespace\n example.com
and name your service backend
, the resulting DNS name for\n the service is backend.example.com
. Service instances that are registered using a\n private DNS namespace can be discovered using either a DiscoverInstances
request or\n using DNS. For the current quota on the number of namespaces that you can create using the same\n Amazon Web Services account, see Cloud Map quotas in the\n Cloud Map Developer Guide.
Creates a public namespace based on DNS, which is visible on the internet. The namespace\n defines your service naming scheme. For example, if you name your namespace\n example.com
and name your service backend
, the resulting DNS name for\n the service is backend.example.com
. You can discover instances that were registered\n with a public DNS namespace by using either a DiscoverInstances
request or using\n DNS. For the current quota on the number of namespaces that you can create using the same Amazon Web Services account, see Cloud Map quotas in the\n Cloud Map Developer Guide.
The CreatePublicDnsNamespace
API operation is not supported in the Amazon Web Services GovCloud (US) Regions.
Creates a public namespace based on DNS, which is visible on the internet. The namespace\n defines your service naming scheme. For example, if you name your namespace\n example.com
and name your service backend
, the resulting DNS name for\n the service is backend.example.com
. You can discover instances that were registered\n with a public DNS namespace by using either a DiscoverInstances
request or using\n DNS. For the current quota on the number of namespaces that you can create using the same Amazon Web Services account, see Cloud Map quotas in the\n Cloud Map Developer Guide.
The CreatePublicDnsNamespace
API operation is not supported in the Amazon Web Services GovCloud (US) Regions.
Creates a service. This action defines the configuration for the following entities:
\nFor public and private DNS namespaces, one of the following combinations of DNS records in\n Amazon Route 53:
\n\n A
\n
\n AAAA
\n
\n A
and AAAA
\n
\n SRV
\n
\n CNAME
\n
Optionally, a health check
\nAfter you create the service, you can submit a RegisterInstance request, and\n Cloud Map uses the values in the configuration to create the specified entities.
\nFor the current quota on the number of instances that you can register using the same\n namespace and using the same service, see Cloud Map quotas in the\n Cloud Map Developer Guide.
" + "smithy.api#documentation": "Creates a service. This action defines the configuration for the following entities:
\nFor public and private DNS namespaces, one of the following combinations of DNS records in\n Amazon Route 53:
\n\n A
\n
\n AAAA
\n
\n A
and AAAA
\n
\n SRV
\n
\n CNAME
\n
Optionally, a health check
\nAfter you create the service, you can submit a RegisterInstance request, and\n Cloud Map uses the values in the configuration to create the specified entities.
\nFor the current quota on the number of instances that you can register using the same\n namespace and using the same service, see Cloud Map quotas in the\n Cloud Map Developer Guide.
", + "smithy.api#examples": [ + { + "title": "Example: Create service", + "documentation": "Example: Create service", + "input": { + "Name": "myservice", + "NamespaceId": "ns-ylexjili4cdxy3xm", + "DnsConfig": { + "NamespaceId": "ns-ylexjili4cdxy3xm", + "RoutingPolicy": "MULTIVALUE", + "DnsRecords": [ + { + "Type": "A", + "TTL": 60 + } + ] + }, + "CreatorRequestId": "567c1193-6b00-4308-bd57-ad38a8822d25" + }, + "output": { + "Service": { + "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:service/srv-p5zdwlg5uvvzjita", + "CreateDate": 1.587081768334E9, + "CreatorRequestId": "567c1193-6b00-4308-bd57-ad38a8822d25", + "DnsConfig": { + "DnsRecords": [ + { + "TTL": 60, + "Type": "A" + } + ], + "NamespaceId": "ns-ylexjili4cdxy3xm", + "RoutingPolicy": "MULTIVALUE" + }, + "Id": "srv-p5zdwlg5uvvzjita", + "Name": "myservice", + "NamespaceId": "ns-ylexjili4cdxy3xm" + } + } + } + ] } }, "com.amazonaws.servicediscovery#CreateServiceRequest": { @@ -489,7 +572,19 @@ } ], "traits": { - "smithy.api#documentation": "Deletes a namespace from the current account. If the namespace still contains one or more\n services, the request fails.
" + "smithy.api#documentation": "Deletes a namespace from the current account. If the namespace still contains one or more\n services, the request fails.
", + "smithy.api#examples": [ + { + "title": "Example: Delete namespace", + "documentation": "Example: Delete namespace", + "input": { + "Id": "ns-ylexjili4cdxy3xm" + }, + "output": { + "OperationId": "gv4g5meo7ndmeh4fqskygvk23d2fijwa-k98y6drk" + } + } + ] } }, "com.amazonaws.servicediscovery#DeleteNamespaceRequest": { @@ -541,7 +636,17 @@ } ], "traits": { - "smithy.api#documentation": "Deletes a specified service. If the service still contains one or more registered instances,\n the request fails.
" + "smithy.api#documentation": "Deletes a specified service. If the service still contains one or more registered instances,\n the request fails.
", + "smithy.api#examples": [ + { + "title": "Example: Delete service", + "documentation": "Example: Delete service", + "input": { + "Id": "srv-p5zdwlg5uvvzjita" + }, + "output": {} + } + ] } }, "com.amazonaws.servicediscovery#DeleteServiceRequest": { @@ -592,7 +697,20 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the Amazon Route 53 DNS records and health check, if any, that Cloud Map created for the\n specified instance.
" + "smithy.api#documentation": "Deletes the Amazon Route 53 DNS records and health check, if any, that Cloud Map created for the\n specified instance.
", + "smithy.api#examples": [ + { + "title": "Example: Deregister a service instance", + "documentation": "Example: Deregister a service instance", + "input": { + "ServiceId": "srv-p5zdwlg5uvvzjita", + "InstanceId": "myservice-53" + }, + "output": { + "OperationId": "4yejorelbukcjzpnr6tlmrghsjwpngf4-k98rnaiq" + } + } + ] } }, "com.amazonaws.servicediscovery#DeregisterInstanceRequest": { @@ -657,7 +775,33 @@ "smithy.api#documentation": "Discovers registered instances for a specified namespace and service. You can use\n DiscoverInstances
to discover instances for any type of namespace. For public and\n private DNS namespaces, you can also use DNS queries to discover instances.
Gets information about a specified instance.
" + "smithy.api#documentation": "Gets information about a specified instance.
", + "smithy.api#examples": [ + { + "title": "GetInstance example", + "documentation": "This example gets information about a specified instance.", + "input": { + "InstanceId": "i-abcd1234", + "ServiceId": "srv-e4anhexample0004" + }, + "output": { + "Instance": { + "Id": "i-abcd1234", + "Attributes": { + "AWS_INSTANCE_IPV4": "192.0.2.44", + "AWS_INSTANCE_PORT": "80", + "color": "green", + "region": "us-west-2", + "stage": "beta" + } + } + } + } + ] } }, "com.amazonaws.servicediscovery#GetInstanceRequest": { @@ -980,6 +1146,21 @@ ], "traits": { "smithy.api#documentation": "Gets the current health status (Healthy
, Unhealthy
, or\n Unknown
) of one or more instances that are associated with a specified\n service.
There's a brief delay between when you register an instance and when the health status for\n the instance is available.
\nGets information about any operation that returns an operation ID in the response, such as a\n CreateService
request.
To get a list of operations that match specified criteria, see ListOperations.
\nGets information about any operation that returns an operation ID in the response, such as a\n CreateService
request.
To get a list of operations that match specified criteria, see ListOperations.
\nLists summary information about the instances that you registered by using a specified\n service.
", + "smithy.api#examples": [ + { + "title": "Example: List service instances", + "documentation": "Example: List service instances", + "input": { + "ServiceId": "srv-qzpwvt2tfqcegapy" + }, + "output": { + "Instances": [ + { + "Attributes": { + "AWS_INSTANCE_IPV4": "172.2.1.3", + "AWS_INSTANCE_PORT": "808" + }, + "Id": "i-06bdabbae60f65a4e" + } + ] + } + } + ], "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -1581,6 +1803,60 @@ ], "traits": { "smithy.api#documentation": "Lists summary information about the namespaces that were created by the current Amazon Web Services account.
", + "smithy.api#examples": [ + { + "title": "Example: List namespaces", + "documentation": "Example: List namespaces", + "output": { + "Namespaces": [ + { + "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-a3ccy2e7e3a7rile", + "CreateDate": 1.585354387357E9, + "Id": "ns-a3ccy2e7e3a7rile", + "Name": "local", + "Properties": { + "DnsProperties": { + "HostedZoneId": "Z06752353VBUDTC32S84S" + }, + "HttpProperties": { + "HttpName": "local" + } + }, + "Type": "DNS_PRIVATE" + }, + { + "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-pocfyjtrsmwtvcxx", + "CreateDate": 1.586468974698E9, + "Description": "My second namespace", + "Id": "ns-pocfyjtrsmwtvcxx", + "Name": "My-second-namespace", + "Properties": { + "DnsProperties": {}, + "HttpProperties": { + "HttpName": "My-second-namespace" + } + }, + "Type": "HTTP" + }, + { + "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-ylexjili4cdxy3xm", + "CreateDate": 1.587055896798E9, + "Id": "ns-ylexjili4cdxy3xm", + "Name": "example.com", + "Properties": { + "DnsProperties": { + "HostedZoneId": "Z09983722P0QME1B3KC8I" + }, + "HttpProperties": { + "HttpName": "example.com" + } + }, + "Type": "DNS_PRIVATE" + } + ] + } + } + ], "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -1649,6 +1925,40 @@ ], "traits": { "smithy.api#documentation": "Lists operations that match the criteria that you specify.
", + "smithy.api#examples": [ + { + "title": "ListOperations Example", + "documentation": "This example gets the operations that have a STATUS of either PENDING or SUCCESS.", + "input": { + "Filters": [ + { + "Name": "STATUS", + "Condition": "IN", + "Values": [ + "PENDING", + "SUCCESS" + ] + } + ] + }, + "output": { + "Operations": [ + { + "Id": "76yy8ovhpdz0plmjzbsnqgnrqvpv2qdt-kexample", + "Status": "SUCCESS" + }, + { + "Id": "prysnyzpji3u2ciy45nke83x2zanl7yk-dexample", + "Status": "SUCCESS" + }, + { + "Id": "ko4ekftir7kzlbechsh7xvcdgcpk66gh-7example", + "Status": "PENDING" + } + ] + } + } + ], "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -1717,6 +2027,31 @@ ], "traits": { "smithy.api#documentation": "Lists summary information for all the services that are associated with one or more\n specified namespaces.
", + "smithy.api#examples": [ + { + "title": "Example: List services", + "documentation": "Example: List services", + "output": { + "Services": [ + { + "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:service/srv-p5zdwlg5uvvzjita", + "CreateDate": 1.587081768334E9, + "DnsConfig": { + "DnsRecords": [ + { + "TTL": 60, + "Type": "A" + } + ], + "RoutingPolicy": "MULTIVALUE" + }, + "Id": "srv-p5zdwlg5uvvzjita", + "Name": "myservice" + } + ] + } + } + ], "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -1787,7 +2122,28 @@ } ], "traits": { - "smithy.api#documentation": "Lists tags for the specified resource.
" + "smithy.api#documentation": "Lists tags for the specified resource.
", + "smithy.api#examples": [ + { + "title": "ListTagsForResource example", + "documentation": "This example lists the tags of a resource.", + "input": { + "ResourceARN": "arn:aws:servicediscovery:us-east-1:123456789012:namespace/ns-ylexjili4cdxy3xm" + }, + "output": { + "Tags": [ + { + "Key": "Project", + "Value": "Zeta" + }, + { + "Key": "Department", + "Value": "Engineering" + } + ] + } + } + ] } }, "com.amazonaws.servicediscovery#ListTagsForResourceRequest": { @@ -2649,7 +3005,25 @@ } ], "traits": { - "smithy.api#documentation": "Creates or updates one or more records and, optionally, creates a health check based on the\n settings in a specified service. When you submit a RegisterInstance
request, the\n following occurs:
For each DNS record that you define in the service that's specified by\n ServiceId
, a record is created or updated in the hosted zone that's associated\n with the corresponding namespace.
If the service includes HealthCheckConfig
, a health check is created based on\n the settings in the health check configuration.
The health check, if any, is associated with each of the new or updated records.
\nOne RegisterInstance
request must complete before you can submit another\n request and specify the same service ID and instance ID.
For more information, see CreateService.
\nWhen Cloud Map receives a DNS query for the specified DNS name, it returns the applicable\n value:
\n\n If the health check is healthy: returns all the\n records
\n\n If the health check is unhealthy: returns the applicable\n value for the last healthy instance
\n\n If you didn't specify a health check configuration:\n returns all the records
\nFor the current quota on the number of instances that you can register using the same\n namespace and using the same service, see Cloud Map quotas in the\n Cloud Map Developer Guide.
" + "smithy.api#documentation": "Creates or updates one or more records and, optionally, creates a health check based on the\n settings in a specified service. When you submit a RegisterInstance
request, the\n following occurs:
For each DNS record that you define in the service that's specified by\n ServiceId
, a record is created or updated in the hosted zone that's associated\n with the corresponding namespace.
If the service includes HealthCheckConfig
, a health check is created based on\n the settings in the health check configuration.
The health check, if any, is associated with each of the new or updated records.
\nOne RegisterInstance
request must complete before you can submit another\n request and specify the same service ID and instance ID.
For more information, see CreateService.
\nWhen Cloud Map receives a DNS query for the specified DNS name, it returns the applicable\n value:
\n\n If the health check is healthy: returns all the\n records
\n\n If the health check is unhealthy: returns the applicable\n value for the last healthy instance
\n\n If you didn't specify a health check configuration:\n returns all the records
\nFor the current quota on the number of instances that you can register using the same\n namespace and using the same service, see Cloud Map quotas in the\n Cloud Map Developer Guide.
", + "smithy.api#examples": [ + { + "title": "Example: Register Instance", + "documentation": "Example: Register Instance", + "input": { + "ServiceId": "srv-p5zdwlg5uvvzjita", + "InstanceId": "myservice-53", + "Attributes": { + "AWS_INSTANCE_IPV4": "172.2.1.3", + "AWS_INSTANCE_PORT": "808" + }, + "CreatorRequestId": "7a48a98a-72e6-4849-bfa7-1a458e030d7b" + }, + "output": { + "OperationId": "4yejorelbukcjzpnr6tlmrghsjwpngf4-k95yg2u7" + } + } + ] } }, "com.amazonaws.servicediscovery#RegisterInstanceRequest": { @@ -2941,52 +3315,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", @@ -2994,13 +3372,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -3010,92 +3397,135 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } ] } ], "type": "tree", "rules": [ { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, + "conditions": [], + "endpoint": { + "url": "https://servicediscovery-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": [ + { + "fn": "booleanEquals", + "argv": [ + true, { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://servicediscovery-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://servicediscovery-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } ] } ], @@ -3104,130 +3534,113 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsFIPS" + "name" ] } ] } ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://servicediscovery-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "endpoint": { + "url": "https://servicediscovery.{Region}.amazonaws.com", + "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": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws-cn", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsDualStack" + "name" ] } ] } ], - "type": "tree", - "rules": [ + "endpoint": { + "url": "https://servicediscovery.{Region}.amazonaws.com.cn", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ { - "conditions": [], - "type": "tree", - "rules": [ + "fn": "stringEquals", + "argv": [ + "aws-us-gov", { - "conditions": [], - "endpoint": { - "url": "https://servicediscovery.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] } ] } - ] + ], + "endpoint": { + "url": "https://servicediscovery.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ] - }, - { - "conditions": [], - "type": "tree", - "rules": [ { "conditions": [], "endpoint": { - "url": "https://servicediscovery.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://servicediscovery.{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://servicediscovery.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -3241,9 +3654,9 @@ } }, "params": { + "Region": "af-south-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "af-south-1" + "UseDualStack": false } }, { @@ -3254,9 +3667,9 @@ } }, "params": { + "Region": "ap-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-east-1" + "UseDualStack": false } }, { @@ -3267,9 +3680,9 @@ } }, "params": { + "Region": "ap-northeast-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-1" + "UseDualStack": false } }, { @@ -3280,9 +3693,9 @@ } }, "params": { + "Region": "ap-northeast-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-2" + "UseDualStack": false } }, { @@ -3293,9 +3706,9 @@ } }, "params": { + "Region": "ap-south-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-south-1" + "UseDualStack": false } }, { @@ -3306,9 +3719,9 @@ } }, "params": { + "Region": "ap-southeast-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-1" + "UseDualStack": false } }, { @@ -3319,9 +3732,9 @@ } }, "params": { + "Region": "ap-southeast-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-2" + "UseDualStack": false } }, { @@ -3332,9 +3745,9 @@ } }, "params": { + "Region": "ca-central-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ca-central-1" + "UseDualStack": false } }, { @@ -3345,9 +3758,9 @@ } }, "params": { + "Region": "ca-central-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "ca-central-1" + "UseDualStack": false } }, { @@ -3358,9 +3771,9 @@ } }, "params": { + "Region": "eu-central-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-central-1" + "UseDualStack": false } }, { @@ -3371,9 +3784,9 @@ } }, "params": { + "Region": "eu-north-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-north-1" + "UseDualStack": false } }, { @@ -3384,9 +3797,9 @@ } }, "params": { + "Region": "eu-south-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-south-1" + "UseDualStack": false } }, { @@ -3397,9 +3810,9 @@ } }, "params": { + "Region": "eu-west-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-1" + "UseDualStack": false } }, { @@ -3410,9 +3823,9 @@ } }, "params": { + "Region": "eu-west-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-2" + "UseDualStack": false } }, { @@ -3423,9 +3836,9 @@ } }, "params": { + "Region": "eu-west-3", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-3" + "UseDualStack": false } }, { @@ -3436,9 +3849,9 @@ } }, "params": { + "Region": "me-south-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "me-south-1" + "UseDualStack": false } }, { @@ -3449,9 +3862,9 @@ } }, "params": { + "Region": "sa-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "sa-east-1" + "UseDualStack": false } }, { @@ -3462,9 +3875,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -3475,9 +3888,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -3488,9 +3901,9 @@ } }, "params": { + "Region": "us-east-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-east-2" + "UseDualStack": false } }, { @@ -3501,9 +3914,9 @@ } }, "params": { + "Region": "us-east-2", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-east-2" + "UseDualStack": false } }, { @@ -3514,9 +3927,9 @@ } }, "params": { + "Region": "us-west-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-1" + "UseDualStack": false } }, { @@ -3527,9 +3940,9 @@ } }, "params": { + "Region": "us-west-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-west-1" + "UseDualStack": false } }, { @@ -3540,9 +3953,9 @@ } }, "params": { + "Region": "us-west-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-2" + "UseDualStack": false } }, { @@ -3553,9 +3966,9 @@ } }, "params": { + "Region": "us-west-2", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-west-2" + "UseDualStack": false } }, { @@ -3566,22 +3979,22 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-east-1" + "UseDualStack": true } }, { "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://servicediscovery.us-east-1.api.aws" + "url": "https://servicediscovery.us-east-1.amazonaws.com" } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -3592,9 +4005,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -3605,9 +4018,9 @@ } }, "params": { + "Region": "cn-northwest-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "cn-northwest-1" + "UseDualStack": false } }, { @@ -3618,9 +4031,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -3631,22 +4044,22 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://servicediscovery.cn-north-1.api.amazonwebservices.com.cn" + "url": "https://servicediscovery.cn-north-1.amazonaws.com.cn" } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -3657,9 +4070,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -3670,9 +4083,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -3683,9 +4096,9 @@ } }, "params": { + "Region": "us-gov-west-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-gov-west-1" + "UseDualStack": false } }, { @@ -3696,9 +4109,9 @@ } }, "params": { + "Region": "us-gov-west-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-gov-west-1" + "UseDualStack": false } }, { @@ -3709,22 +4122,22 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://servicediscovery.us-gov-east-1.api.aws" + "url": "https://servicediscovery.us-gov-east-1.amazonaws.com" } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -3733,9 +4146,9 @@ "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, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { @@ -3746,9 +4159,9 @@ } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { @@ -3757,9 +4170,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { @@ -3770,9 +4183,9 @@ } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { @@ -3781,9 +4194,9 @@ "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, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -3794,9 +4207,9 @@ } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -3805,9 +4218,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "Region": "us-isob-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -3818,9 +4231,9 @@ } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -3831,9 +4244,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -3856,9 +4269,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -3868,9 +4281,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -4313,7 +4726,27 @@ } ], "traits": { - "smithy.api#documentation": "Adds one or more tags to the specified resource.
" + "smithy.api#documentation": "Adds one or more tags to the specified resource.
", + "smithy.api#examples": [ + { + "title": "TagResource example", + "documentation": "This example adds \"Department\" and \"Project\" tags to a resource.", + "input": { + "ResourceARN": "arn:aws:servicediscovery:us-east-1:123456789012:namespace/ns-ylexjili4cdxy3xm", + "Tags": [ + { + "Key": "Department", + "Value": "Engineering" + }, + { + "Key": "Project", + "Value": "Zeta" + } + ] + }, + "output": {} + } + ] } }, "com.amazonaws.servicediscovery#TagResourceRequest": { @@ -4393,7 +4826,21 @@ } ], "traits": { - "smithy.api#documentation": "Removes one or more tags from the specified resource.
" + "smithy.api#documentation": "Removes one or more tags from the specified resource.
", + "smithy.api#examples": [ + { + "title": "UntagResource example", + "documentation": "This example removes the \"Department\" and \"Project\" tags from a resource.", + "input": { + "ResourceARN": "arn:aws:servicediscovery:us-east-1:123456789012:namespace/ns-ylexjili4cdxy3xm", + "TagKeys": [ + "Project", + "Department" + ] + }, + "output": {} + } + ] } }, "com.amazonaws.servicediscovery#UntagResourceRequest": { @@ -4517,7 +4964,18 @@ } ], "traits": { - "smithy.api#documentation": "Submits a request to change the health status of a custom health check to healthy or\n unhealthy.
\nYou can use UpdateInstanceCustomHealthStatus
to change the status only for\n custom health checks, which you define using HealthCheckCustomConfig
when you create\n a service. You can't use it to change the status for Route 53 health checks, which you define using\n HealthCheckConfig
.
For more information, see HealthCheckCustomConfig.
" + "smithy.api#documentation": "Submits a request to change the health status of a custom health check to healthy or\n unhealthy.
\nYou can use UpdateInstanceCustomHealthStatus
to change the status only for\n custom health checks, which you define using HealthCheckCustomConfig
when you create\n a service. You can't use it to change the status for Route 53 health checks, which you define using\n HealthCheckConfig
.
For more information, see HealthCheckCustomConfig.
", + "smithy.api#examples": [ + { + "title": "UpdateInstanceCustomHealthStatus Example", + "documentation": "This example submits a request to change the health status of an instance associated with a service with a custom health check to HEALTHY.", + "input": { + "InstanceId": "i-abcd1234", + "ServiceId": "srv-e4anhexample0004", + "Status": "HEALTHY" + } + } + ] } }, "com.amazonaws.servicediscovery#UpdateInstanceCustomHealthStatusRequest": { @@ -4707,7 +5165,34 @@ } ], "traits": { - "smithy.api#documentation": "Submits a request to perform the following operations:
\nUpdate the TTL setting for existing DnsRecords
configurations
Add, update, or delete HealthCheckConfig
for a specified service
You can't add, update, or delete a HealthCheckCustomConfig
\n configuration.
For public and private DNS namespaces, note the following:
\nIf you omit any existing DnsRecords
or HealthCheckConfig
\n configurations from an UpdateService
request, the configurations are deleted from\n the service.
If you omit an existing HealthCheckCustomConfig
configuration from an\n UpdateService
request, the configuration isn't deleted from the service.
When you update settings for a service, Cloud Map also updates the corresponding settings\n in all the records and health checks that were created by using the specified service.
" + "smithy.api#documentation": "Submits a request to perform the following operations:
\nUpdate the TTL setting for existing DnsRecords
configurations
Add, update, or delete HealthCheckConfig
for a specified service
You can't add, update, or delete a HealthCheckCustomConfig
\n configuration.
For public and private DNS namespaces, note the following:
\nIf you omit any existing DnsRecords
or HealthCheckConfig
\n configurations from an UpdateService
request, the configurations are deleted from\n the service.
If you omit an existing HealthCheckCustomConfig
configuration from an\n UpdateService
request, the configuration isn't deleted from the service.
When you update settings for a service, Cloud Map also updates the corresponding settings\n in all the records and health checks that were created by using the specified service.
", + "smithy.api#examples": [ + { + "title": "UpdateService Example", + "documentation": "This example submits a request to replace the DnsConfig and HealthCheckConfig settings of a specified service.", + "input": { + "Id": "srv-e4anhexample0004", + "Service": { + "HealthCheckConfig": { + "Type": "HTTP", + "ResourcePath": "/", + "FailureThreshold": 2 + }, + "DnsConfig": { + "DnsRecords": [ + { + "Type": "A", + "TTL": 60 + } + ] + } + } + }, + "output": { + "OperationId": "m35hsdrkxwjffm3xef4bxyy6vc3ewakx-jdn3y5g5" + } + } + ] } }, "com.amazonaws.servicediscovery#UpdateServiceRequest": { diff --git a/codegen/sdk-codegen/aws-models/ses.json b/codegen/sdk-codegen/aws-models/ses.json index 1ea1c877ce9..0585475f6b5 100644 --- a/codegen/sdk-codegen/aws-models/ses.json +++ b/codegen/sdk-codegen/aws-models/ses.json @@ -475,7 +475,17 @@ } ], "traits": { - "smithy.api#documentation": "Creates a receipt rule set by cloning an existing one. All receipt rules and\n configurations are copied to the new receipt rule set and are completely independent of\n the source rule set.
\nFor information about setting up rule sets, see the Amazon SES Developer Guide.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Creates a receipt rule set by cloning an existing one. All receipt rules and\n configurations are copied to the new receipt rule set and are completely independent of\n the source rule set.
\nFor information about setting up rule sets, see the Amazon SES Developer Guide.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "CloneReceiptRuleSet", + "documentation": "The following example creates a receipt rule set by cloning an existing one:", + "input": { + "RuleSetName": "RuleSetToCreate", + "OriginalRuleSetName": "RuleSetToClone" + } + } + ] } }, "com.amazonaws.ses#CloneReceiptRuleSetRequest": { @@ -971,7 +981,22 @@ } ], "traits": { - "smithy.api#documentation": "Creates a new IP address filter.
\nFor information about setting up IP address filters, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Creates a new IP address filter.
\nFor information about setting up IP address filters, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "CreateReceiptFilter", + "documentation": "The following example creates a new IP address filter:", + "input": { + "Filter": { + "Name": "MyFilter", + "IpFilter": { + "Policy": "Allow", + "Cidr": "1.2.3.4/24" + } + } + } + } + ] } }, "com.amazonaws.ses#CreateReceiptFilterRequest": { @@ -1030,7 +1055,31 @@ } ], "traits": { - "smithy.api#documentation": "Creates a receipt rule.
\nFor information about setting up receipt rules, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Creates a receipt rule.
\nFor information about setting up receipt rules, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "CreateReceiptRule", + "documentation": "The following example creates a new receipt rule:", + "input": { + "RuleSetName": "MyRuleSet", + "After": "", + "Rule": { + "TlsPolicy": "Optional", + "Enabled": true, + "Name": "MyRule", + "Actions": [ + { + "S3Action": { + "ObjectKeyPrefix": "email", + "BucketName": "MyBucket" + } + } + ], + "ScanEnabled": true + } + } + } + ] } }, "com.amazonaws.ses#CreateReceiptRuleRequest": { @@ -1087,7 +1136,16 @@ } ], "traits": { - "smithy.api#documentation": "Creates an empty receipt rule set.
\nFor information about setting up receipt rule sets, see the Amazon SES Developer Guide.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Creates an empty receipt rule set.
\nFor information about setting up receipt rule sets, see the Amazon SES Developer Guide.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "CreateReceiptRuleSet", + "documentation": "The following example creates an empty receipt rule set:", + "input": { + "RuleSetName": "MyRuleSet" + } + } + ] } }, "com.amazonaws.ses#CreateReceiptRuleSetRequest": { @@ -1475,7 +1533,16 @@ "target": "com.amazonaws.ses#DeleteIdentityResponse" }, "traits": { - "smithy.api#documentation": "Deletes the specified identity (an email address or a domain) from the list of\n verified identities.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Deletes the specified identity (an email address or a domain) from the list of\n verified identities.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "DeleteIdentity", + "documentation": "The following example deletes an identity from the list of identities that have been submitted for verification with Amazon SES:", + "input": { + "Identity": "user@example.com" + } + } + ] } }, "com.amazonaws.ses#DeleteIdentityPolicy": { @@ -1487,7 +1554,17 @@ "target": "com.amazonaws.ses#DeleteIdentityPolicyResponse" }, "traits": { - "smithy.api#documentation": "Deletes the specified sending authorization policy for the given identity (an email\n address or a domain). This operation returns successfully even if a policy with the\n specified name does not exist.
\nThis operation is for the identity owner only. If you have not verified the\n identity, it returns an error.
\nSending authorization is a feature that enables an identity owner to authorize other\n senders to use its identities. For information about using sending authorization, see\n the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Deletes the specified sending authorization policy for the given identity (an email\n address or a domain). This operation returns successfully even if a policy with the\n specified name does not exist.
\nThis operation is for the identity owner only. If you have not verified the\n identity, it returns an error.
\nSending authorization is a feature that enables an identity owner to authorize other\n senders to use its identities. For information about using sending authorization, see\n the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "DeleteIdentityPolicy", + "documentation": "The following example deletes a sending authorization policy for an identity:", + "input": { + "Identity": "user@example.com", + "PolicyName": "MyPolicy" + } + } + ] } }, "com.amazonaws.ses#DeleteIdentityPolicyRequest": { @@ -1554,7 +1631,16 @@ "target": "com.amazonaws.ses#DeleteReceiptFilterResponse" }, "traits": { - "smithy.api#documentation": "Deletes the specified IP address filter.
\nFor information about managing IP address filters, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Deletes the specified IP address filter.
\nFor information about managing IP address filters, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "DeleteReceiptFilter", + "documentation": "The following example deletes an IP address filter:", + "input": { + "FilterName": "MyFilter" + } + } + ] } }, "com.amazonaws.ses#DeleteReceiptFilterRequest": { @@ -1595,7 +1681,17 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the specified receipt rule.
\nFor information about managing receipt rules, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Deletes the specified receipt rule.
\nFor information about managing receipt rules, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "DeleteReceiptRule", + "documentation": "The following example deletes a receipt rule:", + "input": { + "RuleSetName": "MyRuleSet", + "RuleName": "MyRule" + } + } + ] } }, "com.amazonaws.ses#DeleteReceiptRuleRequest": { @@ -1643,7 +1739,16 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the specified receipt rule set and all of the receipt rules it\n contains.
\nThe currently active rule set cannot be deleted.
\nFor information about managing receipt rule sets, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Deletes the specified receipt rule set and all of the receipt rules it\n contains.
\nThe currently active rule set cannot be deleted.
\nFor information about managing receipt rule sets, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "DeleteReceiptRuleSet", + "documentation": "The following example deletes a receipt rule set:", + "input": { + "RuleSetName": "MyRuleSet" + } + } + ] } }, "com.amazonaws.ses#DeleteReceiptRuleSetRequest": { @@ -1714,7 +1819,16 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Deprecated. Use the DeleteIdentity
operation to delete email addresses\n and domains.
Deprecated. Use the DeleteIdentity
operation to delete email addresses\n and domains.
Returns the metadata and receipt rules for the receipt rule set that is currently\n active.
\nFor information about setting up receipt rule sets, see the Amazon SES Developer Guide.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Returns the metadata and receipt rules for the receipt rule set that is currently\n active.
\nFor information about setting up receipt rule sets, see the Amazon SES Developer Guide.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "DescribeActiveReceiptRuleSet", + "documentation": "The following example returns the metadata and receipt rules for the receipt rule set that is currently active:", + "output": { + "Metadata": { + "CreatedTimestamp": "2016-07-15T16:25:59.607Z", + "Name": "default-rule-set" + }, + "Rules": [ + { + "TlsPolicy": "Optional", + "Enabled": true, + "Name": "MyRule", + "Actions": [ + { + "S3Action": { + "ObjectKeyPrefix": "email", + "BucketName": "MyBucket" + } + } + ], + "ScanEnabled": true + } + ] + } + } + ] } }, "com.amazonaws.ses#DescribeActiveReceiptRuleSetRequest": { @@ -1880,7 +2022,33 @@ } ], "traits": { - "smithy.api#documentation": "Returns the details of the specified receipt rule.
\nFor information about setting up receipt rules, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Returns the details of the specified receipt rule.
\nFor information about setting up receipt rules, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "DescribeReceiptRule", + "documentation": "The following example returns the details of a receipt rule:", + "input": { + "RuleSetName": "MyRuleSet", + "RuleName": "MyRule" + }, + "output": { + "Rule": { + "TlsPolicy": "Optional", + "Enabled": true, + "Name": "MyRule", + "Actions": [ + { + "S3Action": { + "ObjectKeyPrefix": "email", + "BucketName": "MyBucket" + } + } + ], + "ScanEnabled": true + } + } + } + ] } }, "com.amazonaws.ses#DescribeReceiptRuleRequest": { @@ -1935,7 +2103,38 @@ } ], "traits": { - "smithy.api#documentation": "Returns the details of the specified receipt rule set.
\nFor information about managing receipt rule sets, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Returns the details of the specified receipt rule set.
\nFor information about managing receipt rule sets, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "DescribeReceiptRuleSet", + "documentation": "The following example returns the metadata and receipt rules of a receipt rule set:", + "input": { + "RuleSetName": "MyRuleSet" + }, + "output": { + "Metadata": { + "CreatedTimestamp": "2016-07-15T16:25:59.607Z", + "Name": "MyRuleSet" + }, + "Rules": [ + { + "TlsPolicy": "Optional", + "Enabled": true, + "Name": "MyRule", + "Actions": [ + { + "S3Action": { + "ObjectKeyPrefix": "email", + "BucketName": "MyBucket" + } + } + ], + "ScanEnabled": true + } + ] + } + } + ] } }, "com.amazonaws.ses#DescribeReceiptRuleSetRequest": { @@ -2340,7 +2539,16 @@ "target": "com.amazonaws.ses#GetAccountSendingEnabledResponse" }, "traits": { - "smithy.api#documentation": "Returns the email sending status of the Amazon SES account for the current Region.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Returns the email sending status of the Amazon SES account for the current Region.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "GetAccountSendingEnabled", + "documentation": "The following example returns if sending status for an account is enabled. (true / false):", + "output": { + "Enabled": true + } + } + ] } }, "com.amazonaws.ses#GetAccountSendingEnabledResponse": { @@ -2446,7 +2654,36 @@ "target": "com.amazonaws.ses#GetIdentityDkimAttributesResponse" }, "traits": { - "smithy.api#documentation": "Returns the current status of Easy DKIM signing for an entity. For domain name\n identities, this operation also returns the DKIM tokens that are required for Easy DKIM\n signing, and whether Amazon SES has successfully verified that these tokens have been\n published.
\nThis operation takes a list of identities as input and returns the following\n information for each:
\nWhether Easy DKIM signing is enabled or disabled.
\nA set of DKIM tokens that represent the identity. If the identity is an email\n address, the tokens represent the domain of that address.
\nWhether Amazon SES has successfully verified the DKIM tokens published in the\n domain's DNS. This information is only returned for domain name identities, not\n for email addresses.
\nThis operation is throttled at one request per second and can only get DKIM attributes\n for up to 100 identities at a time.
\nFor more information about creating DNS records using DKIM tokens, go to the Amazon SES\n Developer Guide.
" + "smithy.api#documentation": "Returns the current status of Easy DKIM signing for an entity. For domain name\n identities, this operation also returns the DKIM tokens that are required for Easy DKIM\n signing, and whether Amazon SES has successfully verified that these tokens have been\n published.
\nThis operation takes a list of identities as input and returns the following\n information for each:
\nWhether Easy DKIM signing is enabled or disabled.
\nA set of DKIM tokens that represent the identity. If the identity is an email\n address, the tokens represent the domain of that address.
\nWhether Amazon SES has successfully verified the DKIM tokens published in the\n domain's DNS. This information is only returned for domain name identities, not\n for email addresses.
\nThis operation is throttled at one request per second and can only get DKIM attributes\n for up to 100 identities at a time.
\nFor more information about creating DNS records using DKIM tokens, go to the Amazon SES\n Developer Guide.
", + "smithy.api#examples": [ + { + "title": "GetIdentityDkimAttributes", + "documentation": "The following example retrieves the Amazon SES Easy DKIM attributes for a list of identities:", + "input": { + "Identities": [ + "example.com", + "user@example.com" + ] + }, + "output": { + "DkimAttributes": { + "example.com": { + "DkimTokens": [ + "EXAMPLEjcs5xoyqytjsotsijas7236gr", + "EXAMPLEjr76cvoc6mysspnioorxsn6ep", + "EXAMPLEkbmkqkhlm2lyz77ppkulerm4k" + ], + "DkimEnabled": true, + "DkimVerificationStatus": "Success" + }, + "user@example.com": { + "DkimEnabled": false, + "DkimVerificationStatus": "NotStarted" + } + } + } + } + ] } }, "com.amazonaws.ses#GetIdentityDkimAttributesRequest": { @@ -2490,7 +2727,27 @@ "target": "com.amazonaws.ses#GetIdentityMailFromDomainAttributesResponse" }, "traits": { - "smithy.api#documentation": "Returns the custom MAIL FROM attributes for a list of identities (email addresses :\n domains).
\nThis operation is throttled at one request per second and can only get custom MAIL\n FROM attributes for up to 100 identities at a time.
" + "smithy.api#documentation": "Returns the custom MAIL FROM attributes for a list of identities (email addresses :\n domains).
\nThis operation is throttled at one request per second and can only get custom MAIL\n FROM attributes for up to 100 identities at a time.
", + "smithy.api#examples": [ + { + "title": "GetIdentityMailFromDomainAttributes", + "documentation": "The following example returns the custom MAIL FROM attributes for an identity:", + "input": { + "Identities": [ + "example.com" + ] + }, + "output": { + "MailFromDomainAttributes": { + "example.com": { + "MailFromDomain": "bounces.example.com", + "BehaviorOnMXFailure": "UseDefaultValue", + "MailFromDomainStatus": "Success" + } + } + } + } + ] } }, "com.amazonaws.ses#GetIdentityMailFromDomainAttributesRequest": { @@ -2534,7 +2791,31 @@ "target": "com.amazonaws.ses#GetIdentityNotificationAttributesResponse" }, "traits": { - "smithy.api#documentation": "Given a list of verified identities (email addresses and/or domains), returns a\n structure describing identity notification attributes.
\nThis operation is throttled at one request per second and can only get notification\n attributes for up to 100 identities at a time.
\nFor more information about using notifications with Amazon SES, see the Amazon SES\n Developer Guide.
" + "smithy.api#documentation": "Given a list of verified identities (email addresses and/or domains), returns a\n structure describing identity notification attributes.
\nThis operation is throttled at one request per second and can only get notification\n attributes for up to 100 identities at a time.
\nFor more information about using notifications with Amazon SES, see the Amazon SES\n Developer Guide.
", + "smithy.api#examples": [ + { + "title": "GetIdentityNotificationAttributes", + "documentation": "The following example returns the notification attributes for an identity:", + "input": { + "Identities": [ + "example.com" + ] + }, + "output": { + "NotificationAttributes": { + "example.com": { + "ForwardingEnabled": true, + "HeadersInDeliveryNotificationsEnabled": false, + "HeadersInComplaintNotificationsEnabled": false, + "BounceTopic": "arn:aws:sns:us-east-1:EXAMPLE65304:ExampleTopic", + "ComplaintTopic": "arn:aws:sns:us-east-1:EXAMPLE65304:ExampleTopic", + "DeliveryTopic": "arn:aws:sns:us-east-1:EXAMPLE65304:ExampleTopic", + "HeadersInBounceNotificationsEnabled": false + } + } + } + } + ] } }, "com.amazonaws.ses#GetIdentityNotificationAttributesRequest": { @@ -2578,7 +2859,24 @@ "target": "com.amazonaws.ses#GetIdentityPoliciesResponse" }, "traits": { - "smithy.api#documentation": "Returns the requested sending authorization policies for the given identity (an email\n address or a domain). The policies are returned as a map of policy names to policy\n contents. You can retrieve a maximum of 20 policies at a time.
\nThis operation is for the identity owner only. If you have not verified the\n identity, it returns an error.
\nSending authorization is a feature that enables an identity owner to authorize other\n senders to use its identities. For information about using sending authorization, see\n the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Returns the requested sending authorization policies for the given identity (an email\n address or a domain). The policies are returned as a map of policy names to policy\n contents. You can retrieve a maximum of 20 policies at a time.
\nThis operation is for the identity owner only. If you have not verified the\n identity, it returns an error.
\nSending authorization is a feature that enables an identity owner to authorize other\n senders to use its identities. For information about using sending authorization, see\n the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "GetIdentityPolicies", + "documentation": "The following example returns a sending authorization policy for an identity:", + "input": { + "Identity": "example.com", + "PolicyNames": [ + "MyPolicy" + ] + }, + "output": { + "Policies": { + "MyPolicy": "{\"Version\":\"2008-10-17\",\"Statement\":[{\"Sid\":\"stmt1469123904194\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::123456789012:root\"},\"Action\":[\"ses:SendEmail\",\"ses:SendRawEmail\"],\"Resource\":\"arn:aws:ses:us-east-1:EXAMPLE65304:identity/example.com\"}]}" + } + } + } + ] } }, "com.amazonaws.ses#GetIdentityPoliciesRequest": { @@ -2630,6 +2928,25 @@ }, "traits": { "smithy.api#documentation": "Given a list of identities (email addresses and/or domains), returns the verification\n status and (for domain identities) the verification token for each identity.
\nThe verification status of an email address is \"Pending\" until the email address owner\n clicks the link within the verification email that Amazon SES sent to that address. If the\n email address owner clicks the link within 24 hours, the verification status of the\n email address changes to \"Success\". If the link is not clicked within 24 hours, the\n verification status changes to \"Failed.\" In that case, to verify the email address, you\n must restart the verification process from the beginning.
\nFor domain identities, the domain's verification status is \"Pending\" as Amazon SES searches\n for the required TXT record in the DNS settings of the domain. When Amazon SES detects the\n record, the domain's verification status changes to \"Success\". If Amazon SES is unable to\n detect the record within 72 hours, the domain's verification status changes to \"Failed.\"\n In that case, to verify the domain, you must restart the verification process from the\n beginning.
\nThis operation is throttled at one request per second and can only get verification\n attributes for up to 100 identities at a time.
", + "smithy.api#examples": [ + { + "title": "GetIdentityVerificationAttributes", + "documentation": "The following example returns the verification status and the verification token for a domain identity:", + "input": { + "Identities": [ + "example.com" + ] + }, + "output": { + "VerificationAttributes": { + "example.com": { + "VerificationToken": "EXAMPLE3VYb9EDI2nTOQRi/Tf6MI/6bD6THIGiP1MVY=", + "VerificationStatus": "Success" + } + } + } + } + ], "smithy.waiters#waitable": { "IdentityExists": { "acceptors": [ @@ -2690,7 +3007,18 @@ "target": "com.amazonaws.ses#GetSendQuotaResponse" }, "traits": { - "smithy.api#documentation": "Provides the sending limits for the Amazon SES account.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Provides the sending limits for the Amazon SES account.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "GetSendQuota", + "documentation": "The following example returns the Amazon SES sending limits for an AWS account:", + "output": { + "Max24HourSend": 200, + "MaxSendRate": 1, + "SentLast24Hours": 1 + } + } + ] } }, "com.amazonaws.ses#GetSendQuotaResponse": { @@ -2732,7 +3060,38 @@ "target": "com.amazonaws.ses#GetSendStatisticsResponse" }, "traits": { - "smithy.api#documentation": "Provides sending statistics for the current Amazon Web Services Region. The result is a list of data\n points, representing the last two weeks of sending activity. Each data point in the list\n contains statistics for a 15-minute period of time.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Provides sending statistics for the current Amazon Web Services Region. The result is a list of data\n points, representing the last two weeks of sending activity. Each data point in the list\n contains statistics for a 15-minute period of time.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "GetSendStatistics", + "documentation": "The following example returns Amazon SES sending statistics:", + "output": { + "SendDataPoints": [ + { + "Complaints": 0, + "Timestamp": "2016-07-13T22:43:00Z", + "DeliveryAttempts": 5, + "Bounces": 0, + "Rejects": 0 + }, + { + "Complaints": 0, + "Timestamp": "2016-07-13T23:13:00Z", + "DeliveryAttempts": 3, + "Bounces": 0, + "Rejects": 0 + }, + { + "Complaints": 0, + "Timestamp": "2016-07-13T21:13:00Z", + "DeliveryAttempts": 1, + "Bounces": 0, + "Rejects": 0 + } + ] + } + } + ] } }, "com.amazonaws.ses#GetSendStatisticsResponse": { @@ -3441,6 +3800,23 @@ }, "traits": { "smithy.api#documentation": "Returns a list containing all of the identities (email addresses and domains) for your\n Amazon Web Services account in the current Amazon Web Services Region, regardless of verification status.
\nYou can execute this operation no more than once per second.
\nIt's recommended that for successive pagination calls of this API, you continue to\n the use the same parameter/value pairs as used in the original call, e.g., if you\n used IdentityType=Domain
in the the original call and received a\n NextToken
in the response, you should continue providing the\n IdentityType=Domain
parameter for further NextToken
\n calls; however, if you didn't provide the IdentityType
parameter in the\n original call, then continue to not provide it for successive pagination calls.\n Using this protocol will ensure consistent results.
Returns a list of sending authorization policies that are attached to the given\n identity (an email address or a domain). This operation returns only a list. To get the\n actual policy content, use GetIdentityPolicies
.
This operation is for the identity owner only. If you have not verified the\n identity, it returns an error.
\nSending authorization is a feature that enables an identity owner to authorize other\n senders to use its identities. For information about using sending authorization, see\n the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Returns a list of sending authorization policies that are attached to the given\n identity (an email address or a domain). This operation returns only a list. To get the\n actual policy content, use GetIdentityPolicies
.
This operation is for the identity owner only. If you have not verified the\n identity, it returns an error.
\nSending authorization is a feature that enables an identity owner to authorize other\n senders to use its identities. For information about using sending authorization, see\n the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "ListIdentityPolicies", + "documentation": "The following example returns a list of sending authorization policies that are attached to an identity:", + "input": { + "Identity": "example.com" + }, + "output": { + "PolicyNames": [ + "MyPolicy" + ] + } + } + ] } }, "com.amazonaws.ses#ListIdentityPoliciesRequest": { @@ -3551,7 +3941,24 @@ "target": "com.amazonaws.ses#ListReceiptFiltersResponse" }, "traits": { - "smithy.api#documentation": "Lists the IP address filters associated with your Amazon Web Services account in the current\n Amazon Web Services Region.
\nFor information about managing IP address filters, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Lists the IP address filters associated with your Amazon Web Services account in the current\n Amazon Web Services Region.
\nFor information about managing IP address filters, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "ListReceiptFilters", + "documentation": "The following example lists the IP address filters that are associated with an AWS account:", + "output": { + "Filters": [ + { + "IpFilter": { + "Policy": "Block", + "Cidr": "1.2.3.4/24" + }, + "Name": "MyFilter" + } + ] + } + } + ] } }, "com.amazonaws.ses#ListReceiptFiltersRequest": { @@ -3586,7 +3993,25 @@ "target": "com.amazonaws.ses#ListReceiptRuleSetsResponse" }, "traits": { - "smithy.api#documentation": "Lists the receipt rule sets that exist under your Amazon Web Services account in the current\n Amazon Web Services Region. If there are additional receipt rule sets to be retrieved, you receive a\n NextToken
that you can provide to the next call to\n ListReceiptRuleSets
to retrieve the additional entries.
For information about managing receipt rule sets, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Lists the receipt rule sets that exist under your Amazon Web Services account in the current\n Amazon Web Services Region. If there are additional receipt rule sets to be retrieved, you receive a\n NextToken
that you can provide to the next call to\n ListReceiptRuleSets
to retrieve the additional entries.
For information about managing receipt rule sets, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "ListReceiptRuleSets", + "documentation": "The following example lists the receipt rule sets that exist under an AWS account:", + "input": { + "NextToken": "" + }, + "output": { + "RuleSets": [ + { + "CreatedTimestamp": "2016-07-15T16:25:59.607Z", + "Name": "MyRuleSet" + } + ], + "NextToken": "" + } + } + ] } }, "com.amazonaws.ses#ListReceiptRuleSetsRequest": { @@ -3686,7 +4111,19 @@ "target": "com.amazonaws.ses#ListVerifiedEmailAddressesResponse" }, "traits": { - "smithy.api#documentation": "Deprecated. Use the ListIdentities
operation to list the email addresses\n and domains associated with your account.
Deprecated. Use the ListIdentities
operation to list the email addresses\n and domains associated with your account.
Adds or updates a sending authorization policy for the specified identity (an email\n address or a domain).
\nThis operation is for the identity owner only. If you have not verified the\n identity, it returns an error.
\nSending authorization is a feature that enables an identity owner to authorize other\n senders to use its identities. For information about using sending authorization, see\n the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Adds or updates a sending authorization policy for the specified identity (an email\n address or a domain).
\nThis operation is for the identity owner only. If you have not verified the\n identity, it returns an error.
\nSending authorization is a feature that enables an identity owner to authorize other\n senders to use its identities. For information about using sending authorization, see\n the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "PutIdentityPolicy", + "documentation": "The following example adds a sending authorization policy to an identity:", + "input": { + "Identity": "example.com", + "PolicyName": "MyPolicy", + "Policy": "{\"Version\":\"2008-10-17\",\"Statement\":[{\"Sid\":\"stmt1469123904194\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::123456789012:root\"},\"Action\":[\"ses:SendEmail\",\"ses:SendRawEmail\"],\"Resource\":\"arn:aws:ses:us-east-1:EXAMPLE65304:identity/example.com\"}]}" + } + } + ] } }, "com.amazonaws.ses#PutIdentityPolicyRequest": { @@ -4394,7 +4842,20 @@ } ], "traits": { - "smithy.api#documentation": "Reorders the receipt rules within a receipt rule set.
\nAll of the rules in the rule set must be represented in this request. That is, it\n is error if the reorder request doesn't explicitly position all of the rules.
\nFor information about managing receipt rule sets, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Reorders the receipt rules within a receipt rule set.
\nAll of the rules in the rule set must be represented in this request. That is, it\n is error if the reorder request doesn't explicitly position all of the rules.
\nFor information about managing receipt rule sets, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "ReorderReceiptRuleSet", + "documentation": "The following example reorders the receipt rules within a receipt rule set:", + "input": { + "RuleSetName": "MyRuleSet", + "RuleNames": [ + "MyRule", + "MyOtherRule" + ] + } + } + ] } }, "com.amazonaws.ses#ReorderReceiptRuleSetRequest": { @@ -4952,7 +5413,49 @@ } ], "traits": { - "smithy.api#documentation": "Composes an email message and immediately queues it for sending. To send email using\n this operation, your message must meet the following requirements:
\nThe message must be sent from a verified email address or domain. If you\n attempt to send email using a non-verified address or domain, the operation\n results in an \"Email address not verified\" error.
\nIf your account is still in the Amazon SES sandbox, you may only send to verified\n addresses or domains, or to email addresses associated with the Amazon SES Mailbox\n Simulator. For more information, see Verifying Email\n Addresses and Domains in the Amazon SES Developer\n Guide.\n
\nThe maximum message size is 10 MB.
\nThe message must include at least one recipient email address. The recipient\n address can be a To: address, a CC: address, or a BCC: address. If a recipient\n email address is invalid (that is, it is not in the format\n UserName@[SubDomain.]Domain.TopLevelDomain), the entire\n message is rejected, even if the message contains other recipients that are\n valid.
\nThe message may not include more than 50 recipients, across the To:, CC: and\n BCC: fields. If you need to send an email message to a larger audience, you can\n divide your recipient list into groups of 50 or fewer, and then call the\n SendEmail
operation several times to send the message to each\n group.
For every message that you send, the total number of recipients (including each\n recipient in the To:, CC: and BCC: fields) is counted against the maximum number of\n emails you can send in a 24-hour period (your sending quota).\n For more information about sending quotas in Amazon SES, see Managing Your Amazon SES Sending\n Limits in the Amazon SES Developer Guide.\n
\nComposes an email message and immediately queues it for sending. To send email using\n this operation, your message must meet the following requirements:
\nThe message must be sent from a verified email address or domain. If you\n attempt to send email using a non-verified address or domain, the operation\n results in an \"Email address not verified\" error.
\nIf your account is still in the Amazon SES sandbox, you may only send to verified\n addresses or domains, or to email addresses associated with the Amazon SES Mailbox\n Simulator. For more information, see Verifying Email\n Addresses and Domains in the Amazon SES Developer\n Guide.\n
\nThe maximum message size is 10 MB.
\nThe message must include at least one recipient email address. The recipient\n address can be a To: address, a CC: address, or a BCC: address. If a recipient\n email address is invalid (that is, it is not in the format\n UserName@[SubDomain.]Domain.TopLevelDomain), the entire\n message is rejected, even if the message contains other recipients that are\n valid.
\nThe message may not include more than 50 recipients, across the To:, CC: and\n BCC: fields. If you need to send an email message to a larger audience, you can\n divide your recipient list into groups of 50 or fewer, and then call the\n SendEmail
operation several times to send the message to each\n group.
For every message that you send, the total number of recipients (including each\n recipient in the To:, CC: and BCC: fields) is counted against the maximum number of\n emails you can send in a 24-hour period (your sending quota).\n For more information about sending quotas in Amazon SES, see Managing Your Amazon SES Sending\n Limits in the Amazon SES Developer Guide.\n
\nComposes an email message and immediately queues it for sending.
\nThis operation is more flexible than the SendEmail
operation. When you\n use the SendRawEmail
operation, you can specify the headers of the message\n as well as its content. This flexibility is useful, for example, when you need to send a\n multipart MIME email (such a message that contains both a text and an HTML version). You\n can also use this operation to send messages that include attachments.
The SendRawEmail
operation has the following requirements:
You can only send email from verified email addresses or domains. If you try to send email from\n an address that isn't verified, the operation results in an \"Email address not\n verified\" error.
\nIf your account is still in the Amazon SES sandbox, you can only send email to other verified addresses\n in your account, or to addresses that are associated with the Amazon SES mailbox simulator.
\nThe maximum message size, including attachments, is 10 MB.
\nEach message has to include at least one recipient address. A recipient\n address includes any address on the To:, CC:, or BCC: lines.
\nIf you send a single message to more than one recipient address, and one of\n the recipient addresses isn't in a valid format (that is, it's not in the format\n UserName@[SubDomain.]Domain.TopLevelDomain), Amazon SES\n rejects the entire message, even if the other addresses are valid.
\nEach message can include up to 50 recipient addresses across the To:, CC:, or\n BCC: lines. If you need to send a single message to more than 50 recipients, you\n have to split the list of recipient addresses into groups of less than 50\n recipients, and send separate messages to each group.
\nAmazon SES allows you to specify 8-bit Content-Transfer-Encoding for MIME message\n parts. However, if Amazon SES has to modify the contents of your message (for\n example, if you use open and click tracking), 8-bit content isn't preserved. For\n this reason, we highly recommend that you encode all content that isn't 7-bit\n ASCII. For more information, see MIME Encoding in the Amazon SES Developer\n Guide.
\nAdditionally, keep the following considerations in mind when using the\n SendRawEmail
operation:
Although you can customize the message headers when using the\n SendRawEmail
operation, Amazon SES automatically applies its own\n Message-ID
and Date
headers; if you passed these\n headers when creating the message, they are overwritten by the values that Amazon SES\n provides.
If you are using sending authorization to send on behalf of another user,\n SendRawEmail
enables you to specify the cross-account identity\n for the email's Source, From, and Return-Path parameters in one of two ways: you\n can pass optional parameters SourceArn
, FromArn
,\n and/or ReturnPathArn
, or you can include the following X-headers in\n the header of your raw email:
\n X-SES-SOURCE-ARN
\n
\n X-SES-FROM-ARN
\n
\n X-SES-RETURN-PATH-ARN
\n
Don't include these X-headers in the DKIM signature. Amazon SES removes these\n before it sends the email.
\nIf you only specify the SourceIdentityArn
parameter, Amazon SES sets\n the From and Return-Path addresses to the same identity that you\n specified.
For more information about sending authorization, see the Using\n Sending Authorization with Amazon SES in the Amazon SES Developer\n Guide.\n
\nFor every message that you send, the total number of recipients (including\n each recipient in the To:, CC: and BCC: fields) is counted against the maximum\n number of emails you can send in a 24-hour period (your sending\n quota). For more information about sending quotas in Amazon SES, see\n Managing Your Amazon SES Sending Limits in the Amazon SES Developer\n Guide.\n
\nComposes an email message and immediately queues it for sending.
\nThis operation is more flexible than the SendEmail
operation. When you\n use the SendRawEmail
operation, you can specify the headers of the message\n as well as its content. This flexibility is useful, for example, when you need to send a\n multipart MIME email (such a message that contains both a text and an HTML version). You\n can also use this operation to send messages that include attachments.
The SendRawEmail
operation has the following requirements:
You can only send email from verified email addresses or domains. If you try to send email from\n an address that isn't verified, the operation results in an \"Email address not\n verified\" error.
\nIf your account is still in the Amazon SES sandbox, you can only send email to other verified addresses\n in your account, or to addresses that are associated with the Amazon SES mailbox simulator.
\nThe maximum message size, including attachments, is 10 MB.
\nEach message has to include at least one recipient address. A recipient\n address includes any address on the To:, CC:, or BCC: lines.
\nIf you send a single message to more than one recipient address, and one of\n the recipient addresses isn't in a valid format (that is, it's not in the format\n UserName@[SubDomain.]Domain.TopLevelDomain), Amazon SES\n rejects the entire message, even if the other addresses are valid.
\nEach message can include up to 50 recipient addresses across the To:, CC:, or\n BCC: lines. If you need to send a single message to more than 50 recipients, you\n have to split the list of recipient addresses into groups of less than 50\n recipients, and send separate messages to each group.
\nAmazon SES allows you to specify 8-bit Content-Transfer-Encoding for MIME message\n parts. However, if Amazon SES has to modify the contents of your message (for\n example, if you use open and click tracking), 8-bit content isn't preserved. For\n this reason, we highly recommend that you encode all content that isn't 7-bit\n ASCII. For more information, see MIME Encoding in the Amazon SES Developer\n Guide.
\nAdditionally, keep the following considerations in mind when using the\n SendRawEmail
operation:
Although you can customize the message headers when using the\n SendRawEmail
operation, Amazon SES automatically applies its own\n Message-ID
and Date
headers; if you passed these\n headers when creating the message, they are overwritten by the values that Amazon SES\n provides.
If you are using sending authorization to send on behalf of another user,\n SendRawEmail
enables you to specify the cross-account identity\n for the email's Source, From, and Return-Path parameters in one of two ways: you\n can pass optional parameters SourceArn
, FromArn
,\n and/or ReturnPathArn
, or you can include the following X-headers in\n the header of your raw email:
\n X-SES-SOURCE-ARN
\n
\n X-SES-FROM-ARN
\n
\n X-SES-RETURN-PATH-ARN
\n
Don't include these X-headers in the DKIM signature. Amazon SES removes these\n before it sends the email.
\nIf you only specify the SourceIdentityArn
parameter, Amazon SES sets\n the From and Return-Path addresses to the same identity that you\n specified.
For more information about sending authorization, see the Using\n Sending Authorization with Amazon SES in the Amazon SES Developer\n Guide.\n
\nFor every message that you send, the total number of recipients (including\n each recipient in the To:, CC: and BCC: fields) is counted against the maximum\n number of emails you can send in a 24-hour period (your sending\n quota). For more information about sending quotas in Amazon SES, see\n Managing Your Amazon SES Sending Limits in the Amazon SES Developer\n Guide.\n
\nSets the specified receipt rule set as the active receipt rule set.
\nTo disable your email-receiving through Amazon SES completely, you can call this\n operation with RuleSetName
set to null.
For information about managing receipt rule sets, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Sets the specified receipt rule set as the active receipt rule set.
\nTo disable your email-receiving through Amazon SES completely, you can call this\n operation with RuleSetName
set to null.
For information about managing receipt rule sets, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "SetActiveReceiptRuleSet", + "documentation": "The following example sets the active receipt rule set:", + "input": { + "RuleSetName": "RuleSetToActivate" + } + } + ] } }, "com.amazonaws.ses#SetActiveReceiptRuleSetRequest": { @@ -5321,7 +5852,17 @@ "target": "com.amazonaws.ses#SetIdentityDkimEnabledResponse" }, "traits": { - "smithy.api#documentation": "Enables or disables Easy DKIM signing of email sent from an identity. If Easy DKIM\n signing is enabled for a domain, then Amazon SES uses DKIM to sign all email that it sends\n from addresses on that domain. If Easy DKIM signing is enabled for an email address,\n then Amazon SES uses DKIM to sign all email it sends from that address.
\nFor email addresses (for example, user@example.com
), you can only\n enable DKIM signing if the corresponding domain (in this case,\n example.com
) has been set up to use Easy DKIM.
You can enable DKIM signing for an identity at any time after you start the\n verification process for the identity, even if the verification process isn't complete.
\nYou can execute this operation no more than once per second.
\nFor more information about Easy DKIM signing, go to the Amazon SES Developer\n Guide.
" + "smithy.api#documentation": "Enables or disables Easy DKIM signing of email sent from an identity. If Easy DKIM\n signing is enabled for a domain, then Amazon SES uses DKIM to sign all email that it sends\n from addresses on that domain. If Easy DKIM signing is enabled for an email address,\n then Amazon SES uses DKIM to sign all email it sends from that address.
\nFor email addresses (for example, user@example.com
), you can only\n enable DKIM signing if the corresponding domain (in this case,\n example.com
) has been set up to use Easy DKIM.
You can enable DKIM signing for an identity at any time after you start the\n verification process for the identity, even if the verification process isn't complete.
\nYou can execute this operation no more than once per second.
\nFor more information about Easy DKIM signing, go to the Amazon SES Developer\n Guide.
", + "smithy.api#examples": [ + { + "title": "SetIdentityDkimEnabled", + "documentation": "The following example configures Amazon SES to Easy DKIM-sign the email sent from an identity:", + "input": { + "Identity": "user@example.com", + "DkimEnabled": true + } + } + ] } }, "com.amazonaws.ses#SetIdentityDkimEnabledRequest": { @@ -5365,7 +5906,17 @@ "target": "com.amazonaws.ses#SetIdentityFeedbackForwardingEnabledResponse" }, "traits": { - "smithy.api#documentation": "Given an identity (an email address or a domain), enables or disables whether Amazon SES\n forwards bounce and complaint notifications as email. Feedback forwarding can only be\n disabled when Amazon Simple Notification Service (Amazon SNS) topics are specified for both bounces and\n complaints.
\nFeedback forwarding does not apply to delivery notifications. Delivery\n notifications are only available through Amazon SNS.
\nYou can execute this operation no more than once per second.
\nFor more information about using notifications with Amazon SES, see the Amazon SES\n Developer Guide.
" + "smithy.api#documentation": "Given an identity (an email address or a domain), enables or disables whether Amazon SES\n forwards bounce and complaint notifications as email. Feedback forwarding can only be\n disabled when Amazon Simple Notification Service (Amazon SNS) topics are specified for both bounces and\n complaints.
\nFeedback forwarding does not apply to delivery notifications. Delivery\n notifications are only available through Amazon SNS.
\nYou can execute this operation no more than once per second.
\nFor more information about using notifications with Amazon SES, see the Amazon SES\n Developer Guide.
", + "smithy.api#examples": [ + { + "title": "SetIdentityFeedbackForwardingEnabled", + "documentation": "The following example configures Amazon SES to forward an identity's bounces and complaints via email:", + "input": { + "Identity": "user@example.com", + "ForwardingEnabled": true + } + } + ] } }, "com.amazonaws.ses#SetIdentityFeedbackForwardingEnabledRequest": { @@ -5409,7 +5960,18 @@ "target": "com.amazonaws.ses#SetIdentityHeadersInNotificationsEnabledResponse" }, "traits": { - "smithy.api#documentation": "Given an identity (an email address or a domain), sets whether Amazon SES includes the\n original email headers in the Amazon Simple Notification Service (Amazon SNS) notifications of a specified\n type.
\nYou can execute this operation no more than once per second.
\nFor more information about using notifications with Amazon SES, see the Amazon SES\n Developer Guide.
" + "smithy.api#documentation": "Given an identity (an email address or a domain), sets whether Amazon SES includes the\n original email headers in the Amazon Simple Notification Service (Amazon SNS) notifications of a specified\n type.
\nYou can execute this operation no more than once per second.
\nFor more information about using notifications with Amazon SES, see the Amazon SES\n Developer Guide.
", + "smithy.api#examples": [ + { + "title": "SetIdentityHeadersInNotificationsEnabled", + "documentation": "The following example configures Amazon SES to include the original email headers in the Amazon SNS bounce notifications for an identity:", + "input": { + "Identity": "user@example.com", + "NotificationType": "Bounce", + "Enabled": true + } + } + ] } }, "com.amazonaws.ses#SetIdentityHeadersInNotificationsEnabledRequest": { @@ -5460,7 +6022,18 @@ "target": "com.amazonaws.ses#SetIdentityMailFromDomainResponse" }, "traits": { - "smithy.api#documentation": "Enables or disables the custom MAIL FROM domain setup for a verified identity (an\n email address or a domain).
\nTo send emails using the specified MAIL FROM domain, you must add an MX record to\n your MAIL FROM domain's DNS settings. To ensure that your emails pass Sender Policy\n Framework (SPF) checks, you must also add or update an SPF record. For more\n information, see the Amazon SES Developer Guide.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Enables or disables the custom MAIL FROM domain setup for a verified identity (an\n email address or a domain).
\nTo send emails using the specified MAIL FROM domain, you must add an MX record to\n your MAIL FROM domain's DNS settings. To ensure that your emails pass Sender Policy\n Framework (SPF) checks, you must also add or update an SPF record. For more\n information, see the Amazon SES Developer Guide.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "SetIdentityMailFromDomain", + "documentation": "The following example configures Amazon SES to use a custom MAIL FROM domain for an identity:", + "input": { + "Identity": "user@example.com", + "MailFromDomain": "bounces.example.com", + "BehaviorOnMXFailure": "UseDefaultValue" + } + } + ] } }, "com.amazonaws.ses#SetIdentityMailFromDomainRequest": { @@ -5508,7 +6081,18 @@ "target": "com.amazonaws.ses#SetIdentityNotificationTopicResponse" }, "traits": { - "smithy.api#documentation": "Sets an Amazon Simple Notification Service (Amazon SNS) topic to use when delivering notifications. When you use\n this operation, you specify a verified identity, such as an email address or domain.\n When you send an email that uses the chosen identity in the Source field, Amazon SES sends\n notifications to the topic you specified. You can send bounce, complaint, or delivery\n notifications (or any combination of the three) to the Amazon SNS topic that you\n specify.
\nYou can execute this operation no more than once per second.
\nFor more information about feedback notification, see the Amazon SES\n Developer Guide.
" + "smithy.api#documentation": "Sets an Amazon Simple Notification Service (Amazon SNS) topic to use when delivering notifications. When you use\n this operation, you specify a verified identity, such as an email address or domain.\n When you send an email that uses the chosen identity in the Source field, Amazon SES sends\n notifications to the topic you specified. You can send bounce, complaint, or delivery\n notifications (or any combination of the three) to the Amazon SNS topic that you\n specify.
\nYou can execute this operation no more than once per second.
\nFor more information about feedback notification, see the Amazon SES\n Developer Guide.
", + "smithy.api#examples": [ + { + "title": "SetIdentityNotificationTopic", + "documentation": "The following example sets the Amazon SNS topic to which Amazon SES will publish bounce, complaint, and/or delivery notifications for emails sent with the specified identity as the Source:", + "input": { + "Identity": "user@example.com", + "NotificationType": "Bounce", + "SnsTopic": "arn:aws:sns:us-west-2:111122223333:MyTopic" + } + } + ] } }, "com.amazonaws.ses#SetIdentityNotificationTopicRequest": { @@ -5565,7 +6149,18 @@ } ], "traits": { - "smithy.api#documentation": "Sets the position of the specified receipt rule in the receipt rule set.
\nFor information about managing receipt rules, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Sets the position of the specified receipt rule in the receipt rule set.
\nFor information about managing receipt rules, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "SetReceiptRulePosition", + "documentation": "The following example sets the position of a receipt rule in a receipt rule set:", + "input": { + "RuleSetName": "MyRuleSet", + "RuleName": "RuleToReposition", + "After": "PutRuleAfterThisRule" + } + } + ] } }, "com.amazonaws.ses#SetReceiptRulePositionRequest": { @@ -5829,6 +6424,7 @@ "arnNamespace": "ses", "cloudFormationName": "SES", "cloudTrailEventSource": "ses.amazonaws.com", + "docId": "email-2010-12-01", "endpointPrefix": "email" }, "aws.auth#sigv4": { @@ -5900,52 +6496,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", @@ -5953,13 +6553,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -5969,224 +6578,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://email-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://email-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": [ { "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": [], - "endpoint": { - "url": "https://email-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://email-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://email.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://email.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://email.{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://email.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -7078,7 +7638,16 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Enables or disables email sending across your entire Amazon SES account in the current\n Amazon Web Services Region. You can use this operation in conjunction with Amazon CloudWatch alarms to\n temporarily pause email sending across your Amazon SES account in a given Amazon Web Services Region when\n reputation metrics (such as your bounce or complaint rates) reach certain\n thresholds.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Enables or disables email sending across your entire Amazon SES account in the current\n Amazon Web Services Region. You can use this operation in conjunction with Amazon CloudWatch alarms to\n temporarily pause email sending across your Amazon SES account in a given Amazon Web Services Region when\n reputation metrics (such as your bounce or complaint rates) reach certain\n thresholds.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "UpdateAccountSendingEnabled", + "documentation": "The following example updated the sending status for this account.", + "input": { + "Enabled": true + } + } + ] } }, "com.amazonaws.ses#UpdateAccountSendingEnabledRequest": { @@ -7171,7 +7740,17 @@ } ], "traits": { - "smithy.api#documentation": "Enables or disables the publishing of reputation metrics for emails sent using a\n specific configuration set in a given Amazon Web Services Region. Reputation metrics include bounce\n and complaint rates. These metrics are published to Amazon CloudWatch. By using CloudWatch, you can\n create alarms when bounce or complaint rates exceed certain thresholds.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Enables or disables the publishing of reputation metrics for emails sent using a\n specific configuration set in a given Amazon Web Services Region. Reputation metrics include bounce\n and complaint rates. These metrics are published to Amazon CloudWatch. By using CloudWatch, you can\n create alarms when bounce or complaint rates exceed certain thresholds.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "UpdateConfigurationSetReputationMetricsEnabled", + "documentation": "Set the reputationMetricsEnabled flag for a specific configuration set.", + "input": { + "ConfigurationSetName": "foo", + "Enabled": true + } + } + ] } }, "com.amazonaws.ses#UpdateConfigurationSetReputationMetricsEnabledRequest": { @@ -7212,7 +7791,17 @@ } ], "traits": { - "smithy.api#documentation": "Enables or disables email sending for messages sent using a specific configuration set\n in a given Amazon Web Services Region. You can use this operation in conjunction with Amazon CloudWatch alarms\n to temporarily pause email sending for a configuration set when the reputation metrics\n for that configuration set (such as your bounce on complaint rate) exceed certain\n thresholds.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Enables or disables email sending for messages sent using a specific configuration set\n in a given Amazon Web Services Region. You can use this operation in conjunction with Amazon CloudWatch alarms\n to temporarily pause email sending for a configuration set when the reputation metrics\n for that configuration set (such as your bounce on complaint rate) exceed certain\n thresholds.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "UpdateConfigurationSetReputationMetricsEnabled", + "documentation": "Set the sending enabled flag for a specific configuration set.", + "input": { + "ConfigurationSetName": "foo", + "Enabled": true + } + } + ] } }, "com.amazonaws.ses#UpdateConfigurationSetSendingEnabledRequest": { @@ -7390,7 +7979,30 @@ } ], "traits": { - "smithy.api#documentation": "Updates a receipt rule.
\nFor information about managing receipt rules, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Updates a receipt rule.
\nFor information about managing receipt rules, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "UpdateReceiptRule", + "documentation": "The following example updates a receipt rule to use an Amazon S3 action:", + "input": { + "RuleSetName": "MyRuleSet", + "Rule": { + "TlsPolicy": "Optional", + "Enabled": true, + "Name": "MyRule", + "Actions": [ + { + "S3Action": { + "ObjectKeyPrefix": "email", + "BucketName": "MyBucket" + } + } + ], + "ScanEnabled": true + } + } + } + ] } }, "com.amazonaws.ses#UpdateReceiptRuleRequest": { @@ -7527,7 +8139,23 @@ "target": "com.amazonaws.ses#VerifyDomainDkimResponse" }, "traits": { - "smithy.api#documentation": "Returns a set of DKIM tokens for a domain identity.
\nWhen you execute the VerifyDomainDkim
operation, the domain that you\n specify is added to the list of identities that are associated with your account.\n This is true even if you haven't already associated the domain with your account by\n using the VerifyDomainIdentity
operation. However, you can't send email\n from the domain until you either successfully verify\n it or you successfully set up DKIM for\n it.
You use the tokens that are generated by this operation to create CNAME records. When\n Amazon SES detects that you've added these records to the DNS configuration for a domain, you\n can start sending email from that domain. You can start sending email even if you\n haven't added the TXT record provided by the VerifyDomainIdentity operation to the DNS\n configuration for your domain. All email that you send from the domain is authenticated\n using DKIM.
\nTo create the CNAME records for DKIM authentication, use the following values:
\n\n Name:\n token._domainkey.example.com\n
\n\n Type: CNAME
\n\n Value:\n token.dkim.amazonses.com
\nIn the preceding example, replace token with one of the tokens\n that are generated when you execute this operation. Replace\n example.com with your domain. Repeat this process for each\n token that's generated by this operation.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Returns a set of DKIM tokens for a domain identity.
\nWhen you execute the VerifyDomainDkim
operation, the domain that you\n specify is added to the list of identities that are associated with your account.\n This is true even if you haven't already associated the domain with your account by\n using the VerifyDomainIdentity
operation. However, you can't send email\n from the domain until you either successfully verify\n it or you successfully set up DKIM for\n it.
You use the tokens that are generated by this operation to create CNAME records. When\n Amazon SES detects that you've added these records to the DNS configuration for a domain, you\n can start sending email from that domain. You can start sending email even if you\n haven't added the TXT record provided by the VerifyDomainIdentity operation to the DNS\n configuration for your domain. All email that you send from the domain is authenticated\n using DKIM.
\nTo create the CNAME records for DKIM authentication, use the following values:
\n\n Name:\n token._domainkey.example.com\n
\n\n Type: CNAME
\n\n Value:\n token.dkim.amazonses.com
\nIn the preceding example, replace token with one of the tokens\n that are generated when you execute this operation. Replace\n example.com with your domain. Repeat this process for each\n token that's generated by this operation.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "VerifyDomainDkim", + "documentation": "The following example generates DKIM tokens for a domain that has been verified with Amazon SES:", + "input": { + "Domain": "example.com" + }, + "output": { + "DkimTokens": [ + "EXAMPLEq76owjnks3lnluwg65scbemvw", + "EXAMPLEi3dnsj67hstzaj673klariwx2", + "EXAMPLEwfbtcukvimehexktmdtaz6naj" + ] + } + } + ] } }, "com.amazonaws.ses#VerifyDomainDkimRequest": { @@ -7571,7 +8199,19 @@ "target": "com.amazonaws.ses#VerifyDomainIdentityResponse" }, "traits": { - "smithy.api#documentation": "Adds a domain to the list of identities for your Amazon SES account in the current\n Amazon Web Services Region and attempts to verify it. For more information about verifying domains,\n see Verifying Email Addresses and Domains in the Amazon SES Developer\n Guide.\n
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Adds a domain to the list of identities for your Amazon SES account in the current\n Amazon Web Services Region and attempts to verify it. For more information about verifying domains,\n see Verifying Email Addresses and Domains in the Amazon SES Developer\n Guide.\n
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "VerifyDomainIdentity", + "documentation": "The following example starts the domain verification process with Amazon SES:", + "input": { + "Domain": "example.com" + }, + "output": { + "VerificationToken": "eoEmxw+YaYhb3h3iVJHuXMJXqeu1q1/wwmvjuEXAMPLE" + } + } + ] } }, "com.amazonaws.ses#VerifyDomainIdentityRequest": { @@ -7615,7 +8255,16 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Deprecated. Use the VerifyEmailIdentity
operation to verify a new email\n address.
Deprecated. Use the VerifyEmailIdentity
operation to verify a new email\n address.
Adds an email address to the list of identities for your Amazon SES account in the current\n Amazon Web Services Region and attempts to verify it. As a result of executing this operation, a\n verification email is sent to the specified address.
\nYou can execute this operation no more than once per second.
" + "smithy.api#documentation": "Adds an email address to the list of identities for your Amazon SES account in the current\n Amazon Web Services Region and attempts to verify it. As a result of executing this operation, a\n verification email is sent to the specified address.
\nYou can execute this operation no more than once per second.
", + "smithy.api#examples": [ + { + "title": "VerifyEmailIdentity", + "documentation": "The following example starts the email address verification process with Amazon SES:", + "input": { + "EmailAddress": "user@example.com" + } + } + ] } }, "com.amazonaws.ses#VerifyEmailIdentityRequest": { diff --git a/codegen/sdk-codegen/aws-models/sfn.json b/codegen/sdk-codegen/aws-models/sfn.json index 92764ad2580..24605d3c882 100644 --- a/codegen/sdk-codegen/aws-models/sfn.json +++ b/codegen/sdk-codegen/aws-models/sfn.json @@ -142,6 +142,7 @@ "arnNamespace": "states", "cloudFormationName": "StepFunctions", "cloudTrailEventSource": "sfn.amazonaws.com", + "docId": "states-2016-11-23", "endpointPrefix": "states" }, "aws.auth#sigv4": { @@ -213,52 +214,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", @@ -266,13 +271,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -282,92 +296,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://states-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://states-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -376,149 +381,109 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "us-gov-west-1" - ] - } - ], - "endpoint": { - "url": "https://states.us-gov-west-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "ref": "Region" }, - { - "conditions": [], - "endpoint": { - "url": "https://states-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "us-gov-west-1" ] } - ] + ], + "endpoint": { + "url": "https://states.us-gov-west-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://states-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://states.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://states.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://states.{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://states.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/shield.json b/codegen/sdk-codegen/aws-models/shield.json index 9385c546b3e..bb13c64f116 100644 --- a/codegen/sdk-codegen/aws-models/shield.json +++ b/codegen/sdk-codegen/aws-models/shield.json @@ -219,52 +219,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", @@ -272,521 +276,302 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "stringEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - }, - "aws" - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "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", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://shield-fips.{Region}.api.aws", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] + "ref": "PartitionResult" }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } + "name" ] }, + "aws" + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://shield-fips.us-east-1.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "shield", - "signingRegion": "us-east-1" - } - ] - }, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ] + "ref": "UseFIPS" }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "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": [], - "endpoint": { - "url": "https://shield.{Region}.api.aws", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ] + "ref": "UseDualStack" }, + false + ] + } + ], + "endpoint": { + "url": "https://shield.us-east-1.amazonaws.com", + "properties": { + "authSchemes": [ { - "conditions": [], - "endpoint": { - "url": "https://shield.us-east-1.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "shield", - "signingRegion": "us-east-1" - } - ] - }, - "headers": {} - }, - "type": "endpoint" + "name": "sigv4", + "signingName": "shield", + "signingRegion": "us-east-1" } ] }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ { - "conditions": [ + "fn": "stringEquals", + "argv": [ { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ { - "ref": "UseFIPS" + "ref": "PartitionResult" }, - true + "name" ] }, + "aws" + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://shield-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "ref": "UseDualStack" }, + false + ] + } + ], + "endpoint": { + "url": "https://shield-fips.us-east-1.amazonaws.com", + "properties": { + "authSchemes": [ { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "name": "sigv4", + "signingName": "shield", + "signingRegion": "us-east-1" } ] }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } - ], - "type": "tree", - "rules": [ + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, { - "conditions": [], - "type": "tree", - "rules": [ + "fn": "getAttr", + "argv": [ { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "aws-global" - ] - } - ], - "endpoint": { - "url": "https://shield-fips.us-east-1.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "shield", - "signingRegion": "us-east-1" - } - ] - }, - "headers": {} - }, - "type": "endpoint" + "ref": "PartitionResult" }, - { - "conditions": [], - "endpoint": { - "url": "https://shield-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://shield-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://shield.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" + "endpoint": { + "url": "https://shield-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { "conditions": [], - "type": "tree", - "rules": [ + "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" }, - "aws-global" + "supportsDualStack" ] } - ], - "endpoint": { - "url": "https://shield.us-east-1.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "shield", - "signingRegion": "us-east-1" - } - ] - }, - "headers": {} - }, - "type": "endpoint" - }, + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [], "endpoint": { - "url": "https://shield.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://shield.{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://shield.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -810,8 +595,8 @@ }, "params": { "Region": "aws-global", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -832,8 +617,8 @@ }, "params": { "Region": "aws-global", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -845,8 +630,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -867,8 +652,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -880,8 +665,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -902,8 +687,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -915,8 +700,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -928,8 +713,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -941,8 +726,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -954,8 +739,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -967,8 +752,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -980,8 +765,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -993,8 +778,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1006,8 +791,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -1019,8 +815,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 } }, { @@ -1032,8 +839,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -1045,8 +863,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 } }, { @@ -1058,8 +887,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1071,8 +900,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1084,8 +913,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1096,8 +925,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1108,10 +937,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" @@ -1165,18 +1000,20 @@ } }, "com.amazonaws.shield#ApplicationLayerAutomaticResponseStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" } - ] + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + } } }, "com.amazonaws.shield#AssociateDRTLogBucket": { @@ -1227,11 +1064,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.shield#AssociateDRTLogBucketResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.shield#AssociateDRTRole": { "type": "operation", @@ -1262,7 +1105,7 @@ } ], "traits": { - "smithy.api#documentation": "Authorizes the Shield Response Team (SRT) using the specified role, to access your Amazon Web Services account to assist with DDoS attack mitigation during potential attacks. This enables the SRT to inspect your WAF configuration and create or update WAF rules and web ACLs.
\nYou can associate only one RoleArn
with your subscription. If you submit an AssociateDRTRole
request for an account that already has an associated role, the new RoleArn
will replace the existing RoleArn
.
Prior to making the AssociateDRTRole
request, you must attach the AWSShieldDRTAccessPolicy
managed policy to the role that you'll specify in the request. You can access this policy in the IAM console at AWSShieldDRTAccessPolicy. For more information see Adding and removing IAM identity permissions. The role must also trust the service principal\ndrt.shield.amazonaws.com
. For more information, see IAM JSON policy elements: Principal.
The SRT will have access only to your WAF and Shield resources. By submitting this request, you authorize the SRT to inspect your WAF and Shield configuration and create and update WAF rules and web ACLs on your behalf. The SRT takes these actions only if explicitly authorized by you.
\nYou must have the iam:PassRole
permission to make an AssociateDRTRole
request. For more information, see Granting a user permissions to pass a role to an Amazon Web Services service.
To use the services of the SRT and make an AssociateDRTRole
request, you must be subscribed to the Business Support plan or the Enterprise Support plan.
Authorizes the Shield Response Team (SRT) using the specified role, to access your Amazon Web Services account to assist with DDoS attack mitigation during potential attacks. This enables the SRT to inspect your WAF configuration and create or update WAF rules and web ACLs.
\nYou can associate only one RoleArn
with your subscription. If you submit an AssociateDRTRole
request for an account that already has an associated role, the new RoleArn
will replace the existing RoleArn
.
Prior to making the AssociateDRTRole
request, you must attach the AWSShieldDRTAccessPolicy
managed policy to the role that you'll specify in the request. You can access this policy in the IAM console at AWSShieldDRTAccessPolicy. For more information see Adding and removing IAM identity permissions. The role must also trust the service principal\ndrt.shield.amazonaws.com
. For more information, see IAM JSON policy elements: Principal.
The SRT will have access only to your WAF and Shield resources. By submitting this request, you authorize the SRT to inspect your WAF and Shield configuration and create and update WAF rules and web ACLs on your behalf. The SRT takes these actions only if explicitly authorized by you.
\nYou must have the iam:PassRole
permission to make an AssociateDRTRole
request. For more information, see Granting a user permissions to pass a role to an Amazon Web Services service.
To use the services of the SRT and make an AssociateDRTRole
request, you must be subscribed to the Business Support plan or the Enterprise Support plan.
The Amazon Resource Name (ARN) of the role the SRT will use to access your Amazon Web Services account.
\n\tPrior to making the AssociateDRTRole
request, you must attach the AWSShieldDRTAccessPolicy managed policy to this role. For more information see Attaching and Detaching IAM Policies.
The Amazon Resource Name (ARN) of the role the SRT will use to access your Amazon Web Services account.
\nPrior to making the AssociateDRTRole
request, you must attach the AWSShieldDRTAccessPolicy managed policy to this role. For more information see Attaching and Detaching IAM Policies.
The unit used for the Contributor
\n Value
property.
The unit used for the Contributor
\n Value
property.
The attack type. Valid values:
\n\tUDP_TRAFFIC
\nUDP_FRAGMENT
\nGENERIC_UDP_REFLECTION
\nDNS_REFLECTION
\nNTP_REFLECTION
\nCHARGEN_REFLECTION
\nSSDP_REFLECTION
\nPORT_MAPPER
\nRIP_REFLECTION
\nSNMP_REFLECTION
\nMSSQL_REFLECTION
\nNET_BIOS_REFLECTION
\nSYN_FLOOD
\nACK_FLOOD
\nREQUEST_FLOOD
\nHTTP_REFLECTION
\nUDS_REFLECTION
\nMEMCACHED_REFLECTION
\nThe attack type. Valid values:
\nUDP_TRAFFIC
\nUDP_FRAGMENT
\nGENERIC_UDP_REFLECTION
\nDNS_REFLECTION
\nNTP_REFLECTION
\nCHARGEN_REFLECTION
\nSSDP_REFLECTION
\nPORT_MAPPER
\nRIP_REFLECTION
\nSNMP_REFLECTION
\nMSSQL_REFLECTION
\nNET_BIOS_REFLECTION
\nSYN_FLOOD
\nACK_FLOOD
\nREQUEST_FLOOD
\nHTTP_REFLECTION
\nUDS_REFLECTION
\nMEMCACHED_REFLECTION
\nSpecifies that Shield Advanced should configure its WAF rules with the WAF Block
action.
This is only used in the context of the ResponseAction
setting.
JSON specification: \"Block\": {}
\n
Specifies that Shield Advanced should configure its WAF rules with the WAF Block
action.
This is only used in the context of the ResponseAction
setting.
JSON specification: \"Block\": {}
\n
Specifies that Shield Advanced should configure its WAF rules with the WAF Count
action.
This is only used in the context of the ResponseAction
setting.
JSON specification: \"Count\": {}
\n
Specifies that Shield Advanced should configure its WAF rules with the WAF Count
action.
This is only used in the context of the ResponseAction
setting.
JSON specification: \"Count\": {}
\n
One or more tag key-value pairs for the protection group.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.shield#CreateProtectionGroupResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.shield#CreateProtectionRequest": { "type": "structure", @@ -1885,6 +1770,9 @@ "smithy.api#documentation": "One or more tag key-value pairs for the Protection object that is created.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.shield#CreateProtectionResponse": { @@ -1896,6 +1784,9 @@ "smithy.api#documentation": "The unique identifier (ID) for the Protection object that is created.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.shield#CreateSubscription": { @@ -1915,16 +1806,22 @@ } ], "traits": { - "smithy.api#documentation": "Activates Shield Advanced for an account.
\nFor accounts that are members of an Organizations organization, Shield Advanced subscriptions are billed against the organization's payer account,\n regardless of whether the payer account itself is subscribed.
\nWhen you initially create a subscription, your subscription is set to be automatically renewed at the end of the existing subscription period. You can change this by submitting an UpdateSubscription
request.
Activates Shield Advanced for an account.
\nFor accounts that are members of an Organizations organization, Shield Advanced subscriptions are billed against the organization's payer account,\n regardless of whether the payer account itself is subscribed.
\nWhen you initially create a subscription, your subscription is set to be automatically renewed at the end of the existing subscription period. You can change this by submitting an UpdateSubscription
request.
The attack that you requested.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.shield#DescribeAttackStatistics": { @@ -2104,7 +2021,10 @@ }, "com.amazonaws.shield#DescribeAttackStatisticsRequest": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.shield#DescribeAttackStatisticsResponse": { "type": "structure", @@ -2123,6 +2043,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.shield#DescribeDRTAccess": { @@ -2147,7 +2070,10 @@ }, "com.amazonaws.shield#DescribeDRTAccessRequest": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.shield#DescribeDRTAccessResponse": { "type": "structure", @@ -2164,6 +2090,9 @@ "smithy.api#documentation": "The list of Amazon S3 buckets accessed by the SRT.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.shield#DescribeEmergencyContactSettings": { @@ -2188,7 +2117,10 @@ }, "com.amazonaws.shield#DescribeEmergencyContactSettingsRequest": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.shield#DescribeEmergencyContactSettingsResponse": { "type": "structure", @@ -2199,6 +2131,9 @@ "smithy.api#documentation": "A list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you if you have proactive engagement enabled, for escalations to the SRT and to initiate proactive customer support.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.shield#DescribeProtection": { @@ -2254,6 +2189,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.shield#DescribeProtectionGroupResponse": { @@ -2266,6 +2204,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.shield#DescribeProtectionRequest": { @@ -2283,6 +2224,9 @@ "smithy.api#documentation": "The ARN (Amazon Resource Name) of the protected Amazon Web Services resource. \n You must provide either the ResourceArn
of the protected resource or the ProtectionID
of the protection, but not both.
The Protection that you requested.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.shield#DescribeSubscription": { @@ -2318,7 +2265,10 @@ }, "com.amazonaws.shield#DescribeSubscriptionRequest": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.shield#DescribeSubscriptionResponse": { "type": "structure", @@ -2329,6 +2279,9 @@ "smithy.api#documentation": "The Shield Advanced subscription details for an account.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.shield#DisableApplicationLayerAutomaticResponse": { @@ -2370,11 +2323,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.shield#DisableApplicationLayerAutomaticResponseResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.shield#DisableProactiveEngagement": { "type": "operation", @@ -2407,11 +2366,17 @@ }, "com.amazonaws.shield#DisableProactiveEngagementRequest": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.shield#DisableProactiveEngagementResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.shield#DisassociateDRTLogBucket": { "type": "operation", @@ -2455,11 +2420,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.shield#DisassociateDRTLogBucketResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.shield#DisassociateDRTRole": { "type": "operation", @@ -2489,11 +2460,17 @@ }, "com.amazonaws.shield#DisassociateDRTRoleRequest": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.shield#DisassociateDRTRoleResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.shield#DisassociateHealthCheck": { "type": "operation", @@ -2541,11 +2518,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.shield#DisassociateHealthCheckResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.shield#Double": { "type": "double", @@ -2660,11 +2643,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.shield#EnableApplicationLayerAutomaticResponseResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.shield#EnableProactiveEngagement": { "type": "operation", @@ -2697,11 +2686,17 @@ }, "com.amazonaws.shield#EnableProactiveEngagementRequest": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.shield#EnableProactiveEngagementResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.shield#GetSubscriptionState": { "type": "operation", @@ -2722,7 +2717,10 @@ }, "com.amazonaws.shield#GetSubscriptionStateRequest": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.shield#GetSubscriptionStateResponse": { "type": "structure", @@ -2734,6 +2732,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.shield#HealthCheckArn": { @@ -3005,15 +3006,18 @@ "NextToken": { "target": "com.amazonaws.shield#Token", "traits": { - "smithy.api#documentation": "When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,\n Shield Advanced includes a NextToken
value in the response. You can retrieve the next batch of objects by requesting the list again and\n providing the token that was returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults
\n setting. Shield Advanced will not return more than MaxResults
objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken
value.
On your first call to a list operation, leave this setting empty.
" + "smithy.api#documentation": "When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,\n Shield Advanced includes a NextToken
value in the response. You can retrieve the next batch of objects by requesting the list again and\n providing the token that was returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults
\n setting. Shield Advanced will not return more than MaxResults
objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken
value.
On your first call to a list operation, leave this setting empty.
" } }, "MaxResults": { "target": "com.amazonaws.shield#MaxResults", "traits": { - "smithy.api#documentation": "The greatest number of objects that you want Shield Advanced to return to the list request. Shield Advanced might return fewer objects\n than you indicate in this setting, even if more objects are available. If there are more objects remaining, Shield Advanced will always also return a NextToken
value\n in the response.
The default setting is 20.
" + "smithy.api#documentation": "The greatest number of objects that you want Shield Advanced to return to the list request. Shield Advanced might return fewer objects\n than you indicate in this setting, even if more objects are available. If there are more objects remaining, Shield Advanced will always also return a NextToken
value\n in the response.
The default setting is 20.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.shield#ListAttacksResponse": { @@ -3028,9 +3032,12 @@ "NextToken": { "target": "com.amazonaws.shield#Token", "traits": { - "smithy.api#documentation": "When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,\n Shield Advanced includes a NextToken
value in the response. You can retrieve the next batch of objects by requesting the list again and\n providing the token that was returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults
\n setting. Shield Advanced will not return more than MaxResults
objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken
value.
When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,\n Shield Advanced includes a NextToken
value in the response. You can retrieve the next batch of objects by requesting the list again and\n providing the token that was returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults
\n setting. Shield Advanced will not return more than MaxResults
objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken
value.
When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,\n Shield Advanced includes a NextToken
value in the response. You can retrieve the next batch of objects by requesting the list again and\n providing the token that was returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults
\n setting. Shield Advanced will not return more than MaxResults
objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken
value.
On your first call to a list operation, leave this setting empty.
" + "smithy.api#documentation": "When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,\n Shield Advanced includes a NextToken
value in the response. You can retrieve the next batch of objects by requesting the list again and\n providing the token that was returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults
\n setting. Shield Advanced will not return more than MaxResults
objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken
value.
On your first call to a list operation, leave this setting empty.
" } }, "MaxResults": { "target": "com.amazonaws.shield#MaxResults", "traits": { - "smithy.api#documentation": "The greatest number of objects that you want Shield Advanced to return to the list request. Shield Advanced might return fewer objects\n than you indicate in this setting, even if more objects are available. If there are more objects remaining, Shield Advanced will always also return a NextToken
value\n in the response.
The default setting is 20.
" + "smithy.api#documentation": "The greatest number of objects that you want Shield Advanced to return to the list request. Shield Advanced might return fewer objects\n than you indicate in this setting, even if more objects are available. If there are more objects remaining, Shield Advanced will always also return a NextToken
value\n in the response.
The default setting is 20.
" } }, "InclusionFilters": { @@ -3082,6 +3089,9 @@ "smithy.api#documentation": "Narrows the set of protection groups that the call retrieves. You can retrieve a single protection group by its name and you can retrieve all protection groups that are configured with specific pattern or aggregation settings. You can provide up to one criteria per filter type. Shield Advanced returns the protection groups that exactly match all of the search criteria that you provide.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.shield#ListProtectionGroupsResponse": { @@ -3097,9 +3107,12 @@ "NextToken": { "target": "com.amazonaws.shield#Token", "traits": { - "smithy.api#documentation": "When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,\n Shield Advanced includes a NextToken
value in the response. You can retrieve the next batch of objects by requesting the list again and\n providing the token that was returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults
\n setting. Shield Advanced will not return more than MaxResults
objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken
value.
When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,\n Shield Advanced includes a NextToken
value in the response. You can retrieve the next batch of objects by requesting the list again and\n providing the token that was returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults
\n setting. Shield Advanced will not return more than MaxResults
objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken
value.
When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,\n Shield Advanced includes a NextToken
value in the response. You can retrieve the next batch of objects by requesting the list again and\n providing the token that was returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults
\n setting. Shield Advanced will not return more than MaxResults
objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken
value.
On your first call to a list operation, leave this setting empty.
" + "smithy.api#documentation": "When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,\n Shield Advanced includes a NextToken
value in the response. You can retrieve the next batch of objects by requesting the list again and\n providing the token that was returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults
\n setting. Shield Advanced will not return more than MaxResults
objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken
value.
On your first call to a list operation, leave this setting empty.
" } }, "MaxResults": { "target": "com.amazonaws.shield#MaxResults", "traits": { - "smithy.api#documentation": "The greatest number of objects that you want Shield Advanced to return to the list request. Shield Advanced might return fewer objects\n than you indicate in this setting, even if more objects are available. If there are more objects remaining, Shield Advanced will always also return a NextToken
value\n in the response.
The default setting is 20.
" + "smithy.api#documentation": "The greatest number of objects that you want Shield Advanced to return to the list request. Shield Advanced might return fewer objects\n than you indicate in this setting, even if more objects are available. If there are more objects remaining, Shield Advanced will always also return a NextToken
value\n in the response.
The default setting is 20.
" } }, "InclusionFilters": { @@ -3152,6 +3165,9 @@ "smithy.api#documentation": "Narrows the set of protections that the call retrieves. You can retrieve a single protection by providing its name or the ARN (Amazon Resource Name) of its protected resource. You can also retrieve all protections for a specific resource type. You can provide up to one criteria per filter type. Shield Advanced returns protections that exactly match all of the filter criteria that you provide.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.shield#ListProtectionsResponse": { @@ -3166,9 +3182,12 @@ "NextToken": { "target": "com.amazonaws.shield#Token", "traits": { - "smithy.api#documentation": "When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,\n Shield Advanced includes a NextToken
value in the response. You can retrieve the next batch of objects by requesting the list again and\n providing the token that was returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults
\n setting. Shield Advanced will not return more than MaxResults
objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken
value.
When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,\n Shield Advanced includes a NextToken
value in the response. You can retrieve the next batch of objects by requesting the list again and\n providing the token that was returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults
\n setting. Shield Advanced will not return more than MaxResults
objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken
value.
When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,\n Shield Advanced includes a NextToken
value in the response. You can retrieve the next batch of objects by requesting the list again and\n providing the token that was returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults
\n setting. Shield Advanced will not return more than MaxResults
objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken
value.
On your first call to a list operation, leave this setting empty.
" + "smithy.api#documentation": "When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,\n Shield Advanced includes a NextToken
value in the response. You can retrieve the next batch of objects by requesting the list again and\n providing the token that was returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults
\n setting. Shield Advanced will not return more than MaxResults
objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken
value.
On your first call to a list operation, leave this setting empty.
" } }, "MaxResults": { "target": "com.amazonaws.shield#MaxResults", "traits": { - "smithy.api#documentation": "The greatest number of objects that you want Shield Advanced to return to the list request. Shield Advanced might return fewer objects\n than you indicate in this setting, even if more objects are available. If there are more objects remaining, Shield Advanced will always also return a NextToken
value\n in the response.
The default setting is 20.
" + "smithy.api#documentation": "The greatest number of objects that you want Shield Advanced to return to the list request. Shield Advanced might return fewer objects\n than you indicate in this setting, even if more objects are available. If there are more objects remaining, Shield Advanced will always also return a NextToken
value\n in the response.
The default setting is 20.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.shield#ListResourcesInProtectionGroupResponse": { @@ -3236,9 +3258,12 @@ "NextToken": { "target": "com.amazonaws.shield#Token", "traits": { - "smithy.api#documentation": "When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,\n Shield Advanced includes a NextToken
value in the response. You can retrieve the next batch of objects by requesting the list again and\n providing the token that was returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults
\n setting. Shield Advanced will not return more than MaxResults
objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken
value.
When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,\n Shield Advanced includes a NextToken
value in the response. You can retrieve the next batch of objects by requesting the list again and\n providing the token that was returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults
\n setting. Shield Advanced will not return more than MaxResults
objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken
value.
A list of tag key and value pairs associated with the specified resource.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.shield#LockedSubscriptionException": { @@ -3391,53 +3422,67 @@ } }, "com.amazonaws.shield#ProactiveEngagementStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" - }, - { - "value": "PENDING", - "name": "PENDING" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + }, + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" } - ] + } } }, "com.amazonaws.shield#ProtectedResourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CLOUDFRONT_DISTRIBUTION", - "name": "CLOUDFRONT_DISTRIBUTION" - }, - { - "value": "ROUTE_53_HOSTED_ZONE", - "name": "ROUTE_53_HOSTED_ZONE" - }, - { - "value": "ELASTIC_IP_ALLOCATION", - "name": "ELASTIC_IP_ALLOCATION" - }, - { - "value": "CLASSIC_LOAD_BALANCER", - "name": "CLASSIC_LOAD_BALANCER" - }, - { - "value": "APPLICATION_LOAD_BALANCER", - "name": "APPLICATION_LOAD_BALANCER" - }, - { - "value": "GLOBAL_ACCELERATOR", - "name": "GLOBAL_ACCELERATOR" + "type": "enum", + "members": { + "CLOUDFRONT_DISTRIBUTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLOUDFRONT_DISTRIBUTION" + } + }, + "ROUTE_53_HOSTED_ZONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROUTE_53_HOSTED_ZONE" + } + }, + "ELASTIC_IP_ALLOCATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ELASTIC_IP_ALLOCATION" + } + }, + "CLASSIC_LOAD_BALANCER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLASSIC_LOAD_BALANCER" + } + }, + "APPLICATION_LOAD_BALANCER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "APPLICATION_LOAD_BALANCER" } - ] + }, + "GLOBAL_ACCELERATOR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GLOBAL_ACCELERATOR" + } + } } }, "com.amazonaws.shield#ProtectedResourceTypeFilters": { @@ -3545,22 +3590,26 @@ } }, "com.amazonaws.shield#ProtectionGroupAggregation": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SUM", - "name": "SUM" - }, - { - "value": "MEAN", - "name": "MEAN" - }, - { - "value": "MAX", - "name": "MAX" + "type": "enum", + "members": { + "SUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUM" + } + }, + "MEAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MEAN" + } + }, + "MAX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MAX" } - ] + } } }, "com.amazonaws.shield#ProtectionGroupAggregationFilters": { @@ -3649,22 +3698,26 @@ } }, "com.amazonaws.shield#ProtectionGroupPattern": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ALL", - "name": "ALL" - }, - { - "value": "ARBITRARY", - "name": "ARBITRARY" - }, - { - "value": "BY_RESOURCE_TYPE", - "name": "BY_RESOURCE_TYPE" + "type": "enum", + "members": { + "ALL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALL" + } + }, + "ARBITRARY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ARBITRARY" + } + }, + "BY_RESOURCE_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BY_RESOURCE_TYPE" } - ] + } } }, "com.amazonaws.shield#ProtectionGroupPatternFilters": { @@ -3895,18 +3948,20 @@ } }, "com.amazonaws.shield#SubResourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IP", - "name": "IP" - }, - { - "value": "URL", - "name": "URL" + "type": "enum", + "members": { + "IP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IP" + } + }, + "URL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "URL" } - ] + } } }, "com.amazonaws.shield#Subscription": { @@ -3990,18 +4045,20 @@ } }, "com.amazonaws.shield#SubscriptionState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "INACTIVE", - "name": "INACTIVE" + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" } - ] + }, + "INACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INACTIVE" + } + } } }, "com.amazonaws.shield#SummarizedAttackVector": { @@ -4181,11 +4238,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.shield#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.shield#TagValue": { "type": "string", @@ -4236,26 +4299,32 @@ } }, "com.amazonaws.shield#Unit": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "BITS", - "name": "BITS" - }, - { - "value": "BYTES", - "name": "BYTES" - }, - { - "value": "PACKETS", - "name": "PACKETS" - }, - { - "value": "REQUESTS", - "name": "REQUESTS" + "type": "enum", + "members": { + "BITS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BITS" + } + }, + "BYTES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BYTES" + } + }, + "PACKETS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PACKETS" + } + }, + "REQUESTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REQUESTS" } - ] + } } }, "com.amazonaws.shield#UntagResource": { @@ -4301,11 +4370,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.shield#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.shield#UpdateApplicationLayerAutomaticResponse": { "type": "operation", @@ -4353,11 +4428,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.shield#UpdateApplicationLayerAutomaticResponseResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.shield#UpdateEmergencyContactSettings": { "type": "operation", @@ -4394,11 +4475,17 @@ "smithy.api#documentation": "A list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you if you have proactive engagement enabled, for escalations to the SRT and to initiate proactive customer support.
\nIf you have proactive engagement enabled, the contact list must include at least one phone number.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.shield#UpdateEmergencyContactSettingsResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.shield#UpdateProtectionGroup": { "type": "operation", @@ -4462,11 +4549,17 @@ "smithy.api#documentation": "The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this when you set Pattern
to ARBITRARY
and you must not set it for any other Pattern
setting.
Updates the details of an existing subscription. Only enter values for parameters you want to change. Empty parameters are not updated.
\nFor accounts that are members of an Organizations organization, Shield Advanced subscriptions are billed against the organization's payer account,\n regardless of whether the payer account itself is subscribed.
\nUpdates the details of an existing subscription. Only enter values for parameters you want to change. Empty parameters are not updated.
\nFor accounts that are members of an Organizations organization, Shield Advanced subscriptions are billed against the organization's payer account,\n regardless of whether the payer account itself is subscribed.
\nWhen you initally create a subscription, AutoRenew
is set to ENABLED
. If ENABLED
, the subscription will be automatically renewed at the end of the existing subscription period. You can change this by submitting an UpdateSubscription
request. If the UpdateSubscription
request does not included a value for AutoRenew
, the existing value for AutoRenew
remains unchanged.
Sends a cancel request for a specified task. You can cancel a task only if it's still in a\n QUEUED
state. Tasks that are already running can't be cancelled.
A task might still run if it's processed from the queue before the\n CancelTask
operation changes the task's state.
Instructs one or more devices to start a task, such as unlocking or rebooting.
", "smithy.api#http": { + "code": 200, "method": "POST", - "uri": "/task", - "code": 200 + "uri": "/task" } } }, @@ -316,9 +316,9 @@ "traits": { "smithy.api#documentation": "Checks device-specific information, such as the device type, software version, IP\n addresses, and lock status.
", "smithy.api#http": { + "code": 200, "method": "POST", - "uri": "/managed-device/{managedDeviceId}/describe", - "code": 200 + "uri": "/managed-device/{managedDeviceId}/describe" }, "smithy.api#readonly": {} } @@ -371,9 +371,9 @@ "traits": { "smithy.api#documentation": "Checks the current state of the Amazon EC2 instances. The output is similar to\n describeDevice
, but the results are sourced from the device cache in the\n Amazon Web Services Cloud and include a subset of the available fields.
Checks the status of a remote task running on one or more target devices.
", "smithy.api#http": { + "code": 200, "method": "POST", - "uri": "/task/{taskId}/execution/{managedDeviceId}", - "code": 200 + "uri": "/task/{taskId}/execution/{managedDeviceId}" }, "smithy.api#readonly": {} } @@ -598,9 +598,9 @@ "traits": { "smithy.api#documentation": "Checks the metadata for a given task on a device.
", "smithy.api#http": { + "code": 200, "method": "POST", - "uri": "/task/{taskId}", - "code": 200 + "uri": "/task/{taskId}" }, "smithy.api#readonly": {} } @@ -1117,15 +1117,15 @@ "traits": { "smithy.api#documentation": "Returns a list of the Amazon Web Services resources available for a device. Currently, Amazon EC2 instances are the only supported resource type.
", "smithy.api#http": { + "code": 200, "method": "GET", - "uri": "/managed-device/{managedDeviceId}/resources", - "code": 200 + "uri": "/managed-device/{managedDeviceId}/resources" }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", - "items": "resources", - "pageSize": "maxResults" + "pageSize": "maxResults", + "items": "resources" }, "smithy.api#readonly": {} } @@ -1210,15 +1210,15 @@ "traits": { "smithy.api#documentation": "Returns a list of all devices on your Amazon Web Services account that have Amazon Web Services Snow Device Management\n enabled in the Amazon Web Services Region where the command is run.
", "smithy.api#http": { + "code": 200, "method": "GET", - "uri": "/managed-devices", - "code": 200 + "uri": "/managed-devices" }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", - "items": "devices", - "pageSize": "maxResults" + "pageSize": "maxResults", + "items": "devices" }, "smithy.api#readonly": {} } @@ -1294,15 +1294,15 @@ "traits": { "smithy.api#documentation": "Returns the status of tasks for one or more target devices.
", "smithy.api#http": { + "code": 200, "method": "GET", - "uri": "/executions", - "code": 200 + "uri": "/executions" }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", - "items": "executions", - "pageSize": "maxResults" + "pageSize": "maxResults", + "items": "executions" }, "smithy.api#readonly": {} } @@ -1381,8 +1381,7 @@ "smithy.api#documentation": "Returns a list of tags for a managed device or task.
", "smithy.api#http": { "method": "GET", - "uri": "/tags/{resourceArn}", - "code": 200 + "uri": "/tags/{resourceArn}" }, "smithy.api#readonly": {} } @@ -1436,15 +1435,15 @@ "traits": { "smithy.api#documentation": "Returns a list of tasks that can be filtered by state.
", "smithy.api#http": { + "code": 200, "method": "GET", - "uri": "/tasks", - "code": 200 + "uri": "/tasks" }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", - "items": "tasks", - "pageSize": "maxResults" + "pageSize": "maxResults", + "items": "tasks" }, "smithy.api#readonly": {} } @@ -1515,10 +1514,7 @@ ], "traits": { "aws.api#arn": { - "template": "managed-device/{managedDeviceId}", - "absolute": false, - "noAccount": false, - "noRegion": false + "template": "managed-device/{managedDeviceId}" } } }, @@ -1755,11 +1751,8 @@ ], "traits": { "aws.api#service": { - "sdkId": "Snow Device Management", "arnNamespace": "snow-device-management", - "cloudFormationName": "SnowDeviceManagement", - "cloudTrailEventSource": "snow-device-management.amazonaws.com", - "endpointPrefix": "snow-device-management" + "sdkId": "Snow Device Management" }, "aws.auth#sigv4": { "name": "snow-device-management" @@ -1828,52 +1821,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", @@ -1881,13 +1878,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -1897,224 +1903,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://snow-device-management-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://snow-device-management-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": [ { "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": [], - "endpoint": { - "url": "https://snow-device-management-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://snow-device-management-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://snow-device-management.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://snow-device-management.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://snow-device-management.{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://snow-device-management.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -2129,8 +2086,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2142,8 +2099,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2155,8 +2112,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2168,8 +2125,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2181,8 +2138,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2194,8 +2151,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2207,8 +2164,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2220,8 +2177,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2233,8 +2190,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -2246,8 +2203,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -2259,8 +2216,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -2272,8 +2229,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -2285,8 +2253,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 } }, { @@ -2298,8 +2277,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -2311,8 +2301,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 } }, { @@ -2324,8 +2325,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2337,8 +2338,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2350,8 +2351,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2362,8 +2363,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -2374,10 +2375,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" @@ -2448,8 +2455,7 @@ "smithy.api#documentation": "Adds or replaces tags on a device or task.
", "smithy.api#http": { "method": "POST", - "uri": "/tags/{resourceArn}", - "code": 200 + "uri": "/tags/{resourceArn}" } } }, @@ -2513,10 +2519,7 @@ ], "traits": { "aws.api#arn": { - "template": "task/{taskId}", - "absolute": false, - "noAccount": false, - "noRegion": false + "template": "task/{taskId}" } } }, @@ -2665,8 +2668,7 @@ "smithy.api#documentation": "Removes a tag from a device or task.
", "smithy.api#http": { "method": "DELETE", - "uri": "/tags/{resourceArn}", - "code": 200 + "uri": "/tags/{resourceArn}" }, "smithy.api#idempotent": {} } @@ -2709,4 +2711,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/snowball.json b/codegen/sdk-codegen/aws-models/snowball.json index 57dc68cd1a6..2de997b1ad4 100644 --- a/codegen/sdk-codegen/aws-models/snowball.json +++ b/codegen/sdk-codegen/aws-models/snowball.json @@ -189,52 +189,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", @@ -242,13 +246,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -258,224 +271,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://snowball-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://snowball-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": [ { "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": [], - "endpoint": { - "url": "https://snowball-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://snowball-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://snowball.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://snowball.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://snowball.{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://snowball.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -1457,7 +1421,16 @@ } ], "traits": { - "smithy.api#documentation": "Cancels a cluster job. You can only cancel a cluster job while it's in the\n AwaitingQuorum
status. You'll have at least an hour after creating a cluster\n job to cancel it.
Cancels a cluster job. You can only cancel a cluster job while it's in the\n AwaitingQuorum
status. You'll have at least an hour after creating a cluster\n job to cancel it.
Cancels the specified job. You can only cancel a job before its JobState
\n value changes to PreparingAppliance
. Requesting the ListJobs
or\n DescribeJob
action returns a job's JobState
as part of the\n response element data returned.
Cancels the specified job. You can only cancel a job before its JobState
\n value changes to PreparingAppliance
. Requesting the ListJobs
or\n DescribeJob
action returns a job's JobState
as part of the\n response element data returned.
Creates an address for a Snow device to be shipped to. In most regions,\n addresses are validated at the time of creation. The address you provide must be located\n within the serviceable area of your region. If the address is invalid or unsupported, then an\n exception is thrown.
" + "smithy.api#documentation": "Creates an address for a Snow device to be shipped to. In most regions,\n addresses are validated at the time of creation. The address you provide must be located\n within the serviceable area of your region. If the address is invalid or unsupported, then an\n exception is thrown.
", + "smithy.api#examples": [ + { + "title": "To create an address for a job", + "documentation": "This operation creates an address for a job. Addresses are validated at the time of creation. The address you provide must be located within the serviceable area of your region. If the address is invalid or unsupported, then an exception is thrown.", + "input": { + "Address": { + "City": "Seattle", + "Company": "My Company's Name", + "Country": "USA", + "Name": "My Name", + "PhoneNumber": "425-555-5555", + "PostalCode": "98101", + "StateOrProvince": "WA", + "Street1": "123 Main Street" + } + }, + "output": { + "AddressId": "ADID1234ab12-3eec-4eb3-9be6-9374c10eb51b" + } + } + ] } }, "com.amazonaws.snowball#CreateAddressRequest": { @@ -1836,7 +1839,37 @@ } ], "traits": { - "smithy.api#documentation": "Creates an empty cluster. Each cluster supports five nodes. You use the CreateJob action separately to create the jobs for each of these nodes. The\n cluster does not ship until these five node jobs have been created.
" + "smithy.api#documentation": "Creates an empty cluster. Each cluster supports five nodes. You use the CreateJob action separately to create the jobs for each of these nodes. The\n cluster does not ship until these five node jobs have been created.
", + "smithy.api#examples": [ + { + "title": "To create a cluster", + "documentation": "Creates an empty cluster. Each cluster supports five nodes. You use the CreateJob action separately to create the jobs for each of these nodes. The cluster does not ship until these five node jobs have been created.", + "input": { + "JobType": "LOCAL_USE", + "Resources": { + "S3Resources": [ + { + "BucketArn": "arn:aws:s3:::MyBucket", + "KeyRange": {} + } + ] + }, + "Description": "MyCluster", + "AddressId": "ADID1234ab12-3eec-4eb3-9be6-9374c10eb51b", + "KmsKeyARN": "arn:aws:kms:us-east-1:123456789012:key/abcd1234-12ab-34cd-56ef-123456123456", + "RoleARN": "arn:aws:iam::123456789012:role/snowball-import-S3-role", + "SnowballType": "EDGE", + "ShippingOption": "SECOND_DAY", + "Notification": { + "NotifyAll": false, + "JobStatesToNotify": [] + } + }, + "output": { + "ClusterId": "CID123e4567-e89b-12d3-a456-426655440000" + } + } + ] } }, "com.amazonaws.snowball#CreateClusterRequest": { @@ -2000,7 +2033,38 @@ } ], "traits": { - "smithy.api#documentation": "Creates a job to import or export data between Amazon S3 and your on-premises data\n center. Your Amazon Web Services account must have the right trust policies and permissions in\n place to create a job for a Snow device. If you're creating a job for a node in a cluster, you\n only need to provide the clusterId
value; the other job attributes are inherited\n from the cluster.
Only the Snowball; Edge device type is supported when ordering clustered jobs.
\nThe device capacity is optional.
\nAvailability of device types differ by Amazon Web Services Region. For more information\n about Region availability, see Amazon Web Services Regional Services.
\n\n Snow Family devices and their capacities.\n
\nDevice type: SNC1_SSD\n
\nCapacity: T14
\nDescription: Snowcone
\nDevice type: SNC1_HDD\n
\nCapacity: T8
\nDescription: Snowcone
\nDevice type: EDGE_S\n
\nCapacity: T98
\nDescription: Snowball Edge Storage Optimized for data transfer only
\nDevice type: EDGE_CG\n
\nCapacity: T42
\nDescription: Snowball Edge Compute Optimized with GPU
\nDevice type: EDGE_C\n
\nCapacity: T42
\nDescription: Snowball Edge Compute Optimized without GPU
\nDevice type: EDGE\n
\nCapacity: T100
\nDescription: Snowball Edge Storage Optimized with EC2 Compute
\nThis device is replaced with T98.
\nDevice type: STANDARD\n
\nCapacity: T50
\nDescription: Original Snowball device
\nThis device is only available in the Ningxia, Beijing, and Singapore Amazon Web Services Region\n
\nDevice type: STANDARD\n
\nCapacity: T80
\nDescription: Original Snowball device
\nThis device is only available in the Ningxia, Beijing, and Singapore Amazon Web Services Region.
\nSnow Family device type: RACK_5U_C\n
\nCapacity: T13
\nDescription: Snowblade.
\nDevice type: V3_5S\n
\nCapacity: T240
\nDescription: Snowball Edge Storage Optimized 210TB
\nCreates a job to import or export data between Amazon S3 and your on-premises data\n center. Your Amazon Web Services account must have the right trust policies and permissions in\n place to create a job for a Snow device. If you're creating a job for a node in a cluster, you\n only need to provide the clusterId
value; the other job attributes are inherited\n from the cluster.
Only the Snowball; Edge device type is supported when ordering clustered jobs.
\nThe device capacity is optional.
\nAvailability of device types differ by Amazon Web Services Region. For more information\n about Region availability, see Amazon Web Services Regional Services.
\n\n Snow Family devices and their capacities.\n
\nDevice type: SNC1_SSD\n
\nCapacity: T14
\nDescription: Snowcone
\nDevice type: SNC1_HDD\n
\nCapacity: T8
\nDescription: Snowcone
\nDevice type: EDGE_S\n
\nCapacity: T98
\nDescription: Snowball Edge Storage Optimized for data transfer only
\nDevice type: EDGE_CG\n
\nCapacity: T42
\nDescription: Snowball Edge Compute Optimized with GPU
\nDevice type: EDGE_C\n
\nCapacity: T42
\nDescription: Snowball Edge Compute Optimized without GPU
\nDevice type: EDGE\n
\nCapacity: T100
\nDescription: Snowball Edge Storage Optimized with EC2 Compute
\nThis device is replaced with T98.
\nDevice type: STANDARD\n
\nCapacity: T50
\nDescription: Original Snowball device
\nThis device is only available in the Ningxia, Beijing, and Singapore Amazon Web Services Region\n
\nDevice type: STANDARD\n
\nCapacity: T80
\nDescription: Original Snowball device
\nThis device is only available in the Ningxia, Beijing, and Singapore Amazon Web Services Region.
\nSnow Family device type: RACK_5U_C\n
\nCapacity: T13
\nDescription: Snowblade.
\nDevice type: V3_5S\n
\nCapacity: T240
\nDescription: Snowball Edge Storage Optimized 210TB
\nTakes an AddressId
and returns specific details about that address in the\n form of an Address
object.
Takes an AddressId
and returns specific details about that address in the\n form of an Address
object.
Returns a specified number of ADDRESS
objects. Calling this API in one of\n the US regions will return addresses from the list of all addresses associated with this\n account in all US regions.
Returns a link to an Amazon S3 presigned URL for the manifest file associated with the\n specified JobId
value. You can access the manifest file for up to 60 minutes\n after this request has been made. To access the manifest file after 60 minutes have passed,\n you'll have to make another call to the GetJobManifest
action.
The manifest is an encrypted file that you can download after your job enters the\n WithCustomer
status. This is the only valid status for calling this API as the\n manifest and UnlockCode
code value are used for securing your device and should\n only be used when you have the device. The manifest is decrypted by using the\n UnlockCode
code value, when you pass both values to the Snow device through the\n Snowball client when the client is started for the first time.
As a best practice, we recommend that you don't save a copy of an\n UnlockCode
value in the same location as the manifest file for that job. Saving\n these separately helps prevent unauthorized parties from gaining access to the Snow device\n associated with that job.
The credentials of a given job, including its manifest file and unlock code, expire 360\n days after the job is created.
" + "smithy.api#documentation": "Returns a link to an Amazon S3 presigned URL for the manifest file associated with the\n specified JobId
value. You can access the manifest file for up to 60 minutes\n after this request has been made. To access the manifest file after 60 minutes have passed,\n you'll have to make another call to the GetJobManifest
action.
The manifest is an encrypted file that you can download after your job enters the\n WithCustomer
status. This is the only valid status for calling this API as the\n manifest and UnlockCode
code value are used for securing your device and should\n only be used when you have the device. The manifest is decrypted by using the\n UnlockCode
code value, when you pass both values to the Snow device through the\n Snowball client when the client is started for the first time.
As a best practice, we recommend that you don't save a copy of an\n UnlockCode
value in the same location as the manifest file for that job. Saving\n these separately helps prevent unauthorized parties from gaining access to the Snow device\n associated with that job.
The credentials of a given job, including its manifest file and unlock code, expire 360\n days after the job is created.
", + "smithy.api#examples": [ + { + "title": "To get the manifest for a job you've created for AWS Snowball", + "documentation": "Returns a link to an Amazon S3 presigned URL for the manifest file associated with the specified JobId value. You can access the manifest file for up to 60 minutes after this request has been made. To access the manifest file after 60 minutes have passed, you'll have to make another call to the GetJobManifest action.\n\nThe manifest is an encrypted file that you can download after your job enters the WithCustomer status. The manifest is decrypted by using the UnlockCode code value, when you pass both values to the Snowball through the Snowball client when the client is started for the first time.\n\nAs a best practice, we recommend that you don't save a copy of an UnlockCode value in the same location as the manifest file for that job. Saving these separately helps prevent unauthorized parties from gaining access to the Snowball associated with that job.\n\nThe credentials of a given job, including its manifest file and unlock code, expire 90 days after the job is created.", + "input": { + "JobId": "JID123e4567-e89b-12d3-a456-426655440000" + }, + "output": { + "ManifestURI": "https://awsie-frosty-manifests-prod.s3.amazonaws.com/JID123e4567-e89b-12d3-a456-426655440000_manifest.bin?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20161224T005115Z&X-Amz-SignedHeaders=..." + } + } + ] } }, "com.amazonaws.snowball#GetJobManifestRequest": { @@ -2805,7 +2924,19 @@ } ], "traits": { - "smithy.api#documentation": "Returns the UnlockCode
code value for the specified job. A particular\n UnlockCode
value can be accessed for up to 360 days after the associated job\n has been created.
The UnlockCode
value is a 29-character code with 25 alphanumeric\n characters and 4 hyphens. This code is used to decrypt the manifest file when it is passed\n along with the manifest to the Snow device through the Snowball client when the client is\n started for the first time. The only valid status for calling this API is\n WithCustomer
as the manifest and Unlock
code values are used for\n securing your device and should only be used when you have the device.
As a best practice, we recommend that you don't save a copy of the\n UnlockCode
in the same location as the manifest file for that job. Saving these\n separately helps prevent unauthorized parties from gaining access to the Snow device\n associated with that job.
Returns the UnlockCode
code value for the specified job. A particular\n UnlockCode
value can be accessed for up to 360 days after the associated job\n has been created.
The UnlockCode
value is a 29-character code with 25 alphanumeric\n characters and 4 hyphens. This code is used to decrypt the manifest file when it is passed\n along with the manifest to the Snow device through the Snowball client when the client is\n started for the first time. The only valid status for calling this API is\n WithCustomer
as the manifest and Unlock
code values are used for\n securing your device and should only be used when you have the device.
As a best practice, we recommend that you don't save a copy of the\n UnlockCode
in the same location as the manifest file for that job. Saving these\n separately helps prevent unauthorized parties from gaining access to the Snow device\n associated with that job.
Returns information about the Snow Family service limit for your account, and also the\n number of Snow devices your account has in use.
\nThe default service limit for the number of Snow devices that you can have at one time\n is 1. If you want to increase your service limit, contact Amazon Web Services Support.
" + "smithy.api#documentation": "Returns information about the Snow Family service limit for your account, and also the\n number of Snow devices your account has in use.
\nThe default service limit for the number of Snow devices that you can have at one time\n is 1. If you want to increase your service limit, contact Amazon Web Services Support.
", + "smithy.api#examples": [ + { + "title": "To see your Snowball service limit and the number of Snowballs you have in use", + "documentation": "Returns information about the Snowball service limit for your account, and also the number of Snowballs your account has in use.\n\nThe default service limit for the number of Snowballs that you can have at one time is 1. If you want to increase your service limit, contact AWS Support.", + "output": { + "SnowballLimit": 1, + "SnowballsInUse": 0 + } + } + ] } }, "com.amazonaws.snowball#GetSnowballUsageRequest": { @@ -3870,6 +4011,27 @@ ], "traits": { "smithy.api#documentation": "A list of locations from which the customer can choose to pickup a device.
", + "smithy.api#examples": [ + { + "title": "To get a list of locations from which the customer can choose to pickup a device.", + "documentation": "Returns a specified number of Address objects. Each Address is a pickup location address for Snow Family devices.", + "output": { + "Addresses": [ + { + "City": "Seattle", + "Name": "My Name", + "AddressId": "ADID1234ab12-3eec-4eb3-9be6-9374c10eb51b", + "Street1": "123 Main Street", + "Company": "My Company", + "PhoneNumber": "425-555-5555", + "Country": "US", + "PostalCode": "98101", + "StateOrProvince": "WA" + } + ] + } + } + ], "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -4891,7 +5053,18 @@ } ], "traits": { - "smithy.api#documentation": "While a cluster's ClusterState
value is in the AwaitingQuorum
\n state, you can update some of the information associated with a cluster. Once the cluster\n changes to a different job state, usually 60 minutes after the cluster being created, this\n action is no longer available.
While a cluster's ClusterState
value is in the AwaitingQuorum
\n state, you can update some of the information associated with a cluster. Once the cluster\n changes to a different job state, usually 60 minutes after the cluster being created, this\n action is no longer available.
While a job's JobState
value is New
, you can update some of\n the information associated with a job. Once the job changes to a different job state, usually\n within 60 minutes of the job being created, this action is no longer available.
While a job's JobState
value is New
, you can update some of\n the information associated with a job. Once the job changes to a different job state, usually\n within 60 minutes of the job being created, this action is no longer available.
A list of the calling account's verified and pending origination numbers.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.sns#ListPhoneNumbersOptedOut": { @@ -3107,6 +3133,9 @@ "smithy.api#documentation": "A NextToken
string is returned when you call the\n ListSMSSandboxPhoneNumbersInput
operation if additional pages of\n records are available.
The destination phone number's verification status.
" + "smithy.api#documentation": "The destination phone number's verification status.
", + "smithy.api#output": {} } }, "com.amazonaws.sns#account": { diff --git a/codegen/sdk-codegen/aws-models/sqs.json b/codegen/sdk-codegen/aws-models/sqs.json index 233b0853b67..dbbdbed91ce 100644 --- a/codegen/sdk-codegen/aws-models/sqs.json +++ b/codegen/sdk-codegen/aws-models/sqs.json @@ -250,52 +250,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", @@ -303,13 +307,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -319,92 +332,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://sqs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://sqs-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -413,155 +417,115 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws-us-gov", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsFIPS" + "name" ] } ] } ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://sqs.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [], - "endpoint": { - "url": "https://sqs-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "endpoint": { + "url": "https://sqs.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://sqs-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://sqs.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://sqs.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://sqs.{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://sqs.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/ssm-contacts.json b/codegen/sdk-codegen/aws-models/ssm-contacts.json index 558db870962..7746181ae04 100644 --- a/codegen/sdk-codegen/aws-models/ssm-contacts.json +++ b/codegen/sdk-codegen/aws-models/ssm-contacts.json @@ -134,7 +134,10 @@ }, "com.amazonaws.ssmcontacts#AcceptPageResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.ssmcontacts#AcceptType": { "type": "enum", @@ -222,7 +225,10 @@ }, "com.amazonaws.ssmcontacts#ActivateContactChannelResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.ssmcontacts#ActivationCode": { "type": "string", @@ -686,6 +692,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssmcontacts#CreateContactRequest": { @@ -746,6 +755,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssmcontacts#CreateRotation": { @@ -864,6 +876,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssmcontacts#CreateRotationRequest": { @@ -930,6 +945,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssmcontacts#DailySettings": { @@ -1059,7 +1077,10 @@ }, "com.amazonaws.ssmcontacts#DeactivateContactChannelResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.ssmcontacts#DeferActivation": { "type": "boolean" @@ -1142,7 +1163,10 @@ }, "com.amazonaws.ssmcontacts#DeleteContactChannelResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.ssmcontacts#DeleteContactRequest": { "type": "structure", @@ -1161,7 +1185,10 @@ }, "com.amazonaws.ssmcontacts#DeleteContactResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.ssmcontacts#DeleteRotation": { "type": "operation", @@ -1248,7 +1275,10 @@ }, "com.amazonaws.ssmcontacts#DeleteRotationOverrideResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.ssmcontacts#DeleteRotationRequest": { "type": "structure", @@ -1267,7 +1297,10 @@ }, "com.amazonaws.ssmcontacts#DeleteRotationResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.ssmcontacts#DependentEntity": { "type": "structure", @@ -1412,6 +1445,9 @@ "smithy.api#documentation": "The time that the engagement ended.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssmcontacts#DescribePage": { @@ -1542,6 +1578,9 @@ "smithy.api#documentation": "The time that the contact channel received the engagement.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssmcontacts#Engagement": { @@ -1720,6 +1759,9 @@ "smithy.api#documentation": "A Boolean value indicating if the contact channel has been activated or not.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssmcontacts#GetContactPolicy": { @@ -1781,6 +1823,9 @@ "smithy.api#documentation": "Details about the resource policy attached to the contact or escalation plan.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssmcontacts#GetContactRequest": { @@ -1835,6 +1880,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssmcontacts#GetRotation": { @@ -1956,6 +2004,9 @@ "smithy.api#documentation": "The date and time when the override was created.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssmcontacts#GetRotationRequest": { @@ -2018,6 +2069,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssmcontacts#HandOffTime": { @@ -2182,6 +2236,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssmcontacts#ListContacts": { @@ -2263,6 +2320,9 @@ "smithy.api#documentation": "A list of the contacts and escalation plans in your Incident Manager account.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssmcontacts#ListEngagements": { @@ -2345,6 +2405,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssmcontacts#ListPageReceipts": { @@ -2424,6 +2487,9 @@ "smithy.api#documentation": "A list of each acknowledgement.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssmcontacts#ListPageResolutions": { @@ -2497,6 +2563,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssmcontacts#ListPagesByContact": { @@ -2577,6 +2646,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssmcontacts#ListPagesByEngagement": { @@ -2657,6 +2729,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssmcontacts#ListPreviewRotationShifts": { @@ -2772,6 +2847,9 @@ "smithy.api#documentation": "The token for the next set of items to return. This token is used to get the next set of\n results.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssmcontacts#ListRotationOverrides": { @@ -2865,6 +2943,9 @@ "smithy.api#documentation": "The token for the next set of items to return. Use this token to get the next set of\n results.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssmcontacts#ListRotationShifts": { @@ -2960,6 +3041,9 @@ "smithy.api#documentation": "The token for the next set of items to return. Use this token to get the next set of\n results.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssmcontacts#ListRotations": { @@ -3039,6 +3123,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssmcontacts#ListTagsForResource": { @@ -3094,6 +3181,9 @@ "smithy.api#documentation": "The tags related to the contact or escalation plan.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssmcontacts#MaxResults": { @@ -3375,7 +3465,10 @@ }, "com.amazonaws.ssmcontacts#PutContactPolicyResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.ssmcontacts#Receipt": { "type": "structure", @@ -3998,52 +4091,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", @@ -4051,13 +4148,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -4067,224 +4173,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://ssm-contacts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://ssm-contacts-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": [ { "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": [], - "endpoint": { - "url": "https://ssm-contacts-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://ssm-contacts-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://ssm-contacts.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://ssm-contacts.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://ssm-contacts.{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://ssm-contacts.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -4299,8 +4356,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -4312,8 +4369,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -4325,8 +4382,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -4338,8 +4395,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4351,8 +4408,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -4364,8 +4421,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -4377,8 +4434,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -4390,8 +4447,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4403,8 +4460,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -4416,8 +4473,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -4429,8 +4486,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -4442,8 +4499,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -4455,8 +4523,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 } }, { @@ -4468,8 +4547,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -4481,8 +4571,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 } }, { @@ -4494,8 +4595,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4507,8 +4608,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -4520,8 +4621,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -4532,8 +4633,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -4544,10 +4645,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" @@ -4606,7 +4713,10 @@ }, "com.amazonaws.ssmcontacts#SendActivationCodeResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.ssmcontacts#Sender": { "type": "string", @@ -4882,6 +4992,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssmcontacts#StopEngagement": { @@ -4936,7 +5049,10 @@ }, "com.amazonaws.ssmcontacts#StopEngagementResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.ssmcontacts#StopReason": { "type": "string", @@ -5059,7 +5175,10 @@ }, "com.amazonaws.ssmcontacts#TagResourceResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.ssmcontacts#TagValue": { "type": "string", @@ -5228,7 +5347,10 @@ }, "com.amazonaws.ssmcontacts#UntagResourceResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.ssmcontacts#UpdateContact": { "type": "operation", @@ -5329,7 +5451,10 @@ }, "com.amazonaws.ssmcontacts#UpdateContactChannelResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.ssmcontacts#UpdateContactRequest": { "type": "structure", @@ -5360,7 +5485,10 @@ }, "com.amazonaws.ssmcontacts#UpdateContactResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.ssmcontacts#UpdateRotation": { "type": "operation", @@ -5436,7 +5564,10 @@ }, "com.amazonaws.ssmcontacts#UpdateRotationResult": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.ssmcontacts#Uuid": { "type": "string", diff --git a/codegen/sdk-codegen/aws-models/ssm-incidents.json b/codegen/sdk-codegen/aws-models/ssm-incidents.json index 64f4f89e7bb..755e53aac99 100644 --- a/codegen/sdk-codegen/aws-models/ssm-incidents.json +++ b/codegen/sdk-codegen/aws-models/ssm-incidents.json @@ -3381,52 +3381,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", @@ -3434,13 +3438,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -3450,224 +3463,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://ssm-incidents-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://ssm-incidents-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": [ { "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": [], - "endpoint": { - "url": "https://ssm-incidents-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://ssm-incidents-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://ssm-incidents.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://ssm-incidents.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://ssm-incidents.{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://ssm-incidents.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -3681,9 +3645,9 @@ } }, "params": { + "Region": "ap-northeast-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-1" + "UseDualStack": false } }, { @@ -3694,9 +3658,9 @@ } }, "params": { + "Region": "ap-northeast-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-2" + "UseDualStack": false } }, { @@ -3707,9 +3671,9 @@ } }, "params": { + "Region": "ap-south-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-south-1" + "UseDualStack": false } }, { @@ -3720,9 +3684,9 @@ } }, "params": { + "Region": "ap-southeast-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-1" + "UseDualStack": false } }, { @@ -3733,9 +3697,9 @@ } }, "params": { + "Region": "ap-southeast-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-2" + "UseDualStack": false } }, { @@ -3746,9 +3710,9 @@ } }, "params": { + "Region": "ca-central-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ca-central-1" + "UseDualStack": false } }, { @@ -3759,9 +3723,9 @@ } }, "params": { + "Region": "eu-central-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-central-1" + "UseDualStack": false } }, { @@ -3772,9 +3736,9 @@ } }, "params": { + "Region": "eu-north-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-north-1" + "UseDualStack": false } }, { @@ -3785,9 +3749,9 @@ } }, "params": { + "Region": "eu-west-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-1" + "UseDualStack": false } }, { @@ -3798,9 +3762,9 @@ } }, "params": { + "Region": "eu-west-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-2" + "UseDualStack": false } }, { @@ -3811,9 +3775,9 @@ } }, "params": { + "Region": "eu-west-3", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-3" + "UseDualStack": false } }, { @@ -3824,9 +3788,9 @@ } }, "params": { + "Region": "sa-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "sa-east-1" + "UseDualStack": false } }, { @@ -3837,9 +3801,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -3850,9 +3814,9 @@ } }, "params": { + "Region": "us-east-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-east-2" + "UseDualStack": false } }, { @@ -3863,9 +3827,9 @@ } }, "params": { + "Region": "us-west-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-1" + "UseDualStack": false } }, { @@ -3876,9 +3840,9 @@ } }, "params": { + "Region": "us-west-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-2" + "UseDualStack": false } }, { @@ -3889,9 +3853,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -3902,9 +3866,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -3915,9 +3879,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -3928,9 +3892,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -3941,9 +3905,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -3954,9 +3918,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -3967,9 +3931,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -3980,9 +3944,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -3993,9 +3957,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -4006,9 +3970,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -4019,9 +3983,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -4030,9 +3994,9 @@ "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, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { @@ -4043,9 +4007,9 @@ } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { @@ -4054,9 +4018,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { @@ -4067,9 +4031,9 @@ } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { @@ -4078,9 +4042,9 @@ "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, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -4091,9 +4055,9 @@ } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -4102,9 +4066,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "Region": "us-isob-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -4115,9 +4079,9 @@ } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -4128,9 +4092,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -4153,9 +4117,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -4165,9 +4129,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, diff --git a/codegen/sdk-codegen/aws-models/ssm-sap.json b/codegen/sdk-codegen/aws-models/ssm-sap.json index 0b61cc03fbe..f4b11d866dc 100644 --- a/codegen/sdk-codegen/aws-models/ssm-sap.json +++ b/codegen/sdk-codegen/aws-models/ssm-sap.json @@ -2682,53 +2682,53 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://ssm-sap-fips.us-gov-east-1.api.aws" + "url": "https://ssm-sap-fips.us-east-1.api.aws" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-east-1", "UseFIPS": true, "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm-sap-fips.us-gov-east-1.amazonaws.com" + "url": "https://ssm-sap-fips.us-east-1.amazonaws.com" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://ssm-sap.us-gov-east-1.api.aws" + "url": "https://ssm-sap.us-east-1.api.aws" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm-sap.us-gov-east-1.amazonaws.com" + "url": "https://ssm-sap.us-east-1.amazonaws.com" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false } @@ -2786,101 +2786,101 @@ } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://ssm-sap-fips.us-gov-east-1.api.aws" + } }, "params": { - "Region": "us-iso-east-1", + "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm-sap-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://ssm-sap-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "Region": "us-iso-east-1", + "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://ssm-sap.us-gov-east-1.api.aws" + } }, "params": { - "Region": "us-iso-east-1", + "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm-sap.us-iso-east-1.c2s.ic.gov" + "url": "https://ssm-sap.us-gov-east-1.amazonaws.com" } }, "params": { - "Region": "us-iso-east-1", + "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://ssm-sap-fips.us-east-1.api.aws" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "Region": "us-east-1", + "Region": "us-iso-east-1", "UseFIPS": true, "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm-sap-fips.us-east-1.amazonaws.com" + "url": "https://ssm-sap-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "Region": "us-east-1", + "Region": "us-iso-east-1", "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://ssm-sap.us-east-1.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "Region": "us-east-1", + "Region": "us-iso-east-1", "UseFIPS": false, "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ssm-sap.us-east-1.amazonaws.com" + "url": "https://ssm-sap.us-iso-east-1.c2s.ic.gov" } }, "params": { - "Region": "us-east-1", + "Region": "us-iso-east-1", "UseFIPS": false, "UseDualStack": false } @@ -2934,7 +2934,7 @@ } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" @@ -2947,6 +2947,19 @@ "Endpoint": "https://example.com" } }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, { "documentation": "For custom endpoint with fips enabled and dualstack disabled", "expect": { @@ -2970,6 +2983,12 @@ "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/codegen/sdk-codegen/aws-models/ssm.json b/codegen/sdk-codegen/aws-models/ssm.json index 9528457e18a..64f34d8b7de 100644 --- a/codegen/sdk-codegen/aws-models/ssm.json +++ b/codegen/sdk-codegen/aws-models/ssm.json @@ -892,52 +892,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", @@ -945,13 +949,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -961,92 +974,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://ssm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://ssm-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -1055,155 +1059,115 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws-us-gov", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsFIPS" + "name" ] } ] } ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://ssm.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [], - "endpoint": { - "url": "https://ssm-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "endpoint": { + "url": "https://ssm.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://ssm-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://ssm.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://ssm.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://ssm.{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://ssm.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/sso-oidc.json b/codegen/sdk-codegen/aws-models/sso-oidc.json index 937b357dc30..e71cdd4a717 100644 --- a/codegen/sdk-codegen/aws-models/sso-oidc.json +++ b/codegen/sdk-codegen/aws-models/sso-oidc.json @@ -55,7 +55,7 @@ "name": "awsssooidc" }, "aws.protocols#restJson1": {}, - "smithy.api#documentation": "AWS IAM Identity Center (successor to AWS Single Sign-On) OpenID Connect (OIDC) is a web service that enables a client (such as AWS CLI\n or a native application) to register with IAM Identity Center. The service also enables the client to\n fetch the user’s access token upon successful authentication and authorization with\n IAM Identity Center.
\nAlthough AWS Single Sign-On was renamed, the sso
and\n identitystore
API namespaces will continue to retain their original name for\n backward compatibility purposes. For more information, see IAM Identity Center rename.
\n Considerations for Using This Guide\n
\nBefore you begin using this guide, we recommend that you first review the following\n important information about how the IAM Identity Center OIDC service works.
\nThe IAM Identity Center OIDC service currently implements only the portions of the OAuth 2.0\n Device Authorization Grant standard (https://tools.ietf.org/html/rfc8628) that are necessary to enable single\n sign-on authentication with the AWS CLI. Support for other OIDC flows frequently needed\n for native applications, such as Authorization Code Flow (+ PKCE), will be addressed in\n future releases.
\nThe service emits only OIDC access tokens, such that obtaining a new token (For\n example, token refresh) requires explicit user re-authentication.
\nThe access tokens provided by this service grant access to all AWS account\n entitlements assigned to an IAM Identity Center user, not just a particular application.
\nThe documentation in this guide does not describe the mechanism to convert the access\n token into AWS Auth (“sigv4”) credentials for use with IAM-protected AWS service\n endpoints. For more information, see GetRoleCredentials in the IAM Identity Center Portal API Reference\n Guide.
\nFor general information about IAM Identity Center, see What is\n IAM Identity Center? in the IAM Identity Center User Guide.
", + "smithy.api#documentation": "AWS IAM Identity Center (successor to AWS Single Sign-On) OpenID Connect (OIDC) is a web service that enables a client (such as AWS CLI\n or a native application) to register with IAM Identity Center. The service also enables the client to\n fetch the user’s access token upon successful authentication and authorization with\n IAM Identity Center.
\nAlthough AWS Single Sign-On was renamed, the sso
and\n identitystore
API namespaces will continue to retain their original name for\n backward compatibility purposes. For more information, see IAM Identity Center rename.
\n Considerations for Using This Guide\n
\nBefore you begin using this guide, we recommend that you first review the following\n important information about how the IAM Identity Center OIDC service works.
\nThe IAM Identity Center OIDC service currently implements only the portions of the OAuth 2.0\n Device Authorization Grant standard (https://tools.ietf.org/html/rfc8628) that are necessary to enable single\n sign-on authentication with the AWS CLI. Support for other OIDC flows frequently needed\n for native applications, such as Authorization Code Flow (+ PKCE), will be addressed in\n future releases.
\nThe service emits only OIDC access tokens, such that obtaining a new token (For\n example, token refresh) requires explicit user re-authentication.
\nThe access tokens provided by this service grant access to all AWS account\n entitlements assigned to an IAM Identity Center user, not just a particular application.
\nThe documentation in this guide does not describe the mechanism to convert the access\n token into AWS Auth (“sigv4”) credentials for use with IAM-protected AWS service\n endpoints. For more information, see GetRoleCredentials in the IAM Identity Center Portal API Reference\n Guide.
\nFor general information about IAM Identity Center, see What is\n IAM Identity Center? in the IAM Identity Center User Guide.
", "smithy.api#title": "AWS SSO OIDC", "smithy.rules#endpointRuleSet": { "version": "1.0", @@ -117,52 +117,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", @@ -170,639 +174,200 @@ { "conditions": [ { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "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", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://oidc-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": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://oidc-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": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://oidc.{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" - }, - "ap-east-1" - ] - } - ], - "endpoint": { - "url": "https://oidc.ap-east-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "ap-northeast-1" - ] - } - ], - "endpoint": { - "url": "https://oidc.ap-northeast-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "ap-northeast-2" - ] - } - ], - "endpoint": { - "url": "https://oidc.ap-northeast-2.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "ap-northeast-3" - ] - } - ], - "endpoint": { - "url": "https://oidc.ap-northeast-3.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "ap-south-1" - ] - } - ], - "endpoint": { - "url": "https://oidc.ap-south-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "ap-southeast-1" - ] - } - ], - "endpoint": { - "url": "https://oidc.ap-southeast-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "ap-southeast-2" - ] - } - ], - "endpoint": { - "url": "https://oidc.ap-southeast-2.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "ca-central-1" - ] - } - ], - "endpoint": { - "url": "https://oidc.ca-central-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "eu-central-1" - ] - } - ], - "endpoint": { - "url": "https://oidc.eu-central-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "eu-north-1" - ] - } - ], - "endpoint": { - "url": "https://oidc.eu-north-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "eu-south-1" - ] - } - ], - "endpoint": { - "url": "https://oidc.eu-south-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "eu-west-1" - ] - } - ], - "endpoint": { - "url": "https://oidc.eu-west-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "eu-west-2" - ] - } - ], - "endpoint": { - "url": "https://oidc.eu-west-2.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "eu-west-3" - ] - } - ], - "endpoint": { - "url": "https://oidc.eu-west-3.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "me-south-1" - ] - } - ], - "endpoint": { - "url": "https://oidc.me-south-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "sa-east-1" - ] - } - ], - "endpoint": { - "url": "https://oidc.sa-east-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "us-east-1" - ] - } - ], - "endpoint": { - "url": "https://oidc.us-east-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "ref": "UseDualStack" }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ + true, { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "ref": "Region" + "ref": "PartitionResult" }, - "us-east-2" + "supportsFIPS" ] } - ], - "endpoint": { - "url": "https://oidc.us-east-2.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + ] }, { - "conditions": [ + "fn": "booleanEquals", + "argv": [ + true, { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "ref": "Region" + "ref": "PartitionResult" }, - "us-west-2" + "supportsDualStack" ] } - ], + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], "endpoint": { - "url": "https://oidc.us-west-2.amazonaws.com", + "url": "https://oidc-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" ] } - ], + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], "endpoint": { - "url": "https://oidc.us-gov-east-1.amazonaws.com", + "url": "https://oidc-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-gov-west-1" + "supportsDualStack" ] } - ], - "endpoint": { - "url": "https://oidc.us-gov-west-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [], "endpoint": { - "url": "https://oidc.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://oidc.{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://oidc.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -817,8 +382,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -830,8 +395,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -843,8 +408,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -856,8 +421,8 @@ }, "params": { "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -869,8 +434,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -882,8 +447,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -895,8 +460,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -908,8 +473,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -921,8 +486,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -934,8 +499,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -947,8 +512,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -960,8 +525,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -973,8 +538,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -986,8 +551,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -999,8 +564,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1012,8 +577,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1025,8 +590,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1038,8 +603,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1051,8 +616,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1064,8 +629,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1077,8 +642,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1090,8 +655,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1103,8 +668,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1116,8 +681,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1129,8 +694,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1142,8 +707,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1155,8 +720,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1168,8 +733,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1181,8 +746,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1194,8 +759,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1207,8 +772,19 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "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 } }, { @@ -1220,8 +796,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 } }, { @@ -1233,8 +820,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -1246,8 +844,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 } }, { @@ -1259,8 +868,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1272,8 +881,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1285,8 +894,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1297,8 +906,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1309,10 +918,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" @@ -1443,7 +1058,7 @@ "grantType": { "target": "com.amazonaws.ssooidc#GrantType", "traits": { - "smithy.api#documentation": "Supports grant types for the authorization code, refresh token, and device code request.\n For device code requests, specify the following value:
\n\n\n urn:ietf:params:oauth:grant-type:device_code\n
\n
For information about how to obtain the device code, see the StartDeviceAuthorization topic.
", + "smithy.api#documentation": "Supports grant types for the authorization code, refresh token, and device code request.\n For device code requests, specify the following value:
\n\n urn:ietf:params:oauth:grant-type:device_code\n
\n
For information about how to obtain the device code, see the StartDeviceAuthorization topic.
", "smithy.api#required": {} } }, @@ -1477,6 +1092,9 @@ "smithy.api#documentation": "The location of the application that will receive the authorization code. Users authorize\n the service to send the request to this location.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssooidc#CreateTokenResponse": { @@ -1513,6 +1131,9 @@ "smithy.api#documentation": "Currently, idToken
is not yet implemented and is not supported. For more\n information about the features and limitations of the current IAM Identity Center OIDC implementation,\n see Considerations for Using this Guide in the IAM Identity Center\n OIDC API Reference.
The identifier of the user that associated with the access token, if present.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssooidc#DeviceCode": { @@ -1719,6 +1340,9 @@ "smithy.api#documentation": "The list of scopes that are defined by the client. Upon authorization, this list is used\n to restrict permissions when granting an access token.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssooidc#RegisterClientResponse": { @@ -1762,6 +1386,9 @@ "smithy.api#documentation": "The endpoint where the client can get an access token.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssooidc#Scope": { @@ -1849,6 +1476,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ssooidc#StartDeviceAuthorizationResponse": { @@ -1892,6 +1522,9 @@ "smithy.api#documentation": "Indicates the number of seconds the client must wait between attempts when polling for a\n session.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ssooidc#TokenType": { diff --git a/codegen/sdk-codegen/aws-models/sso.json b/codegen/sdk-codegen/aws-models/sso.json index 474fc293424..9804c216731 100644 --- a/codegen/sdk-codegen/aws-models/sso.json +++ b/codegen/sdk-codegen/aws-models/sso.json @@ -154,6 +154,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.sso#GetRoleCredentialsResponse": { @@ -165,6 +168,9 @@ "smithy.api#documentation": "The credentials for the role that is assigned to the user.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.sso#InvalidRequestException": { @@ -252,6 +258,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.sso#ListAccountRolesResponse": { @@ -269,6 +278,9 @@ "smithy.api#documentation": "A paginated response with the list of roles and the next token if more results are\n available.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.sso#ListAccounts": { @@ -335,6 +347,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.sso#ListAccountsResponse": { @@ -352,6 +367,9 @@ "smithy.api#documentation": "A paginated response with the list of account information and the next token if more\n results are available.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.sso#Logout": { @@ -375,7 +393,7 @@ ], "traits": { "smithy.api#auth": [], - "smithy.api#documentation": "Removes the locally stored SSO tokens from the client-side cache and sends an API call to\n the IAM Identity Center service to invalidate the corresponding server-side IAM Identity Center sign in\n session.
\n\nIf a user uses IAM Identity Center to access the AWS CLI, the user’s IAM Identity Center sign in session is\n used to obtain an IAM session, as specified in the corresponding IAM Identity Center permission set.\n More specifically, IAM Identity Center assumes an IAM role in the target account on behalf of the user,\n and the corresponding temporary AWS credentials are returned to the client.
\n\nAfter user logout, any existing IAM role sessions that were created by using IAM Identity Center\n permission sets continue based on the duration configured in the permission set.\n For more information, see User\n authentications in the IAM Identity Center User\n Guide.
\nRemoves the locally stored SSO tokens from the client-side cache and sends an API call to\n the IAM Identity Center service to invalidate the corresponding server-side IAM Identity Center sign in\n session.
\nIf a user uses IAM Identity Center to access the AWS CLI, the user’s IAM Identity Center sign in session is\n used to obtain an IAM session, as specified in the corresponding IAM Identity Center permission set.\n More specifically, IAM Identity Center assumes an IAM role in the target account on behalf of the user,\n and the corresponding temporary AWS credentials are returned to the client.
\nAfter user logout, any existing IAM role sessions that were created by using IAM Identity Center\n permission sets continue based on the duration configured in the permission set.\n For more information, see User\n authentications in the IAM Identity Center User\n Guide.
\nAWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to\n IAM Identity Center resources such as the AWS access portal. Users can get AWS account applications and roles\n assigned to them and get federated into the application.
\n\nAlthough AWS Single Sign-On was renamed, the sso
and\n identitystore
API namespaces will continue to retain their original name for\n backward compatibility purposes. For more information, see IAM Identity Center rename.
This reference guide describes the IAM Identity Center Portal operations that you can call\n programatically and includes detailed information on data types and errors.
\n\nAWS provides SDKs that consist of libraries and sample code for various programming\n languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs provide a\n convenient way to create programmatic access to IAM Identity Center and other AWS services. For more\n information about the AWS SDKs, including how to download and install them, see Tools for Amazon Web Services.
\nAWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to\n IAM Identity Center resources such as the AWS access portal. Users can get AWS account applications and roles\n assigned to them and get federated into the application.
\nAlthough AWS Single Sign-On was renamed, the sso
and\n identitystore
API namespaces will continue to retain their original name for\n backward compatibility purposes. For more information, see IAM Identity Center rename.
This reference guide describes the IAM Identity Center Portal operations that you can call\n programatically and includes detailed information on data types and errors.
\nAWS provides SDKs that consist of libraries and sample code for various programming\n languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs provide a\n convenient way to create programmatic access to IAM Identity Center and other AWS services. For more\n information about the AWS SDKs, including how to download and install them, see Tools for Amazon Web Services.
\nActivates the gateway you previously deployed on your host. In the activation process,\n you specify information such as the Amazon Web Services Region that you want to use for\n storing snapshots or tapes, the time zone for scheduled snapshots the gateway snapshot\n schedule window, an activation key, and a name for your gateway. The activation process\n also associates your gateway with your account. For more information, see UpdateGatewayInformation.
\nYou must turn on the gateway VM before you can activate your gateway.
\nActivates the gateway you previously deployed on your host. In the activation process,\n you specify information such as the Amazon Web Services Region that you want to use for\n storing snapshots or tapes, the time zone for scheduled snapshots the gateway snapshot\n schedule window, an activation key, and a name for your gateway. The activation process\n also associates your gateway with your account. For more information, see UpdateGatewayInformation.
\nYou must turn on the gateway VM before you can activate your gateway.
\nYour gateway activation key. You can obtain the activation key by sending an HTTP GET\n request with redirects enabled to the gateway IP address (port 80). The redirect URL\n returned in the response provides you the activation key for your gateway in the query\n string parameter activationKey
. It may also include other activation-related\n parameters, however, these are merely defaults -- the arguments you pass to the\n ActivateGateway
API call determine the actual configuration of your\n gateway.
For more information, see Getting activation\n key in the Storage Gateway User Guide.
", + "smithy.api#documentation": "Your gateway activation key. You can obtain the activation key by sending an HTTP GET\n request with redirects enabled to the gateway IP address (port 80). The redirect URL\n returned in the response provides you the activation key for your gateway in the query\n string parameter activationKey
. It may also include other activation-related\n parameters, however, these are merely defaults -- the arguments you pass to the\n ActivateGateway
API call determine the actual configuration of your\n gateway.
For more information, see Getting activation\n key in the Storage Gateway User Guide.
", "smithy.api#required": {} } }, @@ -76,37 +94,38 @@ "GatewayRegion": { "target": "com.amazonaws.storagegateway#RegionId", "traits": { - "smithy.api#documentation": "A value that indicates the Amazon Web Services Region where you want to store your data.\n The gateway Amazon Web Services Region specified must be the same Amazon Web Services Region\n as the Amazon Web Services Region in your Host
header in the request. For more\n information about available Amazon Web Services Regions and endpoints for Storage Gateway, see \n Storage Gateway endpoints and quotas in the Amazon Web Services\n General Reference.
Valid Values: See \n Storage Gateway endpoints and quotas in the Amazon Web Services\n General Reference.\n \n
", + "smithy.api#documentation": "A value that indicates the Amazon Web Services Region where you want to store your data.\n The gateway Amazon Web Services Region specified must be the same Amazon Web Services Region\n as the Amazon Web Services Region in your Host
header in the request. For more\n information about available Amazon Web Services Regions and endpoints for Storage Gateway, see \n Storage Gateway endpoints and quotas in the Amazon Web Services\n General Reference.
Valid Values: See \n Storage Gateway endpoints and quotas in the Amazon Web Services\n General Reference.\n \n
", "smithy.api#required": {} } }, "GatewayType": { "target": "com.amazonaws.storagegateway#GatewayType", "traits": { - "smithy.api#documentation": "A value that defines the type of gateway to activate. The type specified is critical to\n all later functions of the gateway and cannot be changed after activation. The default\n value is CACHED
.
Valid Values: STORED
| CACHED
| VTL
|\n VTL_SNOW
| FILE_S3
| FILE_FSX_SMB
\n
A value that defines the type of gateway to activate. The type specified is critical to\n all later functions of the gateway and cannot be changed after activation. The default\n value is CACHED
.
Valid Values: STORED
| CACHED
| VTL
|\n VTL_SNOW
| FILE_S3
| FILE_FSX_SMB
\n
The value that indicates the type of tape drive to use for tape gateway. This field is\n optional.
\n\nValid Values: IBM-ULT3580-TD5
\n
The value that indicates the type of tape drive to use for tape gateway. This field is\n optional.
\nValid Values: IBM-ULT3580-TD5
\n
The value that indicates the type of medium changer to use for tape gateway. This field\n is optional.
\n\nValid Values: STK-L700
| AWS-Gateway-VTL
|\n IBM-03584L32-0402
\n
The value that indicates the type of medium changer to use for tape gateway. This field\n is optional.
\nValid Values: STK-L700
| AWS-Gateway-VTL
|\n IBM-03584L32-0402
\n
A list of up to 50 tags that you can assign to the gateway. Each tag is a key-value\n pair.
\n\nValid characters for key and value are letters, spaces, and numbers that can be\n represented in UTF-8 format, and the following special characters: + - = . _ : / @. The\n maximum length of a tag's key is 128 characters, and the maximum length for a\n tag's value is 256 characters.
\nA list of up to 50 tags that you can assign to the gateway. Each tag is a key-value\n pair.
\nValid characters for key and value are letters, spaces, and numbers that can be\n represented in UTF-8 format, and the following special characters: + - = . _ : / @. The\n maximum length of a tag's key is 128 characters, and the maximum length for a\n tag's value is 256 characters.
\nA JSON object containing one or more of the following fields:
\n\nA JSON object containing one or more of the following fields:
\nStorage Gateway returns the Amazon Resource Name (ARN) of the activated gateway. It\n is a string made of information such as your account, gateway name, and Amazon Web Services Region. This ARN is used to reference the gateway in other API operations as\n well as resource-based authorization.
\n\nFor gateways activated prior to September 02, 2015, the gateway ARN contains the\n gateway name rather than the gateway ID. Changing the name of the gateway has no effect\n on the gateway ARN.
\nStorage Gateway returns the Amazon Resource Name (ARN) of the activated gateway. It\n is a string made of information such as your account, gateway name, and Amazon Web Services Region. This ARN is used to reference the gateway in other API operations as\n well as resource-based authorization.
\nFor gateways activated prior to September 02, 2015, the gateway ARN contains the\n gateway name rather than the gateway ID. Changing the name of the gateway has no effect\n on the gateway ARN.
\nConfigures one or more gateway local disks as cache for a gateway. This operation is\n only supported in the cached volume, tape, and file gateway type (see How Storage Gateway works (architecture).
\n\nIn the request, you specify the gateway Amazon Resource Name (ARN) to which you want to\n add cache, and one or more disk IDs that you want to configure as cache.
" + "smithy.api#documentation": "Configures one or more gateway local disks as cache for a gateway. This operation is\n only supported in the cached volume, tape, and file gateway type (see How Storage Gateway works (architecture).
\nIn the request, you specify the gateway Amazon Resource Name (ARN) to which you want to\n add cache, and one or more disk IDs that you want to configure as cache.
", + "smithy.api#examples": [ + { + "title": "To add a cache", + "documentation": "The following example shows a request that activates a gateway-stored volume.", + "input": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", + "DiskIds": [ + "pci-0000:03:00.0-scsi-0:0:0:0", + "pci-0000:03:00.0-scsi-0:0:1:0" + ] + }, + "output": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" + } + } + ] } }, "com.amazonaws.storagegateway#AddCacheInput": { @@ -200,6 +248,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#AddCacheOutput": { @@ -208,6 +259,9 @@ "GatewayARN": { "target": "com.amazonaws.storagegateway#GatewayARN" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#AddTagsToResource": { @@ -227,7 +281,25 @@ } ], "traits": { - "smithy.api#documentation": "Adds one or more tags to the specified resource. You use tags to add metadata to\n resources, which you can use to categorize these resources. For example, you can categorize\n resources by purpose, owner, environment, or team. Each tag consists of a key and a value,\n which you define. You can add tags to the following Storage Gateway resources:
\n\nStorage gateways of all types
\nStorage volumes
\nVirtual tapes
\nNFS and SMB file shares
\nFile System associations
\nYou can create a maximum of 50 tags for each resource. Virtual tapes and storage volumes\n that are recovered to a new gateway maintain their tags.
" + "smithy.api#documentation": "Adds one or more tags to the specified resource. You use tags to add metadata to\n resources, which you can use to categorize these resources. For example, you can categorize\n resources by purpose, owner, environment, or team. Each tag consists of a key and a value,\n which you define. You can add tags to the following Storage Gateway resources:
\nStorage gateways of all types
\nStorage volumes
\nVirtual tapes
\nNFS and SMB file shares
\nFile System associations
\nYou can create a maximum of 50 tags for each resource. Virtual tapes and storage volumes\n that are recovered to a new gateway maintain their tags.
", + "smithy.api#examples": [ + { + "title": "To add tags to resource", + "documentation": "Adds one or more tags to the specified resource.", + "input": { + "ResourceARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-11A2222B", + "Tags": [ + { + "Key": "Dev Gatgeway Region", + "Value": "East Coast" + } + ] + }, + "output": { + "ResourceARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-11A2222B" + } + } + ] } }, "com.amazonaws.storagegateway#AddTagsToResourceInput": { @@ -243,13 +315,14 @@ "Tags": { "target": "com.amazonaws.storagegateway#Tags", "traits": { - "smithy.api#documentation": "The key-value pair that represents the tag you want to add to the resource. The value\n can be an empty string.
\n\nValid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.
\nThe key-value pair that represents the tag you want to add to the resource. The value\n can be an empty string.
\nValid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.
\nAddTagsToResourceInput
" + "smithy.api#documentation": "AddTagsToResourceInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#AddTagsToResourceOutput": { @@ -263,7 +336,8 @@ } }, "traits": { - "smithy.api#documentation": "AddTagsToResourceOutput
" + "smithy.api#documentation": "AddTagsToResourceOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#AddUploadBuffer": { @@ -283,7 +357,23 @@ } ], "traits": { - "smithy.api#documentation": "Configures one or more gateway local disks as upload buffer for a specified gateway.\n This operation is supported for the stored volume, cached volume, and tape gateway\n types.
\n\nIn the request, you specify the gateway Amazon Resource Name (ARN) to which you want to\n add upload buffer, and one or more disk IDs that you want to configure as upload\n buffer.
" + "smithy.api#documentation": "Configures one or more gateway local disks as upload buffer for a specified gateway.\n This operation is supported for the stored volume, cached volume, and tape gateway\n types.
\nIn the request, you specify the gateway Amazon Resource Name (ARN) to which you want to\n add upload buffer, and one or more disk IDs that you want to configure as upload\n buffer.
", + "smithy.api#examples": [ + { + "title": "To add upload buffer on local disk", + "documentation": "Configures one or more gateway local disks as upload buffer for a specified gateway.", + "input": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", + "DiskIds": [ + "pci-0000:03:00.0-scsi-0:0:0:0", + "pci-0000:03:00.0-scsi-0:0:1:0" + ] + }, + "output": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" + } + } + ] } }, "com.amazonaws.storagegateway#AddUploadBufferInput": { @@ -302,6 +392,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#AddUploadBufferOutput": { @@ -310,6 +403,9 @@ "GatewayARN": { "target": "com.amazonaws.storagegateway#GatewayARN" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#AddWorkingStorage": { @@ -329,7 +425,23 @@ } ], "traits": { - "smithy.api#documentation": "Configures one or more gateway local disks as working storage for a gateway. This\n operation is only supported in the stored volume gateway type. This operation is deprecated\n in cached volume API version 20120630. Use AddUploadBuffer\n instead.
\n\nWorking storage is also referred to as upload buffer. You can also use the AddUploadBuffer operation to add upload buffer to a stored volume\n gateway.
\nIn the request, you specify the gateway Amazon Resource Name (ARN) to which you want to\n add working storage, and one or more disk IDs that you want to configure as working\n storage.
" + "smithy.api#documentation": "Configures one or more gateway local disks as working storage for a gateway. This\n operation is only supported in the stored volume gateway type. This operation is deprecated\n in cached volume API version 20120630. Use AddUploadBuffer\n instead.
\nWorking storage is also referred to as upload buffer. You can also use the AddUploadBuffer operation to add upload buffer to a stored volume\n gateway.
\nIn the request, you specify the gateway Amazon Resource Name (ARN) to which you want to\n add working storage, and one or more disk IDs that you want to configure as working\n storage.
", + "smithy.api#examples": [ + { + "title": "To add storage on local disk", + "documentation": "Configures one or more gateway local disks as working storage for a gateway. (Working storage is also referred to as upload buffer.)", + "input": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", + "DiskIds": [ + "pci-0000:03:00.0-scsi-0:0:0:0", + "pci-0000:03:00.0-scsi-0:0:1:0" + ] + }, + "output": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" + } + } + ] } }, "com.amazonaws.storagegateway#AddWorkingStorageInput": { @@ -350,7 +462,8 @@ } }, "traits": { - "smithy.api#documentation": "A JSON object containing one or more of the following fields:
\n\nA JSON object containing one or more of the following fields:
\nA JSON object containing the Amazon Resource Name (ARN) of the gateway for which working\n storage was configured.
" + "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the gateway for which working\n storage was configured.
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#AssignTapePool": { @@ -405,9 +519,12 @@ "target": "com.amazonaws.storagegateway#Boolean2", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "Set permissions to bypass governance retention. If the lock type of the archived tape is\n Governance
, the tape's archived age is not older than\n RetentionLockInDays
, and the user does not already have\n BypassGovernanceRetention
, setting this to TRUE enables the user to bypass\n the retention lock. This parameter is set to true by default for calls from the\n console.
Valid values: TRUE
| FALSE
\n
Set permissions to bypass governance retention. If the lock type of the archived tape is\n Governance
, the tape's archived age is not older than\n RetentionLockInDays
, and the user does not already have\n BypassGovernanceRetention
, setting this to TRUE enables the user to bypass\n the retention lock. This parameter is set to true by default for calls from the\n console.
Valid values: TRUE
| FALSE
\n
The unique Amazon Resource Names (ARN) of the virtual tape that was added to the tape\n pool.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#AssociateFileSystem": { @@ -499,6 +619,9 @@ "smithy.api#documentation": "Specifies the network configuration information for the gateway associated with the\n Amazon FSx file system.
\nIf multiple file systems are associated with this gateway, this parameter's\n IpAddresses
field is required.
The ARN of the newly created file system association.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#AttachVolume": { @@ -545,7 +671,7 @@ "TargetName": { "target": "com.amazonaws.storagegateway#TargetName", "traits": { - "smithy.api#documentation": "The name of the iSCSI target used by an initiator to connect to a volume and used as a\n suffix for the target ARN. For example, specifying TargetName
as\n myvolume results in the target ARN of\n arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume
.\n The target name must be unique across all volumes on a gateway.
If you don't specify a value, Storage Gateway uses the value that was previously\n used for this volume as the new target name.
" + "smithy.api#documentation": "The name of the iSCSI target used by an initiator to connect to a volume and used as a\n suffix for the target ARN. For example, specifying TargetName
as\n myvolume results in the target ARN of\n arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume
.\n The target name must be unique across all volumes on a gateway.
If you don't specify a value, Storage Gateway uses the value that was previously\n used for this volume as the new target name.
" } }, "VolumeARN": { @@ -558,7 +684,7 @@ "NetworkInterfaceId": { "target": "com.amazonaws.storagegateway#NetworkInterfaceId", "traits": { - "smithy.api#documentation": "The network interface of the gateway on which to expose the iSCSI target. Only IPv4\n addresses are accepted. Use DescribeGatewayInformation to get a list of\n the network interfaces available on a gateway.
\n\nValid Values: A valid IP address.
", + "smithy.api#documentation": "The network interface of the gateway on which to expose the iSCSI target. Only IPv4\n addresses are accepted. Use DescribeGatewayInformation to get a list of\n the network interfaces available on a gateway.
\nValid Values: A valid IP address.
", "smithy.api#required": {} } }, @@ -570,7 +696,8 @@ } }, "traits": { - "smithy.api#documentation": "AttachVolumeInput
" + "smithy.api#documentation": "AttachVolumeInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#AttachVolumeOutput": { @@ -590,7 +717,8 @@ } }, "traits": { - "smithy.api#documentation": "AttachVolumeOutput
" + "smithy.api#documentation": "AttachVolumeOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#AuditDestinationARN": { @@ -605,7 +733,7 @@ "com.amazonaws.storagegateway#Authentication": { "type": "string", "traits": { - "smithy.api#documentation": "The authentication method of the file share. The default is\n ActiveDirectory
.
Valid Values: ActiveDirectory
| GuestAccess
\n
The authentication method of the file share. The default is\n ActiveDirectory
.
Valid Values: ActiveDirectory
| GuestAccess
\n
A prefix that you append to the barcode of the virtual tape that you are creating. This\n prefix makes the barcode unique.
\n\nThe prefix must be 1-4 characters in length and must be one of the uppercase letters\n from A to Z.
\nA prefix that you append to the barcode of the virtual tape that you are creating. This\n prefix makes the barcode unique.
\nThe prefix must be 1-4 characters in length and must be one of the uppercase letters\n from A to Z.
\nThe minute of the hour to end the bandwidth rate limit interval.
\n\n The bandwidth rate limit interval ends at the end of the minute. To end an interval\n at the end of an hour, use the value 59
.
The minute of the hour to end the bandwidth rate limit interval.
\n The bandwidth rate limit interval ends at the end of the minute. To end an interval\n at the end of an hour, use the value 59
.
Refreshes a file share's cache by using Time To Live (TTL). TTL is the length of\n time since the last refresh after which access to the directory would cause the file\n gateway to first refresh that directory's contents from the Amazon S3 bucket\n or Amazon FSx file system. The TTL duration is in seconds.
\n\nValid Values:0, 300 to 2,592,000 seconds (5 minutes to 30 days)
" + "smithy.api#documentation": "Refreshes a file share's cache by using Time To Live (TTL). TTL is the length of\n time since the last refresh after which access to the directory would cause the file\n gateway to first refresh that directory's contents from the Amazon S3 bucket\n or Amazon FSx file system. The TTL duration is in seconds.
\nValid Values:0, 300 to 2,592,000 seconds (5 minutes to 30 days)
" } } }, @@ -894,7 +1026,7 @@ "VolumeUsedInBytes": { "target": "com.amazonaws.storagegateway#VolumeUsedInBytes", "traits": { - "smithy.api#documentation": "The size of the data stored on the volume in bytes. This value is calculated based on\n the number of blocks that are touched, instead of the actual amount of data written. This\n value can be useful for sequential write patterns but less accurate for random write\n patterns. VolumeUsedInBytes
is different from the compressed size of the\n volume, which is the value that is used to calculate your bill.
This value is not available for volumes created prior to May 13, 2015, until you\n store data on the volume.
\n\nIf you use a delete tool that overwrites the data on your volume with random data,\n your usage will not be reduced. This is because the random data is not compressible. If\n you want to reduce the amount of billed storage on your volume, we recommend overwriting\n your files with zeros to compress the data to a negligible amount of actual\n storage.
\nThe size of the data stored on the volume in bytes. This value is calculated based on\n the number of blocks that are touched, instead of the actual amount of data written. This\n value can be useful for sequential write patterns but less accurate for random write\n patterns. VolumeUsedInBytes
is different from the compressed size of the\n volume, which is the value that is used to calculate your bill.
This value is not available for volumes created prior to May 13, 2015, until you\n store data on the volume.
\nIf you use a delete tool that overwrites the data on your volume with random data,\n your usage will not be reduced. This is because the random data is not compressible. If\n you want to reduce the amount of billed storage on your volume, we recommend overwriting\n your files with zeros to compress the data to a negligible amount of actual\n storage.
\nThe name of the iSCSI target used by an initiator to connect to a volume and used as a\n suffix for the target ARN. For example, specifying TargetName
as\n myvolume results in the target ARN of\n arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume
.\n The target name must be unique across all volumes on a gateway.
If you don't specify a value, Storage Gateway uses the value that was previously\n used for this volume as the new target name.
" + "smithy.api#documentation": "The name of the iSCSI target used by an initiator to connect to a volume and used as a\n suffix for the target ARN. For example, specifying TargetName
as\n myvolume results in the target ARN of\n arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume
.\n The target name must be unique across all volumes on a gateway.
If you don't specify a value, Storage Gateway uses the value that was previously\n used for this volume as the new target name.
" } } }, @@ -934,7 +1066,20 @@ } ], "traits": { - "smithy.api#documentation": "Cancels archiving of a virtual tape to the virtual tape shelf (VTS) after the archiving\n process is initiated. This operation is only supported in the tape gateway type.
" + "smithy.api#documentation": "Cancels archiving of a virtual tape to the virtual tape shelf (VTS) after the archiving\n process is initiated. This operation is only supported in the tape gateway type.
", + "smithy.api#examples": [ + { + "title": "To cancel virtual tape archiving", + "documentation": "Cancels archiving of a virtual tape to the virtual tape shelf (VTS) after the archiving process is initiated.", + "input": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", + "TapeARN": "arn:aws:storagegateway:us-east-1:999999999999:tape/AMZN01A2A4" + }, + "output": { + "TapeARN": "arn:aws:storagegateway:us-east-1:999999999999:tape/AMZN01A2A4" + } + } + ] } }, "com.amazonaws.storagegateway#CancelArchivalInput": { @@ -955,7 +1100,8 @@ } }, "traits": { - "smithy.api#documentation": "CancelArchivalInput
" + "smithy.api#documentation": "CancelArchivalInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#CancelArchivalOutput": { @@ -969,7 +1115,8 @@ } }, "traits": { - "smithy.api#documentation": "CancelArchivalOutput
" + "smithy.api#documentation": "CancelArchivalOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#CancelRetrieval": { @@ -989,7 +1136,20 @@ } ], "traits": { - "smithy.api#documentation": "Cancels retrieval of a virtual tape from the virtual tape shelf (VTS) to a gateway after\n the retrieval process is initiated. The virtual tape is returned to the VTS. This operation\n is only supported in the tape gateway type.
" + "smithy.api#documentation": "Cancels retrieval of a virtual tape from the virtual tape shelf (VTS) to a gateway after\n the retrieval process is initiated. The virtual tape is returned to the VTS. This operation\n is only supported in the tape gateway type.
", + "smithy.api#examples": [ + { + "title": "To cancel virtual tape retrieval", + "documentation": "Cancels retrieval of a virtual tape from the virtual tape shelf (VTS) to a gateway after the retrieval process is initiated.", + "input": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", + "TapeARN": "arn:aws:storagegateway:us-east-1:999999999999:tape/AMZN01A2A4" + }, + "output": { + "TapeARN": "arn:aws:storagegateway:us-east-1:999999999999:tape/AMZN01A2A4" + } + } + ] } }, "com.amazonaws.storagegateway#CancelRetrievalInput": { @@ -1010,7 +1170,8 @@ } }, "traits": { - "smithy.api#documentation": "CancelRetrievalInput
" + "smithy.api#documentation": "CancelRetrievalInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#CancelRetrievalOutput": { @@ -1024,22 +1185,25 @@ } }, "traits": { - "smithy.api#documentation": "CancelRetrievalOutput
" + "smithy.api#documentation": "CancelRetrievalOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#CaseSensitivity": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ClientSpecified", - "name": "ClientSpecified" - }, - { - "value": "CaseSensitive", - "name": "CaseSensitive" + "type": "enum", + "members": { + "ClientSpecified": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ClientSpecified" } - ] + }, + "CaseSensitive": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CaseSensitive" + } + } } }, "com.amazonaws.storagegateway#ChapCredentials": { @@ -1054,7 +1218,7 @@ "TargetARN": { "target": "com.amazonaws.storagegateway#TargetARN", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the volume.
\n\nValid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the volume.
\nValid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
" } }, "SecretToAuthenticateInitiator": { @@ -1125,7 +1289,25 @@ } ], "traits": { - "smithy.api#documentation": "Creates a cached volume on a specified cached volume gateway. This operation is only\n supported in the cached volume gateway type.
\n\nCache storage must be allocated to the gateway before you can create a cached volume.\n Use the AddCache operation to add cache storage to a gateway.
\nIn the request, you must specify the gateway, size of the volume in bytes, the iSCSI\n target name, an IP address on which to expose the target, and a unique client token. In\n response, the gateway creates the volume and returns information about it. This information\n includes the volume Amazon Resource Name (ARN), its size, and the iSCSI target ARN that\n initiators can use to connect to the volume target.
\n\nOptionally, you can provide the ARN for an existing volume as the\n SourceVolumeARN
for this cached volume, which creates an exact copy of the\n existing volume’s latest recovery point. The VolumeSizeInBytes
value must be\n equal to or larger than the size of the copied volume, in bytes.
Creates a cached volume on a specified cached volume gateway. This operation is only\n supported in the cached volume gateway type.
\nCache storage must be allocated to the gateway before you can create a cached volume.\n Use the AddCache operation to add cache storage to a gateway.
\nIn the request, you must specify the gateway, size of the volume in bytes, the iSCSI\n target name, an IP address on which to expose the target, and a unique client token. In\n response, the gateway creates the volume and returns information about it. This information\n includes the volume Amazon Resource Name (ARN), its size, and the iSCSI target ARN that\n initiators can use to connect to the volume target.
\nOptionally, you can provide the ARN for an existing volume as the\n SourceVolumeARN
for this cached volume, which creates an exact copy of the\n existing volume’s latest recovery point. The VolumeSizeInBytes
value must be\n equal to or larger than the size of the copied volume, in bytes.
The name of the iSCSI target used by an initiator to connect to a volume and used as a\n suffix for the target ARN. For example, specifying TargetName
as\n myvolume results in the target ARN of\n arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume
.\n The target name must be unique across all volumes on a gateway.
If you don't specify a value, Storage Gateway uses the value that was previously\n used for this volume as the new target name.
", + "smithy.api#documentation": "The name of the iSCSI target used by an initiator to connect to a volume and used as a\n suffix for the target ARN. For example, specifying TargetName
as\n myvolume results in the target ARN of\n arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume
.\n The target name must be unique across all volumes on a gateway.
If you don't specify a value, Storage Gateway uses the value that was previously\n used for this volume as the new target name.
", "smithy.api#required": {} } }, @@ -1167,7 +1349,7 @@ "NetworkInterfaceId": { "target": "com.amazonaws.storagegateway#NetworkInterfaceId", "traits": { - "smithy.api#documentation": "The network interface of the gateway on which to expose the iSCSI target. Only IPv4\n addresses are accepted. Use DescribeGatewayInformation to get a list of\n the network interfaces available on a gateway.
\n\nValid Values: A valid IP address.
", + "smithy.api#documentation": "The network interface of the gateway on which to expose the iSCSI target. Only IPv4\n addresses are accepted. Use DescribeGatewayInformation to get a list of\n the network interfaces available on a gateway.
\nValid Values: A valid IP address.
", "smithy.api#required": {} } }, @@ -1181,7 +1363,7 @@ "KMSEncrypted": { "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "Set to true
to use Amazon S3 server-side encryption with your own\n KMS key, or false
to use a key managed by Amazon S3.\n Optional.
Valid Values: true
| false
\n
Set to true
to use Amazon S3 server-side encryption with your own\n KMS key, or false
to use a key managed by Amazon S3.\n Optional.
Valid Values: true
| false
\n
A list of up to 50 tags that you can assign to a cached volume. Each tag is a key-value\n pair.
\n\nValid characters for key and value are letters, spaces, and numbers that you can\n represent in UTF-8 format, and the following special characters: + - = . _ : / @. The\n maximum length of a tag's key is 128 characters, and the maximum length for a\n tag's value is 256 characters.
\nA list of up to 50 tags that you can assign to a cached volume. Each tag is a key-value\n pair.
\nValid characters for key and value are letters, spaces, and numbers that you can\n represent in UTF-8 format, and the following special characters: + - = . _ : / @. The\n maximum length of a tag's key is 128 characters, and the maximum length for a\n tag's value is 256 characters.
\nThe Amazon Resource Name (ARN) of the volume target, which includes the iSCSI name that\n initiators can use to connect to the target.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#CreateNFSFileShare": { @@ -1232,7 +1420,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates a Network File System (NFS) file share on an existing S3 File Gateway. In\n Storage Gateway, a file share is a file system mount point backed by Amazon S3\n cloud storage. Storage Gateway exposes file shares using an NFS interface. This operation\n is only supported for S3 File Gateways.
\n\nS3 File gateway requires Security Token Service (Amazon Web Services STS) to be\n activated to enable you to create a file share. Make sure Amazon Web Services STS is\n activated in the Amazon Web Services Region you are creating your S3 File Gateway in. If\n Amazon Web Services STS is not activated in the Amazon Web Services Region, activate\n it. For information about how to activate Amazon Web Services STS, see Activating and\n deactivating Amazon Web Services STS in an Amazon Web Services Region in the\n Identity and Access Management User Guide.
\n\nS3 File Gateways do not support creating hard or symbolic links on a file\n share.
\nCreates a Network File System (NFS) file share on an existing S3 File Gateway. In\n Storage Gateway, a file share is a file system mount point backed by Amazon S3\n cloud storage. Storage Gateway exposes file shares using an NFS interface. This operation\n is only supported for S3 File Gateways.
\nS3 File gateway requires Security Token Service (Amazon Web Services STS) to be\n activated to enable you to create a file share. Make sure Amazon Web Services STS is\n activated in the Amazon Web Services Region you are creating your S3 File Gateway in. If\n Amazon Web Services STS is not activated in the Amazon Web Services Region, activate\n it. For information about how to activate Amazon Web Services STS, see Activating and\n deactivating Amazon Web Services STS in an Amazon Web Services Region in the\n Identity and Access Management User Guide.
\nS3 File Gateways do not support creating hard or symbolic links on a file\n share.
\nSet to true
to use Amazon S3 server-side encryption with your own\n KMS key, or false
to use a key managed by Amazon S3.\n Optional.
Valid Values: true
| false
\n
Set to true
to use Amazon S3 server-side encryption with your own\n KMS key, or false
to use a key managed by Amazon S3.\n Optional.
Valid Values: true
| false
\n
A custom ARN for the backend storage used for storing data for file shares. It includes\n a resource ARN with an optional prefix concatenation. The prefix must end with a forward\n slash (/).
\nYou can specify LocationARN as a bucket ARN, access point ARN or access point alias,\n as shown in the following examples.
\n\nBucket ARN:
\n\n arn:aws:s3:::my-bucket/prefix/
\n
Access point ARN:
\n\n arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/
\n
If you specify an access point, the bucket policy must be configured to delegate\n access control to the access point. For information, see Delegating access control to access points in the Amazon S3 User Guide.
\n\nAccess point alias:
\n\n test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias
\n
A custom ARN for the backend storage used for storing data for file shares. It includes\n a resource ARN with an optional prefix concatenation. The prefix must end with a forward\n slash (/).
\nYou can specify LocationARN as a bucket ARN, access point ARN or access point alias,\n as shown in the following examples.
\nBucket ARN:
\n\n arn:aws:s3:::my-bucket/prefix/
\n
Access point ARN:
\n\n arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/
\n
If you specify an access point, the bucket policy must be configured to delegate\n access control to the access point. For information, see Delegating access control to access points in the Amazon S3 User Guide.
\nAccess point alias:
\n\n test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias
\n
The default storage class for objects put into an Amazon S3 bucket by the S3\n File Gateway. The default value is S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
|\n S3_STANDARD_IA
| S3_ONEZONE_IA
\n
The default storage class for objects put into an Amazon S3 bucket by the S3\n File Gateway. The default value is S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
|\n S3_STANDARD_IA
| S3_ONEZONE_IA
\n
A value that maps a user to anonymous user.
\n\nValid values are the following:
\n\n\n RootSquash
: Only root is mapped to anonymous user.
\n NoSquash
: No one is mapped to anonymous user.
\n AllSquash
: Everyone is mapped to anonymous user.
A value that maps a user to anonymous user.
\nValid values are the following:
\n\n RootSquash
: Only root is mapped to anonymous user.
\n NoSquash
: No one is mapped to anonymous user.
\n AllSquash
: Everyone is mapped to anonymous user.
A value that sets the write status of a file share. Set this value to true
\n to set the write status to read-only, otherwise set to false
.
Valid Values: true
| false
\n
A value that sets the write status of a file share. Set this value to true
\n to set the write status to read-only, otherwise set to false
.
Valid Values: true
| false
\n
A value that enables guessing of the MIME type for uploaded objects based on file\n extensions. Set this value to true
to enable MIME type guessing, otherwise set\n to false
. The default value is true
.
Valid Values: true
| false
\n
A value that enables guessing of the MIME type for uploaded objects based on file\n extensions. Set this value to true
to enable MIME type guessing, otherwise set\n to false
. The default value is true
.
Valid Values: true
| false
\n
A value that sets who pays the cost of the request and the cost associated with data\n download from the S3 bucket. If this value is set to true
, the requester pays\n the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays\n the cost of storing data.
\n RequesterPays
is a configuration for the S3 bucket that backs the file\n share, so make sure that the configuration on the file share is the same as the S3\n bucket configuration.
Valid Values: true
| false
\n
A value that sets who pays the cost of the request and the cost associated with data\n download from the S3 bucket. If this value is set to true
, the requester pays\n the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays\n the cost of storing data.
\n RequesterPays
is a configuration for the S3 bucket that backs the file\n share, so make sure that the configuration on the file share is the same as the S3\n bucket configuration.
Valid Values: true
| false
\n
A list of up to 50 tags that can be assigned to the NFS file share. Each tag is a\n key-value pair.
\n\nValid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.
\nA list of up to 50 tags that can be assigned to the NFS file share. Each tag is a\n key-value pair.
\nValid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.
\nThe name of the file share. Optional.
\n\n\n FileShareName
must be set if an S3 prefix name is set in\n LocationARN
, or if an access point or access point alias is used.
The name of the file share. Optional.
\n\n FileShareName
must be set if an S3 prefix name is set in\n LocationARN
, or if an access point or access point alias is used.
The notification policy of the file share. SettlingTimeInSeconds
controls\n the number of seconds to wait after the last point in time a client wrote to a file before\n generating an ObjectUploaded
notification. Because clients can make many small\n writes to files, it's best to set this parameter for as long as possible to avoid\n generating multiple notifications for the same file in a small time period.
\n SettlingTimeInSeconds
has no effect on the timing of the object\n uploading to Amazon S3, only the timing of the notification.
The following example sets NotificationPolicy
on with\n SettlingTimeInSeconds
set to 60.
\n {\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}
\n
The following example sets NotificationPolicy
off.
\n {}
\n
The notification policy of the file share. SettlingTimeInSeconds
controls\n the number of seconds to wait after the last point in time a client wrote to a file before\n generating an ObjectUploaded
notification. Because clients can make many small\n writes to files, it's best to set this parameter for as long as possible to avoid\n generating multiple notifications for the same file in a small time period.
\n SettlingTimeInSeconds
has no effect on the timing of the object\n uploading to Amazon S3, only the timing of the notification.
The following example sets NotificationPolicy
on with\n SettlingTimeInSeconds
set to 60.
\n {\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}
\n
The following example sets NotificationPolicy
off.
\n {}
\n
CreateNFSFileShareInput
" + "smithy.api#documentation": "CreateNFSFileShareInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#CreateNFSFileShareOutput": { @@ -1384,7 +1573,8 @@ } }, "traits": { - "smithy.api#documentation": "CreateNFSFileShareOutput
" + "smithy.api#documentation": "CreateNFSFileShareOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#CreateSMBFileShare": { @@ -1404,7 +1594,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates a Server Message Block (SMB) file share on an existing S3 File Gateway. In\n Storage Gateway, a file share is a file system mount point backed by Amazon S3\n cloud storage. Storage Gateway exposes file shares using an SMB interface. This operation\n is only supported for S3 File Gateways.
\n\nS3 File Gateways require Security Token Service (Amazon Web Services STS) to be\n activated to enable you to create a file share. Make sure that Amazon Web Services STS\n is activated in the Amazon Web Services Region you are creating your S3 File Gateway in.\n If Amazon Web Services STS is not activated in this Amazon Web Services Region, activate\n it. For information about how to activate Amazon Web Services STS, see Activating and\n deactivating Amazon Web Services STS in an Amazon Web Services Region in the\n Identity and Access Management User Guide.
\n\nFile gateways don't support creating hard or symbolic links on a file\n share.
\nCreates a Server Message Block (SMB) file share on an existing S3 File Gateway. In\n Storage Gateway, a file share is a file system mount point backed by Amazon S3\n cloud storage. Storage Gateway exposes file shares using an SMB interface. This operation\n is only supported for S3 File Gateways.
\nS3 File Gateways require Security Token Service (Amazon Web Services STS) to be\n activated to enable you to create a file share. Make sure that Amazon Web Services STS\n is activated in the Amazon Web Services Region you are creating your S3 File Gateway in.\n If Amazon Web Services STS is not activated in this Amazon Web Services Region, activate\n it. For information about how to activate Amazon Web Services STS, see Activating and\n deactivating Amazon Web Services STS in an Amazon Web Services Region in the\n Identity and Access Management User Guide.
\nFile gateways don't support creating hard or symbolic links on a file\n share.
\nSet to true
to use Amazon S3 server-side encryption with your own\n KMS key, or false
to use a key managed by Amazon S3.\n Optional.
Valid Values: true
| false
\n
Set to true
to use Amazon S3 server-side encryption with your own\n KMS key, or false
to use a key managed by Amazon S3.\n Optional.
Valid Values: true
| false
\n
A custom ARN for the backend storage used for storing data for file shares. It includes\n a resource ARN with an optional prefix concatenation. The prefix must end with a forward\n slash (/).
\nYou can specify LocationARN as a bucket ARN, access point ARN or access point alias,\n as shown in the following examples.
\n\nBucket ARN:
\n\n arn:aws:s3:::my-bucket/prefix/
\n
Access point ARN:
\n\n arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/
\n
If you specify an access point, the bucket policy must be configured to delegate\n access control to the access point. For information, see Delegating access control to access points in the Amazon S3 User Guide.
\n\nAccess point alias:
\n\n test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias
\n
A custom ARN for the backend storage used for storing data for file shares. It includes\n a resource ARN with an optional prefix concatenation. The prefix must end with a forward\n slash (/).
\nYou can specify LocationARN as a bucket ARN, access point ARN or access point alias,\n as shown in the following examples.
\nBucket ARN:
\n\n arn:aws:s3:::my-bucket/prefix/
\n
Access point ARN:
\n\n arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/
\n
If you specify an access point, the bucket policy must be configured to delegate\n access control to the access point. For information, see Delegating access control to access points in the Amazon S3 User Guide.
\nAccess point alias:
\n\n test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias
\n
The default storage class for objects put into an Amazon S3 bucket by the S3\n File Gateway. The default value is S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
|\n S3_STANDARD_IA
| S3_ONEZONE_IA
\n
The default storage class for objects put into an Amazon S3 bucket by the S3\n File Gateway. The default value is S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
|\n S3_STANDARD_IA
| S3_ONEZONE_IA
\n
A value that sets the write status of a file share. Set this value to true
\n to set the write status to read-only, otherwise set to false
.
Valid Values: true
| false
\n
A value that sets the write status of a file share. Set this value to true
\n to set the write status to read-only, otherwise set to false
.
Valid Values: true
| false
\n
A value that enables guessing of the MIME type for uploaded objects based on file\n extensions. Set this value to true
to enable MIME type guessing, otherwise set\n to false
. The default value is true
.
Valid Values: true
| false
\n
A value that enables guessing of the MIME type for uploaded objects based on file\n extensions. Set this value to true
to enable MIME type guessing, otherwise set\n to false
. The default value is true
.
Valid Values: true
| false
\n
A value that sets who pays the cost of the request and the cost associated with data\n download from the S3 bucket. If this value is set to true
, the requester pays\n the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays\n the cost of storing data.
\n RequesterPays
is a configuration for the S3 bucket that backs the file\n share, so make sure that the configuration on the file share is the same as the S3\n bucket configuration.
Valid Values: true
| false
\n
A value that sets who pays the cost of the request and the cost associated with data\n download from the S3 bucket. If this value is set to true
, the requester pays\n the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays\n the cost of storing data.
\n RequesterPays
is a configuration for the S3 bucket that backs the file\n share, so make sure that the configuration on the file share is the same as the S3\n bucket configuration.
Valid Values: true
| false
\n
Set this value to true
to enable access control list (ACL) on the SMB file\n share. Set it to false
to map file and directory permissions to the POSIX\n permissions.
For more information, see Using Microsoft Windows ACLs to\n control access to an SMB file share in the Storage Gateway User\n Guide.
\n\nValid Values: true
| false
\n
Set this value to true
to enable access control list (ACL) on the SMB file\n share. Set it to false
to map file and directory permissions to the POSIX\n permissions.
For more information, see Using Microsoft Windows ACLs to\n control access to an SMB file share in the Storage Gateway User\n Guide.
\nValid Values: true
| false
\n
A list of users or groups in the Active Directory that will be granted administrator\n privileges on the file share. These users can do all file operations as the super-user.\n Acceptable formats include: DOMAIN\\User1
, user1
,\n @group1
, and @DOMAIN\\group1
.
Use this option very carefully, because any user in this list can do anything they\n like on the file share, regardless of file permissions.
\nA list of users or groups in the Active Directory that will be granted administrator\n privileges on the file share. These users can do all file operations as the super-user.\n Acceptable formats include: DOMAIN\\User1
, user1
,\n @group1
, and @DOMAIN\\group1
.
Use this option very carefully, because any user in this list can do anything they\n like on the file share, regardless of file permissions.
\nThe authentication method that users use to access the file share. The default is\n ActiveDirectory
.
Valid Values: ActiveDirectory
| GuestAccess
\n
The authentication method that users use to access the file share. The default is\n ActiveDirectory
.
Valid Values: ActiveDirectory
| GuestAccess
\n
A list of up to 50 tags that can be assigned to the NFS file share. Each tag is a\n key-value pair.
\n\nValid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.
\nA list of up to 50 tags that can be assigned to the NFS file share. Each tag is a\n key-value pair.
\nValid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.
\nThe name of the file share. Optional.
\n\n\n FileShareName
must be set if an S3 prefix name is set in\n LocationARN
, or if an access point or access point alias is used.
The name of the file share. Optional.
\n\n FileShareName
must be set if an S3 prefix name is set in\n LocationARN
, or if an access point or access point alias is used.
The notification policy of the file share. SettlingTimeInSeconds
controls\n the number of seconds to wait after the last point in time a client wrote to a file before\n generating an ObjectUploaded
notification. Because clients can make many small\n writes to files, it's best to set this parameter for as long as possible to avoid\n generating multiple notifications for the same file in a small time period.
\n SettlingTimeInSeconds
has no effect on the timing of the object\n uploading to Amazon S3, only the timing of the notification.
The following example sets NotificationPolicy
on with\n SettlingTimeInSeconds
set to 60.
\n {\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}
\n
The following example sets NotificationPolicy
off.
\n {}
\n
The notification policy of the file share. SettlingTimeInSeconds
controls\n the number of seconds to wait after the last point in time a client wrote to a file before\n generating an ObjectUploaded
notification. Because clients can make many small\n writes to files, it's best to set this parameter for as long as possible to avoid\n generating multiple notifications for the same file in a small time period.
\n SettlingTimeInSeconds
has no effect on the timing of the object\n uploading to Amazon S3, only the timing of the notification.
The following example sets NotificationPolicy
on with\n SettlingTimeInSeconds
set to 60.
\n {\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}
\n
The following example sets NotificationPolicy
off.
\n {}
\n
CreateSMBFileShareInput
" + "smithy.api#documentation": "CreateSMBFileShareInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#CreateSMBFileShareOutput": { @@ -1586,7 +1777,8 @@ } }, "traits": { - "smithy.api#documentation": "CreateSMBFileShareOutput
" + "smithy.api#documentation": "CreateSMBFileShareOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#CreateSnapshot": { @@ -1609,7 +1801,21 @@ } ], "traits": { - "smithy.api#documentation": "Initiates a snapshot of a volume.
\n\nStorage Gateway provides the ability to back up point-in-time snapshots of your\n data to Amazon Simple Storage (Amazon S3) for durable off-site recovery, and also\n import the data to an Amazon Elastic Block Store (EBS) volume in Amazon Elastic Compute\n Cloud (EC2). You can take snapshots of your gateway volume on a scheduled or ad hoc basis.\n This API enables you to take an ad hoc snapshot. For more information, see Editing a\n snapshot schedule.
\n\nIn the CreateSnapshot
request, you identify the volume by providing its\n Amazon Resource Name (ARN). You must also provide description for the snapshot. When\n Storage Gateway takes the snapshot of specified volume, the snapshot and\n description appears in the Storage Gateway console. In response, Storage Gateway\n returns you a snapshot ID. You can use this snapshot ID to check the snapshot progress or\n later use it when you want to create a volume from a snapshot. This operation is only\n supported in stored and cached volume gateway type.
To list or delete a snapshot, you must use the Amazon EC2 API. For more information,\n see DescribeSnapshots\n or DeleteSnapshot in the Amazon Elastic Compute Cloud API\n Reference.
\nVolume and snapshot IDs are changing to a longer length ID format. For more\n information, see the important note on the Welcome page.
\nInitiates a snapshot of a volume.
\nStorage Gateway provides the ability to back up point-in-time snapshots of your\n data to Amazon Simple Storage (Amazon S3) for durable off-site recovery, and also\n import the data to an Amazon Elastic Block Store (EBS) volume in Amazon Elastic Compute\n Cloud (EC2). You can take snapshots of your gateway volume on a scheduled or ad hoc basis.\n This API enables you to take an ad hoc snapshot. For more information, see Editing a\n snapshot schedule.
\nIn the CreateSnapshot
request, you identify the volume by providing its\n Amazon Resource Name (ARN). You must also provide description for the snapshot. When\n Storage Gateway takes the snapshot of specified volume, the snapshot and\n description appears in the Storage Gateway console. In response, Storage Gateway\n returns you a snapshot ID. You can use this snapshot ID to check the snapshot progress or\n later use it when you want to create a volume from a snapshot. This operation is only\n supported in stored and cached volume gateway type.
To list or delete a snapshot, you must use the Amazon EC2 API. For more information,\n see DescribeSnapshots\n or DeleteSnapshot in the Amazon Elastic Compute Cloud API\n Reference.
\nVolume and snapshot IDs are changing to a longer length ID format. For more\n information, see the important note on the Welcome page.
\nInitiates a snapshot of a gateway from a volume recovery point. This operation is only\n supported in the cached volume gateway type.
\n\nA volume recovery point is a point in time at which all data of the volume is consistent\n and from which you can create a snapshot. To get a list of volume recovery point for cached\n volume gateway, use ListVolumeRecoveryPoints.
\n\nIn the CreateSnapshotFromVolumeRecoveryPoint
request, you identify the\n volume by providing its Amazon Resource Name (ARN). You must also provide a description for\n the snapshot. When the gateway takes a snapshot of the specified volume, the snapshot and\n its description appear in the Storage Gateway console.\n In response, the gateway returns\n you a snapshot ID. You can use this snapshot ID to check the snapshot progress or later use\n it when you want to create a volume from a snapshot.
To list or delete a snapshot, you must use the Amazon EC2 API. For more information,\n see DescribeSnapshots\n or DeleteSnapshot in the Amazon Elastic Compute Cloud API\n Reference.
\nInitiates a snapshot of a gateway from a volume recovery point. This operation is only\n supported in the cached volume gateway type.
\nA volume recovery point is a point in time at which all data of the volume is consistent\n and from which you can create a snapshot. To get a list of volume recovery point for cached\n volume gateway, use ListVolumeRecoveryPoints.
\nIn the CreateSnapshotFromVolumeRecoveryPoint
request, you identify the\n volume by providing its Amazon Resource Name (ARN). You must also provide a description for\n the snapshot. When the gateway takes a snapshot of the specified volume, the snapshot and\n its description appear in the Storage Gateway console.\n In response, the gateway returns\n you a snapshot ID. You can use this snapshot ID to check the snapshot progress or later use\n it when you want to create a volume from a snapshot.
To list or delete a snapshot, you must use the Amazon EC2 API. For more information,\n see DescribeSnapshots\n or DeleteSnapshot in the Amazon Elastic Compute Cloud API\n Reference.
\nA list of up to 50 tags that can be assigned to a snapshot. Each tag is a key-value\n pair.
\n\nValid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.
\nA list of up to 50 tags that can be assigned to a snapshot. Each tag is a key-value\n pair.
\nValid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.
\nThe time the volume was created from the recovery point.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#CreateSnapshotInput": { @@ -1703,12 +1930,13 @@ "Tags": { "target": "com.amazonaws.storagegateway#Tags", "traits": { - "smithy.api#documentation": "A list of up to 50 tags that can be assigned to a snapshot. Each tag is a key-value\n pair.
\n\nValid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.
\nA list of up to 50 tags that can be assigned to a snapshot. Each tag is a key-value\n pair.
\nValid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.
\nA JSON object containing one or more of the following fields:
\n\nA JSON object containing one or more of the following fields:
\nA JSON object containing the following fields:
" + "smithy.api#documentation": "A JSON object containing the following fields:
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#CreateStorediSCSIVolume": { @@ -1748,7 +1977,26 @@ } ], "traits": { - "smithy.api#documentation": "Creates a volume on a specified gateway. This operation is only supported in the stored\n volume gateway type.
\n\nThe size of the volume to create is inferred from the disk size. You can choose to\n preserve existing data on the disk, create volume from an existing snapshot, or create an\n empty volume. If you choose to create an empty gateway volume, then any existing data on\n the disk is erased.
\n\nIn the request, you must specify the gateway and the disk information on which you are\n creating the volume. In response, the gateway creates the volume and returns volume\n information such as the volume Amazon Resource Name (ARN), its size, and the iSCSI target\n ARN that initiators can use to connect to the volume target.
" + "smithy.api#documentation": "Creates a volume on a specified gateway. This operation is only supported in the stored\n volume gateway type.
\nThe size of the volume to create is inferred from the disk size. You can choose to\n preserve existing data on the disk, create volume from an existing snapshot, or create an\n empty volume. If you choose to create an empty gateway volume, then any existing data on\n the disk is erased.
\nIn the request, you must specify the gateway and the disk information on which you are\n creating the volume. In response, the gateway creates the volume and returns volume\n information such as the volume Amazon Resource Name (ARN), its size, and the iSCSI target\n ARN that initiators can use to connect to the volume target.
", + "smithy.api#examples": [ + { + "title": "To create a stored iSCSI volume", + "documentation": "Creates a stored volume on a specified stored gateway.", + "input": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", + "DiskId": "pci-0000:03:00.0-scsi-0:0:0:0", + "SnapshotId": "snap-f47b7b94", + "PreserveExistingData": true, + "TargetName": "my-volume", + "NetworkInterfaceId": "10.1.1.1" + }, + "output": { + "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB", + "VolumeSizeInBytes": 1099511627776, + "TargetARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume" + } + } + ] } }, "com.amazonaws.storagegateway#CreateStorediSCSIVolumeInput": { @@ -1777,28 +2025,28 @@ "target": "com.amazonaws.storagegateway#Boolean2", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "Set to true
if you want to preserve the data on the local disk. Otherwise,\n set to false
to create an empty volume.
Valid Values: true
| false
\n
Set to true
if you want to preserve the data on the local disk. Otherwise,\n set to false
to create an empty volume.
Valid Values: true
| false
\n
The name of the iSCSI target used by an initiator to connect to a volume and used as a\n suffix for the target ARN. For example, specifying TargetName
as\n myvolume results in the target ARN of\n arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume
.\n The target name must be unique across all volumes on a gateway.
If you don't specify a value, Storage Gateway uses the value that was previously\n used for this volume as the new target name.
", + "smithy.api#documentation": "The name of the iSCSI target used by an initiator to connect to a volume and used as a\n suffix for the target ARN. For example, specifying TargetName
as\n myvolume results in the target ARN of\n arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume
.\n The target name must be unique across all volumes on a gateway.
If you don't specify a value, Storage Gateway uses the value that was previously\n used for this volume as the new target name.
", "smithy.api#required": {} } }, "NetworkInterfaceId": { "target": "com.amazonaws.storagegateway#NetworkInterfaceId", "traits": { - "smithy.api#documentation": "The network interface of the gateway on which to expose the iSCSI target. Only IPv4\n addresses are accepted. Use DescribeGatewayInformation to get a list of\n the network interfaces available on a gateway.
\n\nValid Values: A valid IP address.
", + "smithy.api#documentation": "The network interface of the gateway on which to expose the iSCSI target. Only IPv4\n addresses are accepted. Use DescribeGatewayInformation to get a list of\n the network interfaces available on a gateway.
\nValid Values: A valid IP address.
", "smithy.api#required": {} } }, "KMSEncrypted": { "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "Set to true
to use Amazon S3 server-side encryption with your own\n KMS key, or false
to use a key managed by Amazon S3.\n Optional.
Valid Values: true
| false
\n
Set to true
to use Amazon S3 server-side encryption with your own\n KMS key, or false
to use a key managed by Amazon S3.\n Optional.
Valid Values: true
| false
\n
A list of up to 50 tags that can be assigned to a stored volume. Each tag is a key-value\n pair.
\n\nValid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.
\nA list of up to 50 tags that can be assigned to a stored volume. Each tag is a key-value\n pair.
\nValid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.
\nA JSON object containing one or more of the following fields:
\n\nA JSON object containing one or more of the following fields:
\nA JSON object containing the following fields:
" + "smithy.api#documentation": "A JSON object containing the following fields:
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#CreateTapePool": { @@ -1897,9 +2147,12 @@ "Tags": { "target": "com.amazonaws.storagegateway#Tags", "traits": { - "smithy.api#documentation": "A list of up to 50 tags that can be assigned to tape pool. Each tag is a key-value\n pair.
\n\nValid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.
\nA list of up to 50 tags that can be assigned to tape pool. Each tag is a key-value\n pair.
\nValid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.
\nThe unique Amazon Resource Name (ARN) that represents the custom tape pool. Use the\n ListTapePools operation to return a list of tape pools for your\n account and Amazon Web Services Region.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#CreateTapeWithBarcode": { @@ -1930,7 +2186,21 @@ } ], "traits": { - "smithy.api#documentation": "Creates a virtual tape by using your own barcode. You write data to the virtual tape and\n then archive the tape. A barcode is unique and cannot be reused if it has already been used\n on a tape. This applies to barcodes used on deleted tapes. This operation is only supported\n in the tape gateway type.
\n\nCache storage must be allocated to the gateway before you can create a virtual tape.\n Use the AddCache operation to add cache storage to a gateway.
\nCreates a virtual tape by using your own barcode. You write data to the virtual tape and\n then archive the tape. A barcode is unique and cannot be reused if it has already been used\n on a tape. This applies to barcodes used on deleted tapes. This operation is only supported\n in the tape gateway type.
\nCache storage must be allocated to the gateway before you can create a virtual tape.\n Use the AddCache operation to add cache storage to a gateway.
\nThe size, in bytes, of the virtual tape that you want to create.
\n\nThe size must be aligned by gigabyte (1024*1024*1024 bytes).
\nThe size, in bytes, of the virtual tape that you want to create.
\nThe size must be aligned by gigabyte (1024*1024*1024 bytes).
\nThe barcode that you want to assign to the tape.
\n\nBarcodes cannot be reused. This includes barcodes used for tapes that have been\n deleted.
\nThe barcode that you want to assign to the tape.
\nBarcodes cannot be reused. This includes barcodes used for tapes that have been\n deleted.
\nSet to true
to use Amazon S3 server-side encryption with your own\n KMS key, or false
to use a key managed by Amazon S3.\n Optional.
Valid Values: true
| false
\n
Set to true
to use Amazon S3 server-side encryption with your own\n KMS key, or false
to use a key managed by Amazon S3.\n Optional.
Valid Values: true
| false
\n
A list of up to 50 tags that can be assigned to a virtual tape that has a barcode. Each\n tag is a key-value pair.
\n\nValid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.
\nA list of up to 50 tags that can be assigned to a virtual tape that has a barcode. Each\n tag is a key-value pair.
\nValid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.
\nCreateTapeWithBarcodeInput
" + "smithy.api#documentation": "CreateTapeWithBarcodeInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#CreateTapeWithBarcodeOutput": { @@ -2004,7 +2275,8 @@ } }, "traits": { - "smithy.api#documentation": "CreateTapeOutput
" + "smithy.api#documentation": "CreateTapeOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#CreateTapes": { @@ -2024,7 +2296,27 @@ } ], "traits": { - "smithy.api#documentation": "Creates one or more virtual tapes. You write data to the virtual tapes and then archive\n the tapes. This operation is only supported in the tape gateway type.
\n\nCache storage must be allocated to the gateway before you can create virtual tapes.\n Use the AddCache operation to add cache storage to a gateway.
\nCreates one or more virtual tapes. You write data to the virtual tapes and then archive\n the tapes. This operation is only supported in the tape gateway type.
\nCache storage must be allocated to the gateway before you can create virtual tapes.\n Use the AddCache operation to add cache storage to a gateway.
\nThe size, in bytes, of the virtual tapes that you want to create.
\n\nThe size must be aligned by gigabyte (1024*1024*1024 bytes).
\nThe size, in bytes, of the virtual tapes that you want to create.
\nThe size must be aligned by gigabyte (1024*1024*1024 bytes).
\nA unique identifier that you use to retry a request. If you retry a request, use the\n same ClientToken
you specified in the initial request.
Using the same ClientToken
prevents creating the tape multiple\n times.
A unique identifier that you use to retry a request. If you retry a request, use the\n same ClientToken
you specified in the initial request.
Using the same ClientToken
prevents creating the tape multiple\n times.
A prefix that you append to the barcode of the virtual tape you are creating. This\n prefix makes the barcode unique.
\n\nThe prefix must be 1-4 characters in length and must be one of the uppercase letters\n from A to Z.
\nA prefix that you append to the barcode of the virtual tape you are creating. This\n prefix makes the barcode unique.
\nThe prefix must be 1-4 characters in length and must be one of the uppercase letters\n from A to Z.
\nSet to true
to use Amazon S3 server-side encryption with your own\n KMS key, or false
to use a key managed by Amazon S3.\n Optional.
Valid Values: true
| false
\n
Set to true
to use Amazon S3 server-side encryption with your own\n KMS key, or false
to use a key managed by Amazon S3.\n Optional.
Valid Values: true
| false
\n
A list of up to 50 tags that can be assigned to a virtual tape. Each tag is a key-value\n pair.
\n\nValid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.
\nA list of up to 50 tags that can be assigned to a virtual tape. Each tag is a key-value\n pair.
\nValid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.
\nCreateTapesInput
" + "smithy.api#documentation": "CreateTapesInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#CreateTapesOutput": { @@ -2112,7 +2405,8 @@ } }, "traits": { - "smithy.api#documentation": "CreateTapeOutput
" + "smithy.api#documentation": "CreateTapeOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#CreatedDate": { @@ -2187,6 +2481,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DeleteAutomaticTapeCreationPolicyOutput": { @@ -2195,6 +2492,9 @@ "GatewayARN": { "target": "com.amazonaws.storagegateway#GatewayARN" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DeleteBandwidthRateLimit": { @@ -2214,7 +2514,20 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the bandwidth rate limits of a gateway. You can delete either the upload and\n download bandwidth rate limit, or you can delete both. If you delete only one of the\n limits, the other limit remains unchanged. To specify which gateway to work with, use the\n Amazon Resource Name (ARN) of the gateway in your request. This operation is supported only\n for the stored volume, cached volume, and tape gateway types.
" + "smithy.api#documentation": "Deletes the bandwidth rate limits of a gateway. You can delete either the upload and\n download bandwidth rate limit, or you can delete both. If you delete only one of the\n limits, the other limit remains unchanged. To specify which gateway to work with, use the\n Amazon Resource Name (ARN) of the gateway in your request. This operation is supported only\n for the stored volume, cached volume, and tape gateway types.
", + "smithy.api#examples": [ + { + "title": "To delete bandwidth rate limits of gateway", + "documentation": "Deletes the bandwidth rate limits of a gateway; either the upload or download limit, or both.", + "input": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", + "BandwidthType": "All" + }, + "output": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" + } + } + ] } }, "com.amazonaws.storagegateway#DeleteBandwidthRateLimitInput": { @@ -2229,13 +2542,14 @@ "BandwidthType": { "target": "com.amazonaws.storagegateway#BandwidthType", "traits": { - "smithy.api#documentation": "One of the BandwidthType values that indicates the gateway bandwidth rate limit to\n delete.
\n\nValid Values: UPLOAD
| DOWNLOAD
| ALL
\n
One of the BandwidthType values that indicates the gateway bandwidth rate limit to\n delete.
\nValid Values: UPLOAD
| DOWNLOAD
| ALL
\n
A JSON object containing the following fields:
\n\nA JSON object containing the following fields:
\nA JSON object containing the Amazon Resource Name (ARN) of the gateway whose bandwidth\n rate information was deleted.
" + "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the gateway whose bandwidth\n rate information was deleted.
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DeleteChapCredentials": { @@ -2266,7 +2581,21 @@ } ], "traits": { - "smithy.api#documentation": "Deletes Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified\n iSCSI target and initiator pair. This operation is supported in volume and tape gateway\n types.
" + "smithy.api#documentation": "Deletes Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified\n iSCSI target and initiator pair. This operation is supported in volume and tape gateway\n types.
", + "smithy.api#examples": [ + { + "title": "To delete CHAP credentials", + "documentation": "Deletes Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target and initiator pair.", + "input": { + "TargetARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume", + "InitiatorName": "iqn.1991-05.com.microsoft:computername.domain.example.com" + }, + "output": { + "TargetARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume", + "InitiatorName": "iqn.1991-05.com.microsoft:computername.domain.example.com" + } + } + ] } }, "com.amazonaws.storagegateway#DeleteChapCredentialsInput": { @@ -2288,7 +2617,8 @@ } }, "traits": { - "smithy.api#documentation": "A JSON object containing one or more of the following fields:
\n\nA JSON object containing one or more of the following fields:
\nA JSON object containing the following fields:
" + "smithy.api#documentation": "A JSON object containing the following fields:
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DeleteFileShare": { @@ -2345,12 +2676,13 @@ "target": "com.amazonaws.storagegateway#Boolean2", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "If this value is set to true
, the operation deletes a file share\n immediately and aborts all data uploads to Amazon Web Services. Otherwise, the file share is\n not deleted until all data is uploaded to Amazon Web Services. This process aborts the data\n upload process, and the file share enters the FORCE_DELETING
status.
Valid Values: true
| false
\n
If this value is set to true
, the operation deletes a file share\n immediately and aborts all data uploads to Amazon Web Services. Otherwise, the file share is\n not deleted until all data is uploaded to Amazon Web Services. This process aborts the data\n upload process, and the file share enters the FORCE_DELETING
status.
Valid Values: true
| false
\n
DeleteFileShareInput
" + "smithy.api#documentation": "DeleteFileShareInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DeleteFileShareOutput": { @@ -2364,7 +2696,8 @@ } }, "traits": { - "smithy.api#documentation": "DeleteFileShareOutput
" + "smithy.api#documentation": "DeleteFileShareOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DeleteGateway": { @@ -2384,7 +2717,19 @@ } ], "traits": { - "smithy.api#documentation": "Deletes a gateway. To specify which gateway to delete, use the Amazon Resource Name\n (ARN) of the gateway in your request. The operation deletes the gateway; however, it does\n not delete the gateway virtual machine (VM) from your host computer.
\n\nAfter you delete a gateway, you cannot reactivate it. Completed snapshots of the gateway\n volumes are not deleted upon deleting the gateway, however, pending snapshots will not\n complete. After you delete a gateway, your next step is to remove it from your\n environment.
\n\nYou no longer pay software charges after the gateway is deleted; however, your\n existing Amazon EBS snapshots persist and you will continue to be billed for these\n snapshots. You can choose to remove all remaining Amazon EBS snapshots by canceling your\n Amazon EC2 subscription. If you prefer not to cancel your Amazon EC2 subscription, you\n can delete your snapshots using the Amazon EC2 console. For more information, see the\n Storage Gateway detail\n page.
\nDeletes a gateway. To specify which gateway to delete, use the Amazon Resource Name\n (ARN) of the gateway in your request. The operation deletes the gateway; however, it does\n not delete the gateway virtual machine (VM) from your host computer.
\nAfter you delete a gateway, you cannot reactivate it. Completed snapshots of the gateway\n volumes are not deleted upon deleting the gateway, however, pending snapshots will not\n complete. After you delete a gateway, your next step is to remove it from your\n environment.
\nYou no longer pay software charges after the gateway is deleted; however, your\n existing Amazon EBS snapshots persist and you will continue to be billed for these\n snapshots. You can choose to remove all remaining Amazon EBS snapshots by canceling your\n Amazon EC2 subscription. If you prefer not to cancel your Amazon EC2 subscription, you\n can delete your snapshots using the Amazon EC2 console. For more information, see the\n Storage Gateway detail\n page.
\nA JSON object containing the ID of the gateway to delete.
" + "smithy.api#documentation": "A JSON object containing the ID of the gateway to delete.
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DeleteGatewayOutput": { @@ -2409,7 +2755,8 @@ } }, "traits": { - "smithy.api#documentation": "A JSON object containing the ID of the deleted gateway.
" + "smithy.api#documentation": "A JSON object containing the ID of the deleted gateway.
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DeleteSnapshotSchedule": { @@ -2429,7 +2776,19 @@ } ], "traits": { - "smithy.api#documentation": "Deletes a snapshot of a volume.
\n\nYou can take snapshots of your gateway volumes on a scheduled or ad hoc basis. This API\n action enables you to delete a snapshot schedule for a volume. For more information, see\n Backing up your\n volumes. In the DeleteSnapshotSchedule
request, you identify the\n volume by providing its Amazon Resource Name (ARN). This operation is only supported for\n cached volume gateway types.
To list or delete a snapshot, you must use the Amazon EC2 API. For more information,\n go to DescribeSnapshots\n in the Amazon Elastic Compute Cloud API Reference.
\nDeletes a snapshot of a volume.
\nYou can take snapshots of your gateway volumes on a scheduled or ad hoc basis. This API\n action enables you to delete a snapshot schedule for a volume. For more information, see\n Backing up your\n volumes. In the DeleteSnapshotSchedule
request, you identify the\n volume by providing its Amazon Resource Name (ARN). This operation is only supported for\n cached volume gateway types.
To list or delete a snapshot, you must use the Amazon EC2 API. For more information,\n go to DescribeSnapshots\n in the Amazon Elastic Compute Cloud API Reference.
\nThe volume which snapshot schedule was deleted.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DeleteTape": { @@ -2472,7 +2837,20 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the specified virtual tape. This operation is only supported in the tape gateway\n type.
" + "smithy.api#documentation": "Deletes the specified virtual tape. This operation is only supported in the tape gateway\n type.
", + "smithy.api#examples": [ + { + "title": "To delete a virtual tape", + "documentation": "This example deletes the specified virtual tape.", + "input": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:204469490176:gateway/sgw-12A3456B", + "TapeARN": "arn:aws:storagegateway:us-east-1:204469490176:tape/TEST05A2A0" + }, + "output": { + "TapeARN": "arn:aws:storagegateway:us-east-1:204469490176:tape/TEST05A2A0" + } + } + ] } }, "com.amazonaws.storagegateway#DeleteTapeArchive": { @@ -2492,7 +2870,19 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the specified virtual tape from the virtual tape shelf (VTS). This operation is\n only supported in the tape gateway type.
" + "smithy.api#documentation": "Deletes the specified virtual tape from the virtual tape shelf (VTS). This operation is\n only supported in the tape gateway type.
", + "smithy.api#examples": [ + { + "title": "To delete a virtual tape from the shelf (VTS)", + "documentation": "Deletes the specified virtual tape from the virtual tape shelf (VTS).", + "input": { + "TapeARN": "arn:aws:storagegateway:us-east-1:204469490176:tape/TEST05A2A0" + }, + "output": { + "TapeARN": "arn:aws:storagegateway:us-east-1:204469490176:tape/TEST05A2A0" + } + } + ] } }, "com.amazonaws.storagegateway#DeleteTapeArchiveInput": { @@ -2514,7 +2904,8 @@ } }, "traits": { - "smithy.api#documentation": "DeleteTapeArchiveInput
" + "smithy.api#documentation": "DeleteTapeArchiveInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DeleteTapeArchiveOutput": { @@ -2528,7 +2919,8 @@ } }, "traits": { - "smithy.api#documentation": "DeleteTapeArchiveOutput
" + "smithy.api#documentation": "DeleteTapeArchiveOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DeleteTapeInput": { @@ -2557,7 +2949,8 @@ } }, "traits": { - "smithy.api#documentation": "DeleteTapeInput
" + "smithy.api#documentation": "DeleteTapeInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DeleteTapeOutput": { @@ -2571,7 +2964,8 @@ } }, "traits": { - "smithy.api#documentation": "DeleteTapeOutput
" + "smithy.api#documentation": "DeleteTapeOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DeleteTapePool": { @@ -2604,6 +2998,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DeleteTapePoolOutput": { @@ -2615,6 +3012,9 @@ "smithy.api#documentation": "The Amazon Resource Name (ARN) of the custom tape pool being deleted.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DeleteVolume": { @@ -2634,7 +3034,19 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the specified storage volume that you previously created using the CreateCachediSCSIVolume or CreateStorediSCSIVolume API.\n This operation is only supported in the cached volume and stored volume types. For stored\n volume gateways, the local disk that was configured as the storage volume is not deleted.\n You can reuse the local disk to create another storage volume.
\n\nBefore you delete a volume, make sure there are no iSCSI connections to the volume you\n are deleting. You should also make sure there is no snapshot in progress. You can use the\n Amazon Elastic Compute Cloud (Amazon EC2) API to query snapshots on the volume you are\n deleting and check the snapshot status. For more information, go to DescribeSnapshots in the Amazon Elastic Compute Cloud API\n Reference.
\n\nIn the request, you must provide the Amazon Resource Name (ARN) of the storage volume\n you want to delete.
" + "smithy.api#documentation": "Deletes the specified storage volume that you previously created using the CreateCachediSCSIVolume or CreateStorediSCSIVolume API.\n This operation is only supported in the cached volume and stored volume types. For stored\n volume gateways, the local disk that was configured as the storage volume is not deleted.\n You can reuse the local disk to create another storage volume.
\nBefore you delete a volume, make sure there are no iSCSI connections to the volume you\n are deleting. You should also make sure there is no snapshot in progress. You can use the\n Amazon Elastic Compute Cloud (Amazon EC2) API to query snapshots on the volume you are\n deleting and check the snapshot status. For more information, go to DescribeSnapshots in the Amazon Elastic Compute Cloud API\n Reference.
\nIn the request, you must provide the Amazon Resource Name (ARN) of the storage volume\n you want to delete.
", + "smithy.api#examples": [ + { + "title": "To delete a gateway volume", + "documentation": "Deletes the specified gateway volume that you previously created using the CreateCachediSCSIVolume or CreateStorediSCSIVolume API.", + "input": { + "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB" + }, + "output": { + "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB" + } + } + ] } }, "com.amazonaws.storagegateway#DeleteVolumeInput": { @@ -2649,7 +3061,8 @@ } }, "traits": { - "smithy.api#documentation": "A JSON object containing the DeleteVolumeInput$VolumeARN to\n delete.
" + "smithy.api#documentation": "A JSON object containing the DeleteVolumeInput$VolumeARN to\n delete.
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DeleteVolumeOutput": { @@ -2663,7 +3076,8 @@ } }, "traits": { - "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the storage volume that was\n deleted.
" + "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the storage volume that was\n deleted.
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DeprecationDate": { @@ -2704,6 +3118,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DescribeAvailabilityMonitorTestOutput": { @@ -2724,6 +3141,9 @@ "smithy.api#documentation": "The time the high availability monitoring test was started. If a test hasn't been\n performed, the value of this field is null.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DescribeBandwidthRateLimit": { @@ -2743,7 +3163,21 @@ } ], "traits": { - "smithy.api#documentation": "Returns the bandwidth rate limits of a gateway. By default, these limits are not set,\n which means no bandwidth rate limiting is in effect. This operation is supported only for\n the stored volume, cached volume, and tape gateway types. To describe bandwidth rate limits\n for S3 file gateways, use DescribeBandwidthRateLimitSchedule.
\n\nThis operation returns a value for a bandwidth rate limit only if the limit is set. If\n no limits are set for the gateway, then this operation returns only the gateway ARN in the\n response body. To specify which gateway to describe, use the Amazon Resource Name (ARN) of\n the gateway in your request.
" + "smithy.api#documentation": "Returns the bandwidth rate limits of a gateway. By default, these limits are not set,\n which means no bandwidth rate limiting is in effect. This operation is supported only for\n the stored volume, cached volume, and tape gateway types. To describe bandwidth rate limits\n for S3 file gateways, use DescribeBandwidthRateLimitSchedule.
\nThis operation returns a value for a bandwidth rate limit only if the limit is set. If\n no limits are set for the gateway, then this operation returns only the gateway ARN in the\n response body. To specify which gateway to describe, use the Amazon Resource Name (ARN) of\n the gateway in your request.
", + "smithy.api#examples": [ + { + "title": "To describe the bandwidth rate limits of a gateway", + "documentation": "Returns a value for a bandwidth rate limit if set. If not set, then only the gateway ARN is returned.", + "input": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" + }, + "output": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", + "AverageUploadRateLimitInBitsPerSec": 102400, + "AverageDownloadRateLimitInBitsPerSec": 204800 + } + } + ] } }, "com.amazonaws.storagegateway#DescribeBandwidthRateLimitInput": { @@ -2757,7 +3191,8 @@ } }, "traits": { - "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the gateway.
" + "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the gateway.
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DescribeBandwidthRateLimitOutput": { @@ -2780,7 +3215,8 @@ } }, "traits": { - "smithy.api#documentation": "A JSON object containing the following fields:
" + "smithy.api#documentation": "A JSON object containing the following fields:
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DescribeBandwidthRateLimitSchedule": { @@ -2800,7 +3236,7 @@ } ], "traits": { - "smithy.api#documentation": "Returns information about the bandwidth rate limit schedule of a gateway. By default,\n gateways do not have bandwidth rate limit schedules, which means no bandwidth rate limiting\n is in effect. This operation is supported only for volume, tape and S3 file gateways. FSx\n file gateways do not support bandwidth rate limits.
\n\nThis operation returns information about a gateway's bandwidth rate limit schedule. A\n bandwidth rate limit schedule consists of one or more bandwidth rate limit intervals. A\n bandwidth rate limit interval defines a period of time on one or more days of the week,\n during which bandwidth rate limits are specified for uploading, downloading, or both.
\n\nA bandwidth rate limit interval consists of one or more days of the week, a start hour\n and minute, an ending hour and minute, and bandwidth rate limits for uploading and\n downloading
\n\nIf no bandwidth rate limit schedule intervals are set for the gateway, this operation\n returns an empty response. To specify which gateway to describe, use the Amazon Resource\n Name (ARN) of the gateway in your request.
" + "smithy.api#documentation": "Returns information about the bandwidth rate limit schedule of a gateway. By default,\n gateways do not have bandwidth rate limit schedules, which means no bandwidth rate limiting\n is in effect. This operation is supported only for volume, tape and S3 file gateways. FSx\n file gateways do not support bandwidth rate limits.
\nThis operation returns information about a gateway's bandwidth rate limit schedule. A\n bandwidth rate limit schedule consists of one or more bandwidth rate limit intervals. A\n bandwidth rate limit interval defines a period of time on one or more days of the week,\n during which bandwidth rate limits are specified for uploading, downloading, or both.
\nA bandwidth rate limit interval consists of one or more days of the week, a start hour\n and minute, an ending hour and minute, and bandwidth rate limits for uploading and\n downloading
\nIf no bandwidth rate limit schedule intervals are set for the gateway, this operation\n returns an empty response. To specify which gateway to describe, use the Amazon Resource\n Name (ARN) of the gateway in your request.
" } }, "com.amazonaws.storagegateway#DescribeBandwidthRateLimitScheduleInput": { @@ -2812,6 +3248,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DescribeBandwidthRateLimitScheduleOutput": { @@ -2826,6 +3265,9 @@ "smithy.api#documentation": "An array that contains the bandwidth rate limit intervals for a tape or volume gateway.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DescribeCache": { @@ -2845,7 +3287,28 @@ } ], "traits": { - "smithy.api#documentation": "Returns information about the cache of a gateway. This operation is only supported in\n the cached volume, tape, and file gateway types.
\n\nThe response includes disk IDs that are configured as cache, and it includes the amount\n of cache allocated and used.
" + "smithy.api#documentation": "Returns information about the cache of a gateway. This operation is only supported in\n the cached volume, tape, and file gateway types.
\nThe response includes disk IDs that are configured as cache, and it includes the amount\n of cache allocated and used.
", + "smithy.api#examples": [ + { + "title": "To describe cache information", + "documentation": "Returns information about the cache of a gateway.", + "input": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" + }, + "output": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", + "DiskIds": [ + "pci-0000:03:00.0-scsi-0:0:0:0", + "pci-0000:04:00.0-scsi-0:1:0:0" + ], + "CacheAllocatedInBytes": 2199023255552, + "CacheUsedPercentage": 0.07, + "CacheDirtyPercentage": 0.07, + "CacheHitPercentage": 99.68, + "CacheMissPercentage": 0.32 + } + } + ] } }, "com.amazonaws.storagegateway#DescribeCacheInput": { @@ -2857,6 +3320,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DescribeCacheOutput": { @@ -2906,6 +3372,9 @@ "smithy.api#documentation": "Percent of application read operations from the file shares that are not served from\n cache. The sample is taken at the end of the reporting period.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DescribeCachediSCSIVolumes": { @@ -2925,7 +3394,36 @@ } ], "traits": { - "smithy.api#documentation": "Returns a description of the gateway volumes specified in the request. This operation is\n only supported in the cached volume gateway types.
\n\nThe list of gateway volumes in the request must be from one gateway. In the response,\n Storage Gateway returns volume information sorted by volume Amazon Resource Name\n (ARN).
" + "smithy.api#documentation": "Returns a description of the gateway volumes specified in the request. This operation is\n only supported in the cached volume gateway types.
\nThe list of gateway volumes in the request must be from one gateway. In the response,\n Storage Gateway returns volume information sorted by volume Amazon Resource Name\n (ARN).
", + "smithy.api#examples": [ + { + "title": "To describe gateway cached iSCSI volumes", + "documentation": "Returns a description of the gateway cached iSCSI volumes specified in the request.", + "input": { + "VolumeARNs": [ + "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB" + ] + }, + "output": { + "CachediSCSIVolumes": [ + { + "VolumeiSCSIAttributes": { + "ChapEnabled": true, + "LunNumber": 1, + "NetworkInterfaceId": "10.243.43.207", + "NetworkInterfacePort": 3260, + "TargetARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume" + }, + "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB", + "VolumeId": "vol-1122AABB", + "VolumeSizeInBytes": 1099511627776, + "VolumeStatus": "AVAILABLE", + "VolumeType": "CACHED iSCSI" + } + ] + } + } + ] } }, "com.amazonaws.storagegateway#DescribeCachediSCSIVolumesInput": { @@ -2938,6 +3436,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DescribeCachediSCSIVolumesOutput": { @@ -2951,7 +3452,8 @@ } }, "traits": { - "smithy.api#documentation": "A JSON object containing the following fields:
" + "smithy.api#documentation": "A JSON object containing the following fields:
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DescribeChapCredentials": { @@ -2971,7 +3473,26 @@ } ], "traits": { - "smithy.api#documentation": "Returns an array of Challenge-Handshake Authentication Protocol (CHAP) credentials\n information for a specified iSCSI target, one for each target-initiator pair. This\n operation is supported in the volume and tape gateway types.
" + "smithy.api#documentation": "Returns an array of Challenge-Handshake Authentication Protocol (CHAP) credentials\n information for a specified iSCSI target, one for each target-initiator pair. This\n operation is supported in the volume and tape gateway types.
", + "smithy.api#examples": [ + { + "title": "To describe CHAP credetnitals for an iSCSI", + "documentation": "Returns an array of Challenge-Handshake Authentication Protocol (CHAP) credentials information for a specified iSCSI target, one for each target-initiator pair.", + "input": { + "TargetARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume" + }, + "output": { + "ChapCredentials": [ + { + "TargetARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume", + "SecretToAuthenticateInitiator": "111111111111", + "InitiatorName": "iqn.1991-05.com.microsoft:computername.domain.example.com", + "SecretToAuthenticateTarget": "222222222222" + } + ] + } + } + ] } }, "com.amazonaws.storagegateway#DescribeChapCredentialsInput": { @@ -2986,7 +3507,8 @@ } }, "traits": { - "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the iSCSI volume\n target.
" + "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the iSCSI volume\n target.
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DescribeChapCredentialsOutput": { @@ -2995,12 +3517,13 @@ "ChapCredentials": { "target": "com.amazonaws.storagegateway#ChapCredentials", "traits": { - "smithy.api#documentation": "An array of ChapInfo objects that represent CHAP credentials. Each\n object in the array contains CHAP credential information for one target-initiator pair. If\n no CHAP credentials are set, an empty array is returned. CHAP credential information is\n provided in a JSON object with the following fields:
\n\n\n InitiatorName: The iSCSI initiator that connects to\n the target.
\n\n\n SecretToAuthenticateInitiator: The secret key that\n the initiator (for example, the Windows client) must provide to participate in mutual\n CHAP with the target.
\n\n\n SecretToAuthenticateTarget: The secret key that the\n target must provide to participate in mutual CHAP with the initiator (e.g. Windows\n client).
\n\n\n TargetARN: The Amazon Resource Name (ARN) of the\n storage volume.
\n\nAn array of ChapInfo objects that represent CHAP credentials. Each\n object in the array contains CHAP credential information for one target-initiator pair. If\n no CHAP credentials are set, an empty array is returned. CHAP credential information is\n provided in a JSON object with the following fields:
\n\n InitiatorName: The iSCSI initiator that connects to\n the target.
\n\n SecretToAuthenticateInitiator: The secret key that\n the initiator (for example, the Windows client) must provide to participate in mutual\n CHAP with the target.
\n\n SecretToAuthenticateTarget: The secret key that the\n target must provide to participate in mutual CHAP with the initiator (e.g. Windows\n client).
\n\n TargetARN: The Amazon Resource Name (ARN) of the\n storage volume.
\nA JSON object containing the following fields:
" + "smithy.api#documentation": "A JSON object containing the following fields:
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DescribeFileSystemAssociations": { @@ -3033,7 +3556,10 @@ "smithy.api#required": {} } } - } + }, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.storagegateway#DescribeFileSystemAssociationsOutput": { "type": "structure", @@ -3044,6 +3570,9 @@ "smithy.api#documentation": "An array containing the FileSystemAssociationInfo
data type of each file\n system association to be described.\n
Returns metadata about a gateway such as its name, network interfaces, configured time\n zone, and the state (whether the gateway is running or not). To specify which gateway to\n describe, use the Amazon Resource Name (ARN) of the gateway in your request.
" + "smithy.api#documentation": "Returns metadata about a gateway such as its name, network interfaces, configured time\n zone, and the state (whether the gateway is running or not). To specify which gateway to\n describe, use the Amazon Resource Name (ARN) of the gateway in your request.
", + "smithy.api#examples": [ + { + "title": "To describe metadata about the gateway", + "documentation": "Returns metadata about a gateway such as its name, network interfaces, configured time zone, and the state (whether the gateway is running or not).", + "input": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" + }, + "output": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", + "GatewayId": "sgw-AABB1122", + "GatewayName": "My_Gateway", + "GatewayTimezone": "GMT-8:00", + "GatewayState": "STATE_RUNNING", + "GatewayNetworkInterfaces": [ + { + "Ipv4Address": "10.35.69.216" + } + ], + "GatewayType": "STORED", + "NextUpdateAvailabilityDate": "2017-01-02T16:00:00", + "LastSoftwareUpdate": "2016-01-02T16:00:00" + } + } + ] } }, "com.amazonaws.storagegateway#DescribeGatewayInformationInput": { @@ -3077,7 +3630,8 @@ } }, "traits": { - "smithy.api#documentation": "A JSON object containing the ID of the gateway.
" + "smithy.api#documentation": "A JSON object containing the ID of the gateway.
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DescribeGatewayInformationOutput": { @@ -3173,7 +3727,7 @@ "EndpointType": { "target": "com.amazonaws.storagegateway#EndpointType", "traits": { - "smithy.api#documentation": "The type of endpoint for your gateway.
\n\nValid Values: STANDARD
| FIPS
\n
The type of endpoint for your gateway.
\nValid Values: STANDARD
| FIPS
\n
A JSON object containing the following fields:
" + "smithy.api#documentation": "A JSON object containing the following fields:
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DescribeMaintenanceStartTime": { @@ -3228,7 +3783,23 @@ } ], "traits": { - "smithy.api#documentation": "Returns your gateway's weekly maintenance start time including the day and time of\n the week. Note that values are in terms of the gateway's time zone.
" + "smithy.api#documentation": "Returns your gateway's weekly maintenance start time including the day and time of\n the week. Note that values are in terms of the gateway's time zone.
", + "smithy.api#examples": [ + { + "title": "To describe gateway's maintenance start time", + "documentation": "Returns your gateway's weekly maintenance start time including the day and time of the week.", + "input": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" + }, + "output": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", + "HourOfDay": 15, + "MinuteOfHour": 35, + "DayOfWeek": 2, + "Timezone": "GMT+7:00" + } + } + ] } }, "com.amazonaws.storagegateway#DescribeMaintenanceStartTimeInput": { @@ -3242,7 +3813,8 @@ } }, "traits": { - "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the gateway.
" + "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the gateway.
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DescribeMaintenanceStartTimeOutput": { @@ -3283,7 +3855,8 @@ } }, "traits": { - "smithy.api#documentation": "A JSON object containing the following fields:
\n\nA JSON object containing the following fields:
\nDescribeNFSFileSharesInput
" + "smithy.api#documentation": "DescribeNFSFileSharesInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DescribeNFSFileSharesOutput": { @@ -3332,7 +3906,8 @@ } }, "traits": { - "smithy.api#documentation": "DescribeNFSFileSharesOutput
" + "smithy.api#documentation": "DescribeNFSFileSharesOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DescribeSMBFileShares": { @@ -3367,7 +3942,8 @@ } }, "traits": { - "smithy.api#documentation": "DescribeSMBFileSharesInput
" + "smithy.api#documentation": "DescribeSMBFileSharesInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DescribeSMBFileSharesOutput": { @@ -3381,7 +3957,8 @@ } }, "traits": { - "smithy.api#documentation": "DescribeSMBFileSharesOutput
" + "smithy.api#documentation": "DescribeSMBFileSharesOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DescribeSMBSettings": { @@ -3413,6 +3990,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DescribeSMBSettingsOutput": { @@ -3430,19 +4010,19 @@ "ActiveDirectoryStatus": { "target": "com.amazonaws.storagegateway#ActiveDirectoryStatus", "traits": { - "smithy.api#documentation": "Indicates the status of a gateway that is a member of the Active Directory\n domain.
\n\n\n ACCESS_DENIED
: Indicates that the JoinDomain
operation\n failed due to an authentication error.
\n DETACHED
: Indicates that gateway is not joined to a domain.
\n JOINED
: Indicates that the gateway has successfully joined a\n domain.
\n JOINING
: Indicates that a JoinDomain
operation is in\n progress.
\n NETWORK_ERROR
: Indicates that JoinDomain
operation\n failed due to a network or connectivity error.
\n TIMEOUT
: Indicates that the JoinDomain
operation failed\n because the operation didn't complete within the allotted time.
\n UNKNOWN_ERROR
: Indicates that the JoinDomain
operation\n failed due to another type of error.
Indicates the status of a gateway that is a member of the Active Directory\n domain.
\n\n ACCESS_DENIED
: Indicates that the JoinDomain
operation\n failed due to an authentication error.
\n DETACHED
: Indicates that gateway is not joined to a domain.
\n JOINED
: Indicates that the gateway has successfully joined a\n domain.
\n JOINING
: Indicates that a JoinDomain
operation is in\n progress.
\n NETWORK_ERROR
: Indicates that JoinDomain
operation\n failed due to a network or connectivity error.
\n TIMEOUT
: Indicates that the JoinDomain
operation failed\n because the operation didn't complete within the allotted time.
\n UNKNOWN_ERROR
: Indicates that the JoinDomain
operation\n failed due to another type of error.
This value is true
if a password for the guest user smbguest
\n is set, otherwise false
. Only supported for S3 File Gateways.
Valid Values: true
| false
\n
This value is true
if a password for the guest user smbguest
\n is set, otherwise false
. Only supported for S3 File Gateways.
Valid Values: true
| false
\n
The type of security strategy that was specified for file gateway.
\n\n\n ClientSpecified
: If you use this option, requests are established\n based on what is negotiated by the client. This option is recommended when you want\n to maximize compatibility across different clients in your environment. Only\n supported for S3 File Gateways.
\n MandatorySigning
: If you use this option, file gateway only allows\n connections from SMBv2 or SMBv3 clients that have signing enabled. This option works\n with SMB clients on Microsoft Windows Vista, Windows Server 2008 or newer.
\n MandatoryEncryption
: If you use this option, file gateway only allows\n connections from SMBv3 clients that have encryption enabled. This option is highly\n recommended for environments that handle sensitive data. This option works with SMB\n clients on Microsoft Windows 8, Windows Server 2012 or newer.
The type of security strategy that was specified for file gateway.
\n\n ClientSpecified
: If you use this option, requests are established\n based on what is negotiated by the client. This option is recommended when you want\n to maximize compatibility across different clients in your environment. Only\n supported for S3 File Gateways.
\n MandatorySigning
: If you use this option, file gateway only allows\n connections from SMBv2 or SMBv3 clients that have signing enabled. This option works\n with SMB clients on Microsoft Windows Vista, Windows Server 2008 or newer.
\n MandatoryEncryption
: If you use this option, file gateway only allows\n connections from SMBv3 clients that have encryption enabled. This option is highly\n recommended for environments that handle sensitive data. This option works with SMB\n clients on Microsoft Windows 8, Windows Server 2012 or newer.
A list of Active Directory users and groups that have special permissions for SMB file\n shares on the gateway.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DescribeSnapshotSchedule": { @@ -3476,7 +4059,23 @@ } ], "traits": { - "smithy.api#documentation": "Describes the snapshot schedule for the specified gateway volume. The snapshot schedule\n information includes intervals at which snapshots are automatically initiated on the\n volume. This operation is only supported in the cached volume and stored volume\n types.
" + "smithy.api#documentation": "Describes the snapshot schedule for the specified gateway volume. The snapshot schedule\n information includes intervals at which snapshots are automatically initiated on the\n volume. This operation is only supported in the cached volume and stored volume\n types.
", + "smithy.api#examples": [ + { + "title": "To describe snapshot schedule for gateway volume", + "documentation": "Describes the snapshot schedule for the specified gateway volume including intervals at which snapshots are automatically initiated.", + "input": { + "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB" + }, + "output": { + "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB", + "StartAt": 6, + "RecurrenceInHours": 24, + "Description": "sgw-AABB1122:vol-AABB1122:Schedule", + "Timezone": "GMT+7:00" + } + } + ] } }, "com.amazonaws.storagegateway#DescribeSnapshotScheduleInput": { @@ -3491,7 +4090,8 @@ } }, "traits": { - "smithy.api#documentation": "A JSON object containing the DescribeSnapshotScheduleInput$VolumeARN\n of the volume.
" + "smithy.api#documentation": "A JSON object containing the DescribeSnapshotScheduleInput$VolumeARN\n of the volume.
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DescribeSnapshotScheduleOutput": { @@ -3533,6 +4133,9 @@ "smithy.api#documentation": "A list of up to 50 tags assigned to the snapshot schedule, sorted alphabetically by key\n name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can\n view all tags using the ListTagsForResource
API operation.
Returns the description of the gateway volumes specified in the request. The list of\n gateway volumes in the request must be from one gateway. In the response, Storage Gateway returns volume information sorted by volume ARNs. This operation is only\n supported in stored volume gateway type.
" + "smithy.api#documentation": "Returns the description of the gateway volumes specified in the request. The list of\n gateway volumes in the request must be from one gateway. In the response, Storage Gateway returns volume information sorted by volume ARNs. This operation is only\n supported in stored volume gateway type.
", + "smithy.api#examples": [ + { + "title": "To describe the volumes of a gateway", + "documentation": "Returns the description of the gateway volumes specified in the request belonging to the same gateway.", + "input": { + "VolumeARNs": [ + "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB" + ] + }, + "output": { + "StorediSCSIVolumes": [ + { + "VolumeiSCSIAttributes": { + "ChapEnabled": true, + "NetworkInterfaceId": "10.243.43.207", + "NetworkInterfacePort": 3260, + "TargetARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume" + }, + "PreservedExistingData": false, + "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB", + "VolumeDiskId": "pci-0000:03:00.0-scsi-0:0:0:0", + "VolumeId": "vol-1122AABB", + "VolumeProgress": 23.7, + "VolumeSizeInBytes": 1099511627776, + "VolumeStatus": "BOOTSTRAPPING" + } + ] + } + } + ] } }, "com.amazonaws.storagegateway#DescribeStorediSCSIVolumesInput": { @@ -3567,7 +4200,8 @@ } }, "traits": { - "smithy.api#documentation": "A JSON object containing a list of DescribeStorediSCSIVolumesInput$VolumeARNs.
" + "smithy.api#documentation": "A JSON object containing a list of DescribeStorediSCSIVolumesInput$VolumeARNs.
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DescribeStorediSCSIVolumesOutput": { @@ -3576,9 +4210,12 @@ "StorediSCSIVolumes": { "target": "com.amazonaws.storagegateway#StorediSCSIVolumes", "traits": { - "smithy.api#documentation": "Describes a single unit of output from DescribeStorediSCSIVolumes. The\n following fields are returned:
\n\n\n ChapEnabled
: Indicates whether mutual CHAP is enabled for the iSCSI\n target.
\n LunNumber
: The logical disk number.
\n NetworkInterfaceId
: The network interface ID of the stored volume that\n initiator use to map the stored volume as an iSCSI target.
\n NetworkInterfacePort
: The port used to communicate with iSCSI\n targets.
\n PreservedExistingData
: Indicates when the stored volume was created,\n existing data on the underlying local disk was preserved.
\n SourceSnapshotId
: If the stored volume was created from a snapshot, this\n field contains the snapshot ID used, e.g. snap-1122aabb
. Otherwise, this\n field is not included.
\n StorediSCSIVolumes
: An array of StorediSCSIVolume objects where each\n object contains metadata about one stored volume.
\n TargetARN
: The Amazon Resource Name (ARN) of the volume target.
\n VolumeARN
: The Amazon Resource Name (ARN) of the stored volume.
\n VolumeDiskId
: The disk ID of the local disk that was specified in the\n CreateStorediSCSIVolume operation.
\n VolumeId
: The unique identifier of the storage volume, e.g.\n vol-1122AABB
.
\n VolumeiSCSIAttributes
: An VolumeiSCSIAttributes object\n that represents a collection of iSCSI attributes for one stored volume.
\n VolumeProgress
: Represents the percentage complete if the volume is\n restoring or bootstrapping that represents the percent of data transferred. This\n field does not appear in the response if the stored volume is not restoring or\n bootstrapping.
\n VolumeSizeInBytes
: The size of the volume in bytes.
\n VolumeStatus
: One of the VolumeStatus
values that indicates\n the state of the volume.
\n VolumeType
: One of the enumeration values describing the type of the\n volume. Currently, only STORED
volumes are supported.
Describes a single unit of output from DescribeStorediSCSIVolumes. The\n following fields are returned:
\n\n ChapEnabled
: Indicates whether mutual CHAP is enabled for the iSCSI\n target.
\n LunNumber
: The logical disk number.
\n NetworkInterfaceId
: The network interface ID of the stored volume that\n initiator use to map the stored volume as an iSCSI target.
\n NetworkInterfacePort
: The port used to communicate with iSCSI\n targets.
\n PreservedExistingData
: Indicates when the stored volume was created,\n existing data on the underlying local disk was preserved.
\n SourceSnapshotId
: If the stored volume was created from a snapshot, this\n field contains the snapshot ID used, e.g. snap-1122aabb
. Otherwise, this\n field is not included.
\n StorediSCSIVolumes
: An array of StorediSCSIVolume objects where each\n object contains metadata about one stored volume.
\n TargetARN
: The Amazon Resource Name (ARN) of the volume target.
\n VolumeARN
: The Amazon Resource Name (ARN) of the stored volume.
\n VolumeDiskId
: The disk ID of the local disk that was specified in the\n CreateStorediSCSIVolume operation.
\n VolumeId
: The unique identifier of the storage volume, e.g.\n vol-1122AABB
.
\n VolumeiSCSIAttributes
: An VolumeiSCSIAttributes object\n that represents a collection of iSCSI attributes for one stored volume.
\n VolumeProgress
: Represents the percentage complete if the volume is\n restoring or bootstrapping that represents the percent of data transferred. This\n field does not appear in the response if the stored volume is not restoring or\n bootstrapping.
\n VolumeSizeInBytes
: The size of the volume in bytes.
\n VolumeStatus
: One of the VolumeStatus
values that indicates\n the state of the volume.
\n VolumeType
: One of the enumeration values describing the type of the\n volume. Currently, only STORED
volumes are supported.
Returns a description of specified virtual tapes in the virtual tape shelf (VTS). This\n operation is only supported in the tape gateway type.
\n\nIf a specific TapeARN
is not specified, Storage Gateway returns a\n description of all virtual tapes found in the VTS associated with your account.
Returns a description of specified virtual tapes in the virtual tape shelf (VTS). This\n operation is only supported in the tape gateway type.
\nIf a specific TapeARN
is not specified, Storage Gateway returns a\n description of all virtual tapes found in the VTS associated with your account.
DescribeTapeArchivesInput
" + "smithy.api#documentation": "DescribeTapeArchivesInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DescribeTapeArchivesOutput": { @@ -3650,7 +4288,8 @@ } }, "traits": { - "smithy.api#documentation": "DescribeTapeArchivesOutput
" + "smithy.api#documentation": "DescribeTapeArchivesOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DescribeTapeRecoveryPoints": { @@ -3670,7 +4309,7 @@ } ], "traits": { - "smithy.api#documentation": "Returns a list of virtual tape recovery points that are available for the specified tape\n gateway.
\n\nA recovery point is a point-in-time view of a virtual tape at which all the data on the\n virtual tape is consistent. If your gateway crashes, virtual tapes that have recovery\n points can be recovered to a new gateway. This operation is only supported in the tape\n gateway type.
", + "smithy.api#documentation": "Returns a list of virtual tape recovery points that are available for the specified tape\n gateway.
\nA recovery point is a point-in-time view of a virtual tape at which all the data on the\n virtual tape is consistent. If your gateway crashes, virtual tapes that have recovery\n points can be recovered to a new gateway. This operation is only supported in the tape\n gateway type.
", "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "Marker", @@ -3702,7 +4341,8 @@ } }, "traits": { - "smithy.api#documentation": "DescribeTapeRecoveryPointsInput
" + "smithy.api#documentation": "DescribeTapeRecoveryPointsInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DescribeTapeRecoveryPointsOutput": { @@ -3720,12 +4360,13 @@ "Marker": { "target": "com.amazonaws.storagegateway#Marker", "traits": { - "smithy.api#documentation": "An opaque string that indicates the position at which the virtual tape recovery points\n that were listed for description ended.
\n\nUse this marker in your next request to list the next set of virtual tape recovery\n points in the list. If there are no more recovery points to describe, this field does not\n appear in the response.
" + "smithy.api#documentation": "An opaque string that indicates the position at which the virtual tape recovery points\n that were listed for description ended.
\nUse this marker in your next request to list the next set of virtual tape recovery\n points in the list. If there are no more recovery points to describe, this field does not\n appear in the response.
" } } }, "traits": { - "smithy.api#documentation": "DescribeTapeRecoveryPointsOutput
" + "smithy.api#documentation": "DescribeTapeRecoveryPointsOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DescribeTapes": { @@ -3746,6 +4387,38 @@ ], "traits": { "smithy.api#documentation": "Returns a description of the specified Amazon Resource Name (ARN) of virtual tapes. If a\n TapeARN
is not specified, returns a description of all virtual tapes\n associated with the specified gateway. This operation is only supported in the tape gateway\n type.
A marker value, obtained in a previous call to DescribeTapes
. This marker\n indicates which page of results to retrieve.
If not specified, the first page of results is retrieved.
" + "smithy.api#documentation": "A marker value, obtained in a previous call to DescribeTapes
. This marker\n indicates which page of results to retrieve.
If not specified, the first page of results is retrieved.
" } }, "Limit": { "target": "com.amazonaws.storagegateway#PositiveIntObject", "traits": { - "smithy.api#documentation": "Specifies that the number of virtual tapes described be limited to the specified\n number.
\n\nAmazon Web Services may impose its own limit, if this field is not set.
\nSpecifies that the number of virtual tapes described be limited to the specified\n number.
\nAmazon Web Services may impose its own limit, if this field is not set.
\nDescribeTapesInput
" + "smithy.api#documentation": "DescribeTapesInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DescribeTapesOutput": { @@ -3798,12 +4472,13 @@ "Marker": { "target": "com.amazonaws.storagegateway#Marker", "traits": { - "smithy.api#documentation": "An opaque string that can be used as part of a subsequent DescribeTapes
\n call to retrieve the next page of results.
If a response does not contain a marker, then there are no more results to be\n retrieved.
" + "smithy.api#documentation": "An opaque string that can be used as part of a subsequent DescribeTapes
\n call to retrieve the next page of results.
If a response does not contain a marker, then there are no more results to be\n retrieved.
" } } }, "traits": { - "smithy.api#documentation": "DescribeTapesOutput
" + "smithy.api#documentation": "DescribeTapesOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DescribeUploadBuffer": { @@ -3823,7 +4498,25 @@ } ], "traits": { - "smithy.api#documentation": "Returns information about the upload buffer of a gateway. This operation is supported\n for the stored volume, cached volume, and tape gateway types.
\n\nThe response includes disk IDs that are configured as upload buffer space, and it\n includes the amount of upload buffer space allocated and used.
" + "smithy.api#documentation": "Returns information about the upload buffer of a gateway. This operation is supported\n for the stored volume, cached volume, and tape gateway types.
\nThe response includes disk IDs that are configured as upload buffer space, and it\n includes the amount of upload buffer space allocated and used.
", + "smithy.api#examples": [ + { + "title": "To describe upload buffer of gateway", + "documentation": "Returns information about the upload buffer of a gateway including disk IDs and the amount of upload buffer space allocated/used.", + "input": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" + }, + "output": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", + "DiskIds": [ + "pci-0000:03:00.0-scsi-0:0:0:0", + "pci-0000:04:00.0-scsi-0:1:0:0" + ], + "UploadBufferUsedInBytes": 161061273600, + "UploadBufferAllocatedInBytes": 0 + } + } + ] } }, "com.amazonaws.storagegateway#DescribeUploadBufferInput": { @@ -3835,6 +4528,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DescribeUploadBufferOutput": { @@ -3863,6 +4559,9 @@ "smithy.api#documentation": "The total number of bytes allocated in the gateway's as upload buffer.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DescribeVTLDevices": { @@ -3882,7 +4581,61 @@ } ], "traits": { - "smithy.api#documentation": "Returns a description of virtual tape library (VTL) devices for the specified tape\n gateway. In the response, Storage Gateway returns VTL device information.
\n\nThis operation is only supported in the tape gateway type.
", + "smithy.api#documentation": "Returns a description of virtual tape library (VTL) devices for the specified tape\n gateway. In the response, Storage Gateway returns VTL device information.
\nThis operation is only supported in the tape gateway type.
", + "smithy.api#examples": [ + { + "title": "To describe virtual tape library (VTL) devices of a single gateway", + "documentation": "Returns a description of virtual tape library (VTL) devices for the specified gateway.", + "input": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B", + "VTLDeviceARNs": [], + "Marker": "1", + "Limit": 123 + }, + "output": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B", + "VTLDevices": [ + { + "DeviceiSCSIAttributes": { + "ChapEnabled": false, + "NetworkInterfaceId": "10.243.43.207", + "NetworkInterfacePort": 3260, + "TargetARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:sgw-1fad4876-mediachanger" + }, + "VTLDeviceARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/device/AMZN_SGW-1FAD4876_MEDIACHANGER_00001", + "VTLDeviceProductIdentifier": "L700", + "VTLDeviceType": "Medium Changer", + "VTLDeviceVendor": "STK" + }, + { + "DeviceiSCSIAttributes": { + "ChapEnabled": false, + "NetworkInterfaceId": "10.243.43.209", + "NetworkInterfacePort": 3260, + "TargetARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:sgw-1fad4876-tapedrive-01" + }, + "VTLDeviceARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/device/AMZN_SGW-1FAD4876_TAPEDRIVE_00001", + "VTLDeviceProductIdentifier": "ULT3580-TD5", + "VTLDeviceType": "Tape Drive", + "VTLDeviceVendor": "IBM" + }, + { + "DeviceiSCSIAttributes": { + "ChapEnabled": false, + "NetworkInterfaceId": "10.243.43.209", + "NetworkInterfacePort": 3260, + "TargetARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:sgw-1fad4876-tapedrive-02" + }, + "VTLDeviceARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/device/AMZN_SGW-1FAD4876_TAPEDRIVE_00002", + "VTLDeviceProductIdentifier": "ULT3580-TD5", + "VTLDeviceType": "Tape Drive", + "VTLDeviceVendor": "IBM" + } + ], + "Marker": "1" + } + } + ], "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "Marker", @@ -3903,7 +4656,7 @@ "VTLDeviceARNs": { "target": "com.amazonaws.storagegateway#VTLDeviceARNs", "traits": { - "smithy.api#documentation": "An array of strings, where each string represents the Amazon Resource Name (ARN) of a\n VTL device.
\n\nAll of the specified VTL devices must be from the same gateway. If no VTL devices are\n specified, the result will contain all devices on the specified gateway.
\nAn array of strings, where each string represents the Amazon Resource Name (ARN) of a\n VTL device.
\nAll of the specified VTL devices must be from the same gateway. If no VTL devices are\n specified, the result will contain all devices on the specified gateway.
\nDescribeVTLDevicesInput
" + "smithy.api#documentation": "DescribeVTLDevicesInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DescribeVTLDevicesOutput": { @@ -3943,7 +4697,8 @@ } }, "traits": { - "smithy.api#documentation": "DescribeVTLDevicesOutput
" + "smithy.api#documentation": "DescribeVTLDevicesOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DescribeWorkingStorage": { @@ -3963,7 +4718,25 @@ } ], "traits": { - "smithy.api#documentation": "Returns information about the working storage of a gateway. This operation is only\n supported in the stored volumes gateway type. This operation is deprecated in cached\n volumes API version (20120630). Use DescribeUploadBuffer instead.
\n\nWorking storage is also referred to as upload buffer. You can also use the\n DescribeUploadBuffer operation to add upload buffer to a stored volume gateway.
\nThe response includes disk IDs that are configured as working storage, and it includes\n the amount of working storage allocated and used.
" + "smithy.api#documentation": "Returns information about the working storage of a gateway. This operation is only\n supported in the stored volumes gateway type. This operation is deprecated in cached\n volumes API version (20120630). Use DescribeUploadBuffer instead.
\nWorking storage is also referred to as upload buffer. You can also use the\n DescribeUploadBuffer operation to add upload buffer to a stored volume gateway.
\nThe response includes disk IDs that are configured as working storage, and it includes\n the amount of working storage allocated and used.
", + "smithy.api#examples": [ + { + "title": "To describe the working storage of a gateway [Depreciated]", + "documentation": "This operation is supported only for the gateway-stored volume architecture. This operation is deprecated in cached-volumes API version (20120630). Use DescribeUploadBuffer instead.", + "input": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" + }, + "output": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", + "DiskIds": [ + "pci-0000:03:00.0-scsi-0:0:0:0", + "pci-0000:03:00.0-scsi-0:0:1:0" + ], + "WorkingStorageUsedInBytes": 789207040, + "WorkingStorageAllocatedInBytes": 2199023255552 + } + } + ] } }, "com.amazonaws.storagegateway#DescribeWorkingStorageInput": { @@ -3977,7 +4750,8 @@ } }, "traits": { - "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the gateway.
" + "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the gateway.
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DescribeWorkingStorageOutput": { @@ -4008,7 +4782,8 @@ } }, "traits": { - "smithy.api#documentation": "A JSON object containing the following fields:
" + "smithy.api#documentation": "A JSON object containing the following fields:
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#Description": { @@ -4053,12 +4828,13 @@ "ForceDetach": { "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "Set to true
to forcibly remove the iSCSI connection of the target volume\n and detach the volume. The default is false
. If this value is set to\n false
, you must manually disconnect the iSCSI connection from the target\n volume.
Valid Values: true
| false
\n
Set to true
to forcibly remove the iSCSI connection of the target volume\n and detach the volume. The default is false
. If this value is set to\n false
, you must manually disconnect the iSCSI connection from the target\n volume.
Valid Values: true
| false
\n
AttachVolumeInput
" + "smithy.api#documentation": "AttachVolumeInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DetachVolumeOutput": { @@ -4072,7 +4848,8 @@ } }, "traits": { - "smithy.api#documentation": "AttachVolumeOutput
" + "smithy.api#documentation": "AttachVolumeOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DeviceType": { @@ -4135,7 +4912,19 @@ } ], "traits": { - "smithy.api#documentation": "Disables a tape gateway when the gateway is no longer functioning. For example, if your\n gateway VM is damaged, you can disable the gateway so you can recover virtual tapes.
\n\nUse this operation for a tape gateway that is not reachable or not functioning. This\n operation is only supported in the tape gateway type.
\n\nAfter a gateway is disabled, it cannot be enabled.
\nDisables a tape gateway when the gateway is no longer functioning. For example, if your\n gateway VM is damaged, you can disable the gateway so you can recover virtual tapes.
\nUse this operation for a tape gateway that is not reachable or not functioning. This\n operation is only supported in the tape gateway type.
\nAfter a gateway is disabled, it cannot be enabled.
\nDisableGatewayInput
" + "smithy.api#documentation": "DisableGatewayInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#DisableGatewayOutput": { @@ -4163,7 +4953,8 @@ } }, "traits": { - "smithy.api#documentation": "DisableGatewayOutput
" + "smithy.api#documentation": "DisableGatewayOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#DisassociateFileSystem": { @@ -4203,6 +4994,9 @@ "smithy.api#documentation": "If this value is set to true, the operation disassociates an Amazon FSx file\n system immediately. It ends all data uploads to the file system, and the file system\n association enters the FORCE_DELETING
status. If this value is set to false,\n the Amazon FSx file system does not disassociate until all data is uploaded.
The Amazon Resource Name (ARN) of the deleted file system association.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#Disk": { @@ -4270,7 +5067,7 @@ "com.amazonaws.storagegateway#DiskAllocationType": { "type": "string", "traits": { - "smithy.api#documentation": "One of the DiskAllocationType
enumeration values that identifies how a\n local disk is used.
Valid Values: UPLOAD_BUFFER
| CACHE_STORAGE
\n
One of the DiskAllocationType
enumeration values that identifies how a\n local disk is used.
Valid Values: UPLOAD_BUFFER
| CACHE_STORAGE
\n
The status of the file share.
\n\nValid Values: CREATING
| UPDATING
| AVAILABLE
|\n DELETING
\n
The status of the file share.
\nValid Values: CREATING
| UPDATING
| AVAILABLE
|\n DELETING
\n
The type of the file share.
", - "smithy.api#enum": [ - { - "value": "NFS", - "name": "NFS" - }, - { - "value": "SMB", - "name": "SMB" + "type": "enum", + "members": { + "NFS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NFS" } - ] + }, + "SMB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SMB" + } + } + }, + "traits": { + "smithy.api#documentation": "The type of the file share.
" } }, "com.amazonaws.storagegateway#FileSystemAssociationARN": { @@ -4947,22 +5870,26 @@ } }, "com.amazonaws.storagegateway#GatewayCapacity": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Small", - "name": "Small" - }, - { - "value": "Medium", - "name": "Medium" - }, - { - "value": "Large", - "name": "Large" + "type": "enum", + "members": { + "Small": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Small" } - ] + }, + "Medium": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Medium" + } + }, + "Large": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Large" + } + } } }, "com.amazonaws.storagegateway#GatewayId": { @@ -4998,7 +5925,7 @@ "GatewayOperationalState": { "target": "com.amazonaws.storagegateway#GatewayOperationalState", "traits": { - "smithy.api#documentation": "The state of the gateway.
\n\nValid Values: DISABLED
| ACTIVE
\n
The state of the gateway.
\nValid Values: DISABLED
| ACTIVE
\n
JoinDomainInput
" + "smithy.api#documentation": "JoinDomainInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#JoinDomainOutput": { @@ -5343,12 +6281,13 @@ "ActiveDirectoryStatus": { "target": "com.amazonaws.storagegateway#ActiveDirectoryStatus", "traits": { - "smithy.api#documentation": "Indicates the status of the gateway as a member of the Active Directory domain.
\n\n\n ACCESS_DENIED
: Indicates that the JoinDomain
operation\n failed due to an authentication error.
\n DETACHED
: Indicates that gateway is not joined to a domain.
\n JOINED
: Indicates that the gateway has successfully joined a\n domain.
\n JOINING
: Indicates that a JoinDomain
operation is in\n progress.
\n NETWORK_ERROR
: Indicates that JoinDomain
operation\n failed due to a network or connectivity error.
\n TIMEOUT
: Indicates that the JoinDomain
operation failed\n because the operation didn't complete within the allotted time.
\n UNKNOWN_ERROR
: Indicates that the JoinDomain
operation\n failed due to another type of error.
Indicates the status of the gateway as a member of the Active Directory domain.
\n\n ACCESS_DENIED
: Indicates that the JoinDomain
operation\n failed due to an authentication error.
\n DETACHED
: Indicates that gateway is not joined to a domain.
\n JOINED
: Indicates that the gateway has successfully joined a\n domain.
\n JOINING
: Indicates that a JoinDomain
operation is in\n progress.
\n NETWORK_ERROR
: Indicates that JoinDomain
operation\n failed due to a network or connectivity error.
\n TIMEOUT
: Indicates that the JoinDomain
operation failed\n because the operation didn't complete within the allotted time.
\n UNKNOWN_ERROR
: Indicates that the JoinDomain
operation\n failed due to another type of error.
JoinDomainOutput
" + "smithy.api#documentation": "JoinDomainOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#KMSKey": { @@ -5388,7 +6327,7 @@ } ], "traits": { - "smithy.api#documentation": "Lists the automatic tape creation policies for a gateway. If there are no automatic tape\n creation policies for the gateway, it returns an empty list.
\n\nThis operation is only supported for tape gateways.
" + "smithy.api#documentation": "Lists the automatic tape creation policies for a gateway. If there are no automatic tape\n creation policies for the gateway, it returns an empty list.
\nThis operation is only supported for tape gateways.
" } }, "com.amazonaws.storagegateway#ListAutomaticTapeCreationPoliciesInput": { @@ -5397,6 +6336,9 @@ "GatewayARN": { "target": "com.amazonaws.storagegateway#GatewayARN" } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#ListAutomaticTapeCreationPoliciesOutput": { @@ -5408,6 +6350,9 @@ "smithy.api#documentation": "Gets a listing of information about the gateway's automatic tape creation policies,\n including the automatic tape creation rules and the gateway that is using the\n policies.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#ListFileShares": { @@ -5459,7 +6404,8 @@ } }, "traits": { - "smithy.api#documentation": "ListFileShareInput
" + "smithy.api#documentation": "ListFileShareInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#ListFileSharesOutput": { @@ -5485,7 +6431,8 @@ } }, "traits": { - "smithy.api#documentation": "ListFileShareOutput
" + "smithy.api#documentation": "ListFileShareOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#ListFileSystemAssociations": { @@ -5532,6 +6479,9 @@ "smithy.api#documentation": "Opaque pagination token returned from a previous ListFileSystemAssociations
\n operation. If present, Marker
specifies where to continue the list from after\n a previous call to ListFileSystemAssociations
. Optional.
An array of information about the Amazon FSx gateway's file system\n associations.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#ListGateways": { @@ -5574,7 +6527,28 @@ } ], "traits": { - "smithy.api#documentation": "Lists gateways owned by an Amazon Web Services account in an Amazon Web Services Region\n specified in the request. The returned list is ordered by gateway Amazon Resource Name\n (ARN).
\n\nBy default, the operation returns a maximum of 100 gateways. This operation supports\n pagination that allows you to optionally reduce the number of gateways returned in a\n response.
\n\nIf you have more gateways than are returned in a response (that is, the response returns\n only a truncated list of your gateways), the response contains a marker that you can\n specify in your next request to fetch the next page of gateways.
", + "smithy.api#documentation": "Lists gateways owned by an Amazon Web Services account in an Amazon Web Services Region\n specified in the request. The returned list is ordered by gateway Amazon Resource Name\n (ARN).
\nBy default, the operation returns a maximum of 100 gateways. This operation supports\n pagination that allows you to optionally reduce the number of gateways returned in a\n response.
\nIf you have more gateways than are returned in a response (that is, the response returns\n only a truncated list of your gateways), the response contains a marker that you can\n specify in your next request to fetch the next page of gateways.
", + "smithy.api#examples": [ + { + "title": "To lists region specific gateways per AWS account", + "documentation": "Lists gateways owned by an AWS account in a specified region as requested. Results are sorted by gateway ARN up to a maximum of 100 gateways.", + "input": { + "Marker": "1", + "Limit": 2 + }, + "output": { + "Gateways": [ + { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" + }, + { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-23A4567C" + } + ], + "Marker": "1" + } + } + ], "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "Marker", @@ -5600,7 +6574,8 @@ } }, "traits": { - "smithy.api#documentation": "A JSON object containing zero or more of the following fields:
\n\nA JSON object containing zero or more of the following fields:
\nUse the marker in your next request to fetch the next set of gateways in the list. If\n there are no more gateways to list, this field does not appear in the response.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#ListLocalDisks": { @@ -5637,7 +6615,38 @@ } ], "traits": { - "smithy.api#documentation": "Returns a list of the gateway's local disks. To specify which gateway to describe,\n you use the Amazon Resource Name (ARN) of the gateway in the body of the request.
\n\nThe request returns a list of all disks, specifying which are configured as working\n storage, cache storage, or stored volume or not configured at all. The response includes a\n DiskStatus
field. This field can have a value of present (the disk is\n available to use), missing (the disk is no longer connected to the gateway), or mismatch\n (the disk node is occupied by a disk that has incorrect metadata or the disk content is\n corrupted).
Returns a list of the gateway's local disks. To specify which gateway to describe,\n you use the Amazon Resource Name (ARN) of the gateway in the body of the request.
\nThe request returns a list of all disks, specifying which are configured as working\n storage, cache storage, or stored volume or not configured at all. The response includes a\n DiskStatus
field. This field can have a value of present (the disk is\n available to use), missing (the disk is no longer connected to the gateway), or mismatch\n (the disk node is occupied by a disk that has incorrect metadata or the disk content is\n corrupted).
A JSON object containing the Amazon Resource Name (ARN) of the gateway.
" + "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the gateway.
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#ListLocalDisksOutput": { @@ -5663,9 +6673,12 @@ "Disks": { "target": "com.amazonaws.storagegateway#Disks", "traits": { - "smithy.api#documentation": "A JSON object containing the following fields:
\n\nA JSON object containing the following fields:
\nLists the tags that have been added to the specified resource. This operation is\n supported in storage gateways of all types.
", + "smithy.api#examples": [ + { + "title": "To list tags that have been added to a resource", + "documentation": "Lists the tags that have been added to the specified resource.", + "input": { + "ResourceARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-11A2222B", + "Marker": "1", + "Limit": 1 + }, + "output": { + "ResourceARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-11A2222B", + "Marker": "1", + "Tags": [ + { + "Key": "Dev Gatgeway Region", + "Value": "East Coast" + } + ] + } + } + ], "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "Marker", @@ -5718,7 +6752,8 @@ } }, "traits": { - "smithy.api#documentation": "ListTagsForResourceInput
" + "smithy.api#documentation": "ListTagsForResourceInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#ListTagsForResourceOutput": { @@ -5744,7 +6779,8 @@ } }, "traits": { - "smithy.api#documentation": "ListTagsForResourceOutput
" + "smithy.api#documentation": "ListTagsForResourceOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#ListTapePools": { @@ -5764,7 +6800,7 @@ } ], "traits": { - "smithy.api#documentation": "Lists custom tape pools. You specify custom tape pools to list by specifying one or more\n custom tape pool Amazon Resource Names (ARNs). If you don't specify a custom tape pool ARN,\n the operation lists all custom tape pools.
\n\nThis operation supports pagination. You can optionally specify the Limit
\n parameter in the body to limit the number of tape pools in the response. If the number of\n tape pools returned in the response is truncated, the response includes a\n Marker
element that you can use in your subsequent request to retrieve the\n next set of tape pools.
Lists custom tape pools. You specify custom tape pools to list by specifying one or more\n custom tape pool Amazon Resource Names (ARNs). If you don't specify a custom tape pool ARN,\n the operation lists all custom tape pools.
\nThis operation supports pagination. You can optionally specify the Limit
\n parameter in the body to limit the number of tape pools in the response. If the number of\n tape pools returned in the response is truncated, the response includes a\n Marker
element that you can use in your subsequent request to retrieve the\n next set of tape pools.
An optional number limit for the tape pools in the list returned by this call.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#ListTapePoolsOutput": { @@ -5811,6 +6850,9 @@ "smithy.api#documentation": "A string that indicates the position at which to begin the returned list of tape pools.\n Use the marker in your next request to continue pagination of tape pools. If there are no\n more tape pools to list, this element does not appear in the response body.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#ListTapes": { @@ -5830,7 +6872,7 @@ } ], "traits": { - "smithy.api#documentation": "Lists virtual tapes in your virtual tape library (VTL) and your virtual tape shelf\n (VTS). You specify the tapes to list by specifying one or more tape Amazon Resource Names\n (ARNs). If you don't specify a tape ARN, the operation lists all virtual tapes in both\n your VTL and VTS.
\n\nThis operation supports pagination. By default, the operation returns a maximum of up to\n 100 tapes. You can optionally specify the Limit
parameter in the body to limit\n the number of tapes in the response. If the number of tapes returned in the response is\n truncated, the response includes a Marker
element that you can use in your\n subsequent request to retrieve the next set of tapes. This operation is only supported in\n the tape gateway type.
Lists virtual tapes in your virtual tape library (VTL) and your virtual tape shelf\n (VTS). You specify the tapes to list by specifying one or more tape Amazon Resource Names\n (ARNs). If you don't specify a tape ARN, the operation lists all virtual tapes in both\n your VTL and VTS.
\nThis operation supports pagination. By default, the operation returns a maximum of up to\n 100 tapes. You can optionally specify the Limit
parameter in the body to limit\n the number of tapes in the response. If the number of tapes returned in the response is\n truncated, the response includes a Marker
element that you can use in your\n subsequent request to retrieve the next set of tapes. This operation is only supported in\n the tape gateway type.
A JSON object that contains one or more of the following fields:
\n\n\n ListTapesInput$Limit\n
\nA JSON object that contains one or more of the following fields:
\n\n ListTapesInput$Limit\n
\nA JSON object containing the following fields:
\n\nA JSON object containing the following fields:
\nListVolumeInitiatorsInput
" + "smithy.api#documentation": "ListVolumeInitiatorsInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#ListVolumeInitiatorsOutput": { @@ -5925,7 +6970,8 @@ } }, "traits": { - "smithy.api#documentation": "ListVolumeInitiatorsOutput
" + "smithy.api#documentation": "ListVolumeInitiatorsOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#ListVolumeRecoveryPoints": { @@ -5945,7 +6991,26 @@ } ], "traits": { - "smithy.api#documentation": "Lists the recovery points for a specified gateway. This operation is only supported in\n the cached volume gateway type.
\n\nEach cache volume has one recovery point. A volume recovery point is a point in time at\n which all data of the volume is consistent and from which you can create a snapshot or\n clone a new cached volume from a source volume. To create a snapshot from a volume recovery\n point use the CreateSnapshotFromVolumeRecoveryPoint operation.
" + "smithy.api#documentation": "Lists the recovery points for a specified gateway. This operation is only supported in\n the cached volume gateway type.
\nEach cache volume has one recovery point. A volume recovery point is a point in time at\n which all data of the volume is consistent and from which you can create a snapshot or\n clone a new cached volume from a source volume. To create a snapshot from a volume recovery\n point use the CreateSnapshotFromVolumeRecoveryPoint operation.
", + "smithy.api#examples": [ + { + "title": "To list recovery points for a gateway", + "documentation": "Lists the recovery points for a specified gateway in which all data of the volume is consistent and can be used to create a snapshot.", + "input": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" + }, + "output": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", + "VolumeRecoveryPointInfos": [ + { + "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB", + "VolumeRecoveryPointTime": "2012-09-04T21:08:44.627Z", + "VolumeSizeInBytes": 536870912000 + } + ] + } + } + ] } }, "com.amazonaws.storagegateway#ListVolumeRecoveryPointsInput": { @@ -5957,6 +7022,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#ListVolumeRecoveryPointsOutput": { @@ -5971,6 +7039,9 @@ "smithy.api#documentation": "An array of VolumeRecoveryPointInfo objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#ListVolumes": { @@ -5990,7 +7061,40 @@ } ], "traits": { - "smithy.api#documentation": "Lists the iSCSI stored volumes of a gateway. Results are sorted by volume ARN. The\n response includes only the volume ARNs. If you want additional volume information, use the\n DescribeStorediSCSIVolumes or the DescribeCachediSCSIVolumes API.
\n\nThe operation supports pagination. By default, the operation returns a maximum of up to\n 100 volumes. You can optionally specify the Limit
field in the body to limit\n the number of volumes in the response. If the number of volumes returned in the response is\n truncated, the response includes a Marker field. You can use this Marker value in your\n subsequent request to retrieve the next set of volumes. This operation is only supported in\n the cached volume and stored volume gateway types.
Lists the iSCSI stored volumes of a gateway. Results are sorted by volume ARN. The\n response includes only the volume ARNs. If you want additional volume information, use the\n DescribeStorediSCSIVolumes or the DescribeCachediSCSIVolumes API.
\nThe operation supports pagination. By default, the operation returns a maximum of up to\n 100 volumes. You can optionally specify the Limit
field in the body to limit\n the number of volumes in the response. If the number of volumes returned in the response is\n truncated, the response includes a Marker field. You can use this Marker value in your\n subsequent request to retrieve the next set of volumes. This operation is only supported in\n the cached volume and stored volume gateway types.
A JSON object that contains one or more of the following fields:
\n\nA JSON object that contains one or more of the following fields:
\nA JSON object containing the following fields:
\n\nA JSON object containing the following fields:
\nA custom ARN for the backend storage used for storing data for file shares. It includes\n a resource ARN with an optional prefix concatenation. The prefix must end with a forward\n slash (/).
\nYou can specify LocationARN as a bucket ARN, access point ARN or access point alias,\n as shown in the following examples.
\n\nBucket ARN:
\n\n arn:aws:s3:::my-bucket/prefix/
\n
Access point ARN:
\n\n arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/
\n
If you specify an access point, the bucket policy must be configured to delegate\n access control to the access point. For information, see Delegating access control to access points in the Amazon S3 User Guide.
\n\nAccess point alias:
\n\n test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias
\n
A custom ARN for the backend storage used for storing data for file shares. It includes\n a resource ARN with an optional prefix concatenation. The prefix must end with a forward\n slash (/).
\nYou can specify LocationARN as a bucket ARN, access point ARN or access point alias,\n as shown in the following examples.
\nBucket ARN:
\n\n arn:aws:s3:::my-bucket/prefix/
\n
Access point ARN:
\n\n arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/
\n
If you specify an access point, the bucket policy must be configured to delegate\n access control to the access point. For information, see Delegating access control to access points in the Amazon S3 User Guide.
\nAccess point alias:
\n\n test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias
\n
Set to true
to use Amazon S3 server-side encryption with your own\n KMS key, or false
to use a key managed by Amazon S3.\n Optional.
Valid Values: true
| false
\n
Set to true
to use Amazon S3 server-side encryption with your own\n KMS key, or false
to use a key managed by Amazon S3.\n Optional.
Valid Values: true
| false
\n
The default storage class for objects put into an Amazon S3 bucket by the S3\n File Gateway. The default value is S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
|\n S3_STANDARD_IA
| S3_ONEZONE_IA
\n
The default storage class for objects put into an Amazon S3 bucket by the S3\n File Gateway. The default value is S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
|\n S3_STANDARD_IA
| S3_ONEZONE_IA
\n
A value that sets the write status of a file share. Set this value to true
\n to set the write status to read-only, otherwise set to false
.
Valid Values: true
| false
\n
A value that sets the write status of a file share. Set this value to true
\n to set the write status to read-only, otherwise set to false
.
Valid Values: true
| false
\n
A value that enables guessing of the MIME type for uploaded objects based on file\n extensions. Set this value to true
to enable MIME type guessing, otherwise set\n to false
. The default value is true
.
Valid Values: true
| false
\n
A value that enables guessing of the MIME type for uploaded objects based on file\n extensions. Set this value to true
to enable MIME type guessing, otherwise set\n to false
. The default value is true
.
Valid Values: true
| false
\n
A value that sets who pays the cost of the request and the cost associated with data\n download from the S3 bucket. If this value is set to true
, the requester pays\n the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays\n the cost of storing data.
\n RequesterPays
is a configuration for the S3 bucket that backs the file\n share, so make sure that the configuration on the file share is the same as the S3\n bucket configuration.
Valid Values: true
| false
\n
A value that sets who pays the cost of the request and the cost associated with data\n download from the S3 bucket. If this value is set to true
, the requester pays\n the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays\n the cost of storing data.
\n RequesterPays
is a configuration for the S3 bucket that backs the file\n share, so make sure that the configuration on the file share is the same as the S3\n bucket configuration.
Valid Values: true
| false
\n
The name of the file share. Optional.
\n\n\n FileShareName
must be set if an S3 prefix name is set in\n LocationARN
, or if an access point or access point alias is used.
The name of the file share. Optional.
\n\n FileShareName
must be set if an S3 prefix name is set in\n LocationARN
, or if an access point or access point alias is used.
The notification policy of the file share. SettlingTimeInSeconds
controls\n the number of seconds to wait after the last point in time a client wrote to a file before\n generating an ObjectUploaded
notification. Because clients can make many small\n writes to files, it's best to set this parameter for as long as possible to avoid\n generating multiple notifications for the same file in a small time period.
\n SettlingTimeInSeconds
has no effect on the timing of the object\n uploading to Amazon S3, only the timing of the notification.
The following example sets NotificationPolicy
on with\n SettlingTimeInSeconds
set to 60.
\n {\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}
\n
The following example sets NotificationPolicy
off.
\n {}
\n
The notification policy of the file share. SettlingTimeInSeconds
controls\n the number of seconds to wait after the last point in time a client wrote to a file before\n generating an ObjectUploaded
notification. Because clients can make many small\n writes to files, it's best to set this parameter for as long as possible to avoid\n generating multiple notifications for the same file in a small time period.
\n SettlingTimeInSeconds
has no effect on the timing of the object\n uploading to Amazon S3, only the timing of the notification.
The following example sets NotificationPolicy
on with\n SettlingTimeInSeconds
set to 60.
\n {\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}
\n
The following example sets NotificationPolicy
off.
\n {}
\n
The Media Access Control (MAC) address of the interface.
\n\nThis is currently unsupported and will not be returned in output.
\nThe Media Access Control (MAC) address of the interface.
\nThis is currently unsupported and will not be returned in output.
\nSends you notification through CloudWatch Events when all files written to your file\n share have been uploaded to S3. Amazon S3.
\n\nStorage Gateway can send a notification through Amazon CloudWatch Events when all\n files written to your file share up to that point in time have been uploaded to Amazon S3. These files include files written to the file share up to the time that you\n make a request for notification. When the upload is done, Storage Gateway sends you\n notification through an Amazon CloudWatch Event. You can configure CloudWatch Events to\n send the notification through event targets such as Amazon SNS or Lambda function. This operation is only supported for S3 File Gateways.
\n\n \n\nFor more information, see Getting file upload notification in the Storage Gateway User\n Guide.
" + "smithy.api#documentation": "Sends you notification through CloudWatch Events when all files written to your file\n share have been uploaded to S3. Amazon S3.
\nStorage Gateway can send a notification through Amazon CloudWatch Events when all\n files written to your file share up to that point in time have been uploaded to Amazon S3. These files include files written to the file share up to the time that you\n make a request for notification. When the upload is done, Storage Gateway sends you\n notification through an Amazon CloudWatch Event. You can configure CloudWatch Events to\n send the notification through event targets such as Amazon SNS or Lambda function. This operation is only supported for S3 File Gateways.
\nFor more information, see Getting file upload notification in the Storage Gateway User\n Guide.
" } }, "com.amazonaws.storagegateway#NotifyWhenUploadedInput": { @@ -6347,6 +7453,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#NotifyWhenUploadedOutput": { @@ -6358,6 +7467,9 @@ "NotificationId": { "target": "com.amazonaws.storagegateway#NotificationId" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#NumTapesToCreate": { @@ -6367,42 +7479,56 @@ "min": 1, "max": 10 } - } - }, - "com.amazonaws.storagegateway#ObjectACL": { - "type": "string", + } + }, + "com.amazonaws.storagegateway#ObjectACL": { + "type": "enum", + "members": { + "private": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "private" + } + }, + "public_read": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "public-read" + } + }, + "public_read_write": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "public-read-write" + } + }, + "authenticated_read": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "authenticated-read" + } + }, + "bucket_owner_read": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "bucket-owner-read" + } + }, + "bucket_owner_full_control": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "bucket-owner-full-control" + } + }, + "aws_exec_read": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "aws-exec-read" + } + } + }, "traits": { - "smithy.api#documentation": "A value that sets the access control list (ACL) permission for objects in the S3 bucket\n that an S3 File Gateway puts objects into. The default value is\n private
.
A value that sets the access control list (ACL) permission for objects in the S3 bucket\n that an S3 File Gateway puts objects into. The default value is\n private
.
Refreshes the cached inventory of objects for the specified file share. This operation\n finds objects in the Amazon S3 bucket that were added, removed, or replaced since\n the gateway last listed the bucket's contents and cached the results. This operation\n does not import files into the S3 File Gateway cache storage. It only updates the cached\n inventory to reflect changes in the inventory of the objects in the S3 bucket. This\n operation is only supported in the S3 File Gateway types.
\n\nYou can subscribe to be notified through an Amazon CloudWatch event when your\n RefreshCache
operation completes. For more information, see Getting notified about file operations in the Storage Gateway\n User Guide. This operation is Only supported for S3 File Gateways.
When this API is called, it only initiates the refresh operation. When the API call\n completes and returns a success code, it doesn't necessarily mean that the file\n refresh has completed. You should use the refresh-complete notification to determine that\n the operation has completed before you check for new files on the gateway file share. You\n can subscribe to be notified through a CloudWatch event when your RefreshCache
\n operation completes.
Throttle limit: This API is asynchronous, so the gateway will accept no more than two\n refreshes at any time. We recommend using the refresh-complete CloudWatch event\n notification before issuing additional requests. For more information, see Getting notified about file operations in the Storage Gateway\n User Guide.
\n\nWait at least 60 seconds between consecutive RefreshCache API requests.
\nRefreshCache does not evict cache entries if invoked consecutively within 60\n seconds of a previous RefreshCache request.
\nIf you invoke the RefreshCache API when two requests are already being\n processed, any new request will cause an\n InvalidGatewayRequestException
error because too many requests\n were sent to the server.
The S3 bucket name does not need to be included when entering the list of folders in\n the FolderList parameter.
\nFor more information, see Getting notified about file operations in the Storage Gateway\n User Guide.
" + "smithy.api#documentation": "Refreshes the cached inventory of objects for the specified file share. This operation\n finds objects in the Amazon S3 bucket that were added, removed, or replaced since\n the gateway last listed the bucket's contents and cached the results. This operation\n does not import files into the S3 File Gateway cache storage. It only updates the cached\n inventory to reflect changes in the inventory of the objects in the S3 bucket. This\n operation is only supported in the S3 File Gateway types.
\nYou can subscribe to be notified through an Amazon CloudWatch event when your\n RefreshCache
operation completes. For more information, see Getting notified about file operations in the Storage Gateway\n User Guide. This operation is Only supported for S3 File Gateways.
When this API is called, it only initiates the refresh operation. When the API call\n completes and returns a success code, it doesn't necessarily mean that the file\n refresh has completed. You should use the refresh-complete notification to determine that\n the operation has completed before you check for new files on the gateway file share. You\n can subscribe to be notified through a CloudWatch event when your RefreshCache
\n operation completes.
Throttle limit: This API is asynchronous, so the gateway will accept no more than two\n refreshes at any time. We recommend using the refresh-complete CloudWatch event\n notification before issuing additional requests. For more information, see Getting notified about file operations in the Storage Gateway\n User Guide.
\nWait at least 60 seconds between consecutive RefreshCache API requests.
\nRefreshCache does not evict cache entries if invoked consecutively within 60\n seconds of a previous RefreshCache request.
\nIf you invoke the RefreshCache API when two requests are already being\n processed, any new request will cause an\n InvalidGatewayRequestException
error because too many requests\n were sent to the server.
The S3 bucket name does not need to be included when entering the list of folders in\n the FolderList parameter.
\nFor more information, see Getting notified about file operations in the Storage Gateway\n User Guide.
" } }, "com.amazonaws.storagegateway#RefreshCacheInput": { @@ -6594,12 +7722,13 @@ "Recursive": { "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "A value that specifies whether to recursively refresh folders in the cache. The refresh\n includes folders that were in the cache the last time the gateway listed the folder's\n contents. If this value set to true
, each folder that is listed in\n FolderList
is recursively updated. Otherwise, subfolders listed in\n FolderList
are not refreshed. Only objects that are in folders listed\n directly under FolderList
are found and used for the update. The default is\n true
.
Valid Values: true
| false
\n
A value that specifies whether to recursively refresh folders in the cache. The refresh\n includes folders that were in the cache the last time the gateway listed the folder's\n contents. If this value set to true
, each folder that is listed in\n FolderList
is recursively updated. Otherwise, subfolders listed in\n FolderList
are not refreshed. Only objects that are in folders listed\n directly under FolderList
are found and used for the update. The default is\n true
.
Valid Values: true
| false
\n
RefreshCacheInput
" + "smithy.api#documentation": "RefreshCacheInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#RefreshCacheOutput": { @@ -6613,7 +7742,8 @@ } }, "traits": { - "smithy.api#documentation": "RefreshCacheOutput
" + "smithy.api#documentation": "RefreshCacheOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#RegionId": { @@ -6642,7 +7772,23 @@ } ], "traits": { - "smithy.api#documentation": "Removes one or more tags from the specified resource. This operation is supported in\n storage gateways of all types.
" + "smithy.api#documentation": "Removes one or more tags from the specified resource. This operation is supported in\n storage gateways of all types.
", + "smithy.api#examples": [ + { + "title": "To remove tags from a resource", + "documentation": "Lists the iSCSI stored volumes of a gateway. Removes one or more tags from the specified resource.", + "input": { + "ResourceARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-11A2222B", + "TagKeys": [ + "Dev Gatgeway Region", + "East Coast" + ] + }, + "output": { + "ResourceARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-11A2222B" + } + } + ] } }, "com.amazonaws.storagegateway#RemoveTagsFromResourceInput": { @@ -6664,7 +7810,8 @@ } }, "traits": { - "smithy.api#documentation": "RemoveTagsFromResourceInput
" + "smithy.api#documentation": "RemoveTagsFromResourceInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#RemoveTagsFromResourceOutput": { @@ -6678,7 +7825,8 @@ } }, "traits": { - "smithy.api#documentation": "RemoveTagsFromResourceOutput
" + "smithy.api#documentation": "RemoveTagsFromResourceOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#ResetCache": { @@ -6698,7 +7846,19 @@ } ], "traits": { - "smithy.api#documentation": "Resets all cache disks that have encountered an error and makes the disks available for\n reconfiguration as cache storage. If your cache disk encounters an error, the gateway\n prevents read and write operations on virtual tapes in the gateway. For example, an error\n can occur when a disk is corrupted or removed from the gateway. When a cache is reset, the\n gateway loses its cache storage. At this point, you can reconfigure the disks as cache\n disks. This operation is only supported in the cached volume and tape types.
\n\nIf the cache disk you are resetting contains data that has not been uploaded to\n Amazon S3 yet, that data can be lost. After you reset cache disks, there will\n be no configured cache disks left in the gateway, so you must configure at least one new\n cache disk for your gateway to function properly.
\nResets all cache disks that have encountered an error and makes the disks available for\n reconfiguration as cache storage. If your cache disk encounters an error, the gateway\n prevents read and write operations on virtual tapes in the gateway. For example, an error\n can occur when a disk is corrupted or removed from the gateway. When a cache is reset, the\n gateway loses its cache storage. At this point, you can reconfigure the disks as cache\n disks. This operation is only supported in the cached volume and tape types.
\nIf the cache disk you are resetting contains data that has not been uploaded to\n Amazon S3 yet, that data can be lost. After you reset cache disks, there will\n be no configured cache disks left in the gateway, so you must configure at least one new\n cache disk for your gateway to function properly.
\nRetrieves an archived virtual tape from the virtual tape shelf (VTS) to a tape gateway.\n Virtual tapes archived in the VTS are not associated with any gateway. However after a tape\n is retrieved, it is associated with a gateway, even though it is also listed in the VTS,\n that is, archive. This operation is only supported in the tape gateway type.
\n\nOnce a tape is successfully retrieved to a gateway, it cannot be retrieved again to\n another gateway. You must archive the tape again before you can retrieve it to another\n gateway. This operation is only supported in the tape gateway type.
" + "smithy.api#documentation": "Retrieves an archived virtual tape from the virtual tape shelf (VTS) to a tape gateway.\n Virtual tapes archived in the VTS are not associated with any gateway. However after a tape\n is retrieved, it is associated with a gateway, even though it is also listed in the VTS,\n that is, archive. This operation is only supported in the tape gateway type.
\nOnce a tape is successfully retrieved to a gateway, it cannot be retrieved again to\n another gateway. You must archive the tape again before you can retrieve it to another\n gateway. This operation is only supported in the tape gateway type.
", + "smithy.api#examples": [ + { + "title": "To retrieve an archived tape from the VTS", + "documentation": "Retrieves an archived virtual tape from the virtual tape shelf (VTS) to a gateway-VTL. Virtual tapes archived in the VTS are not associated with any gateway.", + "input": { + "TapeARN": "arn:aws:storagegateway:us-east-1:999999999999:tape/TEST0AA2AF", + "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B" + }, + "output": { + "TapeARN": "arn:aws:storagegateway:us-east-1:999999999999:tape/TEST0AA2AF" + } + } + ] } }, "com.amazonaws.storagegateway#RetrieveTapeArchiveInput": { @@ -6790,13 +7973,14 @@ "GatewayARN": { "target": "com.amazonaws.storagegateway#GatewayARN", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the gateway you want to retrieve the virtual tape to.\n Use the ListGateways operation to return a list of gateways for your\n account and Amazon Web Services Region.
\n\nYou retrieve archived virtual tapes to only one gateway and the gateway must be a tape\n gateway.
", + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the gateway you want to retrieve the virtual tape to.\n Use the ListGateways operation to return a list of gateways for your\n account and Amazon Web Services Region.
\nYou retrieve archived virtual tapes to only one gateway and the gateway must be a tape\n gateway.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "RetrieveTapeArchiveInput
" + "smithy.api#documentation": "RetrieveTapeArchiveInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#RetrieveTapeArchiveOutput": { @@ -6810,7 +7994,8 @@ } }, "traits": { - "smithy.api#documentation": "RetrieveTapeArchiveOutput
" + "smithy.api#documentation": "RetrieveTapeArchiveOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#RetrieveTapeRecoveryPoint": { @@ -6830,7 +8015,20 @@ } ], "traits": { - "smithy.api#documentation": "Retrieves the recovery point for the specified virtual tape. This operation is only\n supported in the tape gateway type.
\n\nA recovery point is a point in time view of a virtual tape at which all the data on the\n tape is consistent. If your gateway crashes, virtual tapes that have recovery points can be\n recovered to a new gateway.
\n\nThe virtual tape can be retrieved to only one gateway. The retrieved tape is\n read-only. The virtual tape can be retrieved to only a tape gateway. There is no charge\n for retrieving recovery points.
\nRetrieves the recovery point for the specified virtual tape. This operation is only\n supported in the tape gateway type.
\nA recovery point is a point in time view of a virtual tape at which all the data on the\n tape is consistent. If your gateway crashes, virtual tapes that have recovery points can be\n recovered to a new gateway.
\nThe virtual tape can be retrieved to only one gateway. The retrieved tape is\n read-only. The virtual tape can be retrieved to only a tape gateway. There is no charge\n for retrieving recovery points.
\nRetrieveTapeRecoveryPointInput
" + "smithy.api#documentation": "RetrieveTapeRecoveryPointInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#RetrieveTapeRecoveryPointOutput": { @@ -6865,7 +8064,8 @@ } }, "traits": { - "smithy.api#documentation": "RetrieveTapeRecoveryPointOutput
" + "smithy.api#documentation": "RetrieveTapeRecoveryPointOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#Role": { @@ -6898,7 +8098,7 @@ "target": "com.amazonaws.storagegateway#Boolean2", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "Set to true
to use Amazon S3 server-side encryption with your own\n KMS key, or false
to use a key managed by Amazon S3.\n Optional.
Valid Values: true
| false
\n
Set to true
to use Amazon S3 server-side encryption with your own\n KMS key, or false
to use a key managed by Amazon S3.\n Optional.
Valid Values: true
| false
\n
The default storage class for objects put into an Amazon S3 bucket by the S3\n File Gateway. The default value is S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
|\n S3_STANDARD_IA
| S3_ONEZONE_IA
\n
The default storage class for objects put into an Amazon S3 bucket by the S3\n File Gateway. The default value is S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
|\n S3_STANDARD_IA
| S3_ONEZONE_IA
\n
A value that sets the write status of a file share. Set this value to true
\n to set the write status to read-only, otherwise set to false
.
Valid Values: true
| false
\n
A value that sets the write status of a file share. Set this value to true
\n to set the write status to read-only, otherwise set to false
.
Valid Values: true
| false
\n
A value that enables guessing of the MIME type for uploaded objects based on file\n extensions. Set this value to true
to enable MIME type guessing, otherwise set\n to false
. The default value is true
.
Valid Values: true
| false
\n
A value that enables guessing of the MIME type for uploaded objects based on file\n extensions. Set this value to true
to enable MIME type guessing, otherwise set\n to false
. The default value is true
.
Valid Values: true
| false
\n
A value that sets who pays the cost of the request and the cost associated with data\n download from the S3 bucket. If this value is set to true
, the requester pays\n the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays\n the cost of storing data.
\n RequesterPays
is a configuration for the S3 bucket that backs the file\n share, so make sure that the configuration on the file share is the same as the S3\n bucket configuration.
Valid Values: true
| false
\n
A value that sets who pays the cost of the request and the cost associated with data\n download from the S3 bucket. If this value is set to true
, the requester pays\n the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays\n the cost of storing data.
\n RequesterPays
is a configuration for the S3 bucket that backs the file\n share, so make sure that the configuration on the file share is the same as the S3\n bucket configuration.
Valid Values: true
| false
\n
If this value is set to true
, it indicates that access control list (ACL)\n is enabled on the SMB file share. If it is set to false
, it indicates that\n file and directory permissions are mapped to the POSIX permission.
For more information, see Using Microsoft Windows ACLs to\n control access to an SMB file share in the Storage Gateway User\n Guide.
" + "smithy.api#documentation": "If this value is set to true
, it indicates that access control list (ACL)\n is enabled on the SMB file share. If it is set to false
, it indicates that\n file and directory permissions are mapped to the POSIX permission.
For more information, see Using Microsoft Windows ACLs to\n control access to an SMB file share in the Storage Gateway User\n Guide.
" } }, "AccessBasedEnumeration": { @@ -6997,7 +8197,7 @@ "FileShareName": { "target": "com.amazonaws.storagegateway#FileShareName", "traits": { - "smithy.api#documentation": "The name of the file share. Optional.
\n\n\n FileShareName
must be set if an S3 prefix name is set in\n LocationARN
, or if an access point or access point alias is used.
The name of the file share. Optional.
\n\n FileShareName
must be set if an S3 prefix name is set in\n LocationARN
, or if an access point or access point alias is used.
The notification policy of the file share. SettlingTimeInSeconds
controls\n the number of seconds to wait after the last point in time a client wrote to a file before\n generating an ObjectUploaded
notification. Because clients can make many small\n writes to files, it's best to set this parameter for as long as possible to avoid\n generating multiple notifications for the same file in a small time period.
\n SettlingTimeInSeconds
has no effect on the timing of the object\n uploading to Amazon S3, only the timing of the notification.
The following example sets NotificationPolicy
on with\n SettlingTimeInSeconds
set to 60.
\n {\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}
\n
The following example sets NotificationPolicy
off.
\n {}
\n
The notification policy of the file share. SettlingTimeInSeconds
controls\n the number of seconds to wait after the last point in time a client wrote to a file before\n generating an ObjectUploaded
notification. Because clients can make many small\n writes to files, it's best to set this parameter for as long as possible to avoid\n generating multiple notifications for the same file in a small time period.
\n SettlingTimeInSeconds
has no effect on the timing of the object\n uploading to Amazon S3, only the timing of the notification.
The following example sets NotificationPolicy
on with\n SettlingTimeInSeconds
set to 60.
\n {\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}
\n
The following example sets NotificationPolicy
off.
\n {}
\n
Sets the password for your VM local console. When you log in to the local console for\n the first time, you log in to the VM with the default credentials. We recommend that you\n set a new password. You don't need to know the default password to set a new\n password.
" + "smithy.api#documentation": "Sets the password for your VM local console. When you log in to the local console for\n the first time, you log in to the VM with the default credentials. We recommend that you\n set a new password. You don't need to know the default password to set a new\n password.
", + "smithy.api#examples": [ + { + "title": "To set a password for your VM", + "documentation": "Sets the password for your VM local console.", + "input": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B", + "LocalConsolePassword": "PassWordMustBeAtLeast6Chars." + }, + "output": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B" + } + } + ] } }, "com.amazonaws.storagegateway#SetLocalConsolePasswordInput": { @@ -7145,7 +8362,8 @@ } }, "traits": { - "smithy.api#documentation": "SetLocalConsolePasswordInput
" + "smithy.api#documentation": "SetLocalConsolePasswordInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#SetLocalConsolePasswordOutput": { @@ -7154,6 +8372,9 @@ "GatewayARN": { "target": "com.amazonaws.storagegateway#GatewayARN" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#SetSMBGuestPassword": { @@ -7195,7 +8416,8 @@ } }, "traits": { - "smithy.api#documentation": "SetSMBGuestPasswordInput
" + "smithy.api#documentation": "SetSMBGuestPasswordInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#SetSMBGuestPasswordOutput": { @@ -7204,6 +8426,9 @@ "GatewayARN": { "target": "com.amazonaws.storagegateway#GatewayARN" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#ShutdownGateway": { @@ -7223,7 +8448,19 @@ } ], "traits": { - "smithy.api#documentation": "Shuts down a gateway. To specify which gateway to shut down, use the Amazon Resource\n Name (ARN) of the gateway in the body of your request.
\n\nThe operation shuts down the gateway service component running in the gateway's\n virtual machine (VM) and not the host VM.
\n\nIf you want to shut down the VM, it is recommended that you first shut down the\n gateway component in the VM to avoid unpredictable conditions.
\nAfter the gateway is shutdown, you cannot call any other API except StartGateway, DescribeGatewayInformation, and ListGateways. For more information, see ActivateGateway.\n Your applications cannot read from or write to the gateway's storage volumes, and\n there are no snapshots taken.
\n\nWhen you make a shutdown request, you will get a 200 OK
success response\n immediately. However, it might take some time for the gateway to shut down. You can call\n the DescribeGatewayInformation API to check the status. For more\n information, see ActivateGateway.
If do not intend to use the gateway again, you must delete the gateway (using DeleteGateway) to no longer pay software charges associated with the\n gateway.
" + "smithy.api#documentation": "Shuts down a gateway. To specify which gateway to shut down, use the Amazon Resource\n Name (ARN) of the gateway in the body of your request.
\nThe operation shuts down the gateway service component running in the gateway's\n virtual machine (VM) and not the host VM.
\nIf you want to shut down the VM, it is recommended that you first shut down the\n gateway component in the VM to avoid unpredictable conditions.
\nAfter the gateway is shutdown, you cannot call any other API except StartGateway, DescribeGatewayInformation, and ListGateways. For more information, see ActivateGateway.\n Your applications cannot read from or write to the gateway's storage volumes, and\n there are no snapshots taken.
\nWhen you make a shutdown request, you will get a 200 OK
success response\n immediately. However, it might take some time for the gateway to shut down. You can call\n the DescribeGatewayInformation API to check the status. For more\n information, see ActivateGateway.
If do not intend to use the gateway again, you must delete the gateway (using DeleteGateway) to no longer pay software charges associated with the\n gateway.
", + "smithy.api#examples": [ + { + "title": "To shut down a gateway service", + "documentation": "This operation shuts down the gateway service component running in the storage gateway's virtual machine (VM) and not the VM.", + "input": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B" + }, + "output": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B" + } + } + ] } }, "com.amazonaws.storagegateway#ShutdownGatewayInput": { @@ -7237,7 +8474,8 @@ } }, "traits": { - "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the gateway to shut\n down.
" + "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the gateway to shut\n down.
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#ShutdownGatewayOutput": { @@ -7248,7 +8486,8 @@ } }, "traits": { - "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the gateway that was shut\n down.
" + "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the gateway that was shut\n down.
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#SnapshotDescription": { @@ -7278,7 +8517,7 @@ "com.amazonaws.storagegateway#Squash": { "type": "string", "traits": { - "smithy.api#documentation": "The user mapped to anonymous user. Valid options are the following:
\n\n\n RootSquash
: Only root is mapped to anonymous user.
\n NoSquash
: No one is mapped to anonymous user.
\n AllSquash
: Everyone is mapped to anonymous user.
The user mapped to anonymous user. Valid options are the following:
\n\n RootSquash
: Only root is mapped to anonymous user.
\n NoSquash
: No one is mapped to anonymous user.
\n AllSquash
: Everyone is mapped to anonymous user.
Starts a gateway that you previously shut down (see ShutdownGateway).\n After the gateway starts, you can then make other API calls, your applications can read\n from or write to the gateway's storage volumes and you will be able to take snapshot\n backups.
\n\nWhen you make a request, you will get a 200 OK success response immediately. However,\n it might take some time for the gateway to be ready. You should call DescribeGatewayInformation and check the status before making any\n additional API calls. For more information, see ActivateGateway.
\nTo specify which gateway to start, use the Amazon Resource Name (ARN) of the gateway in\n your request.
" + "smithy.api#documentation": "Starts a gateway that you previously shut down (see ShutdownGateway).\n After the gateway starts, you can then make other API calls, your applications can read\n from or write to the gateway's storage volumes and you will be able to take snapshot\n backups.
\nWhen you make a request, you will get a 200 OK success response immediately. However,\n it might take some time for the gateway to be ready. You should call DescribeGatewayInformation and check the status before making any\n additional API calls. For more information, see ActivateGateway.
\nTo specify which gateway to start, use the Amazon Resource Name (ARN) of the gateway in\n your request.
", + "smithy.api#examples": [ + { + "title": "To start a gateway service", + "documentation": "Starts a gateway service that was previously shut down.", + "input": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B" + }, + "output": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B" + } + } + ] } }, "com.amazonaws.storagegateway#StartGatewayInput": { @@ -7355,7 +8612,8 @@ } }, "traits": { - "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the gateway to start.
" + "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the gateway to start.
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#StartGatewayOutput": { @@ -7366,7 +8624,8 @@ } }, "traits": { - "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the gateway that was\n restarted.
" + "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the gateway that was\n restarted.
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#StorageClass": { @@ -7680,13 +8939,14 @@ "arnNamespace": "storagegateway", "cloudFormationName": "StorageGateway", "cloudTrailEventSource": "storagegateway.amazonaws.com", + "docId": "storagegateway-2013-06-30", "endpointPrefix": "storagegateway" }, "aws.auth#sigv4": { "name": "storagegateway" }, "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Storage Gateway is the service that connects an on-premises software appliance\n with cloud-based storage to provide seamless and secure integration between an\n organization's on-premises IT environment and the Amazon Web Services storage\n infrastructure. The service enables you to securely upload data to the Amazon Web Services Cloud for cost effective backup and rapid disaster recovery.
\n\nUse the following links to get started using the Storage Gateway\n Service API Reference:
\n\n\n Storage Gateway required request headers: Describes the required\n headers that you must send with every POST request to Storage Gateway.
\n\n Signing requests: Storage Gateway requires that you authenticate\n every request you send; this topic describes how sign such a request.
\n\n Error responses: Provides reference information about Storage Gateway errors.
\n\n Operations in Storage Gateway: Contains detailed descriptions of all Storage Gateway operations, their request parameters, response elements, possible errors, and\n examples of requests and responses.
\n\n Storage Gateway\n endpoints and quotas: Provides a list of each Amazon Web Services Region\n and the endpoints available for use with Storage Gateway.
\nStorage Gateway resource IDs are in uppercase. When you use these resource IDs\n with the Amazon EC2 API, EC2 expects resource IDs in lowercase. You must change\n your resource ID to lowercase to use it with the EC2 API. For example, in Storage\n Gateway the ID for a volume might be vol-AA22BB012345DAF670
. When you use\n this ID with the EC2 API, you must change it to vol-aa22bb012345daf670
.\n Otherwise, the EC2 API might not behave as expected.
IDs for Storage Gateway volumes and Amazon EBS snapshots created from gateway\n volumes are changing to a longer format. Starting in December 2016, all new volumes and\n snapshots will be created with a 17-character string. Starting in April 2016, you will\n be able to use these longer IDs so you can test your systems with the new format. For\n more information, see Longer EC2 and\n EBS resource IDs.
\n\nFor example, a volume Amazon Resource Name (ARN) with the longer volume ID format\n looks like the following:
\n\n\n arn:aws:storagegateway:us-west-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABBCCDDEEFFG
.
A snapshot ID with the longer ID format looks like the following:\n snap-78e226633445566ee
.
For more information, see Announcement:\n Heads-up – Longer Storage Gateway volume and snapshot IDs coming in\n 2016.
\nStorage Gateway is the service that connects an on-premises software appliance\n with cloud-based storage to provide seamless and secure integration between an\n organization's on-premises IT environment and the Amazon Web Services storage\n infrastructure. The service enables you to securely upload data to the Amazon Web Services Cloud for cost effective backup and rapid disaster recovery.
\nUse the following links to get started using the Storage Gateway\n Service API Reference:
\n\n Storage Gateway required request headers: Describes the required\n headers that you must send with every POST request to Storage Gateway.
\n\n Signing requests: Storage Gateway requires that you authenticate\n every request you send; this topic describes how sign such a request.
\n\n Error responses: Provides reference information about Storage Gateway errors.
\n\n Operations in Storage Gateway: Contains detailed descriptions of all Storage Gateway operations, their request parameters, response elements, possible errors, and\n examples of requests and responses.
\n\n Storage Gateway\n endpoints and quotas: Provides a list of each Amazon Web Services Region\n and the endpoints available for use with Storage Gateway.
\nStorage Gateway resource IDs are in uppercase. When you use these resource IDs\n with the Amazon EC2 API, EC2 expects resource IDs in lowercase. You must change\n your resource ID to lowercase to use it with the EC2 API. For example, in Storage\n Gateway the ID for a volume might be vol-AA22BB012345DAF670
. When you use\n this ID with the EC2 API, you must change it to vol-aa22bb012345daf670
.\n Otherwise, the EC2 API might not behave as expected.
IDs for Storage Gateway volumes and Amazon EBS snapshots created from gateway\n volumes are changing to a longer format. Starting in December 2016, all new volumes and\n snapshots will be created with a 17-character string. Starting in April 2016, you will\n be able to use these longer IDs so you can test your systems with the new format. For\n more information, see Longer EC2 and\n EBS resource IDs.
\nFor example, a volume Amazon Resource Name (ARN) with the longer volume ID format\n looks like the following:
\n\n arn:aws:storagegateway:us-west-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABBCCDDEEFFG
.
A snapshot ID with the longer ID format looks like the following:\n snap-78e226633445566ee
.
For more information, see Announcement:\n Heads-up – Longer Storage Gateway volume and snapshot IDs coming in\n 2016.
\nIndicates if when the stored volume was created, existing data on the underlying local\n disk was preserved.
\n\nValid Values: true
| false
\n
Indicates if when the stored volume was created, existing data on the underlying local\n disk was preserved.
\nValid Values: true
| false
\n
The size of the data stored on the volume in bytes. This value is calculated based on\n the number of blocks that are touched, instead of the actual amount of data written. This\n value can be useful for sequential write patterns but less accurate for random write\n patterns. VolumeUsedInBytes
is different from the compressed size of the\n volume, which is the value that is used to calculate your bill.
This value is not available for volumes created prior to May 13, 2015, until you\n store data on the volume.
\nThe size of the data stored on the volume in bytes. This value is calculated based on\n the number of blocks that are touched, instead of the actual amount of data written. This\n value can be useful for sequential write patterns but less accurate for random write\n patterns. VolumeUsedInBytes
is different from the compressed size of the\n volume, which is the value that is used to calculate your bill.
This value is not available for volumes created prior to May 13, 2015, until you\n store data on the volume.
\nThe name of the iSCSI target used by an initiator to connect to a volume and used as a\n suffix for the target ARN. For example, specifying TargetName
as\n myvolume results in the target ARN of\n arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume
.\n The target name must be unique across all volumes on a gateway.
If you don't specify a value, Storage Gateway uses the value that was previously\n used for this volume as the new target name.
" + "smithy.api#documentation": "The name of the iSCSI target used by an initiator to connect to a volume and used as a\n suffix for the target ARN. For example, specifying TargetName
as\n myvolume results in the target ARN of\n arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume
.\n The target name must be unique across all volumes on a gateway.
If you don't specify a value, Storage Gateway uses the value that was previously\n used for this volume as the new target name.
" } } }, @@ -8875,13 +10149,13 @@ "Progress": { "target": "com.amazonaws.storagegateway#DoubleObject", "traits": { - "smithy.api#documentation": "For archiving virtual tapes, indicates how much data remains to be uploaded before\n archiving is complete.
\n\nRange: 0 (not started) to 100 (complete).
" + "smithy.api#documentation": "For archiving virtual tapes, indicates how much data remains to be uploaded before\n archiving is complete.
\nRange: 0 (not started) to 100 (complete).
" } }, "TapeUsedInBytes": { "target": "com.amazonaws.storagegateway#TapeUsage", "traits": { - "smithy.api#documentation": "The size, in bytes, of data stored on the virtual tape.
\n\nThis value is not available for tapes created prior to May 13, 2015.
\nThe size, in bytes, of data stored on the virtual tape.
\nThis value is not available for tapes created prior to May 13, 2015.
\nThe time that the archiving of the virtual tape was completed.
\n\nThe default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z'\n format.
" + "smithy.api#documentation": "The time that the archiving of the virtual tape was completed.
\nThe default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z'\n format.
" } }, "RetrievedTo": { "target": "com.amazonaws.storagegateway#GatewayARN", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the tape gateway that the virtual tape is being\n retrieved to.
\n\nThe virtual tape is retrieved from the virtual tape shelf (VTS).
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the tape gateway that the virtual tape is being\n retrieved to.
\nThe virtual tape is retrieved from the virtual tape shelf (VTS).
" } }, "TapeStatus": { @@ -8984,7 +10258,7 @@ "TapeUsedInBytes": { "target": "com.amazonaws.storagegateway#TapeUsage", "traits": { - "smithy.api#documentation": "The size, in bytes, of data stored on the virtual tape.
\n\nThis value is not available for tapes created prior to May 13, 2015.
\nThe size, in bytes, of data stored on the virtual tape.
\nThis value is not available for tapes created prior to May 13, 2015.
\nThe time that the tape entered the custom tape pool.
\n\nThe default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z'\n format.
" + "smithy.api#documentation": "The time that the tape entered the custom tape pool.
\nThe default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z'\n format.
" } } }, @@ -9135,7 +10409,7 @@ "TapeRecoveryPointTime": { "target": "com.amazonaws.storagegateway#Time", "traits": { - "smithy.api#documentation": "The time when the point-in-time view of the virtual tape was replicated for later\n recovery.
\n\nThe default timestamp format of the tape recovery point time is in the ISO8601 extended\n YYYY-MM-DD'T'HH:MM:SS'Z' format.
" + "smithy.api#documentation": "The time when the point-in-time view of the virtual tape was replicated for later\n recovery.
\nThe default timestamp format of the tape recovery point time is in the ISO8601 extended\n YYYY-MM-DD'T'HH:MM:SS'Z' format.
" } }, "TapeSizeInBytes": { @@ -9171,18 +10445,20 @@ "type": "string" }, "com.amazonaws.storagegateway#TapeStorageClass": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DEEP_ARCHIVE", - "name": "DEEP_ARCHIVE" - }, - { - "value": "GLACIER", - "name": "GLACIER" + "type": "enum", + "members": { + "DEEP_ARCHIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEEP_ARCHIVE" } - ] + }, + "GLACIER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GLACIER" + } + } } }, "com.amazonaws.storagegateway#TapeUsage": { @@ -9242,7 +10518,7 @@ } ], "traits": { - "smithy.api#documentation": "Updates the automatic tape creation policy of a gateway. Use this to update the policy\n with a new set of automatic tape creation rules. This is only supported for tape\n gateways.
\n\nBy default, there is no automatic tape creation policy.
\n\nA gateway can have only one automatic tape creation policy.
\nUpdates the automatic tape creation policy of a gateway. Use this to update the policy\n with a new set of automatic tape creation rules. This is only supported for tape\n gateways.
\nBy default, there is no automatic tape creation policy.
\nA gateway can have only one automatic tape creation policy.
\nUpdates the bandwidth rate limits of a gateway. You can update both the upload and\n download bandwidth rate limit or specify only one of the two. If you don't set a\n bandwidth rate limit, the existing rate limit remains. This operation is supported only for\n the stored volume, cached volume, and tape gateway types. To update bandwidth rate limits\n for S3 file gateways, use UpdateBandwidthRateLimitSchedule.
\n\nBy default, a gateway's bandwidth rate limits are not set. If you don't set\n any limit, the gateway does not have any limitations on its bandwidth usage and could\n potentially use the maximum available bandwidth.
\n\nTo specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in\n your request.
" + "smithy.api#documentation": "Updates the bandwidth rate limits of a gateway. You can update both the upload and\n download bandwidth rate limit or specify only one of the two. If you don't set a\n bandwidth rate limit, the existing rate limit remains. This operation is supported only for\n the stored volume, cached volume, and tape gateway types. To update bandwidth rate limits\n for S3 file gateways, use UpdateBandwidthRateLimitSchedule.
\nBy default, a gateway's bandwidth rate limits are not set. If you don't set\n any limit, the gateway does not have any limitations on its bandwidth usage and could\n potentially use the maximum available bandwidth.
\nTo specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in\n your request.
", + "smithy.api#examples": [ + { + "title": "To update the bandwidth rate limits of a gateway", + "documentation": "Updates the bandwidth rate limits of a gateway. Both the upload and download bandwidth rate limit can be set, or either one of the two. If a new limit is not set, the existing rate limit remains.", + "input": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", + "AverageUploadRateLimitInBitsPerSec": 51200, + "AverageDownloadRateLimitInBitsPerSec": 102400 + }, + "output": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" + } + } + ] } }, "com.amazonaws.storagegateway#UpdateBandwidthRateLimitInput": { @@ -9314,7 +10610,8 @@ } }, "traits": { - "smithy.api#documentation": "A JSON object containing one or more of the following fields:
\n\n\n UpdateBandwidthRateLimitInput$AverageDownloadRateLimitInBitsPerSec\n
\n\n UpdateBandwidthRateLimitInput$AverageUploadRateLimitInBitsPerSec\n
\nA JSON object containing one or more of the following fields:
\n\n UpdateBandwidthRateLimitInput$AverageDownloadRateLimitInBitsPerSec\n
\n\n UpdateBandwidthRateLimitInput$AverageUploadRateLimitInBitsPerSec\n
\nA JSON object containing the Amazon Resource Name (ARN) of the gateway whose throttle\n information was updated.
" + "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the gateway whose throttle\n information was updated.
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#UpdateBandwidthRateLimitSchedule": { @@ -9364,6 +10662,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#UpdateBandwidthRateLimitScheduleOutput": { @@ -9372,6 +10673,9 @@ "GatewayARN": { "target": "com.amazonaws.storagegateway#GatewayARN" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#UpdateChapCredentials": { @@ -9391,7 +10695,23 @@ } ], "traits": { - "smithy.api#documentation": "Updates the Challenge-Handshake Authentication Protocol (CHAP) credentials for a\n specified iSCSI target. By default, a gateway does not have CHAP enabled; however, for\n added security, you might use it. This operation is supported in the volume and tape\n gateway types.
\n\nWhen you update CHAP credentials, all existing connections on the target are closed\n and initiators must reconnect with the new credentials.
\nUpdates the Challenge-Handshake Authentication Protocol (CHAP) credentials for a\n specified iSCSI target. By default, a gateway does not have CHAP enabled; however, for\n added security, you might use it. This operation is supported in the volume and tape\n gateway types.
\nWhen you update CHAP credentials, all existing connections on the target are closed\n and initiators must reconnect with the new credentials.
\nThe secret key that the initiator (for example, the Windows client) must provide to\n participate in mutual CHAP with the target.
\n\nThe secret key must be between 12 and 16 bytes when encoded in UTF-8.
\nThe secret key that the initiator (for example, the Windows client) must provide to\n participate in mutual CHAP with the target.
\nThe secret key must be between 12 and 16 bytes when encoded in UTF-8.
\nThe secret key that the target must provide to participate in mutual CHAP with the\n initiator (e.g. Windows client).
\n\nByte constraints: Minimum bytes of 12. Maximum bytes of 16.
\n\nThe secret key must be between 12 and 16 bytes when encoded in UTF-8.
\nThe secret key that the target must provide to participate in mutual CHAP with the\n initiator (e.g. Windows client).
\nByte constraints: Minimum bytes of 12. Maximum bytes of 16.
\nThe secret key must be between 12 and 16 bytes when encoded in UTF-8.
\nA JSON object containing one or more of the following fields:
\n\n\n UpdateChapCredentialsInput$SecretToAuthenticateInitiator\n
\nA JSON object containing one or more of the following fields:
\n\n UpdateChapCredentialsInput$SecretToAuthenticateInitiator\n
\nA JSON object containing the following fields:
" + "smithy.api#documentation": "A JSON object containing the following fields:
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#UpdateFileSystemAssociation": { @@ -9500,6 +10822,9 @@ "CacheAttributes": { "target": "com.amazonaws.storagegateway#CacheAttributes" } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#UpdateFileSystemAssociationOutput": { @@ -9511,6 +10836,9 @@ "smithy.api#documentation": "The ARN of the updated file system association.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#UpdateGatewayInformation": { @@ -9530,7 +10858,22 @@ } ], "traits": { - "smithy.api#documentation": "Updates a gateway's metadata, which includes the gateway's name and time zone.\n To specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in\n your request.
\n\nFor gateways activated after September 2, 2015, the gateway's ARN contains the\n gateway ID rather than the gateway name. However, changing the name of the gateway has\n no effect on the gateway's ARN.
\nUpdates a gateway's metadata, which includes the gateway's name and time zone.\n To specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in\n your request.
\nFor gateways activated after September 2, 2015, the gateway's ARN contains the\n gateway ID rather than the gateway name. However, changing the name of the gateway has\n no effect on the gateway's ARN.
\nThe Amazon Resource Name (ARN) of the Amazon CloudWatch log group that you want to use\n to monitor and log events in the gateway.
\n\nFor more information, see What is Amazon CloudWatch\n Logs?\n
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that you want to use\n to monitor and log events in the gateway.
\nFor more information, see What is Amazon CloudWatch\n Logs?\n
" } }, "GatewayCapacity": { @@ -9563,6 +10906,9 @@ "smithy.api#documentation": "Specifies the size of the gateway's metadata cache.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#UpdateGatewayInformationOutput": { @@ -9579,7 +10925,8 @@ } }, "traits": { - "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the gateway that was\n updated.
" + "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the gateway that was\n updated.
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#UpdateGatewaySoftwareNow": { @@ -9599,7 +10946,19 @@ } ], "traits": { - "smithy.api#documentation": "Updates the gateway virtual machine (VM) software. The request immediately triggers the\n software update.
\n\nWhen you make this request, you get a 200 OK
success response\n immediately. However, it might take some time for the update to complete. You can call\n DescribeGatewayInformation to verify the gateway is in the\n STATE_RUNNING
state.
A software update forces a system restart of your gateway. You can minimize the\n chance of any disruption to your applications by increasing your iSCSI Initiators'\n timeouts. For more information about increasing iSCSI Initiator timeouts for Windows and\n Linux, see Customizing your Windows iSCSI settings and Customizing your Linux iSCSI settings, respectively.
\nUpdates the gateway virtual machine (VM) software. The request immediately triggers the\n software update.
\nWhen you make this request, you get a 200 OK
success response\n immediately. However, it might take some time for the update to complete. You can call\n DescribeGatewayInformation to verify the gateway is in the\n STATE_RUNNING
state.
A software update forces a system restart of your gateway. You can minimize the\n chance of any disruption to your applications by increasing your iSCSI Initiators'\n timeouts. For more information about increasing iSCSI Initiator timeouts for Windows and\n Linux, see Customizing your Windows iSCSI settings and Customizing your Linux iSCSI settings, respectively.
\nA JSON object containing the Amazon Resource Name (ARN) of the gateway to update.
" + "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the gateway to update.
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#UpdateGatewaySoftwareNowOutput": { @@ -9624,7 +10984,8 @@ } }, "traits": { - "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the gateway that was\n updated.
" + "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the gateway that was\n updated.
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#UpdateMaintenanceStartTime": { @@ -9644,7 +11005,22 @@ } ], "traits": { - "smithy.api#documentation": "Updates a gateway's weekly maintenance start time information, including day and\n time of the week. The maintenance time is the time in your gateway's time zone.
" + "smithy.api#documentation": "Updates a gateway's weekly maintenance start time information, including day and\n time of the week. The maintenance time is the time in your gateway's time zone.
", + "smithy.api#examples": [ + { + "title": "To update a gateway's maintenance start time", + "documentation": "Updates a gateway's weekly maintenance start time information, including day and time of the week. The maintenance time is in your gateway's time zone.", + "input": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", + "HourOfDay": 0, + "MinuteOfHour": 30, + "DayOfWeek": 2 + }, + "output": { + "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" + } + } + ] } }, "com.amazonaws.storagegateway#UpdateMaintenanceStartTimeInput": { @@ -9684,7 +11060,8 @@ } }, "traits": { - "smithy.api#documentation": "A JSON object containing the following fields:
\n\nA JSON object containing the following fields:
\nA JSON object containing the Amazon Resource Name (ARN) of the gateway whose maintenance\n start time is updated.
" + "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the gateway whose maintenance\n start time is updated.
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#UpdateNFSFileShare": { @@ -9715,7 +11093,7 @@ } ], "traits": { - "smithy.api#documentation": "Updates a Network File System (NFS) file share. This operation is only supported in S3\n File Gateways.
\n\nTo leave a file share field unchanged, set the corresponding input field to\n null.
\nUpdates the following file share settings:
\n\nDefault storage class for your S3 bucket
\nMetadata defaults for your S3 bucket
\nAllowed NFS clients for your file share
\nSquash settings
\nWrite status of your file share
\nUpdates a Network File System (NFS) file share. This operation is only supported in S3\n File Gateways.
\nTo leave a file share field unchanged, set the corresponding input field to\n null.
\nUpdates the following file share settings:
\nDefault storage class for your S3 bucket
\nMetadata defaults for your S3 bucket
\nAllowed NFS clients for your file share
\nSquash settings
\nWrite status of your file share
\nSet to true
to use Amazon S3 server-side encryption with your own\n KMS key, or false
to use a key managed by Amazon S3.\n Optional.
Valid Values: true
| false
\n
Set to true
to use Amazon S3 server-side encryption with your own\n KMS key, or false
to use a key managed by Amazon S3.\n Optional.
Valid Values: true
| false
\n
The default storage class for objects put into an Amazon S3 bucket by the S3\n File Gateway. The default value is S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
|\n S3_STANDARD_IA
| S3_ONEZONE_IA
\n
The default storage class for objects put into an Amazon S3 bucket by the S3\n File Gateway. The default value is S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
|\n S3_STANDARD_IA
| S3_ONEZONE_IA
\n
The user mapped to anonymous user.
\n\nValid values are the following:
\n\n\n RootSquash
: Only root is mapped to anonymous user.
\n NoSquash
: No one is mapped to anonymous user.
\n AllSquash
: Everyone is mapped to anonymous user.
The user mapped to anonymous user.
\nValid values are the following:
\n\n RootSquash
: Only root is mapped to anonymous user.
\n NoSquash
: No one is mapped to anonymous user.
\n AllSquash
: Everyone is mapped to anonymous user.
A value that sets the write status of a file share. Set this value to true
\n to set the write status to read-only, otherwise set to false
.
Valid Values: true
| false
\n
A value that sets the write status of a file share. Set this value to true
\n to set the write status to read-only, otherwise set to false
.
Valid Values: true
| false
\n
A value that enables guessing of the MIME type for uploaded objects based on file\n extensions. Set this value to true
to enable MIME type guessing, otherwise set\n to false
. The default value is true
.
Valid Values: true
| false
\n
A value that enables guessing of the MIME type for uploaded objects based on file\n extensions. Set this value to true
to enable MIME type guessing, otherwise set\n to false
. The default value is true
.
Valid Values: true
| false
\n
A value that sets who pays the cost of the request and the cost associated with data\n download from the S3 bucket. If this value is set to true
, the requester pays\n the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays\n the cost of storing data.
\n RequesterPays
is a configuration for the S3 bucket that backs the file\n share, so make sure that the configuration on the file share is the same as the S3\n bucket configuration.
Valid Values: true
| false
\n
A value that sets who pays the cost of the request and the cost associated with data\n download from the S3 bucket. If this value is set to true
, the requester pays\n the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays\n the cost of storing data.
\n RequesterPays
is a configuration for the S3 bucket that backs the file\n share, so make sure that the configuration on the file share is the same as the S3\n bucket configuration.
Valid Values: true
| false
\n
The name of the file share. Optional.
\n\n\n FileShareName
must be set if an S3 prefix name is set in\n LocationARN
, or if an access point or access point alias is used.
The name of the file share. Optional.
\n\n FileShareName
must be set if an S3 prefix name is set in\n LocationARN
, or if an access point or access point alias is used.
The notification policy of the file share. SettlingTimeInSeconds
controls\n the number of seconds to wait after the last point in time a client wrote to a file before\n generating an ObjectUploaded
notification. Because clients can make many small\n writes to files, it's best to set this parameter for as long as possible to avoid\n generating multiple notifications for the same file in a small time period.
\n SettlingTimeInSeconds
has no effect on the timing of the object\n uploading to Amazon S3, only the timing of the notification.
The following example sets NotificationPolicy
on with\n SettlingTimeInSeconds
set to 60.
\n {\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}
\n
The following example sets NotificationPolicy
off.
\n {}
\n
The notification policy of the file share. SettlingTimeInSeconds
controls\n the number of seconds to wait after the last point in time a client wrote to a file before\n generating an ObjectUploaded
notification. Because clients can make many small\n writes to files, it's best to set this parameter for as long as possible to avoid\n generating multiple notifications for the same file in a small time period.
\n SettlingTimeInSeconds
has no effect on the timing of the object\n uploading to Amazon S3, only the timing of the notification.
The following example sets NotificationPolicy
on with\n SettlingTimeInSeconds
set to 60.
\n {\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}
\n
The following example sets NotificationPolicy
off.
\n {}
\n
UpdateNFSFileShareInput
" + "smithy.api#documentation": "UpdateNFSFileShareInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#UpdateNFSFileShareOutput": { @@ -9828,7 +11207,8 @@ } }, "traits": { - "smithy.api#documentation": "UpdateNFSFileShareOutput
" + "smithy.api#documentation": "UpdateNFSFileShareOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#UpdateSMBFileShare": { @@ -9848,7 +11228,7 @@ } ], "traits": { - "smithy.api#documentation": "Updates a Server Message Block (SMB) file share. This operation is only supported for S3\n File Gateways.
\n\nTo leave a file share field unchanged, set the corresponding input field to\n null.
\nFile gateways require Security Token Service (Amazon Web Services STS) to be\n activated to enable you to create a file share. Make sure that Amazon Web Services STS\n is activated in the Amazon Web Services Region you are creating your file gateway in. If\n Amazon Web Services STS is not activated in this Amazon Web Services Region, activate\n it. For information about how to activate Amazon Web Services STS, see Activating and\n deactivating Amazon Web Services STS in an Amazon Web Services Region in the\n Identity and Access Management User Guide.
\n\nFile gateways don't support creating hard or symbolic links on a file\n share.
\nUpdates a Server Message Block (SMB) file share. This operation is only supported for S3\n File Gateways.
\nTo leave a file share field unchanged, set the corresponding input field to\n null.
\nFile gateways require Security Token Service (Amazon Web Services STS) to be\n activated to enable you to create a file share. Make sure that Amazon Web Services STS\n is activated in the Amazon Web Services Region you are creating your file gateway in. If\n Amazon Web Services STS is not activated in this Amazon Web Services Region, activate\n it. For information about how to activate Amazon Web Services STS, see Activating and\n deactivating Amazon Web Services STS in an Amazon Web Services Region in the\n Identity and Access Management User Guide.
\nFile gateways don't support creating hard or symbolic links on a file\n share.
\nSet to true
to use Amazon S3 server-side encryption with your own\n KMS key, or false
to use a key managed by Amazon S3.\n Optional.
Valid Values: true
| false
\n
Set to true
to use Amazon S3 server-side encryption with your own\n KMS key, or false
to use a key managed by Amazon S3.\n Optional.
Valid Values: true
| false
\n
The default storage class for objects put into an Amazon S3 bucket by the S3\n File Gateway. The default value is S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
|\n S3_STANDARD_IA
| S3_ONEZONE_IA
\n
The default storage class for objects put into an Amazon S3 bucket by the S3\n File Gateway. The default value is S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
|\n S3_STANDARD_IA
| S3_ONEZONE_IA
\n
A value that sets the write status of a file share. Set this value to true
\n to set write status to read-only, otherwise set to false
.
Valid Values: true
| false
\n
A value that sets the write status of a file share. Set this value to true
\n to set write status to read-only, otherwise set to false
.
Valid Values: true
| false
\n
A value that enables guessing of the MIME type for uploaded objects based on file\n extensions. Set this value to true
to enable MIME type guessing, otherwise set\n to false
. The default value is true
.
Valid Values: true
| false
\n
A value that enables guessing of the MIME type for uploaded objects based on file\n extensions. Set this value to true
to enable MIME type guessing, otherwise set\n to false
. The default value is true
.
Valid Values: true
| false
\n
A value that sets who pays the cost of the request and the cost associated with data\n download from the S3 bucket. If this value is set to true
, the requester pays\n the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays\n the cost of storing data.
\n RequesterPays
is a configuration for the S3 bucket that backs the file\n share, so make sure that the configuration on the file share is the same as the S3\n bucket configuration.
Valid Values: true
| false
\n
A value that sets who pays the cost of the request and the cost associated with data\n download from the S3 bucket. If this value is set to true
, the requester pays\n the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays\n the cost of storing data.
\n RequesterPays
is a configuration for the S3 bucket that backs the file\n share, so make sure that the configuration on the file share is the same as the S3\n bucket configuration.
Valid Values: true
| false
\n
Set this value to true
to enable access control list (ACL) on the SMB file\n share. Set it to false
to map file and directory permissions to the POSIX\n permissions.
For more information, see Using Microsoft Windows ACLs to\n control access to an SMB file share in the Storage Gateway User\n Guide.
\n\nValid Values: true
| false
\n
Set this value to true
to enable access control list (ACL) on the SMB file\n share. Set it to false
to map file and directory permissions to the POSIX\n permissions.
For more information, see Using Microsoft Windows ACLs to\n control access to an SMB file share in the Storage Gateway User\n Guide.
\nValid Values: true
| false
\n
The name of the file share. Optional.
\n\n\n FileShareName
must be set if an S3 prefix name is set in\n LocationARN
, or if an access point or access point alias is used.
The name of the file share. Optional.
\n\n FileShareName
must be set if an S3 prefix name is set in\n LocationARN
, or if an access point or access point alias is used.
The notification policy of the file share. SettlingTimeInSeconds
controls\n the number of seconds to wait after the last point in time a client wrote to a file before\n generating an ObjectUploaded
notification. Because clients can make many small\n writes to files, it's best to set this parameter for as long as possible to avoid\n generating multiple notifications for the same file in a small time period.
\n SettlingTimeInSeconds
has no effect on the timing of the object\n uploading to Amazon S3, only the timing of the notification.
The following example sets NotificationPolicy
on with\n SettlingTimeInSeconds
set to 60.
\n {\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}
\n
The following example sets NotificationPolicy
off.
\n {}
\n
The notification policy of the file share. SettlingTimeInSeconds
controls\n the number of seconds to wait after the last point in time a client wrote to a file before\n generating an ObjectUploaded
notification. Because clients can make many small\n writes to files, it's best to set this parameter for as long as possible to avoid\n generating multiple notifications for the same file in a small time period.
\n SettlingTimeInSeconds
has no effect on the timing of the object\n uploading to Amazon S3, only the timing of the notification.
The following example sets NotificationPolicy
on with\n SettlingTimeInSeconds
set to 60.
\n {\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}
\n
The following example sets NotificationPolicy
off.
\n {}
\n
UpdateSMBFileShareInput
" + "smithy.api#documentation": "UpdateSMBFileShareInput
", + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#UpdateSMBFileShareOutput": { @@ -9985,7 +11366,8 @@ } }, "traits": { - "smithy.api#documentation": "UpdateSMBFileShareOutput
" + "smithy.api#documentation": "UpdateSMBFileShareOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#UpdateSMBFileShareVisibility": { @@ -10024,6 +11406,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#UpdateSMBFileShareVisibilityOutput": { @@ -10032,6 +11417,9 @@ "GatewayARN": { "target": "com.amazonaws.storagegateway#GatewayARN" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#UpdateSMBLocalGroups": { @@ -10070,6 +11458,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#UpdateSMBLocalGroupsOutput": { @@ -10078,6 +11469,9 @@ "GatewayARN": { "target": "com.amazonaws.storagegateway#GatewayARN" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#UpdateSMBSecurityStrategy": { @@ -10097,7 +11491,7 @@ } ], "traits": { - "smithy.api#documentation": "Updates the SMB security strategy on a file gateway. This action is only supported in\n file gateways.
\n\nThis API is called Security level in the User Guide.
\n\nA higher security level can affect performance of the gateway.
\nUpdates the SMB security strategy on a file gateway. This action is only supported in\n file gateways.
\nThis API is called Security level in the User Guide.
\nA higher security level can affect performance of the gateway.
\nSpecifies the type of security strategy.
\n\nClientSpecified: if you use this option, requests are established based on what is\n negotiated by the client. This option is recommended when you want to maximize\n compatibility across different clients in your environment. Supported only in S3 File\n Gateway.
\n\nMandatorySigning: if you use this option, file gateway only allows connections from\n SMBv2 or SMBv3 clients that have signing enabled. This option works with SMB clients on\n Microsoft Windows Vista, Windows Server 2008 or newer.
\n\nMandatoryEncryption: if you use this option, file gateway only allows connections from\n SMBv3 clients that have encryption enabled. This option is highly recommended for\n environments that handle sensitive data. This option works with SMB clients on Microsoft\n Windows 8, Windows Server 2012 or newer.
", + "smithy.api#documentation": "Specifies the type of security strategy.
\nClientSpecified: if you use this option, requests are established based on what is\n negotiated by the client. This option is recommended when you want to maximize\n compatibility across different clients in your environment. Supported only in S3 File\n Gateway.
\nMandatorySigning: if you use this option, file gateway only allows connections from\n SMBv2 or SMBv3 clients that have signing enabled. This option works with SMB clients on\n Microsoft Windows Vista, Windows Server 2008 or newer.
\nMandatoryEncryption: if you use this option, file gateway only allows connections from\n SMBv3 clients that have encryption enabled. This option is highly recommended for\n environments that handle sensitive data. This option works with SMB clients on Microsoft\n Windows 8, Windows Server 2012 or newer.
", "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.storagegateway#UpdateSMBSecurityStrategyOutput": { @@ -10124,6 +11521,9 @@ "GatewayARN": { "target": "com.amazonaws.storagegateway#GatewayARN" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#UpdateSnapshotSchedule": { @@ -10143,7 +11543,22 @@ } ], "traits": { - "smithy.api#documentation": "Updates a snapshot schedule configured for a gateway volume. This operation is only\n supported in the cached volume and stored volume gateway types.
\n\nThe default snapshot schedule for volume is once every 24 hours, starting at the\n creation time of the volume. You can use this API to change the snapshot schedule\n configured for the volume.
\n\nIn the request you must identify the gateway volume whose snapshot schedule you want to\n update, and the schedule information, including when you want the snapshot to begin on a\n day and the frequency (in hours) of snapshots.
" + "smithy.api#documentation": "Updates a snapshot schedule configured for a gateway volume. This operation is only\n supported in the cached volume and stored volume gateway types.
\nThe default snapshot schedule for volume is once every 24 hours, starting at the\n creation time of the volume. You can use this API to change the snapshot schedule\n configured for the volume.
\nIn the request you must identify the gateway volume whose snapshot schedule you want to\n update, and the schedule information, including when you want the snapshot to begin on a\n day and the frequency (in hours) of snapshots.
", + "smithy.api#examples": [ + { + "title": "To update a volume snapshot schedule", + "documentation": "Updates a snapshot schedule configured for a gateway volume.", + "input": { + "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB", + "StartAt": 0, + "RecurrenceInHours": 1, + "Description": "Hourly snapshot" + }, + "output": { + "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB" + } + } + ] } }, "com.amazonaws.storagegateway#UpdateSnapshotScheduleInput": { @@ -10179,12 +11594,13 @@ "Tags": { "target": "com.amazonaws.storagegateway#Tags", "traits": { - "smithy.api#documentation": "A list of up to 50 tags that can be assigned to a snapshot. Each tag is a key-value\n pair.
\n\nValid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.
\nA list of up to 50 tags that can be assigned to a snapshot. Each tag is a key-value\n pair.
\nValid characters for key and value are letters, spaces, and numbers representable in\n UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length\n of a tag's key is 128 characters, and the maximum length for a tag's value is\n 256.
\nA JSON object containing one or more of the following fields:
\n\nA JSON object containing one or more of the following fields:
\nA JSON object containing the Amazon Resource Name (ARN) of the updated storage\n volume.
" + "smithy.api#documentation": "A JSON object containing the Amazon Resource Name (ARN) of the updated storage\n volume.
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#UpdateVTLDeviceType": { @@ -10218,7 +11635,20 @@ } ], "traits": { - "smithy.api#documentation": "Updates the type of medium changer in a tape gateway. When you activate a tape gateway,\n you select a medium changer type for the tape gateway. This operation enables you to select\n a different type of medium changer after a tape gateway is activated. This operation is\n only supported in the tape gateway type.
" + "smithy.api#documentation": "Updates the type of medium changer in a tape gateway. When you activate a tape gateway,\n you select a medium changer type for the tape gateway. This operation enables you to select\n a different type of medium changer after a tape gateway is activated. This operation is\n only supported in the tape gateway type.
", + "smithy.api#examples": [ + { + "title": "To update a VTL device type", + "documentation": "Updates the type of medium changer in a gateway-VTL after a gateway-VTL is activated.", + "input": { + "VTLDeviceARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/device/AMZN_SGW-1FAD4876_MEDIACHANGER_00001", + "DeviceType": "Medium Changer" + }, + "output": { + "VTLDeviceARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/device/AMZN_SGW-1FAD4876_MEDIACHANGER_00001" + } + } + ] } }, "com.amazonaws.storagegateway#UpdateVTLDeviceTypeInput": { @@ -10234,10 +11664,13 @@ "DeviceType": { "target": "com.amazonaws.storagegateway#DeviceType", "traits": { - "smithy.api#documentation": "The type of medium changer you want to select.
\n\nValid Values: STK-L700
| AWS-Gateway-VTL
|\n IBM-03584L32-0402
\n
The type of medium changer you want to select.
\nValid Values: STK-L700
| AWS-Gateway-VTL
|\n IBM-03584L32-0402
\n
UpdateVTLDeviceTypeOutput
" + "smithy.api#documentation": "UpdateVTLDeviceTypeOutput
", + "smithy.api#output": {} } }, "com.amazonaws.storagegateway#UserList": { @@ -10382,13 +11816,13 @@ "VolumeARN": { "target": "com.amazonaws.storagegateway#VolumeARN", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) for the storage volume. For example, the following is a\n valid ARN:
\n\n\n arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB
\n
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) for the storage volume. For example, the following is a\n valid ARN:
\n\n arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB
\n
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
" } }, "VolumeId": { "target": "com.amazonaws.storagegateway#VolumeId", "traits": { - "smithy.api#documentation": "The unique identifier assigned to the volume. This ID becomes part of the volume Amazon\n Resource Name (ARN), which you use as input for other operations.
\n\nValid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
" + "smithy.api#documentation": "The unique identifier assigned to the volume. This ID becomes part of the volume Amazon\n Resource Name (ARN), which you use as input for other operations.
\nValid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
" } }, "GatewayARN": { @@ -10397,7 +11831,7 @@ "GatewayId": { "target": "com.amazonaws.storagegateway#GatewayId", "traits": { - "smithy.api#documentation": "The unique identifier assigned to your gateway during activation. This ID becomes part\n of the gateway Amazon Resource Name (ARN), which you use as input for other\n operations.
\n\nValid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
" + "smithy.api#documentation": "The unique identifier assigned to your gateway during activation. This ID becomes part\n of the gateway Amazon Resource Name (ARN), which you use as input for other\n operations.
\nValid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
" } }, "VolumeType": { @@ -10410,7 +11844,7 @@ "target": "com.amazonaws.storagegateway#long", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "The size of the volume in bytes.
\n\nValid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
" + "smithy.api#documentation": "The size of the volume in bytes.
\nValid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
" } }, "VolumeAttachmentStatus": { @@ -10450,7 +11884,7 @@ "target": "com.amazonaws.storagegateway#long", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "The size of the data stored on the volume in bytes.
\n\nThis value is not available for volumes created prior to May 13, 2015, until you\n store data on the volume.
\nThe size of the data stored on the volume in bytes.
\nThis value is not available for volumes created prior to May 13, 2015, until you\n store data on the volume.
\nReturns a set of temporary security credentials that you can use to access Amazon Web Services\n resources. These temporary credentials consist of an access key ID, a secret access key,\n and a security token. Typically, you use AssumeRole
within your account or for\n cross-account access. For a comparison of AssumeRole
with other API operations\n that produce temporary credentials, see Requesting Temporary Security\n Credentials and Comparing the\n Amazon Web Services STS API operations in the IAM User Guide.
\n Permissions\n
\nThe temporary security credentials created by AssumeRole
can be used to\n make API calls to any Amazon Web Services service with the following exception: You cannot call the\n Amazon Web Services STS GetFederationToken
or GetSessionToken
API\n operations.
(Optional) You can pass inline or managed session policies to\n this operation. You can pass a single JSON policy document to use as an inline session\n policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as\n managed session policies. The plaintext that you use for both inline and managed session\n policies can't exceed 2,048 characters. Passing policies to this operation returns new \n temporary credentials. The resulting session's permissions are the intersection of the \n role's identity-based policy and the session policies. You can use the role's temporary \n credentials in subsequent Amazon Web Services API calls to access resources in the account that owns \n the role. You cannot use session policies to grant more permissions than those allowed \n by the identity-based policy of the role that is being assumed. For more information, see\n Session\n Policies in the IAM User Guide.
\nWhen you create a role, you create two policies: a role trust policy that specifies\n who can assume the role, and a permissions policy that specifies\n what can be done with the role. You specify the trusted principal\n that is allowed to assume the role in the role trust policy.
\nTo assume a role from a different account, your Amazon Web Services account must be trusted by the\n role. The trust relationship is defined in the role's trust policy when the role is\n created. That trust policy states which accounts are allowed to delegate that access to\n users in the account.
\nA user who wants to access a role in a different account must also have permissions that\n are delegated from the account administrator. The administrator must attach a policy that\n allows the user to call AssumeRole
for the ARN of the role in the other\n account.
To allow a user to assume a role in the same account, you can do either of the\n following:
\nAttach a policy to the user that allows the user to call AssumeRole
\n (as long as the role's trust policy trusts the account).
Add the user as a principal directly in the role's trust policy.
\nYou can do either because the role’s trust policy acts as an IAM resource-based\n policy. When a resource-based policy grants access to a principal in the same account, no\n additional identity-based policy is required. For more information about trust policies and\n resource-based policies, see IAM Policies in the\n IAM User Guide.
\n\n Tags\n
\n(Optional) You can pass tag key-value pairs to your session. These tags are called\n session tags. For more information about session tags, see Passing Session Tags in STS in the\n IAM User Guide.
\nAn administrator must grant you the permissions necessary to pass session tags. The\n administrator can also create granular permissions to allow you to pass only specific\n session tags. For more information, see Tutorial: Using Tags\n for Attribute-Based Access Control in the\n IAM User Guide.
\nYou can set the session tags as transitive. Transitive tags persist during role\n chaining. For more information, see Chaining Roles\n with Session Tags in the IAM User Guide.
\n\n Using MFA with AssumeRole\n
\n(Optional) You can include multi-factor authentication (MFA) information when you call\n AssumeRole
. This is useful for cross-account scenarios to ensure that the\n user that assumes the role has been authenticated with an Amazon Web Services MFA device. In that\n scenario, the trust policy of the role being assumed includes a condition that tests for\n MFA authentication. If the caller does not include valid MFA information, the request to\n assume the role is denied. The condition in a trust policy that tests for MFA\n authentication might look like the following example.
\n \"Condition\": {\"Bool\": {\"aws:MultiFactorAuthPresent\": true}}
\n
For more information, see Configuring MFA-Protected API Access\n in the IAM User Guide guide.
\nTo use MFA with AssumeRole
, you pass values for the\n SerialNumber
and TokenCode
parameters. The\n SerialNumber
value identifies the user's hardware or virtual MFA device.\n The TokenCode
is the time-based one-time password (TOTP) that the MFA device\n produces.
Returns a set of temporary security credentials that you can use to access Amazon Web Services\n resources. These temporary credentials consist of an access key ID, a secret access key,\n and a security token. Typically, you use AssumeRole
within your account or for\n cross-account access. For a comparison of AssumeRole
with other API operations\n that produce temporary credentials, see Requesting Temporary Security\n Credentials and Comparing the\n Amazon Web Services STS API operations in the IAM User Guide.
\n Permissions\n
\nThe temporary security credentials created by AssumeRole
can be used to\n make API calls to any Amazon Web Services service with the following exception: You cannot call the\n Amazon Web Services STS GetFederationToken
or GetSessionToken
API\n operations.
(Optional) You can pass inline or managed session policies to\n this operation. You can pass a single JSON policy document to use as an inline session\n policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as\n managed session policies. The plaintext that you use for both inline and managed session\n policies can't exceed 2,048 characters. Passing policies to this operation returns new \n temporary credentials. The resulting session's permissions are the intersection of the \n role's identity-based policy and the session policies. You can use the role's temporary \n credentials in subsequent Amazon Web Services API calls to access resources in the account that owns \n the role. You cannot use session policies to grant more permissions than those allowed \n by the identity-based policy of the role that is being assumed. For more information, see\n Session\n Policies in the IAM User Guide.
\nWhen you create a role, you create two policies: a role trust policy that specifies\n who can assume the role, and a permissions policy that specifies\n what can be done with the role. You specify the trusted principal\n that is allowed to assume the role in the role trust policy.
\nTo assume a role from a different account, your Amazon Web Services account must be trusted by the\n role. The trust relationship is defined in the role's trust policy when the role is\n created. That trust policy states which accounts are allowed to delegate that access to\n users in the account.
\nA user who wants to access a role in a different account must also have permissions that\n are delegated from the account administrator. The administrator must attach a policy that\n allows the user to call AssumeRole
for the ARN of the role in the other\n account.
To allow a user to assume a role in the same account, you can do either of the\n following:
\nAttach a policy to the user that allows the user to call AssumeRole
\n (as long as the role's trust policy trusts the account).
Add the user as a principal directly in the role's trust policy.
\nYou can do either because the role’s trust policy acts as an IAM resource-based\n policy. When a resource-based policy grants access to a principal in the same account, no\n additional identity-based policy is required. For more information about trust policies and\n resource-based policies, see IAM Policies in the\n IAM User Guide.
\n\n Tags\n
\n(Optional) You can pass tag key-value pairs to your session. These tags are called\n session tags. For more information about session tags, see Passing Session Tags in STS in the\n IAM User Guide.
\nAn administrator must grant you the permissions necessary to pass session tags. The\n administrator can also create granular permissions to allow you to pass only specific\n session tags. For more information, see Tutorial: Using Tags\n for Attribute-Based Access Control in the\n IAM User Guide.
\nYou can set the session tags as transitive. Transitive tags persist during role\n chaining. For more information, see Chaining Roles\n with Session Tags in the IAM User Guide.
\n\n Using MFA with AssumeRole\n
\n(Optional) You can include multi-factor authentication (MFA) information when you call\n AssumeRole
. This is useful for cross-account scenarios to ensure that the\n user that assumes the role has been authenticated with an Amazon Web Services MFA device. In that\n scenario, the trust policy of the role being assumed includes a condition that tests for\n MFA authentication. If the caller does not include valid MFA information, the request to\n assume the role is denied. The condition in a trust policy that tests for MFA\n authentication might look like the following example.
\n \"Condition\": {\"Bool\": {\"aws:MultiFactorAuthPresent\": true}}
\n
For more information, see Configuring MFA-Protected API Access\n in the IAM User Guide guide.
\nTo use MFA with AssumeRole
, you pass values for the\n SerialNumber
and TokenCode
parameters. The\n SerialNumber
value identifies the user's hardware or virtual MFA device.\n The TokenCode
is the time-based one-time password (TOTP) that the MFA device\n produces.
Returns a set of temporary security credentials for users who have been authenticated\n via a SAML authentication response. This operation provides a mechanism for tying an\n enterprise identity store or directory to role-based Amazon Web Services access without user-specific\n credentials or configuration. For a comparison of AssumeRoleWithSAML
with the\n other API operations that produce temporary credentials, see Requesting Temporary Security\n Credentials and Comparing the\n Amazon Web Services STS API operations in the IAM User Guide.
The temporary security credentials returned by this operation consist of an access key\n ID, a secret access key, and a security token. Applications can use these temporary\n security credentials to sign calls to Amazon Web Services services.
\n\n Session Duration\n
\nBy default, the temporary security credentials created by\n AssumeRoleWithSAML
last for one hour. However, you can use the optional\n DurationSeconds
parameter to specify the duration of your session. Your\n role session lasts for the duration that you specify, or until the time specified in the\n SAML authentication response's SessionNotOnOrAfter
value, whichever is\n shorter. You can provide a DurationSeconds
value from 900 seconds (15 minutes)\n up to the maximum session duration setting for the role. This setting can have a value from\n 1 hour to 12 hours. To learn how to view the maximum value for your role, see View the\n Maximum Session Duration Setting for a Role in the\n IAM User Guide. The maximum session duration limit applies when\n you use the AssumeRole*
API operations or the assume-role*
CLI\n commands. However the limit does not apply when you use those operations to create a\n console URL. For more information, see Using IAM Roles in the\n IAM User Guide.
\n Role chaining limits your CLI or Amazon Web Services API role\n session to a maximum of one hour. When you use the AssumeRole
API operation\n to assume a role, you can specify the duration of your role session with the\n DurationSeconds
parameter. You can specify a parameter value of up to\n 43200 seconds (12 hours), depending on the maximum session duration setting for your\n role. However, if you assume a role using role chaining and provide a\n DurationSeconds
parameter value greater than one hour, the operation\n fails.
\n Permissions\n
\nThe temporary security credentials created by AssumeRoleWithSAML
can be\n used to make API calls to any Amazon Web Services service with the following exception: you cannot call\n the STS GetFederationToken
or GetSessionToken
API\n operations.
(Optional) You can pass inline or managed session policies to\n this operation. You can pass a single JSON policy document to use as an inline session\n policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as\n managed session policies. The plaintext that you use for both inline and managed session\n policies can't exceed 2,048 characters. Passing policies to this operation returns new \n temporary credentials. The resulting session's permissions are the intersection of the \n role's identity-based policy and the session policies. You can use the role's temporary \n credentials in subsequent Amazon Web Services API calls to access resources in the account that owns \n the role. You cannot use session policies to grant more permissions than those allowed \n by the identity-based policy of the role that is being assumed. For more information, see\n Session\n Policies in the IAM User Guide.
\nCalling AssumeRoleWithSAML
does not require the use of Amazon Web Services security\n credentials. The identity of the caller is validated by using keys in the metadata document\n that is uploaded for the SAML provider entity for your identity provider.
Calling AssumeRoleWithSAML
can result in an entry in your CloudTrail logs.\n The entry includes the value in the NameID
element of the SAML assertion.\n We recommend that you use a NameIDType
that is not associated with any\n personally identifiable information (PII). For example, you could instead use the\n persistent identifier\n (urn:oasis:names:tc:SAML:2.0:nameid-format:persistent
).
\n Tags\n
\n(Optional) You can configure your IdP to pass attributes into your SAML assertion as\n session tags. Each session tag consists of a key name and an associated value. For more\n information about session tags, see Passing Session Tags in STS in the\n IAM User Guide.
\nYou can pass up to 50 session tags. The plaintext session tag keys can’t exceed 128\n characters and the values can’t exceed 256 characters. For these and additional limits, see\n IAM\n and STS Character Limits in the IAM User Guide.
\nAn Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,\n and session tags into a packed binary format that has a separate limit. Your request can\n fail for this limit even if your plaintext meets the other requirements. The\n PackedPolicySize
response element indicates by percentage how close the\n policies and tags for your request are to the upper size limit.
You can pass a session tag with the same key as a tag that is attached to the role. When\n you do, session tags override the role's tags with the same key.
\nAn administrator must grant you the permissions necessary to pass session tags. The\n administrator can also create granular permissions to allow you to pass only specific\n session tags. For more information, see Tutorial: Using Tags\n for Attribute-Based Access Control in the\n IAM User Guide.
\nYou can set the session tags as transitive. Transitive tags persist during role\n chaining. For more information, see Chaining Roles\n with Session Tags in the IAM User Guide.
\n\n SAML Configuration\n
\nBefore your application can call AssumeRoleWithSAML
, you must configure\n your SAML identity provider (IdP) to issue the claims required by Amazon Web Services. Additionally, you\n must use Identity and Access Management (IAM) to create a SAML provider entity in your Amazon Web Services account that\n represents your identity provider. You must also create an IAM role that specifies this\n SAML provider in its trust policy.
For more information, see the following resources:
\n\n About\n SAML 2.0-based Federation in the IAM User Guide.\n
\n\n Creating SAML Identity Providers in the\n IAM User Guide.
\n\n Configuring\n a Relying Party and Claims in the IAM User Guide.\n
\n\n Creating a Role for SAML 2.0 Federation in the\n IAM User Guide.
\nReturns a set of temporary security credentials for users who have been authenticated\n via a SAML authentication response. This operation provides a mechanism for tying an\n enterprise identity store or directory to role-based Amazon Web Services access without user-specific\n credentials or configuration. For a comparison of AssumeRoleWithSAML
with the\n other API operations that produce temporary credentials, see Requesting Temporary Security\n Credentials and Comparing the\n Amazon Web Services STS API operations in the IAM User Guide.
The temporary security credentials returned by this operation consist of an access key\n ID, a secret access key, and a security token. Applications can use these temporary\n security credentials to sign calls to Amazon Web Services services.
\n\n Session Duration\n
\nBy default, the temporary security credentials created by\n AssumeRoleWithSAML
last for one hour. However, you can use the optional\n DurationSeconds
parameter to specify the duration of your session. Your\n role session lasts for the duration that you specify, or until the time specified in the\n SAML authentication response's SessionNotOnOrAfter
value, whichever is\n shorter. You can provide a DurationSeconds
value from 900 seconds (15 minutes)\n up to the maximum session duration setting for the role. This setting can have a value from\n 1 hour to 12 hours. To learn how to view the maximum value for your role, see View the\n Maximum Session Duration Setting for a Role in the\n IAM User Guide. The maximum session duration limit applies when\n you use the AssumeRole*
API operations or the assume-role*
CLI\n commands. However the limit does not apply when you use those operations to create a\n console URL. For more information, see Using IAM Roles in the\n IAM User Guide.
\n Role chaining limits your CLI or Amazon Web Services API role\n session to a maximum of one hour. When you use the AssumeRole
API operation\n to assume a role, you can specify the duration of your role session with the\n DurationSeconds
parameter. You can specify a parameter value of up to\n 43200 seconds (12 hours), depending on the maximum session duration setting for your\n role. However, if you assume a role using role chaining and provide a\n DurationSeconds
parameter value greater than one hour, the operation\n fails.
\n Permissions\n
\nThe temporary security credentials created by AssumeRoleWithSAML
can be\n used to make API calls to any Amazon Web Services service with the following exception: you cannot call\n the STS GetFederationToken
or GetSessionToken
API\n operations.
(Optional) You can pass inline or managed session policies to\n this operation. You can pass a single JSON policy document to use as an inline session\n policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as\n managed session policies. The plaintext that you use for both inline and managed session\n policies can't exceed 2,048 characters. Passing policies to this operation returns new \n temporary credentials. The resulting session's permissions are the intersection of the \n role's identity-based policy and the session policies. You can use the role's temporary \n credentials in subsequent Amazon Web Services API calls to access resources in the account that owns \n the role. You cannot use session policies to grant more permissions than those allowed \n by the identity-based policy of the role that is being assumed. For more information, see\n Session\n Policies in the IAM User Guide.
\nCalling AssumeRoleWithSAML
does not require the use of Amazon Web Services security\n credentials. The identity of the caller is validated by using keys in the metadata document\n that is uploaded for the SAML provider entity for your identity provider.
Calling AssumeRoleWithSAML
can result in an entry in your CloudTrail logs.\n The entry includes the value in the NameID
element of the SAML assertion.\n We recommend that you use a NameIDType
that is not associated with any\n personally identifiable information (PII). For example, you could instead use the\n persistent identifier\n (urn:oasis:names:tc:SAML:2.0:nameid-format:persistent
).
\n Tags\n
\n(Optional) You can configure your IdP to pass attributes into your SAML assertion as\n session tags. Each session tag consists of a key name and an associated value. For more\n information about session tags, see Passing Session Tags in STS in the\n IAM User Guide.
\nYou can pass up to 50 session tags. The plaintext session tag keys can’t exceed 128\n characters and the values can’t exceed 256 characters. For these and additional limits, see\n IAM\n and STS Character Limits in the IAM User Guide.
\nAn Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,\n and session tags into a packed binary format that has a separate limit. Your request can\n fail for this limit even if your plaintext meets the other requirements. The\n PackedPolicySize
response element indicates by percentage how close the\n policies and tags for your request are to the upper size limit.
You can pass a session tag with the same key as a tag that is attached to the role. When\n you do, session tags override the role's tags with the same key.
\nAn administrator must grant you the permissions necessary to pass session tags. The\n administrator can also create granular permissions to allow you to pass only specific\n session tags. For more information, see Tutorial: Using Tags\n for Attribute-Based Access Control in the\n IAM User Guide.
\nYou can set the session tags as transitive. Transitive tags persist during role\n chaining. For more information, see Chaining Roles\n with Session Tags in the IAM User Guide.
\n\n SAML Configuration\n
\nBefore your application can call AssumeRoleWithSAML
, you must configure\n your SAML identity provider (IdP) to issue the claims required by Amazon Web Services. Additionally, you\n must use Identity and Access Management (IAM) to create a SAML provider entity in your Amazon Web Services account that\n represents your identity provider. You must also create an IAM role that specifies this\n SAML provider in its trust policy.
For more information, see the following resources:
\n\n About\n SAML 2.0-based Federation in the IAM User Guide.\n
\n\n Creating SAML Identity Providers in the\n IAM User Guide.
\n\n Configuring\n a Relying Party and Claims in the IAM User Guide.\n
\n\n Creating a Role for SAML 2.0 Federation in the\n IAM User Guide.
\nReturns a set of temporary security credentials for users who have been authenticated in\n a mobile or web application with a web identity provider. Example providers include the\n OAuth 2.0 providers Login with Amazon and Facebook, or any OpenID Connect-compatible\n identity provider such as Google or Amazon Cognito federated identities.
\nFor mobile applications, we recommend that you use Amazon Cognito. You can use Amazon Cognito with the\n Amazon Web Services SDK for iOS Developer Guide and the Amazon Web Services SDK for Android Developer Guide to uniquely\n identify a user. You can also supply the user with a consistent identity throughout the\n lifetime of an application.
\nTo learn more about Amazon Cognito, see Amazon Cognito identity\n pools in Amazon Cognito Developer Guide.
\nCalling AssumeRoleWithWebIdentity
does not require the use of Amazon Web Services\n security credentials. Therefore, you can distribute an application (for example, on mobile\n devices) that requests temporary security credentials without including long-term Amazon Web Services\n credentials in the application. You also don't need to deploy server-based proxy services\n that use long-term Amazon Web Services credentials. Instead, the identity of the caller is validated by\n using a token from the web identity provider. For a comparison of\n AssumeRoleWithWebIdentity
with the other API operations that produce\n temporary credentials, see Requesting Temporary Security\n Credentials and Comparing the\n Amazon Web Services STS API operations in the IAM User Guide.
The temporary security credentials returned by this API consist of an access key ID, a\n secret access key, and a security token. Applications can use these temporary security\n credentials to sign calls to Amazon Web Services service API operations.
\n\n Session Duration\n
\nBy default, the temporary security credentials created by\n AssumeRoleWithWebIdentity
last for one hour. However, you can use the\n optional DurationSeconds
parameter to specify the duration of your session.\n You can provide a value from 900 seconds (15 minutes) up to the maximum session duration\n setting for the role. This setting can have a value from 1 hour to 12 hours. To learn how\n to view the maximum value for your role, see View the\n Maximum Session Duration Setting for a Role in the\n IAM User Guide. The maximum session duration limit applies when\n you use the AssumeRole*
API operations or the assume-role*
CLI\n commands. However the limit does not apply when you use those operations to create a\n console URL. For more information, see Using IAM Roles in the\n IAM User Guide.
\n Permissions\n
\nThe temporary security credentials created by AssumeRoleWithWebIdentity
can\n be used to make API calls to any Amazon Web Services service with the following exception: you cannot\n call the STS GetFederationToken
or GetSessionToken
API\n operations.
(Optional) You can pass inline or managed session policies to\n this operation. You can pass a single JSON policy document to use as an inline session\n policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as\n managed session policies. The plaintext that you use for both inline and managed session\n policies can't exceed 2,048 characters. Passing policies to this operation returns new \n temporary credentials. The resulting session's permissions are the intersection of the \n role's identity-based policy and the session policies. You can use the role's temporary \n credentials in subsequent Amazon Web Services API calls to access resources in the account that owns \n the role. You cannot use session policies to grant more permissions than those allowed \n by the identity-based policy of the role that is being assumed. For more information, see\n Session\n Policies in the IAM User Guide.
\n\n Tags\n
\n(Optional) You can configure your IdP to pass attributes into your web identity token as\n session tags. Each session tag consists of a key name and an associated value. For more\n information about session tags, see Passing Session Tags in STS in the\n IAM User Guide.
\nYou can pass up to 50 session tags. The plaintext session tag keys can’t exceed 128\n characters and the values can’t exceed 256 characters. For these and additional limits, see\n IAM\n and STS Character Limits in the IAM User Guide.
\nAn Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,\n and session tags into a packed binary format that has a separate limit. Your request can\n fail for this limit even if your plaintext meets the other requirements. The\n PackedPolicySize
response element indicates by percentage how close the\n policies and tags for your request are to the upper size limit.
You can pass a session tag with the same key as a tag that is attached to the role. When\n you do, the session tag overrides the role tag with the same key.
\nAn administrator must grant you the permissions necessary to pass session tags. The\n administrator can also create granular permissions to allow you to pass only specific\n session tags. For more information, see Tutorial: Using Tags\n for Attribute-Based Access Control in the\n IAM User Guide.
\nYou can set the session tags as transitive. Transitive tags persist during role\n chaining. For more information, see Chaining Roles\n with Session Tags in the IAM User Guide.
\n\n Identities\n
\nBefore your application can call AssumeRoleWithWebIdentity
, you must have\n an identity token from a supported identity provider and create a role that the application\n can assume. The role that your application assumes must trust the identity provider that is\n associated with the identity token. In other words, the identity provider must be specified\n in the role's trust policy.
Calling AssumeRoleWithWebIdentity
can result in an entry in your\n CloudTrail logs. The entry includes the Subject of\n the provided web identity token. We recommend that you avoid using any personally\n identifiable information (PII) in this field. For example, you could instead use a GUID\n or a pairwise identifier, as suggested\n in the OIDC specification.
For more information about how to use web identity federation and the\n AssumeRoleWithWebIdentity
API, see the following resources:
\n Using Web Identity Federation API Operations for Mobile Apps and Federation Through a Web-based Identity Provider.
\n\n Web Identity Federation Playground. Walk through the process of\n authenticating through Login with Amazon, Facebook, or Google, getting temporary\n security credentials, and then using those credentials to make a request to Amazon Web Services.\n
\n\n Amazon Web Services SDK for iOS Developer Guide and Amazon Web Services SDK for Android Developer Guide. These toolkits\n contain sample apps that show how to invoke the identity providers. The toolkits then\n show how to use the information from these providers to get and use temporary\n security credentials.
\n\n Web Identity\n Federation with Mobile Applications. This article discusses web identity\n federation and shows an example of how to use web identity federation to get access\n to content in Amazon S3.
\nReturns a set of temporary security credentials for users who have been authenticated in\n a mobile or web application with a web identity provider. Example providers include the\n OAuth 2.0 providers Login with Amazon and Facebook, or any OpenID Connect-compatible\n identity provider such as Google or Amazon Cognito federated identities.
\nFor mobile applications, we recommend that you use Amazon Cognito. You can use Amazon Cognito with the\n Amazon Web Services SDK for iOS Developer Guide and the Amazon Web Services SDK for Android Developer Guide to uniquely\n identify a user. You can also supply the user with a consistent identity throughout the\n lifetime of an application.
\nTo learn more about Amazon Cognito, see Amazon Cognito identity\n pools in Amazon Cognito Developer Guide.
\nCalling AssumeRoleWithWebIdentity
does not require the use of Amazon Web Services\n security credentials. Therefore, you can distribute an application (for example, on mobile\n devices) that requests temporary security credentials without including long-term Amazon Web Services\n credentials in the application. You also don't need to deploy server-based proxy services\n that use long-term Amazon Web Services credentials. Instead, the identity of the caller is validated by\n using a token from the web identity provider. For a comparison of\n AssumeRoleWithWebIdentity
with the other API operations that produce\n temporary credentials, see Requesting Temporary Security\n Credentials and Comparing the\n Amazon Web Services STS API operations in the IAM User Guide.
The temporary security credentials returned by this API consist of an access key ID, a\n secret access key, and a security token. Applications can use these temporary security\n credentials to sign calls to Amazon Web Services service API operations.
\n\n Session Duration\n
\nBy default, the temporary security credentials created by\n AssumeRoleWithWebIdentity
last for one hour. However, you can use the\n optional DurationSeconds
parameter to specify the duration of your session.\n You can provide a value from 900 seconds (15 minutes) up to the maximum session duration\n setting for the role. This setting can have a value from 1 hour to 12 hours. To learn how\n to view the maximum value for your role, see View the\n Maximum Session Duration Setting for a Role in the\n IAM User Guide. The maximum session duration limit applies when\n you use the AssumeRole*
API operations or the assume-role*
CLI\n commands. However the limit does not apply when you use those operations to create a\n console URL. For more information, see Using IAM Roles in the\n IAM User Guide.
\n Permissions\n
\nThe temporary security credentials created by AssumeRoleWithWebIdentity
can\n be used to make API calls to any Amazon Web Services service with the following exception: you cannot\n call the STS GetFederationToken
or GetSessionToken
API\n operations.
(Optional) You can pass inline or managed session policies to\n this operation. You can pass a single JSON policy document to use as an inline session\n policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as\n managed session policies. The plaintext that you use for both inline and managed session\n policies can't exceed 2,048 characters. Passing policies to this operation returns new \n temporary credentials. The resulting session's permissions are the intersection of the \n role's identity-based policy and the session policies. You can use the role's temporary \n credentials in subsequent Amazon Web Services API calls to access resources in the account that owns \n the role. You cannot use session policies to grant more permissions than those allowed \n by the identity-based policy of the role that is being assumed. For more information, see\n Session\n Policies in the IAM User Guide.
\n\n Tags\n
\n(Optional) You can configure your IdP to pass attributes into your web identity token as\n session tags. Each session tag consists of a key name and an associated value. For more\n information about session tags, see Passing Session Tags in STS in the\n IAM User Guide.
\nYou can pass up to 50 session tags. The plaintext session tag keys can’t exceed 128\n characters and the values can’t exceed 256 characters. For these and additional limits, see\n IAM\n and STS Character Limits in the IAM User Guide.
\nAn Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,\n and session tags into a packed binary format that has a separate limit. Your request can\n fail for this limit even if your plaintext meets the other requirements. The\n PackedPolicySize
response element indicates by percentage how close the\n policies and tags for your request are to the upper size limit.
You can pass a session tag with the same key as a tag that is attached to the role. When\n you do, the session tag overrides the role tag with the same key.
\nAn administrator must grant you the permissions necessary to pass session tags. The\n administrator can also create granular permissions to allow you to pass only specific\n session tags. For more information, see Tutorial: Using Tags\n for Attribute-Based Access Control in the\n IAM User Guide.
\nYou can set the session tags as transitive. Transitive tags persist during role\n chaining. For more information, see Chaining Roles\n with Session Tags in the IAM User Guide.
\n\n Identities\n
\nBefore your application can call AssumeRoleWithWebIdentity
, you must have\n an identity token from a supported identity provider and create a role that the application\n can assume. The role that your application assumes must trust the identity provider that is\n associated with the identity token. In other words, the identity provider must be specified\n in the role's trust policy.
Calling AssumeRoleWithWebIdentity
can result in an entry in your\n CloudTrail logs. The entry includes the Subject of\n the provided web identity token. We recommend that you avoid using any personally\n identifiable information (PII) in this field. For example, you could instead use a GUID\n or a pairwise identifier, as suggested\n in the OIDC specification.
For more information about how to use web identity federation and the\n AssumeRoleWithWebIdentity
API, see the following resources:
\n Using Web Identity Federation API Operations for Mobile Apps and Federation Through a Web-based Identity Provider.
\n\n Web Identity Federation Playground. Walk through the process of\n authenticating through Login with Amazon, Facebook, or Google, getting temporary\n security credentials, and then using those credentials to make a request to Amazon Web Services.\n
\n\n Amazon Web Services SDK for iOS Developer Guide and Amazon Web Services SDK for Android Developer Guide. These toolkits\n contain sample apps that show how to invoke the identity providers. The toolkits then\n show how to use the information from these providers to get and use temporary\n security credentials.
\n\n Web Identity\n Federation with Mobile Applications. This article discusses web identity\n federation and shows an example of how to use web identity federation to get access\n to content in Amazon S3.
\nDecodes additional information about the authorization status of a request from an\n encoded message returned in response to an Amazon Web Services request.
\nFor example, if a user is not authorized to perform an operation that he or she has\n requested, the request returns a Client.UnauthorizedOperation
response (an\n HTTP 403 response). Some Amazon Web Services operations additionally return an encoded message that can\n provide details about this authorization failure.
Only certain Amazon Web Services operations return an encoded authorization message. The\n documentation for an individual operation indicates whether that operation returns an\n encoded message in addition to returning an HTTP code.
\nThe message is encoded because the details of the authorization status can contain\n privileged information that the user who requested the operation should not see. To decode\n an authorization status message, a user must be granted permissions through an IAM policy to\n request the DecodeAuthorizationMessage
\n (sts:DecodeAuthorizationMessage
) action.
The decoded message includes the following type of information:
\nWhether the request was denied due to an explicit deny or due to the absence of an\n explicit allow. For more information, see Determining Whether a Request is Allowed or Denied in the\n IAM User Guide.
\nThe principal who made the request.
\nThe requested action.
\nThe requested resource.
\nThe values of condition keys in the context of the user's request.
\nDecodes additional information about the authorization status of a request from an\n encoded message returned in response to an Amazon Web Services request.
\nFor example, if a user is not authorized to perform an operation that he or she has\n requested, the request returns a Client.UnauthorizedOperation
response (an\n HTTP 403 response). Some Amazon Web Services operations additionally return an encoded message that can\n provide details about this authorization failure.
Only certain Amazon Web Services operations return an encoded authorization message. The\n documentation for an individual operation indicates whether that operation returns an\n encoded message in addition to returning an HTTP code.
\nThe message is encoded because the details of the authorization status can contain\n privileged information that the user who requested the operation should not see. To decode\n an authorization status message, a user must be granted permissions through an IAM policy to\n request the DecodeAuthorizationMessage
\n (sts:DecodeAuthorizationMessage
) action.
The decoded message includes the following type of information:
\nWhether the request was denied due to an explicit deny or due to the absence of an\n explicit allow. For more information, see Determining Whether a Request is Allowed or Denied in the\n IAM User Guide.
\nThe principal who made the request.
\nThe requested action.
\nThe requested resource.
\nThe values of condition keys in the context of the user's request.
\nReturns details about the IAM user or role whose credentials are used to\n call the operation.
\nNo permissions are required to perform this operation. If an administrator attaches a\n policy to your identity that explicitly denies access to the\n sts:GetCallerIdentity
action, you can still perform this operation.\n Permissions are not required because the same information is returned when access is\n denied. To view an example response, see I Am Not Authorized to Perform: iam:DeleteVirtualMFADevice in the\n IAM User Guide.
Returns details about the IAM user or role whose credentials are used to\n call the operation.
\nNo permissions are required to perform this operation. If an administrator attaches a\n policy to your identity that explicitly denies access to the\n sts:GetCallerIdentity
action, you can still perform this operation.\n Permissions are not required because the same information is returned when access is\n denied. To view an example response, see I Am Not Authorized to Perform: iam:DeleteVirtualMFADevice in the\n IAM User Guide.
Returns a set of temporary security credentials (consisting of an access key ID, a\n secret access key, and a security token) for a user. A typical use is in a proxy\n application that gets temporary security credentials on behalf of distributed applications\n inside a corporate network.
\nYou must call the GetFederationToken
operation using the long-term security\n credentials of an IAM user. As a result, this call is appropriate in\n contexts where those credentials can be safeguarded, usually in a server-based application.\n For a comparison of GetFederationToken
with the other API operations that\n produce temporary credentials, see Requesting Temporary Security\n Credentials and Comparing the\n Amazon Web Services STS API operations in the IAM User Guide.
Although it is possible to call GetFederationToken
using the security\n credentials of an Amazon Web Services account root user rather than an IAM user that you\n create for the purpose of a proxy application, we do not recommend it. For more\n information, see Safeguard your root user credentials and don't use them for everyday tasks in the\n IAM User Guide.
You can create a mobile-based or browser-based app that can authenticate users using\n a web identity provider like Login with Amazon, Facebook, Google, or an OpenID\n Connect-compatible identity provider. In this case, we recommend that you use Amazon Cognito or\n AssumeRoleWithWebIdentity
. For more information, see Federation Through a Web-based Identity Provider in the\n IAM User Guide.
\n Session duration\n
\nThe temporary credentials are valid for the specified duration, from 900 seconds (15\n minutes) up to a maximum of 129,600 seconds (36 hours). The default session duration is\n 43,200 seconds (12 hours). Temporary credentials obtained by using the root user\n credentials have a maximum duration of 3,600 seconds (1 hour).
\n\n Permissions\n
\nYou can use the temporary credentials created by GetFederationToken
in any\n Amazon Web Services service with the following exceptions:
You cannot call any IAM operations using the CLI or the Amazon Web Services API. This\n limitation does not apply to console sessions.
\nYou cannot call any STS operations except GetCallerIdentity
.
You can use temporary credentials for single sign-on (SSO) to the console.
\nYou must pass an inline or managed session policy to\n this operation. You can pass a single JSON policy document to use as an inline session\n policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as\n managed session policies. The plaintext that you use for both inline and managed session\n policies can't exceed 2,048 characters.
\nThough the session policy parameters are optional, if you do not pass a policy, then the\n resulting federated user session has no permissions. When you pass session policies, the\n session permissions are the intersection of the IAM user policies and the\n session policies that you pass. This gives you a way to further restrict the permissions\n for a federated user. You cannot use session policies to grant more permissions than those\n that are defined in the permissions policy of the IAM user. For more\n information, see Session Policies in\n the IAM User Guide. For information about using\n GetFederationToken
to create temporary security credentials, see GetFederationToken—Federation Through a Custom Identity Broker.
You can use the credentials to access a resource that has a resource-based policy. If\n that policy specifically references the federated user session in the\n Principal
element of the policy, the session has the permissions allowed by\n the policy. These permissions are granted in addition to the permissions granted by the\n session policies.
\n Tags\n
\n(Optional) You can pass tag key-value pairs to your session. These are called session\n tags. For more information about session tags, see Passing Session Tags in STS in the\n IAM User Guide.
\nYou can create a mobile-based or browser-based app that can authenticate users using\n a web identity provider like Login with Amazon, Facebook, Google, or an OpenID\n Connect-compatible identity provider. In this case, we recommend that you use Amazon Cognito or\n AssumeRoleWithWebIdentity
. For more information, see Federation Through a Web-based Identity Provider in the\n IAM User Guide.
An administrator must grant you the permissions necessary to pass session tags. The\n administrator can also create granular permissions to allow you to pass only specific\n session tags. For more information, see Tutorial: Using Tags\n for Attribute-Based Access Control in the\n IAM User Guide.
\nTag key–value pairs are not case sensitive, but case is preserved. This means that you\n cannot have separate Department
and department
tag keys. Assume\n that the user that you are federating has the\n Department
=Marketing
tag and you pass the\n department
=engineering
session tag. Department
\n and department
are not saved as separate tags, and the session tag passed in\n the request takes precedence over the user tag.
Returns a set of temporary security credentials (consisting of an access key ID, a\n secret access key, and a security token) for a user. A typical use is in a proxy\n application that gets temporary security credentials on behalf of distributed applications\n inside a corporate network.
\nYou must call the GetFederationToken
operation using the long-term security\n credentials of an IAM user. As a result, this call is appropriate in\n contexts where those credentials can be safeguarded, usually in a server-based application.\n For a comparison of GetFederationToken
with the other API operations that\n produce temporary credentials, see Requesting Temporary Security\n Credentials and Comparing the\n Amazon Web Services STS API operations in the IAM User Guide.
Although it is possible to call GetFederationToken
using the security\n credentials of an Amazon Web Services account root user rather than an IAM user that you\n create for the purpose of a proxy application, we do not recommend it. For more\n information, see Safeguard your root user credentials and don't use them for everyday tasks in the\n IAM User Guide.
You can create a mobile-based or browser-based app that can authenticate users using\n a web identity provider like Login with Amazon, Facebook, Google, or an OpenID\n Connect-compatible identity provider. In this case, we recommend that you use Amazon Cognito or\n AssumeRoleWithWebIdentity
. For more information, see Federation Through a Web-based Identity Provider in the\n IAM User Guide.
\n Session duration\n
\nThe temporary credentials are valid for the specified duration, from 900 seconds (15\n minutes) up to a maximum of 129,600 seconds (36 hours). The default session duration is\n 43,200 seconds (12 hours). Temporary credentials obtained by using the root user\n credentials have a maximum duration of 3,600 seconds (1 hour).
\n\n Permissions\n
\nYou can use the temporary credentials created by GetFederationToken
in any\n Amazon Web Services service with the following exceptions:
You cannot call any IAM operations using the CLI or the Amazon Web Services API. This\n limitation does not apply to console sessions.
\nYou cannot call any STS operations except GetCallerIdentity
.
You can use temporary credentials for single sign-on (SSO) to the console.
\nYou must pass an inline or managed session policy to\n this operation. You can pass a single JSON policy document to use as an inline session\n policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as\n managed session policies. The plaintext that you use for both inline and managed session\n policies can't exceed 2,048 characters.
\nThough the session policy parameters are optional, if you do not pass a policy, then the\n resulting federated user session has no permissions. When you pass session policies, the\n session permissions are the intersection of the IAM user policies and the\n session policies that you pass. This gives you a way to further restrict the permissions\n for a federated user. You cannot use session policies to grant more permissions than those\n that are defined in the permissions policy of the IAM user. For more\n information, see Session Policies in\n the IAM User Guide. For information about using\n GetFederationToken
to create temporary security credentials, see GetFederationToken—Federation Through a Custom Identity Broker.
You can use the credentials to access a resource that has a resource-based policy. If\n that policy specifically references the federated user session in the\n Principal
element of the policy, the session has the permissions allowed by\n the policy. These permissions are granted in addition to the permissions granted by the\n session policies.
\n Tags\n
\n(Optional) You can pass tag key-value pairs to your session. These are called session\n tags. For more information about session tags, see Passing Session Tags in STS in the\n IAM User Guide.
\nYou can create a mobile-based or browser-based app that can authenticate users using\n a web identity provider like Login with Amazon, Facebook, Google, or an OpenID\n Connect-compatible identity provider. In this case, we recommend that you use Amazon Cognito or\n AssumeRoleWithWebIdentity
. For more information, see Federation Through a Web-based Identity Provider in the\n IAM User Guide.
An administrator must grant you the permissions necessary to pass session tags. The\n administrator can also create granular permissions to allow you to pass only specific\n session tags. For more information, see Tutorial: Using Tags\n for Attribute-Based Access Control in the\n IAM User Guide.
\nTag key–value pairs are not case sensitive, but case is preserved. This means that you\n cannot have separate Department
and department
tag keys. Assume\n that the user that you are federating has the\n Department
=Marketing
tag and you pass the\n department
=engineering
session tag. Department
\n and department
are not saved as separate tags, and the session tag passed in\n the request takes precedence over the user tag.
Returns a set of temporary credentials for an Amazon Web Services account or IAM user.\n The credentials consist of an access key ID, a secret access key, and a security token.\n Typically, you use GetSessionToken
if you want to use MFA to protect\n programmatic calls to specific Amazon Web Services API operations like Amazon EC2\n StopInstances
.
MFA-enabled IAM users must call GetSessionToken
and submit\n an MFA code that is associated with their MFA device. Using the temporary security\n credentials that the call returns, IAM users can then make programmatic\n calls to API operations that require MFA authentication. An incorrect MFA code causes the\n API to return an access denied error. For a comparison of GetSessionToken
with\n the other API operations that produce temporary credentials, see Requesting\n Temporary Security Credentials and Comparing the\n Amazon Web Services STS API operations in the IAM User Guide.
No permissions are required for users to perform this operation. The purpose of the\n sts:GetSessionToken
operation is to authenticate the user using MFA. You\n cannot use policies to control authentication operations. For more information, see\n Permissions for GetSessionToken in the\n IAM User Guide.
\n Session Duration\n
\nThe GetSessionToken
operation must be called by using the long-term Amazon Web Services\n security credentials of an IAM user. Credentials that are created by IAM users are valid for the duration that you specify. This duration can range\n from 900 seconds (15 minutes) up to a maximum of 129,600 seconds (36 hours), with a default\n of 43,200 seconds (12 hours). Credentials based on account credentials can range from 900\n seconds (15 minutes) up to 3,600 seconds (1 hour), with a default of 1 hour.
\n Permissions\n
\nThe temporary security credentials created by GetSessionToken
can be used\n to make API calls to any Amazon Web Services service with the following exceptions:
You cannot call any IAM API operations unless MFA authentication information is\n included in the request.
\nYou cannot call any STS API except\n AssumeRole
or GetCallerIdentity
.
The credentials that GetSessionToken
returns are based on permissions\n associated with the IAM user whose credentials were used to call the\n operation. The temporary credentials have the same permissions as the IAM user.
Although it is possible to call GetSessionToken
using the security\n credentials of an Amazon Web Services account root user rather than an IAM user, we do\n not recommend it. If GetSessionToken
is called using root user\n credentials, the temporary credentials have root user permissions. For more\n information, see Safeguard your root user credentials and don't use them for everyday tasks in the\n IAM User Guide\n
For more information about using GetSessionToken
to create temporary\n credentials, see Temporary\n Credentials for Users in Untrusted Environments in the\n IAM User Guide.
Returns a set of temporary credentials for an Amazon Web Services account or IAM user.\n The credentials consist of an access key ID, a secret access key, and a security token.\n Typically, you use GetSessionToken
if you want to use MFA to protect\n programmatic calls to specific Amazon Web Services API operations like Amazon EC2\n StopInstances
.
MFA-enabled IAM users must call GetSessionToken
and submit\n an MFA code that is associated with their MFA device. Using the temporary security\n credentials that the call returns, IAM users can then make programmatic\n calls to API operations that require MFA authentication. An incorrect MFA code causes the\n API to return an access denied error. For a comparison of GetSessionToken
with\n the other API operations that produce temporary credentials, see Requesting\n Temporary Security Credentials and Comparing the\n Amazon Web Services STS API operations in the IAM User Guide.
No permissions are required for users to perform this operation. The purpose of the\n sts:GetSessionToken
operation is to authenticate the user using MFA. You\n cannot use policies to control authentication operations. For more information, see\n Permissions for GetSessionToken in the\n IAM User Guide.
\n Session Duration\n
\nThe GetSessionToken
operation must be called by using the long-term Amazon Web Services\n security credentials of an IAM user. Credentials that are created by IAM users are valid for the duration that you specify. This duration can range\n from 900 seconds (15 minutes) up to a maximum of 129,600 seconds (36 hours), with a default\n of 43,200 seconds (12 hours). Credentials based on account credentials can range from 900\n seconds (15 minutes) up to 3,600 seconds (1 hour), with a default of 1 hour.
\n Permissions\n
\nThe temporary security credentials created by GetSessionToken
can be used\n to make API calls to any Amazon Web Services service with the following exceptions:
You cannot call any IAM API operations unless MFA authentication information is\n included in the request.
\nYou cannot call any STS API except\n AssumeRole
or GetCallerIdentity
.
The credentials that GetSessionToken
returns are based on permissions\n associated with the IAM user whose credentials were used to call the\n operation. The temporary credentials have the same permissions as the IAM user.
Although it is possible to call GetSessionToken
using the security\n credentials of an Amazon Web Services account root user rather than an IAM user, we do\n not recommend it. If GetSessionToken
is called using root user\n credentials, the temporary credentials have root user permissions. For more\n information, see Safeguard your root user credentials and don't use them for everyday tasks in the\n IAM User Guide\n
For more information about using GetSessionToken
to create temporary\n credentials, see Temporary\n Credentials for Users in Untrusted Environments in the\n IAM User Guide.
A structure that contains the configuration for canary artifacts, including \n the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.synthetics#CreateCanaryResponse": { @@ -916,6 +969,9 @@ "smithy.api#documentation": "The full details about the canary you have created.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.synthetics#CreateGroup": { @@ -965,6 +1021,9 @@ "smithy.api#documentation": "A list of key-value pairs to associate with the group. \n You can associate as many as 50 tags with a group.
\nTags can help you organize and categorize your\n resources. You can also use them to scope user permissions, by \n granting a user permission to access or change only the resources that have\n certain tag values.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.synthetics#CreateGroupResponse": { @@ -976,6 +1035,9 @@ "smithy.api#documentation": "A structure that contains information about the group that was just created.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.synthetics#DeleteCanary": { @@ -1001,7 +1063,7 @@ } ], "traits": { - "smithy.api#documentation": "Permanently deletes the specified canary.
\nIf you specify DeleteLambda
to true
, CloudWatch Synthetics also deletes\n the Lambda functions and layers that are used by the canary.
Other resources used and created by the canary are not automatically deleted. \n After you delete a canary that you do not intend to\n use again, you\n should also delete the following:
\nThe CloudWatch alarms created for this canary. These alarms have a name of\n Synthetics-SharpDrop-Alarm-MyCanaryName\n
.
Amazon S3 objects and buckets, such as the canary's artifact location.
\nIAM roles created for the canary. If they were created in the console, these roles\n have the name \n role/service-role/CloudWatchSyntheticsRole-MyCanaryName\n
.
CloudWatch Logs log groups created for the canary. These logs groups have the name\n /aws/lambda/cwsyn-MyCanaryName\n
.
Before you delete a canary, you might want to use GetCanary
to display\n the information about this canary. Make\n note of the information returned by this operation so that you can delete these resources\n after you delete the canary.
Permanently deletes the specified canary.
\nIf you specify DeleteLambda
to true
, CloudWatch Synthetics also deletes\n the Lambda functions and layers that are used by the canary.
Other resources used and created by the canary are not automatically deleted. \n After you delete a canary that you do not intend to\n use again, you\n should also delete the following:
\nThe CloudWatch alarms created for this canary. These alarms have a name of\n Synthetics-SharpDrop-Alarm-MyCanaryName\n
.
Amazon S3 objects and buckets, such as the canary's artifact location.
\nIAM roles created for the canary. If they were created in the console, these roles\n have the name \n role/service-role/CloudWatchSyntheticsRole-MyCanaryName\n
.
CloudWatch Logs log groups created for the canary. These logs groups have the name\n /aws/lambda/cwsyn-MyCanaryName\n
.
Before you delete a canary, you might want to use GetCanary
to display\n the information about this canary. Make\n note of the information returned by this operation so that you can delete these resources\n after you delete the canary.
Use this operation to see information from the most recent run of each canary that you have created.
\n \nThis operation supports resource-level authorization using an IAM policy and \n the Names
parameter. If you specify the Names
parameter, the operation is successful only if you have authorization to view\n all the canaries that you specify in your request. If you do not have permission to view any of \n the canaries, the request fails with a 403 response.
You are required to use the Names
parameter if you are logged on to a user or role that has an \n IAM policy that restricts which canaries that you are allowed to view. For more information, \n see \n Limiting a user to viewing specific canaries.
Use this operation to see information from the most recent run of each canary that you have created.
\nThis operation supports resource-level authorization using an IAM policy and \n the Names
parameter. If you specify the Names
parameter, the operation is successful only if you have authorization to view\n all the canaries that you specify in your request. If you do not have permission to view any of \n the canaries, the request fails with a 403 response.
You are required to use the Names
parameter if you are logged on to a user or role that has an \n IAM policy that restricts which canaries that you are allowed to view. For more information, \n see \n Limiting a user to viewing specific canaries.
Use this parameter to return only canaries that match the names that you specify here. You can\n specify as many as five canary names.
\nIf you specify this parameter, the operation is successful only if you have authorization to view\n all the canaries that you specify in your request. If you do not have permission to view any of \n the canaries, the request fails with a 403 response.
\nYou are required to use the Names
parameter if you are logged on to a user or role that has an \n IAM policy that restricts which canaries that you are allowed to view. For more information, \n see \n Limiting a user to viewing specific canaries.
A token that indicates that there is more data\n available. You can use this token in a subsequent DescribeCanariesLastRun
operation to retrieve the next \n set of results.
Use this parameter to return only canaries that match the names that you specify here. You can\n specify as many as five canary names.
\nIf you specify this parameter, the operation is successful only if you have authorization to view\n all the canaries that you specify in your request. If you do not have permission to view any of \n the canaries, the request fails with a 403 response.
\nYou are required to use this parameter if you are logged on to a user or role that has an \n IAM policy that restricts which canaries that you are allowed to view. For more information, \n see \n Limiting a user to viewing specific canaries.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.synthetics#DescribeCanariesResponse": { @@ -1244,6 +1327,9 @@ "smithy.api#documentation": "A token that indicates that there is more data\n available. You can use this token in a subsequent DescribeCanaries
operation to retrieve the next \n set of results.
Specify this parameter to limit how many runs are returned each time you use\n the DescribeRuntimeVersions
operation. If you omit this parameter, the default of 100 is used.
A token that indicates that there is more data\n available. You can use this token in a subsequent DescribeRuntimeVersions
operation to retrieve the next \n set of results.
A structure that contains the full information about the canary.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.synthetics#GetCanaryRuns": { @@ -1516,6 +1622,9 @@ "smithy.api#documentation": "Specify this parameter to limit how many runs are returned each time you use\n the GetCanaryRuns
operation. If you omit this parameter, the default of 100 is used.
A token that indicates that there is more data\n available. You can use this token in a subsequent GetCanaryRuns
\n operation to retrieve the next \n set of results.
A structure that contains information about the group.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.synthetics#Group": { @@ -1786,6 +1904,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.synthetics#ListAssociatedGroupsResponse": { @@ -1803,6 +1924,9 @@ "smithy.api#documentation": "A token that indicates that there is more data\n available. You can use this token in a subsequent ListAssociatedGroups
operation to retrieve the next \n set of results.
A token that indicates that there is more data\n available. You can use this token in a subsequent ListGroupResources
operation to retrieve the next \n set of results.
Specify this parameter to limit how many groups are returned each time you use\n the ListGroups
operation. If you omit this parameter, the default of 20 is used.
A token that indicates that there is more data\n available. You can use this token in a subsequent ListGroups
operation to retrieve the next \n set of results.
The ARN of the canary or group that you want to view tags for.
\nThe ARN format of a canary is\n arn:aws:synthetics:Region:account-id:canary:canary-name\n
.
The ARN format of a group is\n arn:aws:synthetics:Region:account-id:group:group-name\n
\n
The ARN of the canary or group that you want to view tags for.
\nThe ARN format of a canary is\n arn:aws:synthetics:Region:account-id:canary:canary-name\n
.
The ARN format of a group is\n arn:aws:synthetics:Region:account-id:group:group-name\n
\n
The list of tag keys and values associated with the resource that you specified.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.synthetics#MaxCanaryResults": { @@ -2195,7 +2337,7 @@ } }, "traits": { - "smithy.api#documentation": "A structure that contains the configuration of encryption-at-rest settings for canary artifacts that the canary\n uploads to Amazon S3.
\nFor more information, see\n Encrypting canary artifacts\n
" + "smithy.api#documentation": "A structure that contains the configuration of encryption-at-rest settings for canary artifacts that the canary\n uploads to Amazon S3.
\nFor more information, see\n Encrypting canary artifacts\n
" } }, "com.amazonaws.synthetics#SecurityGroupId": { @@ -2268,11 +2410,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.synthetics#StartCanaryResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.synthetics#StopCanary": { "type": "operation", @@ -2316,11 +2464,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.synthetics#StopCanaryResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.synthetics#String": { "type": "string", @@ -2432,7 +2586,7 @@ "name": "synthetics" }, "aws.protocols#restJson1": {}, - "smithy.api#documentation": "You can use Amazon CloudWatch Synthetics to continually monitor your services. You can\n create and manage canaries, which are modular, lightweight scripts \n that monitor your endpoints and APIs\n from the outside-in. You can set up your canaries to run\n 24 hours a day, once per minute. The canaries help you check the availability and latency\n of your web services and troubleshoot anomalies by investigating load time data,\n screenshots of the UI, logs, and metrics. The canaries seamlessly integrate with CloudWatch\n ServiceLens to help you trace the causes of impacted nodes in your applications. For more\n information, see Using ServiceLens to Monitor\n the Health of Your Applications in the Amazon CloudWatch User\n Guide.
\n \nBefore you create and manage canaries, be aware of the security considerations. For more\n information, see Security\n Considerations for Synthetics Canaries.
", + "smithy.api#documentation": "You can use Amazon CloudWatch Synthetics to continually monitor your services. You can\n create and manage canaries, which are modular, lightweight scripts \n that monitor your endpoints and APIs\n from the outside-in. You can set up your canaries to run\n 24 hours a day, once per minute. The canaries help you check the availability and latency\n of your web services and troubleshoot anomalies by investigating load time data,\n screenshots of the UI, logs, and metrics. The canaries seamlessly integrate with CloudWatch\n ServiceLens to help you trace the causes of impacted nodes in your applications. For more\n information, see Using ServiceLens to Monitor\n the Health of Your Applications in the Amazon CloudWatch User\n Guide.
\nBefore you create and manage canaries, be aware of the security considerations. For more\n information, see Security\n Considerations for Synthetics Canaries.
", "smithy.api#title": "Synthetics", "smithy.rules#endpointRuleSet": { "version": "1.0", @@ -2494,52 +2648,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", @@ -2547,13 +2705,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -2563,224 +2730,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://synthetics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://synthetics-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": [ { "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": [], - "endpoint": { - "url": "https://synthetics-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://synthetics-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://synthetics.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://synthetics.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://synthetics.{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://synthetics.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -2795,8 +2913,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2808,8 +2926,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2821,8 +2939,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2834,8 +2952,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2847,8 +2965,8 @@ }, "params": { "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2860,8 +2978,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2873,8 +2991,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2886,8 +3004,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2899,8 +3017,8 @@ }, "params": { "Region": "ap-southeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2912,8 +3030,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2925,8 +3043,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2938,8 +3056,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2951,8 +3069,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2964,8 +3082,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2977,8 +3095,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -2990,8 +3108,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3003,8 +3121,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3016,8 +3134,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3029,8 +3147,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3042,8 +3160,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3055,8 +3173,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3068,8 +3186,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3081,8 +3199,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3094,8 +3212,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3107,8 +3225,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3120,8 +3238,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3133,8 +3251,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3146,8 +3264,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3159,8 +3277,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3172,8 +3290,8 @@ }, "params": { "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3185,8 +3303,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3198,8 +3316,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3211,8 +3329,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3224,8 +3342,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3237,8 +3355,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3250,8 +3368,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3263,8 +3381,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3276,8 +3394,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3289,8 +3407,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3302,8 +3420,19 @@ }, "params": { "Region": "us-iso-east-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 } }, { @@ -3315,8 +3444,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 } }, { @@ -3328,8 +3468,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 } }, { @@ -3341,8 +3492,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 } }, { @@ -3354,8 +3516,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3367,8 +3529,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3379,8 +3541,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3391,10 +3553,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" @@ -3478,7 +3646,7 @@ "ResourceArn": { "target": "com.amazonaws.synthetics#ResourceArn", "traits": { - "smithy.api#documentation": "The ARN of the canary or group that you're adding tags to.
\nThe ARN format of a canary is\narn:aws:synthetics:Region:account-id:canary:canary-name\n
.
The ARN format of a group is\n arn:aws:synthetics:Region:account-id:group:group-name\n
\n
The ARN of the canary or group that you're adding tags to.
\nThe ARN format of a canary is\narn:aws:synthetics:Region:account-id:canary:canary-name\n
.
The ARN format of a group is\n arn:aws:synthetics:Region:account-id:group:group-name\n
\n
The ARN of the canary or group that you're removing tags from.
\nThe ARN format of a canary is\n arn:aws:synthetics:Region:account-id:canary:canary-name\n
.
The ARN format of a group is\n arn:aws:synthetics:Region:account-id:group:group-name\n
\n
The ARN of the canary or group that you're removing tags from.
\nThe ARN format of a canary is\n arn:aws:synthetics:Region:account-id:canary:canary-name\n
.
The ARN format of a group is\n arn:aws:synthetics:Region:account-id:group:group-name\n
\n
A structure that contains the configuration for canary artifacts, \n including the encryption-at-rest settings for artifacts that \n the canary uploads to Amazon S3.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.synthetics#UpdateCanaryResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.synthetics#ValidationException": { "type": "structure", @@ -3743,7 +3929,7 @@ } }, "traits": { - "smithy.api#documentation": "An object that specifies what screenshots to use as a baseline for visual monitoring by this canary. It can\n optionally also specify parts of the screenshots to ignore during the visual monitoring comparison.
\n \nVisual monitoring is supported only on canaries running the syn-puppeteer-node-3.2\n runtime or later. For more information, see \n Visual monitoring and \n Visual monitoring blueprint\n
" + "smithy.api#documentation": "An object that specifies what screenshots to use as a baseline for visual monitoring by this canary. It can\n optionally also specify parts of the screenshots to ignore during the visual monitoring comparison.
\nVisual monitoring is supported only on canaries running the syn-puppeteer-node-3.2\n runtime or later. For more information, see \n Visual monitoring and \n Visual monitoring blueprint\n
" } }, "com.amazonaws.synthetics#VisualReferenceOutput": { diff --git a/codegen/sdk-codegen/aws-models/textract.json b/codegen/sdk-codegen/aws-models/textract.json index 17631674560..5c928414d33 100644 --- a/codegen/sdk-codegen/aws-models/textract.json +++ b/codegen/sdk-codegen/aws-models/textract.json @@ -3376,52 +3376,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", @@ -3429,13 +3433,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -3445,224 +3458,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://textract-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://textract-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": [ { "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": [], - "endpoint": { - "url": "https://textract-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://textract-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://textract.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://textract.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://textract.{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://textract.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -4058,6 +4022,17 @@ "UseDualStack": true } }, + { + "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 + } + }, { "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { @@ -4071,6 +4046,17 @@ "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 + } + }, { "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { @@ -4084,6 +4070,17 @@ "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 + } + }, { "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { @@ -4097,6 +4094,17 @@ "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 + } + }, { "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { @@ -4160,6 +4168,12 @@ "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/codegen/sdk-codegen/aws-models/timestream-query.json b/codegen/sdk-codegen/aws-models/timestream-query.json index 9545cf1b2b9..13e1aea96af 100644 --- a/codegen/sdk-codegen/aws-models/timestream-query.json +++ b/codegen/sdk-codegen/aws-models/timestream-query.json @@ -98,6 +98,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.timestreamquery#CancelQueryResponse": { @@ -109,6 +112,9 @@ "smithy.api#documentation": " A CancellationMessage
is returned when a CancelQuery
\n request for the query specified by QueryId
has already been issued.
The query string to run. Parameter\n names can be specified in the query string @
character followed by an\n identifier. The named Parameter @scheduled_runtime
is reserved and can be used in the query to get the time at which the query is scheduled to run.
The timestamp calculated according to the ScheduleConfiguration parameter, will be the value of @scheduled_runtime
paramater for each query run. \n For example, consider an instance of a scheduled query executing on 2021-12-01 00:00:00. For this instance, the @scheduled_runtime
parameter is \n initialized to the timestamp 2021-12-01 00:00:00 when invoking the query.
The query string to run. Parameter\n names can be specified in the query string @
character followed by an\n identifier. The named Parameter @scheduled_runtime
is reserved and can be used in the query to get the time at which the query is scheduled to run.
The timestamp calculated according to the ScheduleConfiguration parameter, will be the value of @scheduled_runtime
paramater for each query run. \n For example, consider an instance of a scheduled query executing on 2021-12-01 00:00:00. For this instance, the @scheduled_runtime
parameter is \n initialized to the timestamp 2021-12-01 00:00:00 when invoking the query.
Using a ClientToken makes the call to CreateScheduledQuery idempotent, in other words, making the same request repeatedly will produce the same result. Making \n multiple identical CreateScheduledQuery requests has the same effect as making a single request.\n\n
\n If CreateScheduledQuery is called without a ClientToken
, the\n Query SDK generates a ClientToken
on your behalf.
After 8 hours, any request with the same ClientToken
is treated\n as a new request.
Using a ClientToken makes the call to CreateScheduledQuery idempotent, in other words, making the same request repeatedly will produce the same result. Making \n multiple identical CreateScheduledQuery requests has the same effect as making a single request.\n\n
\n If CreateScheduledQuery is called without a ClientToken
, the\n Query SDK generates a ClientToken
on your behalf.
After 8 hours, any request with the same ClientToken
is treated\n as a new request.
The Amazon KMS key used to encrypt the scheduled query resource, at-rest. If the Amazon KMS\n key is not specified, the scheduled query resource will be encrypted with a Timestream\n owned Amazon KMS key. To specify a KMS key, use the key ID, key ARN, alias name, or alias\n ARN. When using an alias name, prefix the name with alias/\n
\nIf ErrorReportConfiguration uses SSE_KMS
as encryption type, the same KmsKeyId is used to encrypt the error report at rest.
The Amazon KMS key used to encrypt the scheduled query resource, at-rest. If the Amazon KMS\n key is not specified, the scheduled query resource will be encrypted with a Timestream\n owned Amazon KMS key. To specify a KMS key, use the key ID, key ARN, alias name, or alias\n ARN. When using an alias name, prefix the name with alias/\n
\nIf ErrorReportConfiguration uses SSE_KMS
as encryption type, the same KmsKeyId is used to encrypt the error report at rest.
DescribeEndpoints returns a list of available endpoints to make Timestream\n API calls against. This API is available through both Write and Query.
\nBecause the Timestream SDKs are designed to transparently work with the\n service’s architecture, including the management and mapping of the service endpoints,\n it is not recommended that you use this API unless:
\nYou are using VPC endpoints (Amazon Web Services PrivateLink) with Timestream\n \n
\nYour application uses a programming language that does not yet have SDK\n support
\nYou require better control over the client-side implementation
\nFor detailed information on how and when to use and implement DescribeEndpoints, see\n The Endpoint Discovery Pattern.
" + "smithy.api#documentation": "DescribeEndpoints returns a list of available endpoints to make Timestream\n API calls against. This API is available through both Write and Query.
\nBecause the Timestream SDKs are designed to transparently work with the\n service’s architecture, including the management and mapping of the service endpoints,\n it is not recommended that you use this API unless:
\nYou are using VPC endpoints (Amazon Web Services PrivateLink) with Timestream\n \n
\nYour application uses a programming language that does not yet have SDK\n support
\nYou require better control over the client-side implementation
\nFor detailed information on how and when to use and implement DescribeEndpoints, see\n The Endpoint Discovery Pattern.
" } }, "com.amazonaws.timestreamquery#DescribeEndpointsRequest": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.timestreamquery#DescribeEndpointsResponse": { "type": "structure", @@ -423,6 +441,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.timestreamquery#DescribeScheduledQuery": { @@ -470,6 +491,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.timestreamquery#DescribeScheduledQueryResponse": { @@ -482,6 +506,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.timestreamquery#DimensionMapping": { @@ -513,14 +540,14 @@ } }, "com.amazonaws.timestreamquery#DimensionValueType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "VARCHAR", - "name": "VARCHAR" + "type": "enum", + "members": { + "VARCHAR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VARCHAR" } - ] + } } }, "com.amazonaws.timestreamquery#Double": { @@ -650,6 +677,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.timestreamquery#ExecutionStats": { @@ -754,6 +784,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "ScheduledQueries", "pageSize": "MaxResults" } } @@ -773,6 +804,9 @@ "smithy.api#documentation": "A pagination token to resume pagination.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.timestreamquery#ListScheduledQueriesResponse": { @@ -791,6 +825,9 @@ "smithy.api#documentation": "A token to specify where to start paginating. This is the NextToken from a previously\n truncated response.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.timestreamquery#ListTagsForResource": { @@ -823,6 +860,7 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", + "items": "Tags", "pageSize": "MaxResults" } } @@ -849,6 +887,9 @@ "smithy.api#documentation": "A pagination token to resume pagination.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.timestreamquery#ListTagsForResourceResponse": { @@ -867,6 +908,9 @@ "smithy.api#documentation": "A pagination token to resume pagination with a subsequent call to\n ListTagsForResourceResponse
.
By setting this value to true
, Timestream will only validate that the\n query string is a valid Timestream query, and not store the prepared query for later\n use.
\n Query
is a synchronous operation that enables you to run a query against\n your Amazon Timestream data. Query
will time out after 60 seconds.\n You must update the default timeout in the SDK to support a timeout of 60 seconds. See\n the code\n sample for details.
Your query request will fail in the following cases:
\n If you submit a Query
request with the same client token outside\n of the 5-minute idempotency window.
If you submit a Query
request with the same client token, but\n change other parameters, within the 5-minute idempotency window.
If the size of the row (including the query metadata) exceeds 1 MB, then the\n query will fail with the following error message:
\n\n Query aborted as max page response size has been exceeded by the output\n result row
\n
If the IAM principal of the query initiator and the result reader are not the\n same and/or the query initiator and the result reader do not have the same query\n string in the query requests, the query will fail with an Invalid\n pagination token
error.
\n Query
is a synchronous operation that enables you to run a query against\n your Amazon Timestream data. Query
will time out after 60 seconds.\n You must update the default timeout in the SDK to support a timeout of 60 seconds. See\n the code\n sample for details.
Your query request will fail in the following cases:
\n If you submit a Query
request with the same client token outside\n of the 5-minute idempotency window.
If you submit a Query
request with the same client token, but\n change other parameters, within the 5-minute idempotency window.
If the size of the row (including the query metadata) exceeds 1 MB, then the\n query will fail with the following error message:
\n\n Query aborted as max page response size has been exceeded by the output\n result row
\n
If the IAM principal of the query initiator and the result reader are not the\n same and/or the query initiator and the result reader do not have the same query\n string in the query requests, the query will fail with an Invalid\n pagination token
error.
Unique, case-sensitive string of up to 64 ASCII characters specified when a\n Query
request is made. Providing a ClientToken
makes the\n call to Query
\n idempotent. This means that running the same query repeatedly will\n produce the same result. In other words, making multiple identical Query
\n requests has the same effect as making a single request. When using\n ClientToken
in a query, note the following:
If the Query API is instantiated without a ClientToken
, the\n Query SDK generates a ClientToken
on your behalf.
If the Query
invocation only contains the\n ClientToken
but does not include a NextToken
, that\n invocation of Query
is assumed to be a new query run.
If the invocation contains NextToken
, that particular invocation\n is assumed to be a subsequent invocation of a prior call to the Query API, and a\n result set is returned.
After 4 hours, any request with the same ClientToken
is treated\n as a new request.
Unique, case-sensitive string of up to 64 ASCII characters specified when a\n Query
request is made. Providing a ClientToken
makes the\n call to Query
\n idempotent. This means that running the same query repeatedly will\n produce the same result. In other words, making multiple identical Query
\n requests has the same effect as making a single request. When using\n ClientToken
in a query, note the following:
If the Query API is instantiated without a ClientToken
, the\n Query SDK generates a ClientToken
on your behalf.
If the Query
invocation only contains the\n ClientToken
but does not include a NextToken
, that\n invocation of Query
is assumed to be a new query run.
If the invocation contains NextToken
, that particular invocation\n is assumed to be a subsequent invocation of a prior call to the Query API, and a\n result set is returned.
After 4 hours, any request with the same ClientToken
is treated\n as a new request.
A pagination token used to return a set of results. When the Query
API\n is invoked using NextToken
, that particular invocation is assumed to be a\n subsequent invocation of a prior call to Query
, and a result set is\n returned. However, if the Query
invocation only contains the\n ClientToken
, that invocation of Query
is assumed to be a\n new query run.
Note the following when using NextToken in a query:
\nA pagination token can be used for up to five Query
invocations,\n OR for a duration of up to 1 hour – whichever comes first.
Using the same NextToken
will return the same set of records. To\n keep paginating through the result set, you must to use the most recent\n nextToken
.
Suppose a Query
invocation returns two NextToken
\n values, TokenA
and TokenB
. If TokenB
is\n used in a subsequent Query
invocation, then TokenA
is\n invalidated and cannot be reused.
To request a previous result set from a query after pagination has begun, you\n must re-invoke the Query API.
\nThe latest NextToken
should be used to paginate until\n null
is returned, at which point a new NextToken
\n should be used.
If the IAM principal of the query initiator and the result reader are not the\n same and/or the query initiator and the result reader do not have the same query\n string in the query requests, the query will fail with an Invalid\n pagination token
error.
A pagination token used to return a set of results. When the Query
API\n is invoked using NextToken
, that particular invocation is assumed to be a\n subsequent invocation of a prior call to Query
, and a result set is\n returned. However, if the Query
invocation only contains the\n ClientToken
, that invocation of Query
is assumed to be a\n new query run.
Note the following when using NextToken in a query:
\nA pagination token can be used for up to five Query
invocations,\n OR for a duration of up to 1 hour – whichever comes first.
Using the same NextToken
will return the same set of records. To\n keep paginating through the result set, you must to use the most recent\n nextToken
.
Suppose a Query
invocation returns two NextToken
\n values, TokenA
and TokenB
. If TokenB
is\n used in a subsequent Query
invocation, then TokenA
is\n invalidated and cannot be reused.
To request a previous result set from a query after pagination has begun, you\n must re-invoke the Query API.
\nThe latest NextToken
should be used to paginate until\n null
is returned, at which point a new NextToken
\n should be used.
If the IAM principal of the query initiator and the result reader are not the\n same and/or the query initiator and the result reader do not have the same query\n string in the query requests, the query will fail with an Invalid\n pagination token
error.
The total number of rows to be returned in the Query
output. The initial\n run of Query
with a MaxRows
value specified will return the\n result set of the query in two cases:
The size of the result is less than 1MB
.
The number of rows in the result set is less than the value of\n maxRows
.
Otherwise, the initial invocation of Query
only returns a\n NextToken
, which can then be used in subsequent calls to fetch the\n result set. To resume pagination, provide the NextToken
value in the\n subsequent command.
If the row size is large (e.g. a row has many columns), Timestream may return\n fewer rows to keep the response size from exceeding the 1 MB limit. If\n MaxRows
is not provided, Timestream will send the necessary\n number of rows to meet the 1 MB limit.
The total number of rows to be returned in the Query
output. The initial\n run of Query
with a MaxRows
value specified will return the\n result set of the query in two cases:
The size of the result is less than 1MB
.
The number of rows in the result set is less than the value of\n maxRows
.
Otherwise, the initial invocation of Query
only returns a\n NextToken
, which can then be used in subsequent calls to fetch the\n result set. To resume pagination, provide the NextToken
value in the\n subsequent command.
If the row size is large (e.g. a row has many columns), Timestream may return\n fewer rows to keep the response size from exceeding the 1 MB limit. If\n MaxRows
is not provided, Timestream will send the necessary\n number of rows to meet the 1 MB limit.
Information about the status of the query, including progress and bytes\n scanned.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.timestreamquery#QueryStatus": { @@ -1433,18 +1497,20 @@ } }, "com.amazonaws.timestreamquery#S3EncryptionOption": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SSE_S3", - "name": "SSE_S3" - }, - { - "value": "SSE_KMS", - "name": "SSE_KMS" + "type": "enum", + "members": { + "SSE_S3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SSE_S3" } - ] + }, + "SSE_KMS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SSE_KMS" + } + } } }, "com.amazonaws.timestreamquery#S3ObjectKey": { @@ -1481,81 +1547,109 @@ } }, "com.amazonaws.timestreamquery#ScalarMeasureValueType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "BIGINT", - "name": "BIGINT" - }, - { - "value": "BOOLEAN", - "name": "BOOLEAN" - }, - { - "value": "DOUBLE", - "name": "DOUBLE" - }, - { - "value": "VARCHAR", - "name": "VARCHAR" - }, - { - "value": "TIMESTAMP", - "name": "TIMESTAMP" + "type": "enum", + "members": { + "BIGINT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BIGINT" + } + }, + "BOOLEAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BOOLEAN" } - ] + }, + "DOUBLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DOUBLE" + } + }, + "VARCHAR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VARCHAR" + } + }, + "TIMESTAMP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIMESTAMP" + } + } } }, "com.amazonaws.timestreamquery#ScalarType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "VARCHAR", - "name": "VARCHAR" - }, - { - "value": "BOOLEAN", - "name": "BOOLEAN" - }, - { - "value": "BIGINT", - "name": "BIGINT" - }, - { - "value": "DOUBLE", - "name": "DOUBLE" - }, - { - "value": "TIMESTAMP", - "name": "TIMESTAMP" - }, - { - "value": "DATE", - "name": "DATE" - }, - { - "value": "TIME", - "name": "TIME" - }, - { - "value": "INTERVAL_DAY_TO_SECOND", - "name": "INTERVAL_DAY_TO_SECOND" - }, - { - "value": "INTERVAL_YEAR_TO_MONTH", - "name": "INTERVAL_YEAR_TO_MONTH" - }, - { - "value": "UNKNOWN", - "name": "UNKNOWN" - }, - { - "value": "INTEGER", - "name": "INTEGER" + "type": "enum", + "members": { + "VARCHAR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VARCHAR" + } + }, + "BOOLEAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BOOLEAN" } - ] + }, + "BIGINT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BIGINT" + } + }, + "DOUBLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DOUBLE" + } + }, + "TIMESTAMP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIMESTAMP" + } + }, + "DATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATE" + } + }, + "TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIME" + } + }, + "INTERVAL_DAY_TO_SECOND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERVAL_DAY_TO_SECOND" + } + }, + "INTERVAL_YEAR_TO_MONTH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERVAL_YEAR_TO_MONTH" + } + }, + "UNKNOWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNKNOWN" + } + }, + "INTEGER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTEGER" + } + } } }, "com.amazonaws.timestreamquery#ScalarValue": { @@ -1771,26 +1865,32 @@ } }, "com.amazonaws.timestreamquery#ScheduledQueryRunStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AUTO_TRIGGER_SUCCESS", - "name": "AUTO_TRIGGER_SUCCESS" - }, - { - "value": "AUTO_TRIGGER_FAILURE", - "name": "AUTO_TRIGGER_FAILURE" - }, - { - "value": "MANUAL_TRIGGER_SUCCESS", - "name": "MANUAL_TRIGGER_SUCCESS" - }, - { - "value": "MANUAL_TRIGGER_FAILURE", - "name": "MANUAL_TRIGGER_FAILURE" + "type": "enum", + "members": { + "AUTO_TRIGGER_SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTO_TRIGGER_SUCCESS" + } + }, + "AUTO_TRIGGER_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTO_TRIGGER_FAILURE" + } + }, + "MANUAL_TRIGGER_SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MANUAL_TRIGGER_SUCCESS" } - ] + }, + "MANUAL_TRIGGER_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MANUAL_TRIGGER_FAILURE" + } + } } }, "com.amazonaws.timestreamquery#ScheduledQueryRunSummary": { @@ -1844,18 +1944,20 @@ } }, "com.amazonaws.timestreamquery#ScheduledQueryState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" } - ] + } } }, "com.amazonaws.timestreamquery#SchemaName": { @@ -2049,11 +2151,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.timestreamquery#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.timestreamquery#TagValue": { "type": "string", @@ -2274,7 +2382,7 @@ "name": "timestream" }, "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "An encoded stream of audio blobs. Audio streams are encoded as either HTTP/2 or WebSocket \n data frames.
\nFor more information, see Transcribing streaming audio.
", + "smithy.api#documentation": "An encoded stream of audio blobs. Audio streams are encoded as either HTTP/2 or WebSocket \n data frames.
\nFor more information, see Transcribing streaming audio.
", "smithy.api#streaming": {} } }, @@ -915,7 +915,7 @@ "Confidence": { "target": "com.amazonaws.transcribestreaming#Confidence", "traits": { - "smithy.api#documentation": "The confidence score associated with the identified PHI entity in your audio.
\nConfidence scores are values between 0 and 1. A larger value indicates a higher\n probability that the identified entity correctly matches the entity spoken in your\n media.
" + "smithy.api#documentation": "The confidence score associated with the identified PHI entity in your audio.
\nConfidence scores are values between 0 and 1. A larger value indicates a higher\n probability that the identified entity correctly matches the entity spoken in your\n media.
" } } }, @@ -961,7 +961,7 @@ "Confidence": { "target": "com.amazonaws.transcribestreaming#Confidence", "traits": { - "smithy.api#documentation": "The confidence score associated with a word or phrase in your transcript.
\nConfidence scores are values between 0 and 1. A larger value indicates a higher\n probability that the identified item correctly matches the item spoken in your\n media.
" + "smithy.api#documentation": "The confidence score associated with a word or phrase in your transcript.
\nConfidence scores are values between 0 and 1. A larger value indicates a higher\n probability that the identified item correctly matches the item spoken in your\n media.
" } }, "Speaker": { @@ -1008,7 +1008,7 @@ "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "Indicates if the segment is complete.
\nIf IsPartial
is true
, the segment is not complete. If\n IsPartial
is false
, the segment is complete.
Indicates if the segment is complete.
\nIf IsPartial
is true
, the segment is not complete. If\n IsPartial
is false
, the segment is complete.
The Result
associated with a \n .
Contains a set of transcription results from one or more audio segments, along with\n additional information per your request parameters. This can include information relating to\n alternative transcriptions, channel identification, partial result stabilization, language \n identification, and other transcription-related data.
" + "smithy.api#documentation": "The Result
associated with a \n .
Contains a set of transcription results from one or more audio segments, along with\n additional information per your request parameters. This can include information relating to\n alternative transcriptions, channel identification, partial result stabilization, language \n identification, and other transcription-related data.
" } }, "com.amazonaws.transcribestreaming#MedicalResultList": { @@ -1045,7 +1045,7 @@ } }, "traits": { - "smithy.api#documentation": "The MedicalTranscript
associated with a \n .
\n MedicalTranscript
contains Results
, which contains a set of \n transcription results from one or more audio segments, along with additional information per your \n request parameters.
The MedicalTranscript
associated with a \n .
\n MedicalTranscript
contains Results
, which contains a set of \n transcription results from one or more audio segments, along with additional information per your \n request parameters.
The MedicalTranscriptEvent
associated with a \n MedicalTranscriptResultStream
.
Contains a set of transcription results from one or more audio segments, along with additional \n information per your request parameters.
" + "smithy.api#documentation": "The MedicalTranscriptEvent
associated with a \n MedicalTranscriptResultStream
.
Contains a set of transcription results from one or more audio segments, along with additional \n information per your request parameters.
" } }, "com.amazonaws.transcribestreaming#MedicalTranscriptResultStream": { @@ -1068,7 +1068,7 @@ "TranscriptEvent": { "target": "com.amazonaws.transcribestreaming#MedicalTranscriptEvent", "traits": { - "smithy.api#documentation": "The MedicalTranscriptEvent
associated with a \n MedicalTranscriptResultStream
.
Contains a set of transcription results from one or more audio segments, along with \n additional information per your request parameters. This can include information relating to\n alternative transcriptions, channel identification, partial result stabilization, language \n identification, and other transcription-related data.
" + "smithy.api#documentation": "The MedicalTranscriptEvent
associated with a \n MedicalTranscriptResultStream
.
Contains a set of transcription results from one or more audio segments, along with \n additional information per your request parameters. This can include information relating to\n alternative transcriptions, channel identification, partial result stabilization, language \n identification, and other transcription-related data.
" } }, "BadRequestException": { @@ -1457,7 +1457,7 @@ "VocabularyFilterName": { "target": "com.amazonaws.transcribestreaming#VocabularyFilterName", "traits": { - "smithy.api#documentation": "Specify the name of the custom vocabulary filter that you want to use when processing your\n transcription. Note that vocabulary filter names are case sensitive.
\nIf the language of the specified custom vocabulary filter doesn't match the language identified in\n your media, the vocabulary filter is not applied to your transcription.
\nFor more information, see Using vocabulary filtering with unwanted \n words.
", + "smithy.api#documentation": "Specify the name of the custom vocabulary filter that you want to use when processing your\n transcription. Note that vocabulary filter names are case sensitive.
\nIf the language of the specified custom vocabulary filter doesn't match the language identified in\n your media, the vocabulary filter is not applied to your transcription.
\nFor more information, see Using vocabulary filtering with unwanted \n words.
", "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-filter-name" } }, @@ -1471,7 +1471,7 @@ "LanguageModelName": { "target": "com.amazonaws.transcribestreaming#ModelName", "traits": { - "smithy.api#documentation": "Specify the name of the custom language model that you want to use when processing your\n transcription. Note that language model names are case sensitive.
\nThe language of the specified language model must match the language code you specify\n in your transcription request. If the languages don't match, the custom language model isn't applied. \n There are no errors or warnings associated with a language mismatch.
\nFor more information, see Custom language models.
", + "smithy.api#documentation": "Specify the name of the custom language model that you want to use when processing your\n transcription. Note that language model names are case sensitive.
\nThe language of the specified language model must match the language code you specify\n in your transcription request. If the languages don't match, the custom language model isn't applied. \n There are no errors or warnings associated with a language mismatch.
\nFor more information, see Custom language models.
", "smithy.api#httpHeader": "x-amzn-transcribe-language-model-name" } }, @@ -1486,21 +1486,21 @@ "PartialResultsStability": { "target": "com.amazonaws.transcribestreaming#PartialResultsStability", "traits": { - "smithy.api#documentation": "Specify the level of stability to use when you enable partial results stabilization \n (EnablePartialResultsStabilization
).
Low stability provides the highest accuracy. High stability transcribes faster, but with slightly\n lower accuracy.
\nFor more information, see Partial-result \n stabilization.
", + "smithy.api#documentation": "Specify the level of stability to use when you enable partial results stabilization \n (EnablePartialResultsStabilization
).
Low stability provides the highest accuracy. High stability transcribes faster, but with slightly\n lower accuracy.
\nFor more information, see Partial-result \n stabilization.
", "smithy.api#httpHeader": "x-amzn-transcribe-partial-results-stability" } }, "ContentIdentificationType": { "target": "com.amazonaws.transcribestreaming#ContentIdentificationType", "traits": { - "smithy.api#documentation": "Labels all personally identifiable information (PII) identified in your transcript.
\nContent identification is performed at the segment level; PII specified in \n PiiEntityTypes
is flagged upon complete transcription of an audio segment.
You can’t set ContentIdentificationType
and ContentRedactionType
\n in the same request. If you set both, your request returns a\n BadRequestException
.
For more information, see Redacting or identifying personally identifiable\n information.
", + "smithy.api#documentation": "Labels all personally identifiable information (PII) identified in your transcript.
\nContent identification is performed at the segment level; PII specified in \n PiiEntityTypes
is flagged upon complete transcription of an audio segment.
You can’t set ContentIdentificationType
and ContentRedactionType
\n in the same request. If you set both, your request returns a\n BadRequestException
.
For more information, see Redacting or identifying personally identifiable\n information.
", "smithy.api#httpHeader": "x-amzn-transcribe-content-identification-type" } }, "ContentRedactionType": { "target": "com.amazonaws.transcribestreaming#ContentRedactionType", "traits": { - "smithy.api#documentation": "Redacts all personally identifiable information (PII) identified in your transcript.
\nContent redaction is performed at the segment level; PII specified in \n PiiEntityTypes
is redacted upon complete transcription of an audio segment.
You can’t set ContentRedactionType
and ContentIdentificationType
\n in the same request. If you set both, your request returns a\n BadRequestException
.
For more information, see Redacting or identifying personally identifiable\n information.
", + "smithy.api#documentation": "Redacts all personally identifiable information (PII) identified in your transcript.
\nContent redaction is performed at the segment level; PII specified in \n PiiEntityTypes
is redacted upon complete transcription of an audio segment.
You can’t set ContentRedactionType
and ContentIdentificationType
\n in the same request. If you set both, your request returns a\n BadRequestException
.
For more information, see Redacting or identifying personally identifiable\n information.
", "smithy.api#httpHeader": "x-amzn-transcribe-content-redaction-type" } }, @@ -1511,6 +1511,9 @@ "smithy.api#httpHeader": "x-amzn-transcribe-pii-entity-types" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.transcribestreaming#StartCallAnalyticsStreamTranscriptionResponse": { @@ -1622,6 +1625,9 @@ "smithy.api#httpHeader": "x-amzn-transcribe-pii-entity-types" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.transcribestreaming#StartMedicalStreamTranscription": { @@ -1650,7 +1656,7 @@ } ], "traits": { - "smithy.api#documentation": "Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to \n Amazon Transcribe Medical and the transcription results are streamed to your\n application.
\nThe following parameters are required:
\n\n language-code
\n
\n media-encoding
\n
\n sample-rate
\n
For more information on streaming with Amazon Transcribe Medical, see \n Transcribing\n streaming audio.
", + "smithy.api#documentation": "Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to \n Amazon Transcribe Medical and the transcription results are streamed to your\n application.
\nThe following parameters are required:
\n\n language-code
\n
\n media-encoding
\n
\n sample-rate
\n
For more information on streaming with Amazon Transcribe Medical, see \n Transcribing\n streaming audio.
", "smithy.api#http": { "method": "POST", "uri": "/medical-stream-transcription", @@ -1664,7 +1670,7 @@ "LanguageCode": { "target": "com.amazonaws.transcribestreaming#LanguageCode", "traits": { - "smithy.api#documentation": "Specify the language code that represents the language spoken in your audio.
\nAmazon Transcribe Medical only supports US English (en-US
).
Specify the language code that represents the language spoken in your audio.
\nAmazon Transcribe Medical only supports US English (en-US
).
Specify the encoding used for the input audio. Supported formats are:
\nFLAC
\nOPUS-encoded audio in an Ogg container
\nPCM (only signed 16-bit little-endian audio formats, which does not include\n WAV)
\nFor more information, see Media formats.
", + "smithy.api#documentation": "Specify the encoding used for the input audio. Supported formats are:
\nFLAC
\nOPUS-encoded audio in an Ogg container
\nPCM (only signed 16-bit little-endian audio formats, which does not include\n WAV)
\nFor more information, see Media formats.
", "smithy.api#httpHeader": "x-amzn-transcribe-media-encoding", "smithy.api#required": {} } @@ -1712,14 +1718,14 @@ "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "Enables speaker partitioning (diarization) in your transcription output. Speaker\n partitioning labels the speech from individual speakers in your media file.
\nFor more information, see Partitioning speakers (diarization).
", + "smithy.api#documentation": "Enables speaker partitioning (diarization) in your transcription output. Speaker\n partitioning labels the speech from individual speakers in your media file.
\nFor more information, see Partitioning speakers (diarization).
", "smithy.api#httpHeader": "x-amzn-transcribe-show-speaker-label" } }, "SessionId": { "target": "com.amazonaws.transcribestreaming#SessionId", "traits": { - "smithy.api#documentation": "Specify a name for your transcription session. If you don't include this parameter in \n your request, Amazon Transcribe Medical generates an ID and returns it in the\n response.
\nYou can use a session ID to retry a streaming session.
", + "smithy.api#documentation": "Specify a name for your transcription session. If you don't include this parameter in \n your request, Amazon Transcribe Medical generates an ID and returns it in the\n response.
\nYou can use a session ID to retry a streaming session.
", "smithy.api#httpHeader": "x-amzn-transcribe-session-id" } }, @@ -1734,7 +1740,7 @@ "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "Enables channel identification in multi-channel audio.
\nChannel identification transcribes the audio on each channel independently, then appends\n the output for each channel into one transcript.
\nIf you have multi-channel audio and do not enable channel identification, your audio is \n transcribed in a continuous manner and your transcript is not separated by channel.
\nFor more information, see Transcribing multi-channel audio.
", + "smithy.api#documentation": "Enables channel identification in multi-channel audio.
\nChannel identification transcribes the audio on each channel independently, then appends\n the output for each channel into one transcript.
\nIf you have multi-channel audio and do not enable channel identification, your audio is \n transcribed in a continuous manner and your transcript is not separated by channel.
\nFor more information, see Transcribing multi-channel audio.
", "smithy.api#httpHeader": "x-amzn-transcribe-enable-channel-identification" } }, @@ -1748,10 +1754,13 @@ "ContentIdentificationType": { "target": "com.amazonaws.transcribestreaming#MedicalContentIdentificationType", "traits": { - "smithy.api#documentation": "Labels all personal health information (PHI) identified in your transcript.
\nContent identification is performed at the segment level; PHI is flagged upon complete\n transcription of an audio segment.
\nFor more information, see Identifying personal health information (PHI) in a\n transcription.
", + "smithy.api#documentation": "Labels all personal health information (PHI) identified in your transcript.
\nContent identification is performed at the segment level; PHI is flagged upon complete\n transcription of an audio segment.
\nFor more information, see Identifying personal health information (PHI) in a\n transcription.
", "smithy.api#httpHeader": "x-amzn-transcribe-content-identification-type" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.transcribestreaming#StartMedicalStreamTranscriptionResponse": { @@ -1850,6 +1859,9 @@ "smithy.api#httpHeader": "x-amzn-transcribe-content-identification-type" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.transcribestreaming#StartStreamTranscription": { @@ -1929,7 +1941,7 @@ "AudioStream": { "target": "com.amazonaws.transcribestreaming#AudioStream", "traits": { - "smithy.api#documentation": "An encoded stream of audio blobs. Audio streams are encoded as either HTTP/2 or WebSocket \n data frames.
\nFor more information, see Transcribing streaming audio.
", + "smithy.api#documentation": "An encoded stream of audio blobs. Audio streams are encoded as either HTTP/2 or WebSocket \n data frames.
\nFor more information, see Transcribing streaming audio.
", "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -1937,7 +1949,7 @@ "VocabularyFilterName": { "target": "com.amazonaws.transcribestreaming#VocabularyFilterName", "traits": { - "smithy.api#documentation": "Specify the name of the custom vocabulary filter that you want to use when processing your\n transcription. Note that vocabulary filter names are case sensitive.
\nIf the language of the specified custom vocabulary filter doesn't match the language identified in\n your media, the vocabulary filter is not applied to your transcription.
\nThis parameter is not intended for use with the\n IdentifyLanguage
parameter. If you're including IdentifyLanguage
\n in your request and want to use one or more vocabulary filters with your transcription, use\n the VocabularyFilterNames
parameter instead.
For more information, see Using vocabulary filtering with unwanted \n words.
", + "smithy.api#documentation": "Specify the name of the custom vocabulary filter that you want to use when processing your\n transcription. Note that vocabulary filter names are case sensitive.
\nIf the language of the specified custom vocabulary filter doesn't match the language identified in\n your media, the vocabulary filter is not applied to your transcription.
\nThis parameter is not intended for use with the\n IdentifyLanguage
parameter. If you're including IdentifyLanguage
\n in your request and want to use one or more vocabulary filters with your transcription, use\n the VocabularyFilterNames
parameter instead.
For more information, see Using vocabulary filtering with unwanted \n words.
", "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-filter-name" } }, @@ -1952,7 +1964,7 @@ "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "Enables speaker partitioning (diarization) in your transcription output. Speaker partitioning \n labels the speech from individual speakers in your media file.
\nFor more information, see Partitioning speakers (diarization).
", + "smithy.api#documentation": "Enables speaker partitioning (diarization) in your transcription output. Speaker partitioning \n labels the speech from individual speakers in your media file.
\nFor more information, see Partitioning speakers (diarization).
", "smithy.api#httpHeader": "x-amzn-transcribe-show-speaker-label" } }, @@ -1960,7 +1972,7 @@ "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "Enables channel identification in multi-channel audio.
\nChannel identification transcribes the audio on each channel independently, then appends the \n output for each channel into one transcript.
\nIf you have multi-channel audio and do not enable channel identification, your audio is \n transcribed in a continuous manner and your transcript is not separated by channel.
\nFor more information, see Transcribing multi-channel audio.
", + "smithy.api#documentation": "Enables channel identification in multi-channel audio.
\nChannel identification transcribes the audio on each channel independently, then appends the \n output for each channel into one transcript.
\nIf you have multi-channel audio and do not enable channel identification, your audio is \n transcribed in a continuous manner and your transcript is not separated by channel.
\nFor more information, see Transcribing multi-channel audio.
", "smithy.api#httpHeader": "x-amzn-transcribe-enable-channel-identification" } }, @@ -1982,21 +1994,21 @@ "PartialResultsStability": { "target": "com.amazonaws.transcribestreaming#PartialResultsStability", "traits": { - "smithy.api#documentation": "Specify the level of stability to use when you enable partial results stabilization \n (EnablePartialResultsStabilization
).
Low stability provides the highest accuracy. High stability transcribes faster, but with slightly\n lower accuracy.
\nFor more information, see Partial-result \n stabilization.
", + "smithy.api#documentation": "Specify the level of stability to use when you enable partial results stabilization \n (EnablePartialResultsStabilization
).
Low stability provides the highest accuracy. High stability transcribes faster, but with slightly\n lower accuracy.
\nFor more information, see Partial-result \n stabilization.
", "smithy.api#httpHeader": "x-amzn-transcribe-partial-results-stability" } }, "ContentIdentificationType": { "target": "com.amazonaws.transcribestreaming#ContentIdentificationType", "traits": { - "smithy.api#documentation": "Labels all personally identifiable information (PII) identified in your transcript.
\nContent identification is performed at the segment level; PII specified in \n PiiEntityTypes
is flagged upon complete transcription of an audio segment.
You can’t set ContentIdentificationType
and ContentRedactionType
\n in the same request. If you set both, your request returns a\n BadRequestException
.
For more information, see Redacting or identifying personally identifiable\n information.
", + "smithy.api#documentation": "Labels all personally identifiable information (PII) identified in your transcript.
\nContent identification is performed at the segment level; PII specified in \n PiiEntityTypes
is flagged upon complete transcription of an audio segment.
You can’t set ContentIdentificationType
and ContentRedactionType
\n in the same request. If you set both, your request returns a\n BadRequestException
.
For more information, see Redacting or identifying personally identifiable\n information.
", "smithy.api#httpHeader": "x-amzn-transcribe-content-identification-type" } }, "ContentRedactionType": { "target": "com.amazonaws.transcribestreaming#ContentRedactionType", "traits": { - "smithy.api#documentation": "Redacts all personally identifiable information (PII) identified in your transcript.
\nContent redaction is performed at the segment level; PII specified in \n PiiEntityTypes
is redacted upon complete transcription of an audio segment.
You can’t set ContentRedactionType
and ContentIdentificationType
\n in the same request. If you set both, your request returns a\n BadRequestException
.
For more information, see Redacting or identifying personally identifiable\n information.
", + "smithy.api#documentation": "Redacts all personally identifiable information (PII) identified in your transcript.
\nContent redaction is performed at the segment level; PII specified in \n PiiEntityTypes
is redacted upon complete transcription of an audio segment.
You can’t set ContentRedactionType
and ContentIdentificationType
\n in the same request. If you set both, your request returns a\n BadRequestException
.
For more information, see Redacting or identifying personally identifiable\n information.
", "smithy.api#httpHeader": "x-amzn-transcribe-content-redaction-type" } }, @@ -2010,7 +2022,7 @@ "LanguageModelName": { "target": "com.amazonaws.transcribestreaming#ModelName", "traits": { - "smithy.api#documentation": "Specify the name of the custom language model that you want to use when processing your\n transcription. Note that language model names are case sensitive.
\nThe language of the specified language model must match the language code you specify\n in your transcription request. If the languages don't match, the custom language model isn't applied. \n There are no errors or warnings associated with a language mismatch.
\nFor more information, see Custom language models.
", + "smithy.api#documentation": "Specify the name of the custom language model that you want to use when processing your\n transcription. Note that language model names are case sensitive.
\nThe language of the specified language model must match the language code you specify\n in your transcription request. If the languages don't match, the custom language model isn't applied. \n There are no errors or warnings associated with a language mismatch.
\nFor more information, see Custom language models.
", "smithy.api#httpHeader": "x-amzn-transcribe-language-model-name" } }, @@ -2018,7 +2030,7 @@ "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "Enables automatic language identification for your transcription.
\nIf you include IdentifyLanguage
, you can optionally include a list of \n language codes, using LanguageOptions
, that you think may be present in \n your audio stream. Including language options can improve transcription accuracy.
You can also include a preferred language using PreferredLanguage
. Adding a \n preferred language can help Amazon Transcribe identify the language faster than if you omit this \n parameter.
If you have multi-channel audio that contains different languages on each channel, and you've \n enabled channel identification, automatic language identification identifies the dominant language on \n each audio channel.
\nNote that you must include either LanguageCode
or \n IdentifyLanguage
in your request. If you include both parameters, your request\n fails.
Streaming language identification can't be combined with custom language models or \n redaction.
", + "smithy.api#documentation": "Enables automatic language identification for your transcription.
\nIf you include IdentifyLanguage
, you can optionally include a list of \n language codes, using LanguageOptions
, that you think may be present in \n your audio stream. Including language options can improve transcription accuracy.
You can also include a preferred language using PreferredLanguage
. Adding a \n preferred language can help Amazon Transcribe identify the language faster than if you omit this \n parameter.
If you have multi-channel audio that contains different languages on each channel, and you've \n enabled channel identification, automatic language identification identifies the dominant language on \n each audio channel.
\nNote that you must include either LanguageCode
or \n IdentifyLanguage
in your request. If you include both parameters, your request\n fails.
Streaming language identification can't be combined with custom language models or \n redaction.
", "smithy.api#httpHeader": "x-amzn-transcribe-identify-language" } }, @@ -2039,17 +2051,20 @@ "VocabularyNames": { "target": "com.amazonaws.transcribestreaming#VocabularyNames", "traits": { - "smithy.api#documentation": "Specify the names of the custom vocabularies that you want to use when processing your\n transcription. Note that vocabulary names are case sensitive.
\nIf none of the languages of the specified custom vocabularies match the language identified in \n your media, your job fails.
\nThis parameter is only intended for use with the\n IdentifyLanguage
parameter. If you're not\n including IdentifyLanguage
in your request and want to use a custom vocabulary\n with your transcription, use the VocabularyName
parameter instead.
For more information, see Custom vocabularies.
", + "smithy.api#documentation": "Specify the names of the custom vocabularies that you want to use when processing your\n transcription. Note that vocabulary names are case sensitive.
\nIf none of the languages of the specified custom vocabularies match the language identified in \n your media, your job fails.
\nThis parameter is only intended for use with the\n IdentifyLanguage
parameter. If you're not\n including IdentifyLanguage
in your request and want to use a custom vocabulary\n with your transcription, use the VocabularyName
parameter instead.
For more information, see Custom vocabularies.
", "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-names" } }, "VocabularyFilterNames": { "target": "com.amazonaws.transcribestreaming#VocabularyFilterNames", "traits": { - "smithy.api#documentation": "Specify the names of the custom vocabulary filters that you want to use when processing\n your transcription. Note that vocabulary filter names are case sensitive.
\nIf none of the languages of the specified custom vocabulary filters match the language identified\n in your media, your job fails.
\nThis parameter is only intended for use with \n the IdentifyLanguage
parameter. If you're not \n including IdentifyLanguage
in your request and want to use a custom vocabulary filter \n with your transcription, use the VocabularyFilterName
parameter instead.
For more information, see Using vocabulary filtering with unwanted \n words.
", + "smithy.api#documentation": "Specify the names of the custom vocabulary filters that you want to use when processing\n your transcription. Note that vocabulary filter names are case sensitive.
\nIf none of the languages of the specified custom vocabulary filters match the language identified\n in your media, your job fails.
\nThis parameter is only intended for use with \n the IdentifyLanguage
parameter. If you're not \n including IdentifyLanguage
in your request and want to use a custom vocabulary filter \n with your transcription, use the VocabularyFilterName
parameter instead.
For more information, see Using vocabulary filtering with unwanted \n words.
", "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-filter-names" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.transcribestreaming#StartStreamTranscriptionResponse": { @@ -2220,6 +2235,9 @@ "smithy.api#httpHeader": "x-amzn-transcribe-vocabulary-filter-names" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.transcribestreaming#String": { @@ -2291,7 +2309,7 @@ "h2" ] }, - "smithy.api#documentation": "Amazon Transcribe streaming offers three main types of real-time transcription: \n Standard, Medical, and \n Call Analytics.
\n\n Standard transcriptions are the most common option. Refer\n to for details.
\n\n Medical transcriptions are tailored to medical professionals \n and incorporate medical terms. A common use case for this service is transcribing doctor-patient \n dialogue in real time, so doctors can focus on their patient instead of taking notes. Refer to\n for details.
\n\n Call Analytics transcriptions are designed for use with call\n center audio on two different channels; if you're looking for insight into customer service calls, use this \n option. Refer to for details.
\nAmazon Transcribe streaming offers three main types of real-time transcription: \n Standard, Medical, and \n Call Analytics.
\n\n Standard transcriptions are the most common option. Refer\n to for details.
\n\n Medical transcriptions are tailored to medical professionals \n and incorporate medical terms. A common use case for this service is transcribing doctor-patient \n dialogue in real time, so doctors can focus on their patient instead of taking notes. Refer to\n for details.
\n\n Call Analytics transcriptions are designed for use with call\n center audio on two different channels; if you're looking for insight into customer service calls, use this \n option. Refer to for details.
\nThe ChangeToken
that you used to submit the CreateByteMatchSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the CreateGeoMatchSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nCreates an IPSet, which you use to specify which web requests\n that\n you want to allow or block based on the IP addresses that the requests\n originate from. For example, if you're receiving a lot of requests from one or more\n individual IP addresses or one or more ranges of IP addresses and you want to block the\n requests, you can create an IPSet
that contains those IP addresses and then\n configure AWS WAF to block the requests.
To create and configure an IPSet
, perform the following steps:
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tCreateIPSet
request.
Submit a CreateIPSet
request.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateIPSet request.
Submit an UpdateIPSet
request to specify the IP addresses that you want AWS WAF to watch for.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
" - } + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nCreates an IPSet, which you use to specify which web requests\n that\n you want to allow or block based on the IP addresses that the requests\n originate from. For example, if you're receiving a lot of requests from one or more\n individual IP addresses or one or more ranges of IP addresses and you want to block the\n requests, you can create an IPSet
that contains those IP addresses and then\n configure AWS WAF to block the requests.
To create and configure an IPSet
, perform the following steps:
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tCreateIPSet
request.
Submit a CreateIPSet
request.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateIPSet request.
Submit an UpdateIPSet
request to specify the IP addresses that you want AWS WAF to watch for.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
", + "smithy.api#examples": [ + { + "title": "To create an IP set", + "documentation": "The following example creates an IP match set named MyIPSetFriendlyName.", + "input": { + "Name": "MyIPSetFriendlyName", + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + }, + "output": { + "IPSet": { + "IPSetDescriptors": [ + { + "Type": "IPV4", + "Value": "192.0.2.44/32" + } + ], + "IPSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", + "Name": "MyIPSetFriendlyName" + }, + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + } + } + ] + } }, "com.amazonaws.wafregional#CreateIPSetRequest": { "type": "structure", @@ -2506,6 +2083,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.wafregional#CreateIPSetResponse": { @@ -2523,6 +2103,9 @@ "smithy.api#documentation": "The ChangeToken
that you used to submit the CreateIPSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the\n CreateRateBasedRule
request. You can also use this value to query the\n status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the CreateRegexMatchSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the CreateRegexPatternSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nCreates a Rule
, which contains the IPSet
objects,\n ByteMatchSet
objects, and other predicates that identify the requests that\n you want to block. If you add more than one predicate to a Rule
, a request\n must match all of the specifications to be allowed or blocked. For example, suppose\n that\n you add the following to a Rule
:
An IPSet
that matches the IP address 192.0.2.44/32
\n
A ByteMatchSet
that matches BadBot
in the User-Agent
header
You then add the Rule
to a WebACL
and specify that you want to blocks requests that satisfy the Rule
. \n\t\t\tFor a request to be blocked, it must come from the IP address 192.0.2.44 and the User-Agent
header in the request \n\t\t\tmust contain the value BadBot
.
To create and configure a Rule
, perform the following steps:
Create and update the predicates that you want to include in the Rule
. For more information, see \n\t\t\t\tCreateByteMatchSet, CreateIPSet, and CreateSqlInjectionMatchSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tCreateRule
request.
Submit a CreateRule
request.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateRule request.
Submit an UpdateRule
request to specify the predicates that you want to include in the Rule
.
Create and update a WebACL
that contains the Rule
. For more information, see CreateWebACL.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nCreates a Rule
, which contains the IPSet
objects,\n ByteMatchSet
objects, and other predicates that identify the requests that\n you want to block. If you add more than one predicate to a Rule
, a request\n must match all of the specifications to be allowed or blocked. For example, suppose\n that\n you add the following to a Rule
:
An IPSet
that matches the IP address 192.0.2.44/32
\n
A ByteMatchSet
that matches BadBot
in the User-Agent
header
You then add the Rule
to a WebACL
and specify that you want to blocks requests that satisfy the Rule
. \n\t\t\tFor a request to be blocked, it must come from the IP address 192.0.2.44 and the User-Agent
header in the request \n\t\t\tmust contain the value BadBot
.
To create and configure a Rule
, perform the following steps:
Create and update the predicates that you want to include in the Rule
. For more information, see \n\t\t\t\tCreateByteMatchSet, CreateIPSet, and CreateSqlInjectionMatchSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tCreateRule
request.
Submit a CreateRule
request.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateRule request.
Submit an UpdateRule
request to specify the predicates that you want to include in the Rule
.
Create and update a WebACL
that contains the Rule
. For more information, see CreateWebACL.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
", + "smithy.api#examples": [ + { + "title": "To create a rule", + "documentation": "The following example creates a rule named WAFByteHeaderRule.", + "input": { + "Name": "WAFByteHeaderRule", + "MetricName": "WAFByteHeaderRule", + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + }, + "output": { + "Rule": { + "MetricName": "WAFByteHeaderRule", + "Name": "WAFByteHeaderRule", + "Predicates": [ + { + "DataId": "MyByteMatchSetID", + "Negated": false, + "Type": "ByteMatch" + } + ], + "RuleId": "WAFRule-1-Example" + }, + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + } + } + ] } }, "com.amazonaws.wafregional#CreateRuleGroup": { @@ -2854,6 +2481,9 @@ "smithy.api#documentation": "" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.wafregional#CreateRuleGroupResponse": { @@ -2871,6 +2501,9 @@ "smithy.api#documentation": "The ChangeToken
that you used to submit the CreateRuleGroup
request. You can also use this value \n to query the status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the CreateRule
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nCreates a SizeConstraintSet
. You then use UpdateSizeConstraintSet to identify the part of a \n\t\t\tweb request that you want AWS WAF to check for length, such as the length of the User-Agent
header or the length of the query string. \n\t\t\tFor example, you can create a SizeConstraintSet
that matches any requests that have a query string that is longer than 100 bytes. \n\t\t\tYou can then configure AWS WAF to reject those requests.
To create and configure a SizeConstraintSet
, perform the following steps:
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tCreateSizeConstraintSet
request.
Submit a CreateSizeConstraintSet
request.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateSizeConstraintSet
request.
Submit an UpdateSizeConstraintSet request to specify the part of the request that you want AWS WAF to inspect \n\t\t\t\t(for example, the header or the URI) and the value that you want AWS WAF to watch for.
\nFor more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nCreates a SizeConstraintSet
. You then use UpdateSizeConstraintSet to identify the part of a \n\t\t\tweb request that you want AWS WAF to check for length, such as the length of the User-Agent
header or the length of the query string. \n\t\t\tFor example, you can create a SizeConstraintSet
that matches any requests that have a query string that is longer than 100 bytes. \n\t\t\tYou can then configure AWS WAF to reject those requests.
To create and configure a SizeConstraintSet
, perform the following steps:
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tCreateSizeConstraintSet
request.
Submit a CreateSizeConstraintSet
request.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateSizeConstraintSet
request.
Submit an UpdateSizeConstraintSet request to specify the part of the request that you want AWS WAF to inspect \n\t\t\t\t(for example, the header or the URI) and the value that you want AWS WAF to watch for.
\nFor more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
", + "smithy.api#examples": [ + { + "title": "To create a size constraint", + "documentation": "The following example creates size constraint set named MySampleSizeConstraintSet.", + "input": { + "Name": "MySampleSizeConstraintSet", + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + }, + "output": { + "SizeConstraintSet": { + "Name": "MySampleSizeConstraintSet", + "SizeConstraints": [ + { + "ComparisonOperator": "GT", + "FieldToMatch": { + "Type": "QUERY_STRING" + }, + "Size": 0, + "TextTransformation": "NONE" + } + ], + "SizeConstraintSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" + }, + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + } + } + ] } }, "com.amazonaws.wafregional#CreateSizeConstraintSetRequest": { @@ -2971,6 +2637,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.wafregional#CreateSizeConstraintSetResponse": { @@ -2988,6 +2657,9 @@ "smithy.api#documentation": "The ChangeToken
that you used to submit the CreateSizeConstraintSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nCreates a SqlInjectionMatchSet, which you use to allow, block, or count requests that contain snippets of SQL code in a \n\t\t\tspecified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings.
\n\t\tTo create and configure a SqlInjectionMatchSet
, perform the following steps:
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tCreateSqlInjectionMatchSet
request.
Submit a CreateSqlInjectionMatchSet
request.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateSqlInjectionMatchSet request.
Submit an UpdateSqlInjectionMatchSet request to specify the parts of web requests in which you want to \n\t\t\t\tallow, block, or count malicious SQL code.
\nFor more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nCreates a SqlInjectionMatchSet, which you use to allow, block, or count requests that contain snippets of SQL code in a \n\t\t\tspecified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings.
\n\t\tTo create and configure a SqlInjectionMatchSet
, perform the following steps:
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tCreateSqlInjectionMatchSet
request.
Submit a CreateSqlInjectionMatchSet
request.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateSqlInjectionMatchSet request.
Submit an UpdateSqlInjectionMatchSet request to specify the parts of web requests in which you want to \n\t\t\t\tallow, block, or count malicious SQL code.
\nFor more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
", + "smithy.api#examples": [ + { + "title": "To create a SQL injection match set", + "documentation": "The following example creates a SQL injection match set named MySQLInjectionMatchSet.", + "input": { + "Name": "MySQLInjectionMatchSet", + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + }, + "output": { + "SqlInjectionMatchSet": { + "Name": "MySQLInjectionMatchSet", + "SqlInjectionMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", + "SqlInjectionMatchTuples": [ + { + "FieldToMatch": { + "Type": "QUERY_STRING" + }, + "TextTransformation": "URL_DECODE" + } + ] + }, + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + } + } + ] } }, "com.amazonaws.wafregional#CreateSqlInjectionMatchSetRequest": { @@ -3041,7 +2738,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to create a SqlInjectionMatchSet.
" + "smithy.api#documentation": "A request to create a SqlInjectionMatchSet.
", + "smithy.api#input": {} } }, "com.amazonaws.wafregional#CreateSqlInjectionMatchSetResponse": { @@ -3061,7 +2759,8 @@ } }, "traits": { - "smithy.api#documentation": "The response to a CreateSqlInjectionMatchSet
request.
The response to a CreateSqlInjectionMatchSet
request.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nCreates a WebACL
, which contains the Rules
that identify the CloudFront web requests that you want to allow, block, or count. \n\t\t\tAWS WAF evaluates Rules
in order based on the value of Priority
for each Rule
.
You also specify a default action, either ALLOW
or BLOCK
. If a web request doesn't match \n\t\t\tany of the Rules
in a WebACL
, AWS WAF responds to the request with the default action.
To create and configure a WebACL
, perform the following steps:
Create and update the ByteMatchSet
objects and other predicates that you want to include in Rules
. \n\t\t\t\tFor more information, see CreateByteMatchSet, UpdateByteMatchSet, CreateIPSet, UpdateIPSet, \n\t\t\t\tCreateSqlInjectionMatchSet, and UpdateSqlInjectionMatchSet.
Create and update the Rules
that you want to include in the WebACL
. For more information, see \n\t\t\t\tCreateRule and UpdateRule.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tCreateWebACL
request.
Submit a CreateWebACL
request.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateWebACL request.
Submit an UpdateWebACL request to specify the Rules
that you want to include in the WebACL
, \n\t\t\t\tto specify the default action, and to associate the WebACL
with a CloudFront distribution.
For more information about how to use the AWS WAF API, see the AWS WAF Developer Guide.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nCreates a WebACL
, which contains the Rules
that identify the CloudFront web requests that you want to allow, block, or count. \n\t\t\tAWS WAF evaluates Rules
in order based on the value of Priority
for each Rule
.
You also specify a default action, either ALLOW
or BLOCK
. If a web request doesn't match \n\t\t\tany of the Rules
in a WebACL
, AWS WAF responds to the request with the default action.
To create and configure a WebACL
, perform the following steps:
Create and update the ByteMatchSet
objects and other predicates that you want to include in Rules
. \n\t\t\t\tFor more information, see CreateByteMatchSet, UpdateByteMatchSet, CreateIPSet, UpdateIPSet, \n\t\t\t\tCreateSqlInjectionMatchSet, and UpdateSqlInjectionMatchSet.
Create and update the Rules
that you want to include in the WebACL
. For more information, see \n\t\t\t\tCreateRule and UpdateRule.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tCreateWebACL
request.
Submit a CreateWebACL
request.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateWebACL request.
Submit an UpdateWebACL request to specify the Rules
that you want to include in the WebACL
, \n\t\t\t\tto specify the default action, and to associate the WebACL
with a CloudFront distribution.
For more information about how to use the AWS WAF API, see the AWS WAF Developer Guide.
", + "smithy.api#examples": [ + { + "title": "To create a web ACL", + "documentation": "The following example creates a web ACL named CreateExample.", + "input": { + "Name": "CreateExample", + "MetricName": "CreateExample", + "DefaultAction": { + "Type": "ALLOW" + }, + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + }, + "output": { + "WebACL": { + "DefaultAction": { + "Type": "ALLOW" + }, + "MetricName": "CreateExample", + "Name": "CreateExample", + "Rules": [ + { + "Action": { + "Type": "ALLOW" + }, + "Priority": 1, + "RuleId": "WAFRule-1-Example" + } + ], + "WebACLId": "example-46da-4444-5555-example" + }, + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + } + } + ] } }, "com.amazonaws.wafregional#CreateWebACLMigrationStack": { @@ -3158,6 +2891,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.wafregional#CreateWebACLMigrationStackResponse": { @@ -3170,6 +2906,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.wafregional#CreateWebACLRequest": { @@ -3209,6 +2948,9 @@ "smithy.api#documentation": "" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.wafregional#CreateWebACLResponse": { @@ -3226,6 +2968,9 @@ "smithy.api#documentation": "The ChangeToken
that you used to submit the CreateWebACL
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nCreates an XssMatchSet, which you use to allow, block, or count requests that contain cross-site scripting attacks\n\t\t\tin the specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings.
\n\t\tTo create and configure an XssMatchSet
, perform the following steps:
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tCreateXssMatchSet
request.
Submit a CreateXssMatchSet
request.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateXssMatchSet request.
Submit an UpdateXssMatchSet request to specify the parts of web requests in which you want to \n\t\t\t\tallow, block, or count cross-site scripting attacks.
\nFor more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nCreates an XssMatchSet, which you use to allow, block, or count requests that contain cross-site scripting attacks\n\t\t\tin the specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings.
\n\t\tTo create and configure an XssMatchSet
, perform the following steps:
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tCreateXssMatchSet
request.
Submit a CreateXssMatchSet
request.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateXssMatchSet request.
Submit an UpdateXssMatchSet request to specify the parts of web requests in which you want to \n\t\t\t\tallow, block, or count cross-site scripting attacks.
\nFor more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
", + "smithy.api#examples": [ + { + "title": "To create an XSS match set", + "documentation": "The following example creates an XSS match set named MySampleXssMatchSet.", + "input": { + "Name": "MySampleXssMatchSet", + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + }, + "output": { + "XssMatchSet": { + "Name": "MySampleXssMatchSet", + "XssMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", + "XssMatchTuples": [ + { + "FieldToMatch": { + "Type": "QUERY_STRING" + }, + "TextTransformation": "URL_DECODE" + } + ] + }, + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + } + } + ] } }, "com.amazonaws.wafregional#CreateXssMatchSetRequest": { @@ -3279,7 +3049,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to create an XssMatchSet.
" + "smithy.api#documentation": "A request to create an XssMatchSet.
", + "smithy.api#input": {} } }, "com.amazonaws.wafregional#CreateXssMatchSetResponse": { @@ -3299,7 +3070,8 @@ } }, "traits": { - "smithy.api#documentation": "The response to a CreateXssMatchSet
request.
The response to a CreateXssMatchSet
request.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes a ByteMatchSet. You can't delete a ByteMatchSet
if it's still used in any Rules
\n\t\t\tor if it still includes any ByteMatchTuple objects (any filters).
If you just want to remove a ByteMatchSet
from a Rule
, use UpdateRule.
To permanently delete a ByteMatchSet
, perform the following steps:
Update the ByteMatchSet
to remove filters, if any. For more information, see UpdateByteMatchSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteByteMatchSet
request.
Submit a DeleteByteMatchSet
request.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes a ByteMatchSet. You can't delete a ByteMatchSet
if it's still used in any Rules
\n\t\t\tor if it still includes any ByteMatchTuple objects (any filters).
If you just want to remove a ByteMatchSet
from a Rule
, use UpdateRule.
To permanently delete a ByteMatchSet
, perform the following steps:
Update the ByteMatchSet
to remove filters, if any. For more information, see UpdateByteMatchSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteByteMatchSet
request.
Submit a DeleteByteMatchSet
request.
The ChangeToken
that you used to submit the DeleteByteMatchSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the DeleteGeoMatchSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes an IPSet. You can't delete an IPSet
if it's still used in any Rules
or \n\t\t\tif it still includes any IP addresses.
If you just want to remove an IPSet
from a Rule
, use UpdateRule.
To permanently delete an IPSet
from AWS WAF, perform the following steps:
Update the IPSet
to remove IP address ranges, if any. For more information, see UpdateIPSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteIPSet
request.
Submit a DeleteIPSet
request.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes an IPSet. You can't delete an IPSet
if it's still used in any Rules
or \n\t\t\tif it still includes any IP addresses.
If you just want to remove an IPSet
from a Rule
, use UpdateRule.
To permanently delete an IPSet
from AWS WAF, perform the following steps:
Update the IPSet
to remove IP address ranges, if any. For more information, see UpdateIPSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteIPSet
request.
Submit a DeleteIPSet
request.
The ChangeToken
that you used to submit the DeleteIPSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the\n DeleteRateBasedRule
request. You can also use this value to query the\n status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the DeleteRegexMatchSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the DeleteRegexPatternSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes a Rule. You can't delete a Rule
if it's still used in any WebACL
\n\t\t\tobjects or if it still includes any predicates, such as ByteMatchSet
objects.
If you just want to remove a Rule
from a WebACL
, use UpdateWebACL.
To permanently delete a Rule
from AWS WAF, perform the following steps:
Update the Rule
to remove predicates, if any. For more information, see UpdateRule.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteRule
request.
Submit a DeleteRule
request.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes a Rule. You can't delete a Rule
if it's still used in any WebACL
\n\t\t\tobjects or if it still includes any predicates, such as ByteMatchSet
objects.
If you just want to remove a Rule
from a WebACL
, use UpdateWebACL.
To permanently delete a Rule
from AWS WAF, perform the following steps:
Update the Rule
to remove predicates, if any. For more information, see UpdateRule.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteRule
request.
Submit a DeleteRule
request.
The ChangeToken
that you used to submit the DeleteRuleGroup
request. You can also use this value \n to query the status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the DeleteRule
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes a SizeConstraintSet. You can't delete a SizeConstraintSet
if it's still used in any Rules
\n\t\t\tor if it still includes any SizeConstraint objects (any filters).
If you just want to remove a SizeConstraintSet
from a Rule
, use UpdateRule.
To permanently delete a SizeConstraintSet
, perform the following steps:
Update the SizeConstraintSet
to remove filters, if any. For more information, see UpdateSizeConstraintSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteSizeConstraintSet
request.
Submit a DeleteSizeConstraintSet
request.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes a SizeConstraintSet. You can't delete a SizeConstraintSet
if it's still used in any Rules
\n\t\t\tor if it still includes any SizeConstraint objects (any filters).
If you just want to remove a SizeConstraintSet
from a Rule
, use UpdateRule.
To permanently delete a SizeConstraintSet
, perform the following steps:
Update the SizeConstraintSet
to remove filters, if any. For more information, see UpdateSizeConstraintSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteSizeConstraintSet
request.
Submit a DeleteSizeConstraintSet
request.
The ChangeToken
that you used to submit the DeleteSizeConstraintSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes a SqlInjectionMatchSet. You can't delete a SqlInjectionMatchSet
if it's \n\t\t\tstill used in any Rules
or if it still contains any SqlInjectionMatchTuple objects.
If you just want to remove a SqlInjectionMatchSet
from a Rule
, use UpdateRule.
To permanently delete a SqlInjectionMatchSet
from AWS WAF, perform the following steps:
Update the SqlInjectionMatchSet
to remove filters, if any. For more information, see \n\t\t\t\tUpdateSqlInjectionMatchSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteSqlInjectionMatchSet
request.
Submit a DeleteSqlInjectionMatchSet
request.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes a SqlInjectionMatchSet. You can't delete a SqlInjectionMatchSet
if it's \n\t\t\tstill used in any Rules
or if it still contains any SqlInjectionMatchTuple objects.
If you just want to remove a SqlInjectionMatchSet
from a Rule
, use UpdateRule.
To permanently delete a SqlInjectionMatchSet
from AWS WAF, perform the following steps:
Update the SqlInjectionMatchSet
to remove filters, if any. For more information, see \n\t\t\t\tUpdateSqlInjectionMatchSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteSqlInjectionMatchSet
request.
Submit a DeleteSqlInjectionMatchSet
request.
A request to delete a SqlInjectionMatchSet from AWS WAF.
" + "smithy.api#documentation": "A request to delete a SqlInjectionMatchSet from AWS WAF.
", + "smithy.api#input": {} } }, "com.amazonaws.wafregional#DeleteSqlInjectionMatchSetResponse": { @@ -4021,7 +3925,8 @@ } }, "traits": { - "smithy.api#documentation": "The response to a request to delete a SqlInjectionMatchSet from AWS WAF.
" + "smithy.api#documentation": "The response to a request to delete a SqlInjectionMatchSet from AWS WAF.
", + "smithy.api#output": {} } }, "com.amazonaws.wafregional#DeleteWebACL": { @@ -4059,7 +3964,20 @@ } ], "traits": { - "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes a WebACL. You can't delete a WebACL
if it still contains any Rules
.
To delete a WebACL
, perform the following steps:
Update the WebACL
to remove Rules
, if any. For more information, see UpdateWebACL.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteWebACL
request.
Submit a DeleteWebACL
request.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes a WebACL. You can't delete a WebACL
if it still contains any Rules
.
To delete a WebACL
, perform the following steps:
Update the WebACL
to remove Rules
, if any. For more information, see UpdateWebACL.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteWebACL
request.
Submit a DeleteWebACL
request.
The ChangeToken
that you used to submit the DeleteWebACL
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes an XssMatchSet. You can't delete an XssMatchSet
if it's \n\t\t\tstill used in any Rules
or if it still contains any XssMatchTuple objects.
If you just want to remove an XssMatchSet
from a Rule
, use UpdateRule.
To permanently delete an XssMatchSet
from AWS WAF, perform the following steps:
Update the XssMatchSet
to remove filters, if any. For more information, see \n\t\t\t\tUpdateXssMatchSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteXssMatchSet
request.
Submit a DeleteXssMatchSet
request.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes an XssMatchSet. You can't delete an XssMatchSet
if it's \n\t\t\tstill used in any Rules
or if it still contains any XssMatchTuple objects.
If you just want to remove an XssMatchSet
from a Rule
, use UpdateRule.
To permanently delete an XssMatchSet
from AWS WAF, perform the following steps:
Update the XssMatchSet
to remove filters, if any. For more information, see \n\t\t\t\tUpdateXssMatchSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteXssMatchSet
request.
Submit a DeleteXssMatchSet
request.
A request to delete an XssMatchSet from AWS WAF.
" + "smithy.api#documentation": "A request to delete an XssMatchSet from AWS WAF.
", + "smithy.api#input": {} } }, "com.amazonaws.wafregional#DeleteXssMatchSetResponse": { @@ -4157,7 +4095,8 @@ } }, "traits": { - "smithy.api#documentation": "The response to a request to delete an XssMatchSet from AWS WAF.
" + "smithy.api#documentation": "The response to a request to delete an XssMatchSet from AWS WAF.
", + "smithy.api#output": {} } }, "com.amazonaws.wafregional#DisassociateWebACL": { @@ -4196,11 +4135,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.wafregional#DisassociateWebACLResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.wafregional#ErrorReason": { "type": "string" @@ -4270,1017 +4215,1513 @@ } }, "com.amazonaws.wafregional#GeoMatchConstraintType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Country", - "name": "Country" + "type": "enum", + "members": { + "Country": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Country" } - ] + } } }, "com.amazonaws.wafregional#GeoMatchConstraintValue": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AF", - "name": "AF" - }, - { - "value": "AX", - "name": "AX" - }, - { - "value": "AL", - "name": "AL" - }, - { - "value": "DZ", - "name": "DZ" - }, - { - "value": "AS", - "name": "AS" - }, - { - "value": "AD", - "name": "AD" - }, - { - "value": "AO", - "name": "AO" - }, - { - "value": "AI", - "name": "AI" - }, - { - "value": "AQ", - "name": "AQ" - }, - { - "value": "AG", - "name": "AG" - }, - { - "value": "AR", - "name": "AR" - }, - { - "value": "AM", - "name": "AM" - }, - { - "value": "AW", - "name": "AW" - }, - { - "value": "AU", - "name": "AU" - }, - { - "value": "AT", - "name": "AT" - }, - { - "value": "AZ", - "name": "AZ" - }, - { - "value": "BS", - "name": "BS" - }, - { - "value": "BH", - "name": "BH" - }, - { - "value": "BD", - "name": "BD" - }, - { - "value": "BB", - "name": "BB" - }, - { - "value": "BY", - "name": "BY" - }, - { - "value": "BE", - "name": "BE" - }, - { - "value": "BZ", - "name": "BZ" - }, - { - "value": "BJ", - "name": "BJ" - }, - { - "value": "BM", - "name": "BM" - }, - { - "value": "BT", - "name": "BT" - }, - { - "value": "BO", - "name": "BO" - }, - { - "value": "BQ", - "name": "BQ" - }, - { - "value": "BA", - "name": "BA" - }, - { - "value": "BW", - "name": "BW" - }, - { - "value": "BV", - "name": "BV" - }, - { - "value": "BR", - "name": "BR" - }, - { - "value": "IO", - "name": "IO" - }, - { - "value": "BN", - "name": "BN" - }, - { - "value": "BG", - "name": "BG" - }, - { - "value": "BF", - "name": "BF" - }, - { - "value": "BI", - "name": "BI" - }, - { - "value": "KH", - "name": "KH" - }, - { - "value": "CM", - "name": "CM" - }, - { - "value": "CA", - "name": "CA" - }, - { - "value": "CV", - "name": "CV" - }, - { - "value": "KY", - "name": "KY" - }, - { - "value": "CF", - "name": "CF" - }, - { - "value": "TD", - "name": "TD" - }, - { - "value": "CL", - "name": "CL" - }, - { - "value": "CN", - "name": "CN" - }, - { - "value": "CX", - "name": "CX" - }, - { - "value": "CC", - "name": "CC" - }, - { - "value": "CO", - "name": "CO" - }, - { - "value": "KM", - "name": "KM" - }, - { - "value": "CG", - "name": "CG" - }, - { - "value": "CD", - "name": "CD" - }, - { - "value": "CK", - "name": "CK" - }, - { - "value": "CR", - "name": "CR" - }, - { - "value": "CI", - "name": "CI" - }, - { - "value": "HR", - "name": "HR" - }, - { - "value": "CU", - "name": "CU" - }, - { - "value": "CW", - "name": "CW" - }, - { - "value": "CY", - "name": "CY" - }, - { - "value": "CZ", - "name": "CZ" - }, - { - "value": "DK", - "name": "DK" - }, - { - "value": "DJ", - "name": "DJ" - }, - { - "value": "DM", - "name": "DM" - }, - { - "value": "DO", - "name": "DO" - }, - { - "value": "EC", - "name": "EC" - }, - { - "value": "EG", - "name": "EG" - }, - { - "value": "SV", - "name": "SV" - }, - { - "value": "GQ", - "name": "GQ" - }, - { - "value": "ER", - "name": "ER" - }, - { - "value": "EE", - "name": "EE" - }, - { - "value": "ET", - "name": "ET" - }, - { - "value": "FK", - "name": "FK" - }, - { - "value": "FO", - "name": "FO" - }, - { - "value": "FJ", - "name": "FJ" - }, - { - "value": "FI", - "name": "FI" - }, - { - "value": "FR", - "name": "FR" - }, - { - "value": "GF", - "name": "GF" - }, - { - "value": "PF", - "name": "PF" - }, - { - "value": "TF", - "name": "TF" - }, - { - "value": "GA", - "name": "GA" - }, - { - "value": "GM", - "name": "GM" - }, - { - "value": "GE", - "name": "GE" - }, - { - "value": "DE", - "name": "DE" - }, - { - "value": "GH", - "name": "GH" - }, - { - "value": "GI", - "name": "GI" - }, - { - "value": "GR", - "name": "GR" - }, - { - "value": "GL", - "name": "GL" - }, - { - "value": "GD", - "name": "GD" - }, - { - "value": "GP", - "name": "GP" - }, - { - "value": "GU", - "name": "GU" - }, - { - "value": "GT", - "name": "GT" - }, - { - "value": "GG", - "name": "GG" - }, - { - "value": "GN", - "name": "GN" - }, - { - "value": "GW", - "name": "GW" - }, - { - "value": "GY", - "name": "GY" - }, - { - "value": "HT", - "name": "HT" - }, - { - "value": "HM", - "name": "HM" - }, - { - "value": "VA", - "name": "VA" - }, - { - "value": "HN", - "name": "HN" - }, - { - "value": "HK", - "name": "HK" - }, - { - "value": "HU", - "name": "HU" - }, - { - "value": "IS", - "name": "IS" - }, - { - "value": "IN", - "name": "IN" - }, - { - "value": "ID", - "name": "ID" - }, - { - "value": "IR", - "name": "IR" - }, - { - "value": "IQ", - "name": "IQ" - }, - { - "value": "IE", - "name": "IE" - }, - { - "value": "IM", - "name": "IM" - }, - { - "value": "IL", - "name": "IL" - }, - { - "value": "IT", - "name": "IT" - }, - { - "value": "JM", - "name": "JM" - }, - { - "value": "JP", - "name": "JP" - }, - { - "value": "JE", - "name": "JE" - }, - { - "value": "JO", - "name": "JO" - }, - { - "value": "KZ", - "name": "KZ" - }, - { - "value": "KE", - "name": "KE" - }, - { - "value": "KI", - "name": "KI" - }, - { - "value": "KP", - "name": "KP" - }, - { - "value": "KR", - "name": "KR" - }, - { - "value": "KW", - "name": "KW" - }, - { - "value": "KG", - "name": "KG" - }, - { - "value": "LA", - "name": "LA" - }, - { - "value": "LV", - "name": "LV" - }, - { - "value": "LB", - "name": "LB" - }, - { - "value": "LS", - "name": "LS" - }, - { - "value": "LR", - "name": "LR" - }, - { - "value": "LY", - "name": "LY" - }, - { - "value": "LI", - "name": "LI" - }, - { - "value": "LT", - "name": "LT" - }, - { - "value": "LU", - "name": "LU" - }, - { - "value": "MO", - "name": "MO" - }, - { - "value": "MK", - "name": "MK" - }, - { - "value": "MG", - "name": "MG" - }, - { - "value": "MW", - "name": "MW" - }, - { - "value": "MY", - "name": "MY" - }, - { - "value": "MV", - "name": "MV" - }, - { - "value": "ML", - "name": "ML" - }, - { - "value": "MT", - "name": "MT" - }, - { - "value": "MH", - "name": "MH" - }, - { - "value": "MQ", - "name": "MQ" - }, - { - "value": "MR", - "name": "MR" - }, - { - "value": "MU", - "name": "MU" - }, - { - "value": "YT", - "name": "YT" - }, - { - "value": "MX", - "name": "MX" - }, - { - "value": "FM", - "name": "FM" - }, - { - "value": "MD", - "name": "MD" - }, - { - "value": "MC", - "name": "MC" - }, - { - "value": "MN", - "name": "MN" - }, - { - "value": "ME", - "name": "ME" - }, - { - "value": "MS", - "name": "MS" - }, - { - "value": "MA", - "name": "MA" - }, - { - "value": "MZ", - "name": "MZ" - }, - { - "value": "MM", - "name": "MM" - }, - { - "value": "NA", - "name": "NA" - }, - { - "value": "NR", - "name": "NR" - }, - { - "value": "NP", - "name": "NP" - }, - { - "value": "NL", - "name": "NL" - }, - { - "value": "NC", - "name": "NC" - }, - { - "value": "NZ", - "name": "NZ" - }, - { - "value": "NI", - "name": "NI" - }, - { - "value": "NE", - "name": "NE" - }, - { - "value": "NG", - "name": "NG" - }, - { - "value": "NU", - "name": "NU" - }, - { - "value": "NF", - "name": "NF" - }, - { - "value": "MP", - "name": "MP" - }, - { - "value": "NO", - "name": "NO" - }, - { - "value": "OM", - "name": "OM" - }, - { - "value": "PK", - "name": "PK" - }, - { - "value": "PW", - "name": "PW" - }, - { - "value": "PS", - "name": "PS" - }, - { - "value": "PA", - "name": "PA" - }, - { - "value": "PG", - "name": "PG" - }, - { - "value": "PY", - "name": "PY" - }, - { - "value": "PE", - "name": "PE" - }, - { - "value": "PH", - "name": "PH" - }, - { - "value": "PN", - "name": "PN" - }, - { - "value": "PL", - "name": "PL" - }, - { - "value": "PT", - "name": "PT" - }, - { - "value": "PR", - "name": "PR" - }, - { - "value": "QA", - "name": "QA" - }, - { - "value": "RE", - "name": "RE" - }, - { - "value": "RO", - "name": "RO" - }, - { - "value": "RU", - "name": "RU" - }, - { - "value": "RW", - "name": "RW" - }, - { - "value": "BL", - "name": "BL" - }, - { - "value": "SH", - "name": "SH" - }, - { - "value": "KN", - "name": "KN" - }, - { - "value": "LC", - "name": "LC" - }, - { - "value": "MF", - "name": "MF" - }, - { - "value": "PM", - "name": "PM" - }, - { - "value": "VC", - "name": "VC" - }, - { - "value": "WS", - "name": "WS" - }, - { - "value": "SM", - "name": "SM" - }, - { - "value": "ST", - "name": "ST" - }, - { - "value": "SA", - "name": "SA" - }, - { - "value": "SN", - "name": "SN" - }, - { - "value": "RS", - "name": "RS" - }, - { - "value": "SC", - "name": "SC" - }, - { - "value": "SL", - "name": "SL" - }, - { - "value": "SG", - "name": "SG" - }, - { - "value": "SX", - "name": "SX" - }, - { - "value": "SK", - "name": "SK" - }, - { - "value": "SI", - "name": "SI" - }, - { - "value": "SB", - "name": "SB" - }, - { - "value": "SO", - "name": "SO" - }, - { - "value": "ZA", - "name": "ZA" - }, - { - "value": "GS", - "name": "GS" - }, - { - "value": "SS", - "name": "SS" - }, - { - "value": "ES", - "name": "ES" - }, - { - "value": "LK", - "name": "LK" - }, - { - "value": "SD", - "name": "SD" - }, - { - "value": "SR", - "name": "SR" - }, - { - "value": "SJ", - "name": "SJ" - }, - { - "value": "SZ", - "name": "SZ" - }, - { - "value": "SE", - "name": "SE" - }, - { - "value": "CH", - "name": "CH" - }, - { - "value": "SY", - "name": "SY" - }, - { - "value": "TW", - "name": "TW" - }, - { - "value": "TJ", - "name": "TJ" - }, - { - "value": "TZ", - "name": "TZ" - }, - { - "value": "TH", - "name": "TH" - }, - { - "value": "TL", - "name": "TL" - }, - { - "value": "TG", - "name": "TG" - }, - { - "value": "TK", - "name": "TK" - }, - { - "value": "TO", - "name": "TO" - }, - { - "value": "TT", - "name": "TT" - }, - { - "value": "TN", - "name": "TN" - }, - { - "value": "TR", - "name": "TR" - }, - { - "value": "TM", - "name": "TM" - }, - { - "value": "TC", - "name": "TC" - }, - { - "value": "TV", - "name": "TV" - }, - { - "value": "UG", - "name": "UG" - }, - { - "value": "UA", - "name": "UA" - }, - { - "value": "AE", - "name": "AE" - }, - { - "value": "GB", - "name": "GB" - }, - { - "value": "US", - "name": "US" - }, - { - "value": "UM", - "name": "UM" - }, - { - "value": "UY", - "name": "UY" - }, - { - "value": "UZ", - "name": "UZ" - }, - { - "value": "VU", - "name": "VU" - }, - { - "value": "VE", - "name": "VE" - }, - { - "value": "VN", - "name": "VN" - }, - { - "value": "VG", - "name": "VG" - }, - { - "value": "VI", - "name": "VI" - }, - { - "value": "WF", - "name": "WF" - }, - { - "value": "EH", - "name": "EH" - }, - { - "value": "YE", - "name": "YE" - }, - { - "value": "ZM", - "name": "ZM" - }, - { - "value": "ZW", - "name": "ZW" + "type": "enum", + "members": { + "AF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AF" + } + }, + "AX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AX" + } + }, + "AL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AL" + } + }, + "DZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DZ" + } + }, + "AS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AS" + } + }, + "AD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AD" + } + }, + "AO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AO" + } + }, + "AI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AI" + } + }, + "AQ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AQ" + } + }, + "AG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AG" + } + }, + "AR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AR" + } + }, + "AM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AM" + } + }, + "AW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AW" + } + }, + "AU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AU" + } + }, + "AT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AT" + } + }, + "AZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AZ" + } + }, + "BS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BS" + } + }, + "BH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BH" + } + }, + "BD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BD" + } + }, + "BB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BB" + } + }, + "BY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BY" + } + }, + "BE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BE" + } + }, + "BZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BZ" + } + }, + "BJ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BJ" + } + }, + "BM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BM" + } + }, + "BT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BT" + } + }, + "BO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BO" + } + }, + "BQ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BQ" + } + }, + "BA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BA" + } + }, + "BW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BW" + } + }, + "BV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BV" + } + }, + "BR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BR" + } + }, + "IO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IO" + } + }, + "BN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BN" + } + }, + "BG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BG" + } + }, + "BF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BF" + } + }, + "BI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BI" + } + }, + "KH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KH" + } + }, + "CM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CM" + } + }, + "CA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CA" + } + }, + "CV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CV" + } + }, + "KY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KY" + } + }, + "CF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CF" + } + }, + "TD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TD" + } + }, + "CL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CL" + } + }, + "CN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CN" + } + }, + "CX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CX" + } + }, + "CC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CC" + } + }, + "CO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CO" + } + }, + "KM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KM" + } + }, + "CG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CG" + } + }, + "CD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CD" + } + }, + "CK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CK" + } + }, + "CR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CR" + } + }, + "CI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CI" + } + }, + "HR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HR" + } + }, + "CU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CU" + } + }, + "CW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CW" + } + }, + "CY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CY" + } + }, + "CZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CZ" + } + }, + "DK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DK" + } + }, + "DJ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DJ" + } + }, + "DM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DM" + } + }, + "DO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DO" + } + }, + "EC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EC" + } + }, + "EG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EG" + } + }, + "SV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SV" + } + }, + "GQ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GQ" + } + }, + "ER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ER" + } + }, + "EE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EE" + } + }, + "ET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ET" + } + }, + "FK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FK" + } + }, + "FO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FO" + } + }, + "FJ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FJ" + } + }, + "FI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FI" + } + }, + "FR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FR" + } + }, + "GF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GF" + } + }, + "PF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PF" + } + }, + "TF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TF" + } + }, + "GA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GA" + } + }, + "GM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GM" + } + }, + "GE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GE" + } + }, + "DE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DE" + } + }, + "GH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GH" + } + }, + "GI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GI" + } + }, + "GR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GR" + } + }, + "GL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GL" + } + }, + "GD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GD" + } + }, + "GP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GP" + } + }, + "GU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GU" + } + }, + "GT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GT" + } + }, + "GG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GG" + } + }, + "GN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GN" + } + }, + "GW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GW" + } + }, + "GY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GY" + } + }, + "HT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HT" + } + }, + "HM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HM" + } + }, + "VA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VA" + } + }, + "HN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HN" + } + }, + "HK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HK" + } + }, + "HU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HU" + } + }, + "IS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IS" + } + }, + "IN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN" + } + }, + "ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ID" + } + }, + "IR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IR" + } + }, + "IQ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IQ" + } + }, + "IE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IE" + } + }, + "IM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IM" + } + }, + "IL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IL" + } + }, + "IT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IT" + } + }, + "JM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JM" + } + }, + "JP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JP" + } + }, + "JE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JE" + } + }, + "JO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JO" + } + }, + "KZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KZ" + } + }, + "KE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KE" + } + }, + "KI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KI" + } + }, + "KP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KP" + } + }, + "KR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KR" + } + }, + "KW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KW" + } + }, + "KG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KG" + } + }, + "LA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LA" + } + }, + "LV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LV" + } + }, + "LB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LB" + } + }, + "LS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LS" + } + }, + "LR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LR" + } + }, + "LY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LY" + } + }, + "LI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LI" + } + }, + "LT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LT" + } + }, + "LU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LU" + } + }, + "MO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MO" + } + }, + "MK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MK" + } + }, + "MG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MG" + } + }, + "MW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MW" + } + }, + "MY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MY" + } + }, + "MV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MV" + } + }, + "ML": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ML" + } + }, + "MT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MT" + } + }, + "MH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MH" + } + }, + "MQ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MQ" + } + }, + "MR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MR" + } + }, + "MU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MU" + } + }, + "YT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "YT" + } + }, + "MX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MX" + } + }, + "FM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FM" + } + }, + "MD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MD" + } + }, + "MC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MC" + } + }, + "MN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MN" + } + }, + "ME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ME" + } + }, + "MS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MS" + } + }, + "MA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MA" + } + }, + "MZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MZ" + } + }, + "MM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MM" + } + }, + "NA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NA" + } + }, + "NR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NR" + } + }, + "NP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NP" + } + }, + "NL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NL" + } + }, + "NC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NC" + } + }, + "NZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NZ" + } + }, + "NI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NI" + } + }, + "NE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NE" + } + }, + "NG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NG" + } + }, + "NU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NU" + } + }, + "NF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NF" + } + }, + "MP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MP" + } + }, + "NO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NO" + } + }, + "OM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OM" + } + }, + "PK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PK" + } + }, + "PW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PW" + } + }, + "PS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PS" + } + }, + "PA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PA" + } + }, + "PG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PG" + } + }, + "PY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PY" + } + }, + "PE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PE" + } + }, + "PH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PH" + } + }, + "PN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PN" + } + }, + "PL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PL" + } + }, + "PT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PT" + } + }, + "PR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PR" + } + }, + "QA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QA" + } + }, + "RE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RE" + } + }, + "RO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RO" + } + }, + "RU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RU" + } + }, + "RW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RW" + } + }, + "BL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BL" + } + }, + "SH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SH" + } + }, + "KN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KN" + } + }, + "LC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LC" + } + }, + "MF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MF" + } + }, + "PM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PM" + } + }, + "VC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VC" + } + }, + "WS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WS" + } + }, + "SM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SM" + } + }, + "ST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ST" + } + }, + "SA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SA" + } + }, + "SN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SN" + } + }, + "RS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RS" + } + }, + "SC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SC" + } + }, + "SL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SL" + } + }, + "SG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SG" + } + }, + "SX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SX" + } + }, + "SK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SK" + } + }, + "SI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SI" + } + }, + "SB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SB" + } + }, + "SO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SO" + } + }, + "ZA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ZA" + } + }, + "GS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GS" + } + }, + "SS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SS" + } + }, + "ES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ES" + } + }, + "LK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LK" + } + }, + "SD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SD" + } + }, + "SR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SR" + } + }, + "SJ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SJ" + } + }, + "SZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SZ" + } + }, + "SE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SE" + } + }, + "CH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CH" + } + }, + "SY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SY" + } + }, + "TW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TW" + } + }, + "TJ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TJ" + } + }, + "TZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TZ" + } + }, + "TH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TH" + } + }, + "TL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TL" + } + }, + "TG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TG" + } + }, + "TK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TK" + } + }, + "TO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TO" + } + }, + "TT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TT" + } + }, + "TN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TN" + } + }, + "TR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TR" + } + }, + "TM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TM" + } + }, + "TC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TC" + } + }, + "TV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TV" + } + }, + "UG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UG" + } + }, + "UA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UA" } - ] + }, + "AE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AE" + } + }, + "GB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GB" + } + }, + "US": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "US" + } + }, + "UM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UM" + } + }, + "UY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UY" + } + }, + "UZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UZ" + } + }, + "VU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VU" + } + }, + "VE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VE" + } + }, + "VN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VN" + } + }, + "VG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VG" + } + }, + "VI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VI" + } + }, + "WF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WF" + } + }, + "EH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EH" + } + }, + "YE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "YE" + } + }, + "ZM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ZM" + } + }, + "ZW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ZW" + } + } } }, "com.amazonaws.wafregional#GeoMatchConstraints": { @@ -5398,7 +5839,33 @@ } ], "traits": { - "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the ByteMatchSet specified by ByteMatchSetId
.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the ByteMatchSet specified by ByteMatchSetId
.
Information about the ByteMatchSet that you specified in the GetByteMatchSet
request. For more information, see the \n\t\t\tfollowing topics:
\n ByteMatchSet: Contains ByteMatchSetId
, ByteMatchTuples
, and Name
\n
\n ByteMatchTuples
: Contains an array of ByteMatchTuple objects. Each ByteMatchTuple
\n\t\t\t\tobject contains FieldToMatch, PositionalConstraint
, TargetString
, \n\t\t\t\tand TextTransformation
\n
\n FieldToMatch: Contains Data
and Type
\n
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nWhen you want to create, update, or delete AWS WAF objects, get a change token and include the change token in the create, update, or delete request. Change tokens ensure that your application doesn't submit conflicting requests to AWS WAF.
\n\t\tEach create, update, or delete request must use a unique change token. If your application submits a GetChangeToken
request \n\t\t\tand then submits a second GetChangeToken
request before submitting a create, update, or delete request, the second \n\t\t\tGetChangeToken
request returns the same value as the first GetChangeToken
request.
When you use a change token in a create, update, or delete request, the status of the change token changes to PENDING
, \n\t\t\twhich indicates that AWS WAF is propagating the change to all AWS WAF servers. Use GetChangeTokenStatus
to determine the \n\t\t\tstatus of your change token.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nWhen you want to create, update, or delete AWS WAF objects, get a change token and include the change token in the create, update, or delete request. Change tokens ensure that your application doesn't submit conflicting requests to AWS WAF.
\n\t\tEach create, update, or delete request must use a unique change token. If your application submits a GetChangeToken
request \n\t\t\tand then submits a second GetChangeToken
request before submitting a create, update, or delete request, the second \n\t\t\tGetChangeToken
request returns the same value as the first GetChangeToken
request.
When you use a change token in a create, update, or delete request, the status of the change token changes to PENDING
, \n\t\t\twhich indicates that AWS WAF is propagating the change to all AWS WAF servers. Use GetChangeTokenStatus
to determine the \n\t\t\tstatus of your change token.
The ChangeToken
that you used in the request. Use this value in a GetChangeTokenStatus
request \n\t\t\tto get the current status of the request.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the status of a ChangeToken
that you got by calling GetChangeToken. ChangeTokenStatus
is \n\t\t\tone of the following values:
\n PROVISIONED
: You requested the change token by calling GetChangeToken
, but you haven't used it yet \n\t\t\t\tin a call to create, update, or delete an AWS WAF object.
\n PENDING
: AWS WAF is propagating the create, update, or delete request to all AWS WAF servers.
\n INSYNC
: Propagation is complete.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the status of a ChangeToken
that you got by calling GetChangeToken. ChangeTokenStatus
is \n\t\t\tone of the following values:
\n PROVISIONED
: You requested the change token by calling GetChangeToken
, but you haven't used it yet \n\t\t\t\tin a call to create, update, or delete an AWS WAF object.
\n PENDING
: AWS WAF is propagating the create, update, or delete request to all AWS WAF servers.
\n INSYNC
: Propagation is complete.
The status of the change token.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.wafregional#GetGeoMatchSet": { @@ -5532,6 +6038,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.wafregional#GetGeoMatchSetResponse": { @@ -5543,6 +6052,9 @@ "smithy.api#documentation": "Information about the GeoMatchSet that you specified in the GetGeoMatchSet
request. This includes the Type
, which for a GeoMatchContraint
is always Country
, as well as the Value
, which is the identifier for a specific country.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the IPSet that is specified by IPSetId
.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the IPSet that is specified by IPSetId
.
Information about the IPSet that you specified in the GetIPSet
request. For more information, see the \n\t\t\tfollowing topics:
\n IPSet: Contains IPSetDescriptors
, IPSetId
, and Name
\n
\n IPSetDescriptors
: Contains an array of IPSetDescriptor objects. Each IPSetDescriptor
\n\t\t\t\tobject contains Type
and Value
\n
The LoggingConfiguration for the specified web ACL.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.wafregional#GetPermissionPolicy": { @@ -5664,6 +6209,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.wafregional#GetPermissionPolicyResponse": { @@ -5675,6 +6223,9 @@ "smithy.api#documentation": "The IAM policy attached to the specified RuleGroup.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.wafregional#GetRateBasedRule": { @@ -5742,6 +6293,9 @@ "smithy.api#documentation": "A null value and not currently used. Do not include this in your request.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.wafregional#GetRateBasedRuleManagedKeysResponse": { @@ -5759,6 +6313,9 @@ "smithy.api#documentation": "A null value and not currently used.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.wafregional#GetRateBasedRuleRequest": { @@ -5771,6 +6328,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.wafregional#GetRateBasedRuleResponse": { @@ -5782,6 +6342,9 @@ "smithy.api#documentation": "Information about the RateBasedRule that you specified in the\n GetRateBasedRule
request.
Information about the RegexMatchSet that you specified in the GetRegexMatchSet
request. For more information, see RegexMatchTuple.
Information about the RegexPatternSet that you specified in the GetRegexPatternSet
request, including the identifier of the pattern set and the regular expression patterns you want AWS WAF to search for.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the Rule that is specified by the RuleId
that you included in the GetRule
request.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the Rule that is specified by the RuleId
that you included in the GetRule
request.
Information about the RuleGroup that you specified in the GetRuleGroup
request.
Information about the Rule that you specified in the GetRule
request. \n\t\t\tFor more information, see the following topics:
\n Rule: Contains MetricName
, Name
, an array of Predicate
objects, \n\t\t\t\tand RuleId
\n
\n Predicate: Each Predicate
object contains DataId
, Negated
, and \n\t\t\t\tType
\n
Usually, TimeWindow
is the time range that you specified in the GetSampledRequests
request. However, \n\t\t\tif your AWS resource received more than 5,000 requests during the time range that you specified in the request, \n\t\t\tGetSampledRequests
returns the time range for the first 5,000 requests. Times are in Coordinated Universal Time (UTC) format.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the SizeConstraintSet specified by SizeConstraintSetId
.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the SizeConstraintSet specified by SizeConstraintSetId
.
Information about the SizeConstraintSet that you specified in the GetSizeConstraintSet
request. For more information, see the \n\t\t\tfollowing topics:
\n SizeConstraintSet: Contains SizeConstraintSetId
, SizeConstraints
, and Name
\n
\n SizeConstraints
: Contains an array of SizeConstraint objects. Each SizeConstraint
\n\t\t\t\tobject contains FieldToMatch, TextTransformation
, ComparisonOperator
, \n\t\t\t\tand Size
\n
\n FieldToMatch: Contains Data
and Type
\n
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the SqlInjectionMatchSet that is specified by SqlInjectionMatchSetId
.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the SqlInjectionMatchSet that is specified by SqlInjectionMatchSetId
.
A request to get a SqlInjectionMatchSet.
" + "smithy.api#documentation": "A request to get a SqlInjectionMatchSet.
", + "smithy.api#input": {} } }, "com.amazonaws.wafregional#GetSqlInjectionMatchSetResponse": { @@ -6148,7 +6819,8 @@ } }, "traits": { - "smithy.api#documentation": "The response to a GetSqlInjectionMatchSet request.
" + "smithy.api#documentation": "The response to a GetSqlInjectionMatchSet request.
", + "smithy.api#output": {} } }, "com.amazonaws.wafregional#GetWebACL": { @@ -6171,7 +6843,35 @@ } ], "traits": { - "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the WebACL that is specified by WebACLId
.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the WebACL that is specified by WebACLId
.
Information about the web ACL that you specified in the GetWebACLForResource
request. If there is no associated resource, a null WebACLSummary is returned.
Information about the WebACL that you specified in the GetWebACL
request. \n\t\t\tFor more information, see the following topics:
\n WebACL: Contains DefaultAction
, MetricName
, Name
, an array of \n\t\t\t\tRule
objects, and WebACLId
\n
\n DefaultAction
(Data type is WafAction): Contains Type
\n
\n Rules
: Contains an array of ActivatedRule
objects, which contain Action
, \n\t\t\t\tPriority
, and RuleId
\n
\n Action
: Contains Type
\n
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the XssMatchSet that is specified by XssMatchSetId
.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the XssMatchSet that is specified by XssMatchSetId
.
A request to get an XssMatchSet.
" + "smithy.api#documentation": "A request to get an XssMatchSet.
", + "smithy.api#input": {} } }, "com.amazonaws.wafregional#GetXssMatchSetResponse": { @@ -6298,7 +7034,8 @@ } }, "traits": { - "smithy.api#documentation": "The response to a GetXssMatchSet request.
" + "smithy.api#documentation": "The response to a GetXssMatchSet request.
", + "smithy.api#output": {} } }, "com.amazonaws.wafregional#HTTPHeader": { @@ -6434,18 +7171,20 @@ } }, "com.amazonaws.wafregional#IPSetDescriptorType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IPV4", - "name": "IPV4" - }, - { - "value": "IPV6", - "name": "IPV6" + "type": "enum", + "members": { + "IPV4": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IPV4" } - ] + }, + "IPV6": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IPV6" + } + } } }, "com.amazonaws.wafregional#IPSetDescriptorValue": { @@ -6455,7 +7194,7 @@ "min": 1, "max": 50 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.wafregional#IPSetDescriptors": { @@ -6576,6 +7315,9 @@ "smithy.api#documentation": "Specifies the number of ActivatedRules
that you want AWS WAF to return for this request. If you have more ActivatedRules
than the number that you specify for Limit
, the response includes a \n NextMarker
value that you can use to get another batch of ActivatedRules
.
An array of ActivatedRules
objects.
Specifies the number of ByteMatchSet
objects that you want AWS WAF to return for this request. If you have more \n\t\t\tByteMatchSets
objects than the number you specify for Limit
, the response includes a \n\t\t\tNextMarker
value that you can use to get another batch of ByteMatchSet
objects.
An array of ByteMatchSetSummary objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.wafregional#ListGeoMatchSets": { @@ -6686,6 +7437,9 @@ "smithy.api#documentation": "Specifies the number of GeoMatchSet
objects that you want AWS WAF to return for this request. If you have more \n\t\t\tGeoMatchSet
objects than the number you specify for Limit
, the response includes a \n\t\t\tNextMarker
value that you can use to get another batch of GeoMatchSet
objects.
An array of GeoMatchSetSummary objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.wafregional#ListIPSets": { @@ -6722,7 +7479,24 @@ } ], "traits": { - "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns an array of IPSetSummary objects in the response.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns an array of IPSetSummary objects in the response.
", + "smithy.api#examples": [ + { + "title": "To list IP sets", + "documentation": "The following example returns an array of up to 100 IP match sets.", + "input": { + "Limit": 100 + }, + "output": { + "IPSets": [ + { + "IPSetId": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", + "Name": "MyIPSetFriendlyName" + } + ] + } + } + ] } }, "com.amazonaws.wafregional#ListIPSetsRequest": { @@ -6741,6 +7515,9 @@ "smithy.api#documentation": "Specifies the number of IPSet
objects that you want AWS WAF to return for this request. If you have more \n\t\t\tIPSet
objects than the number you specify for Limit
, the response includes a \n\t\t\tNextMarker
value that you can use to get another batch of IPSet
objects.
An array of IPSetSummary objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.wafregional#ListLoggingConfigurations": { @@ -6799,6 +7579,9 @@ "smithy.api#documentation": "Specifies the number of LoggingConfigurations
that you want AWS WAF to return for this request. If you have more LoggingConfigurations
than the number that you specify for Limit
, the response includes a NextMarker
value that you can use to get another batch of LoggingConfigurations
.
If you have more LoggingConfigurations
than the number that you specified for Limit
in the request, the response includes a NextMarker
value. To list more LoggingConfigurations
, submit another ListLoggingConfigurations
request, and specify the NextMarker
value from the response in the NextMarker
value in the next request.
Specifies the number of Rules
that you want AWS WAF to return for this\n request. If you have more Rules
than the number that you specify for\n Limit
, the response includes a NextMarker
value that you can\n use to get another batch of Rules
.
An array of RuleSummary objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.wafregional#ListRegexMatchSets": { @@ -6909,6 +7701,9 @@ "smithy.api#documentation": "Specifies the number of RegexMatchSet
objects that you want AWS WAF to return for this request. If you have more \n\t\t\tRegexMatchSet
objects than the number you specify for Limit
, the response includes a \n\t\t\tNextMarker
value that you can use to get another batch of RegexMatchSet
objects.
An array of RegexMatchSetSummary objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.wafregional#ListRegexPatternSets": { @@ -6964,6 +7762,9 @@ "smithy.api#documentation": "Specifies the number of RegexPatternSet
objects that you want AWS WAF to return for this request. If you have more \n\t\t\tRegexPatternSet
objects than the number you specify for Limit
, the response includes a \n\t\t\tNextMarker
value that you can use to get another batch of RegexPatternSet
objects.
An array of RegexPatternSetSummary objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.wafregional#ListResourcesForWebACL": { @@ -7025,6 +7829,9 @@ "smithy.api#documentation": "The type of resource to list, either an application load balancer or Amazon API Gateway.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.wafregional#ListResourcesForWebACLResponse": { @@ -7036,6 +7843,9 @@ "smithy.api#documentation": "An array of ARNs (Amazon Resource Names) of the resources associated with the specified web ACL. An array with zero elements is returned if there are no resources associated with the web ACL.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.wafregional#ListRuleGroups": { @@ -7071,6 +7881,9 @@ "smithy.api#documentation": "Specifies the number of RuleGroups
that you want AWS WAF to return for this request. If you have more RuleGroups
than the number that you specify for Limit
, the response includes a NextMarker
value that you can use to get another batch of RuleGroups
.
An array of RuleGroup objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.wafregional#ListRules": { @@ -7107,7 +7923,24 @@ } ], "traits": { - "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns an array of RuleSummary objects.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns an array of RuleSummary objects.
", + "smithy.api#examples": [ + { + "title": "To list rules", + "documentation": "The following example returns an array of up to 100 rules.", + "input": { + "Limit": 100 + }, + "output": { + "Rules": [ + { + "Name": "WAFByteHeaderRule", + "RuleId": "WAFRule-1-Example" + } + ] + } + } + ] } }, "com.amazonaws.wafregional#ListRulesRequest": { @@ -7126,6 +7959,9 @@ "smithy.api#documentation": "Specifies the number of Rules
that you want AWS WAF to return for this request. If you have more \t\t\tRules
than the number that you specify for Limit
, the response includes a \n\t\t\tNextMarker
value that you can use to get another batch of Rules
.
An array of RuleSummary objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.wafregional#ListSizeConstraintSets": { @@ -7162,7 +8001,24 @@ } ], "traits": { - "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns an array of SizeConstraintSetSummary objects.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns an array of SizeConstraintSetSummary objects.
", + "smithy.api#examples": [ + { + "title": "To list a size constraint sets", + "documentation": "The following example returns an array of up to 100 size contraint match sets.", + "input": { + "Limit": 100 + }, + "output": { + "SizeConstraintSets": [ + { + "Name": "MySampleSizeConstraintSet", + "SizeConstraintSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" + } + ] + } + } + ] } }, "com.amazonaws.wafregional#ListSizeConstraintSetsRequest": { @@ -7181,6 +8037,9 @@ "smithy.api#documentation": "Specifies the number of SizeConstraintSet
objects that you want AWS WAF to return for this request. If you have more \n\t\t\tSizeConstraintSets
objects than the number you specify for Limit
, the response includes a \n\t\t\tNextMarker
value that you can use to get another batch of SizeConstraintSet
objects.
An array of SizeConstraintSetSummary objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.wafregional#ListSqlInjectionMatchSets": { @@ -7217,7 +8079,24 @@ } ], "traits": { - "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns an array of SqlInjectionMatchSet objects.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns an array of SqlInjectionMatchSet objects.
", + "smithy.api#examples": [ + { + "title": "To list SQL injection match sets", + "documentation": "The following example returns an array of up to 100 SQL injection match sets.", + "input": { + "Limit": 100 + }, + "output": { + "SqlInjectionMatchSets": [ + { + "Name": "MySQLInjectionMatchSet", + "SqlInjectionMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" + } + ] + } + } + ] } }, "com.amazonaws.wafregional#ListSqlInjectionMatchSetsRequest": { @@ -7238,7 +8117,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to list the SqlInjectionMatchSet objects created by the current AWS account.
" + "smithy.api#documentation": "A request to list the SqlInjectionMatchSet objects created by the current AWS account.
", + "smithy.api#input": {} } }, "com.amazonaws.wafregional#ListSqlInjectionMatchSetsResponse": { @@ -7258,7 +8138,8 @@ } }, "traits": { - "smithy.api#documentation": "The response to a ListSqlInjectionMatchSets request.
" + "smithy.api#documentation": "The response to a ListSqlInjectionMatchSets request.
", + "smithy.api#output": {} } }, "com.amazonaws.wafregional#ListSubscribedRuleGroups": { @@ -7297,6 +8178,9 @@ "smithy.api#documentation": "Specifies the number of subscribed rule groups that you want AWS WAF to return for this request. If you have more \n\t\t\tobjects than the number you specify for Limit
, the response includes a \n\t\t\tNextMarker
value that you can use to get another batch of objects.
An array of RuleGroup objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.wafregional#ListTagsForResource": { @@ -7371,6 +8258,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.wafregional#ListTagsForResourceResponse": { @@ -7388,6 +8278,9 @@ "smithy.api#documentation": "" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.wafregional#ListWebACLs": { @@ -7407,7 +8300,24 @@ } ], "traits": { - "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns an array of WebACLSummary objects in the response.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns an array of WebACLSummary objects in the response.
", + "smithy.api#examples": [ + { + "title": "To list Web ACLs", + "documentation": "The following example returns an array of up to 100 web ACLs.", + "input": { + "Limit": 100 + }, + "output": { + "WebACLs": [ + { + "Name": "WebACLexample", + "WebACLId": "webacl-1472061481310" + } + ] + } + } + ] } }, "com.amazonaws.wafregional#ListWebACLsRequest": { @@ -7426,6 +8336,9 @@ "smithy.api#documentation": "Specifies the number of WebACL
objects that you want AWS WAF to return for this request. If you have more \n\t\t\tWebACL
objects than the number that you specify for Limit
, the response includes a \n\t\t\tNextMarker
value that you can use to get another batch of WebACL
objects.
An array of WebACLSummary objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.wafregional#ListXssMatchSets": { @@ -7462,7 +8378,24 @@ } ], "traits": { - "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns an array of XssMatchSet objects.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns an array of XssMatchSet objects.
", + "smithy.api#examples": [ + { + "title": "To list XSS match sets", + "documentation": "The following example returns an array of up to 100 XSS match sets.", + "input": { + "Limit": 100 + }, + "output": { + "XssMatchSets": [ + { + "Name": "MySampleXssMatchSet", + "XssMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" + } + ] + } + } + ] } }, "com.amazonaws.wafregional#ListXssMatchSetsRequest": { @@ -7483,7 +8416,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to list the XssMatchSet objects created by the current AWS account.
" + "smithy.api#documentation": "A request to list the XssMatchSet objects created by the current AWS account.
", + "smithy.api#input": {} } }, "com.amazonaws.wafregional#ListXssMatchSetsResponse": { @@ -7503,7 +8437,8 @@ } }, "traits": { - "smithy.api#documentation": "The response to a ListXssMatchSets request.
" + "smithy.api#documentation": "The response to a ListXssMatchSets request.
", + "smithy.api#output": {} } }, "com.amazonaws.wafregional#LogDestinationConfigs": { @@ -7568,42 +8503,54 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.wafregional#MatchFieldType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "URI", - "name": "URI" - }, - { - "value": "QUERY_STRING", - "name": "QUERY_STRING" - }, - { - "value": "HEADER", - "name": "HEADER" - }, - { - "value": "METHOD", - "name": "METHOD" - }, - { - "value": "BODY", - "name": "BODY" - }, - { - "value": "SINGLE_QUERY_ARG", - "name": "SINGLE_QUERY_ARG" - }, - { - "value": "ALL_QUERY_ARGS", - "name": "ALL_QUERY_ARGS" + "type": "enum", + "members": { + "URI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "URI" } - ] + }, + "QUERY_STRING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUERY_STRING" + } + }, + "HEADER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HEADER" + } + }, + "METHOD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "METHOD" + } + }, + "BODY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BODY" + } + }, + "SINGLE_QUERY_ARG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SINGLE_QUERY_ARG" + } + }, + "ALL_QUERY_ARGS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALL_QUERY_ARGS" + } + } } }, "com.amazonaws.wafregional#MetricName": { @@ -7613,42 +8560,54 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.wafregional#MigrationErrorType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENTITY_NOT_SUPPORTED", - "name": "ENTITY_NOT_SUPPORTED" - }, - { - "value": "ENTITY_NOT_FOUND", - "name": "ENTITY_NOT_FOUND" - }, - { - "value": "S3_BUCKET_NO_PERMISSION", - "name": "S3_BUCKET_NO_PERMISSION" - }, - { - "value": "S3_BUCKET_NOT_ACCESSIBLE", - "name": "S3_BUCKET_NOT_ACCESSIBLE" - }, - { - "value": "S3_BUCKET_NOT_FOUND", - "name": "S3_BUCKET_NOT_FOUND" - }, - { - "value": "S3_BUCKET_INVALID_REGION", - "name": "S3_BUCKET_INVALID_REGION" - }, - { - "value": "S3_INTERNAL_ERROR", - "name": "S3_INTERNAL_ERROR" + "type": "enum", + "members": { + "ENTITY_NOT_SUPPORTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENTITY_NOT_SUPPORTED" } - ] + }, + "ENTITY_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENTITY_NOT_FOUND" + } + }, + "S3_BUCKET_NO_PERMISSION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3_BUCKET_NO_PERMISSION" + } + }, + "S3_BUCKET_NOT_ACCESSIBLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3_BUCKET_NOT_ACCESSIBLE" + } + }, + "S3_BUCKET_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3_BUCKET_NOT_FOUND" + } + }, + "S3_BUCKET_INVALID_REGION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3_BUCKET_INVALID_REGION" + } + }, + "S3_INTERNAL_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3_INTERNAL_ERROR" + } + } } }, "com.amazonaws.wafregional#Negated": { @@ -7661,7 +8620,7 @@ "min": 1, "max": 1224 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.wafregional#PaginationLimit": { @@ -7675,82 +8634,116 @@ } }, "com.amazonaws.wafregional#ParameterExceptionField": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CHANGE_ACTION", - "name": "CHANGE_ACTION" - }, - { - "value": "WAF_ACTION", - "name": "WAF_ACTION" - }, - { - "value": "WAF_OVERRIDE_ACTION", - "name": "WAF_OVERRIDE_ACTION" - }, - { - "value": "PREDICATE_TYPE", - "name": "PREDICATE_TYPE" - }, - { - "value": "IPSET_TYPE", - "name": "IPSET_TYPE" - }, - { - "value": "BYTE_MATCH_FIELD_TYPE", - "name": "BYTE_MATCH_FIELD_TYPE" - }, - { - "value": "SQL_INJECTION_MATCH_FIELD_TYPE", - "name": "SQL_INJECTION_MATCH_FIELD_TYPE" - }, - { - "value": "BYTE_MATCH_TEXT_TRANSFORMATION", - "name": "BYTE_MATCH_TEXT_TRANSFORMATION" - }, - { - "value": "BYTE_MATCH_POSITIONAL_CONSTRAINT", - "name": "BYTE_MATCH_POSITIONAL_CONSTRAINT" - }, - { - "value": "SIZE_CONSTRAINT_COMPARISON_OPERATOR", - "name": "SIZE_CONSTRAINT_COMPARISON_OPERATOR" - }, - { - "value": "GEO_MATCH_LOCATION_TYPE", - "name": "GEO_MATCH_LOCATION_TYPE" - }, - { - "value": "GEO_MATCH_LOCATION_VALUE", - "name": "GEO_MATCH_LOCATION_VALUE" - }, - { - "value": "RATE_KEY", - "name": "RATE_KEY" - }, - { - "value": "RULE_TYPE", - "name": "RULE_TYPE" - }, - { - "value": "NEXT_MARKER", - "name": "NEXT_MARKER" - }, - { - "value": "RESOURCE_ARN", - "name": "RESOURCE_ARN" - }, - { - "value": "TAGS", - "name": "TAGS" - }, - { - "value": "TAG_KEYS", - "name": "TAG_KEYS" + "type": "enum", + "members": { + "CHANGE_ACTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CHANGE_ACTION" } - ] + }, + "WAF_ACTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WAF_ACTION" + } + }, + "WAF_OVERRIDE_ACTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WAF_OVERRIDE_ACTION" + } + }, + "PREDICATE_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PREDICATE_TYPE" + } + }, + "IPSET_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IPSET_TYPE" + } + }, + "BYTE_MATCH_FIELD_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BYTE_MATCH_FIELD_TYPE" + } + }, + "SQL_INJECTION_MATCH_FIELD_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SQL_INJECTION_MATCH_FIELD_TYPE" + } + }, + "BYTE_MATCH_TEXT_TRANSFORMATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BYTE_MATCH_TEXT_TRANSFORMATION" + } + }, + "BYTE_MATCH_POSITIONAL_CONSTRAINT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BYTE_MATCH_POSITIONAL_CONSTRAINT" + } + }, + "SIZE_CONSTRAINT_COMPARISON_OPERATOR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SIZE_CONSTRAINT_COMPARISON_OPERATOR" + } + }, + "GEO_MATCH_LOCATION_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GEO_MATCH_LOCATION_TYPE" + } + }, + "GEO_MATCH_LOCATION_VALUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GEO_MATCH_LOCATION_VALUE" + } + }, + "RATE_KEY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RATE_KEY" + } + }, + "RULE_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RULE_TYPE" + } + }, + "NEXT_MARKER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NEXT_MARKER" + } + }, + "RESOURCE_ARN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESOURCE_ARN" + } + }, + "TAGS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TAGS" + } + }, + "TAG_KEYS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TAG_KEYS" + } + } } }, "com.amazonaws.wafregional#ParameterExceptionParameter": { @@ -7762,26 +8755,32 @@ } }, "com.amazonaws.wafregional#ParameterExceptionReason": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INVALID_OPTION", - "name": "INVALID_OPTION" - }, - { - "value": "ILLEGAL_COMBINATION", - "name": "ILLEGAL_COMBINATION" - }, - { - "value": "ILLEGAL_ARGUMENT", - "name": "ILLEGAL_ARGUMENT" - }, - { - "value": "INVALID_TAG_KEY", - "name": "INVALID_TAG_KEY" + "type": "enum", + "members": { + "INVALID_OPTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_OPTION" } - ] + }, + "ILLEGAL_COMBINATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ILLEGAL_COMBINATION" + } + }, + "ILLEGAL_ARGUMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ILLEGAL_ARGUMENT" + } + }, + "INVALID_TAG_KEY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_TAG_KEY" + } + } } }, "com.amazonaws.wafregional#PolicyString": { @@ -7791,7 +8790,7 @@ "min": 1, "max": 395000 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.wafregional#PopulationSize": { @@ -7801,30 +8800,38 @@ } }, "com.amazonaws.wafregional#PositionalConstraint": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EXACTLY", - "name": "EXACTLY" - }, - { - "value": "STARTS_WITH", - "name": "STARTS_WITH" - }, - { - "value": "ENDS_WITH", - "name": "ENDS_WITH" - }, - { - "value": "CONTAINS", - "name": "CONTAINS" - }, - { - "value": "CONTAINS_WORD", - "name": "CONTAINS_WORD" + "type": "enum", + "members": { + "EXACTLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXACTLY" } - ] + }, + "STARTS_WITH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STARTS_WITH" + } + }, + "ENDS_WITH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENDS_WITH" + } + }, + "CONTAINS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTAINS" + } + }, + "CONTAINS_WORD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTAINS_WORD" + } + } } }, "com.amazonaws.wafregional#Predicate": { @@ -7857,38 +8864,50 @@ } }, "com.amazonaws.wafregional#PredicateType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IPMatch", - "name": "IP_MATCH" - }, - { - "value": "ByteMatch", - "name": "BYTE_MATCH" - }, - { - "value": "SqlInjectionMatch", - "name": "SQL_INJECTION_MATCH" - }, - { - "value": "GeoMatch", - "name": "GEO_MATCH" - }, - { - "value": "SizeConstraint", - "name": "SIZE_CONSTRAINT" - }, - { - "value": "XssMatch", - "name": "XSS_MATCH" - }, - { - "value": "RegexMatch", - "name": "REGEX_MATCH" + "type": "enum", + "members": { + "IP_MATCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IPMatch" } - ] + }, + "BYTE_MATCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ByteMatch" + } + }, + "SQL_INJECTION_MATCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SqlInjectionMatch" + } + }, + "GEO_MATCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GeoMatch" + } + }, + "SIZE_CONSTRAINT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SizeConstraint" + } + }, + "XSS_MATCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "XssMatch" + } + }, + "REGEX_MATCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RegexMatch" + } + } } }, "com.amazonaws.wafregional#Predicates": { @@ -7933,6 +8952,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.wafregional#PutLoggingConfigurationResponse": { @@ -7944,6 +8966,9 @@ "smithy.api#documentation": "The LoggingConfiguration that you submitted in the request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.wafregional#PutPermissionPolicy": { @@ -7989,11 +9014,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.wafregional#PutPermissionPolicyResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.wafregional#RateBasedRule": { "type": "structure", @@ -8045,14 +9076,14 @@ } }, "com.amazonaws.wafregional#RateKey": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IP", - "name": "IP" + "type": "enum", + "members": { + "IP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IP" } - ] + } } }, "com.amazonaws.wafregional#RateLimit": { @@ -8311,7 +9342,7 @@ "min": 1, "max": 1224 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.wafregional#ResourceArns": { @@ -8327,7 +9358,7 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.wafregional#ResourceName": { @@ -8337,22 +9368,24 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.wafregional#ResourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "APPLICATION_LOAD_BALANCER", - "name": "APPLICATION_LOAD_BALANCER" - }, - { - "value": "API_GATEWAY", - "name": "API_GATEWAY" + "type": "enum", + "members": { + "APPLICATION_LOAD_BALANCER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "APPLICATION_LOAD_BALANCER" } - ] + }, + "API_GATEWAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "API_GATEWAY" + } + } } }, "com.amazonaws.wafregional#Rule": { @@ -8543,7 +9576,7 @@ "min": 3, "max": 63 }, - "smithy.api#pattern": "^aws-waf-migration-[0-9A-Za-z\\.\\-_]*" + "smithy.api#pattern": "^aws-waf-migration-[0-9A-Za-z\\.\\-_]*$" } }, "com.amazonaws.wafregional#S3ObjectUrl": { @@ -8953,7 +9986,7 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.wafregional#TagKeyList": { @@ -9030,11 +10063,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.wafregional#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.wafregional#TagValue": { "type": "string", @@ -9047,34 +10086,44 @@ } }, "com.amazonaws.wafregional#TextTransformation": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NONE", - "name": "NONE" - }, - { - "value": "COMPRESS_WHITE_SPACE", - "name": "COMPRESS_WHITE_SPACE" - }, - { - "value": "HTML_ENTITY_DECODE", - "name": "HTML_ENTITY_DECODE" - }, - { - "value": "LOWERCASE", - "name": "LOWERCASE" - }, - { - "value": "CMD_LINE", - "name": "CMD_LINE" - }, - { - "value": "URL_DECODE", - "name": "URL_DECODE" + "type": "enum", + "members": { + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" } - ] + }, + "COMPRESS_WHITE_SPACE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPRESS_WHITE_SPACE" + } + }, + "HTML_ENTITY_DECODE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HTML_ENTITY_DECODE" + } + }, + "LOWERCASE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LOWERCASE" + } + }, + "CMD_LINE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CMD_LINE" + } + }, + "URL_DECODE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "URL_DECODE" + } + } } }, "com.amazonaws.wafregional#TimeWindow": { @@ -9154,11 +10203,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.wafregional#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.wafregional#UpdateByteMatchSet": { "type": "operation", @@ -9195,7 +10250,34 @@ } ], "traits": { - "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes ByteMatchTuple objects (filters) in a ByteMatchSet. For each ByteMatchTuple
object, \n\t\t\tyou specify the following values:
Whether to insert or delete the object from the array. If you want to change a ByteMatchSetUpdate
object, \n\t\t\t\tyou delete the existing object and add a new one.
The part of a web request that you want AWS WAF to inspect, such as a query string or the value of the User-Agent
header.
The bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to look for. For more information, including how you specify \n\t\t\t\tthe values for the AWS WAF API and the AWS CLI or SDKs, see TargetString
in the ByteMatchTuple data type.
Where to look, such as at the beginning or the end of a query string.
\nWhether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.
\nFor example, you can add a ByteMatchSetUpdate
object that matches web requests in which User-Agent
headers contain \n\t\t\tthe string BadBot
. You can then configure AWS WAF to block those requests.
To create and configure a ByteMatchSet
, perform the following steps:
Create a ByteMatchSet.
For more information, see CreateByteMatchSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateByteMatchSet
request.
Submit an UpdateByteMatchSet
request to specify the part of the request that you want AWS WAF to inspect \n\t\t\t\t(for example, the header or the URI) and the value that you want AWS WAF to watch for.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes ByteMatchTuple objects (filters) in a ByteMatchSet. For each ByteMatchTuple
object, \n\t\t\tyou specify the following values:
Whether to insert or delete the object from the array. If you want to change a ByteMatchSetUpdate
object, \n\t\t\t\tyou delete the existing object and add a new one.
The part of a web request that you want AWS WAF to inspect, such as a query string or the value of the User-Agent
header.
The bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to look for. For more information, including how you specify \n\t\t\t\tthe values for the AWS WAF API and the AWS CLI or SDKs, see TargetString
in the ByteMatchTuple data type.
Where to look, such as at the beginning or the end of a query string.
\nWhether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.
\nFor example, you can add a ByteMatchSetUpdate
object that matches web requests in which User-Agent
headers contain \n\t\t\tthe string BadBot
. You can then configure AWS WAF to block those requests.
To create and configure a ByteMatchSet
, perform the following steps:
Create a ByteMatchSet.
For more information, see CreateByteMatchSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateByteMatchSet
request.
Submit an UpdateByteMatchSet
request to specify the part of the request that you want AWS WAF to inspect \n\t\t\t\t(for example, the header or the URI) and the value that you want AWS WAF to watch for.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
", + "smithy.api#examples": [ + { + "title": "To update a byte match set", + "documentation": "The following example deletes a ByteMatchTuple object (filters) in an byte match set with the ID exampleIDs3t-46da-4fdb-b8d5-abc321j569j5.", + "input": { + "ByteMatchSetId": "exampleIDs3t-46da-4fdb-b8d5-abc321j569j5", + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", + "Updates": [ + { + "Action": "DELETE", + "ByteMatchTuple": { + "FieldToMatch": { + "Data": "referer", + "Type": "HEADER" + }, + "PositionalConstraint": "CONTAINS", + "TargetString": "badrefer1", + "TextTransformation": "NONE" + } + } + ] + }, + "output": { + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + } + } + ] } }, "com.amazonaws.wafregional#UpdateByteMatchSetRequest": { @@ -9222,6 +10304,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.wafregional#UpdateByteMatchSetResponse": { @@ -9233,6 +10318,9 @@ "smithy.api#documentation": "The ChangeToken
that you used to submit the UpdateByteMatchSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the UpdateGeoMatchSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes IPSetDescriptor objects in an\n IPSet
. For each IPSetDescriptor
object, you specify the following\n values:
Whether to insert or delete the object from the array. If you want to change an\n IPSetDescriptor
object, you delete the existing object and add a new\n one.
The IP address version, IPv4
or IPv6
.
The IP address in CIDR notation, for example, 192.0.2.0/24
(for\n the range of IP addresses from 192.0.2.0
to 192.0.2.255
) or\n 192.0.2.44/32
(for the individual IP address\n 192.0.2.44
).
AWS WAF supports IPv4 address ranges: /8 and any range between /16 through /32. AWS\n WAF supports IPv6 address ranges: /24, /32, /48, /56, /64, and /128. For more\n information about CIDR notation, see the Wikipedia entry Classless\n Inter-Domain Routing.
\nIPv6 addresses can be represented using any of the following formats:
\n1111:0000:0000:0000:0000:0000:0000:0111/128
\n1111:0:0:0:0:0:0:0111/128
\n1111::0111/128
\n1111::111/128
\nYou use an IPSet
to specify which web requests you want to allow or\n block based on the IP addresses that the requests originated from. For example, if you're\n receiving a lot of requests from one or a small number of IP addresses and you want to\n block the requests, you can create an IPSet
that specifies those IP addresses,\n and then configure AWS WAF to block the requests.
To create and configure an IPSet
, perform the following steps:
Submit a CreateIPSet request.
\nUse GetChangeToken to get the change token that you provide\n in the ChangeToken
parameter of an UpdateIPSet\n request.
Submit an UpdateIPSet
request to specify the IP addresses that you\n want AWS WAF to watch for.
When you update an IPSet
, you specify the IP addresses that you want to\n add and/or the IP addresses that you want to delete. If you want to change an IP address,\n you delete the existing IP address and add the new one.
You can insert a maximum of 1000 addresses in a single\n request.
\nFor more information about how to use the AWS WAF API to allow or block HTTP\n requests, see the AWS WAF\n Developer Guide.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes IPSetDescriptor objects in an\n IPSet
. For each IPSetDescriptor
object, you specify the following\n values:
Whether to insert or delete the object from the array. If you want to change an\n IPSetDescriptor
object, you delete the existing object and add a new\n one.
The IP address version, IPv4
or IPv6
.
The IP address in CIDR notation, for example, 192.0.2.0/24
(for\n the range of IP addresses from 192.0.2.0
to 192.0.2.255
) or\n 192.0.2.44/32
(for the individual IP address\n 192.0.2.44
).
AWS WAF supports IPv4 address ranges: /8 and any range between /16 through /32. AWS\n WAF supports IPv6 address ranges: /24, /32, /48, /56, /64, and /128. For more\n information about CIDR notation, see the Wikipedia entry Classless\n Inter-Domain Routing.
\nIPv6 addresses can be represented using any of the following formats:
\n1111:0000:0000:0000:0000:0000:0000:0111/128
\n1111:0:0:0:0:0:0:0111/128
\n1111::0111/128
\n1111::111/128
\nYou use an IPSet
to specify which web requests you want to allow or\n block based on the IP addresses that the requests originated from. For example, if you're\n receiving a lot of requests from one or a small number of IP addresses and you want to\n block the requests, you can create an IPSet
that specifies those IP addresses,\n and then configure AWS WAF to block the requests.
To create and configure an IPSet
, perform the following steps:
Submit a CreateIPSet request.
\nUse GetChangeToken to get the change token that you provide\n in the ChangeToken
parameter of an UpdateIPSet\n request.
Submit an UpdateIPSet
request to specify the IP addresses that you\n want AWS WAF to watch for.
When you update an IPSet
, you specify the IP addresses that you want to\n add and/or the IP addresses that you want to delete. If you want to change an IP address,\n you delete the existing IP address and add the new one.
You can insert a maximum of 1000 addresses in a single\n request.
\nFor more information about how to use the AWS WAF API to allow or block HTTP\n requests, see the AWS WAF\n Developer Guide.
", + "smithy.api#examples": [ + { + "title": "To update an IP set", + "documentation": "The following example deletes an IPSetDescriptor object in an IP match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", + "input": { + "IPSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", + "Updates": [ + { + "Action": "DELETE", + "IPSetDescriptor": { + "Type": "IPV4", + "Value": "192.0.2.44/32" + } + } + ] + }, + "output": { + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + } + } + ] } }, "com.amazonaws.wafregional#UpdateIPSetRequest": { @@ -9378,6 +10494,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.wafregional#UpdateIPSetResponse": { @@ -9389,6 +10508,9 @@ "smithy.api#documentation": "The ChangeToken
that you used to submit the UpdateIPSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the\n UpdateRateBasedRule
request. You can also use this value to query the\n status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the UpdateRegexMatchSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the UpdateRegexPatternSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes Predicate objects in a Rule
. Each\n Predicate
object identifies a predicate, such as a ByteMatchSet or an IPSet, that specifies the web requests\n that you want to allow, block, or count. If you add more than one predicate to a\n Rule
, a request must match all of the specifications to be allowed,\n blocked, or counted. For example, suppose\n that\n you add the following to a Rule
:
A ByteMatchSet
that matches the value BadBot
in the User-Agent
header
An IPSet
that matches the IP address 192.0.2.44
\n
You then add the Rule
to a WebACL
and specify that you want to block requests that satisfy the Rule
. \n\t\t\tFor a request to be blocked, the User-Agent
header in the request must contain the value BadBot
\n\t\t\t and the request must originate from the IP address 192.0.2.44.
To create and configure a Rule
, perform the following steps:
Create and update the predicates that you want to include in the Rule
.
Create the Rule
. See CreateRule.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateRule request.
Submit an UpdateRule
request to add predicates to the Rule
.
Create and update a WebACL
that contains the Rule
. See CreateWebACL.
If you want to replace one ByteMatchSet
or IPSet
with another, you delete the existing one and \n\t\t\tadd the new one.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes Predicate objects in a Rule
. Each\n Predicate
object identifies a predicate, such as a ByteMatchSet or an IPSet, that specifies the web requests\n that you want to allow, block, or count. If you add more than one predicate to a\n Rule
, a request must match all of the specifications to be allowed,\n blocked, or counted. For example, suppose\n that\n you add the following to a Rule
:
A ByteMatchSet
that matches the value BadBot
in the User-Agent
header
An IPSet
that matches the IP address 192.0.2.44
\n
You then add the Rule
to a WebACL
and specify that you want to block requests that satisfy the Rule
. \n\t\t\tFor a request to be blocked, the User-Agent
header in the request must contain the value BadBot
\n\t\t\t and the request must originate from the IP address 192.0.2.44.
To create and configure a Rule
, perform the following steps:
Create and update the predicates that you want to include in the Rule
.
Create the Rule
. See CreateRule.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateRule request.
Submit an UpdateRule
request to add predicates to the Rule
.
Create and update a WebACL
that contains the Rule
. See CreateWebACL.
If you want to replace one ByteMatchSet
or IPSet
with another, you delete the existing one and \n\t\t\tadd the new one.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
", + "smithy.api#examples": [ + { + "title": "To update a rule", + "documentation": "The following example deletes a Predicate object in a rule with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", + "input": { + "RuleId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", + "Updates": [ + { + "Action": "DELETE", + "Predicate": { + "DataId": "MyByteMatchSetID", + "Negated": false, + "Type": "ByteMatch" + } + } + ] + }, + "output": { + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + } + } + ] } }, "com.amazonaws.wafregional#UpdateRuleGroup": { @@ -9727,6 +10890,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.wafregional#UpdateRuleGroupResponse": { @@ -9738,6 +10904,9 @@ "smithy.api#documentation": "The ChangeToken
that you used to submit the UpdateRuleGroup
request. You can also use this value \n to query the status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the UpdateRule
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes SizeConstraint objects (filters) in a SizeConstraintSet. For each SizeConstraint
object, \n\t\t\tyou specify the following values:
Whether to insert or delete the object from the array. If you want to change a SizeConstraintSetUpdate
object, \n\t\t\t\tyou delete the existing object and add a new one.
The part of a web request that you want AWS WAF to evaluate, such as the length of a query string or the length of the \n\t\t\t\tUser-Agent
header.
Whether to perform any transformations on the request, such as converting it to lowercase, before checking its length. \n\t\t\t\tNote that transformations of the request body are not supported because the AWS resource forwards only the first 8192
bytes \n\t\t\t\tof your request to AWS WAF.
You can only specify a single type of TextTransformation.
\nA ComparisonOperator
used for evaluating the selected part of the request against the specified Size
, such as \n\t\t\t\tequals, greater than, less than, and so on.
The length, in bytes, that you want AWS WAF to watch for in selected part of the request. The length is computed after applying the transformation.
\nFor example, you can add a SizeConstraintSetUpdate
object that matches web requests in which the length of the \n\t\t\tUser-Agent
header is greater than 100 bytes. You can then configure AWS WAF to block those requests.
To create and configure a SizeConstraintSet
, perform the following steps:
Create a SizeConstraintSet.
For more information, see CreateSizeConstraintSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateSizeConstraintSet
request.
Submit an UpdateSizeConstraintSet
request to specify the part of the request that you want AWS WAF to inspect \n\t\t\t\t(for example, the header or the URI) and the value that you want AWS WAF to watch for.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes SizeConstraint objects (filters) in a SizeConstraintSet. For each SizeConstraint
object, \n\t\t\tyou specify the following values:
Whether to insert or delete the object from the array. If you want to change a SizeConstraintSetUpdate
object, \n\t\t\t\tyou delete the existing object and add a new one.
The part of a web request that you want AWS WAF to evaluate, such as the length of a query string or the length of the \n\t\t\t\tUser-Agent
header.
Whether to perform any transformations on the request, such as converting it to lowercase, before checking its length. \n\t\t\t\tNote that transformations of the request body are not supported because the AWS resource forwards only the first 8192
bytes \n\t\t\t\tof your request to AWS WAF.
You can only specify a single type of TextTransformation.
\nA ComparisonOperator
used for evaluating the selected part of the request against the specified Size
, such as \n\t\t\t\tequals, greater than, less than, and so on.
The length, in bytes, that you want AWS WAF to watch for in selected part of the request. The length is computed after applying the transformation.
\nFor example, you can add a SizeConstraintSetUpdate
object that matches web requests in which the length of the \n\t\t\tUser-Agent
header is greater than 100 bytes. You can then configure AWS WAF to block those requests.
To create and configure a SizeConstraintSet
, perform the following steps:
Create a SizeConstraintSet.
For more information, see CreateSizeConstraintSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateSizeConstraintSet
request.
Submit an UpdateSizeConstraintSet
request to specify the part of the request that you want AWS WAF to inspect \n\t\t\t\t(for example, the header or the URI) and the value that you want AWS WAF to watch for.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
", + "smithy.api#examples": [ + { + "title": "To update a size constraint set", + "documentation": "The following example deletes a SizeConstraint object (filters) in a size constraint set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", + "input": { + "SizeConstraintSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", + "Updates": [ + { + "Action": "DELETE", + "SizeConstraint": { + "ComparisonOperator": "GT", + "FieldToMatch": { + "Type": "QUERY_STRING" + }, + "Size": 0, + "TextTransformation": "NONE" + } + } + ] + }, + "output": { + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + } + } + ] } }, "com.amazonaws.wafregional#UpdateSizeConstraintSetRequest": { @@ -9842,6 +11043,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.wafregional#UpdateSizeConstraintSetResponse": { @@ -9853,6 +11057,9 @@ "smithy.api#documentation": "The ChangeToken
that you used to submit the UpdateSizeConstraintSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes SqlInjectionMatchTuple objects (filters) in a SqlInjectionMatchSet. \n\t\t\tFor each SqlInjectionMatchTuple
object, you specify the following values:
\n Action
: Whether to insert the object into or delete the object from the array. To change a \n\t\t\t\tSqlInjectionMatchTuple
, you delete the existing object and add a new one.
\n FieldToMatch
: The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header or custom query parameter, \n\t\t\t\tthe name of the header or parameter.
\n TextTransformation
: Which text transformation, if any, to perform on the web request before \n\t\t\t\tinspecting the request for snippets of malicious SQL code.
You can only specify a single type of TextTransformation.
\nYou use SqlInjectionMatchSet
objects to specify which CloudFront\n requests that\n you want to allow, block, or count. For example, if you're receiving\n requests that contain snippets of SQL code in the query string and you want to block the\n requests, you can create a SqlInjectionMatchSet
with the applicable settings,\n and then configure AWS WAF to block the requests.
To create and configure a SqlInjectionMatchSet
, perform the following steps:
Submit a CreateSqlInjectionMatchSet request.
\nUse GetChangeToken to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateIPSet request.
Submit an UpdateSqlInjectionMatchSet
request to specify the parts of web requests that you want AWS WAF to \n\t\t\t\tinspect for snippets of SQL code.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes SqlInjectionMatchTuple objects (filters) in a SqlInjectionMatchSet. \n\t\t\tFor each SqlInjectionMatchTuple
object, you specify the following values:
\n Action
: Whether to insert the object into or delete the object from the array. To change a \n\t\t\t\tSqlInjectionMatchTuple
, you delete the existing object and add a new one.
\n FieldToMatch
: The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header or custom query parameter, \n\t\t\t\tthe name of the header or parameter.
\n TextTransformation
: Which text transformation, if any, to perform on the web request before \n\t\t\t\tinspecting the request for snippets of malicious SQL code.
You can only specify a single type of TextTransformation.
\nYou use SqlInjectionMatchSet
objects to specify which CloudFront\n requests that\n you want to allow, block, or count. For example, if you're receiving\n requests that contain snippets of SQL code in the query string and you want to block the\n requests, you can create a SqlInjectionMatchSet
with the applicable settings,\n and then configure AWS WAF to block the requests.
To create and configure a SqlInjectionMatchSet
, perform the following steps:
Submit a CreateSqlInjectionMatchSet request.
\nUse GetChangeToken to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateIPSet request.
Submit an UpdateSqlInjectionMatchSet
request to specify the parts of web requests that you want AWS WAF to \n\t\t\t\tinspect for snippets of SQL code.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
", + "smithy.api#examples": [ + { + "title": "To update a SQL injection match set", + "documentation": "The following example deletes a SqlInjectionMatchTuple object (filters) in a SQL injection match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", + "input": { + "SqlInjectionMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", + "Updates": [ + { + "Action": "DELETE", + "SqlInjectionMatchTuple": { + "FieldToMatch": { + "Type": "QUERY_STRING" + }, + "TextTransformation": "URL_DECODE" + } + } + ] + }, + "output": { + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + } + } + ] } }, "com.amazonaws.wafregional#UpdateSqlInjectionMatchSetRequest": { @@ -9919,7 +11150,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to update a SqlInjectionMatchSet.
" + "smithy.api#documentation": "A request to update a SqlInjectionMatchSet.
", + "smithy.api#input": {} } }, "com.amazonaws.wafregional#UpdateSqlInjectionMatchSetResponse": { @@ -9933,7 +11165,8 @@ } }, "traits": { - "smithy.api#documentation": "The response to an UpdateSqlInjectionMatchSets request.
" + "smithy.api#documentation": "The response to an UpdateSqlInjectionMatchSets request.
", + "smithy.api#output": {} } }, "com.amazonaws.wafregional#UpdateWebACL": { @@ -9977,7 +11210,35 @@ } ], "traits": { - "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes ActivatedRule objects in a WebACL
. Each Rule
identifies \n\t\t\tweb requests that you want to allow, block, or count. When you update a WebACL
, you specify the following values:
A default action for the WebACL
, either ALLOW
or BLOCK
. \n\t\t\t\tAWS WAF performs the default action if a request doesn't match the criteria in any of the Rules
in a WebACL
.
The Rules
that you want to add\n or\n delete. If you want to replace one Rule
with another, you delete the\n existing Rule
and add the new one.
For each Rule
, whether you want AWS WAF to allow requests, block requests, or count requests that match \n\t\t\t\tthe conditions in the Rule
.
The order in which you want AWS WAF to evaluate the Rules
in a\n WebACL
. If you add more than one Rule
to a\n WebACL
, AWS WAF evaluates each request against the Rules
\n in order based on the value of Priority
. (The Rule
that has\n the lowest value for Priority
is evaluated first.) When a web request\n matches all\n the\n predicates (such as ByteMatchSets
and IPSets
) in a\n Rule
, AWS WAF immediately takes the corresponding action, allow or\n block, and doesn't evaluate the request against the remaining Rules
in\n the WebACL
, if any.
To create and configure a WebACL
, perform the following steps:
Create and update the predicates that you want to include in Rules
. \n\t\t\t\tFor more information, see CreateByteMatchSet, UpdateByteMatchSet, CreateIPSet, UpdateIPSet, \n\t\t\t\tCreateSqlInjectionMatchSet, and UpdateSqlInjectionMatchSet.
Create and update the Rules
that you want to include in the WebACL
. For more information, see \n\t\t\t\tCreateRule and UpdateRule.
Create a WebACL
. See CreateWebACL.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateWebACL request.
Submit an UpdateWebACL
request to specify the Rules
\n that you want to include in the WebACL
, to specify the default action,\n and to associate the WebACL
with a CloudFront distribution.
The ActivatedRule
can be a rule group. If you specify a rule group\n as your\n ActivatedRule
\n ,\n you can exclude specific rules from that rule group.
If you already have a rule group associated with a web ACL and want to submit\n an UpdateWebACL
request to exclude certain rules from that rule group,\n you must first remove the rule group from the web ACL, the re-insert it again,\n specifying the excluded rules.\n For details,\n see\n ActivatedRule$ExcludedRules\n .\n
Be aware that if you try to add a RATE_BASED rule to a web ACL without setting the rule type when first creating the rule, the UpdateWebACL request will fail because the request tries to add a REGULAR rule (the default rule type) with the specified ID, which does not exist. \t\t
\t\t\t\n\t\tFor more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes ActivatedRule objects in a WebACL
. Each Rule
identifies \n\t\t\tweb requests that you want to allow, block, or count. When you update a WebACL
, you specify the following values:
A default action for the WebACL
, either ALLOW
or BLOCK
. \n\t\t\t\tAWS WAF performs the default action if a request doesn't match the criteria in any of the Rules
in a WebACL
.
The Rules
that you want to add\n or\n delete. If you want to replace one Rule
with another, you delete the\n existing Rule
and add the new one.
For each Rule
, whether you want AWS WAF to allow requests, block requests, or count requests that match \n\t\t\t\tthe conditions in the Rule
.
The order in which you want AWS WAF to evaluate the Rules
in a\n WebACL
. If you add more than one Rule
to a\n WebACL
, AWS WAF evaluates each request against the Rules
\n in order based on the value of Priority
. (The Rule
that has\n the lowest value for Priority
is evaluated first.) When a web request\n matches all\n the\n predicates (such as ByteMatchSets
and IPSets
) in a\n Rule
, AWS WAF immediately takes the corresponding action, allow or\n block, and doesn't evaluate the request against the remaining Rules
in\n the WebACL
, if any.
To create and configure a WebACL
, perform the following steps:
Create and update the predicates that you want to include in Rules
. \n\t\t\t\tFor more information, see CreateByteMatchSet, UpdateByteMatchSet, CreateIPSet, UpdateIPSet, \n\t\t\t\tCreateSqlInjectionMatchSet, and UpdateSqlInjectionMatchSet.
Create and update the Rules
that you want to include in the WebACL
. For more information, see \n\t\t\t\tCreateRule and UpdateRule.
Create a WebACL
. See CreateWebACL.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateWebACL request.
Submit an UpdateWebACL
request to specify the Rules
\n that you want to include in the WebACL
, to specify the default action,\n and to associate the WebACL
with a CloudFront distribution.
The ActivatedRule
can be a rule group. If you specify a rule group\n as your\n ActivatedRule
\n ,\n you can exclude specific rules from that rule group.
If you already have a rule group associated with a web ACL and want to submit\n an UpdateWebACL
request to exclude certain rules from that rule group,\n you must first remove the rule group from the web ACL, the re-insert it again,\n specifying the excluded rules.\n For details,\n see\n ActivatedRule$ExcludedRules\n .\n
Be aware that if you try to add a RATE_BASED rule to a web ACL without setting the rule type when first creating the rule, the UpdateWebACL request will fail because the request tries to add a REGULAR rule (the default rule type) with the specified ID, which does not exist. \t\t
\t\t\t\n\t\tFor more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide.
", + "smithy.api#examples": [ + { + "title": "To update a Web ACL", + "documentation": "The following example deletes an ActivatedRule object in a WebACL with the ID webacl-1472061481310.", + "input": { + "WebACLId": "webacl-1472061481310", + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", + "Updates": [ + { + "Action": "DELETE", + "ActivatedRule": { + "Action": { + "Type": "ALLOW" + }, + "Priority": 1, + "RuleId": "WAFRule-1-Example" + } + } + ], + "DefaultAction": { + "Type": "ALLOW" + } + }, + "output": { + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + } + } + ] } }, "com.amazonaws.wafregional#UpdateWebACLRequest": { @@ -10009,6 +11270,9 @@ "smithy.api#documentation": "A default action for the web ACL, either ALLOW or BLOCK. AWS WAF performs the default\n action if a request doesn't match the criteria in any of the rules in a web ACL.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.wafregional#UpdateWebACLResponse": { @@ -10020,6 +11284,9 @@ "smithy.api#documentation": "The ChangeToken
that you used to submit the UpdateWebACL
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes XssMatchTuple objects (filters) in an XssMatchSet. \n\t\t\tFor each XssMatchTuple
object, you specify the following values:
\n Action
: Whether to insert the object into or delete the object from the\n array. To change an\n XssMatchTuple
, you delete the existing object and add a new\n one.
\n FieldToMatch
: The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header or custom query parameter, \n\t\t\t\tthe name of the header or parameter.
\n TextTransformation
: Which text transformation, if any, to perform on the web request before \n\t\t\t\tinspecting the request for cross-site scripting attacks.
You can only specify a single type of TextTransformation.
\nYou use XssMatchSet
objects to specify which CloudFront requests\n that\n you want to allow, block, or count. For example, if you're receiving\n requests that contain cross-site scripting attacks in the request body and you want to\n block the requests, you can create an XssMatchSet
with the applicable\n settings, and then configure AWS WAF to block the requests.
To create and configure an XssMatchSet
, perform the following steps:
Submit a CreateXssMatchSet request.
\nUse GetChangeToken to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateIPSet request.
Submit an UpdateXssMatchSet
request to specify the parts of web requests that you want AWS WAF to \n\t\t\t\tinspect for cross-site scripting attacks.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes XssMatchTuple objects (filters) in an XssMatchSet. \n\t\t\tFor each XssMatchTuple
object, you specify the following values:
\n Action
: Whether to insert the object into or delete the object from the\n array. To change an\n XssMatchTuple
, you delete the existing object and add a new\n one.
\n FieldToMatch
: The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header or custom query parameter, \n\t\t\t\tthe name of the header or parameter.
\n TextTransformation
: Which text transformation, if any, to perform on the web request before \n\t\t\t\tinspecting the request for cross-site scripting attacks.
You can only specify a single type of TextTransformation.
\nYou use XssMatchSet
objects to specify which CloudFront requests\n that\n you want to allow, block, or count. For example, if you're receiving\n requests that contain cross-site scripting attacks in the request body and you want to\n block the requests, you can create an XssMatchSet
with the applicable\n settings, and then configure AWS WAF to block the requests.
To create and configure an XssMatchSet
, perform the following steps:
Submit a CreateXssMatchSet request.
\nUse GetChangeToken to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateIPSet request.
Submit an UpdateXssMatchSet
request to specify the parts of web requests that you want AWS WAF to \n\t\t\t\tinspect for cross-site scripting attacks.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
", + "smithy.api#examples": [ + { + "title": "To update an XSS match set", + "documentation": "The following example deletes an XssMatchTuple object (filters) in an XssMatchSet with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", + "input": { + "XssMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", + "Updates": [ + { + "Action": "DELETE", + "XssMatchTuple": { + "FieldToMatch": { + "Type": "QUERY_STRING" + }, + "TextTransformation": "URL_DECODE" + } + } + ] + }, + "output": { + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + } + } + ] } }, "com.amazonaws.wafregional#UpdateXssMatchSetRequest": { @@ -10086,7 +11377,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to update an XssMatchSet.
" + "smithy.api#documentation": "A request to update an XssMatchSet.
", + "smithy.api#input": {} } }, "com.amazonaws.wafregional#UpdateXssMatchSetResponse": { @@ -10100,7 +11392,8 @@ } }, "traits": { - "smithy.api#documentation": "The response to an UpdateXssMatchSets request.
" + "smithy.api#documentation": "The response to an UpdateXssMatchSets request.
", + "smithy.api#output": {} } }, "com.amazonaws.wafregional#WAFBadRequestException": { @@ -10367,22 +11660,26 @@ } }, "com.amazonaws.wafregional#WafActionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "BLOCK", - "name": "BLOCK" - }, - { - "value": "ALLOW", - "name": "ALLOW" - }, - { - "value": "COUNT", - "name": "COUNT" + "type": "enum", + "members": { + "BLOCK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BLOCK" } - ] + }, + "ALLOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALLOW" + } + }, + "COUNT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COUNT" + } + } } }, "com.amazonaws.wafregional#WafOverrideAction": { @@ -10401,37 +11698,43 @@ } }, "com.amazonaws.wafregional#WafOverrideActionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NONE", - "name": "NONE" - }, - { - "value": "COUNT", - "name": "COUNT" + "type": "enum", + "members": { + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" } - ] + }, + "COUNT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COUNT" + } + } } }, "com.amazonaws.wafregional#WafRuleType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "REGULAR", - "name": "REGULAR" - }, - { - "value": "RATE_BASED", - "name": "RATE_BASED" - }, - { - "value": "GROUP", - "name": "GROUP" + "type": "enum", + "members": { + "REGULAR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REGULAR" } - ] + }, + "RATE_BASED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RATE_BASED" + } + }, + "GROUP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GROUP" + } + } } }, "com.amazonaws.wafregional#WebACL": { diff --git a/codegen/sdk-codegen/aws-models/waf.json b/codegen/sdk-codegen/aws-models/waf.json index c988f927bec..90819c4361d 100644 --- a/codegen/sdk-codegen/aws-models/waf.json +++ b/codegen/sdk-codegen/aws-models/waf.json @@ -342,52 +342,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", @@ -395,238 +399,168 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "stringEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + }, + "aws" + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + false + ] } ], - "type": "tree", - "rules": [ + "endpoint": { + "url": "https://waf.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "waf", + "signingRegion": "us-east-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ { - "conditions": [ + "fn": "stringEquals", + "argv": [ { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] + "ref": "PartitionResult" }, - "aws" + "name" ] + }, + "aws" + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + false + ] + } + ], + "endpoint": { + "url": "https://waf-fips.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "waf", + "signingRegion": "us-east-1" } - ], - "type": "tree", - "rules": [ + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "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", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://waf-fips.{Region}.api.aws", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ] + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ + true, { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ { - "ref": "UseFIPS" + "ref": "PartitionResult" }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://waf-fips.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "waf", - "signingRegion": "us-east-1" - } - ] - }, - "headers": {} - }, - "type": "endpoint" - } + "supportsFIPS" ] - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" } ] }, { - "conditions": [ + "fn": "booleanEquals", + "argv": [ + true, { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ { - "ref": "UseDualStack" + "ref": "PartitionResult" }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://waf.{Region}.api.aws", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "supportsDualStack" ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], "endpoint": { - "url": "https://waf.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "waf", - "signingRegion": "us-east-1" - } - ] - }, + "url": "https://waf-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, "headers": {} }, "type": "endpoint" @@ -634,282 +568,133 @@ ] }, { - "conditions": [ + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] + "ref": "UseFIPS" }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "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://waf-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://waf-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "aws-global" - ] - } - ], - "endpoint": { - "url": "https://waf-fips.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "waf", - "signingRegion": "us-east-1" - } - ] - }, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [], - "endpoint": { - "url": "https://waf-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "ref": "UseDualStack" }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } + true ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://waf.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "aws-global" - ] - } - ], - "endpoint": { - "url": "https://waf.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "waf", - "signingRegion": "us-east-1" - } - ] - }, - "headers": {} - }, - "type": "endpoint" - }, { "conditions": [], "endpoint": { - "url": "https://waf.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://waf.{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://waf.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -933,8 +718,8 @@ }, "params": { "Region": "aws-global", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -955,8 +740,8 @@ }, "params": { "Region": "aws-global", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -968,8 +753,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -990,8 +775,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1003,8 +788,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1025,8 +810,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1038,8 +823,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1051,8 +836,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1064,8 +849,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1077,8 +862,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1090,8 +875,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1103,8 +888,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1116,8 +901,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1129,8 +914,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -1142,8 +938,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 } }, { @@ -1155,8 +962,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -1168,8 +986,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 } }, { @@ -1181,8 +1010,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1194,8 +1023,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1207,8 +1036,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1219,8 +1048,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1231,10 +1060,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" @@ -1431,18 +1266,20 @@ } }, "com.amazonaws.waf#ChangeAction": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INSERT", - "name": "INSERT" - }, - { - "value": "DELETE", - "name": "DELETE" + "type": "enum", + "members": { + "INSERT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INSERT" } - ] + }, + "DELETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETE" + } + } } }, "com.amazonaws.waf#ChangeToken": { @@ -1452,57 +1289,71 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.waf#ChangeTokenStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PROVISIONED", - "name": "PROVISIONED" - }, - { - "value": "PENDING", - "name": "PENDING" - }, - { - "value": "INSYNC", - "name": "INSYNC" + "type": "enum", + "members": { + "PROVISIONED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PROVISIONED" } - ] + }, + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" + } + }, + "INSYNC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INSYNC" + } + } } }, "com.amazonaws.waf#ComparisonOperator": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EQ", - "name": "EQ" - }, - { - "value": "NE", - "name": "NE" - }, - { - "value": "LE", - "name": "LE" - }, - { - "value": "LT", - "name": "LT" - }, - { - "value": "GE", - "name": "GE" - }, - { - "value": "GT", - "name": "GT" + "type": "enum", + "members": { + "EQ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EQ" } - ] + }, + "NE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NE" + } + }, + "LE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LE" + } + }, + "LT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LT" + } + }, + "GE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GE" + } + }, + "GT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GT" + } + } } }, "com.amazonaws.waf#Country": { @@ -1557,6 +1408,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.waf#CreateByteMatchSetResponse": { @@ -1574,6 +1428,9 @@ "smithy.api#documentation": "The ChangeToken
that you used to submit the CreateByteMatchSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the CreateGeoMatchSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nCreates an IPSet, which you use to specify which web requests\n that\n you want to allow or block based on the IP addresses that the requests\n originate from. For example, if you're receiving a lot of requests from one or more\n individual IP addresses or one or more ranges of IP addresses and you want to block the\n requests, you can create an IPSet
that contains those IP addresses and then\n configure AWS WAF to block the requests.
To create and configure an IPSet
, perform the following steps:
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tCreateIPSet
request.
Submit a CreateIPSet
request.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateIPSet request.
Submit an UpdateIPSet
request to specify the IP addresses that you want AWS WAF to watch for.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nCreates an IPSet, which you use to specify which web requests\n that\n you want to allow or block based on the IP addresses that the requests\n originate from. For example, if you're receiving a lot of requests from one or more\n individual IP addresses or one or more ranges of IP addresses and you want to block the\n requests, you can create an IPSet
that contains those IP addresses and then\n configure AWS WAF to block the requests.
To create and configure an IPSet
, perform the following steps:
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tCreateIPSet
request.
Submit a CreateIPSet
request.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateIPSet request.
Submit an UpdateIPSet
request to specify the IP addresses that you want AWS WAF to watch for.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
", + "smithy.api#examples": [ + { + "title": "To create an IP set", + "documentation": "The following example creates an IP match set named MyIPSetFriendlyName.", + "input": { + "Name": "MyIPSetFriendlyName", + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + }, + "output": { + "IPSet": { + "IPSetDescriptors": [ + { + "Type": "IPV4", + "Value": "192.0.2.44/32" + } + ], + "IPSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", + "Name": "MyIPSetFriendlyName" + }, + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + } + } + ] } }, "com.amazonaws.waf#CreateIPSetRequest": { @@ -1693,6 +1579,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.waf#CreateIPSetResponse": { @@ -1710,6 +1599,9 @@ "smithy.api#documentation": "The ChangeToken
that you used to submit the CreateIPSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the\n CreateRateBasedRule
request. You can also use this value to query the\n status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the CreateRegexMatchSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the CreateRegexPatternSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nCreates a Rule
, which contains the IPSet
objects,\n ByteMatchSet
objects, and other predicates that identify the requests that\n you want to block. If you add more than one predicate to a Rule
, a request\n must match all of the specifications to be allowed or blocked. For example, suppose\n that\n you add the following to a Rule
:
An IPSet
that matches the IP address 192.0.2.44/32
\n
A ByteMatchSet
that matches BadBot
in the User-Agent
header
You then add the Rule
to a WebACL
and specify that you want to blocks requests that satisfy the Rule
. \n\t\t\tFor a request to be blocked, it must come from the IP address 192.0.2.44 and the User-Agent
header in the request \n\t\t\tmust contain the value BadBot
.
To create and configure a Rule
, perform the following steps:
Create and update the predicates that you want to include in the Rule
. For more information, see \n\t\t\t\tCreateByteMatchSet, CreateIPSet, and CreateSqlInjectionMatchSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tCreateRule
request.
Submit a CreateRule
request.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateRule request.
Submit an UpdateRule
request to specify the predicates that you want to include in the Rule
.
Create and update a WebACL
that contains the Rule
. For more information, see CreateWebACL.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nCreates a Rule
, which contains the IPSet
objects,\n ByteMatchSet
objects, and other predicates that identify the requests that\n you want to block. If you add more than one predicate to a Rule
, a request\n must match all of the specifications to be allowed or blocked. For example, suppose\n that\n you add the following to a Rule
:
An IPSet
that matches the IP address 192.0.2.44/32
\n
A ByteMatchSet
that matches BadBot
in the User-Agent
header
You then add the Rule
to a WebACL
and specify that you want to blocks requests that satisfy the Rule
. \n\t\t\tFor a request to be blocked, it must come from the IP address 192.0.2.44 and the User-Agent
header in the request \n\t\t\tmust contain the value BadBot
.
To create and configure a Rule
, perform the following steps:
Create and update the predicates that you want to include in the Rule
. For more information, see \n\t\t\t\tCreateByteMatchSet, CreateIPSet, and CreateSqlInjectionMatchSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tCreateRule
request.
Submit a CreateRule
request.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateRule request.
Submit an UpdateRule
request to specify the predicates that you want to include in the Rule
.
Create and update a WebACL
that contains the Rule
. For more information, see CreateWebACL.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
", + "smithy.api#examples": [ + { + "title": "To create a rule", + "documentation": "The following example creates a rule named WAFByteHeaderRule.", + "input": { + "Name": "WAFByteHeaderRule", + "MetricName": "WAFByteHeaderRule", + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + }, + "output": { + "Rule": { + "MetricName": "WAFByteHeaderRule", + "Name": "WAFByteHeaderRule", + "Predicates": [ + { + "DataId": "MyByteMatchSetID", + "Negated": false, + "Type": "ByteMatch" + } + ], + "RuleId": "WAFRule-1-Example" + }, + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + } + } + ] } }, "com.amazonaws.waf#CreateRuleGroup": { @@ -2041,6 +1977,9 @@ "smithy.api#documentation": "" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.waf#CreateRuleGroupResponse": { @@ -2058,6 +1997,9 @@ "smithy.api#documentation": "The ChangeToken
that you used to submit the CreateRuleGroup
request. You can also use this value \n to query the status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the CreateRule
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nCreates a SizeConstraintSet
. You then use UpdateSizeConstraintSet to identify the part of a \n\t\t\tweb request that you want AWS WAF to check for length, such as the length of the User-Agent
header or the length of the query string. \n\t\t\tFor example, you can create a SizeConstraintSet
that matches any requests that have a query string that is longer than 100 bytes. \n\t\t\tYou can then configure AWS WAF to reject those requests.
To create and configure a SizeConstraintSet
, perform the following steps:
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tCreateSizeConstraintSet
request.
Submit a CreateSizeConstraintSet
request.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateSizeConstraintSet
request.
Submit an UpdateSizeConstraintSet request to specify the part of the request that you want AWS WAF to inspect \n\t\t\t\t(for example, the header or the URI) and the value that you want AWS WAF to watch for.
\nFor more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nCreates a SizeConstraintSet
. You then use UpdateSizeConstraintSet to identify the part of a \n\t\t\tweb request that you want AWS WAF to check for length, such as the length of the User-Agent
header or the length of the query string. \n\t\t\tFor example, you can create a SizeConstraintSet
that matches any requests that have a query string that is longer than 100 bytes. \n\t\t\tYou can then configure AWS WAF to reject those requests.
To create and configure a SizeConstraintSet
, perform the following steps:
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tCreateSizeConstraintSet
request.
Submit a CreateSizeConstraintSet
request.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateSizeConstraintSet
request.
Submit an UpdateSizeConstraintSet request to specify the part of the request that you want AWS WAF to inspect \n\t\t\t\t(for example, the header or the URI) and the value that you want AWS WAF to watch for.
\nFor more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
", + "smithy.api#examples": [ + { + "title": "To create a size constraint", + "documentation": "The following example creates size constraint set named MySampleSizeConstraintSet.", + "input": { + "Name": "MySampleSizeConstraintSet", + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + }, + "output": { + "SizeConstraintSet": { + "Name": "MySampleSizeConstraintSet", + "SizeConstraints": [ + { + "ComparisonOperator": "GT", + "FieldToMatch": { + "Type": "QUERY_STRING" + }, + "Size": 0, + "TextTransformation": "NONE" + } + ], + "SizeConstraintSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" + }, + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + } + } + ] } }, "com.amazonaws.waf#CreateSizeConstraintSetRequest": { @@ -2158,6 +2133,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.waf#CreateSizeConstraintSetResponse": { @@ -2175,6 +2153,9 @@ "smithy.api#documentation": "The ChangeToken
that you used to submit the CreateSizeConstraintSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nCreates a SqlInjectionMatchSet, which you use to allow, block, or count requests that contain snippets of SQL code in a \n\t\t\tspecified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings.
\n\t\tTo create and configure a SqlInjectionMatchSet
, perform the following steps:
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tCreateSqlInjectionMatchSet
request.
Submit a CreateSqlInjectionMatchSet
request.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateSqlInjectionMatchSet request.
Submit an UpdateSqlInjectionMatchSet request to specify the parts of web requests in which you want to \n\t\t\t\tallow, block, or count malicious SQL code.
\nFor more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nCreates a SqlInjectionMatchSet, which you use to allow, block, or count requests that contain snippets of SQL code in a \n\t\t\tspecified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings.
\n\t\tTo create and configure a SqlInjectionMatchSet
, perform the following steps:
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tCreateSqlInjectionMatchSet
request.
Submit a CreateSqlInjectionMatchSet
request.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateSqlInjectionMatchSet request.
Submit an UpdateSqlInjectionMatchSet request to specify the parts of web requests in which you want to \n\t\t\t\tallow, block, or count malicious SQL code.
\nFor more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
", + "smithy.api#examples": [ + { + "title": "To create a SQL injection match set", + "documentation": "The following example creates a SQL injection match set named MySQLInjectionMatchSet.", + "input": { + "Name": "MySQLInjectionMatchSet", + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + }, + "output": { + "SqlInjectionMatchSet": { + "Name": "MySQLInjectionMatchSet", + "SqlInjectionMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", + "SqlInjectionMatchTuples": [ + { + "FieldToMatch": { + "Type": "QUERY_STRING" + }, + "TextTransformation": "URL_DECODE" + } + ] + }, + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + } + } + ] } }, "com.amazonaws.waf#CreateSqlInjectionMatchSetRequest": { @@ -2228,7 +2234,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to create a SqlInjectionMatchSet.
" + "smithy.api#documentation": "A request to create a SqlInjectionMatchSet.
", + "smithy.api#input": {} } }, "com.amazonaws.waf#CreateSqlInjectionMatchSetResponse": { @@ -2248,7 +2255,8 @@ } }, "traits": { - "smithy.api#documentation": "The response to a CreateSqlInjectionMatchSet
request.
The response to a CreateSqlInjectionMatchSet
request.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nCreates a WebACL
, which contains the Rules
that identify the CloudFront web requests that you want to allow, block, or count. \n\t\t\tAWS WAF evaluates Rules
in order based on the value of Priority
for each Rule
.
You also specify a default action, either ALLOW
or BLOCK
. If a web request doesn't match \n\t\t\tany of the Rules
in a WebACL
, AWS WAF responds to the request with the default action.
To create and configure a WebACL
, perform the following steps:
Create and update the ByteMatchSet
objects and other predicates that you want to include in Rules
. \n\t\t\t\tFor more information, see CreateByteMatchSet, UpdateByteMatchSet, CreateIPSet, UpdateIPSet, \n\t\t\t\tCreateSqlInjectionMatchSet, and UpdateSqlInjectionMatchSet.
Create and update the Rules
that you want to include in the WebACL
. For more information, see \n\t\t\t\tCreateRule and UpdateRule.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tCreateWebACL
request.
Submit a CreateWebACL
request.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateWebACL request.
Submit an UpdateWebACL request to specify the Rules
that you want to include in the WebACL
, \n\t\t\t\tto specify the default action, and to associate the WebACL
with a CloudFront distribution.
For more information about how to use the AWS WAF API, see the AWS WAF Developer Guide.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nCreates a WebACL
, which contains the Rules
that identify the CloudFront web requests that you want to allow, block, or count. \n\t\t\tAWS WAF evaluates Rules
in order based on the value of Priority
for each Rule
.
You also specify a default action, either ALLOW
or BLOCK
. If a web request doesn't match \n\t\t\tany of the Rules
in a WebACL
, AWS WAF responds to the request with the default action.
To create and configure a WebACL
, perform the following steps:
Create and update the ByteMatchSet
objects and other predicates that you want to include in Rules
. \n\t\t\t\tFor more information, see CreateByteMatchSet, UpdateByteMatchSet, CreateIPSet, UpdateIPSet, \n\t\t\t\tCreateSqlInjectionMatchSet, and UpdateSqlInjectionMatchSet.
Create and update the Rules
that you want to include in the WebACL
. For more information, see \n\t\t\t\tCreateRule and UpdateRule.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tCreateWebACL
request.
Submit a CreateWebACL
request.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateWebACL request.
Submit an UpdateWebACL request to specify the Rules
that you want to include in the WebACL
, \n\t\t\t\tto specify the default action, and to associate the WebACL
with a CloudFront distribution.
For more information about how to use the AWS WAF API, see the AWS WAF Developer Guide.
", + "smithy.api#examples": [ + { + "title": "To create a web ACL", + "documentation": "The following example creates a web ACL named CreateExample.", + "input": { + "Name": "CreateExample", + "MetricName": "CreateExample", + "DefaultAction": { + "Type": "ALLOW" + }, + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + }, + "output": { + "WebACL": { + "DefaultAction": { + "Type": "ALLOW" + }, + "MetricName": "CreateExample", + "Name": "CreateExample", + "Rules": [ + { + "Action": { + "Type": "ALLOW" + }, + "Priority": 1, + "RuleId": "WAFRule-1-Example" + } + ], + "WebACLId": "example-46da-4444-5555-example" + }, + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + } + } + ] } }, "com.amazonaws.waf#CreateWebACLMigrationStack": { @@ -2345,6 +2387,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.waf#CreateWebACLMigrationStackResponse": { @@ -2357,6 +2402,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.waf#CreateWebACLRequest": { @@ -2396,6 +2444,9 @@ "smithy.api#documentation": "" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.waf#CreateWebACLResponse": { @@ -2413,6 +2464,9 @@ "smithy.api#documentation": "The ChangeToken
that you used to submit the CreateWebACL
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nCreates an XssMatchSet, which you use to allow, block, or count requests that contain cross-site scripting attacks\n\t\t\tin the specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings.
\n\t\tTo create and configure an XssMatchSet
, perform the following steps:
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tCreateXssMatchSet
request.
Submit a CreateXssMatchSet
request.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateXssMatchSet request.
Submit an UpdateXssMatchSet request to specify the parts of web requests in which you want to \n\t\t\t\tallow, block, or count cross-site scripting attacks.
\nFor more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nCreates an XssMatchSet, which you use to allow, block, or count requests that contain cross-site scripting attacks\n\t\t\tin the specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings.
\n\t\tTo create and configure an XssMatchSet
, perform the following steps:
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tCreateXssMatchSet
request.
Submit a CreateXssMatchSet
request.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateXssMatchSet request.
Submit an UpdateXssMatchSet request to specify the parts of web requests in which you want to \n\t\t\t\tallow, block, or count cross-site scripting attacks.
\nFor more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
", + "smithy.api#examples": [ + { + "title": "To create an XSS match set", + "documentation": "The following example creates an XSS match set named MySampleXssMatchSet.", + "input": { + "Name": "MySampleXssMatchSet", + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + }, + "output": { + "XssMatchSet": { + "Name": "MySampleXssMatchSet", + "XssMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", + "XssMatchTuples": [ + { + "FieldToMatch": { + "Type": "QUERY_STRING" + }, + "TextTransformation": "URL_DECODE" + } + ] + }, + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + } + } + ] } }, "com.amazonaws.waf#CreateXssMatchSetRequest": { @@ -2466,7 +2545,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to create an XssMatchSet.
" + "smithy.api#documentation": "A request to create an XssMatchSet.
", + "smithy.api#input": {} } }, "com.amazonaws.waf#CreateXssMatchSetResponse": { @@ -2486,7 +2566,8 @@ } }, "traits": { - "smithy.api#documentation": "The response to a CreateXssMatchSet
request.
The response to a CreateXssMatchSet
request.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes a ByteMatchSet. You can't delete a ByteMatchSet
if it's still used in any Rules
\n\t\t\tor if it still includes any ByteMatchTuple objects (any filters).
If you just want to remove a ByteMatchSet
from a Rule
, use UpdateRule.
To permanently delete a ByteMatchSet
, perform the following steps:
Update the ByteMatchSet
to remove filters, if any. For more information, see UpdateByteMatchSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteByteMatchSet
request.
Submit a DeleteByteMatchSet
request.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes a ByteMatchSet. You can't delete a ByteMatchSet
if it's still used in any Rules
\n\t\t\tor if it still includes any ByteMatchTuple objects (any filters).
If you just want to remove a ByteMatchSet
from a Rule
, use UpdateRule.
To permanently delete a ByteMatchSet
, perform the following steps:
Update the ByteMatchSet
to remove filters, if any. For more information, see UpdateByteMatchSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteByteMatchSet
request.
Submit a DeleteByteMatchSet
request.
The ChangeToken
that you used to submit the DeleteByteMatchSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the DeleteGeoMatchSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes an IPSet. You can't delete an IPSet
if it's still used in any Rules
or \n\t\t\tif it still includes any IP addresses.
If you just want to remove an IPSet
from a Rule
, use UpdateRule.
To permanently delete an IPSet
from AWS WAF, perform the following steps:
Update the IPSet
to remove IP address ranges, if any. For more information, see UpdateIPSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteIPSet
request.
Submit a DeleteIPSet
request.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes an IPSet. You can't delete an IPSet
if it's still used in any Rules
or \n\t\t\tif it still includes any IP addresses.
If you just want to remove an IPSet
from a Rule
, use UpdateRule.
To permanently delete an IPSet
from AWS WAF, perform the following steps:
Update the IPSet
to remove IP address ranges, if any. For more information, see UpdateIPSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteIPSet
request.
Submit a DeleteIPSet
request.
The ChangeToken
that you used to submit the DeleteIPSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the\n DeleteRateBasedRule
request. You can also use this value to query the\n status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the DeleteRegexMatchSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the DeleteRegexPatternSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes a Rule. You can't delete a Rule
if it's still used in any WebACL
\n\t\t\tobjects or if it still includes any predicates, such as ByteMatchSet
objects.
If you just want to remove a Rule
from a WebACL
, use UpdateWebACL.
To permanently delete a Rule
from AWS WAF, perform the following steps:
Update the Rule
to remove predicates, if any. For more information, see UpdateRule.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteRule
request.
Submit a DeleteRule
request.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes a Rule. You can't delete a Rule
if it's still used in any WebACL
\n\t\t\tobjects or if it still includes any predicates, such as ByteMatchSet
objects.
If you just want to remove a Rule
from a WebACL
, use UpdateWebACL.
To permanently delete a Rule
from AWS WAF, perform the following steps:
Update the Rule
to remove predicates, if any. For more information, see UpdateRule.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteRule
request.
Submit a DeleteRule
request.
The ChangeToken
that you used to submit the DeleteRuleGroup
request. You can also use this value \n to query the status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the DeleteRule
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes a SizeConstraintSet. You can't delete a SizeConstraintSet
if it's still used in any Rules
\n\t\t\tor if it still includes any SizeConstraint objects (any filters).
If you just want to remove a SizeConstraintSet
from a Rule
, use UpdateRule.
To permanently delete a SizeConstraintSet
, perform the following steps:
Update the SizeConstraintSet
to remove filters, if any. For more information, see UpdateSizeConstraintSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteSizeConstraintSet
request.
Submit a DeleteSizeConstraintSet
request.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes a SizeConstraintSet. You can't delete a SizeConstraintSet
if it's still used in any Rules
\n\t\t\tor if it still includes any SizeConstraint objects (any filters).
If you just want to remove a SizeConstraintSet
from a Rule
, use UpdateRule.
To permanently delete a SizeConstraintSet
, perform the following steps:
Update the SizeConstraintSet
to remove filters, if any. For more information, see UpdateSizeConstraintSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteSizeConstraintSet
request.
Submit a DeleteSizeConstraintSet
request.
The ChangeToken
that you used to submit the DeleteSizeConstraintSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes a SqlInjectionMatchSet. You can't delete a SqlInjectionMatchSet
if it's \n\t\t\tstill used in any Rules
or if it still contains any SqlInjectionMatchTuple objects.
If you just want to remove a SqlInjectionMatchSet
from a Rule
, use UpdateRule.
To permanently delete a SqlInjectionMatchSet
from AWS WAF, perform the following steps:
Update the SqlInjectionMatchSet
to remove filters, if any. For more information, see \n\t\t\t\tUpdateSqlInjectionMatchSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteSqlInjectionMatchSet
request.
Submit a DeleteSqlInjectionMatchSet
request.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes a SqlInjectionMatchSet. You can't delete a SqlInjectionMatchSet
if it's \n\t\t\tstill used in any Rules
or if it still contains any SqlInjectionMatchTuple objects.
If you just want to remove a SqlInjectionMatchSet
from a Rule
, use UpdateRule.
To permanently delete a SqlInjectionMatchSet
from AWS WAF, perform the following steps:
Update the SqlInjectionMatchSet
to remove filters, if any. For more information, see \n\t\t\t\tUpdateSqlInjectionMatchSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteSqlInjectionMatchSet
request.
Submit a DeleteSqlInjectionMatchSet
request.
A request to delete a SqlInjectionMatchSet from AWS WAF.
" + "smithy.api#documentation": "A request to delete a SqlInjectionMatchSet from AWS WAF.
", + "smithy.api#input": {} } }, "com.amazonaws.waf#DeleteSqlInjectionMatchSetResponse": { @@ -3208,7 +3421,8 @@ } }, "traits": { - "smithy.api#documentation": "The response to a request to delete a SqlInjectionMatchSet from AWS WAF.
" + "smithy.api#documentation": "The response to a request to delete a SqlInjectionMatchSet from AWS WAF.
", + "smithy.api#output": {} } }, "com.amazonaws.waf#DeleteWebACL": { @@ -3246,7 +3460,20 @@ } ], "traits": { - "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes a WebACL. You can't delete a WebACL
if it still contains any Rules
.
To delete a WebACL
, perform the following steps:
Update the WebACL
to remove Rules
, if any. For more information, see UpdateWebACL.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteWebACL
request.
Submit a DeleteWebACL
request.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes a WebACL. You can't delete a WebACL
if it still contains any Rules
.
To delete a WebACL
, perform the following steps:
Update the WebACL
to remove Rules
, if any. For more information, see UpdateWebACL.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteWebACL
request.
Submit a DeleteWebACL
request.
The ChangeToken
that you used to submit the DeleteWebACL
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes an XssMatchSet. You can't delete an XssMatchSet
if it's \n\t\t\tstill used in any Rules
or if it still contains any XssMatchTuple objects.
If you just want to remove an XssMatchSet
from a Rule
, use UpdateRule.
To permanently delete an XssMatchSet
from AWS WAF, perform the following steps:
Update the XssMatchSet
to remove filters, if any. For more information, see \n\t\t\t\tUpdateXssMatchSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteXssMatchSet
request.
Submit a DeleteXssMatchSet
request.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nPermanently deletes an XssMatchSet. You can't delete an XssMatchSet
if it's \n\t\t\tstill used in any Rules
or if it still contains any XssMatchTuple objects.
If you just want to remove an XssMatchSet
from a Rule
, use UpdateRule.
To permanently delete an XssMatchSet
from AWS WAF, perform the following steps:
Update the XssMatchSet
to remove filters, if any. For more information, see \n\t\t\t\tUpdateXssMatchSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of a \n\t\t\t\tDeleteXssMatchSet
request.
Submit a DeleteXssMatchSet
request.
A request to delete an XssMatchSet from AWS WAF.
" + "smithy.api#documentation": "A request to delete an XssMatchSet from AWS WAF.
", + "smithy.api#input": {} } }, "com.amazonaws.waf#DeleteXssMatchSetResponse": { @@ -3344,7 +3591,8 @@ } }, "traits": { - "smithy.api#documentation": "The response to a request to delete an XssMatchSet from AWS WAF.
" + "smithy.api#documentation": "The response to a request to delete an XssMatchSet from AWS WAF.
", + "smithy.api#output": {} } }, "com.amazonaws.waf#ErrorReason": { @@ -3415,1017 +3663,1513 @@ } }, "com.amazonaws.waf#GeoMatchConstraintType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Country", - "name": "Country" + "type": "enum", + "members": { + "Country": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Country" } - ] + } } }, "com.amazonaws.waf#GeoMatchConstraintValue": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AF", - "name": "AF" - }, - { - "value": "AX", - "name": "AX" - }, - { - "value": "AL", - "name": "AL" - }, - { - "value": "DZ", - "name": "DZ" - }, - { - "value": "AS", - "name": "AS" - }, - { - "value": "AD", - "name": "AD" - }, - { - "value": "AO", - "name": "AO" - }, - { - "value": "AI", - "name": "AI" - }, - { - "value": "AQ", - "name": "AQ" - }, - { - "value": "AG", - "name": "AG" - }, - { - "value": "AR", - "name": "AR" - }, - { - "value": "AM", - "name": "AM" - }, - { - "value": "AW", - "name": "AW" - }, - { - "value": "AU", - "name": "AU" - }, - { - "value": "AT", - "name": "AT" - }, - { - "value": "AZ", - "name": "AZ" - }, - { - "value": "BS", - "name": "BS" - }, - { - "value": "BH", - "name": "BH" - }, - { - "value": "BD", - "name": "BD" - }, - { - "value": "BB", - "name": "BB" - }, - { - "value": "BY", - "name": "BY" - }, - { - "value": "BE", - "name": "BE" - }, - { - "value": "BZ", - "name": "BZ" - }, - { - "value": "BJ", - "name": "BJ" - }, - { - "value": "BM", - "name": "BM" - }, - { - "value": "BT", - "name": "BT" - }, - { - "value": "BO", - "name": "BO" - }, - { - "value": "BQ", - "name": "BQ" - }, - { - "value": "BA", - "name": "BA" - }, - { - "value": "BW", - "name": "BW" - }, - { - "value": "BV", - "name": "BV" - }, - { - "value": "BR", - "name": "BR" - }, - { - "value": "IO", - "name": "IO" - }, - { - "value": "BN", - "name": "BN" - }, - { - "value": "BG", - "name": "BG" - }, - { - "value": "BF", - "name": "BF" - }, - { - "value": "BI", - "name": "BI" - }, - { - "value": "KH", - "name": "KH" - }, - { - "value": "CM", - "name": "CM" - }, - { - "value": "CA", - "name": "CA" - }, - { - "value": "CV", - "name": "CV" - }, - { - "value": "KY", - "name": "KY" - }, - { - "value": "CF", - "name": "CF" - }, - { - "value": "TD", - "name": "TD" - }, - { - "value": "CL", - "name": "CL" - }, - { - "value": "CN", - "name": "CN" - }, - { - "value": "CX", - "name": "CX" - }, - { - "value": "CC", - "name": "CC" - }, - { - "value": "CO", - "name": "CO" - }, - { - "value": "KM", - "name": "KM" - }, - { - "value": "CG", - "name": "CG" - }, - { - "value": "CD", - "name": "CD" - }, - { - "value": "CK", - "name": "CK" - }, - { - "value": "CR", - "name": "CR" - }, - { - "value": "CI", - "name": "CI" - }, - { - "value": "HR", - "name": "HR" - }, - { - "value": "CU", - "name": "CU" - }, - { - "value": "CW", - "name": "CW" - }, - { - "value": "CY", - "name": "CY" - }, - { - "value": "CZ", - "name": "CZ" - }, - { - "value": "DK", - "name": "DK" - }, - { - "value": "DJ", - "name": "DJ" - }, - { - "value": "DM", - "name": "DM" - }, - { - "value": "DO", - "name": "DO" - }, - { - "value": "EC", - "name": "EC" - }, - { - "value": "EG", - "name": "EG" - }, - { - "value": "SV", - "name": "SV" - }, - { - "value": "GQ", - "name": "GQ" - }, - { - "value": "ER", - "name": "ER" - }, - { - "value": "EE", - "name": "EE" - }, - { - "value": "ET", - "name": "ET" - }, - { - "value": "FK", - "name": "FK" - }, - { - "value": "FO", - "name": "FO" - }, - { - "value": "FJ", - "name": "FJ" - }, - { - "value": "FI", - "name": "FI" - }, - { - "value": "FR", - "name": "FR" - }, - { - "value": "GF", - "name": "GF" - }, - { - "value": "PF", - "name": "PF" - }, - { - "value": "TF", - "name": "TF" - }, - { - "value": "GA", - "name": "GA" - }, - { - "value": "GM", - "name": "GM" - }, - { - "value": "GE", - "name": "GE" - }, - { - "value": "DE", - "name": "DE" - }, - { - "value": "GH", - "name": "GH" - }, - { - "value": "GI", - "name": "GI" - }, - { - "value": "GR", - "name": "GR" - }, - { - "value": "GL", - "name": "GL" - }, - { - "value": "GD", - "name": "GD" - }, - { - "value": "GP", - "name": "GP" - }, - { - "value": "GU", - "name": "GU" - }, - { - "value": "GT", - "name": "GT" - }, - { - "value": "GG", - "name": "GG" - }, - { - "value": "GN", - "name": "GN" - }, - { - "value": "GW", - "name": "GW" - }, - { - "value": "GY", - "name": "GY" - }, - { - "value": "HT", - "name": "HT" - }, - { - "value": "HM", - "name": "HM" - }, - { - "value": "VA", - "name": "VA" - }, - { - "value": "HN", - "name": "HN" - }, - { - "value": "HK", - "name": "HK" - }, - { - "value": "HU", - "name": "HU" - }, - { - "value": "IS", - "name": "IS" - }, - { - "value": "IN", - "name": "IN" - }, - { - "value": "ID", - "name": "ID" - }, - { - "value": "IR", - "name": "IR" - }, - { - "value": "IQ", - "name": "IQ" - }, - { - "value": "IE", - "name": "IE" - }, - { - "value": "IM", - "name": "IM" - }, - { - "value": "IL", - "name": "IL" - }, - { - "value": "IT", - "name": "IT" - }, - { - "value": "JM", - "name": "JM" - }, - { - "value": "JP", - "name": "JP" - }, - { - "value": "JE", - "name": "JE" - }, - { - "value": "JO", - "name": "JO" - }, - { - "value": "KZ", - "name": "KZ" - }, - { - "value": "KE", - "name": "KE" - }, - { - "value": "KI", - "name": "KI" - }, - { - "value": "KP", - "name": "KP" - }, - { - "value": "KR", - "name": "KR" - }, - { - "value": "KW", - "name": "KW" - }, - { - "value": "KG", - "name": "KG" - }, - { - "value": "LA", - "name": "LA" - }, - { - "value": "LV", - "name": "LV" - }, - { - "value": "LB", - "name": "LB" - }, - { - "value": "LS", - "name": "LS" - }, - { - "value": "LR", - "name": "LR" - }, - { - "value": "LY", - "name": "LY" - }, - { - "value": "LI", - "name": "LI" - }, - { - "value": "LT", - "name": "LT" - }, - { - "value": "LU", - "name": "LU" - }, - { - "value": "MO", - "name": "MO" - }, - { - "value": "MK", - "name": "MK" - }, - { - "value": "MG", - "name": "MG" - }, - { - "value": "MW", - "name": "MW" - }, - { - "value": "MY", - "name": "MY" - }, - { - "value": "MV", - "name": "MV" - }, - { - "value": "ML", - "name": "ML" - }, - { - "value": "MT", - "name": "MT" - }, - { - "value": "MH", - "name": "MH" - }, - { - "value": "MQ", - "name": "MQ" - }, - { - "value": "MR", - "name": "MR" - }, - { - "value": "MU", - "name": "MU" - }, - { - "value": "YT", - "name": "YT" - }, - { - "value": "MX", - "name": "MX" - }, - { - "value": "FM", - "name": "FM" - }, - { - "value": "MD", - "name": "MD" - }, - { - "value": "MC", - "name": "MC" - }, - { - "value": "MN", - "name": "MN" - }, - { - "value": "ME", - "name": "ME" - }, - { - "value": "MS", - "name": "MS" - }, - { - "value": "MA", - "name": "MA" - }, - { - "value": "MZ", - "name": "MZ" - }, - { - "value": "MM", - "name": "MM" - }, - { - "value": "NA", - "name": "NA" - }, - { - "value": "NR", - "name": "NR" - }, - { - "value": "NP", - "name": "NP" - }, - { - "value": "NL", - "name": "NL" - }, - { - "value": "NC", - "name": "NC" - }, - { - "value": "NZ", - "name": "NZ" - }, - { - "value": "NI", - "name": "NI" - }, - { - "value": "NE", - "name": "NE" - }, - { - "value": "NG", - "name": "NG" - }, - { - "value": "NU", - "name": "NU" - }, - { - "value": "NF", - "name": "NF" - }, - { - "value": "MP", - "name": "MP" - }, - { - "value": "NO", - "name": "NO" - }, - { - "value": "OM", - "name": "OM" - }, - { - "value": "PK", - "name": "PK" - }, - { - "value": "PW", - "name": "PW" - }, - { - "value": "PS", - "name": "PS" - }, - { - "value": "PA", - "name": "PA" - }, - { - "value": "PG", - "name": "PG" - }, - { - "value": "PY", - "name": "PY" - }, - { - "value": "PE", - "name": "PE" - }, - { - "value": "PH", - "name": "PH" - }, - { - "value": "PN", - "name": "PN" - }, - { - "value": "PL", - "name": "PL" - }, - { - "value": "PT", - "name": "PT" - }, - { - "value": "PR", - "name": "PR" - }, - { - "value": "QA", - "name": "QA" - }, - { - "value": "RE", - "name": "RE" - }, - { - "value": "RO", - "name": "RO" - }, - { - "value": "RU", - "name": "RU" - }, - { - "value": "RW", - "name": "RW" - }, - { - "value": "BL", - "name": "BL" - }, - { - "value": "SH", - "name": "SH" - }, - { - "value": "KN", - "name": "KN" - }, - { - "value": "LC", - "name": "LC" - }, - { - "value": "MF", - "name": "MF" - }, - { - "value": "PM", - "name": "PM" - }, - { - "value": "VC", - "name": "VC" - }, - { - "value": "WS", - "name": "WS" - }, - { - "value": "SM", - "name": "SM" - }, - { - "value": "ST", - "name": "ST" - }, - { - "value": "SA", - "name": "SA" - }, - { - "value": "SN", - "name": "SN" - }, - { - "value": "RS", - "name": "RS" - }, - { - "value": "SC", - "name": "SC" - }, - { - "value": "SL", - "name": "SL" - }, - { - "value": "SG", - "name": "SG" - }, - { - "value": "SX", - "name": "SX" - }, - { - "value": "SK", - "name": "SK" - }, - { - "value": "SI", - "name": "SI" - }, - { - "value": "SB", - "name": "SB" - }, - { - "value": "SO", - "name": "SO" - }, - { - "value": "ZA", - "name": "ZA" - }, - { - "value": "GS", - "name": "GS" - }, - { - "value": "SS", - "name": "SS" - }, - { - "value": "ES", - "name": "ES" - }, - { - "value": "LK", - "name": "LK" - }, - { - "value": "SD", - "name": "SD" - }, - { - "value": "SR", - "name": "SR" - }, - { - "value": "SJ", - "name": "SJ" - }, - { - "value": "SZ", - "name": "SZ" - }, - { - "value": "SE", - "name": "SE" - }, - { - "value": "CH", - "name": "CH" - }, - { - "value": "SY", - "name": "SY" - }, - { - "value": "TW", - "name": "TW" - }, - { - "value": "TJ", - "name": "TJ" - }, - { - "value": "TZ", - "name": "TZ" - }, - { - "value": "TH", - "name": "TH" - }, - { - "value": "TL", - "name": "TL" - }, - { - "value": "TG", - "name": "TG" - }, - { - "value": "TK", - "name": "TK" - }, - { - "value": "TO", - "name": "TO" - }, - { - "value": "TT", - "name": "TT" - }, - { - "value": "TN", - "name": "TN" - }, - { - "value": "TR", - "name": "TR" - }, - { - "value": "TM", - "name": "TM" - }, - { - "value": "TC", - "name": "TC" - }, - { - "value": "TV", - "name": "TV" - }, - { - "value": "UG", - "name": "UG" - }, - { - "value": "UA", - "name": "UA" - }, - { - "value": "AE", - "name": "AE" - }, - { - "value": "GB", - "name": "GB" - }, - { - "value": "US", - "name": "US" - }, - { - "value": "UM", - "name": "UM" - }, - { - "value": "UY", - "name": "UY" - }, - { - "value": "UZ", - "name": "UZ" - }, - { - "value": "VU", - "name": "VU" - }, - { - "value": "VE", - "name": "VE" - }, - { - "value": "VN", - "name": "VN" - }, - { - "value": "VG", - "name": "VG" - }, - { - "value": "VI", - "name": "VI" - }, - { - "value": "WF", - "name": "WF" - }, - { - "value": "EH", - "name": "EH" - }, - { - "value": "YE", - "name": "YE" - }, - { - "value": "ZM", - "name": "ZM" - }, - { - "value": "ZW", - "name": "ZW" + "type": "enum", + "members": { + "AF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AF" + } + }, + "AX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AX" + } + }, + "AL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AL" + } + }, + "DZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DZ" + } + }, + "AS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AS" + } + }, + "AD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AD" + } + }, + "AO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AO" + } + }, + "AI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AI" + } + }, + "AQ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AQ" + } + }, + "AG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AG" + } + }, + "AR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AR" + } + }, + "AM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AM" + } + }, + "AW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AW" + } + }, + "AU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AU" + } + }, + "AT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AT" + } + }, + "AZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AZ" + } + }, + "BS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BS" + } + }, + "BH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BH" + } + }, + "BD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BD" + } + }, + "BB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BB" + } + }, + "BY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BY" + } + }, + "BE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BE" + } + }, + "BZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BZ" + } + }, + "BJ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BJ" + } + }, + "BM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BM" + } + }, + "BT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BT" + } + }, + "BO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BO" + } + }, + "BQ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BQ" + } + }, + "BA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BA" + } + }, + "BW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BW" + } + }, + "BV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BV" + } + }, + "BR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BR" + } + }, + "IO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IO" + } + }, + "BN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BN" + } + }, + "BG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BG" + } + }, + "BF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BF" + } + }, + "BI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BI" + } + }, + "KH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KH" + } + }, + "CM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CM" + } + }, + "CA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CA" + } + }, + "CV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CV" + } + }, + "KY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KY" + } + }, + "CF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CF" + } + }, + "TD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TD" + } + }, + "CL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CL" + } + }, + "CN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CN" + } + }, + "CX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CX" + } + }, + "CC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CC" + } + }, + "CO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CO" + } + }, + "KM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KM" + } + }, + "CG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CG" + } + }, + "CD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CD" + } + }, + "CK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CK" + } + }, + "CR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CR" + } + }, + "CI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CI" + } + }, + "HR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HR" + } + }, + "CU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CU" + } + }, + "CW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CW" + } + }, + "CY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CY" + } + }, + "CZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CZ" + } + }, + "DK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DK" + } + }, + "DJ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DJ" + } + }, + "DM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DM" + } + }, + "DO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DO" + } + }, + "EC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EC" + } + }, + "EG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EG" + } + }, + "SV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SV" + } + }, + "GQ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GQ" + } + }, + "ER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ER" + } + }, + "EE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EE" + } + }, + "ET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ET" + } + }, + "FK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FK" + } + }, + "FO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FO" + } + }, + "FJ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FJ" + } + }, + "FI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FI" + } + }, + "FR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FR" + } + }, + "GF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GF" + } + }, + "PF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PF" + } + }, + "TF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TF" + } + }, + "GA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GA" + } + }, + "GM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GM" + } + }, + "GE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GE" + } + }, + "DE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DE" + } + }, + "GH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GH" + } + }, + "GI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GI" + } + }, + "GR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GR" + } + }, + "GL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GL" + } + }, + "GD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GD" + } + }, + "GP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GP" + } + }, + "GU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GU" + } + }, + "GT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GT" + } + }, + "GG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GG" + } + }, + "GN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GN" + } + }, + "GW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GW" + } + }, + "GY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GY" + } + }, + "HT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HT" + } + }, + "HM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HM" + } + }, + "VA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VA" + } + }, + "HN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HN" + } + }, + "HK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HK" + } + }, + "HU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HU" + } + }, + "IS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IS" + } + }, + "IN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN" + } + }, + "ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ID" + } + }, + "IR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IR" + } + }, + "IQ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IQ" + } + }, + "IE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IE" + } + }, + "IM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IM" + } + }, + "IL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IL" + } + }, + "IT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IT" + } + }, + "JM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JM" + } + }, + "JP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JP" + } + }, + "JE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JE" + } + }, + "JO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JO" + } + }, + "KZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KZ" + } + }, + "KE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KE" + } + }, + "KI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KI" + } + }, + "KP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KP" + } + }, + "KR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KR" + } + }, + "KW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KW" + } + }, + "KG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KG" + } + }, + "LA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LA" + } + }, + "LV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LV" + } + }, + "LB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LB" + } + }, + "LS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LS" + } + }, + "LR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LR" + } + }, + "LY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LY" + } + }, + "LI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LI" + } + }, + "LT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LT" + } + }, + "LU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LU" + } + }, + "MO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MO" + } + }, + "MK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MK" + } + }, + "MG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MG" + } + }, + "MW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MW" + } + }, + "MY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MY" + } + }, + "MV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MV" + } + }, + "ML": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ML" + } + }, + "MT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MT" + } + }, + "MH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MH" + } + }, + "MQ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MQ" + } + }, + "MR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MR" + } + }, + "MU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MU" + } + }, + "YT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "YT" + } + }, + "MX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MX" + } + }, + "FM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FM" + } + }, + "MD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MD" + } + }, + "MC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MC" + } + }, + "MN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MN" + } + }, + "ME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ME" + } + }, + "MS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MS" + } + }, + "MA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MA" + } + }, + "MZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MZ" + } + }, + "MM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MM" + } + }, + "NA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NA" + } + }, + "NR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NR" + } + }, + "NP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NP" + } + }, + "NL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NL" + } + }, + "NC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NC" + } + }, + "NZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NZ" + } + }, + "NI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NI" + } + }, + "NE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NE" + } + }, + "NG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NG" + } + }, + "NU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NU" + } + }, + "NF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NF" + } + }, + "MP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MP" + } + }, + "NO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NO" + } + }, + "OM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OM" + } + }, + "PK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PK" + } + }, + "PW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PW" + } + }, + "PS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PS" + } + }, + "PA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PA" + } + }, + "PG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PG" + } + }, + "PY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PY" + } + }, + "PE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PE" + } + }, + "PH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PH" + } + }, + "PN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PN" + } + }, + "PL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PL" + } + }, + "PT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PT" + } + }, + "PR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PR" + } + }, + "QA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QA" + } + }, + "RE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RE" + } + }, + "RO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RO" + } + }, + "RU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RU" + } + }, + "RW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RW" + } + }, + "BL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BL" + } + }, + "SH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SH" + } + }, + "KN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KN" + } + }, + "LC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LC" + } + }, + "MF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MF" + } + }, + "PM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PM" + } + }, + "VC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VC" + } + }, + "WS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WS" + } + }, + "SM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SM" + } + }, + "ST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ST" + } + }, + "SA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SA" + } + }, + "SN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SN" + } + }, + "RS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RS" + } + }, + "SC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SC" + } + }, + "SL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SL" + } + }, + "SG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SG" + } + }, + "SX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SX" + } + }, + "SK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SK" + } + }, + "SI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SI" + } + }, + "SB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SB" + } + }, + "SO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SO" + } + }, + "ZA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ZA" + } + }, + "GS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GS" + } + }, + "SS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SS" + } + }, + "ES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ES" + } + }, + "LK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LK" + } + }, + "SD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SD" + } + }, + "SR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SR" + } + }, + "SJ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SJ" + } + }, + "SZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SZ" + } + }, + "SE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SE" + } + }, + "CH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CH" + } + }, + "SY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SY" + } + }, + "TW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TW" + } + }, + "TJ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TJ" + } + }, + "TZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TZ" + } + }, + "TH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TH" + } + }, + "TL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TL" + } + }, + "TG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TG" + } + }, + "TK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TK" + } + }, + "TO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TO" + } + }, + "TT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TT" } - ] + }, + "TN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TN" + } + }, + "TR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TR" + } + }, + "TM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TM" + } + }, + "TC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TC" + } + }, + "TV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TV" + } + }, + "UG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UG" + } + }, + "UA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UA" + } + }, + "AE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AE" + } + }, + "GB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GB" + } + }, + "US": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "US" + } + }, + "UM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UM" + } + }, + "UY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UY" + } + }, + "UZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UZ" + } + }, + "VU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VU" + } + }, + "VE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VE" + } + }, + "VN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VN" + } + }, + "VG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VG" + } + }, + "VI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VI" + } + }, + "WF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WF" + } + }, + "EH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EH" + } + }, + "YE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "YE" + } + }, + "ZM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ZM" + } + }, + "ZW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ZW" + } + } } }, "com.amazonaws.waf#GeoMatchConstraints": { @@ -4543,7 +5287,33 @@ } ], "traits": { - "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the ByteMatchSet specified by ByteMatchSetId
.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the ByteMatchSet specified by ByteMatchSetId
.
Information about the ByteMatchSet that you specified in the GetByteMatchSet
request. For more information, see the \n\t\t\tfollowing topics:
\n ByteMatchSet: Contains ByteMatchSetId
, ByteMatchTuples
, and Name
\n
\n ByteMatchTuples
: Contains an array of ByteMatchTuple objects. Each ByteMatchTuple
\n\t\t\t\tobject contains FieldToMatch, PositionalConstraint
, TargetString
, \n\t\t\t\tand TextTransformation
\n
\n FieldToMatch: Contains Data
and Type
\n
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nWhen you want to create, update, or delete AWS WAF objects, get a change token and include the change token in the create, update, or delete request. Change tokens ensure that your application doesn't submit conflicting requests to AWS WAF.
\n\t\tEach create, update, or delete request must use a unique change token. If your application submits a GetChangeToken
request \n\t\t\tand then submits a second GetChangeToken
request before submitting a create, update, or delete request, the second \n\t\t\tGetChangeToken
request returns the same value as the first GetChangeToken
request.
When you use a change token in a create, update, or delete request, the status of the change token changes to PENDING
, \n\t\t\twhich indicates that AWS WAF is propagating the change to all AWS WAF servers. Use GetChangeTokenStatus
to determine the \n\t\t\tstatus of your change token.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nWhen you want to create, update, or delete AWS WAF objects, get a change token and include the change token in the create, update, or delete request. Change tokens ensure that your application doesn't submit conflicting requests to AWS WAF.
\n\t\tEach create, update, or delete request must use a unique change token. If your application submits a GetChangeToken
request \n\t\t\tand then submits a second GetChangeToken
request before submitting a create, update, or delete request, the second \n\t\t\tGetChangeToken
request returns the same value as the first GetChangeToken
request.
When you use a change token in a create, update, or delete request, the status of the change token changes to PENDING
, \n\t\t\twhich indicates that AWS WAF is propagating the change to all AWS WAF servers. Use GetChangeTokenStatus
to determine the \n\t\t\tstatus of your change token.
The ChangeToken
that you used in the request. Use this value in a GetChangeTokenStatus
request \n\t\t\tto get the current status of the request.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the status of a ChangeToken
that you got by calling GetChangeToken. ChangeTokenStatus
is \n\t\t\tone of the following values:
\n PROVISIONED
: You requested the change token by calling GetChangeToken
, but you haven't used it yet \n\t\t\t\tin a call to create, update, or delete an AWS WAF object.
\n PENDING
: AWS WAF is propagating the create, update, or delete request to all AWS WAF servers.
\n INSYNC
: Propagation is complete.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the status of a ChangeToken
that you got by calling GetChangeToken. ChangeTokenStatus
is \n\t\t\tone of the following values:
\n PROVISIONED
: You requested the change token by calling GetChangeToken
, but you haven't used it yet \n\t\t\t\tin a call to create, update, or delete an AWS WAF object.
\n PENDING
: AWS WAF is propagating the create, update, or delete request to all AWS WAF servers.
\n INSYNC
: Propagation is complete.
The status of the change token.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.waf#GetGeoMatchSet": { @@ -4677,6 +5486,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.waf#GetGeoMatchSetResponse": { @@ -4688,6 +5500,9 @@ "smithy.api#documentation": "Information about the GeoMatchSet that you specified in the GetGeoMatchSet
request. This includes the Type
, which for a GeoMatchContraint
is always Country
, as well as the Value
, which is the identifier for a specific country.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the IPSet that is specified by IPSetId
.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the IPSet that is specified by IPSetId
.
Information about the IPSet that you specified in the GetIPSet
request. For more information, see the \n\t\t\tfollowing topics:
\n IPSet: Contains IPSetDescriptors
, IPSetId
, and Name
\n
\n IPSetDescriptors
: Contains an array of IPSetDescriptor objects. Each IPSetDescriptor
\n\t\t\t\tobject contains Type
and Value
\n
The LoggingConfiguration for the specified web ACL.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.waf#GetPermissionPolicy": { @@ -4809,6 +5657,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.waf#GetPermissionPolicyResponse": { @@ -4820,6 +5671,9 @@ "smithy.api#documentation": "The IAM policy attached to the specified RuleGroup.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.waf#GetRateBasedRule": { @@ -4887,6 +5741,9 @@ "smithy.api#documentation": "A null value and not currently used. Do not include this in your request.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.waf#GetRateBasedRuleManagedKeysResponse": { @@ -4904,6 +5761,9 @@ "smithy.api#documentation": "A null value and not currently used.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.waf#GetRateBasedRuleRequest": { @@ -4916,6 +5776,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.waf#GetRateBasedRuleResponse": { @@ -4927,6 +5790,9 @@ "smithy.api#documentation": "Information about the RateBasedRule that you specified in the\n GetRateBasedRule
request.
Information about the RegexMatchSet that you specified in the GetRegexMatchSet
request. For more information, see RegexMatchTuple.
Information about the RegexPatternSet that you specified in the GetRegexPatternSet
request, including the identifier of the pattern set and the regular expression patterns you want AWS WAF to search for.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the Rule that is specified by the RuleId
that you included in the GetRule
request.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the Rule that is specified by the RuleId
that you included in the GetRule
request.
Information about the RuleGroup that you specified in the GetRuleGroup
request.
Information about the Rule that you specified in the GetRule
request. \n\t\t\tFor more information, see the following topics:
\n Rule: Contains MetricName
, Name
, an array of Predicate
objects, \n\t\t\t\tand RuleId
\n
\n Predicate: Each Predicate
object contains DataId
, Negated
, and \n\t\t\t\tType
\n
Usually, TimeWindow
is the time range that you specified in the GetSampledRequests
request. However, \n\t\t\tif your AWS resource received more than 5,000 requests during the time range that you specified in the request, \n\t\t\tGetSampledRequests
returns the time range for the first 5,000 requests. Times are in Coordinated Universal Time (UTC) format.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the SizeConstraintSet specified by SizeConstraintSetId
.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the SizeConstraintSet specified by SizeConstraintSetId
.
Information about the SizeConstraintSet that you specified in the GetSizeConstraintSet
request. For more information, see the \n\t\t\tfollowing topics:
\n SizeConstraintSet: Contains SizeConstraintSetId
, SizeConstraints
, and Name
\n
\n SizeConstraints
: Contains an array of SizeConstraint objects. Each SizeConstraint
\n\t\t\t\tobject contains FieldToMatch, TextTransformation
, ComparisonOperator
, \n\t\t\t\tand Size
\n
\n FieldToMatch: Contains Data
and Type
\n
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the SqlInjectionMatchSet that is specified by SqlInjectionMatchSetId
.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the SqlInjectionMatchSet that is specified by SqlInjectionMatchSetId
.
A request to get a SqlInjectionMatchSet.
" + "smithy.api#documentation": "A request to get a SqlInjectionMatchSet.
", + "smithy.api#input": {} } }, "com.amazonaws.waf#GetSqlInjectionMatchSetResponse": { @@ -5293,7 +6267,8 @@ } }, "traits": { - "smithy.api#documentation": "The response to a GetSqlInjectionMatchSet request.
" + "smithy.api#documentation": "The response to a GetSqlInjectionMatchSet request.
", + "smithy.api#output": {} } }, "com.amazonaws.waf#GetWebACL": { @@ -5316,7 +6291,35 @@ } ], "traits": { - "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the WebACL that is specified by WebACLId
.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the WebACL that is specified by WebACLId
.
Information about the WebACL that you specified in the GetWebACL
request. \n\t\t\tFor more information, see the following topics:
\n WebACL: Contains DefaultAction
, MetricName
, Name
, an array of \n\t\t\t\tRule
objects, and WebACLId
\n
\n DefaultAction
(Data type is WafAction): Contains Type
\n
\n Rules
: Contains an array of ActivatedRule
objects, which contain Action
, \n\t\t\t\tPriority
, and RuleId
\n
\n Action
: Contains Type
\n
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the XssMatchSet that is specified by XssMatchSetId
.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns the XssMatchSet that is specified by XssMatchSetId
.
A request to get an XssMatchSet.
" + "smithy.api#documentation": "A request to get an XssMatchSet.
", + "smithy.api#input": {} } }, "com.amazonaws.waf#GetXssMatchSetResponse": { @@ -5391,7 +6424,8 @@ } }, "traits": { - "smithy.api#documentation": "The response to a GetXssMatchSet request.
" + "smithy.api#documentation": "The response to a GetXssMatchSet request.
", + "smithy.api#output": {} } }, "com.amazonaws.waf#HTTPHeader": { @@ -5527,18 +6561,20 @@ } }, "com.amazonaws.waf#IPSetDescriptorType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IPV4", - "name": "IPV4" - }, - { - "value": "IPV6", - "name": "IPV6" + "type": "enum", + "members": { + "IPV4": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IPV4" } - ] + }, + "IPV6": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IPV6" + } + } } }, "com.amazonaws.waf#IPSetDescriptorValue": { @@ -5548,7 +6584,7 @@ "min": 1, "max": 50 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.waf#IPSetDescriptors": { @@ -5669,6 +6705,9 @@ "smithy.api#documentation": "Specifies the number of ActivatedRules
that you want AWS WAF to return for this request. If you have more ActivatedRules
than the number that you specify for Limit
, the response includes a \n NextMarker
value that you can use to get another batch of ActivatedRules
.
An array of ActivatedRules
objects.
Specifies the number of ByteMatchSet
objects that you want AWS WAF to return for this request. If you have more \n\t\t\tByteMatchSets
objects than the number you specify for Limit
, the response includes a \n\t\t\tNextMarker
value that you can use to get another batch of ByteMatchSet
objects.
An array of ByteMatchSetSummary objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.waf#ListGeoMatchSets": { @@ -5779,6 +6827,9 @@ "smithy.api#documentation": "Specifies the number of GeoMatchSet
objects that you want AWS WAF to return for this request. If you have more \n\t\t\tGeoMatchSet
objects than the number you specify for Limit
, the response includes a \n\t\t\tNextMarker
value that you can use to get another batch of GeoMatchSet
objects.
An array of GeoMatchSetSummary objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.waf#ListIPSets": { @@ -5815,7 +6869,24 @@ } ], "traits": { - "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns an array of IPSetSummary objects in the response.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns an array of IPSetSummary objects in the response.
", + "smithy.api#examples": [ + { + "title": "To list IP sets", + "documentation": "The following example returns an array of up to 100 IP match sets.", + "input": { + "Limit": 100 + }, + "output": { + "IPSets": [ + { + "IPSetId": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", + "Name": "MyIPSetFriendlyName" + } + ] + } + } + ] } }, "com.amazonaws.waf#ListIPSetsRequest": { @@ -5834,6 +6905,9 @@ "smithy.api#documentation": "Specifies the number of IPSet
objects that you want AWS WAF to return for this request. If you have more \n\t\t\tIPSet
objects than the number you specify for Limit
, the response includes a \n\t\t\tNextMarker
value that you can use to get another batch of IPSet
objects.
An array of IPSetSummary objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.waf#ListLoggingConfigurations": { @@ -5892,6 +6969,9 @@ "smithy.api#documentation": "Specifies the number of LoggingConfigurations
that you want AWS WAF to return for this request. If you have more LoggingConfigurations
than the number that you specify for Limit
, the response includes a NextMarker
value that you can use to get another batch of LoggingConfigurations
.
If you have more LoggingConfigurations
than the number that you specified for Limit
in the request, the response includes a NextMarker
value. To list more LoggingConfigurations
, submit another ListLoggingConfigurations
request, and specify the NextMarker
value from the response in the NextMarker
value in the next request.
Specifies the number of Rules
that you want AWS WAF to return for this\n request. If you have more Rules
than the number that you specify for\n Limit
, the response includes a NextMarker
value that you can\n use to get another batch of Rules
.
An array of RuleSummary objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.waf#ListRegexMatchSets": { @@ -6002,6 +7091,9 @@ "smithy.api#documentation": "Specifies the number of RegexMatchSet
objects that you want AWS WAF to return for this request. If you have more \n\t\t\tRegexMatchSet
objects than the number you specify for Limit
, the response includes a \n\t\t\tNextMarker
value that you can use to get another batch of RegexMatchSet
objects.
An array of RegexMatchSetSummary objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.waf#ListRegexPatternSets": { @@ -6057,6 +7152,9 @@ "smithy.api#documentation": "Specifies the number of RegexPatternSet
objects that you want AWS WAF to return for this request. If you have more \n\t\t\tRegexPatternSet
objects than the number you specify for Limit
, the response includes a \n\t\t\tNextMarker
value that you can use to get another batch of RegexPatternSet
objects.
An array of RegexPatternSetSummary objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.waf#ListRuleGroups": { @@ -6109,6 +7210,9 @@ "smithy.api#documentation": "Specifies the number of RuleGroups
that you want AWS WAF to return for this request. If you have more RuleGroups
than the number that you specify for Limit
, the response includes a NextMarker
value that you can use to get another batch of RuleGroups
.
An array of RuleGroup objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.waf#ListRules": { @@ -6145,7 +7252,24 @@ } ], "traits": { - "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns an array of RuleSummary objects.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns an array of RuleSummary objects.
", + "smithy.api#examples": [ + { + "title": "To list rules", + "documentation": "The following example returns an array of up to 100 rules.", + "input": { + "Limit": 100 + }, + "output": { + "Rules": [ + { + "Name": "WAFByteHeaderRule", + "RuleId": "WAFRule-1-Example" + } + ] + } + } + ] } }, "com.amazonaws.waf#ListRulesRequest": { @@ -6164,6 +7288,9 @@ "smithy.api#documentation": "Specifies the number of Rules
that you want AWS WAF to return for this request. If you have more \t\t\tRules
than the number that you specify for Limit
, the response includes a \n\t\t\tNextMarker
value that you can use to get another batch of Rules
.
An array of RuleSummary objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.waf#ListSizeConstraintSets": { @@ -6200,7 +7330,24 @@ } ], "traits": { - "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns an array of SizeConstraintSetSummary objects.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns an array of SizeConstraintSetSummary objects.
", + "smithy.api#examples": [ + { + "title": "To list a size constraint sets", + "documentation": "The following example returns an array of up to 100 size contraint match sets.", + "input": { + "Limit": 100 + }, + "output": { + "SizeConstraintSets": [ + { + "Name": "MySampleSizeConstraintSet", + "SizeConstraintSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" + } + ] + } + } + ] } }, "com.amazonaws.waf#ListSizeConstraintSetsRequest": { @@ -6219,6 +7366,9 @@ "smithy.api#documentation": "Specifies the number of SizeConstraintSet
objects that you want AWS WAF to return for this request. If you have more \n\t\t\tSizeConstraintSets
objects than the number you specify for Limit
, the response includes a \n\t\t\tNextMarker
value that you can use to get another batch of SizeConstraintSet
objects.
An array of SizeConstraintSetSummary objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.waf#ListSqlInjectionMatchSets": { @@ -6255,7 +7408,24 @@ } ], "traits": { - "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns an array of SqlInjectionMatchSet objects.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns an array of SqlInjectionMatchSet objects.
", + "smithy.api#examples": [ + { + "title": "To list SQL injection match sets", + "documentation": "The following example returns an array of up to 100 SQL injection match sets.", + "input": { + "Limit": 100 + }, + "output": { + "SqlInjectionMatchSets": [ + { + "Name": "MySQLInjectionMatchSet", + "SqlInjectionMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" + } + ] + } + } + ] } }, "com.amazonaws.waf#ListSqlInjectionMatchSetsRequest": { @@ -6276,7 +7446,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to list the SqlInjectionMatchSet objects created by the current AWS account.
" + "smithy.api#documentation": "A request to list the SqlInjectionMatchSet objects created by the current AWS account.
", + "smithy.api#input": {} } }, "com.amazonaws.waf#ListSqlInjectionMatchSetsResponse": { @@ -6296,7 +7467,8 @@ } }, "traits": { - "smithy.api#documentation": "The response to a ListSqlInjectionMatchSets request.
" + "smithy.api#documentation": "The response to a ListSqlInjectionMatchSets request.
", + "smithy.api#output": {} } }, "com.amazonaws.waf#ListSubscribedRuleGroups": { @@ -6335,6 +7507,9 @@ "smithy.api#documentation": "Specifies the number of subscribed rule groups that you want AWS WAF to return for this request. If you have more \n\t\t\tobjects than the number you specify for Limit
, the response includes a \n\t\t\tNextMarker
value that you can use to get another batch of objects.
An array of RuleGroup objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.waf#ListTagsForResource": { @@ -6409,6 +7587,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.waf#ListTagsForResourceResponse": { @@ -6426,6 +7607,9 @@ "smithy.api#documentation": "" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.waf#ListWebACLs": { @@ -6445,7 +7629,24 @@ } ], "traits": { - "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns an array of WebACLSummary objects in the response.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns an array of WebACLSummary objects in the response.
", + "smithy.api#examples": [ + { + "title": "To list Web ACLs", + "documentation": "The following example returns an array of up to 100 web ACLs.", + "input": { + "Limit": 100 + }, + "output": { + "WebACLs": [ + { + "Name": "WebACLexample", + "WebACLId": "webacl-1472061481310" + } + ] + } + } + ] } }, "com.amazonaws.waf#ListWebACLsRequest": { @@ -6464,6 +7665,9 @@ "smithy.api#documentation": "Specifies the number of WebACL
objects that you want AWS WAF to return for this request. If you have more \n\t\t\tWebACL
objects than the number that you specify for Limit
, the response includes a \n\t\t\tNextMarker
value that you can use to get another batch of WebACL
objects.
An array of WebACLSummary objects.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.waf#ListXssMatchSets": { @@ -6500,7 +7707,24 @@ } ], "traits": { - "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns an array of XssMatchSet objects.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nReturns an array of XssMatchSet objects.
", + "smithy.api#examples": [ + { + "title": "To list XSS match sets", + "documentation": "The following example returns an array of up to 100 XSS match sets.", + "input": { + "Limit": 100 + }, + "output": { + "XssMatchSets": [ + { + "Name": "MySampleXssMatchSet", + "XssMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5" + } + ] + } + } + ] } }, "com.amazonaws.waf#ListXssMatchSetsRequest": { @@ -6521,7 +7745,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to list the XssMatchSet objects created by the current AWS account.
" + "smithy.api#documentation": "A request to list the XssMatchSet objects created by the current AWS account.
", + "smithy.api#input": {} } }, "com.amazonaws.waf#ListXssMatchSetsResponse": { @@ -6541,7 +7766,8 @@ } }, "traits": { - "smithy.api#documentation": "The response to a ListXssMatchSets request.
" + "smithy.api#documentation": "The response to a ListXssMatchSets request.
", + "smithy.api#output": {} } }, "com.amazonaws.waf#LogDestinationConfigs": { @@ -6606,42 +7832,54 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.waf#MatchFieldType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "URI", - "name": "URI" - }, - { - "value": "QUERY_STRING", - "name": "QUERY_STRING" - }, - { - "value": "HEADER", - "name": "HEADER" - }, - { - "value": "METHOD", - "name": "METHOD" - }, - { - "value": "BODY", - "name": "BODY" - }, - { - "value": "SINGLE_QUERY_ARG", - "name": "SINGLE_QUERY_ARG" - }, - { - "value": "ALL_QUERY_ARGS", - "name": "ALL_QUERY_ARGS" + "type": "enum", + "members": { + "URI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "URI" } - ] + }, + "QUERY_STRING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUERY_STRING" + } + }, + "HEADER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HEADER" + } + }, + "METHOD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "METHOD" + } + }, + "BODY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BODY" + } + }, + "SINGLE_QUERY_ARG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SINGLE_QUERY_ARG" + } + }, + "ALL_QUERY_ARGS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALL_QUERY_ARGS" + } + } } }, "com.amazonaws.waf#MetricName": { @@ -6651,42 +7889,54 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.waf#MigrationErrorType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENTITY_NOT_SUPPORTED", - "name": "ENTITY_NOT_SUPPORTED" - }, - { - "value": "ENTITY_NOT_FOUND", - "name": "ENTITY_NOT_FOUND" - }, - { - "value": "S3_BUCKET_NO_PERMISSION", - "name": "S3_BUCKET_NO_PERMISSION" - }, - { - "value": "S3_BUCKET_NOT_ACCESSIBLE", - "name": "S3_BUCKET_NOT_ACCESSIBLE" - }, - { - "value": "S3_BUCKET_NOT_FOUND", - "name": "S3_BUCKET_NOT_FOUND" - }, - { - "value": "S3_BUCKET_INVALID_REGION", - "name": "S3_BUCKET_INVALID_REGION" - }, - { - "value": "S3_INTERNAL_ERROR", - "name": "S3_INTERNAL_ERROR" + "type": "enum", + "members": { + "ENTITY_NOT_SUPPORTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENTITY_NOT_SUPPORTED" } - ] + }, + "ENTITY_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENTITY_NOT_FOUND" + } + }, + "S3_BUCKET_NO_PERMISSION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3_BUCKET_NO_PERMISSION" + } + }, + "S3_BUCKET_NOT_ACCESSIBLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3_BUCKET_NOT_ACCESSIBLE" + } + }, + "S3_BUCKET_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3_BUCKET_NOT_FOUND" + } + }, + "S3_BUCKET_INVALID_REGION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3_BUCKET_INVALID_REGION" + } + }, + "S3_INTERNAL_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3_INTERNAL_ERROR" + } + } } }, "com.amazonaws.waf#Negated": { @@ -6699,7 +7949,7 @@ "min": 1, "max": 1224 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.waf#PaginationLimit": { @@ -6713,82 +7963,116 @@ } }, "com.amazonaws.waf#ParameterExceptionField": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CHANGE_ACTION", - "name": "CHANGE_ACTION" - }, - { - "value": "WAF_ACTION", - "name": "WAF_ACTION" - }, - { - "value": "WAF_OVERRIDE_ACTION", - "name": "WAF_OVERRIDE_ACTION" - }, - { - "value": "PREDICATE_TYPE", - "name": "PREDICATE_TYPE" - }, - { - "value": "IPSET_TYPE", - "name": "IPSET_TYPE" - }, - { - "value": "BYTE_MATCH_FIELD_TYPE", - "name": "BYTE_MATCH_FIELD_TYPE" - }, - { - "value": "SQL_INJECTION_MATCH_FIELD_TYPE", - "name": "SQL_INJECTION_MATCH_FIELD_TYPE" - }, - { - "value": "BYTE_MATCH_TEXT_TRANSFORMATION", - "name": "BYTE_MATCH_TEXT_TRANSFORMATION" - }, - { - "value": "BYTE_MATCH_POSITIONAL_CONSTRAINT", - "name": "BYTE_MATCH_POSITIONAL_CONSTRAINT" - }, - { - "value": "SIZE_CONSTRAINT_COMPARISON_OPERATOR", - "name": "SIZE_CONSTRAINT_COMPARISON_OPERATOR" - }, - { - "value": "GEO_MATCH_LOCATION_TYPE", - "name": "GEO_MATCH_LOCATION_TYPE" - }, - { - "value": "GEO_MATCH_LOCATION_VALUE", - "name": "GEO_MATCH_LOCATION_VALUE" - }, - { - "value": "RATE_KEY", - "name": "RATE_KEY" - }, - { - "value": "RULE_TYPE", - "name": "RULE_TYPE" - }, - { - "value": "NEXT_MARKER", - "name": "NEXT_MARKER" - }, - { - "value": "RESOURCE_ARN", - "name": "RESOURCE_ARN" - }, - { - "value": "TAGS", - "name": "TAGS" - }, - { - "value": "TAG_KEYS", - "name": "TAG_KEYS" + "type": "enum", + "members": { + "CHANGE_ACTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CHANGE_ACTION" } - ] + }, + "WAF_ACTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WAF_ACTION" + } + }, + "WAF_OVERRIDE_ACTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WAF_OVERRIDE_ACTION" + } + }, + "PREDICATE_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PREDICATE_TYPE" + } + }, + "IPSET_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IPSET_TYPE" + } + }, + "BYTE_MATCH_FIELD_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BYTE_MATCH_FIELD_TYPE" + } + }, + "SQL_INJECTION_MATCH_FIELD_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SQL_INJECTION_MATCH_FIELD_TYPE" + } + }, + "BYTE_MATCH_TEXT_TRANSFORMATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BYTE_MATCH_TEXT_TRANSFORMATION" + } + }, + "BYTE_MATCH_POSITIONAL_CONSTRAINT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BYTE_MATCH_POSITIONAL_CONSTRAINT" + } + }, + "SIZE_CONSTRAINT_COMPARISON_OPERATOR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SIZE_CONSTRAINT_COMPARISON_OPERATOR" + } + }, + "GEO_MATCH_LOCATION_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GEO_MATCH_LOCATION_TYPE" + } + }, + "GEO_MATCH_LOCATION_VALUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GEO_MATCH_LOCATION_VALUE" + } + }, + "RATE_KEY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RATE_KEY" + } + }, + "RULE_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RULE_TYPE" + } + }, + "NEXT_MARKER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NEXT_MARKER" + } + }, + "RESOURCE_ARN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESOURCE_ARN" + } + }, + "TAGS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TAGS" + } + }, + "TAG_KEYS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TAG_KEYS" + } + } } }, "com.amazonaws.waf#ParameterExceptionParameter": { @@ -6800,26 +8084,32 @@ } }, "com.amazonaws.waf#ParameterExceptionReason": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INVALID_OPTION", - "name": "INVALID_OPTION" - }, - { - "value": "ILLEGAL_COMBINATION", - "name": "ILLEGAL_COMBINATION" - }, - { - "value": "ILLEGAL_ARGUMENT", - "name": "ILLEGAL_ARGUMENT" - }, - { - "value": "INVALID_TAG_KEY", - "name": "INVALID_TAG_KEY" + "type": "enum", + "members": { + "INVALID_OPTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_OPTION" } - ] + }, + "ILLEGAL_COMBINATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ILLEGAL_COMBINATION" + } + }, + "ILLEGAL_ARGUMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ILLEGAL_ARGUMENT" + } + }, + "INVALID_TAG_KEY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_TAG_KEY" + } + } } }, "com.amazonaws.waf#PolicyString": { @@ -6829,7 +8119,7 @@ "min": 1, "max": 395000 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.waf#PopulationSize": { @@ -6839,30 +8129,38 @@ } }, "com.amazonaws.waf#PositionalConstraint": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EXACTLY", - "name": "EXACTLY" - }, - { - "value": "STARTS_WITH", - "name": "STARTS_WITH" - }, - { - "value": "ENDS_WITH", - "name": "ENDS_WITH" - }, - { - "value": "CONTAINS", - "name": "CONTAINS" - }, - { - "value": "CONTAINS_WORD", - "name": "CONTAINS_WORD" + "type": "enum", + "members": { + "EXACTLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXACTLY" + } + }, + "STARTS_WITH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STARTS_WITH" } - ] + }, + "ENDS_WITH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENDS_WITH" + } + }, + "CONTAINS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTAINS" + } + }, + "CONTAINS_WORD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTAINS_WORD" + } + } } }, "com.amazonaws.waf#Predicate": { @@ -6895,38 +8193,50 @@ } }, "com.amazonaws.waf#PredicateType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IPMatch", - "name": "IP_MATCH" - }, - { - "value": "ByteMatch", - "name": "BYTE_MATCH" - }, - { - "value": "SqlInjectionMatch", - "name": "SQL_INJECTION_MATCH" - }, - { - "value": "GeoMatch", - "name": "GEO_MATCH" - }, - { - "value": "SizeConstraint", - "name": "SIZE_CONSTRAINT" - }, - { - "value": "XssMatch", - "name": "XSS_MATCH" - }, - { - "value": "RegexMatch", - "name": "REGEX_MATCH" + "type": "enum", + "members": { + "IP_MATCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IPMatch" } - ] + }, + "BYTE_MATCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ByteMatch" + } + }, + "SQL_INJECTION_MATCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SqlInjectionMatch" + } + }, + "GEO_MATCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GeoMatch" + } + }, + "SIZE_CONSTRAINT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SizeConstraint" + } + }, + "XSS_MATCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "XssMatch" + } + }, + "REGEX_MATCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RegexMatch" + } + } } }, "com.amazonaws.waf#Predicates": { @@ -6971,6 +8281,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.waf#PutLoggingConfigurationResponse": { @@ -6982,6 +8295,9 @@ "smithy.api#documentation": "The LoggingConfiguration that you submitted in the request.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.waf#PutPermissionPolicy": { @@ -7027,11 +8343,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.waf#PutPermissionPolicyResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.waf#RateBasedRule": { "type": "structure", @@ -7083,14 +8405,14 @@ } }, "com.amazonaws.waf#RateKey": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IP", - "name": "IP" + "type": "enum", + "members": { + "IP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IP" } - ] + } } }, "com.amazonaws.waf#RateLimit": { @@ -7349,7 +8671,7 @@ "min": 1, "max": 1224 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.waf#ResourceId": { @@ -7359,7 +8681,7 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.waf#ResourceName": { @@ -7369,7 +8691,7 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.waf#Rule": { @@ -7560,7 +8882,7 @@ "min": 3, "max": 63 }, - "smithy.api#pattern": "^aws-waf-migration-[0-9A-Za-z\\.\\-_]*" + "smithy.api#pattern": "^aws-waf-migration-[0-9A-Za-z\\.\\-_]*$" } }, "com.amazonaws.waf#S3ObjectUrl": { @@ -7970,7 +9292,7 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": ".*\\S.*" + "smithy.api#pattern": "\\S" } }, "com.amazonaws.waf#TagKeyList": { @@ -8047,11 +9369,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.waf#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.waf#TagValue": { "type": "string", @@ -8064,34 +9392,44 @@ } }, "com.amazonaws.waf#TextTransformation": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NONE", - "name": "NONE" - }, - { - "value": "COMPRESS_WHITE_SPACE", - "name": "COMPRESS_WHITE_SPACE" - }, - { - "value": "HTML_ENTITY_DECODE", - "name": "HTML_ENTITY_DECODE" - }, - { - "value": "LOWERCASE", - "name": "LOWERCASE" - }, - { - "value": "CMD_LINE", - "name": "CMD_LINE" - }, - { - "value": "URL_DECODE", - "name": "URL_DECODE" + "type": "enum", + "members": { + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" } - ] + }, + "COMPRESS_WHITE_SPACE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPRESS_WHITE_SPACE" + } + }, + "HTML_ENTITY_DECODE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HTML_ENTITY_DECODE" + } + }, + "LOWERCASE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LOWERCASE" + } + }, + "CMD_LINE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CMD_LINE" + } + }, + "URL_DECODE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "URL_DECODE" + } + } } }, "com.amazonaws.waf#TimeWindow": { @@ -8171,11 +9509,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.waf#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.waf#UpdateByteMatchSet": { "type": "operation", @@ -8212,7 +9556,34 @@ } ], "traits": { - "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes ByteMatchTuple objects (filters) in a ByteMatchSet. For each ByteMatchTuple
object, \n\t\t\tyou specify the following values:
Whether to insert or delete the object from the array. If you want to change a ByteMatchSetUpdate
object, \n\t\t\t\tyou delete the existing object and add a new one.
The part of a web request that you want AWS WAF to inspect, such as a query string or the value of the User-Agent
header.
The bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to look for. For more information, including how you specify \n\t\t\t\tthe values for the AWS WAF API and the AWS CLI or SDKs, see TargetString
in the ByteMatchTuple data type.
Where to look, such as at the beginning or the end of a query string.
\nWhether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.
\nFor example, you can add a ByteMatchSetUpdate
object that matches web requests in which User-Agent
headers contain \n\t\t\tthe string BadBot
. You can then configure AWS WAF to block those requests.
To create and configure a ByteMatchSet
, perform the following steps:
Create a ByteMatchSet.
For more information, see CreateByteMatchSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateByteMatchSet
request.
Submit an UpdateByteMatchSet
request to specify the part of the request that you want AWS WAF to inspect \n\t\t\t\t(for example, the header or the URI) and the value that you want AWS WAF to watch for.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes ByteMatchTuple objects (filters) in a ByteMatchSet. For each ByteMatchTuple
object, \n\t\t\tyou specify the following values:
Whether to insert or delete the object from the array. If you want to change a ByteMatchSetUpdate
object, \n\t\t\t\tyou delete the existing object and add a new one.
The part of a web request that you want AWS WAF to inspect, such as a query string or the value of the User-Agent
header.
The bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to look for. For more information, including how you specify \n\t\t\t\tthe values for the AWS WAF API and the AWS CLI or SDKs, see TargetString
in the ByteMatchTuple data type.
Where to look, such as at the beginning or the end of a query string.
\nWhether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.
\nFor example, you can add a ByteMatchSetUpdate
object that matches web requests in which User-Agent
headers contain \n\t\t\tthe string BadBot
. You can then configure AWS WAF to block those requests.
To create and configure a ByteMatchSet
, perform the following steps:
Create a ByteMatchSet.
For more information, see CreateByteMatchSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateByteMatchSet
request.
Submit an UpdateByteMatchSet
request to specify the part of the request that you want AWS WAF to inspect \n\t\t\t\t(for example, the header or the URI) and the value that you want AWS WAF to watch for.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
", + "smithy.api#examples": [ + { + "title": "To update a byte match set", + "documentation": "The following example deletes a ByteMatchTuple object (filters) in an byte match set with the ID exampleIDs3t-46da-4fdb-b8d5-abc321j569j5.", + "input": { + "ByteMatchSetId": "exampleIDs3t-46da-4fdb-b8d5-abc321j569j5", + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", + "Updates": [ + { + "Action": "DELETE", + "ByteMatchTuple": { + "FieldToMatch": { + "Data": "referer", + "Type": "HEADER" + }, + "PositionalConstraint": "CONTAINS", + "TargetString": "badrefer1", + "TextTransformation": "NONE" + } + } + ] + }, + "output": { + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + } + } + ] } }, "com.amazonaws.waf#UpdateByteMatchSetRequest": { @@ -8239,6 +9610,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.waf#UpdateByteMatchSetResponse": { @@ -8250,6 +9624,9 @@ "smithy.api#documentation": "The ChangeToken
that you used to submit the UpdateByteMatchSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the UpdateGeoMatchSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes IPSetDescriptor objects in an\n IPSet
. For each IPSetDescriptor
object, you specify the following\n values:
Whether to insert or delete the object from the array. If you want to change an\n IPSetDescriptor
object, you delete the existing object and add a new\n one.
The IP address version, IPv4
or IPv6
.
The IP address in CIDR notation, for example, 192.0.2.0/24
(for\n the range of IP addresses from 192.0.2.0
to 192.0.2.255
) or\n 192.0.2.44/32
(for the individual IP address\n 192.0.2.44
).
AWS WAF supports IPv4 address ranges: /8 and any range between /16 through /32. AWS\n WAF supports IPv6 address ranges: /24, /32, /48, /56, /64, and /128. For more\n information about CIDR notation, see the Wikipedia entry Classless\n Inter-Domain Routing.
\nIPv6 addresses can be represented using any of the following formats:
\n1111:0000:0000:0000:0000:0000:0000:0111/128
\n1111:0:0:0:0:0:0:0111/128
\n1111::0111/128
\n1111::111/128
\nYou use an IPSet
to specify which web requests you want to allow or\n block based on the IP addresses that the requests originated from. For example, if you're\n receiving a lot of requests from one or a small number of IP addresses and you want to\n block the requests, you can create an IPSet
that specifies those IP addresses,\n and then configure AWS WAF to block the requests.
To create and configure an IPSet
, perform the following steps:
Submit a CreateIPSet request.
\nUse GetChangeToken to get the change token that you provide\n in the ChangeToken
parameter of an UpdateIPSet\n request.
Submit an UpdateIPSet
request to specify the IP addresses that you\n want AWS WAF to watch for.
When you update an IPSet
, you specify the IP addresses that you want to\n add and/or the IP addresses that you want to delete. If you want to change an IP address,\n you delete the existing IP address and add the new one.
You can insert a maximum of 1000 addresses in a single\n request.
\nFor more information about how to use the AWS WAF API to allow or block HTTP\n requests, see the AWS WAF\n Developer Guide.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes IPSetDescriptor objects in an\n IPSet
. For each IPSetDescriptor
object, you specify the following\n values:
Whether to insert or delete the object from the array. If you want to change an\n IPSetDescriptor
object, you delete the existing object and add a new\n one.
The IP address version, IPv4
or IPv6
.
The IP address in CIDR notation, for example, 192.0.2.0/24
(for\n the range of IP addresses from 192.0.2.0
to 192.0.2.255
) or\n 192.0.2.44/32
(for the individual IP address\n 192.0.2.44
).
AWS WAF supports IPv4 address ranges: /8 and any range between /16 through /32. AWS\n WAF supports IPv6 address ranges: /24, /32, /48, /56, /64, and /128. For more\n information about CIDR notation, see the Wikipedia entry Classless\n Inter-Domain Routing.
\nIPv6 addresses can be represented using any of the following formats:
\n1111:0000:0000:0000:0000:0000:0000:0111/128
\n1111:0:0:0:0:0:0:0111/128
\n1111::0111/128
\n1111::111/128
\nYou use an IPSet
to specify which web requests you want to allow or\n block based on the IP addresses that the requests originated from. For example, if you're\n receiving a lot of requests from one or a small number of IP addresses and you want to\n block the requests, you can create an IPSet
that specifies those IP addresses,\n and then configure AWS WAF to block the requests.
To create and configure an IPSet
, perform the following steps:
Submit a CreateIPSet request.
\nUse GetChangeToken to get the change token that you provide\n in the ChangeToken
parameter of an UpdateIPSet\n request.
Submit an UpdateIPSet
request to specify the IP addresses that you\n want AWS WAF to watch for.
When you update an IPSet
, you specify the IP addresses that you want to\n add and/or the IP addresses that you want to delete. If you want to change an IP address,\n you delete the existing IP address and add the new one.
You can insert a maximum of 1000 addresses in a single\n request.
\nFor more information about how to use the AWS WAF API to allow or block HTTP\n requests, see the AWS WAF\n Developer Guide.
", + "smithy.api#examples": [ + { + "title": "To update an IP set", + "documentation": "The following example deletes an IPSetDescriptor object in an IP match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", + "input": { + "IPSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", + "Updates": [ + { + "Action": "DELETE", + "IPSetDescriptor": { + "Type": "IPV4", + "Value": "192.0.2.44/32" + } + } + ] + }, + "output": { + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + } + } + ] } }, "com.amazonaws.waf#UpdateIPSetRequest": { @@ -8395,6 +9800,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.waf#UpdateIPSetResponse": { @@ -8406,6 +9814,9 @@ "smithy.api#documentation": "The ChangeToken
that you used to submit the UpdateIPSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the\n UpdateRateBasedRule
request. You can also use this value to query the\n status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the UpdateRegexMatchSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the UpdateRegexPatternSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes Predicate objects in a Rule
. Each\n Predicate
object identifies a predicate, such as a ByteMatchSet or an IPSet, that specifies the web requests\n that you want to allow, block, or count. If you add more than one predicate to a\n Rule
, a request must match all of the specifications to be allowed,\n blocked, or counted. For example, suppose\n that\n you add the following to a Rule
:
A ByteMatchSet
that matches the value BadBot
in the User-Agent
header
An IPSet
that matches the IP address 192.0.2.44
\n
You then add the Rule
to a WebACL
and specify that you want to block requests that satisfy the Rule
. \n\t\t\tFor a request to be blocked, the User-Agent
header in the request must contain the value BadBot
\n\t\t\t and the request must originate from the IP address 192.0.2.44.
To create and configure a Rule
, perform the following steps:
Create and update the predicates that you want to include in the Rule
.
Create the Rule
. See CreateRule.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateRule request.
Submit an UpdateRule
request to add predicates to the Rule
.
Create and update a WebACL
that contains the Rule
. See CreateWebACL.
If you want to replace one ByteMatchSet
or IPSet
with another, you delete the existing one and \n\t\t\tadd the new one.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes Predicate objects in a Rule
. Each\n Predicate
object identifies a predicate, such as a ByteMatchSet or an IPSet, that specifies the web requests\n that you want to allow, block, or count. If you add more than one predicate to a\n Rule
, a request must match all of the specifications to be allowed,\n blocked, or counted. For example, suppose\n that\n you add the following to a Rule
:
A ByteMatchSet
that matches the value BadBot
in the User-Agent
header
An IPSet
that matches the IP address 192.0.2.44
\n
You then add the Rule
to a WebACL
and specify that you want to block requests that satisfy the Rule
. \n\t\t\tFor a request to be blocked, the User-Agent
header in the request must contain the value BadBot
\n\t\t\t and the request must originate from the IP address 192.0.2.44.
To create and configure a Rule
, perform the following steps:
Create and update the predicates that you want to include in the Rule
.
Create the Rule
. See CreateRule.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateRule request.
Submit an UpdateRule
request to add predicates to the Rule
.
Create and update a WebACL
that contains the Rule
. See CreateWebACL.
If you want to replace one ByteMatchSet
or IPSet
with another, you delete the existing one and \n\t\t\tadd the new one.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
", + "smithy.api#examples": [ + { + "title": "To update a rule", + "documentation": "The following example deletes a Predicate object in a rule with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", + "input": { + "RuleId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", + "Updates": [ + { + "Action": "DELETE", + "Predicate": { + "DataId": "MyByteMatchSetID", + "Negated": false, + "Type": "ByteMatch" + } + } + ] + }, + "output": { + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + } + } + ] } }, "com.amazonaws.waf#UpdateRuleGroup": { @@ -8744,6 +10196,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.waf#UpdateRuleGroupResponse": { @@ -8755,6 +10210,9 @@ "smithy.api#documentation": "The ChangeToken
that you used to submit the UpdateRuleGroup
request. You can also use this value \n to query the status of the request. For more information, see GetChangeTokenStatus.
The ChangeToken
that you used to submit the UpdateRule
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes SizeConstraint objects (filters) in a SizeConstraintSet. For each SizeConstraint
object, \n\t\t\tyou specify the following values:
Whether to insert or delete the object from the array. If you want to change a SizeConstraintSetUpdate
object, \n\t\t\t\tyou delete the existing object and add a new one.
The part of a web request that you want AWS WAF to evaluate, such as the length of a query string or the length of the \n\t\t\t\tUser-Agent
header.
Whether to perform any transformations on the request, such as converting it to lowercase, before checking its length. \n\t\t\t\tNote that transformations of the request body are not supported because the AWS resource forwards only the first 8192
bytes \n\t\t\t\tof your request to AWS WAF.
You can only specify a single type of TextTransformation.
\nA ComparisonOperator
used for evaluating the selected part of the request against the specified Size
, such as \n\t\t\t\tequals, greater than, less than, and so on.
The length, in bytes, that you want AWS WAF to watch for in selected part of the request. The length is computed after applying the transformation.
\nFor example, you can add a SizeConstraintSetUpdate
object that matches web requests in which the length of the \n\t\t\tUser-Agent
header is greater than 100 bytes. You can then configure AWS WAF to block those requests.
To create and configure a SizeConstraintSet
, perform the following steps:
Create a SizeConstraintSet.
For more information, see CreateSizeConstraintSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateSizeConstraintSet
request.
Submit an UpdateSizeConstraintSet
request to specify the part of the request that you want AWS WAF to inspect \n\t\t\t\t(for example, the header or the URI) and the value that you want AWS WAF to watch for.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes SizeConstraint objects (filters) in a SizeConstraintSet. For each SizeConstraint
object, \n\t\t\tyou specify the following values:
Whether to insert or delete the object from the array. If you want to change a SizeConstraintSetUpdate
object, \n\t\t\t\tyou delete the existing object and add a new one.
The part of a web request that you want AWS WAF to evaluate, such as the length of a query string or the length of the \n\t\t\t\tUser-Agent
header.
Whether to perform any transformations on the request, such as converting it to lowercase, before checking its length. \n\t\t\t\tNote that transformations of the request body are not supported because the AWS resource forwards only the first 8192
bytes \n\t\t\t\tof your request to AWS WAF.
You can only specify a single type of TextTransformation.
\nA ComparisonOperator
used for evaluating the selected part of the request against the specified Size
, such as \n\t\t\t\tequals, greater than, less than, and so on.
The length, in bytes, that you want AWS WAF to watch for in selected part of the request. The length is computed after applying the transformation.
\nFor example, you can add a SizeConstraintSetUpdate
object that matches web requests in which the length of the \n\t\t\tUser-Agent
header is greater than 100 bytes. You can then configure AWS WAF to block those requests.
To create and configure a SizeConstraintSet
, perform the following steps:
Create a SizeConstraintSet.
For more information, see CreateSizeConstraintSet.
Use GetChangeToken to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateSizeConstraintSet
request.
Submit an UpdateSizeConstraintSet
request to specify the part of the request that you want AWS WAF to inspect \n\t\t\t\t(for example, the header or the URI) and the value that you want AWS WAF to watch for.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
", + "smithy.api#examples": [ + { + "title": "To update a size constraint set", + "documentation": "The following example deletes a SizeConstraint object (filters) in a size constraint set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", + "input": { + "SizeConstraintSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", + "Updates": [ + { + "Action": "DELETE", + "SizeConstraint": { + "ComparisonOperator": "GT", + "FieldToMatch": { + "Type": "QUERY_STRING" + }, + "Size": 0, + "TextTransformation": "NONE" + } + } + ] + }, + "output": { + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + } + } + ] } }, "com.amazonaws.waf#UpdateSizeConstraintSetRequest": { @@ -8859,6 +10349,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.waf#UpdateSizeConstraintSetResponse": { @@ -8870,6 +10363,9 @@ "smithy.api#documentation": "The ChangeToken
that you used to submit the UpdateSizeConstraintSet
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes SqlInjectionMatchTuple objects (filters) in a SqlInjectionMatchSet. \n\t\t\tFor each SqlInjectionMatchTuple
object, you specify the following values:
\n Action
: Whether to insert the object into or delete the object from the array. To change a \n\t\t\t\tSqlInjectionMatchTuple
, you delete the existing object and add a new one.
\n FieldToMatch
: The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header or custom query parameter, \n\t\t\t\tthe name of the header or parameter.
\n TextTransformation
: Which text transformation, if any, to perform on the web request before \n\t\t\t\tinspecting the request for snippets of malicious SQL code.
You can only specify a single type of TextTransformation.
\nYou use SqlInjectionMatchSet
objects to specify which CloudFront\n requests that\n you want to allow, block, or count. For example, if you're receiving\n requests that contain snippets of SQL code in the query string and you want to block the\n requests, you can create a SqlInjectionMatchSet
with the applicable settings,\n and then configure AWS WAF to block the requests.
To create and configure a SqlInjectionMatchSet
, perform the following steps:
Submit a CreateSqlInjectionMatchSet request.
\nUse GetChangeToken to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateIPSet request.
Submit an UpdateSqlInjectionMatchSet
request to specify the parts of web requests that you want AWS WAF to \n\t\t\t\tinspect for snippets of SQL code.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes SqlInjectionMatchTuple objects (filters) in a SqlInjectionMatchSet. \n\t\t\tFor each SqlInjectionMatchTuple
object, you specify the following values:
\n Action
: Whether to insert the object into or delete the object from the array. To change a \n\t\t\t\tSqlInjectionMatchTuple
, you delete the existing object and add a new one.
\n FieldToMatch
: The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header or custom query parameter, \n\t\t\t\tthe name of the header or parameter.
\n TextTransformation
: Which text transformation, if any, to perform on the web request before \n\t\t\t\tinspecting the request for snippets of malicious SQL code.
You can only specify a single type of TextTransformation.
\nYou use SqlInjectionMatchSet
objects to specify which CloudFront\n requests that\n you want to allow, block, or count. For example, if you're receiving\n requests that contain snippets of SQL code in the query string and you want to block the\n requests, you can create a SqlInjectionMatchSet
with the applicable settings,\n and then configure AWS WAF to block the requests.
To create and configure a SqlInjectionMatchSet
, perform the following steps:
Submit a CreateSqlInjectionMatchSet request.
\nUse GetChangeToken to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateIPSet request.
Submit an UpdateSqlInjectionMatchSet
request to specify the parts of web requests that you want AWS WAF to \n\t\t\t\tinspect for snippets of SQL code.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
", + "smithy.api#examples": [ + { + "title": "To update a SQL injection match set", + "documentation": "The following example deletes a SqlInjectionMatchTuple object (filters) in a SQL injection match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", + "input": { + "SqlInjectionMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", + "Updates": [ + { + "Action": "DELETE", + "SqlInjectionMatchTuple": { + "FieldToMatch": { + "Type": "QUERY_STRING" + }, + "TextTransformation": "URL_DECODE" + } + } + ] + }, + "output": { + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + } + } + ] } }, "com.amazonaws.waf#UpdateSqlInjectionMatchSetRequest": { @@ -8936,7 +10456,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to update a SqlInjectionMatchSet.
" + "smithy.api#documentation": "A request to update a SqlInjectionMatchSet.
", + "smithy.api#input": {} } }, "com.amazonaws.waf#UpdateSqlInjectionMatchSetResponse": { @@ -8950,7 +10471,8 @@ } }, "traits": { - "smithy.api#documentation": "The response to an UpdateSqlInjectionMatchSets request.
" + "smithy.api#documentation": "The response to an UpdateSqlInjectionMatchSets request.
", + "smithy.api#output": {} } }, "com.amazonaws.waf#UpdateWebACL": { @@ -8994,7 +10516,35 @@ } ], "traits": { - "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes ActivatedRule objects in a WebACL
. Each Rule
identifies \n\t\t\tweb requests that you want to allow, block, or count. When you update a WebACL
, you specify the following values:
A default action for the WebACL
, either ALLOW
or BLOCK
. \n\t\t\t\tAWS WAF performs the default action if a request doesn't match the criteria in any of the Rules
in a WebACL
.
The Rules
that you want to add\n or\n delete. If you want to replace one Rule
with another, you delete the\n existing Rule
and add the new one.
For each Rule
, whether you want AWS WAF to allow requests, block requests, or count requests that match \n\t\t\t\tthe conditions in the Rule
.
The order in which you want AWS WAF to evaluate the Rules
in a\n WebACL
. If you add more than one Rule
to a\n WebACL
, AWS WAF evaluates each request against the Rules
\n in order based on the value of Priority
. (The Rule
that has\n the lowest value for Priority
is evaluated first.) When a web request\n matches all\n the\n predicates (such as ByteMatchSets
and IPSets
) in a\n Rule
, AWS WAF immediately takes the corresponding action, allow or\n block, and doesn't evaluate the request against the remaining Rules
in\n the WebACL
, if any.
To create and configure a WebACL
, perform the following steps:
Create and update the predicates that you want to include in Rules
. \n\t\t\t\tFor more information, see CreateByteMatchSet, UpdateByteMatchSet, CreateIPSet, UpdateIPSet, \n\t\t\t\tCreateSqlInjectionMatchSet, and UpdateSqlInjectionMatchSet.
Create and update the Rules
that you want to include in the WebACL
. For more information, see \n\t\t\t\tCreateRule and UpdateRule.
Create a WebACL
. See CreateWebACL.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateWebACL request.
Submit an UpdateWebACL
request to specify the Rules
\n that you want to include in the WebACL
, to specify the default action,\n and to associate the WebACL
with a CloudFront distribution.
The ActivatedRule
can be a rule group. If you specify a rule group\n as your\n ActivatedRule
\n ,\n you can exclude specific rules from that rule group.
If you already have a rule group associated with a web ACL and want to submit\n an UpdateWebACL
request to exclude certain rules from that rule group,\n you must first remove the rule group from the web ACL, the re-insert it again,\n specifying the excluded rules.\n For details,\n see\n ActivatedRule$ExcludedRules\n .\n
Be aware that if you try to add a RATE_BASED rule to a web ACL without setting the rule type when first creating the rule, the UpdateWebACL request will fail because the request tries to add a REGULAR rule (the default rule type) with the specified ID, which does not exist. \t\t
\t\t\t\n\t\tFor more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes ActivatedRule objects in a WebACL
. Each Rule
identifies \n\t\t\tweb requests that you want to allow, block, or count. When you update a WebACL
, you specify the following values:
A default action for the WebACL
, either ALLOW
or BLOCK
. \n\t\t\t\tAWS WAF performs the default action if a request doesn't match the criteria in any of the Rules
in a WebACL
.
The Rules
that you want to add\n or\n delete. If you want to replace one Rule
with another, you delete the\n existing Rule
and add the new one.
For each Rule
, whether you want AWS WAF to allow requests, block requests, or count requests that match \n\t\t\t\tthe conditions in the Rule
.
The order in which you want AWS WAF to evaluate the Rules
in a\n WebACL
. If you add more than one Rule
to a\n WebACL
, AWS WAF evaluates each request against the Rules
\n in order based on the value of Priority
. (The Rule
that has\n the lowest value for Priority
is evaluated first.) When a web request\n matches all\n the\n predicates (such as ByteMatchSets
and IPSets
) in a\n Rule
, AWS WAF immediately takes the corresponding action, allow or\n block, and doesn't evaluate the request against the remaining Rules
in\n the WebACL
, if any.
To create and configure a WebACL
, perform the following steps:
Create and update the predicates that you want to include in Rules
. \n\t\t\t\tFor more information, see CreateByteMatchSet, UpdateByteMatchSet, CreateIPSet, UpdateIPSet, \n\t\t\t\tCreateSqlInjectionMatchSet, and UpdateSqlInjectionMatchSet.
Create and update the Rules
that you want to include in the WebACL
. For more information, see \n\t\t\t\tCreateRule and UpdateRule.
Create a WebACL
. See CreateWebACL.
Use GetChangeToken
to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateWebACL request.
Submit an UpdateWebACL
request to specify the Rules
\n that you want to include in the WebACL
, to specify the default action,\n and to associate the WebACL
with a CloudFront distribution.
The ActivatedRule
can be a rule group. If you specify a rule group\n as your\n ActivatedRule
\n ,\n you can exclude specific rules from that rule group.
If you already have a rule group associated with a web ACL and want to submit\n an UpdateWebACL
request to exclude certain rules from that rule group,\n you must first remove the rule group from the web ACL, the re-insert it again,\n specifying the excluded rules.\n For details,\n see\n ActivatedRule$ExcludedRules\n .\n
Be aware that if you try to add a RATE_BASED rule to a web ACL without setting the rule type when first creating the rule, the UpdateWebACL request will fail because the request tries to add a REGULAR rule (the default rule type) with the specified ID, which does not exist. \t\t
\t\t\t\n\t\tFor more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide.
", + "smithy.api#examples": [ + { + "title": "To update a Web ACL", + "documentation": "The following example deletes an ActivatedRule object in a WebACL with the ID webacl-1472061481310.", + "input": { + "WebACLId": "webacl-1472061481310", + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", + "Updates": [ + { + "Action": "DELETE", + "ActivatedRule": { + "Action": { + "Type": "ALLOW" + }, + "Priority": 1, + "RuleId": "WAFRule-1-Example" + } + } + ], + "DefaultAction": { + "Type": "ALLOW" + } + }, + "output": { + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + } + } + ] } }, "com.amazonaws.waf#UpdateWebACLRequest": { @@ -9026,6 +10576,9 @@ "smithy.api#documentation": "A default action for the web ACL, either ALLOW or BLOCK. AWS WAF performs the default\n action if a request doesn't match the criteria in any of the rules in a web ACL.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.waf#UpdateWebACLResponse": { @@ -9037,6 +10590,9 @@ "smithy.api#documentation": "The ChangeToken
that you used to submit the UpdateWebACL
request. You can also use this value \n\t\t\tto query the status of the request. For more information, see GetChangeTokenStatus.
This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes XssMatchTuple objects (filters) in an XssMatchSet. \n\t\t\tFor each XssMatchTuple
object, you specify the following values:
\n Action
: Whether to insert the object into or delete the object from the\n array. To change an\n XssMatchTuple
, you delete the existing object and add a new\n one.
\n FieldToMatch
: The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header or custom query parameter, \n\t\t\t\tthe name of the header or parameter.
\n TextTransformation
: Which text transformation, if any, to perform on the web request before \n\t\t\t\tinspecting the request for cross-site scripting attacks.
You can only specify a single type of TextTransformation.
\nYou use XssMatchSet
objects to specify which CloudFront requests\n that\n you want to allow, block, or count. For example, if you're receiving\n requests that contain cross-site scripting attacks in the request body and you want to\n block the requests, you can create an XssMatchSet
with the applicable\n settings, and then configure AWS WAF to block the requests.
To create and configure an XssMatchSet
, perform the following steps:
Submit a CreateXssMatchSet request.
\nUse GetChangeToken to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateIPSet request.
Submit an UpdateXssMatchSet
request to specify the parts of web requests that you want AWS WAF to \n\t\t\t\tinspect for cross-site scripting attacks.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
" + "smithy.api#documentation": "This is AWS WAF Classic documentation. For\n more information, see AWS\n WAF Classic in the developer guide.
\n\n For the latest version of AWS\n WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
\nInserts or deletes XssMatchTuple objects (filters) in an XssMatchSet. \n\t\t\tFor each XssMatchTuple
object, you specify the following values:
\n Action
: Whether to insert the object into or delete the object from the\n array. To change an\n XssMatchTuple
, you delete the existing object and add a new\n one.
\n FieldToMatch
: The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header or custom query parameter, \n\t\t\t\tthe name of the header or parameter.
\n TextTransformation
: Which text transformation, if any, to perform on the web request before \n\t\t\t\tinspecting the request for cross-site scripting attacks.
You can only specify a single type of TextTransformation.
\nYou use XssMatchSet
objects to specify which CloudFront requests\n that\n you want to allow, block, or count. For example, if you're receiving\n requests that contain cross-site scripting attacks in the request body and you want to\n block the requests, you can create an XssMatchSet
with the applicable\n settings, and then configure AWS WAF to block the requests.
To create and configure an XssMatchSet
, perform the following steps:
Submit a CreateXssMatchSet request.
\nUse GetChangeToken to get the change token that you provide in the ChangeToken
parameter of an \n\t\t\t\tUpdateIPSet request.
Submit an UpdateXssMatchSet
request to specify the parts of web requests that you want AWS WAF to \n\t\t\t\tinspect for cross-site scripting attacks.
For more information about how to use the AWS WAF API to allow or block HTTP requests, see the \n\t\t\tAWS WAF Developer Guide.
", + "smithy.api#examples": [ + { + "title": "To update an XSS match set", + "documentation": "The following example deletes an XssMatchTuple object (filters) in an XssMatchSet with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.", + "input": { + "XssMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5", + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f", + "Updates": [ + { + "Action": "DELETE", + "XssMatchTuple": { + "FieldToMatch": { + "Type": "QUERY_STRING" + }, + "TextTransformation": "URL_DECODE" + } + } + ] + }, + "output": { + "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f" + } + } + ] } }, "com.amazonaws.waf#UpdateXssMatchSetRequest": { @@ -9103,7 +10683,8 @@ } }, "traits": { - "smithy.api#documentation": "A request to update an XssMatchSet.
" + "smithy.api#documentation": "A request to update an XssMatchSet.
", + "smithy.api#input": {} } }, "com.amazonaws.waf#UpdateXssMatchSetResponse": { @@ -9117,7 +10698,8 @@ } }, "traits": { - "smithy.api#documentation": "The response to an UpdateXssMatchSets request.
" + "smithy.api#documentation": "The response to an UpdateXssMatchSets request.
", + "smithy.api#output": {} } }, "com.amazonaws.waf#WAFBadRequestException": { @@ -9372,22 +10954,26 @@ } }, "com.amazonaws.waf#WafActionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "BLOCK", - "name": "BLOCK" - }, - { - "value": "ALLOW", - "name": "ALLOW" - }, - { - "value": "COUNT", - "name": "COUNT" + "type": "enum", + "members": { + "BLOCK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BLOCK" } - ] + }, + "ALLOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALLOW" + } + }, + "COUNT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COUNT" + } + } } }, "com.amazonaws.waf#WafOverrideAction": { @@ -9406,37 +10992,43 @@ } }, "com.amazonaws.waf#WafOverrideActionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NONE", - "name": "NONE" - }, - { - "value": "COUNT", - "name": "COUNT" + "type": "enum", + "members": { + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" } - ] + }, + "COUNT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COUNT" + } + } } }, "com.amazonaws.waf#WafRuleType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "REGULAR", - "name": "REGULAR" - }, - { - "value": "RATE_BASED", - "name": "RATE_BASED" - }, - { - "value": "GROUP", - "name": "GROUP" + "type": "enum", + "members": { + "REGULAR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REGULAR" } - ] + }, + "RATE_BASED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RATE_BASED" + } + }, + "GROUP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GROUP" + } + } } }, "com.amazonaws.waf#WebACL": { diff --git a/codegen/sdk-codegen/aws-models/wellarchitected.json b/codegen/sdk-codegen/aws-models/wellarchitected.json index 1f09035ce50..abee59b05c2 100644 --- a/codegen/sdk-codegen/aws-models/wellarchitected.json +++ b/codegen/sdk-codegen/aws-models/wellarchitected.json @@ -8146,52 +8146,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", @@ -8199,13 +8203,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -8215,224 +8228,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://wellarchitected-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://wellarchitected-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": [ { "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": [], - "endpoint": { - "url": "https://wellarchitected-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://wellarchitected-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://wellarchitected.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://wellarchitected.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://wellarchitected.{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://wellarchitected.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/wisdom.json b/codegen/sdk-codegen/aws-models/wisdom.json index 75e64a99513..3bff84f6530 100644 --- a/codegen/sdk-codegen/aws-models/wisdom.json +++ b/codegen/sdk-codegen/aws-models/wisdom.json @@ -4196,52 +4196,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", @@ -4249,13 +4253,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -4265,224 +4278,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://wisdom-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://wisdom-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": [ { "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": [], - "endpoint": { - "url": "https://wisdom-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://wisdom-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://wisdom.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://wisdom.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://wisdom.{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://wisdom.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, diff --git a/codegen/sdk-codegen/aws-models/workdocs.json b/codegen/sdk-codegen/aws-models/workdocs.json index 2a788b5401c..9edfcd76869 100644 --- a/codegen/sdk-codegen/aws-models/workdocs.json +++ b/codegen/sdk-codegen/aws-models/workdocs.json @@ -243,52 +243,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", @@ -296,13 +300,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -312,224 +325,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://workdocs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://workdocs-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": [ { "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": [], - "endpoint": { - "url": "https://workdocs-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://workdocs-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://workdocs.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://workdocs.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://workdocs.{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://workdocs.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -543,9 +507,9 @@ } }, "params": { + "Region": "ap-northeast-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-1" + "UseDualStack": false } }, { @@ -556,9 +520,9 @@ } }, "params": { + "Region": "ap-southeast-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-1" + "UseDualStack": false } }, { @@ -569,9 +533,9 @@ } }, "params": { + "Region": "ap-southeast-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-2" + "UseDualStack": false } }, { @@ -582,9 +546,9 @@ } }, "params": { + "Region": "eu-west-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-1" + "UseDualStack": false } }, { @@ -595,9 +559,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -608,9 +572,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -621,9 +585,9 @@ } }, "params": { + "Region": "us-west-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-2" + "UseDualStack": false } }, { @@ -634,9 +598,9 @@ } }, "params": { + "Region": "us-west-2", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-west-2" + "UseDualStack": false } }, { @@ -647,9 +611,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -660,9 +624,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -673,9 +637,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -686,9 +650,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -699,9 +663,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -712,9 +676,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -725,9 +689,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -738,9 +702,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -751,9 +715,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -764,9 +728,20 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-gov-east-1" + "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 } }, { @@ -777,9 +752,20 @@ } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-iso-east-1" + "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 } }, { @@ -790,9 +776,20 @@ } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-iso-east-1" + "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 } }, { @@ -803,9 +800,20 @@ } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-isob-east-1" + "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 } }, { @@ -816,9 +824,9 @@ } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -829,9 +837,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -854,9 +862,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -866,11 +874,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true, - "Region": "us-east-1", "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/codegen/sdk-codegen/aws-models/worklink.json b/codegen/sdk-codegen/aws-models/worklink.json index da3538d2a3d..5ef9ccf2c6b 100644 --- a/codegen/sdk-codegen/aws-models/worklink.json +++ b/codegen/sdk-codegen/aws-models/worklink.json @@ -105,11 +105,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#AssociateDomainResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.worklink#AssociateWebsiteAuthorizationProvider": { "type": "operation", @@ -174,6 +180,9 @@ "smithy.api#documentation": "The domain name of the authorization provider. This applies only to SAML-based\n authorization providers.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#AssociateWebsiteAuthorizationProviderResponse": { @@ -185,6 +194,9 @@ "smithy.api#documentation": "A unique identifier for the authorization provider.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.worklink#AssociateWebsiteCertificateAuthority": { @@ -250,6 +262,9 @@ "smithy.api#documentation": "The certificate name to display.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#AssociateWebsiteCertificateAuthorityResponse": { @@ -261,6 +276,9 @@ "smithy.api#documentation": "A unique identifier for the CA.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.worklink#AuditStreamArn": { @@ -270,14 +288,14 @@ } }, "com.amazonaws.worklink#AuthorizationProviderType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SAML", - "name": "SAML" + "type": "enum", + "members": { + "SAML": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SAML" } - ] + } } }, "com.amazonaws.worklink#Boolean": { @@ -380,6 +398,9 @@ "smithy.api#documentation": "The tags to add to the resource. A tag is a key-value pair.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#CreateFleetResponse": { @@ -391,6 +412,9 @@ "smithy.api#documentation": "The Amazon Resource Name (ARN) of the fleet.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.worklink#DateTime": { @@ -443,11 +467,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#DeleteFleetResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.worklink#DescribeAuditStreamConfiguration": { "type": "operation", @@ -496,6 +526,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#DescribeAuditStreamConfigurationResponse": { @@ -507,6 +540,9 @@ "smithy.api#documentation": "The ARN of the Amazon Kinesis data stream that will receive the audit events.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.worklink#DescribeCompanyNetworkConfiguration": { @@ -556,6 +592,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#DescribeCompanyNetworkConfigurationResponse": { @@ -579,6 +618,9 @@ "smithy.api#documentation": "The security groups associated with access to the provided subnets.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.worklink#DescribeDevice": { @@ -665,6 +707,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#DescribeDevicePolicyConfigurationResponse": { @@ -676,6 +721,9 @@ "smithy.api#documentation": "The certificate chain, including intermediate certificates and the root certificate authority certificate used to issue device certificates.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.worklink#DescribeDeviceRequest": { @@ -695,6 +743,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#DescribeDeviceResponse": { @@ -754,6 +805,9 @@ "smithy.api#documentation": "The user name associated with the device.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.worklink#DescribeDomain": { @@ -810,6 +864,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#DescribeDomainResponse": { @@ -845,6 +902,9 @@ "smithy.api#documentation": "The ARN of an issued ACM certificate that is valid for the domain being associated.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.worklink#DescribeFleetMetadata": { @@ -894,6 +954,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#DescribeFleetMetadataResponse": { @@ -947,6 +1010,9 @@ "smithy.api#documentation": "The tags attached to the resource. A tag is a key-value pair.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.worklink#DescribeIdentityProviderConfiguration": { @@ -996,6 +1062,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#DescribeIdentityProviderConfigurationResponse": { @@ -1019,6 +1088,9 @@ "smithy.api#documentation": "The SAML metadata document provided by the user’s identity provider.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.worklink#DescribeWebsiteCertificateAuthority": { @@ -1075,6 +1147,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#DescribeWebsiteCertificateAuthorityResponse": { @@ -1098,6 +1173,9 @@ "smithy.api#documentation": "The certificate name to display.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.worklink#DeviceManufacturer": { @@ -1146,18 +1224,20 @@ } }, "com.amazonaws.worklink#DeviceStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "SIGNED_OUT", - "name": "SIGNED_OUT" + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "SIGNED_OUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SIGNED_OUT" } - ] + } } }, "com.amazonaws.worklink#DeviceSummary": { @@ -1240,11 +1320,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#DisassociateDomainResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.worklink#DisassociateWebsiteAuthorizationProvider": { "type": "operation", @@ -1303,11 +1389,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#DisassociateWebsiteAuthorizationProviderResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.worklink#DisassociateWebsiteCertificateAuthority": { "type": "operation", @@ -1363,11 +1455,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#DisassociateWebsiteCertificateAuthorityResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.worklink#DisplayName": { "type": "string", @@ -1389,42 +1487,56 @@ } }, "com.amazonaws.worklink#DomainStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PENDING_VALIDATION", - "name": "PENDING_VALIDATION" - }, - { - "value": "ASSOCIATING", - "name": "ASSOCIATING" - }, - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "INACTIVE", - "name": "INACTIVE" - }, - { - "value": "DISASSOCIATING", - "name": "DISASSOCIATING" - }, - { - "value": "DISASSOCIATED", - "name": "DISASSOCIATED" - }, - { - "value": "FAILED_TO_ASSOCIATE", - "name": "FAILED_TO_ASSOCIATE" - }, - { - "value": "FAILED_TO_DISASSOCIATE", - "name": "FAILED_TO_DISASSOCIATE" + "type": "enum", + "members": { + "PENDING_VALIDATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING_VALIDATION" } - ] + }, + "ASSOCIATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASSOCIATING" + } + }, + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "INACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INACTIVE" + } + }, + "DISASSOCIATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISASSOCIATING" + } + }, + "DISASSOCIATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISASSOCIATED" + } + }, + "FAILED_TO_ASSOCIATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED_TO_ASSOCIATE" + } + }, + "FAILED_TO_DISASSOCIATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED_TO_DISASSOCIATE" + } + } } }, "com.amazonaws.worklink#DomainSummary": { @@ -1491,34 +1603,44 @@ } }, "com.amazonaws.worklink#FleetStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "DELETING", - "name": "DELETING" - }, - { - "value": "DELETED", - "name": "DELETED" - }, - { - "value": "FAILED_TO_CREATE", - "name": "FAILED_TO_CREATE" - }, - { - "value": "FAILED_TO_DELETE", - "name": "FAILED_TO_DELETE" + "type": "enum", + "members": { + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETED" + } + }, + "FAILED_TO_CREATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED_TO_CREATE" + } + }, + "FAILED_TO_DELETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED_TO_DELETE" } - ] + } } }, "com.amazonaws.worklink#FleetSummary": { @@ -1593,14 +1715,14 @@ } }, "com.amazonaws.worklink#IdentityProviderType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SAML", - "name": "SAML" + "type": "enum", + "members": { + "SAML": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SAML" } - ] + } } }, "com.amazonaws.worklink#InternalServerErrorException": { @@ -1693,6 +1815,9 @@ "smithy.api#documentation": "The maximum number of results to be included in the next page.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#ListDevicesResponse": { @@ -1710,6 +1835,9 @@ "smithy.api#documentation": "The pagination token used to retrieve the next page of results for this operation. If\n there are no more pages, this value is null.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.worklink#ListDomains": { @@ -1776,6 +1904,9 @@ "smithy.api#documentation": "The maximum number of results to be included in the next page.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#ListDomainsResponse": { @@ -1793,6 +1924,9 @@ "smithy.api#documentation": "The pagination token used to retrieve the next page of results for this operation. If\n there are no more pages, this value is null.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.worklink#ListFleets": { @@ -1849,6 +1983,9 @@ "smithy.api#documentation": "The maximum number of results to be included in the next page.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#ListFleetsResponse": { @@ -1866,6 +2003,9 @@ "smithy.api#documentation": "The pagination token used to retrieve the next page of results for this operation. If\n there are no more pages, this value is null.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.worklink#ListTagsForResource": { @@ -1904,6 +2044,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#ListTagsForResourceResponse": { @@ -1915,6 +2058,9 @@ "smithy.api#documentation": "The tags attached to the resource. A tag is a key-value pair.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.worklink#ListWebsiteAuthorizationProviders": { @@ -1981,6 +2127,9 @@ "smithy.api#documentation": "The maximum number of results to be included in the next page.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#ListWebsiteAuthorizationProvidersResponse": { @@ -1998,6 +2147,9 @@ "smithy.api#documentation": "The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.worklink#ListWebsiteCertificateAuthorities": { @@ -2061,6 +2213,9 @@ "smithy.api#documentation": "The pagination token used to retrieve the next page of results for this operation. If\n this value is null, it retrieves the first page.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#ListWebsiteCertificateAuthoritiesResponse": { @@ -2078,6 +2233,9 @@ "smithy.api#documentation": "The pagination token used to retrieve the next page of results for this operation. If\n there are no more pages, this value is null.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.worklink#MaxResults": { @@ -2178,11 +2336,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#RestoreDomainAccessResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.worklink#RevokeDomainAccess": { "type": "operation", @@ -2238,11 +2402,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#RevokeDomainAccessResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.worklink#SamlMetadata": { "type": "string", @@ -2325,11 +2495,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#SignOutUserResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.worklink#SubnetId": { "type": "string", @@ -2423,11 +2599,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.worklink#TagValue": { "type": "string", @@ -2508,11 +2690,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.worklink#UpdateAuditStreamConfiguration": { "type": "operation", @@ -2567,11 +2755,17 @@ "smithy.api#documentation": "The ARN of the Amazon Kinesis data stream that receives the audit events.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#UpdateAuditStreamConfigurationResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.worklink#UpdateCompanyNetworkConfiguration": { "type": "operation", @@ -2641,11 +2835,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#UpdateCompanyNetworkConfigurationResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.worklink#UpdateDevicePolicyConfiguration": { "type": "operation", @@ -2700,11 +2900,17 @@ "smithy.api#documentation": "The certificate chain, including intermediate certificates and the root certificate authority certificate used to issue device certificates.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#UpdateDevicePolicyConfigurationResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.worklink#UpdateDomainMetadata": { "type": "operation", @@ -2766,11 +2972,17 @@ "smithy.api#documentation": "The name to display.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#UpdateDomainMetadataResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.worklink#UpdateFleetMetadata": { "type": "operation", @@ -2831,11 +3043,17 @@ "smithy.api#documentation": "The option to optimize for better performance by routing traffic through the closest\n AWS Region to users, which may be outside of your home Region.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#UpdateFleetMetadataResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.worklink#UpdateIdentityProviderConfiguration": { "type": "operation", @@ -2897,11 +3115,17 @@ "smithy.api#documentation": "The SAML metadata document provided by the customer’s identity provider. The existing\n IdentityProviderSamlMetadata is unset if null is passed.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.worklink#UpdateIdentityProviderConfigurationResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.worklink#Username": { "type": "string", @@ -3167,52 +3391,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", @@ -3220,13 +3448,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -3236,224 +3473,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://worklink-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://worklink-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": [ { "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": [], - "endpoint": { - "url": "https://worklink-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://worklink-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://worklink.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://worklink.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://worklink.{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://worklink.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -3468,8 +3656,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3481,8 +3669,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3494,8 +3682,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3507,8 +3695,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3520,8 +3708,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3533,8 +3721,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3546,8 +3734,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3559,8 +3747,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3572,8 +3760,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -3585,8 +3773,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -3598,8 +3786,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -3611,8 +3799,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -3624,8 +3823,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 } }, { @@ -3637,8 +3847,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -3650,8 +3871,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 } }, { @@ -3663,8 +3895,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -3676,8 +3908,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3689,8 +3921,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3701,8 +3933,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -3713,10 +3945,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" diff --git a/codegen/sdk-codegen/aws-models/workmail.json b/codegen/sdk-codegen/aws-models/workmail.json index 5c68870cbea..ad8df41dce4 100644 --- a/codegen/sdk-codegen/aws-models/workmail.json +++ b/codegen/sdk-codegen/aws-models/workmail.json @@ -284,11 +284,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#AssociateDelegateToResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#AssociateMemberToGroup": { "type": "operation", @@ -353,11 +359,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#AssociateMemberToGroupResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#AssumeImpersonationRole": { "type": "operation", @@ -402,6 +414,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#AssumeImpersonationRoleResponse": { @@ -419,6 +434,9 @@ "smithy.api#documentation": "The authentication token's validity, in seconds.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#AvailabilityConfiguration": { @@ -578,11 +596,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#CancelMailboxExportJobResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#CreateAlias": { "type": "operation", @@ -650,11 +674,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#CreateAliasResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#CreateAvailabilityConfiguration": { "type": "operation", @@ -722,11 +752,17 @@ "smithy.api#documentation": "Lambda availability provider definition. The request must contain exactly one provider definition, either EwsProvider
or LambdaProvider
.
The identifier of the group.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#CreateImpersonationRole": { @@ -873,6 +915,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#CreateImpersonationRoleResponse": { @@ -884,6 +929,9 @@ "smithy.api#documentation": "The new impersonation role ID.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#CreateMobileDeviceAccessRule": { @@ -997,6 +1045,9 @@ "smithy.api#documentation": "Device user agents that the rule will not match. All other device user agents will match.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#CreateMobileDeviceAccessRuleResponse": { @@ -1008,6 +1059,9 @@ "smithy.api#documentation": "The identifier for the newly created mobile device access rule.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#CreateOrganization": { @@ -1082,6 +1136,9 @@ "smithy.api#documentation": "When true
, allows organization interoperability between WorkMail and\n Microsoft Exchange. If true
, you must include a AD Connector directory ID in\n the request.
The organization ID.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#CreateResource": { @@ -1155,6 +1215,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#CreateResourceResponse": { @@ -1166,6 +1229,9 @@ "smithy.api#documentation": "The identifier of the new resource.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#CreateUser": { @@ -1241,6 +1307,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#CreateUserResponse": { @@ -1252,6 +1321,9 @@ "smithy.api#documentation": "The identifier for the new user.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#Delegate": { @@ -1313,11 +1385,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteAccessControlRuleResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#DeleteAlias": { "type": "operation", @@ -1373,11 +1451,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteAliasResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#DeleteAvailabilityConfiguration": { "type": "operation", @@ -1417,11 +1501,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteAvailabilityConfigurationResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#DeleteEmailMonitoringConfiguration": { "type": "operation", @@ -1457,11 +1547,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteEmailMonitoringConfigurationResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#DeleteGroup": { "type": "operation", @@ -1516,11 +1612,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteGroupResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#DeleteImpersonationRole": { "type": "operation", @@ -1562,11 +1664,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteImpersonationRoleResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#DeleteMailboxPermissions": { "type": "operation", @@ -1622,11 +1730,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteMailboxPermissionsResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#DeleteMobileDeviceAccessOverride": { "type": "operation", @@ -1678,11 +1792,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteMobileDeviceAccessOverrideResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#DeleteMobileDeviceAccessRule": { "type": "operation", @@ -1724,11 +1844,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteMobileDeviceAccessRuleResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#DeleteOrganization": { "type": "operation", @@ -1779,6 +1905,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteOrganizationResponse": { @@ -1796,6 +1925,9 @@ "smithy.api#documentation": "The state of the organization.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#DeleteResource": { @@ -1842,11 +1974,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#DeleteRetentionPolicy": { "type": "operation", @@ -1889,11 +2027,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteRetentionPolicyResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#DeleteUser": { "type": "operation", @@ -1948,11 +2092,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#DeleteUserResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#DeregisterFromWorkMail": { "type": "operation", @@ -2001,11 +2151,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#DeregisterFromWorkMailResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#DeregisterMailDomain": { "type": "operation", @@ -2054,11 +2210,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#DeregisterMailDomainResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#DescribeEmailMonitoringConfiguration": { "type": "operation", @@ -2097,6 +2259,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#DescribeEmailMonitoringConfigurationResponse": { @@ -2114,6 +2279,9 @@ "smithy.api#documentation": "The Amazon Resource Name (ARN) of the CloudWatch Log group associated with the email monitoring configuration.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#DescribeGroup": { @@ -2160,6 +2328,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#DescribeGroupResponse": { @@ -2201,6 +2372,9 @@ "smithy.api#documentation": "The date and time when a user was deregistered from WorkMail, in UNIX epoch time\n format.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#DescribeInboundDmarcSettings": { @@ -2234,6 +2408,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#DescribeInboundDmarcSettingsResponse": { @@ -2246,6 +2423,9 @@ "smithy.api#documentation": "Lists the enforcement setting of the applied policy.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#DescribeMailboxExportJob": { @@ -2292,6 +2472,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#DescribeMailboxExportJobResponse": { @@ -2370,6 +2553,9 @@ "smithy.api#documentation": "The mailbox export job end timestamp.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#DescribeOrganization": { @@ -2403,6 +2589,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#DescribeOrganizationResponse": { @@ -2462,6 +2651,9 @@ "smithy.api#documentation": "The Amazon Resource Name (ARN) of the organization.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#DescribeResource": { @@ -2508,6 +2700,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#DescribeResourceResponse": { @@ -2561,6 +2756,9 @@ "smithy.api#documentation": "The date and time when a resource was disabled from WorkMail, in UNIX epoch time\n format.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#DescribeUser": { @@ -2607,6 +2805,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#DescribeUserResponse": { @@ -2660,6 +2861,9 @@ "smithy.api#documentation": "The date and time at which the user was disabled for WorkMail usage, in UNIX epoch\n time format.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#Description": { @@ -2870,11 +3074,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#DisassociateDelegateFromResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#DisassociateMemberFromGroup": { "type": "operation", @@ -2939,11 +3149,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#DisassociateMemberFromGroupResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#DnsRecord": { "type": "structure", @@ -3309,6 +3525,9 @@ "smithy.api#documentation": "The impersonation role ID.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#GetAccessControlEffectResponse": { @@ -3326,6 +3545,9 @@ "smithy.api#documentation": "The rules that match the given parameters, resulting in an effect.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#GetDefaultRetentionPolicy": { @@ -3365,6 +3587,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#GetDefaultRetentionPolicyResponse": { @@ -3394,6 +3619,9 @@ "smithy.api#documentation": "The retention policy folder configurations.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#GetImpersonationRole": { @@ -3478,6 +3706,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#GetImpersonationRoleEffectResponse": { @@ -3501,6 +3732,9 @@ "smithy.api#documentation": "A list of the rules that match the input and produce the configured effect.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#GetImpersonationRoleRequest": { @@ -3520,6 +3754,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#GetImpersonationRoleResponse": { @@ -3567,6 +3804,9 @@ "smithy.api#documentation": "The date when the impersonation role was last modified.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#GetMailDomain": { @@ -3613,6 +3853,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#GetMailDomainResponse": { @@ -3650,6 +3893,9 @@ "smithy.api#documentation": "Indicates the status of a DKIM verification.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#GetMailboxDetails": { @@ -3693,6 +3939,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#GetMailboxDetailsResponse": { @@ -3711,6 +3960,9 @@ "smithy.api#documentation": "The current mailbox size, in MB, for the specified user.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#GetMobileDeviceAccessEffect": { @@ -3770,6 +4022,9 @@ "smithy.api#documentation": "Device user agent the simulated user will report.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#GetMobileDeviceAccessEffectResponse": { @@ -3787,6 +4042,9 @@ "smithy.api#documentation": "A list of the rules which matched the simulated user input and produced the effect.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#GetMobileDeviceAccessOverride": { @@ -3842,6 +4100,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#GetMobileDeviceAccessOverrideResponse": { @@ -3883,6 +4144,9 @@ "smithy.api#documentation": "The date the description was last modified.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#Group": { @@ -4367,6 +4631,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#ListAccessControlRulesResponse": { @@ -4378,6 +4645,9 @@ "smithy.api#documentation": "The access control rules.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#ListAliases": { @@ -4444,6 +4714,9 @@ "smithy.api#documentation": "The maximum number of results to return in a single call.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#ListAliasesResponse": { @@ -4461,6 +4734,9 @@ "smithy.api#documentation": "The token to use to retrieve the next page of results. The value is \"null\" when there\n are no more results to return.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#ListAvailabilityConfigurations": { @@ -4511,6 +4787,9 @@ "smithy.api#documentation": "The token to use to retrieve the next page of results. The first call does not require a token.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#ListAvailabilityConfigurationsResponse": { @@ -4528,6 +4807,9 @@ "smithy.api#documentation": "The token to use to retrieve the next page of results. The value is null
when there are no further results to return.
The maximum number of results to return in a single call.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#ListGroupMembersResponse": { @@ -4611,6 +4896,9 @@ "smithy.api#documentation": "The token to use to retrieve the next page of results. The first call does not\n contain any tokens.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#ListGroups": { @@ -4667,6 +4955,9 @@ "smithy.api#documentation": "The maximum number of results to return in a single call.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#ListGroupsResponse": { @@ -4684,6 +4975,9 @@ "smithy.api#documentation": "The token to use to retrieve the next page of results. The value is \"null\" when there\n are no more results to return.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#ListImpersonationRoles": { @@ -4736,6 +5030,9 @@ "smithy.api#documentation": "The maximum number of results returned in a single call.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#ListImpersonationRolesResponse": { @@ -4753,6 +5050,9 @@ "smithy.api#documentation": "The token to retrieve the next page of results. The value is null
when\n there are no results to return.
The token to use to retrieve the next page of results. The first call does not require a token.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#ListMailDomainsResponse": { @@ -4823,6 +5126,9 @@ "smithy.api#documentation": "The token to use to retrieve the next page of results. The value becomes null
when there are no more results to return.
The maximum number of results to return in a single call.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#ListMailboxExportJobsResponse": { @@ -4893,6 +5202,9 @@ "smithy.api#documentation": "The token to use to retrieve the next page of results.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#ListMailboxPermissions": { @@ -4956,6 +5268,9 @@ "smithy.api#documentation": "The maximum number of results to return in a single call.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#ListMailboxPermissionsResponse": { @@ -4973,6 +5288,9 @@ "smithy.api#documentation": "The token to use to retrieve the next page of results. The value is \"null\" when there\n are no more results to return.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#ListMobileDeviceAccessOverrides": { @@ -5040,6 +5358,9 @@ "smithy.api#documentation": "The maximum number of results to return in a single call.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#ListMobileDeviceAccessOverridesResponse": { @@ -5057,6 +5378,9 @@ "smithy.api#documentation": "The token to use to retrieve the next page of results. The value is “null” when there are no more results to return.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#ListMobileDeviceAccessRules": { @@ -5092,6 +5416,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#ListMobileDeviceAccessRulesResponse": { @@ -5103,6 +5430,9 @@ "smithy.api#documentation": "The list of mobile device access rules that exist under the specified WorkMail organization.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#ListOrganizations": { @@ -5143,6 +5473,9 @@ "smithy.api#documentation": "The maximum number of results to return in a single call.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#ListOrganizationsResponse": { @@ -5160,6 +5493,9 @@ "smithy.api#documentation": "The token to use to retrieve the next page of results. The value is \"null\" when there\n are no more results to return.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#ListResourceDelegates": { @@ -5226,6 +5562,9 @@ "smithy.api#documentation": "The number of maximum results in a page.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#ListResourceDelegatesResponse": { @@ -5243,6 +5582,9 @@ "smithy.api#documentation": "The token used to paginate through the delegates associated with a resource. While\n results are still available, it has an associated value. When the last page is reached, the\n token is empty.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#ListResources": { @@ -5296,6 +5638,9 @@ "smithy.api#documentation": "The maximum number of results to return in a single call.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#ListResourcesResponse": { @@ -5313,6 +5658,9 @@ "smithy.api#documentation": "The token used to paginate through all the organization's resources. While results\n are still available, it has an associated value. When the last page is reached, the token\n is empty.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#ListTagsForResource": { @@ -5342,6 +5690,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#ListTagsForResourceResponse": { @@ -5353,6 +5704,9 @@ "smithy.api#documentation": "A list of tag key-value pairs.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#ListUsers": { @@ -5406,6 +5760,9 @@ "smithy.api#documentation": "The maximum number of results to return in a single call.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#ListUsersResponse": { @@ -5423,6 +5780,9 @@ "smithy.api#documentation": "The token to use 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.workmail#LogGroupArn": { @@ -6253,11 +6613,17 @@ "smithy.api#documentation": "Impersonation role IDs to exclude from the rule.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#PutAccessControlRuleResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#PutEmailMonitoringConfiguration": { "type": "operation", @@ -6310,11 +6676,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#PutEmailMonitoringConfigurationResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#PutInboundDmarcSettings": { "type": "operation", @@ -6354,11 +6726,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#PutInboundDmarcSettingsResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#PutMailboxPermissions": { "type": "operation", @@ -6421,11 +6799,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#PutMailboxPermissionsResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#PutMobileDeviceAccessOverride": { "type": "operation", @@ -6493,11 +6877,17 @@ "smithy.api#documentation": "A description of the override.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#PutMobileDeviceAccessOverrideResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#PutRetentionPolicy": { "type": "operation", @@ -6562,11 +6952,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#PutRetentionPolicyResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#RedactedEwsAvailabilityProvider": { "type": "structure", @@ -6642,11 +7038,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#RegisterMailDomainResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#RegisterToWorkMail": { "type": "operation", @@ -6720,11 +7122,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#RegisterToWorkMailResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#ReservedNameException": { "type": "structure", @@ -6804,11 +7212,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#ResetPasswordResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#Resource": { "type": "structure", @@ -7082,6 +7496,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#StartMailboxExportJobResponse": { @@ -7093,6 +7510,9 @@ "smithy.api#documentation": "The job ID.
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmail#String": { @@ -7199,11 +7619,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#TagValue": { "type": "string", @@ -7249,7 +7675,7 @@ } ], "traits": { - "smithy.api#documentation": "Performs a test on an availability provider to ensure that access is allowed. For EWS, it verifies the provided credentials can be used to successfully log in. For Lambda, it verifies that the Lambda function can be invoked and that the resource access\n policy was configured to deny anonymous access. An anonymous invocation is one done without providing either a SourceArn
or SourceAccount
header.
The request must contain either one provider definition (EwsProvider
or\n LambdaProvider
) or the DomainName
parameter. If the\n DomainName
parameter is provided, the configuration stored under the\n DomainName
will be tested.
Performs a test on an availability provider to ensure that access is allowed. For EWS, it verifies the provided credentials can be used to successfully log in. For Lambda, it verifies that the Lambda function can be invoked and that the resource access\n policy was configured to deny anonymous access. An anonymous invocation is one done without providing either a SourceArn
or SourceAccount
header.
The request must contain either one provider definition (EwsProvider
or\n LambdaProvider
) or the DomainName
parameter. If the\n DomainName
parameter is provided, the configuration stored under the\n DomainName
will be tested.
String containing the reason for a failed test if TestPassed
is false.
The Lambda availability provider definition. The request must contain exactly one\n provider definition, either EwsProvider
or LambdaProvider
. The\n previously stored provider will be overridden by the one provided.
User agents that the updated rule will not match. All other user agents will match.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#UpdateMobileDeviceAccessRuleResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#UpdatePrimaryEmailAddress": { "type": "operation", @@ -7811,11 +8279,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#UpdatePrimaryEmailAddressResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#UpdateResource": { "type": "operation", @@ -7891,11 +8365,17 @@ "smithy.api#documentation": "The resource's booking options to be updated.
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmail#UpdateResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.workmail#Url": { "type": "string", @@ -8352,52 +8832,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", @@ -8405,13 +8889,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -8421,224 +8914,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "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://workmail-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://workmail-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": [ { "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": [], - "endpoint": { - "url": "https://workmail-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://workmail-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://workmail.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://workmail.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://workmail.{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://workmail.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -8653,8 +9097,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -8666,8 +9110,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -8679,8 +9123,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -8692,8 +9136,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -8705,8 +9149,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -8718,8 +9162,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -8731,8 +9175,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -8744,8 +9188,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -8757,8 +9201,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -8770,8 +9214,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -8783,8 +9227,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -8796,8 +9240,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -8809,8 +9253,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -8822,8 +9266,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -8835,8 +9290,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 } }, { @@ -8848,8 +9314,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -8861,8 +9338,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 } }, { @@ -8874,8 +9362,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -8887,8 +9375,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -8900,8 +9388,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -8912,8 +9400,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -8924,10 +9412,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" diff --git a/codegen/sdk-codegen/aws-models/workmailmessageflow.json b/codegen/sdk-codegen/aws-models/workmailmessageflow.json index 431251c5259..b697ff1a761 100644 --- a/codegen/sdk-codegen/aws-models/workmailmessageflow.json +++ b/codegen/sdk-codegen/aws-models/workmailmessageflow.json @@ -62,6 +62,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.workmailmessageflow#GetRawMessageContentResponse": { @@ -75,6 +78,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.workmailmessageflow#GiraffeMessageInTransitService": { @@ -162,52 +168,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", @@ -215,13 +225,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -231,224 +250,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://workmailmessageflow-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://workmailmessageflow-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": [ { "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": [], - "endpoint": { - "url": "https://workmailmessageflow-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://workmailmessageflow-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": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://workmailmessageflow.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://workmailmessageflow.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://workmailmessageflow.{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://workmailmessageflow.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -463,8 +433,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -476,8 +446,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -489,8 +459,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -502,8 +472,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -515,8 +485,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -528,8 +498,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -541,8 +511,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -554,8 +524,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -567,8 +537,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -580,8 +550,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -593,8 +563,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -606,8 +576,19 @@ }, "params": { "Region": "us-gov-east-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 } }, { @@ -619,8 +600,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 } }, { @@ -632,8 +624,19 @@ }, "params": { "Region": "us-iso-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 } }, { @@ -645,8 +648,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 } }, { @@ -658,8 +672,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -671,8 +685,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -684,8 +698,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -696,8 +710,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -708,10 +722,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" @@ -777,7 +797,7 @@ } ], "traits": { - "smithy.api#documentation": "Updates the raw content of an in-transit email message, in MIME format.
\nThis example describes how to update in-transit email message. For more information and examples for using this API, see \n \n Updating message content with AWS Lambda.
\n \n \nUpdates to an in-transit message only appear when you call PutRawMessageContent
from an AWS Lambda function \n configured with a synchronous \n Run Lambda rule. If you call PutRawMessageContent
on a delivered or sent message, the message remains unchanged,\n even though GetRawMessageContent returns an updated \n message.\n
Updates the raw content of an in-transit email message, in MIME format.
\nThis example describes how to update in-transit email message. For more information and examples for using this API, see \n \n Updating message content with AWS Lambda.
\nUpdates to an in-transit message only appear when you call PutRawMessageContent
from an AWS Lambda function \n configured with a synchronous \n Run Lambda rule. If you call PutRawMessageContent
on a delivered or sent message, the message remains unchanged,\n even though GetRawMessageContent returns an updated \n message.\n