From ad93ef6bb20c60d1e5e05c0a05d6636834f69f99 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 8 Jul 2024 18:17:45 +0000 Subject: [PATCH 1/3] Update to latest models --- .../api-change-codedeploy-40877.json | 5 + .../api-change-devicefarm-85322.json | 5 + .../next-release/api-change-dms-31608.json | 5 + .../api-change-elasticbeanstalk-31494.json | 5 + .../next-release/api-change-es-59610.json | 5 + .../api-change-firehose-50683.json | 5 + .../api-change-gamelift-87059.json | 5 + .../next-release/api-change-qapps-21998.json | 5 + .../api-change-route53resolver-46726.json | 5 + .../next-release/api-change-ses-87560.json | 5 + .../data/codedeploy/2014-10-06/service-2.json | 4 +- .../2015-06-23/endpoint-rule-set-1.json | 40 +- .../data/devicefarm/2015-06-23/service-2.json | 4 +- botocore/data/dms/2016-01-01/service-2.json | 4 +- .../2010-12-01/endpoint-rule-set-1.json | 44 +- .../2010-12-01/service-2.json | 4 +- botocore/data/es/2015-01-01/service-2.json | 4 +- .../data/firehose/2015-08-04/service-2.json | 3 +- .../data/gamelift/2015-10-01/service-2.json | 4 +- .../qapps/2023-11-27/endpoint-rule-set-1.json | 350 +++ .../data/qapps/2023-11-27/paginators-1.json | 16 + botocore/data/qapps/2023-11-27/service-2.json | 2659 +++++++++++++++++ botocore/data/qapps/2023-11-27/waiters-2.json | 5 + .../route53resolver/2018-04-01/service-2.json | 3 +- .../ses/2010-12-01/endpoint-rule-set-1.json | 366 +-- botocore/data/ses/2010-12-01/service-2.json | 4 +- .../qapps/endpoint-tests-1.json | 314 ++ 27 files changed, 3626 insertions(+), 252 deletions(-) create mode 100644 .changes/next-release/api-change-codedeploy-40877.json create mode 100644 .changes/next-release/api-change-devicefarm-85322.json create mode 100644 .changes/next-release/api-change-dms-31608.json create mode 100644 .changes/next-release/api-change-elasticbeanstalk-31494.json create mode 100644 .changes/next-release/api-change-es-59610.json create mode 100644 .changes/next-release/api-change-firehose-50683.json create mode 100644 .changes/next-release/api-change-gamelift-87059.json create mode 100644 .changes/next-release/api-change-qapps-21998.json create mode 100644 .changes/next-release/api-change-route53resolver-46726.json create mode 100644 .changes/next-release/api-change-ses-87560.json create mode 100644 botocore/data/qapps/2023-11-27/endpoint-rule-set-1.json create mode 100644 botocore/data/qapps/2023-11-27/paginators-1.json create mode 100644 botocore/data/qapps/2023-11-27/service-2.json create mode 100644 botocore/data/qapps/2023-11-27/waiters-2.json create mode 100644 tests/functional/endpoint-rules/qapps/endpoint-tests-1.json diff --git a/.changes/next-release/api-change-codedeploy-40877.json b/.changes/next-release/api-change-codedeploy-40877.json new file mode 100644 index 0000000000..0f3d38f342 --- /dev/null +++ b/.changes/next-release/api-change-codedeploy-40877.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codedeploy``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-devicefarm-85322.json b/.changes/next-release/api-change-devicefarm-85322.json new file mode 100644 index 0000000000..451206d9a4 --- /dev/null +++ b/.changes/next-release/api-change-devicefarm-85322.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``devicefarm``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-dms-31608.json b/.changes/next-release/api-change-dms-31608.json new file mode 100644 index 0000000000..454d6bf8ef --- /dev/null +++ b/.changes/next-release/api-change-dms-31608.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``dms``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-elasticbeanstalk-31494.json b/.changes/next-release/api-change-elasticbeanstalk-31494.json new file mode 100644 index 0000000000..c715ae6df4 --- /dev/null +++ b/.changes/next-release/api-change-elasticbeanstalk-31494.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``elasticbeanstalk``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-es-59610.json b/.changes/next-release/api-change-es-59610.json new file mode 100644 index 0000000000..0ae401a721 --- /dev/null +++ b/.changes/next-release/api-change-es-59610.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``es``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-firehose-50683.json b/.changes/next-release/api-change-firehose-50683.json new file mode 100644 index 0000000000..4b2ed97c48 --- /dev/null +++ b/.changes/next-release/api-change-firehose-50683.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``firehose``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-gamelift-87059.json b/.changes/next-release/api-change-gamelift-87059.json new file mode 100644 index 0000000000..1fea2a64a7 --- /dev/null +++ b/.changes/next-release/api-change-gamelift-87059.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``gamelift``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-qapps-21998.json b/.changes/next-release/api-change-qapps-21998.json new file mode 100644 index 0000000000..74a19b6ce5 --- /dev/null +++ b/.changes/next-release/api-change-qapps-21998.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``qapps``", + "description": "This is a general availability (GA) release of Amazon Q Apps, a capability of Amazon Q Business. Q Apps leverages data sources your company has provided to enable users to build, share, and customize apps within your organization." +} diff --git a/.changes/next-release/api-change-route53resolver-46726.json b/.changes/next-release/api-change-route53resolver-46726.json new file mode 100644 index 0000000000..166c3ec128 --- /dev/null +++ b/.changes/next-release/api-change-route53resolver-46726.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``route53resolver``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-ses-87560.json b/.changes/next-release/api-change-ses-87560.json new file mode 100644 index 0000000000..b77fcb451f --- /dev/null +++ b/.changes/next-release/api-change-ses-87560.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ses``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/botocore/data/codedeploy/2014-10-06/service-2.json b/botocore/data/codedeploy/2014-10-06/service-2.json index 325ef83f09..becea699a1 100644 --- a/botocore/data/codedeploy/2014-10-06/service-2.json +++ b/botocore/data/codedeploy/2014-10-06/service-2.json @@ -5,12 +5,14 @@ "endpointPrefix":"codedeploy", "jsonVersion":"1.1", "protocol":"json", + "protocols":["json"], "serviceAbbreviation":"CodeDeploy", "serviceFullName":"AWS CodeDeploy", "serviceId":"CodeDeploy", "signatureVersion":"v4", "targetPrefix":"CodeDeploy_20141006", - "uid":"codedeploy-2014-10-06" + "uid":"codedeploy-2014-10-06", + "auth":["aws.auth#sigv4"] }, "operations":{ "AddTagsToOnPremisesInstances":{ diff --git a/botocore/data/devicefarm/2015-06-23/endpoint-rule-set-1.json b/botocore/data/devicefarm/2015-06-23/endpoint-rule-set-1.json index 56d866263f..d2d71d3fcb 100644 --- a/botocore/data/devicefarm/2015-06-23/endpoint-rule-set-1.json +++ b/botocore/data/devicefarm/2015-06-23/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -301,9 +299,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/botocore/data/devicefarm/2015-06-23/service-2.json b/botocore/data/devicefarm/2015-06-23/service-2.json index 14a5d1e4cb..fda5cb6fda 100644 --- a/botocore/data/devicefarm/2015-06-23/service-2.json +++ b/botocore/data/devicefarm/2015-06-23/service-2.json @@ -5,11 +5,13 @@ "endpointPrefix":"devicefarm", "jsonVersion":"1.1", "protocol":"json", + "protocols":["json"], "serviceFullName":"AWS Device Farm", "serviceId":"Device Farm", "signatureVersion":"v4", "targetPrefix":"DeviceFarm_20150623", - "uid":"devicefarm-2015-06-23" + "uid":"devicefarm-2015-06-23", + "auth":["aws.auth#sigv4"] }, "operations":{ "CreateDevicePool":{ diff --git a/botocore/data/dms/2016-01-01/service-2.json b/botocore/data/dms/2016-01-01/service-2.json index 7589f5a234..cefe7292f5 100644 --- a/botocore/data/dms/2016-01-01/service-2.json +++ b/botocore/data/dms/2016-01-01/service-2.json @@ -5,11 +5,13 @@ "endpointPrefix":"dms", "jsonVersion":"1.1", "protocol":"json", + "protocols":["json"], "serviceFullName":"AWS Database Migration Service", "serviceId":"Database Migration Service", "signatureVersion":"v4", "targetPrefix":"AmazonDMSv20160101", - "uid":"dms-2016-01-01" + "uid":"dms-2016-01-01", + "auth":["aws.auth#sigv4"] }, "operations":{ "AddTagsToResource":{ diff --git a/botocore/data/elasticbeanstalk/2010-12-01/endpoint-rule-set-1.json b/botocore/data/elasticbeanstalk/2010-12-01/endpoint-rule-set-1.json index b872ba2142..40b17bf83b 100644 --- a/botocore/data/elasticbeanstalk/2010-12-01/endpoint-rule-set-1.json +++ b/botocore/data/elasticbeanstalk/2010-12-01/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,18 +212,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -236,7 +231,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -256,14 +252,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -277,7 +275,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -297,7 +294,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -308,14 +304,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -326,9 +324,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/botocore/data/elasticbeanstalk/2010-12-01/service-2.json b/botocore/data/elasticbeanstalk/2010-12-01/service-2.json index f2b2b94f74..a7953e98c5 100644 --- a/botocore/data/elasticbeanstalk/2010-12-01/service-2.json +++ b/botocore/data/elasticbeanstalk/2010-12-01/service-2.json @@ -4,12 +4,14 @@ "apiVersion":"2010-12-01", "endpointPrefix":"elasticbeanstalk", "protocol":"query", + "protocols":["query"], "serviceAbbreviation":"Elastic Beanstalk", "serviceFullName":"AWS Elastic Beanstalk", "serviceId":"Elastic Beanstalk", "signatureVersion":"v4", "uid":"elasticbeanstalk-2010-12-01", - "xmlNamespace":"http://elasticbeanstalk.amazonaws.com/docs/2010-12-01/" + "xmlNamespace":"http://elasticbeanstalk.amazonaws.com/docs/2010-12-01/", + "auth":["aws.auth#sigv4"] }, "operations":{ "AbortEnvironmentUpdate":{ diff --git a/botocore/data/es/2015-01-01/service-2.json b/botocore/data/es/2015-01-01/service-2.json index fcc9f8d045..56bd189436 100644 --- a/botocore/data/es/2015-01-01/service-2.json +++ b/botocore/data/es/2015-01-01/service-2.json @@ -4,10 +4,12 @@ "apiVersion":"2015-01-01", "endpointPrefix":"es", "protocol":"rest-json", + "protocols":["rest-json"], "serviceFullName":"Amazon Elasticsearch Service", "serviceId":"Elasticsearch Service", "signatureVersion":"v4", - "uid":"es-2015-01-01" + "uid":"es-2015-01-01", + "auth":["aws.auth#sigv4"] }, "operations":{ "AcceptInboundCrossClusterSearchConnection":{ diff --git a/botocore/data/firehose/2015-08-04/service-2.json b/botocore/data/firehose/2015-08-04/service-2.json index 5c6548c588..4055ed6e6a 100644 --- a/botocore/data/firehose/2015-08-04/service-2.json +++ b/botocore/data/firehose/2015-08-04/service-2.json @@ -11,7 +11,8 @@ "serviceId":"Firehose", "signatureVersion":"v4", "targetPrefix":"Firehose_20150804", - "uid":"firehose-2015-08-04" + "uid":"firehose-2015-08-04", + "auth":["aws.auth#sigv4"] }, "operations":{ "CreateDeliveryStream":{ diff --git a/botocore/data/gamelift/2015-10-01/service-2.json b/botocore/data/gamelift/2015-10-01/service-2.json index 2640ade186..d91b54b07a 100644 --- a/botocore/data/gamelift/2015-10-01/service-2.json +++ b/botocore/data/gamelift/2015-10-01/service-2.json @@ -5,11 +5,13 @@ "endpointPrefix":"gamelift", "jsonVersion":"1.1", "protocol":"json", + "protocols":["json"], "serviceFullName":"Amazon GameLift", "serviceId":"GameLift", "signatureVersion":"v4", "targetPrefix":"GameLift", - "uid":"gamelift-2015-10-01" + "uid":"gamelift-2015-10-01", + "auth":["aws.auth#sigv4"] }, "operations":{ "AcceptMatch":{ diff --git a/botocore/data/qapps/2023-11-27/endpoint-rule-set-1.json b/botocore/data/qapps/2023-11-27/endpoint-rule-set-1.json new file mode 100644 index 0000000000..3d09620c35 --- /dev/null +++ b/botocore/data/qapps/2023-11-27/endpoint-rule-set-1.json @@ -0,0 +1,350 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://data.qapps-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + }, + true + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://data.qapps-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://data.qapps.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://data.qapps.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" + } + ], + "type": "tree" + } + ] +} \ No newline at end of file diff --git a/botocore/data/qapps/2023-11-27/paginators-1.json b/botocore/data/qapps/2023-11-27/paginators-1.json new file mode 100644 index 0000000000..0d13e6c265 --- /dev/null +++ b/botocore/data/qapps/2023-11-27/paginators-1.json @@ -0,0 +1,16 @@ +{ + "pagination": { + "ListLibraryItems": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "limit", + "result_key": "libraryItems" + }, + "ListQApps": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "limit", + "result_key": "apps" + } + } +} diff --git a/botocore/data/qapps/2023-11-27/service-2.json b/botocore/data/qapps/2023-11-27/service-2.json new file mode 100644 index 0000000000..bdda103f4c --- /dev/null +++ b/botocore/data/qapps/2023-11-27/service-2.json @@ -0,0 +1,2659 @@ +{ + "version":"2.0", + "metadata":{ + "apiVersion":"2023-11-27", + "auth":["aws.auth#sigv4"], + "endpointPrefix":"data.qapps", + "protocol":"rest-json", + "protocols":["rest-json"], + "serviceFullName":"QApps", + "serviceId":"QApps", + "signatureVersion":"v4", + "signingName":"qapps", + "uid":"qapps-2023-11-27" + }, + "operations":{ + "AssociateLibraryItemReview":{ + "name":"AssociateLibraryItemReview", + "http":{ + "method":"POST", + "requestUri":"/catalog.associateItemRating", + "responseCode":200 + }, + "input":{"shape":"AssociateLibraryItemReviewInput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

Associates a rating or review for a library item with the user submitting the request. This increments the rating count for the specified library item.

" + }, + "AssociateQAppWithUser":{ + "name":"AssociateQAppWithUser", + "http":{ + "method":"POST", + "requestUri":"/apps.install", + "responseCode":200 + }, + "input":{"shape":"AssociateQAppWithUserInput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

This operation creates a link between the user's identity calling the operation and a specific Q App. This is useful to mark the Q App as a favorite for the user if the user doesn't own the Amazon Q App so they can still run it and see it in their inventory of Q Apps.

" + }, + "CreateLibraryItem":{ + "name":"CreateLibraryItem", + "http":{ + "method":"POST", + "requestUri":"/catalog.createItem", + "responseCode":200 + }, + "input":{"shape":"CreateLibraryItemInput"}, + "output":{"shape":"CreateLibraryItemOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

Creates a new library item for an Amazon Q App, allowing it to be discovered and used by other allowed users.

" + }, + "CreateQApp":{ + "name":"CreateQApp", + "http":{ + "method":"POST", + "requestUri":"/apps.create", + "responseCode":200 + }, + "input":{"shape":"CreateQAppInput"}, + "output":{"shape":"CreateQAppOutput"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ContentTooLargeException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

Creates a new Amazon Q App based on the provided definition. The Q App definition specifies the cards and flow of the Q App. This operation also calculates the dependencies between the cards by inspecting the references in the prompts.

" + }, + "DeleteLibraryItem":{ + "name":"DeleteLibraryItem", + "http":{ + "method":"POST", + "requestUri":"/catalog.deleteItem", + "responseCode":200 + }, + "input":{"shape":"DeleteLibraryItemInput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

Deletes a library item for an Amazon Q App, removing it from the library so it can no longer be discovered or used by other users.

", + "idempotent":true + }, + "DeleteQApp":{ + "name":"DeleteQApp", + "http":{ + "method":"POST", + "requestUri":"/apps.delete", + "responseCode":200 + }, + "input":{"shape":"DeleteQAppInput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

Deletes an Amazon Q App owned by the user. If the Q App was previously published to the library, it is also removed from the library.

", + "idempotent":true + }, + "DisassociateLibraryItemReview":{ + "name":"DisassociateLibraryItemReview", + "http":{ + "method":"POST", + "requestUri":"/catalog.disassociateItemRating", + "responseCode":200 + }, + "input":{"shape":"DisassociateLibraryItemReviewInput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

Removes a rating or review previously submitted by the user for a library item.

" + }, + "DisassociateQAppFromUser":{ + "name":"DisassociateQAppFromUser", + "http":{ + "method":"POST", + "requestUri":"/apps.uninstall", + "responseCode":200 + }, + "input":{"shape":"DisassociateQAppFromUserInput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

Disassociates a Q App from a user removing the user's access to run the Q App.

" + }, + "GetLibraryItem":{ + "name":"GetLibraryItem", + "http":{ + "method":"GET", + "requestUri":"/catalog.getItem", + "responseCode":200 + }, + "input":{"shape":"GetLibraryItemInput"}, + "output":{"shape":"GetLibraryItemOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

Retrieves details about a library item for an Amazon Q App, including its metadata, categories, ratings, and usage statistics.

" + }, + "GetQApp":{ + "name":"GetQApp", + "http":{ + "method":"GET", + "requestUri":"/apps.get", + "responseCode":200 + }, + "input":{"shape":"GetQAppInput"}, + "output":{"shape":"GetQAppOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

Retrieves the full details of an Q App, including its definition specifying the cards and flow.

" + }, + "GetQAppSession":{ + "name":"GetQAppSession", + "http":{ + "method":"GET", + "requestUri":"/runtime.getQAppSession", + "responseCode":200 + }, + "input":{"shape":"GetQAppSessionInput"}, + "output":{"shape":"GetQAppSessionOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

Retrieves the current state and results for an active session of an Amazon Q App.

" + }, + "ImportDocument":{ + "name":"ImportDocument", + "http":{ + "method":"POST", + "requestUri":"/apps.importDocument", + "responseCode":200 + }, + "input":{"shape":"ImportDocumentInput"}, + "output":{"shape":"ImportDocumentOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ContentTooLargeException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

Uploads a file that can then be used either as a default in a FileUploadCard from Q App definition or as a file that is used inside a single Q App run. The purpose of the document is determined by a scope parameter that indicates whether it is at the app definition level or at the app session level.

" + }, + "ListLibraryItems":{ + "name":"ListLibraryItems", + "http":{ + "method":"GET", + "requestUri":"/catalog.list", + "responseCode":200 + }, + "input":{"shape":"ListLibraryItemsInput"}, + "output":{"shape":"ListLibraryItemsOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

Lists the library items for Amazon Q Apps that are published and available for users in your Amazon Web Services account.

" + }, + "ListQApps":{ + "name":"ListQApps", + "http":{ + "method":"GET", + "requestUri":"/apps.list", + "responseCode":200 + }, + "input":{"shape":"ListQAppsInput"}, + "output":{"shape":"ListQAppsOutput"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

Lists the Amazon Q Apps owned by or associated with the user either because they created it or because they used it from the library in the past. The user identity is extracted from the credentials used to invoke this operation..

" + }, + "ListTagsForResource":{ + "name":"ListTagsForResource", + "http":{ + "method":"GET", + "requestUri":"/tags/{resourceARN}", + "responseCode":200 + }, + "input":{"shape":"ListTagsForResourceRequest"}, + "output":{"shape":"ListTagsForResourceResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

Lists the tags associated with an Amazon Q Apps resource.

" + }, + "PredictQApp":{ + "name":"PredictQApp", + "http":{ + "method":"POST", + "requestUri":"/apps.predictQApp", + "responseCode":200 + }, + "input":{"shape":"PredictQAppInput"}, + "output":{"shape":"PredictQAppOutput"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

Generates an Amazon Q App definition based on either a conversation or a problem statement provided as input.The resulting app definition can be used to call CreateQApp. This API doesn't create Amazon Q Apps directly.

" + }, + "StartQAppSession":{ + "name":"StartQAppSession", + "http":{ + "method":"POST", + "requestUri":"/runtime.startQAppSession", + "responseCode":200 + }, + "input":{"shape":"StartQAppSessionInput"}, + "output":{"shape":"StartQAppSessionOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

Starts a new session for an Amazon Q App, allowing inputs to be provided and the app to be run.

Each Q App session will be condensed into a single conversation in the web experience.

" + }, + "StopQAppSession":{ + "name":"StopQAppSession", + "http":{ + "method":"POST", + "requestUri":"/runtime.deleteMiniAppRun", + "responseCode":200 + }, + "input":{"shape":"StopQAppSessionInput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

Stops an active session for an Amazon Q App.This deletes all data related to the session and makes it invalid for future uses. The results of the session will be persisted as part of the conversation.

" + }, + "TagResource":{ + "name":"TagResource", + "http":{ + "method":"POST", + "requestUri":"/tags/{resourceARN}", + "responseCode":200 + }, + "input":{"shape":"TagResourceRequest"}, + "output":{"shape":"TagResourceResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

Associates tags with an Amazon Q Apps resource.

", + "idempotent":true + }, + "UntagResource":{ + "name":"UntagResource", + "http":{ + "method":"DELETE", + "requestUri":"/tags/{resourceARN}", + "responseCode":200 + }, + "input":{"shape":"UntagResourceRequest"}, + "output":{"shape":"UntagResourceResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

Disassociates tags from an Amazon Q Apps resource.

", + "idempotent":true + }, + "UpdateLibraryItem":{ + "name":"UpdateLibraryItem", + "http":{ + "method":"POST", + "requestUri":"/catalog.updateItem", + "responseCode":200 + }, + "input":{"shape":"UpdateLibraryItemInput"}, + "output":{"shape":"UpdateLibraryItemOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

Updates the metadata and status of a library item for an Amazon Q App.

" + }, + "UpdateQApp":{ + "name":"UpdateQApp", + "http":{ + "method":"POST", + "requestUri":"/apps.update", + "responseCode":200 + }, + "input":{"shape":"UpdateQAppInput"}, + "output":{"shape":"UpdateQAppOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ContentTooLargeException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

Updates an existing Amazon Q App, allowing modifications to its title, description, and definition.

" + }, + "UpdateQAppSession":{ + "name":"UpdateQAppSession", + "http":{ + "method":"POST", + "requestUri":"/runtime.updateQAppSession", + "responseCode":200 + }, + "input":{"shape":"UpdateQAppSessionInput"}, + "output":{"shape":"UpdateQAppSessionOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"UnauthorizedException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

Updates the session for a given Q App sessionId. This is only valid when at least one card of the session is in the WAITING state. Data for each WAITING card can be provided as input. If inputs are not provided, the call will be accepted but session will not move forward. Inputs for cards that are not in the WAITING status will be ignored.

" + } + }, + "shapes":{ + "AccessDeniedException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String"} + }, + "documentation":"

The client is not authorized to perform the requested operation.

", + "error":{ + "httpStatusCode":403, + "senderFault":true + }, + "exception":true + }, + "AmazonResourceName":{ + "type":"string", + "max":1011, + "min":1 + }, + "AppArn":{"type":"string"}, + "AppDefinition":{ + "type":"structure", + "required":[ + "appDefinitionVersion", + "cards" + ], + "members":{ + "appDefinitionVersion":{ + "shape":"String", + "documentation":"

The version of the app definition schema or specification.

" + }, + "cards":{ + "shape":"CardModelList", + "documentation":"

The cards that make up the Q App, such as text input, file upload, or query cards.

" + }, + "canEdit":{ + "shape":"Boolean", + "documentation":"

A flag indicating whether the Q App's definition can be edited by the user.

" + } + }, + "documentation":"

The definition of the Q App, specifying the cards and flow.

" + }, + "AppDefinitionInput":{ + "type":"structure", + "required":["cards"], + "members":{ + "cards":{ + "shape":"CardList", + "documentation":"

The cards that make up the Q App definition.

" + }, + "initialPrompt":{ + "shape":"InitialPrompt", + "documentation":"

The initial prompt displayed when the Q App is started.

" + } + }, + "documentation":"

The input for defining an Q App.

" + }, + "AppRequiredCapabilities":{ + "type":"list", + "member":{"shape":"AppRequiredCapability"} + }, + "AppRequiredCapability":{ + "type":"string", + "enum":[ + "FileUpload", + "CreatorMode", + "RetrievalMode", + "PluginMode" + ] + }, + "AppStatus":{ + "type":"string", + "enum":[ + "PUBLISHED", + "DRAFT", + "DELETED" + ] + }, + "AppVersion":{ + "type":"integer", + "box":true, + "max":2147483647, + "min":0 + }, + "AssociateLibraryItemReviewInput":{ + "type":"structure", + "required":[ + "instanceId", + "libraryItemId" + ], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

The unique identifier for the Amazon Q Business application environment instance.

", + "location":"header", + "locationName":"instance-id" + }, + "libraryItemId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the library item to associate the review with.

" + } + } + }, + "AssociateQAppWithUserInput":{ + "type":"structure", + "required":[ + "instanceId", + "appId" + ], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

The unique identifier of the Amazon Q Business application environment instance.

", + "location":"header", + "locationName":"instance-id" + }, + "appId":{ + "shape":"UUID", + "documentation":"

The ID of the Amazon Q App to associate with the user.

" + } + } + }, + "AttributeFilter":{ + "type":"structure", + "members":{ + "andAllFilters":{ + "shape":"AttributeFilters", + "documentation":"

Performs a logical AND operation on all supplied filters.

" + }, + "orAllFilters":{ + "shape":"AttributeFilters", + "documentation":"

Performs a logical OR operation on all supplied filters.

" + }, + "notFilter":{ + "shape":"AttributeFilter", + "documentation":"

Performs a logical NOT operation on all supplied filters.

" + }, + "equalsTo":{ + "shape":"DocumentAttribute", + "documentation":"

Performs an equals operation on two document attributes or metadata fields. Supported for the following document attribute value types: dateValue, longValue, stringListValue and stringValue.

" + }, + "containsAll":{ + "shape":"DocumentAttribute", + "documentation":"

Returns true when a document contains all the specified document attributes or metadata fields. Supported for the following document attribute value types: stringListValue.

" + }, + "containsAny":{ + "shape":"DocumentAttribute", + "documentation":"

Returns true when a document contains any of the specified document attributes or metadata fields. Supported for the following document attribute value types: stringListValue.

" + }, + "greaterThan":{ + "shape":"DocumentAttribute", + "documentation":"

Performs a greater than operation on two document attributes or metadata fields. Supported for the following document attribute value types: dateValue and longValue.

" + }, + "greaterThanOrEquals":{ + "shape":"DocumentAttribute", + "documentation":"

Performs a greater than or equals operation on two document attributes or metadata fields. Supported for the following document attribute value types: dateValue and longValue.

" + }, + "lessThan":{ + "shape":"DocumentAttribute", + "documentation":"

Performs a less than operation on two document attributes or metadata fields. Supported for the following document attribute value types: dateValue and longValue.

" + }, + "lessThanOrEquals":{ + "shape":"DocumentAttribute", + "documentation":"

Performs a less than or equals operation on two document attributes or metadata fields.Supported for the following document attribute value type: dateValue and longValue.

" + } + }, + "documentation":"

The filter criteria used on responses based on document attributes or metadata fields.

" + }, + "AttributeFilters":{ + "type":"list", + "member":{"shape":"AttributeFilter"} + }, + "Boolean":{ + "type":"boolean", + "box":true + }, + "Card":{ + "type":"structure", + "members":{ + "textInput":{ + "shape":"TextInputCard", + "documentation":"

A container for the properties of the text input card.

" + }, + "qQuery":{ + "shape":"QQueryCard", + "documentation":"

A container for the properties of the query card.

" + }, + "qPlugin":{ + "shape":"QPluginCard", + "documentation":"

A container for the properties of the plugin card.

" + }, + "fileUpload":{ + "shape":"FileUploadCard", + "documentation":"

A container for the properties of the file upload card.

" + } + }, + "documentation":"

A card representing a component or step in an Amazon Q App's flow.

", + "union":true + }, + "CardInput":{ + "type":"structure", + "members":{ + "textInput":{ + "shape":"TextInputCardInput", + "documentation":"

A container for the properties of the text input card.

" + }, + "qQuery":{ + "shape":"QQueryCardInput", + "documentation":"

A container for the properties of the query input card.

" + }, + "qPlugin":{ + "shape":"QPluginCardInput", + "documentation":"

A container for the properties of the plugin input card.

" + }, + "fileUpload":{ + "shape":"FileUploadCardInput", + "documentation":"

A container for the properties of the file upload input card.

" + } + }, + "documentation":"

The properties defining an input card in an Amazon Q App.

", + "union":true + }, + "CardList":{ + "type":"list", + "member":{"shape":"CardInput"}, + "max":20, + "min":0 + }, + "CardModelList":{ + "type":"list", + "member":{"shape":"Card"}, + "max":20, + "min":0 + }, + "CardOutputSource":{ + "type":"string", + "enum":[ + "approved-sources", + "llm" + ] + }, + "CardStatus":{ + "type":"structure", + "required":[ + "currentState", + "currentValue" + ], + "members":{ + "currentState":{ + "shape":"ExecutionStatus", + "documentation":"

The current state of the card.

" + }, + "currentValue":{ + "shape":"String", + "documentation":"

The current value or result associated with the card.

" + } + }, + "documentation":"

The current status and value of a card in an active Amazon Q App session.

" + }, + "CardStatusMap":{ + "type":"map", + "key":{"shape":"UUID"}, + "value":{"shape":"CardStatus"} + }, + "CardType":{ + "type":"string", + "enum":[ + "text-input", + "q-query", + "file-upload", + "q-plugin" + ] + }, + "CardValue":{ + "type":"structure", + "required":[ + "cardId", + "value" + ], + "members":{ + "cardId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the card.

" + }, + "value":{ + "shape":"CardValueValueString", + "documentation":"

The value or result associated with the card.

" + } + }, + "documentation":"

The value or result associated with a card in a Amazon Q App session.

" + }, + "CardValueList":{ + "type":"list", + "member":{"shape":"CardValue"}, + "max":20, + "min":0 + }, + "CardValueValueString":{ + "type":"string", + "max":5000, + "min":0 + }, + "Category":{ + "type":"structure", + "required":[ + "id", + "title" + ], + "members":{ + "id":{ + "shape":"UUID", + "documentation":"

The unique identifier of the category.

" + }, + "title":{ + "shape":"String", + "documentation":"

The title or name of the category.

" + } + }, + "documentation":"

A category used to classify and filter library items for Amazon Q Apps.

" + }, + "CategoryIdList":{ + "type":"list", + "member":{"shape":"UUID"}, + "max":3, + "min":0 + }, + "CategoryList":{ + "type":"list", + "member":{"shape":"Category"}, + "max":3, + "min":0 + }, + "ConflictException":{ + "type":"structure", + "required":[ + "message", + "resourceId", + "resourceType" + ], + "members":{ + "message":{"shape":"String"}, + "resourceId":{ + "shape":"String", + "documentation":"

The unique identifier of the resource

" + }, + "resourceType":{ + "shape":"String", + "documentation":"

The type of the resource

" + } + }, + "documentation":"

The requested operation could not be completed due to a conflict with the current state of the resource.

", + "error":{ + "httpStatusCode":409, + "senderFault":true + }, + "exception":true + }, + "ContentTooLargeException":{ + "type":"structure", + "required":[ + "message", + "resourceId", + "resourceType" + ], + "members":{ + "message":{"shape":"String"}, + "resourceId":{ + "shape":"String", + "documentation":"

The unique identifier of the resource

" + }, + "resourceType":{ + "shape":"String", + "documentation":"

The type of the resource

" + } + }, + "documentation":"

The requested operation could not be completed because the content exceeds the maximum allowed size.

", + "error":{ + "httpStatusCode":413, + "senderFault":true + }, + "exception":true + }, + "ConversationMessage":{ + "type":"structure", + "required":[ + "body", + "type" + ], + "members":{ + "body":{ + "shape":"ConversationMessageBodyString", + "documentation":"

The text content of the conversation message.

" + }, + "type":{ + "shape":"Sender", + "documentation":"

The type of the conversation message.

" + } + }, + "documentation":"

A message in a conversation, used as input for generating an Amazon Q App definition.

" + }, + "ConversationMessageBodyString":{ + "type":"string", + "max":7000, + "min":0 + }, + "CreateLibraryItemInput":{ + "type":"structure", + "required":[ + "instanceId", + "appId", + "appVersion", + "categories" + ], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

The unique identifier of the Amazon Q Business application environment instance.

", + "location":"header", + "locationName":"instance-id" + }, + "appId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the Amazon Q App to publish to the library.

" + }, + "appVersion":{ + "shape":"AppVersion", + "documentation":"

The version of the Amazon Q App to publish to the library.

" + }, + "categories":{ + "shape":"CategoryIdList", + "documentation":"

The categories to associate with the library item for easier discovery.

" + } + } + }, + "CreateLibraryItemOutput":{ + "type":"structure", + "required":[ + "libraryItemId", + "status", + "createdAt", + "createdBy", + "ratingCount" + ], + "members":{ + "libraryItemId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the new library item.

" + }, + "status":{ + "shape":"String", + "documentation":"

The status of the new library item, such as \"Published\".

" + }, + "createdAt":{ + "shape":"QAppsTimestamp", + "documentation":"

The date and time the library item was created.

" + }, + "createdBy":{ + "shape":"String", + "documentation":"

The user who created the library item.

" + }, + "updatedAt":{ + "shape":"QAppsTimestamp", + "documentation":"

The date and time the library item was last updated.

" + }, + "updatedBy":{ + "shape":"String", + "documentation":"

The user who last updated the library item.

" + }, + "ratingCount":{ + "shape":"Integer", + "documentation":"

The number of ratings the library item has received from users.

" + } + } + }, + "CreateQAppInput":{ + "type":"structure", + "required":[ + "instanceId", + "title", + "appDefinition" + ], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

The unique identifier of the Amazon Q Business application environment instance.

", + "location":"header", + "locationName":"instance-id" + }, + "title":{ + "shape":"Title", + "documentation":"

The title of the new Q App.

" + }, + "description":{ + "shape":"Description", + "documentation":"

The description of the new Q App.

" + }, + "appDefinition":{ + "shape":"AppDefinitionInput", + "documentation":"

The definition of the new Q App, specifying the cards and flow.

" + }, + "tags":{ + "shape":"TagMap", + "documentation":"

Optional tags to associate with the new Q App.

" + } + } + }, + "CreateQAppOutput":{ + "type":"structure", + "required":[ + "appId", + "appArn", + "title", + "appVersion", + "status", + "createdAt", + "createdBy", + "updatedAt", + "updatedBy" + ], + "members":{ + "appId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the new Q App.

" + }, + "appArn":{ + "shape":"AppArn", + "documentation":"

The Amazon Resource Name (ARN) of the new Q App.

" + }, + "title":{ + "shape":"Title", + "documentation":"

The title of the new Q App.

" + }, + "description":{ + "shape":"Description", + "documentation":"

The description of the new Q App.

" + }, + "initialPrompt":{ + "shape":"InitialPrompt", + "documentation":"

The initial prompt displayed when the Q App is started.

" + }, + "appVersion":{ + "shape":"AppVersion", + "documentation":"

The version of the new Q App.

" + }, + "status":{ + "shape":"AppStatus", + "documentation":"

The status of the new Q App, such as \"Created\".

" + }, + "createdAt":{ + "shape":"QAppsTimestamp", + "documentation":"

The date and time the Q App was created.

" + }, + "createdBy":{ + "shape":"String", + "documentation":"

The user who created the Q App.

" + }, + "updatedAt":{ + "shape":"QAppsTimestamp", + "documentation":"

The date and time the Q App was last updated.

" + }, + "updatedBy":{ + "shape":"String", + "documentation":"

The user who last updated the Q App.

" + }, + "requiredCapabilities":{ + "shape":"AppRequiredCapabilities", + "documentation":"

The capabilities required to run the Q App, such as file upload or third-party integrations.

" + } + } + }, + "Default":{ + "type":"string", + "max":500, + "min":0 + }, + "DeleteLibraryItemInput":{ + "type":"structure", + "required":[ + "instanceId", + "libraryItemId" + ], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

The unique identifier of the Amazon Q Business application environment instance.

", + "location":"header", + "locationName":"instance-id" + }, + "libraryItemId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the library item to delete.

" + } + } + }, + "DeleteQAppInput":{ + "type":"structure", + "required":[ + "instanceId", + "appId" + ], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

The unique identifier of the Amazon Q Business application environment instance.

", + "location":"header", + "locationName":"instance-id" + }, + "appId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the Q App to delete.

" + } + } + }, + "DependencyList":{ + "type":"list", + "member":{"shape":"String"} + }, + "Description":{ + "type":"string", + "max":500, + "min":0 + }, + "DisassociateLibraryItemReviewInput":{ + "type":"structure", + "required":[ + "instanceId", + "libraryItemId" + ], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

The unique identifier of the Amazon Q Business application environment instance.

", + "location":"header", + "locationName":"instance-id" + }, + "libraryItemId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the library item to remove the review from.

" + } + } + }, + "DisassociateQAppFromUserInput":{ + "type":"structure", + "required":[ + "instanceId", + "appId" + ], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

The unique identifier of the Amazon Q Business application environment instance.

", + "location":"header", + "locationName":"instance-id" + }, + "appId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the Q App to disassociate from the user.

" + } + } + }, + "DocumentAttribute":{ + "type":"structure", + "required":[ + "name", + "value" + ], + "members":{ + "name":{ + "shape":"DocumentAttributeKey", + "documentation":"

The identifier for the attribute.

" + }, + "value":{ + "shape":"DocumentAttributeValue", + "documentation":"

The value of the attribute.

" + } + }, + "documentation":"

A document attribute or metadata field.

" + }, + "DocumentAttributeKey":{ + "type":"string", + "max":200, + "min":1, + "pattern":"[a-zA-Z0-9_][a-zA-Z0-9_-]*" + }, + "DocumentAttributeStringListValue":{ + "type":"list", + "member":{"shape":"PlatoString"} + }, + "DocumentAttributeValue":{ + "type":"structure", + "members":{ + "stringValue":{ + "shape":"DocumentAttributeValueStringValueString", + "documentation":"

A string.

" + }, + "stringListValue":{ + "shape":"DocumentAttributeStringListValue", + "documentation":"

A list of strings.

" + }, + "longValue":{ + "shape":"Long", + "documentation":"

A long integer value.

" + }, + "dateValue":{ + "shape":"Timestamp", + "documentation":"

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

" + } + }, + "documentation":"

The value of a document attribute. You can only provide one value for a document attribute.

", + "union":true + }, + "DocumentAttributeValueStringValueString":{ + "type":"string", + "max":2048, + "min":0 + }, + "DocumentScope":{ + "type":"string", + "enum":[ + "APPLICATION", + "SESSION" + ] + }, + "ExecutionStatus":{ + "type":"string", + "enum":[ + "IN_PROGRESS", + "WAITING", + "COMPLETED" + ] + }, + "FileUploadCard":{ + "type":"structure", + "required":[ + "id", + "title", + "dependencies", + "type" + ], + "members":{ + "id":{ + "shape":"UUID", + "documentation":"

The unique identifier of the file upload card.

" + }, + "title":{ + "shape":"Title", + "documentation":"

The title of the file upload card.

" + }, + "dependencies":{ + "shape":"DependencyList", + "documentation":"

Any dependencies or requirements for the file upload card.

" + }, + "type":{ + "shape":"CardType", + "documentation":"

The type of the card.

" + }, + "filename":{ + "shape":"String", + "documentation":"

The name of the file being uploaded.

" + }, + "fileId":{ + "shape":"String", + "documentation":"

The unique identifier of the file associated with the card.

" + }, + "allowOverride":{ + "shape":"Boolean", + "documentation":"

A flag indicating if the user can override the default file for the upload card.

" + } + }, + "documentation":"

A card in an Amazon Q App that allows the user to upload a file.

" + }, + "FileUploadCardInput":{ + "type":"structure", + "required":[ + "title", + "id", + "type" + ], + "members":{ + "title":{ + "shape":"Title", + "documentation":"

The title or label of the file upload card.

" + }, + "id":{ + "shape":"UUID", + "documentation":"

The unique identifier of the file upload card.

" + }, + "type":{ + "shape":"CardType", + "documentation":"

The type of the card.

" + }, + "filename":{ + "shape":"Filename", + "documentation":"

The default filename to use for the file upload card.

" + }, + "fileId":{ + "shape":"UUID", + "documentation":"

The identifier of a pre-uploaded file associated with the card.

" + }, + "allowOverride":{ + "shape":"Boolean", + "documentation":"

A flag indicating if the user can override the default file for the upload card.

" + } + }, + "documentation":"

Represents a file upload card. It can optionally receive a filename and fileId to set a default file. If not received, the user must provide the file when the Q App runs.

" + }, + "Filename":{ + "type":"string", + "max":100, + "min":0 + }, + "GetLibraryItemInput":{ + "type":"structure", + "required":[ + "instanceId", + "libraryItemId" + ], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

The unique identifier of the Amazon Q Business application environment instance.

", + "location":"header", + "locationName":"instance-id" + }, + "libraryItemId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the library item to retrieve.

", + "location":"querystring", + "locationName":"libraryItemId" + }, + "appId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the Amazon Q App associated with the library item.

", + "location":"querystring", + "locationName":"appId" + } + } + }, + "GetLibraryItemOutput":{ + "type":"structure", + "required":[ + "libraryItemId", + "appId", + "appVersion", + "categories", + "status", + "createdAt", + "createdBy", + "ratingCount" + ], + "members":{ + "libraryItemId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the library item.

" + }, + "appId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the Q App associated with the library item.

" + }, + "appVersion":{ + "shape":"AppVersion", + "documentation":"

The version of the Q App associated with the library item.

" + }, + "categories":{ + "shape":"CategoryList", + "documentation":"

The categories associated with the library item for discovery.

" + }, + "status":{ + "shape":"String", + "documentation":"

The status of the library item, such as \"Published\".

" + }, + "createdAt":{ + "shape":"QAppsTimestamp", + "documentation":"

The date and time the library item was created.

" + }, + "createdBy":{ + "shape":"String", + "documentation":"

The user who created the library item.

" + }, + "updatedAt":{ + "shape":"QAppsTimestamp", + "documentation":"

The date and time the library item was last updated.

" + }, + "updatedBy":{ + "shape":"String", + "documentation":"

The user who last updated the library item.

" + }, + "ratingCount":{ + "shape":"Integer", + "documentation":"

The number of ratings the library item has received from users.

" + }, + "isRatedByUser":{ + "shape":"Boolean", + "documentation":"

Whether the current user has rated the library item.

" + }, + "userCount":{ + "shape":"Integer", + "documentation":"

The number of users who have associated the Q App with their account.

" + } + } + }, + "GetQAppInput":{ + "type":"structure", + "required":[ + "instanceId", + "appId" + ], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

The unique identifier of the Amazon Q Business application environment instance.

", + "location":"header", + "locationName":"instance-id" + }, + "appId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the Q App to retrieve.

", + "location":"querystring", + "locationName":"appId" + } + } + }, + "GetQAppOutput":{ + "type":"structure", + "required":[ + "appId", + "appArn", + "title", + "appVersion", + "status", + "createdAt", + "createdBy", + "updatedAt", + "updatedBy", + "appDefinition" + ], + "members":{ + "appId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the Q App.

" + }, + "appArn":{ + "shape":"AppArn", + "documentation":"

The Amazon Resource Name (ARN) of the Q App.

" + }, + "title":{ + "shape":"Title", + "documentation":"

The title of the Q App.

" + }, + "description":{ + "shape":"Description", + "documentation":"

The description of the Q App.

" + }, + "initialPrompt":{ + "shape":"InitialPrompt", + "documentation":"

The initial prompt displayed when the Q App is started.

" + }, + "appVersion":{ + "shape":"AppVersion", + "documentation":"

The version of the Q App.

" + }, + "status":{ + "shape":"AppStatus", + "documentation":"

The status of the Q App.

" + }, + "createdAt":{ + "shape":"QAppsTimestamp", + "documentation":"

The date and time the Q App was created.

" + }, + "createdBy":{ + "shape":"String", + "documentation":"

The user who created the Q App.

" + }, + "updatedAt":{ + "shape":"QAppsTimestamp", + "documentation":"

The date and time the Q App was last updated.

" + }, + "updatedBy":{ + "shape":"String", + "documentation":"

The user who last updated the Q App.

" + }, + "requiredCapabilities":{ + "shape":"AppRequiredCapabilities", + "documentation":"

The capabilities required to run the Q App, such as file upload or third-party integrations.

" + }, + "appDefinition":{ + "shape":"AppDefinition", + "documentation":"

The full definition of the Q App, specifying the cards and flow.

" + } + } + }, + "GetQAppSessionInput":{ + "type":"structure", + "required":[ + "instanceId", + "sessionId" + ], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

The unique identifier of the Amazon Q Business application environment instance.

", + "location":"header", + "locationName":"instance-id" + }, + "sessionId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the Q App session to retrieve.

", + "location":"querystring", + "locationName":"sessionId" + } + } + }, + "GetQAppSessionOutput":{ + "type":"structure", + "required":[ + "sessionId", + "sessionArn", + "status", + "cardStatus" + ], + "members":{ + "sessionId":{ + "shape":"String", + "documentation":"

The unique identifier of the Q App session.

" + }, + "sessionArn":{ + "shape":"String", + "documentation":"

The Amazon Resource Name (ARN) of the Q App session.

" + }, + "status":{ + "shape":"ExecutionStatus", + "documentation":"

The current status of the Q App session.

" + }, + "cardStatus":{ + "shape":"CardStatusMap", + "documentation":"

The current status for each card in the Q App session.

" + } + } + }, + "ImportDocumentInput":{ + "type":"structure", + "required":[ + "instanceId", + "cardId", + "appId", + "fileContentsBase64", + "fileName", + "scope" + ], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

The unique identifier of the Amazon Q Business application environment instance.

", + "location":"header", + "locationName":"instance-id" + }, + "cardId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the card the file is associated with, if applicable.

" + }, + "appId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the Q App the file is associated with.

" + }, + "fileContentsBase64":{ + "shape":"String", + "documentation":"

The base64-encoded contents of the file to upload.

" + }, + "fileName":{ + "shape":"Filename", + "documentation":"

The name of the file being uploaded.

" + }, + "scope":{ + "shape":"DocumentScope", + "documentation":"

Whether the file is associated with an Q App definition or a specific Q App session.

" + }, + "sessionId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the Q App session the file is associated with, if applicable.

" + } + } + }, + "ImportDocumentOutput":{ + "type":"structure", + "members":{ + "fileId":{ + "shape":"String", + "documentation":"

The unique identifier assigned to the uploaded file.

" + } + } + }, + "InitialPrompt":{ + "type":"string", + "max":10000, + "min":0 + }, + "InstanceId":{"type":"string"}, + "Integer":{ + "type":"integer", + "box":true + }, + "InternalServerException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String"}, + "retryAfterSeconds":{ + "shape":"Integer", + "documentation":"

The number of seconds to wait before retrying the operation

", + "location":"header", + "locationName":"Retry-After" + } + }, + "documentation":"

An internal service error occurred while processing the request.

", + "error":{"httpStatusCode":500}, + "exception":true, + "fault":true, + "retryable":{"throttling":false} + }, + "LibraryItemList":{ + "type":"list", + "member":{"shape":"LibraryItemMember"} + }, + "LibraryItemMember":{ + "type":"structure", + "required":[ + "libraryItemId", + "appId", + "appVersion", + "categories", + "status", + "createdAt", + "createdBy", + "ratingCount" + ], + "members":{ + "libraryItemId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the library item.

" + }, + "appId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the Q App associated with the library item.

" + }, + "appVersion":{ + "shape":"AppVersion", + "documentation":"

The version of the Q App associated with the library item.

" + }, + "categories":{ + "shape":"CategoryList", + "documentation":"

The categories associated with the library item.

" + }, + "status":{ + "shape":"String", + "documentation":"

The status of the library item.

" + }, + "createdAt":{ + "shape":"QAppsTimestamp", + "documentation":"

The date and time the library item was created.

" + }, + "createdBy":{ + "shape":"String", + "documentation":"

The user who created the library item.

" + }, + "updatedAt":{ + "shape":"QAppsTimestamp", + "documentation":"

The date and time the library item was last updated.

" + }, + "updatedBy":{ + "shape":"String", + "documentation":"

The user who last updated the library item.

" + }, + "ratingCount":{ + "shape":"Integer", + "documentation":"

The number of ratings the library item has received.

" + }, + "isRatedByUser":{ + "shape":"Boolean", + "documentation":"

Whether the current user has rated the library item.

" + }, + "userCount":{ + "shape":"Integer", + "documentation":"

The number of users who have the associated Q App.

" + } + }, + "documentation":"

A library item is a snapshot of an Amazon Q App that can be published so the users in their Amazon Q Apps library can discover it, clone it, and run it.

" + }, + "LibraryItemStatus":{ + "type":"string", + "enum":[ + "PUBLISHED", + "DISABLED" + ] + }, + "ListLibraryItemsInput":{ + "type":"structure", + "required":["instanceId"], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

The unique identifier of the Amazon Q Business application environment instance.

", + "location":"header", + "locationName":"instance-id" + }, + "limit":{ + "shape":"PageLimit", + "documentation":"

The maximum number of library items to return in the response.

", + "location":"querystring", + "locationName":"limit" + }, + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

The token to request the next page of results.

", + "location":"querystring", + "locationName":"nextToken" + }, + "categoryId":{ + "shape":"UUID", + "documentation":"

Optional category to filter the library items by.

", + "location":"querystring", + "locationName":"categoryId" + } + } + }, + "ListLibraryItemsOutput":{ + "type":"structure", + "members":{ + "libraryItems":{ + "shape":"LibraryItemList", + "documentation":"

The list of library items meeting the request criteria.

" + }, + "nextToken":{ + "shape":"String", + "documentation":"

The token to use to request the next page of results.

" + } + } + }, + "ListQAppsInput":{ + "type":"structure", + "required":["instanceId"], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

The unique identifier of the Amazon Q Business application environment instance.

", + "location":"header", + "locationName":"instance-id" + }, + "limit":{ + "shape":"PageLimit", + "documentation":"

The maximum number of Q Apps to return in the response.

", + "location":"querystring", + "locationName":"limit" + }, + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

The token to request the next page of results.

", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListQAppsOutput":{ + "type":"structure", + "required":["apps"], + "members":{ + "apps":{ + "shape":"UserAppsList", + "documentation":"

The list of Amazon Q Apps meeting the request criteria.

" + }, + "nextToken":{ + "shape":"String", + "documentation":"

The token to use to request the next page of results.

" + } + } + }, + "ListTagsForResourceRequest":{ + "type":"structure", + "required":["resourceARN"], + "members":{ + "resourceARN":{ + "shape":"AmazonResourceName", + "documentation":"

The Amazon Resource Name (ARN) of the resource whose tags should be listed.

", + "location":"uri", + "locationName":"resourceARN" + } + } + }, + "ListTagsForResourceResponse":{ + "type":"structure", + "members":{ + "tags":{ + "shape":"Tags", + "documentation":"

The list of tags that are assigned to the resource.

" + } + } + }, + "Long":{ + "type":"long", + "box":true + }, + "PageLimit":{ + "type":"integer", + "box":true, + "max":100, + "min":1 + }, + "PaginationToken":{ + "type":"string", + "max":300, + "min":0 + }, + "Placeholder":{ + "type":"string", + "max":500, + "min":0 + }, + "PlatoString":{ + "type":"string", + "max":2048, + "min":1 + }, + "PluginId":{ + "type":"string", + "max":36, + "min":36 + }, + "PluginType":{ + "type":"string", + "enum":[ + "SERVICE_NOW", + "SALESFORCE", + "JIRA", + "ZENDESK", + "CUSTOM" + ] + }, + "PredictAppDefinition":{ + "type":"structure", + "required":[ + "title", + "appDefinition" + ], + "members":{ + "title":{ + "shape":"Title", + "documentation":"

The title of the generated Q App definition.

" + }, + "description":{ + "shape":"Description", + "documentation":"

The description of the generated Q App definition.

" + }, + "appDefinition":{ + "shape":"AppDefinitionInput", + "documentation":"

The definition specifying the cards and flow of the generated Q App.

" + } + }, + "documentation":"

The definition of an Amazon Q App generated based on input such as a conversation or problem statement.

" + }, + "PredictQAppInput":{ + "type":"structure", + "required":["instanceId"], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

The unique identifier of the Amazon Q Business application environment instance.

", + "location":"header", + "locationName":"instance-id" + }, + "options":{ + "shape":"PredictQAppInputOptions", + "documentation":"

The input to generate the Q App definition from, either a conversation or problem statement.

" + } + } + }, + "PredictQAppInputOptions":{ + "type":"structure", + "members":{ + "conversation":{ + "shape":"PredictQAppInputOptionsConversationList", + "documentation":"

A conversation to use as input for generating the Q App definition.

" + }, + "problemStatement":{ + "shape":"PredictQAppInputOptionsProblemStatementString", + "documentation":"

A problem statement to use as input for generating the Q App definition.

" + } + }, + "documentation":"

The input options for generating an Q App definition.

", + "union":true + }, + "PredictQAppInputOptionsConversationList":{ + "type":"list", + "member":{"shape":"ConversationMessage"}, + "max":25, + "min":1 + }, + "PredictQAppInputOptionsProblemStatementString":{ + "type":"string", + "max":10000, + "min":0 + }, + "PredictQAppOutput":{ + "type":"structure", + "required":[ + "app", + "problemStatement" + ], + "members":{ + "app":{ + "shape":"PredictAppDefinition", + "documentation":"

The generated Q App definition.

" + }, + "problemStatement":{ + "shape":"String", + "documentation":"

The problem statement extracted from the input conversation, if provided.

" + } + } + }, + "Prompt":{ + "type":"string", + "max":7000, + "min":0 + }, + "QAppsTimestamp":{ + "type":"timestamp", + "timestampFormat":"iso8601" + }, + "QPluginCard":{ + "type":"structure", + "required":[ + "id", + "title", + "dependencies", + "type", + "prompt", + "pluginType", + "pluginId" + ], + "members":{ + "id":{ + "shape":"UUID", + "documentation":"

The unique identifier of the plugin card.

" + }, + "title":{ + "shape":"Title", + "documentation":"

The title or label of the plugin card.

" + }, + "dependencies":{ + "shape":"DependencyList", + "documentation":"

Any dependencies or requirements for the plugin card.

" + }, + "type":{ + "shape":"CardType", + "documentation":"

The type of the card.

" + }, + "prompt":{ + "shape":"Prompt", + "documentation":"

The prompt or instructions displayed for the plugin card.

" + }, + "pluginType":{ + "shape":"PluginType", + "documentation":"

The type or category of the plugin used by the card.

" + }, + "pluginId":{ + "shape":"String", + "documentation":"

The unique identifier of the plugin used by the card.

" + } + }, + "documentation":"

A card in an Q App that integrates with a third-party plugin or service.

" + }, + "QPluginCardInput":{ + "type":"structure", + "required":[ + "title", + "id", + "type", + "prompt", + "pluginId" + ], + "members":{ + "title":{ + "shape":"Title", + "documentation":"

The title or label of the plugin card.

" + }, + "id":{ + "shape":"UUID", + "documentation":"

The unique identifier of the plugin card.

" + }, + "type":{ + "shape":"CardType", + "documentation":"

The type of the card.

" + }, + "prompt":{ + "shape":"Prompt", + "documentation":"

The prompt or instructions displayed for the plugin card.

" + }, + "pluginId":{ + "shape":"PluginId", + "documentation":"

The unique identifier of the plugin used by the card.

" + } + }, + "documentation":"

The input shape for defining a plugin card in an Amazon Q App.

" + }, + "QQueryCard":{ + "type":"structure", + "required":[ + "id", + "title", + "dependencies", + "type", + "prompt", + "outputSource" + ], + "members":{ + "id":{ + "shape":"UUID", + "documentation":"

The unique identifier of the query card.

" + }, + "title":{ + "shape":"Title", + "documentation":"

The title or label of the query card.

" + }, + "dependencies":{ + "shape":"DependencyList", + "documentation":"

Any dependencies or requirements for the query card.

" + }, + "type":{ + "shape":"CardType", + "documentation":"

The type of the card.

" + }, + "prompt":{ + "shape":"Prompt", + "documentation":"

The prompt or instructions displayed for the query card.

" + }, + "outputSource":{ + "shape":"CardOutputSource", + "documentation":"

The source or type of output generated by the query card.

" + }, + "attributeFilter":{ + "shape":"AttributeFilter", + "documentation":"

The Amazon Q Business filters applied in this query card when resolving data sources

" + } + }, + "documentation":"

A card in a Amazon Q App that generates a response based on the Amazon Q Business service.

" + }, + "QQueryCardInput":{ + "type":"structure", + "required":[ + "title", + "id", + "type", + "prompt" + ], + "members":{ + "title":{ + "shape":"Title", + "documentation":"

The title or label of the query card.

" + }, + "id":{ + "shape":"UUID", + "documentation":"

The unique identifier of the query card.

" + }, + "type":{ + "shape":"CardType", + "documentation":"

The type of the card.

" + }, + "prompt":{ + "shape":"Prompt", + "documentation":"

The prompt or instructions displayed for the query card.

" + }, + "outputSource":{ + "shape":"CardOutputSource", + "documentation":"

The source or type of output to generate for the query card.

" + }, + "attributeFilter":{ + "shape":"AttributeFilter", + "documentation":"

Turns on filtering of responses based on document attributes or metadata fields.

" + } + }, + "documentation":"

The input shape for defining a query card in an Amazon Q App.

" + }, + "ResourceNotFoundException":{ + "type":"structure", + "required":[ + "message", + "resourceId", + "resourceType" + ], + "members":{ + "message":{"shape":"String"}, + "resourceId":{ + "shape":"String", + "documentation":"

The unique identifier of the resource

" + }, + "resourceType":{ + "shape":"String", + "documentation":"

The type of the resource

" + } + }, + "documentation":"

The requested resource could not be found.

", + "error":{ + "httpStatusCode":404, + "senderFault":true + }, + "exception":true + }, + "Sender":{ + "type":"string", + "enum":[ + "USER", + "SYSTEM" + ] + }, + "ServiceQuotaExceededException":{ + "type":"structure", + "required":[ + "message", + "resourceId", + "resourceType", + "serviceCode", + "quotaCode" + ], + "members":{ + "message":{"shape":"String"}, + "resourceId":{ + "shape":"String", + "documentation":"

The unique identifier of the resource

" + }, + "resourceType":{ + "shape":"String", + "documentation":"

The type of the resource

" + }, + "serviceCode":{ + "shape":"String", + "documentation":"

The code for the service where the quota was exceeded

" + }, + "quotaCode":{ + "shape":"String", + "documentation":"

The code of the quota that was exceeded

" + } + }, + "documentation":"

The requested operation could not be completed because it would exceed the service's quota or limit.

", + "error":{ + "httpStatusCode":402, + "senderFault":true + }, + "exception":true + }, + "StartQAppSessionInput":{ + "type":"structure", + "required":[ + "instanceId", + "appId", + "appVersion" + ], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

The unique identifier of the Amazon Q Business application environment instance.

", + "location":"header", + "locationName":"instance-id" + }, + "appId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the Q App to start a session for.

" + }, + "appVersion":{ + "shape":"AppVersion", + "documentation":"

The version of the Q App to use for the session.

" + }, + "initialValues":{ + "shape":"CardValueList", + "documentation":"

Optional initial input values to provide for the Q App session.

" + }, + "tags":{ + "shape":"TagMap", + "documentation":"

Optional tags to associate with the new Q App session.

" + } + } + }, + "StartQAppSessionOutput":{ + "type":"structure", + "required":[ + "sessionId", + "sessionArn" + ], + "members":{ + "sessionId":{ + "shape":"String", + "documentation":"

The unique identifier of the new Q App session.

" + }, + "sessionArn":{ + "shape":"String", + "documentation":"

The Amazon Resource Name (ARN) of the new Q App session.

" + } + } + }, + "StopQAppSessionInput":{ + "type":"structure", + "required":[ + "instanceId", + "sessionId" + ], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

The unique identifier of the Amazon Q Business application environment instance.

", + "location":"header", + "locationName":"instance-id" + }, + "sessionId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the Q App session to stop.

" + } + } + }, + "String":{"type":"string"}, + "TagKey":{ + "type":"string", + "max":128, + "min":1 + }, + "TagKeys":{ + "type":"list", + "member":{"shape":"TagKey"}, + "max":200, + "min":0 + }, + "TagMap":{ + "type":"map", + "key":{"shape":"String"}, + "value":{"shape":"String"} + }, + "TagResourceRequest":{ + "type":"structure", + "required":[ + "resourceARN", + "tags" + ], + "members":{ + "resourceARN":{ + "shape":"AmazonResourceName", + "documentation":"

The Amazon Resource Name (ARN) of the resource to tag.

", + "location":"uri", + "locationName":"resourceARN" + }, + "tags":{ + "shape":"Tags", + "documentation":"

The tags to associate with the resource.

" + } + } + }, + "TagResourceResponse":{ + "type":"structure", + "members":{ + } + }, + "TagValue":{ + "type":"string", + "max":256, + "min":0 + }, + "Tags":{ + "type":"map", + "key":{"shape":"TagKey"}, + "value":{"shape":"TagValue"} + }, + "TextInputCard":{ + "type":"structure", + "required":[ + "id", + "title", + "dependencies", + "type" + ], + "members":{ + "id":{ + "shape":"UUID", + "documentation":"

The unique identifier of the text input card.

" + }, + "title":{ + "shape":"Title", + "documentation":"

The title or label of the text input card.

" + }, + "dependencies":{ + "shape":"DependencyList", + "documentation":"

Any dependencies or requirements for the text input card.

" + }, + "type":{ + "shape":"CardType", + "documentation":"

The type of the card.

" + }, + "placeholder":{ + "shape":"Placeholder", + "documentation":"

The placeholder text to display in the text input field.

" + }, + "defaultValue":{ + "shape":"Default", + "documentation":"

The default value to pre-populate in the text input field.

" + } + }, + "documentation":"

A card in an Amazon Q App that allows the user to input text.

" + }, + "TextInputCardInput":{ + "type":"structure", + "required":[ + "title", + "id", + "type" + ], + "members":{ + "title":{ + "shape":"Title", + "documentation":"

The title or label of the text input card.

" + }, + "id":{ + "shape":"UUID", + "documentation":"

The unique identifier of the text input card.

" + }, + "type":{ + "shape":"CardType", + "documentation":"

The type of the card.

" + }, + "placeholder":{ + "shape":"Placeholder", + "documentation":"

The placeholder text to display in the text input field.

" + }, + "defaultValue":{ + "shape":"Default", + "documentation":"

The default value to pre-populate in the text input field.

" + } + }, + "documentation":"

The input shape for defining a text input card in an Amazon Q App.

" + }, + "ThrottlingException":{ + "type":"structure", + "required":[ + "message", + "serviceCode", + "quotaCode" + ], + "members":{ + "message":{"shape":"String"}, + "serviceCode":{ + "shape":"String", + "documentation":"

The code for the service where the quota was exceeded

" + }, + "quotaCode":{ + "shape":"String", + "documentation":"

The code of the quota that was exceeded

" + }, + "retryAfterSeconds":{ + "shape":"Integer", + "documentation":"

The number of seconds to wait before retrying the operation

", + "location":"header", + "locationName":"Retry-After" + } + }, + "documentation":"

The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later.

", + "error":{ + "httpStatusCode":429, + "senderFault":true + }, + "exception":true, + "retryable":{"throttling":true} + }, + "Timestamp":{"type":"timestamp"}, + "Title":{ + "type":"string", + "max":100, + "min":0 + }, + "UUID":{ + "type":"string", + "pattern":"[\\da-f]{8}-[\\da-f]{4}-4[\\da-f]{3}-[89ABab][\\da-f]{3}-[\\da-f]{12}" + }, + "UnauthorizedException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String"} + }, + "documentation":"

The client is not authenticated or authorized to perform the requested operation.

", + "error":{ + "httpStatusCode":401, + "senderFault":true + }, + "exception":true + }, + "UntagResourceRequest":{ + "type":"structure", + "required":[ + "resourceARN", + "tagKeys" + ], + "members":{ + "resourceARN":{ + "shape":"AmazonResourceName", + "documentation":"

The Amazon Resource Name (ARN) of the resource to disassociate the tag from.

", + "location":"uri", + "locationName":"resourceARN" + }, + "tagKeys":{ + "shape":"TagKeys", + "documentation":"

The keys of the tags to disassociate from the resource.

", + "location":"querystring", + "locationName":"tagKeys" + } + } + }, + "UntagResourceResponse":{ + "type":"structure", + "members":{ + } + }, + "UpdateLibraryItemInput":{ + "type":"structure", + "required":[ + "instanceId", + "libraryItemId" + ], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

The unique identifier of the Amazon Q Business application environment instance.

", + "location":"header", + "locationName":"instance-id" + }, + "libraryItemId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the library item to update.

" + }, + "status":{ + "shape":"LibraryItemStatus", + "documentation":"

The new status to set for the library item, such as \"Published\" or \"Hidden\".

" + }, + "categories":{ + "shape":"CategoryIdList", + "documentation":"

The new categories to associate with the library item.

" + } + } + }, + "UpdateLibraryItemOutput":{ + "type":"structure", + "required":[ + "libraryItemId", + "appId", + "appVersion", + "categories", + "status", + "createdAt", + "createdBy", + "ratingCount" + ], + "members":{ + "libraryItemId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the updated library item.

" + }, + "appId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the Q App associated with the library item.

" + }, + "appVersion":{ + "shape":"AppVersion", + "documentation":"

The version of the Q App associated with the library item.

" + }, + "categories":{ + "shape":"CategoryList", + "documentation":"

The categories associated with the updated library item.

" + }, + "status":{ + "shape":"String", + "documentation":"

The new status of the updated library item.

" + }, + "createdAt":{ + "shape":"QAppsTimestamp", + "documentation":"

The date and time the library item was originally created.

" + }, + "createdBy":{ + "shape":"String", + "documentation":"

The user who originally created the library item.

" + }, + "updatedAt":{ + "shape":"QAppsTimestamp", + "documentation":"

The date and time the library item was last updated.

" + }, + "updatedBy":{ + "shape":"String", + "documentation":"

The user who last updated the library item.

" + }, + "ratingCount":{ + "shape":"Integer", + "documentation":"

The number of ratings the library item has received.

" + }, + "isRatedByUser":{ + "shape":"Boolean", + "documentation":"

Whether the current user has rated the library item.

" + }, + "userCount":{ + "shape":"Integer", + "documentation":"

The number of users who have the associated Q App.

" + } + } + }, + "UpdateQAppInput":{ + "type":"structure", + "required":[ + "instanceId", + "appId" + ], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

The unique identifier of the Amazon Q Business application environment instance.

", + "location":"header", + "locationName":"instance-id" + }, + "appId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the Q App to update.

" + }, + "title":{ + "shape":"Title", + "documentation":"

The new title for the Q App.

" + }, + "description":{ + "shape":"Description", + "documentation":"

The new description for the Q App.

" + }, + "appDefinition":{ + "shape":"AppDefinitionInput", + "documentation":"

The new definition specifying the cards and flow for the Q App.

" + } + } + }, + "UpdateQAppOutput":{ + "type":"structure", + "required":[ + "appId", + "appArn", + "title", + "appVersion", + "status", + "createdAt", + "createdBy", + "updatedAt", + "updatedBy" + ], + "members":{ + "appId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the updated Q App.

" + }, + "appArn":{ + "shape":"AppArn", + "documentation":"

The Amazon Resource Name (ARN) of the updated Q App.

" + }, + "title":{ + "shape":"Title", + "documentation":"

The new title of the updated Q App.

" + }, + "description":{ + "shape":"Description", + "documentation":"

The new description of the updated Q App.

" + }, + "initialPrompt":{ + "shape":"InitialPrompt", + "documentation":"

The initial prompt for the updated Q App.

" + }, + "appVersion":{ + "shape":"AppVersion", + "documentation":"

The new version of the updated Q App.

" + }, + "status":{ + "shape":"AppStatus", + "documentation":"

The status of the updated Q App.

" + }, + "createdAt":{ + "shape":"QAppsTimestamp", + "documentation":"

The date and time the Q App was originally created.

" + }, + "createdBy":{ + "shape":"String", + "documentation":"

The user who originally created the Q App.

" + }, + "updatedAt":{ + "shape":"QAppsTimestamp", + "documentation":"

The date and time the Q App was last updated.

" + }, + "updatedBy":{ + "shape":"String", + "documentation":"

The user who last updated the Q App.

" + }, + "requiredCapabilities":{ + "shape":"AppRequiredCapabilities", + "documentation":"

The capabilities required for the updated Q App.

" + } + } + }, + "UpdateQAppSessionInput":{ + "type":"structure", + "required":[ + "instanceId", + "sessionId" + ], + "members":{ + "instanceId":{ + "shape":"InstanceId", + "documentation":"

The unique identifier of the Amazon Q Business application environment instance.

", + "location":"header", + "locationName":"instance-id" + }, + "sessionId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the Q App session to provide input for.

" + }, + "values":{ + "shape":"CardValueList", + "documentation":"

The input values to provide for the current state of the Q App session.

" + } + } + }, + "UpdateQAppSessionOutput":{ + "type":"structure", + "required":[ + "sessionId", + "sessionArn" + ], + "members":{ + "sessionId":{ + "shape":"String", + "documentation":"

The unique identifier of the updated Q App session.

" + }, + "sessionArn":{ + "shape":"String", + "documentation":"

The Amazon Resource Name (ARN) of the updated Q App session.

" + } + } + }, + "UserAppItem":{ + "type":"structure", + "required":[ + "appId", + "appArn", + "title", + "createdAt" + ], + "members":{ + "appId":{ + "shape":"UUID", + "documentation":"

The unique identifier of the Q App.

" + }, + "appArn":{ + "shape":"AppArn", + "documentation":"

The Amazon Resource Name (ARN) of the Q App.

" + }, + "title":{ + "shape":"Title", + "documentation":"

The title of the Q App.

" + }, + "description":{ + "shape":"Description", + "documentation":"

The description of the Q App.

" + }, + "createdAt":{ + "shape":"QAppsTimestamp", + "documentation":"

The date and time the user's association with the Q App was created.

" + }, + "canEdit":{ + "shape":"Boolean", + "documentation":"

A flag indicating whether the user can edit the Q App.

" + }, + "status":{ + "shape":"String", + "documentation":"

The status of the user's association with the Q App.

" + } + }, + "documentation":"

An Amazon Q App associated with a user, either owned by the user or favorited.

" + }, + "UserAppsList":{ + "type":"list", + "member":{"shape":"UserAppItem"} + }, + "ValidationException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String"} + }, + "documentation":"

The input failed to satisfy the constraints specified by the service.

", + "error":{ + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + } + }, + "documentation":"

The Amazon Q Apps feature capability within Amazon Q Business allows web experience users to create lightweight, purpose-built AI apps to fulfill specific tasks from within their web experience. For example, users can create an Q Appthat exclusively generates marketing-related content to improve your marketing team's productivity or a Q App for marketing content-generation like writing customer emails and creating promotional content using a certain style of voice, tone, and branding. For more information, see Amazon Q App in the Amazon Q Business User Guide.

" +} diff --git a/botocore/data/qapps/2023-11-27/waiters-2.json b/botocore/data/qapps/2023-11-27/waiters-2.json new file mode 100644 index 0000000000..13f60ee66b --- /dev/null +++ b/botocore/data/qapps/2023-11-27/waiters-2.json @@ -0,0 +1,5 @@ +{ + "version": 2, + "waiters": { + } +} diff --git a/botocore/data/route53resolver/2018-04-01/service-2.json b/botocore/data/route53resolver/2018-04-01/service-2.json index 8291dda2c2..1b6a916072 100644 --- a/botocore/data/route53resolver/2018-04-01/service-2.json +++ b/botocore/data/route53resolver/2018-04-01/service-2.json @@ -11,7 +11,8 @@ "serviceId":"Route53Resolver", "signatureVersion":"v4", "targetPrefix":"Route53Resolver", - "uid":"route53resolver-2018-04-01" + "uid":"route53resolver-2018-04-01", + "auth":["aws.auth#sigv4"] }, "operations":{ "AssociateFirewallRuleGroup":{ diff --git a/botocore/data/ses/2010-12-01/endpoint-rule-set-1.json b/botocore/data/ses/2010-12-01/endpoint-rule-set-1.json index 1d567c5f97..658dc3ff9e 100644 --- a/botocore/data/ses/2010-12-01/endpoint-rule-set-1.json +++ b/botocore/data/ses/2010-12-01/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -58,293 +57,258 @@ "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" } - ] + ], + "type": "tree" }, { - "conditions": [], - "type": "tree", + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + 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", + "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" ] } ] - }, + } + ], + "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" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] }, 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://email-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, { "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" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "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" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "endpoint": { + "url": "https://email.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" + ], + "type": "tree" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file diff --git a/botocore/data/ses/2010-12-01/service-2.json b/botocore/data/ses/2010-12-01/service-2.json index 0e89c30bb7..75573cd7c4 100644 --- a/botocore/data/ses/2010-12-01/service-2.json +++ b/botocore/data/ses/2010-12-01/service-2.json @@ -4,13 +4,15 @@ "apiVersion":"2010-12-01", "endpointPrefix":"email", "protocol":"query", + "protocols":["query"], "serviceAbbreviation":"Amazon SES", "serviceFullName":"Amazon Simple Email Service", "serviceId":"SES", "signatureVersion":"v4", "signingName":"ses", "uid":"email-2010-12-01", - "xmlNamespace":"http://ses.amazonaws.com/doc/2010-12-01/" + "xmlNamespace":"http://ses.amazonaws.com/doc/2010-12-01/", + "auth":["aws.auth#sigv4"] }, "operations":{ "CloneReceiptRuleSet":{ diff --git a/tests/functional/endpoint-rules/qapps/endpoint-tests-1.json b/tests/functional/endpoint-rules/qapps/endpoint-tests-1.json new file mode 100644 index 0000000000..271533dc77 --- /dev/null +++ b/tests/functional/endpoint-rules/qapps/endpoint-tests-1.json @@ -0,0 +1,314 @@ +{ + "testCases": [ + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://data.qapps-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://data.qapps-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://data.qapps.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://data.qapps.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://data.qapps-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://data.qapps-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://data.qapps.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://data.qapps.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://data.qapps-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://data.qapps-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://data.qapps.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://data.qapps.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "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://data.qapps-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 disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://data.qapps.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://data.qapps-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "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 + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://data.qapps.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "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, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } + } + ], + "version": "1.0" +} \ No newline at end of file From 9ffd58f964ca4259cbca8498217709c5da61afa9 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 8 Jul 2024 18:17:46 +0000 Subject: [PATCH 2/3] Update endpoints model --- botocore/data/endpoints.json | 383 +++++++++++++++++++++++++++++++---- 1 file changed, 349 insertions(+), 34 deletions(-) diff --git a/botocore/data/endpoints.json b/botocore/data/endpoints.json index e271448f8c..312484c9c1 100644 --- a/botocore/data/endpoints.json +++ b/botocore/data/endpoints.json @@ -3913,6 +3913,7 @@ "cognito-identity" : { "endpoints" : { "af-south-1" : { }, + "ap-east-1" : { }, "ap-northeast-1" : { }, "ap-northeast-2" : { }, "ap-northeast-3" : { }, @@ -13545,35 +13546,287 @@ }, "pi" : { "endpoints" : { - "af-south-1" : { }, - "ap-east-1" : { }, - "ap-northeast-1" : { }, - "ap-northeast-2" : { }, - "ap-northeast-3" : { }, - "ap-south-1" : { }, - "ap-south-2" : { }, - "ap-southeast-1" : { }, - "ap-southeast-2" : { }, - "ap-southeast-3" : { }, - "ap-southeast-4" : { }, - "ca-central-1" : { }, - "ca-west-1" : { }, - "eu-central-1" : { }, - "eu-central-2" : { }, - "eu-north-1" : { }, - "eu-south-1" : { }, - "eu-south-2" : { }, - "eu-west-1" : { }, - "eu-west-2" : { }, - "eu-west-3" : { }, - "il-central-1" : { }, - "me-central-1" : { }, - "me-south-1" : { }, - "sa-east-1" : { }, - "us-east-1" : { }, - "us-east-2" : { }, - "us-west-1" : { }, - "us-west-2" : { } + "af-south-1" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi.af-south-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-east-1" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi.ap-east-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-northeast-1" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi.ap-northeast-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-northeast-2" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi.ap-northeast-2.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-northeast-3" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi.ap-northeast-3.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-south-1" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi.ap-south-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-south-2" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi.ap-south-2.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-southeast-1" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi.ap-southeast-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-southeast-2" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi.ap-southeast-2.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-southeast-3" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi.ap-southeast-3.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-southeast-4" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi.ap-southeast-4.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ca-central-1" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi-fips.ca-central-1.amazonaws.com", + "tags" : [ "fips" ] + }, { + "hostname" : "pi-fips.ca-central-1.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "pi.ca-central-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ca-west-1" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi-fips.ca-west-1.amazonaws.com", + "tags" : [ "fips" ] + }, { + "hostname" : "pi-fips.ca-west-1.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "pi.ca-west-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "eu-central-1" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi.eu-central-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "eu-central-2" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi.eu-central-2.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "eu-north-1" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi.eu-north-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "eu-south-1" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi.eu-south-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "eu-south-2" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi.eu-south-2.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "eu-west-1" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi.eu-west-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "eu-west-2" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi.eu-west-2.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "eu-west-3" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi.eu-west-3.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "fips-ca-central-1" : { + "credentialScope" : { + "region" : "ca-central-1" + }, + "deprecated" : true, + "hostname" : "pi-fips.ca-central-1.amazonaws.com" + }, + "fips-ca-west-1" : { + "credentialScope" : { + "region" : "ca-west-1" + }, + "deprecated" : true, + "hostname" : "pi-fips.ca-west-1.amazonaws.com" + }, + "fips-us-east-1" : { + "credentialScope" : { + "region" : "us-east-1" + }, + "deprecated" : true, + "hostname" : "pi-fips.us-east-1.amazonaws.com" + }, + "fips-us-east-2" : { + "credentialScope" : { + "region" : "us-east-2" + }, + "deprecated" : true, + "hostname" : "pi-fips.us-east-2.amazonaws.com" + }, + "fips-us-west-1" : { + "credentialScope" : { + "region" : "us-west-1" + }, + "deprecated" : true, + "hostname" : "pi-fips.us-west-1.amazonaws.com" + }, + "fips-us-west-2" : { + "credentialScope" : { + "region" : "us-west-2" + }, + "deprecated" : true, + "hostname" : "pi-fips.us-west-2.amazonaws.com" + }, + "il-central-1" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi.il-central-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "me-central-1" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi.me-central-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "me-south-1" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi.me-south-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "sa-east-1" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi.sa-east-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "us-east-1" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi-fips.us-east-1.amazonaws.com", + "tags" : [ "fips" ] + }, { + "hostname" : "pi-fips.us-east-1.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "pi.us-east-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "us-east-2" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi-fips.us-east-2.amazonaws.com", + "tags" : [ "fips" ] + }, { + "hostname" : "pi-fips.us-east-2.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "pi.us-east-2.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "us-west-1" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi-fips.us-west-1.amazonaws.com", + "tags" : [ "fips" ] + }, { + "hostname" : "pi-fips.us-west-1.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "pi.us-west-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "us-west-2" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi-fips.us-west-2.amazonaws.com", + "tags" : [ "fips" ] + }, { + "hostname" : "pi-fips.us-west-2.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "pi.us-west-2.api.aws", + "tags" : [ "dualstack" ] + } ] + } } }, "pinpoint" : { @@ -19547,7 +19800,19 @@ "deprecated" : true, "hostname" : "translate-fips.us-east-2.amazonaws.com" }, - "us-west-1" : { }, + "us-west-1" : { + "variants" : [ { + "hostname" : "translate-fips.us-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-west-1-fips" : { + "credentialScope" : { + "region" : "us-west-1" + }, + "deprecated" : true, + "hostname" : "translate-fips.us-west-1.amazonaws.com" + }, "us-west-2" : { "variants" : [ { "hostname" : "translate-fips.us-west-2.amazonaws.com", @@ -22021,8 +22286,20 @@ }, "pi" : { "endpoints" : { - "cn-north-1" : { }, - "cn-northwest-1" : { } + "cn-north-1" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi.cn-north-1.api.amazonwebservices.com.cn", + "tags" : [ "dualstack" ] + } ] + }, + "cn-northwest-1" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi.cn-northwest-1.api.amazonwebservices.com.cn", + "tags" : [ "dualstack" ] + } ] + } } }, "pipes" : { @@ -25898,8 +26175,46 @@ }, "pi" : { "endpoints" : { - "us-gov-east-1" : { }, - "us-gov-west-1" : { } + "fips-us-gov-east-1" : { + "credentialScope" : { + "region" : "us-gov-east-1" + }, + "deprecated" : true, + "hostname" : "pi-fips.us-gov-east-1.amazonaws.com" + }, + "fips-us-gov-west-1" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "deprecated" : true, + "hostname" : "pi-fips.us-gov-west-1.amazonaws.com" + }, + "us-gov-east-1" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi-fips.us-gov-east-1.amazonaws.com", + "tags" : [ "fips" ] + }, { + "hostname" : "pi-fips.us-gov-east-1.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "pi.us-gov-east-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "us-gov-west-1" : { + "protocols" : [ "https" ], + "variants" : [ { + "hostname" : "pi-fips.us-gov-west-1.amazonaws.com", + "tags" : [ "fips" ] + }, { + "hostname" : "pi-fips.us-gov-west-1.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "pi.us-gov-west-1.api.aws", + "tags" : [ "dualstack" ] + } ] + } } }, "pinpoint" : { From e095a46eedda390a9fd8b16f4c08c851c37e6140 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 8 Jul 2024 18:18:40 +0000 Subject: [PATCH 3/3] Bumping version to 1.34.141 --- .changes/1.34.141.json | 52 +++++++++++++++++++ .../api-change-codedeploy-40877.json | 5 -- .../api-change-devicefarm-85322.json | 5 -- .../next-release/api-change-dms-31608.json | 5 -- .../api-change-elasticbeanstalk-31494.json | 5 -- .../next-release/api-change-es-59610.json | 5 -- .../api-change-firehose-50683.json | 5 -- .../api-change-gamelift-87059.json | 5 -- .../next-release/api-change-qapps-21998.json | 5 -- .../api-change-route53resolver-46726.json | 5 -- .../next-release/api-change-ses-87560.json | 5 -- CHANGELOG.rst | 15 ++++++ botocore/__init__.py | 2 +- docs/source/conf.py | 2 +- 14 files changed, 69 insertions(+), 52 deletions(-) create mode 100644 .changes/1.34.141.json delete mode 100644 .changes/next-release/api-change-codedeploy-40877.json delete mode 100644 .changes/next-release/api-change-devicefarm-85322.json delete mode 100644 .changes/next-release/api-change-dms-31608.json delete mode 100644 .changes/next-release/api-change-elasticbeanstalk-31494.json delete mode 100644 .changes/next-release/api-change-es-59610.json delete mode 100644 .changes/next-release/api-change-firehose-50683.json delete mode 100644 .changes/next-release/api-change-gamelift-87059.json delete mode 100644 .changes/next-release/api-change-qapps-21998.json delete mode 100644 .changes/next-release/api-change-route53resolver-46726.json delete mode 100644 .changes/next-release/api-change-ses-87560.json diff --git a/.changes/1.34.141.json b/.changes/1.34.141.json new file mode 100644 index 0000000000..385d826979 --- /dev/null +++ b/.changes/1.34.141.json @@ -0,0 +1,52 @@ +[ + { + "category": "``codedeploy``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``devicefarm``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``dms``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``elasticbeanstalk``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``es``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``firehose``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``gamelift``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``qapps``", + "description": "This is a general availability (GA) release of Amazon Q Apps, a capability of Amazon Q Business. Q Apps leverages data sources your company has provided to enable users to build, share, and customize apps within your organization.", + "type": "api-change" + }, + { + "category": "``route53resolver``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``ses``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-codedeploy-40877.json b/.changes/next-release/api-change-codedeploy-40877.json deleted file mode 100644 index 0f3d38f342..0000000000 --- a/.changes/next-release/api-change-codedeploy-40877.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codedeploy``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-devicefarm-85322.json b/.changes/next-release/api-change-devicefarm-85322.json deleted file mode 100644 index 451206d9a4..0000000000 --- a/.changes/next-release/api-change-devicefarm-85322.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``devicefarm``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-dms-31608.json b/.changes/next-release/api-change-dms-31608.json deleted file mode 100644 index 454d6bf8ef..0000000000 --- a/.changes/next-release/api-change-dms-31608.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``dms``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-elasticbeanstalk-31494.json b/.changes/next-release/api-change-elasticbeanstalk-31494.json deleted file mode 100644 index c715ae6df4..0000000000 --- a/.changes/next-release/api-change-elasticbeanstalk-31494.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``elasticbeanstalk``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-es-59610.json b/.changes/next-release/api-change-es-59610.json deleted file mode 100644 index 0ae401a721..0000000000 --- a/.changes/next-release/api-change-es-59610.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``es``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-firehose-50683.json b/.changes/next-release/api-change-firehose-50683.json deleted file mode 100644 index 4b2ed97c48..0000000000 --- a/.changes/next-release/api-change-firehose-50683.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``firehose``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-gamelift-87059.json b/.changes/next-release/api-change-gamelift-87059.json deleted file mode 100644 index 1fea2a64a7..0000000000 --- a/.changes/next-release/api-change-gamelift-87059.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``gamelift``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-qapps-21998.json b/.changes/next-release/api-change-qapps-21998.json deleted file mode 100644 index 74a19b6ce5..0000000000 --- a/.changes/next-release/api-change-qapps-21998.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``qapps``", - "description": "This is a general availability (GA) release of Amazon Q Apps, a capability of Amazon Q Business. Q Apps leverages data sources your company has provided to enable users to build, share, and customize apps within your organization." -} diff --git a/.changes/next-release/api-change-route53resolver-46726.json b/.changes/next-release/api-change-route53resolver-46726.json deleted file mode 100644 index 166c3ec128..0000000000 --- a/.changes/next-release/api-change-route53resolver-46726.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``route53resolver``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-ses-87560.json b/.changes/next-release/api-change-ses-87560.json deleted file mode 100644 index b77fcb451f..0000000000 --- a/.changes/next-release/api-change-ses-87560.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ses``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 75d64f1b24..671339d61b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,21 @@ CHANGELOG ========= +1.34.141 +======== + +* api-change:``codedeploy``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``devicefarm``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``dms``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``elasticbeanstalk``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``es``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``firehose``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``gamelift``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``qapps``: This is a general availability (GA) release of Amazon Q Apps, a capability of Amazon Q Business. Q Apps leverages data sources your company has provided to enable users to build, share, and customize apps within your organization. +* api-change:``route53resolver``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``ses``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. + + 1.34.140 ======== diff --git a/botocore/__init__.py b/botocore/__init__.py index 42d7c50326..da3cbb04d3 100644 --- a/botocore/__init__.py +++ b/botocore/__init__.py @@ -16,7 +16,7 @@ import os import re -__version__ = '1.34.140' +__version__ = '1.34.141' class NullHandler(logging.Handler): diff --git a/docs/source/conf.py b/docs/source/conf.py index 4dfe648870..b7703aaaec 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -59,7 +59,7 @@ # The short X.Y version. version = '1.34.1' # The full version, including alpha/beta/rc tags. -release = '1.34.140' +release = '1.34.141' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.